[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:03:37]OFD Sender: No OFD packet to send [03:03:42]OFD Sender: No OFD packet to send [03:03:47]OFD Sender: No OFD packet to send [03:03:52]OFD Sender: No OFD packet to send [03:03:57]OFD Sender: No OFD packet to send [03:04:02]OFD Sender: No OFD packet to send [03:04:07]OFD Sender: No OFD packet to send [03:04:12]OFD Sender: No OFD packet to send [03:04:17]OFD Sender: No OFD packet to send [03:04:22]OFD Sender: No OFD packet to send [03:04:27]OFD Sender: No OFD packet to send [03:04:32]OFD Sender: No OFD packet to send [03:04:37]OFD Sender: No OFD packet to send [03:04:42]OFD Sender: No OFD packet to send [03:04:47]OFD Sender: No OFD packet to send [03:04:52]OFD Sender: No OFD packet to send [03:04:57]OFD Sender: No OFD packet to send [03:05:02]OFD Sender: No OFD packet to send [03:05:07]OFD Sender: No OFD packet to send [03:05:12]OFD Sender: No OFD packet to send [03:05:17]OFD Sender: No OFD packet to send [03:05:22]OFD Sender: No OFD packet to send [03:05:27]OFD Sender: No OFD packet to send [03:05:32]OFD Sender: No OFD packet to send [03:05:37]OFD Sender: No OFD packet to send [03:05:42]OFD Sender: No OFD packet to send [03:05:47]OFD Sender: No OFD packet to send [03:05:52]OFD Sender: No OFD packet to send [03:05:57]OFD Sender: No OFD packet to send [03:06:02]OFD Sender: No OFD packet to send [03:06:07]OFD Sender: No OFD packet to send [03:06:12]OFD Sender: No OFD packet to send [03:06:17]OFD Sender: No OFD packet to send [03:06:22]OFD Sender: No OFD packet to send [03:06:27]OFD Sender: No OFD packet to send [03:06:32]OFD Sender: No OFD packet to send [03:06:37]OFD Sender: No OFD packet to send [03:06:42]OFD Sender: No OFD packet to send [03:06:47]OFD Sender: No OFD packet to send [03:06:52]OFD Sender: No OFD packet to send [03:06:57]OFD Sender: No OFD packet to send [03:07:02]OFD Sender: No OFD packet to send [03:07:07]OFD Sender: No OFD packet to send [03:07:12]OFD Sender: No OFD packet to send [03:07:17]OFD Sender: No OFD packet to send [03:07:22]OFD Sender: No OFD packet to send [03:07:27]OFD Sender: No OFD packet to send [03:07:32]OFD Sender: No OFD packet to send [03:07:37]OFD Sender: No OFD packet to send [03:07:42]OFD Sender: No OFD packet to send [03:07:47]OFD Sender: No OFD packet to send [03:07:52]OFD Sender: No OFD packet to send [03:07:57]OFD Sender: No OFD packet to send [03:08:02]OFD Sender: No OFD packet to send [03:08:07]OFD Sender: No OFD packet to send [03:08:12]OFD Sender: No OFD packet to send [03:08:17]OFD Sender: No OFD packet to send [03:08:22]OFD Sender: No OFD packet to send [03:08:27]OFD Sender: No OFD packet to send [03:08:32]OFD Sender: No OFD packet to send [03:08:37]OFD Sender: No OFD packet to send [03:08:42]OFD Sender: No OFD packet to send [03:08:47]OFD Sender: No OFD packet to send [03:08:52]OFD Sender: No OFD packet to send [03:08:57]OFD Sender: No OFD packet to send [03:09:02]OFD Sender: No OFD packet to send [03:09:07]OFD Sender: No OFD packet to send [03:09:12]OFD Sender: No OFD packet to send [03:09:17]OFD Sender: No OFD packet to send [03:09:22]OFD Sender: No OFD packet to send [03:09:27]OFD Sender: No OFD packet to send [03:09:32]OFD Sender: No OFD packet to send [03:09:37]OFD Sender: No OFD packet to send [03:09:42]OFD Sender: No OFD packet to send [03:09:47]OFD Sender: No OFD packet to send [03:09:52]OFD Sender: No OFD packet to send [03:09:57]OFD Sender: No OFD packet to send [03:10:02]OFD Sender: No OFD packet to send [03:10:07]OFD Sender: No OFD packet to send [03:10:12]OFD Sender: No OFD packet to send [03:10:17]OFD Sender: No OFD packet to send [03:10:22]OFD Sender: No OFD packet to send [03:10:27]OFD Sender: No OFD packet to send [03:10:32]OFD Sender: No OFD packet to send [03:10:37]OFD Sender: No OFD packet to send [03:10:42]OFD Sender: No OFD packet to send [03:10:47]OFD Sender: No OFD packet to send [03:10:52]OFD Sender: No OFD packet to send [03:10:57]OFD Sender: No OFD packet to send [03:11:02]OFD Sender: No OFD packet to send [03:11:07]OFD Sender: No OFD packet to send [03:11:12]OFD Sender: No OFD packet to send [03:11:17]OFD Sender: No OFD packet to send [03:11:22]OFD Sender: No OFD packet to send [03:11:27]OFD Sender: No OFD packet to send [03:11:32]OFD Sender: No OFD packet to send [03:11:37]OFD Sender: No OFD packet to send [03:11:42]OFD Sender: No OFD packet to send [03:11:47]OFD Sender: No OFD packet to send [03:11:52]OFD Sender: No OFD packet to send [03:11:57]OFD Sender: No OFD packet to send [03:12:02]OFD Sender: No OFD packet to send [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:32]OFD Sender: No OFD packet to send [03:14:37]OFD Sender: No OFD packet to send [03:14:42]OFD Sender: No OFD packet to send [03:14:47]OFD Sender: No OFD packet to send [03:14:52]OFD Sender: No OFD packet to send [03:14:57]OFD Sender: No OFD packet to send [03:15:02]OFD Sender: No OFD packet to send [03:15:07]OFD Sender: No OFD packet to send [03:15:12]OFD Sender: No OFD packet to send [03:15:17]OFD Sender: No OFD packet to send [03:15:22]OFD Sender: No OFD packet to send [03:15:27]OFD Sender: No OFD packet to send [03:15:32]OFD Sender: No OFD packet to send [03:15:37]OFD Sender: No OFD packet to send [03:15:42]OFD Sender: No OFD packet to send [03:15:47]OFD Sender: No OFD packet to send [03:15:52]OFD Sender: No OFD packet to send [03:15:57]OFD Sender: No OFD packet to send [03:16:02]OFD Sender: No OFD packet to send [03:16:07]OFD Sender: No OFD packet to send [03:16:12]OFD Sender: No OFD packet to send [03:16:17]OFD Sender: No OFD packet to send [03:16:22]OFD Sender: No OFD packet to send [03:16:27]OFD Sender: No OFD packet to send [03:16:32]OFD Sender: No OFD packet to send [03:16:37]OFD Sender: No OFD packet to send [03:16:42]OFD Sender: No OFD packet to send [03:16:47]OFD Sender: No OFD packet to send [03:16:52]OFD Sender: No OFD packet to send [03:16:57]OFD Sender: No OFD packet to send [03:17:02]OFD Sender: No OFD packet to send [03:17:07]OFD Sender: No OFD packet to send [03:17:12]OFD Sender: No OFD packet to send [03:17:17]OFD Sender: No OFD packet to send [03:17:22]OFD Sender: No OFD packet to send [03:17:27]OFD Sender: No OFD packet to send [03:17:32]OFD Sender: No OFD packet to send [03:17:37]OFD Sender: No OFD packet to send [03:17:42]OFD Sender: No OFD packet to send [03:17:47]OFD Sender: No OFD packet to send [03:17:52]OFD Sender: No OFD packet to send [03:17:57]OFD Sender: No OFD packet to send [03:18:02]OFD Sender: No OFD packet to send [03:18:07]OFD Sender: No OFD packet to send [03:18:12]OFD Sender: No OFD packet to send [03:18: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:05]accept exits with 7 [03:25:05]New connection [03:25:05]New thread 3066785124 created [03:25:05] Sock 7.Parse request [03:25:05]Thread 3066928484 joined [03:25:05]Sock 7.Check first char [03:25:05]Waiting for new connection... [03:25:05]Sock 7.First char is OK [03:25:05]request: POST /json_proto HTTP/1.0 [03:25:05]Method: POST [03:25:05]URL: /json_proto [03:25:05]Method is POST - this is cgi request [03:25:05]url: /json_proto [03:25:05]query_string will be loaded in cgi processing [03:25:05]execute_cgi json_proto POST (null) [03:25:05]execute_cgi path=json_proto method=POST [03:25:05]POST find Content-Length [03:25:05]Host: 172.17.40.196:8080 [03:25:05]Content-Length: 933 [03:25:05]Content-Type: application/json [03:25:05] [03:25:05]POST finish read [03:25:05]Found Content-Length = 933 [03:25:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34979", "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": "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" : 239.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:25:05]execute_script... [03:25: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)34979", "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": "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" : 239.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:25:05]POST & json_proto [03:25:05]process_json_proto [03:25:05]json parsed OK: [03:25:05]protocol is kg_v1.0 [03:25:05]action value=close_receipt [03:25:05]process_action close_receipt [03:25:05]cmd_close_receipt [03:25:05]MH_GetDate [03:25:05]Write to MH i2c: F0 00 00 39 10 38 [03:25:05]Write i2c OK [03:25:05]MH_I2C_Read... [03:25:05]Read from MH i2c: F0 [03:25:05]MH_I2C_Read... [03:25:05]Read from MH i2c: F0 09 00 [03:25:05]MH_I2C_Read... [03:25:05]Read from MH i2c: F0 09 00 39 10 00 95 B2 1D 67 5B 68 A1 66 D6 [03:25:05]GetLastDocTimeStamp 1729996420 [03:25:05]current date 1729999509 [03:25:05]FM_GetShiftState [03:25:05]SAM_PROTO_GetShiftState [03:25:05]wFMCommunicate request_size=4 [03:25:05]MH_SAM_APDU [03:25:05]CAPDU: 80 13 01 00 [03:25:05]Write to MH i2c: E2 08 00 3A 10 80 13 01 00 00 00 00 00 C7 [03:25:05]Write i2c OK [03:25:05]MH_I2C_Read... [03:25:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:25:05]Read from MH i2c: E2 [03:25:05]MH_I2C_Read... [03:25:05]Read from MH i2c: E2 0E 00 [03:25:05]MH_I2C_Read... [03:25:05]Read from MH i2c: E2 0E 00 3A 10 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 7E [03:25:05]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [03:25:05]wFMCommunicate OK [03:25:05]SAM_PROTO_GetShiftState done [03:25:05]FM_GetShiftState done [03:25:05]opened in 1729987492 [03:25:05]opened+sec_in_day 1730073892 [03:25:05]quantity*price = 14400 [03:25:05]sum+1 = 14401 [03:25:05]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000480364 Напиток энерг Nitro экзотик 0.45 ж/б 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 239.00 НСП 1% : 2.11 НДС 12% : 25.38 Наличными: 239.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 7 27.10.2024 03:25 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37681 ФПД: 201127591926985 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T032509&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37681&fm=201127591926985&tin=02508201610067®Number=0000000000091684&sum=23900 0 [03:25:06]StoreToDocumentArchive [03:25:06]shift 550 fd 37681 [03:25:06]save to /storage/0550/doc_00037681 [03:25:06]save last doc name /storage/0550/doc_00037681 to /storage/kkm_last_doc_name [03:25:06]save OK [03:25:06]Clear old archive folders... [03:25:06]ProcessDocumentItem done err = 0, tmpTLVsize=402 [03:25:06]tlvbuf is 01258BC0 [03:25:06]SAM_PROTO_ClearQueue [03:25:06]wFMCommunicate request_size=4 [03:25:06]MH_SAM_APDU [03:25:06]CAPDU: 80 09 00 00 [03:25:06]Write to MH i2c: E2 08 00 47 10 80 09 00 00 00 00 00 00 C9 [03:25:06]Write i2c OK [03:25:06]MH_I2C_Read... [03:25:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:25:06]Read from MH i2c: E2 [03:25:06]MH_I2C_Read... [03:25:06]Read from MH i2c: E2 03 00 [03:25:06]MH_I2C_Read... [03:25:06]Read from MH i2c: E2 03 00 47 10 00 90 00 CB [03:25:06]RAPDU: 90 00 [03:25:06]wFMCommunicate OK [03:25:06]SAM_PROTO_ClearQueue done [03:25:06]KKMCreateOFDPacket [03:25:06]OFDProtocolAddRootSTLVToBuf [03:25:06]FM_MakeSignedData [03:25:06]FM_MakeSignedData [03:25:06]SAM_PROTO_SignData [03:25:06]wFMCommunicate request_size=4 [03:25:06]MH_SAM_APDU [03:25:06]CAPDU: 80 0D 01 02 [03:25:06]Write to MH i2c: E2 08 00 48 10 80 0D 01 02 00 00 00 00 D1 [03:25:06]Write i2c OK [03:25:06]MH_I2C_Read... [03:25:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:25:06]Read from MH i2c: E2 [03:25:06]MH_I2C_Read... [03:25:06]Read from MH i2c: E2 03 00 [03:25:06]MH_I2C_Read... [03:25:06]Read from MH i2c: E2 03 00 48 10 00 90 00 CC [03:25:06]RAPDU: 90 00 [03:25:06]wFMCommunicate OK [03:25:06]wFMCommunicate request_size=255 [03:25:06]MH_SAM_APDU [03:25:06]CAPDU: 80 0D 02 02 FA 03 00 92 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 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 5C 5D 00 00 00 [03:25:06]Write to MH i2c: E2 02 01 49 10 80 0D 02 02 FA 00 03 00 92 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 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 5C 5D 00 00 00 00 00 52 [03:25:06]Write i2c OK [03:25:06]MH_I2C_Read... [03:25:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:25:07]Read from MH i2c: E2 [03:25:07]MH_I2C_Read... [03:25:07]Read from MH i2c: E2 03 00 [03:25:07]MH_I2C_Read... [03:25:07]Read from MH i2c: E2 03 00 49 10 00 90 00 CD [03:25:07]RAPDU: 90 00 [03:25:07]wFMCommunicate OK [03:25:07]wFMCommunicate request_size=161 [03:25:07]MH_SAM_APDU [03:25:07]CAPDU: 80 0D 02 02 9C 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EA 09 00 00 00 00 07 04 06 00 5C 5D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 95 B2 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 31 93 00 00 35 04 06 00 B6 EC AA AB DC C9 [03:25:07]Write to MH i2c: E2 A4 00 4A 10 80 0D 02 02 9C 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EA 09 00 00 00 00 07 04 06 00 5C 5D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 95 B2 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 31 93 00 00 35 04 06 00 B6 EC AA AB DC C9 00 00 22 [03:25:07]Write i2c OK [03:25:07]MH_I2C_Read... [03:25:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:25:07]Read from MH i2c: E2 [03:25:07]MH_I2C_Read... [03:25:07]Read from MH i2c: E2 03 00 [03:25:07]MH_I2C_Read... [03:25:07]Read from MH i2c: E2 03 00 4A 10 00 90 00 CE [03:25:07]RAPDU: 90 00 [03:25:07]wFMCommunicate OK [03:25:07]wFMCommunicate request_size=4 [03:25:07]MH_SAM_APDU [03:25:07]CAPDU: 80 0D 03 02 [03:25:07]Write to MH i2c: E2 08 00 4B 10 80 0D 03 02 00 00 00 00 D6 [03:25:07]Write i2c OK [03:25:07]MH_I2C_Read... [03:25:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:25:07]Read from MH i2c: E2 [03:25:07]MH_I2C_Read... [03:25:07]Read from MH i2c: E2 0B 00 [03:25:07]MH_I2C_Read... [03:25:07]Read from MH i2c: E2 0B 00 4B 10 00 60 AC 4F 07 41 1B FD AF 90 00 41 [03:25:07]RAPDU: 60 AC 4F 07 41 1B FD AF 90 00 [03:25:07]wFMCommunicate OK [03:25:07]SAM_PROTO_SignData done [03:25:07]FM_MakeSignedData done [03:25:07]CreateOFDProtocolMessage [03:25:07]wFMCommunicate request_size=4 [03:25:07]MH_SAM_APDU [03:25:07]CAPDU: 80 11 00 00 [03:25:07]Write to MH i2c: E2 08 00 4C 10 80 11 00 00 00 00 00 00 D6 [03:25:07]Write i2c OK [03:25:07]MH_I2C_Read... [03:25:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:25:07]Read from MH i2c: E2 [03:25:07]MH_I2C_Read... [03:25:07]Read from MH i2c: E2 17 00 [03:25:07]MH_I2C_Read... [03:25:07]Read from MH i2c: E2 17 00 4C 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 26 [03:25:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [03:25:07]wFMCommunicate OK [03:25:07]CreateOFDProtocolMessage done [03:25:07]OFDSenderStorePacket 37681 [03:25:07]StoreOFDPacket docnum=37681 [03:25: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 A6 01 00 00 30 DE 9E 01 AF 34 5A 03 01 00 03 00 92 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 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 5C 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EA 09 00 00 00 00 07 04 06 00 5C 5D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 95 B2 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 31 93 00 00 35 04 06 00 B6 EC AA AB DC C9 60 AC 4F 07 41 1B FD AF [03:25:07]CheckFolder [03:25:07]dirname=/storage/ofd_packets [03:25:07]CheckFolder done [03:25:07]ProducePacketName [03:25:07]name=ofd_packets/00037681 [03:25:07]NVStorageSaveData ofd_packets/00037681 [03:25:07]File name is /storage/ofd_packets/00037681 [03:25:07]Write 452 bytes [03:25:07]NVStorageSaveData done [03:25:07]OFDSenderStorePacket done [03:25:07]KKMCreateOFDPacket done [03:25:07]NVStorageSaveData kkm_last_timestamp [03:25:07]File name is /storage/kkm_last_timestamp [03:25:07]Write 4 bytes [03:25:07]NVStorageSaveData done [03:25:07]ExternCall_PrintAddStr [03:25:07]wPrintStart [03:25:07]Write to MH i2c: 01 00 00 4D 10 5D [03:25:07]Write i2c OK [03:25:07]MH_I2C_Read... [03:25:07]Read from MH i2c: 01 [03:25:07]MH_I2C_Read... [03:25:07]Read from MH i2c: 01 07 00 [03:25:07]MH_I2C_Read... [03:25:07]Read from MH i2c: 01 07 00 4D 10 00 00 00 00 00 FF 0F 72 [03:25:07]RasterBufferAndPrint [03:25:07]line Счет N : (3)34979 [03:25:07]line ИНН: 02508201610067 [03:25:07]line Контрольно-Кассовый Чек [03:25:07]line ПРОДАЖА [03:25:07]line Товар: 48743570 [03:25:07]line Сигареты Winston XStyle Blue [03:25:07]line 1.000 * 144.00 [03:25:07]line = 144.00 [03:25:07]line НДС 12% НСП 1% [03:25:07]line > о реализуемом товаре [03:25:07]line Товар: 4700000480364 [03:25:07]line Напиток энерг Nitro экзотик 0.45 ж/б [03:25:07]line 1.000 * 95.00 [03:25:07]line = 95.00 [03:25:07]line НДС 12% НСП 1% [03:25:07]line > о реализуемом товаре [03:25:07]line ИТОГО: 239.00 [03:25:07]line НСП 1% : 2.11 [03:25:07]line НДС 12% : 25.38 [03:25:07]line Наличными: 239.00 [03:25:07]line Безнал.: 0.00 [03:25:07]line Место: АЗС № 126 "Партнер Нефть" [03:25:07]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [03:25:07]line СНО: Общий режим [03:25:07]line Чек 7 27.10.2024 03:25 [03:25:07]line Смена: 550 ФФД: 1.0 [03:25:07]line ЗНМ: 0300000092 [03:25:07]line РНМ: 0000000000091684 [03:25:07]line Версия ККМ: 001 [03:25:07]line ФМ: 0000000000871841 [03:25:07]line ФД: 37681 [03:25:07]line ФПД: 201127591926985 [03:25:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T032509&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37681&fm=201127591926985&tin=02508201610067®Number=0000000000091684&sum=23900 [03:25:07]line 0 [03:25:07]OFD Sender: Processing packet 37681 [packets to send 42, broken 41] [03:25:07]ProducePacketName [03:25:07]name=ofd_packets/00037681 [03:25:07]OFD Sender: To server: pG, [03:25:07]CommunicateWithHost lk.salyk.kg:30040 [03:25:07]ConnectInit lk.salyk.kg [03:25:07]written 0, free lines is 4095 [03:25:08]Connected sock=11 [03:25: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 A6 01 00 00 30 DE 9E 01 AF 34 5A 03 01 00 03 00 92 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 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 5C 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EA 09 00 00 00 00 07 04 06 00 5C 5D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 95 B2 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 31 93 00 00 35 04 06 00 B6 EC AA AB DC C9 60 AC 4F 07 41 1B FD AF [03:25:08]Write to MH i2c: 01 00 00 7C 10 8C [03:25:08]Write i2c OK [03:25:08]MH_I2C_Read... [03:25:08]Read from MH i2c: 01 [03:25:08]MH_I2C_Read... [03:25:08]Read from MH i2c: 01 07 00 [03:25:08]MH_I2C_Read... [03:25:08]Read from MH i2c: 01 07 00 7C 10 00 00 00 00 00 67 0C 06 [03:25:08]RasterBufferAndPrint [03:25:08]line [03:25:08]line [03:25:08]line [03:25:08]line [03:25:08]line [03:25:08]written 0, free lines is 3181 [03:25:08]MH_Cut [03:25:08]Write to MH i2c: D1 01 00 83 10 01 65 [03:25:08]Write i2c OK [03:25:08]MH_I2C_Read... [03:25:08]Read from MH i2c: D1 [03:25:08]MH_I2C_Read... [03:25:08]Read from MH i2c: D1 01 00 [03:25:08]MH_I2C_Read... [03:25:08]Read from MH i2c: D1 01 00 83 10 00 64 [03:25:08]Write to MH i2c: 01 00 00 84 10 94 [03:25:08]Write i2c OK [03:25:08]MH_I2C_Read... [03:25: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 D1 E2 47 00 F0 59 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 31 93 00 00 F4 03 04 00 8E 5D 1D 67 B6 04 01 00 00 C9 E7 86 AB BA 54 56 A2 [03:25:08]CommunicateWithHost err = 0 [03:25:08]CheckOFDResponse [03:25:08]1017 (14) - 77093643461234 [03:25:08]1041 (16) - 0000000000871841 [03:25:08]1040 (4) - 37681 [03:25:08]1012 (4) - 26.10.2024 21:22 [03:25:08]1206 (1) - 0 [03:25:08]OFD Sender: Remove packet 37681 [03:25:08]ProducePacketName [03:25:08]name=ofd_packets/00037681 [03:25:08]NVStorageDeleteData [03:25:08]OFD Sender: No OFD packet to send [03:25:09]*** Cut start [03:25:09]*** Partial cut [03:25:09]*** CUTSNS_PIN = 1 [03:25:09]*** CUTSNS_PIN = 0 [03:25:09]*** Brake cut motor [03:25:09]Read from MH i2c: 01 [03:25:09]MH_I2C_Read... [03:25:09]*** Stop cut motor [03:25:09]*** Cut end [03:25:09]Read from MH i2c: 01 07 00 [03:25:09]MH_I2C_Read... [03:25:09]Read from MH i2c: 01 07 00 84 10 00 00 00 00 00 FF 0F A9 [03:25:09]process_action close_receipt done [03:25:09]requested_data is exist [03:25:09]produce_requested_data [03:25:09]requested_item fm.sn is exist - process it [03:25:09]wFMCommunicate request_size=4 [03:25:09]MH_SAM_APDU [03:25:09]CAPDU: 80 11 00 00 [03:25:09]Write to MH i2c: E2 08 00 85 10 80 11 00 00 00 00 00 00 0F [03:25:09]Write i2c OK [03:25:09]MH_I2C_Read... [03:25:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:25:09]Read from MH i2c: E2 [03:25:09]MH_I2C_Read... [03:25:09]Read from MH i2c: E2 17 00 [03:25:09]MH_I2C_Read... [03:25:09]Read from MH i2c: E2 17 00 85 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 5F [03:25:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [03:25:09]wFMCommunicate OK [03:25:09]requested_item fd.num is exist - process it [03:25:09]SAM_PROTO_GetFieldsCounters [03:25:09]wFMCommunicate request_size=4 [03:25:09]MH_SAM_APDU [03:25:09]CAPDU: 80 13 00 00 [03:25:09]Write to MH i2c: E2 08 00 86 10 80 13 00 00 00 00 00 00 12 [03:25:09]Write i2c OK [03:25:09]MH_I2C_Read... [03:25:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:25:10]Read from MH i2c: E2 [03:25:10]MH_I2C_Read... [03:25:10]Read from MH i2c: E2 62 00 [03:25:10]MH_I2C_Read... [03:25:10]Read from MH i2c: E2 62 00 86 10 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 31 93 00 00 0E 04 04 00 26 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 34 [03:25: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 31 93 00 00 0E 04 04 00 26 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 [03:25:10]wFMCommunicate OK [03:25:10]SAM_PROTO_GetFieldsCounters done [03:25:10]requested_item shift.num is exist - process it [03:25:10]requested_item shift.opened is exist - process it [03:25:10]req_shift_opened [03:25:10]FM_GetShiftState [03:25:10]SAM_PROTO_GetShiftState [03:25:10]wFMCommunicate request_size=4 [03:25:10]MH_SAM_APDU [03:25:10]CAPDU: 80 13 01 00 [03:25:10]Write to MH i2c: E2 08 00 87 10 80 13 01 00 00 00 00 00 14 [03:25:10]Write i2c OK [03:25:10]MH_I2C_Read... [03:25:10]Read from MH i2c: E2 [03:25:10]MH_I2C_Read... [03:25:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:25:10]Read from MH i2c: E2 0E 00 [03:25:10]MH_I2C_Read... [03:25:10]Read from MH i2c: E2 0E 00 87 10 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 CB [03:25:10]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [03:25:10]wFMCommunicate OK [03:25:10]SAM_PROTO_GetShiftState done [03:25:10]FM_GetShiftState done [03:25:10]req_shift_opened done [03:25:10]requested_item shift.open_date is exist - process it [03:25:10]req_shift_open_date [03:25:10]req_shift_open_date done [03:25:10]produce_requested_data done [03:25:10]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37681,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [03:25:10]process_action_free close_receipt [03:25:10]json_value_free [03:25:10]json_value_free done [03:25:10]process_json_proto returns [03:25:10]Send response to host [03:25:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37681,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [03:25:10]free response buf [03:25:10]execute_script done [03:25:10]execute_script returns [03:25:10]free content buf [03:25:10]Sock 7.Close socket [03:25:10]Sock 7.Thread stoped [03:25:13]OFD Sender: No OFD packet to send [03:25:18]OFD Sender: No OFD packet to send [03:25:24]OFD Sender: No OFD packet to send [03:25:29]OFD Sender: No OFD packet to send [03:25:34]OFD Sender: No OFD packet to send [03:25:39]OFD Sender: No OFD packet to send [03:25:44]OFD Sender: No OFD packet to send [03:25:49]OFD Sender: No OFD packet to send [03:25:54]OFD Sender: No OFD packet to send [03:25:59]OFD Sender: No OFD packet to send [03:26:04]OFD Sender: No OFD packet to send [03:26:09]OFD Sender: No OFD packet to send [03:26:14]OFD Sender: No OFD packet to send [03:26:19]OFD Sender: No OFD packet to send [03:26:24]OFD Sender: No OFD packet to send [03:26:29]OFD Sender: No OFD packet to send [03:26:34]OFD Sender: No OFD packet to send [03:26:39]OFD Sender: No OFD packet to send [03:26:44]OFD Sender: No OFD packet to send [03:26:49]OFD Sender: No OFD packet to send [03:26:54]OFD Sender: No OFD packet to send [03:26:59]OFD Sender: No OFD packet to send [03:27:04]OFD Sender: No OFD packet to send [03:27:09]OFD Sender: No OFD packet to send [03:27:14]OFD Sender: No OFD packet to send [03:27:19]OFD Sender: No OFD packet to send [03:27:24]OFD Sender: No OFD packet to send [03:27:29]OFD Sender: No OFD packet to send [03:27:34]OFD Sender: No OFD packet to send [03:27:39]OFD Sender: No OFD packet to send [03:27:44]OFD Sender: No OFD packet to send [03:27:49]OFD Sender: No OFD packet to send [03:27:54]OFD Sender: No OFD packet to send [03:27:59]OFD Sender: No OFD packet to send [03:28:04]OFD Sender: No OFD packet to send [03:28:09]OFD Sender: No OFD packet to send [03:28:14]OFD Sender: No OFD packet to send [03:28:19]OFD Sender: No OFD packet to send [03:28:24]OFD Sender: No OFD packet to send [03:28:29]OFD Sender: No OFD packet to send [03:28:34]OFD Sender: No OFD packet to send [03:28:39]OFD Sender: No OFD packet to send [03:28:44]OFD Sender: No OFD packet to send [03:28:49]OFD Sender: No OFD packet to send [03:28:54]OFD Sender: No OFD packet to send [03:28:59]OFD Sender: No OFD packet to send [03:29:04]OFD Sender: No OFD packet to send [03:29:09]OFD Sender: No OFD packet to send [03:29:11]accept exits with 9 [03:29:11]New connection [03:29:11]New thread 3066928484 created [03:29:11]Thread 3066785124 joined [03:29:11]Waiting for new connection... [03:29:11] Sock 9.Parse request [03:29:11]Sock 9.Check first char [03:29:11]Sock 9.First char is OK [03:29:11]request: POST /json_proto HTTP/1.0 [03:29:11]Method: POST [03:29:11]URL: /json_proto [03:29:11]Method is POST - this is cgi request [03:29:11]url: /json_proto [03:29:11]query_string will be loaded in cgi processing [03:29:11]execute_cgi json_proto POST (null) [03:29:11]execute_cgi path=json_proto method=POST [03:29:11]POST find Content-Length [03:29:11]Host: 172.17.40.196:8080 [03:29:11]Content-Length: 659 [03:29:11]Content-Type: application/json [03:29:11] [03:29:11]POST finish read [03:29:11]Found Content-Length = 659 [03:29:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34980", "tax_sys" : 0, "items" : [ { "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:29:11]execute_script... [03:29: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)34980", "tax_sys" : 0, "items" : [ { "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:29:11]POST & json_proto [03:29:11]process_json_proto [03:29:11]json parsed OK: [03:29:11]protocol is kg_v1.0 [03:29:11]action value=close_receipt [03:29:11]process_action close_receipt [03:29:11]cmd_close_receipt [03:29:11]MH_GetDate [03:29:11]Write to MH i2c: F0 00 00 88 10 87 [03:29:11]Write i2c OK [03:29:11]MH_I2C_Read... [03:29:11]Read from MH i2c: F0 [03:29:11]MH_I2C_Read... [03:29:11]Read from MH i2c: F0 09 00 [03:29:11]MH_I2C_Read... [03:29:11]Read from MH i2c: F0 09 00 88 10 00 8A B3 1D 67 5B 68 A1 66 1B [03:29:11]GetLastDocTimeStamp 1729999509 [03:29:11]current date 1729999754 [03:29:11]FM_GetShiftState [03:29:11]SAM_PROTO_GetShiftState [03:29:11]wFMCommunicate request_size=4 [03:29:11]MH_SAM_APDU [03:29:11]CAPDU: 80 13 01 00 [03:29:11]Write to MH i2c: E2 08 00 89 10 80 13 01 00 00 00 00 00 16 [03:29:11]Write i2c OK [03:29:11]MH_I2C_Read... [03:29:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:29:11]Read from MH i2c: E2 [03:29:11]MH_I2C_Read... [03:29:11]Read from MH i2c: E2 0E 00 [03:29:11]MH_I2C_Read... [03:29:11]Read from MH i2c: E2 0E 00 89 10 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 CD [03:29:11]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [03:29:11]wFMCommunicate OK [03:29:11]SAM_PROTO_GetShiftState done [03:29:11]FM_GetShiftState done [03:29:11]opened in 1729987492 [03:29:11]opened+sec_in_day 1730073892 [03:29:11]quantity*price = 15500 [03:29:11]sum+1 = 15501 [03:29:11]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре ИТОГО: 225.00 НСП 1% : 1.99 НДС 12% : 23.89 Наличными: 225.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 9 27.10.2024 04:24 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37683 ФПД: 21547387512173 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T042429&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37683&fm=21547387512173&tin=02508201610067®Number=0000000000091684&sum=22500 0 [04:24:29]StoreToDocumentArchive [04:24:29]shift 550 fd 37683 [04:24:29]save to /storage/0550/doc_00037683 [04:24:29]save last doc name /storage/0550/doc_00037683 to /storage/kkm_last_doc_name [04:24:29]save OK [04:24:29]Clear old archive folders... [04:24:29]ProcessDocumentItem done err = 0, tmpTLVsize=296 [04:24:29]tlvbuf is 0026A200 [04:24:29]SAM_PROTO_ClearQueue [04:24:29]wFMCommunicate request_size=4 [04:24:29]MH_SAM_APDU [04:24:29]CAPDU: 80 09 00 00 [04:24:29]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [04:24:29]Write i2c OK [04:24:29]MH_I2C_Read... [04:24:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:24:29]Read from MH i2c: E2 [04:24:29]MH_I2C_Read... [04:24:29]Read from MH i2c: E2 03 00 [04:24:29]MH_I2C_Read... [04:24:29]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [04:24:29]RAPDU: 90 00 [04:24:29]wFMCommunicate OK [04:24:29]SAM_PROTO_ClearQueue done [04:24:29]KKMCreateOFDPacket [04:24:29]OFDProtocolAddRootSTLVToBuf [04:24:29]FM_MakeSignedData [04:24:29]FM_MakeSignedData [04:24:29]SAM_PROTO_SignData [04:24:29]wFMCommunicate request_size=4 [04:24:29]MH_SAM_APDU [04:24:29]CAPDU: 80 0D 01 02 [04:24:29]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [04:24:29]Write i2c OK [04:24:29]MH_I2C_Read... [04:24:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:24:29]Read from MH i2c: E2 [04:24:29]MH_I2C_Read... [04:24:29]Read from MH i2c: E2 03 00 [04:24:29]MH_I2C_Read... [04:24:29]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [04:24:29]RAPDU: 90 00 [04:24:29]wFMCommunicate OK [04:24:29]wFMCommunicate request_size=255 [04:24:29]MH_SAM_APDU [04:24:29]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 31 33 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 B6 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 09 00 00 00 F4 03 04 00 7D C0 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 [04:24:30]Write to MH i2c: E2 02 01 2D 00 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 31 33 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 B6 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 09 00 00 00 F4 03 04 00 7D C0 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 00 00 18 [04:24:30]Write i2c OK [04:24:30]MH_I2C_Read... [04:24:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:24:30]Read from MH i2c: E2 [04:24:30]MH_I2C_Read... [04:24:30]Read from MH i2c: E2 03 00 [04:24:30]MH_I2C_Read... [04:24:30]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [04:24:30]RAPDU: 90 00 [04:24:30]wFMCommunicate OK [04:24:30]wFMCommunicate request_size=55 [04:24:30]MH_SAM_APDU [04:24:30]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 33 93 00 00 35 04 06 00 13 98 E4 60 E5 6D [04:24:30]Write to MH i2c: E2 3A 00 2E 00 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 33 93 00 00 35 04 06 00 13 98 E4 60 E5 6D 00 00 08 [04:24:30]Write i2c OK [04:24:30]MH_I2C_Read... [04:24:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:24:30]Read from MH i2c: E2 [04:24:30]MH_I2C_Read... [04:24:30]Read from MH i2c: E2 03 00 [04:24:30]MH_I2C_Read... [04:24:30]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [04:24:30]RAPDU: 90 00 [04:24:30]wFMCommunicate OK [04:24:30]wFMCommunicate request_size=4 [04:24:30]MH_SAM_APDU [04:24:30]CAPDU: 80 0D 03 02 [04:24:30]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [04:24:30]Write i2c OK [04:24:30]MH_I2C_Read... [04:24:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:24:30]Read from MH i2c: E2 [04:24:30]MH_I2C_Read... [04:24:30]Read from MH i2c: E2 0B 00 [04:24:30]MH_I2C_Read... [04:24:30]Read from MH i2c: E2 0B 00 2F 00 00 F2 D2 61 64 4D 83 9E 17 90 00 B9 [04:24:30]RAPDU: F2 D2 61 64 4D 83 9E 17 90 00 [04:24:30]wFMCommunicate OK [04:24:30]SAM_PROTO_SignData done [04:24:30]FM_MakeSignedData done [04:24:30]CreateOFDProtocolMessage [04:24:30]wFMCommunicate request_size=4 [04:24:30]MH_SAM_APDU [04:24:30]CAPDU: 80 11 00 00 [04:24:30]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [04:24:30]Write i2c OK [04:24:30]MH_I2C_Read... [04:24:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:24:30]Read from MH i2c: E2 [04:24:30]MH_I2C_Read... [04:24:30]Read from MH i2c: E2 17 00 [04:24:30]MH_I2C_Read... [04:24:30]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 FA [04:24:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [04:24:30]wFMCommunicate OK [04:24:30]CreateOFDProtocolMessage done [04:24:30]OFDSenderStorePacket 37683 [04:24:30]StoreOFDPacket docnum=37683 [04:24:30]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 21 DB 34 01 DC D9 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 31 33 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 B6 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 09 00 00 00 F4 03 04 00 7D C0 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 33 93 00 00 35 04 06 00 13 98 E4 60 E5 6D F2 D2 61 64 4D 83 9E 17 [04:24:30]CheckFolder [04:24:30]dirname=/storage/ofd_packets [04:24:30]CheckFolder done [04:24:30]ProducePacketName [04:24:30]name=ofd_packets/00037683 [04:24:30]NVStorageSaveData ofd_packets/00037683 [04:24:30]File name is /storage/ofd_packets/00037683 [04:24:30]Write 346 bytes [04:24:30]NVStorageSaveData done [04:24:30]OFDSenderStorePacket done [04:24:30]KKMCreateOFDPacket done [04:24:30]NVStorageSaveData kkm_last_timestamp [04:24:30]File name is /storage/kkm_last_timestamp [04:24:30]Write 4 bytes [04:24:30]NVStorageSaveData done [04:24:30]ExternCall_PrintAddStr [04:24:30]wPrintStart [04:24:30]Write to MH i2c: 01 00 00 31 00 31 [04:24:30]Write i2c OK [04:24:30]MH_I2C_Read... [04:24:30]Read from MH i2c: 01 [04:24:30]MH_I2C_Read... [04:24:30]Read from MH i2c: 01 07 00 [04:24:30]MH_I2C_Read... [04:24:30]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [04:24:30]RasterBufferAndPrint [04:24:30]line Счет N : (3)34981 [04:24:30]line ИНН: 02508201610067 [04:24:30]line Контрольно-Кассовый Чек [04:24:30]line ПРОДАЖА [04:24:30]line Товар: 4670003190013 [04:24:30]line Антифриз SIBIRIA ANTIFREEZE ОЖ-40 жел 1л [04:24:30]line 1.000 * 225.00 [04:24:30]line = 225.00 [04:24:30]line НДС 12% НСП 1% [04:24:30]line > о реализуемом товаре [04:24:30]line ИТОГО: 225.00 [04:24:30]line НСП 1% : 1.99 [04:24:30]line НДС 12% : 23.89 [04:24:30]line Наличными: 225.00 [04:24:30]line Безнал.: 0.00 [04:24:30]line Место: АЗС № 126 "Партнер Нефть" [04:24:30]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [04:24:30]line СНО: Общий режим [04:24:30]line Чек 9 27.10.2024 04:24 [04:24:30]line Смена: 550 ФФД: 1.0 [04:24:30]line ЗНМ: 0300000092 [04:24:30]line РНМ: 0000000000091684 [04:24:30]line Версия ККМ: 001 [04:24:30]line ФМ: 0000000000871841 [04:24:30]line ФД: 37683 [04:24:30]line ФПД: 21547387512173 [04:24:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T042429&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37683&fm=21547387512173&tin=02508201610067®Number=0000000000091684&sum=22500 [04:24:30]line 0 [04:24:30]written 0, free lines is 4095 [04:24:30]OFD Sender: Processing packet 37683 [packets to send 42, broken 41] [04:24:30]ProducePacketName [04:24:30]name=ofd_packets/00037683 [04:24:30]OFD Sender: To server: pG, [04:24:30]CommunicateWithHost lk.salyk.kg:30040 [04:24:30]ConnectInit lk.salyk.kg [04:24:30]Connected sock=10 [04:24: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 3C 01 00 00 21 DB 34 01 DC D9 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 31 33 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 B6 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 09 00 00 00 F4 03 04 00 7D C0 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 33 93 00 00 35 04 06 00 13 98 E4 60 E5 6D F2 D2 61 64 4D 83 9E 17 [04:24:31]Write to MH i2c: 01 00 00 5A 00 5A [04:24:31]Write i2c OK [04:24:31]MH_I2C_Read... [04:24:31]Read from MH i2c: 01 [04:24:31]MH_I2C_Read... [04:24:31]Read from MH i2c: 01 07 00 [04:24:31]MH_I2C_Read... [04:24:31]Read from MH i2c: 01 07 00 5A 00 00 00 00 00 00 D0 0C 3D [04:24:31]RasterBufferAndPrint [04:24:31]line [04:24:31]line [04:24:31]line [04:24:31]line [04:24:31]line [04:24:31]written 0, free lines is 3302 [04:24:31]MH_Cut [04:24:31]Write to MH i2c: D1 01 00 61 00 01 33 [04:24:31]Write i2c OK [04:24:31]MH_I2C_Read... [04:24:31]Read from MH i2c: D1 [04:24:31]MH_I2C_Read... [04:24:31]Read from MH i2c: D1 01 00 [04:24:31]MH_I2C_Read... [04:24:31]Read from MH i2c: D1 01 00 61 00 00 32 [04:24:31]Write to MH i2c: 01 00 00 62 00 62 [04:24:31]Write i2c OK [04:24:31]MH_I2C_Read... [04:24: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 BB AF 47 00 29 86 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 33 93 00 00 F4 03 04 00 76 6B 1D 67 B6 04 01 00 00 DB A2 F4 03 00 6D 5D B0 [04:24:31]CommunicateWithHost err = 0 [04:24:31]CheckOFDResponse [04:24:31]1017 (14) - 77093643461234 [04:24:31]1041 (16) - 0000000000871841 [04:24:31]1040 (4) - 37683 [04:24:31]1012 (4) - 26.10.2024 22:21 [04:24:31]1206 (1) - 0 [04:24:31]OFD Sender: Remove packet 37683 [04:24:31]ProducePacketName [04:24:31]name=ofd_packets/00037683 [04:24:31]NVStorageDeleteData [04:24:31]OFD Sender: No OFD packet to send [04:24:31]*** Cut start [04:24:31]*** Partial cut [04:24:31]*** CUTSNS_PIN = 1 [04:24:31]*** CUTSNS_PIN = 0 [04:24:32]*** Brake cut motor [04:24:32]Read from MH i2c: 01 [04:24:32]MH_I2C_Read... [04:24:32]*** Stop cut motor [04:24:32]*** Cut end [04:24:32]Read from MH i2c: 01 07 00 [04:24:32]MH_I2C_Read... [04:24:32]Read from MH i2c: 01 07 00 62 00 00 00 00 00 00 FF 0F 77 [04:24:32]process_action close_receipt done [04:24:32]requested_data is exist [04:24:32]produce_requested_data [04:24:32]requested_item fm.sn is exist - process it [04:24:32]wFMCommunicate request_size=4 [04:24:32]MH_SAM_APDU [04:24:32]CAPDU: 80 11 00 00 [04:24:32]Write to MH i2c: E2 08 00 63 00 80 11 00 00 00 00 00 00 DD [04:24:32]Write i2c OK [04:24:32]MH_I2C_Read... [04:24:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:24:32]Read from MH i2c: E2 [04:24:32]MH_I2C_Read... [04:24:32]Read from MH i2c: E2 17 00 [04:24:32]MH_I2C_Read... [04:24:32]Read from MH i2c: E2 17 00 63 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 2D [04:24:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [04:24:32]wFMCommunicate OK [04:24:32]requested_item fd.num is exist - process it [04:24:32]SAM_PROTO_GetFieldsCounters [04:24:32]wFMCommunicate request_size=4 [04:24:32]MH_SAM_APDU [04:24:32]CAPDU: 80 13 00 00 [04:24:32]Write to MH i2c: E2 08 00 64 00 80 13 00 00 00 00 00 00 E0 [04:24:32]Write i2c OK [04:24:32]MH_I2C_Read... [04:24:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:24:32]Read from MH i2c: E2 [04:24:32]MH_I2C_Read... [04:24:32]Read from MH i2c: E2 62 00 [04:24:32]MH_I2C_Read... [04:24:32]Read from MH i2c: E2 62 00 64 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 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 33 93 00 00 0E 04 04 00 26 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 0A [04:24: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 33 93 00 00 0E 04 04 00 26 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 [04:24:32]wFMCommunicate OK [04:24:32]SAM_PROTO_GetFieldsCounters done [04:24:32]requested_item shift.num is exist - process it [04:24:32]requested_item shift.opened is exist - process it [04:24:32]req_shift_opened [04:24:32]FM_GetShiftState [04:24:32]SAM_PROTO_GetShiftState [04:24:32]wFMCommunicate request_size=4 [04:24:32]MH_SAM_APDU [04:24:32]CAPDU: 80 13 01 00 [04:24:32]Write to MH i2c: E2 08 00 65 00 80 13 01 00 00 00 00 00 E2 [04:24:32]Write i2c OK [04:24:32]MH_I2C_Read... [04:24:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:24:32]Read from MH i2c: E2 [04:24:32]MH_I2C_Read... [04:24:32]Read from MH i2c: E2 0E 00 [04:24:32]MH_I2C_Read... [04:24:32]Read from MH i2c: E2 0E 00 65 00 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 99 [04:24:32]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [04:24:32]wFMCommunicate OK [04:24:32]SAM_PROTO_GetShiftState done [04:24:32]FM_GetShiftState done [04:24:32]req_shift_opened done [04:24:32]requested_item shift.open_date is exist - process it [04:24:32]req_shift_open_date [04:24:32]req_shift_open_date done [04:24:32]produce_requested_data done [04:24:32]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37683,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [04:24:32]process_action_free close_receipt [04:24:32]json_value_free [04:24:32]json_value_free done [04:24:32]process_json_proto returns [04:24:32]Send response to host [04:24:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37683,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [04:24:32]free response buf [04:24:32]execute_script done [04:24:32]execute_script returns [04:24:32]free content buf [04:24:32]Sock 9.Close socket [04:24:32]Sock 9.Thread stoped [04:24:36]OFD Sender: No OFD packet to send [04:24:41]OFD Sender: No OFD packet to send [04:24:46]OFD Sender: No OFD packet to send [04:24:51]OFD Sender: No OFD packet to send [04:24:56]OFD Sender: No OFD packet to send [04:25:01]OFD Sender: No OFD packet to send [04:25:06]OFD Sender: No OFD packet to send [04:25:11]OFD Sender: No OFD packet to send [04:25:16]OFD Sender: No OFD packet to send [04:25:21]OFD Sender: No OFD packet to send [04:25:26]OFD Sender: No OFD packet to send [04:25:31]OFD Sender: No OFD packet to send [04:25:36]OFD Sender: No OFD packet to send [04:25:41]OFD Sender: No OFD packet to send [04:25:46]OFD Sender: No OFD packet to send [04:25:51]OFD Sender: No OFD packet to send [04:25:56]OFD Sender: No OFD packet to send [04:26:01]OFD Sender: No OFD packet to send [04:26:06]OFD Sender: No OFD packet to send [04:26:11]OFD Sender: No OFD packet to send [04:26:16]OFD Sender: No OFD packet to send [04:26:21]OFD Sender: No OFD packet to send [04:26:26]OFD Sender: No OFD packet to send [04:26:31]OFD Sender: No OFD packet to send [04:26:36]OFD Sender: No OFD packet to send [04:26:41]OFD Sender: No OFD packet to send [04:26:46]OFD Sender: No OFD packet to send [04:26:51]OFD Sender: No OFD packet to send [04:26:56]OFD Sender: No OFD packet to send [04:27:01]OFD Sender: No OFD packet to send [04:27:06]OFD Sender: No OFD packet to send [04:27:11]OFD Sender: No OFD packet to send [04:27:16]OFD Sender: No OFD packet to send [04:27:21]OFD Sender: No OFD packet to send [04:27:26]OFD Sender: No OFD packet to send [04:27:31]OFD Sender: No OFD packet to send [04:27:36]OFD Sender: No OFD packet to send [04:27:41]OFD Sender: No OFD packet to send [04:27:47]OFD Sender: No OFD packet to send [04:27:52]OFD Sender: No OFD packet to send [04:27:57]OFD Sender: No OFD packet to send [04:28:02]OFD Sender: No OFD packet to send [04:28:07]OFD Sender: No OFD packet to send [04:28:12]OFD Sender: No OFD packet to send [04:28:17]OFD Sender: No OFD packet to send [04:28:22]OFD Sender: No OFD packet to send [04:28:27]OFD Sender: No OFD packet to send [04:28:32]OFD Sender: No OFD packet to send [04:28:37]OFD Sender: No OFD packet to send [04:28:42]OFD Sender: No OFD packet to send [04:28:47]OFD Sender: No OFD packet to send [04:28:52]OFD Sender: No OFD packet to send [04:28:57]OFD Sender: No OFD packet to send [04:29:02]OFD Sender: No OFD packet to send [04:29:07]OFD Sender: No OFD packet to send [04:29:12]OFD Sender: No OFD packet to send [04:29:17]OFD Sender: No OFD packet to send [04:29:22]OFD Sender: No OFD packet to send [04:29:27]OFD Sender: No OFD packet to send [04:29:32]OFD Sender: No OFD packet to send [04:29:37]OFD Sender: No OFD packet to send [04:29:42]OFD Sender: No OFD packet to send [04:29:47]OFD Sender: No OFD packet to send [04:29:52]OFD Sender: No OFD packet to send [04:29:57]OFD Sender: No OFD packet to send [04:30:02]OFD Sender: No OFD packet to send [04:30:07]OFD Sender: No OFD packet to send [04:30:12]OFD Sender: No OFD packet to send [04:30:17]OFD Sender: No OFD packet to send [04:30:22]OFD Sender: No OFD packet to send [04:30:27]OFD Sender: No OFD packet to send [04:30:32]OFD Sender: No OFD packet to send [04:30:37]OFD Sender: No OFD packet to send [04:30:42]OFD Sender: No OFD packet to send [04:30:47]OFD Sender: No OFD packet to send [04:30:52]OFD Sender: No OFD packet to send [04:30:57]OFD Sender: No OFD packet to send [04:31:02]OFD Sender: No OFD packet to send [04:31:07]OFD Sender: No OFD packet to send [04:31:12]OFD Sender: No OFD packet to send [04:31:17]OFD Sender: No OFD packet to send [04:31:22]OFD Sender: No OFD packet to send [04:31:27]OFD Sender: No OFD packet to send [04:31:32]OFD Sender: No OFD packet to send [04:31:37]OFD Sender: No OFD packet to send [04:31:42]OFD Sender: No OFD packet to send [04:31:47]OFD Sender: No OFD packet to send [04:31:52]OFD Sender: No OFD packet to send [04:31:57]OFD Sender: No OFD packet to send [04:32:02]OFD Sender: No OFD packet to send [04:32:07]OFD Sender: No OFD packet to send [04:32:12]OFD Sender: No OFD packet to send [04:32:17]OFD Sender: No OFD packet to send [04:32:22]OFD Sender: No OFD packet to send [04:32:27]OFD Sender: No OFD packet to send [04:32:32]OFD Sender: No OFD packet to send [04:32:37]OFD Sender: No OFD packet to send [04:32:42]OFD Sender: No OFD packet to send [04:32:47]OFD Sender: No OFD packet to send [04:32:52]OFD Sender: No OFD packet to send [04:32:57]OFD Sender: No OFD packet to send [04:33:02]OFD Sender: No OFD packet to send [04:33:07]OFD Sender: No OFD packet to send [04:33:12]OFD Sender: No OFD packet to send [04:33:17]OFD Sender: No OFD packet to send [04:33:22]OFD Sender: No OFD packet to send [04:33:27]OFD Sender: No OFD packet to send [04:33:32]OFD Sender: No OFD packet to send [04:33:37]OFD Sender: No OFD packet to send [04:33:42]OFD Sender: No OFD packet to send [04:33:47]OFD Sender: No OFD packet to send [04:33:52]OFD Sender: No OFD packet to send [04:33:57]OFD Sender: No OFD packet to send [04:34:02]OFD Sender: No OFD packet to send [04:34:07]OFD Sender: No OFD packet to send [04:34:12]OFD Sender: No OFD packet to send [04:34:17]OFD Sender: No OFD packet to send [04:34:22]OFD Sender: No OFD packet to send [04:34:27]OFD Sender: No OFD packet to send [04:34:32]OFD Sender: No OFD packet to send [04:34:37]OFD Sender: No OFD packet to send [04:34:42]OFD Sender: No OFD packet to send [04:34:47]OFD Sender: No OFD packet to send [04:34:52]OFD Sender: No OFD packet to send [04:34:57]OFD Sender: No OFD packet to send [04:35:02]OFD Sender: No OFD packet to send [04:35:07]OFD Sender: No OFD packet to send [04:35:12]OFD Sender: No OFD packet to send [04:35:17]OFD Sender: No OFD packet to send [04:35:22]OFD Sender: No OFD packet to send [04:35:27]OFD Sender: No OFD packet to send [04:35:32]OFD Sender: No OFD packet to send [04:35:37]OFD Sender: No OFD packet to send [04:35:42]OFD Sender: No OFD packet to send [04:35:47]OFD Sender: No OFD packet to send [04:35:52]OFD Sender: No OFD packet to send [04:35:57]OFD Sender: No OFD packet to send [04:36:02]OFD Sender: No OFD packet to send [04:36:07]OFD Sender: No OFD packet to send [04:36:12]OFD Sender: No OFD packet to send [04:36:17]OFD Sender: No OFD packet to send [04:36:22]OFD Sender: No OFD packet to send [04:36:27]OFD Sender: No OFD packet to send [04:36:32]OFD Sender: No OFD packet to send [04:36:37]OFD Sender: No OFD packet to send [04:36:42]OFD Sender: No OFD packet to send [04:36:47]OFD Sender: No OFD packet to send [04:36:52]OFD Sender: No OFD packet to send [04:36:57]OFD Sender: No OFD packet to send [04:37:02]OFD Sender: No OFD packet to send [04:37:07]OFD Sender: No OFD packet to send [04:37:12]OFD Sender: No OFD packet to send [04:37:17]OFD Sender: No OFD packet to send [04:37:22]OFD Sender: No OFD packet to send [04:37:27]OFD Sender: No OFD packet to send [04:37:32]OFD Sender: No OFD packet to send [04:37:37]OFD Sender: No OFD packet to send [04:37:42]OFD Sender: No OFD packet to send [04:37:47]OFD Sender: No OFD packet to send [04:37:52]OFD Sender: No OFD packet to send [04:37:57]OFD Sender: No OFD packet to send [04:38:02]OFD Sender: No OFD packet to send [04:38:07]OFD Sender: No OFD packet to send [04:38:12]OFD Sender: No OFD packet to send [04:38:17]OFD Sender: No OFD packet to send [04:38:22]OFD Sender: No OFD packet to send [04:38:27]OFD Sender: No OFD packet to send [04:38:32]OFD Sender: No OFD packet to send [04:38:37]OFD Sender: No OFD packet to send [04:38:42]OFD Sender: No OFD packet to send [04:38:47]OFD Sender: No OFD packet to send [04:38:52]OFD Sender: No OFD packet to send [04:38:57]OFD Sender: No OFD packet to send [04:39:02]OFD Sender: No OFD packet to send [04:39:07]OFD Sender: No OFD packet to send [04:39:12]OFD Sender: No OFD packet to send [04:39:17]OFD Sender: No OFD packet to send [04:39:22]OFD Sender: No OFD packet to send [04:39:27]OFD Sender: No OFD packet to send [04:39:37]OFD Sender: No OFD packet to send [04:39:42]OFD Sender: No OFD packet to send [04:39:47]OFD Sender: No OFD packet to send [04:39:52]OFD Sender: No OFD packet to send [04:39:57]OFD Sender: No OFD packet to send [04:40:02]OFD Sender: No OFD packet to send [04:40:07]OFD Sender: No OFD packet to send [04:40:12]OFD Sender: No OFD packet to send [04:40:17]OFD Sender: No OFD packet to send [04:40:22]OFD Sender: No OFD packet to send [04:40:27]OFD Sender: No OFD packet to send [04:40:32]OFD Sender: No OFD packet to send [04:40:37]OFD Sender: No OFD packet to send [04:40:42]OFD Sender: No OFD packet to send [04:40:47]OFD Sender: No OFD packet to send [04:40:52]OFD Sender: No OFD packet to send [04:40:57]OFD Sender: No OFD packet to send [04:41:02]OFD Sender: No OFD packet to send [04:41:07]OFD Sender: No OFD packet to send [04:41:12]OFD Sender: No OFD packet to send [04:41:17]OFD Sender: No OFD packet to send [04:41:22]OFD Sender: No OFD packet to send [04:41:27]OFD Sender: No OFD packet to send [04:41:32]OFD Sender: No OFD packet to send [04:41:37]OFD Sender: No OFD packet to send [04:41:42]OFD Sender: No OFD packet to send [04:41:45]ConnectInit Can't connect to host [04:41:47]OFD Sender: No OFD packet to send [04:41:52]OFD Sender: No OFD packet to send [04:42:43]MH_I2C_Read... [04:42:43]Read from MH i2c: E2 03 00 [04:42:43]MH_I2C_Read... [04:42:43]Read from MH i2c: E2 03 00 6F 00 00 90 00 E3 [04:42:43]RAPDU: 90 00 [04:42:43]wFMCommunicate OK [04:42:43]wFMCommunicate request_size=13 [04:42:43]MH_SAM_APDU [04:42:43]CAPDU: 80 15 02 00 08 F4 03 04 00 C3 C4 1D 67 [04:42:43]Write to MH i2c: E2 10 00 70 00 80 15 02 00 08 00 F4 03 04 00 C3 C4 1D 67 00 00 06 [04:42:43]Write i2c OK [04:42:43]MH_I2C_Read... [04:42:43]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [04:42:43]Read from MH i2c: E2 [04:42:43]MH_I2C_Read... [04:42:43]Read from MH i2c: E2 03 00 [04:42:43]MH_I2C_Read... [04:42:43]Read from MH i2c: E2 03 00 70 00 00 90 00 E4 [04:42:43]RAPDU: 90 00 [04:42:43]wFMCommunicate OK [04:42:43]wFMCommunicate request_size=25 [04:42:43]MH_SAM_APDU [04:42:43]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 [04:42:43]Write to MH i2c: E2 1C 00 71 00 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 56 [04:42:43]Write i2c OK [04:42:43]MH_I2C_Read... [04:42:43]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [04:42:43]Read from MH i2c: E2 [04:42:43]MH_I2C_Read... [04:42:43]Read from MH i2c: E2 03 00 [04:42:43]MH_I2C_Read... [04:42:43]Read from MH i2c: E2 03 00 71 00 00 90 00 E5 [04:42:43]RAPDU: 90 00 [04:42:43]wFMCommunicate OK [04:42:43]wFMCommunicate request_size=4 [04:42:43]MH_SAM_APDU [04:42:43]CAPDU: 80 15 03 00 [04:42:43]Write to MH i2c: E2 08 00 72 00 80 15 03 00 00 00 00 00 F3 [04:42:43]Write i2c OK [04:42:43]MH_I2C_Read... [04:42:43]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 61! [04:42:43]Read from MH i2c: E2 [04:42:43]MH_I2C_Read... [04:42:43]Read from MH i2c: E2 40 00 [04:42:43]MH_I2C_Read... [04:42:43]Read from MH i2c: E2 40 00 72 00 00 3B 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 34 93 00 00 0E 04 04 00 26 02 00 00 12 04 04 00 0A 00 00 00 35 04 06 00 17 FD 1C 06 42 60 90 00 B7 [04:42:43]RAPDU: 3B 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 34 93 00 00 0E 04 04 00 26 02 00 00 12 04 04 00 0A 00 00 00 35 04 06 00 17 FD 1C 06 42 60 90 00 [04:42:43]wFMCommunicate OK [04:42:43]SAM_PROTO_ProcessDocument answer len = 59 [04:42:43]SAM_PROTO_ProcessDocument done [04:42:43]SetTLVBufToDocument [04:42:43]Processing tag 1209 (04B9) [04:42:43]Malloc new data [04:42:43]Processing tag 1041 (0411) [04:42:43]Processing tag 1040 (0410) [04:42:43]Malloc new data [04:42:43]Processing tag 1038 (040E) [04:42:43]Malloc new data [04:42:43]Processing tag 1042 (0412) [04:42:43]Malloc new data [04:42:43]Processing tag 1077 (0435) [04:42:43]Malloc new data [04:42:43]SetTLVBufToDocument err=0 [04:42:43]KKMLoadAndSignReceiptData store KKM data [04:42:43]KKMLoadAndSignReceiptData err=0 [04:42:43]wFMCommunicate request_size=4 [04:42:43]MH_SAM_APDU [04:42:43]CAPDU: 80 11 00 00 [04:42:43]Write to MH i2c: E2 08 00 73 00 80 11 00 00 00 00 00 00 ED [04:42:43]Write i2c OK [04:42:43]MH_I2C_Read... [04:42:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:42:43]Read from MH i2c: E2 [04:42:43]MH_I2C_Read... [04:42:43]Read from MH i2c: E2 17 00 [04:42:43]MH_I2C_Read... [04:42:43]Read from MH i2c: E2 17 00 73 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 3D [04:42:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [04:42:43]wFMCommunicate OK [04:42:43]Счет N : (3)34982 ИНН: 02508201610067 Контрольно-Кассовый Чек ПРОДАЖА Товар: 4600682557456 Напиток FLash up energy эн ж/б 0,5/0,45л 1.000 * 69.00 = 69.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 69.00 НСП 1% : 0.61 НДС 12% : 7.33 Наличными: 69.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 10 27.10.2024 04:42 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37684 ФПД: 26375864336992 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T044243&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37684&fm=26375864336992&tin=02508201610067®Number=0000000000091684&sum=6900 0 [04:42:43]StoreToDocumentArchive [04:42:43]shift 550 fd 37684 [04:42:43]save to /storage/0550/doc_00037684 [04:42:43]save last doc name /storage/0550/doc_00037684 to /storage/kkm_last_doc_name [04:42:43]save OK [04:42:43]Clear old archive folders... [04:42:43]ProcessDocumentItem done err = 0, tmpTLVsize=294 [04:42:43]tlvbuf is 00267B10 [04:42:43]SAM_PROTO_ClearQueue [04:42:43]wFMCommunicate request_size=4 [04:42:43]MH_SAM_APDU [04:42:43]CAPDU: 80 09 00 00 [04:42:43]Write to MH i2c: E2 08 00 74 00 80 09 00 00 00 00 00 00 E6 [04:42:43]Write i2c OK [04:42:43]MH_I2C_Read... [04:42:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:42:43]Read from MH i2c: E2 [04:42:43]MH_I2C_Read... [04:42:43]Read from MH i2c: E2 03 00 [04:42:43]MH_I2C_Read... [04:42:43]Read from MH i2c: E2 03 00 74 00 00 90 00 E8 [04:42:43]RAPDU: 90 00 [04:42:43]wFMCommunicate OK [04:42:43]SAM_PROTO_ClearQueue done [04:42:43]KKMCreateOFDPacket [04:42:43]OFDProtocolAddRootSTLVToBuf [04:42:43]FM_MakeSignedData [04:42:43]FM_MakeSignedData [04:42:43]SAM_PROTO_SignData [04:42:43]wFMCommunicate request_size=4 [04:42:43]MH_SAM_APDU [04:42:43]CAPDU: 80 0D 01 02 [04:42:43]Write to MH i2c: E2 08 00 75 00 80 0D 01 02 00 00 00 00 EE [04:42:43]Write i2c OK [04:42:43]MH_I2C_Read... [04:42:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:42:43]Read from MH i2c: E2 [04:42:43]MH_I2C_Read... [04:42:43]Read from MH i2c: E2 03 00 [04:42:43]MH_I2C_Read... [04:42:43]Read from MH i2c: E2 03 00 75 00 00 90 00 E9 [04:42:43]RAPDU: 90 00 [04:42:43]wFMCommunicate OK [04:42:43]wFMCommunicate request_size=255 [04:42:43]MH_SAM_APDU [04:42:43]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 0A 00 00 00 F4 03 04 00 C3 C4 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [04:42:43]Write to MH i2c: E2 02 01 76 00 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 C3 C4 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 3A [04:42:43]Write i2c OK [04:42:43]MH_I2C_Read... [04:42:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:42:44]Read from MH i2c: E2 [04:42:44]MH_I2C_Read... [04:42:44]Read from MH i2c: E2 03 00 [04:42:44]MH_I2C_Read... [04:42:44]Read from MH i2c: E2 03 00 76 00 00 90 00 EA [04:42:44]RAPDU: 90 00 [04:42:44]wFMCommunicate OK [04:42:44]wFMCommunicate request_size=53 [04:42:44]MH_SAM_APDU [04:42:44]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 34 93 00 00 35 04 06 00 17 FD 1C 06 42 60 [04:42:44]Write to MH i2c: E2 38 00 77 00 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 34 93 00 00 35 04 06 00 17 FD 1C 06 42 60 00 00 85 [04:42:44]Write i2c OK [04:42:44]MH_I2C_Read... [04:42:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:42:44]Read from MH i2c: E2 [04:42:44]MH_I2C_Read... [04:42:44]Read from MH i2c: E2 03 00 [04:42:44]MH_I2C_Read... [04:42:44]Read from MH i2c: E2 03 00 77 00 00 90 00 EB [04:42:44]RAPDU: 90 00 [04:42:44]wFMCommunicate OK [04:42:44]wFMCommunicate request_size=4 [04:42:44]MH_SAM_APDU [04:42:44]CAPDU: 80 0D 03 02 [04:42:44]Write to MH i2c: E2 08 00 78 00 80 0D 03 02 00 00 00 00 F3 [04:42:44]Write i2c OK [04:42:44]MH_I2C_Read... [04:42:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:42:44]Read from MH i2c: E2 [04:42:44]MH_I2C_Read... [04:42:44]Read from MH i2c: E2 0B 00 [04:42:44]MH_I2C_Read... [04:42:44]Read from MH i2c: E2 0B 00 78 00 00 A5 77 79 63 17 BA B0 D4 90 00 41 [04:42:44]RAPDU: A5 77 79 63 17 BA B0 D4 90 00 [04:42:44]wFMCommunicate OK [04:42:44]SAM_PROTO_SignData done [04:42:44]FM_MakeSignedData done [04:42:44]CreateOFDProtocolMessage [04:42:44]wFMCommunicate request_size=4 [04:42:44]MH_SAM_APDU [04:42:44]CAPDU: 80 11 00 00 [04:42:44]Write to MH i2c: E2 08 00 79 00 80 11 00 00 00 00 00 00 F3 [04:42:44]Write i2c OK [04:42:44]MH_I2C_Read... [04:42:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:42:44]Read from MH i2c: E2 [04:42:44]MH_I2C_Read... [04:42:44]Read from MH i2c: E2 17 00 [04:42:44]MH_I2C_Read... [04:42:44]Read from MH i2c: E2 17 00 79 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 43 [04:42:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [04:42:44]wFMCommunicate OK [04:42:44]CreateOFDProtocolMessage done [04:42:44]OFDSenderStorePacket 37684 [04:42:44]StoreOFDPacket docnum=37684 [04:42: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 3A 01 00 00 75 BF 32 01 42 7B 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 0A 00 00 00 F4 03 04 00 C3 C4 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 34 93 00 00 35 04 06 00 17 FD 1C 06 42 60 A5 77 79 63 17 BA B0 D4 [04:42:44]CheckFolder [04:42:44]dirname=/storage/ofd_packets [04:42:44]CheckFolder done [04:42:44]ProducePacketName [04:42:44]name=ofd_packets/00037684 [04:42:44]NVStorageSaveData ofd_packets/00037684 [04:42:44]File name is /storage/ofd_packets/00037684 [04:42:44]Write 344 bytes [04:42:44]NVStorageSaveData done [04:42:44]OFDSenderStorePacket done [04:42:44]KKMCreateOFDPacket done [04:42:44]NVStorageSaveData kkm_last_timestamp [04:42:44]File name is /storage/kkm_last_timestamp [04:42:44]Write 4 bytes [04:42:44]NVStorageSaveData done [04:42:44]ExternCall_PrintAddStr [04:42:44]wPrintStart [04:42:44]Write to MH i2c: 01 00 00 7A 00 7A [04:42:44]Write i2c OK [04:42:44]MH_I2C_Read... [04:42:44]Read from MH i2c: 01 [04:42:44]MH_I2C_Read... [04:42:44]Read from MH i2c: 01 07 00 [04:42:44]MH_I2C_Read... [04:42:44]Read from MH i2c: 01 07 00 7A 00 00 00 00 00 00 FF 0F 8F [04:42:44]RasterBufferAndPrint [04:42:44]line Счет N : (3)34982 [04:42:44]line ИНН: 02508201610067 [04:42:44]line Контрольно-Кассовый Чек [04:42:44]line ПРОДАЖА [04:42:44]line Товар: 4600682557456 [04:42:44]line Напиток FLash up energy эн ж/б 0,5/0,45л [04:42:44]line 1.000 * 69.00 [04:42:44]line = 69.00 [04:42:44]line НДС 12% НСП 1% [04:42:44]line > о реализуемом товаре [04:42:44]line ИТОГО: 69.00 [04:42:44]line НСП 1% : 0.61 [04:42:44]line НДС 12% : 7.33 [04:42:44]line Наличными: 69.00 [04:42:44]line Безнал.: 0.00 [04:42:44]line Место: АЗС № 126 "Партнер Нефть" [04:42:44]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [04:42:44]line СНО: Общий режим [04:42:44]line Чек 10 27.10.2024 04:42 [04:42:44]line Смена: 550 ФФД: 1.0 [04:42:44]line ЗНМ: 0300000092 [04:42:44]line РНМ: 0000000000091684 [04:42:44]line Версия ККМ: 001 [04:42:44]line ФМ: 0000000000871841 [04:42:44]line ФД: 37684 [04:42:44]line ФПД: 26375864336992 [04:42:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T044243&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37684&fm=26375864336992&tin=02508201610067®Number=0000000000091684&sum=6900 [04:42:44]line 0 [04:42:44]OFD Sender: Processing packet 37684 [packets to send 42, broken 41] [04:42:44]ProducePacketName [04:42:44]name=ofd_packets/00037684 [04:42:44]OFD Sender: To server: pG, [04:42:44]CommunicateWithHost lk.salyk.kg:30040 [04:42:44]ConnectInit lk.salyk.kg [04:42:44]written 0, free lines is 4095 [04:42:44]Connected sock=11 [04:42: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 3A 01 00 00 75 BF 32 01 42 7B 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 0A 00 00 00 F4 03 04 00 C3 C4 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 34 93 00 00 35 04 06 00 17 FD 1C 06 42 60 A5 77 79 63 17 BA B0 D4 [04:42:45]Write to MH i2c: 01 00 00 A3 00 A3 [04:42:45]Write i2c OK [04:42:45]MH_I2C_Read... [04:42:45]Read from MH i2c: 01 [04:42:45]MH_I2C_Read... [04:42:45]Read from MH i2c: 01 07 00 [04:42:45]MH_I2C_Read... [04:42:45]Read from MH i2c: 01 07 00 A3 00 00 00 00 00 00 C5 0C 7B [04:42:45]RasterBufferAndPrint [04:42:45]line [04:42:45]line [04:42:45]line [04:42:45]line [04:42:45]line [04:42:45]written 0, free lines is 3274 [04:42:45]MH_Cut [04:42:45]Write to MH i2c: D1 01 00 AA 00 01 7C [04:42:45]Write i2c OK [04:42:45]MH_I2C_Read... [04:42:45]Read from MH i2c: D1 [04:42:45]MH_I2C_Read... [04:42:45]Read from MH i2c: D1 01 00 [04:42:45]MH_I2C_Read... [04:42:45]Read from MH i2c: D1 01 00 AA 00 00 7B [04:42:45]Write to MH i2c: 01 00 00 AB 00 AB [04:42:45]Write i2c OK [04:42:45]MH_I2C_Read... [04:42: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 CE 57 47 00 41 65 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 34 93 00 00 F4 03 04 00 BC 6F 1D 67 B6 04 01 00 00 02 E9 11 44 D1 C0 C8 1B [04:42:45]CommunicateWithHost err = 0 [04:42:45]CheckOFDResponse [04:42:45]1017 (14) - 77093643461234 [04:42:45]1041 (16) - 0000000000871841 [04:42:45]1040 (4) - 37684 [04:42:45]1012 (4) - 26.10.2024 22:39 [04:42:45]1206 (1) - 0 [04:42:45]OFD Sender: Remove packet 37684 [04:42:45]ProducePacketName [04:42:45]name=ofd_packets/00037684 [04:42:45]NVStorageDeleteData [04:42:45]OFD Sender: No OFD packet to send [04:42:45]*** Cut start [04:42:45]*** Partial cut [04:42:45]*** CUTSNS_PIN = 1 [04:42:45]*** CUTSNS_PIN = 0 [04:42:46]*** Brake cut motor [04:42:46]Read from MH i2c: 01 [04:42:46]MH_I2C_Read... [04:42:46]*** Stop cut motor [04:42:46]*** Cut end [04:42:46]Read from MH i2c: 01 07 00 [04:42:46]MH_I2C_Read... [04:42:46]Read from MH i2c: 01 07 00 AB 00 00 00 00 00 00 FF 0F C0 [04:42:46]process_action close_receipt done [04:42:46]requested_data is exist [04:42:46]produce_requested_data [04:42:46]requested_item fm.sn is exist - process it [04:42:46]wFMCommunicate request_size=4 [04:42:46]MH_SAM_APDU [04:42:46]CAPDU: 80 11 00 00 [04:42:46]Write to MH i2c: E2 08 00 AC 00 80 11 00 00 00 00 00 00 26 [04:42:46]Write i2c OK [04:42:46]MH_I2C_Read... [04:42:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:42:46]Read from MH i2c: E2 [04:42:46]MH_I2C_Read... [04:42:46]Read from MH i2c: E2 17 00 [04:42:46]MH_I2C_Read... [04:42:46]Read from MH i2c: E2 17 00 AC 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 76 [04:42:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [04:42:46]wFMCommunicate OK [04:42:46]requested_item fd.num is exist - process it [04:42:46]SAM_PROTO_GetFieldsCounters [04:42:46]wFMCommunicate request_size=4 [04:42:46]MH_SAM_APDU [04:42:46]CAPDU: 80 13 00 00 [04:42:46]Write to MH i2c: E2 08 00 AD 00 80 13 00 00 00 00 00 00 29 [04:42:46]Write i2c OK [04:42:46]MH_I2C_Read... [04:42:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:42:46]Read from MH i2c: E2 [04:42:46]MH_I2C_Read... [04:42:46]Read from MH i2c: E2 62 00 [04:42:46]MH_I2C_Read... [04:42:46]Read from MH i2c: E2 62 00 AD 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 34 93 00 00 0E 04 04 00 26 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 57 [04:42: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 34 93 00 00 0E 04 04 00 26 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 [04:42:46]wFMCommunicate OK [04:42:46]SAM_PROTO_GetFieldsCounters done [04:42:46]requested_item shift.num is exist - process it [04:42:46]requested_item shift.opened is exist - process it [04:42:46]req_shift_opened [04:42:46]FM_GetShiftState [04:42:46]SAM_PROTO_GetShiftState [04:42:46]wFMCommunicate request_size=4 [04:42:46]MH_SAM_APDU [04:42:46]CAPDU: 80 13 01 00 [04:42:46]Write to MH i2c: E2 08 00 AE 00 80 13 01 00 00 00 00 00 2B [04:42:46]Write i2c OK [04:42:46]MH_I2C_Read... [04:42:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:42:46]Read from MH i2c: E2 [04:42:46]MH_I2C_Read... [04:42:46]Read from MH i2c: E2 0E 00 [04:42:46]MH_I2C_Read... [04:42:46]Read from MH i2c: E2 0E 00 AE 00 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 E2 [04:42:46]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [04:42:46]wFMCommunicate OK [04:42:46]SAM_PROTO_GetShiftState done [04:42:46]FM_GetShiftState done [04:42:46]req_shift_opened done [04:42:46]requested_item shift.open_date is exist - process it [04:42:46]req_shift_open_date [04:42:46]req_shift_open_date done [04:42:46]produce_requested_data done [04:42:46]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37684,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [04:42:46]process_action_free close_receipt [04:42:46]json_value_free [04:42:46]json_value_free done [04:42:46]process_json_proto returns [04:42:46]Send response to host [04:42:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37684,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [04:42:46]free response buf [04:42:46]execute_script done [04:42:46]execute_script returns [04:42:46]free content buf [04:42:46]Sock 7.Close socket [04:42:46]Sock 7.Thread stoped [04:42:50]OFD Sender: No OFD packet to send [04:42:55]OFD Sender: No OFD packet to send [04:43:00]OFD Sender: No OFD packet to send [04:43:05]OFD Sender: No OFD packet to send [04:43:10]OFD Sender: No OFD packet to send [04:43:15]OFD Sender: No OFD packet to send [04:43:18]accept exits with 10 [04:43:18]New connection [04:43:18]New thread 3067440484 created [04:43:18]Thread 3067297124 joined [04:43:18]Waiting for new connection... [04:43:18] Sock 10.Parse request [04:43:18]Sock 10.Check first char [04:43:18]Sock 10.First char is OK [04:43:18]request: POST /json_proto HTTP/1.0 [04:43:18]Method: POST [04:43:18]URL: /json_proto [04:43:18]Method is POST - this is cgi request [04:43:18]url: /json_proto [04:43:18]query_string will be loaded in cgi processing [04:43:18]execute_cgi json_proto POST (null) [04:43:18]execute_cgi path=json_proto method=POST [04:43:18]POST find Content-Length [04:43:18]Host: 172.17.40.196:8080 [04:43:18]Content-Length: 657 [04:43:18]Content-Type: application/json [04:43:18] [04:43:18]POST finish read [04:43:18]Found Content-Length = 657 [04:43:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34983", "tax_sys" : 0, "items" : [ { "code": "4607084351361", "name": "\u0411\u0438\u0441\u043A\u0432\u0438\u0442 \u0427\u043E\u043A\u043E \u043F\u0430\u0439 4\u0448\u0442", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:43:18]execute_script... [04:43: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)34983", "tax_sys" : 0, "items" : [ { "code": "4607084351361", "name": "\u0411\u0438\u0441\u043A\u0432\u0438\u0442 \u0427\u043E\u043A\u043E \u043F\u0430\u0439 4\u0448\u0442", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:43:18]POST & json_proto [04:43:18]process_json_proto [04:43:18]json parsed OK: [04:43:18]protocol is kg_v1.0 [04:43:18]action value=close_receipt [04:43:18]process_action close_receipt [04:43:18]cmd_close_receipt [04:43:18]MH_GetDate [04:43:18]Write to MH i2c: F0 00 00 AF 00 9E [04:43:18]Write i2c OK [04:43:18]MH_I2C_Read... [04:43:18]Read from MH i2c: F0 [04:43:18]MH_I2C_Read... [04:43:18]Read from MH i2c: F0 09 00 [04:43:18]MH_I2C_Read... [04:43:18]Read from MH i2c: F0 09 00 AF 00 00 E7 C4 1D 67 5B 68 A1 66 A0 [04:43:18]GetLastDocTimeStamp 1730004163 [04:43:18]current date 1730004199 [04:43:18]FM_GetShiftState [04:43:18]SAM_PROTO_GetShiftState [04:43:18]wFMCommunicate request_size=4 [04:43:18]MH_SAM_APDU [04:43:18]CAPDU: 80 13 01 00 [04:43:18]Write to MH i2c: E2 08 00 B0 00 80 13 01 00 00 00 00 00 2D [04:43:18]Write i2c OK [04:43:18]MH_I2C_Read... [04:43:18]Read from MH i2c: E2 [04:43:18]MH_I2C_Read... [04:43:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:43:18]Read from MH i2c: E2 0E 00 [04:43:18]MH_I2C_Read... [04:43:18]Read from MH i2c: E2 0E 00 B0 00 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 E4 [04:43:18]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [04:43:18]wFMCommunicate OK [04:43:18]SAM_PROTO_GetShiftState done [04:43:18]FM_GetShiftState done [04:43:18]opened in 1729987492 [04:43:18]opened+sec_in_day 1730073892 [04:43:18]quantity*price = 13000 [04:43:18]sum+1 = 13001 [04:43: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 СНО: Общий режим Чек 11 27.10.2024 04:43 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37685 ФПД: 116494011055214 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T044319&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37685&fm=116494011055214&tin=02508201610067®Number=0000000000091684&sum=13000 0 [04:43:19]StoreToDocumentArchive [04:43:19]shift 550 fd 37685 [04:43:19]save to /storage/0550/doc_00037685 [04:43:19]save last doc name /storage/0550/doc_00037685 to /storage/kkm_last_doc_name [04:43:19]save OK [04:43:19]Clear old archive folders... [04:43:19]ProcessDocumentItem done err = 0, tmpTLVsize=278 [04:43:19]tlvbuf is 0025F9E0 [04:43:19]SAM_PROTO_ClearQueue [04:43:19]wFMCommunicate request_size=4 [04:43:19]MH_SAM_APDU [04:43:19]CAPDU: 80 09 00 00 [04:43:19]Write to MH i2c: E2 08 00 BD 00 80 09 00 00 00 00 00 00 2F [04:43:19]Write i2c OK [04:43:19]MH_I2C_Read... [04:43:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:43:19]Read from MH i2c: E2 [04:43:19]MH_I2C_Read... [04:43:19]Read from MH i2c: E2 03 00 [04:43:19]MH_I2C_Read... [04:43:19]Read from MH i2c: E2 03 00 BD 00 00 90 00 31 [04:43:19]RAPDU: 90 00 [04:43:19]wFMCommunicate OK [04:43:19]SAM_PROTO_ClearQueue done [04:43:19]KKMCreateOFDPacket [04:43:19]OFDProtocolAddRootSTLVToBuf [04:43:19]FM_MakeSignedData [04:43:19]FM_MakeSignedData [04:43:19]SAM_PROTO_SignData [04:43:19]wFMCommunicate request_size=4 [04:43:19]MH_SAM_APDU [04:43:19]CAPDU: 80 0D 01 02 [04:43:19]Write to MH i2c: E2 08 00 BE 00 80 0D 01 02 00 00 00 00 37 [04:43:19]Write i2c OK [04:43:19]MH_I2C_Read... [04:43:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:43:19]Read from MH i2c: E2 [04:43:19]MH_I2C_Read... [04:43:19]Read from MH i2c: E2 03 00 [04:43:19]MH_I2C_Read... [04:43:19]Read from MH i2c: E2 03 00 BE 00 00 90 00 32 [04:43:19]RAPDU: 90 00 [04:43:20]wFMCommunicate OK [04:43:20]wFMCommunicate request_size=255 [04:43:20]MH_SAM_APDU [04:43:20]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 E7 C4 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 [04:43:20]Write to MH i2c: E2 02 01 BF 00 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 E7 C4 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 D9 [04:43:20]Write i2c OK [04:43:20]MH_I2C_Read... [04:43:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:43:20]Read from MH i2c: E2 [04:43:20]MH_I2C_Read... [04:43:20]Read from MH i2c: E2 03 00 [04:43:20]MH_I2C_Read... [04:43:20]Read from MH i2c: E2 03 00 BF 00 00 90 00 33 [04:43:20]RAPDU: 90 00 [04:43:20]wFMCommunicate OK [04:43:20]wFMCommunicate request_size=37 [04:43:20]MH_SAM_APDU [04:43:20]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 35 93 00 00 35 04 06 00 69 F3 60 25 BC 6E [04:43:20]Write to MH i2c: E2 28 00 C0 00 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 35 93 00 00 35 04 06 00 69 F3 60 25 BC 6E 00 00 61 [04:43:20]Write i2c OK [04:43:20]MH_I2C_Read... [04:43:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:43:20]Read from MH i2c: E2 [04:43:20]MH_I2C_Read... [04:43:20]Read from MH i2c: E2 03 00 [04:43:20]MH_I2C_Read... [04:43:20]Read from MH i2c: E2 03 00 C0 00 00 90 00 34 [04:43:20]RAPDU: 90 00 [04:43:20]wFMCommunicate OK [04:43:20]wFMCommunicate request_size=4 [04:43:20]MH_SAM_APDU [04:43:20]CAPDU: 80 0D 03 02 [04:43:20]Write to MH i2c: E2 08 00 C1 00 80 0D 03 02 00 00 00 00 3C [04:43:20]Write i2c OK [04:43:20]MH_I2C_Read... [04:43:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:43:20]Read from MH i2c: E2 [04:43:20]MH_I2C_Read... [04:43:20]Read from MH i2c: E2 0B 00 [04:43:20]MH_I2C_Read... [04:43:20]Read from MH i2c: E2 0B 00 C1 00 00 92 40 B8 17 12 CA E6 B8 90 00 58 [04:43:20]RAPDU: 92 40 B8 17 12 CA E6 B8 90 00 [04:43:20]wFMCommunicate OK [04:43:20]SAM_PROTO_SignData done [04:43:20]FM_MakeSignedData done [04:43:20]CreateOFDProtocolMessage [04:43:20]wFMCommunicate request_size=4 [04:43:20]MH_SAM_APDU [04:43:20]CAPDU: 80 11 00 00 [04:43:20]Write to MH i2c: E2 08 00 C2 00 80 11 00 00 00 00 00 00 3C [04:43:20]Write i2c OK [04:43:20]MH_I2C_Read... [04:43:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:43:20]Read from MH i2c: E2 [04:43:20]MH_I2C_Read... [04:43:20]Read from MH i2c: E2 17 00 [04:43:20]MH_I2C_Read... [04:43:20]Read from MH i2c: E2 17 00 C2 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 8C [04:43:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [04:43:20]wFMCommunicate OK [04:43:20]CreateOFDProtocolMessage done [04:43:20]OFDSenderStorePacket 37685 [04:43:20]StoreOFDPacket docnum=37685 [04:43: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 2A 01 00 00 52 87 22 01 DD AA 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 E7 C4 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 35 93 00 00 35 04 06 00 69 F3 60 25 BC 6E 92 40 B8 17 12 CA E6 B8 [04:43:20]CheckFolder [04:43:20]dirname=/storage/ofd_packets [04:43:20]CheckFolder done [04:43:20]ProducePacketName [04:43:20]name=ofd_packets/00037685 [04:43:20]NVStorageSaveData ofd_packets/00037685 [04:43:20]File name is /storage/ofd_packets/00037685 [04:43:20]Write 328 bytes [04:43:20]NVStorageSaveData done [04:43:20]OFDSenderStorePacket done [04:43:20]KKMCreateOFDPacket done [04:43:20]NVStorageSaveData kkm_last_timestamp [04:43:20]File name is /storage/kkm_last_timestamp [04:43:20]Write 4 bytes [04:43:20]NVStorageSaveData done [04:43:20]ExternCall_PrintAddStr [04:43:20]wPrintStart [04:43:20]Write to MH i2c: 01 00 00 C3 00 C3 [04:43:20]Write i2c OK [04:43:20]MH_I2C_Read... [04:43:20]Read from MH i2c: 01 [04:43:20]MH_I2C_Read... [04:43:20]Read from MH i2c: 01 07 00 [04:43:20]MH_I2C_Read... [04:43:20]Read from MH i2c: 01 07 00 C3 00 00 00 00 00 00 FF 0F D8 [04:43:20]RasterBufferAndPrint [04:43:20]line Счет N : (3)34983 [04:43:20]line ИНН: 02508201610067 [04:43:20]line Контрольно-Кассовый Чек [04:43:20]line ПРОДАЖА [04:43:20]line Товар: 4607084351361 [04:43:20]line Бисквит Чоко пай 4шт [04:43:20]line 1.000 * 130.00 [04:43:20]line = 130.00 [04:43:20]line НДС 12% НСП 1% [04:43:20]line > о реализуемом товаре [04:43:20]line ИТОГО: 130.00 [04:43:20]line НСП 1% : 1.15 [04:43:20]line НДС 12% : 13.80 [04:43:20]line Наличными: 130.00 [04:43:20]line Безнал.: 0.00 [04:43:20]line Место: АЗС № 126 "Партнер Нефть" [04:43:20]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [04:43:20]line СНО: Общий режим [04:43:20]line Чек 11 27.10.2024 04:43 [04:43:20]line Смена: 550 ФФД: 1.0 [04:43:20]line ЗНМ: 0300000092 [04:43:20]line РНМ: 0000000000091684 [04:43:20]line Версия ККМ: 001 [04:43:20]line ФМ: 0000000000871841 [04:43:20]line ФД: 37685 [04:43:20]line ФПД: 116494011055214 [04:43:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T044319&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37685&fm=116494011055214&tin=02508201610067®Number=0000000000091684&sum=13000 [04:43:20]line 0 [04:43:20]written 0, free lines is 4095 [04:43:20]OFD Sender: Processing packet 37685 [packets to send 42, broken 41] [04:43:20]ProducePacketName [04:43:20]name=ofd_packets/00037685 [04:43:20]OFD Sender: To server: pG, [04:43:20]CommunicateWithHost lk.salyk.kg:30040 [04:43:20]ConnectInit lk.salyk.kg [04:43:20]Connected sock=11 [04:43: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 2A 01 00 00 52 87 22 01 DD AA 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 E7 C4 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 35 93 00 00 35 04 06 00 69 F3 60 25 BC 6E 92 40 B8 17 12 CA E6 B8 [04:43:20]Write to MH i2c: 01 00 00 EB 00 EB [04:43:20]Write i2c OK [04:43:20]MH_I2C_Read... [04:43:20]Read from MH i2c: 01 [04:43:20]MH_I2C_Read... [04:43:20]Read from MH i2c: 01 07 00 [04:43:20]MH_I2C_Read... [04:43:20]Read from MH i2c: 01 07 00 EB 00 00 00 00 00 00 D6 0C D4 [04:43:20]RasterBufferAndPrint [04:43:20]line [04:43:20]line [04:43:20]line [04:43:20]line [04:43:20]line [04:43:20]written 0, free lines is 3300 [04:43:20]MH_Cut [04:43:20]Write to MH i2c: D1 01 00 F2 00 01 C4 [04:43:20]Write i2c OK [04:43:20]MH_I2C_Read... [04:43:20]Read from MH i2c: D1 [04:43:20]MH_I2C_Read... [04:43:20]Read from MH i2c: D1 01 00 [04:43:20]MH_I2C_Read... [04:43:20]Read from MH i2c: D1 01 00 F2 00 00 C3 [04:43:20]Write to MH i2c: 01 00 00 F3 00 F3 [04:43:20]Write i2c OK [04:43:20]MH_I2C_Read... [04:43: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 0D B6 47 00 16 1B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 35 93 00 00 F4 03 04 00 E0 6F 1D 67 B6 04 01 00 00 B1 43 4D 96 37 03 57 1B [04:43:21]CommunicateWithHost err = 0 [04:43:21]CheckOFDResponse [04:43:21]1017 (14) - 77093643461234 [04:43:21]1041 (16) - 0000000000871841 [04:43:21]1040 (4) - 37685 [04:43:21]1012 (4) - 26.10.2024 22:40 [04:43:21]1206 (1) - 0 [04:43:21]OFD Sender: Remove packet 37685 [04:43:21]ProducePacketName [04:43:21]name=ofd_packets/00037685 [04:43:21]NVStorageDeleteData [04:43:21]OFD Sender: No OFD packet to send [04:43:21]*** Cut start [04:43:21]*** Partial cut [04:43:21]*** CUTSNS_PIN = 1 [04:43:21]*** CUTSNS_PIN = 0 [04:43:22]*** Brake cut motor [04:43:22]Read from MH i2c: 01 [04:43:22]MH_I2C_Read... [04:43:22]*** Stop cut motor [04:43:22]*** Cut end [04:43:22]Read from MH i2c: 01 07 00 [04:43:22]MH_I2C_Read... [04:43:22]Read from MH i2c: 01 07 00 F3 00 00 00 00 00 00 FF 0F 08 [04:43:22]process_action close_receipt done [04:43:22]requested_data is exist [04:43:22]produce_requested_data [04:43:22]requested_item fm.sn is exist - process it [04:43:22]wFMCommunicate request_size=4 [04:43:22]MH_SAM_APDU [04:43:22]CAPDU: 80 11 00 00 [04:43:22]Write to MH i2c: E2 08 00 F4 00 80 11 00 00 00 00 00 00 6E [04:43:22]Write i2c OK [04:43:22]MH_I2C_Read... [04:43:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:43:22]Read from MH i2c: E2 [04:43:22]MH_I2C_Read... [04:43:22]Read from MH i2c: E2 17 00 [04:43:22]MH_I2C_Read... [04:43:22]Read from MH i2c: E2 17 00 F4 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 BE [04:43:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [04:43:22]wFMCommunicate OK [04:43:22]requested_item fd.num is exist - process it [04:43:22]SAM_PROTO_GetFieldsCounters [04:43:22]wFMCommunicate request_size=4 [04:43:22]MH_SAM_APDU [04:43:22]CAPDU: 80 13 00 00 [04:43:22]Write to MH i2c: E2 08 00 F5 00 80 13 00 00 00 00 00 00 71 [04:43:22]Write i2c OK [04:43:22]MH_I2C_Read... [04:43:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:43:22]Read from MH i2c: E2 [04:43:22]MH_I2C_Read... [04:43:22]Read from MH i2c: E2 62 00 [04:43:22]MH_I2C_Read... [04:43:22]Read from MH i2c: E2 62 00 F5 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 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 35 93 00 00 0E 04 04 00 26 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 A3 [04:43: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 35 93 00 00 0E 04 04 00 26 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 [04:43:22]wFMCommunicate OK [04:43:22]SAM_PROTO_GetFieldsCounters done [04:43:22]requested_item shift.num is exist - process it [04:43:22]requested_item shift.opened is exist - process it [04:43:22]req_shift_opened [04:43:22]FM_GetShiftState [04:43:22]SAM_PROTO_GetShiftState [04:43:22]wFMCommunicate request_size=4 [04:43:22]MH_SAM_APDU [04:43:22]CAPDU: 80 13 01 00 [04:43:22]Write to MH i2c: E2 08 00 F6 00 80 13 01 00 00 00 00 00 73 [04:43:22]Write i2c OK [04:43:22]MH_I2C_Read... [04:43:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:43:22]Read from MH i2c: E2 [04:43:22]MH_I2C_Read... [04:43:22]Read from MH i2c: E2 0E 00 [04:43:22]MH_I2C_Read... [04:43:22]Read from MH i2c: E2 0E 00 F6 00 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 2A [04:43:22]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [04:43:22]wFMCommunicate OK [04:43:22]SAM_PROTO_GetShiftState done [04:43:22]FM_GetShiftState done [04:43:22]req_shift_opened done [04:43:22]requested_item shift.open_date is exist - process it [04:43:22]req_shift_open_date [04:43:22]req_shift_open_date done [04:43:22]produce_requested_data done [04:43:22]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37685,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [04:43:22]process_action_free close_receipt [04:43:22]json_value_free [04:43:22]json_value_free done [04:43:22]process_json_proto returns [04:43:22]Send response to host [04:43:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37685,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [04:43:22]free response buf [04:43:22]execute_script done [04:43:22]execute_script returns [04:43:22]free content buf [04:43:22]Sock 10.Close socket [04:43:22]Sock 10.Thread stoped [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:20]ConnectInit Can't connect to host [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:35]accept exits with 9 [04:47:35]New connection [04:47:35]New thread 3067297124 created [04:47:35]Thread 3067440484 joined [04:47:35]Waiting for new connection... [04:47:35] Sock 9.Parse request [04:47:35]Sock 9.Check first char [04:47:35]Sock 9.First char is OK [04:47:35]request: POST /json_proto HTTP/1.0 [04:47:35]Method: POST [04:47:35]URL: /json_proto [04:47:35]Method is POST - this is cgi request [04:47:35]url: /json_proto [04:47:35]query_string will be loaded in cgi processing [04:47:35]execute_cgi json_proto POST (null) [04:47:35]execute_cgi path=json_proto method=POST [04:47:35]POST find Content-Length [04:47:35]Host: 172.17.40.196:8080 [04:47:35]Content-Length: 669 [04:47:35]Content-Type: application/json [04:47:35] [04:47:35]POST finish read [04:47:35]Found Content-Length = 669 [04:47:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34984", "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" ] } } [04:47:35]execute_script... [04:47: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)34984", "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" ] } } [04:47:35]POST & json_proto [04:47:35]process_json_proto [04:47:35]json parsed OK: [04:47:35]protocol is kg_v1.0 [04:47:35]action value=close_receipt [04:47:35]process_action close_receipt [04:47:35]cmd_close_receipt [04:47:35]MH_GetDate [04:47:35]Write to MH i2c: F0 00 00 F7 00 E6 [04:47:35]Write i2c OK [04:47:35]MH_I2C_Read... [04:47:35]Read from MH i2c: F0 [04:47:35]MH_I2C_Read... [04:47:35]Read from MH i2c: F0 09 00 [04:47:35]MH_I2C_Read... [04:47:35]Read from MH i2c: F0 09 00 F7 00 00 E7 C5 1D 67 5B 68 A1 66 E9 [04:47:35]GetLastDocTimeStamp 1730004199 [04:47:35]current date 1730004455 [04:47:35]FM_GetShiftState [04:47:35]SAM_PROTO_GetShiftState [04:47:35]wFMCommunicate request_size=4 [04:47:35]MH_SAM_APDU [04:47:35]CAPDU: 80 13 01 00 [04:47:35]Write to MH i2c: E2 08 00 F8 00 80 13 01 00 00 00 00 00 75 [04:47:35]Write i2c OK [04:47:35]MH_I2C_Read... [04:47:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:47:35]Read from MH i2c: E2 [04:47:35]MH_I2C_Read... [04:47:35]Read from MH i2c: E2 0E 00 [04:47:35]MH_I2C_Read... [04:47:35]Read from MH i2c: E2 0E 00 F8 00 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 2C [04:47:35]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [04:47:35]wFMCommunicate OK [04:47:35]SAM_PROTO_GetShiftState done [04:47:35]FM_GetShiftState done [04:47:35]opened in 1729987492 [04:47:35]opened+sec_in_day 1730073892 [04:47:35]quantity*price = 17000 [04:47:35]sum+1 = 17001 [04:47:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 170.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 12 27.10.2024 04:47 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37686 ФПД: 210285799642717 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T044735&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37686&fm=210285799642717&tin=02508201610067®Number=0000000000091684&sum=17000 0 [04:47:36]StoreToDocumentArchive [04:47:36]shift 550 fd 37686 [04:47:36]save to /storage/0550/doc_00037686 [04:47:36]save last doc name /storage/0550/doc_00037686 to /storage/kkm_last_doc_name [04:47:36]save OK [04:47:36]Clear old archive folders... [04:47:36]ProcessDocumentItem done err = 0, tmpTLVsize=282 [04:47:36]tlvbuf is 0027BE10 [04:47:36]SAM_PROTO_ClearQueue [04:47:36]wFMCommunicate request_size=4 [04:47:36]MH_SAM_APDU [04:47:36]CAPDU: 80 09 00 00 [04:47:36]Write to MH i2c: E2 08 00 05 01 80 09 00 00 00 00 00 00 78 [04:47:36]Write i2c OK [04:47:36]MH_I2C_Read... [04:47:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:47:36]Read from MH i2c: E2 [04:47:36]MH_I2C_Read... [04:47:36]Read from MH i2c: E2 03 00 [04:47:36]MH_I2C_Read... [04:47:36]Read from MH i2c: E2 03 00 05 01 00 90 00 7A [04:47:36]RAPDU: 90 00 [04:47:36]wFMCommunicate OK [04:47:36]SAM_PROTO_ClearQueue done [04:47:36]KKMCreateOFDPacket [04:47:36]OFDProtocolAddRootSTLVToBuf [04:47:36]FM_MakeSignedData [04:47:36]FM_MakeSignedData [04:47:36]SAM_PROTO_SignData [04:47:36]wFMCommunicate request_size=4 [04:47:36]MH_SAM_APDU [04:47:36]CAPDU: 80 0D 01 02 [04:47:36]Write to MH i2c: E2 08 00 06 01 80 0D 01 02 00 00 00 00 80 [04:47:36]Write i2c OK [04:47:36]MH_I2C_Read... [04:47:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:47:36]Read from MH i2c: E2 [04:47:36]MH_I2C_Read... [04:47:36]Read from MH i2c: E2 03 00 [04:47:36]MH_I2C_Read... [04:47:36]Read from MH i2c: E2 03 00 06 01 00 90 00 7B [04:47:36]RAPDU: 90 00 [04:47:36]wFMCommunicate OK [04:47:36]wFMCommunicate request_size=255 [04:47:36]MH_SAM_APDU [04:47:36]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 0C 00 00 00 F4 03 04 00 E7 C5 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 [04:47:36]Write to MH i2c: E2 02 01 07 01 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 0C 00 00 00 F4 03 04 00 E7 C5 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 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 F5 [04:47:36]Write i2c OK [04:47:36]MH_I2C_Read... [04:47:36]OFD Sender: No OFD packet to send [04:47:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:47:37]Read from MH i2c: E2 [04:47:37]MH_I2C_Read... [04:47:37]Read from MH i2c: E2 03 00 [04:47:37]MH_I2C_Read... [04:47:37]Read from MH i2c: E2 03 00 07 01 00 90 00 7C [04:47:37]RAPDU: 90 00 [04:47:37]wFMCommunicate OK [04:47:37]wFMCommunicate request_size=41 [04:47:37]MH_SAM_APDU [04:47:37]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 36 93 00 00 35 04 06 00 BF 40 FA 63 96 5D [04:47:37]Write to MH i2c: E2 2C 00 08 01 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 36 93 00 00 35 04 06 00 BF 40 FA 63 96 5D 00 00 67 [04:47:37]Write i2c OK [04:47:37]MH_I2C_Read... [04:47:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:47:37]Read from MH i2c: E2 [04:47:37]MH_I2C_Read... [04:47:37]Read from MH i2c: E2 03 00 [04:47:37]MH_I2C_Read... [04:47:37]Read from MH i2c: E2 03 00 08 01 00 90 00 7D [04:47:37]RAPDU: 90 00 [04:47:37]wFMCommunicate OK [04:47:37]wFMCommunicate request_size=4 [04:47:37]MH_SAM_APDU [04:47:37]CAPDU: 80 0D 03 02 [04:47:37]Write to MH i2c: E2 08 00 09 01 80 0D 03 02 00 00 00 00 85 [04:47:37]Write i2c OK [04:47:37]MH_I2C_Read... [04:47:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:47:37]Read from MH i2c: E2 [04:47:37]MH_I2C_Read... [04:47:37]Read from MH i2c: E2 0B 00 [04:47:37]MH_I2C_Read... [04:47:37]Read from MH i2c: E2 0B 00 09 01 00 E9 A0 5A E2 F0 95 FD 0F 90 00 DC [04:47:37]RAPDU: E9 A0 5A E2 F0 95 FD 0F 90 00 [04:47:37]wFMCommunicate OK [04:47:37]SAM_PROTO_SignData done [04:47:37]FM_MakeSignedData done [04:47:37]CreateOFDProtocolMessage [04:47:37]wFMCommunicate request_size=4 [04:47:37]MH_SAM_APDU [04:47:37]CAPDU: 80 11 00 00 [04:47:37]Write to MH i2c: E2 08 00 0A 01 80 11 00 00 00 00 00 00 85 [04:47:37]Write i2c OK [04:47:37]MH_I2C_Read... [04:47:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:47:37]Read from MH i2c: E2 [04:47:37]MH_I2C_Read... [04:47:37]Read from MH i2c: E2 17 00 [04:47:37]MH_I2C_Read... [04:47:37]Read from MH i2c: E2 17 00 0A 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D5 [04:47:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [04:47:37]wFMCommunicate OK [04:47:37]CreateOFDProtocolMessage done [04:47:37]OFDSenderStorePacket 37686 [04:47:37]StoreOFDPacket docnum=37686 [04:47: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 2E 01 00 00 7C 92 26 01 B1 1B 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 0C 00 00 00 F4 03 04 00 E7 C5 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 36 93 00 00 35 04 06 00 BF 40 FA 63 96 5D E9 A0 5A E2 F0 95 FD 0F [04:47:37]CheckFolder [04:47:37]dirname=/storage/ofd_packets [04:47:37]CheckFolder done [04:47:37]ProducePacketName [04:47:37]name=ofd_packets/00037686 [04:47:37]NVStorageSaveData ofd_packets/00037686 [04:47:37]File name is /storage/ofd_packets/00037686 [04:47:37]Write 332 bytes [04:47:37]NVStorageSaveData done [04:47:37]OFDSenderStorePacket done [04:47:37]KKMCreateOFDPacket done [04:47:37]NVStorageSaveData kkm_last_timestamp [04:47:37]File name is /storage/kkm_last_timestamp [04:47:37]Write 4 bytes [04:47:37]NVStorageSaveData done [04:47:37]ExternCall_PrintAddStr [04:47:37]wPrintStart [04:47:37]Write to MH i2c: 01 00 00 0B 01 0C [04:47:37]Write i2c OK [04:47:37]MH_I2C_Read... [04:47:37]Read from MH i2c: 01 [04:47:37]MH_I2C_Read... [04:47:37]Read from MH i2c: 01 07 00 [04:47:37]MH_I2C_Read... [04:47:37]Read from MH i2c: 01 07 00 0B 01 00 00 00 00 00 FF 0F 21 [04:47:37]RasterBufferAndPrint [04:47:37]line Счет N : (3)34984 [04:47:37]line ИНН: 02508201610067 [04:47:37]line Контрольно-Кассовый Чек [04:47:37]line ПРОДАЖА [04:47:37]line Товар: 4700000480357 [04:47:37]line Пиво шахтерское 1л ПЭТ [04:47:37]line 1.000 * 170.00 [04:47:37]line = 170.00 [04:47:37]line НДС 12% НСП 1% [04:47:37]line > о реализуемом товаре [04:47:37]line ИТОГО: 170.00 [04:47:37]line НСП 1% : 1.50 [04:47:37]line НДС 12% : 18.05 [04:47:37]line Наличными: 170.00 [04:47:37]line Безнал.: 0.00 [04:47:37]line Место: АЗС № 126 "Партнер Нефть" [04:47:37]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [04:47:37]line СНО: Общий режим [04:47:37]line Чек 12 27.10.2024 04:47 [04:47:37]line Смена: 550 ФФД: 1.0 [04:47:37]line ЗНМ: 0300000092 [04:47:37]line РНМ: 0000000000091684 [04:47:37]line Версия ККМ: 001 [04:47:37]line ФМ: 0000000000871841 [04:47:37]line ФД: 37686 [04:47:37]line ФПД: 210285799642717 [04:47:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T044735&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37686&fm=210285799642717&tin=02508201610067®Number=0000000000091684&sum=17000 [04:47:37]line 0 [04:47:37]OFD Sender: Processing packet 37686 [packets to send 42, broken 41] [04:47:37]ProducePacketName [04:47:37]name=ofd_packets/00037686 [04:47:37]OFD Sender: To server: pG, [04:47:37]CommunicateWithHost lk.salyk.kg:30040 [04:47:37]ConnectInit lk.salyk.kg [04:47:37]written 0, free lines is 4095 [04:47:37]Write to MH i2c: 01 00 00 33 01 34 [04:47:37]Write i2c OK [04:47:37]MH_I2C_Read... [04:47:37]Read from MH i2c: 01 [04:47:37]MH_I2C_Read... [04:47:37]Read from MH i2c: 01 07 00 [04:47:37]MH_I2C_Read... [04:47:37]Read from MH i2c: 01 07 00 33 01 00 00 00 00 00 CD 0C 14 [04:47:37]RasterBufferAndPrint [04:47:37]line [04:47:37]line [04:47:37]line [04:47:37]line [04:47:37]line [04:47:37]written 0, free lines is 3284 [04:47:37]Connected sock=11 [04:47: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 2E 01 00 00 7C 92 26 01 B1 1B 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 0C 00 00 00 F4 03 04 00 E7 C5 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 36 93 00 00 35 04 06 00 BF 40 FA 63 96 5D E9 A0 5A E2 F0 95 FD 0F [04:47:38]MH_Cut [04:47:38]Write to MH i2c: D1 01 00 3A 01 01 0D [04:47:38]Write i2c OK [04:47:38]MH_I2C_Read... [04:47:38]Read from MH i2c: D1 [04:47:38]MH_I2C_Read... [04:47:38]Read from MH i2c: D1 01 00 [04:47:38]MH_I2C_Read... [04:47:38]Read from MH i2c: D1 01 00 3A 01 00 0C [04:47:38]Write to MH i2c: 01 00 00 3B 01 3C [04:47:38]Write i2c OK [04:47:38]MH_I2C_Read... [04:47: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 FC B2 47 00 1F 3C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 36 93 00 00 F4 03 04 00 E1 70 1D 67 B6 04 01 00 00 DC 8C 96 B8 74 6B 2F 85 [04:47:38]CommunicateWithHost err = 0 [04:47:38]CheckOFDResponse [04:47:38]1017 (14) - 77093643461234 [04:47:38]1041 (16) - 0000000000871841 [04:47:38]1040 (4) - 37686 [04:47:38]1012 (4) - 26.10.2024 22:44 [04:47:38]1206 (1) - 0 [04:47:38]OFD Sender: Remove packet 37686 [04:47:38]ProducePacketName [04:47:38]name=ofd_packets/00037686 [04:47:38]NVStorageDeleteData [04:47:38]*** Cut start [04:47:38]*** Partial cut [04:47:38]*** CUTSNS_PIN = 1 [04:47:38]*** CUTSNS_PIN = 0 [04:47:38]OFD Sender: No OFD packet to send [04:47:39]*** Brake cut motor [04:47:39]Read from MH i2c: 01 [04:47:39]MH_I2C_Read... [04:47:39]*** Stop cut motor [04:47:39]*** Cut end [04:47:39]Read from MH i2c: 01 07 00 [04:47:39]MH_I2C_Read... [04:47:39]Read from MH i2c: 01 07 00 3B 01 00 00 00 00 00 FF 0F 51 [04:47:39]process_action close_receipt done [04:47:39]requested_data is exist [04:47:39]produce_requested_data [04:47:39]requested_item fm.sn is exist - process it [04:47:39]wFMCommunicate request_size=4 [04:47:39]MH_SAM_APDU [04:47:39]CAPDU: 80 11 00 00 [04:47:39]Write to MH i2c: E2 08 00 3C 01 80 11 00 00 00 00 00 00 B7 [04:47:39]Write i2c OK [04:47:39]MH_I2C_Read... [04:47:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:47:39]Read from MH i2c: E2 [04:47:39]MH_I2C_Read... [04:47:39]Read from MH i2c: E2 17 00 [04:47:39]MH_I2C_Read... [04:47:39]Read from MH i2c: E2 17 00 3C 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 07 [04:47:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [04:47:39]wFMCommunicate OK [04:47:39]requested_item fd.num is exist - process it [04:47:39]SAM_PROTO_GetFieldsCounters [04:47:39]wFMCommunicate request_size=4 [04:47:39]MH_SAM_APDU [04:47:39]CAPDU: 80 13 00 00 [04:47:39]Write to MH i2c: E2 08 00 3D 01 80 13 00 00 00 00 00 00 BA [04:47:39]Write i2c OK [04:47:39]MH_I2C_Read... [04:47:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:47:39]Read from MH i2c: E2 [04:47:39]MH_I2C_Read... [04:47:39]Read from MH i2c: E2 62 00 [04:47:39]MH_I2C_Read... [04:47:39]Read from MH i2c: E2 62 00 3D 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 36 93 00 00 0E 04 04 00 26 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 F0 [04:47: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 36 93 00 00 0E 04 04 00 26 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 [04:47:39]wFMCommunicate OK [04:47:39]SAM_PROTO_GetFieldsCounters done [04:47:39]requested_item shift.num is exist - process it [04:47:39]requested_item shift.opened is exist - process it [04:47:39]req_shift_opened [04:47:39]FM_GetShiftState [04:47:39]SAM_PROTO_GetShiftState [04:47:39]wFMCommunicate request_size=4 [04:47:39]MH_SAM_APDU [04:47:39]CAPDU: 80 13 01 00 [04:47:39]Write to MH i2c: E2 08 00 3E 01 80 13 01 00 00 00 00 00 BC [04:47:39]Write i2c OK [04:47:39]MH_I2C_Read... [04:47:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:47:39]Read from MH i2c: E2 [04:47:39]MH_I2C_Read... [04:47:39]Read from MH i2c: E2 0E 00 [04:47:39]MH_I2C_Read... [04:47:39]Read from MH i2c: E2 0E 00 3E 01 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 73 [04:47:39]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [04:47:39]wFMCommunicate OK [04:47:39]SAM_PROTO_GetShiftState done [04:47:39]FM_GetShiftState done [04:47:39]req_shift_opened done [04:47:39]requested_item shift.open_date is exist - process it [04:47:39]req_shift_open_date [04:47:39]req_shift_open_date done [04:47:39]produce_requested_data done [04:47:39]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37686,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [04:47:39]process_action_free close_receipt [04:47:39]json_value_free [04:47:39]json_value_free done [04:47:39]process_json_proto returns [04:47:39]Send response to host [04:47:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37686,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [04:47:39]free response buf [04:47:39]execute_script done [04:47:39]execute_script returns [04:47:39]free content buf [04:47:39]Sock 9.Close socket [04:47:39]Sock 9.Thread stoped [04:47:43]OFD Sender: No OFD packet to send [04:47:48]OFD Sender: No OFD packet to send [04:47:53]OFD Sender: No OFD packet to send [04:47:58]OFD Sender: No OFD packet to send [04:48:01]accept exits with 7 [04:48:01]New connection [04:48:01]New thread 3067440484 created [04:48:01]Thread 3067297124 joined [04:48:01]Waiting for new connection... [04:48:01] Sock 7.Parse request [04:48:01]Sock 7.Check first char [04:48:01]Sock 7.First char is OK [04:48:01]request: POST /json_proto HTTP/1.0 [04:48:01]Method: POST [04:48:01]URL: /json_proto [04:48:01]Method is POST - this is cgi request [04:48:01]url: /json_proto [04:48:01]query_string will be loaded in cgi processing [04:48:01]execute_cgi json_proto POST (null) [04:48:01]execute_cgi path=json_proto method=POST [04:48:01]POST find Content-Length [04:48:01]Host: 172.17.40.196:8080 [04:48:01]Content-Length: 629 [04:48:01]Content-Type: application/json [04:48:01] [04:48:01]POST finish read [04:48:01]Found Content-Length = 629 [04:48:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34985", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:48:01]execute_script... [04:48: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)34985", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:48:01]POST & json_proto [04:48:01]process_json_proto [04:48:01]json parsed OK: [04:48:01]protocol is kg_v1.0 [04:48:01]action value=close_receipt [04:48:01]process_action close_receipt [04:48:01]cmd_close_receipt [04:48:01]MH_GetDate [04:48:01]Write to MH i2c: F0 00 00 3F 01 2F [04:48:01]Write i2c OK [04:48:01]MH_I2C_Read... [04:48:01]Read from MH i2c: F0 [04:48:01]MH_I2C_Read... [04:48:01]Read from MH i2c: F0 09 00 [04:48:01]MH_I2C_Read... [04:48:01]Read from MH i2c: F0 09 00 3F 01 00 01 C6 1D 67 5B 68 A1 66 4D [04:48:01]GetLastDocTimeStamp 1730004455 [04:48:01]current date 1730004481 [04:48:01]FM_GetShiftState [04:48:01]SAM_PROTO_GetShiftState [04:48:01]wFMCommunicate request_size=4 [04:48:01]MH_SAM_APDU [04:48:01]CAPDU: 80 13 01 00 [04:48:01]Write to MH i2c: E2 08 00 40 01 80 13 01 00 00 00 00 00 BE [04:48:01]Write i2c OK [04:48:01]MH_I2C_Read... [04:48:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:48:01]Read from MH i2c: E2 [04:48:01]MH_I2C_Read... [04:48:01]Read from MH i2c: E2 0E 00 [04:48:01]MH_I2C_Read... [04:48:01]Read from MH i2c: E2 0E 00 40 01 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 75 [04:48:01]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [04:48:01]wFMCommunicate OK [04:48:01]SAM_PROTO_GetShiftState done [04:48:01]FM_GetShiftState done [04:48:01]opened in 1729987492 [04:48:01]opened+sec_in_day 1730073892 [04:48:01]quantity*price = 5000 [04:48:01]sum+1 = 5001 [04:48:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 13 27.10.2024 04:48 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37687 ФПД: 158748991412424 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T044802&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37687&fm=158748991412424&tin=02508201610067®Number=0000000000091684&sum=5000 0 [04:48:02]StoreToDocumentArchive [04:48:02]shift 550 fd 37687 [04:48:02]save to /storage/0550/doc_00037687 [04:48:02]save last doc name /storage/0550/doc_00037687 to /storage/kkm_last_doc_name [04:48:02]save OK [04:48:02]Clear old archive folders... [04:48:02]ProcessDocumentItem done err = 0, tmpTLVsize=269 [04:48:02]tlvbuf is 0027AF10 [04:48:02]SAM_PROTO_ClearQueue [04:48:02]wFMCommunicate request_size=4 [04:48:02]MH_SAM_APDU [04:48:02]CAPDU: 80 09 00 00 [04:48:02]Write to MH i2c: E2 08 00 4D 01 80 09 00 00 00 00 00 00 C0 [04:48:02]Write i2c OK [04:48:02]MH_I2C_Read... [04:48:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:48:02]Read from MH i2c: E2 [04:48:02]MH_I2C_Read... [04:48:02]Read from MH i2c: E2 03 00 [04:48:02]MH_I2C_Read... [04:48:02]Read from MH i2c: E2 03 00 4D 01 00 90 00 C2 [04:48:02]RAPDU: 90 00 [04:48:02]wFMCommunicate OK [04:48:02]SAM_PROTO_ClearQueue done [04:48:02]KKMCreateOFDPacket [04:48:02]OFDProtocolAddRootSTLVToBuf [04:48:02]FM_MakeSignedData [04:48:02]FM_MakeSignedData [04:48:02]SAM_PROTO_SignData [04:48:02]wFMCommunicate request_size=4 [04:48:02]MH_SAM_APDU [04:48:02]CAPDU: 80 0D 01 02 [04:48:02]Write to MH i2c: E2 08 00 4E 01 80 0D 01 02 00 00 00 00 C8 [04:48:02]Write i2c OK [04:48:02]MH_I2C_Read... [04:48:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:48:02]Read from MH i2c: E2 [04:48:02]MH_I2C_Read... [04:48:02]Read from MH i2c: E2 03 00 [04:48:02]MH_I2C_Read... [04:48:02]Read from MH i2c: E2 03 00 4E 01 00 90 00 C3 [04:48:02]RAPDU: 90 00 [04:48:02]wFMCommunicate OK [04:48:02]wFMCommunicate request_size=255 [04:48:02]MH_SAM_APDU [04:48:02]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 02 C6 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [04:48:02]Write to MH i2c: E2 02 01 4F 01 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 02 C6 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 63 [04:48:02]Write i2c OK [04:48:02]MH_I2C_Read... [04:48:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:48:03]Read from MH i2c: E2 [04:48:03]MH_I2C_Read... [04:48:03]Read from MH i2c: E2 03 00 [04:48:03]MH_I2C_Read... [04:48:03]Read from MH i2c: E2 03 00 4F 01 00 90 00 C4 [04:48:03]RAPDU: 90 00 [04:48:03]wFMCommunicate OK [04:48:03]wFMCommunicate request_size=28 [04:48:03]MH_SAM_APDU [04:48:03]CAPDU: 80 0D 02 02 17 37 31 38 34 31 10 04 04 00 37 93 00 00 35 04 06 00 90 61 A1 3D D8 C8 [04:48:03]Write to MH i2c: E2 1F 00 50 01 80 0D 02 02 17 00 37 31 38 34 31 10 04 04 00 37 93 00 00 35 04 06 00 90 61 A1 3D D8 C8 00 00 8E [04:48:03]Write i2c OK [04:48:03]MH_I2C_Read... [04:48:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:48:03]Read from MH i2c: E2 [04:48:03]MH_I2C_Read... [04:48:03]Read from MH i2c: E2 03 00 [04:48:03]MH_I2C_Read... [04:48:03]Read from MH i2c: E2 03 00 50 01 00 90 00 C5 [04:48:03]RAPDU: 90 00 [04:48:03]wFMCommunicate OK [04:48:03]wFMCommunicate request_size=4 [04:48:03]MH_SAM_APDU [04:48:03]CAPDU: 80 0D 03 02 [04:48:03]Write to MH i2c: E2 08 00 51 01 80 0D 03 02 00 00 00 00 CD [04:48:03]Write i2c OK [04:48:03]MH_I2C_Read... [04:48:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:48:03]Read from MH i2c: E2 [04:48:03]MH_I2C_Read... [04:48:03]Read from MH i2c: E2 0B 00 [04:48:03]MH_I2C_Read... [04:48:03]Read from MH i2c: E2 0B 00 51 01 00 8F 95 67 93 3B BD 9F F8 90 00 7B [04:48:03]RAPDU: 8F 95 67 93 3B BD 9F F8 90 00 [04:48:03]wFMCommunicate OK [04:48:03]SAM_PROTO_SignData done [04:48:03]FM_MakeSignedData done [04:48:03]CreateOFDProtocolMessage [04:48:03]wFMCommunicate request_size=4 [04:48:03]MH_SAM_APDU [04:48:03]CAPDU: 80 11 00 00 [04:48:03]Write to MH i2c: E2 08 00 52 01 80 11 00 00 00 00 00 00 CD [04:48:03]Write i2c OK [04:48:03]MH_I2C_Read... [04:48:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:48:03]Read from MH i2c: E2 [04:48:03]MH_I2C_Read... [04:48:03]Read from MH i2c: E2 17 00 [04:48:03]MH_I2C_Read... [04:48:03]Read from MH i2c: E2 17 00 52 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 1D [04:48:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [04:48:03]wFMCommunicate OK [04:48:03]CreateOFDProtocolMessage done [04:48:03]OFDSenderStorePacket 37687 [04:48:03]StoreOFDPacket docnum=37687 [04:48: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 21 01 00 00 43 5B 19 01 63 64 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 02 C6 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 37 93 00 00 35 04 06 00 90 61 A1 3D D8 C8 8F 95 67 93 3B BD 9F F8 [04:48:03]CheckFolder [04:48:03]dirname=/storage/ofd_packets [04:48:03]CheckFolder done [04:48:03]ProducePacketName [04:48:03]name=ofd_packets/00037687 [04:48:03]NVStorageSaveData ofd_packets/00037687 [04:48:03]File name is /storage/ofd_packets/00037687 [04:48:03]Write 319 bytes [04:48:03]NVStorageSaveData done [04:48:03]OFDSenderStorePacket done [04:48:03]KKMCreateOFDPacket done [04:48:03]NVStorageSaveData kkm_last_timestamp [04:48:03]File name is /storage/kkm_last_timestamp [04:48:03]Write 4 bytes [04:48:03]NVStorageSaveData done [04:48:03]ExternCall_PrintAddStr [04:48:03]wPrintStart [04:48:03]Write to MH i2c: 01 00 00 53 01 54 [04:48:03]Write i2c OK [04:48:03]MH_I2C_Read... [04:48:03]Read from MH i2c: 01 [04:48:03]MH_I2C_Read... [04:48:03]Read from MH i2c: 01 07 00 [04:48:03]MH_I2C_Read... [04:48:03]Read from MH i2c: 01 07 00 53 01 00 00 00 00 00 FF 0F 69 [04:48:03]RasterBufferAndPrint [04:48:03]line Счет N : (3)34985 [04:48:03]line ИНН: 02508201610067 [04:48:03]line Контрольно-Кассовый Чек [04:48:03]line ПРОДАЖА [04:48:03]line Товар: 4700000160358 [04:48:03]line Вода Легенда 1л [04:48:03]line 1.000 * 50.00 [04:48:03]line = 50.00 [04:48:03]line НДС 12% НСП 1% [04:48:03]line > о реализуемом товаре [04:48:03]line ИТОГО: 50.00 [04:48:03]line НСП 1% : 0.44 [04:48:03]line НДС 12% : 5.31 [04:48:03]line Наличными: 50.00 [04:48:03]line Безнал.: 0.00 [04:48:03]line Место: АЗС № 126 "Партнер Нефть" [04:48:03]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [04:48:03]line СНО: Общий режим [04:48:03]line Чек 13 27.10.2024 04:48 [04:48:03]line Смена: 550 ФФД: 1.0 [04:48:03]line ЗНМ: 0300000092 [04:48:03]line РНМ: 0000000000091684 [04:48:03]line Версия ККМ: 001 [04:48:03]line ФМ: 0000000000871841 [04:48:03]line ФД: 37687 [04:48:03]line ФПД: 158748991412424 [04:48:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T044802&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37687&fm=158748991412424&tin=02508201610067®Number=0000000000091684&sum=5000 [04:48:03]OFD Sender: Processing packet 37687 [packets to send 42, broken 41] [04:48:03]ProducePacketName [04:48:03]name=ofd_packets/00037687 [04:48:03]OFD Sender: To server: pG, [04:48:03]CommunicateWithHost lk.salyk.kg:30040 [04:48:03]ConnectInit lk.salyk.kg [04:48:03]line 0 [04:48:03]written 0, free lines is 4095 [04:48:03]Connected sock=10 [04:48: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 21 01 00 00 43 5B 19 01 63 64 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 02 C6 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 37 93 00 00 35 04 06 00 90 61 A1 3D D8 C8 8F 95 67 93 3B BD 9F F8 [04:48:04]Write to MH i2c: 01 00 00 7B 01 7C [04:48:04]Write i2c OK [04:48:04]MH_I2C_Read... [04:48:04]Read from MH i2c: 01 [04:48:04]MH_I2C_Read... [04:48:04]Read from MH i2c: 01 07 00 [04:48:04]MH_I2C_Read... [04:48:04]Read from MH i2c: 01 07 00 7B 01 00 00 00 00 00 D5 0C 64 [04:48:04]RasterBufferAndPrint [04:48:04]line [04:48:04]line [04:48:04]line [04:48:04]line [04:48:04]line [04:48:04]written 0, free lines is 3291 [04:48:04]MH_Cut [04:48:04]Write to MH i2c: D1 01 00 82 01 01 55 [04:48:04]Write i2c OK [04:48:04]MH_I2C_Read... [04:48:04]Read from MH i2c: D1 [04:48:04]MH_I2C_Read... [04:48:04]Read from MH i2c: D1 01 00 [04:48:04]MH_I2C_Read... [04:48:04]Read from MH i2c: D1 01 00 82 01 00 54 [04:48:04]Write to MH i2c: 01 00 00 83 01 84 [04:48:04]Write i2c OK [04:48:04]MH_I2C_Read... [04:48: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 7E 3F 47 00 BA 59 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 37 93 00 00 F4 03 04 00 FB 70 1D 67 B6 04 01 00 00 F1 36 87 6B A6 35 78 AD [04:48:04]CommunicateWithHost err = 0 [04:48:04]CheckOFDResponse [04:48:04]1017 (14) - 77093643461234 [04:48:04]1041 (16) - 0000000000871841 [04:48:04]1040 (4) - 37687 [04:48:04]1012 (4) - 26.10.2024 22:45 [04:48:04]1206 (1) - 0 [04:48:04]OFD Sender: Remove packet 37687 [04:48:04]ProducePacketName [04:48:04]name=ofd_packets/00037687 [04:48:04]NVStorageDeleteData [04:48:04]OFD Sender: No OFD packet to send [04:48:04]*** Cut start [04:48:04]*** Partial cut [04:48:04]*** CUTSNS_PIN = 1 [04:48:04]*** CUTSNS_PIN = 0 [04:48:05]*** Brake cut motor [04:48:05]Read from MH i2c: 01 [04:48:05]MH_I2C_Read... [04:48:05]*** Stop cut motor [04:48:05]*** Cut end [04:48:05]Read from MH i2c: 01 07 00 [04:48:05]MH_I2C_Read... [04:48:05]Read from MH i2c: 01 07 00 83 01 00 00 00 00 00 FF 0F 99 [04:48:05]process_action close_receipt done [04:48:05]requested_data is exist [04:48:05]produce_requested_data [04:48:05]requested_item fm.sn is exist - process it [04:48:05]wFMCommunicate request_size=4 [04:48:05]MH_SAM_APDU [04:48:05]CAPDU: 80 11 00 00 [04:48:05]Write to MH i2c: E2 08 00 84 01 80 11 00 00 00 00 00 00 FF [04:48:05]Write i2c OK [04:48:05]MH_I2C_Read... [04:48:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:48:05]Read from MH i2c: E2 [04:48:05]MH_I2C_Read... [04:48:05]Read from MH i2c: E2 17 00 [04:48:05]MH_I2C_Read... [04:48:05]Read from MH i2c: E2 17 00 84 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 4F [04:48:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [04:48:05]wFMCommunicate OK [04:48:05]requested_item fd.num is exist - process it [04:48:05]SAM_PROTO_GetFieldsCounters [04:48:05]wFMCommunicate request_size=4 [04:48:05]MH_SAM_APDU [04:48:05]CAPDU: 80 13 00 00 [04:48:05]Write to MH i2c: E2 08 00 85 01 80 13 00 00 00 00 00 00 02 [04:48:05]Write i2c OK [04:48:05]MH_I2C_Read... [04:48:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:48:05]Read from MH i2c: E2 [04:48:05]MH_I2C_Read... [04:48:05]Read from MH i2c: E2 62 00 [04:48:05]MH_I2C_Read... [04:48:05]Read from MH i2c: E2 62 00 85 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 37 93 00 00 0E 04 04 00 26 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 3C [04:48: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 37 93 00 00 0E 04 04 00 26 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 [04:48:05]wFMCommunicate OK [04:48:05]SAM_PROTO_GetFieldsCounters done [04:48:05]requested_item shift.num is exist - process it [04:48:05]requested_item shift.opened is exist - process it [04:48:05]req_shift_opened [04:48:05]FM_GetShiftState [04:48:05]SAM_PROTO_GetShiftState [04:48:05]wFMCommunicate request_size=4 [04:48:05]MH_SAM_APDU [04:48:05]CAPDU: 80 13 01 00 [04:48:05]Write to MH i2c: E2 08 00 86 01 80 13 01 00 00 00 00 00 04 [04:48:05]Write i2c OK [04:48:05]MH_I2C_Read... [04:48:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:48:05]Read from MH i2c: E2 [04:48:05]MH_I2C_Read... [04:48:05]Read from MH i2c: E2 0E 00 [04:48:05]MH_I2C_Read... [04:48:05]Read from MH i2c: E2 0E 00 86 01 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 BB [04:48:05]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [04:48:05]wFMCommunicate OK [04:48:05]SAM_PROTO_GetShiftState done [04:48:05]FM_GetShiftState done [04:48:05]req_shift_opened done [04:48:05]requested_item shift.open_date is exist - process it [04:48:05]req_shift_open_date [04:48:05]req_shift_open_date done [04:48:05]produce_requested_data done [04:48:05]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37687,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [04:48:05]process_action_free close_receipt [04:48:05]json_value_free [04:48:05]json_value_free done [04:48:05]process_json_proto returns [04:48:05]Send response to host [04:48:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37687,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [04:48:05]free response buf [04:48:05]execute_script done [04:48:05]execute_script returns [04:48:05]free content buf [04:48:05]Sock 7.Close socket [04:48:05]Sock 7.Thread stoped [04:48:09]OFD Sender: No OFD packet to send [04:48:14]OFD Sender: No OFD packet to send [04:48:19]OFD Sender: No OFD packet to send [04:48:24]OFD Sender: No OFD packet to send [04:48:29]OFD Sender: No OFD packet to send [04:48:34]OFD Sender: No OFD packet to send [04:48:39]OFD Sender: No OFD packet to send [04:48:44]OFD Sender: No OFD packet to send [04:48:49]OFD Sender: No OFD packet to send [04:48:54]OFD Sender: No OFD packet to send [04:48:59]OFD Sender: No OFD packet to send [04:49:04]OFD Sender: No OFD packet to send [04:49:09]OFD Sender: No OFD packet to send [04:49:14]OFD Sender: No OFD packet to send [04:49:19]OFD Sender: No OFD packet to send [04:49:24]OFD Sender: No OFD packet to send [04:49:29]OFD Sender: No OFD packet to send [04:49:34]OFD Sender: No OFD packet to send [04:49:39]OFD Sender: No OFD packet to send [04:49:44]OFD Sender: No OFD packet to send [04:49:49]OFD Sender: No OFD packet to send [04:49:54]OFD Sender: No OFD packet to send [04:49:59]OFD Sender: No OFD packet to send [04:50:04]OFD Sender: No OFD packet to send [04:50:09]OFD Sender: No OFD packet to send [04:50:14]OFD Sender: No OFD packet to send [04:50:19]OFD Sender: No OFD packet to send [04:50:24]OFD Sender: No OFD packet to send [04:50:29]OFD Sender: No OFD packet to send [04:50:34]OFD Sender: No OFD packet to send [04:50:39]OFD Sender: No OFD packet to send [04:50:44]OFD Sender: No OFD packet to send [04:50:49]OFD Sender: No OFD packet to send [04:50:54]OFD Sender: No OFD packet to send [04:50:59]OFD Sender: No OFD packet to send [04:51:04]OFD Sender: No OFD packet to send [04:51:09]OFD Sender: No OFD packet to send [04:51:14]OFD Sender: No OFD packet to send [04:51:19]OFD Sender: No OFD packet to send [04:51:24]OFD Sender: No OFD packet to send [04:51:29]OFD Sender: No OFD packet to send [04:51:34]OFD Sender: No OFD packet to send [04:51:39]OFD Sender: No OFD packet to send [04:51:44]OFD Sender: No OFD packet to send [04:51:49]OFD Sender: No OFD packet to send [04:51:54]OFD Sender: No OFD packet to send [04:51:59]OFD Sender: No OFD packet to send [04:52:04]OFD Sender: No OFD packet to send [04:52:09]OFD Sender: No OFD packet to send [04:52:14]OFD Sender: No OFD packet to send [04:52:19]OFD Sender: No OFD packet to send [04:52:24]OFD Sender: No OFD packet to send [04:52:29]OFD Sender: No OFD packet to send [04:52:34]OFD Sender: No OFD packet to send [04:52:39]OFD Sender: No OFD packet to send [04:52:44]OFD Sender: No OFD packet to send [04:52:49]OFD Sender: No OFD packet to send [04:52:54]OFD Sender: No OFD packet to send [04:52:59]OFD Sender: No OFD packet to send [04:53:04]OFD Sender: No OFD packet to send [04:53:09]OFD Sender: No OFD packet to send [04:53:14]OFD Sender: No OFD packet to send [04:53:19]OFD Sender: No OFD packet to send [04:53:24]OFD Sender: No OFD packet to send [04:53:29]OFD Sender: No OFD packet to send [04:53:34]OFD Sender: No OFD packet to send [04:53:39]OFD Sender: No OFD packet to send [04:53:44]OFD Sender: No OFD packet to send [04:53:49]OFD Sender: No OFD packet to send [04:53:54]OFD Sender: No OFD packet to send [04:53:59]OFD Sender: No OFD packet to send [04:54:04]OFD Sender: No OFD packet to send [04:54:09]OFD Sender: No OFD packet to send [04:54:14]OFD Sender: No OFD packet to send [04:54:19]OFD Sender: No OFD packet to send [04:54:24]OFD Sender: No OFD packet to send [04:54:29]OFD Sender: No OFD packet to send [04:54:34]OFD Sender: No OFD packet to send [04:54:39]OFD Sender: No OFD packet to send [04:54:44]OFD Sender: No OFD packet to send [04:54:49]OFD Sender: No OFD packet to send [04:54:54]OFD Sender: No OFD packet to send [04:54:59]OFD Sender: No OFD packet to send [04:55:04]OFD Sender: No OFD packet to send [04:55:09]OFD Sender: No OFD packet to send [04:55:14]OFD Sender: No OFD packet to send [04:55:19]OFD Sender: No OFD packet to send [04:55:25]OFD Sender: No OFD packet to send [04:55:30]OFD Sender: No OFD packet to send [04:55:35]OFD Sender: No OFD packet to send [04:55:40]OFD Sender: No OFD packet to send [04:55:45]OFD Sender: No OFD packet to send [04:55:50]OFD Sender: No OFD packet to send [04:55:55]OFD Sender: No OFD packet to send [04:56:00]OFD Sender: No OFD packet to send [04:56:05]OFD Sender: No OFD packet to send [04:56:10]OFD Sender: No OFD packet to send [04:56:15]OFD Sender: No OFD packet to send [04:56:20]OFD Sender: No OFD packet to send [04:56:25]OFD Sender: No OFD packet to send [04:56:30]OFD Sender: No OFD packet to send [04:56:35]OFD Sender: No OFD packet to send [04:56:40]OFD Sender: No OFD packet to send [04:56:45]OFD Sender: No OFD packet to send [04:56:50]OFD Sender: No OFD packet to send [04:56:55]OFD Sender: No OFD packet to send [04:57:00]OFD Sender: No OFD packet to send [04:57:05]OFD Sender: No OFD packet to send [04:57:10]OFD Sender: No OFD packet to send [04:57:15]OFD Sender: No OFD packet to send [04:57:20]OFD Sender: No OFD packet to send [04:57:25]OFD Sender: No OFD packet to send [04:57:30]OFD Sender: No OFD packet to send [04:57:35]OFD Sender: No OFD packet to send [04:57:40]OFD Sender: No OFD packet to send [04:57:45]OFD Sender: No OFD packet to send [04:57:50]OFD Sender: No OFD packet to send [04:57:55]OFD Sender: No OFD packet to send [04:58:00]OFD Sender: No OFD packet to send [04:58:05]OFD Sender: No OFD packet to send [04:58:10]OFD Sender: No OFD packet to send [04:58:15]OFD Sender: No OFD packet to send [04:58:20]OFD Sender: No OFD packet to send [04:58:25]OFD Sender: No OFD packet to send [04:58:30]OFD Sender: No OFD packet to send [04:58:35]OFD Sender: No OFD packet to send [04:58:40]OFD Sender: No OFD packet to send [04:58:45]OFD Sender: No OFD packet to send [04:58:50]OFD Sender: No OFD packet to send [04:58:55]OFD Sender: No OFD packet to send [04:59:00]OFD Sender: No OFD packet to send [04:59:05]OFD Sender: No OFD packet to send [04:59:10]OFD Sender: No OFD packet to send [04:59:15]OFD Sender: No OFD packet to send [04:59:20]OFD Sender: No OFD packet to send [04:59:25]OFD Sender: No OFD packet to send [04:59:30]OFD Sender: No OFD packet to send [04:59:35]OFD Sender: No OFD packet to send [04:59:40]OFD Sender: No OFD packet to send [04:59:45]OFD Sender: No OFD packet to send [04:59:50]OFD Sender: No OFD packet to send [04:59:55]OFD Sender: No OFD packet to send [05:00:00]OFD Sender: No OFD packet to send [05:00:05]OFD Sender: No OFD packet to send [05:00:10]OFD Sender: No OFD packet to send [05:00:15]OFD Sender: No OFD packet to send [05:00:20]OFD Sender: No OFD packet to send [05:00:25]OFD Sender: No OFD packet to send [05:00:30]OFD Sender: No OFD packet to send [05:00:35]OFD Sender: No OFD packet to send [05:00:40]OFD Sender: No OFD packet to send [05:00:45]OFD Sender: No OFD packet to send [05:00:50]OFD Sender: No OFD packet to send [05:00:55]OFD Sender: No OFD packet to send [05:01:00]OFD Sender: No OFD packet to send [05:01:05]OFD Sender: No OFD packet to send [05:01:10]OFD Sender: No OFD packet to send [05:01:15]OFD Sender: No OFD packet to send [05:01:20]OFD Sender: No OFD packet to send [05:01:25]OFD Sender: No OFD packet to send [05:01:30]OFD Sender: No OFD packet to send [05:01:35]OFD Sender: No OFD packet to send [05:01:40]OFD Sender: No OFD packet to send [05:01:45]OFD Sender: No OFD packet to send [05:01:50]OFD Sender: No OFD packet to send [05:01:55]OFD Sender: No OFD packet to send [05:02:00]OFD Sender: No OFD packet to send [05:02:05]OFD Sender: No OFD packet to send [05:02:10]OFD Sender: No OFD packet to send [05:02:15]OFD Sender: No OFD packet to send [05:02:20]OFD Sender: No OFD packet to send [05:02:25]OFD Sender: No OFD packet to send [05:02:30]OFD Sender: No OFD packet to send [05:02:35]OFD Sender: No OFD packet to send [05:02:40]OFD Sender: No OFD packet to send [05:02:45]OFD Sender: No OFD packet to send [05:02:50]OFD Sender: No OFD packet to send [05:02:55]OFD Sender: No OFD packet to send [05:03:00]OFD Sender: No OFD packet to send [05:03:05]OFD Sender: No OFD packet to send [05:03:10]OFD Sender: No OFD packet to send [05:03:15]OFD Sender: No OFD packet to send [05:03:20]OFD Sender: No OFD packet to send [05:03:25]OFD Sender: No OFD packet to send [05:03:30]OFD Sender: No OFD packet to send [05:03:35]OFD Sender: No OFD packet to send [05:03:40]OFD Sender: No OFD packet to send [05:03:45]OFD Sender: No OFD packet to send [05:03:50]OFD Sender: No OFD packet to send [05:03:55]OFD Sender: No OFD packet to send [05:04:00]OFD Sender: No OFD packet to send [05:04:05]OFD Sender: No OFD packet to send [05:04:10]OFD Sender: No OFD packet to send [05:04:15]OFD Sender: No OFD packet to send [05:04:20]OFD Sender: No OFD packet to send [05:04:25]OFD Sender: No OFD packet to send [05:04:30]OFD Sender: No OFD packet to send [05:04:35]OFD Sender: No OFD packet to send [05:04:40]OFD Sender: No OFD packet to send [05:04:45]OFD Sender: No OFD packet to send [05:04:50]OFD Sender: No OFD packet to send [05:04:55]OFD Sender: No OFD packet to send [05:05:00]OFD Sender: No OFD packet to send [05:05:05]OFD Sender: No OFD packet to send [05:05:10]OFD Sender: No OFD packet to send [05:05:15]OFD Sender: No OFD packet to send [05:05:20]OFD Sender: No OFD packet to send [05:05:25]OFD Sender: No OFD packet to send [05:05:30]OFD Sender: No OFD packet to send [05:05:35]OFD Sender: No OFD packet to send [05:05:40]OFD Sender: No OFD packet to send [05:05:45]OFD Sender: No OFD packet to send [05:05:50]OFD Sender: No OFD packet to send [05:05:55]OFD Sender: No OFD packet to send [05:06:00]OFD Sender: No OFD packet to send [05:06:05]OFD Sender: No OFD packet to send [05:06:10]OFD Sender: No OFD packet to send [05:06:15]OFD Sender: No OFD packet to send [05:06:20]OFD Sender: No OFD packet to send [05:06:25]OFD Sender: No OFD packet to send [05:06:30]OFD Sender: No OFD packet to send [05:06:35]OFD Sender: No OFD packet to send [05:06:40]OFD Sender: No OFD packet to send [05:06:45]OFD Sender: No OFD packet to send [05:06:50]OFD Sender: No OFD packet to send [05:06:55]OFD Sender: No OFD packet to send [05:07:00]OFD Sender: No OFD packet to send [05:07:05]OFD Sender: No OFD packet to send [05:07:10]OFD Sender: No OFD packet to send [05:07:15]OFD Sender: No OFD packet to send [05:07:20]OFD Sender: No OFD packet to send [05:07:25]OFD Sender: No OFD packet to send [05:07:30]OFD Sender: No OFD packet to send [05:07:35]OFD Sender: No OFD packet to send [05:07:40]OFD Sender: No OFD packet to send [05:07:45]OFD Sender: No OFD packet to send [05:07:50]OFD Sender: No OFD packet to send [05:07:55]OFD Sender: No OFD packet to send [05:08:00]OFD Sender: No OFD packet to send [05:08:05]OFD Sender: No OFD packet to send [05:08:10]OFD Sender: No OFD packet to send [05:08:15]OFD Sender: No OFD packet to send [05:08:20]OFD Sender: No OFD packet to send [05:08:25]OFD Sender: No OFD packet to send [05:08:30]OFD Sender: No OFD packet to send [05:08:35]OFD Sender: No OFD packet to send [05:08:40]OFD Sender: No OFD packet to send [05:08:45]OFD Sender: No OFD packet to send [05:08:50]OFD Sender: No OFD packet to send [05:08:55]OFD Sender: No OFD packet to send [05:09:00]OFD Sender: No OFD packet to send [05:09:05]OFD Sender: No OFD packet to send [05:09:10]OFD Sender: No OFD packet to send [05:09:15]OFD Sender: No OFD packet to send [05:09:20]OFD Sender: No OFD packet to send [05:09:25]OFD Sender: No OFD packet to send [05:09:30]OFD Sender: No OFD packet to send [05:09:35]OFD Sender: No OFD packet to send [05:09:40]OFD Sender: No OFD packet to send [05:09:45]OFD Sender: No OFD packet to send [05:09:50]OFD Sender: No OFD packet to send [05:09:55]OFD Sender: No OFD packet to send [05:10:00]OFD Sender: No OFD packet to send [05:10:05]OFD Sender: No OFD packet to send [05:10:10]OFD Sender: No OFD packet to send [05:10:15]OFD Sender: No OFD packet to send [05:10:20]OFD Sender: No OFD packet to send [05:10:25]OFD Sender: No OFD packet to send [05:10:30]OFD Sender: No OFD packet to send [05:10:35]OFD Sender: No OFD packet to send [05:10:40]OFD Sender: No OFD packet to send [05:10:45]OFD Sender: No OFD packet to send [05:10:50]OFD Sender: No OFD packet to send [05:10:55]OFD Sender: No OFD packet to send [05:11:00]OFD Sender: No OFD packet to send [05:11:05]OFD Sender: No OFD packet to send [05:11:10]OFD Sender: No OFD packet to send [05:11:15]OFD Sender: No OFD packet to send [05:11:20]OFD Sender: No OFD packet to send [05:11:25]OFD Sender: No OFD packet to send [05:11:30]OFD Sender: No OFD packet to send [05:11:35]OFD Sender: No OFD packet to send [05:11:40]OFD Sender: No OFD packet to send [05:11:45]OFD Sender: No OFD packet to send [05:11:50]OFD Sender: No OFD packet to send [05:11:55]OFD Sender: No OFD packet to send [05:12:00]OFD Sender: No OFD packet to send [05:12:05]OFD Sender: No OFD packet to send [05:12:10]OFD Sender: No OFD packet to send [05:12:15]OFD Sender: No OFD packet to send [05:12:20]OFD Sender: No OFD packet to send [05:12:25]OFD Sender: No OFD packet to send [05:12:30]OFD Sender: No OFD packet to send [05:12:35]OFD Sender: No OFD packet to send [05:12:40]OFD Sender: No OFD packet to send [05:12:45]OFD Sender: No OFD packet to send [05:12:50]OFD Sender: No OFD packet to send [05:12:55]OFD Sender: No OFD packet to send [05:13:00]OFD Sender: No OFD packet to send [05:13:05]OFD Sender: No OFD packet to send [05:13:10]OFD Sender: No OFD packet to send [05:13:15]OFD Sender: No OFD packet to send [05:13:20]OFD Sender: No OFD packet to send [05:13:25]OFD Sender: No OFD packet to send [05:13:30]OFD Sender: No OFD packet to send [05:13:35]OFD Sender: No OFD packet to send [05:13:40]OFD Sender: No OFD packet to send [05:13:45]OFD Sender: No OFD packet to send [05:13:50]OFD Sender: No OFD packet to send [05:13:55]OFD Sender: No OFD packet to send [05:14:00]OFD Sender: No OFD packet to send [05:14:05]OFD Sender: No OFD packet to send [05:14:11]OFD Sender: No OFD packet to send [05:14:16]OFD Sender: No OFD packet to send [05:14:21]OFD Sender: No OFD packet to send [05:14:26]OFD Sender: No OFD packet to send [05:14:31]OFD Sender: No OFD packet to send [05:14:36]OFD Sender: No OFD packet to send [05:14:41]OFD Sender: No OFD packet to send [05:14:46]OFD Sender: No OFD packet to send [05:14:51]OFD Sender: No OFD packet to send [05:14:56]OFD Sender: No OFD packet to send [05:15:01]OFD Sender: No OFD packet to send [05:15:06]OFD Sender: No OFD packet to send [05:15:11]OFD Sender: No OFD packet to send [05:15:16]OFD Sender: No OFD packet to send [05:15:21]OFD Sender: No OFD packet to send [05:15:26]OFD Sender: No OFD packet to send [05:15:31]OFD Sender: No OFD packet to send [05:15:36]OFD Sender: No OFD packet to send [05:15:41]OFD Sender: No OFD packet to send [05:15:46]OFD Sender: No OFD packet to send [05:15:51]OFD Sender: No OFD packet to send [05:15:56]OFD Sender: No OFD packet to send [05:16:01]OFD Sender: No OFD packet to send [05:16:06]OFD Sender: No OFD packet to send [05:16:11]OFD Sender: No OFD packet to send [05:16:16]OFD Sender: No OFD packet to send [05:16:21]OFD Sender: No OFD packet to send [05:16:26]OFD Sender: No OFD packet to send [05:16:31]OFD Sender: No OFD packet to send [05:16:36]OFD Sender: No OFD packet to send [05:16:41]OFD Sender: No OFD packet to send [05:16:46]OFD Sender: No OFD packet to send [05:16:47]accept exits with 9 [05:16:47]New connection [05:16:47]New thread 3067297124 created [05:16:47]Thread 3067440484 joined [05:16:47]Waiting for new connection... [05:16:47] Sock 9.Parse request [05:16:47]Sock 9.Check first char [05:16:47]Sock 9.First char is OK [05:16:47]request: POST /json_proto HTTP/1.0 [05:16:47]Method: POST [05:16:47]URL: /json_proto [05:16:47]Method is POST - this is cgi request [05:16:47]url: /json_proto [05:16:47]query_string will be loaded in cgi processing [05:16:47]execute_cgi json_proto POST (null) [05:16:47]execute_cgi path=json_proto method=POST [05:16:47]POST find Content-Length [05:16:47]Host: 172.17.40.196:8080 [05:16:47]Content-Length: 1309 [05:16:47]Content-Type: application/json [05:16:47] [05:16:47]POST finish read [05:16:47]Found Content-Length = 1309 [05:16:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34986", "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 }]} ,{ "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 470.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:16:47]execute_script... [05:16: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)34986", "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 }]} ,{ "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 470.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:16:47]POST & json_proto [05:16:47]process_json_proto [05:16:47]json parsed OK: [05:16:47]protocol is kg_v1.0 [05:16:47]action value=close_receipt [05:16:47]process_action close_receipt [05:16:47]cmd_close_receipt [05:16:47]MH_GetDate [05:16:47]Write to MH i2c: F0 00 00 87 01 77 [05:16:47]Write i2c OK [05:16:47]MH_I2C_Read... [05:16:47]Read from MH i2c: F0 [05:16:47]MH_I2C_Read... [05:16:47]Read from MH i2c: F0 09 00 [05:16:47]MH_I2C_Read... [05:16:47]Read from MH i2c: F0 09 00 87 01 00 C0 CC 1D 67 5B 68 A1 66 5A [05:16:47]GetLastDocTimeStamp 1730004482 [05:16:47]current date 1730006208 [05:16:47]FM_GetShiftState [05:16:47]SAM_PROTO_GetShiftState [05:16:47]wFMCommunicate request_size=4 [05:16:47]MH_SAM_APDU [05:16:47]CAPDU: 80 13 01 00 [05:16:47]Write to MH i2c: E2 08 00 88 01 80 13 01 00 00 00 00 00 06 [05:16:47]Write i2c OK [05:16:47]MH_I2C_Read... [05:16:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:16:48]Read from MH i2c: E2 [05:16:48]MH_I2C_Read... [05:16:48]Read from MH i2c: E2 0E 00 [05:16:48]MH_I2C_Read... [05:16:48]Read from MH i2c: E2 0E 00 88 01 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 BD [05:16:48]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [05:16:48]wFMCommunicate OK [05:16:48]SAM_PROTO_GetShiftState done [05:16:48]FM_GetShiftState done [05:16:48]opened in 1729987492 [05:16:48]opened+sec_in_day 1730073892 [05:16:48]quantity*price = 8500 [05:16:48]sum+1 = 8501 [05:16:48]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000000439 Напиток Кока-Кола 1,5л 1.000 * 155.00 = 155.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036240010 Кофе Латте (GABB TRADE) 2.000 * 115.00 = 230.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 470.00 НСП 1% : 4.15 НДС 12% : 49.91 Наличными: 0.00 Безнал.: 470.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 14 27.10.2024 05:16 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37688 ФПД: 267949324840726 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T051648&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37688&fm=267949324840726&tin=02508201610067®Number=0000000000091684&sum=47000 0 [05:16:49]StoreToDocumentArchive [05:16:49]shift 550 fd 37688 [05:16:49]save to /storage/0550/doc_00037688 [05:16:49]save last doc name /storage/0550/doc_00037688 to /storage/kkm_last_doc_name [05:16:49]save OK [05:16:49]Clear old archive folders... [05:16:49]ProcessDocumentItem done err = 0, tmpTLVsize=497 [05:16:49]tlvbuf is 0021D1A0 [05:16:49]SAM_PROTO_ClearQueue [05:16:49]wFMCommunicate request_size=4 [05:16:49]MH_SAM_APDU [05:16:49]CAPDU: 80 09 00 00 [05:16:49]Write to MH i2c: E2 08 00 95 01 80 09 00 00 00 00 00 00 08 [05:16:49]Write i2c OK [05:16:49]MH_I2C_Read... [05:16:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:16:49]Read from MH i2c: E2 [05:16:49]MH_I2C_Read... [05:16:49]Read from MH i2c: E2 03 00 [05:16:49]MH_I2C_Read... [05:16:49]Read from MH i2c: E2 03 00 95 01 00 90 00 0A [05:16:49]RAPDU: 90 00 [05:16:49]wFMCommunicate OK [05:16:49]SAM_PROTO_ClearQueue done [05:16:49]KKMCreateOFDPacket [05:16:49]OFDProtocolAddRootSTLVToBuf [05:16:49]FM_MakeSignedData [05:16:49]FM_MakeSignedData [05:16:49]SAM_PROTO_SignData [05:16:49]wFMCommunicate request_size=4 [05:16:49]MH_SAM_APDU [05:16:49]CAPDU: 80 0D 01 02 [05:16:49]Write to MH i2c: E2 08 00 96 01 80 0D 01 02 00 00 00 00 10 [05:16:49]Write i2c OK [05:16:49]MH_I2C_Read... [05:16:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:16:49]Read from MH i2c: E2 [05:16:49]MH_I2C_Read... [05:16:49]Read from MH i2c: E2 03 00 [05:16:49]MH_I2C_Read... [05:16:49]Read from MH i2c: E2 03 00 96 01 00 90 00 0B [05:16:49]RAPDU: 90 00 [05:16:49]wFMCommunicate OK [05:16:49]wFMCommunicate request_size=255 [05:16:49]MH_SAM_APDU [05:16:49]CAPDU: 80 0D 02 02 FA 03 00 F1 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 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 [05:16:49]Write to MH i2c: E2 02 01 97 01 80 0D 02 02 FA 00 03 00 F1 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 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 00 00 67 [05:16:49]Write i2c OK [05:16:49]MH_I2C_Read... [05:16:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:16:49]Read from MH i2c: E2 [05:16:49]MH_I2C_Read... [05:16:49]Read from MH i2c: E2 03 00 [05:16:49]MH_I2C_Read... [05:16:49]Read from MH i2c: E2 03 00 97 01 00 90 00 0C [05:16:49]RAPDU: 90 00 [05:16:49]wFMCommunicate OK [05:16:49]wFMCommunicate request_size=255 [05:16:49]MH_SAM_APDU [05:16:49]CAPDU: 80 0D 02 02 FA 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 FC 03 06 00 98 B7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7F 13 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 B7 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 C0 CC 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 38 93 00 00 35 04 06 00 F3 B2 D0 53 2F [05:16:49]Write to MH i2c: E2 02 01 98 01 80 0D 02 02 FA 00 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 FC 03 06 00 98 B7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7F 13 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 B7 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 C0 CC 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 38 93 00 00 35 04 06 00 F3 B2 D0 53 2F 00 00 31 [05:16:49]Write i2c OK [05:16:49]MH_I2C_Read... [05:16:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:16:50]Read from MH i2c: E2 [05:16:50]MH_I2C_Read... [05:16:50]Read from MH i2c: E2 03 00 [05:16:50]MH_I2C_Read... [05:16:50]Read from MH i2c: E2 03 00 98 01 00 90 00 0D [05:16:50]RAPDU: 90 00 [05:16:50]wFMCommunicate OK [05:16:50]wFMCommunicate request_size=6 [05:16:50]MH_SAM_APDU [05:16:50]CAPDU: 80 0D 02 02 01 16 [05:16:50]Write to MH i2c: E2 09 00 99 01 80 0D 02 02 01 00 16 00 00 2C [05:16:50]Write i2c OK [05:16:50]MH_I2C_Read... [05:16:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:16:50]Read from MH i2c: E2 [05:16:50]MH_I2C_Read... [05:16:50]Read from MH i2c: E2 03 00 [05:16:50]MH_I2C_Read... [05:16:50]Read from MH i2c: E2 03 00 99 01 00 90 00 0E [05:16:50]RAPDU: 90 00 [05:16:50]wFMCommunicate OK [05:16:50]wFMCommunicate request_size=4 [05:16:50]MH_SAM_APDU [05:16:50]CAPDU: 80 0D 03 02 [05:16:50]Write to MH i2c: E2 08 00 9A 01 80 0D 03 02 00 00 00 00 16 [05:16:50]Write i2c OK [05:16:50]MH_I2C_Read... [05:16:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:16:50]Read from MH i2c: E2 [05:16:50]MH_I2C_Read... [05:16:50]Read from MH i2c: E2 0B 00 [05:16:50]MH_I2C_Read... [05:16:50]Read from MH i2c: E2 0B 00 9A 01 00 30 17 F3 7E FD A0 B9 0B 90 00 30 [05:16:50]RAPDU: 30 17 F3 7E FD A0 B9 0B 90 00 [05:16:50]wFMCommunicate OK [05:16:50]SAM_PROTO_SignData done [05:16:50]FM_MakeSignedData done [05:16:50]CreateOFDProtocolMessage [05:16:50]wFMCommunicate request_size=4 [05:16:50]MH_SAM_APDU [05:16:50]CAPDU: 80 11 00 00 [05:16:50]Write to MH i2c: E2 08 00 9B 01 80 11 00 00 00 00 00 00 16 [05:16:50]Write i2c OK [05:16:50]MH_I2C_Read... [05:16:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:16:50]Read from MH i2c: E2 [05:16:50]MH_I2C_Read... [05:16:50]Read from MH i2c: E2 17 00 [05:16:50]MH_I2C_Read... [05:16:50]Read from MH i2c: E2 17 00 9B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 66 [05:16: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:16:50]wFMCommunicate OK [05:16:50]CreateOFDProtocolMessage done [05:16:50]OFDSenderStorePacket 37688 [05:16:50]StoreOFDPacket docnum=37688 [05:16: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 05 02 00 00 3D DA FD 01 8F AD 5A 03 01 00 03 00 F1 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 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 FC 03 06 00 98 B7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7F 13 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 B7 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 C0 CC 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 38 93 00 00 35 04 06 00 F3 B2 D0 53 2F 16 30 17 F3 7E FD A0 B9 0B [05:16:50]CheckFolder [05:16:50]dirname=/storage/ofd_packets [05:16:50]CheckFolder done [05:16:50]ProducePacketName [05:16:50]name=ofd_packets/00037688 [05:16:50]NVStorageSaveData ofd_packets/00037688 [05:16:50]File name is /storage/ofd_packets/00037688 [05:16:50]Write 547 bytes [05:16:50]NVStorageSaveData done [05:16:50]OFDSenderStorePacket done [05:16:50]KKMCreateOFDPacket done [05:16:50]NVStorageSaveData kkm_last_timestamp [05:16:50]File name is /storage/kkm_last_timestamp [05:16:50]Write 4 bytes [05:16:50]NVStorageSaveData done [05:16:50]ExternCall_PrintAddStr [05:16:50]wPrintStart [05:16:50]Write to MH i2c: 01 00 00 9C 01 9D [05:16:50]Write i2c OK [05:16:50]MH_I2C_Read... [05:16:50]Read from MH i2c: 01 [05:16:50]MH_I2C_Read... [05:16:50]Read from MH i2c: 01 07 00 [05:16:50]MH_I2C_Read... [05:16:50]Read from MH i2c: 01 07 00 9C 01 00 00 00 00 00 FF 0F B2 [05:16:50]RasterBufferAndPrint [05:16:50]line Счет N : (3)34986 [05:16:50]line ИНН: 02508201610067 [05:16:50]line Контрольно-Кассовый Чек [05:16:50]line ПРОДАЖА [05:16:50]line Товар: 4700003010803 [05:16:50]line Чай Летс Гоу Малина 0,9л [05:16:50]line 1.000 * 85.00 [05:16:50]line = 85.00 [05:16:50]line НДС 12% НСП 1% [05:16:50]line > о реализуемом товаре [05:16:50]line Товар: 5449000000439 [05:16:50]line Напиток Кока-Кола 1,5л [05:16:50]line 1.000 * 155.00 [05:16:50]line = 155.00 [05:16:50]line НДС 12% НСП 1% [05:16:50]line > о реализуемом товаре [05:16:50]line Товар: 2000036240010 [05:16:50]line Кофе Латте (GABB TRADE) [05:16:50]line 2.000 * 115.00 [05:16:50]line = 230.00 [05:16:50]line НДС 12% НСП 1% [05:16:50]line > о реализуемом товаре [05:16:50]line ИТОГО: 470.00 [05:16:50]line НСП 1% : 4.15 [05:16:50]line НДС 12% : 49.91 [05:16:50]line Наличными: 0.00 [05:16:50]line Безнал.: 470.00 [05:16:50]line Место: АЗС № 126 "Партнер Нефть" [05:16:50]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [05:16:50]line СНО: Общий режим [05:16:50]line Чек 14 27.10.2024 05:16 [05:16:50]line Смена: 550 ФФД: 1.0 [05:16:50]line ЗНМ: 0300000092 [05:16:50]line РНМ: 0000000000091684 [05:16:50]line Версия ККМ: 001 [05:16:50]line Платежная система: Mbank [05:16:50]line ФМ: 0000000000871841 [05:16:50]line ФД: 37688 [05:16:50]line ФПД: 267949324840726 [05:16:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T051648&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37688&fm=267949324840726&tin=02508201610067®Number=0000000000091684&sum=47000 [05:16:50]line 0 [05:16:50]OFD Sender: Processing packet 37688 [packets to send 42, broken 41] [05:16:50]ProducePacketName [05:16:50]name=ofd_packets/00037688 [05:16:50]OFD Sender: To server: pG, [05:16:50]CommunicateWithHost lk.salyk.kg:30040 [05:16:50]ConnectInit lk.salyk.kg [05:16:50]written 0, free lines is 4095 [05:16:50]Connected sock=10 [05:16: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 05 02 00 00 3D DA FD 01 8F AD 5A 03 01 00 03 00 F1 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 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 FC 03 06 00 98 B7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7F 13 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 B7 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 C0 CC 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 38 93 00 00 35 04 06 00 F3 B2 D0 53 2F 16 30 17 F3 7E FD A0 B9 0B [05:16: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 F8 1F 47 00 D5 EF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 38 93 00 00 F4 03 04 00 BA 77 1D 67 B6 04 01 00 00 D3 3B 95 D4 3B B1 07 1C [05:16:51]CommunicateWithHost err = 0 [05:16:51]CheckOFDResponse [05:16:51]1017 (14) - 77093643461234 [05:16:51]1041 (16) - 0000000000871841 [05:16:51]1040 (4) - 37688 [05:16:51]1012 (4) - 26.10.2024 23:14 [05:16:51]1206 (1) - 0 [05:16:51]OFD Sender: Remove packet 37688 [05:16:51]ProducePacketName [05:16:51]name=ofd_packets/00037688 [05:16:51]NVStorageDeleteData [05:16:51]Write to MH i2c: 01 00 00 D1 01 D2 [05:16:51]Write i2c OK [05:16:51]MH_I2C_Read... [05:16:51]Read from MH i2c: 01 [05:16:51]MH_I2C_Read... [05:16:51]Read from MH i2c: 01 07 00 [05:16:51]MH_I2C_Read... [05:16:51]Read from MH i2c: 01 07 00 D1 01 00 00 00 00 00 45 0C 2A [05:16:51]RasterBufferAndPrint [05:16:51]line [05:16:51]line [05:16:51]line [05:16:51]line [05:16:51]line [05:16:51]written 0, free lines is 3150 [05:16:51]MH_Cut [05:16:51]Write to MH i2c: D1 01 00 D8 01 01 AB [05:16:51]Write i2c OK [05:16:51]MH_I2C_Read... [05:16:51]Read from MH i2c: D1 [05:16:51]MH_I2C_Read... [05:16:51]Read from MH i2c: D1 01 00 [05:16:51]MH_I2C_Read... [05:16:51]Read from MH i2c: D1 01 00 D8 01 00 AA [05:16:51]Write to MH i2c: 01 00 00 D9 01 DA [05:16:51]Write i2c OK [05:16:51]MH_I2C_Read... [05:16:51]OFD Sender: No OFD packet to send [05:16:52]*** Cut start [05:16:52]*** Partial cut [05:16:52]*** CUTSNS_PIN = 1 [05:16:52]*** CUTSNS_PIN = 0 [05:16:52]*** Brake cut motor [05:16:52]Read from MH i2c: 01 [05:16:52]MH_I2C_Read... [05:16:52]*** Stop cut motor [05:16:52]*** Cut end [05:16:52]Read from MH i2c: 01 07 00 [05:16:52]MH_I2C_Read... [05:16:52]Read from MH i2c: 01 07 00 D9 01 00 00 00 00 00 FF 0F EF [05:16:52]process_action close_receipt done [05:16:52]requested_data is exist [05:16:52]produce_requested_data [05:16:52]requested_item fm.sn is exist - process it [05:16:52]wFMCommunicate request_size=4 [05:16:52]MH_SAM_APDU [05:16:52]CAPDU: 80 11 00 00 [05:16:52]Write to MH i2c: E2 08 00 DA 01 80 11 00 00 00 00 00 00 55 [05:16:52]Write i2c OK [05:16:52]MH_I2C_Read... [05:16:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:16:52]Read from MH i2c: E2 [05:16:52]MH_I2C_Read... [05:16:52]Read from MH i2c: E2 17 00 [05:16:52]MH_I2C_Read... [05:16:52]Read from MH i2c: E2 17 00 DA 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A5 [05:16:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [05:16:52]wFMCommunicate OK [05:16:52]requested_item fd.num is exist - process it [05:16:52]SAM_PROTO_GetFieldsCounters [05:16:52]wFMCommunicate request_size=4 [05:16:52]MH_SAM_APDU [05:16:52]CAPDU: 80 13 00 00 [05:16:52]Write to MH i2c: E2 08 00 DB 01 80 13 00 00 00 00 00 00 58 [05:16:52]Write i2c OK [05:16:52]MH_I2C_Read... [05:16:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:16:52]Read from MH i2c: E2 [05:16:52]MH_I2C_Read... [05:16:52]Read from MH i2c: E2 62 00 [05:16:52]MH_I2C_Read... [05:16:52]Read from MH i2c: E2 62 00 DB 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 38 93 00 00 0E 04 04 00 26 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 96 [05:16: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 38 93 00 00 0E 04 04 00 26 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 [05:16:52]wFMCommunicate OK [05:16:52]SAM_PROTO_GetFieldsCounters done [05:16:52]requested_item shift.num is exist - process it [05:16:52]requested_item shift.opened is exist - process it [05:16:52]req_shift_opened [05:16:52]FM_GetShiftState [05:16:52]SAM_PROTO_GetShiftState [05:16:52]wFMCommunicate request_size=4 [05:16:52]MH_SAM_APDU [05:16:52]CAPDU: 80 13 01 00 [05:16:52]Write to MH i2c: E2 08 00 DC 01 80 13 01 00 00 00 00 00 5A [05:16:52]Write i2c OK [05:16:52]MH_I2C_Read... [05:16:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:16:53]Read from MH i2c: E2 [05:16:53]MH_I2C_Read... [05:16:53]Read from MH i2c: E2 0E 00 [05:16:53]MH_I2C_Read... [05:16:53]Read from MH i2c: E2 0E 00 DC 01 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 11 [05:16:53]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [05:16:53]wFMCommunicate OK [05:16:53]SAM_PROTO_GetShiftState done [05:16:53]FM_GetShiftState done [05:16:53]req_shift_opened done [05:16:53]requested_item shift.open_date is exist - process it [05:16:53]req_shift_open_date [05:16:53]req_shift_open_date done [05:16:53]produce_requested_data done [05:16:53]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37688,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [05:16:53]process_action_free close_receipt [05:16:53]json_value_free [05:16:53]json_value_free done [05:16:53]process_json_proto returns [05:16:53]Send response to host [05:16:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37688,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [05:16:53]free response buf [05:16:53]execute_script done [05:16:53]execute_script returns [05:16:53]free content buf [05:16:53]Sock 9.Close socket [05:16:53]Sock 9.Thread stoped [05:16:56]OFD Sender: No OFD packet to send [05:17:01]OFD Sender: No OFD packet to send [05:17:06]OFD Sender: No OFD packet to send [05:17:11]OFD Sender: No OFD packet to send [05:17:16]OFD Sender: No OFD packet to send [05:17:21]OFD Sender: No OFD packet to send [05:17:26]OFD Sender: No OFD packet to send [05:17:31]OFD Sender: No OFD packet to send [05:17:36]OFD Sender: No OFD packet to send [05:17:41]OFD Sender: No OFD packet to send [05:17:46]OFD Sender: No OFD packet to send [05:17:51]OFD Sender: No OFD packet to send [05:17:56]OFD Sender: No OFD packet to send [05:18:01]OFD Sender: No OFD packet to send [05:18:06]OFD Sender: No OFD packet to send [05:18:11]OFD Sender: No OFD packet to send [05:18:16]OFD Sender: No OFD packet to send [05:18:21]OFD Sender: No OFD packet to send [05:18:26]OFD Sender: No OFD packet to send [05:18:31]OFD Sender: No OFD packet to send [05:18:36]OFD Sender: No OFD packet to send [05:18:41]OFD Sender: No OFD packet to send [05:18:46]OFD Sender: No OFD packet to send [05:18:51]OFD Sender: No OFD packet to send [05:18:56]OFD Sender: No OFD packet to send [05:19:01]OFD Sender: No OFD packet to send [05:19:06]OFD Sender: No OFD packet to send [05:19:11]OFD Sender: No OFD packet to send [05:19:16]OFD Sender: No OFD packet to send [05:19:21]OFD Sender: No OFD packet to send [05:19:26]OFD Sender: No OFD packet to send [05:19:31]OFD Sender: No OFD packet to send [05:19:36]OFD Sender: No OFD packet to send [05:19:41]OFD Sender: No OFD packet to send [05:19:46]OFD Sender: No OFD packet to send [05:19:51]OFD Sender: No OFD packet to send [05:19:53]accept exits with 7 [05:19:53]New connection [05:19:53]New thread 3067440484 created [05:19:53]Thread 3067297124 joined [05:19:53]Waiting for new connection... [05:19:53] Sock 7.Parse request [05:19:53]Sock 7.Check first char [05:19:53]Sock 7.First char is OK [05:19:53]request: POST /json_proto HTTP/1.0 [05:19:53]Method: POST [05:19:53]URL: /json_proto [05:19:53]Method is POST - this is cgi request [05:19:53]url: /json_proto [05:19:53]query_string will be loaded in cgi processing [05:19:53]execute_cgi json_proto POST (null) [05:19:53]execute_cgi path=json_proto method=POST [05:19:53]POST find Content-Length [05:19:53]Host: 172.17.40.196:8080 [05:19:53]Content-Length: 939 [05:19:53]Content-Type: application/json [05:19:53] [05:19:53]POST finish read [05:19:53]Found Content-Length = 939 [05:19:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34987", "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 }]} ,{ "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" : 465.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:19:53]execute_script... [05:19: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)34987", "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 }]} ,{ "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" : 465.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:19:53]POST & json_proto [05:19:53]process_json_proto [05:19:53]json parsed OK: [05:19:53]protocol is kg_v1.0 [05:19:53]action value=close_receipt [05:19:53]process_action close_receipt [05:19:53]cmd_close_receipt [05:19:53]MH_GetDate [05:19:53]Write to MH i2c: F0 00 00 DD 01 CD [05:19:53]Write i2c OK [05:19:53]MH_I2C_Read... [05:19:53]Read from MH i2c: F0 [05:19:53]MH_I2C_Read... [05:19:53]Read from MH i2c: F0 09 00 [05:19:53]MH_I2C_Read... [05:19:53]Read from MH i2c: F0 09 00 DD 01 00 7A CD 1D 67 5B 68 A1 66 6B [05:19:53]GetLastDocTimeStamp 1730006208 [05:19:53]current date 1730006394 [05:19:53]FM_GetShiftState [05:19:53]SAM_PROTO_GetShiftState [05:19:53]wFMCommunicate request_size=4 [05:19:53]MH_SAM_APDU [05:19:53]CAPDU: 80 13 01 00 [05:19:53]Write to MH i2c: E2 08 00 DE 01 80 13 01 00 00 00 00 00 5C [05:19:53]Write i2c OK [05:19:53]MH_I2C_Read... [05:19:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:19:53]Read from MH i2c: E2 [05:19:53]MH_I2C_Read... [05:19:53]Read from MH i2c: E2 0E 00 [05:19:53]MH_I2C_Read... [05:19:53]Read from MH i2c: E2 0E 00 DE 01 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 13 [05:19:53]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [05:19:53]wFMCommunicate OK [05:19:53]SAM_PROTO_GetShiftState done [05:19:53]FM_GetShiftState done [05:19:53]opened in 1729987492 [05:19:53]opened+sec_in_day 1730073892 [05:19:53]quantity*price = 6500 [05:19:53]sum+1 = 6501 [05:19:53]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700001060077 Коньяк КВ Кыргызстан 0,2л 1.000 * 400.00 = 400.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 465.00 НСП 1% : 4.11 НДС 12% : 49.38 Наличными: 465.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 15 27.10.2024 05:19 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37689 ФПД: 197019066378632 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T051954&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37689&fm=197019066378632&tin=02508201610067®Number=0000000000091684&sum=46500 0 [05:19:54]StoreToDocumentArchive [05:19:54]shift 550 fd 37689 [05:19:54]save to /storage/0550/doc_00037689 [05:19:54]save last doc name /storage/0550/doc_00037689 to /storage/kkm_last_doc_name [05:19:54]save OK [05:19:54]Clear old archive folders... [05:19:54]ProcessDocumentItem done err = 0, tmpTLVsize=388 [05:19:54]tlvbuf is 0027C350 [05:19:54]SAM_PROTO_ClearQueue [05:19:54]wFMCommunicate request_size=4 [05:19:54]MH_SAM_APDU [05:19:54]CAPDU: 80 09 00 00 [05:19:54]Write to MH i2c: E2 08 00 EB 01 80 09 00 00 00 00 00 00 5E [05:19:54]Write i2c OK [05:19:54]MH_I2C_Read... [05:19:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:19:55]Read from MH i2c: E2 [05:19:55]MH_I2C_Read... [05:19:55]Read from MH i2c: E2 03 00 [05:19:55]MH_I2C_Read... [05:19:55]Read from MH i2c: E2 03 00 EB 01 00 90 00 60 [05:19:55]RAPDU: 90 00 [05:19:55]wFMCommunicate OK [05:19:55]SAM_PROTO_ClearQueue done [05:19:55]KKMCreateOFDPacket [05:19:55]OFDProtocolAddRootSTLVToBuf [05:19:55]FM_MakeSignedData [05:19:55]FM_MakeSignedData [05:19:55]SAM_PROTO_SignData [05:19:55]wFMCommunicate request_size=4 [05:19:55]MH_SAM_APDU [05:19:55]CAPDU: 80 0D 01 02 [05:19:55]Write to MH i2c: E2 08 00 EC 01 80 0D 01 02 00 00 00 00 66 [05:19:55]Write i2c OK [05:19:55]MH_I2C_Read... [05:19:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:19:55]Read from MH i2c: E2 [05:19:55]MH_I2C_Read... [05:19:55]Read from MH i2c: E2 03 00 [05:19:55]MH_I2C_Read... [05:19:55]Read from MH i2c: E2 03 00 EC 01 00 90 00 61 [05:19:55]RAPDU: 90 00 [05:19:55]wFMCommunicate OK [05:19:55]wFMCommunicate request_size=255 [05:19:55]MH_SAM_APDU [05:19:55]CAPDU: 80 0D 02 02 FA 03 00 84 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 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 A4 B5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 [05:19:55]Write to MH i2c: E2 02 01 ED 01 80 0D 02 02 FA 00 03 00 84 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 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 A4 B5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 00 00 5C [05:19:55]Write i2c OK [05:19:55]MH_I2C_Read... [05:19:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:19:55]Read from MH i2c: E2 [05:19:55]MH_I2C_Read... [05:19:55]Read from MH i2c: E2 03 00 [05:19:55]MH_I2C_Read... [05:19:55]Read from MH i2c: E2 03 00 ED 01 00 90 00 62 [05:19:55]RAPDU: 90 00 [05:19:55]wFMCommunicate OK [05:19:55]wFMCommunicate request_size=147 [05:19:55]MH_SAM_APDU [05:19:55]CAPDU: 80 0D 02 02 8E F7 03 06 00 9B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 13 00 00 00 00 07 04 06 00 A4 B5 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 7A CD 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 39 93 00 00 35 04 06 00 B3 30 13 77 29 88 [05:19:55]Write to MH i2c: E2 96 00 EE 01 80 0D 02 02 8E 00 F7 03 06 00 9B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 13 00 00 00 00 07 04 06 00 A4 B5 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 7A CD 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 39 93 00 00 35 04 06 00 B3 30 13 77 29 88 00 00 F0 [05:19:55]Write i2c OK [05:19:55]MH_I2C_Read... [05:19:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:19:55]Read from MH i2c: E2 [05:19:55]MH_I2C_Read... [05:19:55]Read from MH i2c: E2 03 00 [05:19:55]MH_I2C_Read... [05:19:55]Read from MH i2c: E2 03 00 EE 01 00 90 00 63 [05:19:55]RAPDU: 90 00 [05:19:55]wFMCommunicate OK [05:19:55]wFMCommunicate request_size=4 [05:19:55]MH_SAM_APDU [05:19:55]CAPDU: 80 0D 03 02 [05:19:55]Write to MH i2c: E2 08 00 EF 01 80 0D 03 02 00 00 00 00 6B [05:19:55]Write i2c OK [05:19:55]MH_I2C_Read... [05:19:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:19:55]Read from MH i2c: E2 [05:19:55]MH_I2C_Read... [05:19:55]Read from MH i2c: E2 0B 00 [05:19:55]MH_I2C_Read... [05:19:55]Read from MH i2c: E2 0B 00 EF 01 00 5E 9E 99 25 F6 F3 09 4A 90 00 62 [05:19:55]RAPDU: 5E 9E 99 25 F6 F3 09 4A 90 00 [05:19:55]wFMCommunicate OK [05:19:55]SAM_PROTO_SignData done [05:19:55]FM_MakeSignedData done [05:19:55]CreateOFDProtocolMessage [05:19:55]wFMCommunicate request_size=4 [05:19:55]MH_SAM_APDU [05:19:55]CAPDU: 80 11 00 00 [05:19:55]Write to MH i2c: E2 08 00 F0 01 80 11 00 00 00 00 00 00 6B [05:19:55]Write i2c OK [05:19:55]MH_I2C_Read... [05:19:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:19:55]Read from MH i2c: E2 [05:19:55]MH_I2C_Read... [05:19:55]Read from MH i2c: E2 17 00 [05:19:55]MH_I2C_Read... [05:19:55]Read from MH i2c: E2 17 00 F0 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 BB [05:19:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [05:19:55]wFMCommunicate OK [05:19:55]CreateOFDProtocolMessage done [05:19:55]OFDSenderStorePacket 37689 [05:19:55]StoreOFDPacket docnum=37689 [05:19: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 98 01 00 00 AA A2 90 01 B0 8D 5A 03 01 00 03 00 84 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 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 A4 B5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 13 00 00 00 00 07 04 06 00 A4 B5 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 7A CD 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 39 93 00 00 35 04 06 00 B3 30 13 77 29 88 5E 9E 99 25 F6 F3 09 4A [05:19:55]CheckFolder [05:19:55]dirname=/storage/ofd_packets [05:19:55]CheckFolder done [05:19:55]ProducePacketName [05:19:55]name=ofd_packets/00037689 [05:19:55]NVStorageSaveData ofd_packets/00037689 [05:19:55]File name is /storage/ofd_packets/00037689 [05:19:55]Write 438 bytes [05:19:55]NVStorageSaveData done [05:19:55]OFDSenderStorePacket done [05:19:55]KKMCreateOFDPacket done [05:19:55]NVStorageSaveData kkm_last_timestamp [05:19:55]File name is /storage/kkm_last_timestamp [05:19:55]Write 4 bytes [05:19:55]NVStorageSaveData done [05:19:55]ExternCall_PrintAddStr [05:19:55]wPrintStart [05:19:55]Write to MH i2c: 01 00 00 F1 01 F2 [05:19:55]Write i2c OK [05:19:55]MH_I2C_Read... [05:19:55]Read from MH i2c: 01 [05:19:55]MH_I2C_Read... [05:19:55]Read from MH i2c: 01 07 00 [05:19:55]MH_I2C_Read... [05:19:55]Read from MH i2c: 01 07 00 F1 01 00 00 00 00 00 FF 0F 07 [05:19:55]RasterBufferAndPrint [05:19:55]line Счет N : (3)34987 [05:19:55]line ИНН: 02508201610067 [05:19:55]line Контрольно-Кассовый Чек [05:19:55]line ПРОДАЖА [05:19:55]line Товар: 47011656 [05:19:55]line Водка Пшеничная 0,1л [05:19:55]line 1.000 * 65.00 [05:19:55]line = 65.00 [05:19:55]line НДС 12% НСП 1% [05:19:55]line > о реализуемом товаре [05:19:55]line Товар: 4700001060077 [05:19:55]line Коньяк КВ Кыргызстан 0,2л [05:19:55]line 1.000 * 400.00 [05:19:55]line = 400.00 [05:19:55]line НДС 12% НСП 1% [05:19:55]line > о реализуемом товаре [05:19:55]line ИТОГО: 465.00 [05:19:55]line НСП 1% : 4.11 [05:19:55]line НДС 12% : 49.38 [05:19:55]line Наличными: 465.00 [05:19:55]line Безнал.: 0.00 [05:19:55]line Место: АЗС № 126 "Партнер Нефть" [05:19:55]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [05:19:55]line СНО: Общий режим [05:19:55]line Чек 15 27.10.2024 05:19 [05:19:55]line Смена: 550 ФФД: 1.0 [05:19:55]line ЗНМ: 0300000092 [05:19:55]line РНМ: 0000000000091684 [05:19:55]line Версия ККМ: 001 [05:19:55]line ФМ: 0000000000871841 [05:19:55]line ФД: 37689 [05:19:55]line ФПД: 197019066378632 [05:19:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T051954&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37689&fm=197019066378632&tin=02508201610067®Number=0000000000091684&sum=46500 [05:19:55]line 0 [05:19:55]OFD Sender: Processing packet 37689 [packets to send 42, broken 41] [05:19:55]ProducePacketName [05:19:55]name=ofd_packets/00037689 [05:19:55]OFD Sender: To server: pG, [05:19:55]CommunicateWithHost lk.salyk.kg:30040 [05:19:55]ConnectInit lk.salyk.kg [05:19:55]written 0, free lines is 4095 [05:19:56]Connected sock=10 [05:19: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 98 01 00 00 AA A2 90 01 B0 8D 5A 03 01 00 03 00 84 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 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 A4 B5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 13 00 00 00 00 07 04 06 00 A4 B5 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 7A CD 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 39 93 00 00 35 04 06 00 B3 30 13 77 29 88 5E 9E 99 25 F6 F3 09 4A [05:19:56]Write to MH i2c: 01 00 00 1F 02 21 [05:19:56]Write i2c OK [05:19:56]MH_I2C_Read... [05:19:56]Read from MH i2c: 01 [05:19:56]MH_I2C_Read... [05:19:56]Read from MH i2c: 01 07 00 [05:19:56]MH_I2C_Read... [05:19:56]Read from MH i2c: 01 07 00 1F 02 00 00 00 00 00 82 0C B6 [05:19:56]RasterBufferAndPrint [05:19:56]line [05:19:56]line [05:19:56]line [05:19:56]line [05:19:56]line [05:19:56]written 0, free lines is 3208 [05:19:56]MH_Cut [05:19:56]Write to MH i2c: D1 01 00 26 02 01 FA [05:19:56]Write i2c OK [05:19:56]MH_I2C_Read... [05:19:56]Read from MH i2c: D1 [05:19:56]MH_I2C_Read... [05:19:56]Read from MH i2c: D1 01 00 [05:19:56]MH_I2C_Read... [05:19:56]Read from MH i2c: D1 01 00 26 02 00 F9 [05:19:56]Write to MH i2c: 01 00 00 27 02 29 [05:19:56]Write i2c OK [05:19:56]MH_I2C_Read... [05:19:56]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 88 63 47 00 1D B6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 39 93 00 00 F4 03 04 00 73 78 1D 67 B6 04 01 00 00 D0 86 17 05 0B 1D 10 A7 [05:19:56]CommunicateWithHost err = 0 [05:19:56]CheckOFDResponse [05:19:56]1017 (14) - 77093643461234 [05:19:56]1041 (16) - 0000000000871841 [05:19:56]1040 (4) - 37689 [05:19:56]1012 (4) - 26.10.2024 23:17 [05:19:56]1206 (1) - 0 [05:19:56]OFD Sender: Remove packet 37689 [05:19:56]ProducePacketName [05:19:56]name=ofd_packets/00037689 [05:19:56]NVStorageDeleteData [05:19:57]OFD Sender: No OFD packet to send [05:19:57]*** Cut start [05:19:57]*** Partial cut [05:19:57]*** CUTSNS_PIN = 1 [05:19:57]*** CUTSNS_PIN = 0 [05:19:57]*** Brake cut motor [05:19:57]Read from MH i2c: 01 [05:19:57]MH_I2C_Read... [05:19:57]*** Stop cut motor [05:19:57]*** Cut end [05:19:57]Read from MH i2c: 01 07 00 [05:19:57]MH_I2C_Read... [05:19:57]Read from MH i2c: 01 07 00 27 02 00 00 00 00 00 FF 0F 3E [05:19:57]process_action close_receipt done [05:19:57]requested_data is exist [05:19:57]produce_requested_data [05:19:57]requested_item fm.sn is exist - process it [05:19:57]wFMCommunicate request_size=4 [05:19:57]MH_SAM_APDU [05:19:57]CAPDU: 80 11 00 00 [05:19:57]Write to MH i2c: E2 08 00 28 02 80 11 00 00 00 00 00 00 A4 [05:19:57]Write i2c OK [05:19:57]MH_I2C_Read... [05:19:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:19:58]Read from MH i2c: E2 [05:19:58]MH_I2C_Read... [05:19:58]Read from MH i2c: E2 17 00 [05:19:58]MH_I2C_Read... [05:19:58]Read from MH i2c: E2 17 00 28 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F4 [05:19:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [05:19:58]wFMCommunicate OK [05:19:58]requested_item fd.num is exist - process it [05:19:58]SAM_PROTO_GetFieldsCounters [05:19:58]wFMCommunicate request_size=4 [05:19:58]MH_SAM_APDU [05:19:58]CAPDU: 80 13 00 00 [05:19:58]Write to MH i2c: E2 08 00 29 02 80 13 00 00 00 00 00 00 A7 [05:19:58]Write i2c OK [05:19:58]MH_I2C_Read... [05:19:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:19:58]Read from MH i2c: E2 [05:19:58]MH_I2C_Read... [05:19:58]Read from MH i2c: E2 62 00 [05:19:58]MH_I2C_Read... [05:19:58]Read from MH i2c: E2 62 00 29 02 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 39 93 00 00 0E 04 04 00 26 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 E9 [05:19: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 39 93 00 00 0E 04 04 00 26 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 [05:19:58]wFMCommunicate OK [05:19:58]SAM_PROTO_GetFieldsCounters done [05:19:58]requested_item shift.num is exist - process it [05:19:58]requested_item shift.opened is exist - process it [05:19:58]req_shift_opened [05:19:58]FM_GetShiftState [05:19:58]SAM_PROTO_GetShiftState [05:19:58]wFMCommunicate request_size=4 [05:19:58]MH_SAM_APDU [05:19:58]CAPDU: 80 13 01 00 [05:19:58]Write to MH i2c: E2 08 00 2A 02 80 13 01 00 00 00 00 00 A9 [05:19:58]Write i2c OK [05:19:58]MH_I2C_Read... [05:19:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:19:58]Read from MH i2c: E2 [05:19:58]MH_I2C_Read... [05:19:58]Read from MH i2c: E2 0E 00 [05:19:58]MH_I2C_Read... [05:19:58]Read from MH i2c: E2 0E 00 2A 02 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 60 [05:19:58]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [05:19:58]wFMCommunicate OK [05:19:58]SAM_PROTO_GetShiftState done [05:19:58]FM_GetShiftState done [05:19:58]req_shift_opened done [05:19:58]requested_item shift.open_date is exist - process it [05:19:58]req_shift_open_date [05:19:58]req_shift_open_date done [05:19:58]produce_requested_data done [05:19:58]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37689,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [05:19:58]process_action_free close_receipt [05:19:58]json_value_free [05:19:58]json_value_free done [05:19:58]process_json_proto returns [05:19:58]Send response to host [05:19:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37689,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [05:19:58]free response buf [05:19:58]execute_script done [05:19:58]execute_script returns [05:19:58]free content buf [05:19:58]Sock 7.Close socket [05:19:58]Sock 7.Thread stoped [05:20:02]OFD Sender: No OFD packet to send [05:20:07]OFD Sender: No OFD packet to send [05:20:12]OFD Sender: No OFD packet to send [05:20:17]OFD Sender: No OFD packet to send [05:20:22]OFD Sender: No OFD packet to send [05:20:27]OFD Sender: No OFD packet to send [05:20:32]OFD Sender: No OFD packet to send [05:20:37]OFD Sender: No OFD packet to send [05:20:42]OFD Sender: No OFD packet to send [05:20:47]OFD Sender: No OFD packet to send [05:20:52]OFD Sender: No OFD packet to send [05:20:57]OFD Sender: No OFD packet to send [05:21:02]OFD Sender: No OFD packet to send [05:21:07]OFD Sender: No OFD packet to send [05:21:12]OFD Sender: No OFD packet to send [05:21:17]OFD Sender: No OFD packet to send [05:21:22]OFD Sender: No OFD packet to send [05:21:27]OFD Sender: No OFD packet to send [05:21:32]OFD Sender: No OFD packet to send [05:21:37]OFD Sender: No OFD packet to send [05:21:42]OFD Sender: No OFD packet to send [05:21:47]OFD Sender: No OFD packet to send [05:21:52]OFD Sender: No OFD packet to send [05:21:57]OFD Sender: No OFD packet to send [05:22:02]OFD Sender: No OFD packet to send [05:22:07]OFD Sender: No OFD packet to send [05:22:12]OFD Sender: No OFD packet to send [05:22:17]OFD Sender: No OFD packet to send [05:22:22]OFD Sender: No OFD packet to send [05:22:27]OFD Sender: No OFD packet to send [05:22:32]OFD Sender: No OFD packet to send [05:22:37]OFD Sender: No OFD packet to send [05:22:42]OFD Sender: No OFD packet to send [05:22:47]OFD Sender: No OFD packet to send [05:22:52]OFD Sender: No OFD packet to send [05:22:57]OFD Sender: No OFD packet to send [05:23:02]OFD Sender: No OFD packet to send [05:23:07]OFD Sender: No OFD packet to send [05:23:12]OFD Sender: No OFD packet to send [05:23:17]OFD Sender: No OFD packet to send [05:23:22]OFD Sender: No OFD packet to send [05:23:27]OFD Sender: No OFD packet to send [05:23:32]OFD Sender: No OFD packet to send [05:23:37]OFD Sender: No OFD packet to send [05:23:42]OFD Sender: No OFD packet to send [05:23:47]OFD Sender: No OFD packet to send [05:23:52]OFD Sender: No OFD packet to send [05:23:57]OFD Sender: No OFD packet to send [05:24:02]OFD Sender: No OFD packet to send [05:24:07]OFD Sender: No OFD packet to send [05:24:12]OFD Sender: No OFD packet to send [05:24:17]OFD Sender: No OFD packet to send [05:24:22]OFD Sender: No OFD packet to send [05:24:27]OFD Sender: No OFD packet to send [05:24:32]OFD Sender: No OFD packet to send [05:24:37]OFD Sender: No OFD packet to send [05:24:42]OFD Sender: No OFD packet to send [05:24:47]OFD Sender: No OFD packet to send [05:24:52]OFD Sender: No OFD packet to send [05:24:57]OFD Sender: No OFD packet to send [05:25:02]OFD Sender: No OFD packet to send [05:25:07]OFD Sender: No OFD packet to send [05:25:12]OFD Sender: No OFD packet to send [05:25:17]OFD Sender: No OFD packet to send [05:25:22]OFD Sender: No OFD packet to send [05:25:27]OFD Sender: No OFD packet to send [05:25:32]OFD Sender: No OFD packet to send [05:25:37]OFD Sender: No OFD packet to send [05:25:42]OFD Sender: No OFD packet to send [05:25:47]OFD Sender: No OFD packet to send [05:25:52]OFD Sender: No OFD packet to send [05:25:57]OFD Sender: No OFD packet to send [05:26:02]OFD Sender: No OFD packet to send [05:26:07]OFD Sender: No OFD packet to send [05:26:12]OFD Sender: No OFD packet to send [05:26:17]OFD Sender: No OFD packet to send [05:26:22]OFD Sender: No OFD packet to send [05:26:27]OFD Sender: No OFD packet to send [05:26:32]OFD Sender: No OFD packet to send [05:26:37]OFD Sender: No OFD packet to send [05:26:42]OFD Sender: No OFD packet to send [05:26:47]OFD Sender: No OFD packet to send [05:26:52]OFD Sender: No OFD packet to send [05:26:57]OFD Sender: No OFD packet to send [05:27:02]OFD Sender: No OFD packet to send [05:27:07]OFD Sender: No OFD packet to send [05:27:12]OFD Sender: No OFD packet to send [05:27:17]OFD Sender: No OFD packet to send [05:27:22]OFD Sender: No OFD packet to send [05:27:27]OFD Sender: No OFD packet to send [05:27:32]OFD Sender: No OFD packet to send [05:27:37]OFD Sender: No OFD packet to send [05:27:42]OFD Sender: No OFD packet to send [05:27:47]OFD Sender: No OFD packet to send [05:27:52]OFD Sender: No OFD packet to send [05:27:57]OFD Sender: No OFD packet to send [05:28:02]OFD Sender: No OFD packet to send [05:28:07]OFD Sender: No OFD packet to send [05:28:12]OFD Sender: No OFD packet to send [05:28:17]OFD Sender: No OFD packet to send [05:28:22]OFD Sender: No OFD packet to send [05:28:27]OFD Sender: No OFD packet to send [05:28:32]OFD Sender: No OFD packet to send [05:28:37]OFD Sender: No OFD packet to send [05:28:42]OFD Sender: No OFD packet to send [05:28:47]OFD Sender: No OFD packet to send [05:28:52]OFD Sender: No OFD packet to send [05:28:57]OFD Sender: No OFD packet to send [05:29:02]OFD Sender: No OFD packet to send [05:29:07]OFD Sender: No OFD packet to send [05:29:12]OFD Sender: No OFD packet to send [05:29:17]OFD Sender: No OFD packet to send [05:29:22]OFD Sender: No OFD packet to send [05:29:27]OFD Sender: No OFD packet to send [05:29:32]OFD Sender: No OFD packet to send [05:29:37]OFD Sender: No OFD packet to send [05:29:42]OFD Sender: No OFD packet to send [05:29:47]OFD Sender: No OFD packet to send [05:29:52]OFD Sender: No OFD packet to send [05:29:57]OFD Sender: No OFD packet to send [05:30:02]OFD Sender: No OFD packet to send [05:30:07]OFD Sender: No OFD packet to send [05:30:12]OFD Sender: No OFD packet to send [05:30:17]OFD Sender: No OFD packet to send [05:30:22]OFD Sender: No OFD packet to send [05:30:27]OFD Sender: No OFD packet to send [05:30:32]OFD Sender: No OFD packet to send [05:30:37]OFD Sender: No OFD packet to send [05:30:42]OFD Sender: No OFD packet to send [05:30:47]OFD Sender: No OFD packet to send [05:30:52]OFD Sender: No OFD packet to send [05:30:57]OFD Sender: No OFD packet to send [05:31:02]OFD Sender: No OFD packet to send [05:31:07]OFD Sender: No OFD packet to send [05:31:12]OFD Sender: No OFD packet to send [05:31:17]OFD Sender: No OFD packet to send [05:31:22]OFD Sender: No OFD packet to send [05:31:27]OFD Sender: No OFD packet to send [05:31:32]OFD Sender: No OFD packet to send [05:31:37]OFD Sender: No OFD packet to send [05:31:42]OFD Sender: No OFD packet to send [05:31:47]OFD Sender: No OFD packet to send [05:31:52]OFD Sender: No OFD packet to send [05:31:57]OFD Sender: No OFD packet to send [05:32:02]OFD Sender: No OFD packet to send [05:32:07]OFD Sender: No OFD packet to send [05:32:12]OFD Sender: No OFD packet to send [05:32:17]OFD Sender: No OFD packet to send [05:32:22]OFD Sender: No OFD packet to send [05:32:27]OFD Sender: No OFD packet to send [05:32:32]OFD Sender: No OFD packet to send [05:32:37]OFD Sender: No OFD packet to send [05:32:42]OFD Sender: No OFD packet to send [05:32:47]OFD Sender: No OFD packet to send [05:32:52]OFD Sender: No OFD packet to send [05:32:57]OFD Sender: No OFD packet to send [05:33:02]OFD Sender: No OFD packet to send [05:33:07]OFD Sender: No OFD packet to send [05:33:12]OFD Sender: No OFD packet to send [05:33:17]OFD Sender: No OFD packet to send [05:33:22]OFD Sender: No OFD packet to send [05:33:27]OFD Sender: No OFD packet to send [05:33:32]OFD Sender: No OFD packet to send [05:33:37]OFD Sender: No OFD packet to send [05:33:42]OFD Sender: No OFD packet to send [05:33:44]accept exits with 9 [05:33:44]New connection [05:33:44]New thread 3067297124 created [05:33:44]Thread 3067440484 joined [05:33:44]Waiting for new connection... [05:33:44] Sock 9.Parse request [05:33:44]Sock 9.Check first char [05:33:44]Sock 9.First char is OK [05:33:44]request: POST /json_proto HTTP/1.0 [05:33:44]Method: POST [05:33:44]URL: /json_proto [05:33:44]Method is POST - this is cgi request [05:33:44]url: /json_proto [05:33:44]query_string will be loaded in cgi processing [05:33:44]execute_cgi json_proto POST (null) [05:33:44]execute_cgi path=json_proto method=POST [05:33:44]POST find Content-Length [05:33:44]Host: 172.17.40.196:8080 [05:33:44]Content-Length: 954 [05:33:44]Content-Type: application/json [05:33:44] [05:33:44]POST finish read [05:33:44]Found Content-Length = 954 [05:33:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34988", "tax_sys" : 0, "items" : [ { "code": "4700003150486", "name": "\u0412\u043E\u0434\u043A\u0430 \u041E\u0440\u043E\u043E\u043D 0,5", "price" : 425.00, "quantity" : 1.000, "sum" : 425.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202522688", "name": "Garden \u043D\u0430\u043F\u0438\u0442\u043E\u043A \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u0433\u0440\u0430\u043D\u0430\u0442\u0430 0,45 \u041F\u042D", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 495.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:33:44]execute_script... [05:33: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)34988", "tax_sys" : 0, "items" : [ { "code": "4700003150486", "name": "\u0412\u043E\u0434\u043A\u0430 \u041E\u0440\u043E\u043E\u043D 0,5", "price" : 425.00, "quantity" : 1.000, "sum" : 425.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202522688", "name": "Garden \u043D\u0430\u043F\u0438\u0442\u043E\u043A \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u0433\u0440\u0430\u043D\u0430\u0442\u0430 0,45 \u041F\u042D", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 495.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:33:44]POST & json_proto [05:33:44]process_json_proto [05:33:44]json parsed OK: [05:33:44]protocol is kg_v1.0 [05:33:44]action value=close_receipt [05:33:44]process_action close_receipt [05:33:44]cmd_close_receipt [05:33:44]MH_GetDate [05:33:44]Write to MH i2c: F0 00 00 2B 02 1C [05:33:44]Write i2c OK [05:33:44]MH_I2C_Read... [05:33:44]Read from MH i2c: F0 [05:33:44]MH_I2C_Read... [05:33:44]Read from MH i2c: F0 09 00 [05:33:44]MH_I2C_Read... [05:33:44]Read from MH i2c: F0 09 00 2B 02 00 B9 D0 1D 67 5B 68 A1 66 FC [05:33:44]GetLastDocTimeStamp 1730006394 [05:33:44]current date 1730007225 [05:33:44]FM_GetShiftState [05:33:44]SAM_PROTO_GetShiftState [05:33:44]wFMCommunicate request_size=4 [05:33:44]MH_SAM_APDU [05:33:44]CAPDU: 80 13 01 00 [05:33:44]Write to MH i2c: E2 08 00 2C 02 80 13 01 00 00 00 00 00 AB [05:33:44]Write i2c OK [05:33:44]MH_I2C_Read... [05:33:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:33:44]Read from MH i2c: E2 [05:33:44]MH_I2C_Read... [05:33:44]Read from MH i2c: E2 0E 00 [05:33:44]MH_I2C_Read... [05:33:44]Read from MH i2c: E2 0E 00 2C 02 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 62 [05:33:44]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [05:33:44]wFMCommunicate OK [05:33:44]SAM_PROTO_GetShiftState done [05:33:44]FM_GetShiftState done [05:33:44]opened in 1729987492 [05:33:44]opened+sec_in_day 1730073892 [05:33:44]quantity*price = 42500 [05:33:44]sum+1 = 42501 [05:33:44]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870202522688 Garden напиток со вкусом граната 0,45 ПЭ 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 495.00 НСП 1% : 4.38 НДС 12% : 52.56 Наличными: 495.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 16 27.10.2024 05:33 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37690 ФПД: 185644223323945 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T053345&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37690&fm=185644223323945&tin=02508201610067®Number=0000000000091684&sum=49500 0 [05:33:45]StoreToDocumentArchive [05:33:45]shift 550 fd 37690 [05:33:45]save to /storage/0550/doc_00037690 [05:33:45]save last doc name /storage/0550/doc_00037690 to /storage/kkm_last_doc_name [05:33:45]save OK [05:33:45]Clear old archive folders... [05:33:45]ProcessDocumentItem done err = 0, tmpTLVsize=403 [05:33:45]tlvbuf is 0020FFD0 [05:33:45]SAM_PROTO_ClearQueue [05:33:45]wFMCommunicate request_size=4 [05:33:45]MH_SAM_APDU [05:33:45]CAPDU: 80 09 00 00 [05:33:45]Write to MH i2c: E2 08 00 39 02 80 09 00 00 00 00 00 00 AD [05:33:45]Write i2c OK [05:33:45]MH_I2C_Read... [05:33:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:33:45]Read from MH i2c: E2 [05:33:45]MH_I2C_Read... [05:33:45]Read from MH i2c: E2 03 00 [05:33:45]MH_I2C_Read... [05:33:45]Read from MH i2c: E2 03 00 39 02 00 90 00 AF [05:33:45]RAPDU: 90 00 [05:33:45]wFMCommunicate OK [05:33:45]SAM_PROTO_ClearQueue done [05:33:45]KKMCreateOFDPacket [05:33:45]OFDProtocolAddRootSTLVToBuf [05:33:45]FM_MakeSignedData [05:33:45]FM_MakeSignedData [05:33:45]SAM_PROTO_SignData [05:33:45]wFMCommunicate request_size=4 [05:33:45]MH_SAM_APDU [05:33:45]CAPDU: 80 0D 01 02 [05:33:45]Write to MH i2c: E2 08 00 3A 02 80 0D 01 02 00 00 00 00 B5 [05:33:45]Write i2c OK [05:33:45]MH_I2C_Read... [05:33:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:33:45]Read from MH i2c: E2 [05:33:45]MH_I2C_Read... [05:33:45]Read from MH i2c: E2 03 00 [05:33:45]MH_I2C_Read... [05:33:45]Read from MH i2c: E2 03 00 3A 02 00 90 00 B0 [05:33:45]RAPDU: 90 00 [05:33:45]wFMCommunicate OK [05:33:45]wFMCommunicate request_size=255 [05:33:45]MH_SAM_APDU [05:33:45]CAPDU: 80 0D 02 02 FA 03 00 93 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 34 38 36 06 04 19 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9E D1 80 D0 BE D0 BE D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 A6 00 00 00 00 13 04 06 00 04 A6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 38 38 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 30 2C 34 35 20 D0 9F D0 AD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C C1 00 00 [05:33:45]Write to MH i2c: E2 02 01 3B 02 80 0D 02 02 FA 00 03 00 93 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 34 38 36 06 04 19 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9E D1 80 D0 BE D0 BE D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 A6 00 00 00 00 13 04 06 00 04 A6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 38 38 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 30 2C 34 35 20 D0 9F D0 AD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C C1 00 00 00 00 CD [05:33:45]Write i2c OK [05:33:45]MH_I2C_Read... [05:33:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:33:46]Read from MH i2c: E2 [05:33:46]MH_I2C_Read... [05:33:46]Read from MH i2c: E2 03 00 [05:33:46]MH_I2C_Read... [05:33:46]Read from MH i2c: E2 03 00 3B 02 00 90 00 B1 [05:33:46]RAPDU: 90 00 [05:33:46]wFMCommunicate OK [05:33:46]wFMCommunicate request_size=162 [05:33:46]MH_SAM_APDU [05:33:46]CAPDU: 80 0D 02 02 9D 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 14 00 00 00 00 07 04 06 00 5C C1 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 B9 D0 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 3A 93 00 00 35 04 06 00 A8 D7 A9 FC 5F 29 [05:33:46]Write to MH i2c: E2 A5 00 3C 02 80 0D 02 02 9D 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 14 00 00 00 00 07 04 06 00 5C C1 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 B9 D0 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 3A 93 00 00 35 04 06 00 A8 D7 A9 FC 5F 29 00 00 5D [05:33:46]Write i2c OK [05:33:46]MH_I2C_Read... [05:33:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:33:46]Read from MH i2c: E2 [05:33:46]MH_I2C_Read... [05:33:46]Read from MH i2c: E2 03 00 [05:33:46]MH_I2C_Read... [05:33:46]Read from MH i2c: E2 03 00 3C 02 00 90 00 B2 [05:33:46]RAPDU: 90 00 [05:33:46]wFMCommunicate OK [05:33:46]wFMCommunicate request_size=4 [05:33:46]MH_SAM_APDU [05:33:46]CAPDU: 80 0D 03 02 [05:33:46]Write to MH i2c: E2 08 00 3D 02 80 0D 03 02 00 00 00 00 BA [05:33:46]Write i2c OK [05:33:46]MH_I2C_Read... [05:33:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:33:46]Read from MH i2c: E2 [05:33:46]MH_I2C_Read... [05:33:46]Read from MH i2c: E2 0B 00 [05:33:46]MH_I2C_Read... [05:33:46]Read from MH i2c: E2 0B 00 3D 02 00 45 99 E5 63 D3 CB 5B C5 90 00 9F [05:33:46]RAPDU: 45 99 E5 63 D3 CB 5B C5 90 00 [05:33:46]wFMCommunicate OK [05:33:46]SAM_PROTO_SignData done [05:33:46]FM_MakeSignedData done [05:33:46]CreateOFDProtocolMessage [05:33:46]wFMCommunicate request_size=4 [05:33:46]MH_SAM_APDU [05:33:46]CAPDU: 80 11 00 00 [05:33:46]Write to MH i2c: E2 08 00 3E 02 80 11 00 00 00 00 00 00 BA [05:33:46]Write i2c OK [05:33:46]MH_I2C_Read... [05:33:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:33:46]Read from MH i2c: E2 [05:33:46]MH_I2C_Read... [05:33:46]Read from MH i2c: E2 17 00 [05:33:46]MH_I2C_Read... [05:33:46]Read from MH i2c: E2 17 00 3E 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 0A [05:33:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [05:33:46]wFMCommunicate OK [05:33:46]CreateOFDProtocolMessage done [05:33:46]OFDSenderStorePacket 37690 [05:33:46]StoreOFDPacket docnum=37690 [05:33: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 A7 01 00 00 6D 42 9F 01 20 8F 5A 03 01 00 03 00 93 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 34 38 36 06 04 19 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9E D1 80 D0 BE D0 BE D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 A6 00 00 00 00 13 04 06 00 04 A6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 38 38 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 30 2C 34 35 20 D0 9F D0 AD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C C1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 14 00 00 00 00 07 04 06 00 5C C1 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 B9 D0 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 3A 93 00 00 35 04 06 00 A8 D7 A9 FC 5F 29 45 99 E5 63 D3 CB 5B C5 [05:33:46]CheckFolder [05:33:46]dirname=/storage/ofd_packets [05:33:46]CheckFolder done [05:33:46]ProducePacketName [05:33:46]name=ofd_packets/00037690 [05:33:46]NVStorageSaveData ofd_packets/00037690 [05:33:46]File name is /storage/ofd_packets/00037690 [05:33:46]Write 453 bytes [05:33:46]NVStorageSaveData done [05:33:46]OFDSenderStorePacket done [05:33:46]KKMCreateOFDPacket done [05:33:46]NVStorageSaveData kkm_last_timestamp [05:33:46]File name is /storage/kkm_last_timestamp [05:33:46]Write 4 bytes [05:33:46]NVStorageSaveData done [05:33:46]ExternCall_PrintAddStr [05:33:46]wPrintStart [05:33:46]Write to MH i2c: 01 00 00 3F 02 41 [05:33:46]Write i2c OK [05:33:46]MH_I2C_Read... [05:33:46]Read from MH i2c: 01 [05:33:46]MH_I2C_Read... [05:33:46]Read from MH i2c: 01 07 00 [05:33:46]MH_I2C_Read... [05:33:46]Read from MH i2c: 01 07 00 3F 02 00 00 00 00 00 FF 0F 56 [05:33:46]RasterBufferAndPrint [05:33:46]line Счет N : (3)34988 [05:33:46]line ИНН: 02508201610067 [05:33:46]line Контрольно-Кассовый Чек [05:33:46]line ПРОДАЖА [05:33:46]line Товар: 4700003150486 [05:33:46]line Водка Ороон 0,5 [05:33:46]line 1.000 * 425.00 [05:33:46]line = 425.00 [05:33:46]line НДС 12% НСП 1% [05:33:46]line > о реализуемом товаре [05:33:46]line Товар: 4870202522688 [05:33:46]line Garden напиток со вкусом граната 0,45 ПЭ [05:33:46]line 1.000 * 70.00 [05:33:46]line = 70.00 [05:33:46]line НДС 12% НСП 1% [05:33:46]line > о реализуемом товаре [05:33:46]line ИТОГО: 495.00 [05:33:46]line НСП 1% : 4.38 [05:33:46]line НДС 12% : 52.56 [05:33:46]line Наличными: 495.00 [05:33:46]line Безнал.: 0.00 [05:33:46]line Место: АЗС № 126 "Партнер Нефть" [05:33:46]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [05:33:46]line СНО: Общий режим [05:33:46]line Чек 16 27.10.2024 05:33 [05:33:46]line Смена: 550 ФФД: 1.0 [05:33:46]line ЗНМ: 0300000092 [05:33:46]line РНМ: 0000000000091684 [05:33:46]line Версия ККМ: 001 [05:33:46]line ФМ: 0000000000871841 [05:33:46]line ФД: 37690 [05:33:46]line ФПД: 185644223323945 [05:33:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T053345&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37690&fm=185644223323945&tin=02508201610067®Number=0000000000091684&sum=49500 [05:33:46]line 0 [05:33:46]OFD Sender: Processing packet 37690 [packets to send 42, broken 41] [05:33:46]ProducePacketName [05:33:46]name=ofd_packets/00037690 [05:33:46]OFD Sender: To server: pG, [05:33:46]CommunicateWithHost lk.salyk.kg:30040 [05:33:46]ConnectInit lk.salyk.kg [05:33:46]written 0, free lines is 4095 [05:33:47]Connected sock=10 [05:33: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 A7 01 00 00 6D 42 9F 01 20 8F 5A 03 01 00 03 00 93 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 34 38 36 06 04 19 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9E D1 80 D0 BE D0 BE D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 A6 00 00 00 00 13 04 06 00 04 A6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 38 38 06 04 40 00 47 61 72 64 65 6E 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 D0 B0 20 30 2C 34 35 20 D0 9F D0 AD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C C1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 14 00 00 00 00 07 04 06 00 5C C1 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 B9 D0 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 3A 93 00 00 35 04 06 00 A8 D7 A9 FC 5F 29 45 99 E5 63 D3 CB 5B C5 [05:33: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 33 8B 47 00 7C 6D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3A 93 00 00 F4 03 04 00 B2 7B 1D 67 B6 04 01 00 00 53 28 8C 05 BD C1 D2 49 [05:33:47]CommunicateWithHost err = 0 [05:33:47]CheckOFDResponse [05:33:47]1017 (14) - 77093643461234 [05:33:47]1041 (16) - 0000000000871841 [05:33:47]1040 (4) - 37690 [05:33:47]1012 (4) - 26.10.2024 23:30 [05:33:47]1206 (1) - 0 [05:33:47]OFD Sender: Remove packet 37690 [05:33:47]ProducePacketName [05:33:47]name=ofd_packets/00037690 [05:33:47]NVStorageDeleteData [05:33:47]Write to MH i2c: 01 00 00 6E 02 70 [05:33:47]Write i2c OK [05:33:47]MH_I2C_Read... [05:33:47]Read from MH i2c: 01 [05:33:47]MH_I2C_Read... [05:33:47]Read from MH i2c: 01 07 00 [05:33:47]MH_I2C_Read... [05:33:47]Read from MH i2c: 01 07 00 6E 02 00 00 00 00 00 6B 0C EE [05:33:47]RasterBufferAndPrint [05:33:47]line [05:33:47]line [05:33:47]line [05:33:47]line [05:33:47]line [05:33:47]written 0, free lines is 3188 [05:33:47]MH_Cut [05:33:47]Write to MH i2c: D1 01 00 75 02 01 49 [05:33:47]Write i2c OK [05:33:47]MH_I2C_Read... [05:33:47]Read from MH i2c: D1 [05:33:47]MH_I2C_Read... [05:33:47]Read from MH i2c: D1 01 00 [05:33:47]MH_I2C_Read... [05:33:47]Read from MH i2c: D1 01 00 75 02 00 48 [05:33:47]Write to MH i2c: 01 00 00 76 02 78 [05:33:47]Write i2c OK [05:33:47]MH_I2C_Read... [05:33:47]OFD Sender: No OFD packet to send [05:33:48]*** Cut start [05:33:48]*** Partial cut [05:33:48]*** CUTSNS_PIN = 1 [05:33:48]*** CUTSNS_PIN = 0 [05:33:48]*** Brake cut motor [05:33:48]Read from MH i2c: 01 [05:33:48]MH_I2C_Read... [05:33:48]*** Stop cut motor [05:33:48]*** Cut end [05:33:48]Read from MH i2c: 01 07 00 [05:33:48]MH_I2C_Read... [05:33:48]Read from MH i2c: 01 07 00 76 02 00 00 00 00 00 FF 0F 8D [05:33:48]process_action close_receipt done [05:33:48]requested_data is exist [05:33:48]produce_requested_data [05:33:48]requested_item fm.sn is exist - process it [05:33:48]wFMCommunicate request_size=4 [05:33:48]MH_SAM_APDU [05:33:48]CAPDU: 80 11 00 00 [05:33:48]Write to MH i2c: E2 08 00 77 02 80 11 00 00 00 00 00 00 F3 [05:33:48]Write i2c OK [05:33:48]MH_I2C_Read... [05:33:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:33:48]Read from MH i2c: E2 [05:33:48]MH_I2C_Read... [05:33:48]Read from MH i2c: E2 17 00 [05:33:48]MH_I2C_Read... [05:33:48]Read from MH i2c: E2 17 00 77 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 43 [05:33: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:33:48]wFMCommunicate OK [05:33:48]requested_item fd.num is exist - process it [05:33:48]SAM_PROTO_GetFieldsCounters [05:33:48]wFMCommunicate request_size=4 [05:33:48]MH_SAM_APDU [05:33:48]CAPDU: 80 13 00 00 [05:33:48]Write to MH i2c: E2 08 00 78 02 80 13 00 00 00 00 00 00 F6 [05:33:48]Write i2c OK [05:33:48]MH_I2C_Read... [05:33:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:33:49]Read from MH i2c: E2 [05:33:49]MH_I2C_Read... [05:33:49]Read from MH i2c: E2 62 00 [05:33:49]MH_I2C_Read... [05:33:49]Read from MH i2c: E2 62 00 78 02 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 3A 93 00 00 0E 04 04 00 26 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 3C [05:33: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 3A 93 00 00 0E 04 04 00 26 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 [05:33:49]wFMCommunicate OK [05:33:49]SAM_PROTO_GetFieldsCounters done [05:33:49]requested_item shift.num is exist - process it [05:33:49]requested_item shift.opened is exist - process it [05:33:49]req_shift_opened [05:33:49]FM_GetShiftState [05:33:49]SAM_PROTO_GetShiftState [05:33:49]wFMCommunicate request_size=4 [05:33:49]MH_SAM_APDU [05:33:49]CAPDU: 80 13 01 00 [05:33:49]Write to MH i2c: E2 08 00 79 02 80 13 01 00 00 00 00 00 F8 [05:33:49]Write i2c OK [05:33:49]MH_I2C_Read... [05:33:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:33:49]Read from MH i2c: E2 [05:33:49]MH_I2C_Read... [05:33:49]Read from MH i2c: E2 0E 00 [05:33:49]MH_I2C_Read... [05:33:49]Read from MH i2c: E2 0E 00 79 02 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 AF [05:33:49]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [05:33:49]wFMCommunicate OK [05:33:49]SAM_PROTO_GetShiftState done [05:33:49]FM_GetShiftState done [05:33:49]req_shift_opened done [05:33:49]requested_item shift.open_date is exist - process it [05:33:49]req_shift_open_date [05:33:49]req_shift_open_date done [05:33:49]produce_requested_data done [05:33:49]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37690,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [05:33:49]process_action_free close_receipt [05:33:49]json_value_free [05:33:49]json_value_free done [05:33:49]process_json_proto returns [05:33:49]Send response to host [05:33:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37690,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [05:33:49]free response buf [05:33:49]execute_script done [05:33:49]execute_script returns [05:33:49]free content buf [05:33:49]Sock 9.Close socket [05:33:49]Sock 9.Thread stoped [05:33:52]OFD Sender: No OFD packet to send [05:33:57]OFD Sender: No OFD packet to send [05:34:02]OFD Sender: No OFD packet to send [05:34:07]OFD Sender: No OFD packet to send [05:34:12]OFD Sender: No OFD packet to send [05:34:17]OFD Sender: No OFD packet to send [05:34:22]OFD Sender: No OFD packet to send [05:34:27]OFD Sender: No OFD packet to send [05:34:32]OFD Sender: No OFD packet to send [05:34:37]OFD Sender: No OFD packet to send [05:34:42]OFD Sender: No OFD packet to send [05:34:47]OFD Sender: No OFD packet to send [05:34:51]accept exits with 7 [05:34:51]New connection [05:34:51]New thread 3067440484 created [05:34:51]Thread 3067297124 joined [05:34:51]Waiting for new connection... [05:34:51] Sock 7.Parse request [05:34:51]Sock 7.Check first char [05:34:51]Sock 7.First char is OK [05:34:51]request: POST /json_proto HTTP/1.0 [05:34:51]Method: POST [05:34:51]URL: /json_proto [05:34:51]Method is POST - this is cgi request [05:34:51]url: /json_proto [05:34:51]query_string will be loaded in cgi processing [05:34:51]execute_cgi json_proto POST (null) [05:34:51]execute_cgi path=json_proto method=POST [05:34:51]POST find Content-Length [05:34:51]Host: 172.17.40.196:8080 [05:34:51]Content-Length: 644 [05:34:51]Content-Type: application/json [05:34:51] [05:34:51]POST finish read [05:34:51]Found Content-Length = 644 [05:34:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34989", "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" ] } } [05:34:51]execute_script... [05:34: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)34989", "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" ] } } [05:34:51]POST & json_proto [05:34:51]process_json_proto [05:34:51]json parsed OK: [05:34:51]protocol is kg_v1.0 [05:34:51]action value=close_receipt [05:34:51]process_action close_receipt [05:34:51]cmd_close_receipt [05:34:51]MH_GetDate [05:34:51]Write to MH i2c: F0 00 00 7A 02 6B [05:34:51]Write i2c OK [05:34:51]MH_I2C_Read... [05:34:51]Read from MH i2c: F0 [05:34:51]MH_I2C_Read... [05:34:51]Read from MH i2c: F0 09 00 [05:34:51]MH_I2C_Read... [05:34:51]Read from MH i2c: F0 09 00 7A 02 00 FC D0 1D 67 5B 68 A1 66 8E [05:34:51]GetLastDocTimeStamp 1730007225 [05:34:51]current date 1730007292 [05:34:51]FM_GetShiftState [05:34:51]SAM_PROTO_GetShiftState [05:34:51]wFMCommunicate request_size=4 [05:34:51]MH_SAM_APDU [05:34:51]CAPDU: 80 13 01 00 [05:34:51]Write to MH i2c: E2 08 00 7B 02 80 13 01 00 00 00 00 00 FA [05:34:51]Write i2c OK [05:34:51]MH_I2C_Read... [05:34:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:34:51]Read from MH i2c: E2 [05:34:51]MH_I2C_Read... [05:34:51]Read from MH i2c: E2 0E 00 [05:34:51]MH_I2C_Read... [05:34:51]Read from MH i2c: E2 0E 00 7B 02 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 B1 [05:34:51]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [05:34:51]wFMCommunicate OK [05:34:51]SAM_PROTO_GetShiftState done [05:34:51]FM_GetShiftState done [05:34:51]opened in 1729987492 [05:34:51]opened+sec_in_day 1730073892 [05:34:51]quantity*price = 6500 [05:34:51]sum+1 = 6501 [05:34:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 17 27.10.2024 05:34 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37691 ФПД: 269317850656042 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T053452&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37691&fm=269317850656042&tin=02508201610067®Number=0000000000091684&sum=6500 0 [05:34:52]StoreToDocumentArchive [05:34:52]shift 550 fd 37691 [05:34:52]save to /storage/0550/doc_00037691 [05:34:52]save last doc name /storage/0550/doc_00037691 to /storage/kkm_last_doc_name [05:34:52]save OK [05:34:52]Clear old archive folders... [05:34:52]ProcessDocumentItem done err = 0, tmpTLVsize=272 [05:34:52]tlvbuf is 00274D10 [05:34:52]SAM_PROTO_ClearQueue [05:34:52]wFMCommunicate request_size=4 [05:34:52]MH_SAM_APDU [05:34:52]CAPDU: 80 09 00 00 [05:34:52]Write to MH i2c: E2 08 00 88 02 80 09 00 00 00 00 00 00 FC [05:34:52]Write i2c OK [05:34:52]MH_I2C_Read... [05:34:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:34:52]Read from MH i2c: E2 [05:34:52]MH_I2C_Read... [05:34:52]Read from MH i2c: E2 03 00 [05:34:52]MH_I2C_Read... [05:34:52]Read from MH i2c: E2 03 00 88 02 00 90 00 FE [05:34:52]RAPDU: 90 00 [05:34:52]wFMCommunicate OK [05:34:52]SAM_PROTO_ClearQueue done [05:34:52]KKMCreateOFDPacket [05:34:52]OFDProtocolAddRootSTLVToBuf [05:34:52]FM_MakeSignedData [05:34:52]FM_MakeSignedData [05:34:52]SAM_PROTO_SignData [05:34:52]wFMCommunicate request_size=4 [05:34:52]MH_SAM_APDU [05:34:52]CAPDU: 80 0D 01 02 [05:34:52]Write to MH i2c: E2 08 00 89 02 80 0D 01 02 00 00 00 00 04 [05:34:52]Write i2c OK [05:34:52]MH_I2C_Read... [05:34:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:34:52]Read from MH i2c: E2 [05:34:52]MH_I2C_Read... [05:34:52]Read from MH i2c: E2 03 00 [05:34:52]MH_I2C_Read... [05:34:52]Read from MH i2c: E2 03 00 89 02 00 90 00 FF [05:34:52]RAPDU: 90 00 [05:34:52]wFMCommunicate OK [05:34:52]wFMCommunicate request_size=255 [05:34:52]MH_SAM_APDU [05:34:52]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 11 00 00 00 F4 03 04 00 FC D0 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [05:34:52]Write to MH i2c: E2 02 01 8A 02 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 11 00 00 00 F4 03 04 00 FC D0 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 DC [05:34:52]Write i2c OK [05:34:52]MH_I2C_Read... [05:34:52]OFD Sender: No OFD packet to send [05:34:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:34:53]Read from MH i2c: E2 [05:34:53]MH_I2C_Read... [05:34:53]Read from MH i2c: E2 03 00 [05:34:53]MH_I2C_Read... [05:34:53]Read from MH i2c: E2 03 00 8A 02 00 90 00 00 [05:34:53]RAPDU: 90 00 [05:34:53]wFMCommunicate OK [05:34:53]wFMCommunicate request_size=31 [05:34:53]MH_SAM_APDU [05:34:53]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 3B 93 00 00 35 04 06 00 F4 F1 72 D1 ED 2A [05:34:53]Write to MH i2c: E2 22 00 8B 02 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 3B 93 00 00 35 04 06 00 F4 F1 72 D1 ED 2A 00 00 3C [05:34:53]Write i2c OK [05:34:53]MH_I2C_Read... [05:34:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:34:53]Read from MH i2c: E2 [05:34:53]MH_I2C_Read... [05:34:53]Read from MH i2c: E2 03 00 [05:34:53]MH_I2C_Read... [05:34:53]Read from MH i2c: E2 03 00 8B 02 00 90 00 01 [05:34:53]RAPDU: 90 00 [05:34:53]wFMCommunicate OK [05:34:53]wFMCommunicate request_size=4 [05:34:53]MH_SAM_APDU [05:34:53]CAPDU: 80 0D 03 02 [05:34:53]Write to MH i2c: E2 08 00 8C 02 80 0D 03 02 00 00 00 00 09 [05:34:53]Write i2c OK [05:34:53]MH_I2C_Read... [05:34:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:34:53]Read from MH i2c: E2 [05:34:53]MH_I2C_Read... [05:34:53]Read from MH i2c: E2 0B 00 [05:34:53]MH_I2C_Read... [05:34:53]Read from MH i2c: E2 0B 00 8C 02 00 16 70 36 9A 04 A6 F4 8D 90 00 8B [05:34:53]RAPDU: 16 70 36 9A 04 A6 F4 8D 90 00 [05:34:53]wFMCommunicate OK [05:34:53]SAM_PROTO_SignData done [05:34:53]FM_MakeSignedData done [05:34:53]CreateOFDProtocolMessage [05:34:53]wFMCommunicate request_size=4 [05:34:53]MH_SAM_APDU [05:34:53]CAPDU: 80 11 00 00 [05:34:53]Write to MH i2c: E2 08 00 8D 02 80 11 00 00 00 00 00 00 09 [05:34:53]Write i2c OK [05:34:53]MH_I2C_Read... [05:34:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:34:53]Read from MH i2c: E2 [05:34:53]MH_I2C_Read... [05:34:53]Read from MH i2c: E2 17 00 [05:34:53]MH_I2C_Read... [05:34:53]Read from MH i2c: E2 17 00 8D 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 59 [05:34:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [05:34:53]wFMCommunicate OK [05:34:53]CreateOFDProtocolMessage done [05:34:53]OFDSenderStorePacket 37691 [05:34:53]StoreOFDPacket docnum=37691 [05:34: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 24 01 00 00 34 92 1C 01 D3 CF 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 11 00 00 00 F4 03 04 00 FC D0 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 3B 93 00 00 35 04 06 00 F4 F1 72 D1 ED 2A 16 70 36 9A 04 A6 F4 8D [05:34:53]CheckFolder [05:34:53]dirname=/storage/ofd_packets [05:34:53]CheckFolder done [05:34:53]ProducePacketName [05:34:53]name=ofd_packets/00037691 [05:34:53]NVStorageSaveData ofd_packets/00037691 [05:34:53]File name is /storage/ofd_packets/00037691 [05:34:53]Write 322 bytes [05:34:53]NVStorageSaveData done [05:34:53]OFDSenderStorePacket done [05:34:53]KKMCreateOFDPacket done [05:34:53]NVStorageSaveData kkm_last_timestamp [05:34:53]File name is /storage/kkm_last_timestamp [05:34:53]Write 4 bytes [05:34:53]NVStorageSaveData done [05:34:53]ExternCall_PrintAddStr [05:34:53]wPrintStart [05:34:53]Write to MH i2c: 01 00 00 8E 02 90 [05:34:53]Write i2c OK [05:34:53]MH_I2C_Read... [05:34:53]Read from MH i2c: 01 [05:34:53]MH_I2C_Read... [05:34:53]Read from MH i2c: 01 07 00 [05:34:53]MH_I2C_Read... [05:34:53]Read from MH i2c: 01 07 00 8E 02 00 00 00 00 00 FF 0F A5 [05:34:53]RasterBufferAndPrint [05:34:53]line Счет N : (3)34989 [05:34:53]line ИНН: 02508201610067 [05:34:53]line Контрольно-Кассовый Чек [05:34:53]line ПРОДАЖА [05:34:53]line Товар: 47011656 [05:34:53]line Водка Пшеничная 0,1л [05:34:53]line 1.000 * 65.00 [05:34:53]line = 65.00 [05:34:53]line НДС 12% НСП 1% [05:34:53]line > о реализуемом товаре [05:34:53]line ИТОГО: 65.00 [05:34:53]line НСП 1% : 0.57 [05:34:53]line НДС 12% : 6.90 [05:34:53]line Наличными: 65.00 [05:34:53]line Безнал.: 0.00 [05:34:53]line Место: АЗС № 126 "Партнер Нефть" [05:34:53]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [05:34:53]line СНО: Общий режим [05:34:53]line Чек 17 27.10.2024 05:34 [05:34:53]line Смена: 550 ФФД: 1.0 [05:34:53]line ЗНМ: 0300000092 [05:34:53]line РНМ: 0000000000091684 [05:34:53]line Версия ККМ: 001 [05:34:53]line ФМ: 0000000000871841 [05:34:53]line ФД: 37691 [05:34:53]line ФПД: 269317850656042 [05:34:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T053452&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37691&fm=269317850656042&tin=02508201610067®Number=0000000000091684&sum=6500 [05:34:53]line 0 [05:34:53]written 0, free lines is 4095 [05:34:53]OFD Sender: Processing packet 37691 [packets to send 42, broken 41] [05:34:53]ProducePacketName [05:34:53]name=ofd_packets/00037691 [05:34:53]OFD Sender: To server: pG, [05:34:53]CommunicateWithHost lk.salyk.kg:30040 [05:34:53]ConnectInit lk.salyk.kg [05:34:53]Connected sock=10 [05:34: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 24 01 00 00 34 92 1C 01 D3 CF 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 11 00 00 00 F4 03 04 00 FC D0 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 3B 93 00 00 35 04 06 00 F4 F1 72 D1 ED 2A 16 70 36 9A 04 A6 F4 8D [05:34:53]Write to MH i2c: 01 00 00 B6 02 B8 [05:34:53]Write i2c OK [05:34:53]MH_I2C_Read... [05:34:53]Read from MH i2c: 01 [05:34:53]MH_I2C_Read... [05:34:53]Read from MH i2c: 01 07 00 [05:34:53]MH_I2C_Read... [05:34:53]Read from MH i2c: 01 07 00 B6 02 00 00 00 00 00 CE 0C 99 [05:34:53]RasterBufferAndPrint [05:34:53]line [05:34:53]line [05:34:53]line [05:34:53]line [05:34:53]line [05:34:53]written 0, free lines is 3283 [05:34:53]MH_Cut [05:34:53]Write to MH i2c: D1 01 00 BD 02 01 91 [05:34:53]Write i2c OK [05:34:53]MH_I2C_Read... [05:34:53]Read from MH i2c: D1 [05:34:53]MH_I2C_Read... [05:34:53]Read from MH i2c: D1 01 00 [05:34:53]MH_I2C_Read... [05:34:53]Read from MH i2c: D1 01 00 BD 02 00 90 [05:34:53]Write to MH i2c: 01 00 00 BE 02 C0 [05:34:53]Write i2c OK [05:34:53]MH_I2C_Read... [05:34: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 1A DF 47 00 53 2C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 3B 93 00 00 F4 03 04 00 F5 7B 1D 67 B6 04 01 00 00 A4 26 03 1E 9E 80 60 CB [05:34:54]CommunicateWithHost err = 0 [05:34:54]CheckOFDResponse [05:34:54]1017 (14) - 77093643461234 [05:34:54]1041 (16) - 0000000000871841 [05:34:54]1040 (4) - 37691 [05:34:54]1012 (4) - 26.10.2024 23:32 [05:34:54]1206 (1) - 0 [05:34:54]OFD Sender: Remove packet 37691 [05:34:54]ProducePacketName [05:34:54]name=ofd_packets/00037691 [05:34:54]NVStorageDeleteData [05:34:54]OFD Sender: No OFD packet to send [05:34:54]*** Cut start [05:34:54]*** Partial cut [05:34:54]*** CUTSNS_PIN = 1 [05:34:54]*** CUTSNS_PIN = 0 [05:34:55]*** Brake cut motor [05:34:55]Read from MH i2c: 01 [05:34:55]MH_I2C_Read... [05:34:55]*** Stop cut motor [05:34:55]*** Cut end [05:34:55]Read from MH i2c: 01 07 00 [05:34:55]MH_I2C_Read... [05:34:55]Read from MH i2c: 01 07 00 BE 02 00 00 00 00 00 FF 0F D5 [05:34:55]process_action close_receipt done [05:34:55]requested_data is exist [05:34:55]produce_requested_data [05:34:55]requested_item fm.sn is exist - process it [05:34:55]wFMCommunicate request_size=4 [05:34:55]MH_SAM_APDU [05:34:55]CAPDU: 80 11 00 00 [05:34:55]Write to MH i2c: E2 08 00 BF 02 80 11 00 00 00 00 00 00 3B [05:34:55]Write i2c OK [05:34:55]MH_I2C_Read... [05:34:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:34:55]Read from MH i2c: E2 [05:34:55]MH_I2C_Read... [05:34:55]Read from MH i2c: E2 17 00 [05:34:55]MH_I2C_Read... [05:34:55]Read from MH i2c: E2 17 00 BF 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 8B [05:34:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [05:34:55]wFMCommunicate OK [05:34:55]requested_item fd.num is exist - process it [05:34:55]SAM_PROTO_GetFieldsCounters [05:34:55]wFMCommunicate request_size=4 [05:34:55]MH_SAM_APDU [05:34:55]CAPDU: 80 13 00 00 [05:34:55]Write to MH i2c: E2 08 00 C0 02 80 13 00 00 00 00 00 00 3E [05:34:55]Write i2c OK [05:34:55]MH_I2C_Read... [05:34:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:34:55]Read from MH i2c: E2 [05:34:55]MH_I2C_Read... [05:34:55]Read from MH i2c: E2 62 00 [05:34:55]MH_I2C_Read... [05:34:55]Read from MH i2c: E2 62 00 C0 02 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 3B 93 00 00 0E 04 04 00 26 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 88 [05:34: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 3B 93 00 00 0E 04 04 00 26 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 [05:34:55]wFMCommunicate OK [05:34:55]SAM_PROTO_GetFieldsCounters done [05:34:55]requested_item shift.num is exist - process it [05:34:55]requested_item shift.opened is exist - process it [05:34:55]req_shift_opened [05:34:55]FM_GetShiftState [05:34:55]SAM_PROTO_GetShiftState [05:34:55]wFMCommunicate request_size=4 [05:34:55]MH_SAM_APDU [05:34:55]CAPDU: 80 13 01 00 [05:34:55]Write to MH i2c: E2 08 00 C1 02 80 13 01 00 00 00 00 00 40 [05:34:55]Write i2c OK [05:34:55]MH_I2C_Read... [05:34:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:34:55]Read from MH i2c: E2 [05:34:55]MH_I2C_Read... [05:34:55]Read from MH i2c: E2 0E 00 [05:34:55]MH_I2C_Read... [05:34:55]Read from MH i2c: E2 0E 00 C1 02 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 F7 [05:34:55]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [05:34:55]wFMCommunicate OK [05:34:55]SAM_PROTO_GetShiftState done [05:34:55]FM_GetShiftState done [05:34:55]req_shift_opened done [05:34:55]requested_item shift.open_date is exist - process it [05:34:55]req_shift_open_date [05:34:55]req_shift_open_date done [05:34:55]produce_requested_data done [05:34:55]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37691,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [05:34:55]process_action_free close_receipt [05:34:55]json_value_free [05:34:55]json_value_free done [05:34:55]process_json_proto returns [05:34:55]Send response to host [05:34:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37691,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [05:34:55]free response buf [05:34:55]execute_script done [05:34:55]execute_script returns [05:34:55]free content buf [05:34:55]Sock 7.Close socket [05:34:55]Sock 7.Thread stoped [05:34:59]OFD Sender: No OFD packet to send [05:35:04]OFD Sender: No OFD packet to send [05:35:09]OFD Sender: No OFD packet to send [05:35:14]OFD Sender: No OFD packet to send [05:35:19]OFD Sender: No OFD packet to send [05:35:24]OFD Sender: No OFD packet to send [05:35:29]OFD Sender: No OFD packet to send [05:35:34]OFD Sender: No OFD packet to send [05:35:39]OFD Sender: No OFD packet to send [05:35:44]OFD Sender: No OFD packet to send [05:35:49]OFD Sender: No OFD packet to send [05:35:54]OFD Sender: No OFD packet to send [05:35:59]OFD Sender: No OFD packet to send [05:36:04]OFD Sender: No OFD packet to send [05:36:09]OFD Sender: No OFD packet to send [05:36:14]OFD Sender: No OFD packet to send [05:36:19]OFD Sender: No OFD packet to send [05:36:24]OFD Sender: No OFD packet to send [05:36:29]OFD Sender: No OFD packet to send [05:36:34]OFD Sender: No OFD packet to send [05:36:39]OFD Sender: No OFD packet to send [05:36:44]OFD Sender: No OFD packet to send [05:36:49]OFD Sender: No OFD packet to send [05:36:54]OFD Sender: No OFD packet to send [05:36:59]OFD Sender: No OFD packet to send [05:37:04]OFD Sender: No OFD packet to send [05:37:09]OFD Sender: No OFD packet to send [05:37:14]OFD Sender: No OFD packet to send [05:37:19]OFD Sender: No OFD packet to send [05:37:24]OFD Sender: No OFD packet to send [05:37:29]OFD Sender: No OFD packet to send [05:37:34]OFD Sender: No OFD packet to send [05:37:39]OFD Sender: No OFD packet to send [05:37:44]OFD Sender: No OFD packet to send [05:37:49]OFD Sender: No OFD packet to send [05:37:54]OFD Sender: No OFD packet to send [05:37:59]OFD Sender: No OFD packet to send [05:38:04]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:49]OFD Sender: No OFD packet to send [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:55]OFD Sender: No OFD packet to send [05:43:00]OFD Sender: No OFD packet to send [05:43:05]OFD Sender: No OFD packet to send [05:43:10]OFD Sender: No OFD packet to send [05:43:15]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:51]OFD Sender: No OFD packet to send [06:01:56]OFD Sender: No OFD packet to send [06:02:01]OFD Sender: No OFD packet to send [06:02:06]OFD Sender: No OFD packet to send [06:02:11]OFD Sender: No OFD packet to send [06:02:16]OFD Sender: No OFD packet to send [06:02:21]OFD Sender: No OFD packet to send [06:02:26]OFD Sender: No OFD packet to send [06:02:31]OFD Sender: No OFD packet to send [06:02:36]OFD Sender: No OFD packet to send [06:02:41]OFD Sender: No OFD packet to send [06:02:46]OFD Sender: No OFD packet to send [06:02:51]OFD Sender: No OFD packet to send [06:02:56]OFD Sender: No OFD packet to send [06:03:01]OFD Sender: No OFD packet to send [06:03:06]OFD Sender: No OFD packet to send [06:03:11]OFD Sender: No OFD packet to send [06:03:16]OFD Sender: No OFD packet to send [06:03:21]OFD Sender: No OFD packet to send [06:03:26]OFD Sender: No OFD packet to send [06:03:31]OFD Sender: No OFD packet to send [06:03:36]OFD Sender: No OFD packet to send [06:03:41]OFD Sender: No OFD packet to send [06:03:46]OFD Sender: No OFD packet to send [06:03:51]OFD Sender: No OFD packet to send [06:03:56]OFD Sender: No OFD packet to send [06:04:01]OFD Sender: No OFD packet to send [06:04:06]OFD Sender: No OFD packet to send [06:04:11]OFD Sender: No OFD packet to send [06:04:16]OFD Sender: No OFD packet to send [06:04:21]OFD Sender: No OFD packet to send [06:04:26]OFD Sender: No OFD packet to send [06:04:31]OFD Sender: No OFD packet to send [06:04:36]OFD Sender: No OFD packet to send [06:04:41]OFD Sender: No OFD packet to send [06:04:46]OFD Sender: No OFD packet to send [06:04:51]OFD Sender: No OFD packet to send [06:04:56]OFD Sender: No OFD packet to send [06:05:01]OFD Sender: No OFD packet to send [06:05:06]OFD Sender: No OFD packet to send [06:05:11]OFD Sender: No OFD packet to send [06:05:16]OFD Sender: No OFD packet to send [06:05:21]OFD Sender: No OFD packet to send [06:05:26]OFD Sender: No OFD packet to send [06:05:31]OFD Sender: No OFD packet to send [06:05:36]OFD Sender: No OFD packet to send [06:05:41]OFD Sender: No OFD packet to send [06:05:46]OFD Sender: No OFD packet to send [06:05:51]OFD Sender: No OFD packet to send [06:05:56]OFD Sender: No OFD packet to send [06:06:01]OFD Sender: No OFD packet to send [06:06:06]OFD Sender: No OFD packet to send [06:06:11]OFD Sender: No OFD packet to send [06:06:16]OFD Sender: No OFD packet to send [06:06:21]OFD Sender: No OFD packet to send [06:06:26]OFD Sender: No OFD packet to send [06:06:31]OFD Sender: No OFD packet to send [06:06:36]OFD Sender: No OFD packet to send [06:06:41]OFD Sender: No OFD packet to send [06:06:46]OFD Sender: No OFD packet to send [06:06:51]OFD Sender: No OFD packet to send [06:06:56]OFD Sender: No OFD packet to send [06:07:01]OFD Sender: No OFD packet to send [06:07:06]OFD Sender: No OFD packet to send [06:07:11]OFD Sender: No OFD packet to send [06:07:16]OFD Sender: No OFD packet to send [06:07:21]OFD Sender: No OFD packet to send [06:07:26]OFD Sender: No OFD packet to send [06:07:31]OFD Sender: No OFD packet to send [06:07:36]OFD Sender: No OFD packet to send [06:07:41]OFD Sender: No OFD packet to send [06:07:46]OFD Sender: No OFD packet to send [06:07:51]OFD Sender: No OFD packet to send [06:07:56]OFD Sender: No OFD packet to send [06:08:01]OFD Sender: No OFD packet to send [06:08:06]OFD Sender: No OFD packet to send [06:08:11]OFD Sender: No OFD packet to send [06:08:16]OFD Sender: No OFD packet to send [06:08:21]OFD Sender: No OFD packet to send [06:08:26]OFD Sender: No OFD packet to send [06:08:31]OFD Sender: No OFD packet to send [06:08:36]OFD Sender: No OFD packet to send [06:08:41]OFD Sender: No OFD packet to send [06:08:46]OFD Sender: No OFD packet to send [06:08:51]OFD Sender: No OFD packet to send [06:08:56]OFD Sender: No OFD packet to send [06:09:01]OFD Sender: No OFD packet to send [06:09:06]OFD Sender: No OFD packet to send [06:09:11]OFD Sender: No OFD packet to send [06:09:16]OFD Sender: No OFD packet to send [06:09:21]OFD Sender: No OFD packet to send [06:09:26]OFD Sender: No OFD packet to send [06:09:31]OFD Sender: No OFD packet to send [06:09:36]OFD Sender: No OFD packet to send [06:09:41]OFD Sender: No OFD packet to send [06:09:46]OFD Sender: No OFD packet to send [06:09:51]OFD Sender: No OFD packet to send [06:09:56]OFD Sender: No OFD packet to send [06:10:01]OFD Sender: No OFD packet to send [06:10:06]OFD Sender: No OFD packet to send [06:10:11]OFD Sender: No OFD packet to send [06:10:16]OFD Sender: No OFD packet to send [06:10:21]OFD Sender: No OFD packet to send [06:10:26]OFD Sender: No OFD packet to send [06:10:31]OFD Sender: No OFD packet to send [06:10:36]OFD Sender: No OFD packet to send [06:10:41]OFD Sender: No OFD packet to send [06:10:46]OFD Sender: No OFD packet to send [06:10:51]OFD Sender: No OFD packet to send [06:10:56]OFD Sender: No OFD packet to send [06:11:01]OFD Sender: No OFD packet to send [06:11:06]OFD Sender: No OFD packet to send [06:11:11]OFD Sender: No OFD packet to send [06:11:16]OFD Sender: No OFD packet to send [06:11:21]OFD Sender: No OFD packet to send [06:11:26]OFD Sender: No OFD packet to send [06:11:31]OFD Sender: No OFD packet to send [06:11:36]OFD Sender: No OFD packet to send [06:11:41]OFD Sender: No OFD packet to send [06:11:46]OFD Sender: No OFD packet to send [06:11:51]OFD Sender: No OFD packet to send [06:11:56]OFD Sender: No OFD packet to send [06:12:01]OFD Sender: No OFD packet to send [06:12:06]OFD Sender: No OFD packet to send [06:12:11]OFD Sender: No OFD packet to send [06:12:16]OFD Sender: No OFD packet to send [06:12:21]OFD Sender: No OFD packet to send [06:12:26]OFD Sender: No OFD packet to send [06:12:31]OFD Sender: No OFD packet to send [06:12:36]OFD Sender: No OFD packet to send [06:12:41]OFD Sender: No OFD packet to send [06:12:46]OFD Sender: No OFD packet to send [06:12:51]OFD Sender: No OFD packet to send [06:12:56]OFD Sender: No OFD packet to send [06:13:01]OFD Sender: No OFD packet to send [06:13:06]OFD Sender: No OFD packet to send [06:13:11]OFD Sender: No OFD packet to send [06:13:16]OFD Sender: No OFD packet to send [06:13:21]OFD Sender: No OFD packet to send [06:13:26]OFD Sender: No OFD packet to send [06:13:31]OFD Sender: No OFD packet to send [06:13:36]OFD Sender: No OFD packet to send [06:13:41]OFD Sender: No OFD packet to send [06:13:46]OFD Sender: No OFD packet to send [06:13:51]OFD Sender: No OFD packet to send [06:13:56]OFD Sender: No OFD packet to send [06:14:01]OFD Sender: No OFD packet to send [06:14:06]OFD Sender: No OFD packet to send [06:14:11]OFD Sender: No OFD packet to send [06:14:16]OFD Sender: No OFD packet to send [06:14:21]OFD Sender: No OFD packet to send [06:14:26]OFD Sender: No OFD packet to send [06:14:31]OFD Sender: No OFD packet to send [06:14:36]OFD Sender: No OFD packet to send [06:14:41]OFD Sender: No OFD packet to send [06:14:46]OFD Sender: No OFD packet to send [06:14:51]OFD Sender: No OFD packet to send [06:14:56]OFD Sender: No OFD packet to send [06:15:01]OFD Sender: No OFD packet to send [06:15:06]OFD Sender: No OFD packet to send [06:15:11]OFD Sender: No OFD packet to send [06:15:16]OFD Sender: No OFD packet to send [06:15:21]OFD Sender: No OFD packet to send [06:15:26]OFD Sender: No OFD packet to send [06:15:31]OFD Sender: No OFD packet to send [06:15:36]OFD Sender: No OFD packet to send [06:15:41]OFD Sender: No OFD packet to send [06:15:46]OFD Sender: No OFD packet to send [06:15: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:37]OFD Sender: No OFD packet to send [06:20:42]OFD Sender: No OFD packet to send [06:20:47]OFD Sender: No OFD packet to send [06:20:52]OFD Sender: No OFD packet to send [06:20:57]OFD Sender: No OFD packet to send [06:21:02]OFD Sender: No OFD packet to send [06:21:07]OFD Sender: No OFD packet to send [06:21:12]OFD Sender: No OFD packet to send [06:21:17]OFD Sender: No OFD packet to send [06:21:22]OFD Sender: No OFD packet to send [06:21:27]OFD Sender: No OFD packet to send [06:21:32]OFD Sender: No OFD packet to send [06:21:37]OFD Sender: No OFD packet to send [06:21:42]OFD Sender: No OFD packet to send [06:21:47]OFD Sender: No OFD packet to send [06:21:52]OFD Sender: No OFD packet to send [06:21:57]OFD Sender: No OFD packet to send [06:22:02]OFD Sender: No OFD packet to send [06:22:07]OFD Sender: No OFD packet to send [06:22:12]OFD Sender: No OFD packet to send [06:22:17]OFD Sender: No OFD packet to send [06:22:22]OFD Sender: No OFD packet to send [06:22:27]OFD Sender: No OFD packet to send [06:22:32]OFD Sender: No OFD packet to send [06:22:37]OFD Sender: No OFD packet to send [06:22:42]OFD Sender: No OFD packet to send [06:22:47]OFD Sender: No OFD packet to send [06:22:52]OFD Sender: No OFD packet to send [06:22:57]OFD Sender: No OFD packet to send [06:23:02]OFD Sender: No OFD packet to send [06:23:07]OFD Sender: No OFD packet to send [06:23:12]OFD Sender: No OFD packet to send [06:23:17]OFD Sender: No OFD packet to send [06:23:22]OFD Sender: No OFD packet to send [06:23:27]OFD Sender: No OFD packet to send [06:23:32]OFD Sender: No OFD packet to send [06:23:37]OFD Sender: No OFD packet to send [06:23:42]OFD Sender: No OFD packet to send [06:23:47]OFD Sender: No OFD packet to send [06:23:52]OFD Sender: No OFD packet to send [06:23:57]OFD Sender: No OFD packet to send [06:24:02]OFD Sender: No OFD packet to send [06:24:07]OFD Sender: No OFD packet to send [06:24:12]OFD Sender: No OFD packet to send [06:24:17]OFD Sender: No OFD packet to send [06:24:22]OFD Sender: No OFD packet to send [06:24:27]OFD Sender: No OFD packet to send [06:24:32]OFD Sender: No OFD packet to send [06:24:37]OFD Sender: No OFD packet to send [06:24:42]OFD Sender: No OFD packet to send [06:24:47]OFD Sender: No OFD packet to send [06:24:52]OFD Sender: No OFD packet to send [06:24:57]OFD Sender: No OFD packet to send [06:25:02]OFD Sender: No OFD packet to send [06:25:07]OFD Sender: No OFD packet to send [06:25:12]OFD Sender: No OFD packet to send [06:25:17]OFD Sender: No OFD packet to send [06:25:22]OFD Sender: No OFD packet to send [06:25:27]OFD Sender: No OFD packet to send [06:25:32]OFD Sender: No OFD packet to send [06:25:37]OFD Sender: No OFD packet to send [06:25:42]OFD Sender: No OFD packet to send [06:25:47]OFD Sender: No OFD packet to send [06:25:52]OFD Sender: No OFD packet to send [06:25:57]OFD Sender: No OFD packet to send [06:26:02]OFD Sender: No OFD packet to send [06:26:07]OFD Sender: No OFD packet to send [06:26:12]OFD Sender: No OFD packet to send [06:26:17]OFD Sender: No OFD packet to send [06:26:22]OFD Sender: No OFD packet to send [06:26:27]OFD Sender: No OFD packet to send [06:26:32]OFD Sender: No OFD packet to send [06:26:37]OFD Sender: No OFD packet to send [06:26:42]OFD Sender: No OFD packet to send [06:26:47]OFD Sender: No OFD packet to send [06:26:52]OFD Sender: No OFD packet to send [06:26:57]OFD Sender: No OFD packet to send [06:27:02]OFD Sender: No OFD packet to send [06:27:07]OFD Sender: No OFD packet to send [06:27:12]OFD Sender: No OFD packet to send [06:27:17]OFD Sender: No OFD packet to send [06:27:22]OFD Sender: No OFD packet to send [06:27:27]OFD Sender: No OFD packet to send [06:27:32]OFD Sender: No OFD packet to send [06:27:37]OFD Sender: No OFD packet to send [06:27:42]OFD Sender: No OFD packet to send [06:27:47]OFD Sender: No OFD packet to send [06:27:52]OFD Sender: No OFD packet to send [06:27:57]OFD Sender: No OFD packet to send [06:28:02]OFD Sender: No OFD packet to send [06:28:07]OFD Sender: No OFD packet to send [06:28:12]OFD Sender: No OFD packet to send [06:28:17]OFD Sender: No OFD packet to send [06:28:22]OFD Sender: No OFD packet to send [06:28:27]OFD Sender: No OFD packet to send [06:28:32]OFD Sender: No OFD packet to send [06:28:37]OFD Sender: No OFD packet to send [06:28:42]OFD Sender: No OFD packet to send [06:28:47]OFD Sender: No OFD packet to send [06:28:52]OFD Sender: No OFD packet to send [06:28:57]OFD Sender: No OFD packet to send [06:29:02]OFD Sender: No OFD packet to send [06:29:07]OFD Sender: No OFD packet to send [06:29:12]OFD Sender: No OFD packet to send [06:29:17]OFD Sender: No OFD packet to send [06:29:22]OFD Sender: No OFD packet to send [06:29:27]OFD Sender: No OFD packet to send [06:29:32]OFD Sender: No OFD packet to send [06:29:37]OFD Sender: No OFD packet to send [06:29:42]OFD Sender: No OFD packet to send [06:29:47]OFD Sender: No OFD packet to send [06:29:52]OFD Sender: No OFD packet to send [06:29:57]OFD Sender: No OFD packet to send [06:30:02]OFD Sender: No OFD packet to send [06:30:07]OFD Sender: No OFD packet to send [06:30:12]OFD Sender: No OFD packet to send [06:30:17]OFD Sender: No OFD packet to send [06:30:22]OFD Sender: No OFD packet to send [06:30:27]OFD Sender: No OFD packet to send [06:30:32]OFD Sender: No OFD packet to send [06:30:37]OFD Sender: No OFD packet to send [06:30:42]OFD Sender: No OFD packet to send [06:30:47]OFD Sender: No OFD packet to send [06:30:52]OFD Sender: No OFD packet to send [06:30:57]OFD Sender: No OFD packet to send [06:31:02]OFD Sender: No OFD packet to send [06:31:07]OFD Sender: No OFD packet to send [06:31:12]OFD Sender: No OFD packet to send [06:31:17]OFD Sender: No OFD packet to send [06:31:22]OFD Sender: No OFD packet to send [06:31:27]OFD Sender: No OFD packet to send [06:31:32]OFD Sender: No OFD packet to send [06:31:37]OFD Sender: No OFD packet to send [06:31:42]OFD Sender: No OFD packet to send [06:31:47]OFD Sender: No OFD packet to send [06:31:52]OFD Sender: No OFD packet to send [06:31:57]OFD Sender: No OFD packet to send [06:32:02]OFD Sender: No OFD packet to send [06:32:07]OFD Sender: No OFD packet to send [06:32:12]OFD Sender: No OFD packet to send [06:32:17]OFD Sender: No OFD packet to send [06:32:22]OFD Sender: No OFD packet to send [06:32:25]accept exits with 9 [06:32:25]New connection [06:32:25]New thread 3067297124 created [06:32:25]Thread 3067440484 joined [06:32:25]Waiting for new connection... [06:32:25] Sock 9.Parse request [06:32:25]Sock 9.Check first char [06:32:25]Sock 9.First char is OK [06:32:25]request: POST /json_proto HTTP/1.0 [06:32:25]Method: POST [06:32:25]URL: /json_proto [06:32:25]Method is POST - this is cgi request [06:32:25]url: /json_proto [06:32:25]query_string will be loaded in cgi processing [06:32:25]execute_cgi json_proto POST (null) [06:32:25]execute_cgi path=json_proto method=POST [06:32:25]POST find Content-Length [06:32:25]Host: 172.17.40.196:8080 [06:32:25]Content-Length: 627 [06:32:25]Content-Type: application/json [06:32:25] [06:32:25]POST finish read [06:32:25]Found Content-Length = 627 [06:32:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34990", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:32:25]execute_script... [06:32: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)34990", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:32:25]POST & json_proto [06:32:25]process_json_proto [06:32:25]json parsed OK: [06:32:25]protocol is kg_v1.0 [06:32:25]action value=close_receipt [06:32:25]process_action close_receipt [06:32:25]cmd_close_receipt [06:32:25]MH_GetDate [06:32:25]Write to MH i2c: F0 00 00 C2 02 B3 [06:32:25]Write i2c OK [06:32:25]MH_I2C_Read... [06:32:25]Read from MH i2c: F0 [06:32:25]MH_I2C_Read... [06:32:25]Read from MH i2c: F0 09 00 [06:32:25]MH_I2C_Read... [06:32:25]Read from MH i2c: F0 09 00 C2 02 00 7A DE 1D 67 5B 68 A1 66 62 [06:32:25]GetLastDocTimeStamp 1730007292 [06:32:25]current date 1730010746 [06:32:25]FM_GetShiftState [06:32:25]SAM_PROTO_GetShiftState [06:32:25]wFMCommunicate request_size=4 [06:32:25]MH_SAM_APDU [06:32:25]CAPDU: 80 13 01 00 [06:32:25]Write to MH i2c: E2 08 00 C3 02 80 13 01 00 00 00 00 00 42 [06:32:25]Write i2c OK [06:32:25]MH_I2C_Read... [06:32:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:32:25]Read from MH i2c: E2 [06:32:25]MH_I2C_Read... [06:32:25]Read from MH i2c: E2 0E 00 [06:32:25]MH_I2C_Read... [06:32:25]Read from MH i2c: E2 0E 00 C3 02 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 F9 [06:32:25]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [06:32:25]wFMCommunicate OK [06:32:25]SAM_PROTO_GetShiftState done [06:32:25]FM_GetShiftState done [06:32:25]opened in 1729987492 [06:32:25]opened+sec_in_day 1730073892 [06:32:25]quantity*price = 13900 [06:32:25]sum+1 = 13901 [06:32:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 18 27.10.2024 06:32 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37692 ФПД: 75240107486683 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T063226&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37692&fm=75240107486683&tin=02508201610067®Number=0000000000091684&sum=13900 0 [06:32:26]StoreToDocumentArchive [06:32:26]shift 550 fd 37692 [06:32:26]save to /storage/0550/doc_00037692 [06:32:26]save last doc name /storage/0550/doc_00037692 to /storage/kkm_last_doc_name [06:32:26]save OK [06:32:26]Clear old archive folders... [06:32:26]ProcessDocumentItem done err = 0, tmpTLVsize=280 [06:32:26]tlvbuf is 00213BD0 [06:32:26]SAM_PROTO_ClearQueue [06:32:26]wFMCommunicate request_size=4 [06:32:26]MH_SAM_APDU [06:32:26]CAPDU: 80 09 00 00 [06:32:26]Write to MH i2c: E2 08 00 D0 02 80 09 00 00 00 00 00 00 44 [06:32:26]Write i2c OK [06:32:26]MH_I2C_Read... [06:32:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:32:26]Read from MH i2c: E2 [06:32:26]MH_I2C_Read... [06:32:26]Read from MH i2c: E2 03 00 [06:32:26]MH_I2C_Read... [06:32:26]Read from MH i2c: E2 03 00 D0 02 00 90 00 46 [06:32:26]RAPDU: 90 00 [06:32:26]wFMCommunicate OK [06:32:26]SAM_PROTO_ClearQueue done [06:32:26]KKMCreateOFDPacket [06:32:26]OFDProtocolAddRootSTLVToBuf [06:32:26]FM_MakeSignedData [06:32:26]FM_MakeSignedData [06:32:26]SAM_PROTO_SignData [06:32:26]wFMCommunicate request_size=4 [06:32:26]MH_SAM_APDU [06:32:26]CAPDU: 80 0D 01 02 [06:32:26]Write to MH i2c: E2 08 00 D1 02 80 0D 01 02 00 00 00 00 4C [06:32:26]Write i2c OK [06:32:26]MH_I2C_Read... [06:32:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:32:26]Read from MH i2c: E2 [06:32:26]MH_I2C_Read... [06:32:26]Read from MH i2c: E2 03 00 [06:32:26]MH_I2C_Read... [06:32:26]Read from MH i2c: E2 03 00 D1 02 00 90 00 47 [06:32:26]RAPDU: 90 00 [06:32:26]wFMCommunicate OK [06:32:26]wFMCommunicate request_size=255 [06:32:26]MH_SAM_APDU [06:32:26]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 7A DE 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 [06:32:26]Write to MH i2c: E2 02 01 D2 02 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 7A DE 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 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 00 36 [06:32:26]Write i2c OK [06:32:26]MH_I2C_Read... [06:32:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:32:26]Read from MH i2c: E2 [06:32:26]MH_I2C_Read... [06:32:26]Read from MH i2c: E2 03 00 [06:32:26]MH_I2C_Read... [06:32:26]Read from MH i2c: E2 03 00 D2 02 00 90 00 48 [06:32:26]RAPDU: 90 00 [06:32:26]wFMCommunicate OK [06:32:26]wFMCommunicate request_size=39 [06:32:26]MH_SAM_APDU [06:32:26]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3C 93 00 00 35 04 06 00 44 6E 33 E1 2D DB [06:32:26]Write to MH i2c: E2 2A 00 D3 02 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3C 93 00 00 35 04 06 00 44 6E 33 E1 2D DB 00 00 A4 [06:32:26]Write i2c OK [06:32:26]MH_I2C_Read... [06:32:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:32:26]Read from MH i2c: E2 [06:32:26]MH_I2C_Read... [06:32:26]Read from MH i2c: E2 03 00 [06:32:26]MH_I2C_Read... [06:32:26]Read from MH i2c: E2 03 00 D3 02 00 90 00 49 [06:32:26]RAPDU: 90 00 [06:32:26]wFMCommunicate OK [06:32:26]wFMCommunicate request_size=4 [06:32:26]MH_SAM_APDU [06:32:26]CAPDU: 80 0D 03 02 [06:32:26]Write to MH i2c: E2 08 00 D4 02 80 0D 03 02 00 00 00 00 51 [06:32:26]Write i2c OK [06:32:26]MH_I2C_Read... [06:32:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:32:27]Read from MH i2c: E2 [06:32:27]MH_I2C_Read... [06:32:27]Read from MH i2c: E2 0B 00 [06:32:27]MH_I2C_Read... [06:32:27]Read from MH i2c: E2 0B 00 D4 02 00 BD 7D C3 97 01 9F 42 EC 90 00 B4 [06:32:27]RAPDU: BD 7D C3 97 01 9F 42 EC 90 00 [06:32:27]wFMCommunicate OK [06:32:27]SAM_PROTO_SignData done [06:32:27]FM_MakeSignedData done [06:32:27]CreateOFDProtocolMessage [06:32:27]wFMCommunicate request_size=4 [06:32:27]MH_SAM_APDU [06:32:27]CAPDU: 80 11 00 00 [06:32:27]Write to MH i2c: E2 08 00 D5 02 80 11 00 00 00 00 00 00 51 [06:32:27]Write i2c OK [06:32:27]MH_I2C_Read... [06:32:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:32:27]Read from MH i2c: E2 [06:32:27]MH_I2C_Read... [06:32:27]Read from MH i2c: E2 17 00 [06:32:27]MH_I2C_Read... [06:32:27]Read from MH i2c: E2 17 00 D5 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A1 [06:32:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [06:32:27]wFMCommunicate OK [06:32:27]CreateOFDProtocolMessage done [06:32:27]OFDSenderStorePacket 37692 [06:32:27]StoreOFDPacket docnum=37692 [06:32:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2C 01 00 00 E6 93 24 01 B7 B6 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 7A DE 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 3C 93 00 00 35 04 06 00 44 6E 33 E1 2D DB BD 7D C3 97 01 9F 42 EC [06:32:27]CheckFolder [06:32:27]dirname=/storage/ofd_packets [06:32:27]CheckFolder done [06:32:27]ProducePacketName [06:32:27]name=ofd_packets/00037692 [06:32:27]NVStorageSaveData ofd_packets/00037692 [06:32:27]File name is /storage/ofd_packets/00037692 [06:32:27]Write 330 bytes [06:32:27]NVStorageSaveData done [06:32:27]OFDSenderStorePacket done [06:32:27]KKMCreateOFDPacket done [06:32:27]NVStorageSaveData kkm_last_timestamp [06:32:27]File name is /storage/kkm_last_timestamp [06:32:27]Write 4 bytes [06:32:27]NVStorageSaveData done [06:32:27]ExternCall_PrintAddStr [06:32:27]wPrintStart [06:32:27]Write to MH i2c: 01 00 00 D6 02 D8 [06:32:27]Write i2c OK [06:32:27]MH_I2C_Read... [06:32:27]Read from MH i2c: 01 [06:32:27]MH_I2C_Read... [06:32:27]Read from MH i2c: 01 07 00 [06:32:27]MH_I2C_Read... [06:32:27]Read from MH i2c: 01 07 00 D6 02 00 00 00 00 00 FF 0F ED [06:32:27]RasterBufferAndPrint [06:32:27]line Счет N : (3)34990 [06:32:27]line ИНН: 02508201610067 [06:32:27]line Контрольно-Кассовый Чек [06:32:27]line ПРОДАЖА [06:32:27]line Товар: 48741231 [06:32:27]line Сигареты Winston Super Slims Silver [06:32:27]line 1.000 * 139.00 [06:32:27]line = 139.00 [06:32:27]line НДС 12% НСП 1% [06:32:27]line > о реализуемом товаре [06:32:27]line ИТОГО: 139.00 [06:32:27]line НСП 1% : 1.23 [06:32:27]line НДС 12% : 14.76 [06:32:27]line Наличными: 139.00 [06:32:27]line Безнал.: 0.00 [06:32:27]line Место: АЗС № 126 "Партнер Нефть" [06:32:27]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [06:32:27]line СНО: Общий режим [06:32:27]line Чек 18 27.10.2024 06:32 [06:32:27]line Смена: 550 ФФД: 1.0 [06:32:27]line ЗНМ: 0300000092 [06:32:27]line РНМ: 0000000000091684 [06:32:27]line Версия ККМ: 001 [06:32:27]line ФМ: 0000000000871841 [06:32:27]line ФД: 37692 [06:32:27]line ФПД: 75240107486683 [06:32:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T063226&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37692&fm=75240107486683&tin=02508201610067®Number=0000000000091684&sum=13900 [06:32:27]line 0 [06:32:27]OFD Sender: Processing packet 37692 [packets to send 42, broken 41] [06:32:27]ProducePacketName [06:32:27]name=ofd_packets/00037692 [06:32:27]OFD Sender: To server: pG, [06:32:27]CommunicateWithHost lk.salyk.kg:30040 [06:32:27]ConnectInit lk.salyk.kg [06:32:27]written 0, free lines is 4095 [06:32:27]Connected sock=10 [06:32: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 2C 01 00 00 E6 93 24 01 B7 B6 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 7A DE 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 3C 93 00 00 35 04 06 00 44 6E 33 E1 2D DB BD 7D C3 97 01 9F 42 EC [06:32:27]Write to MH i2c: 01 00 00 FF 02 01 [06:32:27]Write i2c OK [06:32:27]MH_I2C_Read... [06:32:27]Read from MH i2c: 01 [06:32:27]MH_I2C_Read... [06:32:27]Read from MH i2c: 01 07 00 [06:32:27]MH_I2C_Read... [06:32:27]Read from MH i2c: 01 07 00 FF 02 00 00 00 00 00 BA 0C CE [06:32:27]RasterBufferAndPrint [06:32:27]line [06:32:27]line [06:32:27]line [06:32:27]line [06:32:27]line [06:32:27]written 0, free lines is 3264 [06:32:27]MH_Cut [06:32:27]Write to MH i2c: D1 01 00 06 03 01 DB [06:32:27]Write i2c OK [06:32:27]MH_I2C_Read... [06:32:27]Read from MH i2c: D1 [06:32:27]MH_I2C_Read... [06:32:27]Read from MH i2c: D1 01 00 [06:32:27]MH_I2C_Read... [06:32:27]Read from MH i2c: D1 01 00 06 03 00 DA [06:32:27]Write to MH i2c: 01 00 00 07 03 0A [06:32:27]Write i2c OK [06:32:27]MH_I2C_Read... [06:32: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 FC 14 47 00 FA 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 3C 93 00 00 F4 03 04 00 73 89 1D 67 B6 04 01 00 00 A8 A9 15 C4 C0 FB 3F 97 [06:32:27]CommunicateWithHost err = 0 [06:32:27]CheckOFDResponse [06:32:27]1017 (14) - 77093643461234 [06:32:27]1041 (16) - 0000000000871841 [06:32:27]1040 (4) - 37692 [06:32:27]1012 (4) - 27.10.2024 00:29 [06:32:27]1206 (1) - 0 [06:32:27]OFD Sender: Remove packet 37692 [06:32:27]ProducePacketName [06:32:27]name=ofd_packets/00037692 [06:32:27]NVStorageDeleteData [06:32:28]OFD Sender: No OFD packet to send [06:32:28]*** Cut start [06:32:28]*** Partial cut [06:32:28]*** CUTSNS_PIN = 1 [06:32:28]*** CUTSNS_PIN = 0 [06:32:28]*** Brake cut motor [06:32:29]Read from MH i2c: 01 [06:32:29]MH_I2C_Read... [06:32:29]*** Stop cut motor [06:32:29]*** Cut end [06:32:29]Read from MH i2c: 01 07 00 [06:32:29]MH_I2C_Read... [06:32:29]Read from MH i2c: 01 07 00 07 03 00 00 00 00 00 FF 0F 1F [06:32:29]process_action close_receipt done [06:32:29]requested_data is exist [06:32:29]produce_requested_data [06:32:29]requested_item fm.sn is exist - process it [06:32:29]wFMCommunicate request_size=4 [06:32:29]MH_SAM_APDU [06:32:29]CAPDU: 80 11 00 00 [06:32:29]Write to MH i2c: E2 08 00 08 03 80 11 00 00 00 00 00 00 85 [06:32:29]Write i2c OK [06:32:29]MH_I2C_Read... [06:32:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:32:29]Read from MH i2c: E2 [06:32:29]MH_I2C_Read... [06:32:29]Read from MH i2c: E2 17 00 [06:32:29]MH_I2C_Read... [06:32:29]Read from MH i2c: E2 17 00 08 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D5 [06:32:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [06:32:29]wFMCommunicate OK [06:32:29]requested_item fd.num is exist - process it [06:32:29]SAM_PROTO_GetFieldsCounters [06:32:29]wFMCommunicate request_size=4 [06:32:29]MH_SAM_APDU [06:32:29]CAPDU: 80 13 00 00 [06:32:29]Write to MH i2c: E2 08 00 09 03 80 13 00 00 00 00 00 00 88 [06:32:29]Write i2c OK [06:32:29]MH_I2C_Read... [06:32:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:32:29]Read from MH i2c: E2 [06:32:29]MH_I2C_Read... [06:32:29]Read from MH i2c: E2 62 00 [06:32:29]MH_I2C_Read... [06:32:29]Read from MH i2c: E2 62 00 09 03 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 3C 93 00 00 0E 04 04 00 26 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 D6 [06:32: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 3C 93 00 00 0E 04 04 00 26 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 [06:32:29]wFMCommunicate OK [06:32:29]SAM_PROTO_GetFieldsCounters done [06:32:29]requested_item shift.num is exist - process it [06:32:29]requested_item shift.opened is exist - process it [06:32:29]req_shift_opened [06:32:29]FM_GetShiftState [06:32:29]SAM_PROTO_GetShiftState [06:32:29]wFMCommunicate request_size=4 [06:32:29]MH_SAM_APDU [06:32:29]CAPDU: 80 13 01 00 [06:32:29]Write to MH i2c: E2 08 00 0A 03 80 13 01 00 00 00 00 00 8A [06:32:29]Write i2c OK [06:32:29]MH_I2C_Read... [06:32:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:32:29]Read from MH i2c: E2 [06:32:29]MH_I2C_Read... [06:32:29]Read from MH i2c: E2 0E 00 [06:32:29]MH_I2C_Read... [06:32:29]Read from MH i2c: E2 0E 00 0A 03 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 41 [06:32:29]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [06:32:29]wFMCommunicate OK [06:32:29]SAM_PROTO_GetShiftState done [06:32:29]FM_GetShiftState done [06:32:29]req_shift_opened done [06:32:29]requested_item shift.open_date is exist - process it [06:32:29]req_shift_open_date [06:32:29]req_shift_open_date done [06:32:29]produce_requested_data done [06:32:29]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37692,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [06:32:29]process_action_free close_receipt [06:32:29]json_value_free [06:32:29]json_value_free done [06:32:29]process_json_proto returns [06:32:29]Send response to host [06:32:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37692,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [06:32:29]free response buf [06:32:29]execute_script done [06:32:29]execute_script returns [06:32:29]free content buf [06:32:29]Sock 9.Close socket [06:32:29]Sock 9.Thread stoped [06:32:33]OFD Sender: No OFD packet to send [06:32:38]OFD Sender: No OFD packet to send [06:32:43]OFD Sender: No OFD packet to send [06:32:48]OFD Sender: No OFD packet to send [06:32:53]OFD Sender: No OFD packet to send [06:32:58]OFD Sender: No OFD packet to send [06:33:03]OFD Sender: No OFD packet to send [06:33:08]OFD Sender: No OFD packet to send [06:33:13]OFD Sender: No OFD packet to send [06:33:18]OFD Sender: No OFD packet to send [06:33:23]OFD Sender: No OFD packet to send [06:33:28]OFD Sender: No OFD packet to send [06:33:33]OFD Sender: No OFD packet to send [06:33:38]OFD Sender: No OFD packet to send [06:33:43]OFD Sender: No OFD packet to send [06:33:48]OFD Sender: No OFD packet to send [06:33:53]OFD Sender: No OFD packet to send [06:33:58]OFD Sender: No OFD packet to send [06:34:03]OFD Sender: No OFD packet to send [06:34:08]OFD Sender: No OFD packet to send [06:34:13]OFD Sender: No OFD packet to send [06:34:18]OFD Sender: No OFD packet to send [06:34:23]OFD Sender: No OFD packet to send [06:34:28]OFD Sender: No OFD packet to send [06:34:33]OFD Sender: No OFD packet to send [06:34:38]OFD Sender: No OFD packet to send [06:34:43]OFD Sender: No OFD packet to send [06:34:48]OFD Sender: No OFD packet to send [06:34:53]OFD Sender: No OFD packet to send [06:34:58]OFD Sender: No OFD packet to send [06:35:03]OFD Sender: No OFD packet to send [06:35:08]OFD Sender: No OFD packet to send [06:35:13]OFD Sender: No OFD packet to send [06:35:18]OFD Sender: No OFD packet to send [06:35:23]OFD Sender: No OFD packet to send [06:35:28]OFD Sender: No OFD packet to send [06:35:33]OFD Sender: No OFD packet to send [06:35:38]OFD Sender: No OFD packet to send [06:35:43]OFD Sender: No OFD packet to send [06:35:48]OFD Sender: No OFD packet to send [06:35:53]OFD Sender: No OFD packet to send [06:35:58]OFD Sender: No OFD packet to send [06:36:03]OFD Sender: No OFD packet to send [06:36:08]OFD Sender: No OFD packet to send [06:36:13]OFD Sender: No OFD packet to send [06:36:18]OFD Sender: No OFD packet to send [06:36:23]OFD Sender: No OFD packet to send [06:36:28]OFD Sender: No OFD packet to send [06:36:33]OFD Sender: No OFD packet to send [06:36:38]OFD Sender: No OFD packet to send [06:36:43]OFD Sender: No OFD packet to send [06:36:48]OFD Sender: No OFD packet to send [06:36:53]OFD Sender: No OFD packet to send [06:36:58]OFD Sender: No OFD packet to send [06:37:03]OFD Sender: No OFD packet to send [06:37:08]OFD Sender: No OFD packet to send [06:37:13]OFD Sender: No OFD packet to send [06:37:18]OFD Sender: No OFD packet to send [06:37:23]OFD Sender: No OFD packet to send [06:37:28]OFD Sender: No OFD packet to send [06:37:33]OFD Sender: No OFD packet to send [06:37:38]OFD Sender: No OFD packet to send [06:37:43]OFD Sender: No OFD packet to send [06:37:48]OFD Sender: No OFD packet to send [06:37:53]OFD Sender: No OFD packet to send [06:37:58]OFD Sender: No OFD packet to send [06:38:03]OFD Sender: No OFD packet to send [06:38:08]OFD Sender: No OFD packet to send [06:38:13]OFD Sender: No OFD packet to send [06:38:18]OFD Sender: No OFD packet to send [06:38:23]OFD Sender: No OFD packet to send [06:38:28]OFD Sender: No OFD packet to send [06:38:33]OFD Sender: No OFD packet to send [06:38:38]OFD Sender: No OFD packet to send [06:38:43]OFD Sender: No OFD packet to send [06:38:48]OFD Sender: No OFD packet to send [06:38:53]OFD Sender: No OFD packet to send [06:38:58]OFD Sender: No OFD packet to send [06:39:03]OFD Sender: No OFD packet to send [06:39:08]OFD Sender: No OFD packet to send [06:39:13]OFD Sender: No OFD packet to send [06:39:18]OFD Sender: No OFD packet to send [06:39:23]OFD Sender: No OFD packet to send [06:39:28]OFD Sender: No OFD packet to send [06:39:33]OFD Sender: No OFD packet to send [06:39:38]OFD Sender: No OFD packet to send [06:39:43]OFD Sender: No OFD packet to send [06:39:48]OFD Sender: No OFD packet to send [06:39:53]OFD Sender: No OFD packet to send [06:39:58]OFD Sender: No OFD packet to send [06:40:03]OFD Sender: No OFD packet to send [06:40:08]OFD Sender: No OFD packet to send [06:40:13]OFD Sender: No OFD packet to send [06:40:18]OFD Sender: No OFD packet to send [06:40:23]OFD Sender: No OFD packet to send [06:40:28]OFD Sender: No OFD packet to send [06:40:33]OFD Sender: No OFD packet to send [06:40:38]OFD Sender: No OFD packet to send [06:40:43]OFD Sender: No OFD packet to send [06:40:48]OFD Sender: No OFD packet to send [06:40:53]OFD Sender: No OFD packet to send [06:40:58]OFD Sender: No OFD packet to send [06:41:03]OFD Sender: No OFD packet to send [06:41:08]OFD Sender: No OFD packet to send [06:41:13]OFD Sender: No OFD packet to send [06:41:18]OFD Sender: No OFD packet to send [06:41:23]OFD Sender: No OFD packet to send [06:41:28]OFD Sender: No OFD packet to send [06:41:33]OFD Sender: No OFD packet to send [06:41:38]OFD Sender: No OFD packet to send [06:41:43]OFD Sender: No OFD packet to send [06:41:48]OFD Sender: No OFD packet to send [06:41:53]OFD Sender: No OFD packet to send [06:41:58]OFD Sender: No OFD packet to send [06:42:03]OFD Sender: No OFD packet to send [06:42:08]OFD Sender: No OFD packet to send [06:42:13]OFD Sender: No OFD packet to send [06:42:18]OFD Sender: No OFD packet to send [06:42:23]OFD Sender: No OFD packet to send [06:42:28]OFD Sender: No OFD packet to send [06:42:33]OFD Sender: No OFD packet to send [06:42:39]OFD Sender: No OFD packet to send [06:42:44]OFD Sender: No OFD packet to send [06:42:49]OFD Sender: No OFD packet to send [06:42:54]OFD Sender: No OFD packet to send [06:42:59]OFD Sender: No OFD packet to send [06:43:04]OFD Sender: No OFD packet to send [06:43:09]OFD Sender: No OFD packet to send [06:43:14]OFD Sender: No OFD packet to send [06:43:19]OFD Sender: No OFD packet to send [06:43:24]OFD Sender: No OFD packet to send [06:43:29]OFD Sender: No OFD packet to send [06:43:34]OFD Sender: No OFD packet to send [06:43:39]OFD Sender: No OFD packet to send [06:43:44]OFD Sender: No OFD packet to send [06:43:49]OFD Sender: No OFD packet to send [06:43:54]OFD Sender: No OFD packet to send [06:43:59]OFD Sender: No OFD packet to send [06:44:04]OFD Sender: No OFD packet to send [06:44:09]OFD Sender: No OFD packet to send [06:44:14]OFD Sender: No OFD packet to send [06:44:19]OFD Sender: No OFD packet to send [06:44:24]OFD Sender: No OFD packet to send [06:44:29]OFD Sender: No OFD packet to send [06:44:34]OFD Sender: No OFD packet to send [06:44:39]OFD Sender: No OFD packet to send [06:44:44]OFD Sender: No OFD packet to send [06:44:49]OFD Sender: No OFD packet to send [06:44:54]OFD Sender: No OFD packet to send [06:44:59]OFD Sender: No OFD packet to send [06:45:04]OFD Sender: No OFD packet to send [06:45:09]OFD Sender: No OFD packet to send [06:45:14]OFD Sender: No OFD packet to send [06:45:19]OFD Sender: No OFD packet to send [06:45:24]OFD Sender: No OFD packet to send [06:45:29]OFD Sender: No OFD packet to send [06:45:34]OFD Sender: No OFD packet to send [06:45:39]OFD Sender: No OFD packet to send [06:45:44]OFD Sender: No OFD packet to send [06:45:49]OFD Sender: No OFD packet to send [06:45:54]OFD Sender: No OFD packet to send [06:45:59]OFD Sender: No OFD packet to send [06:46:04]OFD Sender: No OFD packet to send [06:46:09]OFD Sender: No OFD packet to send [06:46:14]OFD Sender: No OFD packet to send [06:46:19]OFD Sender: No OFD packet to send [06:46:24]OFD Sender: No OFD packet to send [06:46:29]OFD Sender: No OFD packet to send [06:46:34]OFD Sender: No OFD packet to send [06:46:39]OFD Sender: No OFD packet to send [06:46:44]OFD Sender: No OFD packet to send [06:46:49]OFD Sender: No OFD packet to send [06:46:54]OFD Sender: No OFD packet to send [06:46:59]OFD Sender: No OFD packet to send [06:47:04]OFD Sender: No OFD packet to send [06:47:09]OFD Sender: No OFD packet to send [06:47:14]OFD Sender: No OFD packet to send [06:47:19]OFD Sender: No OFD packet to send [06:47:24]OFD Sender: No OFD packet to send [06:47:29]OFD Sender: No OFD packet to send [06:47:34]OFD Sender: No OFD packet to send [06:47:39]OFD Sender: No OFD packet to send [06:47:44]OFD Sender: No OFD packet to send [06:47:49]OFD Sender: No OFD packet to send [06:47:54]OFD Sender: No OFD packet to send [06:47:59]OFD Sender: No OFD packet to send [06:48:04]OFD Sender: No OFD packet to send [06:48:09]OFD Sender: No OFD packet to send [06:48:14]OFD Sender: No OFD packet to send [06:48:19]OFD Sender: No OFD packet to send [06:48:24]OFD Sender: No OFD packet to send [06:48:29]OFD Sender: No OFD packet to send [06:48:34]OFD Sender: No OFD packet to send [06:48:39]OFD Sender: No OFD packet to send [06:48:44]OFD Sender: No OFD packet to send [06:48:49]OFD Sender: No OFD packet to send [06:48:54]OFD Sender: No OFD packet to send [06:48:59]OFD Sender: No OFD packet to send [06:49:04]OFD Sender: No OFD packet to send [06:49:09]OFD Sender: No OFD packet to send [06:49:14]OFD Sender: No OFD packet to send [06:49:19]OFD Sender: No OFD packet to send [06:49:24]OFD Sender: No OFD packet to send [06:49:29]OFD Sender: No OFD packet to send [06:49:34]OFD Sender: No OFD packet to send [06:49:39]OFD Sender: No OFD packet to send [06:49:44]OFD Sender: No OFD packet to send [06:49:49]OFD Sender: No OFD packet to send [06:49:54]OFD Sender: No OFD packet to send [06:49:59]OFD Sender: No OFD packet to send [06:50:04]OFD Sender: No OFD packet to send [06:50:09]OFD Sender: No OFD packet to send [06:50:14]OFD Sender: No OFD packet to send [06:50:19]OFD Sender: No OFD packet to send [06:50:24]OFD Sender: No OFD packet to send [06:50:29]OFD Sender: No OFD packet to send [06:50:34]OFD Sender: No OFD packet to send [06:50:39]OFD Sender: No OFD packet to send [06:50:44]OFD Sender: No OFD packet to send [06:50:49]OFD Sender: No OFD packet to send [06:50:54]OFD Sender: No OFD packet to send [06:50:59]OFD Sender: No OFD packet to send [06:51:04]OFD Sender: No OFD packet to send [06:51:09]OFD Sender: No OFD packet to send [06:51:14]OFD Sender: No OFD packet to send [06:51:19]OFD Sender: No OFD packet to send [06:51:24]OFD Sender: No OFD packet to send [06:51:29]OFD Sender: No OFD packet to send [06:51:34]OFD Sender: No OFD packet to send [06:51:39]OFD Sender: No OFD packet to send [06:51:44]OFD Sender: No OFD packet to send [06:51:49]OFD Sender: No OFD packet to send [06:51:54]OFD Sender: No OFD packet to send [06:51:59]OFD Sender: No OFD packet to send [06:52:04]OFD Sender: No OFD packet to send [06:52:09]OFD Sender: No OFD packet to send [06:52:14]OFD Sender: No OFD packet to send [06:52:19]OFD Sender: No OFD packet to send [06:52:24]OFD Sender: No OFD packet to send [06:52:29]OFD Sender: No OFD packet to send [06:52:34]OFD Sender: No OFD packet to send [06:52:39]OFD Sender: No OFD packet to send [06:52:44]OFD Sender: No OFD packet to send [06:52:49]OFD Sender: No OFD packet to send [06:52:54]OFD Sender: No OFD packet to send [06:52:59]OFD Sender: No OFD packet to send [06:53:04]OFD Sender: No OFD packet to send [06:53:09]OFD Sender: No OFD packet to send [06:53:14]OFD Sender: No OFD packet to send [06:53:19]OFD Sender: No OFD packet to send [06:53:24]OFD Sender: No OFD packet to send [06:53:29]OFD Sender: No OFD packet to send [06:53:34]OFD Sender: No OFD packet to send [06:53:39]OFD Sender: No OFD packet to send [06:53:44]OFD Sender: No OFD packet to send [06:53:49]OFD Sender: No OFD packet to send [06:53:54]OFD Sender: No OFD packet to send [06:53:59]OFD Sender: No OFD packet to send [06:54:04]OFD Sender: No OFD packet to send [06:54:09]OFD Sender: No OFD packet to send [06:54:14]OFD Sender: No OFD packet to send [06:54:19]OFD Sender: No OFD packet to send [06:54:24]OFD Sender: No OFD packet to send [06:54:29]OFD Sender: No OFD packet to send [06:54:34]OFD Sender: No OFD packet to send [06:54:39]OFD Sender: No OFD packet to send [06:54:44]OFD Sender: No OFD packet to send [06:54:49]OFD Sender: No OFD packet to send [06:54:54]OFD Sender: No OFD packet to send [06:54:59]OFD Sender: No OFD packet to send [06:55:04]OFD Sender: No OFD packet to send [06:55:09]OFD Sender: No OFD packet to send [06:55:14]OFD Sender: No OFD packet to send [06:55:19]OFD Sender: No OFD packet to send [06:55:24]OFD Sender: No OFD packet to send [06:55:29]OFD Sender: No OFD packet to send [06:55:34]OFD Sender: No OFD packet to send [06:55:39]OFD Sender: No OFD packet to send [06:55:44]OFD Sender: No OFD packet to send [06:55:49]OFD Sender: No OFD packet to send [06:55:54]OFD Sender: No OFD packet to send [06:55:59]OFD Sender: No OFD packet to send [06:56:04]OFD Sender: No OFD packet to send [06:56:09]OFD Sender: No OFD packet to send [06:56:14]OFD Sender: No OFD packet to send [06:56:19]OFD Sender: No OFD packet to send [06:56:24]OFD Sender: No OFD packet to send [06:56:29]OFD Sender: No OFD packet to send [06:56:34]OFD Sender: No OFD packet to send [06:56:39]OFD Sender: No OFD packet to send [06:56:44]OFD Sender: No OFD packet to send [06:56:49]OFD Sender: No OFD packet to send [06:56:54]OFD Sender: No OFD packet to send [06:56:59]OFD Sender: No OFD packet to send [06:57:04]OFD Sender: No OFD packet to send [06:57:09]OFD Sender: No OFD packet to send [06:57:14]OFD Sender: No OFD packet to send [06:57:19]OFD Sender: No OFD packet to send [06:57:24]OFD Sender: No OFD packet to send [06:57:29]OFD Sender: No OFD packet to send [06:57:34]OFD Sender: No OFD packet to send [06:57:39]OFD Sender: No OFD packet to send [06:57:44]OFD Sender: No OFD packet to send [06:57:49]OFD Sender: No OFD packet to send [06:57:54]OFD Sender: No OFD packet to send [06:57:59]OFD Sender: No OFD packet to send [06:58:04]OFD Sender: No OFD packet to send [06:58:09]OFD Sender: No OFD packet to send [06:58:14]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:20]OFD Sender: No OFD packet to send [07:01:25]OFD Sender: No OFD packet to send [07:01:30]OFD Sender: No OFD packet to send [07:01:35]OFD Sender: No OFD packet to send [07:01:40]OFD Sender: No OFD packet to send [07:01:45]OFD Sender: No OFD packet to send [07:01:50]OFD Sender: No OFD packet to send [07:01:55]OFD Sender: No OFD packet to send [07:02:00]OFD Sender: No OFD packet to send [07:02:05]OFD Sender: No OFD packet to send [07:02:10]OFD Sender: No OFD packet to send [07:02:15]OFD Sender: No OFD packet to send [07:02:20]OFD Sender: No OFD packet to send [07:02:25]OFD Sender: No OFD packet to send [07:02:30]OFD Sender: No OFD packet to send [07:02:35]OFD Sender: No OFD packet to send [07:02:40]OFD Sender: No OFD packet to send [07:02:45]OFD Sender: No OFD packet to send [07:02:50]OFD Sender: No OFD packet to send [07:02:55]OFD Sender: No OFD packet to send [07:03:00]OFD Sender: No OFD packet to send [07:03:05]OFD Sender: No OFD packet to send [07:03:10]OFD Sender: No OFD packet to send [07:03:15]OFD Sender: No OFD packet to send [07:03:20]OFD Sender: No OFD packet to send [07:03:25]OFD Sender: No OFD packet to send [07:03:30]OFD Sender: No OFD packet to send [07:03:35]OFD Sender: No OFD packet to send [07:03:40]OFD Sender: No OFD packet to send [07:03:45]OFD Sender: No OFD packet to send [07:03:50]OFD Sender: No OFD packet to send [07:03:55]OFD Sender: No OFD packet to send [07:04:00]OFD Sender: No OFD packet to send [07:04:05]OFD Sender: No OFD packet to send [07:04:10]OFD Sender: No OFD packet to send [07:04:15]OFD Sender: No OFD packet to send [07:04:20]OFD Sender: No OFD packet to send [07:04:25]OFD Sender: No OFD packet to send [07:04:30]OFD Sender: No OFD packet to send [07:04:35]OFD Sender: No OFD packet to send [07:04:40]OFD Sender: No OFD packet to send [07:04:45]OFD Sender: No OFD packet to send [07:04:50]OFD Sender: No OFD packet to send [07:04:55]OFD Sender: No OFD packet to send [07:05:00]OFD Sender: No OFD packet to send [07:05:05]OFD Sender: No OFD packet to send [07:05:10]OFD Sender: No OFD packet to send [07:05:15]OFD Sender: No OFD packet to send [07:05:20]OFD Sender: No OFD packet to send [07:05:25]OFD Sender: No OFD packet to send [07:05:30]OFD Sender: No OFD packet to send [07:05:35]OFD Sender: No OFD packet to send [07:05:40]OFD Sender: No OFD packet to send [07:05:45]OFD Sender: No OFD packet to send [07:05:50]OFD Sender: No OFD packet to send [07:05:55]OFD Sender: No OFD packet to send [07:06:00]OFD Sender: No OFD packet to send [07:06:05]OFD Sender: No OFD packet to send [07:06:10]OFD Sender: No OFD packet to send [07:06:15]OFD Sender: No OFD packet to send [07:06:20]OFD Sender: No OFD packet to send [07:06:25]OFD Sender: No OFD packet to send [07:06:30]OFD Sender: No OFD packet to send [07:06:35]OFD Sender: No OFD packet to send [07:06:40]OFD Sender: No OFD packet to send [07:06:45]OFD Sender: No OFD packet to send [07:06:50]OFD Sender: No OFD packet to send [07:06:55]OFD Sender: No OFD packet to send [07:07:00]OFD Sender: No OFD packet to send [07:07:05]OFD Sender: No OFD packet to send [07:07:10]OFD Sender: No OFD packet to send [07:07:15]OFD Sender: No OFD packet to send [07:07:20]OFD Sender: No OFD packet to send [07:07:25]OFD Sender: No OFD packet to send [07:07:30]OFD Sender: No OFD packet to send [07:07:35]OFD Sender: No OFD packet to send [07:07:40]OFD Sender: No OFD packet to send [07:07:45]OFD Sender: No OFD packet to send [07:07:50]OFD Sender: No OFD packet to send [07:07:55]OFD Sender: No OFD packet to send [07:08:00]OFD Sender: No OFD packet to send [07:08:05]OFD Sender: No OFD packet to send [07:08:10]OFD Sender: No OFD packet to send [07:08:15]OFD Sender: No OFD packet to send [07:08:20]OFD Sender: No OFD packet to send [07:08:25]OFD Sender: No OFD packet to send [07:08:30]OFD Sender: No OFD packet to send [07:08:35]OFD Sender: No OFD packet to send [07:08:40]OFD Sender: No OFD packet to send [07:08:45]OFD Sender: No OFD packet to send [07:08:50]OFD Sender: No OFD packet to send [07:08:55]OFD Sender: No OFD packet to send [07:09:00]OFD Sender: No OFD packet to send [07:09:05]OFD Sender: No OFD packet to send [07:09:10]OFD Sender: No OFD packet to send [07:09:15]OFD Sender: No OFD packet to send [07:09:20]OFD Sender: No OFD packet to send [07:09:25]OFD Sender: No OFD packet to send [07:09:30]OFD Sender: No OFD packet to send [07:09:35]OFD Sender: No OFD packet to send [07:09:40]OFD Sender: No OFD packet to send [07:09:45]OFD Sender: No OFD packet to send [07:09:50]OFD Sender: No OFD packet to send [07:09:55]OFD Sender: No OFD packet to send [07:10:00]OFD Sender: No OFD packet to send [07:10:05]OFD Sender: No OFD packet to send [07:10:10]OFD Sender: No OFD packet to send [07:10:15]OFD Sender: No OFD packet to send [07:10:20]OFD Sender: No OFD packet to send [07:10:25]OFD Sender: No OFD packet to send [07:10:30]OFD Sender: No OFD packet to send [07:10:35]OFD Sender: No OFD packet to send [07:10:40]OFD Sender: No OFD packet to send [07:10:45]OFD Sender: No OFD packet to send [07:10:50]OFD Sender: No OFD packet to send [07:10:55]OFD Sender: No OFD packet to send [07:11:00]OFD Sender: No OFD packet to send [07:11:05]OFD Sender: No OFD packet to send [07:11:10]OFD Sender: No OFD packet to send [07:11:15]OFD Sender: No OFD packet to send [07:11:20]OFD Sender: No OFD packet to send [07:11:25]OFD Sender: No OFD packet to send [07:11:30]OFD Sender: No OFD packet to send [07:11:35]OFD Sender: No OFD packet to send [07:11:40]OFD Sender: No OFD packet to send [07:11:45]OFD Sender: No OFD packet to send [07:11:50]OFD Sender: No OFD packet to send [07:11:55]OFD Sender: No OFD packet to send [07:12:00]OFD Sender: No OFD packet to send [07:12:05]OFD Sender: No OFD packet to send [07:12:10]OFD Sender: No OFD packet to send [07:12:15]OFD Sender: No OFD packet to send [07:12:20]OFD Sender: No OFD packet to send [07:12:25]OFD Sender: No OFD packet to send [07:12:30]OFD Sender: No OFD packet to send [07:12:35]OFD Sender: No OFD packet to send [07:12:40]OFD Sender: No OFD packet to send [07:12:45]OFD Sender: No OFD packet to send [07:12:50]OFD Sender: No OFD packet to send [07:12:55]OFD Sender: No OFD packet to send [07:13:00]OFD Sender: No OFD packet to send [07:13:05]OFD Sender: No OFD packet to send [07:13:10]OFD Sender: No OFD packet to send [07:13:15]OFD Sender: No OFD packet to send [07:13:20]OFD Sender: No OFD packet to send [07:13:25]OFD Sender: No OFD packet to send [07:13:30]OFD Sender: No OFD packet to send [07:13:35]OFD Sender: No OFD packet to send [07:13:40]OFD Sender: No OFD packet to send [07:13:45]OFD Sender: No OFD packet to send [07:13:50]OFD Sender: No OFD packet to send [07:13:55]OFD Sender: No OFD packet to send [07:14:00]OFD Sender: No OFD packet to send [07:14:05]OFD Sender: No OFD packet to send [07:14:10]OFD Sender: No OFD packet to send [07:14:15]OFD Sender: No OFD packet to send [07:14:20]OFD Sender: No OFD packet to send [07:14:25]OFD Sender: No OFD packet to send [07:14:30]OFD Sender: No OFD packet to send [07:14:35]OFD Sender: No OFD packet to send [07:14:40]OFD Sender: No OFD packet to send [07:14:45]OFD Sender: No OFD packet to send [07:14:50]OFD Sender: No OFD packet to send [07:14:55]OFD Sender: No OFD packet to send [07:15:00]OFD Sender: No OFD packet to send [07:15:05]OFD Sender: No OFD packet to send [07:15:10]OFD Sender: No OFD packet to send [07:15:15]OFD Sender: No OFD packet to send [07:15:20]OFD Sender: No OFD packet to send [07:15:25]OFD Sender: No OFD packet to send [07:15:30]OFD Sender: No OFD packet to send [07:15:35]OFD Sender: No OFD packet to send [07:15:40]OFD Sender: No OFD packet to send [07:15:45]OFD Sender: No OFD packet to send [07:15:50]OFD Sender: No OFD packet to send [07:15:55]OFD Sender: No OFD packet to send [07:16:00]OFD Sender: No OFD packet to send [07:16:05]OFD Sender: No OFD packet to send [07:16:10]OFD Sender: No OFD packet to send [07:16:15]OFD Sender: No OFD packet to send [07:16:20]OFD Sender: No OFD packet to send [07:16:25]OFD Sender: No OFD packet to send [07:16:30]OFD Sender: No OFD packet to send [07:16:35]OFD Sender: No OFD packet to send [07:16:40]OFD Sender: No OFD packet to send [07:16:45]OFD Sender: No OFD packet to send [07:16:50]OFD Sender: No OFD packet to send [07:16:55]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:56]OFD Sender: No OFD packet to send [07:20:01]OFD Sender: No OFD packet to send [07:20:06]OFD Sender: No OFD packet to send [07:20:11]OFD Sender: No OFD packet to send [07:20:16]OFD Sender: No OFD packet to send [07:20:21]OFD Sender: No OFD packet to send [07:20:26]OFD Sender: No OFD packet to send [07:20:31]OFD Sender: No OFD packet to send [07:20:36]OFD Sender: No OFD packet to send [07:20:41]OFD Sender: No OFD packet to send [07:20:46]OFD Sender: No OFD packet to send [07:20:51]OFD Sender: No OFD packet to send [07:20:56]OFD Sender: No OFD packet to send [07:21:01]OFD Sender: No OFD packet to send [07:21:06]OFD Sender: No OFD packet to send [07:21:11]OFD Sender: No OFD packet to send [07:21:16]OFD Sender: No OFD packet to send [07:21:21]OFD Sender: No OFD packet to send [07:21:26]OFD Sender: No OFD packet to send [07:21:31]OFD Sender: No OFD packet to send [07:21:36]OFD Sender: No OFD packet to send [07:21:41]OFD Sender: No OFD packet to send [07:21:46]OFD Sender: No OFD packet to send [07:21:51]OFD Sender: No OFD packet to send [07:21:56]OFD Sender: No OFD packet to send [07:22:01]OFD Sender: No OFD packet to send [07:22:06]OFD Sender: No OFD packet to send [07:22:11]OFD Sender: No OFD packet to send [07:22:16]OFD Sender: No OFD packet to send [07:22:21]OFD Sender: No OFD packet to send [07:22:26]OFD Sender: No OFD packet to send [07:22:31]OFD Sender: No OFD packet to send [07:22:36]OFD Sender: No OFD packet to send [07:22:41]OFD Sender: No OFD packet to send [07:22:46]OFD Sender: No OFD packet to send [07:22:51]OFD Sender: No OFD packet to send [07:22:56]OFD Sender: No OFD packet to send [07:23:01]OFD Sender: No OFD packet to send [07:23:06]OFD Sender: No OFD packet to send [07:23:11]OFD Sender: No OFD packet to send [07:23:16]OFD Sender: No OFD packet to send [07:23:21]OFD Sender: No OFD packet to send [07:23:26]OFD Sender: No OFD packet to send [07:23:31]OFD Sender: No OFD packet to send [07:23:36]OFD Sender: No OFD packet to send [07:23:41]OFD Sender: No OFD packet to send [07:23:46]OFD Sender: No OFD packet to send [07:23:51]OFD Sender: No OFD packet to send [07:23:56]OFD Sender: No OFD packet to send [07:24:01]OFD Sender: No OFD packet to send [07:24:06]OFD Sender: No OFD packet to send [07:24:11]OFD Sender: No OFD packet to send [07:24:16]OFD Sender: No OFD packet to send [07:24:21]OFD Sender: No OFD packet to send [07:24:26]OFD Sender: No OFD packet to send [07:24:31]OFD Sender: No OFD packet to send [07:24:36]OFD Sender: No OFD packet to send [07:24:41]OFD Sender: No OFD packet to send [07:24:46]OFD Sender: No OFD packet to send [07:24:51]OFD Sender: No OFD packet to send [07:24:56]OFD Sender: No OFD packet to send [07:25:01]OFD Sender: No OFD packet to send [07:25:06]OFD Sender: No OFD packet to send [07:25:11]OFD Sender: No OFD packet to send [07:25:16]OFD Sender: No OFD packet to send [07:25:21]OFD Sender: No OFD packet to send [07:25:26]OFD Sender: No OFD packet to send [07:25:31]OFD Sender: No OFD packet to send [07:25:36]OFD Sender: No OFD packet to send [07:25:41]OFD Sender: No OFD packet to send [07:25:46]OFD Sender: No OFD packet to send [07:25:51]OFD Sender: No OFD packet to send [07:25:56]OFD Sender: No OFD packet to send [07:26:01]OFD Sender: No OFD packet to send [07:26:06]OFD Sender: No OFD packet to send [07:26:11]OFD Sender: No OFD packet to send [07:26:16]OFD Sender: No OFD packet to send [07:26:21]OFD Sender: No OFD packet to send [07:26:26]OFD Sender: No OFD packet to send [07:26:31]OFD Sender: No OFD packet to send [07:26:36]OFD Sender: No OFD packet to send [07:26:41]OFD Sender: No OFD packet to send [07:26:46]OFD Sender: No OFD packet to send [07:26:51]OFD Sender: No OFD packet to send [07:26:56]OFD Sender: No OFD packet to send [07:27:01]OFD Sender: No OFD packet to send [07:27:06]OFD Sender: No OFD packet to send [07:27:11]OFD Sender: No OFD packet to send [07:27:16]OFD Sender: No OFD packet to send [07:27:21]OFD Sender: No OFD packet to send [07:27:26]OFD Sender: No OFD packet to send [07:27:31]OFD Sender: No OFD packet to send [07:27:36]OFD Sender: No OFD packet to send [07:27:41]OFD Sender: No OFD packet to send [07:27:46]OFD Sender: No OFD packet to send [07:27:51]OFD Sender: No OFD packet to send [07:27:56]OFD Sender: No OFD packet to send [07:28:01]OFD Sender: No OFD packet to send [07:28:06]OFD Sender: No OFD packet to send [07:28:11]OFD Sender: No OFD packet to send [07:28:16]OFD Sender: No OFD packet to send [07:28:21]OFD Sender: No OFD packet to send [07:28:26]OFD Sender: No OFD packet to send [07:28:31]OFD Sender: No OFD packet to send [07:28:36]OFD Sender: No OFD packet to send [07:28:41]OFD Sender: No OFD packet to send [07:28:46]OFD Sender: No OFD packet to send [07:28:51]OFD Sender: No OFD packet to send [07:28:56]OFD Sender: No OFD packet to send [07:29:01]OFD Sender: No OFD packet to send [07:29:06]OFD Sender: No OFD packet to send [07:29:11]OFD Sender: No OFD packet to send [07:29:16]OFD Sender: No OFD packet to send [07:29:21]OFD Sender: No OFD packet to send [07:29:26]OFD Sender: No OFD packet to send [07:29:31]OFD Sender: No OFD packet to send [07:29:36]OFD Sender: No OFD packet to send [07:29:41]OFD Sender: No OFD packet to send [07:29:46]OFD Sender: No OFD packet to send [07:29:51]OFD Sender: No OFD packet to send [07:29:56]OFD Sender: No OFD packet to send [07:30:01]OFD Sender: No OFD packet to send [07:30:06]OFD Sender: No OFD packet to send [07:30:11]OFD Sender: No OFD packet to send [07:30:16]OFD Sender: No OFD packet to send [07:30:21]OFD Sender: No OFD packet to send [07:30:26]OFD Sender: No OFD packet to send [07:30:31]OFD Sender: No OFD packet to send [07:30:36]OFD Sender: No OFD packet to send [07:30:41]OFD Sender: No OFD packet to send [07:30:46]OFD Sender: No OFD packet to send [07:30:51]OFD Sender: No OFD packet to send [07:30:56]OFD Sender: No OFD packet to send [07:31:01]OFD Sender: No OFD packet to send [07:31:06]OFD Sender: No OFD packet to send [07:31:11]OFD Sender: No OFD packet to send [07:31:16]OFD Sender: No OFD packet to send [07:31:21]OFD Sender: No OFD packet to send [07:31:26]OFD Sender: No OFD packet to send [07:31:31]OFD Sender: No OFD packet to send [07:31:36]OFD Sender: No OFD packet to send [07:31:41]OFD Sender: No OFD packet to send [07:31:46]OFD Sender: No OFD packet to send [07:31:51]OFD Sender: No OFD packet to send [07:31:56]OFD Sender: No OFD packet to send [07:32:01]OFD Sender: No OFD packet to send [07:32:06]OFD Sender: No OFD packet to send [07:32:11]OFD Sender: No OFD packet to send [07:32:16]OFD Sender: No OFD packet to send [07:32:21]OFD Sender: No OFD packet to send [07:32:26]OFD Sender: No OFD packet to send [07:32:31]OFD Sender: No OFD packet to send [07:32:36]OFD Sender: No OFD packet to send [07:32:41]OFD Sender: No OFD packet to send [07:32:46]OFD Sender: No OFD packet to send [07:32:51]OFD Sender: No OFD packet to send [07:32:56]OFD Sender: No OFD packet to send [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:32]OFD Sender: No OFD packet to send [07:38:37]OFD Sender: No OFD packet to send [07:38:42]OFD Sender: No OFD packet to send [07:38:47]OFD Sender: No OFD packet to send [07:38:52]OFD Sender: No OFD packet to send [07:38:57]OFD Sender: No OFD packet to send [07:39:02]OFD Sender: No OFD packet to send [07:39:07]OFD Sender: No OFD packet to send [07:39:12]OFD Sender: No OFD packet to send [07:39:17]OFD Sender: No OFD packet to send [07:39:22]OFD Sender: No OFD packet to send [07:39:27]OFD Sender: No OFD packet to send [07:39:32]OFD Sender: No OFD packet to send [07:39:37]OFD Sender: No OFD packet to send [07:39:42]OFD Sender: No OFD packet to send [07:39:47]OFD Sender: No OFD packet to send [07:39:52]OFD Sender: No OFD packet to send [07:39:57]OFD Sender: No OFD packet to send [07:40:02]OFD Sender: No OFD packet to send [07:40:07]OFD Sender: No OFD packet to send [07:40:12]OFD Sender: No OFD packet to send [07:40:17]OFD Sender: No OFD packet to send [07:40:22]OFD Sender: No OFD packet to send [07:40:27]OFD Sender: No OFD packet to send [07:40:32]OFD Sender: No OFD packet to send [07:40:37]OFD Sender: No OFD packet to send [07:40:42]OFD Sender: No OFD packet to send [07:40:47]OFD Sender: No OFD packet to send [07:40:52]OFD Sender: No OFD packet to send [07:40:57]OFD Sender: No OFD packet to send [07:41:02]OFD Sender: No OFD packet to send [07:41:07]OFD Sender: No OFD packet to send [07:41:12]OFD Sender: No OFD packet to send [07:41:17]OFD Sender: No OFD packet to send [07:41:22]OFD Sender: No OFD packet to send [07:41:27]OFD Sender: No OFD packet to send [07:41:32]OFD Sender: No OFD packet to send [07:41:37]OFD Sender: No OFD packet to send [07:41:42]OFD Sender: No OFD packet to send [07:41:47]OFD Sender: No OFD packet to send [07:41:52]OFD Sender: No OFD packet to send [07:41:57]OFD Sender: No OFD packet to send [07:42:02]OFD Sender: No OFD packet to send [07:42:07]OFD Sender: No OFD packet to send [07:42:12]OFD Sender: No OFD packet to send [07:42:17]OFD Sender: No OFD packet to send [07:42:22]OFD Sender: No OFD packet to send [07:42:27]OFD Sender: No OFD packet to send [07:42:32]OFD Sender: No OFD packet to send [07:42:37]OFD Sender: No OFD packet to send [07:42:42]OFD Sender: No OFD packet to send [07:42:47]OFD Sender: No OFD packet to send [07:42:52]OFD Sender: No OFD packet to send [07:42:57]OFD Sender: No OFD packet to send [07:43:02]OFD Sender: No OFD packet to send [07:43:07]OFD Sender: No OFD packet to send [07:43:12]OFD Sender: No OFD packet to send [07:43:17]OFD Sender: No OFD packet to send [07:43:22]OFD Sender: No OFD packet to send [07:43:27]OFD Sender: No OFD packet to send [07:43:32]OFD Sender: No OFD packet to send [07:43:37]OFD Sender: No OFD packet to send [07:43:42]OFD Sender: No OFD packet to send [07:45:02]OFD Sender: No OFD packet to send [07:45:07]OFD Sender: No OFD packet to send [07:45:12]OFD Sender: No OFD packet to send [07:45:17]OFD Sender: No OFD packet to send [07:45:22]OFD Sender: No OFD packet to send [07:45:27]OFD Sender: No OFD packet to send [07:45:32]OFD Sender: No OFD packet to send [07:45:37]OFD Sender: No OFD packet to send [07:45:42]OFD Sender: No OFD packet to send [07:45:47]OFD Sender: No OFD packet to send [07:45:52]OFD Sender: No OFD packet to send [07:45:57]OFD Sender: No OFD packet to send [07:46:02]OFD Sender: No OFD packet to send [07:46:07]OFD Sender: No OFD packet to send [07:46:12]OFD Sender: No OFD packet to send [07:46:17]OFD Sender: No OFD packet to send [07:46:22]OFD Sender: No OFD packet to send [07:46:27]OFD Sender: No OFD packet to send [07:46:32]OFD Sender: No OFD packet to send [07:46:37]OFD Sender: No OFD packet to send [07:46:42]OFD Sender: No OFD packet to send [07:46:47]OFD Sender: No OFD packet to send [07:46:52]OFD Sender: No OFD packet to send [07:46:57]OFD Sender: No OFD packet to send [07:47:02]OFD Sender: No OFD packet to send [07:47:07]OFD Sender: No OFD packet to send [07:47:11]ConnectInit Can't connect to host [07:47:12]OFD Sender: No OFD packet to send [07:47:17]OFD Sender: No OFD packet to send [07:47:22]OFD Sender: No OFD packet to send [07:47:27]OFD Sender: No OFD packet to send [07:47:32]OFD Sender: No OFD packet to send [07:47:37]OFD Sender: No OFD packet to send [07:47:42]OFD Sender: No OFD packet to send [07:47:47]OFD Sender: No OFD packet to send [07:47:52]OFD Sender: No OFD packet to send [07:47:57]OFD Sender: No OFD packet to send [07:48:02]OFD Sender: No OFD packet to send [07:48:07]OFD Sender: No OFD packet to send [07:48:12]OFD Sender: No OFD packet to send [07:48:17]OFD Sender: No OFD packet to send [07:48:22]OFD Sender: No OFD packet to send [07:48:27]OFD Sender: No OFD packet to send [07:48:32]OFD Sender: No OFD packet to send [07:48:37]OFD Sender: No OFD packet to send [07:48:42]OFD Sender: No OFD packet to send [07:48:47]OFD Sender: No OFD packet to send [07:48:52]OFD Sender: No OFD packet to send [07:48:57]OFD Sender: No OFD packet to send [07:49:02]OFD Sender: No OFD packet to send [07:49:07]OFD Sender: No OFD packet to send [07:49:12]OFD Sender: No OFD packet to send [07:49:17]OFD Sender: No OFD packet to send [07:49:22]OFD Sender: No OFD packet to send [07:49:27]OFD Sender: No OFD packet to send [07:49:32]OFD Sender: No OFD packet to send [07:49:37]OFD Sender: No OFD packet to send [07:49:42]OFD Sender: No OFD packet to send [07:49:47]OFD Sender: No OFD packet to send [07:49:52]OFD Sender: No OFD packet to send [07:49:57]OFD Sender: No OFD packet to send [07:50:02]OFD Sender: No OFD packet to send [07:50:07]OFD Sender: No OFD packet to send [07:50:12]OFD Sender: No OFD packet to send [07:50:17]OFD Sender: No OFD packet to send [07:50:22]OFD Sender: No OFD packet to send [07:50:27]OFD Sender: No OFD packet to send [07:50:32]OFD Sender: No OFD packet to send [07:50:37]OFD Sender: No OFD packet to send [07:50:42]OFD Sender: No OFD packet to send [07:50:47]OFD Sender: No OFD packet to send [07:50:52]OFD Sender: No OFD packet to send [07:50:57]OFD Sender: No OFD packet to send [07:51:02]OFD Sender: No OFD packet to send [07:51:07]OFD Sender: No OFD packet to send [07:51:12]OFD Sender: No OFD packet to send [07:51:17]OFD Sender: No OFD packet to send [07:51:22]OFD Sender: No OFD packet to send [07:51:27]OFD Sender: No OFD packet to send [07:51:32]OFD Sender: No OFD packet to send [07:51:37]OFD Sender: No OFD packet to send [07:51:42]OFD Sender: No OFD packet to send [07:51:47]OFD Sender: No OFD packet to send [07:51:52]OFD Sender: No OFD packet to send [07:51:57]OFD Sender: No OFD packet to send [07:52:02]OFD Sender: No OFD packet to send [07:52:07]OFD Sender: No OFD packet to send [07:52:12]OFD Sender: No OFD packet to send [07:52:17]OFD Sender: No OFD packet to send [07:52:22]OFD Sender: No OFD packet to send [07:52:27]OFD Sender: No OFD packet to send [07:52:32]OFD Sender: No OFD packet to send [07:52:37]OFD Sender: No OFD packet to send [07:52:42]OFD Sender: No OFD packet to send [07:52:47]OFD Sender: No OFD packet to send [07:52:52]OFD Sender: No OFD packet to send [07:52:57]OFD Sender: No OFD packet to send [07:53:02]OFD Sender: No OFD packet to send [07:53:07]OFD Sender: No OFD packet to send [07:53:12]OFD Sender: No OFD packet to send [07:53:17]OFD Sender: No OFD packet to send [07:53:22]OFD Sender: No OFD packet to send [07:53:27]OFD Sender: No OFD packet to send [07:53:32]OFD Sender: No OFD packet to send [07:53:37]OFD Sender: No OFD packet to send [07:53:42]OFD Sender: No OFD packet to send [07:53:47]OFD Sender: No OFD packet to send [07:53:52]OFD Sender: No OFD packet to send [07:53:57]OFD Sender: No OFD packet to send [07:54:02]OFD Sender: No OFD packet to send [07:54:07]OFD Sender: No OFD packet to send [07:54:12]OFD Sender: No OFD packet to send [07:54:17]OFD Sender: No OFD packet to send [07:54:22]OFD Sender: No OFD packet to send [07:54:27]OFD Sender: No OFD packet to send [07:54:32]OFD Sender: No OFD packet to send [07:54:37]OFD Sender: No OFD packet to send [07:54:42]OFD Sender: No OFD packet to send [07:54:47]OFD Sender: No OFD packet to send [07:54:52]OFD Sender: No OFD packet to send [07:54:57]OFD Sender: No OFD packet to send [07:55:02]OFD Sender: No OFD packet to send [07:55:07]OFD Sender: No OFD packet to send [07:55:12]OFD Sender: No OFD packet to send [07:55:17]OFD Sender: No OFD packet to send [07:55:22]OFD Sender: No OFD packet to send [07:55:27]OFD Sender: No OFD packet to send [07:55:32]OFD Sender: No OFD packet to send [07:55:37]OFD Sender: No OFD packet to send [07:55:42]OFD Sender: No OFD packet to send [07:55:47]OFD Sender: No OFD packet to send [07:55:52]OFD Sender: No OFD packet to send [07:55:57]OFD Sender: No OFD packet to send [07:56:02]OFD Sender: No OFD packet to send [07:56:07]OFD Sender: No OFD packet to send [07:56:12]OFD Sender: No OFD packet to send [07:56:17]OFD Sender: No OFD packet to send [07:56:22]OFD Sender: No OFD packet to send [07:56:27]OFD Sender: No OFD packet to send [07:56:32]OFD Sender: No OFD packet to send [07:56:37]OFD Sender: No OFD packet to send [07:56:42]OFD Sender: No OFD packet to send [07:56:47]OFD Sender: No OFD packet to send [07:56:52]OFD Sender: No OFD packet to send [07:56:57]OFD Sender: No OFD packet to send [07:57:02]OFD Sender: No OFD packet to send [07:57:08]OFD Sender: No OFD packet to send [07:57:13]OFD Sender: No OFD packet to send [07:57:18]OFD Sender: No OFD packet to send [07:57:23]OFD Sender: No OFD packet to send [07:57:28]OFD Sender: No OFD packet to send [07:57:33]OFD Sender: No OFD packet to send [07:57:38]OFD Sender: No OFD packet to send [07:57:43]OFD Sender: No OFD packet to send [07:57:48]OFD Sender: No OFD packet to send [07:57:53]OFD Sender: No OFD packet to send [07:57:58]OFD Sender: No OFD packet to send [07:58:03]OFD Sender: No OFD packet to send [07:58:08]OFD Sender: No OFD packet to send [07:58:13]OFD Sender: No OFD packet to send [07:58:18]OFD Sender: No OFD packet to send [07:58:23]OFD Sender: No OFD packet to send [07:58:28]OFD Sender: No OFD packet to send [07:58:33]OFD Sender: No OFD packet to send [07:58:38]OFD Sender: No OFD packet to send [07:58:43]OFD Sender: No OFD packet to send [07:58:48]OFD Sender: No OFD packet to send [07:58:53]OFD Sender: No OFD packet to send [07:58:58]OFD Sender: No OFD packet to send [07:59:03]OFD Sender: No OFD packet to send [07:59:08]OFD Sender: No OFD packet to send [07:59:13]OFD Sender: No OFD packet to send [07:59:18]OFD Sender: No OFD packet to send [07:59:23]OFD Sender: No OFD packet to send [07:59:28]OFD Sender: No OFD packet to send [07:59:33]OFD Sender: No OFD packet to send [07:59:38]OFD Sender: No OFD packet to send [07:59:43]OFD Sender: No OFD packet to send [07:59:48]OFD Sender: No OFD packet to send [07:59:53]OFD Sender: No OFD packet to send [07:59:58]OFD Sender: No OFD packet to send [08:00:03]OFD Sender: No OFD packet to send [08:00:08]OFD Sender: No OFD packet to send [08:00:13]OFD Sender: No OFD packet to send [08:00:18]OFD Sender: No OFD packet to send [08:00:23]OFD Sender: No OFD packet to send [08:00:28]OFD Sender: No OFD packet to send [08:00:33]OFD Sender: No OFD packet to send [08:00:38]OFD Sender: No OFD packet to send [08:00:43]OFD Sender: No OFD packet to send [08:00:48]OFD Sender: No OFD packet to send [08:00:53]OFD Sender: No OFD packet to send [08:00:58]OFD Sender: No OFD packet to send [08:01:03]OFD Sender: No OFD packet to send [08:01:08]OFD Sender: No OFD packet to send [08:01:13]OFD Sender: No OFD packet to send [08:01:18]OFD Sender: No OFD packet to send [08:01:23]OFD Sender: No OFD packet to send [08:01:28]OFD Sender: No OFD packet to send [08:01:33]OFD Sender: No OFD packet to send [08:01:38]OFD Sender: No OFD packet to send [08:01:43]OFD Sender: No OFD packet to send [08:01:48]OFD Sender: No OFD packet to send [08:01:53]OFD Sender: No OFD packet to send [08:01:58]OFD Sender: No OFD packet to send [08:02:03]OFD Sender: No OFD packet to send [08:02:08]OFD Sender: No OFD packet to send [08:02:13]OFD Sender: No OFD packet to send [08:02:18]OFD Sender: No OFD packet to send [08:02:23]OFD Sender: No OFD packet to send [08:02:28]OFD Sender: No OFD packet to send [08:02:33]OFD Sender: No OFD packet to send [08:02:38]OFD Sender: No OFD packet to send [08:02:43]OFD Sender: No OFD packet to send [08:02:48]OFD Sender: No OFD packet to send [08:02:53]OFD Sender: No OFD packet to send [08:02:58]OFD Sender: No OFD packet to send [08:03:03]OFD Sender: No OFD packet to send [08:03:08]OFD Sender: No OFD packet to send [08:03:13]OFD Sender: No OFD packet to send [08:03:18]OFD Sender: No OFD packet to send [08:03:23]OFD Sender: No OFD packet to send [08:03:28]OFD Sender: No OFD packet to send [08:03:33]OFD Sender: No OFD packet to send [08:03:38]OFD Sender: No OFD packet to send [08:03:43]OFD Sender: No OFD packet to send [08:03:48]OFD Sender: No OFD packet to send [08:03:53]OFD Sender: No OFD packet to send [08:03:58]OFD Sender: No OFD packet to send [08:04:03]OFD Sender: No OFD packet to send [08:04:08]OFD Sender: No OFD packet to send [08:04:13]OFD Sender: No OFD packet to send [08:04:18]OFD Sender: No OFD packet to send [08:04:23]OFD Sender: No OFD packet to send [08:04:28]OFD Sender: No OFD packet to send [08:04:33]OFD Sender: No OFD packet to send [08:04:38]OFD Sender: No OFD packet to send [08:04:43]OFD Sender: No OFD packet to send [08:04:48]OFD Sender: No OFD packet to send [08:04:53]OFD Sender: No OFD packet to send [08:04:58]OFD Sender: No OFD packet to send [08:05:03]OFD Sender: No OFD packet to send [08:05:08]OFD Sender: No OFD packet to send [08:05:13]OFD Sender: No OFD packet to send [08:05:18]OFD Sender: No OFD packet to send [08:05:23]OFD Sender: No OFD packet to send [08:05:28]OFD Sender: No OFD packet to send [08:05:33]OFD Sender: No OFD packet to send [08:05:38]OFD Sender: No OFD packet to send [08:05:43]OFD Sender: No OFD packet to send [08:05:48]OFD Sender: No OFD packet to send [08:05:53]OFD Sender: No OFD packet to send [08:05:58]OFD Sender: No OFD packet to send [08:06:03]OFD Sender: No OFD packet to send [08:06:08]OFD Sender: No OFD packet to send [08:06:13]OFD Sender: No OFD packet to send [08:06:17]accept exits with 7 [08:06:17]New connection [08:06:17]New thread 3067440484 created [08:06:17]Thread 3067297124 joined [08:06:17]Waiting for new connection... [08:06:17] Sock 7.Parse request [08:06:17]Sock 7.Check first char [08:06:17]Sock 7.First char is OK [08:06:17]request: POST /json_proto HTTP/1.0 [08:06:17]Method: POST [08:06:17]URL: /json_proto [08:06:17]Method is POST - this is cgi request [08:06:17]url: /json_proto [08:06:17]query_string will be loaded in cgi processing [08:06:17]execute_cgi json_proto POST (null) [08:06:17]execute_cgi path=json_proto method=POST [08:06:17]POST find Content-Length [08:06:17]Host: 172.17.40.196:8080 [08:06:17]Content-Length: 644 [08:06:17]Content-Type: application/json [08:06:17] [08:06:17]POST finish read [08:06:17]Found Content-Length = 644 [08:06:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34991", "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:06:17]execute_script... [08:06: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)34991", "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:06:17]POST & json_proto [08:06:17]process_json_proto [08:06:17]json parsed OK: [08:06:17]protocol is kg_v1.0 [08:06:17]action value=close_receipt [08:06:17]process_action close_receipt [08:06:17]cmd_close_receipt [08:06:17]MH_GetDate [08:06:17]Write to MH i2c: F0 00 00 0B 03 FD [08:06:17]Write i2c OK [08:06:17]MH_I2C_Read... [08:06:17]Read from MH i2c: F0 [08:06:17]MH_I2C_Read... [08:06:17]Read from MH i2c: F0 09 00 [08:06:17]MH_I2C_Read... [08:06:17]Read from MH i2c: F0 09 00 0B 03 00 7A F4 1D 67 5B 68 A1 66 C2 [08:06:17]GetLastDocTimeStamp 1730010746 [08:06:17]current date 1730016378 [08:06:17]FM_GetShiftState [08:06:17]SAM_PROTO_GetShiftState [08:06:17]wFMCommunicate request_size=4 [08:06:17]MH_SAM_APDU [08:06:17]CAPDU: 80 13 01 00 [08:06:17]Write to MH i2c: E2 08 00 0C 03 80 13 01 00 00 00 00 00 8C [08:06:17]Write i2c OK [08:06:17]MH_I2C_Read... [08:06:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:06:17]Read from MH i2c: E2 [08:06:17]MH_I2C_Read... [08:06:17]Read from MH i2c: E2 0E 00 [08:06:17]MH_I2C_Read... [08:06:17]Read from MH i2c: E2 0E 00 0C 03 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 43 [08:06:17]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [08:06:17]wFMCommunicate OK [08:06:17]SAM_PROTO_GetShiftState done [08:06:17]FM_GetShiftState done [08:06:17]opened in 1729987492 [08:06:17]opened+sec_in_day 1730073892 [08:06:17]quantity*price = 6500 [08:06:17]sum+1 = 6501 [08:06:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 19 27.10.2024 08:06 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37693 ФПД: 194623608022973 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T080618&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37693&fm=194623608022973&tin=02508201610067®Number=0000000000091684&sum=6500 0 [08:06:18]StoreToDocumentArchive [08:06:18]shift 550 fd 37693 [08:06:18]save to /storage/0550/doc_00037693 [08:06:18]save last doc name /storage/0550/doc_00037693 to /storage/kkm_last_doc_name [08:06:18]save OK [08:06:18]Clear old archive folders... [08:06:18]ProcessDocumentItem done err = 0, tmpTLVsize=272 [08:06:18]tlvbuf is 00213820 [08:06:18]SAM_PROTO_ClearQueue [08:06:18]wFMCommunicate request_size=4 [08:06:18]MH_SAM_APDU [08:06:18]CAPDU: 80 09 00 00 [08:06:18]Write to MH i2c: E2 08 00 19 03 80 09 00 00 00 00 00 00 8E [08:06:18]Write i2c OK [08:06:18]MH_I2C_Read... [08:06:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:06:18]Read from MH i2c: E2 [08:06:18]MH_I2C_Read... [08:06:18]Read from MH i2c: E2 03 00 [08:06:18]MH_I2C_Read... [08:06:18]Read from MH i2c: E2 03 00 19 03 00 90 00 90 [08:06:18]RAPDU: 90 00 [08:06:18]wFMCommunicate OK [08:06:18]SAM_PROTO_ClearQueue done [08:06:18]KKMCreateOFDPacket [08:06:18]OFDProtocolAddRootSTLVToBuf [08:06:18]FM_MakeSignedData [08:06:18]FM_MakeSignedData [08:06:18]SAM_PROTO_SignData [08:06:18]wFMCommunicate request_size=4 [08:06:18]MH_SAM_APDU [08:06:18]CAPDU: 80 0D 01 02 [08:06:18]Write to MH i2c: E2 08 00 1A 03 80 0D 01 02 00 00 00 00 96 [08:06:18]Write i2c OK [08:06:18]MH_I2C_Read... [08:06:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:06:18]Read from MH i2c: E2 [08:06:18]MH_I2C_Read... [08:06:18]Read from MH i2c: E2 03 00 [08:06:18]MH_I2C_Read... [08:06:18]Read from MH i2c: E2 03 00 1A 03 00 90 00 91 [08:06:18]RAPDU: 90 00 [08:06:18]wFMCommunicate OK [08:06:18]wFMCommunicate request_size=255 [08:06:18]MH_SAM_APDU [08:06:18]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 13 00 00 00 F4 03 04 00 7A F4 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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:06:18]Write to MH i2c: E2 02 01 1B 03 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 13 00 00 00 F4 03 04 00 7A F4 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 12 [08:06:18]Write i2c OK [08:06:18]MH_I2C_Read... [08:06:18]OFD Sender: No OFD packet to send [08:06:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:06:18]Read from MH i2c: E2 [08:06:18]MH_I2C_Read... [08:06:18]Read from MH i2c: E2 03 00 [08:06:18]MH_I2C_Read... [08:06:18]Read from MH i2c: E2 03 00 1B 03 00 90 00 92 [08:06:18]RAPDU: 90 00 [08:06:18]wFMCommunicate OK [08:06:18]wFMCommunicate request_size=31 [08:06:18]MH_SAM_APDU [08:06:18]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 3D 93 00 00 35 04 06 00 B1 02 57 05 67 BD [08:06:18]Write to MH i2c: E2 22 00 1C 03 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 3D 93 00 00 35 04 06 00 B1 02 57 05 67 BD 00 00 C4 [08:06:18]Write i2c OK [08:06:18]MH_I2C_Read... [08:06:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:06:18]Read from MH i2c: E2 [08:06:18]MH_I2C_Read... [08:06:18]Read from MH i2c: E2 03 00 [08:06:18]MH_I2C_Read... [08:06:18]Read from MH i2c: E2 03 00 1C 03 00 90 00 93 [08:06:18]RAPDU: 90 00 [08:06:18]wFMCommunicate OK [08:06:18]wFMCommunicate request_size=4 [08:06:18]MH_SAM_APDU [08:06:18]CAPDU: 80 0D 03 02 [08:06:18]Write to MH i2c: E2 08 00 1D 03 80 0D 03 02 00 00 00 00 9B [08:06:18]Write i2c OK [08:06:18]MH_I2C_Read... [08:06:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:06:18]Read from MH i2c: E2 [08:06:18]MH_I2C_Read... [08:06:18]Read from MH i2c: E2 0B 00 [08:06:18]MH_I2C_Read... [08:06:18]Read from MH i2c: E2 0B 00 1D 03 00 84 5A B2 4C C0 BC 13 8B 90 00 92 [08:06:18]RAPDU: 84 5A B2 4C C0 BC 13 8B 90 00 [08:06:18]wFMCommunicate OK [08:06:18]SAM_PROTO_SignData done [08:06:18]FM_MakeSignedData done [08:06:18]CreateOFDProtocolMessage [08:06:18]wFMCommunicate request_size=4 [08:06:18]MH_SAM_APDU [08:06:18]CAPDU: 80 11 00 00 [08:06:18]Write to MH i2c: E2 08 00 1E 03 80 11 00 00 00 00 00 00 9B [08:06:18]Write i2c OK [08:06:18]MH_I2C_Read... [08:06:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:06:18]Read from MH i2c: E2 [08:06:18]MH_I2C_Read... [08:06:18]Read from MH i2c: E2 17 00 [08:06:18]MH_I2C_Read... [08:06:18]Read from MH i2c: E2 17 00 1E 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 EB [08:06:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [08:06:18]wFMCommunicate OK [08:06:18]CreateOFDProtocolMessage done [08:06:18]OFDSenderStorePacket 37693 [08:06:18]StoreOFDPacket docnum=37693 [08:06:18]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 55 81 1C 01 69 C9 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 13 00 00 00 F4 03 04 00 7A F4 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 3D 93 00 00 35 04 06 00 B1 02 57 05 67 BD 84 5A B2 4C C0 BC 13 8B [08:06:18]CheckFolder [08:06:18]dirname=/storage/ofd_packets [08:06:18]CheckFolder done [08:06:18]ProducePacketName [08:06:18]name=ofd_packets/00037693 [08:06:18]NVStorageSaveData ofd_packets/00037693 [08:06:18]File name is /storage/ofd_packets/00037693 [08:06:18]Write 322 bytes [08:06:18]NVStorageSaveData done [08:06:18]OFDSenderStorePacket done [08:06:18]KKMCreateOFDPacket done [08:06:18]NVStorageSaveData kkm_last_timestamp [08:06:18]File name is /storage/kkm_last_timestamp [08:06:18]Write 4 bytes [08:06:18]NVStorageSaveData done [08:06:18]ExternCall_PrintAddStr [08:06:18]wPrintStart [08:06:18]Write to MH i2c: 01 00 00 1F 03 22 [08:06:18]Write i2c OK [08:06:18]MH_I2C_Read... [08:06:18]Read from MH i2c: 01 [08:06:18]MH_I2C_Read... [08:06:18]Read from MH i2c: 01 07 00 [08:06:18]MH_I2C_Read... [08:06:18]Read from MH i2c: 01 07 00 1F 03 00 00 00 00 00 FF 0F 37 [08:06:18]RasterBufferAndPrint [08:06:18]line Счет N : (3)34991 [08:06:18]line ИНН: 02508201610067 [08:06:18]line Контрольно-Кассовый Чек [08:06:18]line ПРОДАЖА [08:06:18]line Товар: 47011656 [08:06:18]line Водка Пшеничная 0,1л [08:06:18]line 1.000 * 65.00 [08:06:18]line = 65.00 [08:06:18]line НДС 12% НСП 1% [08:06:18]line > о реализуемом товаре [08:06:18]line ИТОГО: 65.00 [08:06:18]line НСП 1% : 0.57 [08:06:18]line НДС 12% : 6.90 [08:06:18]line Наличными: 65.00 [08:06:18]line Безнал.: 0.00 [08:06:18]line Место: АЗС № 126 "Партнер Нефть" [08:06:18]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [08:06:18]line СНО: Общий режим [08:06:18]line Чек 19 27.10.2024 08:06 [08:06:18]line Смена: 550 ФФД: 1.0 [08:06:18]line ЗНМ: 0300000092 [08:06:18]line РНМ: 0000000000091684 [08:06:18]line Версия ККМ: 001 [08:06:18]line ФМ: 0000000000871841 [08:06:18]line ФД: 37693 [08:06:18]line ФПД: 194623608022973 [08:06:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T080618&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37693&fm=194623608022973&tin=02508201610067®Number=0000000000091684&sum=6500 [08:06:18]line 0 [08:06:19]written 0, free lines is 4095 [08:06:19]OFD Sender: Processing packet 37693 [packets to send 42, broken 41] [08:06:19]ProducePacketName [08:06:19]name=ofd_packets/00037693 [08:06:19]OFD Sender: To server: pG, [08:06:19]CommunicateWithHost lk.salyk.kg:30040 [08:06:19]ConnectInit lk.salyk.kg [08:06:19]Connected sock=11 [08:06: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 24 01 00 00 55 81 1C 01 69 C9 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 13 00 00 00 F4 03 04 00 7A F4 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 3D 93 00 00 35 04 06 00 B1 02 57 05 67 BD 84 5A B2 4C C0 BC 13 8B [08:06:19]Write to MH i2c: 01 00 00 47 03 4A [08:06:19]Write i2c OK [08:06:19]MH_I2C_Read... [08:06:19]Read from MH i2c: 01 [08:06:19]MH_I2C_Read... [08:06:19]Read from MH i2c: 01 07 00 [08:06:19]MH_I2C_Read... [08:06:19]Read from MH i2c: 01 07 00 47 03 00 00 00 00 00 E8 0C 45 [08:06:19]RasterBufferAndPrint [08:06:19]line [08:06:19]line [08:06:19]line [08:06:19]line [08:06:19]line [08:06:19]written 0, free lines is 3310 [08:06:19]MH_Cut [08:06:19]Write to MH i2c: D1 01 00 4E 03 01 23 [08:06:19]Write i2c OK [08:06:19]MH_I2C_Read... [08:06:19]Read from MH i2c: D1 [08:06:19]MH_I2C_Read... [08:06:19]Read from MH i2c: D1 01 00 [08:06:19]MH_I2C_Read... [08:06:19]Read from MH i2c: D1 01 00 4E 03 00 22 [08:06:19]Write to MH i2c: 01 00 00 4F 03 52 [08:06:19]Write i2c OK [08:06:19]MH_I2C_Read... [08:06:19]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 E2 A3 47 00 C9 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 3D 93 00 00 F4 03 04 00 73 9F 1D 67 B6 04 01 00 00 4A B6 0D FC EE 34 F3 E5 [08:06:19]CommunicateWithHost err = 0 [08:06:19]CheckOFDResponse [08:06:19]1017 (14) - 77093643461234 [08:06:19]1041 (16) - 0000000000871841 [08:06:19]1040 (4) - 37693 [08:06:19]1012 (4) - 27.10.2024 02:03 [08:06:19]1206 (1) - 0 [08:06:19]OFD Sender: Remove packet 37693 [08:06:19]ProducePacketName [08:06:19]name=ofd_packets/00037693 [08:06:19]NVStorageDeleteData [08:06:20]*** Cut start [08:06:20]*** Partial cut [08:06:20]*** CUTSNS_PIN = 1 [08:06:20]*** CUTSNS_PIN = 0 [08:06:20]OFD Sender: No OFD packet to send [08:06:20]*** Brake cut motor [08:06:20]Read from MH i2c: 01 [08:06:20]MH_I2C_Read... [08:06:20]*** Stop cut motor [08:06:20]*** Cut end [08:06:20]Read from MH i2c: 01 07 00 [08:06:20]MH_I2C_Read... [08:06:20]Read from MH i2c: 01 07 00 4F 03 00 00 00 00 00 FF 0F 67 [08:06:20]process_action close_receipt done [08:06:20]requested_data is exist [08:06:20]produce_requested_data [08:06:20]requested_item fm.sn is exist - process it [08:06:20]wFMCommunicate request_size=4 [08:06:20]MH_SAM_APDU [08:06:20]CAPDU: 80 11 00 00 [08:06:20]Write to MH i2c: E2 08 00 50 03 80 11 00 00 00 00 00 00 CD [08:06:20]Write i2c OK [08:06:20]MH_I2C_Read... [08:06:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:06:21]Read from MH i2c: E2 [08:06:21]MH_I2C_Read... [08:06:21]Read from MH i2c: E2 17 00 [08:06:21]MH_I2C_Read... [08:06:21]Read from MH i2c: E2 17 00 50 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 1D [08:06:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [08:06:21]wFMCommunicate OK [08:06:21]requested_item fd.num is exist - process it [08:06:21]SAM_PROTO_GetFieldsCounters [08:06:21]wFMCommunicate request_size=4 [08:06:21]MH_SAM_APDU [08:06:21]CAPDU: 80 13 00 00 [08:06:21]Write to MH i2c: E2 08 00 51 03 80 13 00 00 00 00 00 00 D0 [08:06:21]Write i2c OK [08:06:21]MH_I2C_Read... [08:06:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:06:21]Read from MH i2c: E2 [08:06:21]MH_I2C_Read... [08:06:21]Read from MH i2c: E2 62 00 [08:06:21]MH_I2C_Read... [08:06:21]Read from MH i2c: E2 62 00 51 03 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 3D 93 00 00 0E 04 04 00 26 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 22 [08:06: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 3D 93 00 00 0E 04 04 00 26 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 [08:06:21]wFMCommunicate OK [08:06:21]SAM_PROTO_GetFieldsCounters done [08:06:21]requested_item shift.num is exist - process it [08:06:21]requested_item shift.opened is exist - process it [08:06:21]req_shift_opened [08:06:21]FM_GetShiftState [08:06:21]SAM_PROTO_GetShiftState [08:06:21]wFMCommunicate request_size=4 [08:06:21]MH_SAM_APDU [08:06:21]CAPDU: 80 13 01 00 [08:06:21]Write to MH i2c: E2 08 00 52 03 80 13 01 00 00 00 00 00 D2 [08:06:21]Write i2c OK [08:06:21]MH_I2C_Read... [08:06:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:06:21]Read from MH i2c: E2 [08:06:21]MH_I2C_Read... [08:06:21]Read from MH i2c: E2 0E 00 [08:06:21]MH_I2C_Read... [08:06:21]Read from MH i2c: E2 0E 00 52 03 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 89 [08:06:21]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [08:06:21]wFMCommunicate OK [08:06:21]SAM_PROTO_GetShiftState done [08:06:21]FM_GetShiftState done [08:06:21]req_shift_opened done [08:06:21]requested_item shift.open_date is exist - process it [08:06:21]req_shift_open_date [08:06:21]req_shift_open_date done [08:06:21]produce_requested_data done [08:06:21]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37693,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [08:06:21]process_action_free close_receipt [08:06:21]json_value_free [08:06:21]json_value_free done [08:06:21]process_json_proto returns [08:06:21]Send response to host [08:06:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37693,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [08:06:21]free response buf [08:06:21]execute_script done [08:06:21]execute_script returns [08:06:21]free content buf [08:06:21]Sock 7.Close socket [08:06:21]Sock 7.Thread stoped [08:06:25]OFD Sender: No OFD packet to send [08:06:30]OFD Sender: No OFD packet to send [08:06:35]OFD Sender: No OFD packet to send [08:06:40]OFD Sender: No OFD packet to send [08:06:45]OFD Sender: No OFD packet to send [08:06:50]OFD Sender: No OFD packet to send [08:06:55]OFD Sender: No OFD packet to send [08:07:00]OFD Sender: No OFD packet to send [08:07:05]OFD Sender: No OFD packet to send [08:07:10]OFD Sender: No OFD packet to send [08:07:15]OFD Sender: No OFD packet to send [08:07:20]OFD Sender: No OFD packet to send [08:07:25]OFD Sender: No OFD packet to send [08:07:30]OFD Sender: No OFD packet to send [08:07:35]OFD Sender: No OFD packet to send [08:07:40]OFD Sender: No OFD packet to send [08:07:45]OFD Sender: No OFD packet to send [08:07:50]OFD Sender: No OFD packet to send [08:07:55]OFD Sender: No OFD packet to send [08:08:00]OFD Sender: No OFD packet to send [08:08:05]OFD Sender: No OFD packet to send [08:08:10]OFD Sender: No OFD packet to send [08:08:15]OFD Sender: No OFD packet to send [08:08:20]OFD Sender: No OFD packet to send [08:08:25]OFD Sender: No OFD packet to send [08:08:30]OFD Sender: No OFD packet to send [08:08:35]OFD Sender: No OFD packet to send [08:08:40]OFD Sender: No OFD packet to send [08:08:45]OFD Sender: No OFD packet to send [08:08:50]OFD Sender: No OFD packet to send [08:08:55]OFD Sender: No OFD packet to send [08:09:00]OFD Sender: No OFD packet to send [08:09:05]OFD Sender: No OFD packet to send [08:09:10]OFD Sender: No OFD packet to send [08:09:12]accept exits with 9 [08:09:12]New connection [08:09:12]New thread 3067297124 created [08:09:12]Thread 3067440484 joined [08:09:12]Waiting for new connection... [08:09:12] Sock 9.Parse request [08:09:12]Sock 9.Check first char [08:09:12]Sock 9.First char is OK [08:09:12]request: POST /json_proto HTTP/1.0 [08:09:12]Method: POST [08:09:12]URL: /json_proto [08:09:12]Method is POST - this is cgi request [08:09:12]url: /json_proto [08:09:12]query_string will be loaded in cgi processing [08:09:12]execute_cgi json_proto POST (null) [08:09:12]execute_cgi path=json_proto method=POST [08:09:12]POST find Content-Length [08:09:12]Host: 172.17.40.196:8080 [08:09:12]Content-Length: 645 [08:09:12]Content-Type: application/json [08:09:12] [08:09:12]POST finish read [08:09:12]Found Content-Length = 645 [08:09:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34992", "tax_sys" : 0, "items" : [ { "code": "4700000310173", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 0,5\u043B \u0431/\u0433", "price" : 39.00, "quantity" : 1.000, "sum" : 39.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 39.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:09:12]execute_script... [08:09: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)34992", "tax_sys" : 0, "items" : [ { "code": "4700000310173", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 0,5\u043B \u0431/\u0433", "price" : 39.00, "quantity" : 1.000, "sum" : 39.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 39.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:09:12]POST & json_proto [08:09:12]process_json_proto [08:09:12]json parsed OK: [08:09:12]protocol is kg_v1.0 [08:09:12]action value=close_receipt [08:09:12]process_action close_receipt [08:09:12]cmd_close_receipt [08:09:12]MH_GetDate [08:09:12]Write to MH i2c: F0 00 00 53 03 45 [08:09:12]Write i2c OK [08:09:12]MH_I2C_Read... [08:09:12]Read from MH i2c: F0 [08:09:12]MH_I2C_Read... [08:09:12]Read from MH i2c: F0 09 00 [08:09:12]MH_I2C_Read... [08:09:12]Read from MH i2c: F0 09 00 53 03 00 29 F5 1D 67 5B 68 A1 66 BA [08:09:12]GetLastDocTimeStamp 1730016378 [08:09:12]current date 1730016553 [08:09:12]FM_GetShiftState [08:09:12]SAM_PROTO_GetShiftState [08:09:12]wFMCommunicate request_size=4 [08:09:12]MH_SAM_APDU [08:09:12]CAPDU: 80 13 01 00 [08:09:12]Write to MH i2c: E2 08 00 54 03 80 13 01 00 00 00 00 00 D4 [08:09:12]Write i2c OK [08:09:12]MH_I2C_Read... [08:09:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:09:12]Read from MH i2c: E2 [08:09:12]MH_I2C_Read... [08:09:12]Read from MH i2c: E2 0E 00 [08:09:12]MH_I2C_Read... [08:09:12]Read from MH i2c: E2 0E 00 54 03 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 8B [08:09:12]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [08:09:12]wFMCommunicate OK [08:09:12]SAM_PROTO_GetShiftState done [08:09:12]FM_GetShiftState done [08:09:12]opened in 1729987492 [08:09:12]opened+sec_in_day 1730073892 [08:09:12]quantity*price = 3900 [08:09:12]sum+1 = 3901 [08:09:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 39.00 НСП 1% : 0.34 НДС 12% : 4.14 Наличными: 39.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 20 27.10.2024 08:09 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37694 ФПД: 278656595569227 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T080913&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37694&fm=278656595569227&tin=02508201610067®Number=0000000000091684&sum=3900 0 [08:09:13]StoreToDocumentArchive [08:09:13]shift 550 fd 37694 [08:09:13]save to /storage/0550/doc_00037694 [08:09:13]save last doc name /storage/0550/doc_00037694 to /storage/kkm_last_doc_name [08:09:13]save OK [08:09:13]Clear old archive folders... [08:09:13]ProcessDocumentItem done err = 0, tmpTLVsize=277 [08:09:13]tlvbuf is 00290330 [08:09:13]SAM_PROTO_ClearQueue [08:09:13]wFMCommunicate request_size=4 [08:09:13]MH_SAM_APDU [08:09:13]CAPDU: 80 09 00 00 [08:09:13]Write to MH i2c: E2 08 00 61 03 80 09 00 00 00 00 00 00 D6 [08:09:13]Write i2c OK [08:09:13]MH_I2C_Read... [08:09:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:09:13]Read from MH i2c: E2 [08:09:13]MH_I2C_Read... [08:09:13]Read from MH i2c: E2 03 00 [08:09:13]MH_I2C_Read... [08:09:13]Read from MH i2c: E2 03 00 61 03 00 90 00 D8 [08:09:13]RAPDU: 90 00 [08:09:13]wFMCommunicate OK [08:09:13]SAM_PROTO_ClearQueue done [08:09:13]KKMCreateOFDPacket [08:09:13]OFDProtocolAddRootSTLVToBuf [08:09:13]FM_MakeSignedData [08:09:13]FM_MakeSignedData [08:09:13]SAM_PROTO_SignData [08:09:13]wFMCommunicate request_size=4 [08:09:13]MH_SAM_APDU [08:09:13]CAPDU: 80 0D 01 02 [08:09:13]Write to MH i2c: E2 08 00 62 03 80 0D 01 02 00 00 00 00 DE [08:09:13]Write i2c OK [08:09:13]MH_I2C_Read... [08:09:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:09:13]Read from MH i2c: E2 [08:09:13]MH_I2C_Read... [08:09:13]Read from MH i2c: E2 03 00 [08:09:13]MH_I2C_Read... [08:09:13]Read from MH i2c: E2 03 00 62 03 00 90 00 D9 [08:09:13]RAPDU: 90 00 [08:09:13]wFMCommunicate OK [08:09:13]wFMCommunicate request_size=255 [08:09:13]MH_SAM_APDU [08:09:13]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 31 37 33 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 0F 00 00 00 00 13 04 06 00 3C 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 22 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 01 00 00 00 00 07 04 06 00 3C 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 14 00 00 00 F4 03 04 00 29 F5 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [08:09:13]Write to MH i2c: E2 02 01 63 03 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 31 37 33 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 0F 00 00 00 00 13 04 06 00 3C 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 22 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 01 00 00 00 00 07 04 06 00 3C 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 14 00 00 00 F4 03 04 00 29 F5 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 22 [08:09:13]Write i2c OK [08:09:13]MH_I2C_Read... [08:09:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:09:13]Read from MH i2c: E2 [08:09:13]MH_I2C_Read... [08:09:13]Read from MH i2c: E2 03 00 [08:09:13]MH_I2C_Read... [08:09:13]Read from MH i2c: E2 03 00 63 03 00 90 00 DA [08:09:13]RAPDU: 90 00 [08:09:13]wFMCommunicate OK [08:09:13]wFMCommunicate request_size=36 [08:09:13]MH_SAM_APDU [08:09:13]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3E 93 00 00 35 04 06 00 FD 6F CB 64 AA 4B [08:09:13]Write to MH i2c: E2 27 00 64 03 80 0D 02 02 1F 00 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3E 93 00 00 35 04 06 00 FD 6F CB 64 AA 4B 00 00 64 [08:09:13]Write i2c OK [08:09:13]MH_I2C_Read... [08:09:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:09:13]Read from MH i2c: E2 [08:09:13]MH_I2C_Read... [08:09:13]Read from MH i2c: E2 03 00 [08:09:13]MH_I2C_Read... [08:09:13]Read from MH i2c: E2 03 00 64 03 00 90 00 DB [08:09:13]RAPDU: 90 00 [08:09:13]wFMCommunicate OK [08:09:13]wFMCommunicate request_size=4 [08:09:13]MH_SAM_APDU [08:09:13]CAPDU: 80 0D 03 02 [08:09:13]Write to MH i2c: E2 08 00 65 03 80 0D 03 02 00 00 00 00 E3 [08:09:13]Write i2c OK [08:09:13]MH_I2C_Read... [08:09:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:09:13]Read from MH i2c: E2 [08:09:13]MH_I2C_Read... [08:09:13]Read from MH i2c: E2 0B 00 [08:09:13]MH_I2C_Read... [08:09:13]Read from MH i2c: E2 0B 00 65 03 00 B9 35 2C 8D 48 2E 5F 1C 90 00 7C [08:09:13]RAPDU: B9 35 2C 8D 48 2E 5F 1C 90 00 [08:09:13]wFMCommunicate OK [08:09:13]SAM_PROTO_SignData done [08:09:13]FM_MakeSignedData done [08:09:13]CreateOFDProtocolMessage [08:09:13]wFMCommunicate request_size=4 [08:09:13]MH_SAM_APDU [08:09:13]CAPDU: 80 11 00 00 [08:09:13]Write to MH i2c: E2 08 00 66 03 80 11 00 00 00 00 00 00 E3 [08:09:13]Write i2c OK [08:09:13]MH_I2C_Read... [08:09:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:09:13]Read from MH i2c: E2 [08:09:13]MH_I2C_Read... [08:09:13]Read from MH i2c: E2 17 00 [08:09:13]MH_I2C_Read... [08:09:13]Read from MH i2c: E2 17 00 66 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 33 [08:09:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [08:09:13]wFMCommunicate OK [08:09:13]CreateOFDProtocolMessage done [08:09:13]OFDSenderStorePacket 37694 [08:09:13]StoreOFDPacket docnum=37694 [08:09: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 29 01 00 00 71 25 21 01 1C B8 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 31 37 33 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 0F 00 00 00 00 13 04 06 00 3C 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 22 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 01 00 00 00 00 07 04 06 00 3C 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 14 00 00 00 F4 03 04 00 29 F5 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 3E 93 00 00 35 04 06 00 FD 6F CB 64 AA 4B B9 35 2C 8D 48 2E 5F 1C [08:09:13]CheckFolder [08:09:13]dirname=/storage/ofd_packets [08:09:13]CheckFolder done [08:09:13]ProducePacketName [08:09:13]name=ofd_packets/00037694 [08:09:13]NVStorageSaveData ofd_packets/00037694 [08:09:13]File name is /storage/ofd_packets/00037694 [08:09:13]Write 327 bytes [08:09:13]NVStorageSaveData done [08:09:13]OFDSenderStorePacket done [08:09:13]KKMCreateOFDPacket done [08:09:13]NVStorageSaveData kkm_last_timestamp [08:09:13]File name is /storage/kkm_last_timestamp [08:09:13]Write 4 bytes [08:09:13]NVStorageSaveData done [08:09:13]ExternCall_PrintAddStr [08:09:13]wPrintStart [08:09:13]Write to MH i2c: 01 00 00 67 03 6A [08:09:13]Write i2c OK [08:09:13]MH_I2C_Read... [08:09:13]Read from MH i2c: 01 [08:09:13]MH_I2C_Read... [08:09:13]Read from MH i2c: 01 07 00 [08:09:13]MH_I2C_Read... [08:09:13]Read from MH i2c: 01 07 00 67 03 00 00 00 00 00 FF 0F 7F [08:09:13]RasterBufferAndPrint [08:09:13]line Счет N : (3)34992 [08:09:13]line ИНН: 02508201610067 [08:09:13]line Контрольно-Кассовый Чек [08:09:13]line ПРОДАЖА [08:09:13]line Товар: 4700000310173 [08:09:13]line Вода Адыгене 0,5л б/г [08:09:13]line 1.000 * 39.00 [08:09:13]line = 39.00 [08:09:13]line НДС 12% НСП 1% [08:09:13]line > о реализуемом товаре [08:09:13]line ИТОГО: 39.00 [08:09:13]line НСП 1% : 0.34 [08:09:13]line НДС 12% : 4.14 [08:09:13]line Наличными: 39.00 [08:09:13]line Безнал.: 0.00 [08:09:13]line Место: АЗС № 126 "Партнер Нефть" [08:09:13]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [08:09:13]line СНО: Общий режим [08:09:13]line Чек 20 27.10.2024 08:09 [08:09:13]line Смена: 550 ФФД: 1.0 [08:09:13]line ЗНМ: 0300000092 [08:09:13]line РНМ: 0000000000091684 [08:09:13]line Версия ККМ: 001 [08:09:13]line ФМ: 0000000000871841 [08:09:13]line ФД: 37694 [08:09:13]line ФПД: 278656595569227 [08:09:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T080913&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37694&fm=278656595569227&tin=02508201610067®Number=0000000000091684&sum=3900 [08:09:14]line 0 [08:09:14]OFD Sender: Processing packet 37694 [packets to send 42, broken 41] [08:09:14]ProducePacketName [08:09:14]name=ofd_packets/00037694 [08:09:14]OFD Sender: To server: pG, [08:09:14]CommunicateWithHost lk.salyk.kg:30040 [08:09:14]ConnectInit lk.salyk.kg [08:09:14]written 0, free lines is 4095 [08:09:14]Write to MH i2c: 01 00 00 8F 03 92 [08:09:14]Write i2c OK [08:09:14]MH_I2C_Read... [08:09:14]Read from MH i2c: 01 [08:09:14]MH_I2C_Read... [08:09:14]Read from MH i2c: 01 07 00 [08:09:14]MH_I2C_Read... [08:09:14]Read from MH i2c: 01 07 00 8F 03 00 00 00 00 00 D1 0C 76 [08:09:14]RasterBufferAndPrint [08:09:14]line [08:09:14]line [08:09:14]line [08:09:14]line [08:09:14]line [08:09:14]written 0, free lines is 3285 [08:09:14]MH_Cut [08:09:14]Write to MH i2c: D1 01 00 96 03 01 6B [08:09:14]Write i2c OK [08:09:14]MH_I2C_Read... [08:09:14]Read from MH i2c: D1 [08:09:14]MH_I2C_Read... [08:09:14]Read from MH i2c: D1 01 00 [08:09:14]MH_I2C_Read... [08:09:14]Read from MH i2c: D1 01 00 96 03 00 6A [08:09:14]Write to MH i2c: 01 00 00 97 03 9A [08:09:14]Write i2c OK [08:09:14]MH_I2C_Read... [08:09:14]Connected sock=11 [08:09: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 29 01 00 00 71 25 21 01 1C B8 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 31 37 33 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 0F 00 00 00 00 13 04 06 00 3C 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 22 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 01 00 00 00 00 07 04 06 00 3C 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 14 00 00 00 F4 03 04 00 29 F5 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 3E 93 00 00 35 04 06 00 FD 6F CB 64 AA 4B B9 35 2C 8D 48 2E 5F 1C [08:09: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 A9 EB 47 00 80 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 3E 93 00 00 F4 03 04 00 22 A0 1D 67 B6 04 01 00 00 80 8A 6B 11 A9 BE B8 05 [08:09:15]CommunicateWithHost err = 0 [08:09:15]CheckOFDResponse [08:09:15]1017 (14) - 77093643461234 [08:09:15]1041 (16) - 0000000000871841 [08:09:15]1040 (4) - 37694 [08:09:15]1012 (4) - 27.10.2024 02:06 [08:09:15]1206 (1) - 0 [08:09:15]OFD Sender: Remove packet 37694 [08:09:15]ProducePacketName [08:09:15]name=ofd_packets/00037694 [08:09:15]NVStorageDeleteData [08:09:15]*** Cut start [08:09:15]*** Partial cut [08:09:15]*** CUTSNS_PIN = 1 [08:09:15]OFD Sender: No OFD packet to send [08:09:15]*** CUTSNS_PIN = 0 [08:09:15]*** Brake cut motor [08:09:16]Read from MH i2c: 01 [08:09:16]MH_I2C_Read... [08:09:16]*** Stop cut motor [08:09:16]*** Cut end [08:09:16]Read from MH i2c: 01 07 00 [08:09:16]MH_I2C_Read... [08:09:16]Read from MH i2c: 01 07 00 97 03 00 00 00 00 00 FF 0F AF [08:09:16]process_action close_receipt done [08:09:16]requested_data is exist [08:09:16]produce_requested_data [08:09:16]requested_item fm.sn is exist - process it [08:09:16]wFMCommunicate request_size=4 [08:09:16]MH_SAM_APDU [08:09:16]CAPDU: 80 11 00 00 [08:09:16]Write to MH i2c: E2 08 00 98 03 80 11 00 00 00 00 00 00 15 [08:09:16]Write i2c OK [08:09:16]MH_I2C_Read... [08:09:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:09:16]Read from MH i2c: E2 [08:09:16]MH_I2C_Read... [08:09:16]Read from MH i2c: E2 17 00 [08:09:16]MH_I2C_Read... [08:09:16]Read from MH i2c: E2 17 00 98 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 65 [08:09:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [08:09:16]wFMCommunicate OK [08:09:16]requested_item fd.num is exist - process it [08:09:16]SAM_PROTO_GetFieldsCounters [08:09:16]wFMCommunicate request_size=4 [08:09:16]MH_SAM_APDU [08:09:16]CAPDU: 80 13 00 00 [08:09:16]Write to MH i2c: E2 08 00 99 03 80 13 00 00 00 00 00 00 18 [08:09:16]Write i2c OK [08:09:16]MH_I2C_Read... [08:09:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:09:16]Read from MH i2c: E2 [08:09:16]MH_I2C_Read... [08:09:16]Read from MH i2c: E2 62 00 [08:09:16]MH_I2C_Read... [08:09:16]Read from MH i2c: E2 62 00 99 03 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 3E 93 00 00 0E 04 04 00 26 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 6E [08:09: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 3E 93 00 00 0E 04 04 00 26 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 [08:09:16]wFMCommunicate OK [08:09:16]SAM_PROTO_GetFieldsCounters done [08:09:16]requested_item shift.num is exist - process it [08:09:16]requested_item shift.opened is exist - process it [08:09:16]req_shift_opened [08:09:16]FM_GetShiftState [08:09:16]SAM_PROTO_GetShiftState [08:09:16]wFMCommunicate request_size=4 [08:09:16]MH_SAM_APDU [08:09:16]CAPDU: 80 13 01 00 [08:09:16]Write to MH i2c: E2 08 00 9A 03 80 13 01 00 00 00 00 00 1A [08:09:16]Write i2c OK [08:09:16]MH_I2C_Read... [08:09:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:09:16]Read from MH i2c: E2 [08:09:16]MH_I2C_Read... [08:09:16]Read from MH i2c: E2 0E 00 [08:09:16]MH_I2C_Read... [08:09:16]Read from MH i2c: E2 0E 00 9A 03 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 D1 [08:09:16]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [08:09:16]wFMCommunicate OK [08:09:16]SAM_PROTO_GetShiftState done [08:09:16]FM_GetShiftState done [08:09:16]req_shift_opened done [08:09:16]requested_item shift.open_date is exist - process it [08:09:16]req_shift_open_date [08:09:16]req_shift_open_date done [08:09:16]produce_requested_data done [08:09:16]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37694,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [08:09:16]process_action_free close_receipt [08:09:16]json_value_free [08:09:16]json_value_free done [08:09:16]process_json_proto returns [08:09:16]Send response to host [08:09:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37694,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [08:09:16]free response buf [08:09:16]execute_script done [08:09:16]execute_script returns [08:09:16]free content buf [08:09:16]Sock 9.Close socket [08:09:16]Sock 9.Thread stoped [08:09:20]OFD Sender: No OFD packet to send [08:09:25]OFD Sender: No OFD packet to send [08:09:30]OFD Sender: No OFD packet to send [08:09:35]OFD Sender: No OFD packet to send [08:09:40]OFD Sender: No OFD packet to send [08:09:45]OFD Sender: No OFD packet to send [08:09:50]OFD Sender: No OFD packet to send [08:09:55]OFD Sender: No OFD packet to send [08:10:00]OFD Sender: No OFD packet to send [08:10:05]OFD Sender: No OFD packet to send [08:10:10]OFD Sender: No OFD packet to send [08:10:15]OFD Sender: No OFD packet to send [08:10:20]OFD Sender: No OFD packet to send [08:10:25]OFD Sender: No OFD packet to send [08:10:30]OFD Sender: No OFD packet to send [08:10:35]OFD Sender: No OFD packet to send [08:10:40]OFD Sender: No OFD packet to send [08:10:45]OFD Sender: No OFD packet to send [08:10:50]OFD Sender: No OFD packet to send [08:10:55]OFD Sender: No OFD packet to send [08:11:00]OFD Sender: No OFD packet to send [08:11:05]OFD Sender: No OFD packet to send [08:11:10]OFD Sender: No OFD packet to send [08:11:15]OFD Sender: No OFD packet to send [08:11:20]OFD Sender: No OFD packet to send [08:11:25]OFD Sender: No OFD packet to send [08:11:30]OFD Sender: No OFD packet to send [08:11:35]OFD Sender: No OFD packet to send [08:11:40]OFD Sender: No OFD packet to send [08:11:45]OFD Sender: No OFD packet to send [08:11:50]OFD Sender: No OFD packet to send [08:11:55]OFD Sender: No OFD packet to send [08:12:00]OFD Sender: No OFD packet to send [08:12:05]OFD Sender: No OFD packet to send [08:12:10]OFD Sender: No OFD packet to send [08:12:15]OFD Sender: No OFD packet to send [08:12:20]OFD Sender: No OFD packet to send [08:12:25]OFD Sender: No OFD packet to send [08:12:30]OFD Sender: No OFD packet to send [08:12:35]OFD Sender: No OFD packet to send [08:12:40]OFD Sender: No OFD packet to send [08:12:45]OFD Sender: No OFD packet to send [08:12:50]OFD Sender: No OFD packet to send [08:12:55]OFD Sender: No OFD packet to send [08:13:00]OFD Sender: No OFD packet to send [08:13:05]OFD Sender: No OFD packet to send [08:13:10]OFD Sender: No OFD packet to send [08:13:15]OFD Sender: No OFD packet to send [08:13:20]OFD Sender: No OFD packet to send [08:13:25]OFD Sender: No OFD packet to send [08:13:30]OFD Sender: No OFD packet to send [08:13:35]OFD Sender: No OFD packet to send [08:13:40]OFD Sender: No OFD packet to send [08:13:45]OFD Sender: No OFD packet to send [08:13:50]OFD Sender: No OFD packet to send [08:13:55]OFD Sender: No OFD packet to send [08:14:00]OFD Sender: No OFD packet to send [08:14:05]accept exits with 7 [08:14:05]New connection [08:14:05]New thread 3067440484 created [08:14:05]Thread 3067297124 joined [08:14:05]Waiting for new connection... [08:14:05] Sock 7.Parse request [08:14:05]Sock 7.Check first char [08:14:05]Sock 7.First char is OK [08:14:05]request: POST /json_proto HTTP/1.0 [08:14:05]Method: POST [08:14:05]URL: /json_proto [08:14:05]Method is POST - this is cgi request [08:14:05]url: /json_proto [08:14:05]query_string will be loaded in cgi processing [08:14:05]execute_cgi json_proto POST (null) [08:14:05]execute_cgi path=json_proto method=POST [08:14:05]POST find Content-Length [08:14:05]Host: 172.17.40.196:8080 [08:14:05]Content-Length: 622 [08:14:05]Content-Type: application/json [08:14:05] [08:14:05]POST finish read [08:14:05]Found Content-Length = 622 [08:14:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34993", "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" ] } } [08:14:05]execute_script... [08:14: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)34993", "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" ] } } [08:14:05]POST & json_proto [08:14:05]process_json_proto [08:14:05]json parsed OK: [08:14:05]protocol is kg_v1.0 [08:14:05]action value=close_receipt [08:14:05]process_action close_receipt [08:14:05]cmd_close_receipt [08:14:05]MH_GetDate [08:14:05]Write to MH i2c: F0 00 00 9B 03 8D [08:14:05]Write i2c OK [08:14:05]MH_I2C_Read... [08:14:05]Read from MH i2c: F0 [08:14:05]MH_I2C_Read... [08:14:05]Read from MH i2c: F0 09 00 [08:14:05]MH_I2C_Read... [08:14:05]Read from MH i2c: F0 09 00 9B 03 00 4E F6 1D 67 5B 68 A1 66 28 [08:14:05]GetLastDocTimeStamp 1730016553 [08:14:05]current date 1730016846 [08:14:05]FM_GetShiftState [08:14:05]SAM_PROTO_GetShiftState [08:14:05]wFMCommunicate request_size=4 [08:14:05]MH_SAM_APDU [08:14:05]CAPDU: 80 13 01 00 [08:14:05]Write to MH i2c: E2 08 00 9C 03 80 13 01 00 00 00 00 00 1C [08:14:05]Write i2c OK [08:14:05]MH_I2C_Read... [08:14:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:14:05]Read from MH i2c: E2 [08:14:05]MH_I2C_Read... [08:14:05]Read from MH i2c: E2 0E 00 [08:14:05]MH_I2C_Read... [08:14:05]Read from MH i2c: E2 0E 00 9C 03 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 D3 [08:14:05]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [08:14:05]wFMCommunicate OK [08:14:05]SAM_PROTO_GetShiftState done [08:14:05]FM_GetShiftState done [08:14:05]opened in 1729987492 [08:14:05]opened+sec_in_day 1730073892 [08:14:05]quantity*price = 14400 [08:14:05]sum+1 = 14401 [08:14:05]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 27.10.2024 08:14 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37695 ФПД: 227142664417250 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T081406&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37695&fm=227142664417250&tin=02508201610067®Number=0000000000091684&sum=14400 0 [08:14:06]StoreToDocumentArchive [08:14:06]shift 550 fd 37695 [08:14:06]save to /storage/0550/doc_00037695 [08:14:06]save last doc name /storage/0550/doc_00037695 to /storage/kkm_last_doc_name [08:14:06]save OK [08:14:06]Clear old archive folders... [08:14:06]ProcessDocumentItem done err = 0, tmpTLVsize=275 [08:14:06]tlvbuf is 00221D20 [08:14:06]SAM_PROTO_ClearQueue [08:14:06]wFMCommunicate request_size=4 [08:14:06]MH_SAM_APDU [08:14:06]CAPDU: 80 09 00 00 [08:14:06]Write to MH i2c: E2 08 00 A9 03 80 09 00 00 00 00 00 00 1E [08:14:06]Write i2c OK [08:14:06]MH_I2C_Read... [08:14:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:14:06]Read from MH i2c: E2 [08:14:06]MH_I2C_Read... [08:14:06]Read from MH i2c: E2 03 00 [08:14:06]MH_I2C_Read... [08:14:06]Read from MH i2c: E2 03 00 A9 03 00 90 00 20 [08:14:06]RAPDU: 90 00 [08:14:06]wFMCommunicate OK [08:14:06]SAM_PROTO_ClearQueue done [08:14:06]KKMCreateOFDPacket [08:14:06]OFDProtocolAddRootSTLVToBuf [08:14:06]FM_MakeSignedData [08:14:06]FM_MakeSignedData [08:14:06]SAM_PROTO_SignData [08:14:06]wFMCommunicate request_size=4 [08:14:06]MH_SAM_APDU [08:14:06]CAPDU: 80 0D 01 02 [08:14:06]Write to MH i2c: E2 08 00 AA 03 80 0D 01 02 00 00 00 00 26 [08:14:06]Write i2c OK [08:14:06]MH_I2C_Read... [08:14:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:14:06]Read from MH i2c: E2 [08:14:06]MH_I2C_Read... [08:14:06]Read from MH i2c: E2 03 00 [08:14:06]MH_I2C_Read... [08:14:06]Read from MH i2c: E2 03 00 AA 03 00 90 00 21 [08:14:06]RAPDU: 90 00 [08:14:06]wFMCommunicate OK [08:14:06]wFMCommunicate request_size=255 [08:14:06]MH_SAM_APDU [08:14:06]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 4E F6 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [08:14:06]Write to MH i2c: E2 02 01 AB 03 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 4E F6 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 33 [08:14:06]Write i2c OK [08:14:06]MH_I2C_Read... [08:14:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:14:06]Read from MH i2c: E2 [08:14:06]MH_I2C_Read... [08:14:06]Read from MH i2c: E2 03 00 [08:14:06]MH_I2C_Read... [08:14:06]Read from MH i2c: E2 03 00 AB 03 00 90 00 22 [08:14:06]RAPDU: 90 00 [08:14:06]wFMCommunicate OK [08:14:06]wFMCommunicate request_size=34 [08:14:06]MH_SAM_APDU [08:14:06]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3F 93 00 00 35 04 06 00 CE 95 C5 D3 6F E2 [08:14:06]Write to MH i2c: E2 25 00 AC 03 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 3F 93 00 00 35 04 06 00 CE 95 C5 D3 6F E2 00 00 05 [08:14:06]Write i2c OK [08:14:06]MH_I2C_Read... [08:14:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:14:06]Read from MH i2c: E2 [08:14:06]MH_I2C_Read... [08:14:06]Read from MH i2c: E2 03 00 [08:14:06]MH_I2C_Read... [08:14:06]Read from MH i2c: E2 03 00 AC 03 00 90 00 23 [08:14:06]RAPDU: 90 00 [08:14:06]wFMCommunicate OK [08:14:06]wFMCommunicate request_size=4 [08:14:06]MH_SAM_APDU [08:14:06]CAPDU: 80 0D 03 02 [08:14:06]Write to MH i2c: E2 08 00 AD 03 80 0D 03 02 00 00 00 00 2B [08:14:06]Write i2c OK [08:14:06]MH_I2C_Read... [08:14:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:14:06]Read from MH i2c: E2 [08:14:06]MH_I2C_Read... [08:14:06]Read from MH i2c: E2 0B 00 [08:14:06]MH_I2C_Read... [08:14:06]Read from MH i2c: E2 0B 00 AD 03 00 56 27 06 82 B8 CB 5D 06 90 00 17 [08:14:06]RAPDU: 56 27 06 82 B8 CB 5D 06 90 00 [08:14:06]wFMCommunicate OK [08:14:06]SAM_PROTO_SignData done [08:14:06]FM_MakeSignedData done [08:14:06]CreateOFDProtocolMessage [08:14:06]wFMCommunicate request_size=4 [08:14:06]MH_SAM_APDU [08:14:06]CAPDU: 80 11 00 00 [08:14:06]Write to MH i2c: E2 08 00 AE 03 80 11 00 00 00 00 00 00 2B [08:14:06]Write i2c OK [08:14:06]MH_I2C_Read... [08:14:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:14:06]Read from MH i2c: E2 [08:14:06]MH_I2C_Read... [08:14:06]Read from MH i2c: E2 17 00 [08:14:06]MH_I2C_Read... [08:14:06]Read from MH i2c: E2 17 00 AE 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 7B [08:14:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [08:14:06]wFMCommunicate OK [08:14:06]CreateOFDProtocolMessage done [08:14:06]OFDSenderStorePacket 37695 [08:14:06]StoreOFDPacket docnum=37695 [08:14: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 27 01 00 00 AD 6B 1F 01 AE 0E 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 4E F6 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 3F 93 00 00 35 04 06 00 CE 95 C5 D3 6F E2 56 27 06 82 B8 CB 5D 06 [08:14:06]CheckFolder [08:14:06]dirname=/storage/ofd_packets [08:14:06]CheckFolder done [08:14:06]ProducePacketName [08:14:06]name=ofd_packets/00037695 [08:14:06]NVStorageSaveData ofd_packets/00037695 [08:14:06]File name is /storage/ofd_packets/00037695 [08:14:06]Write 325 bytes [08:14:06]NVStorageSaveData done [08:14:06]OFDSenderStorePacket done [08:14:06]KKMCreateOFDPacket done [08:14:06]NVStorageSaveData kkm_last_timestamp [08:14:06]File name is /storage/kkm_last_timestamp [08:14:06]Write 4 bytes [08:14:06]NVStorageSaveData done [08:14:06]ExternCall_PrintAddStr [08:14:06]wPrintStart [08:14:06]Write to MH i2c: 01 00 00 AF 03 B2 [08:14:06]Write i2c OK [08:14:06]MH_I2C_Read... [08:14:06]Read from MH i2c: 01 [08:14:06]MH_I2C_Read... [08:14:06]Read from MH i2c: 01 07 00 [08:14:06]MH_I2C_Read... [08:14:06]Read from MH i2c: 01 07 00 AF 03 00 00 00 00 00 FF 0F C7 [08:14:06]RasterBufferAndPrint [08:14:06]line Счет N : (3)34993 [08:14:06]line ИНН: 02508201610067 [08:14:06]line Контрольно-Кассовый Чек [08:14:06]line ПРОДАЖА [08:14:06]line Товар: 48743587 [08:14:06]line Сигареты Winston XStyle Silver [08:14:06]line 1.000 * 144.00 [08:14:06]line = 144.00 [08:14:06]line НДС 12% НСП 1% [08:14:06]line > о реализуемом товаре [08:14:06]line ИТОГО: 144.00 [08:14:06]line НСП 1% : 1.27 [08:14:06]line НДС 12% : 15.29 [08:14:06]line Наличными: 144.00 [08:14:06]line Безнал.: 0.00 [08:14:06]line Место: АЗС № 126 "Партнер Нефть" [08:14:06]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [08:14:06]line СНО: Общий режим [08:14:06]line Чек 21 27.10.2024 08:14 [08:14:06]line Смена: 550 ФФД: 1.0 [08:14:06]line ЗНМ: 0300000092 [08:14:06]line РНМ: 0000000000091684 [08:14:06]line Версия ККМ: 001 [08:14:06]line ФМ: 0000000000871841 [08:14:06]line ФД: 37695 [08:14:06]line ФПД: 227142664417250 [08:14:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T081406&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37695&fm=227142664417250&tin=02508201610067®Number=0000000000091684&sum=14400 [08:14:07]line 0 [08:14:07]OFD Sender: Processing packet 37695 [packets to send 42, broken 41] [08:14:07]ProducePacketName [08:14:07]name=ofd_packets/00037695 [08:14:07]OFD Sender: To server: pG, [08:14:07]CommunicateWithHost lk.salyk.kg:30040 [08:14:07]ConnectInit lk.salyk.kg [08:14:07]written 0, free lines is 4095 [08:14:07]Connected sock=10 [08:14: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 27 01 00 00 AD 6B 1F 01 AE 0E 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 4E F6 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 3F 93 00 00 35 04 06 00 CE 95 C5 D3 6F E2 56 27 06 82 B8 CB 5D 06 [08:14:07]Write to MH i2c: 01 00 00 D8 03 DB [08:14:07]Write i2c OK [08:14:07]MH_I2C_Read... [08:14:07]Read from MH i2c: 01 [08:14:07]MH_I2C_Read... [08:14:07]Read from MH i2c: 01 07 00 [08:14:07]MH_I2C_Read... [08:14:07]Read from MH i2c: 01 07 00 D8 03 00 00 00 00 00 B6 0C A4 [08:14:07]RasterBufferAndPrint [08:14:07]line [08:14:07]line [08:14:07]line [08:14:07]line [08:14:07]line [08:14:07]written 0, free lines is 3260 [08:14:07]MH_Cut [08:14:07]Write to MH i2c: D1 01 00 DF 03 01 B4 [08:14:07]Write i2c OK [08:14:07]MH_I2C_Read... [08:14:07]Read from MH i2c: D1 [08:14:07]MH_I2C_Read... [08:14:07]Read from MH i2c: D1 01 00 [08:14:07]MH_I2C_Read... [08:14:07]Read from MH i2c: D1 01 00 DF 03 00 B3 [08:14:07]Write to MH i2c: 01 00 00 E0 03 E3 [08:14:07]Write i2c OK [08:14:07]MH_I2C_Read... [08:14: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 FF 6F 47 00 02 3A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 3F 93 00 00 F4 03 04 00 47 A1 1D 67 B6 04 01 00 00 43 78 C0 94 1B BC DF 49 [08:14:07]CommunicateWithHost err = 0 [08:14:07]CheckOFDResponse [08:14:07]1017 (14) - 77093643461234 [08:14:07]1041 (16) - 0000000000871841 [08:14:07]1040 (4) - 37695 [08:14:07]1012 (4) - 27.10.2024 02:11 [08:14:07]1206 (1) - 0 [08:14:07]OFD Sender: Remove packet 37695 [08:14:07]ProducePacketName [08:14:07]name=ofd_packets/00037695 [08:14:07]NVStorageDeleteData [08:14:08]OFD Sender: No OFD packet to send [08:14:08]*** Cut start [08:14:08]*** Partial cut [08:14:08]*** CUTSNS_PIN = 1 [08:14:08]*** CUTSNS_PIN = 0 [08:14:08]*** Brake cut motor [08:14:09]Read from MH i2c: 01 [08:14:09]MH_I2C_Read... [08:14:09]*** Stop cut motor [08:14:09]*** Cut end [08:14:09]Read from MH i2c: 01 07 00 [08:14:09]MH_I2C_Read... [08:14:09]Read from MH i2c: 01 07 00 E0 03 00 00 00 00 00 FF 0F F8 [08:14:09]process_action close_receipt done [08:14:09]requested_data is exist [08:14:09]produce_requested_data [08:14:09]requested_item fm.sn is exist - process it [08:14:09]wFMCommunicate request_size=4 [08:14:09]MH_SAM_APDU [08:14:09]CAPDU: 80 11 00 00 [08:14:09]Write to MH i2c: E2 08 00 E1 03 80 11 00 00 00 00 00 00 5E [08:14:09]Write i2c OK [08:14:09]MH_I2C_Read... [08:14:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:14:09]Read from MH i2c: E2 [08:14:09]MH_I2C_Read... [08:14:09]Read from MH i2c: E2 17 00 [08:14:09]MH_I2C_Read... [08:14:09]Read from MH i2c: E2 17 00 E1 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 AE [08:14:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [08:14:09]wFMCommunicate OK [08:14:09]requested_item fd.num is exist - process it [08:14:09]SAM_PROTO_GetFieldsCounters [08:14:09]wFMCommunicate request_size=4 [08:14:09]MH_SAM_APDU [08:14:09]CAPDU: 80 13 00 00 [08:14:09]Write to MH i2c: E2 08 00 E2 03 80 13 00 00 00 00 00 00 61 [08:14:09]Write i2c OK [08:14:09]MH_I2C_Read... [08:14:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:14:09]Read from MH i2c: E2 [08:14:09]MH_I2C_Read... [08:14:09]Read from MH i2c: E2 62 00 [08:14:09]MH_I2C_Read... [08:14:09]Read from MH i2c: E2 62 00 E2 03 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 3F 93 00 00 0E 04 04 00 26 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 BB [08:14: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 3F 93 00 00 0E 04 04 00 26 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 [08:14:09]wFMCommunicate OK [08:14:09]SAM_PROTO_GetFieldsCounters done [08:14:09]requested_item shift.num is exist - process it [08:14:09]requested_item shift.opened is exist - process it [08:14:09]req_shift_opened [08:14:09]FM_GetShiftState [08:14:09]SAM_PROTO_GetShiftState [08:14:09]wFMCommunicate request_size=4 [08:14:09]MH_SAM_APDU [08:14:09]CAPDU: 80 13 01 00 [08:14:09]Write to MH i2c: E2 08 00 E3 03 80 13 01 00 00 00 00 00 63 [08:14:09]Write i2c OK [08:14:09]MH_I2C_Read... [08:14:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:14:09]Read from MH i2c: E2 [08:14:09]MH_I2C_Read... [08:14:09]Read from MH i2c: E2 0E 00 [08:14:09]MH_I2C_Read... [08:14:09]Read from MH i2c: E2 0E 00 E3 03 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 1A [08:14:09]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [08:14:09]wFMCommunicate OK [08:14:09]SAM_PROTO_GetShiftState done [08:14:09]FM_GetShiftState done [08:14:09]req_shift_opened done [08:14:09]requested_item shift.open_date is exist - process it [08:14:09]req_shift_open_date [08:14:09]req_shift_open_date done [08:14:09]produce_requested_data done [08:14:09]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37695,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [08:14:09]process_action_free close_receipt [08:14:09]json_value_free [08:14:09]json_value_free done [08:14:09]process_json_proto returns [08:14:09]Send response to host [08:14:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37695,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [08:14:09]free response buf [08:14:09]execute_script done [08:14:09]execute_script returns [08:14:09]free content buf [08:14:09]Sock 7.Close socket [08:14:09]Sock 7.Thread stoped [08:14:13]OFD Sender: No OFD packet to send [08:14:18]OFD Sender: No OFD packet to send [08:14:23]OFD Sender: No OFD packet to send [08:14:28]OFD Sender: No OFD packet to send [08:14:33]OFD Sender: No OFD packet to send [08:14:38]OFD Sender: No OFD packet to send [08:14:43]OFD Sender: No OFD packet to send [08:14:48]OFD Sender: No OFD packet to send [08:14:53]OFD Sender: No OFD packet to send [08:14:58]OFD Sender: No OFD packet to send [08:15:03]OFD Sender: No OFD packet to send [08:15:08]OFD Sender: No OFD packet to send [08:15:13]OFD Sender: No OFD packet to send [08:15:18]accept exits with 9 [08:15:18]New connection [08:15:18]New thread 3067297124 created [08:15:18]Thread 3067440484 joined [08:15:18]Waiting for new connection... [08:15:18] Sock 9.Parse request [08:15:18]Sock 9.Check first char [08:15:18]Sock 9.First char is OK [08:15:18]request: POST /json_proto HTTP/1.0 [08:15:18]Method: POST [08:15:18]URL: /json_proto [08:15:18]Method is POST - this is cgi request [08:15:18]url: /json_proto [08:15:18]query_string will be loaded in cgi processing [08:15:18]execute_cgi json_proto POST (null) [08:15:18]execute_cgi path=json_proto method=POST [08:15:18]POST find Content-Length [08:15:18]Host: 172.17.40.196:8080 [08:15:18]Content-Length: 717 [08:15:18]Content-Type: application/json [08:15:18] [08:15:18]POST finish read [08:15:18]Found Content-Length = 717 [08:15:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34994", "tax_sys" : 0, "items" : [ { "code": "4606532000189", "name": "\u0422\u043E\u0440\u043C\u043E\u0437\u043D\u0430\u044F \u0436\u0438\u0434\u043A\u043E\u0441\u0442\u044C \u0420\u043E\u0441\u0414\u043E\u0442-4 0,455\u043A\u0433", "price" : 250.00, "quantity" : 1.000, "sum" : 250.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 250.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:15:18]execute_script... [08:15: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)34994", "tax_sys" : 0, "items" : [ { "code": "4606532000189", "name": "\u0422\u043E\u0440\u043C\u043E\u0437\u043D\u0430\u044F \u0436\u0438\u0434\u043A\u043E\u0441\u0442\u044C \u0420\u043E\u0441\u0414\u043E\u0442-4 0,455\u043A\u0433", "price" : 250.00, "quantity" : 1.000, "sum" : 250.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 250.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:15:18]POST & json_proto [08:15:18]process_json_proto [08:15:18]json parsed OK: [08:15:18]protocol is kg_v1.0 [08:15:18]action value=close_receipt [08:15:18]process_action close_receipt [08:15:18]cmd_close_receipt [08:15:18]MH_GetDate [08:15:18]Write to MH i2c: F0 00 00 E4 03 D6 [08:15:18]Write i2c OK [08:15:18]MH_I2C_Read... [08:15:18]Read from MH i2c: F0 [08:15:18]MH_I2C_Read... [08:15:18]Read from MH i2c: F0 09 00 [08:15:18]MH_I2C_Read... [08:15:18]Read from MH i2c: F0 09 00 E4 03 00 97 F6 1D 67 5B 68 A1 66 BA [08:15:18]GetLastDocTimeStamp 1730016846 [08:15:18]current date 1730016919 [08:15:18]FM_GetShiftState [08:15:18]SAM_PROTO_GetShiftState [08:15:18]wFMCommunicate request_size=4 [08:15:18]MH_SAM_APDU [08:15:18]CAPDU: 80 13 01 00 [08:15:18]Write to MH i2c: E2 08 00 E5 03 80 13 01 00 00 00 00 00 65 [08:15:18]Write i2c OK [08:15:18]MH_I2C_Read... [08:15:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:15:18]Read from MH i2c: E2 [08:15:18]MH_I2C_Read... [08:15:18]Read from MH i2c: E2 0E 00 [08:15:18]MH_I2C_Read... [08:15:18]Read from MH i2c: E2 0E 00 E5 03 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 1C [08:15:18]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [08:15:18]wFMCommunicate OK [08:15:18]SAM_PROTO_GetShiftState done [08:15:18]FM_GetShiftState done [08:15:18]opened in 1729987492 [08:15:18]opened+sec_in_day 1730073892 [08:15:18]quantity*price = 25000 [08:15:18]sum+1 = 25001 [08:15:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 250.00 НСП 1% : 2.21 НДС 12% : 26.55 Наличными: 250.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 22 27.10.2024 08:15 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37696 ФПД: 247941834904627 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T081519&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37696&fm=247941834904627&tin=02508201610067®Number=0000000000091684&sum=25000 0 [08:15:19]StoreToDocumentArchive [08:15:19]shift 550 fd 37696 [08:15:19]save to /storage/0550/doc_00037696 [08:15:19]save last doc name /storage/0550/doc_00037696 to /storage/kkm_last_doc_name [08:15:19]save OK [08:15:19]Clear old archive folders... [08:15:19]ProcessDocumentItem done err = 0, tmpTLVsize=302 [08:15:19]tlvbuf is 00213D70 [08:15:19]SAM_PROTO_ClearQueue [08:15:19]wFMCommunicate request_size=4 [08:15:19]MH_SAM_APDU [08:15:19]CAPDU: 80 09 00 00 [08:15:19]Write to MH i2c: E2 08 00 F2 03 80 09 00 00 00 00 00 00 67 [08:15:19]Write i2c OK [08:15:19]MH_I2C_Read... [08:15:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:15:19]Read from MH i2c: E2 [08:15:19]MH_I2C_Read... [08:15:19]Read from MH i2c: E2 03 00 [08:15:19]MH_I2C_Read... [08:15:19]Read from MH i2c: E2 03 00 F2 03 00 90 00 69 [08:15:19]RAPDU: 90 00 [08:15:19]wFMCommunicate OK [08:15:19]SAM_PROTO_ClearQueue done [08:15:19]KKMCreateOFDPacket [08:15:19]OFDProtocolAddRootSTLVToBuf [08:15:19]FM_MakeSignedData [08:15:19]FM_MakeSignedData [08:15:19]SAM_PROTO_SignData [08:15:19]wFMCommunicate request_size=4 [08:15:19]MH_SAM_APDU [08:15:19]CAPDU: 80 0D 01 02 [08:15:19]Write to MH i2c: E2 08 00 F3 03 80 0D 01 02 00 00 00 00 6F [08:15:19]Write i2c OK [08:15:19]MH_I2C_Read... [08:15:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:15:19]Read from MH i2c: E2 [08:15:19]MH_I2C_Read... [08:15:19]Read from MH i2c: E2 03 00 [08:15:19]MH_I2C_Read... [08:15:19]Read from MH i2c: E2 03 00 F3 03 00 90 00 6A [08:15:19]RAPDU: 90 00 [08:15:19]wFMCommunicate OK [08:15:19]wFMCommunicate request_size=255 [08:15:19]MH_SAM_APDU [08:15:19]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 30 36 35 33 32 30 30 30 31 38 39 06 04 3C 00 D0 A2 D0 BE D1 80 D0 BC D0 BE D0 B7 D0 BD D0 B0 D1 8F 20 D0 B6 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D0 A0 D0 BE D1 81 D0 94 D0 BE D1 82 2D 34 20 30 2C 34 35 35 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A8 61 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 A8 61 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 97 F6 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 [08:15:19]Write to MH i2c: E2 02 01 F4 03 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 30 36 35 33 32 30 30 30 31 38 39 06 04 3C 00 D0 A2 D0 BE D1 80 D0 BC D0 BE D0 B7 D0 BD D0 B0 D1 8F 20 D0 B6 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D0 A0 D0 BE D1 81 D0 94 D0 BE D1 82 2D 34 20 30 2C 34 35 35 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A8 61 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 A8 61 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 97 F6 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 00 00 88 [08:15:19]Write i2c OK [08:15:19]MH_I2C_Read... [08:15:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:15:19]Read from MH i2c: E2 [08:15:19]MH_I2C_Read... [08:15:19]Read from MH i2c: E2 03 00 [08:15:19]MH_I2C_Read... [08:15:19]Read from MH i2c: E2 03 00 F4 03 00 90 00 6B [08:15:19]RAPDU: 90 00 [08:15:19]wFMCommunicate OK [08:15:19]wFMCommunicate request_size=61 [08:15:19]MH_SAM_APDU [08:15:19]CAPDU: 80 0D 02 02 38 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 40 93 00 00 35 04 06 00 E1 80 74 FE 94 33 [08:15:19]Write to MH i2c: E2 40 00 F5 03 80 0D 02 02 38 00 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 40 93 00 00 35 04 06 00 E1 80 74 FE 94 33 00 00 14 [08:15:19]Write i2c OK [08:15:19]MH_I2C_Read... [08:15:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:15:19]Read from MH i2c: E2 [08:15:19]MH_I2C_Read... [08:15:19]Read from MH i2c: E2 03 00 [08:15:19]MH_I2C_Read... [08:15:19]Read from MH i2c: E2 03 00 F5 03 00 90 00 6C [08:15:19]RAPDU: 90 00 [08:15:19]wFMCommunicate OK [08:15:19]wFMCommunicate request_size=4 [08:15:19]MH_SAM_APDU [08:15:19]CAPDU: 80 0D 03 02 [08:15:19]Write to MH i2c: E2 08 00 F6 03 80 0D 03 02 00 00 00 00 74 [08:15:19]Write i2c OK [08:15:19]MH_I2C_Read... [08:15:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:15:19]Read from MH i2c: E2 [08:15:19]MH_I2C_Read... [08:15:19]Read from MH i2c: E2 0B 00 [08:15:19]MH_I2C_Read... [08:15:19]Read from MH i2c: E2 0B 00 F6 03 00 5E 1B 38 E5 9A C8 33 25 90 00 C5 [08:15:19]RAPDU: 5E 1B 38 E5 9A C8 33 25 90 00 [08:15:19]wFMCommunicate OK [08:15:19]SAM_PROTO_SignData done [08:15:19]FM_MakeSignedData done [08:15:19]CreateOFDProtocolMessage [08:15:19]wFMCommunicate request_size=4 [08:15:19]MH_SAM_APDU [08:15:19]CAPDU: 80 11 00 00 [08:15:19]Write to MH i2c: E2 08 00 F7 03 80 11 00 00 00 00 00 00 74 [08:15:19]Write i2c OK [08:15:19]MH_I2C_Read... [08:15:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:15:19]Read from MH i2c: E2 [08:15:19]MH_I2C_Read... [08:15:19]Read from MH i2c: E2 17 00 [08:15:19]MH_I2C_Read... [08:15:20]Read from MH i2c: E2 17 00 F7 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 C4 [08:15:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [08:15:20]wFMCommunicate OK [08:15:20]CreateOFDProtocolMessage done [08:15:20]OFDSenderStorePacket 37696 [08:15:20]StoreOFDPacket docnum=37696 [08:15: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 42 01 00 00 53 5C 3A 01 C3 6F 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 30 36 35 33 32 30 30 30 31 38 39 06 04 3C 00 D0 A2 D0 BE D1 80 D0 BC D0 BE D0 B7 D0 BD D0 B0 D1 8F 20 D0 B6 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D0 A0 D0 BE D1 81 D0 94 D0 BE D1 82 2D 34 20 30 2C 34 35 35 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A8 61 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 A8 61 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 97 F6 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 40 93 00 00 35 04 06 00 E1 80 74 FE 94 33 5E 1B 38 E5 9A C8 33 25 [08:15:20]CheckFolder [08:15:20]dirname=/storage/ofd_packets [08:15:20]CheckFolder done [08:15:20]ProducePacketName [08:15:20]name=ofd_packets/00037696 [08:15:20]NVStorageSaveData ofd_packets/00037696 [08:15:20]File name is /storage/ofd_packets/00037696 [08:15:20]Write 352 bytes [08:15:20]NVStorageSaveData done [08:15:20]OFDSenderStorePacket done [08:15:20]KKMCreateOFDPacket done [08:15:20]NVStorageSaveData kkm_last_timestamp [08:15:20]File name is /storage/kkm_last_timestamp [08:15:20]Write 4 bytes [08:15:20]NVStorageSaveData done [08:15:20]ExternCall_PrintAddStr [08:15:20]wPrintStart [08:15:20]Write to MH i2c: 01 00 00 F8 03 FB [08:15:20]Write i2c OK [08:15:20]MH_I2C_Read... [08:15:20]Read from MH i2c: 01 [08:15:20]MH_I2C_Read... [08:15:20]Read from MH i2c: 01 07 00 [08:15:20]MH_I2C_Read... [08:15:20]Read from MH i2c: 01 07 00 F8 03 00 00 00 00 00 FF 0F 10 [08:15:20]RasterBufferAndPrint [08:15:20]line Счет N : (3)34994 [08:15:20]line ИНН: 02508201610067 [08:15:20]line Контрольно-Кассовый Чек [08:15:20]line ПРОДАЖА [08:15:20]line Товар: 4606532000189 [08:15:20]line Тормозная жидкость РосДот-4 0,455кг [08:15:20]line 1.000 * 250.00 [08:15:20]line = 250.00 [08:15:20]line НДС 12% НСП 1% [08:15:20]line > о реализуемом товаре [08:15:20]line ИТОГО: 250.00 [08:15:20]line НСП 1% : 2.21 [08:15:20]line НДС 12% : 26.55 [08:15:20]line Наличными: 250.00 [08:15:20]line Безнал.: 0.00 [08:15:20]line Место: АЗС № 126 "Партнер Нефть" [08:15:20]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [08:15:20]line СНО: Общий режим [08:15:20]line Чек 22 27.10.2024 08:15 [08:15:20]line Смена: 550 ФФД: 1.0 [08:15:20]line ЗНМ: 0300000092 [08:15:20]line РНМ: 0000000000091684 [08:15:20]line Версия ККМ: 001 [08:15:20]line ФМ: 0000000000871841 [08:15:20]line ФД: 37696 [08:15:20]line ФПД: 247941834904627 [08:15:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T081519&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37696&fm=247941834904627&tin=02508201610067®Number=0000000000091684&sum=25000 [08:15:20]line 0 [08:15:20]OFD Sender: Processing packet 37696 [packets to send 42, broken 41] [08:15:20]ProducePacketName [08:15:20]name=ofd_packets/00037696 [08:15:20]OFD Sender: To server: pG, [08:15:20]CommunicateWithHost lk.salyk.kg:30040 [08:15:20]ConnectInit lk.salyk.kg [08:15:20]written 0, free lines is 4095 [08:15:20]Connected sock=10 [08:15: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 42 01 00 00 53 5C 3A 01 C3 6F 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 30 36 35 33 32 30 30 30 31 38 39 06 04 3C 00 D0 A2 D0 BE D1 80 D0 BC D0 BE D0 B7 D0 BD D0 B0 D1 8F 20 D0 B6 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D0 A0 D0 BE D1 81 D0 94 D0 BE D1 82 2D 34 20 30 2C 34 35 35 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A8 61 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 A8 61 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 97 F6 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 40 93 00 00 35 04 06 00 E1 80 74 FE 94 33 5E 1B 38 E5 9A C8 33 25 [08:15:20]Write to MH i2c: 01 00 00 21 04 25 [08:15:20]Write i2c OK [08:15:20]MH_I2C_Read... [08:15:20]Read from MH i2c: 01 [08:15:20]MH_I2C_Read... [08:15:20]Read from MH i2c: 01 07 00 [08:15:20]MH_I2C_Read... [08:15:20]Read from MH i2c: 01 07 00 21 04 00 00 00 00 00 C8 0C 00 [08:15:20]RasterBufferAndPrint [08:15:20]line [08:15:20]line [08:15:20]line [08:15:20]line [08:15:20]line [08:15:20]written 0, free lines is 3278 [08:15:20]MH_Cut [08:15:20]Write to MH i2c: D1 01 00 28 04 01 FE [08:15:20]Write i2c OK [08:15:20]MH_I2C_Read... [08:15:20]Read from MH i2c: D1 [08:15:20]MH_I2C_Read... [08:15:20]Read from MH i2c: D1 01 00 [08:15:20]MH_I2C_Read... [08:15:20]Read from MH i2c: D1 01 00 28 04 00 FD [08:15:20]Write to MH i2c: 01 00 00 29 04 2D [08:15:20]Write i2c OK [08:15:20]MH_I2C_Read... [08:15: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 B5 A8 47 00 A1 81 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 40 93 00 00 F4 03 04 00 90 A1 1D 67 B6 04 01 00 00 EE BC E9 99 16 3F 8D CD [08:15:20]CommunicateWithHost err = 0 [08:15:20]CheckOFDResponse [08:15:20]1017 (14) - 77093643461234 [08:15:20]1041 (16) - 0000000000871841 [08:15:20]1040 (4) - 37696 [08:15:20]1012 (4) - 27.10.2024 02:12 [08:15:20]1206 (1) - 0 [08:15:20]OFD Sender: Remove packet 37696 [08:15:20]ProducePacketName [08:15:20]name=ofd_packets/00037696 [08:15:20]NVStorageDeleteData [08:15:21]OFD Sender: No OFD packet to send [08:15:21]*** Cut start [08:15:21]*** Partial cut [08:15:21]*** CUTSNS_PIN = 1 [08:15:21]*** CUTSNS_PIN = 0 [08:15:21]*** Brake cut motor [08:15:22]Read from MH i2c: 01 [08:15:22]MH_I2C_Read... [08:15:22]*** Stop cut motor [08:15:22]*** Cut end [08:15:22]Read from MH i2c: 01 07 00 [08:15:22]MH_I2C_Read... [08:15:22]Read from MH i2c: 01 07 00 29 04 00 00 00 00 00 FF 0F 42 [08:15:22]process_action close_receipt done [08:15:22]requested_data is exist [08:15:22]produce_requested_data [08:15:22]requested_item fm.sn is exist - process it [08:15:22]wFMCommunicate request_size=4 [08:15:22]MH_SAM_APDU [08:15:22]CAPDU: 80 11 00 00 [08:15:22]Write to MH i2c: E2 08 00 2A 04 80 11 00 00 00 00 00 00 A8 [08:15:22]Write i2c OK [08:15:22]MH_I2C_Read... [08:15:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:15:22]Read from MH i2c: E2 [08:15:22]MH_I2C_Read... [08:15:22]Read from MH i2c: E2 17 00 [08:15:22]MH_I2C_Read... [08:15:22]Read from MH i2c: E2 17 00 2A 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F8 [08:15:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [08:15:22]wFMCommunicate OK [08:15:22]requested_item fd.num is exist - process it [08:15:22]SAM_PROTO_GetFieldsCounters [08:15:22]wFMCommunicate request_size=4 [08:15:22]MH_SAM_APDU [08:15:22]CAPDU: 80 13 00 00 [08:15:22]Write to MH i2c: E2 08 00 2B 04 80 13 00 00 00 00 00 00 AB [08:15:22]Write i2c OK [08:15:22]MH_I2C_Read... [08:15:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:15:22]Read from MH i2c: E2 [08:15:22]MH_I2C_Read... [08:15:22]Read from MH i2c: E2 62 00 [08:15:22]MH_I2C_Read... [08:15:22]Read from MH i2c: E2 62 00 2B 04 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 40 93 00 00 0E 04 04 00 26 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 09 [08:15: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 40 93 00 00 0E 04 04 00 26 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 [08:15:22]wFMCommunicate OK [08:15:22]SAM_PROTO_GetFieldsCounters done [08:15:22]requested_item shift.num is exist - process it [08:15:22]requested_item shift.opened is exist - process it [08:15:22]req_shift_opened [08:15:22]FM_GetShiftState [08:15:22]SAM_PROTO_GetShiftState [08:15:22]wFMCommunicate request_size=4 [08:15:22]MH_SAM_APDU [08:15:22]CAPDU: 80 13 01 00 [08:15:22]Write to MH i2c: E2 08 00 2C 04 80 13 01 00 00 00 00 00 AD [08:15:22]Write i2c OK [08:15:22]MH_I2C_Read... [08:15:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:15:22]Read from MH i2c: E2 [08:15:22]MH_I2C_Read... [08:15:22]Read from MH i2c: E2 0E 00 [08:15:22]MH_I2C_Read... [08:15:22]Read from MH i2c: E2 0E 00 2C 04 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 64 [08:15:22]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [08:15:22]wFMCommunicate OK [08:15:22]SAM_PROTO_GetShiftState done [08:15:22]FM_GetShiftState done [08:15:22]req_shift_opened done [08:15:22]requested_item shift.open_date is exist - process it [08:15:22]req_shift_open_date [08:15:22]req_shift_open_date done [08:15:22]produce_requested_data done [08:15:22]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37696,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [08:15:22]process_action_free close_receipt [08:15:22]json_value_free [08:15:22]json_value_free done [08:15:22]process_json_proto returns [08:15:22]Send response to host [08:15:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37696,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [08:15:22]free response buf [08:15:22]execute_script done [08:15:22]execute_script returns [08:15:22]free content buf [08:15:22]Sock 9.Close socket [08:15:22]Sock 9.Thread stoped [08:15:26]OFD Sender: No OFD packet to send [08:15:31]OFD Sender: No OFD packet to send [08:15:36]OFD Sender: No OFD packet to send [08:15:41]OFD Sender: No OFD packet to send [08:15:46]OFD Sender: No OFD packet to send [08:15:51]OFD Sender: No OFD packet to send [08:15:56]OFD Sender: No OFD packet to send [08:16:01]OFD Sender: No OFD packet to send [08:16:06]OFD Sender: No OFD packet to send [08:16:11]OFD Sender: No OFD packet to send [08:16:16]OFD Sender: No OFD packet to send [08:16:21]OFD Sender: No OFD packet to send [08:16:26]OFD Sender: No OFD packet to send [08:16:31]OFD Sender: No OFD packet to send [08:16:36]OFD Sender: No OFD packet to send [08:16:41]OFD Sender: No OFD packet to send [08:16:46]OFD Sender: No OFD packet to send [08:16:51]OFD Sender: No OFD packet to send [08:16:56]OFD Sender: No OFD packet to send [08:17:01]OFD Sender: No OFD packet to send [08:17:06]OFD Sender: No OFD packet to send [08:17:11]OFD Sender: No OFD packet to send [08:17:16]OFD Sender: No OFD packet to send [08:17:21]OFD Sender: No OFD packet to send [08:17:26]OFD Sender: No OFD packet to send [08:17:31]OFD Sender: No OFD packet to send [08:17:36]OFD Sender: No OFD packet to send [08:17:41]OFD Sender: No OFD packet to send [08:17:46]OFD Sender: No OFD packet to send [08:17:51]OFD Sender: No OFD packet to send [08:17:56]OFD Sender: No OFD packet to send [08:18:01]OFD Sender: No OFD packet to send [08:18:06]OFD Sender: No OFD packet to send [08:18:21]OFD Sender: No OFD packet to send [08:18:26]OFD Sender: No OFD packet to send [08:18:31]OFD Sender: No OFD packet to send [08:18:36]OFD Sender: No OFD packet to send [08:18:41]OFD Sender: No OFD packet to send [08:18:46]OFD Sender: No OFD packet to send [08:18:51]OFD Sender: No OFD packet to send [08:18:56]OFD Sender: No OFD packet to send [08:19:01]OFD Sender: No OFD packet to send [08:19:06]OFD Sender: No OFD packet to send [08:19:11]OFD Sender: No OFD packet to send [08:19:16]OFD Sender: No OFD packet to send [08:19:21]OFD Sender: No OFD packet to send [08:19:26]OFD Sender: No OFD packet to send [08:19:31]OFD Sender: No OFD packet to send [08:19:36]OFD Sender: No OFD packet to send [08:19:41]OFD Sender: No OFD packet to send [08:19:46]OFD Sender: No OFD packet to send [08:19:51]OFD Sender: No OFD packet to send [08:19:56]OFD Sender: No OFD packet to send [08:20:01]OFD Sender: No OFD packet to send [08:20:06]OFD Sender: No OFD packet to send [08:20:11]OFD Sender: No OFD packet to send [08:20:16]OFD Sender: No OFD packet to send [08:20:21]OFD Sender: No OFD packet to send [08:20:26]OFD Sender: No OFD packet to send [08:20:28]ConnectInit Can't connect to host [08:20:31]OFD Sender: No OFD packet to send [08:20:36]OFD Sender: No OFD packet to send [08:20:41]OFD Sender: No OFD packet to send [08:20:46]OFD Sender: No OFD packet to send [08:20:51]OFD Sender: No OFD packet to send [08:20:56]OFD Sender: No OFD packet to send [08:21:01]OFD Sender: No OFD packet to send [08:21:06]OFD Sender: No OFD packet to send [08:21:11]OFD Sender: No OFD packet to send [08:21:16]OFD Sender: No OFD packet to send [08:21:21]OFD Sender: No OFD packet to send [08:21:26]OFD Sender: No OFD packet to send [08:21:31]OFD Sender: No OFD packet to send [08:21:36]OFD Sender: No OFD packet to send [08:21:41]OFD Sender: No OFD packet to send [08:21:46]OFD Sender: No OFD packet to send [08:21:51]OFD Sender: No OFD packet to send [08:21:56]OFD Sender: No OFD packet to send [08:22:01]OFD Sender: No OFD packet to send [08:22:06]OFD Sender: No OFD packet to send [08:22:11]OFD Sender: No OFD packet to send [08:22:16]OFD Sender: No OFD packet to send [08:22:21]OFD Sender: No OFD packet to send [08:22:26]OFD Sender: No OFD packet to send [08:22:31]OFD Sender: No OFD packet to send [08:22:36]OFD Sender: No OFD packet to send [08:22:41]OFD Sender: No OFD packet to send [08:22:46]OFD Sender: No OFD packet to send [08:22:51]OFD Sender: No OFD packet to send [08:22:56]OFD Sender: No OFD packet to send [08:23:01]OFD Sender: No OFD packet to send [08:23:06]OFD Sender: No OFD packet to send [08:23:11]OFD Sender: No OFD packet to send [08:23:16]OFD Sender: No OFD packet to send [08:23:21]OFD Sender: No OFD packet to send [08:23:26]OFD Sender: No OFD packet to send [08:23:31]OFD Sender: No OFD packet to send [08:23:36]OFD Sender: No OFD packet to send [08:23:41]OFD Sender: No OFD packet to send [08:23:46]OFD Sender: No OFD packet to send [08:23:51]OFD Sender: No OFD packet to send [08:23:56]OFD Sender: No OFD packet to send [08:24:01]OFD Sender: No OFD packet to send [08:24:06]OFD Sender: No OFD packet to send [08:24:11]OFD Sender: No OFD packet to send [08:24:16]OFD Sender: No OFD packet to send [08:24:21]OFD Sender: No OFD packet to send [08:24:26]OFD Sender: No OFD packet to send [08:24:31]OFD Sender: No OFD packet to send [08:24:36]OFD Sender: No OFD packet to send [08:24:41]OFD Sender: No OFD packet to send [08:24:46]OFD Sender: No OFD packet to send [08:24:51]OFD Sender: No OFD packet to send [08:24:56]OFD Sender: No OFD packet to send [08:25:01]OFD Sender: No OFD packet to send [08:25:06]OFD Sender: No OFD packet to send [08:25:11]OFD Sender: No OFD packet to send [08:25:16]OFD Sender: No OFD packet to send [08:25:21]OFD Sender: No OFD packet to send [08:25:26]OFD Sender: No OFD packet to send [08:25:31]OFD Sender: No OFD packet to send [08:25:36]OFD Sender: No OFD packet to send [08:25:41]OFD Sender: No OFD packet to send [08:25:46]OFD Sender: No OFD packet to send [08:25:51]OFD Sender: No OFD packet to send [08:25:56]OFD Sender: No OFD packet to send [08:26:01]OFD Sender: No OFD packet to send [08:26:06]OFD Sender: No OFD packet to send [08:26:11]OFD Sender: No OFD packet to send [08:26:16]OFD Sender: No OFD packet to send [08:26:21]OFD Sender: No OFD packet to send [08:26:26]OFD Sender: No OFD packet to send [08:26:31]OFD Sender: No OFD packet to send [08:26:36]OFD Sender: No OFD packet to send [08:26: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:02]OFD Sender: No OFD packet to send [08:33:07]OFD Sender: No OFD packet to send [08:33:12]OFD Sender: No OFD packet to send [08:33:17]OFD Sender: No OFD packet to send [08:33:22]OFD Sender: No OFD packet to send [08:33:27]OFD Sender: No OFD packet to send [08:33:32]OFD Sender: No OFD packet to send [08:33:37]OFD Sender: No OFD packet to send [08:33:42]OFD Sender: No OFD packet to send [08:33:47]OFD Sender: No OFD packet to send [08:33:52]OFD Sender: No OFD packet to send [08:33:57]OFD Sender: No OFD packet to send [08:34:02]OFD Sender: No OFD packet to send [08:34:07]OFD Sender: No OFD packet to send [08:34:12]OFD Sender: No OFD packet to send [08:34:17]OFD Sender: No OFD packet to send [08:34:22]OFD Sender: No OFD packet to send [08:34:27]OFD Sender: No OFD packet to send [08:34:32]OFD Sender: No OFD packet to send [08:34:37]OFD Sender: No OFD packet to send [08:34:42]OFD Sender: No OFD packet to send [08:34:47]OFD Sender: No OFD packet to send [08:34:52]OFD Sender: No OFD packet to send [08:34:57]OFD Sender: No OFD packet to send [08:35:02]OFD Sender: No OFD packet to send [08:35:07]OFD Sender: No OFD packet to send [08:35:12]OFD Sender: No OFD packet to send [08:35:17]OFD Sender: No OFD packet to send [08:35:22]OFD Sender: No OFD packet to send [08:35:27]OFD Sender: No OFD packet to send [08:35:32]OFD Sender: No OFD packet to send [08:35:37]OFD Sender: No OFD packet to send [08:35:42]OFD Sender: No OFD packet to send [08:35:47]OFD Sender: No OFD packet to send [08:35:52]OFD Sender: No OFD packet to send [08:35:57]OFD Sender: No OFD packet to send [08:36:02]OFD Sender: No OFD packet to send [08:36:07]OFD Sender: No OFD packet to send [08:36:12]OFD Sender: No OFD packet to send [08:36:17]OFD Sender: No OFD packet to send [08:36:22]OFD Sender: No OFD packet to send [08:36:27]OFD Sender: No OFD packet to send [08:36:32]OFD Sender: No OFD packet to send [08:36:37]OFD Sender: No OFD packet to send [08:36:42]OFD Sender: No OFD packet to send [08:36:47]OFD Sender: No OFD packet to send [08:36:52]OFD Sender: No OFD packet to send [08:36:57]OFD Sender: No OFD packet to send [08:37:02]OFD Sender: No OFD packet to send [08:37:07]OFD Sender: No OFD packet to send [08:37:12]OFD Sender: No OFD packet to send [08:37:17]OFD Sender: No OFD packet to send [08:37:22]OFD Sender: No OFD packet to send [08:37:27]OFD Sender: No OFD packet to send [08:37:32]OFD Sender: No OFD packet to send [08:37:37]OFD Sender: No OFD packet to send [08:37:42]OFD Sender: No OFD packet to send [08:37:47]OFD Sender: No OFD packet to send [08:37:52]OFD Sender: No OFD packet to send [08:37:57]OFD Sender: No OFD packet to send [08:38:02]OFD Sender: No OFD packet to send [08:38:07]OFD Sender: No OFD packet to send [08:38:12]OFD Sender: No OFD packet to send [08:38:17]OFD Sender: No OFD packet to send [08:38:22]OFD Sender: No OFD packet to send [08:38:27]OFD Sender: No OFD packet to send [08:38:32]OFD Sender: No OFD packet to send [08:38:37]OFD Sender: No OFD packet to send [08:38:42]OFD Sender: No OFD packet to send [08:38:47]OFD Sender: No OFD packet to send [08:38:52]OFD Sender: No OFD packet to send [08:38:57]OFD Sender: No OFD packet to send [08:39:02]OFD Sender: No OFD packet to send [08:39:07]OFD Sender: No OFD packet to send [08:39:12]OFD Sender: No OFD packet to send [08:39:17]OFD Sender: No OFD packet to send [08:39:22]OFD Sender: No OFD packet to send [08:39:27]OFD Sender: No OFD packet to send [08:39:32]OFD Sender: No OFD packet to send [08:39:37]OFD Sender: No OFD packet to send [08:39:42]OFD Sender: No OFD packet to send [08:39:47]OFD Sender: No OFD packet to send [08:39:52]OFD Sender: No OFD packet to send [08:39:57]OFD Sender: No OFD packet to send [08:40:02]OFD Sender: No OFD packet to send [08:40:07]OFD Sender: No OFD packet to send [08:40:12]OFD Sender: No OFD packet to send [08:40:17]OFD Sender: No OFD packet to send [08:40:22]OFD Sender: No OFD packet to send [08:40:27]OFD Sender: No OFD packet to send [08:40:32]OFD Sender: No OFD packet to send [08:40:37]OFD Sender: No OFD packet to send [08:40:42]OFD Sender: No OFD packet to send [08:40:47]OFD Sender: No OFD packet to send [08:40:52]OFD Sender: No OFD packet to send [08:40:57]OFD Sender: No OFD packet to send [08:41:02]OFD Sender: No OFD packet to send [08:41:07]OFD Sender: No OFD packet to send [08:41:12]OFD Sender: No OFD packet to send [08:41:17]OFD Sender: No OFD packet to send [08:41:22]OFD Sender: No OFD packet to send [08:41:27]OFD Sender: No OFD packet to send [08:41:32]OFD Sender: No OFD packet to send [08:41:37]OFD Sender: No OFD packet to send [08:41:42]OFD Sender: No OFD packet to send [08:41:47]OFD Sender: No OFD packet to send [08:41:52]OFD Sender: No OFD packet to send [08:41:57]OFD Sender: No OFD packet to send [08:42:02]OFD Sender: No OFD packet to send [08:42:07]OFD Sender: No OFD packet to send [08:42:12]OFD Sender: No OFD packet to send [08:42:17]OFD Sender: No OFD packet to send [08:42:22]OFD Sender: No OFD packet to send [08:42:27]OFD Sender: No OFD packet to send [08:42:32]OFD Sender: No OFD packet to send [08:42:37]OFD Sender: No OFD packet to send [08:42:42]OFD Sender: No OFD packet to send [08:42:47]OFD Sender: No OFD packet to send [08:42:52]OFD Sender: No OFD packet to send [08:42:57]OFD Sender: No OFD packet to send [08:43:02]OFD Sender: No OFD packet to send [08:43:07]OFD Sender: No OFD packet to send [08:43:12]OFD Sender: No OFD packet to send [08:43:17]OFD Sender: No OFD packet to send [08:43:22]OFD Sender: No OFD packet to send [08:43:27]OFD Sender: No OFD packet to send [08:43:32]OFD Sender: No OFD packet to send [08:43:37]OFD Sender: No OFD packet to send [08:43:42]OFD Sender: No OFD packet to send [08:43:47]OFD Sender: No OFD packet to send [08:43:52]OFD Sender: No OFD packet to send [08:43:57]OFD Sender: No OFD packet to send [08:44:02]OFD Sender: No OFD packet to send [08:44:07]OFD Sender: No OFD packet to send [08:44:12]OFD Sender: No OFD packet to send [08:44:17]OFD Sender: No OFD packet to send [08:44:22]OFD Sender: No OFD packet to send [08:44:27]OFD Sender: No OFD packet to send [08:44:32]OFD Sender: No OFD packet to send [08:44:37]OFD Sender: No OFD packet to send [08:44:42]OFD Sender: No OFD packet to send [08:44:47]OFD Sender: No OFD packet to send [08:44:52]OFD Sender: No OFD packet to send [08:44:57]OFD Sender: No OFD packet to send [08:45:02]OFD Sender: No OFD packet to send [08:45:07]OFD Sender: No OFD packet to send [08:45:12]OFD Sender: No OFD packet to send [08:45:17]OFD Sender: No OFD packet to send [08:45: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]accept exits with 7 [08:46:33]New connection [08:46:33]New thread 3067440484 created [08:46:33]Thread 3067297124 joined [08:46:33]Waiting for new connection... [08:46:33] Sock 7.Parse request [08:46:33]Sock 7.Check first char [08:46:33]Sock 7.First char is OK [08:46:33]request: POST /json_proto HTTP/1.0 [08:46:33]Method: POST [08:46:33]URL: /json_proto [08:46:33]Method is POST - this is cgi request [08:46:33]url: /json_proto [08:46:33]query_string will be loaded in cgi processing [08:46:33]execute_cgi json_proto POST (null) [08:46:33]execute_cgi path=json_proto method=POST [08:46:33]POST find Content-Length [08:46:33]Host: 172.17.40.196:8080 [08:46:33]Content-Length: 644 [08:46:33]Content-Type: application/json [08:46:33] [08:46:33]POST finish read [08:46:33]Found Content-Length = 644 [08:46:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34995", "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:46:33]execute_script... [08:46: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)34995", "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:46:33]POST & json_proto [08:46:33]process_json_proto [08:46:33]json parsed OK: [08:46:33]protocol is kg_v1.0 [08:46:33]action value=close_receipt [08:46:33]process_action close_receipt [08:46:33]cmd_close_receipt [08:46:33]MH_GetDate [08:46:33]Write to MH i2c: F0 00 00 2D 04 20 [08:46:33]Write i2c OK [08:46:33]MH_I2C_Read... [08:46:33]Read from MH i2c: F0 [08:46:33]MH_I2C_Read... [08:46:33]Read from MH i2c: F0 09 00 [08:46:33]MH_I2C_Read... [08:46:33]Read from MH i2c: F0 09 00 2D 04 00 EA FD 1D 67 5B 68 A1 66 5E [08:46:33]GetLastDocTimeStamp 1730016919 [08:46:33]current date 1730018794 [08:46:33]FM_GetShiftState [08:46:33]SAM_PROTO_GetShiftState [08:46:33]wFMCommunicate request_size=4 [08:46:33]MH_SAM_APDU [08:46:33]CAPDU: 80 13 01 00 [08:46:33]Write to MH i2c: E2 08 00 2E 04 80 13 01 00 00 00 00 00 AF [08:46:33]Write i2c OK [08:46:33]MH_I2C_Read... [08:46:33]OFD Sender: No OFD packet to send [08:46:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:46:33]Read from MH i2c: E2 [08:46:33]MH_I2C_Read... [08:46:33]Read from MH i2c: E2 0E 00 [08:46:33]MH_I2C_Read... [08:46:33]Read from MH i2c: E2 0E 00 2E 04 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 66 [08:46:33]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [08:46:33]wFMCommunicate OK [08:46:33]SAM_PROTO_GetShiftState done [08:46:33]FM_GetShiftState done [08:46:33]opened in 1729987492 [08:46:33]opened+sec_in_day 1730073892 [08:46:33]quantity*price = 6500 [08:46:33]sum+1 = 6501 [08:46:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 23 27.10.2024 08:46 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37697 ФПД: 63041321704966 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T084634&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37697&fm=63041321704966&tin=02508201610067®Number=0000000000091684&sum=6500 0 [08:46:34]StoreToDocumentArchive [08:46:34]shift 550 fd 37697 [08:46:34]save to /storage/0550/doc_00037697 [08:46:34]save last doc name /storage/0550/doc_00037697 to /storage/kkm_last_doc_name [08:46:34]save OK [08:46:34]Clear old archive folders... [08:46:34]ProcessDocumentItem done err = 0, tmpTLVsize=272 [08:46:34]tlvbuf is 0027D8F0 [08:46:34]SAM_PROTO_ClearQueue [08:46:34]wFMCommunicate request_size=4 [08:46:34]MH_SAM_APDU [08:46:34]CAPDU: 80 09 00 00 [08:46:34]Write to MH i2c: E2 08 00 3B 04 80 09 00 00 00 00 00 00 B1 [08:46:34]Write i2c OK [08:46:34]MH_I2C_Read... [08:46:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:46:34]Read from MH i2c: E2 [08:46:34]MH_I2C_Read... [08:46:34]Read from MH i2c: E2 03 00 [08:46:34]MH_I2C_Read... [08:46:34]Read from MH i2c: E2 03 00 3B 04 00 90 00 B3 [08:46:34]RAPDU: 90 00 [08:46:34]wFMCommunicate OK [08:46:34]SAM_PROTO_ClearQueue done [08:46:34]KKMCreateOFDPacket [08:46:34]OFDProtocolAddRootSTLVToBuf [08:46:34]FM_MakeSignedData [08:46:34]FM_MakeSignedData [08:46:34]SAM_PROTO_SignData [08:46:34]wFMCommunicate request_size=4 [08:46:34]MH_SAM_APDU [08:46:34]CAPDU: 80 0D 01 02 [08:46:34]Write to MH i2c: E2 08 00 3C 04 80 0D 01 02 00 00 00 00 B9 [08:46:34]Write i2c OK [08:46:34]MH_I2C_Read... [08:46:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:46:34]Read from MH i2c: E2 [08:46:34]MH_I2C_Read... [08:46:34]Read from MH i2c: E2 03 00 [08:46:34]MH_I2C_Read... [08:46:34]Read from MH i2c: E2 03 00 3C 04 00 90 00 B4 [08:46:34]RAPDU: 90 00 [08:46:34]wFMCommunicate OK [08:46:34]wFMCommunicate request_size=255 [08:46:34]MH_SAM_APDU [08:46:34]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 17 00 00 00 F4 03 04 00 EA FD 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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:46:34]Write to MH i2c: E2 02 01 3D 04 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 17 00 00 00 F4 03 04 00 EA FD 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 B2 [08:46:34]Write i2c OK [08:46:34]MH_I2C_Read... [08:46:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:46:34]Read from MH i2c: E2 [08:46:34]MH_I2C_Read... [08:46:34]Read from MH i2c: E2 03 00 [08:46:34]MH_I2C_Read... [08:46:34]Read from MH i2c: E2 03 00 3D 04 00 90 00 B5 [08:46:34]RAPDU: 90 00 [08:46:34]wFMCommunicate OK [08:46:34]wFMCommunicate request_size=31 [08:46:34]MH_SAM_APDU [08:46:34]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 41 93 00 00 35 04 06 00 39 55 F3 96 1E 06 [08:46:34]Write to MH i2c: E2 22 00 3E 04 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 41 93 00 00 35 04 06 00 39 55 F3 96 1E 06 00 00 F3 [08:46:34]Write i2c OK [08:46:34]MH_I2C_Read... [08:46:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:46:34]Read from MH i2c: E2 [08:46:34]MH_I2C_Read... [08:46:34]Read from MH i2c: E2 03 00 [08:46:34]MH_I2C_Read... [08:46:34]Read from MH i2c: E2 03 00 3E 04 00 90 00 B6 [08:46:34]RAPDU: 90 00 [08:46:34]wFMCommunicate OK [08:46:34]wFMCommunicate request_size=4 [08:46:34]MH_SAM_APDU [08:46:34]CAPDU: 80 0D 03 02 [08:46:34]Write to MH i2c: E2 08 00 3F 04 80 0D 03 02 00 00 00 00 BE [08:46:34]Write i2c OK [08:46:34]MH_I2C_Read... [08:46:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:46:34]Read from MH i2c: E2 [08:46:34]MH_I2C_Read... [08:46:34]Read from MH i2c: E2 0B 00 [08:46:34]MH_I2C_Read... [08:46:34]Read from MH i2c: E2 0B 00 3F 04 00 70 E5 37 BB C8 D2 38 E3 90 00 BB [08:46:34]RAPDU: 70 E5 37 BB C8 D2 38 E3 90 00 [08:46:34]wFMCommunicate OK [08:46:34]SAM_PROTO_SignData done [08:46:34]FM_MakeSignedData done [08:46:34]CreateOFDProtocolMessage [08:46:34]wFMCommunicate request_size=4 [08:46:34]MH_SAM_APDU [08:46:34]CAPDU: 80 11 00 00 [08:46:34]Write to MH i2c: E2 08 00 40 04 80 11 00 00 00 00 00 00 BE [08:46:34]Write i2c OK [08:46:34]MH_I2C_Read... [08:46:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:46:34]Read from MH i2c: E2 [08:46:34]MH_I2C_Read... [08:46:34]Read from MH i2c: E2 17 00 [08:46:34]MH_I2C_Read... [08:46:34]Read from MH i2c: E2 17 00 40 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 0E [08:46:34]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:34]wFMCommunicate OK [08:46:34]CreateOFDProtocolMessage done [08:46:34]OFDSenderStorePacket 37697 [08:46:34]StoreOFDPacket docnum=37697 [08:46: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 24 01 00 00 AC D1 1C 01 63 7E 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 17 00 00 00 F4 03 04 00 EA FD 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 41 93 00 00 35 04 06 00 39 55 F3 96 1E 06 70 E5 37 BB C8 D2 38 E3 [08:46:34]CheckFolder [08:46:34]dirname=/storage/ofd_packets [08:46:34]CheckFolder done [08:46:34]ProducePacketName [08:46:34]name=ofd_packets/00037697 [08:46:34]NVStorageSaveData ofd_packets/00037697 [08:46:34]File name is /storage/ofd_packets/00037697 [08:46:34]Write 322 bytes [08:46:34]NVStorageSaveData done [08:46:34]OFDSenderStorePacket done [08:46:34]KKMCreateOFDPacket done [08:46:34]NVStorageSaveData kkm_last_timestamp [08:46:34]File name is /storage/kkm_last_timestamp [08:46:34]Write 4 bytes [08:46:34]NVStorageSaveData done [08:46:34]ExternCall_PrintAddStr [08:46:34]wPrintStart [08:46:34]Write to MH i2c: 01 00 00 41 04 45 [08:46:34]Write i2c OK [08:46:34]MH_I2C_Read... [08:46:34]Read from MH i2c: 01 [08:46:34]MH_I2C_Read... [08:46:34]Read from MH i2c: 01 07 00 [08:46:34]MH_I2C_Read... [08:46:34]Read from MH i2c: 01 07 00 41 04 00 00 00 00 00 FF 0F 5A [08:46:34]RasterBufferAndPrint [08:46:34]line Счет N : (3)34995 [08:46:34]line ИНН: 02508201610067 [08:46:34]line Контрольно-Кассовый Чек [08:46:34]line ПРОДАЖА [08:46:34]line Товар: 47011656 [08:46:34]line Водка Пшеничная 0,1л [08:46:34]line 1.000 * 65.00 [08:46:34]line = 65.00 [08:46:34]line НДС 12% НСП 1% [08:46:34]line > о реализуемом товаре [08:46:34]line ИТОГО: 65.00 [08:46:34]line НСП 1% : 0.57 [08:46:34]line НДС 12% : 6.90 [08:46:34]line Наличными: 65.00 [08:46:34]line Безнал.: 0.00 [08:46:34]line Место: АЗС № 126 "Партнер Нефть" [08:46:34]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [08:46:34]line СНО: Общий режим [08:46:34]line Чек 23 27.10.2024 08:46 [08:46:34]line Смена: 550 ФФД: 1.0 [08:46:34]line ЗНМ: 0300000092 [08:46:34]line РНМ: 0000000000091684 [08:46:34]line Версия ККМ: 001 [08:46:34]line ФМ: 0000000000871841 [08:46:34]line ФД: 37697 [08:46:34]line ФПД: 63041321704966 [08:46:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T084634&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37697&fm=63041321704966&tin=02508201610067®Number=0000000000091684&sum=6500 [08:46:34]line 0 [08:46:34]written 0, free lines is 4095 [08:46:34]OFD Sender: Processing packet 37697 [packets to send 42, broken 41] [08:46:34]ProducePacketName [08:46:34]name=ofd_packets/00037697 [08:46:34]OFD Sender: To server: pG, [08:46:34]CommunicateWithHost lk.salyk.kg:30040 [08:46:34]ConnectInit lk.salyk.kg [08:46:34]Connected sock=10 [08:46:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 AC D1 1C 01 63 7E 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 17 00 00 00 F4 03 04 00 EA FD 1D 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 41 93 00 00 35 04 06 00 39 55 F3 96 1E 06 70 E5 37 BB C8 D2 38 E3 [08:46:35]Write to MH i2c: 01 00 00 69 04 6D [08:46:35]Write i2c OK [08:46:35]MH_I2C_Read... [08:46:35]Read from MH i2c: 01 [08:46:35]MH_I2C_Read... [08:46:35]Read from MH i2c: 01 07 00 [08:46:35]MH_I2C_Read... [08:46:35]Read from MH i2c: 01 07 00 69 04 00 00 00 00 00 D8 0C 58 [08:46:35]RasterBufferAndPrint [08:46:35]line [08:46:35]line [08:46:35]line [08:46:35]line [08:46:35]line [08:46:35]written 0, free lines is 3294 [08:46:35]MH_Cut [08:46:35]Write to MH i2c: D1 01 00 70 04 01 46 [08:46:35]Write i2c OK [08:46:35]MH_I2C_Read... [08:46:35]Read from MH i2c: D1 [08:46:35]MH_I2C_Read... [08:46:35]Read from MH i2c: D1 01 00 [08:46:35]MH_I2C_Read... [08:46:35]Read from MH i2c: D1 01 00 70 04 00 45 [08:46:35]Write to MH i2c: 01 00 00 71 04 75 [08:46:35]Write i2c OK [08:46:35]MH_I2C_Read... [08:46: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 89 BC 47 00 26 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 41 93 00 00 F4 03 04 00 E2 A8 1D 67 B6 04 01 00 00 64 18 02 C0 05 5D 78 9D [08:46:35]CommunicateWithHost err = 0 [08:46:35]CheckOFDResponse [08:46:35]1017 (14) - 77093643461234 [08:46:35]1041 (16) - 0000000000871841 [08:46:35]1040 (4) - 37697 [08:46:35]1012 (4) - 27.10.2024 02:43 [08:46:35]1206 (1) - 0 [08:46:35]OFD Sender: Remove packet 37697 [08:46:35]ProducePacketName [08:46:35]name=ofd_packets/00037697 [08:46:35]NVStorageDeleteData [08:46:35]OFD Sender: No OFD packet to send [08:46:35]*** Cut start [08:46:35]*** Partial cut [08:46:35]*** CUTSNS_PIN = 1 [08:46:36]*** CUTSNS_PIN = 0 [08:46:36]*** Brake cut motor [08:46:36]Read from MH i2c: 01 [08:46:36]MH_I2C_Read... [08:46:36]*** Stop cut motor [08:46:36]*** Cut end [08:46:36]Read from MH i2c: 01 07 00 [08:46:36]MH_I2C_Read... [08:46:36]Read from MH i2c: 01 07 00 71 04 00 00 00 00 00 FF 0F 8A [08:46:36]process_action close_receipt done [08:46:36]requested_data is exist [08:46:36]produce_requested_data [08:46:36]requested_item fm.sn is exist - process it [08:46:36]wFMCommunicate request_size=4 [08:46:36]MH_SAM_APDU [08:46:36]CAPDU: 80 11 00 00 [08:46:36]Write to MH i2c: E2 08 00 72 04 80 11 00 00 00 00 00 00 F0 [08:46:36]Write i2c OK [08:46:36]MH_I2C_Read... [08:46:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:46:36]Read from MH i2c: E2 [08:46:36]MH_I2C_Read... [08:46:36]Read from MH i2c: E2 17 00 [08:46:36]MH_I2C_Read... [08:46:36]Read from MH i2c: E2 17 00 72 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 40 [08:46: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:46:36]wFMCommunicate OK [08:46:36]requested_item fd.num is exist - process it [08:46:36]SAM_PROTO_GetFieldsCounters [08:46:36]wFMCommunicate request_size=4 [08:46:36]MH_SAM_APDU [08:46:36]CAPDU: 80 13 00 00 [08:46:36]Write to MH i2c: E2 08 00 73 04 80 13 00 00 00 00 00 00 F3 [08:46:36]Write i2c OK [08:46:36]MH_I2C_Read... [08:46:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:46:36]Read from MH i2c: E2 [08:46:36]MH_I2C_Read... [08:46:36]Read from MH i2c: E2 62 00 [08:46:36]MH_I2C_Read... [08:46:36]Read from MH i2c: E2 62 00 73 04 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 41 93 00 00 0E 04 04 00 26 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 55 [08:46: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 41 93 00 00 0E 04 04 00 26 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 [08:46:36]wFMCommunicate OK [08:46:36]SAM_PROTO_GetFieldsCounters done [08:46:36]requested_item shift.num is exist - process it [08:46:36]requested_item shift.opened is exist - process it [08:46:36]req_shift_opened [08:46:36]FM_GetShiftState [08:46:36]SAM_PROTO_GetShiftState [08:46:36]wFMCommunicate request_size=4 [08:46:36]MH_SAM_APDU [08:46:36]CAPDU: 80 13 01 00 [08:46:36]Write to MH i2c: E2 08 00 74 04 80 13 01 00 00 00 00 00 F5 [08:46:36]Write i2c OK [08:46:36]MH_I2C_Read... [08:46:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:46:36]Read from MH i2c: E2 [08:46:36]MH_I2C_Read... [08:46:36]Read from MH i2c: E2 0E 00 [08:46:36]MH_I2C_Read... [08:46:36]Read from MH i2c: E2 0E 00 74 04 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 AC [08:46:36]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [08:46:36]wFMCommunicate OK [08:46:36]SAM_PROTO_GetShiftState done [08:46:36]FM_GetShiftState done [08:46:36]req_shift_opened done [08:46:36]requested_item shift.open_date is exist - process it [08:46:36]req_shift_open_date [08:46:36]req_shift_open_date done [08:46:36]produce_requested_data done [08:46:36]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37697,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [08:46:36]process_action_free close_receipt [08:46:36]json_value_free [08:46:36]json_value_free done [08:46:36]process_json_proto returns [08:46:36]Send response to host [08:46:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37697,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [08:46:36]free response buf [08:46:36]execute_script done [08:46:36]execute_script returns [08:46:36]free content buf [08:46:36]Sock 7.Close socket [08:46:36]Sock 7.Thread stoped [08:46:40]OFD Sender: No OFD packet to send [08:46:45]OFD Sender: No OFD packet to send [08:46:50]OFD Sender: No OFD packet to send [08:46:55]OFD Sender: No OFD packet to send [08:47:00]OFD Sender: No OFD packet to send [08:47:05]OFD Sender: No OFD packet to send [08:47:10]OFD Sender: No OFD packet to send [08:47:15]OFD Sender: No OFD packet to send [08:47:20]OFD Sender: No OFD packet to send [08:47:25]OFD Sender: No OFD packet to send [08:47:30]OFD Sender: No OFD packet to send [08:47:35]OFD Sender: No OFD packet to send [08:47:40]OFD Sender: No OFD packet to send [08:47:45]OFD Sender: No OFD packet to send [08:47:50]OFD Sender: No OFD packet to send [08:47:55]OFD Sender: No OFD packet to send [08:48:00]OFD Sender: No OFD packet to send [08:48:05]OFD Sender: No OFD packet to send [08:48:10]OFD Sender: No OFD packet to send [08:48:15]OFD Sender: No OFD packet to send [08:48:20]OFD Sender: No OFD packet to send [08:48:25]OFD Sender: No OFD packet to send [08:48:30]OFD Sender: No OFD packet to send [08:48:35]OFD Sender: No OFD packet to send [08:48:40]OFD Sender: No OFD packet to send [08:48:45]OFD Sender: No OFD packet to send [08:48:50]OFD Sender: No OFD packet to send [08:48:55]OFD Sender: No OFD packet to send [08:49:00]OFD Sender: No OFD packet to send [08:49:05]OFD Sender: No OFD packet to send [08:49:10]OFD Sender: No OFD packet to send [08:49:15]OFD Sender: No OFD packet to send [08:49:20]OFD Sender: No OFD packet to send [08:49:25]OFD Sender: No OFD packet to send [08:49:30]OFD Sender: No OFD packet to send [08:49:35]OFD Sender: No OFD packet to send [08:49:40]OFD Sender: No OFD packet to send [08:49:46]OFD Sender: No OFD packet to send [08:49:51]OFD Sender: No OFD packet to send [08:49:56]OFD Sender: No OFD packet to send [08:50:01]OFD Sender: No OFD packet to send [08:50:06]OFD Sender: No OFD packet to send [08:50:11]OFD Sender: No OFD packet to send [08:50:16]OFD Sender: No OFD packet to send [08:50:21]OFD Sender: No OFD packet to send [08:50:26]OFD Sender: No OFD packet to send [08:50:31]OFD Sender: No OFD packet to send [08:50:36]OFD Sender: No OFD packet to send [08:50:41]OFD Sender: No OFD packet to send [08:50:46]OFD Sender: No OFD packet to send [08:50:51]OFD Sender: No OFD packet to send [08:50:56]OFD Sender: No OFD packet to send [08:51:01]OFD Sender: No OFD packet to send [08:51:06]OFD Sender: No OFD packet to send [08:51:11]OFD Sender: No OFD packet to send [08:51:16]OFD Sender: No OFD packet to send [08:51:21]OFD Sender: No OFD packet to send [08:51:26]OFD Sender: No OFD packet to send [08:51:31]OFD Sender: No OFD packet to send [08:51:36]OFD Sender: No OFD packet to send [08:51:41]OFD Sender: No OFD packet to send [08:51:46]OFD Sender: No OFD packet to send [08:51:51]OFD Sender: No OFD packet to send [08:51:56]OFD Sender: No OFD packet to send [08:52:01]OFD Sender: No OFD packet to send [08:52:06]OFD Sender: No OFD packet to send [08:52:11]OFD Sender: No OFD packet to send [08:52:16]OFD Sender: No OFD packet to send [08:52:21]OFD Sender: No OFD packet to send [08:52:26]OFD Sender: No OFD packet to send [08:52:31]OFD Sender: No OFD packet to send [08:52:36]OFD Sender: No OFD packet to send [08:52:41]OFD Sender: No OFD packet to send [08:52:46]OFD Sender: No OFD packet to send [08:52:51]OFD Sender: No OFD packet to send [08:52:56]OFD Sender: No OFD packet to send [08:53:01]OFD Sender: No OFD packet to send [08:53:06]OFD Sender: No OFD packet to send [08:53:11]OFD Sender: No OFD packet to send [08:53:16]OFD Sender: No OFD packet to send [08:53:21]OFD Sender: No OFD packet to send [08:53:26]OFD Sender: No OFD packet to send [08:53:31]OFD Sender: No OFD packet to send [08:53:36]OFD Sender: No OFD packet to send [08:53:41]OFD Sender: No OFD packet to send [08:53:46]OFD Sender: No OFD packet to send [08:53:51]OFD Sender: No OFD packet to send [08:53:56]OFD Sender: No OFD packet to send [08:54:01]OFD Sender: No OFD packet to send [08:54:06]OFD Sender: No OFD packet to send [08:54:11]OFD Sender: No OFD packet to send [08:54:16]OFD Sender: No OFD packet to send [08:54:21]OFD Sender: No OFD packet to send [08:54:26]OFD Sender: No OFD packet to send [08:54:31]OFD Sender: No OFD packet to send [08:54:36]OFD Sender: No OFD packet to send [08:54:41]OFD Sender: No OFD packet to send [08:54:46]OFD Sender: No OFD packet to send [08:54:51]OFD Sender: No OFD packet to send [08:54:56]OFD Sender: No OFD packet to send [08:55:01]OFD Sender: No OFD packet to send [08:55:06]OFD Sender: No OFD packet to send [08:55:11]OFD Sender: No OFD packet to send [08:55:16]OFD Sender: No OFD packet to send [08:55:21]OFD Sender: No OFD packet to send [08:55:26]OFD Sender: No OFD packet to send [08:55:31]OFD Sender: No OFD packet to send [08:55:36]OFD Sender: No OFD packet to send [08:55:41]OFD Sender: No OFD packet to send [08:55:46]OFD Sender: No OFD packet to send [08:55:51]OFD Sender: No OFD packet to send [08:55:56]OFD Sender: No OFD packet to send [08:56:01]OFD Sender: No OFD packet to send [08:56:06]OFD Sender: No OFD packet to send [08:56:11]OFD Sender: No OFD packet to send [08:56:16]OFD Sender: No OFD packet to send [08:56:21]OFD Sender: No OFD packet to send [08:56:26]OFD Sender: No OFD packet to send [08:56:31]OFD Sender: No OFD packet to send [08:56:36]OFD Sender: No OFD packet to send [08:56:41]OFD Sender: No OFD packet to send [08:56:46]OFD Sender: No OFD packet to send [08:56:51]OFD Sender: No OFD packet to send [08:56:56]OFD Sender: No OFD packet to send [08:57:01]OFD Sender: No OFD packet to send [08:57:06]OFD Sender: No OFD packet to send [08:57:11]OFD Sender: No OFD packet to send [08:57:16]OFD Sender: No OFD packet to send [08:57:21]OFD Sender: No OFD packet to send [08:57:26]OFD Sender: No OFD packet to send [08:57:31]OFD Sender: No OFD packet to send [08:57:36]OFD Sender: No OFD packet to send [08:57:41]OFD Sender: No OFD packet to send [08:57:46]OFD Sender: No OFD packet to send [08:57:51]OFD Sender: No OFD packet to send [08:57:56]OFD Sender: No OFD packet to send [08:58:01]OFD Sender: No OFD packet to send [08:58:06]OFD Sender: No OFD packet to send [08:58:11]OFD Sender: No OFD packet to send [08:58:16]OFD Sender: No OFD packet to send [08:58:21]OFD Sender: No OFD packet to send [08:58:26]OFD Sender: No OFD packet to send [08:58:31]OFD Sender: No OFD packet to send [08:58:36]OFD Sender: No OFD packet to send [08:58:41]OFD Sender: No OFD packet to send [08:58:46]OFD Sender: No OFD packet to send [08:58:51]OFD Sender: No OFD packet to send [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:21]OFD Sender: No OFD packet to send [09:05:26]OFD Sender: No OFD packet to send [09:05:31]OFD Sender: No OFD packet to send [09:05:36]OFD Sender: No OFD packet to send [09:05:41]OFD Sender: No OFD packet to send [09:05:46]OFD Sender: No OFD packet to send [09:05:51]OFD Sender: No OFD packet to send [09:05:56]OFD Sender: No OFD packet to send [09:06:01]OFD Sender: No OFD packet to send [09:06:06]OFD Sender: No OFD packet to send [09:06:11]OFD Sender: No OFD packet to send [09:06:16]OFD Sender: No OFD packet to send [09:06:21]OFD Sender: No OFD packet to send [09:06:26]OFD Sender: No OFD packet to send [09:06:31]OFD Sender: No OFD packet to send [09:06:36]OFD Sender: No OFD packet to send [09:06:41]OFD Sender: No OFD packet to send [09:06:46]OFD Sender: No OFD packet to send [09:06:51]OFD Sender: No OFD packet to send [09:06:56]OFD Sender: No OFD packet to send [09:07:01]OFD Sender: No OFD packet to send [09:07:06]OFD Sender: No OFD packet to send [09:07:11]OFD Sender: No OFD packet to send [09:07:16]OFD Sender: No OFD packet to send [09:07:21]OFD Sender: No OFD packet to send [09:07:26]OFD Sender: No OFD packet to send [09:07:31]OFD Sender: No OFD packet to send [09:07:36]OFD Sender: No OFD packet to send [09:07:41]OFD Sender: No OFD packet to send [09:07:46]OFD Sender: No OFD packet to send [09:07:51]OFD Sender: No OFD packet to send [09:07:56]OFD Sender: No OFD packet to send [09:08:01]OFD Sender: No OFD packet to send [09:08:06]OFD Sender: No OFD packet to send [09:08:11]OFD Sender: No OFD packet to send [09:08:16]OFD Sender: No OFD packet to send [09:08:21]OFD Sender: No OFD packet to send [09:08: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:32]OFD Sender: No OFD packet to send [09:11:37]OFD Sender: No OFD packet to send [09:11:42]OFD Sender: No OFD packet to send [09:11:47]OFD Sender: No OFD packet to send [09:11:52]OFD Sender: No OFD packet to send [09:11:57]OFD Sender: No OFD packet to send [09:12:02]OFD Sender: No OFD packet to send [09:12:07]OFD Sender: No OFD packet to send [09:12:12]OFD Sender: No OFD packet to send [09:12:17]OFD Sender: No OFD packet to send [09:12:22]OFD Sender: No OFD packet to send [09:12:27]OFD Sender: No OFD packet to send [09:12:32]OFD Sender: No OFD packet to send [09:12:37]OFD Sender: No OFD packet to send [09:12:42]OFD Sender: No OFD packet to send [09:12:47]OFD Sender: No OFD packet to send [09:12:52]OFD Sender: No OFD packet to send [09:12:57]OFD Sender: No OFD packet to send [09:13:02]OFD Sender: No OFD packet to send [09:13:07]OFD Sender: No OFD packet to send [09:13:12]OFD Sender: No OFD packet to send [09:13:17]OFD Sender: No OFD packet to send [09:13:22]OFD Sender: No OFD packet to send [09:13:27]OFD Sender: No OFD packet to send [09:13:32]OFD Sender: No OFD packet to send [09:13:37]OFD Sender: No OFD packet to send [09:13:42]OFD Sender: No OFD packet to send [09:13:47]OFD Sender: No OFD packet to send [09:13:52]OFD Sender: No OFD packet to send [09:13:57]OFD Sender: No OFD packet to send [09:14:02]OFD Sender: No OFD packet to send [09:14:07]OFD Sender: No OFD packet to send [09:14:12]OFD Sender: No OFD packet to send [09:14:17]OFD Sender: No OFD packet to send [09:14:22]OFD Sender: No OFD packet to send [09:14:27]OFD Sender: No OFD packet to send [09:14:32]OFD Sender: No OFD packet to send [09:14:37]OFD Sender: No OFD packet to send [09:14:42]OFD Sender: No OFD packet to send [09:14:47]OFD Sender: No OFD packet to send [09:14:52]OFD Sender: No OFD packet to send [09:14:57]OFD Sender: No OFD packet to send [09:15:02]OFD Sender: No OFD packet to send [09:15:07]OFD Sender: No OFD packet to send [09:16:22]OFD Sender: No OFD packet to send [09:16:27]OFD Sender: No OFD packet to send [09:16:32]OFD Sender: No OFD packet to send [09:16:37]OFD Sender: No OFD packet to send [09:16:42]OFD Sender: No OFD packet to send [09:16:47]OFD Sender: No OFD packet to send [09:16:52]OFD Sender: No OFD packet to send [09:16:57]OFD Sender: No OFD packet to send [09:17:02]OFD Sender: No OFD packet to send [09:17:07]OFD Sender: No OFD packet to send [09:17:12]OFD Sender: No OFD packet to send [09:17:17]OFD Sender: No OFD packet to send [09:17:22]OFD Sender: No OFD packet to send [09:17:27]OFD Sender: No OFD packet to send [09:17:32]OFD Sender: No OFD packet to send [09:17:37]OFD Sender: No OFD packet to send [09:17:42]OFD Sender: No OFD packet to send [09:17:47]OFD Sender: No OFD packet to send [09:17:52]OFD Sender: No OFD packet to send [09:17:57]OFD Sender: No OFD packet to send [09:18:02]OFD Sender: No OFD packet to send [09:18:07]OFD Sender: No OFD packet to send [09:18:12]OFD Sender: No OFD packet to send [09:18:17]OFD Sender: No OFD packet to send [09:18:22]OFD Sender: No OFD packet to send [09:18:27]OFD Sender: No OFD packet to send [09:18:32]OFD Sender: No OFD packet to send [09:18:35]ConnectInit Can't connect to host [09:18:37]OFD Sender: No OFD packet to send [09:18:42]OFD Sender: No OFD packet to send [09:18:47]OFD Sender: No OFD packet to send [09:18:52]OFD Sender: No OFD packet to send [09:18:57]OFD Sender: No OFD packet to send [09:19:02]OFD Sender: No OFD packet to send [09:19:07]OFD Sender: No OFD packet to send [09:19:12]OFD Sender: No OFD packet to send [09:19:17]OFD Sender: No OFD packet to send [09:19:22]OFD Sender: No OFD packet to send [09:19:27]OFD Sender: No OFD packet to send [09:19:32]OFD Sender: No OFD packet to send [09:19:37]OFD Sender: No OFD packet to send [09:19:42]OFD Sender: No OFD packet to send [09:19:47]OFD Sender: No OFD packet to send [09:19:52]OFD Sender: No OFD packet to send [09:19:57]OFD Sender: No OFD packet to send [09:20:02]OFD Sender: No OFD packet to send [09:20:07]OFD Sender: No OFD packet to send [09:20:12]OFD Sender: No OFD packet to send [09:20:17]OFD Sender: No OFD packet to send [09:20:22]OFD Sender: No OFD packet to send [09:20:27]OFD Sender: No OFD packet to send [09:20:32]OFD Sender: No OFD packet to send [09:20:37]OFD Sender: No OFD packet to send [09:20:42]OFD Sender: No OFD packet to send [09:20:47]OFD Sender: No OFD packet to send [09:20:52]OFD Sender: No OFD packet to send [09:20:57]OFD Sender: No OFD packet to send [09:21:02]OFD Sender: No OFD packet to send [09:21:07]OFD Sender: No OFD packet to send [09:21:12]OFD Sender: No OFD packet to send [09:21:17]OFD Sender: No OFD packet to send [09:21:22]OFD Sender: No OFD packet to send [09:21:27]OFD Sender: No OFD packet to send [09:21:32]OFD Sender: No OFD packet to send [09:21:37]OFD Sender: No OFD packet to send [09:21:42]OFD Sender: No OFD packet to send [09:21:47]OFD Sender: No OFD packet to send [09:21:52]OFD Sender: No OFD packet to send [09:21:57]OFD Sender: No OFD packet to send [09:22:02]OFD Sender: No OFD packet to send [09:22:07]OFD Sender: No OFD packet to send [09:22:12]OFD Sender: No OFD packet to send [09:22:17]OFD Sender: No OFD packet to send [09:22:22]OFD Sender: No OFD packet to send [09:22:27]OFD Sender: No OFD packet to send [09:22:32]OFD Sender: No OFD packet to send [09:22:37]OFD Sender: No OFD packet to send [09:22:42]OFD Sender: No OFD packet to send [09:22:47]OFD Sender: No OFD packet to send [09:22:52]OFD Sender: No OFD packet to send [09:22:57]OFD Sender: No OFD packet to send [09:23:02]OFD Sender: No OFD packet to send [09:23:07]OFD Sender: No OFD packet to send [09:23:12]OFD Sender: No OFD packet to send [09:23:17]OFD Sender: No OFD packet to send [09:23:22]OFD Sender: No OFD packet to send [09:23:27]OFD Sender: No OFD packet to send [09:23:32]OFD Sender: No OFD packet to send [09:23:37]OFD Sender: No OFD packet to send [09:23:42]OFD Sender: No OFD packet to send [09:23:47]OFD Sender: No OFD packet to send [09:23:52]OFD Sender: No OFD packet to send [09:23:57]OFD Sender: No OFD packet to send [09:24:02]OFD Sender: No OFD packet to send [09:24:07]OFD Sender: No OFD packet to send [09:24:12]OFD Sender: No OFD packet to send [09:24:17]OFD Sender: No OFD packet to send [09:24:22]OFD Sender: No OFD packet to send [09:24:27]OFD Sender: No OFD packet to send [09:24:32]OFD Sender: No OFD packet to send [09:24:37]OFD Sender: No OFD packet to send [09:24:42]OFD Sender: No OFD packet to send [09:24:47]OFD Sender: No OFD packet to send [09:24:52]OFD Sender: No OFD packet to send [09:24:57]OFD Sender: No OFD packet to send [09:25:02]OFD Sender: No OFD packet to send [09:25:07]OFD Sender: No OFD packet to send [09:25:12]OFD Sender: No OFD packet to send [09:25:17]OFD Sender: No OFD packet to send [09:25:22]OFD Sender: No OFD packet to send [09:25:27]OFD Sender: No OFD packet to send [09:25:32]OFD Sender: No OFD packet to send [09:25:37]OFD Sender: No OFD packet to send [09:25:42]OFD Sender: No OFD packet to send [09:25:47]OFD Sender: No OFD packet to send [09:25:52]OFD Sender: No OFD packet to send [09:25:57]OFD Sender: No OFD packet to send [09:26:02]OFD Sender: No OFD packet to send [09:26:07]OFD Sender: No OFD packet to send [09:26:12]OFD Sender: No OFD packet to send [09:26:17]OFD Sender: No OFD packet to send [09:26:22]OFD Sender: No OFD packet to send [09:26:27]OFD Sender: No OFD packet to send [09:26:32]OFD Sender: No OFD packet to send [09:26:37]OFD Sender: No OFD packet to send [09:26:42]OFD Sender: No OFD packet to send [09:26:47]OFD Sender: No OFD packet to send [09:26:52]OFD Sender: No OFD packet to send [09:26:57]OFD Sender: No OFD packet to send [09:27:02]OFD Sender: No OFD packet to send [09:27:07]OFD Sender: No OFD packet to send [09:27:13]OFD Sender: No OFD packet to send [09:27:18]OFD Sender: No OFD packet to send [09:27:23]OFD Sender: No OFD packet to send [09:27:28]OFD Sender: No OFD packet to send [09:27:33]OFD Sender: No OFD packet to send [09:27:38]OFD Sender: No OFD packet to send [09:27:43]OFD Sender: No OFD packet to send [09:27:48]OFD Sender: No OFD packet to send [09:27:53]OFD Sender: No OFD packet to send [09:27:58]OFD Sender: No OFD packet to send [09:28:03]OFD Sender: No OFD packet to send [09:28:08]OFD Sender: No OFD packet to send [09:28:13]OFD Sender: No OFD packet to send [09:28:18]OFD Sender: No OFD packet to send [09:28:23]OFD Sender: No OFD packet to send [09:28:28]OFD Sender: No OFD packet to send [09:28:33]OFD Sender: No OFD packet to send [09:28:38]OFD Sender: No OFD packet to send [09:28:43]OFD Sender: No OFD packet to send [09:28:48]OFD Sender: No OFD packet to send [09:28:53]OFD Sender: No OFD packet to send [09:28:58]OFD Sender: No OFD packet to send [09:29:03]OFD Sender: No OFD packet to send [09:29:08]OFD Sender: No OFD packet to send [09:29:13]OFD Sender: No OFD packet to send [09:29:18]OFD Sender: No OFD packet to send [09:29:23]OFD Sender: No OFD packet to send [09:29:28]OFD Sender: No OFD packet to send [09:29:33]OFD Sender: No OFD packet to send [09:29:38]OFD Sender: No OFD packet to send [09:29:43]OFD Sender: No OFD packet to send [09:29:48]OFD Sender: No OFD packet to send [09:29:53]OFD Sender: No OFD packet to send [09:29:58]OFD Sender: No OFD packet to send [09:30:03]OFD Sender: No OFD packet to send [09:30:08]OFD Sender: No OFD packet to send [09:30:13]OFD Sender: No OFD packet to send [09:30:18]OFD Sender: No OFD packet to send [09:30:23]OFD Sender: No OFD packet to send [09:30:28]OFD Sender: No OFD packet to send [09:30:33]OFD Sender: No OFD packet to send [09:30:38]OFD Sender: No OFD packet to send [09:30:43]OFD Sender: No OFD packet to send [09:30:48]OFD Sender: No OFD packet to send [09:30:53]OFD Sender: No OFD packet to send [09:30:58]OFD Sender: No OFD packet to send [09:31:03]OFD Sender: No OFD packet to send [09:31:08]OFD Sender: No OFD packet to send [09:31:13]OFD Sender: No OFD packet to send [09:31:18]OFD Sender: No OFD packet to send [09:31:23]OFD Sender: No OFD packet to send [09:31:28]OFD Sender: No OFD packet to send [09:31:33]OFD Sender: No OFD packet to send [09:31:38]OFD Sender: No OFD packet to send [09:31:43]OFD Sender: No OFD packet to send [09:31:48]OFD Sender: No OFD packet to send [09:31:53]OFD Sender: No OFD packet to send [09:31:58]OFD Sender: No OFD packet to send [09:32:03]OFD Sender: No OFD packet to send [09:32:08]OFD Sender: No OFD packet to send [09:32:13]OFD Sender: No OFD packet to send [09:32:18]OFD Sender: No OFD packet to send [09:32:23]OFD Sender: No OFD packet to send [09:32:28]OFD Sender: No OFD packet to send [09:32:33]OFD Sender: No OFD packet to send [09:32:38]OFD Sender: No OFD packet to send [09:32:43]OFD Sender: No OFD packet to send [09:32:48]OFD Sender: No OFD packet to send [09:32:53]OFD Sender: No OFD packet to send [09:32:58]OFD Sender: No OFD packet to send [09:33:03]OFD Sender: No OFD packet to send [09:33:08]OFD Sender: No OFD packet to send [09:33:13]OFD Sender: No OFD packet to send [09:33:18]OFD Sender: No OFD packet to send [09:33:23]OFD Sender: No OFD packet to send [09:33:28]OFD Sender: No OFD packet to send [09:33:33]OFD Sender: No OFD packet to send [09:33:38]OFD Sender: No OFD packet to send [09:33:43]OFD Sender: No OFD packet to send [09:33:48]OFD Sender: No OFD packet to send [09:33:53]OFD Sender: No OFD packet to send [09:33:58]OFD Sender: No OFD packet to send [09:34:03]OFD Sender: No OFD packet to send [09:34:08]OFD Sender: No OFD packet to send [09:34:13]OFD Sender: No OFD packet to send [09:34:18]OFD Sender: No OFD packet to send [09:34:23]OFD Sender: No OFD packet to send [09:34:28]OFD Sender: No OFD packet to send [09:34:33]OFD Sender: No OFD packet to send [09:34:38]OFD Sender: No OFD packet to send [09:34:43]OFD Sender: No OFD packet to send [09:34:48]OFD Sender: No OFD packet to send [09:34:53]OFD Sender: No OFD packet to send [09:34:58]OFD Sender: No OFD packet to send [09:35:03]OFD Sender: No OFD packet to send [09:35:08]OFD Sender: No OFD packet to send [09:35:13]OFD Sender: No OFD packet to send [09:35:18]OFD Sender: No OFD packet to send [09:35:23]OFD Sender: No OFD packet to send [09:35:28]OFD Sender: No OFD packet to send [09:35:33]OFD Sender: No OFD packet to send [09:35:38]OFD Sender: No OFD packet to send [09:35:43]OFD Sender: No OFD packet to send [09:35:48]OFD Sender: No OFD packet to send [09:35:53]OFD Sender: No OFD packet to send [09:35:58]OFD Sender: No OFD packet to send [09:36:03]OFD Sender: No OFD packet to send [09:36:08]OFD Sender: No OFD packet to send [09:36:13]OFD Sender: No OFD packet to send [09:36:18]OFD Sender: No OFD packet to send [09:36:23]OFD Sender: No OFD packet to send [09:36:28]OFD Sender: No OFD packet to send [09:36:33]OFD Sender: No OFD packet to send [09:36:38]OFD Sender: No OFD packet to send [09:36:43]OFD Sender: No OFD packet to send [09:36:48]OFD Sender: No OFD packet to send [09:36:53]OFD Sender: No OFD packet to send [09:36:58]OFD Sender: No OFD packet to send [09:37:03]OFD Sender: No OFD packet to send [09:37:08]OFD Sender: No OFD packet to send [09:37:13]OFD Sender: No OFD packet to send [09:37:18]OFD Sender: No OFD packet to send [09:37:23]OFD Sender: No OFD packet to send [09:37:28]OFD Sender: No OFD packet to send [09:37:33]OFD Sender: No OFD packet to send [09:37:38]OFD Sender: No OFD packet to send [09:37:43]OFD Sender: No OFD packet to send [09:37:48]OFD Sender: No OFD packet to send [09:37:53]OFD Sender: No OFD packet to send [09:37:58]OFD Sender: No OFD packet to send [09:38:03]OFD Sender: No OFD packet to send [09:38:08]OFD Sender: No OFD packet to send [09:38:13]OFD Sender: No OFD packet to send [09:38:18]OFD Sender: No OFD packet to send [09:38:23]OFD Sender: No OFD packet to send [09:38:28]OFD Sender: No OFD packet to send [09:38:33]OFD Sender: No OFD packet to send [09:38:38]OFD Sender: No OFD packet to send [09:38:43]OFD Sender: No OFD packet to send [09:38:48]OFD Sender: No OFD packet to send [09:38:53]OFD Sender: No OFD packet to send [09:38:58]OFD Sender: No OFD packet to send [09:39:03]OFD Sender: No OFD packet to send [09:39:08]OFD Sender: No OFD packet to send [09:39:12]accept exits with 9 [09:39:12]New connection [09:39:12]New thread 3067297124 created [09:39:12]Thread 3067440484 joined [09:39:12]Waiting for new connection... [09:39:12] Sock 9.Parse request [09:39:12]Sock 9.Check first char [09:39:12]Sock 9.First char is OK [09:39:12]request: POST /json_proto HTTP/1.0 [09:39:12]Method: POST [09:39:12]URL: /json_proto [09:39:12]Method is POST - this is cgi request [09:39:12]url: /json_proto [09:39:12]query_string will be loaded in cgi processing [09:39:12]execute_cgi json_proto POST (null) [09:39:12]execute_cgi path=json_proto method=POST [09:39:12]POST find Content-Length [09:39:12]Host: 172.17.40.196:8080 [09:39:12]Content-Length: 625 [09:39:12]Content-Type: application/json [09:39:12] [09:39:12]POST finish read [09:39:12]Found Content-Length = 625 [09:39:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34996", "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" ] } } [09:39:12]execute_script... [09:39: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)34996", "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" ] } } [09:39:12]POST & json_proto [09:39:12]process_json_proto [09:39:12]json parsed OK: [09:39:12]protocol is kg_v1.0 [09:39:12]action value=close_receipt [09:39:12]process_action close_receipt [09:39:12]cmd_close_receipt [09:39:12]MH_GetDate [09:39:12]Write to MH i2c: F0 00 00 75 04 68 [09:39:12]Write i2c OK [09:39:12]MH_I2C_Read... [09:39:12]Read from MH i2c: F0 [09:39:12]MH_I2C_Read... [09:39:12]Read from MH i2c: F0 09 00 [09:39:12]MH_I2C_Read... [09:39:12]Read from MH i2c: F0 09 00 75 04 00 42 0A 1E 67 5B 68 A1 66 0C [09:39:12]GetLastDocTimeStamp 1730018794 [09:39:12]current date 1730021954 [09:39:12]FM_GetShiftState [09:39:12]SAM_PROTO_GetShiftState [09:39:12]wFMCommunicate request_size=4 [09:39:12]MH_SAM_APDU [09:39:12]CAPDU: 80 13 01 00 [09:39:12]Write to MH i2c: E2 08 00 76 04 80 13 01 00 00 00 00 00 F7 [09:39:12]Write i2c OK [09:39:12]MH_I2C_Read... [09:39:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:39:12]Read from MH i2c: E2 [09:39:12]MH_I2C_Read... [09:39:12]Read from MH i2c: E2 0E 00 [09:39:12]MH_I2C_Read... [09:39:12]Read from MH i2c: E2 0E 00 76 04 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 AE [09:39:12]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [09:39:12]wFMCommunicate OK [09:39:12]SAM_PROTO_GetShiftState done [09:39:12]FM_GetShiftState done [09:39:12]opened in 1729987492 [09:39:12]opened+sec_in_day 1730073892 [09:39:12]quantity*price = 15900 [09:39:12]sum+1 = 15901 [09:39:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 159.00 НСП 1% : 1.41 НДС 12% : 16.88 Наличными: 159.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 24 27.10.2024 09:39 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37698 ФПД: 94634923106447 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T093914&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37698&fm=94634923106447&tin=02508201610067®Number=0000000000091684&sum=15900 0 [09:39:14]StoreToDocumentArchive [09:39:14]shift 550 fd 37698 [09:39:14]save to /storage/0550/doc_00037698 [09:39:14]save last doc name /storage/0550/doc_00037698 to /storage/kkm_last_doc_name [09:39:14]save OK [09:39:14]Clear old archive folders... [09:39:14]ProcessDocumentItem done err = 0, tmpTLVsize=278 [09:39:14]tlvbuf is 0021BCE0 [09:39:14]SAM_PROTO_ClearQueue [09:39:14]wFMCommunicate request_size=4 [09:39:14]MH_SAM_APDU [09:39:14]CAPDU: 80 09 00 00 [09:39:14]Write to MH i2c: E2 08 00 83 04 80 09 00 00 00 00 00 00 F9 [09:39:14]Write i2c OK [09:39:14]MH_I2C_Read... [09:39:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:39:14]Read from MH i2c: E2 [09:39:14]MH_I2C_Read... [09:39:14]Read from MH i2c: E2 03 00 [09:39:14]MH_I2C_Read... [09:39:14]Read from MH i2c: E2 03 00 83 04 00 90 00 FB [09:39:14]RAPDU: 90 00 [09:39:14]wFMCommunicate OK [09:39:14]SAM_PROTO_ClearQueue done [09:39:14]KKMCreateOFDPacket [09:39:14]OFDProtocolAddRootSTLVToBuf [09:39:14]FM_MakeSignedData [09:39:14]FM_MakeSignedData [09:39:14]SAM_PROTO_SignData [09:39:14]wFMCommunicate request_size=4 [09:39:14]MH_SAM_APDU [09:39:14]CAPDU: 80 0D 01 02 [09:39:14]Write to MH i2c: E2 08 00 84 04 80 0D 01 02 00 00 00 00 01 [09:39:14]Write i2c OK [09:39:14]MH_I2C_Read... [09:39:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:39:14]Read from MH i2c: E2 [09:39:14]MH_I2C_Read... [09:39:14]Read from MH i2c: E2 03 00 [09:39:14]MH_I2C_Read... [09:39:14]Read from MH i2c: E2 03 00 84 04 00 90 00 FC [09:39:14]RAPDU: 90 00 [09:39:14]wFMCommunicate OK [09:39:14]wFMCommunicate request_size=255 [09:39:14]MH_SAM_APDU [09:39:14]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 18 00 00 00 F4 03 04 00 42 0A 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 [09:39:14]Write to MH i2c: E2 02 01 85 04 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 18 00 00 00 F4 03 04 00 42 0A 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 C1 [09:39:14]Write i2c OK [09:39:14]MH_I2C_Read... [09:39:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:39:14]Read from MH i2c: E2 [09:39:14]MH_I2C_Read... [09:39:14]Read from MH i2c: E2 03 00 [09:39:14]MH_I2C_Read... [09:39:14]Read from MH i2c: E2 03 00 85 04 00 90 00 FD [09:39:14]RAPDU: 90 00 [09:39:14]wFMCommunicate OK [09:39:14]wFMCommunicate request_size=37 [09:39:14]MH_SAM_APDU [09:39:14]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 42 93 00 00 35 04 06 00 56 11 E8 F9 A0 8F [09:39:14]Write to MH i2c: E2 28 00 86 04 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 42 93 00 00 35 04 06 00 56 11 E8 F9 A0 8F 00 00 A4 [09:39:14]Write i2c OK [09:39:14]MH_I2C_Read... [09:39:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:39:14]Read from MH i2c: E2 [09:39:14]MH_I2C_Read... [09:39:14]Read from MH i2c: E2 03 00 [09:39:14]MH_I2C_Read... [09:39:14]Read from MH i2c: E2 03 00 86 04 00 90 00 FE [09:39:14]RAPDU: 90 00 [09:39:14]wFMCommunicate OK [09:39:14]wFMCommunicate request_size=4 [09:39:14]MH_SAM_APDU [09:39:14]CAPDU: 80 0D 03 02 [09:39:14]Write to MH i2c: E2 08 00 87 04 80 0D 03 02 00 00 00 00 06 [09:39:14]Write i2c OK [09:39:14]MH_I2C_Read... [09:39:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:39:14]Read from MH i2c: E2 [09:39:14]MH_I2C_Read... [09:39:14]Read from MH i2c: E2 0B 00 [09:39:14]MH_I2C_Read... [09:39:14]Read from MH i2c: E2 0B 00 87 04 00 DC B4 F3 C4 2B E4 80 6C 90 00 49 [09:39:14]RAPDU: DC B4 F3 C4 2B E4 80 6C 90 00 [09:39:14]wFMCommunicate OK [09:39:14]SAM_PROTO_SignData done [09:39:14]FM_MakeSignedData done [09:39:14]CreateOFDProtocolMessage [09:39:14]wFMCommunicate request_size=4 [09:39:14]MH_SAM_APDU [09:39:14]CAPDU: 80 11 00 00 [09:39:14]Write to MH i2c: E2 08 00 88 04 80 11 00 00 00 00 00 00 06 [09:39:14]Write i2c OK [09:39:14]MH_I2C_Read... [09:39:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:39:14]Read from MH i2c: E2 [09:39:14]MH_I2C_Read... [09:39:14]Read from MH i2c: E2 17 00 [09:39:14]MH_I2C_Read... [09:39:14]Read from MH i2c: E2 17 00 88 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 56 [09:39:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:39:14]wFMCommunicate OK [09:39:14]CreateOFDProtocolMessage done [09:39:14]OFDSenderStorePacket 37698 [09:39:14]StoreOFDPacket docnum=37698 [09:39: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 2A 01 00 00 FC 4A 22 01 AD BC 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 18 00 00 00 F4 03 04 00 42 0A 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 42 93 00 00 35 04 06 00 56 11 E8 F9 A0 8F DC B4 F3 C4 2B E4 80 6C [09:39:14]CheckFolder [09:39:14]dirname=/storage/ofd_packets [09:39:14]CheckFolder done [09:39:14]ProducePacketName [09:39:14]name=ofd_packets/00037698 [09:39:14]NVStorageSaveData ofd_packets/00037698 [09:39:14]File name is /storage/ofd_packets/00037698 [09:39:14]Write 328 bytes [09:39:14]NVStorageSaveData done [09:39:14]OFDSenderStorePacket done [09:39:14]KKMCreateOFDPacket done [09:39:14]NVStorageSaveData kkm_last_timestamp [09:39:14]File name is /storage/kkm_last_timestamp [09:39:14]Write 4 bytes [09:39:14]NVStorageSaveData done [09:39:14]ExternCall_PrintAddStr [09:39:14]wPrintStart [09:39:14]Write to MH i2c: 01 00 00 89 04 8D [09:39:14]Write i2c OK [09:39:14]MH_I2C_Read... [09:39:14]Read from MH i2c: 01 [09:39:14]MH_I2C_Read... [09:39:14]Read from MH i2c: 01 07 00 [09:39:14]MH_I2C_Read... [09:39:14]Read from MH i2c: 01 07 00 89 04 00 00 00 00 00 FF 0F A2 [09:39:14]RasterBufferAndPrint [09:39:14]line Счет N : (3)34996 [09:39:14]line ИНН: 02508201610067 [09:39:14]line Контрольно-Кассовый Чек [09:39:14]line ПРОДАЖА [09:39:14]line Товар: 4640030092499 [09:39:14]line Сигареты ESSE SENSE Himalaya [09:39:14]line 1.000 * 159.00 [09:39:14]line = 159.00 [09:39:14]line НДС 12% НСП 1% [09:39:14]line > о реализуемом товаре [09:39:14]line ИТОГО: 159.00 [09:39:14]line НСП 1% : 1.41 [09:39:14]line НДС 12% : 16.88 [09:39:14]line Наличными: 159.00 [09:39:14]line Безнал.: 0.00 [09:39:14]line Место: АЗС № 126 "Партнер Нефть" [09:39:14]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [09:39:14]line СНО: Общий режим [09:39:14]line Чек 24 27.10.2024 09:39 [09:39:14]line Смена: 550 ФФД: 1.0 [09:39:14]line ЗНМ: 0300000092 [09:39:14]line РНМ: 0000000000091684 [09:39:14]line Версия ККМ: 001 [09:39:14]line ФМ: 0000000000871841 [09:39:14]line ФД: 37698 [09:39:14]line ФПД: 94634923106447 [09:39:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T093914&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37698&fm=94634923106447&tin=02508201610067®Number=0000000000091684&sum=15900 [09:39:14]line 0 [09:39:14]OFD Sender: Processing packet 37698 [packets to send 42, broken 41] [09:39:14]ProducePacketName [09:39:14]name=ofd_packets/00037698 [09:39:14]OFD Sender: To server: pG, [09:39:14]CommunicateWithHost lk.salyk.kg:30040 [09:39:14]ConnectInit lk.salyk.kg [09:39:14]written 0, free lines is 4095 [09:39:15]Connected sock=10 [09:39: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 2A 01 00 00 FC 4A 22 01 AD BC 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 18 00 00 00 F4 03 04 00 42 0A 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 42 93 00 00 35 04 06 00 56 11 E8 F9 A0 8F DC B4 F3 C4 2B E4 80 6C [09:39:15]Write to MH i2c: 01 00 00 B2 04 B6 [09:39:15]Write i2c OK [09:39:15]MH_I2C_Read... [09:39:15]Read from MH i2c: 01 [09:39:15]MH_I2C_Read... [09:39:15]Read from MH i2c: 01 07 00 [09:39:15]MH_I2C_Read... [09:39:15]Read from MH i2c: 01 07 00 B2 04 00 00 00 00 00 C6 0C 8F [09:39:15]RasterBufferAndPrint [09:39:15]line [09:39:15]line [09:39:15]line [09:39:15]line [09:39:15]line [09:39:15]written 0, free lines is 3274 [09:39:15]MH_Cut [09:39:15]Write to MH i2c: D1 01 00 B9 04 01 8F [09:39:15]Write i2c OK [09:39:15]MH_I2C_Read... [09:39:15]Read from MH i2c: D1 [09:39:15]MH_I2C_Read... [09:39:15]Read from MH i2c: D1 01 00 [09:39:15]MH_I2C_Read... [09:39:15]Read from MH i2c: D1 01 00 B9 04 00 8E [09:39:15]Write to MH i2c: 01 00 00 BA 04 BE [09:39:15]Write i2c OK [09:39:15]MH_I2C_Read... [09:39: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 77 AA 47 00 99 3C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 42 93 00 00 F4 03 04 00 3A B5 1D 67 B6 04 01 00 00 24 A7 96 4E 39 FF CB 1B [09:39:15]CommunicateWithHost err = 0 [09:39:15]CheckOFDResponse [09:39:15]1017 (14) - 77093643461234 [09:39:15]1041 (16) - 0000000000871841 [09:39:15]1040 (4) - 37698 [09:39:15]1012 (4) - 27.10.2024 03:36 [09:39:15]1206 (1) - 0 [09:39:15]OFD Sender: Remove packet 37698 [09:39:15]ProducePacketName [09:39:15]name=ofd_packets/00037698 [09:39:15]NVStorageDeleteData [09:39:16]OFD Sender: No OFD packet to send [09:39:16]*** Cut start [09:39:16]*** Partial cut [09:39:16]*** CUTSNS_PIN = 1 [09:39:16]*** CUTSNS_PIN = 0 [09:39:16]*** Brake cut motor [09:39:16]Read from MH i2c: 01 [09:39:16]MH_I2C_Read... [09:39:16]*** Stop cut motor [09:39:16]*** Cut end [09:39:16]Read from MH i2c: 01 07 00 [09:39:16]MH_I2C_Read... [09:39:16]Read from MH i2c: 01 07 00 BA 04 00 00 00 00 00 FF 0F D3 [09:39:16]process_action close_receipt done [09:39:16]requested_data is exist [09:39:16]produce_requested_data [09:39:16]requested_item fm.sn is exist - process it [09:39:16]wFMCommunicate request_size=4 [09:39:16]MH_SAM_APDU [09:39:16]CAPDU: 80 11 00 00 [09:39:16]Write to MH i2c: E2 08 00 BB 04 80 11 00 00 00 00 00 00 39 [09:39:16]Write i2c OK [09:39:16]MH_I2C_Read... [09:39:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:39:16]Read from MH i2c: E2 [09:39:16]MH_I2C_Read... [09:39:16]Read from MH i2c: E2 17 00 [09:39:16]MH_I2C_Read... [09:39:16]Read from MH i2c: E2 17 00 BB 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 89 [09:39:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:39:16]wFMCommunicate OK [09:39:16]requested_item fd.num is exist - process it [09:39:16]SAM_PROTO_GetFieldsCounters [09:39:16]wFMCommunicate request_size=4 [09:39:16]MH_SAM_APDU [09:39:16]CAPDU: 80 13 00 00 [09:39:16]Write to MH i2c: E2 08 00 BC 04 80 13 00 00 00 00 00 00 3C [09:39:16]Write i2c OK [09:39:16]MH_I2C_Read... [09:39:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:39:17]Read from MH i2c: E2 [09:39:17]MH_I2C_Read... [09:39:17]Read from MH i2c: E2 62 00 [09:39:17]MH_I2C_Read... [09:39:17]Read from MH i2c: E2 62 00 BC 04 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 42 93 00 00 0E 04 04 00 26 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 A2 [09:39: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 42 93 00 00 0E 04 04 00 26 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 [09:39:17]wFMCommunicate OK [09:39:17]SAM_PROTO_GetFieldsCounters done [09:39:17]requested_item shift.num is exist - process it [09:39:17]requested_item shift.opened is exist - process it [09:39:17]req_shift_opened [09:39:17]FM_GetShiftState [09:39:17]SAM_PROTO_GetShiftState [09:39:17]wFMCommunicate request_size=4 [09:39:17]MH_SAM_APDU [09:39:17]CAPDU: 80 13 01 00 [09:39:17]Write to MH i2c: E2 08 00 BD 04 80 13 01 00 00 00 00 00 3E [09:39:17]Write i2c OK [09:39:17]MH_I2C_Read... [09:39:17]Read from MH i2c: E2 [09:39:17]MH_I2C_Read... [09:39:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:39:17]Read from MH i2c: E2 0E 00 [09:39:17]MH_I2C_Read... [09:39:17]Read from MH i2c: E2 0E 00 BD 04 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 F5 [09:39:17]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [09:39:17]wFMCommunicate OK [09:39:17]SAM_PROTO_GetShiftState done [09:39:17]FM_GetShiftState done [09:39:17]req_shift_opened done [09:39:17]requested_item shift.open_date is exist - process it [09:39:17]req_shift_open_date [09:39:17]req_shift_open_date done [09:39:17]produce_requested_data done [09:39:17]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37698,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [09:39:17]process_action_free close_receipt [09:39:17]json_value_free [09:39:17]json_value_free done [09:39:17]process_json_proto returns [09:39:17]Send response to host [09:39:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37698,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [09:39:17]free response buf [09:39:17]execute_script done [09:39:17]execute_script returns [09:39:17]free content buf [09:39:17]Sock 9.Close socket [09:39:17]Sock 9.Thread stoped [09:39:21]OFD Sender: No OFD packet to send [09:39:26]OFD Sender: No OFD packet to send [09:39:31]OFD Sender: No OFD packet to send [09:39:36]OFD Sender: No OFD packet to send [09:39:41]OFD Sender: No OFD packet to send [09:39:46]OFD Sender: No OFD packet to send [09:39:51]OFD Sender: No OFD packet to send [09:39:56]OFD Sender: No OFD packet to send [09:40:01]OFD Sender: No OFD packet to send [09:40:06]OFD Sender: No OFD packet to send [09:40:11]OFD Sender: No OFD packet to send [09:40:16]OFD Sender: No OFD packet to send [09:40:21]OFD Sender: No OFD packet to send [09:40:26]OFD Sender: No OFD packet to send [09:40:31]OFD Sender: No OFD packet to send [09:40:36]OFD Sender: No OFD packet to send [09:40:41]OFD Sender: No OFD packet to send [09:40:46]OFD Sender: No OFD packet to send [09:40:51]OFD Sender: No OFD packet to send [09:40:56]OFD Sender: No OFD packet to send [09:41:01]OFD Sender: No OFD packet to send [09:41:06]OFD Sender: No OFD packet to send [09:41:11]OFD Sender: No OFD packet to send [09:41:16]OFD Sender: No OFD packet to send [09:41:21]OFD Sender: No OFD packet to send [09:41:26]OFD Sender: No OFD packet to send [09:41:31]OFD Sender: No OFD packet to send [09:41:36]OFD Sender: No OFD packet to send [09:41:41]OFD Sender: No OFD packet to send [09:41:46]OFD Sender: No OFD packet to send [09:41:51]OFD Sender: No OFD packet to send [09:41:56]OFD Sender: No OFD packet to send [09:42:01]OFD Sender: No OFD packet to send [09:42:04]accept exits with 7 [09:42:04]New connection [09:42:04]New thread 3067440484 created [09:42:04]Thread 3067297124 joined [09:42:04]Waiting for new connection... [09:42:04] Sock 7.Parse request [09:42:04]Sock 7.Check first char [09:42:04]Sock 7.First char is OK [09:42:04]request: POST /json_proto HTTP/1.0 [09:42:04]Method: POST [09:42:04]URL: /json_proto [09:42:04]Method is POST - this is cgi request [09:42:04]url: /json_proto [09:42:04]query_string will be loaded in cgi processing [09:42:04]execute_cgi json_proto POST (null) [09:42:04]execute_cgi path=json_proto method=POST [09:42:04]POST find Content-Length [09:42:04]Host: 172.17.40.196:8080 [09:42:04]Content-Length: 215 [09:42:04]Content-Type: application/json [09:42:04] [09:42:04]POST finish read [09:42:04]Found Content-Length = 215 [09:42:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:42:04]execute_script... [09:42:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:42:04]POST & json_proto [09:42:04]process_json_proto [09:42:04]json parsed OK: [09:42:04]protocol is kg_v1.0 [09:42:04]action value=get_value [09:42:04]process_action get_value [09:42:04]cmd_get_value [09:42:04]process_action get_value done [09:42:04]requested_data is exist [09:42:04]produce_requested_data [09:42:04]requested_item kkm.sn is exist - process it [09:42:04]requested_item kkm.ver is exist - process it [09:42:04]requested_item fm.sn is exist - process it [09:42:04]wFMCommunicate request_size=4 [09:42:04]MH_SAM_APDU [09:42:04]CAPDU: 80 11 00 00 [09:42:04]Write to MH i2c: E2 08 00 BE 04 80 11 00 00 00 00 00 00 3C [09:42:04]Write i2c OK [09:42:04]MH_I2C_Read... [09:42:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:42:04]Read from MH i2c: E2 [09:42:04]MH_I2C_Read... [09:42:04]Read from MH i2c: E2 17 00 [09:42:04]MH_I2C_Read... [09:42:04]Read from MH i2c: E2 17 00 BE 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 8C [09:42:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:42:04]wFMCommunicate OK [09:42:04]requested_item fd.num is exist - process it [09:42:04]SAM_PROTO_GetFieldsCounters [09:42:04]wFMCommunicate request_size=4 [09:42:04]MH_SAM_APDU [09:42:04]CAPDU: 80 13 00 00 [09:42:04]Write to MH i2c: E2 08 00 BF 04 80 13 00 00 00 00 00 00 3F [09:42:04]Write i2c OK [09:42:04]MH_I2C_Read... [09:42:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:42:05]Read from MH i2c: E2 [09:42:05]MH_I2C_Read... [09:42:05]Read from MH i2c: E2 62 00 [09:42:05]MH_I2C_Read... [09:42:05]Read from MH i2c: E2 62 00 BF 04 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 42 93 00 00 0E 04 04 00 26 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 A5 [09:42: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 42 93 00 00 0E 04 04 00 26 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 [09:42:05]wFMCommunicate OK [09:42:05]SAM_PROTO_GetFieldsCounters done [09:42:05]requested_item shift.num is exist - process it [09:42:05]requested_item shift.opened is exist - process it [09:42:05]req_shift_opened [09:42:05]FM_GetShiftState [09:42:05]SAM_PROTO_GetShiftState [09:42:05]wFMCommunicate request_size=4 [09:42:05]MH_SAM_APDU [09:42:05]CAPDU: 80 13 01 00 [09:42:05]Write to MH i2c: E2 08 00 C0 04 80 13 01 00 00 00 00 00 41 [09:42:05]Write i2c OK [09:42:05]MH_I2C_Read... [09:42:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:42:05]Read from MH i2c: E2 [09:42:05]MH_I2C_Read... [09:42:05]Read from MH i2c: E2 0E 00 [09:42:05]MH_I2C_Read... [09:42:05]Read from MH i2c: E2 0E 00 C0 04 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 F8 [09:42:05]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [09:42:05]wFMCommunicate OK [09:42:05]SAM_PROTO_GetShiftState done [09:42:05]FM_GetShiftState done [09:42:05]req_shift_opened done [09:42:05]requested_item shift.open_date is exist - process it [09:42:05]req_shift_open_date [09:42:05]req_shift_open_date done [09:42:05]produce_requested_data done [09:42:05]produce_requested_data return {"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37698,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [09:42:05]process_action_free get_value [09:42:05]json_value_free [09:42:05]json_value_free done [09:42:05]process_json_proto returns [09:42:05]Send response to host [09:42:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37698,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [09:42:05]free response buf [09:42:05]execute_script done [09:42:05]execute_script returns [09:42:05]free content buf [09:42:05]Sock 7.Close socket [09:42:05]Sock 7.Thread stoped [09:42:05]accept exits with 9 [09:42:05]New connection [09:42:05]New thread 3067297124 created [09:42:05]Thread 3067440484 joined [09:42:05]Waiting for new connection... [09:42:05] Sock 9.Parse request [09:42:05]Sock 9.Check first char [09:42:05]Sock 9.First char is OK [09:42:05]request: POST /json_proto HTTP/1.0 [09:42:05]Method: POST [09:42:05]URL: /json_proto [09:42:05]Method is POST - this is cgi request [09:42:05]url: /json_proto [09:42:05]query_string will be loaded in cgi processing [09:42:05]execute_cgi json_proto POST (null) [09:42:05]execute_cgi path=json_proto method=POST [09:42:05]POST find Content-Length [09:42:05]Host: 172.17.40.196:8080 [09:42:05]Content-Length: 331 [09:42:05]Content-Type: application/json [09:42:05] [09:42:05]POST finish read [09:42:05]Found Content-Length = 331 [09:42:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [09:42:05]execute_script... [09:42:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [09:42:05]POST & json_proto [09:42:05]process_json_proto [09:42:05]json parsed OK: [09:42:05]protocol is kg_v1.0 [09:42:05]action value=get_value [09:42:05]process_action get_value [09:42:05]cmd_get_value [09:42:05]process_action get_value done [09:42:05]requested_data is exist [09:42:05]produce_requested_data [09:42:05]requested_item fm.sale.total is exist - process it [09:42:05]SAM_PROTO_GetFMData [09:42:05]wFMCommunicate request_size=4 [09:42:05]MH_SAM_APDU [09:42:05]CAPDU: 80 13 03 00 [09:42:05]Write to MH i2c: E2 08 00 C1 04 80 13 03 00 00 00 00 00 44 [09:42:05]Write i2c OK [09:42:05]MH_I2C_Read... [09:42:05]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [09:42:05]Read from MH i2c: E2 [09:42:05]MH_I2C_Read... [09:42:05]Read from MH i2c: E2 FD 00 [09:42:05]MH_I2C_Read... [09:42:05]Read from MH i2c: E2 FD 00 C1 04 00 C0 04 85 04 BC 04 6E 04 04 00 F6 8E 00 00 69 04 A0 00 6F 04 04 00 F1 8E 00 00 B1 04 04 00 1A E1 0D 34 70 04 04 00 30 B7 3F 2E 72 04 04 00 EA 29 CE 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 64 32 87 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 C9 DC 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 55 [09:42:05]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 F6 8E 00 00 69 04 A0 00 6F 04 04 00 F1 8E 00 00 B1 04 04 00 1A E1 0D 34 70 04 04 00 30 B7 3F 2E 72 04 04 00 EA 29 CE 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 64 32 87 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 C9 DC 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [09:42:05]wFMCommunicate OK [09:42:05]wFMCommunicate request_size=4 [09:42:05]MH_SAM_APDU [09:42:05]CAPDU: 80 17 00 00 [09:42:05]Write to MH i2c: E2 08 00 C2 04 80 17 00 00 00 00 00 00 46 [09:42:05]Write i2c OK [09:42:05]MH_I2C_Read... [09:42:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:42:06]Read from MH i2c: E2 [09:42:06]MH_I2C_Read... [09:42:06]Read from MH i2c: E2 FD 00 [09:42:06]MH_I2C_Read... [09:42:06]Read from MH i2c: E2 FD 00 C2 04 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 41 [09:42:06]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 [09:42:06]wFMCommunicate OK [09:42:06]wFMCommunicate request_size=4 [09:42:06]MH_SAM_APDU [09:42:06]CAPDU: 80 17 00 00 [09:42:06]Write to MH i2c: E2 08 00 C3 04 80 17 00 00 00 00 00 00 47 [09:42:06]Write i2c OK [09:42:06]MH_I2C_Read... [09:42:06]OFD Sender: No OFD packet to send [09:42:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:42:06]Read from MH i2c: E2 [09:42:06]MH_I2C_Read... [09:42:06]Read from MH i2c: E2 FD 00 [09:42:06]MH_I2C_Read... [09:42:06]Read from MH i2c: E2 FD 00 C3 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 EA [09:42:06]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 [09:42:06]wFMCommunicate OK [09:42:06]wFMCommunicate request_size=4 [09:42:06]MH_SAM_APDU [09:42:06]CAPDU: 80 17 00 00 [09:42:06]Write to MH i2c: E2 08 00 C4 04 80 17 00 00 00 00 00 00 48 [09:42:06]Write i2c OK [09:42:06]MH_I2C_Read... [09:42:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:42:06]Read from MH i2c: E2 [09:42:06]MH_I2C_Read... [09:42:06]Read from MH i2c: E2 FD 00 [09:42:06]MH_I2C_Read... [09:42:06]Read from MH i2c: E2 FD 00 C4 04 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 C0 [09:42:06]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 [09:42:06]wFMCommunicate OK [09:42:06]wFMCommunicate request_size=4 [09:42:06]MH_SAM_APDU [09:42:06]CAPDU: 80 17 00 00 [09:42:06]Write to MH i2c: E2 08 00 C5 04 80 17 00 00 00 00 00 00 49 [09:42:06]Write i2c OK [09:42:06]MH_I2C_Read... [09:42:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [09:42:06]Read from MH i2c: E2 [09:42:06]MH_I2C_Read... [09:42:06]Read from MH i2c: E2 DD 00 [09:42:06]MH_I2C_Read... [09:42:06]Read from MH i2c: E2 DD 00 C5 04 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 31 [09:42:06]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 [09:42:06]wFMCommunicate OK [09:42:06]SAM_PROTO_GetFMData done [09:42:06]requested_item fm.sale_refund.total is exist - process it [09:42:06]requested_item fm.buy.total is exist - process it [09:42:06]requested_item shift.sale.total is exist - process it [09:42:06]SAM_PROTO_GetShiftData [09:42:06]wFMCommunicate request_size=4 [09:42:06]MH_SAM_APDU [09:42:06]CAPDU: 80 13 02 00 [09:42:06]Write to MH i2c: E2 08 00 C6 04 80 13 02 00 00 00 00 00 48 [09:42:06]Write i2c OK [09:42:06]MH_I2C_Read... [09:42:07]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:42:07]Read from MH i2c: E2 [09:42:07]MH_I2C_Read... [09:42:07]Read from MH i2c: E2 FD 00 [09:42:07]MH_I2C_Read... [09:42:07]Read from MH i2c: E2 FD 00 C6 04 00 AC 04 AA 04 A8 04 6E 04 04 00 18 00 00 00 69 04 99 00 6F 04 04 00 18 00 00 00 B1 04 03 00 44 6F 06 70 04 03 00 AC B7 05 72 04 02 00 98 B7 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 EA AE 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 8E 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 D6 [09:42:07]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 18 00 00 00 69 04 99 00 6F 04 04 00 18 00 00 00 B1 04 03 00 44 6F 06 70 04 03 00 AC B7 05 72 04 02 00 98 B7 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 EA AE 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 8E 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [09:42:07]wFMCommunicate OK [09:42:07]wFMCommunicate request_size=4 [09:42:07]MH_SAM_APDU [09:42:07]CAPDU: 80 17 00 00 [09:42:07]Write to MH i2c: E2 08 00 C7 04 80 17 00 00 00 00 00 00 4B [09:42:07]Write i2c OK [09:42:07]MH_I2C_Read... [09:42:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:42:07]Read from MH i2c: E2 [09:42:07]MH_I2C_Read... [09:42:07]Read from MH i2c: E2 FD 00 [09:42:07]MH_I2C_Read... [09:42:07]Read from MH i2c: E2 FD 00 C7 04 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 60 [09:42:07]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [09:42:07]wFMCommunicate OK [09:42:07]wFMCommunicate request_size=4 [09:42:07]MH_SAM_APDU [09:42:07]CAPDU: 80 17 00 00 [09:42:07]Write to MH i2c: E2 08 00 C8 04 80 17 00 00 00 00 00 00 4C [09:42:07]Write i2c OK [09:42:07]MH_I2C_Read... [09:42:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:42:07]Read from MH i2c: E2 [09:42:07]MH_I2C_Read... [09:42:07]Read from MH i2c: E2 FD 00 [09:42:07]MH_I2C_Read... [09:42:07]Read from MH i2c: E2 FD 00 C8 04 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 0D [09:42:07]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [09:42:07]wFMCommunicate OK [09:42:07]wFMCommunicate request_size=4 [09:42:07]MH_SAM_APDU [09:42:07]CAPDU: 80 17 00 00 [09:42:07]Write to MH i2c: E2 08 00 C9 04 80 17 00 00 00 00 00 00 4D [09:42:07]Write i2c OK [09:42:07]MH_I2C_Read... [09:42:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:42:08]Read from MH i2c: E2 [09:42:08]MH_I2C_Read... [09:42:08]Read from MH i2c: E2 FD 00 [09:42:08]MH_I2C_Read... [09:42:08]Read from MH i2c: E2 FD 00 C9 04 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 C2 [09:42:08]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [09:42:08]wFMCommunicate OK [09:42:08]wFMCommunicate request_size=4 [09:42:08]MH_SAM_APDU [09:42:08]CAPDU: 80 17 00 00 [09:42:08]Write to MH i2c: E2 08 00 CA 04 80 17 00 00 00 00 00 00 4E [09:42:08]Write i2c OK [09:42:08]MH_I2C_Read... [09:42:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [09:42:08]Read from MH i2c: E2 [09:42:08]MH_I2C_Read... [09:42:08]Read from MH i2c: E2 C9 00 [09:42:08]MH_I2C_Read... [09:42:08]Read from MH i2c: E2 C9 00 CA 04 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 32 [09:42:08]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:42:08]wFMCommunicate OK [09:42:08]SAM_PROTO_GetShiftData done [09:42:08]requested_item shift.sale.total_cash is exist - process it [09:42:08]requested_item shift.sale_refund.total is exist - process it [09:42:08]requested_item shift.sale_refund.total_cash is exist - process it [09:42:08]requested_item shift.buy.total is exist - process it [09:42:08]requested_item shift.buy.total_cash is exist - process it [09:42:08]produce_requested_data done [09:42:08]produce_requested_data return {"fm.sale.total":8733248.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":4217.00,"shift.sale.total_cash":3747.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [09:42:08]process_action_free get_value [09:42:08]json_value_free [09:42:08]json_value_free done [09:42:08]process_json_proto returns [09:42:08]Send response to host [09:42:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8733248.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":4217.00,"shift.sale.total_cash":3747.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [09:42:08]free response buf [09:42:08]execute_script done [09:42:08]execute_script returns [09:42:08]free content buf [09:42:08]Sock 9.Close socket [09:42:08]Sock 9.Thread stoped [09:42:11]OFD Sender: No OFD packet to send [09:42:16]OFD Sender: No OFD packet to send [09:42:21]OFD Sender: No OFD packet to send [09:42:26]OFD Sender: No OFD packet to send [09:42:31]OFD Sender: No OFD packet to send [09:42:36]OFD Sender: No OFD packet to send [09:42:41]OFD Sender: No OFD packet to send [09:42:46]OFD Sender: No OFD packet to send [09:42:51]OFD Sender: No OFD packet to send [09:42:56]OFD Sender: No OFD packet to send [09:43:01]OFD Sender: No OFD packet to send [09:43:06]OFD Sender: No OFD packet to send [09:43:11]OFD Sender: No OFD packet to send [09:43:16]OFD Sender: No OFD packet to send [09:43:21]OFD Sender: No OFD packet to send [09:43:26]OFD Sender: No OFD packet to send [09:43:31]OFD Sender: No OFD packet to send [09:43:36]OFD Sender: No OFD packet to send [09:43:41]OFD Sender: No OFD packet to send [09:43:46]OFD Sender: No OFD packet to send [09:43:51]OFD Sender: No OFD packet to send [09:43:56]OFD Sender: No OFD packet to send [09:44:01]OFD Sender: No OFD packet to send [09:44:06]OFD Sender: No OFD packet to send [09:44:11]OFD Sender: No OFD packet to send [09:44:16]OFD Sender: No OFD packet to send [09:44:21]OFD Sender: No OFD packet to send [09:44:26]OFD Sender: No OFD packet to send [09:44:31]OFD Sender: No OFD packet to send [09:44:36]OFD Sender: No OFD packet to send [09:44:41]OFD Sender: No OFD packet to send [09:44:46]OFD Sender: No OFD packet to send [09:44:51]OFD Sender: No OFD packet to send [09:44:56]OFD Sender: No OFD packet to send [09:45:01]OFD Sender: No OFD packet to send [09:45:06]OFD Sender: No OFD packet to send [09:45:11]OFD Sender: No OFD packet to send [09:45:16]OFD Sender: No OFD packet to send [09:45:21]OFD Sender: No OFD packet to send [09:45:26]OFD Sender: No OFD packet to send [09:45:31]OFD Sender: No OFD packet to send [09:45:36]OFD Sender: No OFD packet to send [09:45:41]OFD Sender: No OFD packet to send [09:45:46]OFD Sender: No OFD packet to send [09:45:51]OFD Sender: No OFD packet to send [09:45:56]OFD Sender: No OFD packet to send [09:46:01]OFD Sender: No OFD packet to send [09:46:06]OFD Sender: No OFD packet to send [09:46:11]OFD Sender: No OFD packet to send [09:46:16]OFD Sender: No OFD packet to send [09:46:21]OFD Sender: No OFD packet to send [09:46:26]OFD Sender: No OFD packet to send [09:46:31]OFD Sender: No OFD packet to send [09:46:36]OFD Sender: No OFD packet to send [09:46:41]OFD Sender: No OFD packet to send [09:46:46]OFD Sender: No OFD packet to send [09:46:51]OFD Sender: No OFD packet to send [09:46:56]OFD Sender: No OFD packet to send [09:47:01]OFD Sender: No OFD packet to send [09:47:06]OFD Sender: No OFD packet to send [09:47:11]OFD Sender: No OFD packet to send [09:47:16]OFD Sender: No OFD packet to send [09:47:21]OFD Sender: No OFD packet to send [09:47:26]OFD Sender: No OFD packet to send [09:47:31]OFD Sender: No OFD packet to send [09:47:36]OFD Sender: No OFD packet to send [09:47:41]OFD Sender: No OFD packet to send [09:47:46]OFD Sender: No OFD packet to send [09:47:51]OFD Sender: No OFD packet to send [09:47:56]OFD Sender: No OFD packet to send [09:48:01]OFD Sender: No OFD packet to send [09:48:06]OFD Sender: No OFD packet to send [09:48:11]OFD Sender: No OFD packet to send [09:48:16]OFD Sender: No OFD packet to send [09:48:21]OFD Sender: No OFD packet to send [09:48:26]OFD Sender: No OFD packet to send [09:48:31]OFD Sender: No OFD packet to send [09:48:36]OFD Sender: No OFD packet to send [09:48:41]OFD Sender: No OFD packet to send [09:48:46]OFD Sender: No OFD packet to send [09:48:51]OFD Sender: No OFD packet to send [09:48:56]OFD Sender: No OFD packet to send [09:49:01]OFD Sender: No OFD packet to send [09:49:06]OFD Sender: No OFD packet to send [09:49:11]OFD Sender: No OFD packet to send [09:49:16]OFD Sender: No OFD packet to send [09:49:21]OFD Sender: No OFD packet to send [09:49:26]OFD Sender: No OFD packet to send [09:49:31]OFD Sender: No OFD packet to send [09:49:36]OFD Sender: No OFD packet to send [09:49:41]OFD Sender: No OFD packet to send [09:49:46]OFD Sender: No OFD packet to send [09:49:51]OFD Sender: No OFD packet to send [09:49:56]OFD Sender: No OFD packet to send [09:50:01]OFD Sender: No OFD packet to send [09:50:06]OFD Sender: No OFD packet to send [09:50:11]OFD Sender: No OFD packet to send [09:50:16]OFD Sender: No OFD packet to send [09:50:21]OFD Sender: No OFD packet to send [09:50:26]OFD Sender: No OFD packet to send [09:50:31]OFD Sender: No OFD packet to send [09:50:36]OFD Sender: No OFD packet to send [09:50:41]OFD Sender: No OFD packet to send [09:50:46]OFD Sender: No OFD packet to send [09:50:51]OFD Sender: No OFD packet to send [09:50:56]OFD Sender: No OFD packet to send [09:51:01]OFD Sender: No OFD packet to send [09:51:06]OFD Sender: No OFD packet to send [09:51:11]OFD Sender: No OFD packet to send [09:51:16]OFD Sender: No OFD packet to send [09:51:21]OFD Sender: No OFD packet to send [09:51:26]OFD Sender: No OFD packet to send [09:51:31]OFD Sender: No OFD packet to send [09:51:36]OFD Sender: No OFD packet to send [09:51:41]OFD Sender: No OFD packet to send [09:51:46]OFD Sender: No OFD packet to send [09:51:51]OFD Sender: No OFD packet to send [09:51:56]OFD Sender: No OFD packet to send [09:52:01]OFD Sender: No OFD packet to send [09:52:06]OFD Sender: No OFD packet to send [09:52:11]OFD Sender: No OFD packet to send [09:52:16]OFD Sender: No OFD packet to send [09:52:21]OFD Sender: No OFD packet to send [09:52:26]OFD Sender: No OFD packet to send [09:52:31]OFD Sender: No OFD packet to send [09:52:36]OFD Sender: No OFD packet to send [09:52:41]OFD Sender: No OFD packet to send [09:52:46]OFD Sender: No OFD packet to send [09:52:51]OFD Sender: No OFD packet to send [09:52:56]OFD Sender: No OFD packet to send [09:53:01]OFD Sender: No OFD packet to send [09:53:06]OFD Sender: No OFD packet to send [09:53:11]OFD Sender: No OFD packet to send [09:53:16]OFD Sender: No OFD packet to send [09:53:21]OFD Sender: No OFD packet to send [09:53:26]OFD Sender: No OFD packet to send [09:53:31]OFD Sender: No OFD packet to send [09:53:36]OFD Sender: No OFD packet to send [09:53:41]OFD Sender: No OFD packet to send [09:53:46]OFD Sender: No OFD packet to send [09:53:51]OFD Sender: No OFD packet to send [09:53:56]OFD Sender: No OFD packet to send [09:54:01]OFD Sender: No OFD packet to send [09:54:06]OFD Sender: No OFD packet to send [09:54:11]OFD Sender: No OFD packet to send [09:54:16]OFD Sender: No OFD packet to send [09:54:21]OFD Sender: No OFD packet to send [09:54:26]OFD Sender: No OFD packet to send [09:54:31]OFD Sender: No OFD packet to send [09:54:36]OFD Sender: No OFD packet to send [09:54:41]OFD Sender: No OFD packet to send [09:54:46]OFD Sender: No OFD packet to send [09:54:51]OFD Sender: No OFD packet to send [09:54:56]OFD Sender: No OFD packet to send [09:55:01]OFD Sender: No OFD packet to send [09:55:06]OFD Sender: No OFD packet to send [09:55:11]OFD Sender: No OFD packet to send [09:55:16]OFD Sender: No OFD packet to send [09:55:21]OFD Sender: No OFD packet to send [09:55:26]OFD Sender: No OFD packet to send [09:55:31]OFD Sender: No OFD packet to send [09:55:36]OFD Sender: No OFD packet to send [09:55:41]OFD Sender: No OFD packet to send [09:55:46]OFD Sender: No OFD packet to send [09:55:51]OFD Sender: No OFD packet to send [09:55:56]OFD Sender: No OFD packet to send [09:56:01]OFD Sender: No OFD packet to send [09:56:06]OFD Sender: No OFD packet to send [09:56:11]OFD Sender: No OFD packet to send [09:56:16]OFD Sender: No OFD packet to send [09:56:21]OFD Sender: No OFD packet to send [09:56:27]OFD Sender: No OFD packet to send [09:56:32]OFD Sender: No OFD packet to send [09:56:37]OFD Sender: No OFD packet to send [09:56:42]OFD Sender: No OFD packet to send [09:56:47]OFD Sender: No OFD packet to send [09:56:52]OFD Sender: No OFD packet to send [09:56:57]OFD Sender: No OFD packet to send [09:57:02]OFD Sender: No OFD packet to send [09:57:07]OFD Sender: No OFD packet to send [09:57:12]OFD Sender: No OFD packet to send [09:57:17]OFD Sender: No OFD packet to send [09:57:22]OFD Sender: No OFD packet to send [09:57:27]OFD Sender: No OFD packet to send [09:57:32]OFD Sender: No OFD packet to send [09:57:37]OFD Sender: No OFD packet to send [09:57:42]OFD Sender: No OFD packet to send [09:57:47]OFD Sender: No OFD packet to send [09:57:52]OFD Sender: No OFD packet to send [09:57:57]OFD Sender: No OFD packet to send [09:58:02]OFD Sender: No OFD packet to send [09:58:07]OFD Sender: No OFD packet to send [09:58:12]OFD Sender: No OFD packet to send [09:58:17]OFD Sender: No OFD packet to send [09:58:22]OFD Sender: No OFD packet to send [09:58:27]OFD Sender: No OFD packet to send [09:58:32]OFD Sender: No OFD packet to send [09:58:37]OFD Sender: No OFD packet to send [09:58:42]OFD Sender: No OFD packet to send [09:58:47]OFD Sender: No OFD packet to send [09:58:52]OFD Sender: No OFD packet to send [09:58:57]OFD Sender: No OFD packet to send [09:59:02]OFD Sender: No OFD packet to send [09:59:07]OFD Sender: No OFD packet to send [09:59:12]OFD Sender: No OFD packet to send [09:59:17]OFD Sender: No OFD packet to send [09:59:22]OFD Sender: No OFD packet to send [09:59:27]OFD Sender: No OFD packet to send [09:59:32]OFD Sender: No OFD packet to send [09:59:37]OFD Sender: No OFD packet to send [09:59:42]OFD Sender: No OFD packet to send [09:59:47]OFD Sender: No OFD packet to send [09:59:52]OFD Sender: No OFD packet to send [09:59:57]OFD Sender: No OFD packet to send [10:00:02]OFD Sender: No OFD packet to send [10:00:07]OFD Sender: No OFD packet to send [10:00:12]OFD Sender: No OFD packet to send [10:00:17]OFD Sender: No OFD packet to send [10:00:22]OFD Sender: No OFD packet to send [10:00:27]OFD Sender: No OFD packet to send [10:00:32]OFD Sender: No OFD packet to send [10:00:37]OFD Sender: No OFD packet to send [10:00:42]OFD Sender: No OFD packet to send [10:00:47]OFD Sender: No OFD packet to send [10:00:52]OFD Sender: No OFD packet to send [10:00:57]OFD Sender: No OFD packet to send [10:01:02]OFD Sender: No OFD packet to send [10:01:07]OFD Sender: No OFD packet to send [10:01:12]OFD Sender: No OFD packet to send [10:01:17]OFD Sender: No OFD packet to send [10:01:22]OFD Sender: No OFD packet to send [10:01:27]OFD Sender: No OFD packet to send [10:01:32]OFD Sender: No OFD packet to send [10:01:37]OFD Sender: No OFD packet to send [10:01:42]OFD Sender: No OFD packet to send [10:01:47]OFD Sender: No OFD packet to send [10:01:52]OFD Sender: No OFD packet to send [10:01:57]OFD Sender: No OFD packet to send [10:02:02]OFD Sender: No OFD packet to send [10:02:07]OFD Sender: No OFD packet to send [10:02:12]OFD Sender: No OFD packet to send [10:02:17]OFD Sender: No OFD packet to send [10:02:22]OFD Sender: No OFD packet to send [10:02:27]OFD Sender: No OFD packet to send [10:02:32]OFD Sender: No OFD packet to send [10:02:37]OFD Sender: No OFD packet to send [10:02:42]OFD Sender: No OFD packet to send [10:02:47]OFD Sender: No OFD packet to send [10:02:52]OFD Sender: No OFD packet to send [10:02:57]OFD Sender: No OFD packet to send [10:03:02]OFD Sender: No OFD packet to send [10:03:07]OFD Sender: No OFD packet to send [10:03:12]OFD Sender: No OFD packet to send [10:03:17]OFD Sender: No OFD packet to send [10:03:22]OFD Sender: No OFD packet to send [10:03:27]OFD Sender: No OFD packet to send [10:03:32]OFD Sender: No OFD packet to send [10:03:37]OFD Sender: No OFD packet to send [10:03:42]OFD Sender: No OFD packet to send [10:03:47]OFD Sender: No OFD packet to send [10:03:52]OFD Sender: No OFD packet to send [10:03:57]OFD Sender: No OFD packet to send [10:04:02]OFD Sender: No OFD packet to send [10:04:07]OFD Sender: No OFD packet to send [10:04:12]OFD Sender: No OFD packet to send [10:04:17]OFD Sender: No OFD packet to send [10:04:22]OFD Sender: No OFD packet to send [10:04:27]OFD Sender: No OFD packet to send [10:04:32]OFD Sender: No OFD packet to send [10:04:37]OFD Sender: No OFD packet to send [10:04:42]OFD Sender: No OFD packet to send [10:04:47]OFD Sender: No OFD packet to send [10:04:52]OFD Sender: No OFD packet to send [10:04:57]OFD Sender: No OFD packet to send [10:05:02]OFD Sender: No OFD packet to send [10:05:07]OFD Sender: No OFD packet to send [10:05:12]OFD Sender: No OFD packet to send [10:05:17]OFD Sender: No OFD packet to send [10:05:22]OFD Sender: No OFD packet to send [10:05:27]OFD Sender: No OFD packet to send [10:05:32]OFD Sender: No OFD packet to send [10:05:37]OFD Sender: No OFD packet to send [10:05:42]OFD Sender: No OFD packet to send [10:05:47]OFD Sender: No OFD packet to send [10:05:52]OFD Sender: No OFD packet to send [10:05:57]OFD Sender: No OFD packet to send [10:06:02]OFD Sender: No OFD packet to send [10:06:07]OFD Sender: No OFD packet to send [10:06:12]OFD Sender: No OFD packet to send [10:06:17]OFD Sender: No OFD packet to send [10:06:22]OFD Sender: No OFD packet to send [10:06:27]OFD Sender: No OFD packet to send [10:06:28]accept exits with 7 [10:06:28]New connection [10:06:28]New thread 3067440484 created [10:06:28]Thread 3067297124 joined [10:06:28]Waiting for new connection... [10:06:28] Sock 7.Parse request [10:06:28]Sock 7.Check first char [10:06:28]Sock 7.First char is OK [10:06:28]request: POST /json_proto HTTP/1.0 [10:06:28]Method: POST [10:06:28]URL: /json_proto [10:06:28]Method is POST - this is cgi request [10:06:28]url: /json_proto [10:06:28]query_string will be loaded in cgi processing [10:06:28]execute_cgi json_proto POST (null) [10:06:28]execute_cgi path=json_proto method=POST [10:06:28]POST find Content-Length [10:06:28]Host: 172.17.40.196:8080 [10:06:28]Content-Length: 749 [10:06:28]Content-Type: application/json [10:06:28] [10:06:28]POST finish read [10:06:28]Found Content-Length = 749 [10:06:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34997", "tax_sys" : 0, "items" : [ { "code": "4700000483297", "name": "\u042D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Nitro \u0410\u043D\u0430\u043D\u0430\u0441-\u0433\u0443\u0430\u0432", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:06:28]execute_script... [10:06: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)34997", "tax_sys" : 0, "items" : [ { "code": "4700000483297", "name": "\u042D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Nitro \u0410\u043D\u0430\u043D\u0430\u0441-\u0433\u0443\u0430\u0432", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:06:28]POST & json_proto [10:06:28]process_json_proto [10:06:28]json parsed OK: [10:06:28]protocol is kg_v1.0 [10:06:28]action value=close_receipt [10:06:28]process_action close_receipt [10:06:28]cmd_close_receipt [10:06:28]MH_GetDate [10:06:28]Write to MH i2c: F0 00 00 CB 04 BE [10:06:28]Write i2c OK [10:06:28]MH_I2C_Read... [10:06:28]Read from MH i2c: F0 [10:06:28]MH_I2C_Read... [10:06:28]Read from MH i2c: F0 09 00 [10:06:28]MH_I2C_Read... [10:06:28]Read from MH i2c: F0 09 00 CB 04 00 A6 10 1E 67 5B 68 A1 66 CC [10:06:28]GetLastDocTimeStamp 1730021954 [10:06:28]current date 1730023590 [10:06:28]FM_GetShiftState [10:06:28]SAM_PROTO_GetShiftState [10:06:28]wFMCommunicate request_size=4 [10:06:28]MH_SAM_APDU [10:06:28]CAPDU: 80 13 01 00 [10:06:28]Write to MH i2c: E2 08 00 CC 04 80 13 01 00 00 00 00 00 4D [10:06:28]Write i2c OK [10:06:28]MH_I2C_Read... [10:06:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:06:28]Read from MH i2c: E2 [10:06:28]MH_I2C_Read... [10:06:28]Read from MH i2c: E2 0E 00 [10:06:28]MH_I2C_Read... [10:06:28]Read from MH i2c: E2 0E 00 CC 04 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 04 [10:06:28]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [10:06:28]wFMCommunicate OK [10:06:28]SAM_PROTO_GetShiftState done [10:06:28]FM_GetShiftState done [10:06:28]opened in 1729987492 [10:06:28]opened+sec_in_day 1730073892 [10:06:28]quantity*price = 9500 [10:06:28]sum+1 = 9501 [10:06:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 25 27.10.2024 10:06 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37699 ФПД: 239575495667100 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T100630&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37699&fm=239575495667100&tin=02508201610067®Number=0000000000091684&sum=9500 0 [10:06:29]StoreToDocumentArchive [10:06:29]shift 550 fd 37699 [10:06:29]save to /storage/0550/doc_00037699 [10:06:29]save last doc name /storage/0550/doc_00037699 to /storage/kkm_last_doc_name [10:06:29]save OK [10:06:29]Clear old archive folders... [10:06:30]ProcessDocumentItem done err = 0, tmpTLVsize=313 [10:06:30]tlvbuf is 0020F350 [10:06:30]SAM_PROTO_ClearQueue [10:06:30]wFMCommunicate request_size=4 [10:06:30]MH_SAM_APDU [10:06:30]CAPDU: 80 09 00 00 [10:06:30]Write to MH i2c: E2 08 00 D9 04 80 09 00 00 00 00 00 00 4F [10:06:30]Write i2c OK [10:06:30]MH_I2C_Read... [10:06:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:06:30]Read from MH i2c: E2 [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: E2 03 00 [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: E2 03 00 D9 04 00 90 00 51 [10:06:30]RAPDU: 90 00 [10:06:30]wFMCommunicate OK [10:06:30]SAM_PROTO_ClearQueue done [10:06:30]KKMCreateOFDPacket [10:06:30]OFDProtocolAddRootSTLVToBuf [10:06:30]FM_MakeSignedData [10:06:30]FM_MakeSignedData [10:06:30]SAM_PROTO_SignData [10:06:30]wFMCommunicate request_size=4 [10:06:30]MH_SAM_APDU [10:06:30]CAPDU: 80 0D 01 02 [10:06:30]Write to MH i2c: E2 08 00 DA 04 80 0D 01 02 00 00 00 00 57 [10:06:30]Write i2c OK [10:06:30]MH_I2C_Read... [10:06:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:06:30]Read from MH i2c: E2 [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: E2 03 00 [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: E2 03 00 DA 04 00 90 00 52 [10:06:30]RAPDU: 90 00 [10:06:30]wFMCommunicate OK [10:06:30]wFMCommunicate request_size=255 [10:06:30]MH_SAM_APDU [10:06:30]CAPDU: 80 0D 02 02 FA 03 00 39 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 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 19 00 00 00 F4 03 04 00 A6 10 1E 67 0E 04 04 00 [10:06:30]Write to MH i2c: E2 02 01 DB 04 80 0D 02 02 FA 00 03 00 39 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 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 19 00 00 00 F4 03 04 00 A6 10 1E 67 0E 04 04 00 00 00 9A [10:06:30]Write i2c OK [10:06:30]MH_I2C_Read... [10:06:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:06:30]Read from MH i2c: E2 [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: E2 03 00 [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: E2 03 00 DB 04 00 90 00 53 [10:06:30]RAPDU: 90 00 [10:06:30]wFMCommunicate OK [10:06:30]wFMCommunicate request_size=72 [10:06:30]MH_SAM_APDU [10:06:30]CAPDU: 80 0D 02 02 43 26 02 00 00 B9 04 01 00 01 0D 04 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 43 93 00 00 35 04 06 00 D9 E4 84 50 ED 9C [10:06:30]Write to MH i2c: E2 4B 00 DC 04 80 0D 02 02 43 00 26 02 00 00 B9 04 01 00 01 0D 04 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 43 93 00 00 35 04 06 00 D9 E4 84 50 ED 9C 00 00 8D [10:06:30]Write i2c OK [10:06:30]MH_I2C_Read... [10:06:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:06:30]Read from MH i2c: E2 [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: E2 03 00 [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: E2 03 00 DC 04 00 90 00 54 [10:06:30]RAPDU: 90 00 [10:06:30]wFMCommunicate OK [10:06:30]wFMCommunicate request_size=4 [10:06:30]MH_SAM_APDU [10:06:30]CAPDU: 80 0D 03 02 [10:06:30]Write to MH i2c: E2 08 00 DD 04 80 0D 03 02 00 00 00 00 5C [10:06:30]Write i2c OK [10:06:30]MH_I2C_Read... [10:06:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:06:30]Read from MH i2c: E2 [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: E2 0B 00 [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: E2 0B 00 DD 04 00 A0 80 2D 6A 94 49 54 DB 90 00 20 [10:06:30]RAPDU: A0 80 2D 6A 94 49 54 DB 90 00 [10:06:30]wFMCommunicate OK [10:06:30]SAM_PROTO_SignData done [10:06:30]FM_MakeSignedData done [10:06:30]CreateOFDProtocolMessage [10:06:30]wFMCommunicate request_size=4 [10:06:30]MH_SAM_APDU [10:06:30]CAPDU: 80 11 00 00 [10:06:30]Write to MH i2c: E2 08 00 DE 04 80 11 00 00 00 00 00 00 5C [10:06:30]Write i2c OK [10:06:30]MH_I2C_Read... [10:06:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:06:30]Read from MH i2c: E2 [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: E2 17 00 [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: E2 17 00 DE 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 AC [10:06:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:06:30]wFMCommunicate OK [10:06:30]CreateOFDProtocolMessage done [10:06:30]OFDSenderStorePacket 37699 [10:06:30]StoreOFDPacket docnum=37699 [10:06:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4D 01 00 00 EB 3C 45 01 85 9C 5A 03 01 00 03 00 39 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 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 19 00 00 00 F4 03 04 00 A6 10 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 43 93 00 00 35 04 06 00 D9 E4 84 50 ED 9C A0 80 2D 6A 94 49 54 DB [10:06:30]CheckFolder [10:06:30]dirname=/storage/ofd_packets [10:06:30]CheckFolder done [10:06:30]ProducePacketName [10:06:30]name=ofd_packets/00037699 [10:06:30]NVStorageSaveData ofd_packets/00037699 [10:06:30]File name is /storage/ofd_packets/00037699 [10:06:30]Write 363 bytes [10:06:30]NVStorageSaveData done [10:06:30]OFDSenderStorePacket done [10:06:30]KKMCreateOFDPacket done [10:06:30]NVStorageSaveData kkm_last_timestamp [10:06:30]File name is /storage/kkm_last_timestamp [10:06:30]Write 4 bytes [10:06:30]NVStorageSaveData done [10:06:30]ExternCall_PrintAddStr [10:06:30]wPrintStart [10:06:30]Write to MH i2c: 01 00 00 DF 04 E3 [10:06:30]Write i2c OK [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: 01 [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: 01 07 00 [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: 01 07 00 DF 04 00 00 00 00 00 FF 0F F8 [10:06:30]RasterBufferAndPrint [10:06:30]line Счет N : (3)34997 [10:06:30]line ИНН: 02508201610067 [10:06:30]line Контрольно-Кассовый Чек [10:06:30]line ПРОДАЖА [10:06:30]line Товар: 4700000483297 [10:06:30]line Энергетический напиток Nitro Ананас-гуав [10:06:30]line 1.000 * 95.00 [10:06:30]line = 95.00 [10:06:30]line НДС 12% НСП 1% [10:06:30]line > о реализуемом товаре [10:06:30]line ИТОГО: 95.00 [10:06:30]line НСП 1% : 0.84 [10:06:30]line НДС 12% : 10.09 [10:06:30]line Наличными: 95.00 [10:06:30]line Безнал.: 0.00 [10:06:30]line Место: АЗС № 126 "Партнер Нефть" [10:06:30]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [10:06:30]line СНО: Общий режим [10:06:30]line Чек 25 27.10.2024 10:06 [10:06:30]line Смена: 550 ФФД: 1.0 [10:06:30]line ЗНМ: 0300000092 [10:06:30]line РНМ: 0000000000091684 [10:06:30]line Версия ККМ: 001 [10:06:30]line ФМ: 0000000000871841 [10:06:30]line ФД: 37699 [10:06:30]line ФПД: 239575495667100 [10:06:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T100630&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37699&fm=239575495667100&tin=02508201610067®Number=0000000000091684&sum=9500 [10:06:30]line 0 [10:06:30]OFD Sender: Processing packet 37699 [packets to send 42, broken 41] [10:06:30]ProducePacketName [10:06:30]name=ofd_packets/00037699 [10:06:30]OFD Sender: To server: pG, [10:06:30]CommunicateWithHost lk.salyk.kg:30040 [10:06:30]ConnectInit lk.salyk.kg [10:06:30]written 0, free lines is 4095 [10:06:31]Connected sock=10 [10:06:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4D 01 00 00 EB 3C 45 01 85 9C 5A 03 01 00 03 00 39 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 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 19 00 00 00 F4 03 04 00 A6 10 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 43 93 00 00 35 04 06 00 D9 E4 84 50 ED 9C A0 80 2D 6A 94 49 54 DB [10:06:31]Write to MH i2c: 01 00 00 08 05 0D [10:06:31]Write i2c OK [10:06:31]MH_I2C_Read... [10:06:31]Read from MH i2c: 01 [10:06:31]MH_I2C_Read... [10:06:31]Read from MH i2c: 01 07 00 [10:06:31]MH_I2C_Read... [10:06:31]Read from MH i2c: 01 07 00 08 05 00 00 00 00 00 B6 0C D6 [10:06:31]RasterBufferAndPrint [10:06:31]line [10:06:31]line [10:06:31]line [10:06:31]line [10:06:31]line [10:06:31]written 0, free lines is 3258 [10:06:31]MH_Cut [10:06:31]Write to MH i2c: D1 01 00 0F 05 01 E6 [10:06:31]Write i2c OK [10:06:31]MH_I2C_Read... [10:06:31]Read from MH i2c: D1 [10:06:31]MH_I2C_Read... [10:06:31]Read from MH i2c: D1 01 00 [10:06:31]MH_I2C_Read... [10:06:31]Read from MH i2c: D1 01 00 0F 05 00 E5 [10:06:31]Write to MH i2c: 01 00 00 10 05 15 [10:06:31]Write i2c OK [10:06:31]MH_I2C_Read... [10:06: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 31 5B 47 00 4A 72 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 43 93 00 00 F4 03 04 00 9E BB 1D 67 B6 04 01 00 00 B3 30 7B 96 29 40 11 38 [10:06:31]CommunicateWithHost err = 0 [10:06:31]CheckOFDResponse [10:06:31]1017 (14) - 77093643461234 [10:06:31]1041 (16) - 0000000000871841 [10:06:31]1040 (4) - 37699 [10:06:31]1012 (4) - 27.10.2024 04:03 [10:06:31]1206 (1) - 0 [10:06:31]OFD Sender: Remove packet 37699 [10:06:31]ProducePacketName [10:06:31]name=ofd_packets/00037699 [10:06:31]NVStorageDeleteData [10:06:32]OFD Sender: No OFD packet to send [10:06:32]*** Cut start [10:06:32]*** Partial cut [10:06:32]*** CUTSNS_PIN = 1 [10:06:32]*** CUTSNS_PIN = 0 [10:06:32]*** Brake cut motor [10:06:32]Read from MH i2c: 01 *** Stop cut motor [10:06:32]*** Cut end [10:06:32] [10:06:32]MH_I2C_Read... [10:06:32]Read from MH i2c: 01 07 00 [10:06:32]MH_I2C_Read... [10:06:32]Read from MH i2c: 01 07 00 10 05 00 00 00 00 00 FF 0F 2A [10:06:32]process_action close_receipt done [10:06:32]requested_data is exist [10:06:32]produce_requested_data [10:06:32]requested_item fm.sn is exist - process it [10:06:32]wFMCommunicate request_size=4 [10:06:32]MH_SAM_APDU [10:06:32]CAPDU: 80 11 00 00 [10:06:32]Write to MH i2c: E2 08 00 11 05 80 11 00 00 00 00 00 00 90 [10:06:32]Write i2c OK [10:06:32]MH_I2C_Read... [10:06:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:06:32]Read from MH i2c: E2 [10:06:32]MH_I2C_Read... [10:06:32]Read from MH i2c: E2 17 00 [10:06:32]MH_I2C_Read... [10:06:32]Read from MH i2c: E2 17 00 11 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 E0 [10:06:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:06:32]wFMCommunicate OK [10:06:32]requested_item fd.num is exist - process it [10:06:32]SAM_PROTO_GetFieldsCounters [10:06:32]wFMCommunicate request_size=4 [10:06:32]MH_SAM_APDU [10:06:32]CAPDU: 80 13 00 00 [10:06:32]Write to MH i2c: E2 08 00 12 05 80 13 00 00 00 00 00 00 93 [10:06:32]Write i2c OK [10:06:32]MH_I2C_Read... [10:06:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:06:33]Read from MH i2c: E2 [10:06:33]MH_I2C_Read... [10:06:33]Read from MH i2c: E2 62 00 [10:06:33]MH_I2C_Read... [10:06:33]Read from MH i2c: E2 62 00 12 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 43 93 00 00 0E 04 04 00 26 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 FD [10:06: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 43 93 00 00 0E 04 04 00 26 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 [10:06:33]wFMCommunicate OK [10:06:33]SAM_PROTO_GetFieldsCounters done [10:06:33]requested_item shift.num is exist - process it [10:06:33]requested_item shift.opened is exist - process it [10:06:33]req_shift_opened [10:06:33]FM_GetShiftState [10:06:33]SAM_PROTO_GetShiftState [10:06:33]wFMCommunicate request_size=4 [10:06:33]MH_SAM_APDU [10:06:33]CAPDU: 80 13 01 00 [10:06:33]Write to MH i2c: E2 08 00 13 05 80 13 01 00 00 00 00 00 95 [10:06:33]Write i2c OK [10:06:33]MH_I2C_Read... [10:06:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:06:33]Read from MH i2c: E2 [10:06:33]MH_I2C_Read... [10:06:33]Read from MH i2c: E2 0E 00 [10:06:33]MH_I2C_Read... [10:06:33]Read from MH i2c: E2 0E 00 13 05 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 4C [10:06:33]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [10:06:33]wFMCommunicate OK [10:06:33]SAM_PROTO_GetShiftState done [10:06:33]FM_GetShiftState done [10:06:33]req_shift_opened done [10:06:33]requested_item shift.open_date is exist - process it [10:06:33]req_shift_open_date [10:06:33]req_shift_open_date done [10:06:33]produce_requested_data done [10:06:33]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37699,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [10:06:33]process_action_free close_receipt [10:06:33]json_value_free [10:06:33]json_value_free done [10:06:33]process_json_proto returns [10:06:33]Send response to host [10:06:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37699,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [10:06:33]free response buf [10:06:33]execute_script done [10:06:33]execute_script returns [10:06:33]free content buf [10:06:33]Sock 7.Close socket [10:06:33]Sock 7.Thread stoped [10:06:37]OFD Sender: No OFD packet to send [10:06:42]OFD Sender: No OFD packet to send [10:06:47]OFD Sender: No OFD packet to send [10:06:52]OFD Sender: No OFD packet to send [10:06:57]OFD Sender: No OFD packet to send [10:07:02]OFD Sender: No OFD packet to send [10:07:07]OFD Sender: No OFD packet to send [10:07:12]OFD Sender: No OFD packet to send [10:07:17]OFD Sender: No OFD packet to send [10:07:22]OFD Sender: No OFD packet to send [10:07:27]OFD Sender: No OFD packet to send [10:07:32]OFD Sender: No OFD packet to send [10:07:37]OFD Sender: No OFD packet to send [10:07:42]OFD Sender: No OFD packet to send [10:07:47]OFD Sender: No OFD packet to send [10:07:52]OFD Sender: No OFD packet to send [10:07:57]OFD Sender: No OFD packet to send [10:08:02]OFD Sender: No OFD packet to send [10:08:07]OFD Sender: No OFD packet to send [10:08:12]OFD Sender: No OFD packet to send [10:08:17]OFD Sender: No OFD packet to send [10:08:22]OFD Sender: No OFD packet to send [10:08:27]OFD Sender: No OFD packet to send [10:08:32]OFD Sender: No OFD packet to send [10:08:37]OFD Sender: No OFD packet to send [10:08:42]OFD Sender: No OFD packet to send [10:08:47]OFD Sender: No OFD packet to send [10:08:52]OFD Sender: No OFD packet to send [10:08:57]OFD Sender: No OFD packet to send [10:09:02]OFD Sender: No OFD packet to send [10:09:07]OFD Sender: No OFD packet to send [10:09:12]OFD Sender: No OFD packet to send [10:09:17]OFD Sender: No OFD packet to send [10:09:22]OFD Sender: No OFD packet to send [10:09:27]OFD Sender: No OFD packet to send [10:09:32]OFD Sender: No OFD packet to send [10:09:37]OFD Sender: No OFD packet to send [10:09:42]OFD Sender: No OFD packet to send [10:09:47]OFD Sender: No OFD packet to send [10:09:52]OFD Sender: No OFD packet to send [10:09:57]OFD Sender: No OFD packet to send [10:10:02]OFD Sender: No OFD packet to send [10:10:07]OFD Sender: No OFD packet to send [10:10:12]OFD Sender: No OFD packet to send [10:10:17]OFD Sender: No OFD packet to send [10:10:22]OFD Sender: No OFD packet to send [10:10:27]OFD Sender: No OFD packet to send [10:10:32]OFD Sender: No OFD packet to send [10:10:37]OFD Sender: No OFD packet to send [10:10:42]OFD Sender: No OFD packet to send [10:10:47]OFD Sender: No OFD packet to send [10:10:52]OFD Sender: No OFD packet to send [10:10:57]OFD Sender: No OFD packet to send [10:11:02]OFD Sender: No OFD packet to send [10:11:07]OFD Sender: No OFD packet to send [10:11:12]OFD Sender: No OFD packet to send [10:11:17]OFD Sender: No OFD packet to send [10:11:22]OFD Sender: No OFD packet to send [10:11:27]OFD Sender: No OFD packet to send [10:11:32]OFD Sender: No OFD packet to send [10:11:37]OFD Sender: No OFD packet to send [10:11:42]OFD Sender: No OFD packet to send [10:11:47]OFD Sender: No OFD packet to send [10:11:52]OFD Sender: No OFD packet to send [10:11:57]OFD Sender: No OFD packet to send [10:12:02]OFD Sender: No OFD packet to send [10:12:07]OFD Sender: No OFD packet to send [10:12:12]OFD Sender: No OFD packet to send [10:12:17]OFD Sender: No OFD packet to send [10:12:22]OFD Sender: No OFD packet to send [10:12:27]OFD Sender: No OFD packet to send [10:12:32]OFD Sender: No OFD packet to send [10:12:37]OFD Sender: No OFD packet to send [10:12:42]OFD Sender: No OFD packet to send [10:12:47]OFD Sender: No OFD packet to send [10:12:52]OFD Sender: No OFD packet to send [10:12:57]OFD Sender: No OFD packet to send [10:13:02]OFD Sender: No OFD packet to send [10:13:07]OFD Sender: No OFD packet to send [10:13:12]OFD Sender: No OFD packet to send [10:13:17]OFD Sender: No OFD packet to send [10:13:22]OFD Sender: No OFD packet to send [10:13:27]OFD Sender: No OFD packet to send [10:13:32]OFD Sender: No OFD packet to send [10:13:37]OFD Sender: No OFD packet to send [10:13:42]OFD Sender: No OFD packet to send [10:13:47]OFD Sender: No OFD packet to send [10:13:52]OFD Sender: No OFD packet to send [10:13:57]OFD Sender: No OFD packet to send [10:14:02]OFD Sender: No OFD packet to send [10:14:07]OFD Sender: No OFD packet to send [10:14:12]OFD Sender: No OFD packet to send [10:14:17]OFD Sender: No OFD packet to send [10:14:22]OFD Sender: No OFD packet to send [10:14:27]OFD Sender: No OFD packet to send [10:14:32]OFD Sender: No OFD packet to send [10:14:37]OFD Sender: No OFD packet to send [10:14:42]OFD Sender: No OFD packet to send [10:14:47]OFD Sender: No OFD packet to send [10:14:52]OFD Sender: No OFD packet to send [10:14:57]OFD Sender: No OFD packet to send [10:15:02]OFD Sender: No OFD packet to send [10:15:07]OFD Sender: No OFD packet to send [10:15:12]OFD Sender: No OFD packet to send [10:15:17]OFD Sender: No OFD packet to send [10:15:22]OFD Sender: No OFD packet to send [10:15:27]OFD Sender: No OFD packet to send [10:15:32]OFD Sender: No OFD packet to send [10:15:37]OFD Sender: No OFD packet to send [10:15:42]OFD Sender: No OFD packet to send [10:15:47]OFD Sender: No OFD packet to send [10:15:52]OFD Sender: No OFD packet to send [10:15:57]OFD Sender: No OFD packet to send [10:16:02]OFD Sender: No OFD packet to send [10:16:07]OFD Sender: No OFD packet to send [10:16:12]OFD Sender: No OFD packet to send [10:16:17]OFD Sender: No OFD packet to send [10:16:22]OFD Sender: No OFD packet to send [10:16:27]OFD Sender: No OFD packet to send [10:16:32]OFD Sender: No OFD packet to send [10:16:37]OFD Sender: No OFD packet to send [10:16:42]OFD Sender: No OFD packet to send [10:16:47]OFD Sender: No OFD packet to send [10:16:52]OFD Sender: No OFD packet to send [10:16:57]OFD Sender: No OFD packet to send [10:17:02]OFD Sender: No OFD packet to send [10:17:07]OFD Sender: No OFD packet to send [10:17:12]OFD Sender: No OFD packet to send [10:17:17]OFD Sender: No OFD packet to send [10:17:22]OFD Sender: No OFD packet to send [10:17:27]OFD Sender: No OFD packet to send [10:17:32]OFD Sender: No OFD packet to send [10:17:37]OFD Sender: No OFD packet to send [10:17:42]OFD Sender: No OFD packet to send [10:17:47]OFD Sender: No OFD packet to send [10:17:52]OFD Sender: No OFD packet to send [10:17:57]OFD Sender: No OFD packet to send [10:18:02]OFD Sender: No OFD packet to send [10:18:07]OFD Sender: No OFD packet to send [10:18:12]OFD Sender: No OFD packet to send [10:18:17]OFD Sender: No OFD packet to send [10:18:22]OFD Sender: No OFD packet to send [10:18:27]OFD Sender: No OFD packet to send [10:18:32]OFD Sender: No OFD packet to send [10:18:37]OFD Sender: No OFD packet to send [10:18:42]OFD Sender: No OFD packet to send [10:18:47]OFD Sender: No OFD packet to send [10:18:52]OFD Sender: No OFD packet to send [10:18:57]OFD Sender: No OFD packet to send [10:19:02]OFD Sender: No OFD packet to send [10:19:07]OFD Sender: No OFD packet to send [10:19:12]OFD Sender: No OFD packet to send [10:19:17]OFD Sender: No OFD packet to send [10:19:22]OFD Sender: No OFD packet to send [10:19:27]OFD Sender: No OFD packet to send [10:19:32]OFD Sender: No OFD packet to send [10:19:37]OFD Sender: No OFD packet to send [10:19:42]OFD Sender: No OFD packet to send [10:19:47]OFD Sender: No OFD packet to send [10:19:52]OFD Sender: No OFD packet to send [10:19:57]OFD Sender: No OFD packet to send [10:20:02]OFD Sender: No OFD packet to send [10:20:07]OFD Sender: No OFD packet to send [10:20:12]OFD Sender: No OFD packet to send [10:20:17]OFD Sender: No OFD packet to send [10:20:22]OFD Sender: No OFD packet to send [10:20:27]OFD Sender: No OFD packet to send [10:20:32]OFD Sender: No OFD packet to send [10:20:37]OFD Sender: No OFD packet to send [10:20:42]OFD Sender: No OFD packet to send [10:20:47]OFD Sender: No OFD packet to send [10:20:52]OFD Sender: No OFD packet to send [10:20:57]OFD Sender: No OFD packet to send [10:21:02]OFD Sender: No OFD packet to send [10:21:07]OFD Sender: No OFD packet to send [10:21:12]OFD Sender: No OFD packet to send [10:21:17]OFD Sender: No OFD packet to send [10:21:22]OFD Sender: No OFD packet to send [10:21:27]OFD Sender: No OFD packet to send [10:21:32]OFD Sender: No OFD packet to send [10:21:37]OFD Sender: No OFD packet to send [10:21:42]OFD Sender: No OFD packet to send [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:22:22]OFD Sender: No OFD packet to send [10:22:27]OFD Sender: No OFD packet to send [10:22:32]OFD Sender: No OFD packet to send [10:22:37]OFD Sender: No OFD packet to send [10:22:42]OFD Sender: No OFD packet to send [10:22:47]OFD Sender: No OFD packet to send [10:22:52]OFD Sender: No OFD packet to send [10:22:57]OFD Sender: No OFD packet to send [10:23:02]OFD Sender: No OFD packet to send [10:23:07]OFD Sender: No OFD packet to send [10:23:12]accept exits with 9 [10:23:12]New connection [10:23:12]New thread 3067297124 created [10:23:12]Thread 3067440484 joined [10:23:12]Waiting for new connection... [10:23:12] Sock 9.Parse request [10:23:12]Sock 9.Check first char [10:23:12]Sock 9.First char is OK [10:23:12]request: POST /json_proto HTTP/1.0 [10:23:12]Method: POST [10:23:12]URL: /json_proto [10:23:12]Method is POST - this is cgi request [10:23:12]url: /json_proto [10:23:12]query_string will be loaded in cgi processing [10:23:12]execute_cgi json_proto POST (null) [10:23:12]execute_cgi path=json_proto method=POST [10:23:12]POST find Content-Length [10:23:12]Host: 172.17.40.196:8080 [10:23:12]Content-Length: 651 [10:23:12]Content-Type: application/json [10:23:12] [10:23:12]POST finish read [10:23:12]Found Content-Length = 651 [10:23:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34998", "tax_sys" : 0, "items" : [ { "code": "46146625", "name": "\u0420/\u0436 Orbit XXL \u0441\u043B\u0430\u0434\u043A\u0430\u044F \u043C\u044F\u0442\u0430 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" ] } } [10:23:12]execute_script... [10:23: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)34998", "tax_sys" : 0, "items" : [ { "code": "46146625", "name": "\u0420/\u0436 Orbit XXL \u0441\u043B\u0430\u0434\u043A\u0430\u044F \u043C\u044F\u0442\u0430 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" ] } } [10:23:12]POST & json_proto [10:23:12]process_json_proto [10:23:12]json parsed OK: [10:23:12]protocol is kg_v1.0 [10:23:12]action value=close_receipt [10:23:12]process_action close_receipt [10:23:12]cmd_close_receipt [10:23:12]MH_GetDate [10:23:12]Write to MH i2c: F0 00 00 14 05 08 [10:23:12]Write i2c OK [10:23:12]MH_I2C_Read... [10:23:12]Read from MH i2c: F0 [10:23:12]MH_I2C_Read... [10:23:12]Read from MH i2c: F0 09 00 [10:23:12]MH_I2C_Read... [10:23:12]Read from MH i2c: F0 09 00 14 05 00 92 14 1E 67 5B 68 A1 66 06 [10:23:12]GetLastDocTimeStamp 1730023590 [10:23:12]current date 1730024594 [10:23:12]FM_GetShiftState [10:23:12]SAM_PROTO_GetShiftState [10:23:12]wFMCommunicate request_size=4 [10:23:12]MH_SAM_APDU [10:23:12]CAPDU: 80 13 01 00 [10:23:12]Write to MH i2c: E2 08 00 15 05 80 13 01 00 00 00 00 00 97 [10:23:12]Write i2c OK [10:23:12]MH_I2C_Read... [10:23:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:23:12]Read from MH i2c: E2 [10:23:12]MH_I2C_Read... [10:23:12]Read from MH i2c: E2 0E 00 [10:23:12]MH_I2C_Read... [10:23:12]Read from MH i2c: E2 0E 00 15 05 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 4E [10:23:12]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [10:23:12]wFMCommunicate OK [10:23:12]SAM_PROTO_GetShiftState done [10:23:12]FM_GetShiftState done [10:23:12]opened in 1729987492 [10:23:12]opened+sec_in_day 1730073892 [10:23:12]quantity*price = 5100 [10:23:12]sum+1 = 5101 [10:23:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 51.00 НСП 1% : 0.45 НДС 12% : 5.42 Наличными: 51.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 26 27.10.2024 10:23 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37700 ФПД: 233728304852725 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T102314&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37700&fm=233728304852725&tin=02508201610067®Number=0000000000091684&sum=5100 0 [10:23:14]StoreToDocumentArchive [10:23:14]shift 550 fd 37700 [10:23:14]save to /storage/0550/doc_00037700 [10:23:14]save last doc name /storage/0550/doc_00037700 to /storage/kkm_last_doc_name [10:23:14]save OK [10:23:14]Clear old archive folders... [10:23:14]ProcessDocumentItem done err = 0, tmpTLVsize=283 [10:23:14]tlvbuf is 00274A10 [10:23:14]SAM_PROTO_ClearQueue [10:23:14]wFMCommunicate request_size=4 [10:23:14]MH_SAM_APDU [10:23:14]CAPDU: 80 09 00 00 [10:23:14]Write to MH i2c: E2 08 00 22 05 80 09 00 00 00 00 00 00 99 [10:23:14]Write i2c OK [10:23:14]MH_I2C_Read... [10:23:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:23:14]Read from MH i2c: E2 [10:23:14]MH_I2C_Read... [10:23:14]Read from MH i2c: E2 03 00 [10:23:14]MH_I2C_Read... [10:23:14]Read from MH i2c: E2 03 00 22 05 00 90 00 9B [10:23:14]RAPDU: 90 00 [10:23:14]wFMCommunicate OK [10:23:14]SAM_PROTO_ClearQueue done [10:23:14]KKMCreateOFDPacket [10:23:14]OFDProtocolAddRootSTLVToBuf [10:23:14]FM_MakeSignedData [10:23:14]FM_MakeSignedData [10:23:14]SAM_PROTO_SignData [10:23:14]wFMCommunicate request_size=4 [10:23:14]MH_SAM_APDU [10:23:14]CAPDU: 80 0D 01 02 [10:23:14]Write to MH i2c: E2 08 00 23 05 80 0D 01 02 00 00 00 00 A1 [10:23:14]Write i2c OK [10:23:14]MH_I2C_Read... [10:23:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:23:14]Read from MH i2c: E2 [10:23:14]MH_I2C_Read... [10:23:14]Read from MH i2c: E2 03 00 [10:23:14]MH_I2C_Read... [10:23:14]Read from MH i2c: E2 03 00 23 05 00 90 00 9C [10:23:14]RAPDU: 90 00 [10:23:14]wFMCommunicate OK [10:23:14]wFMCommunicate request_size=255 [10:23:14]MH_SAM_APDU [10:23:14]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 08 00 34 36 31 34 36 36 32 35 06 04 2E 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 D1 81 D0 BB D0 B0 D0 B4 D0 BA D0 B0 D1 8F 20 D0 BC D1 8F D1 82 D0 B0 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 1A 00 00 00 F4 03 04 00 92 14 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 [10:23:14]Write to MH i2c: E2 02 01 24 05 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 08 00 34 36 31 34 36 36 32 35 06 04 2E 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 D1 81 D0 BB D0 B0 D0 B4 D0 BA D0 B0 D1 8F 20 D0 BC D1 8F D1 82 D0 B0 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 1A 00 00 00 F4 03 04 00 92 14 1E 67 0E 04 04 00 26 02 00 00 B9 04 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 69 [10:23:14]Write i2c OK [10:23:14]MH_I2C_Read... [10:23:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:23:14]Read from MH i2c: E2 [10:23:14]MH_I2C_Read... [10:23:14]Read from MH i2c: E2 03 00 [10:23:14]MH_I2C_Read... [10:23:14]Read from MH i2c: E2 03 00 24 05 00 90 00 9D [10:23:14]RAPDU: 90 00 [10:23:14]wFMCommunicate OK [10:23:14]wFMCommunicate request_size=42 [10:23:14]MH_SAM_APDU [10:23:14]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 44 93 00 00 35 04 06 00 D4 93 1C 95 AE F5 [10:23:14]Write to MH i2c: E2 2D 00 25 05 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 44 93 00 00 35 04 06 00 D4 93 1C 95 AE F5 00 00 08 [10:23:14]Write i2c OK [10:23:14]MH_I2C_Read... [10:23:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:23:14]Read from MH i2c: E2 [10:23:14]MH_I2C_Read... [10:23:14]Read from MH i2c: E2 03 00 [10:23:14]MH_I2C_Read... [10:23:14]Read from MH i2c: E2 03 00 25 05 00 90 00 9E [10:23:14]RAPDU: 90 00 [10:23:14]wFMCommunicate OK [10:23:14]wFMCommunicate request_size=4 [10:23:14]MH_SAM_APDU [10:23:14]CAPDU: 80 0D 03 02 [10:23:14]Write to MH i2c: E2 08 00 26 05 80 0D 03 02 00 00 00 00 A6 [10:23:14]Write i2c OK [10:23:14]MH_I2C_Read... [10:23:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:23:14]Read from MH i2c: E2 [10:23:14]MH_I2C_Read... [10:23:14]Read from MH i2c: E2 0B 00 [10:23:14]MH_I2C_Read... [10:23:14]Read from MH i2c: E2 0B 00 26 05 00 F6 40 69 32 BE B5 77 97 90 00 F9 [10:23:14]RAPDU: F6 40 69 32 BE B5 77 97 90 00 [10:23:14]wFMCommunicate OK [10:23:14]SAM_PROTO_SignData done [10:23:14]FM_MakeSignedData done [10:23:14]CreateOFDProtocolMessage [10:23:14]wFMCommunicate request_size=4 [10:23:14]MH_SAM_APDU [10:23:14]CAPDU: 80 11 00 00 [10:23:14]Write to MH i2c: E2 08 00 27 05 80 11 00 00 00 00 00 00 A6 [10:23:14]Write i2c OK [10:23:14]MH_I2C_Read... [10:23:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:23:14]Read from MH i2c: E2 [10:23:14]MH_I2C_Read... [10:23:14]Read from MH i2c: E2 17 00 [10:23:14]MH_I2C_Read... [10:23:14]Read from MH i2c: E2 17 00 27 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F6 [10:23:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:23:14]wFMCommunicate OK [10:23:14]CreateOFDProtocolMessage done [10:23:14]OFDSenderStorePacket 37700 [10:23:14]StoreOFDPacket docnum=37700 [10:23: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 2F 01 00 00 CE D1 27 01 31 AD 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 08 00 34 36 31 34 36 36 32 35 06 04 2E 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 D1 81 D0 BB D0 B0 D0 B4 D0 BA D0 B0 D1 8F 20 D0 BC D1 8F D1 82 D0 B0 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 1A 00 00 00 F4 03 04 00 92 14 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 44 93 00 00 35 04 06 00 D4 93 1C 95 AE F5 F6 40 69 32 BE B5 77 97 [10:23:14]CheckFolder [10:23:14]dirname=/storage/ofd_packets [10:23:14]CheckFolder done [10:23:14]ProducePacketName [10:23:14]name=ofd_packets/00037700 [10:23:14]NVStorageSaveData ofd_packets/00037700 [10:23:14]File name is /storage/ofd_packets/00037700 [10:23:14]Write 333 bytes [10:23:14]NVStorageSaveData done [10:23:14]OFDSenderStorePacket done [10:23:14]KKMCreateOFDPacket done [10:23:14]NVStorageSaveData kkm_last_timestamp [10:23:14]File name is /storage/kkm_last_timestamp [10:23:14]Write 4 bytes [10:23:14]NVStorageSaveData done [10:23:14]ExternCall_PrintAddStr [10:23:14]wPrintStart [10:23:14]Write to MH i2c: 01 00 00 28 05 2D [10:23:14]Write i2c OK [10:23:14]MH_I2C_Read... [10:23:14]Read from MH i2c: 01 [10:23:14]MH_I2C_Read... [10:23:14]Read from MH i2c: 01 07 00 [10:23:14]MH_I2C_Read... [10:23:14]Read from MH i2c: 01 07 00 28 05 00 00 00 00 00 FF 0F 42 [10:23:14]RasterBufferAndPrint [10:23:14]line Счет N : (3)34998 [10:23:14]line ИНН: 02508201610067 [10:23:14]line Контрольно-Кассовый Чек [10:23:14]line ПРОДАЖА [10:23:14]line Товар: 46146625 [10:23:14]line Р/ж Orbit XXL сладкая мята 20,4г [10:23:14]line 1.000 * 51.00 [10:23:14]line = 51.00 [10:23:14]line НДС 12% НСП 1% [10:23:14]line > о реализуемом товаре [10:23:14]line ИТОГО: 51.00 [10:23:14]line НСП 1% : 0.45 [10:23:14]line НДС 12% : 5.42 [10:23:14]line Наличными: 51.00 [10:23:14]line Безнал.: 0.00 [10:23:14]line Место: АЗС № 126 "Партнер Нефть" [10:23:14]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [10:23:14]line СНО: Общий режим [10:23:14]line Чек 26 27.10.2024 10:23 [10:23:14]line Смена: 550 ФФД: 1.0 [10:23:14]line ЗНМ: 0300000092 [10:23:14]line РНМ: 0000000000091684 [10:23:14]line Версия ККМ: 001 [10:23:14]line ФМ: 0000000000871841 [10:23:14]line ФД: 37700 [10:23:14]line ФПД: 233728304852725 [10:23:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T102314&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37700&fm=233728304852725&tin=02508201610067®Number=0000000000091684&sum=5100 [10:23:14]OFD Sender: Processing packet 37700 [packets to send 42, broken 41] [10:23:14]ProducePacketName [10:23:14]name=ofd_packets/00037700 [10:23:14]OFD Sender: To server: pG, [10:23:14]CommunicateWithHost lk.salyk.kg:30040 [10:23:14]ConnectInit lk.salyk.kg [10:23:14]line 0 [10:23:14]written 0, free lines is 4095 [10:23:15]Connected sock=10 [10:23: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 2F 01 00 00 CE D1 27 01 31 AD 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 08 00 34 36 31 34 36 36 32 35 06 04 2E 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 D1 81 D0 BB D0 B0 D0 B4 D0 BA D0 B0 D1 8F 20 D0 BC D1 8F D1 82 D0 B0 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 1A 00 00 00 F4 03 04 00 92 14 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 44 93 00 00 35 04 06 00 D4 93 1C 95 AE F5 F6 40 69 32 BE B5 77 97 [10:23:15]Write to MH i2c: 01 00 00 51 05 56 [10:23:15]Write i2c OK [10:23:15]MH_I2C_Read... [10:23:15]Read from MH i2c: 01 [10:23:15]MH_I2C_Read... [10:23:15]Read from MH i2c: 01 07 00 [10:23:15]MH_I2C_Read... [10:23:15]Read from MH i2c: 01 07 00 51 05 00 00 00 00 00 AC 0C 15 [10:23:15]RasterBufferAndPrint [10:23:15]line [10:23:15]line [10:23:15]line [10:23:15]line [10:23:15]line [10:23:15]written 0, free lines is 3248 [10:23:15]MH_Cut [10:23:15]Write to MH i2c: D1 01 00 58 05 01 2F [10:23:15]Write i2c OK [10:23:15]MH_I2C_Read... [10:23:15]Read from MH i2c: D1 [10:23:15]MH_I2C_Read... [10:23:15]Read from MH i2c: D1 01 00 [10:23:15]MH_I2C_Read... [10:23:15]Read from MH i2c: D1 01 00 58 05 00 2E [10:23:15]Write to MH i2c: 01 00 00 59 05 5E [10:23:15]Write i2c OK [10:23:15]MH_I2C_Read... [10:23: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 E2 FC 47 00 F7 E3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 44 93 00 00 F4 03 04 00 8A BF 1D 67 B6 04 01 00 00 D7 4C FC 74 C1 A4 B9 68 [10:23:15]CommunicateWithHost err = 0 [10:23:15]CheckOFDResponse [10:23:15]1017 (14) - 77093643461234 [10:23:15]1041 (16) - 0000000000871841 [10:23:15]1040 (4) - 37700 [10:23:15]1012 (4) - 27.10.2024 04:20 [10:23:15]1206 (1) - 0 [10:23:15]OFD Sender: Remove packet 37700 [10:23:15]ProducePacketName [10:23:15]name=ofd_packets/00037700 [10:23:15]NVStorageDeleteData [10:23:15]OFD Sender: No OFD packet to send [10:23:16]*** Cut start [10:23:16]*** Partial cut [10:23:16]*** CUTSNS_PIN = 1 [10:23:16]*** CUTSNS_PIN = 0 [10:23:16]*** Brake cut motor [10:23:16]Read from MH i2c: 01 [10:23:16]MH_I2C_Read... [10:23:16]*** Stop cut motor [10:23:16]*** Cut end [10:23:16]Read from MH i2c: 01 07 00 [10:23:16]MH_I2C_Read... [10:23:16]Read from MH i2c: 01 07 00 59 05 00 00 00 00 00 FF 0F 73 [10:23:16]process_action close_receipt done [10:23:16]requested_data is exist [10:23:16]produce_requested_data [10:23:16]requested_item fm.sn is exist - process it [10:23:16]wFMCommunicate request_size=4 [10:23:16]MH_SAM_APDU [10:23:16]CAPDU: 80 11 00 00 [10:23:16]Write to MH i2c: E2 08 00 5A 05 80 11 00 00 00 00 00 00 D9 [10:23:16]Write i2c OK [10:23:16]MH_I2C_Read... [10:23:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:23:16]Read from MH i2c: E2 [10:23:16]MH_I2C_Read... [10:23:16]Read from MH i2c: E2 17 00 [10:23:16]MH_I2C_Read... [10:23:16]Read from MH i2c: E2 17 00 5A 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 29 [10:23:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:23:16]wFMCommunicate OK [10:23:16]requested_item fd.num is exist - process it [10:23:16]SAM_PROTO_GetFieldsCounters [10:23:16]wFMCommunicate request_size=4 [10:23:16]MH_SAM_APDU [10:23:16]CAPDU: 80 13 00 00 [10:23:16]Write to MH i2c: E2 08 00 5B 05 80 13 00 00 00 00 00 00 DC [10:23:16]Write i2c OK [10:23:16]MH_I2C_Read... [10:23:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:23:17]Read from MH i2c: E2 [10:23:17]MH_I2C_Read... [10:23:17]Read from MH i2c: E2 62 00 [10:23:17]MH_I2C_Read... [10:23:17]Read from MH i2c: E2 62 00 5B 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 44 93 00 00 0E 04 04 00 26 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 4A [10:23: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 44 93 00 00 0E 04 04 00 26 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 [10:23:17]wFMCommunicate OK [10:23:17]SAM_PROTO_GetFieldsCounters done [10:23:17]requested_item shift.num is exist - process it [10:23:17]requested_item shift.opened is exist - process it [10:23:17]req_shift_opened [10:23:17]FM_GetShiftState [10:23:17]SAM_PROTO_GetShiftState [10:23:17]wFMCommunicate request_size=4 [10:23:17]MH_SAM_APDU [10:23:17]CAPDU: 80 13 01 00 [10:23:17]Write to MH i2c: E2 08 00 5C 05 80 13 01 00 00 00 00 00 DE [10:23:17]Write i2c OK [10:23:17]MH_I2C_Read... [10:23:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:23:17]Read from MH i2c: E2 [10:23:17]MH_I2C_Read... [10:23:17]Read from MH i2c: E2 0E 00 [10:23:17]MH_I2C_Read... [10:23:17]Read from MH i2c: E2 0E 00 5C 05 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 95 [10:23:17]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [10:23:17]wFMCommunicate OK [10:23:17]SAM_PROTO_GetShiftState done [10:23:17]FM_GetShiftState done [10:23:17]req_shift_opened done [10:23:17]requested_item shift.open_date is exist - process it [10:23:17]req_shift_open_date [10:23:17]req_shift_open_date done [10:23:17]produce_requested_data done [10:23:17]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37700,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [10:23:17]process_action_free close_receipt [10:23:17]json_value_free [10:23:17]json_value_free done [10:23:17]process_json_proto returns [10:23:17]Send response to host [10:23:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37700,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [10:23:17]free response buf [10:23:17]execute_script done [10:23:17]execute_script returns [10:23:17]free content buf [10:23:17]Sock 9.Close socket [10:23:17]Sock 9.Thread stoped [10:23:20]OFD Sender: No OFD packet to send [10:23:25]OFD Sender: No OFD packet to send [10:23:30]OFD Sender: No OFD packet to send [10:23:35]OFD Sender: No OFD packet to send [10:23:40]OFD Sender: No OFD packet to send [10:23:46]OFD Sender: No OFD packet to send [10:23:51]OFD Sender: No OFD packet to send [10:23:56]OFD Sender: No OFD packet to send [10:24:01]OFD Sender: No OFD packet to send [10:24:06]OFD Sender: No OFD packet to send [10:24:11]OFD Sender: No OFD packet to send [10:24:16]OFD Sender: No OFD packet to send [10:24:21]OFD Sender: No OFD packet to send [10:24:26]OFD Sender: No OFD packet to send [10:24:31]OFD Sender: No OFD packet to send [10:24:36]OFD Sender: No OFD packet to send [10:24:41]OFD Sender: No OFD packet to send [10:24:46]OFD Sender: No OFD packet to send [10:24:51]OFD Sender: No OFD packet to send [10:24:56]OFD Sender: No OFD packet to send [10:25:01]OFD Sender: No OFD packet to send [10:25:06]OFD Sender: No OFD packet to send [10:25:11]OFD Sender: No OFD packet to send [10:25:16]OFD Sender: No OFD packet to send [10:25:21]OFD Sender: No OFD packet to send [10:25:26]OFD Sender: No OFD packet to send [10:25:31]OFD Sender: No OFD packet to send [10:25:36]OFD Sender: No OFD packet to send [10:25:41]OFD Sender: No OFD packet to send [10:25:46]OFD Sender: No OFD packet to send [10:25:51]OFD Sender: No OFD packet to send [10:25:56]OFD Sender: No OFD packet to send [10:26:01]OFD Sender: No OFD packet to send [10:26:06]OFD Sender: No OFD packet to send [10:26:11]OFD Sender: No OFD packet to send [10:26:16]OFD Sender: No OFD packet to send [10:26:21]OFD Sender: No OFD packet to send [10:26:21]accept exits with 7 [10:26:21]New connection [10:26:21]New thread 3067440484 created [10:26:21]Thread 3067297124 joined [10:26:21]Waiting for new connection... [10:26:21] Sock 7.Parse request [10:26:21]Sock 7.Check first char [10:26:21]Sock 7.First char is OK [10:26:21]request: POST /json_proto HTTP/1.0 [10:26:21]Method: POST [10:26:21]URL: /json_proto [10:26:21]Method is POST - this is cgi request [10:26:21]url: /json_proto [10:26:21]query_string will be loaded in cgi processing [10:26:21]execute_cgi json_proto POST (null) [10:26:21]execute_cgi path=json_proto method=POST [10:26:21]POST find Content-Length [10:26:21]Host: 172.17.40.196:8080 [10:26:21]Content-Length: 623 [10:26:21]Content-Type: application/json [10:26:21] [10:26:21]POST finish read [10:26:21]Found Content-Length = 623 [10:26:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34999", "tax_sys" : 0, "items" : [ { "code": "48746656", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Super Slims", "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" ] } } [10:26:21]execute_script... [10:26:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34999", "tax_sys" : 0, "items" : [ { "code": "48746656", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Super Slims", "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" ] } } [10:26:21]POST & json_proto [10:26:21]process_json_proto [10:26:21]json parsed OK: [10:26:21]protocol is kg_v1.0 [10:26:21]action value=close_receipt [10:26:21]process_action close_receipt [10:26:21]cmd_close_receipt [10:26:21]MH_GetDate [10:26:21]Write to MH i2c: F0 00 00 5D 05 51 [10:26:21]Write i2c OK [10:26:21]MH_I2C_Read... [10:26:21]Read from MH i2c: F0 [10:26:21]MH_I2C_Read... [10:26:21]Read from MH i2c: F0 09 00 [10:26:21]MH_I2C_Read... [10:26:21]Read from MH i2c: F0 09 00 5D 05 00 4F 15 1E 67 5B 68 A1 66 0D [10:26:21]GetLastDocTimeStamp 1730024594 [10:26:21]current date 1730024783 [10:26:21]FM_GetShiftState [10:26:21]SAM_PROTO_GetShiftState [10:26:21]wFMCommunicate request_size=4 [10:26:21]MH_SAM_APDU [10:26:21]CAPDU: 80 13 01 00 [10:26:21]Write to MH i2c: E2 08 00 5E 05 80 13 01 00 00 00 00 00 E0 [10:26:21]Write i2c OK [10:26:21]MH_I2C_Read... [10:26:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:26:21]Read from MH i2c: E2 [10:26:21]MH_I2C_Read... [10:26:21]Read from MH i2c: E2 0E 00 [10:26:21]MH_I2C_Read... [10:26:21]Read from MH i2c: E2 0E 00 5E 05 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 97 [10:26:21]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [10:26:21]wFMCommunicate OK [10:26:21]SAM_PROTO_GetShiftState done [10:26:21]FM_GetShiftState done [10:26:21]opened in 1729987492 [10:26:21]opened+sec_in_day 1730073892 [10:26:21]quantity*price = 14700 [10:26:21]sum+1 = 14701 [10:26:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 147.00 НСП 1% : 1.30 НДС 12% : 15.61 Наличными: 147.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 27 27.10.2024 10:26 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37701 ФПД: 196719901984413 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T102623&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37701&fm=196719901984413&tin=02508201610067®Number=0000000000091684&sum=14700 0 [10:26:23]StoreToDocumentArchive [10:26:23]shift 550 fd 37701 [10:26:23]save to /storage/0550/doc_00037701 [10:26:23]save last doc name /storage/0550/doc_00037701 to /storage/kkm_last_doc_name [10:26:23]save OK [10:26:23]Clear old archive folders... [10:26:23]ProcessDocumentItem done err = 0, tmpTLVsize=276 [10:26:23]tlvbuf is B6E1F610 [10:26:23]SAM_PROTO_ClearQueue [10:26:23]wFMCommunicate request_size=4 [10:26:23]MH_SAM_APDU [10:26:23]CAPDU: 80 09 00 00 [10:26:23]Write to MH i2c: E2 08 00 6B 05 80 09 00 00 00 00 00 00 E2 [10:26:23]Write i2c OK [10:26:23]MH_I2C_Read... [10:26:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:26:23]Read from MH i2c: E2 [10:26:23]MH_I2C_Read... [10:26:23]Read from MH i2c: E2 03 00 [10:26:23]MH_I2C_Read... [10:26:23]Read from MH i2c: E2 03 00 6B 05 00 90 00 E4 [10:26:23]RAPDU: 90 00 [10:26:23]wFMCommunicate OK [10:26:23]SAM_PROTO_ClearQueue done [10:26:23]KKMCreateOFDPacket [10:26:23]OFDProtocolAddRootSTLVToBuf [10:26:23]FM_MakeSignedData [10:26:23]FM_MakeSignedData [10:26:23]SAM_PROTO_SignData [10:26:23]wFMCommunicate request_size=4 [10:26:23]MH_SAM_APDU [10:26:23]CAPDU: 80 0D 01 02 [10:26:23]Write to MH i2c: E2 08 00 6C 05 80 0D 01 02 00 00 00 00 EA [10:26:23]Write i2c OK [10:26:23]MH_I2C_Read... [10:26:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:26:23]Read from MH i2c: E2 [10:26:23]MH_I2C_Read... [10:26:23]Read from MH i2c: E2 03 00 [10:26:23]MH_I2C_Read... [10:26:23]Read from MH i2c: E2 03 00 6C 05 00 90 00 E5 [10:26:23]RAPDU: 90 00 [10:26:23]wFMCommunicate OK [10:26:23]wFMCommunicate request_size=255 [10:26:23]MH_SAM_APDU [10:26:23]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 36 36 35 36 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 75 70 65 72 20 53 6C 69 6D 73 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 1B 00 00 00 F4 03 04 00 4F 15 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [10:26:23]Write to MH i2c: E2 02 01 6D 05 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 36 36 35 36 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 75 70 65 72 20 53 6C 69 6D 73 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 1B 00 00 00 F4 03 04 00 4F 15 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 1D [10:26:23]Write i2c OK [10:26:23]MH_I2C_Read... [10:26:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:26:23]Read from MH i2c: E2 [10:26:23]MH_I2C_Read... [10:26:23]Read from MH i2c: E2 03 00 [10:26:23]MH_I2C_Read... [10:26:23]Read from MH i2c: E2 03 00 6D 05 00 90 00 E6 [10:26:23]RAPDU: 90 00 [10:26:23]wFMCommunicate OK [10:26:23]wFMCommunicate request_size=35 [10:26:23]MH_SAM_APDU [10:26:23]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 45 93 00 00 35 04 06 00 B2 EA 6B E0 C6 9D [10:26:23]Write to MH i2c: E2 26 00 6E 05 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 45 93 00 00 35 04 06 00 B2 EA 6B E0 C6 9D 00 00 FF [10:26:23]Write i2c OK [10:26:23]MH_I2C_Read... [10:26:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:26:23]Read from MH i2c: E2 [10:26:23]MH_I2C_Read... [10:26:23]Read from MH i2c: E2 03 00 [10:26:23]MH_I2C_Read... [10:26:23]Read from MH i2c: E2 03 00 6E 05 00 90 00 E7 [10:26:23]RAPDU: 90 00 [10:26:23]wFMCommunicate OK [10:26:23]wFMCommunicate request_size=4 [10:26:23]MH_SAM_APDU [10:26:23]CAPDU: 80 0D 03 02 [10:26:23]Write to MH i2c: E2 08 00 6F 05 80 0D 03 02 00 00 00 00 EF [10:26:23]Write i2c OK [10:26:23]MH_I2C_Read... [10:26:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:26:23]Read from MH i2c: E2 [10:26:23]MH_I2C_Read... [10:26:23]Read from MH i2c: E2 0B 00 [10:26:23]MH_I2C_Read... [10:26:23]Read from MH i2c: E2 0B 00 6F 05 00 92 91 68 D7 67 6D CF BD 90 00 B2 [10:26:23]RAPDU: 92 91 68 D7 67 6D CF BD 90 00 [10:26:23]wFMCommunicate OK [10:26:23]SAM_PROTO_SignData done [10:26:23]FM_MakeSignedData done [10:26:23]CreateOFDProtocolMessage [10:26:23]wFMCommunicate request_size=4 [10:26:23]MH_SAM_APDU [10:26:23]CAPDU: 80 11 00 00 [10:26:23]Write to MH i2c: E2 08 00 70 05 80 11 00 00 00 00 00 00 EF [10:26:23]Write i2c OK [10:26:23]MH_I2C_Read... [10:26:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:26:23]Read from MH i2c: E2 [10:26:23]MH_I2C_Read... [10:26:23]Read from MH i2c: E2 17 00 [10:26:23]MH_I2C_Read... [10:26:23]Read from MH i2c: E2 17 00 70 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 3F [10:26:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:26:23]wFMCommunicate OK [10:26:23]CreateOFDProtocolMessage done [10:26:23]OFDSenderStorePacket 37701 [10:26:23]StoreOFDPacket docnum=37701 [10:26:23]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 21 1E 20 01 03 1B 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 36 36 35 36 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 75 70 65 72 20 53 6C 69 6D 73 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 1B 00 00 00 F4 03 04 00 4F 15 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 45 93 00 00 35 04 06 00 B2 EA 6B E0 C6 9D 92 91 68 D7 67 6D CF BD [10:26:23]CheckFolder [10:26:23]dirname=/storage/ofd_packets [10:26:23]CheckFolder done [10:26:23]ProducePacketName [10:26:23]name=ofd_packets/00037701 [10:26:23]NVStorageSaveData ofd_packets/00037701 [10:26:23]File name is /storage/ofd_packets/00037701 [10:26:23]Write 326 bytes [10:26:23]NVStorageSaveData done [10:26:23]OFDSenderStorePacket done [10:26:23]KKMCreateOFDPacket done [10:26:23]NVStorageSaveData kkm_last_timestamp [10:26:23]File name is /storage/kkm_last_timestamp [10:26:23]Write 4 bytes [10:26:23]NVStorageSaveData done [10:26:23]ExternCall_PrintAddStr [10:26:23]wPrintStart [10:26:23]Write to MH i2c: 01 00 00 71 05 76 [10:26:23]Write i2c OK [10:26:23]MH_I2C_Read... [10:26:23]Read from MH i2c: 01 [10:26:23]MH_I2C_Read... [10:26:23]Read from MH i2c: 01 07 00 [10:26:23]MH_I2C_Read... [10:26:23]Read from MH i2c: 01 07 00 71 05 00 00 00 00 00 FF 0F 8B [10:26:23]RasterBufferAndPrint [10:26:23]line Счет N : (3)34999 [10:26:23]line ИНН: 02508201610067 [10:26:23]line Контрольно-Кассовый Чек [10:26:23]line ПРОДАЖА [10:26:23]line Товар: 48746656 [10:26:23]line Сигареты Parliament Super Slims [10:26:23]line 1.000 * 147.00 [10:26:23]line = 147.00 [10:26:23]line НДС 12% НСП 1% [10:26:23]line > о реализуемом товаре [10:26:23]line ИТОГО: 147.00 [10:26:23]line НСП 1% : 1.30 [10:26:23]line НДС 12% : 15.61 [10:26:23]line Наличными: 147.00 [10:26:23]line Безнал.: 0.00 [10:26:23]line Место: АЗС № 126 "Партнер Нефть" [10:26:23]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [10:26:23]line СНО: Общий режим [10:26:23]line Чек 27 27.10.2024 10:26 [10:26:23]line Смена: 550 ФФД: 1.0 [10:26:23]line ЗНМ: 0300000092 [10:26:23]line РНМ: 0000000000091684 [10:26:23]line Версия ККМ: 001 [10:26:23]line ФМ: 0000000000871841 [10:26:23]line ФД: 37701 [10:26:23]line ФПД: 196719901984413 [10:26:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T102623&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37701&fm=196719901984413&tin=02508201610067®Number=0000000000091684&sum=14700 [10:26:23]line 0 [10:26:23]OFD Sender: Processing packet 37701 [packets to send 42, broken 41] [10:26:23]ProducePacketName [10:26:23]name=ofd_packets/00037701 [10:26:23]OFD Sender: To server: pG, [10:26:23]CommunicateWithHost lk.salyk.kg:30040 [10:26:23]ConnectInit lk.salyk.kg [10:26:23]written 0, free lines is 4095 [10:26:24]Connected sock=10 [10:26:24]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 21 1E 20 01 03 1B 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 36 36 35 36 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 75 70 65 72 20 53 6C 69 6D 73 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 1B 00 00 00 F4 03 04 00 4F 15 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 45 93 00 00 35 04 06 00 B2 EA 6B E0 C6 9D 92 91 68 D7 67 6D CF BD [10:26:24]Write to MH i2c: 01 00 00 9A 05 9F [10:26:24]Write i2c OK [10:26:24]MH_I2C_Read... [10:26:24]Read from MH i2c: 01 [10:26:24]MH_I2C_Read... [10:26:24]Read from MH i2c: 01 07 00 [10:26:24]MH_I2C_Read... [10:26:24]Read from MH i2c: 01 07 00 9A 05 00 00 00 00 00 B3 0C 65 [10:26:24]RasterBufferAndPrint [10:26:24]line [10:26:24]line [10:26:24]line [10:26:24]line [10:26:24]line [10:26:24]written 0, free lines is 3254 [10:26:24]MH_Cut [10:26:24]Write to MH i2c: D1 01 00 A1 05 01 78 [10:26:24]Write i2c OK [10:26:24]MH_I2C_Read... [10:26:24]Read from MH i2c: D1 [10:26:24]MH_I2C_Read... [10:26:24]Read from MH i2c: D1 01 00 [10:26:24]MH_I2C_Read... [10:26:24]Read from MH i2c: D1 01 00 A1 05 00 77 [10:26:24]Write to MH i2c: 01 00 00 A2 05 A7 [10:26:24]Write i2c OK [10:26:24]MH_I2C_Read... [10:26:24]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 84 E7 47 00 C0 B3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 45 93 00 00 F4 03 04 00 47 C0 1D 67 B6 04 01 00 00 96 0D 56 C0 F7 66 44 BA [10:26:24]CommunicateWithHost err = 0 [10:26:24]CheckOFDResponse [10:26:24]1017 (14) - 77093643461234 [10:26:24]1041 (16) - 0000000000871841 [10:26:24]1040 (4) - 37701 [10:26:24]1012 (4) - 27.10.2024 04:23 [10:26:24]1206 (1) - 0 [10:26:24]OFD Sender: Remove packet 37701 [10:26:24]ProducePacketName [10:26:24]name=ofd_packets/00037701 [10:26:24]NVStorageDeleteData [10:26:24]OFD Sender: No OFD packet to send [10:26:25]*** Cut start [10:26:25]*** Partial cut [10:26:25]*** CUTSNS_PIN = 1 [10:26:25]*** CUTSNS_PIN = 0 [10:26:25]*** Brake cut motor [10:26:25]Read from MH i2c: 01 [10:26:25]MH_I2C_Read... [10:26:25]*** Stop cut motor [10:26:25]*** Cut end [10:26:25]Read from MH i2c: 01 07 00 [10:26:25]MH_I2C_Read... [10:26:25]Read from MH i2c: 01 07 00 A2 05 00 00 00 00 00 FF 0F BC [10:26:25]process_action close_receipt done [10:26:25]requested_data is exist [10:26:25]produce_requested_data [10:26:25]requested_item fm.sn is exist - process it [10:26:25]wFMCommunicate request_size=4 [10:26:25]MH_SAM_APDU [10:26:25]CAPDU: 80 11 00 00 [10:26:25]Write to MH i2c: E2 08 00 A3 05 80 11 00 00 00 00 00 00 22 [10:26:25]Write i2c OK [10:26:25]MH_I2C_Read... [10:26:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:26:25]Read from MH i2c: E2 [10:26:25]MH_I2C_Read... [10:26:25]Read from MH i2c: E2 17 00 [10:26:25]MH_I2C_Read... [10:26:25]Read from MH i2c: E2 17 00 A3 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 72 [10:26:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:26:25]wFMCommunicate OK [10:26:25]requested_item fd.num is exist - process it [10:26:25]SAM_PROTO_GetFieldsCounters [10:26:25]wFMCommunicate request_size=4 [10:26:25]MH_SAM_APDU [10:26:25]CAPDU: 80 13 00 00 [10:26:25]Write to MH i2c: E2 08 00 A4 05 80 13 00 00 00 00 00 00 25 [10:26:25]Write i2c OK [10:26:25]MH_I2C_Read... [10:26:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:26:26]Read from MH i2c: E2 [10:26:26]MH_I2C_Read... [10:26:26]Read from MH i2c: E2 62 00 [10:26:26]MH_I2C_Read... [10:26:26]Read from MH i2c: E2 62 00 A4 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 45 93 00 00 0E 04 04 00 26 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 97 [10:26:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 45 93 00 00 0E 04 04 00 26 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 [10:26:26]wFMCommunicate OK [10:26:26]SAM_PROTO_GetFieldsCounters done [10:26:26]requested_item shift.num is exist - process it [10:26:26]requested_item shift.opened is exist - process it [10:26:26]req_shift_opened [10:26:26]FM_GetShiftState [10:26:26]SAM_PROTO_GetShiftState [10:26:26]wFMCommunicate request_size=4 [10:26:26]MH_SAM_APDU [10:26:26]CAPDU: 80 13 01 00 [10:26:26]Write to MH i2c: E2 08 00 A5 05 80 13 01 00 00 00 00 00 27 [10:26:26]Write i2c OK [10:26:26]MH_I2C_Read... [10:26:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:26:26]Read from MH i2c: E2 [10:26:26]MH_I2C_Read... [10:26:26]Read from MH i2c: E2 0E 00 [10:26:26]MH_I2C_Read... [10:26:26]Read from MH i2c: E2 0E 00 A5 05 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 DE [10:26:26]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [10:26:26]wFMCommunicate OK [10:26:26]SAM_PROTO_GetShiftState done [10:26:26]FM_GetShiftState done [10:26:26]req_shift_opened done [10:26:26]requested_item shift.open_date is exist - process it [10:26:26]req_shift_open_date [10:26:26]req_shift_open_date done [10:26:26]produce_requested_data done [10:26:26]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37701,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [10:26:26]process_action_free close_receipt [10:26:26]json_value_free [10:26:26]json_value_free done [10:26:26]process_json_proto returns [10:26:26]Send response to host [10:26:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37701,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [10:26:26]free response buf [10:26:26]execute_script done [10:26:26]execute_script returns [10:26:26]free content buf [10:26:26]Sock 7.Close socket [10:26:26]Sock 7.Thread stoped [10:26:29]OFD Sender: No OFD packet to send [10:26:34]OFD Sender: No OFD packet to send [10:26:40]OFD Sender: No OFD packet to send [10:26:45]OFD Sender: No OFD packet to send [10:26:50]OFD Sender: No OFD packet to send [10:26:55]OFD Sender: No OFD packet to send [10:27:00]OFD Sender: No OFD packet to send [10:27:05]OFD Sender: No OFD packet to send [10:27:10]OFD Sender: No OFD packet to send [10:27:15]OFD Sender: No OFD packet to send [10:27:20]OFD Sender: No OFD packet to send [10:27:25]OFD Sender: No OFD packet to send [10:27:30]OFD Sender: No OFD packet to send [10:27:35]OFD Sender: No OFD packet to send [10:27:40]OFD Sender: No OFD packet to send [10:27:45]OFD Sender: No OFD packet to send [10:27:50]OFD Sender: No OFD packet to send [10:27:55]OFD Sender: No OFD packet to send [10:28:00]OFD Sender: No OFD packet to send [10:28:05]OFD Sender: No OFD packet to send [10:28:10]OFD Sender: No OFD packet to send [10:28:15]OFD Sender: No OFD packet to send [10:28:20]OFD Sender: No OFD packet to send [10:28:25]OFD Sender: No OFD packet to send [10:28:30]OFD Sender: No OFD packet to send [10:28:35]OFD Sender: No OFD packet to send [10:28:40]OFD Sender: No OFD packet to send [10:28:45]OFD Sender: No OFD packet to send [10:28:50]OFD Sender: No OFD packet to send [10:28:55]OFD Sender: No OFD packet to send [10:29:00]OFD Sender: No OFD packet to send [10:29:05]OFD Sender: No OFD packet to send [10:29:10]OFD Sender: No OFD packet to send [10:29:15]OFD Sender: No OFD packet to send [10:29:20]OFD Sender: No OFD packet to send [10:29:25]OFD Sender: No OFD packet to send [10:29:30]OFD Sender: No OFD packet to send [10:29:35]OFD Sender: No OFD packet to send [10:29:40]OFD Sender: No OFD packet to send [10:29:45]OFD Sender: No OFD packet to send [10:29:50]OFD Sender: No OFD packet to send [10:29:55]OFD Sender: No OFD packet to send [10:30:00]OFD Sender: No OFD packet to send [10:30:05]OFD Sender: No OFD packet to send [10:30:10]OFD Sender: No OFD packet to send [10:30:15]OFD Sender: No OFD packet to send [10:30:20]OFD Sender: No OFD packet to send [10:30:25]OFD Sender: No OFD packet to send [10:30:30]OFD Sender: No OFD packet to send [10:30:35]OFD Sender: No OFD packet to send [10:30:40]OFD Sender: No OFD packet to send [10:30:45]OFD Sender: No OFD packet to send [10:30:50]OFD Sender: No OFD packet to send [10:30:55]OFD Sender: No OFD packet to send [10:31:00]OFD Sender: No OFD packet to send [10:31:05]OFD Sender: No OFD packet to send [10:31:10]OFD Sender: No OFD packet to send [10:31:15]OFD Sender: No OFD packet to send [10:31:20]OFD Sender: No OFD packet to send [10:31:25]OFD Sender: No OFD packet to send [10:31:30]OFD Sender: No OFD packet to send [10:31:35]OFD Sender: No OFD packet to send [10:31:40]OFD Sender: No OFD packet to send [10:31:45]OFD Sender: No OFD packet to send [10:31:50]OFD Sender: No OFD packet to send [10:31:55]OFD Sender: No OFD packet to send [10:32:00]OFD Sender: No OFD packet to send [10:32:05]OFD Sender: No OFD packet to send [10:32:10]OFD Sender: No OFD packet to send [10:32:15]OFD Sender: No OFD packet to send [10:32:20]OFD Sender: No OFD packet to send [10:32:25]OFD Sender: No OFD packet to send [10:32:30]OFD Sender: No OFD packet to send [10:32:35]OFD Sender: No OFD packet to send [10:32:40]OFD Sender: No OFD packet to send [10:32:45]OFD Sender: No OFD packet to send [10:32:50]OFD Sender: No OFD packet to send [10:32:55]OFD Sender: No OFD packet to send [10:33:00]OFD Sender: No OFD packet to send [10:33:05]OFD Sender: No OFD packet to send [10:33:10]OFD Sender: No OFD packet to send [10:33:15]OFD Sender: No OFD packet to send [10:33:20]OFD Sender: No OFD packet to send [10:33:25]OFD Sender: No OFD packet to send [10:33:30]OFD Sender: No OFD packet to send [10:33:35]OFD Sender: No OFD packet to send [10:33:40]OFD Sender: No OFD packet to send [10:33:45]OFD Sender: No OFD packet to send [10:33:50]OFD Sender: No OFD packet to send [10:33:55]OFD Sender: No OFD packet to send [10:34:00]OFD Sender: No OFD packet to send [10:34:05]OFD Sender: No OFD packet to send [10:34:10]OFD Sender: No OFD packet to send [10:34:15]OFD Sender: No OFD packet to send [10:34:20]OFD Sender: No OFD packet to send [10:34:25]OFD Sender: No OFD packet to send [10:34:30]OFD Sender: No OFD packet to send [10:34:35]OFD Sender: No OFD packet to send [10:34:40]OFD Sender: No OFD packet to send [10:34:45]OFD Sender: No OFD packet to send [10:34:50]OFD Sender: No OFD packet to send [10:34:55]OFD Sender: No OFD packet to send [10:35:00]OFD Sender: No OFD packet to send [10:35:05]OFD Sender: No OFD packet to send [10:35:10]OFD Sender: No OFD packet to send [10:35:15]OFD Sender: No OFD packet to send [10:35:20]OFD Sender: No OFD packet to send [10:35:25]OFD Sender: No OFD packet to send [10:35:30]OFD Sender: No OFD packet to send [10:35:35]OFD Sender: No OFD packet to send [10:35:40]OFD Sender: No OFD packet to send [10:35:43]accept exits with 9 [10:35:43]New connection [10:35:43]New thread 3067297124 created [10:35:43]Thread 3067440484 joined [10:35:43]Waiting for new connection... [10:35:43] Sock 9.Parse request [10:35:43]Sock 9.Check first char [10:35:43]Sock 9.First char is OK [10:35:43]request: POST /json_proto HTTP/1.0 [10:35:43]Method: POST [10:35:43]URL: /json_proto [10:35:43]Method is POST - this is cgi request [10:35:43]url: /json_proto [10:35:43]query_string will be loaded in cgi processing [10:35:43]execute_cgi json_proto POST (null) [10:35:43]execute_cgi path=json_proto method=POST [10:35:43]POST find Content-Length [10:35:43]Host: 172.17.40.196:8080 [10:35:43]Content-Length: 646 [10:35:43]Content-Type: application/json [10:35:43] [10:35:43]POST finish read [10:35:43]Found Content-Length = 646 [10:35:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35000", "tax_sys" : 0, "items" : [ { "code": "4700000310036", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 0,5\u043B", "price" : 49.00, "quantity" : 2.000, "sum" : 98.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 98.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:35:43]execute_script... [10:35: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)35000", "tax_sys" : 0, "items" : [ { "code": "4700000310036", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 0,5\u043B", "price" : 49.00, "quantity" : 2.000, "sum" : 98.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 98.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:35:43]POST & json_proto [10:35:43]process_json_proto [10:35:43]json parsed OK: [10:35:43]protocol is kg_v1.0 [10:35:43]action value=close_receipt [10:35:43]process_action close_receipt [10:35:43]cmd_close_receipt [10:35:43]MH_GetDate [10:35:43]Write to MH i2c: F0 00 00 A6 05 9A [10:35:43]Write i2c OK [10:35:43]MH_I2C_Read... [10:35:43]Read from MH i2c: F0 [10:35:43]MH_I2C_Read... [10:35:43]Read from MH i2c: F0 09 00 [10:35:43]MH_I2C_Read... [10:35:43]Read from MH i2c: F0 09 00 A6 05 00 81 17 1E 67 5B 68 A1 66 8A [10:35:43]GetLastDocTimeStamp 1730024783 [10:35:43]current date 1730025345 [10:35:43]FM_GetShiftState [10:35:43]SAM_PROTO_GetShiftState [10:35:43]wFMCommunicate request_size=4 [10:35:43]MH_SAM_APDU [10:35:43]CAPDU: 80 13 01 00 [10:35:43]Write to MH i2c: E2 08 00 A7 05 80 13 01 00 00 00 00 00 29 [10:35:43]Write i2c OK [10:35:43]MH_I2C_Read... [10:35:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:35:43]Read from MH i2c: E2 [10:35:43]MH_I2C_Read... [10:35:43]Read from MH i2c: E2 0E 00 [10:35:43]MH_I2C_Read... [10:35:43]Read from MH i2c: E2 0E 00 A7 05 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 E0 [10:35:43]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [10:35:43]wFMCommunicate OK [10:35:43]SAM_PROTO_GetShiftState done [10:35:43]FM_GetShiftState done [10:35:43]opened in 1729987492 [10:35:43]opened+sec_in_day 1730073892 [10:35:43]quantity*price = 9800 [10:35:43]sum+1 = 9801 [10:35:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 98.00 НСП 1% : 0.87 НДС 12% : 10.41 Наличными: 98.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 28 27.10.2024 10:35 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37702 ФПД: 172546032565600 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T103545&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37702&fm=172546032565600&tin=02508201610067®Number=0000000000091684&sum=9800 0 [10:35:44]StoreToDocumentArchive [10:35:44]shift 550 fd 37702 [10:35:44]save to /storage/0550/doc_00037702 [10:35:44]save last doc name /storage/0550/doc_00037702 to /storage/kkm_last_doc_name [10:35:44]save OK [10:35:44]Clear old archive folders... [10:35:44]ProcessDocumentItem done err = 0, tmpTLVsize=278 [10:35:44]tlvbuf is 0020DCE0 [10:35:44]SAM_PROTO_ClearQueue [10:35:44]wFMCommunicate request_size=4 [10:35:44]MH_SAM_APDU [10:35:44]CAPDU: 80 09 00 00 [10:35:44]Write to MH i2c: E2 08 00 B4 05 80 09 00 00 00 00 00 00 2B [10:35:44]Write i2c OK [10:35:44]MH_I2C_Read... [10:35:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:35:45]Read from MH i2c: E2 [10:35:45]MH_I2C_Read... [10:35:45]Read from MH i2c: E2 03 00 [10:35:45]MH_I2C_Read... [10:35:45]Read from MH i2c: E2 03 00 B4 05 00 90 00 2D [10:35:45]RAPDU: 90 00 [10:35:45]wFMCommunicate OK [10:35:45]SAM_PROTO_ClearQueue done [10:35:45]KKMCreateOFDPacket [10:35:45]OFDProtocolAddRootSTLVToBuf [10:35:45]FM_MakeSignedData [10:35:45]FM_MakeSignedData [10:35:45]SAM_PROTO_SignData [10:35:45]wFMCommunicate request_size=4 [10:35:45]MH_SAM_APDU [10:35:45]CAPDU: 80 0D 01 02 [10:35:45]Write to MH i2c: E2 08 00 B5 05 80 0D 01 02 00 00 00 00 33 [10:35:45]Write i2c OK [10:35:45]MH_I2C_Read... [10:35:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:35:45]Read from MH i2c: E2 [10:35:45]MH_I2C_Read... [10:35:45]Read from MH i2c: E2 03 00 [10:35:45]MH_I2C_Read... [10:35:45]Read from MH i2c: E2 03 00 B5 05 00 90 00 2E [10:35:45]RAPDU: 90 00 [10:35:45]wFMCommunicate OK [10:35:45]wFMCommunicate request_size=255 [10:35:45]MH_SAM_APDU [10:35:45]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 57 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 04 00 00 00 00 07 04 06 00 48 26 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 81 17 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 [10:35:45]Write to MH i2c: E2 02 01 B6 05 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 57 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 04 00 00 00 00 07 04 06 00 48 26 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 81 17 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 E3 [10:35:45]Write i2c OK [10:35:45]MH_I2C_Read... [10:35:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:35:45]Read from MH i2c: E2 [10:35:45]MH_I2C_Read... [10:35:45]Read from MH i2c: E2 03 00 [10:35:45]MH_I2C_Read... [10:35:45]Read from MH i2c: E2 03 00 B6 05 00 90 00 2F [10:35:45]RAPDU: 90 00 [10:35:45]wFMCommunicate OK [10:35:45]wFMCommunicate request_size=37 [10:35:45]MH_SAM_APDU [10:35:45]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 46 93 00 00 35 04 06 00 9C EE 00 FA 7D 60 [10:35:45]Write to MH i2c: E2 28 00 B7 05 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 46 93 00 00 35 04 06 00 9C EE 00 FA 7D 60 00 00 C4 [10:35:45]Write i2c OK [10:35:45]MH_I2C_Read... [10:35:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:35:45]Read from MH i2c: E2 [10:35:45]MH_I2C_Read... [10:35:45]Read from MH i2c: E2 03 00 [10:35:45]MH_I2C_Read... [10:35:45]Read from MH i2c: E2 03 00 B7 05 00 90 00 30 [10:35:45]RAPDU: 90 00 [10:35:45]wFMCommunicate OK [10:35:45]wFMCommunicate request_size=4 [10:35:45]MH_SAM_APDU [10:35:45]CAPDU: 80 0D 03 02 [10:35:45]Write to MH i2c: E2 08 00 B8 05 80 0D 03 02 00 00 00 00 38 [10:35:45]Write i2c OK [10:35:45]MH_I2C_Read... [10:35:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:35:45]Read from MH i2c: E2 [10:35:45]MH_I2C_Read... [10:35:45]Read from MH i2c: E2 0B 00 [10:35:45]MH_I2C_Read... [10:35:45]Read from MH i2c: E2 0B 00 B8 05 00 0B 82 DC 8A AC E2 63 B2 90 00 CF [10:35:45]RAPDU: 0B 82 DC 8A AC E2 63 B2 90 00 [10:35:45]wFMCommunicate OK [10:35:45]SAM_PROTO_SignData done [10:35:45]FM_MakeSignedData done [10:35:45]CreateOFDProtocolMessage [10:35:45]wFMCommunicate request_size=4 [10:35:45]MH_SAM_APDU [10:35:45]CAPDU: 80 11 00 00 [10:35:45]Write to MH i2c: E2 08 00 B9 05 80 11 00 00 00 00 00 00 38 [10:35:45]Write i2c OK [10:35:45]MH_I2C_Read... [10:35:45]OFD Sender: No OFD packet to send [10:35:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:35:45]Read from MH i2c: E2 [10:35:45]MH_I2C_Read... [10:35:45]Read from MH i2c: E2 17 00 [10:35:45]MH_I2C_Read... [10:35:45]Read from MH i2c: E2 17 00 B9 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 88 [10:35:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:35:45]wFMCommunicate OK [10:35:45]CreateOFDProtocolMessage done [10:35:45]OFDSenderStorePacket 37702 [10:35:45]StoreOFDPacket docnum=37702 [10:35: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 2A 01 00 00 BA 28 22 01 AC 8B 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 57 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 04 00 00 00 00 07 04 06 00 48 26 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 81 17 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 46 93 00 00 35 04 06 00 9C EE 00 FA 7D 60 0B 82 DC 8A AC E2 63 B2 [10:35:45]CheckFolder [10:35:45]dirname=/storage/ofd_packets [10:35:45]CheckFolder done [10:35:45]ProducePacketName [10:35:45]name=ofd_packets/00037702 [10:35:45]NVStorageSaveData ofd_packets/00037702 [10:35:45]File name is /storage/ofd_packets/00037702 [10:35:45]Write 328 bytes [10:35:45]NVStorageSaveData done [10:35:45]OFDSenderStorePacket done [10:35:45]KKMCreateOFDPacket done [10:35:45]NVStorageSaveData kkm_last_timestamp [10:35:45]File name is /storage/kkm_last_timestamp [10:35:45]Write 4 bytes [10:35:45]NVStorageSaveData done [10:35:45]ExternCall_PrintAddStr [10:35:45]wPrintStart [10:35:45]Write to MH i2c: 01 00 00 BA 05 BF [10:35:45]Write i2c OK [10:35:45]MH_I2C_Read... [10:35:45]Read from MH i2c: 01 [10:35:45]MH_I2C_Read... [10:35:45]Read from MH i2c: 01 07 00 [10:35:45]MH_I2C_Read... [10:35:45]Read from MH i2c: 01 07 00 BA 05 00 00 00 00 00 FF 0F D4 [10:35:45]RasterBufferAndPrint [10:35:45]line Счет N : (3)35000 [10:35:45]line ИНН: 02508201610067 [10:35:45]line Контрольно-Кассовый Чек [10:35:45]line ПРОДАЖА [10:35:45]line Товар: 4700000310036 [10:35:45]line Вода Жалалабат 27 0,5л [10:35:45]line 2.000 * 49.00 [10:35:45]line = 98.00 [10:35:45]line НДС 12% НСП 1% [10:35:45]line > о реализуемом товаре [10:35:45]line ИТОГО: 98.00 [10:35:45]line НСП 1% : 0.87 [10:35:45]line НДС 12% : 10.41 [10:35:45]line Наличными: 98.00 [10:35:45]line Безнал.: 0.00 [10:35:45]line Место: АЗС № 126 "Партнер Нефть" [10:35:45]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [10:35:45]line СНО: Общий режим [10:35:45]line Чек 28 27.10.2024 10:35 [10:35:45]line Смена: 550 ФФД: 1.0 [10:35:45]line ЗНМ: 0300000092 [10:35:45]line РНМ: 0000000000091684 [10:35:45]line Версия ККМ: 001 [10:35:45]line ФМ: 0000000000871841 [10:35:45]line ФД: 37702 [10:35:45]line ФПД: 172546032565600 [10:35:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T103545&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37702&fm=172546032565600&tin=02508201610067®Number=0000000000091684&sum=9800 [10:35:45]line 0 [10:35:45]OFD Sender: Processing packet 37702 [packets to send 42, broken 41] [10:35:45]ProducePacketName [10:35:45]name=ofd_packets/00037702 [10:35:45]OFD Sender: To server: pG, [10:35:45]CommunicateWithHost lk.salyk.kg:30040 [10:35:45]ConnectInit lk.salyk.kg [10:35:45]written 0, free lines is 4095 [10:35:46]Connected sock=10 [10:35: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 2A 01 00 00 BA 28 22 01 AC 8B 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 57 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 04 00 00 00 00 07 04 06 00 48 26 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 81 17 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 46 93 00 00 35 04 06 00 9C EE 00 FA 7D 60 0B 82 DC 8A AC E2 63 B2 [10:35:46]Write to MH i2c: 01 00 00 E2 05 E7 [10:35:46]Write i2c OK [10:35:46]MH_I2C_Read... [10:35:46]Read from MH i2c: 01 [10:35:46]MH_I2C_Read... [10:35:46]Read from MH i2c: 01 07 00 [10:35:46]MH_I2C_Read... [10:35:46]Read from MH i2c: 01 07 00 E2 05 00 00 00 00 00 D2 0C CC [10:35:46]RasterBufferAndPrint [10:35:46]line [10:35:46]line [10:35:46]line [10:35:46]line [10:35:46]line [10:35:46]written 0, free lines is 3288 [10:35:46]MH_Cut [10:35:46]Write to MH i2c: D1 01 00 E9 05 01 C0 [10:35:46]Write i2c OK [10:35:46]MH_I2C_Read... [10:35:46]Read from MH i2c: D1 [10:35:46]MH_I2C_Read... [10:35:46]Read from MH i2c: D1 01 00 [10:35:46]MH_I2C_Read... [10:35:46]Read from MH i2c: D1 01 00 E9 05 00 BF [10:35:46]Write to MH i2c: 01 00 00 EA 05 EF [10:35:46]Write i2c OK [10:35:46]MH_I2C_Read... [10:35: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 9C D7 47 00 20 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 46 93 00 00 F4 03 04 00 79 C2 1D 67 B6 04 01 00 00 11 F4 F1 2E 85 BF CB 8D [10:35:46]CommunicateWithHost err = 0 [10:35:46]CheckOFDResponse [10:35:46]1017 (14) - 77093643461234 [10:35:46]1041 (16) - 0000000000871841 [10:35:46]1040 (4) - 37702 [10:35:46]1012 (4) - 27.10.2024 04:32 [10:35:46]1206 (1) - 0 [10:35:46]OFD Sender: Remove packet 37702 [10:35:46]ProducePacketName [10:35:46]name=ofd_packets/00037702 [10:35:46]NVStorageDeleteData [10:35:46]OFD Sender: No OFD packet to send [10:35:47]*** Cut start [10:35:47]*** Partial cut [10:35:47]*** CUTSNS_PIN = 1 [10:35:47]*** CUTSNS_PIN = 0 [10:35:47]*** Brake cut motor [10:35:47]Read from MH i2c: 01 [10:35:47]MH_I2C_Read... [10:35:47]Read from MH i2c: 01 07 00 [10:35:47]MH_I2C_Read... [10:35:47]*** Stop cut motor [10:35:47]*** Cut end [10:35:47]Read from MH i2c: 01 07 00 EA 05 00 00 00 00 00 FF 0F 04 [10:35:47]process_action close_receipt done [10:35:47]requested_data is exist [10:35:47]produce_requested_data [10:35:47]requested_item fm.sn is exist - process it [10:35:47]wFMCommunicate request_size=4 [10:35:47]MH_SAM_APDU [10:35:47]CAPDU: 80 11 00 00 [10:35:47]Write to MH i2c: E2 08 00 EB 05 80 11 00 00 00 00 00 00 6A [10:35:47]Write i2c OK [10:35:47]MH_I2C_Read... [10:35:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:35:47]Read from MH i2c: E2 [10:35:47]MH_I2C_Read... [10:35:47]Read from MH i2c: E2 17 00 [10:35:47]MH_I2C_Read... [10:35:47]Read from MH i2c: E2 17 00 EB 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 BA [10:35:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:35:47]wFMCommunicate OK [10:35:47]requested_item fd.num is exist - process it [10:35:47]SAM_PROTO_GetFieldsCounters [10:35:47]wFMCommunicate request_size=4 [10:35:47]MH_SAM_APDU [10:35:47]CAPDU: 80 13 00 00 [10:35:47]Write to MH i2c: E2 08 00 EC 05 80 13 00 00 00 00 00 00 6D [10:35:47]Write i2c OK [10:35:47]MH_I2C_Read... [10:35:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:35:47]Read from MH i2c: E2 [10:35:47]MH_I2C_Read... [10:35:47]Read from MH i2c: E2 62 00 [10:35:47]MH_I2C_Read... [10:35:47]Read from MH i2c: E2 62 00 EC 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 46 93 00 00 0E 04 04 00 26 02 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 E3 [10:35: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 46 93 00 00 0E 04 04 00 26 02 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:35:47]wFMCommunicate OK [10:35:47]SAM_PROTO_GetFieldsCounters done [10:35:47]requested_item shift.num is exist - process it [10:35:47]requested_item shift.opened is exist - process it [10:35:47]req_shift_opened [10:35:47]FM_GetShiftState [10:35:47]SAM_PROTO_GetShiftState [10:35:47]wFMCommunicate request_size=4 [10:35:47]MH_SAM_APDU [10:35:47]CAPDU: 80 13 01 00 [10:35:47]Write to MH i2c: E2 08 00 ED 05 80 13 01 00 00 00 00 00 6F [10:35:47]Write i2c OK [10:35:47]MH_I2C_Read... [10:35:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:35:48]Read from MH i2c: E2 [10:35:48]MH_I2C_Read... [10:35:48]Read from MH i2c: E2 0E 00 [10:35:48]MH_I2C_Read... [10:35:48]Read from MH i2c: E2 0E 00 ED 05 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 26 [10:35:48]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [10:35:48]wFMCommunicate OK [10:35:48]SAM_PROTO_GetShiftState done [10:35:48]FM_GetShiftState done [10:35:48]req_shift_opened done [10:35:48]requested_item shift.open_date is exist - process it [10:35:48]req_shift_open_date [10:35:48]req_shift_open_date done [10:35:48]produce_requested_data done [10:35:48]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37702,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [10:35:48]process_action_free close_receipt [10:35:48]json_value_free [10:35:48]json_value_free done [10:35:48]process_json_proto returns [10:35:48]Send response to host [10:35:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37702,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [10:35:48]free response buf [10:35:48]execute_script done [10:35:48]execute_script returns [10:35:48]free content buf [10:35:48]Sock 9.Close socket [10:35:48]Sock 9.Thread stoped [10:35:51]OFD Sender: No OFD packet to send [10:35:56]OFD Sender: No OFD packet to send [10:36:01]OFD Sender: No OFD packet to send [10:36:06]OFD Sender: No OFD packet to send [10:36:11]OFD Sender: No OFD packet to send [10:36:16]OFD Sender: No OFD packet to send [10:36:21]OFD Sender: No OFD packet to send [10:36:26]OFD Sender: No OFD packet to send [10:36:31]OFD Sender: No OFD packet to send [10:36:36]OFD Sender: No OFD packet to send [10:36:41]OFD Sender: No OFD packet to send [10:36:46]OFD Sender: No OFD packet to send [10:36:51]OFD Sender: No OFD packet to send [10:36:56]OFD Sender: No OFD packet to send [10:37:01]OFD Sender: No OFD packet to send [10:37:06]OFD Sender: No OFD packet to send [10:37:11]OFD Sender: No OFD packet to send [10:37:16]OFD Sender: No OFD packet to send [10:37:21]OFD Sender: No OFD packet to send [10:37:26]OFD Sender: No OFD packet to send [10:37:31]OFD Sender: No OFD packet to send [10:37:36]OFD Sender: No OFD packet to send [10:37:41]OFD Sender: No OFD packet to send [10:37:46]OFD Sender: No OFD packet to send [10:37:51]OFD Sender: No OFD packet to send [10:37:56]OFD Sender: No OFD packet to send [10:38:02]OFD Sender: No OFD packet to send [10:38:07]OFD Sender: No OFD packet to send [10:38:12]OFD Sender: No OFD packet to send [10:38:17]OFD Sender: No OFD packet to send [10:38:22]OFD Sender: No OFD packet to send [10:38:27]OFD Sender: No OFD packet to send [10:38:32]OFD Sender: No OFD packet to send [10:38:37]OFD Sender: No OFD packet to send [10:38:42]OFD Sender: No OFD packet to send [10:38:47]OFD Sender: No OFD packet to send [10:38:52]OFD Sender: No OFD packet to send [10:38:57]OFD Sender: No OFD packet to send [10:39:02]OFD Sender: No OFD packet to send [10:39:07]OFD Sender: No OFD packet to send [10:39:12]OFD Sender: No OFD packet to send [10:39:17]OFD Sender: No OFD packet to send [10:39:22]OFD Sender: No OFD packet to send [10:39:27]OFD Sender: No OFD packet to send [10:39:32]OFD Sender: No OFD packet to send [10:39:37]OFD Sender: No OFD packet to send [10:39:42]OFD Sender: No OFD packet to send [10:39:47]OFD Sender: No OFD packet to send [10:39:52]OFD Sender: No OFD packet to send [10:39:57]OFD Sender: No OFD packet to send [10:40:02]OFD Sender: No OFD packet to send [10:40:07]OFD Sender: No OFD packet to send [10:40:12]OFD Sender: No OFD packet to send [10:40:17]OFD Sender: No OFD packet to send [10:40:22]OFD Sender: No OFD packet to send [10:40:27]OFD Sender: No OFD packet to send [10:40:32]OFD Sender: No OFD packet to send [10:40:37]OFD Sender: No OFD packet to send [10:40:42]OFD Sender: No OFD packet to send [10:40:47]OFD Sender: No OFD packet to send [10:40:52]OFD Sender: No OFD packet to send [10:40:57]OFD Sender: No OFD packet to send [10:41:02]OFD Sender: No OFD packet to send [10:41:07]OFD Sender: No OFD packet to send [10:41:12]OFD Sender: No OFD packet to send [10:41:17]OFD Sender: No OFD packet to send [10:41:22]OFD Sender: No OFD packet to send [10:41:27]OFD Sender: No OFD packet to send [10:41:32]OFD Sender: No OFD packet to send [10:41:37]OFD Sender: No OFD packet to send [10:41:42]OFD Sender: No OFD packet to send [10:41:47]OFD Sender: No OFD packet to send [10:41:52]OFD Sender: No OFD packet to send [10:41:57]OFD Sender: No OFD packet to send [10:42:02]OFD Sender: No OFD packet to send [10:42:07]OFD Sender: No OFD packet to send [10:42:12]OFD Sender: No OFD packet to send [10:42:17]OFD Sender: No OFD packet to send [10:42:22]OFD Sender: No OFD packet to send [10:42:27]OFD Sender: No OFD packet to send [10:42:32]OFD Sender: No OFD packet to send [10:42:37]OFD Sender: No OFD packet to send [10:42:42]OFD Sender: No OFD packet to send [10:42:47]OFD Sender: No OFD packet to send [10:42:52]OFD Sender: No OFD packet to send [10:42:57]OFD Sender: No OFD packet to send [10:43:02]OFD Sender: No OFD packet to send [10:43:07]OFD Sender: No OFD packet to send [10:43:12]OFD Sender: No OFD packet to send [10:43:17]OFD Sender: No OFD packet to send [10:43:22]OFD Sender: No OFD packet to send [10:43:27]OFD Sender: No OFD packet to send [10:43:32]OFD Sender: No OFD packet to send [10:43:37]OFD Sender: No OFD packet to send [10:43:42]OFD Sender: No OFD packet to send [10:43:47]OFD Sender: No OFD packet to send [10:43:52]OFD Sender: No OFD packet to send [10:43:57]OFD Sender: No OFD packet to send [10:44:02]OFD Sender: No OFD packet to send [10:44:07]OFD Sender: No OFD packet to send [10:44:12]OFD Sender: No OFD packet to send [10:44:17]OFD Sender: No OFD packet to send [10:44:22]OFD Sender: No OFD packet to send [10:44:27]OFD Sender: No OFD packet to send [10:44:32]OFD Sender: No OFD packet to send [10:44:37]OFD Sender: No OFD packet to send [10:44:42]OFD Sender: No OFD packet to send [10:44:47]OFD Sender: No OFD packet to send [10:44:52]OFD Sender: No OFD packet to send [10:44:57]OFD Sender: No OFD packet to send [10:45:02]OFD Sender: No OFD packet to send [10:45:07]OFD Sender: No OFD packet to send [10:45:12]OFD Sender: No OFD packet to send [10:45:17]OFD Sender: No OFD packet to send [10:45:22]OFD Sender: No OFD packet to send [10:45:27]OFD Sender: No OFD packet to send [10:45:32]OFD Sender: No OFD packet to send [10:45:37]OFD Sender: No OFD packet to send [10:45:42]OFD Sender: No OFD packet to send [10:45:47]OFD Sender: No OFD packet to send [10:45:52]OFD Sender: No OFD packet to send [10:45:57]OFD Sender: No OFD packet to send [10:46:02]OFD Sender: No OFD packet to send [10:46:07]OFD Sender: No OFD packet to send [10:46:12]OFD Sender: No OFD packet to send [10:46:17]OFD Sender: No OFD packet to send [10:46:22]OFD Sender: No OFD packet to send [10:46:27]OFD Sender: No OFD packet to send [10:46:32]OFD Sender: No OFD packet to send [10:46:37]OFD Sender: No OFD packet to send [10:46:42]OFD Sender: No OFD packet to send [10:46:47]OFD Sender: No OFD packet to send [10:46:52]OFD Sender: No OFD packet to send [10:46:57]OFD Sender: No OFD packet to send [10:47:02]OFD Sender: No OFD packet to send [10:47:07]OFD Sender: No OFD packet to send [10:47:12]OFD Sender: No OFD packet to send [10:47:17]OFD Sender: No OFD packet to send [10:47:22]OFD Sender: No OFD packet to send [10:47:27]OFD Sender: No OFD packet to send [10:47:32]OFD Sender: No OFD packet to send [10:47:37]OFD Sender: No OFD packet to send [10:47:42]OFD Sender: No OFD packet to send [10:47:47]OFD Sender: No OFD packet to send [10:47:52]OFD Sender: No OFD packet to send [10:47:57]OFD Sender: No OFD packet to send [10:48:02]OFD Sender: No OFD packet to send [10:48:07]OFD Sender: No OFD packet to send [10:48:12]OFD Sender: No OFD packet to send [10:48:17]OFD Sender: No OFD packet to send [10:48:22]OFD Sender: No OFD packet to send [10:48:27]OFD Sender: No OFD packet to send [10:48:32]OFD Sender: No OFD packet to send [10:48:37]OFD Sender: No OFD packet to send [10:48:42]OFD Sender: No OFD packet to send [10:48:47]OFD Sender: No OFD packet to send [10:48:52]OFD Sender: No OFD packet to send [10:48:57]OFD Sender: No OFD packet to send [10:49:02]OFD Sender: No OFD packet to send [10:49:07]OFD Sender: No OFD packet to send [10:49:12]OFD Sender: No OFD packet to send [10:49:17]OFD Sender: No OFD packet to send [10:49:22]OFD Sender: No OFD packet to send [10:49:27]OFD Sender: No OFD packet to send [10:49:32]OFD Sender: No OFD packet to send [10:49:37]OFD Sender: No OFD packet to send [10:49:42]OFD Sender: No OFD packet to send [10:49:47]OFD Sender: No OFD packet to send [10:49:49]accept exits with 7 [10:49:49]New connection [10:49:49]New thread 3067440484 created [10:49:49]Thread 3067297124 joined [10:49:49]Waiting for new connection... [10:49:49] Sock 7.Parse request [10:49:49]Sock 7.Check first char [10:49:49]Sock 7.First char is OK [10:49:49]request: POST /json_proto HTTP/1.0 [10:49:49]Method: POST [10:49:49]URL: /json_proto [10:49:49]Method is POST - this is cgi request [10:49:49]url: /json_proto [10:49:49]query_string will be loaded in cgi processing [10:49:49]execute_cgi json_proto POST (null) [10:49:49]execute_cgi path=json_proto method=POST [10:49:49]POST find Content-Length [10:49:49]Host: 172.17.40.196:8080 [10:49:49]Content-Length: 1181 [10:49:49]Content-Type: application/json [10:49:49] [10:49:49]POST finish read [10:49:49]Found Content-Length = 1181 [10:49:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35001", "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 }]} ,{ "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036200014", "name": "\u041A\u043E\u0444\u0435 \u042D\u0441\u043F\u0440\u0435\u0441\u0441\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 4.000, "sum" : 420.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 645.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:49:49]execute_script... [10:49:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35001", "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 }]} ,{ "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036200014", "name": "\u041A\u043E\u0444\u0435 \u042D\u0441\u043F\u0440\u0435\u0441\u0441\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 4.000, "sum" : 420.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 645.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:49:49]POST & json_proto [10:49:49]process_json_proto [10:49:49]json parsed OK: [10:49:49]protocol is kg_v1.0 [10:49:49]action value=close_receipt [10:49:49]process_action close_receipt [10:49:49]cmd_close_receipt [10:49:49]MH_GetDate [10:49:49]Write to MH i2c: F0 00 00 EE 05 E2 [10:49:49]Write i2c OK [10:49:49]MH_I2C_Read... [10:49:49]Read from MH i2c: F0 [10:49:49]MH_I2C_Read... [10:49:49]Read from MH i2c: F0 09 00 [10:49:49]MH_I2C_Read... [10:49:49]Read from MH i2c: F0 09 00 EE 05 00 CF 1A 1E 67 5B 68 A1 66 23 [10:49:49]GetLastDocTimeStamp 1730025345 [10:49:49]current date 1730026191 [10:49:49]FM_GetShiftState [10:49:49]SAM_PROTO_GetShiftState [10:49:49]wFMCommunicate request_size=4 [10:49:49]MH_SAM_APDU [10:49:49]CAPDU: 80 13 01 00 [10:49:49]Write to MH i2c: E2 08 00 EF 05 80 13 01 00 00 00 00 00 71 [10:49:49]Write i2c OK [10:49:49]MH_I2C_Read... [10:49:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:49:49]Read from MH i2c: E2 [10:49:49]MH_I2C_Read... [10:49:49]Read from MH i2c: E2 0E 00 [10:49:49]MH_I2C_Read... [10:49:49]Read from MH i2c: E2 0E 00 EF 05 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 28 [10:49:49]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [10:49:49]wFMCommunicate OK [10:49:49]SAM_PROTO_GetShiftState done [10:49:49]FM_GetShiftState done [10:49:49]opened in 1729987492 [10:49:49]opened+sec_in_day 1730073892 [10:49:49]quantity*price = 10500 [10:49:49]sum+1 = 10501 [10:49:49]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000034250011 Горячий шоколад (GABB trade) 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036200014 Кофе Эспрессо (GABB TRADE) 4.000 * 105.00 = 420.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 645.00 НСП 1% : 5.71 НДС 12% : 68.49 Наличными: 645.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 29 27.10.2024 10:49 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37703 ФПД: 39605970078180 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T104951&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37703&fm=39605970078180&tin=02508201610067®Number=0000000000091684&sum=64500 0 [10:49:50]StoreToDocumentArchive [10:49:50]shift 550 fd 37703 [10:49:50]save to /storage/0550/doc_00037703 [10:49:50]save last doc name /storage/0550/doc_00037703 to /storage/kkm_last_doc_name [10:49:50]save OK [10:49:50]Clear old archive folders... [10:49:50]ProcessDocumentItem done err = 0, tmpTLVsize=506 [10:49:50]tlvbuf is 00278AF0 [10:49:50]SAM_PROTO_ClearQueue [10:49:50]wFMCommunicate request_size=4 [10:49:50]MH_SAM_APDU [10:49:50]CAPDU: 80 09 00 00 [10:49:50]Write to MH i2c: E2 08 00 FC 05 80 09 00 00 00 00 00 00 73 [10:49:50]Write i2c OK [10:49:50]MH_I2C_Read... [10:49:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:49:50]Read from MH i2c: E2 [10:49:50]MH_I2C_Read... [10:49:50]Read from MH i2c: E2 03 00 [10:49:50]MH_I2C_Read... [10:49:50]Read from MH i2c: E2 03 00 FC 05 00 90 00 75 [10:49:50]RAPDU: 90 00 [10:49:50]wFMCommunicate OK [10:49:50]SAM_PROTO_ClearQueue done [10:49:50]KKMCreateOFDPacket [10:49:50]OFDProtocolAddRootSTLVToBuf [10:49:50]FM_MakeSignedData [10:49:50]FM_MakeSignedData [10:49:50]SAM_PROTO_SignData [10:49:50]wFMCommunicate request_size=4 [10:49:50]MH_SAM_APDU [10:49:50]CAPDU: 80 0D 01 02 [10:49:50]Write to MH i2c: E2 08 00 FD 05 80 0D 01 02 00 00 00 00 7B [10:49:50]Write i2c OK [10:49:50]MH_I2C_Read... [10:49:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:49:50]Read from MH i2c: E2 [10:49:50]MH_I2C_Read... [10:49:50]Read from MH i2c: E2 03 00 [10:49:50]MH_I2C_Read... [10:49:50]Read from MH i2c: E2 03 00 FD 05 00 90 00 76 [10:49:50]RAPDU: 90 00 [10:49:50]wFMCommunicate OK [10:49:50]wFMCommunicate request_size=255 [10:49:50]MH_SAM_APDU [10:49:50]CAPDU: 80 0D 02 02 FA 03 00 FA 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 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 [10:49:50]Write to MH i2c: E2 02 01 FE 05 80 0D 02 02 FA 00 03 00 FA 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 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 00 00 4B [10:49:50]Write i2c OK [10:49:50]MH_I2C_Read... [10:49:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:49:51]Read from MH i2c: E2 [10:49:51]MH_I2C_Read... [10:49:51]Read from MH i2c: E2 03 00 [10:49:51]MH_I2C_Read... [10:49:51]Read from MH i2c: E2 03 00 FE 05 00 90 00 77 [10:49:51]RAPDU: 90 00 [10:49:51]wFMCommunicate OK [10:49:51]wFMCommunicate request_size=255 [10:49:51]MH_SAM_APDU [10:49:51]CAPDU: 80 0D 02 02 FA 32 30 30 30 31 34 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 AD D1 81 D0 BF D1 80 D0 B5 D1 81 D1 81 D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 FB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C1 1A 00 00 00 00 07 04 06 00 F4 FB 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 CF 1A 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 47 93 00 00 [10:49:51]Write to MH i2c: E2 02 01 FF 05 80 0D 02 02 FA 00 32 30 30 30 31 34 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 AD D1 81 D0 BF D1 80 D0 B5 D1 81 D1 81 D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 FB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C1 1A 00 00 00 00 07 04 06 00 F4 FB 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 CF 1A 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 47 93 00 00 00 00 64 [10:49:51]Write i2c OK [10:49:51]MH_I2C_Read... [10:49:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:49:51]Read from MH i2c: E2 [10:49:51]MH_I2C_Read... [10:49:51]Read from MH i2c: E2 03 00 [10:49:51]MH_I2C_Read... [10:49:51]Read from MH i2c: E2 03 00 FF 05 00 90 00 78 [10:49:51]RAPDU: 90 00 [10:49:51]wFMCommunicate OK [10:49:51]wFMCommunicate request_size=15 [10:49:51]MH_SAM_APDU [10:49:51]CAPDU: 80 0D 02 02 0A 35 04 06 00 24 05 7B C7 09 E4 [10:49:51]Write to MH i2c: E2 12 00 00 06 80 0D 02 02 0A 00 35 04 06 00 24 05 7B C7 09 E4 00 00 2B [10:49:51]Write i2c OK [10:49:51]MH_I2C_Read... [10:49:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:49:51]Read from MH i2c: E2 [10:49:51]MH_I2C_Read... [10:49:51]Read from MH i2c: E2 03 00 [10:49:51]MH_I2C_Read... [10:49:51]Read from MH i2c: E2 03 00 00 06 00 90 00 7A [10:49:51]RAPDU: 90 00 [10:49:51]wFMCommunicate OK [10:49:51]wFMCommunicate request_size=4 [10:49:51]MH_SAM_APDU [10:49:51]CAPDU: 80 0D 03 02 [10:49:51]Write to MH i2c: E2 08 00 01 06 80 0D 03 02 00 00 00 00 82 [10:49:51]Write i2c OK [10:49:51]MH_I2C_Read... [10:49:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:49:51]Read from MH i2c: E2 [10:49:51]MH_I2C_Read... [10:49:51]Read from MH i2c: E2 0B 00 [10:49:51]MH_I2C_Read... [10:49:51]Read from MH i2c: E2 0B 00 01 06 00 FA C7 F8 50 4A 6C 7A 30 90 00 EC [10:49:51]RAPDU: FA C7 F8 50 4A 6C 7A 30 90 00 [10:49:51]wFMCommunicate OK [10:49:51]SAM_PROTO_SignData done [10:49:51]FM_MakeSignedData done [10:49:51]CreateOFDProtocolMessage [10:49:51]wFMCommunicate request_size=4 [10:49:51]MH_SAM_APDU [10:49:51]CAPDU: 80 11 00 00 [10:49:51]Write to MH i2c: E2 08 00 02 06 80 11 00 00 00 00 00 00 82 [10:49:51]Write i2c OK [10:49:51]MH_I2C_Read... [10:49:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:49:51]Read from MH i2c: E2 [10:49:51]MH_I2C_Read... [10:49:51]Read from MH i2c: E2 17 00 [10:49:51]MH_I2C_Read... [10:49:51]Read from MH i2c: E2 17 00 02 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D2 [10:49:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:49:51]wFMCommunicate OK [10:49:51]CreateOFDProtocolMessage done [10:49:51]OFDSenderStorePacket 37703 [10:49:51]StoreOFDPacket docnum=37703 [10:49: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 0E 02 00 00 9F A2 06 02 0A 3F 5A 03 01 00 03 00 FA 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 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 30 30 30 31 34 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 AD D1 81 D0 BF D1 80 D0 B5 D1 81 D1 81 D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 FB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C1 1A 00 00 00 00 07 04 06 00 F4 FB 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 CF 1A 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 47 93 00 00 35 04 06 00 24 05 7B C7 09 E4 FA C7 F8 50 4A 6C 7A 30 [10:49:51]CheckFolder [10:49:51]dirname=/storage/ofd_packets [10:49:51]CheckFolder done [10:49:51]ProducePacketName [10:49:51]name=ofd_packets/00037703 [10:49:51]NVStorageSaveData ofd_packets/00037703 [10:49:51]File name is /storage/ofd_packets/00037703 [10:49:51]Write 556 bytes [10:49:51]NVStorageSaveData done [10:49:51]OFDSenderStorePacket done [10:49:51]KKMCreateOFDPacket done [10:49:51]NVStorageSaveData kkm_last_timestamp [10:49:51]File name is /storage/kkm_last_timestamp [10:49:51]Write 4 bytes [10:49:51]NVStorageSaveData done [10:49:51]ExternCall_PrintAddStr [10:49:51]wPrintStart [10:49:51]Write to MH i2c: 01 00 00 03 06 09 [10:49:51]Write i2c OK [10:49:51]MH_I2C_Read... [10:49:51]Read from MH i2c: 01 [10:49:51]MH_I2C_Read... [10:49:51]Read from MH i2c: 01 07 00 [10:49:51]MH_I2C_Read... [10:49:51]Read from MH i2c: 01 07 00 03 06 00 00 00 00 00 FF 0F 1E [10:49:51]RasterBufferAndPrint [10:49:51]line Счет N : (3)35001 [10:49:51]line ИНН: 02508201610067 [10:49:51]line Контрольно-Кассовый Чек [10:49:51]line ПРОДАЖА [10:49:51]line Товар: 2000034730018 [10:49:51]line Кофе Американо (GABB TRADE) [10:49:51]line 1.000 * 105.00 [10:49:51]line = 105.00 [10:49:51]line НДС 12% НСП 1% [10:49:51]line > о реализуемом товаре [10:49:51]line Товар: 2000034250011 [10:49:51]line Горячий шоколад (GABB trade) [10:49:51]line 1.000 * 120.00 [10:49:51]line = 120.00 [10:49:51]line НДС 12% НСП 1% [10:49:51]line > о реализуемом товаре [10:49:51]line Товар: 2000036200014 [10:49:51]line Кофе Эспрессо (GABB TRADE) [10:49:51]line 4.000 * 105.00 [10:49:51]line = 420.00 [10:49:51]line НДС 12% НСП 1% [10:49:51]line > о реализуемом товаре [10:49:51]line ИТОГО: 645.00 [10:49:51]line НСП 1% : 5.71 [10:49:51]line НДС 12% : 68.49 [10:49:51]line Наличными: 645.00 [10:49:51]line Безнал.: 0.00 [10:49:51]line Место: АЗС № 126 "Партнер Нефть" [10:49:51]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [10:49:51]line СНО: Общий режим [10:49:51]line Чек 29 27.10.2024 10:49 [10:49:51]line Смена: 550 ФФД: 1.0 [10:49:51]line ЗНМ: 0300000092 [10:49:51]line РНМ: 0000000000091684 [10:49:51]line Версия ККМ: 001 [10:49:51]line ФМ: 0000000000871841 [10:49:51]line ФД: 37703 [10:49:51]line ФПД: 39605970078180 [10:49:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T104951&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37703&fm=39605970078180&tin=02508201610067®Number=0000000000091684&sum=64500 [10:49:51]line 0 [10:49:51]OFD Sender: Processing packet 37703 [packets to send 42, broken 41] [10:49:51]ProducePacketName [10:49:51]name=ofd_packets/00037703 [10:49:51]OFD Sender: To server: pG, [10:49:51]CommunicateWithHost lk.salyk.kg:30040 [10:49:51]ConnectInit lk.salyk.kg [10:49:51]written 0, free lines is 4095 [10:49:52]Connected sock=10 [10:49: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 0E 02 00 00 9F A2 06 02 0A 3F 5A 03 01 00 03 00 FA 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 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 30 30 30 31 34 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 AD D1 81 D0 BF D1 80 D0 B5 D1 81 D1 81 D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 FB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C1 1A 00 00 00 00 07 04 06 00 F4 FB 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 CF 1A 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 47 93 00 00 35 04 06 00 24 05 7B C7 09 E4 FA C7 F8 50 4A 6C 7A 30 [10:49: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 E9 57 47 00 E0 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 47 93 00 00 F4 03 04 00 C8 C5 1D 67 B6 04 01 00 00 6B B5 90 CF B7 15 C9 AB [10:49:52]CommunicateWithHost err = 0 [10:49:52]CheckOFDResponse [10:49:52]1017 (14) - 77093643461234 [10:49:52]1041 (16) - 0000000000871841 [10:49:52]1040 (4) - 37703 [10:49:52]1012 (4) - 27.10.2024 04:47 [10:49:52]1206 (1) - 0 [10:49:52]OFD Sender: Remove packet 37703 [10:49:52]ProducePacketName [10:49:52]name=ofd_packets/00037703 [10:49:52]NVStorageDeleteData [10:49:52]Write to MH i2c: 01 00 00 39 06 3F [10:49:52]Write i2c OK [10:49:52]MH_I2C_Read... [10:49:52]Read from MH i2c: 01 [10:49:52]MH_I2C_Read... [10:49:52]Read from MH i2c: 01 07 00 [10:49:52]MH_I2C_Read... [10:49:52]Read from MH i2c: 01 07 00 39 06 00 00 00 00 00 EA 0B 3B [10:49:52]RasterBufferAndPrint [10:49:52]line [10:49:52]line [10:49:52]line [10:49:52]line [10:49:52]line [10:49:52]written 0, free lines is 3057 [10:49:52]MH_Cut [10:49:52]Write to MH i2c: D1 01 00 40 06 01 18 [10:49:52]Write i2c OK [10:49:52]MH_I2C_Read... [10:49:52]Read from MH i2c: D1 [10:49:52]MH_I2C_Read... [10:49:52]Read from MH i2c: D1 01 00 [10:49:52]MH_I2C_Read... [10:49:52]Read from MH i2c: D1 01 00 40 06 00 17 [10:49:52]Write to MH i2c: 01 00 00 41 06 47 [10:49:52]Write i2c OK [10:49:52]MH_I2C_Read... [10:49:53]OFD Sender: No OFD packet to send [10:49:53]*** Cut start [10:49:53]*** Partial cut [10:49:53]*** CUTSNS_PIN = 1 [10:49:53]*** CUTSNS_PIN = 0 [10:49:53]*** Brake cut motor [10:49:54]Read from MH i2c: 01 [10:49:54]MH_I2C_Read... [10:49:54]*** Stop cut motor [10:49:54]*** Cut end [10:49:54]Read from MH i2c: 01 07 00 [10:49:54]MH_I2C_Read... [10:49:54]Read from MH i2c: 01 07 00 41 06 00 00 00 00 00 FF 0F 5C [10:49:54]process_action close_receipt done [10:49:54]requested_data is exist [10:49:54]produce_requested_data [10:49:54]requested_item fm.sn is exist - process it [10:49:54]wFMCommunicate request_size=4 [10:49:54]MH_SAM_APDU [10:49:54]CAPDU: 80 11 00 00 [10:49:54]Write to MH i2c: E2 08 00 42 06 80 11 00 00 00 00 00 00 C2 [10:49:54]Write i2c OK [10:49:54]MH_I2C_Read... [10:49:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:49:54]Read from MH i2c: E2 [10:49:54]MH_I2C_Read... [10:49:54]Read from MH i2c: E2 17 00 [10:49:54]MH_I2C_Read... [10:49:54]Read from MH i2c: E2 17 00 42 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 12 [10:49:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:49:54]wFMCommunicate OK [10:49:54]requested_item fd.num is exist - process it [10:49:54]SAM_PROTO_GetFieldsCounters [10:49:54]wFMCommunicate request_size=4 [10:49:54]MH_SAM_APDU [10:49:54]CAPDU: 80 13 00 00 [10:49:54]Write to MH i2c: E2 08 00 43 06 80 13 00 00 00 00 00 00 C5 [10:49:54]Write i2c OK [10:49:54]MH_I2C_Read... [10:49:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:49:54]Read from MH i2c: E2 [10:49:54]MH_I2C_Read... [10:49:54]Read from MH i2c: E2 62 00 [10:49:54]MH_I2C_Read... [10:49:54]Read from MH i2c: E2 62 00 43 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 47 93 00 00 0E 04 04 00 26 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 3F [10:49: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 47 93 00 00 0E 04 04 00 26 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 [10:49:54]wFMCommunicate OK [10:49:54]SAM_PROTO_GetFieldsCounters done [10:49:54]requested_item shift.num is exist - process it [10:49:54]requested_item shift.opened is exist - process it [10:49:54]req_shift_opened [10:49:54]FM_GetShiftState [10:49:54]SAM_PROTO_GetShiftState [10:49:54]wFMCommunicate request_size=4 [10:49:54]MH_SAM_APDU [10:49:54]CAPDU: 80 13 01 00 [10:49:54]Write to MH i2c: E2 08 00 44 06 80 13 01 00 00 00 00 00 C7 [10:49:54]Write i2c OK [10:49:54]MH_I2C_Read... [10:49:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:49:54]Read from MH i2c: E2 [10:49:54]MH_I2C_Read... [10:49:54]Read from MH i2c: E2 0E 00 [10:49:54]MH_I2C_Read... [10:49:54]Read from MH i2c: E2 0E 00 44 06 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 7E [10:49:54]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [10:49:54]wFMCommunicate OK [10:49:54]SAM_PROTO_GetShiftState done [10:49:54]FM_GetShiftState done [10:49:54]req_shift_opened done [10:49:54]requested_item shift.open_date is exist - process it [10:49:54]req_shift_open_date [10:49:54]req_shift_open_date done [10:49:54]produce_requested_data done [10:49:54]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37703,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [10:49:54]process_action_free close_receipt [10:49:54]json_value_free [10:49:54]json_value_free done [10:49:54]process_json_proto returns [10:49:54]Send response to host [10:49:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37703,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [10:49:54]free response buf [10:49:54]execute_script done [10:49:54]execute_script returns [10:49:54]free content buf [10:49:54]Sock 7.Close socket [10:49:54]Sock 7.Thread stoped [10:49:58]OFD Sender: No OFD packet to send [10:50:03]OFD Sender: No OFD packet to send [10:50:08]OFD Sender: No OFD packet to send [10:50:13]OFD Sender: No OFD packet to send [10:50:18]OFD Sender: No OFD packet to send [10:50:23]OFD Sender: No OFD packet to send [10:50:28]OFD Sender: No OFD packet to send [10:50:33]OFD Sender: No OFD packet to send [10:50:38]OFD Sender: No OFD packet to send [10:50:43]OFD Sender: No OFD packet to send [10:50:48]OFD Sender: No OFD packet to send [10:50:53]OFD Sender: No OFD packet to send [10:50:58]OFD Sender: No OFD packet to send [10:51:02]accept exits with 9 [10:51:02]New connection [10:51:02]New thread 3067297124 created [10:51:02]Thread 3067440484 joined [10:51:02]Waiting for new connection... [10:51:02] Sock 9.Parse request [10:51:02]Sock 9.Check first char [10:51:02]Sock 9.First char is OK [10:51:02]request: POST /json_proto HTTP/1.0 [10:51:02]Method: POST [10:51:02]URL: /json_proto [10:51:02]Method is POST - this is cgi request [10:51:02]url: /json_proto [10:51:02]query_string will be loaded in cgi processing [10:51:02]execute_cgi json_proto POST (null) [10:51:02]execute_cgi path=json_proto method=POST [10:51:02]POST find Content-Length [10:51:02]Host: 172.17.40.196:8080 [10:51:02]Content-Length: 785 [10:51:02]Content-Type: application/json [10:51:02] [10:51:02]POST finish read [10:51:02]Found Content-Length = 785 [10:51:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35002", "tax_sys" : 0, "items" : [ { "code": "4870001154059", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 0,5\u043B \u0437\u0435\u043B \u0447\u0430\u0439", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:51:02]execute_script... [10:51:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35002", "tax_sys" : 0, "items" : [ { "code": "4870001154059", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 0,5\u043B \u0437\u0435\u043B \u0447\u0430\u0439", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:51:02]POST & json_proto [10:51:02]process_json_proto [10:51:02]json parsed OK: [10:51:02]protocol is kg_v1.0 [10:51:02]action value=close_receipt [10:51:02]process_action close_receipt [10:51:02]cmd_close_receipt [10:51:02]MH_GetDate [10:51:02]Write to MH i2c: F0 00 00 45 06 3A [10:51:02]Write i2c OK [10:51:02]MH_I2C_Read... [10:51:02]Read from MH i2c: F0 [10:51:02]MH_I2C_Read... [10:51:02]Read from MH i2c: F0 09 00 [10:51:02]MH_I2C_Read... [10:51:02]Read from MH i2c: F0 09 00 45 06 00 18 1B 1E 67 5B 68 A1 66 C5 [10:51:02]GetLastDocTimeStamp 1730026191 [10:51:02]current date 1730026264 [10:51:02]FM_GetShiftState [10:51:02]SAM_PROTO_GetShiftState [10:51:02]wFMCommunicate request_size=4 [10:51:02]MH_SAM_APDU [10:51:02]CAPDU: 80 13 01 00 [10:51:02]Write to MH i2c: E2 08 00 46 06 80 13 01 00 00 00 00 00 C9 [10:51:02]Write i2c OK [10:51:02]MH_I2C_Read... [10:51:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:51:02]Read from MH i2c: E2 [10:51:02]MH_I2C_Read... [10:51:02]Read from MH i2c: E2 0E 00 [10:51:02]MH_I2C_Read... [10:51:02]Read from MH i2c: E2 0E 00 46 06 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 80 [10:51:02]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [10:51:02]wFMCommunicate OK [10:51:02]SAM_PROTO_GetShiftState done [10:51:02]FM_GetShiftState done [10:51:02]opened in 1729987492 [10:51:02]opened+sec_in_day 1730073892 [10:51:02]quantity*price = 7500 [10:51:02]sum+1 = 7501 [10:51:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 0.00 Безнал.: 75.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 30 27.10.2024 10:51 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37704 ФПД: 100386961545964 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T105104&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37704&fm=100386961545964&tin=02508201610067®Number=0000000000091684&sum=7500 0 [10:51:03]StoreToDocumentArchive [10:51:03]shift 550 fd 37704 [10:51:03]save to /storage/0550/doc_00037704 [10:51:03]save last doc name /storage/0550/doc_00037704 to /storage/kkm_last_doc_name [10:51:03]save OK [10:51:03]Clear old archive folders... [10:51:03]ProcessDocumentItem done err = 0, tmpTLVsize=290 [10:51:03]tlvbuf is 00212200 [10:51:03]SAM_PROTO_ClearQueue [10:51:03]wFMCommunicate request_size=4 [10:51:03]MH_SAM_APDU [10:51:03]CAPDU: 80 09 00 00 [10:51:03]Write to MH i2c: E2 08 00 53 06 80 09 00 00 00 00 00 00 CB [10:51:03]Write i2c OK [10:51:03]MH_I2C_Read... [10:51:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:51:04]Read from MH i2c: E2 [10:51:04]MH_I2C_Read... [10:51:04]Read from MH i2c: E2 03 00 [10:51:04]MH_I2C_Read... [10:51:04]Read from MH i2c: E2 03 00 53 06 00 90 00 CD [10:51:04]RAPDU: 90 00 [10:51:04]wFMCommunicate OK [10:51:04]SAM_PROTO_ClearQueue done [10:51:04]KKMCreateOFDPacket [10:51:04]OFDProtocolAddRootSTLVToBuf [10:51:04]FM_MakeSignedData [10:51:04]FM_MakeSignedData [10:51:04]SAM_PROTO_SignData [10:51:04]wFMCommunicate request_size=4 [10:51:04]MH_SAM_APDU [10:51:04]CAPDU: 80 0D 01 02 [10:51:04]Write to MH i2c: E2 08 00 54 06 80 0D 01 02 00 00 00 00 D3 [10:51:04]Write i2c OK [10:51:04]MH_I2C_Read... [10:51:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:51:04]Read from MH i2c: E2 [10:51:04]MH_I2C_Read... [10:51:04]Read from MH i2c: E2 03 00 [10:51:04]MH_I2C_Read... [10:51:04]Read from MH i2c: E2 03 00 54 06 00 90 00 CE [10:51:04]RAPDU: 90 00 [10:51:04]wFMCommunicate OK [10:51:04]wFMCommunicate request_size=255 [10:51:04]MH_SAM_APDU [10:51:04]CAPDU: 80 0D 02 02 FA 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 34 30 35 39 06 04 30 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 30 2C 35 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 1D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 18 1B 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 [10:51:04]Write to MH i2c: E2 02 01 55 06 80 0D 02 02 FA 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 34 30 35 39 06 04 30 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 30 2C 35 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 1D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 18 1B 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 5E [10:51:04]Write i2c OK [10:51:04]MH_I2C_Read... [10:51:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:51:04]Read from MH i2c: E2 [10:51:04]MH_I2C_Read... [10:51:04]Read from MH i2c: E2 03 00 [10:51:04]MH_I2C_Read... [10:51:04]Read from MH i2c: E2 03 00 55 06 00 90 00 CF [10:51:04]RAPDU: 90 00 [10:51:04]wFMCommunicate OK [10:51:04]wFMCommunicate request_size=49 [10:51:04]MH_SAM_APDU [10:51:04]CAPDU: 80 0D 02 02 2C 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 48 93 00 00 35 04 06 00 5B 4D 29 2E DA EC [10:51:04]Write to MH i2c: E2 34 00 56 06 80 0D 02 02 2C 00 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 48 93 00 00 35 04 06 00 5B 4D 29 2E DA EC 00 00 A3 [10:51:04]Write i2c OK [10:51:04]MH_I2C_Read... [10:51:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:51:04]Read from MH i2c: E2 [10:51:04]MH_I2C_Read... [10:51:04]Read from MH i2c: E2 03 00 [10:51:04]MH_I2C_Read... [10:51:04]Read from MH i2c: E2 03 00 56 06 00 90 00 D0 [10:51:04]RAPDU: 90 00 [10:51:04]wFMCommunicate OK [10:51:04]wFMCommunicate request_size=4 [10:51:04]MH_SAM_APDU [10:51:04]CAPDU: 80 0D 03 02 [10:51:04]Write to MH i2c: E2 08 00 57 06 80 0D 03 02 00 00 00 00 D8 [10:51:04]Write i2c OK [10:51:04]MH_I2C_Read... [10:51:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:51:04]Read from MH i2c: E2 [10:51:04]MH_I2C_Read... [10:51:04]Read from MH i2c: E2 0B 00 [10:51:04]MH_I2C_Read... [10:51:04]Read from MH i2c: E2 0B 00 57 06 00 23 89 4B 96 9E C0 22 AC 90 00 92 [10:51:04]RAPDU: 23 89 4B 96 9E C0 22 AC 90 00 [10:51:04]wFMCommunicate OK [10:51:04]SAM_PROTO_SignData done [10:51:04]FM_MakeSignedData done [10:51:04]CreateOFDProtocolMessage [10:51:04]wFMCommunicate request_size=4 [10:51:04]MH_SAM_APDU [10:51:04]CAPDU: 80 11 00 00 [10:51:04]Write to MH i2c: E2 08 00 58 06 80 11 00 00 00 00 00 00 D8 [10:51:04]Write i2c OK [10:51:04]MH_I2C_Read... [10:51:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:51:04]Read from MH i2c: E2 [10:51:04]MH_I2C_Read... [10:51:04]Read from MH i2c: E2 17 00 [10:51:04]MH_I2C_Read... [10:51:04]Read from MH i2c: E2 17 00 58 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 28 [10:51:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:51:04]wFMCommunicate OK [10:51:04]CreateOFDProtocolMessage done [10:51:04]OFDSenderStorePacket 37704 [10:51:04]StoreOFDPacket docnum=37704 [10:51:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 36 01 00 00 7B 69 2E 01 46 D9 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 34 30 35 39 06 04 30 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 30 2C 35 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 1D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 18 1B 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 48 93 00 00 35 04 06 00 5B 4D 29 2E DA EC 23 89 4B 96 9E C0 22 AC [10:51:04]CheckFolder [10:51:04]dirname=/storage/ofd_packets [10:51:04]CheckFolder done [10:51:04]ProducePacketName [10:51:04]name=ofd_packets/00037704 [10:51:04]NVStorageSaveData ofd_packets/00037704 [10:51:04]File name is /storage/ofd_packets/00037704 [10:51:04]Write 340 bytes [10:51:04]NVStorageSaveData done [10:51:04]OFDSenderStorePacket done [10:51:04]KKMCreateOFDPacket done [10:51:04]NVStorageSaveData kkm_last_timestamp [10:51:04]File name is /storage/kkm_last_timestamp [10:51:04]Write 4 bytes [10:51:04]NVStorageSaveData done [10:51:04]ExternCall_PrintAddStr [10:51:04]wPrintStart [10:51:04]Write to MH i2c: 01 00 00 59 06 5F [10:51:04]Write i2c OK [10:51:04]MH_I2C_Read... [10:51:04]Read from MH i2c: 01 [10:51:04]MH_I2C_Read... [10:51:04]Read from MH i2c: 01 07 00 [10:51:04]MH_I2C_Read... [10:51:04]Read from MH i2c: 01 07 00 59 06 00 00 00 00 00 FF 0F 74 [10:51:04]RasterBufferAndPrint [10:51:04]line Счет N : (3)35002 [10:51:04]line ИНН: 02508201610067 [10:51:04]line Контрольно-Кассовый Чек [10:51:04]line ПРОДАЖА [10:51:04]line Товар: 4870001154059 [10:51:04]line Напиток Lipton IceTea 0,5л зел чай [10:51:04]line 1.000 * 75.00 [10:51:04]line = 75.00 [10:51:04]line НДС 12% НСП 1% [10:51:04]line > о реализуемом товаре [10:51:04]line ИТОГО: 75.00 [10:51:04]line НСП 1% : 0.66 [10:51:04]line НДС 12% : 7.96 [10:51:04]line Наличными: 0.00 [10:51:04]line Безнал.: 75.00 [10:51:04]line Место: АЗС № 126 "Партнер Нефть" [10:51:04]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [10:51:04]line СНО: Общий режим [10:51:04]line Чек 30 27.10.2024 10:51 [10:51:04]line Смена: 550 ФФД: 1.0 [10:51:04]line ЗНМ: 0300000092 [10:51:04]line РНМ: 0000000000091684 [10:51:04]line Версия ККМ: 001 [10:51:04]line Платежная система: Mbank [10:51:04]line ФМ: 0000000000871841 [10:51:04]line ФД: 37704 [10:51:04]line ФПД: 100386961545964 [10:51:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T105104&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37704&fm=100386961545964&tin=02508201610067®Number=0000000000091684&sum=7500 [10:51:04]line 0 [10:51:04]OFD Sender: Processing packet 37704 [packets to send 42, broken 41] [10:51:04]ProducePacketName [10:51:04]name=ofd_packets/00037704 [10:51:04]OFD Sender: To server: pG, [10:51:04]CommunicateWithHost lk.salyk.kg:30040 [10:51:04]ConnectInit lk.salyk.kg [10:51:04]written 0, free lines is 4095 [10:51:05]Connected sock=10 [10:51:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 36 01 00 00 7B 69 2E 01 46 D9 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 34 30 35 39 06 04 30 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 30 2C 35 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 1D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 18 1B 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 48 93 00 00 35 04 06 00 5B 4D 29 2E DA EC 23 89 4B 96 9E C0 22 AC [10:51:05]Write to MH i2c: 01 00 00 83 06 89 [10:51:05]Write i2c OK [10:51:05]MH_I2C_Read... [10:51:05]Read from MH i2c: 01 [10:51:05]MH_I2C_Read... [10:51:05]Read from MH i2c: 01 07 00 [10:51:05]MH_I2C_Read... [10:51:05]Read from MH i2c: 01 07 00 83 06 00 00 00 00 00 A5 0C 41 [10:51:05]RasterBufferAndPrint [10:51:05]line [10:51:05]line [10:51:05]line [10:51:05]line [10:51:05]line [10:51:05]written 0, free lines is 3241 [10:51:05]MH_Cut [10:51:05]Write to MH i2c: D1 01 00 8A 06 01 62 [10:51:05]Write i2c OK [10:51:05]MH_I2C_Read... [10:51:05]Read from MH i2c: D1 [10:51:05]MH_I2C_Read... [10:51:05]Read from MH i2c: D1 01 00 [10:51:05]MH_I2C_Read... [10:51:05]Read from MH i2c: D1 01 00 8A 06 00 61 [10:51:05]Write to MH i2c: 01 00 00 8B 06 91 [10:51:05]Write i2c OK [10:51:05]MH_I2C_Read... [10:51:05]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 3C 48 47 00 68 83 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 48 93 00 00 F4 03 04 00 10 C6 1D 67 B6 04 01 00 00 2F AE AE F0 91 9D F8 2D [10:51:05]CommunicateWithHost err = 0 [10:51:05]CheckOFDResponse [10:51:05]1017 (14) - 77093643461234 [10:51:05]1041 (16) - 0000000000871841 [10:51:05]1040 (4) - 37704 [10:51:05]1012 (4) - 27.10.2024 04:48 [10:51:05]1206 (1) - 0 [10:51:05]OFD Sender: Remove packet 37704 [10:51:05]ProducePacketName [10:51:05]name=ofd_packets/00037704 [10:51:05]NVStorageDeleteData [10:51:05]OFD Sender: No OFD packet to send [10:51:06]*** Cut start [10:51:06]*** Partial cut [10:51:06]*** CUTSNS_PIN = 1 [10:51:06]*** CUTSNS_PIN = 0 [10:51:06]*** Brake cut motor [10:51:06]Read from MH i2c: 01 [10:51:06]MH_I2C_Read... [10:51:06]*** Stop cut motor [10:51:06]*** Cut end [10:51:06]Read from MH i2c: 01 07 00 [10:51:06]MH_I2C_Read... [10:51:06]Read from MH i2c: 01 07 00 8B 06 00 00 00 00 00 FF 0F A6 [10:51:06]process_action close_receipt done [10:51:06]requested_data is exist [10:51:06]produce_requested_data [10:51:06]requested_item fm.sn is exist - process it [10:51:06]wFMCommunicate request_size=4 [10:51:06]MH_SAM_APDU [10:51:06]CAPDU: 80 11 00 00 [10:51:06]Write to MH i2c: E2 08 00 8C 06 80 11 00 00 00 00 00 00 0C [10:51:06]Write i2c OK [10:51:06]MH_I2C_Read... [10:51:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:51:06]Read from MH i2c: E2 [10:51:06]MH_I2C_Read... [10:51:06]Read from MH i2c: E2 17 00 [10:51:06]MH_I2C_Read... [10:51:06]Read from MH i2c: E2 17 00 8C 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 5C [10:51:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:51:06]wFMCommunicate OK [10:51:06]requested_item fd.num is exist - process it [10:51:06]SAM_PROTO_GetFieldsCounters [10:51:06]wFMCommunicate request_size=4 [10:51:06]MH_SAM_APDU [10:51:06]CAPDU: 80 13 00 00 [10:51:06]Write to MH i2c: E2 08 00 8D 06 80 13 00 00 00 00 00 00 0F [10:51:06]Write i2c OK [10:51:06]MH_I2C_Read... [10:51:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:51:07]Read from MH i2c: E2 [10:51:07]MH_I2C_Read... [10:51:07]Read from MH i2c: E2 62 00 [10:51:07]MH_I2C_Read... [10:51:07]Read from MH i2c: E2 62 00 8D 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 48 93 00 00 0E 04 04 00 26 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 8D [10:51:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 48 93 00 00 0E 04 04 00 26 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 [10:51:07]wFMCommunicate OK [10:51:07]SAM_PROTO_GetFieldsCounters done [10:51:07]requested_item shift.num is exist - process it [10:51:07]requested_item shift.opened is exist - process it [10:51:07]req_shift_opened [10:51:07]FM_GetShiftState [10:51:07]SAM_PROTO_GetShiftState [10:51:07]wFMCommunicate request_size=4 [10:51:07]MH_SAM_APDU [10:51:07]CAPDU: 80 13 01 00 [10:51:07]Write to MH i2c: E2 08 00 8E 06 80 13 01 00 00 00 00 00 11 [10:51:07]Write i2c OK [10:51:07]MH_I2C_Read... [10:51:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:51:07]Read from MH i2c: E2 [10:51:07]MH_I2C_Read... [10:51:07]Read from MH i2c: E2 0E 00 [10:51:07]MH_I2C_Read... [10:51:07]Read from MH i2c: E2 0E 00 8E 06 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 C8 [10:51:07]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [10:51:07]wFMCommunicate OK [10:51:07]SAM_PROTO_GetShiftState done [10:51:07]FM_GetShiftState done [10:51:07]req_shift_opened done [10:51:07]requested_item shift.open_date is exist - process it [10:51:07]req_shift_open_date [10:51:07]req_shift_open_date done [10:51:07]produce_requested_data done [10:51:07]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37704,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [10:51:07]process_action_free close_receipt [10:51:07]json_value_free [10:51:07]json_value_free done [10:51:07]process_json_proto returns [10:51:07]Send response to host [10:51:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37704,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [10:51:07]free response buf [10:51:07]execute_script done [10:51:07]execute_script returns [10:51:07]free content buf [10:51:07]Sock 9.Close socket [10:51:07]Sock 9.Thread stoped [10:51:10]OFD Sender: No OFD packet to send [10:51:15]OFD Sender: No OFD packet to send [10:51:20]OFD Sender: No OFD packet to send [10:51:25]OFD Sender: No OFD packet to send [10:51:30]OFD Sender: No OFD packet to send [10:51:35]OFD Sender: No OFD packet to send [10:51:40]OFD Sender: No OFD packet to send [10:51:45]OFD Sender: No OFD packet to send [10:51:50]OFD Sender: No OFD packet to send [10:51:55]OFD Sender: No OFD packet to send [10:52:00]OFD Sender: No OFD packet to send [10:52:05]OFD Sender: No OFD packet to send [10:52:10]OFD Sender: No OFD packet to send [10:52:15]OFD Sender: No OFD packet to send [10:52:20]OFD Sender: No OFD packet to send [10:52:25]OFD Sender: No OFD packet to send [10:52:30]OFD Sender: No OFD packet to send [10:52:35]OFD Sender: No OFD packet to send [10:52:40]OFD Sender: No OFD packet to send [10:52:45]OFD Sender: No OFD packet to send [10:52:50]OFD Sender: No OFD packet to send [10:52:55]OFD Sender: No OFD packet to send [10:53:00]OFD Sender: No OFD packet to send [10:53:05]OFD Sender: No OFD packet to send [10:53:10]OFD Sender: No OFD packet to send [10:53:16]OFD Sender: No OFD packet to send [10:53:21]OFD Sender: No OFD packet to send [10:53:26]OFD Sender: No OFD packet to send [10:53:31]OFD Sender: No OFD packet to send [10:53:36]OFD Sender: No OFD packet to send [10:53:41]OFD Sender: No OFD packet to send [10:53:46]OFD Sender: No OFD packet to send [10:53:51]OFD Sender: No OFD packet to send [10:53:56]OFD Sender: No OFD packet to send [10:54:01]OFD Sender: No OFD packet to send [10:54:06]OFD Sender: No OFD packet to send [10:54:11]OFD Sender: No OFD packet to send [10:54:16]OFD Sender: No OFD packet to send [10:54:21]OFD Sender: No OFD packet to send [10:54:26]OFD Sender: No OFD packet to send [10:54:31]OFD Sender: No OFD packet to send [10:54:36]OFD Sender: No OFD packet to send [10:54:41]OFD Sender: No OFD packet to send [10:54:46]OFD Sender: No OFD packet to send [10:54:51]OFD Sender: No OFD packet to send [10:54:56]OFD Sender: No OFD packet to send [10:55:01]OFD Sender: No OFD packet to send [10:55:06]OFD Sender: No OFD packet to send [10:55:11]OFD Sender: No OFD packet to send [10:55:16]OFD Sender: No OFD packet to send [10:55:21]OFD Sender: No OFD packet to send [10:55:26]OFD Sender: No OFD packet to send [10:55:31]OFD Sender: No OFD packet to send [10:55:36]OFD Sender: No OFD packet to send [10:55:41]OFD Sender: No OFD packet to send [10:55:46]OFD Sender: No OFD packet to send [10:55:51]OFD Sender: No OFD packet to send [10:55:56]OFD Sender: No OFD packet to send [10:56:01]OFD Sender: No OFD packet to send [10:56:06]OFD Sender: No OFD packet to send [10:56:11]OFD Sender: No OFD packet to send [10:56:16]OFD Sender: No OFD packet to send [10:56:21]OFD Sender: No OFD packet to send [10:56:26]OFD Sender: No OFD packet to send [10:56:31]OFD Sender: No OFD packet to send [10:56:36]OFD Sender: No OFD packet to send [10:56:41]OFD Sender: No OFD packet to send [10:56:46]OFD Sender: No OFD packet to send [10:56:51]OFD Sender: No OFD packet to send [10:56:56]OFD Sender: No OFD packet to send [10:57:01]OFD Sender: No OFD packet to send [10:57:06]OFD Sender: No OFD packet to send [10:57:11]OFD Sender: No OFD packet to send [10:57:16]OFD Sender: No OFD packet to send [10:57:21]OFD Sender: No OFD packet to send [10:57:26]OFD Sender: No OFD packet to send [10:57:31]OFD Sender: No OFD packet to send [10:57:36]OFD Sender: No OFD packet to send [10:57:41]OFD Sender: No OFD packet to send [10:57:46]OFD Sender: No OFD packet to send [10:57:51]OFD Sender: No OFD packet to send [10:57:56]OFD Sender: No OFD packet to send [10:58:01]OFD Sender: No OFD packet to send [10:58:06]OFD Sender: No OFD packet to send [10:58:11]OFD Sender: No OFD packet to send [10:58:16]OFD Sender: No OFD packet to send [10:58:21]OFD Sender: No OFD packet to send [10:58:26]OFD Sender: No OFD packet to send [10:58:31]OFD Sender: No OFD packet to send [10:58:36]OFD Sender: No OFD packet to send [10:58:41]OFD Sender: No OFD packet to send [10:58:46]OFD Sender: No OFD packet to send [10:58:51]OFD Sender: No OFD packet to send [10:58:56]OFD Sender: No OFD packet to send [10:59:01]OFD Sender: No OFD packet to send [10:59:06]OFD Sender: No OFD packet to send [10:59:11]OFD Sender: No OFD packet to send [10:59:16]OFD Sender: No OFD packet to send [10:59:21]OFD Sender: No OFD packet to send [10:59:26]OFD Sender: No OFD packet to send [10:59:31]OFD Sender: No OFD packet to send [10:59:36]OFD Sender: No OFD packet to send [10:59:41]OFD Sender: No OFD packet to send [10:59:46]OFD Sender: No OFD packet to send [10:59:51]OFD Sender: No OFD packet to send [10:59:56]OFD Sender: No OFD packet to send [11:00:01]OFD Sender: No OFD packet to send [11:00:06]OFD Sender: No OFD packet to send [11:00:11]OFD Sender: No OFD packet to send [11:00:16]OFD Sender: No OFD packet to send [11:00:21]OFD Sender: No OFD packet to send [11:00:26]OFD Sender: No OFD packet to send [11:00:31]OFD Sender: No OFD packet to send [11:00:36]OFD Sender: No OFD packet to send [11:00:41]OFD Sender: No OFD packet to send [11:00:46]OFD Sender: No OFD packet to send [11:00:51]OFD Sender: No OFD packet to send [11:00:56]OFD Sender: No OFD packet to send [11:01:01]OFD Sender: No OFD packet to send [11:01:06]OFD Sender: No OFD packet to send [11:01:11]OFD Sender: No OFD packet to send [11:01:16]OFD Sender: No OFD packet to send [11:01:21]OFD Sender: No OFD packet to send [11:01:26]OFD Sender: No OFD packet to send [11:01:31]OFD Sender: No OFD packet to send [11:01:36]OFD Sender: No OFD packet to send [11:01:41]OFD Sender: No OFD packet to send [11:01:46]OFD Sender: No OFD packet to send [11:01:51]OFD Sender: No OFD packet to send [11:01:56]OFD Sender: No OFD packet to send [11:02:01]OFD Sender: No OFD packet to send [11:02:06]OFD Sender: No OFD packet to send [11:02:11]OFD Sender: No OFD packet to send [11:02:16]OFD Sender: No OFD packet to send [11:02:21]OFD Sender: No OFD packet to send [11:02:26]OFD Sender: No OFD packet to send [11:02:31]OFD Sender: No OFD packet to send [11:02:36]OFD Sender: No OFD packet to send [11:02:41]OFD Sender: No OFD packet to send [11:02:46]OFD Sender: No OFD packet to send [11:02:51]OFD Sender: No OFD packet to send [11:02:56]OFD Sender: No OFD packet to send [11:03:01]OFD Sender: No OFD packet to send [11:03:06]OFD Sender: No OFD packet to send [11:03:11]OFD Sender: No OFD packet to send [11:03:16]OFD Sender: No OFD packet to send [11:03:21]OFD Sender: No OFD packet to send [11:03:26]OFD Sender: No OFD packet to send [11:03:31]OFD Sender: No OFD packet to send [11:03:36]OFD Sender: No OFD packet to send [11:03:41]OFD Sender: No OFD packet to send [11:03:46]OFD Sender: No OFD packet to send [11:03:51]OFD Sender: No OFD packet to send [11:03:56]OFD Sender: No OFD packet to send [11:04:01]OFD Sender: No OFD packet to send [11:04:06]OFD Sender: No OFD packet to send [11:04:11]OFD Sender: No OFD packet to send [11:04:16]OFD Sender: No OFD packet to send [11:04:21]OFD Sender: No OFD packet to send [11:04:26]OFD Sender: No OFD packet to send [11:04:31]OFD Sender: No OFD packet to send [11:04:36]OFD Sender: No OFD packet to send [11:04:41]OFD Sender: No OFD packet to send [11:04:46]OFD Sender: No OFD packet to send [11:04:51]OFD Sender: No OFD packet to send [11:04:56]OFD Sender: No OFD packet to send [11:05:01]OFD Sender: No OFD packet to send [11:05:06]OFD Sender: No OFD packet to send [11:05:11]OFD Sender: No OFD packet to send [11:05:16]OFD Sender: No OFD packet to send [11:05:21]OFD Sender: No OFD packet to send [11:05:26]OFD Sender: No OFD packet to send [11:05:31]OFD Sender: No OFD packet to send [11:05:36]OFD Sender: No OFD packet to send [11:05:41]OFD Sender: No OFD packet to send [11:05:46]OFD Sender: No OFD packet to send [11:05:51]OFD Sender: No OFD packet to send [11:05:56]OFD Sender: No OFD packet to send [11:06:01]OFD Sender: No OFD packet to send [11:06:06]OFD Sender: No OFD packet to send [11:06:11]OFD Sender: No OFD packet to send [11:06:16]OFD Sender: No OFD packet to send [11:06:21]OFD Sender: No OFD packet to send [11:06:26]OFD Sender: No OFD packet to send [11:06:31]OFD Sender: No OFD packet to send [11:06:36]OFD Sender: No OFD packet to send [11:06:41]OFD Sender: No OFD packet to send [11:06:46]OFD Sender: No OFD packet to send [11:06:51]OFD Sender: No OFD packet to send [11:06:56]OFD Sender: No OFD packet to send [11:07:01]OFD Sender: No OFD packet to send [11:07:06]OFD Sender: No OFD packet to send [11:07:11]OFD Sender: No OFD packet to send [11:07:16]OFD Sender: No OFD packet to send [11:07:21]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:21]OFD Sender: No OFD packet to send [11:08:26]OFD Sender: No OFD packet to send [11:08:31]OFD Sender: No OFD packet to send [11:08:36]OFD Sender: No OFD packet to send [11:08:41]OFD Sender: No OFD packet to send [11:08:46]OFD Sender: No OFD packet to send [11:08:51]OFD Sender: No OFD packet to send [11:08:56]OFD Sender: No OFD packet to send [11:09:01]OFD Sender: No OFD packet to send [11:09:06]OFD Sender: No OFD packet to send [11:09:11]OFD Sender: No OFD packet to send [11:09:16]OFD Sender: No OFD packet to send [11:09:21]OFD Sender: No OFD packet to send [11:09:26]OFD Sender: No OFD packet to send [11:09:31]OFD Sender: No OFD packet to send [11:09:36]OFD Sender: No OFD packet to send [11:09:41]OFD Sender: No OFD packet to send [11:09:46]OFD Sender: No OFD packet to send [11:09:51]OFD Sender: No OFD packet to send [11:09:56]OFD Sender: No OFD packet to send [11:10:01]OFD Sender: No OFD packet to send [11:10:06]OFD Sender: No OFD packet to send [11:10:11]OFD Sender: No OFD packet to send [11:10:16]OFD Sender: No OFD packet to send [11:10:21]OFD Sender: No OFD packet to send [11:10:26]OFD Sender: No OFD packet to send [11:10:31]OFD Sender: No OFD packet to send [11:10:36]OFD Sender: No OFD packet to send [11:10:41]OFD Sender: No OFD packet to send [11:10:46]OFD Sender: No OFD packet to send [11:10:51]OFD Sender: No OFD packet to send [11:10:56]OFD Sender: No OFD packet to send [11:11:01]OFD Sender: No OFD packet to send [11:11:06]OFD Sender: No OFD packet to send [11:11:11]OFD Sender: No OFD packet to send [11:11:16]OFD Sender: No OFD packet to send [11:11:21]OFD Sender: No OFD packet to send [11:11:26]OFD Sender: No OFD packet to send [11:11:31]OFD Sender: No OFD packet to send [11:11:36]OFD Sender: No OFD packet to send [11:11:41]OFD Sender: No OFD packet to send [11:11:46]OFD Sender: No OFD packet to send [11:11:52]OFD Sender: No OFD packet to send [11:11:57]OFD Sender: No OFD packet to send [11:12:02]OFD Sender: No OFD packet to send [11:12:07]OFD Sender: No OFD packet to send [11:12:12]OFD Sender: No OFD packet to send [11:12:17]OFD Sender: No OFD packet to send [11:12:22]OFD Sender: No OFD packet to send [11:12:27]OFD Sender: No OFD packet to send [11:12:32]OFD Sender: No OFD packet to send [11:12:37]OFD Sender: No OFD packet to send [11:12:42]OFD Sender: No OFD packet to send [11:12:47]OFD Sender: No OFD packet to send [11:12:52]OFD Sender: No OFD packet to send [11:12:57]OFD Sender: No OFD packet to send [11:13:02]OFD Sender: No OFD packet to send [11:13:07]OFD Sender: No OFD packet to send [11:13:12]OFD Sender: No OFD packet to send [11:13:17]OFD Sender: No OFD packet to send [11:13:22]OFD Sender: No OFD packet to send [11:13:27]OFD Sender: No OFD packet to send [11:13:32]OFD Sender: No OFD packet to send [11:13:37]OFD Sender: No OFD packet to send [11:13:42]OFD Sender: No OFD packet to send [11:13:47]OFD Sender: No OFD packet to send [11:13:52]OFD Sender: No OFD packet to send [11:13:57]OFD Sender: No OFD packet to send [11:14:02]OFD Sender: No OFD packet to send [11:14:07]OFD Sender: No OFD packet to send [11:14:12]OFD Sender: No OFD packet to send [11:14:17]OFD Sender: No OFD packet to send [11:14:22]OFD Sender: No OFD packet to send [11:14:27]OFD Sender: No OFD packet to send [11:14:32]OFD Sender: No OFD packet to send [11:14:37]OFD Sender: No OFD packet to send [11:14:42]OFD Sender: No OFD packet to send [11:14:47]OFD Sender: No OFD packet to send [11:14:52]OFD Sender: No OFD packet to send [11:14:57]OFD Sender: No OFD packet to send [11:15:02]OFD Sender: No OFD packet to send [11:15:07]OFD Sender: No OFD packet to send [11:15:12]OFD Sender: No OFD packet to send [11:15:17]OFD Sender: No OFD packet to send [11:15:22]OFD Sender: No OFD packet to send [11:15:27]OFD Sender: No OFD packet to send [11:15:32]OFD Sender: No OFD packet to send [11:15:37]OFD Sender: No OFD packet to send [11:15:42]OFD Sender: No OFD packet to send [11:15:47]OFD Sender: No OFD packet to send [11:15:52]OFD Sender: No OFD packet to send [11:15:57]OFD Sender: No OFD packet to send [11:16:02]OFD Sender: No OFD packet to send [11:16:07]OFD Sender: No OFD packet to send [11:16:12]OFD Sender: No OFD packet to send [11:16:17]OFD Sender: No OFD packet to send [11:16:22]OFD Sender: No OFD packet to send [11:16:27]OFD Sender: No OFD packet to send [11:16:32]OFD Sender: No OFD packet to send [11:16:37]OFD Sender: No OFD packet to send [11:16:42]OFD Sender: No OFD packet to send [11:16:47]OFD Sender: No OFD packet to send [11:16:52]OFD Sender: No OFD packet to send [11:16:57]OFD Sender: No OFD packet to send [11:17:02]OFD Sender: No OFD packet to send [11:17:07]OFD Sender: No OFD packet to send [11:17:12]OFD Sender: No OFD packet to send [11:17:17]OFD Sender: No OFD packet to send [11:17:22]OFD Sender: No OFD packet to send [11:17:27]OFD Sender: No OFD packet to send [11:17:32]OFD Sender: No OFD packet to send [11:17:37]OFD Sender: No OFD packet to send [11:17:42]OFD Sender: No OFD packet to send [11:17:47]OFD Sender: No OFD packet to send [11:17:52]OFD Sender: No OFD packet to send [11:17:57]OFD Sender: No OFD packet to send [11:18:02]OFD Sender: No OFD packet to send [11:18:07]OFD Sender: No OFD packet to send [11:18:12]OFD Sender: No OFD packet to send [11:18:17]OFD Sender: No OFD packet to send [11:18:22]OFD Sender: No OFD packet to send [11:18:27]OFD Sender: No OFD packet to send [11:18:32]OFD Sender: No OFD packet to send [11:18:37]OFD Sender: No OFD packet to send [11:18:42]OFD Sender: No OFD packet to send [11:18:47]OFD Sender: No OFD packet to send [11:18:52]OFD Sender: No OFD packet to send [11:18:57]OFD Sender: No OFD packet to send [11:19:02]OFD Sender: No OFD packet to send [11:19:07]OFD Sender: No OFD packet to send [11:19:12]OFD Sender: No OFD packet to send [11:19:17]OFD Sender: No OFD packet to send [11:19:22]OFD Sender: No OFD packet to send [11:19:27]OFD Sender: No OFD packet to send [11:19:32]OFD Sender: No OFD packet to send [11:19:37]OFD Sender: No OFD packet to send [11:19:42]OFD Sender: No OFD packet to send [11:19:47]OFD Sender: No OFD packet to send [11:19:52]OFD Sender: No OFD packet to send [11:19:57]OFD Sender: No OFD packet to send [11:20:02]OFD Sender: No OFD packet to send [11:20:07]OFD Sender: No OFD packet to send [11:20:12]OFD Sender: No OFD packet to send [11:20:17]OFD Sender: No OFD packet to send [11:20:22]OFD Sender: No OFD packet to send [11:20:27]OFD Sender: No OFD packet to send [11:20:32]OFD Sender: No OFD packet to send [11:20:37]OFD Sender: No OFD packet to send [11:20:42]OFD Sender: No OFD packet to send [11:20:47]OFD Sender: No OFD packet to send [11:20:52]OFD Sender: No OFD packet to send [11:20:57]OFD Sender: No OFD packet to send [11:21:02]OFD Sender: No OFD packet to send [11:21:07]OFD Sender: No OFD packet to send [11:21:12]OFD Sender: No OFD packet to send [11:21:17]OFD Sender: No OFD packet to send [11:21:22]OFD Sender: No OFD packet to send [11:21:27]OFD Sender: No OFD packet to send [11:21:32]OFD Sender: No OFD packet to send [11:21:37]OFD Sender: No OFD packet to send [11:21:42]OFD Sender: No OFD packet to send [11:21:47]OFD Sender: No OFD packet to send [11:21:52]OFD Sender: No OFD packet to send [11:21:57]OFD Sender: No OFD packet to send [11:22:02]OFD Sender: No OFD packet to send [11:22:07]OFD Sender: No OFD packet to send [11:22:12]OFD Sender: No OFD packet to send [11:22:17]OFD Sender: No OFD packet to send [11:22:22]OFD Sender: No OFD packet to send [11:22:27]OFD Sender: No OFD packet to send [11:22:32]OFD Sender: No OFD packet to send [11:22:37]OFD Sender: No OFD packet to send [11:22:42]OFD Sender: No OFD packet to send [11:22:47]OFD Sender: No OFD packet to send [11:22:52]OFD Sender: No OFD packet to send [11:22:57]OFD Sender: No OFD packet to send [11:23:02]OFD Sender: No OFD packet to send [11:23:07]OFD Sender: No OFD packet to send [11:23:12]OFD Sender: No OFD packet to send [11:23:17]OFD Sender: No OFD packet to send [11:23:22]OFD Sender: No OFD packet to send [11:23:27]OFD Sender: No OFD packet to send [11:23:32]OFD Sender: No OFD packet to send [11:23:37]OFD Sender: No OFD packet to send [11:23:42]OFD Sender: No OFD packet to send [11:23:47]OFD Sender: No OFD packet to send [11:23:50]accept exits with 7 [11:23:50]New connection [11:23:50]New thread 3067440484 created [11:23:50]Thread 3067297124 joined [11:23:50]Waiting for new connection... [11:23:50] Sock 7.Parse request [11:23:50]Sock 7.Check first char [11:23:50]Sock 7.First char is OK [11:23:50]request: POST /json_proto HTTP/1.0 [11:23:50]Method: POST [11:23:50]URL: /json_proto [11:23:50]Method is POST - this is cgi request [11:23:50]url: /json_proto [11:23:50]query_string will be loaded in cgi processing [11:23:50]execute_cgi json_proto POST (null) [11:23:50]execute_cgi path=json_proto method=POST [11:23:50]POST find Content-Length [11:23:50]Host: 172.17.40.196:8080 [11:23:50]Content-Length: 620 [11:23:50]Content-Type: application/json [11:23:50] [11:23:50]POST finish read [11:23:50]Found Content-Length = 620 [11:23:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35003", "tax_sys" : 0, "items" : [ { "code": "48747066", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston True Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:23:50]execute_script... [11:23: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)35003", "tax_sys" : 0, "items" : [ { "code": "48747066", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston True Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:23:50]POST & json_proto [11:23:50]process_json_proto [11:23:50]json parsed OK: [11:23:50]protocol is kg_v1.0 [11:23:50]action value=close_receipt [11:23:50]process_action close_receipt [11:23:50]cmd_close_receipt [11:23:50]MH_GetDate [11:23:50]Write to MH i2c: F0 00 00 8F 06 84 [11:23:50]Write i2c OK [11:23:50]MH_I2C_Read... [11:23:50]Read from MH i2c: F0 [11:23:50]MH_I2C_Read... [11:23:50]Read from MH i2c: F0 09 00 [11:23:50]MH_I2C_Read... [11:23:50]Read from MH i2c: F0 09 00 8F 06 00 C8 22 1E 67 5B 68 A1 66 C6 [11:23:50]GetLastDocTimeStamp 1730026264 [11:23:50]current date 1730028232 [11:23:50]FM_GetShiftState [11:23:50]SAM_PROTO_GetShiftState [11:23:50]wFMCommunicate request_size=4 [11:23:50]MH_SAM_APDU [11:23:50]CAPDU: 80 13 01 00 [11:23:50]Write to MH i2c: E2 08 00 90 06 80 13 01 00 00 00 00 00 13 [11:23:50]Write i2c OK [11:23:50]MH_I2C_Read... [11:23:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:23:50]Read from MH i2c: E2 [11:23:50]MH_I2C_Read... [11:23:50]Read from MH i2c: E2 0E 00 [11:23:50]MH_I2C_Read... [11:23:50]Read from MH i2c: E2 0E 00 90 06 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 CA [11:23:50]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [11:23:50]wFMCommunicate OK [11:23:50]SAM_PROTO_GetShiftState done [11:23:50]FM_GetShiftState done [11:23:50]opened in 1729987492 [11:23:50]opened+sec_in_day 1730073892 [11:23:50]quantity*price = 14400 [11:23:50]sum+1 = 14401 [11:23:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 31 27.10.2024 11:23 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37705 ФПД: 186516016195932 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T112352&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37705&fm=186516016195932&tin=02508201610067®Number=0000000000091684&sum=14400 0 [11:23:51]StoreToDocumentArchive [11:23:51]shift 550 fd 37705 [11:23:51]save to /storage/0550/doc_00037705 [11:23:51]save last doc name /storage/0550/doc_00037705 to /storage/kkm_last_doc_name [11:23:51]save OK [11:23:51]Clear old archive folders... [11:23:51]ProcessDocumentItem done err = 0, tmpTLVsize=273 [11:23:51]tlvbuf is 0026D3A0 [11:23:51]SAM_PROTO_ClearQueue [11:23:51]wFMCommunicate request_size=4 [11:23:51]MH_SAM_APDU [11:23:51]CAPDU: 80 09 00 00 [11:23:51]Write to MH i2c: E2 08 00 9D 06 80 09 00 00 00 00 00 00 15 [11:23:51]Write i2c OK [11:23:51]MH_I2C_Read... [11:23:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:23:51]Read from MH i2c: E2 [11:23:51]MH_I2C_Read... [11:23:51]Read from MH i2c: E2 03 00 [11:23:51]MH_I2C_Read... [11:23:51]Read from MH i2c: E2 03 00 9D 06 00 90 00 17 [11:23:51]RAPDU: 90 00 [11:23:51]wFMCommunicate OK [11:23:51]SAM_PROTO_ClearQueue done [11:23:51]KKMCreateOFDPacket [11:23:51]OFDProtocolAddRootSTLVToBuf [11:23:51]FM_MakeSignedData [11:23:51]FM_MakeSignedData [11:23:51]SAM_PROTO_SignData [11:23:51]wFMCommunicate request_size=4 [11:23:51]MH_SAM_APDU [11:23:51]CAPDU: 80 0D 01 02 [11:23:51]Write to MH i2c: E2 08 00 9E 06 80 0D 01 02 00 00 00 00 1D [11:23:51]Write i2c OK [11:23:51]MH_I2C_Read... [11:23:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:23:52]Read from MH i2c: E2 [11:23:52]MH_I2C_Read... [11:23:52]Read from MH i2c: E2 03 00 [11:23:52]MH_I2C_Read... [11:23:52]Read from MH i2c: E2 03 00 9E 06 00 90 00 18 [11:23:52]RAPDU: 90 00 [11:23:52]wFMCommunicate OK [11:23:52]wFMCommunicate request_size=255 [11:23:52]MH_SAM_APDU [11:23:52]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 C8 22 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [11:23:52]Write to MH i2c: E2 02 01 9F 06 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 C8 22 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 68 [11:23:52]Write i2c OK [11:23:52]MH_I2C_Read... [11:23:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:23:52]Read from MH i2c: E2 [11:23:52]MH_I2C_Read... [11:23:52]Read from MH i2c: E2 03 00 [11:23:52]MH_I2C_Read... [11:23:52]Read from MH i2c: E2 03 00 9F 06 00 90 00 19 [11:23:52]RAPDU: 90 00 [11:23:52]wFMCommunicate OK [11:23:52]wFMCommunicate request_size=32 [11:23:52]MH_SAM_APDU [11:23:52]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 49 93 00 00 35 04 06 00 A9 A2 A4 E3 E9 5C [11:23:52]Write to MH i2c: E2 23 00 A0 06 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 49 93 00 00 35 04 06 00 A9 A2 A4 E3 E9 5C 00 00 6D [11:23:52]Write i2c OK [11:23:52]MH_I2C_Read... [11:23:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:23:52]Read from MH i2c: E2 [11:23:52]MH_I2C_Read... [11:23:52]Read from MH i2c: E2 03 00 [11:23:52]MH_I2C_Read... [11:23:52]Read from MH i2c: E2 03 00 A0 06 00 90 00 1A [11:23:52]RAPDU: 90 00 [11:23:52]wFMCommunicate OK [11:23:52]wFMCommunicate request_size=4 [11:23:52]MH_SAM_APDU [11:23:52]CAPDU: 80 0D 03 02 [11:23:52]Write to MH i2c: E2 08 00 A1 06 80 0D 03 02 00 00 00 00 22 [11:23:52]Write i2c OK [11:23:52]MH_I2C_Read... [11:23:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:23:52]Read from MH i2c: E2 [11:23:52]MH_I2C_Read... [11:23:52]Read from MH i2c: E2 0B 00 [11:23:52]MH_I2C_Read... [11:23:52]Read from MH i2c: E2 0B 00 A1 06 00 69 63 1E 15 53 D0 04 13 90 00 5C [11:23:52]RAPDU: 69 63 1E 15 53 D0 04 13 90 00 [11:23:52]wFMCommunicate OK [11:23:52]SAM_PROTO_SignData done [11:23:52]FM_MakeSignedData done [11:23:52]CreateOFDProtocolMessage [11:23:52]wFMCommunicate request_size=4 [11:23:52]MH_SAM_APDU [11:23:52]CAPDU: 80 11 00 00 [11:23:52]Write to MH i2c: E2 08 00 A2 06 80 11 00 00 00 00 00 00 22 [11:23:52]Write i2c OK [11:23:52]MH_I2C_Read... [11:23:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:23:52]Read from MH i2c: E2 [11:23:52]MH_I2C_Read... [11:23:52]Read from MH i2c: E2 17 00 [11:23:52]MH_I2C_Read... [11:23:52]Read from MH i2c: E2 17 00 A2 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 72 [11:23:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:23:52]wFMCommunicate OK [11:23:52]CreateOFDProtocolMessage done [11:23:52]OFDSenderStorePacket 37705 [11:23:52]StoreOFDPacket docnum=37705 [11:23: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 25 01 00 00 DE 0E 1D 01 B4 E4 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 C8 22 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 49 93 00 00 35 04 06 00 A9 A2 A4 E3 E9 5C 69 63 1E 15 53 D0 04 13 [11:23:52]CheckFolder [11:23:52]dirname=/storage/ofd_packets [11:23:52]CheckFolder done [11:23:52]ProducePacketName [11:23:52]name=ofd_packets/00037705 [11:23:52]NVStorageSaveData ofd_packets/00037705 [11:23:52]File name is /storage/ofd_packets/00037705 [11:23:52]Write 323 bytes [11:23:52]NVStorageSaveData done [11:23:52]OFDSenderStorePacket done [11:23:52]KKMCreateOFDPacket done [11:23:52]NVStorageSaveData kkm_last_timestamp [11:23:52]File name is /storage/kkm_last_timestamp [11:23:52]Write 4 bytes [11:23:52]NVStorageSaveData done [11:23:52]ExternCall_PrintAddStr [11:23:52]wPrintStart [11:23:52]Write to MH i2c: 01 00 00 A3 06 A9 [11:23:52]Write i2c OK [11:23:52]MH_I2C_Read... [11:23:52]Read from MH i2c: 01 [11:23:52]MH_I2C_Read... [11:23:52]Read from MH i2c: 01 07 00 [11:23:52]MH_I2C_Read... [11:23:52]Read from MH i2c: 01 07 00 A3 06 00 00 00 00 00 FF 0F BE [11:23:52]RasterBufferAndPrint [11:23:52]line Счет N : (3)35003 [11:23:52]line ИНН: 02508201610067 [11:23:52]line Контрольно-Кассовый Чек [11:23:52]line ПРОДАЖА [11:23:52]line Товар: 48747066 [11:23:52]line Сигареты Winston True Silver [11:23:52]line 1.000 * 144.00 [11:23:52]line = 144.00 [11:23:52]line НДС 12% НСП 1% [11:23:52]line > о реализуемом товаре [11:23:52]line ИТОГО: 144.00 [11:23:52]line НСП 1% : 1.27 [11:23:52]line НДС 12% : 15.29 [11:23:52]line Наличными: 144.00 [11:23:52]line Безнал.: 0.00 [11:23:52]line Место: АЗС № 126 "Партнер Нефть" [11:23:52]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [11:23:52]line СНО: Общий режим [11:23:52]line Чек 31 27.10.2024 11:23 [11:23:52]line Смена: 550 ФФД: 1.0 [11:23:52]line ЗНМ: 0300000092 [11:23:52]line РНМ: 0000000000091684 [11:23:52]line Версия ККМ: 001 [11:23:52]line ФМ: 0000000000871841 [11:23:52]line ФД: 37705 [11:23:52]line ФПД: 186516016195932 [11:23:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T112352&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37705&fm=186516016195932&tin=02508201610067®Number=0000000000091684&sum=14400 [11:23:52]line 0 [11:23:52]OFD Sender: Processing packet 37705 [packets to send 42, broken 41] [11:23:52]ProducePacketName [11:23:52]name=ofd_packets/00037705 [11:23:52]OFD Sender: To server: pG, [11:23:52]CommunicateWithHost lk.salyk.kg:30040 [11:23:52]ConnectInit lk.salyk.kg [11:23:52]written 0, free lines is 4095 [11:23:52]Connected sock=10 [11:23: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 25 01 00 00 DE 0E 1D 01 B4 E4 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 C8 22 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 49 93 00 00 35 04 06 00 A9 A2 A4 E3 E9 5C 69 63 1E 15 53 D0 04 13 [11:23:53]Write to MH i2c: 01 00 00 CB 06 D1 [11:23:53]Write i2c OK [11:23:53]MH_I2C_Read... [11:23:53]Read from MH i2c: 01 [11:23:53]MH_I2C_Read... [11:23:53]Read from MH i2c: 01 07 00 [11:23:53]MH_I2C_Read... [11:23:53]Read from MH i2c: 01 07 00 CB 06 00 00 00 00 00 C0 0C A4 [11:23:53]RasterBufferAndPrint [11:23:53]line [11:23:53]line [11:23:53]line [11:23:53]line [11:23:53]line [11:23:53]written 0, free lines is 3268 [11:23:53]MH_Cut [11:23:53]Write to MH i2c: D1 01 00 D2 06 01 AA [11:23:53]Write i2c OK [11:23:53]MH_I2C_Read... [11:23:53]Read from MH i2c: D1 [11:23:53]MH_I2C_Read... [11:23:53]Read from MH i2c: D1 01 00 [11:23:53]MH_I2C_Read... [11:23:53]Read from MH i2c: D1 01 00 D2 06 00 A9 [11:23:53]Write to MH i2c: 01 00 00 D3 06 D9 [11:23:53]Write i2c OK [11:23:53]MH_I2C_Read... [11:23: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 4C 58 47 00 40 37 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 49 93 00 00 F4 03 04 00 C0 CD 1D 67 B6 04 01 00 00 FF 49 01 4D 51 9F 97 0B [11:23:53]CommunicateWithHost err = 0 [11:23:53]CheckOFDResponse [11:23:53]1017 (14) - 77093643461234 [11:23:53]1041 (16) - 0000000000871841 [11:23:53]1040 (4) - 37705 [11:23:53]1012 (4) - 27.10.2024 05:21 [11:23:53]1206 (1) - 0 [11:23:53]OFD Sender: Remove packet 37705 [11:23:53]ProducePacketName [11:23:53]name=ofd_packets/00037705 [11:23:53]NVStorageDeleteData [11:23:53]OFD Sender: No OFD packet to send [11:23:54]*** Cut start [11:23:54]*** Partial cut [11:23:54]*** CUTSNS_PIN = 1 [11:23:54]*** CUTSNS_PIN = 0 [11:23:54]*** Brake cut motor [11:23:54]Read from MH i2c: 01 [11:23:54]MH_I2C_Read... [11:23:54]*** Stop cut motor [11:23:54]*** Cut end [11:23:54]Read from MH i2c: 01 07 00 [11:23:54]MH_I2C_Read... [11:23:54]Read from MH i2c: 01 07 00 D3 06 00 00 00 00 00 FF 0F EE [11:23:54]process_action close_receipt done [11:23:54]requested_data is exist [11:23:54]produce_requested_data [11:23:54]requested_item fm.sn is exist - process it [11:23:54]wFMCommunicate request_size=4 [11:23:54]MH_SAM_APDU [11:23:54]CAPDU: 80 11 00 00 [11:23:54]Write to MH i2c: E2 08 00 D4 06 80 11 00 00 00 00 00 00 54 [11:23:54]Write i2c OK [11:23:54]MH_I2C_Read... [11:23:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:23:54]Read from MH i2c: E2 [11:23:54]MH_I2C_Read... [11:23:54]Read from MH i2c: E2 17 00 [11:23:54]MH_I2C_Read... [11:23:54]Read from MH i2c: E2 17 00 D4 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A4 [11:23: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:23:54]wFMCommunicate OK [11:23:54]requested_item fd.num is exist - process it [11:23:54]SAM_PROTO_GetFieldsCounters [11:23:54]wFMCommunicate request_size=4 [11:23:54]MH_SAM_APDU [11:23:54]CAPDU: 80 13 00 00 [11:23:54]Write to MH i2c: E2 08 00 D5 06 80 13 00 00 00 00 00 00 57 [11:23:54]Write i2c OK [11:23:54]MH_I2C_Read... [11:23:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:23:54]Read from MH i2c: E2 [11:23:54]MH_I2C_Read... [11:23:54]Read from MH i2c: E2 62 00 [11:23:54]MH_I2C_Read... [11:23:54]Read from MH i2c: E2 62 00 D5 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 49 93 00 00 0E 04 04 00 26 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 D9 [11:23: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 49 93 00 00 0E 04 04 00 26 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 [11:23:54]wFMCommunicate OK [11:23:54]SAM_PROTO_GetFieldsCounters done [11:23:54]requested_item shift.num is exist - process it [11:23:54]requested_item shift.opened is exist - process it [11:23:54]req_shift_opened [11:23:54]FM_GetShiftState [11:23:54]SAM_PROTO_GetShiftState [11:23:54]wFMCommunicate request_size=4 [11:23:54]MH_SAM_APDU [11:23:54]CAPDU: 80 13 01 00 [11:23:54]Write to MH i2c: E2 08 00 D6 06 80 13 01 00 00 00 00 00 59 [11:23:54]Write i2c OK [11:23:54]MH_I2C_Read... [11:23:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:23:54]Read from MH i2c: E2 [11:23:54]MH_I2C_Read... [11:23:54]Read from MH i2c: E2 0E 00 [11:23:54]MH_I2C_Read... [11:23:54]Read from MH i2c: E2 0E 00 D6 06 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 10 [11:23:54]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [11:23:54]wFMCommunicate OK [11:23:54]SAM_PROTO_GetShiftState done [11:23:54]FM_GetShiftState done [11:23:54]req_shift_opened done [11:23:54]requested_item shift.open_date is exist - process it [11:23:54]req_shift_open_date [11:23:54]req_shift_open_date done [11:23:54]produce_requested_data done [11:23:54]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37705,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [11:23:54]process_action_free close_receipt [11:23:54]json_value_free [11:23:54]json_value_free done [11:23:54]process_json_proto returns [11:23:54]Send response to host [11:23:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37705,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [11:23:54]free response buf [11:23:54]execute_script done [11:23:54]execute_script returns [11:23:54]free content buf [11:23:54]Sock 7.Close socket [11:23:54]Sock 7.Thread stoped [11:23:58]OFD Sender: No OFD packet to send [11:24:03]OFD Sender: No OFD packet to send [11:24:08]OFD Sender: No OFD packet to send [11:24:13]OFD Sender: No OFD packet to send [11:24:18]OFD Sender: No OFD packet to send [11:24:23]OFD Sender: No OFD packet to send [11:24:28]OFD Sender: No OFD packet to send [11:24:33]OFD Sender: No OFD packet to send [11:24:38]OFD Sender: No OFD packet to send [11:24:43]OFD Sender: No OFD packet to send [11:24:48]OFD Sender: No OFD packet to send [11:24:53]OFD Sender: No OFD packet to send [11:24:58]OFD Sender: No OFD packet to send [11:25:03]OFD Sender: No OFD packet to send [11:25:08]OFD Sender: No OFD packet to send [11:25:13]OFD Sender: No OFD packet to send [11:25:18]OFD Sender: No OFD packet to send [11:25:23]OFD Sender: No OFD packet to send [11:25:33]OFD Sender: No OFD packet to send [11:25:38]OFD Sender: No OFD packet to send [11:25:43]OFD Sender: No OFD packet to send [11:25:48]OFD Sender: No OFD packet to send [11:25:53]OFD Sender: No OFD packet to send [11:25:58]OFD Sender: No OFD packet to send [11:26:03]OFD Sender: No OFD packet to send [11:26:08]OFD Sender: No OFD packet to send [11:26:13]OFD Sender: No OFD packet to send [11:26:18]OFD Sender: No OFD packet to send [11:26:23]OFD Sender: No OFD packet to send [11:26:28]OFD Sender: No OFD packet to send [11:26:33]OFD Sender: No OFD packet to send [11:26:38]OFD Sender: No OFD packet to send [11:26:43]OFD Sender: No OFD packet to send [11:26:49]OFD Sender: No OFD packet to send [11:26:54]OFD Sender: No OFD packet to send [11:26:59]OFD Sender: No OFD packet to send [11:27:04]OFD Sender: No OFD packet to send [11:27:09]OFD Sender: No OFD packet to send [11:27:14]OFD Sender: No OFD packet to send [11:27:19]OFD Sender: No OFD packet to send [11:27:24]OFD Sender: No OFD packet to send [11:27:29]OFD Sender: No OFD packet to send [11:27:34]OFD Sender: No OFD packet to send [11:27:39]OFD Sender: No OFD packet to send [11:27:41]ConnectInit Can't connect to host [11:27:44]OFD Sender: No OFD packet to send [11:27:49]OFD Sender: No OFD packet to send [11:27:54]OFD Sender: No OFD packet to send [11:27:59]OFD Sender: No OFD packet to send [11:28:04]OFD Sender: No OFD packet to send [11:28:09]OFD Sender: No OFD packet to send [11:28:14]OFD Sender: No OFD packet to send [11:28:19]OFD Sender: No OFD packet to send [11:28:24]OFD Sender: No OFD packet to send [11:28:29]OFD Sender: No OFD packet to send [11:28:34]OFD Sender: No OFD packet to send [11:28:39]OFD Sender: No OFD packet to send [11:28:44]OFD Sender: No OFD packet to send [11:28:49]OFD Sender: No OFD packet to send [11:28:54]OFD Sender: No OFD packet to send [11:28:59]OFD Sender: No OFD packet to send [11:29:04]OFD Sender: No OFD packet to send [11:29:09]OFD Sender: No OFD packet to send [11:29:14]OFD Sender: No OFD packet to send [11:29:19]OFD Sender: No OFD packet to send [11:29:24]OFD Sender: No OFD packet to send [11:29:29]OFD Sender: No OFD packet to send [11:29:34]OFD Sender: No OFD packet to send [11:29:39]OFD Sender: No OFD packet to send [11:29:44]OFD Sender: No OFD packet to send [11:29:49]OFD Sender: No OFD packet to send [11:29:54]OFD Sender: No OFD packet to send [11:29:59]OFD Sender: No OFD packet to send [11:30:04]OFD Sender: No OFD packet to send [11:30:06]accept exits with 9 [11:30:06]New connection [11:30:06]New thread 3067297124 created [11:30:06]Thread 3067440484 joined [11:30:06]Waiting for new connection... [11:30:06] Sock 9.Parse request [11:30:06]Sock 9.Check first char [11:30:06]Sock 9.First char is OK [11:30:06]request: POST /json_proto HTTP/1.0 [11:30:06]Method: POST [11:30:06]URL: /json_proto [11:30:06]Method is POST - this is cgi request [11:30:06]url: /json_proto [11:30:06]query_string will be loaded in cgi processing [11:30:06]execute_cgi json_proto POST (null) [11:30:06]execute_cgi path=json_proto method=POST [11:30:06]POST find Content-Length [11:30:06]Host: 172.17.40.196:8080 [11:30:06]Content-Length: 618 [11:30:06]Content-Type: application/json [11:30:06] [11:30:06]POST finish read [11:30:06]Found Content-Length = 618 [11:30:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35004", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:30:06]execute_script... [11:30: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)35004", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:30:06]POST & json_proto [11:30:06]process_json_proto [11:30:06]json parsed OK: [11:30:06]protocol is kg_v1.0 [11:30:06]action value=close_receipt [11:30:06]process_action close_receipt [11:30:06]cmd_close_receipt [11:30:06]MH_GetDate [11:30:06]Write to MH i2c: F0 00 00 D7 06 CC [11:30:06]Write i2c OK [11:30:06]MH_I2C_Read... [11:30:06]Read from MH i2c: F0 [11:30:06]MH_I2C_Read... [11:30:06]Read from MH i2c: F0 09 00 [11:30:06]MH_I2C_Read... [11:30:06]Read from MH i2c: F0 09 00 D7 06 00 40 24 1E 67 5B 68 A1 66 88 [11:30:06]GetLastDocTimeStamp 1730028232 [11:30:06]current date 1730028608 [11:30:06]FM_GetShiftState [11:30:06]SAM_PROTO_GetShiftState [11:30:06]wFMCommunicate request_size=4 [11:30:06]MH_SAM_APDU [11:30:06]CAPDU: 80 13 01 00 [11:30:06]Write to MH i2c: E2 08 00 D8 06 80 13 01 00 00 00 00 00 5B [11:30:06]Write i2c OK [11:30:06]MH_I2C_Read... [11:30:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:30:06]Read from MH i2c: E2 [11:30:06]MH_I2C_Read... [11:30:06]Read from MH i2c: E2 0E 00 [11:30:06]MH_I2C_Read... [11:30:06]Read from MH i2c: E2 0E 00 D8 06 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 12 [11:30:06]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [11:30:06]wFMCommunicate OK [11:30:06]SAM_PROTO_GetShiftState done [11:30:06]FM_GetShiftState done [11:30:06]opened in 1729987492 [11:30:06]opened+sec_in_day 1730073892 [11:30:06]quantity*price = 28800 [11:30:06]sum+1 = 28801 [11:30:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 288.00 НСП 1% : 2.55 НДС 12% : 30.58 Наличными: 288.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 32 27.10.2024 11:30 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37706 ФПД: 106151587850457 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T113008&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37706&fm=106151587850457&tin=02508201610067®Number=0000000000091684&sum=28800 0 [11:30:07]StoreToDocumentArchive [11:30:07]shift 550 fd 37706 [11:30:07]save to /storage/0550/doc_00037706 [11:30:07]save last doc name /storage/0550/doc_00037706 to /storage/kkm_last_doc_name [11:30:07]save OK [11:30:07]Clear old archive folders... [11:30:07]ProcessDocumentItem done err = 0, tmpTLVsize=271 [11:30:07]tlvbuf is 00212760 [11:30:07]SAM_PROTO_ClearQueue [11:30:07]wFMCommunicate request_size=4 [11:30:07]MH_SAM_APDU [11:30:07]CAPDU: 80 09 00 00 [11:30:07]Write to MH i2c: E2 08 00 E5 06 80 09 00 00 00 00 00 00 5D [11:30:07]Write i2c OK [11:30:07]MH_I2C_Read... [11:30:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:30:07]Read from MH i2c: E2 [11:30:07]MH_I2C_Read... [11:30:07]Read from MH i2c: E2 03 00 [11:30:07]MH_I2C_Read... [11:30:07]Read from MH i2c: E2 03 00 E5 06 00 90 00 5F [11:30:07]RAPDU: 90 00 [11:30:07]wFMCommunicate OK [11:30:07]SAM_PROTO_ClearQueue done [11:30:07]KKMCreateOFDPacket [11:30:07]OFDProtocolAddRootSTLVToBuf [11:30:07]FM_MakeSignedData [11:30:07]FM_MakeSignedData [11:30:07]SAM_PROTO_SignData [11:30:07]wFMCommunicate request_size=4 [11:30:07]MH_SAM_APDU [11:30:07]CAPDU: 80 0D 01 02 [11:30:07]Write to MH i2c: E2 08 00 E6 06 80 0D 01 02 00 00 00 00 65 [11:30:07]Write i2c OK [11:30:07]MH_I2C_Read... [11:30:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:30:07]Read from MH i2c: E2 [11:30:07]MH_I2C_Read... [11:30:07]Read from MH i2c: E2 03 00 [11:30:07]MH_I2C_Read... [11:30:07]Read from MH i2c: E2 03 00 E6 06 00 90 00 60 [11:30:07]RAPDU: 90 00 [11:30:07]wFMCommunicate OK [11:30:07]wFMCommunicate request_size=255 [11:30:07]MH_SAM_APDU [11:30:07]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 40 24 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [11:30:07]Write to MH i2c: E2 02 01 E7 06 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 40 24 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 65 [11:30:07]Write i2c OK [11:30:07]MH_I2C_Read... [11:30:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:30:08]Read from MH i2c: E2 [11:30:08]MH_I2C_Read... [11:30:08]Read from MH i2c: E2 03 00 [11:30:08]MH_I2C_Read... [11:30:08]Read from MH i2c: E2 03 00 E7 06 00 90 00 61 [11:30:08]RAPDU: 90 00 [11:30:08]wFMCommunicate OK [11:30:08]wFMCommunicate request_size=30 [11:30:08]MH_SAM_APDU [11:30:08]CAPDU: 80 0D 02 02 19 30 38 37 31 38 34 31 10 04 04 00 4A 93 00 00 35 04 06 00 60 8B 57 AF A8 D9 [11:30:08]Write to MH i2c: E2 21 00 E8 06 80 0D 02 02 19 00 30 38 37 31 38 34 31 10 04 04 00 4A 93 00 00 35 04 06 00 60 8B 57 AF A8 D9 00 00 AD [11:30:08]Write i2c OK [11:30:08]MH_I2C_Read... [11:30:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:30:08]Read from MH i2c: E2 [11:30:08]MH_I2C_Read... [11:30:08]Read from MH i2c: E2 03 00 [11:30:08]MH_I2C_Read... [11:30:08]Read from MH i2c: E2 03 00 E8 06 00 90 00 62 [11:30:08]RAPDU: 90 00 [11:30:08]wFMCommunicate OK [11:30:08]wFMCommunicate request_size=4 [11:30:08]MH_SAM_APDU [11:30:08]CAPDU: 80 0D 03 02 [11:30:08]Write to MH i2c: E2 08 00 E9 06 80 0D 03 02 00 00 00 00 6A [11:30:08]Write i2c OK [11:30:08]MH_I2C_Read... [11:30:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:30:08]Read from MH i2c: E2 [11:30:08]MH_I2C_Read... [11:30:08]Read from MH i2c: E2 0B 00 [11:30:08]MH_I2C_Read... [11:30:08]Read from MH i2c: E2 0B 00 E9 06 00 44 BD A7 E8 F5 D9 AF 78 90 00 F0 [11:30:08]RAPDU: 44 BD A7 E8 F5 D9 AF 78 90 00 [11:30:08]wFMCommunicate OK [11:30:08]SAM_PROTO_SignData done [11:30:08]FM_MakeSignedData done [11:30:08]CreateOFDProtocolMessage [11:30:08]wFMCommunicate request_size=4 [11:30:08]MH_SAM_APDU [11:30:08]CAPDU: 80 11 00 00 [11:30:08]Write to MH i2c: E2 08 00 EA 06 80 11 00 00 00 00 00 00 6A [11:30:08]Write i2c OK [11:30:08]MH_I2C_Read... [11:30:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:30:08]Read from MH i2c: E2 [11:30:08]MH_I2C_Read... [11:30:08]Read from MH i2c: E2 17 00 [11:30:08]MH_I2C_Read... [11:30:08]Read from MH i2c: E2 17 00 EA 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 BA [11:30:08]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:08]wFMCommunicate OK [11:30:08]CreateOFDProtocolMessage done [11:30:08]OFDSenderStorePacket 37706 [11:30:08]StoreOFDPacket docnum=37706 [11:30: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 23 01 00 00 07 11 1B 01 EB A2 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 40 24 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 4A 93 00 00 35 04 06 00 60 8B 57 AF A8 D9 44 BD A7 E8 F5 D9 AF 78 [11:30:08]CheckFolder [11:30:08]dirname=/storage/ofd_packets [11:30:08]CheckFolder done [11:30:08]ProducePacketName [11:30:08]name=ofd_packets/00037706 [11:30:08]NVStorageSaveData ofd_packets/00037706 [11:30:08]File name is /storage/ofd_packets/00037706 [11:30:08]Write 321 bytes [11:30:08]NVStorageSaveData done [11:30:08]OFDSenderStorePacket done [11:30:08]KKMCreateOFDPacket done [11:30:08]NVStorageSaveData kkm_last_timestamp [11:30:08]File name is /storage/kkm_last_timestamp [11:30:08]Write 4 bytes [11:30:08]NVStorageSaveData done [11:30:08]ExternCall_PrintAddStr [11:30:08]wPrintStart [11:30:08]Write to MH i2c: 01 00 00 EB 06 F1 [11:30:08]Write i2c OK [11:30:08]MH_I2C_Read... [11:30:08]Read from MH i2c: 01 [11:30:08]MH_I2C_Read... [11:30:08]Read from MH i2c: 01 07 00 [11:30:08]MH_I2C_Read... [11:30:08]Read from MH i2c: 01 07 00 EB 06 00 00 00 00 00 FF 0F 06 [11:30:08]RasterBufferAndPrint [11:30:08]line Счет N : (3)35004 [11:30:08]line ИНН: 02508201610067 [11:30:08]line Контрольно-Кассовый Чек [11:30:08]line ПРОДАЖА [11:30:08]line Товар: 47802995 [11:30:08]line Сигареты Winston XS Silver [11:30:08]line 2.000 * 144.00 [11:30:08]line = 288.00 [11:30:08]line НДС 12% НСП 1% [11:30:08]line > о реализуемом товаре [11:30:08]line ИТОГО: 288.00 [11:30:08]line НСП 1% : 2.55 [11:30:08]line НДС 12% : 30.58 [11:30:08]line Наличными: 288.00 [11:30:08]line Безнал.: 0.00 [11:30:08]line Место: АЗС № 126 "Партнер Нефть" [11:30:08]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [11:30:08]line СНО: Общий режим [11:30:08]line Чек 32 27.10.2024 11:30 [11:30:08]line Смена: 550 ФФД: 1.0 [11:30:08]line ЗНМ: 0300000092 [11:30:08]line РНМ: 0000000000091684 [11:30:08]line Версия ККМ: 001 [11:30:08]line ФМ: 0000000000871841 [11:30:08]line ФД: 37706 [11:30:08]line ФПД: 106151587850457 [11:30:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T113008&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37706&fm=106151587850457&tin=02508201610067®Number=0000000000091684&sum=28800 [11:30:08]OFD Sender: Processing packet 37706 [packets to send 42, broken 41] [11:30:08]ProducePacketName [11:30:08]name=ofd_packets/00037706 [11:30:08]OFD Sender: To server: pG, [11:30:08]CommunicateWithHost lk.salyk.kg:30040 [11:30:08]ConnectInit lk.salyk.kg [11:30:08]line 0 [11:30:08]written 0, free lines is 4095 [11:30:08]Connected sock=10 [11:30: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 23 01 00 00 07 11 1B 01 EB A2 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 40 24 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 4A 93 00 00 35 04 06 00 60 8B 57 AF A8 D9 44 BD A7 E8 F5 D9 AF 78 [11:30:09]Write to MH i2c: 01 00 00 13 07 1A [11:30:09]Write i2c OK [11:30:09]MH_I2C_Read... [11:30:09]Read from MH i2c: 01 [11:30:09]MH_I2C_Read... [11:30:09]Read from MH i2c: 01 07 00 [11:30:09]MH_I2C_Read... [11:30:09]Read from MH i2c: 01 07 00 13 07 00 00 00 00 00 CA 0C F7 [11:30:09]RasterBufferAndPrint [11:30:09]line [11:30:09]line [11:30:09]line [11:30:09]line [11:30:09]line [11:30:09]written 0, free lines is 3279 [11:30:09]MH_Cut [11:30:09]Write to MH i2c: D1 01 00 1A 07 01 F3 [11:30:09]Write i2c OK [11:30:09]MH_I2C_Read... [11:30:09]Read from MH i2c: D1 [11:30:09]MH_I2C_Read... [11:30:09]Read from MH i2c: D1 01 00 [11:30:09]MH_I2C_Read... [11:30:09]Read from MH i2c: D1 01 00 1A 07 00 F2 [11:30:09]Write to MH i2c: 01 00 00 1B 07 22 [11:30:09]Write i2c OK [11:30:09]MH_I2C_Read... [11:30: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 CB 49 47 00 73 C8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4A 93 00 00 F4 03 04 00 38 CF 1D 67 B6 04 01 00 00 18 3A E1 05 FC FC 90 32 [11:30:09]CommunicateWithHost err = 0 [11:30:09]CheckOFDResponse [11:30:09]1017 (14) - 77093643461234 [11:30:09]1041 (16) - 0000000000871841 [11:30:09]1040 (4) - 37706 [11:30:09]1012 (4) - 27.10.2024 05:27 [11:30:09]1206 (1) - 0 [11:30:09]OFD Sender: Remove packet 37706 [11:30:09]ProducePacketName [11:30:09]name=ofd_packets/00037706 [11:30:09]NVStorageDeleteData [11:30:09]OFD Sender: No OFD packet to send [11:30:10]*** Cut start [11:30:10]*** Partial cut [11:30:10]*** CUTSNS_PIN = 1 [11:30:10]*** CUTSNS_PIN = 0 [11:30:10]*** Brake cut motor [11:30:10]Read from MH i2c: 01 [11:30:10]MH_I2C_Read... [11:30:10]*** Stop cut motor [11:30:10]*** Cut end [11:30:10]Read from MH i2c: 01 07 00 [11:30:10]MH_I2C_Read... [11:30:10]Read from MH i2c: 01 07 00 1B 07 00 00 00 00 00 FF 0F 37 [11:30:10]process_action close_receipt done [11:30:10]requested_data is exist [11:30:10]produce_requested_data [11:30:10]requested_item fm.sn is exist - process it [11:30:10]wFMCommunicate request_size=4 [11:30:10]MH_SAM_APDU [11:30:10]CAPDU: 80 11 00 00 [11:30:10]Write to MH i2c: E2 08 00 1C 07 80 11 00 00 00 00 00 00 9D [11:30:10]Write i2c OK [11:30:10]MH_I2C_Read... [11:30:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:30:10]Read from MH i2c: E2 [11:30:10]MH_I2C_Read... [11:30:10]Read from MH i2c: E2 17 00 [11:30:10]MH_I2C_Read... [11:30:10]Read from MH i2c: E2 17 00 1C 07 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:30:10]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:10]wFMCommunicate OK [11:30:10]requested_item fd.num is exist - process it [11:30:10]SAM_PROTO_GetFieldsCounters [11:30:10]wFMCommunicate request_size=4 [11:30:10]MH_SAM_APDU [11:30:10]CAPDU: 80 13 00 00 [11:30:10]Write to MH i2c: E2 08 00 1D 07 80 13 00 00 00 00 00 00 A0 [11:30:10]Write i2c OK [11:30:10]MH_I2C_Read... [11:30:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:30:10]Read from MH i2c: E2 [11:30:10]MH_I2C_Read... [11:30:10]Read from MH i2c: E2 62 00 [11:30:10]MH_I2C_Read... [11:30:10]Read from MH i2c: E2 62 00 1D 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 4A 93 00 00 0E 04 04 00 26 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 26 [11:30: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 4A 93 00 00 0E 04 04 00 26 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 [11:30:10]wFMCommunicate OK [11:30:10]SAM_PROTO_GetFieldsCounters done [11:30:10]requested_item shift.num is exist - process it [11:30:10]requested_item shift.opened is exist - process it [11:30:10]req_shift_opened [11:30:10]FM_GetShiftState [11:30:10]SAM_PROTO_GetShiftState [11:30:10]wFMCommunicate request_size=4 [11:30:10]MH_SAM_APDU [11:30:10]CAPDU: 80 13 01 00 [11:30:10]Write to MH i2c: E2 08 00 1E 07 80 13 01 00 00 00 00 00 A2 [11:30:10]Write i2c OK [11:30:10]MH_I2C_Read... [11:30:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:30:10]Read from MH i2c: E2 [11:30:10]MH_I2C_Read... [11:30:10]Read from MH i2c: E2 0E 00 [11:30:10]MH_I2C_Read... [11:30:10]Read from MH i2c: E2 0E 00 1E 07 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 59 [11:30:10]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [11:30:10]wFMCommunicate OK [11:30:10]SAM_PROTO_GetShiftState done [11:30:10]FM_GetShiftState done [11:30:10]req_shift_opened done [11:30:10]requested_item shift.open_date is exist - process it [11:30:10]req_shift_open_date [11:30:10]req_shift_open_date done [11:30:10]produce_requested_data done [11:30:10]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37706,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [11:30:10]process_action_free close_receipt [11:30:10]json_value_free [11:30:10]json_value_free done [11:30:10]process_json_proto returns [11:30:10]Send response to host [11:30:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37706,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [11:30:10]free response buf [11:30:10]execute_script done [11:30:10]execute_script returns [11:30:10]free content buf [11:30:10]Sock 9.Close socket [11:30:10]Sock 9.Thread stoped [11:30:14]OFD Sender: No OFD packet to send [11:30:19]OFD Sender: No OFD packet to send [11:30:24]OFD Sender: No OFD packet to send [11:30:29]OFD Sender: No OFD packet to send [11:30:34]OFD Sender: No OFD packet to send [11:30:39]OFD Sender: No OFD packet to send [11:30:44]OFD Sender: No OFD packet to send [11:30:49]OFD Sender: No OFD packet to send [11:30:54]OFD Sender: No OFD packet to send [11:30:59]OFD Sender: No OFD packet to send [11:31:04]OFD Sender: No OFD packet to send [11:31:09]OFD Sender: No OFD packet to send [11:31:14]OFD Sender: No OFD packet to send [11:31:19]OFD Sender: No OFD packet to send [11:31:24]OFD Sender: No OFD packet to send [11:31:29]OFD Sender: No OFD packet to send [11:31:34]OFD Sender: No OFD packet to send [11:31:39]OFD Sender: No OFD packet to send [11:31:44]OFD Sender: No OFD packet to send [11:31:49]OFD Sender: No OFD packet to send [11:31:54]OFD Sender: No OFD packet to send [11:31:59]OFD Sender: No OFD packet to send [11:32:04]OFD Sender: No OFD packet to send [11:32:09]OFD Sender: No OFD packet to send [11:32:14]OFD Sender: No OFD packet to send [11:32:19]OFD Sender: No OFD packet to send [11:32:24]OFD Sender: No OFD packet to send [11:32:29]OFD Sender: No OFD packet to send [11:32:34]OFD Sender: No OFD packet to send [11:32:39]OFD Sender: No OFD packet to send [11:32:44]OFD Sender: No OFD packet to send [11:32:49]OFD Sender: No OFD packet to send [11:32:54]OFD Sender: No OFD packet to send [11:32:59]OFD Sender: No OFD packet to send [11:33:04]OFD Sender: No OFD packet to send [11:33:09]OFD Sender: No OFD packet to send [11:33:14]OFD Sender: No OFD packet to send [11:33:19]OFD Sender: No OFD packet to send [11:33:24]OFD Sender: No OFD packet to send [11:33:29]OFD Sender: No OFD packet to send [11:33:34]OFD Sender: No OFD packet to send [11:33:39]OFD Sender: No OFD packet to send [11:33:44]OFD Sender: No OFD packet to send [11:33:49]OFD Sender: No OFD packet to send [11:33:54]OFD Sender: No OFD packet to send [11:33:59]OFD Sender: No OFD packet to send [11:34:04]OFD Sender: No OFD packet to send [11:34:09]OFD Sender: No OFD packet to send [11:34:14]OFD Sender: No OFD packet to send [11:34:19]OFD Sender: No OFD packet to send [11:34:24]OFD Sender: No OFD packet to send [11:34:29]OFD Sender: No OFD packet to send [11:34:34]OFD Sender: No OFD packet to send [11:34:39]OFD Sender: No OFD packet to send [11:34:44]OFD Sender: No OFD packet to send [11:34:49]OFD Sender: No OFD packet to send [11:34:54]OFD Sender: No OFD packet to send [11:34:59]OFD Sender: No OFD packet to send [11:35:05]OFD Sender: No OFD packet to send [11:35:10]OFD Sender: No OFD packet to send [11:35:15]OFD Sender: No OFD packet to send [11:35:20]OFD Sender: No OFD packet to send [11:35:25]OFD Sender: No OFD packet to send [11:35:30]OFD Sender: No OFD packet to send [11:35:35]OFD Sender: No OFD packet to send [11:35:40]OFD Sender: No OFD packet to send [11:35:45]OFD Sender: No OFD packet to send [11:35:50]OFD Sender: No OFD packet to send [11:35:55]OFD Sender: No OFD packet to send [11:36:00]OFD Sender: No OFD packet to send [11:36:05]OFD Sender: No OFD packet to send [11:36:10]OFD Sender: No OFD packet to send [11:36:15]OFD Sender: No OFD packet to send [11:36:20]OFD Sender: No OFD packet to send [11:36:25]OFD Sender: No OFD packet to send [11:36:30]OFD Sender: No OFD packet to send [11:36:35]OFD Sender: No OFD packet to send [11:36:40]OFD Sender: No OFD packet to send [11:36:45]OFD Sender: No OFD packet to send [11:36:50]OFD Sender: No OFD packet to send [11:36:55]OFD Sender: No OFD packet to send [11:37:00]OFD Sender: No OFD packet to send [11:37:05]OFD Sender: No OFD packet to send [11:37:10]OFD Sender: No OFD packet to send [11:37:15]OFD Sender: No OFD packet to send [11:37:20]OFD Sender: No OFD packet to send [11:37:25]OFD Sender: No OFD packet to send [11:37:30]OFD Sender: No OFD packet to send [11:37:35]OFD Sender: No OFD packet to send [11:37:40]OFD Sender: No OFD packet to send [11:37:45]OFD Sender: No OFD packet to send [11:37:50]OFD Sender: No OFD packet to send [11:37:55]OFD Sender: No OFD packet to send [11:38:00]OFD Sender: No OFD packet to send [11:38:05]OFD Sender: No OFD packet to send [11:38:10]OFD Sender: No OFD packet to send [11:38:15]OFD Sender: No OFD packet to send [11:38:20]OFD Sender: No OFD packet to send [11:38:25]OFD Sender: No OFD packet to send [11:38:30]OFD Sender: No OFD packet to send [11:38:35]OFD Sender: No OFD packet to send [11:38:40]OFD Sender: No OFD packet to send [11:38:45]OFD Sender: No OFD packet to send [11:38:50]OFD Sender: No OFD packet to send [11:38:55]OFD Sender: No OFD packet to send [11:39:00]OFD Sender: No OFD packet to send [11:39:05]OFD Sender: No OFD packet to send [11:39:10]OFD Sender: No OFD packet to send [11:39:15]OFD Sender: No OFD packet to send [11:39:20]OFD Sender: No OFD packet to send [11:39:25]OFD Sender: No OFD packet to send [11:39:30]OFD Sender: No OFD packet to send [11:39:35]OFD Sender: No OFD packet to send [11:39:40]OFD Sender: No OFD packet to send [11:39:45]OFD Sender: No OFD packet to send [11:39:50]OFD Sender: No OFD packet to send [11:39:55]OFD Sender: No OFD packet to send [11:40:00]OFD Sender: No OFD packet to send [11:40:05]OFD Sender: No OFD packet to send [11:40:10]OFD Sender: No OFD packet to send [11:40:15]OFD Sender: No OFD packet to send [11:40:20]OFD Sender: No OFD packet to send [11:40:25]OFD Sender: No OFD packet to send [11:40:30]OFD Sender: No OFD packet to send [11:40:35]OFD Sender: No OFD packet to send [11:40:40]OFD Sender: No OFD packet to send [11:40:45]OFD Sender: No OFD packet to send [11:40:50]OFD Sender: No OFD packet to send [11:40:55]OFD Sender: No OFD packet to send [11:41:00]OFD Sender: No OFD packet to send [11:41:05]OFD Sender: No OFD packet to send [11:41:10]OFD Sender: No OFD packet to send [11:41:15]OFD Sender: No OFD packet to send [11:41:20]OFD Sender: No OFD packet to send [11:41:25]OFD Sender: No OFD packet to send [11:41:30]OFD Sender: No OFD packet to send [11:41:35]OFD Sender: No OFD packet to send [11:41:40]OFD Sender: No OFD packet to send [11:41:45]OFD Sender: No OFD packet to send [11:41:50]OFD Sender: No OFD packet to send [11:41:55]OFD Sender: No OFD packet to send [11:42:00]OFD Sender: No OFD packet to send [11:42:05]OFD Sender: No OFD packet to send [11:42:10]OFD Sender: No OFD packet to send [11:42:15]OFD Sender: No OFD packet to send [11:42:20]OFD Sender: No OFD packet to send [11:42:25]OFD Sender: No OFD packet to send [11:42:30]OFD Sender: No OFD packet to send [11:42:35]OFD Sender: No OFD packet to send [11:42:40]OFD Sender: No OFD packet to send [11:42:45]OFD Sender: No OFD packet to send [11:42:50]OFD Sender: No OFD packet to send [11:42:55]OFD Sender: No OFD packet to send [11:43:00]OFD Sender: No OFD packet to send [11:43:05]OFD Sender: No OFD packet to send [11:43:10]OFD Sender: No OFD packet to send [11:43:15]OFD Sender: No OFD packet to send [11:43:20]OFD Sender: No OFD packet to send [11:43:25]OFD Sender: No OFD packet to send [11:43:30]OFD Sender: No OFD packet to send [11:43:35]OFD Sender: No OFD packet to send [11:43:40]OFD Sender: No OFD packet to send [11:43:45]OFD Sender: No OFD packet to send [11:43:50]OFD Sender: No OFD packet to send [11:43:55]OFD Sender: No OFD packet to send [11:44:00]OFD Sender: No OFD packet to send [11:44:05]OFD Sender: No OFD packet to send [11:44:10]OFD Sender: No OFD packet to send [11:44:15]OFD Sender: No OFD packet to send [11:44:20]OFD Sender: No OFD packet to send [11:44:25]OFD Sender: No OFD packet to send [11:44:30]OFD Sender: No OFD packet to send [11:44:35]OFD Sender: No OFD packet to send [11:44:40]OFD Sender: No OFD packet to send [11:44:45]OFD Sender: No OFD packet to send [11:44:50]OFD Sender: No OFD packet to send [11:44:55]OFD Sender: No OFD packet to send [11:45:00]OFD Sender: No OFD packet to send [11:45:05]OFD Sender: No OFD packet to send [11:45:10]OFD Sender: No OFD packet to send [11:45:15]OFD Sender: No OFD packet to send [11:45:20]OFD Sender: No OFD packet to send [11:45:25]OFD Sender: No OFD packet to send [11:45:30]OFD Sender: No OFD packet to send [11:45:35]OFD Sender: No OFD packet to send [11:45:40]OFD Sender: No OFD packet to send [11:45:45]OFD Sender: No OFD packet to send [11:45:50]OFD Sender: No OFD packet to send [11:45:55]OFD Sender: No OFD packet to send [11:46:00]OFD Sender: No OFD packet to send [11:46:05]OFD Sender: No OFD packet to send [11:46:10]OFD Sender: No OFD packet to send [11:46:15]OFD Sender: No OFD packet to send [11:46:20]OFD Sender: No OFD packet to send [11:46:25]OFD Sender: No OFD packet to send [11:46:30]OFD Sender: No OFD packet to send [11:46:35]OFD Sender: No OFD packet to send [11:46:40]OFD Sender: No OFD packet to send [11:46:45]OFD Sender: No OFD packet to send [11:46:50]OFD Sender: No OFD packet to send [11:46:55]OFD Sender: No OFD packet to send [11:47:00]OFD Sender: No OFD packet to send [11:47:05]OFD Sender: No OFD packet to send [11:47:10]OFD Sender: No OFD packet to send [11:47:15]OFD Sender: No OFD packet to send [11:47:20]OFD Sender: No OFD packet to send [11:47:25]OFD Sender: No OFD packet to send [11:47:30]OFD Sender: No OFD packet to send [11:47:35]OFD Sender: No OFD packet to send [11:47:40]OFD Sender: No OFD packet to send [11:47:45]OFD Sender: No OFD packet to send [11:47:50]OFD Sender: No OFD packet to send [11:47:55]OFD Sender: No OFD packet to send [11:48:00]OFD Sender: No OFD packet to send [11:48:05]OFD Sender: No OFD packet to send [11:48:10]OFD Sender: No OFD packet to send [11:48:15]OFD Sender: No OFD packet to send [11:48:20]OFD Sender: No OFD packet to send [11:48:25]OFD Sender: No OFD packet to send [11:48:30]OFD Sender: No OFD packet to send [11:48:35]OFD Sender: No OFD packet to send [11:48:40]OFD Sender: No OFD packet to send [11:48:45]OFD Sender: No OFD packet to send [11:48:50]OFD Sender: No OFD packet to send [11:48:55]OFD Sender: No OFD packet to send [11:49:00]OFD Sender: No OFD packet to send [11:49:05]OFD Sender: No OFD packet to send [11:49:10]OFD Sender: No OFD packet to send [11:49:15]OFD Sender: No OFD packet to send [11:49:20]OFD Sender: No OFD packet to send [11:49:25]OFD Sender: No OFD packet to send [11:49:30]OFD Sender: No OFD packet to send [11:49:35]OFD Sender: No OFD packet to send [11:49:40]OFD Sender: No OFD packet to send [11:49:45]OFD Sender: No OFD packet to send [11:49:50]OFD Sender: No OFD packet to send [11:49:55]OFD Sender: No OFD packet to send [11:50:00]OFD Sender: No OFD packet to send [11:50:05]OFD Sender: No OFD packet to send [11:50:10]OFD Sender: No OFD packet to send [11:50:15]OFD Sender: No OFD packet to send [11:50:20]OFD Sender: No OFD packet to send [11:50:25]OFD Sender: No OFD packet to send [11:50:30]OFD Sender: No OFD packet to send [11:50:35]OFD Sender: No OFD packet to send [11:50:40]OFD Sender: No OFD packet to send [11:50:45]OFD Sender: No OFD packet to send [11:50:50]OFD Sender: No OFD packet to send [11:50:55]OFD Sender: No OFD packet to send [11:51:00]OFD Sender: No OFD packet to send [11:51:05]OFD Sender: No OFD packet to send [11:51:10]OFD Sender: No OFD packet to send [11:51:15]OFD Sender: No OFD packet to send [11:51:20]OFD Sender: No OFD packet to send [11:51:25]OFD Sender: No OFD packet to send [11:51:30]OFD Sender: No OFD packet to send [11:51:35]OFD Sender: No OFD packet to send [11:51:40]OFD Sender: No OFD packet to send [11:51:45]OFD Sender: No OFD packet to send [11:51:50]OFD Sender: No OFD packet to send [11:51:55]OFD Sender: No OFD packet to send [11:52:00]OFD Sender: No OFD packet to send [11:52:05]OFD Sender: No OFD packet to send [11:52:10]OFD Sender: No OFD packet to send [11:52:15]OFD Sender: No OFD packet to send [11:52:20]OFD Sender: No OFD packet to send [11:52:25]OFD Sender: No OFD packet to send [11:52:30]OFD Sender: No OFD packet to send [11:52:35]OFD Sender: No OFD packet to send [11:52:40]OFD Sender: No OFD packet to send [11:52:45]OFD Sender: No OFD packet to send [11:52:50]OFD Sender: No OFD packet to send [11:52:55]OFD Sender: No OFD packet to send [11:53:00]OFD Sender: No OFD packet to send [11:53:05]OFD Sender: No OFD packet to send [11:53:10]OFD Sender: No OFD packet to send [11:53:15]OFD Sender: No OFD packet to send [11:53:20]OFD Sender: No OFD packet to send [11:53:25]OFD Sender: No OFD packet to send [11:53:30]OFD Sender: No OFD packet to send [11:53:35]OFD Sender: No OFD packet to send [11:53:40]OFD Sender: No OFD packet to send [11:53:45]OFD Sender: No OFD packet to send [11:53:51]OFD Sender: No OFD packet to send [11:53:56]OFD Sender: No OFD packet to send [11:54:01]OFD Sender: No OFD packet to send [11:54:06]OFD Sender: No OFD packet to send [11:54:11]OFD Sender: No OFD packet to send [11:54:16]OFD Sender: No OFD packet to send [11:54:21]OFD Sender: No OFD packet to send [11:54:26]OFD Sender: No OFD packet to send [11:54:31]OFD Sender: No OFD packet to send [11:54:36]OFD Sender: No OFD packet to send [11:54:41]OFD Sender: No OFD packet to send [11:54:46]OFD Sender: No OFD packet to send [11:54:51]OFD Sender: No OFD packet to send [11:54:56]OFD Sender: No OFD packet to send [11:55:01]OFD Sender: No OFD packet to send [11:55:06]OFD Sender: No OFD packet to send [11:55:11]OFD Sender: No OFD packet to send [11:55:16]OFD Sender: No OFD packet to send [11:55:21]OFD Sender: No OFD packet to send [11:55:26]OFD Sender: No OFD packet to send [11:55:31]OFD Sender: No OFD packet to send [11:55:36]OFD Sender: No OFD packet to send [11:55:41]OFD Sender: No OFD packet to send [11:55:46]OFD Sender: No OFD packet to send [11:55:51]OFD Sender: No OFD packet to send [11:55:56]OFD Sender: No OFD packet to send [11:56:01]OFD Sender: No OFD packet to send [11:56:06]OFD Sender: No OFD packet to send [11:56:11]OFD Sender: No OFD packet to send [11:56:16]OFD Sender: No OFD packet to send [11:56:21]OFD Sender: No OFD packet to send [11:56:26]OFD Sender: No OFD packet to send [11:56:31]OFD Sender: No OFD packet to send [11:56:36]OFD Sender: No OFD packet to send [11:56:41]OFD Sender: No OFD packet to send [11:56:46]OFD Sender: No OFD packet to send [11:56:49]accept exits with 7 [11:56:49]New connection [11:56:49]New thread 3067440484 created [11:56:49]Thread 3067297124 joined [11:56:49]Waiting for new connection... [11:56:49] Sock 7.Parse request [11:56:49]Sock 7.Check first char [11:56:49]Sock 7.First char is OK [11:56:49]request: POST /json_proto HTTP/1.0 [11:56:49]Method: POST [11:56:49]URL: /json_proto [11:56:49]Method is POST - this is cgi request [11:56:49]url: /json_proto [11:56:49]query_string will be loaded in cgi processing [11:56:49]execute_cgi json_proto POST (null) [11:56:49]execute_cgi path=json_proto method=POST [11:56:49]POST find Content-Length [11:56:49]Host: 172.17.40.196:8080 [11:56:49]Content-Length: 589 [11:56:49]Content-Type: application/json [11:56:49] [11:56:49]POST finish read [11:56:49]Found Content-Length = 589 [11:56:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35005", "tax_sys" : 0, "items" : [ { "code": "42113164", "name": "\u0416\u0435\u0432 Orbit White Spearmint", "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" ] } } [11:56:49]execute_script... [11:56:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35005", "tax_sys" : 0, "items" : [ { "code": "42113164", "name": "\u0416\u0435\u0432 Orbit White Spearmint", "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" ] } } [11:56:49]POST & json_proto [11:56:49]process_json_proto [11:56:49]json parsed OK: [11:56:49]protocol is kg_v1.0 [11:56:49]action value=close_receipt [11:56:49]process_action close_receipt [11:56:49]cmd_close_receipt [11:56:49]MH_GetDate [11:56:49]Write to MH i2c: F0 00 00 1F 07 15 [11:56:49]Write i2c OK [11:56:49]MH_I2C_Read... [11:56:49]Read from MH i2c: F0 [11:56:49]MH_I2C_Read... [11:56:49]Read from MH i2c: F0 09 00 [11:56:49]MH_I2C_Read... [11:56:49]Read from MH i2c: F0 09 00 1F 07 00 83 2A 1E 67 5B 68 A1 66 1A [11:56:49]GetLastDocTimeStamp 1730028608 [11:56:49]current date 1730030211 [11:56:49]FM_GetShiftState [11:56:49]SAM_PROTO_GetShiftState [11:56:49]wFMCommunicate request_size=4 [11:56:49]MH_SAM_APDU [11:56:49]CAPDU: 80 13 01 00 [11:56:49]Write to MH i2c: E2 08 00 20 07 80 13 01 00 00 00 00 00 A4 [11:56:49]Write i2c OK [11:56:49]MH_I2C_Read... [11:56:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:56:49]Read from MH i2c: E2 [11:56:49]MH_I2C_Read... [11:56:49]Read from MH i2c: E2 0E 00 [11:56:49]MH_I2C_Read... [11:56:49]Read from MH i2c: E2 0E 00 20 07 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 5B [11:56:49]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [11:56:49]wFMCommunicate OK [11:56:49]SAM_PROTO_GetShiftState done [11:56:49]FM_GetShiftState done [11:56:49]opened in 1729987492 [11:56:49]opened+sec_in_day 1730073892 [11:56:49]quantity*price = 4500 [11:56:49]sum+1 = 4501 [11:56:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 33 27.10.2024 11:56 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37707 ФПД: 234255299074110 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T115651&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37707&fm=234255299074110&tin=02508201610067®Number=0000000000091684&sum=4500 0 [11:56:50]StoreToDocumentArchive [11:56:50]shift 550 fd 37707 [11:56:50]save to /storage/0550/doc_00037707 [11:56:50]save last doc name /storage/0550/doc_00037707 to /storage/kkm_last_doc_name [11:56:50]save OK [11:56:50]Clear old archive folders... [11:56:50]ProcessDocumentItem done err = 0, tmpTLVsize=265 [11:56:50]tlvbuf is 00217B30 [11:56:50]SAM_PROTO_ClearQueue [11:56:50]wFMCommunicate request_size=4 [11:56:50]MH_SAM_APDU [11:56:50]CAPDU: 80 09 00 00 [11:56:50]Write to MH i2c: E2 08 00 2D 07 80 09 00 00 00 00 00 00 A6 [11:56:50]Write i2c OK [11:56:50]MH_I2C_Read... [11:56:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:56:50]Read from MH i2c: E2 [11:56:50]MH_I2C_Read... [11:56:50]Read from MH i2c: E2 03 00 [11:56:50]MH_I2C_Read... [11:56:50]Read from MH i2c: E2 03 00 2D 07 00 90 00 A8 [11:56:50]RAPDU: 90 00 [11:56:50]wFMCommunicate OK [11:56:50]SAM_PROTO_ClearQueue done [11:56:50]KKMCreateOFDPacket [11:56:50]OFDProtocolAddRootSTLVToBuf [11:56:50]FM_MakeSignedData [11:56:50]FM_MakeSignedData [11:56:50]SAM_PROTO_SignData [11:56:50]wFMCommunicate request_size=4 [11:56:50]MH_SAM_APDU [11:56:50]CAPDU: 80 0D 01 02 [11:56:50]Write to MH i2c: E2 08 00 2E 07 80 0D 01 02 00 00 00 00 AE [11:56:50]Write i2c OK [11:56:50]MH_I2C_Read... [11:56:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:56:50]Read from MH i2c: E2 [11:56:50]MH_I2C_Read... [11:56:50]Read from MH i2c: E2 03 00 [11:56:50]MH_I2C_Read... [11:56:50]Read from MH i2c: E2 03 00 2E 07 00 90 00 A9 [11:56:50]RAPDU: 90 00 [11:56:50]wFMCommunicate OK [11:56:50]wFMCommunicate request_size=255 [11:56:50]MH_SAM_APDU [11:56:50]CAPDU: 80 0D 02 02 FA 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 21 00 00 00 F4 03 04 00 83 2A 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [11:56:50]Write to MH i2c: E2 02 01 2F 07 80 0D 02 02 FA 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 21 00 00 00 F4 03 04 00 83 2A 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 00 00 05 [11:56:50]Write i2c OK [11:56:50]MH_I2C_Read... [11:56:51]OFD Sender: No OFD packet to send [11:56:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:56:51]Read from MH i2c: E2 [11:56:51]MH_I2C_Read... [11:56:51]Read from MH i2c: E2 03 00 [11:56:51]MH_I2C_Read... [11:56:51]Read from MH i2c: E2 03 00 2F 07 00 90 00 AA [11:56:51]RAPDU: 90 00 [11:56:51]wFMCommunicate OK [11:56:51]wFMCommunicate request_size=24 [11:56:51]MH_SAM_APDU [11:56:51]CAPDU: 80 0D 02 02 13 31 10 04 04 00 4B 93 00 00 35 04 06 00 D5 0D CF E3 58 3E [11:56:51]Write to MH i2c: E2 1B 00 30 07 80 0D 02 02 13 00 31 10 04 04 00 4B 93 00 00 35 04 06 00 D5 0D CF E3 58 3E 00 00 67 [11:56:51]Write i2c OK [11:56:51]MH_I2C_Read... [11:56:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:56:51]Read from MH i2c: E2 [11:56:51]MH_I2C_Read... [11:56:51]Read from MH i2c: E2 03 00 [11:56:51]MH_I2C_Read... [11:56:51]Read from MH i2c: E2 03 00 30 07 00 90 00 AB [11:56:51]RAPDU: 90 00 [11:56:51]wFMCommunicate OK [11:56:51]wFMCommunicate request_size=4 [11:56:51]MH_SAM_APDU [11:56:51]CAPDU: 80 0D 03 02 [11:56:51]Write to MH i2c: E2 08 00 31 07 80 0D 03 02 00 00 00 00 B3 [11:56:51]Write i2c OK [11:56:51]MH_I2C_Read... [11:56:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:56:51]Read from MH i2c: E2 [11:56:51]MH_I2C_Read... [11:56:51]Read from MH i2c: E2 0B 00 [11:56:51]MH_I2C_Read... [11:56:51]Read from MH i2c: E2 0B 00 31 07 00 69 98 C4 D1 23 30 32 67 90 00 36 [11:56:51]RAPDU: 69 98 C4 D1 23 30 32 67 90 00 [11:56:51]wFMCommunicate OK [11:56:51]SAM_PROTO_SignData done [11:56:51]FM_MakeSignedData done [11:56:51]CreateOFDProtocolMessage [11:56:51]wFMCommunicate request_size=4 [11:56:51]MH_SAM_APDU [11:56:51]CAPDU: 80 11 00 00 [11:56:51]Write to MH i2c: E2 08 00 32 07 80 11 00 00 00 00 00 00 B3 [11:56:51]Write i2c OK [11:56:51]MH_I2C_Read... [11:56:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:56:51]Read from MH i2c: E2 [11:56:51]MH_I2C_Read... [11:56:51]Read from MH i2c: E2 17 00 [11:56:51]MH_I2C_Read... [11:56:51]Read from MH i2c: E2 17 00 32 07 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:56: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:56:51]wFMCommunicate OK [11:56:51]CreateOFDProtocolMessage done [11:56:51]OFDSenderStorePacket 37707 [11:56:51]StoreOFDPacket docnum=37707 [11:56: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 1D 01 00 00 33 FF 15 01 27 D2 5A 03 01 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 21 00 00 00 F4 03 04 00 83 2A 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 4B 93 00 00 35 04 06 00 D5 0D CF E3 58 3E 69 98 C4 D1 23 30 32 67 [11:56:51]CheckFolder [11:56:51]dirname=/storage/ofd_packets [11:56:51]CheckFolder done [11:56:51]ProducePacketName [11:56:51]name=ofd_packets/00037707 [11:56:51]NVStorageSaveData ofd_packets/00037707 [11:56:51]File name is /storage/ofd_packets/00037707 [11:56:51]Write 315 bytes [11:56:51]NVStorageSaveData done [11:56:51]OFDSenderStorePacket done [11:56:51]KKMCreateOFDPacket done [11:56:51]NVStorageSaveData kkm_last_timestamp [11:56:51]File name is /storage/kkm_last_timestamp [11:56:51]Write 4 bytes [11:56:51]NVStorageSaveData done [11:56:51]ExternCall_PrintAddStr [11:56:51]wPrintStart [11:56:51]Write to MH i2c: 01 00 00 33 07 3A [11:56:51]Write i2c OK [11:56:51]MH_I2C_Read... [11:56:51]Read from MH i2c: 01 [11:56:51]MH_I2C_Read... [11:56:51]Read from MH i2c: 01 07 00 [11:56:51]MH_I2C_Read... [11:56:51]Read from MH i2c: 01 07 00 33 07 00 00 00 00 00 FF 0F 4F [11:56:51]RasterBufferAndPrint [11:56:51]line Счет N : (3)35005 [11:56:51]line ИНН: 02508201610067 [11:56:51]line Контрольно-Кассовый Чек [11:56:51]line ПРОДАЖА [11:56:51]line Товар: 42113164 [11:56:51]line Жев Orbit White Spearmint [11:56:51]line 1.000 * 45.00 [11:56:51]line = 45.00 [11:56:51]line НДС 12% НСП 1% [11:56:51]line > о реализуемом товаре [11:56:51]line ИТОГО: 45.00 [11:56:51]line НСП 1% : 0.40 [11:56:51]line НДС 12% : 4.78 [11:56:51]line Наличными: 45.00 [11:56:51]line Безнал.: 0.00 [11:56:51]line Место: АЗС № 126 "Партнер Нефть" [11:56:51]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [11:56:51]line СНО: Общий режим [11:56:51]line Чек 33 27.10.2024 11:56 [11:56:51]line Смена: 550 ФФД: 1.0 [11:56:51]line ЗНМ: 0300000092 [11:56:51]line РНМ: 0000000000091684 [11:56:51]line Версия ККМ: 001 [11:56:51]line ФМ: 0000000000871841 [11:56:51]line ФД: 37707 [11:56:51]line ФПД: 234255299074110 [11:56:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T115651&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37707&fm=234255299074110&tin=02508201610067®Number=0000000000091684&sum=4500 [11:56:51]line 0 [11:56:51]OFD Sender: Processing packet 37707 [packets to send 42, broken 41] [11:56:51]ProducePacketName [11:56:51]name=ofd_packets/00037707 [11:56:51]OFD Sender: To server: pG, [11:56:51]CommunicateWithHost lk.salyk.kg:30040 [11:56:51]ConnectInit lk.salyk.kg [11:56:51]written 0, free lines is 4095 [11:56:51]Connected sock=10 [11:56: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 1D 01 00 00 33 FF 15 01 27 D2 5A 03 01 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 21 00 00 00 F4 03 04 00 83 2A 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 4B 93 00 00 35 04 06 00 D5 0D CF E3 58 3E 69 98 C4 D1 23 30 32 67 [11:56:52]Write to MH i2c: 01 00 00 5B 07 62 [11:56:52]Write i2c OK [11:56:52]MH_I2C_Read... [11:56:52]Read from MH i2c: 01 [11:56:52]MH_I2C_Read... [11:56:52]Read from MH i2c: 01 07 00 [11:56:52]MH_I2C_Read... [11:56:52]Read from MH i2c: 01 07 00 5B 07 00 00 00 00 00 BC 0C 31 [11:56:52]RasterBufferAndPrint [11:56:52]line [11:56:52]line [11:56:52]line [11:56:52]line [11:56:52]line [11:56:52]written 0, free lines is 3266 [11:56:52]MH_Cut [11:56:52]Write to MH i2c: D1 01 00 62 07 01 3B [11:56:52]Write i2c OK [11:56:52]MH_I2C_Read... [11:56:52]Read from MH i2c: D1 [11:56:52]MH_I2C_Read... [11:56:52]Read from MH i2c: D1 01 00 [11:56:52]MH_I2C_Read... [11:56:52]Read from MH i2c: D1 01 00 62 07 00 3A [11:56:52]Write to MH i2c: 01 00 00 63 07 6A [11:56:52]Write i2c OK [11:56:52]MH_I2C_Read... [11:56: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 D6 67 47 00 82 AB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4B 93 00 00 F4 03 04 00 7B D5 1D 67 B6 04 01 00 00 C5 98 CB 1F 76 DB 55 8F [11:56:52]CommunicateWithHost err = 0 [11:56:52]CheckOFDResponse [11:56:52]1017 (14) - 77093643461234 [11:56:52]1041 (16) - 0000000000871841 [11:56:52]1040 (4) - 37707 [11:56:52]1012 (4) - 27.10.2024 05:54 [11:56:52]1206 (1) - 0 [11:56:52]OFD Sender: Remove packet 37707 [11:56:52]ProducePacketName [11:56:52]name=ofd_packets/00037707 [11:56:52]NVStorageDeleteData [11:56:52]OFD Sender: No OFD packet to send [11:56:52]*** Cut start [11:56:52]*** Partial cut [11:56:52]*** CUTSNS_PIN = 1 [11:56:53]*** CUTSNS_PIN = 0 [11:56:53]*** Brake cut motor [11:56:53]Read from MH i2c: 01 [11:56:53]MH_I2C_Read... [11:56:53]*** Stop cut motor [11:56:53]*** Cut end [11:56:53]Read from MH i2c: 01 07 00 [11:56:53]MH_I2C_Read... [11:56:53]Read from MH i2c: 01 07 00 63 07 00 00 00 00 00 FF 0F 7F [11:56:53]process_action close_receipt done [11:56:53]requested_data is exist [11:56:53]produce_requested_data [11:56:53]requested_item fm.sn is exist - process it [11:56:53]wFMCommunicate request_size=4 [11:56:53]MH_SAM_APDU [11:56:53]CAPDU: 80 11 00 00 [11:56:53]Write to MH i2c: E2 08 00 64 07 80 11 00 00 00 00 00 00 E5 [11:56:53]Write i2c OK [11:56:53]MH_I2C_Read... [11:56:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:56:53]Read from MH i2c: E2 [11:56:53]MH_I2C_Read... [11:56:53]Read from MH i2c: E2 17 00 [11:56:53]MH_I2C_Read... [11:56:53]Read from MH i2c: E2 17 00 64 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 35 [11:56:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:56:53]wFMCommunicate OK [11:56:53]requested_item fd.num is exist - process it [11:56:53]SAM_PROTO_GetFieldsCounters [11:56:53]wFMCommunicate request_size=4 [11:56:53]MH_SAM_APDU [11:56:53]CAPDU: 80 13 00 00 [11:56:53]Write to MH i2c: E2 08 00 65 07 80 13 00 00 00 00 00 00 E8 [11:56:53]Write i2c OK [11:56:53]MH_I2C_Read... [11:56:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:56:53]Read from MH i2c: E2 [11:56:53]MH_I2C_Read... [11:56:53]Read from MH i2c: E2 62 00 [11:56:53]MH_I2C_Read... [11:56:53]Read from MH i2c: E2 62 00 65 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 4B 93 00 00 0E 04 04 00 26 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 72 [11:56: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 4B 93 00 00 0E 04 04 00 26 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 [11:56:53]wFMCommunicate OK [11:56:53]SAM_PROTO_GetFieldsCounters done [11:56:53]requested_item shift.num is exist - process it [11:56:53]requested_item shift.opened is exist - process it [11:56:53]req_shift_opened [11:56:53]FM_GetShiftState [11:56:53]SAM_PROTO_GetShiftState [11:56:53]wFMCommunicate request_size=4 [11:56:53]MH_SAM_APDU [11:56:53]CAPDU: 80 13 01 00 [11:56:53]Write to MH i2c: E2 08 00 66 07 80 13 01 00 00 00 00 00 EA [11:56:53]Write i2c OK [11:56:53]MH_I2C_Read... [11:56:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:56:53]Read from MH i2c: E2 [11:56:53]MH_I2C_Read... [11:56:53]Read from MH i2c: E2 0E 00 [11:56:53]MH_I2C_Read... [11:56:53]Read from MH i2c: E2 0E 00 66 07 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 A1 [11:56:53]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [11:56:53]wFMCommunicate OK [11:56:53]SAM_PROTO_GetShiftState done [11:56:53]FM_GetShiftState done [11:56:53]req_shift_opened done [11:56:53]requested_item shift.open_date is exist - process it [11:56:53]req_shift_open_date [11:56:53]req_shift_open_date done [11:56:53]produce_requested_data done [11:56:53]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37707,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [11:56:53]process_action_free close_receipt [11:56:53]json_value_free [11:56:53]json_value_free done [11:56:53]process_json_proto returns [11:56:53]Send response to host [11:56:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37707,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [11:56:53]free response buf [11:56:53]execute_script done [11:56:53]execute_script returns [11:56:53]free content buf [11:56:53]Sock 7.Close socket [11:56:53]Sock 7.Thread stoped [11:56:57]OFD Sender: No OFD packet to send [11:57:02]OFD Sender: No OFD packet to send [11:57:07]OFD Sender: No OFD packet to send [11:57:12]OFD Sender: No OFD packet to send [11:57:17]OFD Sender: No OFD packet to send [11:57:22]OFD Sender: No OFD packet to send [11:57:27]OFD Sender: No OFD packet to send [11:57:32]OFD Sender: No OFD packet to send [11:57:37]OFD Sender: No OFD packet to send [11:57:42]OFD Sender: No OFD packet to send [11:57:47]OFD Sender: No OFD packet to send [11:57:52]OFD Sender: No OFD packet to send [11:57:57]OFD Sender: No OFD packet to send [11:58:02]OFD Sender: No OFD packet to send [11:58:07]OFD Sender: No OFD packet to send [11:58:12]OFD Sender: No OFD packet to send [11:58:17]OFD Sender: No OFD packet to send [11:58:22]OFD Sender: No OFD packet to send [11:58:27]OFD Sender: No OFD packet to send [11:58:32]OFD Sender: No OFD packet to send [11:58:37]OFD Sender: No OFD packet to send [11:58:42]OFD Sender: No OFD packet to send [11:58:47]OFD Sender: No OFD packet to send [11:58:52]OFD Sender: No OFD packet to send [11:58:57]OFD Sender: No OFD packet to send [11:59:02]OFD Sender: No OFD packet to send [11:59:07]OFD Sender: No OFD packet to send [11:59:12]OFD Sender: No OFD packet to send [11:59:17]OFD Sender: No OFD packet to send [11:59:22]OFD Sender: No OFD packet to send [11:59:27]OFD Sender: No OFD packet to send [11:59:32]OFD Sender: No OFD packet to send [11:59:37]OFD Sender: No OFD packet to send [11:59:42]OFD Sender: No OFD packet to send [11:59:47]OFD Sender: No OFD packet to send [11:59:52]OFD Sender: No OFD packet to send [11:59:57]OFD Sender: No OFD packet to send [12:00:02]OFD Sender: No OFD packet to send [12:00:07]OFD Sender: No OFD packet to send [12:00:12]OFD Sender: No OFD packet to send [12:00:17]OFD Sender: No OFD packet to send [12:00:22]OFD Sender: No OFD packet to send [12:00:27]OFD Sender: No OFD packet to send [12:00:32]OFD Sender: No OFD packet to send [12:00:37]OFD Sender: No OFD packet to send [12:00:42]OFD Sender: No OFD packet to send [12:00:47]OFD Sender: No OFD packet to send [12:00:52]OFD Sender: No OFD packet to send [12:00:57]OFD Sender: No OFD packet to send [12:01:02]OFD Sender: No OFD packet to send [12:01:07]OFD Sender: No OFD packet to send [12:01:12]OFD Sender: No OFD packet to send [12:01:17]OFD Sender: No OFD packet to send [12:01:22]OFD Sender: No OFD packet to send [12:01:28]OFD Sender: No OFD packet to send [12:01:33]OFD Sender: No OFD packet to send [12:01:38]OFD Sender: No OFD packet to send [12:01:43]OFD Sender: No OFD packet to send [12:01:48]OFD Sender: No OFD packet to send [12:01:53]OFD Sender: No OFD packet to send [12:01:58]OFD Sender: No OFD packet to send [12:02:03]OFD Sender: No OFD packet to send [12:02:08]OFD Sender: No OFD packet to send [12:02:13]OFD Sender: No OFD packet to send [12:02:18]OFD Sender: No OFD packet to send [12:02:23]OFD Sender: No OFD packet to send [12:02:28]OFD Sender: No OFD packet to send [12:02:33]OFD Sender: No OFD packet to send [12:02:38]OFD Sender: No OFD packet to send [12:02:43]OFD Sender: No OFD packet to send [12:02:48]OFD Sender: No OFD packet to send [12:02:53]OFD Sender: No OFD packet to send [12:02:58]OFD Sender: No OFD packet to send [12:03:03]OFD Sender: No OFD packet to send [12:03:08]OFD Sender: No OFD packet to send [12:03:13]OFD Sender: No OFD packet to send [12:03:18]OFD Sender: No OFD packet to send [12:03:23]OFD Sender: No OFD packet to send [12:03:28]OFD Sender: No OFD packet to send [12:03:33]OFD Sender: No OFD packet to send [12:03:38]OFD Sender: No OFD packet to send [12:03:43]OFD Sender: No OFD packet to send [12:03:48]OFD Sender: No OFD packet to send [12:03:53]OFD Sender: No OFD packet to send [12:03:58]OFD Sender: No OFD packet to send [12:04:03]OFD Sender: No OFD packet to send [12:04:08]OFD Sender: No OFD packet to send [12:04:13]OFD Sender: No OFD packet to send [12:04:18]OFD Sender: No OFD packet to send [12:04:23]OFD Sender: No OFD packet to send [12:04:28]OFD Sender: No OFD packet to send [12:04:33]OFD Sender: No OFD packet to send [12:04:38]OFD Sender: No OFD packet to send [12:04:43]OFD Sender: No OFD packet to send [12:04:48]OFD Sender: No OFD packet to send [12:04:53]OFD Sender: No OFD packet to send [12:04:58]OFD Sender: No OFD packet to send [12:05:03]OFD Sender: No OFD packet to send [12:05:08]OFD Sender: No OFD packet to send [12:05:13]OFD Sender: No OFD packet to send [12:05:18]OFD Sender: No OFD packet to send [12:05:23]OFD Sender: No OFD packet to send [12:05:28]OFD Sender: No OFD packet to send [12:05:33]OFD Sender: No OFD packet to send [12:05:38]OFD Sender: No OFD packet to send [12:05:43]OFD Sender: No OFD packet to send [12:05:48]OFD Sender: No OFD packet to send [12:05:53]OFD Sender: No OFD packet to send [12:05:58]OFD Sender: No OFD packet to send [12:06:03]OFD Sender: No OFD packet to send [12:06:08]OFD Sender: No OFD packet to send [12:06:13]OFD Sender: No OFD packet to send [12:06:18]OFD Sender: No OFD packet to send [12:06:23]OFD Sender: No OFD packet to send [12:06:28]OFD Sender: No OFD packet to send [12:06:33]OFD Sender: No OFD packet to send [12:06:38]OFD Sender: No OFD packet to send [12:06:43]OFD Sender: No OFD packet to send [12:06:48]OFD Sender: No OFD packet to send [12:06:53]OFD Sender: No OFD packet to send [12:06:58]OFD Sender: No OFD packet to send [12:07:03]OFD Sender: No OFD packet to send [12:07:08]OFD Sender: No OFD packet to send [12:07:13]OFD Sender: No OFD packet to send [12:07:18]OFD Sender: No OFD packet to send [12:07:23]OFD Sender: No OFD packet to send [12:07:28]OFD Sender: No OFD packet to send [12:07:33]OFD Sender: No OFD packet to send [12:07:38]OFD Sender: No OFD packet to send [12:07:43]OFD Sender: No OFD packet to send [12:07:48]OFD Sender: No OFD packet to send [12:07:53]OFD Sender: No OFD packet to send [12:07:58]OFD Sender: No OFD packet to send [12:08:03]OFD Sender: No OFD packet to send [12:08:08]OFD Sender: No OFD packet to send [12:08:13]OFD Sender: No OFD packet to send [12:08:18]OFD Sender: No OFD packet to send [12:08:23]OFD Sender: No OFD packet to send [12:08:28]OFD Sender: No OFD packet to send [12:08:33]OFD Sender: No OFD packet to send [12:08:38]OFD Sender: No OFD packet to send [12:08:43]OFD Sender: No OFD packet to send [12:08:48]OFD Sender: No OFD packet to send [12:08:53]OFD Sender: No OFD packet to send [12:08:58]OFD Sender: No OFD packet to send [12:09:03]OFD Sender: No OFD packet to send [12:09:08]OFD Sender: No OFD packet to send [12:09:13]OFD Sender: No OFD packet to send [12:09:18]OFD Sender: No OFD packet to send [12:09:23]OFD Sender: No OFD packet to send [12:09:28]OFD Sender: No OFD packet to send [12:09:33]OFD Sender: No OFD packet to send [12:09:38]OFD Sender: No OFD packet to send [12:09:43]OFD Sender: No OFD packet to send [12:09:48]OFD Sender: No OFD packet to send [12:09:53]OFD Sender: No OFD packet to send [12:09:58]OFD Sender: No OFD packet to send [12:10:03]OFD Sender: No OFD packet to send [12:10:08]OFD Sender: No OFD packet to send [12:10:13]OFD Sender: No OFD packet to send [12:10:18]OFD Sender: No OFD packet to send [12:10:23]OFD Sender: No OFD packet to send [12:10:28]OFD Sender: No OFD packet to send [12:10:33]OFD Sender: No OFD packet to send [12:10:38]OFD Sender: No OFD packet to send [12:10:43]OFD Sender: No OFD packet to send [12:10:48]OFD Sender: No OFD packet to send [12:10:53]OFD Sender: No OFD packet to send [12:10:58]OFD Sender: No OFD packet to send [12:11:03]OFD Sender: No OFD packet to send [12:11:08]OFD Sender: No OFD packet to send [12:11:13]OFD Sender: No OFD packet to send [12:11:18]OFD Sender: No OFD packet to send [12:11:23]OFD Sender: No OFD packet to send [12:11:28]OFD Sender: No OFD packet to send [12:11:33]OFD Sender: No OFD packet to send [12:11:38]OFD Sender: No OFD packet to send [12:11:43]OFD Sender: No OFD packet to send [12:11:48]OFD Sender: No OFD packet to send [12:11:53]OFD Sender: No OFD packet to send [12:11:58]OFD Sender: No OFD packet to send [12:12:03]OFD Sender: No OFD packet to send [12:12:08]OFD Sender: No OFD packet to send [12:12:13]OFD Sender: No OFD packet to send [12:12:18]OFD Sender: No OFD packet to send [12:12:23]OFD Sender: No OFD packet to send [12:12:28]OFD Sender: No OFD packet to send [12:12:33]OFD Sender: No OFD packet to send [12:12:38]OFD Sender: No OFD packet to send [12:12:43]OFD Sender: No OFD packet to send [12:12:48]OFD Sender: No OFD packet to send [12:12:53]OFD Sender: No OFD packet to send [12:12:58]OFD Sender: No OFD packet to send [12:13:03]OFD Sender: No OFD packet to send [12:13:08]OFD Sender: No OFD packet to send [12:13:13]OFD Sender: No OFD packet to send [12:13:18]OFD Sender: No OFD packet to send [12:13:23]OFD Sender: No OFD packet to send [12:13:28]OFD Sender: No OFD packet to send [12:13:33]OFD Sender: No OFD packet to send [12:13:38]OFD Sender: No OFD packet to send [12:13:43]OFD Sender: No OFD packet to send [12:13:48]OFD Sender: No OFD packet to send [12:13:53]OFD Sender: No OFD packet to send [12:13:58]OFD Sender: No OFD packet to send [12:14:03]OFD Sender: No OFD packet to send [12:14:08]OFD Sender: No OFD packet to send [12:14:13]OFD Sender: No OFD packet to send [12:14:18]OFD Sender: No OFD packet to send [12:14:23]OFD Sender: No OFD packet to send [12:14:27]accept exits with 9 [12:14:27]New connection [12:14:27]New thread 3067297124 created [12:14:27]Thread 3067440484 joined [12:14:27]Waiting for new connection... [12:14:27] Sock 9.Parse request [12:14:27]Sock 9.Check first char [12:14:27]Sock 9.First char is OK [12:14:27]request: POST /json_proto HTTP/1.0 [12:14:27]Method: POST [12:14:27]URL: /json_proto [12:14:27]Method is POST - this is cgi request [12:14:27]url: /json_proto [12:14:27]query_string will be loaded in cgi processing [12:14:27]execute_cgi json_proto POST (null) [12:14:27]execute_cgi path=json_proto method=POST [12:14:27]POST find Content-Length [12:14:27]Host: 172.17.40.196:8080 [12:14:27]Content-Length: 784 [12:14:27]Content-Type: application/json [12:14:27] [12:14:27]POST finish read [12:14:27]Found Content-Length = 784 [12:14:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35006", "tax_sys" : 0, "items" : [ { "code": "5449000025173", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 2\u043B", "price" : 205.00, "quantity" : 1.000, "sum" : 205.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" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:14:27]execute_script... [12:14:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35006", "tax_sys" : 0, "items" : [ { "code": "5449000025173", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 2\u043B", "price" : 205.00, "quantity" : 1.000, "sum" : 205.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" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:14:27]POST & json_proto [12:14:27]process_json_proto [12:14:27]json parsed OK: [12:14:27]protocol is kg_v1.0 [12:14:27]action value=close_receipt [12:14:27]process_action close_receipt [12:14:27]cmd_close_receipt [12:14:27]MH_GetDate [12:14:27]Write to MH i2c: F0 00 00 67 07 5D [12:14:27]Write i2c OK [12:14:27]MH_I2C_Read... [12:14:27]Read from MH i2c: F0 [12:14:27]MH_I2C_Read... [12:14:27]Read from MH i2c: F0 09 00 [12:14:27]MH_I2C_Read... [12:14:27]Read from MH i2c: F0 09 00 67 07 00 A5 2E 1E 67 5B 68 A1 66 88 [12:14:27]GetLastDocTimeStamp 1730030211 [12:14:27]current date 1730031269 [12:14:27]FM_GetShiftState [12:14:27]SAM_PROTO_GetShiftState [12:14:27]wFMCommunicate request_size=4 [12:14:27]MH_SAM_APDU [12:14:27]CAPDU: 80 13 01 00 [12:14:27]Write to MH i2c: E2 08 00 68 07 80 13 01 00 00 00 00 00 EC [12:14:27]Write i2c OK [12:14:27]MH_I2C_Read... [12:14:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:14:27]Read from MH i2c: E2 [12:14:27]MH_I2C_Read... [12:14:27]Read from MH i2c: E2 0E 00 [12:14:27]MH_I2C_Read... [12:14:27]Read from MH i2c: E2 0E 00 68 07 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 A3 [12:14:27]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [12:14:27]wFMCommunicate OK [12:14:27]SAM_PROTO_GetShiftState done [12:14:27]FM_GetShiftState done [12:14:27]opened in 1729987492 [12:14:27]opened+sec_in_day 1730073892 [12:14:27]quantity*price = 20500 [12:14:27]sum+1 = 20501 [12:14:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 205.00 НСП 1% : 1.81 НДС 12% : 21.77 Наличными: 0.00 Безнал.: 205.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 34 27.10.2024 12:14 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37708 ФПД: 162956802146811 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T121429&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37708&fm=162956802146811&tin=02508201610067®Number=0000000000091684&sum=20500 0 [12:14:28]StoreToDocumentArchive [12:14:28]shift 550 fd 37708 [12:14:28]save to /storage/0550/doc_00037708 [12:14:28]save last doc name /storage/0550/doc_00037708 to /storage/kkm_last_doc_name [12:14:28]save OK [12:14:28]Clear old archive folders... [12:14:28]ProcessDocumentItem done err = 0, tmpTLVsize=278 [12:14:28]tlvbuf is 0022B7D0 [12:14:28]SAM_PROTO_ClearQueue [12:14:28]wFMCommunicate request_size=4 [12:14:28]MH_SAM_APDU [12:14:28]CAPDU: 80 09 00 00 [12:14:28]Write to MH i2c: E2 08 00 75 07 80 09 00 00 00 00 00 00 EE [12:14:28]Write i2c OK [12:14:28]MH_I2C_Read... [12:14:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:14:28]Read from MH i2c: E2 [12:14:28]MH_I2C_Read... [12:14:28]Read from MH i2c: E2 03 00 [12:14:28]MH_I2C_Read... [12:14:28]Read from MH i2c: E2 03 00 75 07 00 90 00 F0 [12:14:28]RAPDU: 90 00 [12:14:28]wFMCommunicate OK [12:14:28]SAM_PROTO_ClearQueue done [12:14:28]KKMCreateOFDPacket [12:14:28]OFDProtocolAddRootSTLVToBuf [12:14:28]FM_MakeSignedData [12:14:28]FM_MakeSignedData [12:14:28]SAM_PROTO_SignData [12:14:28]wFMCommunicate request_size=4 [12:14:28]MH_SAM_APDU [12:14:28]CAPDU: 80 0D 01 02 [12:14:28]Write to MH i2c: E2 08 00 76 07 80 0D 01 02 00 00 00 00 F6 [12:14:28]Write i2c OK [12:14:28]MH_I2C_Read... [12:14:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:14:28]Read from MH i2c: E2 [12:14:28]MH_I2C_Read... [12:14:28]Read from MH i2c: E2 03 00 [12:14:28]MH_I2C_Read... [12:14:28]Read from MH i2c: E2 03 00 76 07 00 90 00 F1 [12:14:28]RAPDU: 90 00 [12:14:28]wFMCommunicate OK [12:14:28]wFMCommunicate request_size=255 [12:14:28]MH_SAM_APDU [12:14:28]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 35 31 37 33 06 04 24 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 50 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 A5 2E 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 [12:14:28]Write to MH i2c: E2 02 01 77 07 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 35 31 37 33 06 04 24 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 50 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 A5 2E 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 61 [12:14:28]Write i2c OK [12:14:28]MH_I2C_Read... [12:14:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:14:29]Read from MH i2c: E2 [12:14:29]MH_I2C_Read... [12:14:29]Read from MH i2c: E2 03 00 [12:14:29]MH_I2C_Read... [12:14:29]Read from MH i2c: E2 03 00 77 07 00 90 00 F2 [12:14:29]RAPDU: 90 00 [12:14:29]wFMCommunicate OK [12:14:29]wFMCommunicate request_size=37 [12:14:29]MH_SAM_APDU [12:14:29]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4C 93 00 00 35 04 06 00 94 35 56 4E 41 FB [12:14:29]Write to MH i2c: E2 28 00 78 07 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4C 93 00 00 35 04 06 00 94 35 56 4E 41 FB 00 00 D5 [12:14:29]Write i2c OK [12:14:29]MH_I2C_Read... [12:14:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:14:29]Read from MH i2c: E2 [12:14:29]MH_I2C_Read... [12:14:29]Read from MH i2c: E2 03 00 [12:14:29]MH_I2C_Read... [12:14:29]Read from MH i2c: E2 03 00 78 07 00 90 00 F3 [12:14:29]RAPDU: 90 00 [12:14:29]wFMCommunicate OK [12:14:29]wFMCommunicate request_size=4 [12:14:29]MH_SAM_APDU [12:14:29]CAPDU: 80 0D 03 02 [12:14:29]Write to MH i2c: E2 08 00 79 07 80 0D 03 02 00 00 00 00 FB [12:14:29]Write i2c OK [12:14:29]MH_I2C_Read... [12:14:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:14:29]Read from MH i2c: E2 [12:14:29]MH_I2C_Read... [12:14:29]Read from MH i2c: E2 0B 00 [12:14:29]MH_I2C_Read... [12:14:29]Read from MH i2c: E2 0B 00 79 07 00 AA E1 28 06 B6 2D 76 B2 90 00 C0 [12:14:29]RAPDU: AA E1 28 06 B6 2D 76 B2 90 00 [12:14:29]wFMCommunicate OK [12:14:29]SAM_PROTO_SignData done [12:14:29]FM_MakeSignedData done [12:14:29]CreateOFDProtocolMessage [12:14:29]wFMCommunicate request_size=4 [12:14:29]MH_SAM_APDU [12:14:29]CAPDU: 80 11 00 00 [12:14:29]Write to MH i2c: E2 08 00 7A 07 80 11 00 00 00 00 00 00 FB [12:14:29]Write i2c OK [12:14:29]MH_I2C_Read... [12:14:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:14:29]Read from MH i2c: E2 [12:14:29]MH_I2C_Read... [12:14:29]Read from MH i2c: E2 17 00 [12:14:29]MH_I2C_Read... [12:14:29]Read from MH i2c: E2 17 00 7A 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 4B [12:14:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [12:14:29]wFMCommunicate OK [12:14:29]CreateOFDProtocolMessage done [12:14:29]OFDSenderStorePacket 37708 [12:14:29]StoreOFDPacket docnum=37708 [12:14: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 2A 01 00 00 92 5F 22 01 84 53 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 35 31 37 33 06 04 24 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 50 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 A5 2E 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 4C 93 00 00 35 04 06 00 94 35 56 4E 41 FB AA E1 28 06 B6 2D 76 B2 [12:14:29]CheckFolder [12:14:29]dirname=/storage/ofd_packets [12:14:29]CheckFolder done [12:14:29]ProducePacketName [12:14:29]name=ofd_packets/00037708 [12:14:29]NVStorageSaveData ofd_packets/00037708 [12:14:29]File name is /storage/ofd_packets/00037708 [12:14:29]Write 328 bytes [12:14:29]NVStorageSaveData done [12:14:29]OFDSenderStorePacket done [12:14:29]KKMCreateOFDPacket done [12:14:29]NVStorageSaveData kkm_last_timestamp [12:14:29]File name is /storage/kkm_last_timestamp [12:14:29]Write 4 bytes [12:14:29]NVStorageSaveData done [12:14:29]ExternCall_PrintAddStr [12:14:29]wPrintStart [12:14:29]Write to MH i2c: 01 00 00 7B 07 82 [12:14:29]Write i2c OK [12:14:29]MH_I2C_Read... [12:14:29]Read from MH i2c: 01 [12:14:29]MH_I2C_Read... [12:14:29]Read from MH i2c: 01 07 00 [12:14:29]MH_I2C_Read... [12:14:29]Read from MH i2c: 01 07 00 7B 07 00 00 00 00 00 FF 0F 97 [12:14:29]RasterBufferAndPrint [12:14:29]line Счет N : (3)35006 [12:14:29]line ИНН: 02508201610067 [12:14:29]line Контрольно-Кассовый Чек [12:14:29]line ПРОДАЖА [12:14:29]line Товар: 5449000025173 [12:14:29]line Напиток Кока-Кола 2л [12:14:29]line 1.000 * 205.00 [12:14:29]line = 205.00 [12:14:29]line НДС 12% НСП 1% [12:14:29]line > о реализуемом товаре [12:14:29]line ИТОГО: 205.00 [12:14:29]line НСП 1% : 1.81 [12:14:29]line НДС 12% : 21.77 [12:14:29]line Наличными: 0.00 [12:14:29]line Безнал.: 205.00 [12:14:29]line Место: АЗС № 126 "Партнер Нефть" [12:14:29]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [12:14:29]line СНО: Общий режим [12:14:29]line Чек 34 27.10.2024 12:14 [12:14:29]line Смена: 550 ФФД: 1.0 [12:14:29]line ЗНМ: 0300000092 [12:14:29]line РНМ: 0000000000091684 [12:14:29]line Версия ККМ: 001 [12:14:29]line Платежная система: Mbank [12:14:29]line ФМ: 0000000000871841 [12:14:29]line ФД: 37708 [12:14:29]line ФПД: 162956802146811 [12:14:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T121429&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37708&fm=162956802146811&tin=02508201610067®Number=0000000000091684&sum=20500 [12:14:29]line 0 [12:14:29]OFD Sender: Processing packet 37708 [packets to send 42, broken 41] [12:14:29]ProducePacketName [12:14:29]name=ofd_packets/00037708 [12:14:29]OFD Sender: To server: pG, [12:14:29]CommunicateWithHost lk.salyk.kg:30040 [12:14:29]ConnectInit lk.salyk.kg [12:14:29]written 0, free lines is 4095 [12:14:29]Connected sock=10 [12:14:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2A 01 00 00 92 5F 22 01 84 53 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 35 31 37 33 06 04 24 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 50 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 A5 2E 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 4C 93 00 00 35 04 06 00 94 35 56 4E 41 FB AA E1 28 06 B6 2D 76 B2 [12:14:30]Write to MH i2c: 01 00 00 A4 07 AB [12:14:30]Write i2c OK [12:14:30]MH_I2C_Read... [12:14:30]Read from MH i2c: 01 [12:14:30]MH_I2C_Read... [12:14:30]Read from MH i2c: 01 07 00 [12:14:30]MH_I2C_Read... [12:14:30]Read from MH i2c: 01 07 00 A4 07 00 00 00 00 00 BD 0C 7B [12:14:30]RasterBufferAndPrint [12:14:30]line [12:14:30]line [12:14:30]line [12:14:30]line [12:14:30]line [12:14:30]written 0, free lines is 3267 [12:14:30]MH_Cut [12:14:30]Write to MH i2c: D1 01 00 AB 07 01 84 [12:14:30]Write i2c OK [12:14:30]MH_I2C_Read... [12:14:30]Read from MH i2c: D1 [12:14:30]MH_I2C_Read... [12:14:30]Read from MH i2c: D1 01 00 [12:14:30]MH_I2C_Read... [12:14:30]Read from MH i2c: D1 01 00 AB 07 00 83 [12:14:30]Write to MH i2c: 01 00 00 AC 07 B3 [12:14:30]Write i2c OK [12:14:30]MH_I2C_Read... [12:14:30]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 A9 A0 47 00 D5 3B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4C 93 00 00 F4 03 04 00 9D D9 1D 67 B6 04 01 00 00 0D B4 34 37 D9 5F E0 8A [12:14:30]CommunicateWithHost err = 0 [12:14:30]CheckOFDResponse [12:14:30]1017 (14) - 77093643461234 [12:14:30]1041 (16) - 0000000000871841 [12:14:30]1040 (4) - 37708 [12:14:30]1012 (4) - 27.10.2024 06:11 [12:14:30]1206 (1) - 0 [12:14:30]OFD Sender: Remove packet 37708 [12:14:30]ProducePacketName [12:14:30]name=ofd_packets/00037708 [12:14:30]NVStorageDeleteData [12:14:30]OFD Sender: No OFD packet to send [12:14:30]*** Cut start [12:14:30]*** Partial cut [12:14:30]*** CUTSNS_PIN = 1 [12:14:30]*** CUTSNS_PIN = 0 [12:14:31]*** Brake cut motor [12:14:31]Read from MH i2c: 01 [12:14:31]MH_I2C_Read... [12:14:31]*** Stop cut motor [12:14:31]*** Cut end [12:14:31]Read from MH i2c: 01 07 00 [12:14:31]MH_I2C_Read... [12:14:31]Read from MH i2c: 01 07 00 AC 07 00 00 00 00 00 FF 0F C8 [12:14:31]process_action close_receipt done [12:14:31]requested_data is exist [12:14:31]produce_requested_data [12:14:31]requested_item fm.sn is exist - process it [12:14:31]wFMCommunicate request_size=4 [12:14:31]MH_SAM_APDU [12:14:31]CAPDU: 80 11 00 00 [12:14:31]Write to MH i2c: E2 08 00 AD 07 80 11 00 00 00 00 00 00 2E [12:14:31]Write i2c OK [12:14:31]MH_I2C_Read... [12:14:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:14:31]Read from MH i2c: E2 [12:14:31]MH_I2C_Read... [12:14:31]Read from MH i2c: E2 17 00 [12:14:31]MH_I2C_Read... [12:14:31]Read from MH i2c: E2 17 00 AD 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 7E [12:14:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [12:14:31]wFMCommunicate OK [12:14:31]requested_item fd.num is exist - process it [12:14:31]SAM_PROTO_GetFieldsCounters [12:14:31]wFMCommunicate request_size=4 [12:14:31]MH_SAM_APDU [12:14:31]CAPDU: 80 13 00 00 [12:14:31]Write to MH i2c: E2 08 00 AE 07 80 13 00 00 00 00 00 00 31 [12:14:31]Write i2c OK [12:14:31]MH_I2C_Read... [12:14:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:14:31]Read from MH i2c: E2 [12:14:31]MH_I2C_Read... [12:14:31]Read from MH i2c: E2 62 00 [12:14:31]MH_I2C_Read... [12:14:31]Read from MH i2c: E2 62 00 AE 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 4C 93 00 00 0E 04 04 00 26 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 BF [12:14:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 4C 93 00 00 0E 04 04 00 26 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 [12:14:31]wFMCommunicate OK [12:14:31]SAM_PROTO_GetFieldsCounters done [12:14:31]requested_item shift.num is exist - process it [12:14:31]requested_item shift.opened is exist - process it [12:14:31]req_shift_opened [12:14:31]FM_GetShiftState [12:14:31]SAM_PROTO_GetShiftState [12:14:31]wFMCommunicate request_size=4 [12:14:31]MH_SAM_APDU [12:14:31]CAPDU: 80 13 01 00 [12:14:31]Write to MH i2c: E2 08 00 AF 07 80 13 01 00 00 00 00 00 33 [12:14:31]Write i2c OK [12:14:31]MH_I2C_Read... [12:14:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:14:31]Read from MH i2c: E2 [12:14:31]MH_I2C_Read... [12:14:31]Read from MH i2c: E2 0E 00 [12:14:31]MH_I2C_Read... [12:14:31]Read from MH i2c: E2 0E 00 AF 07 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 EA [12:14:31]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [12:14:31]wFMCommunicate OK [12:14:31]SAM_PROTO_GetShiftState done [12:14:31]FM_GetShiftState done [12:14:31]req_shift_opened done [12:14:31]requested_item shift.open_date is exist - process it [12:14:31]req_shift_open_date [12:14:31]req_shift_open_date done [12:14:31]produce_requested_data done [12:14:31]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37708,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [12:14:31]process_action_free close_receipt [12:14:31]json_value_free [12:14:31]json_value_free done [12:14:31]process_json_proto returns [12:14:31]Send response to host [12:14:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37708,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [12:14:31]free response buf [12:14:31]execute_script done [12:14:31]execute_script returns [12:14:31]free content buf [12:14:31]Sock 9.Close socket [12:14:31]Sock 9.Thread stoped [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:14:56]accept exits with 7 [12:14:56]New connection [12:14:56]New thread 3067440484 created [12:14:56]Thread 3067297124 joined [12:14:56]Waiting for new connection... [12:14:56] Sock 7.Parse request [12:14:56]Sock 7.Check first char [12:14:56]Sock 7.First char is OK [12:14:56]request: POST /json_proto HTTP/1.0 [12:14:56]Method: POST [12:14:56]URL: /json_proto [12:14:56]Method is POST - this is cgi request [12:14:56]url: /json_proto [12:14:56]query_string will be loaded in cgi processing [12:14:56]execute_cgi json_proto POST (null) [12:14:56]execute_cgi path=json_proto method=POST [12:14:56]POST find Content-Length [12:14:56]Host: 172.17.40.196:8080 [12:14:56]Content-Length: 776 [12:14:56]Content-Type: application/json [12:14:56] [12:14:56]POST finish read [12:14:56]Found Content-Length = 776 [12:14:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35007", "tax_sys" : 0, "items" : [ { "code": "2000038180017", "name": "\u041A\u043E\u0444\u0435 \u041C\u043E\u043A\u043A\u043E\u0447\u0438\u043D\u043E (GABB TRADE)", "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" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:14:56]execute_script... [12:14: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)35007", "tax_sys" : 0, "items" : [ { "code": "2000038180017", "name": "\u041A\u043E\u0444\u0435 \u041C\u043E\u043A\u043A\u043E\u0447\u0438\u043D\u043E (GABB TRADE)", "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" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:14:56]POST & json_proto [12:14:56]process_json_proto [12:14:56]json parsed OK: [12:14:56]protocol is kg_v1.0 [12:14:56]action value=close_receipt [12:14:56]process_action close_receipt [12:14:56]cmd_close_receipt [12:14:56]MH_GetDate [12:14:56]Write to MH i2c: F0 00 00 B0 07 A6 [12:14:56]Write i2c OK [12:14:56]MH_I2C_Read... [12:14:56]Read from MH i2c: F0 [12:14:56]MH_I2C_Read... [12:14:56]Read from MH i2c: F0 09 00 [12:14:56]MH_I2C_Read... [12:14:56]Read from MH i2c: F0 09 00 B0 07 00 C2 2E 1E 67 5B 68 A1 66 EE [12:14:56]GetLastDocTimeStamp 1730031269 [12:14:56]current date 1730031298 [12:14:56]FM_GetShiftState [12:14:56]SAM_PROTO_GetShiftState [12:14:56]wFMCommunicate request_size=4 [12:14:56]MH_SAM_APDU [12:14:56]CAPDU: 80 13 01 00 [12:14:56]Write to MH i2c: E2 08 00 B1 07 80 13 01 00 00 00 00 00 35 [12:14:56]Write i2c OK [12:14:56]MH_I2C_Read... [12:14:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:14:56]Read from MH i2c: E2 [12:14:56]MH_I2C_Read... [12:14:56]Read from MH i2c: E2 0E 00 [12:14:56]MH_I2C_Read... [12:14:56]Read from MH i2c: E2 0E 00 B1 07 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 EC [12:14:56]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [12:14:56]wFMCommunicate OK [12:14:56]SAM_PROTO_GetShiftState done [12:14:56]FM_GetShiftState done [12:14:56]opened in 1729987492 [12:14:56]opened+sec_in_day 1730073892 [12:14:56]quantity*price = 12000 [12:14:56]sum+1 = 12001 [12:14:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 0.00 Безнал.: 120.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 35 27.10.2024 12:14 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37709 ФПД: 135472303516993 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T121458&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37709&fm=135472303516993&tin=02508201610067®Number=0000000000091684&sum=12000 0 [12:14:57]StoreToDocumentArchive [12:14:57]shift 550 fd 37709 [12:14:57]save to /storage/0550/doc_00037709 [12:14:57]save last doc name /storage/0550/doc_00037709 to /storage/kkm_last_doc_name [12:14:57]save OK [12:14:57]Clear old archive folders... [12:14:57]ProcessDocumentItem done err = 0, tmpTLVsize=282 [12:14:57]tlvbuf is B6F1FB50 [12:14:57]SAM_PROTO_ClearQueue [12:14:57]wFMCommunicate request_size=4 [12:14:57]MH_SAM_APDU [12:14:57]CAPDU: 80 09 00 00 [12:14:57]Write to MH i2c: E2 08 00 BE 07 80 09 00 00 00 00 00 00 37 [12:14:57]Write i2c OK [12:14:57]MH_I2C_Read... [12:14:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:14:57]Read from MH i2c: E2 [12:14:57]MH_I2C_Read... [12:14:57]Read from MH i2c: E2 03 00 [12:14:57]MH_I2C_Read... [12:14:57]Read from MH i2c: E2 03 00 BE 07 00 90 00 39 [12:14:57]RAPDU: 90 00 [12:14:57]wFMCommunicate OK [12:14:57]SAM_PROTO_ClearQueue done [12:14:57]KKMCreateOFDPacket [12:14:57]OFDProtocolAddRootSTLVToBuf [12:14:57]FM_MakeSignedData [12:14:57]FM_MakeSignedData [12:14:57]SAM_PROTO_SignData [12:14:57]wFMCommunicate request_size=4 [12:14:57]MH_SAM_APDU [12:14:57]CAPDU: 80 0D 01 02 [12:14:57]Write to MH i2c: E2 08 00 BF 07 80 0D 01 02 00 00 00 00 3F [12:14:57]Write i2c OK [12:14:57]MH_I2C_Read... [12:14:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:14:58]Read from MH i2c: E2 [12:14:58]MH_I2C_Read... [12:14:58]Read from MH i2c: E2 03 00 [12:14:58]MH_I2C_Read... [12:14:58]Read from MH i2c: E2 03 00 BF 07 00 90 00 3A [12:14:58]RAPDU: 90 00 [12:14:58]wFMCommunicate OK [12:14:58]wFMCommunicate request_size=255 [12:14:58]MH_SAM_APDU [12:14:58]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 38 31 38 30 30 31 37 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9C D0 BE D0 BA D0 BA D0 BE D1 87 D0 B8 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 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 00 00 00 00 00 00 39 04 06 00 E0 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 C2 2E 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 [12:14:58]Write to MH i2c: E2 02 01 C0 07 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 38 31 38 30 30 31 37 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9C D0 BE D0 BA D0 BA D0 BE D1 87 D0 B8 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 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 00 00 00 00 00 00 39 04 06 00 E0 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 C2 2E 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 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 24 [12:14:58]Write i2c OK [12:14:58]MH_I2C_Read... [12:14:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:14:58]Read from MH i2c: E2 [12:14:58]MH_I2C_Read... [12:14:58]Read from MH i2c: E2 03 00 [12:14:58]MH_I2C_Read... [12:14:58]Read from MH i2c: E2 03 00 C0 07 00 90 00 3B [12:14:58]RAPDU: 90 00 [12:14:58]wFMCommunicate OK [12:14:58]wFMCommunicate request_size=41 [12:14:58]MH_SAM_APDU [12:14:58]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 4D 93 00 00 35 04 06 00 7B 36 1A 87 2D 41 [12:14:58]Write to MH i2c: E2 2C 00 C1 07 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 4D 93 00 00 35 04 06 00 7B 36 1A 87 2D 41 00 00 AE [12:14:58]Write i2c OK [12:14:58]MH_I2C_Read... [12:14:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:14:58]Read from MH i2c: E2 [12:14:58]MH_I2C_Read... [12:14:58]Read from MH i2c: E2 03 00 [12:14:58]MH_I2C_Read... [12:14:58]Read from MH i2c: E2 03 00 C1 07 00 90 00 3C [12:14:58]RAPDU: 90 00 [12:14:58]wFMCommunicate OK [12:14:58]wFMCommunicate request_size=4 [12:14:58]MH_SAM_APDU [12:14:58]CAPDU: 80 0D 03 02 [12:14:58]Write to MH i2c: E2 08 00 C2 07 80 0D 03 02 00 00 00 00 44 [12:14:58]Write i2c OK [12:14:58]MH_I2C_Read... [12:14:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:14:58]Read from MH i2c: E2 [12:14:58]MH_I2C_Read... [12:14:58]Read from MH i2c: E2 0B 00 [12:14:58]MH_I2C_Read... [12:14:58]Read from MH i2c: E2 0B 00 C2 07 00 8E 19 D3 3A 5F 85 9C 23 90 00 9C [12:14:58]RAPDU: 8E 19 D3 3A 5F 85 9C 23 90 00 [12:14:58]wFMCommunicate OK [12:14:58]SAM_PROTO_SignData done [12:14:58]FM_MakeSignedData done [12:14:58]CreateOFDProtocolMessage [12:14:58]wFMCommunicate request_size=4 [12:14:58]MH_SAM_APDU [12:14:58]CAPDU: 80 11 00 00 [12:14:58]Write to MH i2c: E2 08 00 C3 07 80 11 00 00 00 00 00 00 44 [12:14:58]Write i2c OK [12:14:58]MH_I2C_Read... [12:14:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:14:58]Read from MH i2c: E2 [12:14:58]MH_I2C_Read... [12:14:58]Read from MH i2c: E2 17 00 [12:14:58]MH_I2C_Read... [12:14:58]Read from MH i2c: E2 17 00 C3 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 94 [12:14: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:14:58]wFMCommunicate OK [12:14:58]CreateOFDProtocolMessage done [12:14:58]OFDSenderStorePacket 37709 [12:14:58]StoreOFDPacket docnum=37709 [12:14: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 2E 01 00 00 0C BE 26 01 20 CD 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 38 31 38 30 30 31 37 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9C D0 BE D0 BA D0 BA D0 BE D1 87 D0 B8 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 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 00 00 00 00 00 00 39 04 06 00 E0 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 C2 2E 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 4D 93 00 00 35 04 06 00 7B 36 1A 87 2D 41 8E 19 D3 3A 5F 85 9C 23 [12:14:58]CheckFolder [12:14:58]dirname=/storage/ofd_packets [12:14:58]CheckFolder done [12:14:58]ProducePacketName [12:14:58]name=ofd_packets/00037709 [12:14:58]NVStorageSaveData ofd_packets/00037709 [12:14:58]File name is /storage/ofd_packets/00037709 [12:14:58]Write 332 bytes [12:14:58]NVStorageSaveData done [12:14:58]OFDSenderStorePacket done [12:14:58]KKMCreateOFDPacket done [12:14:58]NVStorageSaveData kkm_last_timestamp [12:14:58]File name is /storage/kkm_last_timestamp [12:14:58]Write 4 bytes [12:14:58]NVStorageSaveData done [12:14:58]ExternCall_PrintAddStr [12:14:58]wPrintStart [12:14:58]Write to MH i2c: 01 00 00 C4 07 CB [12:14:58]Write i2c OK [12:14:58]MH_I2C_Read... [12:14:58]Read from MH i2c: 01 [12:14:58]MH_I2C_Read... [12:14:58]Read from MH i2c: 01 07 00 [12:14:58]MH_I2C_Read... [12:14:58]Read from MH i2c: 01 07 00 C4 07 00 00 00 00 00 FF 0F E0 [12:14:58]RasterBufferAndPrint [12:14:58]line Счет N : (3)35007 [12:14:58]line ИНН: 02508201610067 [12:14:58]line Контрольно-Кассовый Чек [12:14:58]line ПРОДАЖА [12:14:58]line Товар: 2000038180017 [12:14:58]line Кофе Моккочино (GABB TRADE) [12:14:58]line 1.000 * 120.00 [12:14:58]line = 120.00 [12:14:58]line НДС 12% НСП 1% [12:14:58]line > о реализуемом товаре [12:14:58]line ИТОГО: 120.00 [12:14:58]line НСП 1% : 1.06 [12:14:58]line НДС 12% : 12.74 [12:14:58]line Наличными: 0.00 [12:14:58]line Безнал.: 120.00 [12:14:58]line Место: АЗС № 126 "Партнер Нефть" [12:14:58]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [12:14:58]line СНО: Общий режим [12:14:58]line Чек 35 27.10.2024 12:14 [12:14:58]line Смена: 550 ФФД: 1.0 [12:14:58]line ЗНМ: 0300000092 [12:14:58]line РНМ: 0000000000091684 [12:14:58]line Версия ККМ: 001 [12:14:58]line Платежная система: Mbank [12:14:58]line ФМ: 0000000000871841 [12:14:58]line ФД: 37709 [12:14:58]line ФПД: 135472303516993 [12:14:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T121458&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37709&fm=135472303516993&tin=02508201610067®Number=0000000000091684&sum=12000 [12:14:58]line 0 [12:14:58]OFD Sender: Processing packet 37709 [packets to send 42, broken 41] [12:14:58]ProducePacketName [12:14:58]name=ofd_packets/00037709 [12:14:58]OFD Sender: To server: pG, [12:14:58]CommunicateWithHost lk.salyk.kg:30040 [12:14:58]ConnectInit lk.salyk.kg [12:14:58]written 0, free lines is 4095 [12:14:58]Connected sock=10 [12:14: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 0C BE 26 01 20 CD 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 38 31 38 30 30 31 37 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9C D0 BE D0 BA D0 BA D0 BE D1 87 D0 B8 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 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 00 00 00 00 00 00 39 04 06 00 E0 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 C2 2E 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 4D 93 00 00 35 04 06 00 7B 36 1A 87 2D 41 8E 19 D3 3A 5F 85 9C 23 [12:14:59]Write to MH i2c: 01 00 00 EE 07 F5 [12:14:59]Write i2c OK [12:14:59]MH_I2C_Read... [12:14:59]Read from MH i2c: 01 [12:14:59]MH_I2C_Read... [12:14:59]Read from MH i2c: 01 07 00 [12:14:59]MH_I2C_Read... [12:14:59]Read from MH i2c: 01 07 00 EE 07 00 00 00 00 00 A6 0C AE [12:14:59]RasterBufferAndPrint [12:14:59]line [12:14:59]line [12:14:59]line [12:14:59]line [12:14:59]line [12:14:59]written 0, free lines is 3242 [12:14:59]MH_Cut [12:14:59]Write to MH i2c: D1 01 00 F5 07 01 CE [12:14:59]Write i2c OK [12:14:59]MH_I2C_Read... [12:14:59]Read from MH i2c: D1 [12:14:59]MH_I2C_Read... [12:14:59]Read from MH i2c: D1 01 00 [12:14:59]MH_I2C_Read... [12:14:59]Read from MH i2c: D1 01 00 F5 07 00 CD [12:14:59]Write to MH i2c: 01 00 00 F6 07 FD [12:14:59]Write i2c OK [12:14:59]MH_I2C_Read... [12:14: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 A9 1E 47 00 25 21 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4D 93 00 00 F4 03 04 00 BA D9 1D 67 B6 04 01 00 00 00 6A 2A 2D 93 4B D7 49 [12:14:59]CommunicateWithHost err = 0 [12:14:59]CheckOFDResponse [12:14:59]1017 (14) - 77093643461234 [12:14:59]1041 (16) - 0000000000871841 [12:14:59]1040 (4) - 37709 [12:14:59]1012 (4) - 27.10.2024 06:12 [12:14:59]1206 (1) - 0 [12:14:59]OFD Sender: Remove packet 37709 [12:14:59]ProducePacketName [12:14:59]name=ofd_packets/00037709 [12:14:59]NVStorageDeleteData [12:14:59]OFD Sender: No OFD packet to send [12:15:00]*** Cut start [12:15:00]*** Partial cut [12:15:00]*** CUTSNS_PIN = 1 [12:15:00]*** CUTSNS_PIN = 0 [12:15:00]*** Brake cut motor [12:15:00]Read from MH i2c: 01 [12:15:00]MH_I2C_Read... [12:15:00]*** Stop cut motor [12:15:00]*** Cut end [12:15:00]Read from MH i2c: 01 07 00 [12:15:00]MH_I2C_Read... [12:15:00]Read from MH i2c: 01 07 00 F6 07 00 00 00 00 00 FF 0F 12 [12:15:00]process_action close_receipt done [12:15:00]requested_data is exist [12:15:00]produce_requested_data [12:15:00]requested_item fm.sn is exist - process it [12:15:00]wFMCommunicate request_size=4 [12:15:00]MH_SAM_APDU [12:15:00]CAPDU: 80 11 00 00 [12:15:00]Write to MH i2c: E2 08 00 F7 07 80 11 00 00 00 00 00 00 78 [12:15:00]Write i2c OK [12:15:00]MH_I2C_Read... [12:15:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:15:00]Read from MH i2c: E2 [12:15:00]MH_I2C_Read... [12:15:00]Read from MH i2c: E2 17 00 [12:15:00]MH_I2C_Read... [12:15:00]Read from MH i2c: E2 17 00 F7 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 C8 [12:15: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:15:00]wFMCommunicate OK [12:15:00]requested_item fd.num is exist - process it [12:15:00]SAM_PROTO_GetFieldsCounters [12:15:00]wFMCommunicate request_size=4 [12:15:00]MH_SAM_APDU [12:15:00]CAPDU: 80 13 00 00 [12:15:00]Write to MH i2c: E2 08 00 F8 07 80 13 00 00 00 00 00 00 7B [12:15:00]Write i2c OK [12:15:00]MH_I2C_Read... [12:15:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:15:00]Read from MH i2c: E2 [12:15:00]MH_I2C_Read... [12:15:00]Read from MH i2c: E2 62 00 [12:15:00]MH_I2C_Read... [12:15:00]Read from MH i2c: E2 62 00 F8 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 4D 93 00 00 0E 04 04 00 26 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 0D [12:15: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 4D 93 00 00 0E 04 04 00 26 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 [12:15:00]wFMCommunicate OK [12:15:00]SAM_PROTO_GetFieldsCounters done [12:15:00]requested_item shift.num is exist - process it [12:15:00]requested_item shift.opened is exist - process it [12:15:00]req_shift_opened [12:15:00]FM_GetShiftState [12:15:00]SAM_PROTO_GetShiftState [12:15:00]wFMCommunicate request_size=4 [12:15:00]MH_SAM_APDU [12:15:00]CAPDU: 80 13 01 00 [12:15:00]Write to MH i2c: E2 08 00 F9 07 80 13 01 00 00 00 00 00 7D [12:15:00]Write i2c OK [12:15:00]MH_I2C_Read... [12:15:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:15:01]Read from MH i2c: E2 [12:15:01]MH_I2C_Read... [12:15:01]Read from MH i2c: E2 0E 00 [12:15:01]MH_I2C_Read... [12:15:01]Read from MH i2c: E2 0E 00 F9 07 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 34 [12:15:01]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [12:15:01]wFMCommunicate OK [12:15:01]SAM_PROTO_GetShiftState done [12:15:01]FM_GetShiftState done [12:15:01]req_shift_opened done [12:15:01]requested_item shift.open_date is exist - process it [12:15:01]req_shift_open_date [12:15:01]req_shift_open_date done [12:15:01]produce_requested_data done [12:15:01]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37709,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [12:15:01]process_action_free close_receipt [12:15:01]json_value_free [12:15:01]json_value_free done [12:15:01]process_json_proto returns [12:15:01]Send response to host [12:15:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37709,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [12:15:01]free response buf [12:15:01]execute_script done [12:15:01]execute_script returns [12:15:01]free content buf [12:15:01]Sock 7.Close socket [12:15:01]Sock 7.Thread stoped [12:15:04]OFD Sender: No OFD packet to send [12:15:09]OFD Sender: No OFD packet to send [12:15:14]OFD Sender: No OFD packet to send [12:15:19]OFD Sender: No OFD packet to send [12:15:24]OFD Sender: No OFD packet to send [12:15:29]OFD Sender: No OFD packet to send [12:15:34]OFD Sender: No OFD packet to send [12:15:39]OFD Sender: No OFD packet to send [12:15:44]OFD Sender: No OFD packet to send [12:15:49]OFD Sender: No OFD packet to send [12:15:54]OFD Sender: No OFD packet to send [12:15:59]OFD Sender: No OFD packet to send [12:16:04]OFD Sender: No OFD packet to send [12:16:09]OFD Sender: No OFD packet to send [12:16:14]OFD Sender: No OFD packet to send [12:16:19]OFD Sender: No OFD packet to send [12:16:24]OFD Sender: No OFD packet to send [12:16:29]OFD Sender: No OFD packet to send [12:16:34]OFD Sender: No OFD packet to send [12:16:39]OFD Sender: No OFD packet to send [12:16:44]OFD Sender: No OFD packet to send [12:16:49]OFD Sender: No OFD packet to send [12:16:54]OFD Sender: No OFD packet to send [12:16:59]OFD Sender: No OFD packet to send [12:17:04]OFD Sender: No OFD packet to send [12:17:09]OFD Sender: No OFD packet to send [12:17:14]OFD Sender: No OFD packet to send [12:17:19]OFD Sender: No OFD packet to send [12:17:24]OFD Sender: No OFD packet to send [12:17:29]OFD Sender: No OFD packet to send [12:17:34]OFD Sender: No OFD packet to send [12:17:39]OFD Sender: No OFD packet to send [12:17: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:24:00]OFD Sender: No OFD packet to send [12:24:05]OFD Sender: No OFD packet to send [12:24:10]OFD Sender: No OFD packet to send [12:24:15]OFD Sender: No OFD packet to send [12:24:20]OFD Sender: No OFD packet to send [12:24:25]OFD Sender: No OFD packet to send [12:24:30]OFD Sender: No OFD packet to send [12:24:32]accept exits with 9 [12:24:32]New connection [12:24:32]New thread 3067297124 created [12:24:32]Thread 3067440484 joined [12:24:32]Waiting for new connection... [12:24:32] Sock 9.Parse request [12:24:32]Sock 9.Check first char [12:24:32]Sock 9.First char is OK [12:24:32]request: POST /json_proto HTTP/1.0 [12:24:32]Method: POST [12:24:32]URL: /json_proto [12:24:32]Method is POST - this is cgi request [12:24:32]url: /json_proto [12:24:32]query_string will be loaded in cgi processing [12:24:32]execute_cgi json_proto POST (null) [12:24:32]execute_cgi path=json_proto method=POST [12:24:32]POST find Content-Length [12:24:32]Host: 172.17.40.196:8080 [12:24:32]Content-Length: 620 [12:24:32]Content-Type: application/json [12:24:32] [12:24:32]POST finish read [12:24:32]Found Content-Length = 620 [12:24:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35008", "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" ] } } [12:24:32]execute_script... [12:24: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)35008", "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" ] } } [12:24:32]POST & json_proto [12:24:32]process_json_proto [12:24:32]json parsed OK: [12:24:32]protocol is kg_v1.0 [12:24:32]action value=close_receipt [12:24:32]process_action close_receipt [12:24:32]cmd_close_receipt [12:24:32]MH_GetDate [12:24:32]Write to MH i2c: F0 00 00 FA 07 F0 [12:24:32]Write i2c OK [12:24:32]MH_I2C_Read... [12:24:32]Read from MH i2c: F0 [12:24:32]MH_I2C_Read... [12:24:32]Read from MH i2c: F0 09 00 [12:24:32]MH_I2C_Read... [12:24:32]Read from MH i2c: F0 09 00 FA 07 00 02 31 1E 67 5B 68 A1 66 7B [12:24:32]GetLastDocTimeStamp 1730031298 [12:24:32]current date 1730031874 [12:24:32]FM_GetShiftState [12:24:32]SAM_PROTO_GetShiftState [12:24:32]wFMCommunicate request_size=4 [12:24:32]MH_SAM_APDU [12:24:32]CAPDU: 80 13 01 00 [12:24:32]Write to MH i2c: E2 08 00 FB 07 80 13 01 00 00 00 00 00 7F [12:24:32]Write i2c OK [12:24:32]MH_I2C_Read... [12:24:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:24:32]Read from MH i2c: E2 [12:24:32]MH_I2C_Read... [12:24:32]Read from MH i2c: E2 0E 00 [12:24:32]MH_I2C_Read... [12:24:32]Read from MH i2c: E2 0E 00 FB 07 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 36 [12:24:32]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [12:24:32]wFMCommunicate OK [12:24:32]SAM_PROTO_GetShiftState done [12:24:32]FM_GetShiftState done [12:24:32]opened in 1729987492 [12:24:32]opened+sec_in_day 1730073892 [12:24:32]quantity*price = 14400 [12:24:32]sum+1 = 14401 [12:24:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 36 27.10.2024 12:24 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37710 ФПД: 125434697562104 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T122434&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37710&fm=125434697562104&tin=02508201610067®Number=0000000000091684&sum=14400 0 [12:24:33]StoreToDocumentArchive [12:24:33]shift 550 fd 37710 [12:24:33]save to /storage/0550/doc_00037710 [12:24:33]save last doc name /storage/0550/doc_00037710 to /storage/kkm_last_doc_name [12:24:33]save OK [12:24:33]Clear old archive folders... [12:24:33]ProcessDocumentItem done err = 0, tmpTLVsize=273 [12:24:33]tlvbuf is 00213950 [12:24:33]SAM_PROTO_ClearQueue [12:24:33]wFMCommunicate request_size=4 [12:24:33]MH_SAM_APDU [12:24:33]CAPDU: 80 09 00 00 [12:24:33]Write to MH i2c: E2 08 00 08 08 80 09 00 00 00 00 00 00 82 [12:24:33]Write i2c OK [12:24:33]MH_I2C_Read... [12:24:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:24:33]Read from MH i2c: E2 [12:24:33]MH_I2C_Read... [12:24:33]Read from MH i2c: E2 03 00 [12:24:33]MH_I2C_Read... [12:24:33]Read from MH i2c: E2 03 00 08 08 00 90 00 84 [12:24:33]RAPDU: 90 00 [12:24:33]wFMCommunicate OK [12:24:33]SAM_PROTO_ClearQueue done [12:24:33]KKMCreateOFDPacket [12:24:33]OFDProtocolAddRootSTLVToBuf [12:24:33]FM_MakeSignedData [12:24:33]FM_MakeSignedData [12:24:33]SAM_PROTO_SignData [12:24:33]wFMCommunicate request_size=4 [12:24:33]MH_SAM_APDU [12:24:33]CAPDU: 80 0D 01 02 [12:24:33]Write to MH i2c: E2 08 00 09 08 80 0D 01 02 00 00 00 00 8A [12:24:33]Write i2c OK [12:24:33]MH_I2C_Read... [12:24:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:24:33]Read from MH i2c: E2 [12:24:33]MH_I2C_Read... [12:24:33]Read from MH i2c: E2 03 00 [12:24:33]MH_I2C_Read... [12:24:33]Read from MH i2c: E2 03 00 09 08 00 90 00 85 [12:24:33]RAPDU: 90 00 [12:24:33]wFMCommunicate OK [12:24:33]wFMCommunicate request_size=255 [12:24:33]MH_SAM_APDU [12:24:33]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 24 00 00 00 F4 03 04 00 02 31 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [12:24:33]Write to MH i2c: E2 02 01 0A 08 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 24 00 00 00 F4 03 04 00 02 31 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 FB [12:24:33]Write i2c OK [12:24:33]MH_I2C_Read... [12:24:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:24:34]Read from MH i2c: E2 [12:24:34]MH_I2C_Read... [12:24:34]Read from MH i2c: E2 03 00 [12:24:34]MH_I2C_Read... [12:24:34]Read from MH i2c: E2 03 00 0A 08 00 90 00 86 [12:24:34]RAPDU: 90 00 [12:24:34]wFMCommunicate OK [12:24:34]wFMCommunicate request_size=32 [12:24:34]MH_SAM_APDU [12:24:34]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 4E 93 00 00 35 04 06 00 72 15 0A 97 37 F8 [12:24:34]Write to MH i2c: E2 23 00 0B 08 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 4E 93 00 00 35 04 06 00 72 15 0A 97 37 F8 00 00 1F [12:24:34]Write i2c OK [12:24:34]MH_I2C_Read... [12:24:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:24:34]Read from MH i2c: E2 [12:24:34]MH_I2C_Read... [12:24:34]Read from MH i2c: E2 03 00 [12:24:34]MH_I2C_Read... [12:24:34]Read from MH i2c: E2 03 00 0B 08 00 90 00 87 [12:24:34]RAPDU: 90 00 [12:24:34]wFMCommunicate OK [12:24:34]wFMCommunicate request_size=4 [12:24:34]MH_SAM_APDU [12:24:34]CAPDU: 80 0D 03 02 [12:24:34]Write to MH i2c: E2 08 00 0C 08 80 0D 03 02 00 00 00 00 8F [12:24:34]Write i2c OK [12:24:34]MH_I2C_Read... [12:24:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:24:34]Read from MH i2c: E2 [12:24:34]MH_I2C_Read... [12:24:34]Read from MH i2c: E2 0B 00 [12:24:34]MH_I2C_Read... [12:24:34]Read from MH i2c: E2 0B 00 0C 08 00 BE 33 47 68 CF CE 4D C3 90 00 DD [12:24:34]RAPDU: BE 33 47 68 CF CE 4D C3 90 00 [12:24:34]wFMCommunicate OK [12:24:34]SAM_PROTO_SignData done [12:24:34]FM_MakeSignedData done [12:24:34]CreateOFDProtocolMessage [12:24:34]wFMCommunicate request_size=4 [12:24:34]MH_SAM_APDU [12:24:34]CAPDU: 80 11 00 00 [12:24:34]Write to MH i2c: E2 08 00 0D 08 80 11 00 00 00 00 00 00 8F [12:24:34]Write i2c OK [12:24:34]MH_I2C_Read... [12:24:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:24:34]Read from MH i2c: E2 [12:24:34]MH_I2C_Read... [12:24:34]Read from MH i2c: E2 17 00 [12:24:34]MH_I2C_Read... [12:24:34]Read from MH i2c: E2 17 00 0D 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 DF [12:24:34]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:34]wFMCommunicate OK [12:24:34]CreateOFDProtocolMessage done [12:24:34]OFDSenderStorePacket 37710 [12:24:34]StoreOFDPacket docnum=37710 [12:24: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 25 01 00 00 81 9E 1D 01 24 38 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 02 31 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 4E 93 00 00 35 04 06 00 72 15 0A 97 37 F8 BE 33 47 68 CF CE 4D C3 [12:24:34]CheckFolder [12:24:34]dirname=/storage/ofd_packets [12:24:34]CheckFolder done [12:24:34]ProducePacketName [12:24:34]name=ofd_packets/00037710 [12:24:34]NVStorageSaveData ofd_packets/00037710 [12:24:34]File name is /storage/ofd_packets/00037710 [12:24:34]Write 323 bytes [12:24:34]NVStorageSaveData done [12:24:34]OFDSenderStorePacket done [12:24:34]KKMCreateOFDPacket done [12:24:34]NVStorageSaveData kkm_last_timestamp [12:24:34]File name is /storage/kkm_last_timestamp [12:24:34]Write 4 bytes [12:24:34]NVStorageSaveData done [12:24:34]ExternCall_PrintAddStr [12:24:34]wPrintStart [12:24:34]Write to MH i2c: 01 00 00 0E 08 16 [12:24:34]Write i2c OK [12:24:34]MH_I2C_Read... [12:24:34]Read from MH i2c: 01 [12:24:34]MH_I2C_Read... [12:24:34]Read from MH i2c: 01 07 00 [12:24:34]MH_I2C_Read... [12:24:34]Read from MH i2c: 01 07 00 0E 08 00 00 00 00 00 FF 0F 2B [12:24:34]RasterBufferAndPrint [12:24:34]line Счет N : (3)35008 [12:24:34]line ИНН: 02508201610067 [12:24:34]line Контрольно-Кассовый Чек [12:24:34]line ПРОДАЖА [12:24:34]line Товар: 48743570 [12:24:34]line Сигареты Winston XStyle Blue [12:24:34]line 1.000 * 144.00 [12:24:34]line = 144.00 [12:24:34]line НДС 12% НСП 1% [12:24:34]line > о реализуемом товаре [12:24:34]line ИТОГО: 144.00 [12:24:34]line НСП 1% : 1.27 [12:24:34]line НДС 12% : 15.29 [12:24:34]line Наличными: 144.00 [12:24:34]line Безнал.: 0.00 [12:24:34]line Место: АЗС № 126 "Партнер Нефть" [12:24:34]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [12:24:34]line СНО: Общий режим [12:24:34]line Чек 36 27.10.2024 12:24 [12:24:34]line Смена: 550 ФФД: 1.0 [12:24:34]line ЗНМ: 0300000092 [12:24:34]line РНМ: 0000000000091684 [12:24:34]line Версия ККМ: 001 [12:24:34]line ФМ: 0000000000871841 [12:24:34]line ФД: 37710 [12:24:34]line ФПД: 125434697562104 [12:24:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T122434&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37710&fm=125434697562104&tin=02508201610067®Number=0000000000091684&sum=14400 [12:24:34]line 0 [12:24:34]OFD Sender: Processing packet 37710 [packets to send 42, broken 41] [12:24:34]ProducePacketName [12:24:34]name=ofd_packets/00037710 [12:24:34]OFD Sender: To server: pG, [12:24:34]CommunicateWithHost lk.salyk.kg:30040 [12:24:34]ConnectInit lk.salyk.kg [12:24:34]written 0, free lines is 4095 [12:24:34]Connected sock=10 [12:24:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 81 9E 1D 01 24 38 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 02 31 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 4E 93 00 00 35 04 06 00 72 15 0A 97 37 F8 BE 33 47 68 CF CE 4D C3 [12:24:35]Write to MH i2c: 01 00 00 36 08 3E [12:24:35]Write i2c OK [12:24:35]MH_I2C_Read... [12:24:35]Read from MH i2c: 01 [12:24:35]MH_I2C_Read... [12:24:35]Read from MH i2c: 01 07 00 [12:24:35]MH_I2C_Read... [12:24:35]Read from MH i2c: 01 07 00 36 08 00 00 00 00 00 D2 0C 23 [12:24:35]RasterBufferAndPrint [12:24:35]line [12:24:35]line [12:24:35]line [12:24:35]line [12:24:35]line [12:24:35]written 0, free lines is 3289 [12:24:35]MH_Cut [12:24:35]Write to MH i2c: D1 01 00 3D 08 01 17 [12:24:35]Write i2c OK [12:24:35]MH_I2C_Read... [12:24:35]Read from MH i2c: D1 [12:24:35]MH_I2C_Read... [12:24:35]Read from MH i2c: D1 01 00 [12:24:35]MH_I2C_Read... [12:24:35]Read from MH i2c: D1 01 00 3D 08 00 16 [12:24:35]Write to MH i2c: 01 00 00 3E 08 46 [12:24:35]Write i2c OK [12:24:35]MH_I2C_Read... [12:24: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 25 F4 47 00 D0 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 4E 93 00 00 F4 03 04 00 FA DB 1D 67 B6 04 01 00 00 A1 BA 74 86 52 A1 67 3F [12:24:35]CommunicateWithHost err = 0 [12:24:35]CheckOFDResponse [12:24:35]1017 (14) - 77093643461234 [12:24:35]1041 (16) - 0000000000871841 [12:24:35]1040 (4) - 37710 [12:24:35]1012 (4) - 27.10.2024 06:21 [12:24:35]1206 (1) - 0 [12:24:35]OFD Sender: Remove packet 37710 [12:24:35]ProducePacketName [12:24:35]name=ofd_packets/00037710 [12:24:35]NVStorageDeleteData [12:24:35]OFD Sender: No OFD packet to send [12:24:35]*** Cut start [12:24:35]*** Partial cut [12:24:35]*** CUTSNS_PIN = 1 [12:24:36]*** CUTSNS_PIN = 0 [12:24:36]*** Brake cut motor [12:24:36]Read from MH i2c: 01 [12:24:36]MH_I2C_Read... [12:24:36]*** Stop cut motor [12:24:36]*** Cut end [12:24:36]Read from MH i2c: 01 07 00 [12:24:36]MH_I2C_Read... [12:24:36]Read from MH i2c: 01 07 00 3E 08 00 00 00 00 00 FF 0F 5B [12:24:36]process_action close_receipt done [12:24:36]requested_data is exist [12:24:36]produce_requested_data [12:24:36]requested_item fm.sn is exist - process it [12:24:36]wFMCommunicate request_size=4 [12:24:36]MH_SAM_APDU [12:24:36]CAPDU: 80 11 00 00 [12:24:36]Write to MH i2c: E2 08 00 3F 08 80 11 00 00 00 00 00 00 C1 [12:24:36]Write i2c OK [12:24:36]MH_I2C_Read... [12:24:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:24:36]Read from MH i2c: E2 [12:24:36]MH_I2C_Read... [12:24:36]Read from MH i2c: E2 17 00 [12:24:36]MH_I2C_Read... [12:24:36]Read from MH i2c: E2 17 00 3F 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 11 [12:24:36]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:36]wFMCommunicate OK [12:24:36]requested_item fd.num is exist - process it [12:24:36]SAM_PROTO_GetFieldsCounters [12:24:36]wFMCommunicate request_size=4 [12:24:36]MH_SAM_APDU [12:24:36]CAPDU: 80 13 00 00 [12:24:36]Write to MH i2c: E2 08 00 40 08 80 13 00 00 00 00 00 00 C4 [12:24:36]Write i2c OK [12:24:36]MH_I2C_Read... [12:24:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:24:36]Read from MH i2c: E2 [12:24:36]MH_I2C_Read... [12:24:36]Read from MH i2c: E2 62 00 [12:24:36]MH_I2C_Read... [12:24:36]Read from MH i2c: E2 62 00 40 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 4E 93 00 00 0E 04 04 00 26 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 5A [12:24: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 4E 93 00 00 0E 04 04 00 26 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 [12:24:36]wFMCommunicate OK [12:24:36]SAM_PROTO_GetFieldsCounters done [12:24:36]requested_item shift.num is exist - process it [12:24:36]requested_item shift.opened is exist - process it [12:24:36]req_shift_opened [12:24:36]FM_GetShiftState [12:24:36]SAM_PROTO_GetShiftState [12:24:36]wFMCommunicate request_size=4 [12:24:36]MH_SAM_APDU [12:24:36]CAPDU: 80 13 01 00 [12:24:36]Write to MH i2c: E2 08 00 41 08 80 13 01 00 00 00 00 00 C6 [12:24:36]Write i2c OK [12:24:36]MH_I2C_Read... [12:24:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:24:36]Read from MH i2c: E2 [12:24:36]MH_I2C_Read... [12:24:36]Read from MH i2c: E2 0E 00 [12:24:36]MH_I2C_Read... [12:24:36]Read from MH i2c: E2 0E 00 41 08 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 7D [12:24:36]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [12:24:36]wFMCommunicate OK [12:24:36]SAM_PROTO_GetShiftState done [12:24:36]FM_GetShiftState done [12:24:36]req_shift_opened done [12:24:36]requested_item shift.open_date is exist - process it [12:24:36]req_shift_open_date [12:24:36]req_shift_open_date done [12:24:36]produce_requested_data done [12:24:36]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37710,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [12:24:36]process_action_free close_receipt [12:24:36]json_value_free [12:24:36]json_value_free done [12:24:36]process_json_proto returns [12:24:36]Send response to host [12:24:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37710,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [12:24:36]free response buf [12:24:36]execute_script done [12:24:36]execute_script returns [12:24:36]free content buf [12:24:36]Sock 9.Close socket [12:24:36]Sock 9.Thread stoped [12:24:40]OFD Sender: No OFD packet to send [12:24:45]OFD Sender: No OFD packet to send [12:24:50]OFD Sender: No OFD packet to send [12:24:55]OFD Sender: No OFD packet to send [12:25:00]OFD Sender: No OFD packet to send [12:25:05]OFD Sender: No OFD packet to send [12:25:10]OFD Sender: No OFD packet to send [12:25:15]OFD Sender: No OFD packet to send [12:25:20]OFD Sender: No OFD packet to send [12:25:25]OFD Sender: No OFD packet to send [12:25:30]OFD Sender: No OFD packet to send [12:25:35]OFD Sender: No OFD packet to send [12:25:40]OFD Sender: No OFD packet to send [12:25:45]OFD Sender: No OFD packet to send [12:25:50]OFD Sender: No OFD packet to send [12:25:55]OFD Sender: No OFD packet to send [12:26:00]OFD Sender: No OFD packet to send [12:26:05]OFD Sender: No OFD packet to send [12:26:10]OFD Sender: No OFD packet to send [12:26:15]OFD Sender: No OFD packet to send [12:26:20]OFD Sender: No OFD packet to send [12:26:25]OFD Sender: No OFD packet to send [12:26:30]OFD Sender: No OFD packet to send [12:26:35]OFD Sender: No OFD packet to send [12:26:40]OFD Sender: No OFD packet to send [12:26:45]OFD Sender: No OFD packet to send [12:26:50]OFD Sender: No OFD packet to send [12:26:55]OFD Sender: No OFD packet to send [12:27:00]OFD Sender: No OFD packet to send [12:27:05]OFD Sender: No OFD packet to send [12:27:10]OFD Sender: No OFD packet to send [12:27:15]OFD Sender: No OFD packet to send [12:27:20]OFD Sender: No OFD packet to send [12:27:25]OFD Sender: No OFD packet to send [12:27:30]OFD Sender: No OFD packet to send [12:27:35]OFD Sender: No OFD packet to send [12:27:40]OFD Sender: No OFD packet to send [12:27:45]OFD Sender: No OFD packet to send [12:27:50]OFD Sender: No OFD packet to send [12:27:55]OFD Sender: No OFD packet to send [12:28:00]OFD Sender: No OFD packet to send [12:28:05]OFD Sender: No OFD packet to send [12:28:10]OFD Sender: No OFD packet to send [12:28:15]OFD Sender: No OFD packet to send [12:28:20]OFD Sender: No OFD packet to send [12:28:25]OFD Sender: No OFD packet to send [12:28:31]OFD Sender: No OFD packet to send [12:28:36]OFD Sender: No OFD packet to send [12:28:41]OFD Sender: No OFD packet to send [12:28:46]OFD Sender: No OFD packet to send [12:28:51]OFD Sender: No OFD packet to send [12:28:56]OFD Sender: No OFD packet to send [12:29:01]OFD Sender: No OFD packet to send [12:29:06]OFD Sender: No OFD packet to send [12:29:11]OFD Sender: No OFD packet to send [12:29:16]OFD Sender: No OFD packet to send [12:29:21]OFD Sender: No OFD packet to send [12:29:26]OFD Sender: No OFD packet to send [12:29:31]OFD Sender: No OFD packet to send [12:29:36]OFD Sender: No OFD packet to send [12:29:41]OFD Sender: No OFD packet to send [12:29:46]OFD Sender: No OFD packet to send [12:29:51]OFD Sender: No OFD packet to send [12:29:56]OFD Sender: No OFD packet to send [12:30:01]OFD Sender: No OFD packet to send [12:30:06]OFD Sender: No OFD packet to send [12:30:11]OFD Sender: No OFD packet to send [12:30:16]OFD Sender: No OFD packet to send [12:30:21]OFD Sender: No OFD packet to send [12:30:26]OFD Sender: No OFD packet to send [12:30:31]OFD Sender: No OFD packet to send [12:30:36]OFD Sender: No OFD packet to send [12:30:41]OFD Sender: No OFD packet to send [12:30:46]OFD Sender: No OFD packet to send [12:30:51]OFD Sender: No OFD packet to send [12:30:56]OFD Sender: No OFD packet to send [12:31:01]OFD Sender: No OFD packet to send [12:31:06]OFD Sender: No OFD packet to send [12:31:11]OFD Sender: No OFD packet to send [12:31:16]OFD Sender: No OFD packet to send [12:31:21]OFD Sender: No OFD packet to send [12:31:26]OFD Sender: No OFD packet to send [12:31:31]OFD Sender: No OFD packet to send [12:31:36]OFD Sender: No OFD packet to send [12:31:41]OFD Sender: No OFD packet to send [12:31:46]OFD Sender: No OFD packet to send [12:31:51]OFD Sender: No OFD packet to send [12:31:53]accept exits with 7 [12:31:53]New connection [12:31:53]New thread 3067440484 created [12:31:53]Thread 3067297124 joined [12:31:53]Waiting for new connection... [12:31:53] Sock 7.Parse request [12:31:53]Sock 7.Check first char [12:31:53]Sock 7.First char is OK [12:31:53]request: POST /json_proto HTTP/1.0 [12:31:53]Method: POST [12:31:53]URL: /json_proto [12:31:53]Method is POST - this is cgi request [12:31:53]url: /json_proto [12:31:53]query_string will be loaded in cgi processing [12:31:53]execute_cgi json_proto POST (null) [12:31:53]execute_cgi path=json_proto method=POST [12:31:53]POST find Content-Length [12:31:53]Host: 172.17.40.196:8080 [12:31:53]Content-Length: 645 [12:31:53]Content-Type: application/json [12:31:53] [12:31:53]POST finish read [12:31:53]Found Content-Length = 645 [12:31:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35009", "tax_sys" : 0, "items" : [ { "code": "4700000310173", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 0,5\u043B \u0431/\u0433", "price" : 39.00, "quantity" : 1.000, "sum" : 39.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 39.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:31:53]execute_script... [12:31: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)35009", "tax_sys" : 0, "items" : [ { "code": "4700000310173", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 0,5\u043B \u0431/\u0433", "price" : 39.00, "quantity" : 1.000, "sum" : 39.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 39.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:31:53]POST & json_proto [12:31:53]process_json_proto [12:31:53]json parsed OK: [12:31:53]protocol is kg_v1.0 [12:31:53]action value=close_receipt [12:31:53]process_action close_receipt [12:31:53]cmd_close_receipt [12:31:53]MH_GetDate [12:31:53]Write to MH i2c: F0 00 00 42 08 39 [12:31:53]Write i2c OK [12:31:53]MH_I2C_Read... [12:31:53]Read from MH i2c: F0 [12:31:53]MH_I2C_Read... [12:31:53]Read from MH i2c: F0 09 00 [12:31:53]MH_I2C_Read... [12:31:53]Read from MH i2c: F0 09 00 42 08 00 BB 32 1E 67 5B 68 A1 66 7E [12:31:53]GetLastDocTimeStamp 1730031874 [12:31:53]current date 1730032315 [12:31:53]FM_GetShiftState [12:31:53]SAM_PROTO_GetShiftState [12:31:53]wFMCommunicate request_size=4 [12:31:53]MH_SAM_APDU [12:31:53]CAPDU: 80 13 01 00 [12:31:53]Write to MH i2c: E2 08 00 43 08 80 13 01 00 00 00 00 00 C8 [12:31:53]Write i2c OK [12:31:53]MH_I2C_Read... [12:31:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:31:53]Read from MH i2c: E2 [12:31:53]MH_I2C_Read... [12:31:53]Read from MH i2c: E2 0E 00 [12:31:53]MH_I2C_Read... [12:31:53]Read from MH i2c: E2 0E 00 43 08 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 7F [12:31:53]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [12:31:53]wFMCommunicate OK [12:31:53]SAM_PROTO_GetShiftState done [12:31:53]FM_GetShiftState done [12:31:53]opened in 1729987492 [12:31:53]opened+sec_in_day 1730073892 [12:31:53]quantity*price = 3900 [12:31:53]sum+1 = 3901 [12:31:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 39.00 НСП 1% : 0.34 НДС 12% : 4.14 Наличными: 39.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 37 27.10.2024 12:31 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37711 ФПД: 74959980186749 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T123155&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37711&fm=74959980186749&tin=02508201610067®Number=0000000000091684&sum=3900 0 [12:31:54]StoreToDocumentArchive [12:31:54]shift 550 fd 37711 [12:31:54]save to /storage/0550/doc_00037711 [12:31:54]save last doc name /storage/0550/doc_00037711 to /storage/kkm_last_doc_name [12:31:54]save OK [12:31:54]Clear old archive folders... [12:31:54]ProcessDocumentItem done err = 0, tmpTLVsize=277 [12:31:54]tlvbuf is 0020CC50 [12:31:54]SAM_PROTO_ClearQueue [12:31:54]wFMCommunicate request_size=4 [12:31:54]MH_SAM_APDU [12:31:54]CAPDU: 80 09 00 00 [12:31:54]Write to MH i2c: E2 08 00 50 08 80 09 00 00 00 00 00 00 CA [12:31:54]Write i2c OK [12:31:54]MH_I2C_Read... [12:31:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:31:54]Read from MH i2c: E2 [12:31:54]MH_I2C_Read... [12:31:54]Read from MH i2c: E2 03 00 [12:31:54]MH_I2C_Read... [12:31:54]Read from MH i2c: E2 03 00 50 08 00 90 00 CC [12:31:54]RAPDU: 90 00 [12:31:54]wFMCommunicate OK [12:31:54]SAM_PROTO_ClearQueue done [12:31:54]KKMCreateOFDPacket [12:31:54]OFDProtocolAddRootSTLVToBuf [12:31:54]FM_MakeSignedData [12:31:54]FM_MakeSignedData [12:31:54]SAM_PROTO_SignData [12:31:54]wFMCommunicate request_size=4 [12:31:54]MH_SAM_APDU [12:31:54]CAPDU: 80 0D 01 02 [12:31:54]Write to MH i2c: E2 08 00 51 08 80 0D 01 02 00 00 00 00 D2 [12:31:54]Write i2c OK [12:31:54]MH_I2C_Read... [12:31:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:31:54]Read from MH i2c: E2 [12:31:54]MH_I2C_Read... [12:31:54]Read from MH i2c: E2 03 00 [12:31:54]MH_I2C_Read... [12:31:54]Read from MH i2c: E2 03 00 51 08 00 90 00 CD [12:31:54]RAPDU: 90 00 [12:31:54]wFMCommunicate OK [12:31:54]wFMCommunicate request_size=255 [12:31:54]MH_SAM_APDU [12:31:54]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 31 37 33 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 0F 00 00 00 00 13 04 06 00 3C 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 22 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 01 00 00 00 00 07 04 06 00 3C 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 25 00 00 00 F4 03 04 00 BB 32 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [12:31:54]Write to MH i2c: E2 02 01 52 08 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 31 37 33 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 0F 00 00 00 00 13 04 06 00 3C 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 22 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 01 00 00 00 00 07 04 06 00 3C 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 25 00 00 00 F4 03 04 00 BB 32 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 F7 [12:31:55]Write i2c OK [12:31:55]MH_I2C_Read... [12:31:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:31:55]Read from MH i2c: E2 [12:31:55]MH_I2C_Read... [12:31:55]Read from MH i2c: E2 03 00 [12:31:55]MH_I2C_Read... [12:31:55]Read from MH i2c: E2 03 00 52 08 00 90 00 CE [12:31:55]RAPDU: 90 00 [12:31:55]wFMCommunicate OK [12:31:55]wFMCommunicate request_size=36 [12:31:55]MH_SAM_APDU [12:31:55]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4F 93 00 00 35 04 06 00 44 2C FA FD CC 7D [12:31:55]Write to MH i2c: E2 27 00 53 08 80 0D 02 02 1F 00 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4F 93 00 00 35 04 06 00 44 2C FA FD CC 7D 00 00 89 [12:31:55]Write i2c OK [12:31:55]MH_I2C_Read... [12:31:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:31:55]Read from MH i2c: E2 [12:31:55]MH_I2C_Read... [12:31:55]Read from MH i2c: E2 03 00 [12:31:55]MH_I2C_Read... [12:31:55]Read from MH i2c: E2 03 00 53 08 00 90 00 CF [12:31:55]RAPDU: 90 00 [12:31:55]wFMCommunicate OK [12:31:55]wFMCommunicate request_size=4 [12:31:55]MH_SAM_APDU [12:31:55]CAPDU: 80 0D 03 02 [12:31:55]Write to MH i2c: E2 08 00 54 08 80 0D 03 02 00 00 00 00 D7 [12:31:55]Write i2c OK [12:31:55]MH_I2C_Read... [12:31:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:31:55]Read from MH i2c: E2 [12:31:55]MH_I2C_Read... [12:31:55]Read from MH i2c: E2 0B 00 [12:31:55]MH_I2C_Read... [12:31:55]Read from MH i2c: E2 0B 00 54 08 00 18 37 FA A1 B5 D4 C6 11 90 00 22 [12:31:55]RAPDU: 18 37 FA A1 B5 D4 C6 11 90 00 [12:31:55]wFMCommunicate OK [12:31:55]SAM_PROTO_SignData done [12:31:55]FM_MakeSignedData done [12:31:55]CreateOFDProtocolMessage [12:31:55]wFMCommunicate request_size=4 [12:31:55]MH_SAM_APDU [12:31:55]CAPDU: 80 11 00 00 [12:31:55]Write to MH i2c: E2 08 00 55 08 80 11 00 00 00 00 00 00 D7 [12:31:55]Write i2c OK [12:31:55]MH_I2C_Read... [12:31:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:31:55]Read from MH i2c: E2 [12:31:55]MH_I2C_Read... [12:31:55]Read from MH i2c: E2 17 00 [12:31:55]MH_I2C_Read... [12:31:55]Read from MH i2c: E2 17 00 55 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 27 [12:31:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [12:31:55]wFMCommunicate OK [12:31:55]CreateOFDProtocolMessage done [12:31:55]OFDSenderStorePacket 37711 [12:31:55]StoreOFDPacket docnum=37711 [12:31: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 29 01 00 00 91 4B 21 01 DA C6 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 31 37 33 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 0F 00 00 00 00 13 04 06 00 3C 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 22 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 01 00 00 00 00 07 04 06 00 3C 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 25 00 00 00 F4 03 04 00 BB 32 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 4F 93 00 00 35 04 06 00 44 2C FA FD CC 7D 18 37 FA A1 B5 D4 C6 11 [12:31:55]CheckFolder [12:31:55]dirname=/storage/ofd_packets [12:31:55]CheckFolder done [12:31:55]ProducePacketName [12:31:55]name=ofd_packets/00037711 [12:31:55]NVStorageSaveData ofd_packets/00037711 [12:31:55]File name is /storage/ofd_packets/00037711 [12:31:55]Write 327 bytes [12:31:55]NVStorageSaveData done [12:31:55]OFDSenderStorePacket done [12:31:55]KKMCreateOFDPacket done [12:31:55]NVStorageSaveData kkm_last_timestamp [12:31:55]File name is /storage/kkm_last_timestamp [12:31:55]Write 4 bytes [12:31:55]NVStorageSaveData done [12:31:55]ExternCall_PrintAddStr [12:31:55]wPrintStart [12:31:55]Write to MH i2c: 01 00 00 56 08 5E [12:31:55]Write i2c OK [12:31:55]MH_I2C_Read... [12:31:55]Read from MH i2c: 01 [12:31:55]MH_I2C_Read... [12:31:55]Read from MH i2c: 01 07 00 [12:31:55]MH_I2C_Read... [12:31:55]Read from MH i2c: 01 07 00 56 08 00 00 00 00 00 FF 0F 73 [12:31:55]RasterBufferAndPrint [12:31:55]line Счет N : (3)35009 [12:31:55]line ИНН: 02508201610067 [12:31:55]line Контрольно-Кассовый Чек [12:31:55]line ПРОДАЖА [12:31:55]line Товар: 4700000310173 [12:31:55]line Вода Адыгене 0,5л б/г [12:31:55]line 1.000 * 39.00 [12:31:55]line = 39.00 [12:31:55]line НДС 12% НСП 1% [12:31:55]line > о реализуемом товаре [12:31:55]line ИТОГО: 39.00 [12:31:55]line НСП 1% : 0.34 [12:31:55]line НДС 12% : 4.14 [12:31:55]line Наличными: 39.00 [12:31:55]line Безнал.: 0.00 [12:31:55]line Место: АЗС № 126 "Партнер Нефть" [12:31:55]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [12:31:55]line СНО: Общий режим [12:31:55]line Чек 37 27.10.2024 12:31 [12:31:55]line Смена: 550 ФФД: 1.0 [12:31:55]line ЗНМ: 0300000092 [12:31:55]line РНМ: 0000000000091684 [12:31:55]line Версия ККМ: 001 [12:31:55]line ФМ: 0000000000871841 [12:31:55]line ФД: 37711 [12:31:55]line ФПД: 74959980186749 [12:31:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T123155&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37711&fm=74959980186749&tin=02508201610067®Number=0000000000091684&sum=3900 [12:31:55]line 0 [12:31:55]OFD Sender: Processing packet 37711 [packets to send 42, broken 41] [12:31:55]ProducePacketName [12:31:55]name=ofd_packets/00037711 [12:31:55]OFD Sender: To server: pG, [12:31:55]CommunicateWithHost lk.salyk.kg:30040 [12:31:55]ConnectInit lk.salyk.kg [12:31:55]written 0, free lines is 4095 [12:31:55]Connected sock=9 [12:31: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 29 01 00 00 91 4B 21 01 DA C6 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 31 37 33 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 0F 00 00 00 00 13 04 06 00 3C 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 22 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 01 00 00 00 00 07 04 06 00 3C 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 25 00 00 00 F4 03 04 00 BB 32 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 4F 93 00 00 35 04 06 00 44 2C FA FD CC 7D 18 37 FA A1 B5 D4 C6 11 [12:31:56]Write to MH i2c: 01 00 00 7E 08 86 [12:31:56]Write i2c OK [12:31:56]MH_I2C_Read... [12:31:56]Read from MH i2c: 01 [12:31:56]MH_I2C_Read... [12:31:56]Read from MH i2c: 01 07 00 [12:31:56]MH_I2C_Read... [12:31:56]Read from MH i2c: 01 07 00 7E 08 00 00 00 00 00 CD 0C 66 [12:31:56]RasterBufferAndPrint [12:31:56]line [12:31:56]line [12:31:56]line [12:31:56]line [12:31:56]line [12:31:56]written 0, free lines is 3283 [12:31:56]MH_Cut [12:31:56]Write to MH i2c: D1 01 00 85 08 01 5F [12:31:56]Write i2c OK [12:31:56]MH_I2C_Read... [12:31:56]Read from MH i2c: D1 [12:31:56]MH_I2C_Read... [12:31:56]Read from MH i2c: D1 01 00 [12:31:56]MH_I2C_Read... [12:31:56]Read from MH i2c: D1 01 00 85 08 00 5E [12:31:56]Write to MH i2c: 01 00 00 86 08 8E [12:31:56]Write i2c OK [12:31:56]MH_I2C_Read... [12:31:56]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 B5 D0 47 00 4F 21 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 4F 93 00 00 F4 03 04 00 B3 DD 1D 67 B6 04 01 00 00 2C FF 81 4D C8 03 23 86 [12:31:56]CommunicateWithHost err = 0 [12:31:56]CheckOFDResponse [12:31:56]1017 (14) - 77093643461234 [12:31:56]1041 (16) - 0000000000871841 [12:31:56]1040 (4) - 37711 [12:31:56]1012 (4) - 27.10.2024 06:29 [12:31:56]1206 (1) - 0 [12:31:56]OFD Sender: Remove packet 37711 [12:31:56]ProducePacketName [12:31:56]name=ofd_packets/00037711 [12:31:56]NVStorageDeleteData [12:31:56]OFD Sender: No OFD packet to send [12:31:57]*** Cut start [12:31:57]*** Partial cut [12:31:57]*** CUTSNS_PIN = 1 [12:31:57]*** CUTSNS_PIN = 0 [12:31:57]*** Brake cut motor [12:31:57]Read from MH i2c: 01 [12:31:57]MH_I2C_Read... [12:31:57]*** Stop cut motor [12:31:57]*** Cut end [12:31:57]Read from MH i2c: 01 07 00 [12:31:57]MH_I2C_Read... [12:31:57]Read from MH i2c: 01 07 00 86 08 00 00 00 00 00 FF 0F A3 [12:31:57]process_action close_receipt done [12:31:57]requested_data is exist [12:31:57]produce_requested_data [12:31:57]requested_item fm.sn is exist - process it [12:31:57]wFMCommunicate request_size=4 [12:31:57]MH_SAM_APDU [12:31:57]CAPDU: 80 11 00 00 [12:31:57]Write to MH i2c: E2 08 00 87 08 80 11 00 00 00 00 00 00 09 [12:31:57]Write i2c OK [12:31:57]MH_I2C_Read... [12:31:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:31:57]Read from MH i2c: E2 [12:31:57]MH_I2C_Read... [12:31:57]Read from MH i2c: E2 17 00 [12:31:57]MH_I2C_Read... [12:31:57]Read from MH i2c: E2 17 00 87 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 59 [12:31:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [12:31:57]wFMCommunicate OK [12:31:57]requested_item fd.num is exist - process it [12:31:57]SAM_PROTO_GetFieldsCounters [12:31:57]wFMCommunicate request_size=4 [12:31:57]MH_SAM_APDU [12:31:57]CAPDU: 80 13 00 00 [12:31:57]Write to MH i2c: E2 08 00 88 08 80 13 00 00 00 00 00 00 0C [12:31:57]Write i2c OK [12:31:57]MH_I2C_Read... [12:31:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:31:57]Read from MH i2c: E2 [12:31:57]MH_I2C_Read... [12:31:57]Read from MH i2c: E2 62 00 [12:31:57]MH_I2C_Read... [12:31:57]Read from MH i2c: E2 62 00 88 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 4F 93 00 00 0E 04 04 00 26 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 A6 [12:31: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 4F 93 00 00 0E 04 04 00 26 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 [12:31:57]wFMCommunicate OK [12:31:57]SAM_PROTO_GetFieldsCounters done [12:31:57]requested_item shift.num is exist - process it [12:31:57]requested_item shift.opened is exist - process it [12:31:57]req_shift_opened [12:31:57]FM_GetShiftState [12:31:57]SAM_PROTO_GetShiftState [12:31:57]wFMCommunicate request_size=4 [12:31:57]MH_SAM_APDU [12:31:57]CAPDU: 80 13 01 00 [12:31:57]Write to MH i2c: E2 08 00 89 08 80 13 01 00 00 00 00 00 0E [12:31:57]Write i2c OK [12:31:57]MH_I2C_Read... [12:31:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:31:57]Read from MH i2c: E2 [12:31:57]MH_I2C_Read... [12:31:57]Read from MH i2c: E2 0E 00 [12:31:57]MH_I2C_Read... [12:31:57]Read from MH i2c: E2 0E 00 89 08 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 C5 [12:31:57]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [12:31:57]wFMCommunicate OK [12:31:57]SAM_PROTO_GetShiftState done [12:31:57]FM_GetShiftState done [12:31:57]req_shift_opened done [12:31:57]requested_item shift.open_date is exist - process it [12:31:57]req_shift_open_date [12:31:57]req_shift_open_date done [12:31:57]produce_requested_data done [12:31:57]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37711,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [12:31:57]process_action_free close_receipt [12:31:57]json_value_free [12:31:57]json_value_free done [12:31:57]process_json_proto returns [12:31:57]Send response to host [12:31:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37711,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [12:31:57]free response buf [12:31:57]execute_script done [12:31:57]execute_script returns [12:31:57]free content buf [12:31:57]Sock 7.Close socket [12:31:57]Sock 7.Thread stoped [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:07]OFD Sender: No OFD packet to send [12:35:12]OFD Sender: No OFD packet to send [12:35:17]OFD Sender: No OFD packet to send [12:35:22]OFD Sender: No OFD packet to send [12:35:27]OFD Sender: No OFD packet to send [12:35:32]OFD Sender: No OFD packet to send [12:35:37]OFD Sender: No OFD packet to send [12:35:42]OFD Sender: No OFD packet to send [12:35:47]OFD Sender: No OFD packet to send [12:35:52]OFD Sender: No OFD packet to send [12:35:52]accept exits with 10 [12:35:52]New connection [12:35:52]New thread 3067297124 created [12:35:52]Thread 3067440484 joined [12:35:52]Waiting for new connection... [12:35:52] Sock 10.Parse request [12:35:52]Sock 10.Check first char [12:35:52]Sock 10.First char is OK [12:35:52]request: POST /json_proto HTTP/1.0 [12:35:52]Method: POST [12:35:52]URL: /json_proto [12:35:52]Method is POST - this is cgi request [12:35:52]url: /json_proto [12:35:52]query_string will be loaded in cgi processing [12:35:52]execute_cgi json_proto POST (null) [12:35:52]execute_cgi path=json_proto method=POST [12:35:52]POST find Content-Length [12:35:52]Host: 172.17.40.196:8080 [12:35:52]Content-Length: 619 [12:35:52]Content-Type: application/json [12:35:52] [12:35:52]POST finish read [12:35:52]Found Content-Length = 619 [12:35:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35010", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:35:52]execute_script... [12:35: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)35010", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:35:52]POST & json_proto [12:35:52]process_json_proto [12:35:52]json parsed OK: [12:35:52]protocol is kg_v1.0 [12:35:52]action value=close_receipt [12:35:52]process_action close_receipt [12:35:52]cmd_close_receipt [12:35:52]MH_GetDate [12:35:52]Write to MH i2c: F0 00 00 8A 08 81 [12:35:52]Write i2c OK [12:35:52]MH_I2C_Read... [12:35:52]Read from MH i2c: F0 [12:35:52]MH_I2C_Read... [12:35:52]Read from MH i2c: F0 09 00 [12:35:52]MH_I2C_Read... [12:35:52]Read from MH i2c: F0 09 00 8A 08 00 AA 33 1E 67 5B 68 A1 66 B6 [12:35:52]GetLastDocTimeStamp 1730032315 [12:35:52]current date 1730032554 [12:35:52]FM_GetShiftState [12:35:52]SAM_PROTO_GetShiftState [12:35:52]wFMCommunicate request_size=4 [12:35:52]MH_SAM_APDU [12:35:52]CAPDU: 80 13 01 00 [12:35:52]Write to MH i2c: E2 08 00 8B 08 80 13 01 00 00 00 00 00 10 [12:35:52]Write i2c OK [12:35:52]MH_I2C_Read... [12:35:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:35:52]Read from MH i2c: E2 [12:35:52]MH_I2C_Read... [12:35:52]Read from MH i2c: E2 0E 00 [12:35:52]MH_I2C_Read... [12:35:52]Read from MH i2c: E2 0E 00 8B 08 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 C7 [12:35:52]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [12:35:52]wFMCommunicate OK [12:35:52]SAM_PROTO_GetShiftState done [12:35:52]FM_GetShiftState done [12:35:52]opened in 1729987492 [12:35:52]opened+sec_in_day 1730073892 [12:35:52]quantity*price = 13900 [12:35:52]sum+1 = 13901 [12:35:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 38 27.10.2024 12:35 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37712 ФПД: 166106280242491 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T123554&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37712&fm=166106280242491&tin=02508201610067®Number=0000000000091684&sum=13900 0 [12:35:53]StoreToDocumentArchive [12:35:53]shift 550 fd 37712 [12:35:53]save to /storage/0550/doc_00037712 [12:35:53]save last doc name /storage/0550/doc_00037712 to /storage/kkm_last_doc_name [12:35:53]save OK [12:35:53]Clear old archive folders... [12:35:53]ProcessDocumentItem done err = 0, tmpTLVsize=272 [12:35:53]tlvbuf is 00232520 [12:35:53]SAM_PROTO_ClearQueue [12:35:53]wFMCommunicate request_size=4 [12:35:53]MH_SAM_APDU [12:35:53]CAPDU: 80 09 00 00 [12:35:53]Write to MH i2c: E2 08 00 98 08 80 09 00 00 00 00 00 00 12 [12:35:53]Write i2c OK [12:35:53]MH_I2C_Read... [12:35:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:35:53]Read from MH i2c: E2 [12:35:53]MH_I2C_Read... [12:35:53]Read from MH i2c: E2 03 00 [12:35:53]MH_I2C_Read... [12:35:53]Read from MH i2c: E2 03 00 98 08 00 90 00 14 [12:35:53]RAPDU: 90 00 [12:35:53]wFMCommunicate OK [12:35:53]SAM_PROTO_ClearQueue done [12:35:53]KKMCreateOFDPacket [12:35:53]OFDProtocolAddRootSTLVToBuf [12:35:53]FM_MakeSignedData [12:35:53]FM_MakeSignedData [12:35:53]SAM_PROTO_SignData [12:35:53]wFMCommunicate request_size=4 [12:35:53]MH_SAM_APDU [12:35:53]CAPDU: 80 0D 01 02 [12:35:53]Write to MH i2c: E2 08 00 99 08 80 0D 01 02 00 00 00 00 1A [12:35:53]Write i2c OK [12:35:53]MH_I2C_Read... [12:35:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:35:53]Read from MH i2c: E2 [12:35:53]MH_I2C_Read... [12:35:53]Read from MH i2c: E2 03 00 [12:35:53]MH_I2C_Read... [12:35:53]Read from MH i2c: E2 03 00 99 08 00 90 00 15 [12:35:53]RAPDU: 90 00 [12:35:53]wFMCommunicate OK [12:35:53]wFMCommunicate request_size=255 [12:35:53]MH_SAM_APDU [12:35:53]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 AA 33 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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:35:53]Write to MH i2c: E2 02 01 9A 08 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 AA 33 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 FE [12:35:53]Write i2c OK [12:35:53]MH_I2C_Read... [12:35:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:35:54]Read from MH i2c: E2 [12:35:54]MH_I2C_Read... [12:35:54]Read from MH i2c: E2 03 00 [12:35:54]MH_I2C_Read... [12:35:54]Read from MH i2c: E2 03 00 9A 08 00 90 00 16 [12:35:54]RAPDU: 90 00 [12:35:54]wFMCommunicate OK [12:35:54]wFMCommunicate request_size=31 [12:35:54]MH_SAM_APDU [12:35:54]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 50 93 00 00 35 04 06 00 97 12 A1 D4 2D 3B [12:35:54]Write to MH i2c: E2 22 00 9B 08 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 50 93 00 00 35 04 06 00 97 12 A1 D4 2D 3B 00 00 AE [12:35:54]Write i2c OK [12:35:54]MH_I2C_Read... [12:35:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:35:54]Read from MH i2c: E2 [12:35:54]MH_I2C_Read... [12:35:54]Read from MH i2c: E2 03 00 [12:35:54]MH_I2C_Read... [12:35:54]Read from MH i2c: E2 03 00 9B 08 00 90 00 17 [12:35:54]RAPDU: 90 00 [12:35:54]wFMCommunicate OK [12:35:54]wFMCommunicate request_size=4 [12:35:54]MH_SAM_APDU [12:35:54]CAPDU: 80 0D 03 02 [12:35:54]Write to MH i2c: E2 08 00 9C 08 80 0D 03 02 00 00 00 00 1F [12:35:54]Write i2c OK [12:35:54]MH_I2C_Read... [12:35:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:35:54]Read from MH i2c: E2 [12:35:54]MH_I2C_Read... [12:35:54]Read from MH i2c: E2 0B 00 [12:35:54]MH_I2C_Read... [12:35:54]Read from MH i2c: E2 0B 00 9C 08 00 9E AF 72 20 E6 F9 32 AA 90 00 BA [12:35:54]RAPDU: 9E AF 72 20 E6 F9 32 AA 90 00 [12:35:54]wFMCommunicate OK [12:35:54]SAM_PROTO_SignData done [12:35:54]FM_MakeSignedData done [12:35:54]CreateOFDProtocolMessage [12:35:54]wFMCommunicate request_size=4 [12:35:54]MH_SAM_APDU [12:35:54]CAPDU: 80 11 00 00 [12:35:54]Write to MH i2c: E2 08 00 9D 08 80 11 00 00 00 00 00 00 1F [12:35:54]Write i2c OK [12:35:54]MH_I2C_Read... [12:35:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:35:54]Read from MH i2c: E2 [12:35:54]MH_I2C_Read... [12:35:54]Read from MH i2c: E2 17 00 [12:35:54]MH_I2C_Read... [12:35:54]Read from MH i2c: E2 17 00 9D 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 6F [12:35:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [12:35:54]wFMCommunicate OK [12:35:54]CreateOFDProtocolMessage done [12:35:54]OFDSenderStorePacket 37712 [12:35:54]StoreOFDPacket docnum=37712 [12:35: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 24 01 00 00 AA E7 1C 01 1B 58 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 AA 33 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 50 93 00 00 35 04 06 00 97 12 A1 D4 2D 3B 9E AF 72 20 E6 F9 32 AA [12:35:54]CheckFolder [12:35:54]dirname=/storage/ofd_packets [12:35:54]CheckFolder done [12:35:54]ProducePacketName [12:35:54]name=ofd_packets/00037712 [12:35:54]NVStorageSaveData ofd_packets/00037712 [12:35:54]File name is /storage/ofd_packets/00037712 [12:35:54]Write 322 bytes [12:35:54]NVStorageSaveData done [12:35:54]OFDSenderStorePacket done [12:35:54]KKMCreateOFDPacket done [12:35:54]NVStorageSaveData kkm_last_timestamp [12:35:54]File name is /storage/kkm_last_timestamp [12:35:54]Write 4 bytes [12:35:54]NVStorageSaveData done [12:35:54]ExternCall_PrintAddStr [12:35:54]wPrintStart [12:35:54]Write to MH i2c: 01 00 00 9E 08 A6 [12:35:54]Write i2c OK [12:35:54]MH_I2C_Read... [12:35:54]Read from MH i2c: 01 [12:35:54]MH_I2C_Read... [12:35:54]Read from MH i2c: 01 07 00 [12:35:54]MH_I2C_Read... [12:35:54]Read from MH i2c: 01 07 00 9E 08 00 00 00 00 00 FF 0F BB [12:35:54]RasterBufferAndPrint [12:35:54]line Счет N : (3)35010 [12:35:54]line ИНН: 02508201610067 [12:35:54]line Контрольно-Кассовый Чек [12:35:54]line ПРОДАЖА [12:35:54]line Товар: 48745000 [12:35:54]line Сигареты Winston Purple Mix [12:35:54]line 1.000 * 139.00 [12:35:54]line = 139.00 [12:35:54]line НДС 12% НСП 1% [12:35:54]line > о реализуемом товаре [12:35:54]line ИТОГО: 139.00 [12:35:54]line НСП 1% : 1.23 [12:35:54]line НДС 12% : 14.76 [12:35:54]line Наличными: 139.00 [12:35:54]line Безнал.: 0.00 [12:35:54]line Место: АЗС № 126 "Партнер Нефть" [12:35:54]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [12:35:54]line СНО: Общий режим [12:35:54]line Чек 38 27.10.2024 12:35 [12:35:54]line Смена: 550 ФФД: 1.0 [12:35:54]line ЗНМ: 0300000092 [12:35:54]line РНМ: 0000000000091684 [12:35:54]line Версия ККМ: 001 [12:35:54]line ФМ: 0000000000871841 [12:35:54]line ФД: 37712 [12:35:54]line ФПД: 166106280242491 [12:35:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T123554&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37712&fm=166106280242491&tin=02508201610067®Number=0000000000091684&sum=13900 [12:35:54]OFD Sender: Processing packet 37712 [packets to send 42, broken 41] [12:35:54]ProducePacketName [12:35:54]name=ofd_packets/00037712 [12:35:54]OFD Sender: To server: pG, [12:35:54]CommunicateWithHost lk.salyk.kg:30040 [12:35:54]ConnectInit lk.salyk.kg [12:35:54]line 0 [12:35:54]written 0, free lines is 4095 [12:35:54]Connected sock=9 [12:35: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 24 01 00 00 AA E7 1C 01 1B 58 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 AA 33 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 50 93 00 00 35 04 06 00 97 12 A1 D4 2D 3B 9E AF 72 20 E6 F9 32 AA [12:35:55]Write to MH i2c: 01 00 00 C6 08 CE [12:35:55]Write i2c OK [12:35:55]MH_I2C_Read... [12:35:55]Read from MH i2c: 01 [12:35:55]MH_I2C_Read... [12:35:55]Read from MH i2c: 01 07 00 [12:35:55]MH_I2C_Read... [12:35:55]Read from MH i2c: 01 07 00 C6 08 00 00 00 00 00 CB 0C AC [12:35:55]RasterBufferAndPrint [12:35:55]line [12:35:55]line [12:35:55]line [12:35:55]line [12:35:55]line [12:35:55]written 0, free lines is 3280 [12:35:55]MH_Cut [12:35:55]Write to MH i2c: D1 01 00 CD 08 01 A7 [12:35:55]Write i2c OK [12:35:55]MH_I2C_Read... [12:35:55]Read from MH i2c: D1 [12:35:55]MH_I2C_Read... [12:35:55]Read from MH i2c: D1 01 00 [12:35:55]MH_I2C_Read... [12:35:55]Read from MH i2c: D1 01 00 CD 08 00 A6 [12:35:55]Write to MH i2c: 01 00 00 CE 08 D6 [12:35:55]Write i2c OK [12:35:55]MH_I2C_Read... [12:35: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 3A 21 47 00 9A 02 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 50 93 00 00 F4 03 04 00 A2 DE 1D 67 B6 04 01 00 00 42 20 D9 23 80 DD CE 53 [12:35:55]CommunicateWithHost err = 0 [12:35:55]CheckOFDResponse [12:35:55]1017 (14) - 77093643461234 [12:35:55]1041 (16) - 0000000000871841 [12:35:55]1040 (4) - 37712 [12:35:55]1012 (4) - 27.10.2024 06:33 [12:35:55]1206 (1) - 0 [12:35:55]OFD Sender: Remove packet 37712 [12:35:55]ProducePacketName [12:35:55]name=ofd_packets/00037712 [12:35:55]NVStorageDeleteData [12:35:55]OFD Sender: No OFD packet to send [12:35:55]*** Cut start [12:35:55]*** Partial cut [12:35:55]*** CUTSNS_PIN = 1 [12:35:56]*** CUTSNS_PIN = 0 [12:35:56]*** Brake cut motor [12:35:56]Read from MH i2c: 01 [12:35:56]MH_I2C_Read... [12:35:56]*** Stop cut motor [12:35:56]*** Cut end [12:35:56]Read from MH i2c: 01 07 00 [12:35:56]MH_I2C_Read... [12:35:56]Read from MH i2c: 01 07 00 CE 08 00 00 00 00 00 FF 0F EB [12:35:56]process_action close_receipt done [12:35:56]requested_data is exist [12:35:56]produce_requested_data [12:35:56]requested_item fm.sn is exist - process it [12:35:56]wFMCommunicate request_size=4 [12:35:56]MH_SAM_APDU [12:35:56]CAPDU: 80 11 00 00 [12:35:56]Write to MH i2c: E2 08 00 CF 08 80 11 00 00 00 00 00 00 51 [12:35:56]Write i2c OK [12:35:56]MH_I2C_Read... [12:35:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:35:56]Read from MH i2c: E2 [12:35:56]MH_I2C_Read... [12:35:56]Read from MH i2c: E2 17 00 [12:35:56]MH_I2C_Read... [12:35:56]Read from MH i2c: E2 17 00 CF 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A1 [12:35:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [12:35:56]wFMCommunicate OK [12:35:56]requested_item fd.num is exist - process it [12:35:56]SAM_PROTO_GetFieldsCounters [12:35:56]wFMCommunicate request_size=4 [12:35:56]MH_SAM_APDU [12:35:56]CAPDU: 80 13 00 00 [12:35:56]Write to MH i2c: E2 08 00 D0 08 80 13 00 00 00 00 00 00 54 [12:35:56]Write i2c OK [12:35:56]MH_I2C_Read... [12:35:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:35:56]Read from MH i2c: E2 [12:35:56]MH_I2C_Read... [12:35:56]Read from MH i2c: E2 62 00 [12:35:56]MH_I2C_Read... [12:35:56]Read from MH i2c: E2 62 00 D0 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 50 93 00 00 0E 04 04 00 26 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 F2 [12:35: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 50 93 00 00 0E 04 04 00 26 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 [12:35:56]wFMCommunicate OK [12:35:56]SAM_PROTO_GetFieldsCounters done [12:35:56]requested_item shift.num is exist - process it [12:35:56]requested_item shift.opened is exist - process it [12:35:56]req_shift_opened [12:35:56]FM_GetShiftState [12:35:56]SAM_PROTO_GetShiftState [12:35:56]wFMCommunicate request_size=4 [12:35:56]MH_SAM_APDU [12:35:56]CAPDU: 80 13 01 00 [12:35:56]Write to MH i2c: E2 08 00 D1 08 80 13 01 00 00 00 00 00 56 [12:35:56]Write i2c OK [12:35:56]MH_I2C_Read... [12:35:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:35:56]Read from MH i2c: E2 [12:35:56]MH_I2C_Read... [12:35:56]Read from MH i2c: E2 0E 00 [12:35:56]MH_I2C_Read... [12:35:56]Read from MH i2c: E2 0E 00 D1 08 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 0D [12:35:56]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [12:35:56]wFMCommunicate OK [12:35:56]SAM_PROTO_GetShiftState done [12:35:56]FM_GetShiftState done [12:35:56]req_shift_opened done [12:35:56]requested_item shift.open_date is exist - process it [12:35:56]req_shift_open_date [12:35:56]req_shift_open_date done [12:35:56]produce_requested_data done [12:35:56]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37712,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [12:35:56]process_action_free close_receipt [12:35:56]json_value_free [12:35:56]json_value_free done [12:35:56]process_json_proto returns [12:35:56]Send response to host [12:35:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37712,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [12:35:56]free response buf [12:35:56]execute_script done [12:35:56]execute_script returns [12:35:56]free content buf [12:35:56]Sock 10.Close socket [12:35:56]Sock 10.Thread stoped [12:36:00]OFD Sender: No OFD packet to send [12:36:05]OFD Sender: No OFD packet to send [12:36:10]OFD Sender: No OFD packet to send [12:36:15]OFD Sender: No OFD packet to send [12:36:20]OFD Sender: No OFD packet to send [12:36:25]OFD Sender: No OFD packet to send [12:36:30]OFD Sender: No OFD packet to send [12:36:35]OFD Sender: No OFD packet to send [12:36:40]OFD Sender: No OFD packet to send [12:36:45]OFD Sender: No OFD packet to send [12:36:50]OFD Sender: No OFD packet to send [12:36:55]OFD Sender: No OFD packet to send [12:37:00]OFD Sender: No OFD packet to send [12:37:05]OFD Sender: No OFD packet to send [12:37:10]OFD Sender: No OFD packet to send [12:37:15]OFD Sender: No OFD packet to send [12:37:20]OFD Sender: No OFD packet to send [12:37:25]OFD Sender: No OFD packet to send [12:37:30]OFD Sender: No OFD packet to send [12:38:45]OFD Sender: No OFD packet to send [12:38:50]OFD Sender: No OFD packet to send [12:38:55]OFD Sender: No OFD packet to send [12:39:00]OFD Sender: No OFD packet to send [12:39:05]OFD Sender: No OFD packet to send [12:39:10]OFD Sender: No OFD packet to send [12:39:15]OFD Sender: No OFD packet to send [12:39:20]OFD Sender: No OFD packet to send [12:39:25]OFD Sender: No OFD packet to send [12:39:30]OFD Sender: No OFD packet to send [12:39:35]OFD Sender: No OFD packet to send [12:39:40]OFD Sender: No OFD packet to send [12:39: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:54]ConnectInit Can't connect to host [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:56]OFD Sender: No OFD packet to send [12:50:01]OFD Sender: No OFD packet to send [12:50:06]OFD Sender: No OFD packet to send [12:50:11]OFD Sender: No OFD packet to send [12:50:16]OFD Sender: No OFD packet to send [12:50:21]OFD Sender: No OFD packet to send [12:50:26]OFD Sender: No OFD packet to send [12:50:31]OFD Sender: No OFD packet to send [12:50:36]OFD Sender: No OFD packet to send [12:50:41]OFD Sender: No OFD packet to send [12:50:46]OFD Sender: No OFD packet to send [12:50:51]OFD Sender: No OFD packet to send [12:50:56]OFD Sender: No OFD packet to send [12:51:01]OFD Sender: No OFD packet to send [12:51:06]OFD Sender: No OFD packet to send [12:51:11]OFD Sender: No OFD packet to send [12:51:16]OFD Sender: No OFD packet to send [12:51:21]OFD Sender: No OFD packet to send [12:51:26]OFD Sender: No OFD packet to send [12:51:31]OFD Sender: No OFD packet to send [12:51:36]OFD Sender: No OFD packet to send [12:51:41]OFD Sender: No OFD packet to send [12:51:46]OFD Sender: No OFD packet to send [12:51:51]OFD Sender: No OFD packet to send [12:51:56]OFD Sender: No OFD packet to send [12:52:01]OFD Sender: No OFD packet to send [12:52:06]OFD Sender: No OFD packet to send [12:52:11]OFD Sender: No OFD packet to send [12:52:16]OFD Sender: No OFD packet to send [12:52:21]OFD Sender: No OFD packet to send [12:52:26]OFD Sender: No OFD packet to send [12:52:31]OFD Sender: No OFD packet to send [12:52:36]OFD Sender: No OFD packet to send [12:52:41]OFD Sender: No OFD packet to send [12:52:46]OFD Sender: No OFD packet to send [12:52:51]OFD Sender: No OFD packet to send [12:52:56]OFD Sender: No OFD packet to send [12:53:01]OFD Sender: No OFD packet to send [12:53:06]OFD Sender: No OFD packet to send [12:53:11]OFD Sender: No OFD packet to send [12:53:16]OFD Sender: No OFD packet to send [12:53:21]OFD Sender: No OFD packet to send [12:53:26]OFD Sender: No OFD packet to send [12:53:31]OFD Sender: No OFD packet to send [12:53:36]OFD Sender: No OFD packet to send [12:53:41]OFD Sender: No OFD packet to send [12:53:46]OFD Sender: No OFD packet to send [12:53:51]OFD Sender: No OFD packet to send [12:53:56]OFD Sender: No OFD packet to send [12:54:01]OFD Sender: No OFD packet to send [12:54:06]OFD Sender: No OFD packet to send [12:54:11]OFD Sender: No OFD packet to send [12:54:16]OFD Sender: No OFD packet to send [12:54:21]OFD Sender: No OFD packet to send [12:54:26]OFD Sender: No OFD packet to send [12:54:31]OFD Sender: No OFD packet to send [12:54:36]OFD Sender: No OFD packet to send [12:54:41]OFD Sender: No OFD packet to send [12:54:46]OFD Sender: No OFD packet to send [12:54:51]OFD Sender: No OFD packet to send [12:54:56]OFD Sender: No OFD packet to send [12:55:01]OFD Sender: No OFD packet to send [12:55:06]OFD Sender: No OFD packet to send [12:55:11]OFD Sender: No OFD packet to send [12:55:16]OFD Sender: No OFD packet to send [12:55:21]OFD Sender: No OFD packet to send [12:55:26]OFD Sender: No OFD packet to send [12:55:31]OFD Sender: No OFD packet to send [12:55:36]OFD Sender: No OFD packet to send [12:55:41]OFD Sender: No OFD packet to send [12:55:46]OFD Sender: No OFD packet to send [12:55:51]OFD Sender: No OFD packet to send [12:55:56]OFD Sender: No OFD packet to send [12:56:01]OFD Sender: No OFD packet to send [12:56:06]OFD Sender: No OFD packet to send [12:56:11]OFD Sender: No OFD packet to send [12:56:16]OFD Sender: No OFD packet to send [12:56:21]OFD Sender: No OFD packet to send [12:56:26]OFD Sender: No OFD packet to send [12:56:31]OFD Sender: No OFD packet to send [12:56:36]OFD Sender: No OFD packet to send [12:56:41]OFD Sender: No OFD packet to send [12:56:46]OFD Sender: No OFD packet to send [12:56:51]OFD Sender: No OFD packet to send [12:56:56]OFD Sender: No OFD packet to send [12:57:01]OFD Sender: No OFD packet to send [12:57:06]OFD Sender: No OFD packet to send [12:57:11]OFD Sender: No OFD packet to send [12:57:16]OFD Sender: No OFD packet to send [12:57:21]OFD Sender: No OFD packet to send [12:57:26]OFD Sender: No OFD packet to send [12:57:31]OFD Sender: No OFD packet to send [12:57:36]OFD Sender: No OFD packet to send [12:57:41]OFD Sender: No OFD packet to send [12:57:46]OFD Sender: No OFD packet to send [12:57:51]OFD Sender: No OFD packet to send [12:57:56]OFD Sender: No OFD packet to send [12:58:01]OFD Sender: No OFD packet to send [12:58:06]OFD Sender: No OFD packet to send [12:58:11]OFD Sender: No OFD packet to send [12:58:16]OFD Sender: No OFD packet to send [12:58:21]OFD Sender: No OFD packet to send [12:58:26]OFD Sender: No OFD packet to send [12:58: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:22]OFD Sender: No OFD packet to send [13:02:27]OFD Sender: No OFD packet to send [13:02:32]OFD Sender: No OFD packet to send [13:02:37]OFD Sender: No OFD packet to send [13:02:42]OFD Sender: No OFD packet to send [13:02:47]OFD Sender: No OFD packet to send [13:02:52]OFD Sender: No OFD packet to send [13:02:57]OFD Sender: No OFD packet to send [13:03:02]OFD Sender: No OFD packet to send [13:03:07]OFD Sender: No OFD packet to send [13:03:12]OFD Sender: No OFD packet to send [13:03:17]OFD Sender: No OFD packet to send [13:03:22]OFD Sender: No OFD packet to send [13:03:27]OFD Sender: No OFD packet to send [13:03:32]OFD Sender: No OFD packet to send [13:03:37]OFD Sender: No OFD packet to send [13:03:42]OFD Sender: No OFD packet to send [13:03:47]OFD Sender: No OFD packet to send [13:03:52]OFD Sender: No OFD packet to send [13:03:57]OFD Sender: No OFD packet to send [13:04:02]OFD Sender: No OFD packet to send [13:04:07]OFD Sender: No OFD packet to send [13:04:12]OFD Sender: No OFD packet to send [13:04:17]OFD Sender: No OFD packet to send [13:04:22]OFD Sender: No OFD packet to send [13:04:27]OFD Sender: No OFD packet to send [13:04:32]OFD Sender: No OFD packet to send [13:04:37]OFD Sender: No OFD packet to send [13:04:42]OFD Sender: No OFD packet to send [13:04:47]OFD Sender: No OFD packet to send [13:04:52]OFD Sender: No OFD packet to send [13:04:57]OFD Sender: No OFD packet to send [13:05:02]OFD Sender: No OFD packet to send [13:05:07]OFD Sender: No OFD packet to send [13:05:12]OFD Sender: No OFD packet to send [13:05:17]OFD Sender: No OFD packet to send [13:05:22]OFD Sender: No OFD packet to send [13:05:27]OFD Sender: No OFD packet to send [13:05:32]OFD Sender: No OFD packet to send [13:05:37]OFD Sender: No OFD packet to send [13:05:42]OFD Sender: No OFD packet to send [13:05:47]OFD Sender: No OFD packet to send [13:05:52]OFD Sender: No OFD packet to send [13:05:57]OFD Sender: No OFD packet to send [13:06:02]OFD Sender: No OFD packet to send [13:06:07]OFD Sender: No OFD packet to send [13:06:12]OFD Sender: No OFD packet to send [13:06:17]OFD Sender: No OFD packet to send [13:06:22]OFD Sender: No OFD packet to send [13:06:27]OFD Sender: No OFD packet to send [13:06:32]OFD Sender: No OFD packet to send [13:06:37]OFD Sender: No OFD packet to send [13:06:42]OFD Sender: No OFD packet to send [13:06:47]OFD Sender: No OFD packet to send [13:06:52]OFD Sender: No OFD packet to send [13:06:57]OFD Sender: No OFD packet to send [13:07:02]OFD Sender: No OFD packet to send [13:07:07]OFD Sender: No OFD packet to send [13:07:12]OFD Sender: No OFD packet to send [13:07:17]OFD Sender: No OFD packet to send [13:07:22]OFD Sender: No OFD packet to send [13:07:27]OFD Sender: No OFD packet to send [13:07:32]OFD Sender: No OFD packet to send [13:07:37]OFD Sender: No OFD packet to send [13:07:42]OFD Sender: No OFD packet to send [13:07:47]OFD Sender: No OFD packet to send [13:07:52]OFD Sender: No OFD packet to send [13:07:57]OFD Sender: No OFD packet to send [13:08:02]OFD Sender: No OFD packet to send [13:08:07]OFD Sender: No OFD packet to send [13:08:12]OFD Sender: No OFD packet to send [13:08:17]OFD Sender: No OFD packet to send [13:08:22]OFD Sender: No OFD packet to send [13:08:27]OFD Sender: No OFD packet to send [13:08:32]OFD Sender: No OFD packet to send [13:08:37]OFD Sender: No OFD packet to send [13:08:42]OFD Sender: No OFD packet to send [13:08:47]OFD Sender: No OFD packet to send [13:08:52]OFD Sender: No OFD packet to send [13:08:57]OFD Sender: No OFD packet to send [13:09:02]OFD Sender: No OFD packet to send [13:09:07]OFD Sender: No OFD packet to send [13:09:12]OFD Sender: No OFD packet to send [13:09:17]OFD Sender: No OFD packet to send [13:09:22]OFD Sender: No OFD packet to send [13:09:27]OFD Sender: No OFD packet to send [13:09:32]OFD Sender: No OFD packet to send [13:09:37]OFD Sender: No OFD packet to send [13:09:42]OFD Sender: No OFD packet to send [13:09:47]OFD Sender: No OFD packet to send [13:09:52]OFD Sender: No OFD packet to send [13:09:57]OFD Sender: No OFD packet to send [13:10:02]OFD Sender: No OFD packet to send [13:10:07]OFD Sender: No OFD packet to send [13:10:12]OFD Sender: No OFD packet to send [13:10:17]OFD Sender: No OFD packet to send [13:10:22]OFD Sender: No OFD packet to send [13:10:27]OFD Sender: No OFD packet to send [13:10:32]OFD Sender: No OFD packet to send [13:10:37]OFD Sender: No OFD packet to send [13:10:42]OFD Sender: No OFD packet to send [13:10:47]OFD Sender: No OFD packet to send [13:10:52]OFD Sender: No OFD packet to send [13:10:57]OFD Sender: No OFD packet to send [13:11:02]OFD Sender: No OFD packet to send [13:11:07]OFD Sender: No OFD packet to send [13:11:12]OFD Sender: No OFD packet to send [13:11:17]OFD Sender: No OFD packet to send [13:11:22]OFD Sender: No OFD packet to send [13:11:27]OFD Sender: No OFD packet to send [13:11:32]OFD Sender: No OFD packet to send [13:11:37]OFD Sender: No OFD packet to send [13:11:42]OFD Sender: No OFD packet to send [13:11:47]OFD Sender: No OFD packet to send [13:11:52]OFD Sender: No OFD packet to send [13:11:57]OFD Sender: No OFD packet to send [13:12:02]OFD Sender: No OFD packet to send [13:12:07]OFD Sender: No OFD packet to send [13:12:12]OFD Sender: No OFD packet to send [13:12:17]OFD Sender: No OFD packet to send [13:12:22]OFD Sender: No OFD packet to send [13:12:27]OFD Sender: No OFD packet to send [13:12:32]OFD Sender: No OFD packet to send [13:12:37]OFD Sender: No OFD packet to send [13:12:42]OFD Sender: No OFD packet to send [13:12:47]OFD Sender: No OFD packet to send [13:12:52]OFD Sender: No OFD packet to send [13:12:57]OFD Sender: No OFD packet to send [13:13:02]OFD Sender: No OFD packet to send [13:13:07]OFD Sender: No OFD packet to send [13:13:12]OFD Sender: No OFD packet to send [13:13:17]OFD Sender: No OFD packet to send [13:13:22]OFD Sender: No OFD packet to send [13:13:27]OFD Sender: No OFD packet to send [13:13:32]OFD Sender: No OFD packet to send [13:13:37]OFD Sender: No OFD packet to send [13:13:42]OFD Sender: No OFD packet to send [13:13:47]OFD Sender: No OFD packet to send [13:13:52]OFD Sender: No OFD packet to send [13:13:57]OFD Sender: No OFD packet to send [13:14:02]OFD Sender: No OFD packet to send [13:14:07]OFD Sender: No OFD packet to send [13:14:12]OFD Sender: No OFD packet to send [13:14:17]OFD Sender: No OFD packet to send [13:14:22]OFD Sender: No OFD packet to send [13:14:27]OFD Sender: No OFD packet to send [13:14:32]OFD Sender: No OFD packet to send [13:14:37]OFD Sender: No OFD packet to send [13:14:42]OFD Sender: No OFD packet to send [13:14:47]OFD Sender: No OFD packet to send [13:14:52]OFD Sender: No OFD packet to send [13:14:57]OFD Sender: No OFD packet to send [13:15:02]OFD Sender: No OFD packet to send [13:15:07]OFD Sender: No OFD packet to send [13:15:12]OFD Sender: No OFD packet to send [13:15:17]OFD Sender: No OFD packet to send [13:15:22]OFD Sender: No OFD packet to send [13:15:27]OFD Sender: No OFD packet to send [13:15:32]OFD Sender: No OFD packet to send [13:15:37]OFD Sender: No OFD packet to send [13:15:42]OFD Sender: No OFD packet to send [13:15:47]OFD Sender: No OFD packet to send [13:15:52]OFD Sender: No OFD packet to send [13:15:57]OFD Sender: No OFD packet to send [13:16:02]OFD Sender: No OFD packet to send [13:16:07]OFD Sender: No OFD packet to send [13:16:12]OFD Sender: No OFD packet to send [13:16:17]OFD Sender: No OFD packet to send [13:16:22]OFD Sender: No OFD packet to send [13:16:27]OFD Sender: No OFD packet to send [13:16:32]OFD Sender: No OFD packet to send [13:16:37]OFD Sender: No OFD packet to send [13:16:42]OFD Sender: No OFD packet to send [13:16:47]OFD Sender: No OFD packet to send [13:16:52]OFD Sender: No OFD packet to send [13:16:57]OFD Sender: No OFD packet to send [13:17:02]OFD Sender: No OFD packet to send [13:17:07]OFD Sender: No OFD packet to send [13:17:12]OFD Sender: No OFD packet to send [13:17:18]OFD Sender: No OFD packet to send [13:17:23]OFD Sender: No OFD packet to send [13:17:28]OFD Sender: No OFD packet to send [13:17:33]OFD Sender: No OFD packet to send [13:17:38]OFD Sender: No OFD packet to send [13:17:43]OFD Sender: No OFD packet to send [13:17:48]OFD Sender: No OFD packet to send [13:17:53]OFD Sender: No OFD packet to send [13:17:58]OFD Sender: No OFD packet to send [13:18:03]OFD Sender: No OFD packet to send [13:18:08]OFD Sender: No OFD packet to send [13:18:13]OFD Sender: No OFD packet to send [13:18:18]OFD Sender: No OFD packet to send [13:18:23]OFD Sender: No OFD packet to send [13:18:28]OFD Sender: No OFD packet to send [13:18:33]OFD Sender: No OFD packet to send [13:18:38]OFD Sender: No OFD packet to send [13:18:43]OFD Sender: No OFD packet to send [13:18:48]OFD Sender: No OFD packet to send [13:18:53]OFD Sender: No OFD packet to send [13:18:58]OFD Sender: No OFD packet to send [13:19:03]OFD Sender: No OFD packet to send [13:19:08]OFD Sender: No OFD packet to send [13:19:13]OFD Sender: No OFD packet to send [13:19:18]OFD Sender: No OFD packet to send [13:19:23]OFD Sender: No OFD packet to send [13:19:28]OFD Sender: No OFD packet to send [13:19:33]OFD Sender: No OFD packet to send [13:19:38]OFD Sender: No OFD packet to send [13:19:43]OFD Sender: No OFD packet to send [13:19:48]OFD Sender: No OFD packet to send [13:19:53]OFD Sender: No OFD packet to send [13:19:58]OFD Sender: No OFD packet to send [13:20:03]OFD Sender: No OFD packet to send [13:20:08]OFD Sender: No OFD packet to send [13:20:13]OFD Sender: No OFD packet to send [13:20:18]OFD Sender: No OFD packet to send [13:20:23]OFD Sender: No OFD packet to send [13:20:28]OFD Sender: No OFD packet to send [13:20:33]OFD Sender: No OFD packet to send [13:20:38]OFD Sender: No OFD packet to send [13:20:43]OFD Sender: No OFD packet to send [13:20:48]OFD Sender: No OFD packet to send [13:20:53]OFD Sender: No OFD packet to send [13:20:58]OFD Sender: No OFD packet to send [13:21:03]OFD Sender: No OFD packet to send [13:21:08]OFD Sender: No OFD packet to send [13:21:13]OFD Sender: No OFD packet to send [13:21:18]OFD Sender: No OFD packet to send [13:21:23]OFD Sender: No OFD packet to send [13:21:28]OFD Sender: No OFD packet to send [13:21:33]OFD Sender: No OFD packet to send [13:21:38]OFD Sender: No OFD packet to send [13:21:43]OFD Sender: No OFD packet to send [13:21:48]OFD Sender: No OFD packet to send [13:21:53]OFD Sender: No OFD packet to send [13:21:58]OFD Sender: No OFD packet to send [13:22:03]OFD Sender: No OFD packet to send [13:22:08]OFD Sender: No OFD packet to send [13:22:13]OFD Sender: No OFD packet to send [13:22:18]OFD Sender: No OFD packet to send [13:22:23]OFD Sender: No OFD packet to send [13:22:28]OFD Sender: No OFD packet to send [13:22:33]OFD Sender: No OFD packet to send [13:22:38]OFD Sender: No OFD packet to send [13:22:43]OFD Sender: No OFD packet to send [13:22:48]OFD Sender: No OFD packet to send [13:22:53]OFD Sender: No OFD packet to send [13:22:58]OFD Sender: No OFD packet to send [13:23:03]OFD Sender: No OFD packet to send [13:23:08]OFD Sender: No OFD packet to send [13:23:13]OFD Sender: No OFD packet to send [13:23:18]OFD Sender: No OFD packet to send [13:23:23]OFD Sender: No OFD packet to send [13:23:28]OFD Sender: No OFD packet to send [13:23:33]OFD Sender: No OFD packet to send [13:23:38]OFD Sender: No OFD packet to send [13:23:43]OFD Sender: No OFD packet to send [13:23:48]OFD Sender: No OFD packet to send [13:23:53]OFD Sender: No OFD packet to send [13:23:58]OFD Sender: No OFD packet to send [13:24:03]OFD Sender: No OFD packet to send [13:24:08]OFD Sender: No OFD packet to send [13:24:13]OFD Sender: No OFD packet to send [13:24:18]OFD Sender: No OFD packet to send [13:24:23]OFD Sender: No OFD packet to send [13:24:28]OFD Sender: No OFD packet to send [13:24:33]OFD Sender: No OFD packet to send [13:24:38]OFD Sender: No OFD packet to send [13:24:43]OFD Sender: No OFD packet to send [13:24:48]OFD Sender: No OFD packet to send [13:24:53]OFD Sender: No OFD packet to send [13:24:58]OFD Sender: No OFD packet to send [13:25:03]OFD Sender: No OFD packet to send [13:25:08]OFD Sender: No OFD packet to send [13:25:13]OFD Sender: No OFD packet to send [13:25:18]OFD Sender: No OFD packet to send [13:25:23]OFD Sender: No OFD packet to send [13:25:28]OFD Sender: No OFD packet to send [13:25:33]OFD Sender: No OFD packet to send [13:25:38]OFD Sender: No OFD packet to send [13:25:43]OFD Sender: No OFD packet to send [13:25:48]OFD Sender: No OFD packet to send [13:25:53]OFD Sender: No OFD packet to send [13:25:58]OFD Sender: No OFD packet to send [13:26:03]OFD Sender: No OFD packet to send [13:26:08]OFD Sender: No OFD packet to send [13:26:13]OFD Sender: No OFD packet to send [13:26:18]OFD Sender: No OFD packet to send [13:26:23]OFD Sender: No OFD packet to send [13:26:28]OFD Sender: No OFD packet to send [13:26:33]OFD Sender: No OFD packet to send [13:26:38]OFD Sender: No OFD packet to send [13:26:43]OFD Sender: No OFD packet to send [13:26:48]OFD Sender: No OFD packet to send [13:26:53]OFD Sender: No OFD packet to send [13:26:58]OFD Sender: No OFD packet to send [13:27:03]OFD Sender: No OFD packet to send [13:27:08]OFD Sender: No OFD packet to send [13:27:13]OFD Sender: No OFD packet to send [13:27:18]OFD Sender: No OFD packet to send [13:27:23]OFD Sender: No OFD packet to send [13:27:28]OFD Sender: No OFD packet to send [13:27:33]OFD Sender: No OFD packet to send [13:27:38]OFD Sender: No OFD packet to send [13:27:43]OFD Sender: No OFD packet to send [13:27:48]OFD Sender: No OFD packet to send [13:27:53]OFD Sender: No OFD packet to send [13:27:58]OFD Sender: No OFD packet to send [13:28:03]OFD Sender: No OFD packet to send [13:28:13]OFD Sender: No OFD packet to send [13:28:18]OFD Sender: No OFD packet to send [13:28:23]OFD Sender: No OFD packet to send [13:28:28]OFD Sender: No OFD packet to send [13:28:33]OFD Sender: No OFD packet to send [13:28:38]OFD Sender: No OFD packet to send [13:28:43]OFD Sender: No OFD packet to send [13:28:48]OFD Sender: No OFD packet to send [13:28:53]OFD Sender: No OFD packet to send [13:28:58]OFD Sender: No OFD packet to send [13:29:03]OFD Sender: No OFD packet to send [13:29:08]OFD Sender: No OFD packet to send [13:29:13]OFD Sender: No OFD packet to send [13:29:16]accept exits with 7 [13:29:16]New connection [13:29:16]New thread 3067440484 created [13:29:16]Thread 3067297124 joined [13:29:16]Waiting for new connection... [13:29:16] Sock 7.Parse request [13:29:16]Sock 7.Check first char [13:29:16]Sock 7.First char is OK [13:29:16]request: POST /json_proto HTTP/1.0 [13:29:16]Method: POST [13:29:16]URL: /json_proto [13:29:16]Method is POST - this is cgi request [13:29:16]url: /json_proto [13:29:16]query_string will be loaded in cgi processing [13:29:16]execute_cgi json_proto POST (null) [13:29:16]execute_cgi path=json_proto method=POST [13:29:16]POST find Content-Length [13:29:16]Host: 172.17.40.196:8080 [13:29:16]Content-Length: 597 [13:29:16]Content-Type: application/json [13:29:16] [13:29:16]POST finish read [13:29:16]Found Content-Length = 597 [13:29:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35011", "tax_sys" : 0, "items" : [ { "code": "42203223", "name": "\u0414\u0440\u0430\u0436\u0435 Skittles 2\u04321", "price" : 49.00, "quantity" : 2.000, "sum" : 98.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 98.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:29:16]execute_script... [13:29:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35011", "tax_sys" : 0, "items" : [ { "code": "42203223", "name": "\u0414\u0440\u0430\u0436\u0435 Skittles 2\u04321", "price" : 49.00, "quantity" : 2.000, "sum" : 98.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 98.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:29:16]POST & json_proto [13:29:16]process_json_proto [13:29:16]json parsed OK: [13:29:16]protocol is kg_v1.0 [13:29:16]action value=close_receipt [13:29:16]process_action close_receipt [13:29:16]cmd_close_receipt [13:29:16]MH_GetDate [13:29:16]Write to MH i2c: F0 00 00 D2 08 C9 [13:29:16]Write i2c OK [13:29:16]MH_I2C_Read... [13:29:16]Read from MH i2c: F0 [13:29:16]MH_I2C_Read... [13:29:16]Read from MH i2c: F0 09 00 [13:29:16]MH_I2C_Read... [13:29:16]Read from MH i2c: F0 09 00 D2 08 00 2E 40 1E 67 5B 68 A1 66 8F [13:29:16]GetLastDocTimeStamp 1730032554 [13:29:16]current date 1730035758 [13:29:16]FM_GetShiftState [13:29:16]SAM_PROTO_GetShiftState [13:29:16]wFMCommunicate request_size=4 [13:29:16]MH_SAM_APDU [13:29:16]CAPDU: 80 13 01 00 [13:29:16]Write to MH i2c: E2 08 00 D3 08 80 13 01 00 00 00 00 00 58 [13:29:16]Write i2c OK [13:29:16]MH_I2C_Read... [13:29:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:29:16]Read from MH i2c: E2 [13:29:16]MH_I2C_Read... [13:29:16]Read from MH i2c: E2 0E 00 [13:29:16]MH_I2C_Read... [13:29:16]Read from MH i2c: E2 0E 00 D3 08 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 0F [13:29:16]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [13:29:16]wFMCommunicate OK [13:29:16]SAM_PROTO_GetShiftState done [13:29:16]FM_GetShiftState done [13:29:16]opened in 1729987492 [13:29:16]opened+sec_in_day 1730073892 [13:29:16]quantity*price = 9800 [13:29:16]sum+1 = 9801 [13:29:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 98.00 НСП 1% : 0.87 НДС 12% : 10.41 Наличными: 98.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 39 27.10.2024 13:29 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37713 ФПД: 145353267326169 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T132919&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37713&fm=145353267326169&tin=02508201610067®Number=0000000000091684&sum=9800 0 [13:29:17]StoreToDocumentArchive [13:29:17]shift 550 fd 37713 [13:29:17]save to /storage/0550/doc_00037713 [13:29:17]save last doc name /storage/0550/doc_00037713 to /storage/kkm_last_doc_name [13:29:17]save OK [13:29:17]Clear old archive folders... [13:29:17]ProcessDocumentItem done err = 0, tmpTLVsize=261 [13:29:17]tlvbuf is 00212F80 [13:29:17]SAM_PROTO_ClearQueue [13:29:17]wFMCommunicate request_size=4 [13:29:17]MH_SAM_APDU [13:29:17]CAPDU: 80 09 00 00 [13:29:17]Write to MH i2c: E2 08 00 E0 08 80 09 00 00 00 00 00 00 5A [13:29:17]Write i2c OK [13:29:17]MH_I2C_Read... [13:29:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:29:17]Read from MH i2c: E2 [13:29:17]MH_I2C_Read... [13:29:17]Read from MH i2c: E2 03 00 [13:29:17]MH_I2C_Read... [13:29:17]Read from MH i2c: E2 03 00 E0 08 00 90 00 5C [13:29:17]RAPDU: 90 00 [13:29:17]wFMCommunicate OK [13:29:17]SAM_PROTO_ClearQueue done [13:29:17]KKMCreateOFDPacket [13:29:17]OFDProtocolAddRootSTLVToBuf [13:29:17]FM_MakeSignedData [13:29:17]FM_MakeSignedData [13:29:17]SAM_PROTO_SignData [13:29:17]wFMCommunicate request_size=4 [13:29:17]MH_SAM_APDU [13:29:17]CAPDU: 80 0D 01 02 [13:29:17]Write to MH i2c: E2 08 00 E1 08 80 0D 01 02 00 00 00 00 62 [13:29:17]Write i2c OK [13:29:17]MH_I2C_Read... [13:29:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:29:17]Read from MH i2c: E2 [13:29:17]MH_I2C_Read... [13:29:17]Read from MH i2c: E2 03 00 [13:29:17]MH_I2C_Read... [13:29:17]Read from MH i2c: E2 03 00 E1 08 00 90 00 5D [13:29:17]RAPDU: 90 00 [13:29:17]wFMCommunicate OK [13:29:17]wFMCommunicate request_size=255 [13:29:17]MH_SAM_APDU [13:29:17]CAPDU: 80 0D 02 02 FA 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 32 32 30 33 32 32 33 06 04 18 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 53 6B 69 74 74 6C 65 73 20 32 D0 B2 31 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 57 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 04 00 00 00 00 07 04 06 00 48 26 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 2F 40 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [13:29:17]Write to MH i2c: E2 02 01 E2 08 80 0D 02 02 FA 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 32 32 30 33 32 32 33 06 04 18 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 53 6B 69 74 74 6C 65 73 20 32 D0 B2 31 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 57 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 04 00 00 00 00 07 04 06 00 48 26 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 2F 40 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 2F [13:29:17]Write i2c OK [13:29:17]MH_I2C_Read... [13:29:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:29:18]Read from MH i2c: E2 [13:29:18]MH_I2C_Read... [13:29:18]Read from MH i2c: E2 03 00 [13:29:18]MH_I2C_Read... [13:29:18]Read from MH i2c: E2 03 00 E2 08 00 90 00 5E [13:29:18]RAPDU: 90 00 [13:29:18]wFMCommunicate OK [13:29:18]wFMCommunicate request_size=20 [13:29:18]MH_SAM_APDU [13:29:18]CAPDU: 80 0D 02 02 0F 00 51 93 00 00 35 04 06 00 84 32 B1 DD AC D9 [13:29:18]Write to MH i2c: E2 17 00 E3 08 80 0D 02 02 0F 00 00 51 93 00 00 35 04 06 00 84 32 B1 DD AC D9 00 00 6F [13:29:18]Write i2c OK [13:29:18]MH_I2C_Read... [13:29:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:29:18]Read from MH i2c: E2 [13:29:18]MH_I2C_Read... [13:29:18]Read from MH i2c: E2 03 00 [13:29:18]MH_I2C_Read... [13:29:18]Read from MH i2c: E2 03 00 E3 08 00 90 00 5F [13:29:18]RAPDU: 90 00 [13:29:18]wFMCommunicate OK [13:29:18]wFMCommunicate request_size=4 [13:29:18]MH_SAM_APDU [13:29:18]CAPDU: 80 0D 03 02 [13:29:18]Write to MH i2c: E2 08 00 E4 08 80 0D 03 02 00 00 00 00 67 [13:29:18]Write i2c OK [13:29:18]MH_I2C_Read... [13:29:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:29:18]Read from MH i2c: E2 [13:29:18]MH_I2C_Read... [13:29:18]Read from MH i2c: E2 0B 00 [13:29:18]MH_I2C_Read... [13:29:18]Read from MH i2c: E2 0B 00 E4 08 00 09 FC 85 AA 84 31 22 DC 90 00 4F [13:29:18]RAPDU: 09 FC 85 AA 84 31 22 DC 90 00 [13:29:18]wFMCommunicate OK [13:29:18]SAM_PROTO_SignData done [13:29:18]FM_MakeSignedData done [13:29:18]CreateOFDProtocolMessage [13:29:18]wFMCommunicate request_size=4 [13:29:18]MH_SAM_APDU [13:29:18]CAPDU: 80 11 00 00 [13:29:18]Write to MH i2c: E2 08 00 E5 08 80 11 00 00 00 00 00 00 67 [13:29:18]Write i2c OK [13:29:18]MH_I2C_Read... [13:29:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:29:18]Read from MH i2c: E2 [13:29:18]MH_I2C_Read... [13:29:18]Read from MH i2c: E2 17 00 [13:29:18]MH_I2C_Read... [13:29:18]Read from MH i2c: E2 17 00 E5 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 B7 [13:29:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:29:18]wFMCommunicate OK [13:29:18]CreateOFDProtocolMessage done [13:29:18]OFDSenderStorePacket 37713 [13:29:18]StoreOFDPacket docnum=37713 [13:29:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 19 01 00 00 86 F0 11 01 D1 94 5A 03 01 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 32 32 30 33 32 32 33 06 04 18 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 53 6B 69 74 74 6C 65 73 20 32 D0 B2 31 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 57 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 04 00 00 00 00 07 04 06 00 48 26 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 2F 40 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 51 93 00 00 35 04 06 00 84 32 B1 DD AC D9 09 FC 85 AA 84 31 22 DC [13:29:18]CheckFolder [13:29:18]dirname=/storage/ofd_packets [13:29:18]CheckFolder done [13:29:18]ProducePacketName [13:29:18]name=ofd_packets/00037713 [13:29:18]NVStorageSaveData ofd_packets/00037713 [13:29:18]File name is /storage/ofd_packets/00037713 [13:29:18]Write 311 bytes [13:29:18]NVStorageSaveData done [13:29:18]OFDSenderStorePacket done [13:29:18]KKMCreateOFDPacket done [13:29:18]NVStorageSaveData kkm_last_timestamp [13:29:18]File name is /storage/kkm_last_timestamp [13:29:18]Write 4 bytes [13:29:18]NVStorageSaveData done [13:29:18]ExternCall_PrintAddStr [13:29:18]wPrintStart [13:29:18]Write to MH i2c: 01 00 00 E6 08 EE [13:29:18]Write i2c OK [13:29:18]MH_I2C_Read... [13:29:18]Read from MH i2c: 01 [13:29:18]MH_I2C_Read... [13:29:18]Read from MH i2c: 01 07 00 [13:29:18]MH_I2C_Read... [13:29:18]Read from MH i2c: 01 07 00 E6 08 00 00 00 00 00 FF 0F 03 [13:29:18]RasterBufferAndPrint [13:29:18]line Счет N : (3)35011 [13:29:18]line ИНН: 02508201610067 [13:29:18]line Контрольно-Кассовый Чек [13:29:18]line ПРОДАЖА [13:29:18]line Товар: 42203223 [13:29:18]line Драже Skittles 2в1 [13:29:18]line 2.000 * 49.00 [13:29:18]line = 98.00 [13:29:18]line НДС 12% НСП 1% [13:29:18]line > о реализуемом товаре [13:29:18]line ИТОГО: 98.00 [13:29:18]line НСП 1% : 0.87 [13:29:18]line НДС 12% : 10.41 [13:29:18]line Наличными: 98.00 [13:29:18]line Безнал.: 0.00 [13:29:18]line Место: АЗС № 126 "Партнер Нефть" [13:29:18]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:29:18]line СНО: Общий режим [13:29:18]line Чек 39 27.10.2024 13:29 [13:29:18]line Смена: 550 ФФД: 1.0 [13:29:18]line ЗНМ: 0300000092 [13:29:18]line РНМ: 0000000000091684 [13:29:18]line Версия ККМ: 001 [13:29:18]line ФМ: 0000000000871841 [13:29:18]line ФД: 37713 [13:29:18]line ФПД: 145353267326169 [13:29:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T132919&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37713&fm=145353267326169&tin=02508201610067®Number=0000000000091684&sum=9800 [13:29:18]line 0 [13:29:18]OFD Sender: Processing packet 37713 [packets to send 42, broken 41] [13:29:18]ProducePacketName [13:29:18]name=ofd_packets/00037713 [13:29:18]OFD Sender: To server: pG, [13:29:18]CommunicateWithHost lk.salyk.kg:30040 [13:29:18]ConnectInit lk.salyk.kg [13:29:18]written 0, free lines is 4095 [13:29:18]Connected sock=11 [13:29:18]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 19 01 00 00 86 F0 11 01 D1 94 5A 03 01 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 32 32 30 33 32 32 33 06 04 18 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 53 6B 69 74 74 6C 65 73 20 32 D0 B2 31 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 57 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 04 00 00 00 00 07 04 06 00 48 26 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 2F 40 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 51 93 00 00 35 04 06 00 84 32 B1 DD AC D9 09 FC 85 AA 84 31 22 DC [13:29:19]Write to MH i2c: 01 00 00 0E 09 17 [13:29:19]Write i2c OK [13:29:19]MH_I2C_Read... [13:29:19]Read from MH i2c: 01 [13:29:19]MH_I2C_Read... [13:29:19]Read from MH i2c: 01 07 00 [13:29:19]MH_I2C_Read... [13:29:19]Read from MH i2c: 01 07 00 0E 09 00 00 00 00 00 DC 0C 06 [13:29:19]RasterBufferAndPrint [13:29:19]line [13:29:19]line [13:29:19]line [13:29:19]line [13:29:19]line [13:29:19]written 0, free lines is 3301 [13:29:19]MH_Cut [13:29:19]Write to MH i2c: D1 01 00 15 09 01 F0 [13:29:19]Write i2c OK [13:29:19]MH_I2C_Read... [13:29:19]Read from MH i2c: D1 [13:29:19]MH_I2C_Read... [13:29:19]Read from MH i2c: D1 01 00 [13:29:19]MH_I2C_Read... [13:29:19]Read from MH i2c: D1 01 00 15 09 00 EF [13:29:19]Write to MH i2c: 01 00 00 16 09 1F [13:29:19]Write i2c OK [13:29:19]MH_I2C_Read... [13:29:19]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 BA 47 00 A8 4B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 51 93 00 00 F4 03 04 00 26 EB 1D 67 B6 04 01 00 00 07 7C CD B9 A7 89 6A B7 [13:29:19]CommunicateWithHost err = 0 [13:29:19]CheckOFDResponse [13:29:19]1017 (14) - 77093643461234 [13:29:19]1041 (16) - 0000000000871841 [13:29:19]1040 (4) - 37713 [13:29:19]1012 (4) - 27.10.2024 07:26 [13:29:19]1206 (1) - 0 [13:29:19]OFD Sender: Remove packet 37713 [13:29:19]ProducePacketName [13:29:19]name=ofd_packets/00037713 [13:29:19]NVStorageDeleteData [13:29:19]OFD Sender: No OFD packet to send [13:29:19]*** Cut start [13:29:19]*** Partial cut [13:29:19]*** CUTSNS_PIN = 1 [13:29:19]*** CUTSNS_PIN = 0 [13:29:20]*** Brake cut motor [13:29:20]Read from MH i2c: 01 [13:29:20]MH_I2C_Read... [13:29:20]*** Stop cut motor [13:29:20]*** Cut end [13:29:20]Read from MH i2c: 01 07 00 [13:29:20]MH_I2C_Read... [13:29:20]Read from MH i2c: 01 07 00 16 09 00 00 00 00 00 FF 0F 34 [13:29:20]process_action close_receipt done [13:29:20]requested_data is exist [13:29:20]produce_requested_data [13:29:20]requested_item fm.sn is exist - process it [13:29:20]wFMCommunicate request_size=4 [13:29:20]MH_SAM_APDU [13:29:20]CAPDU: 80 11 00 00 [13:29:20]Write to MH i2c: E2 08 00 17 09 80 11 00 00 00 00 00 00 9A [13:29:20]Write i2c OK [13:29:20]MH_I2C_Read... [13:29:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:29:20]Read from MH i2c: E2 [13:29:20]MH_I2C_Read... [13:29:20]Read from MH i2c: E2 17 00 [13:29:20]MH_I2C_Read... [13:29:20]Read from MH i2c: E2 17 00 17 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 EA [13:29:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:29:20]wFMCommunicate OK [13:29:20]requested_item fd.num is exist - process it [13:29:20]SAM_PROTO_GetFieldsCounters [13:29:20]wFMCommunicate request_size=4 [13:29:20]MH_SAM_APDU [13:29:20]CAPDU: 80 13 00 00 [13:29:20]Write to MH i2c: E2 08 00 18 09 80 13 00 00 00 00 00 00 9D [13:29:20]Write i2c OK [13:29:20]MH_I2C_Read... [13:29:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:29:20]Read from MH i2c: E2 [13:29:20]MH_I2C_Read... [13:29:20]Read from MH i2c: E2 62 00 [13:29:20]MH_I2C_Read... [13:29:20]Read from MH i2c: E2 62 00 18 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 51 93 00 00 0E 04 04 00 26 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 3F [13:29:20]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 51 93 00 00 0E 04 04 00 26 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 [13:29:20]wFMCommunicate OK [13:29:20]SAM_PROTO_GetFieldsCounters done [13:29:20]requested_item shift.num is exist - process it [13:29:20]requested_item shift.opened is exist - process it [13:29:20]req_shift_opened [13:29:20]FM_GetShiftState [13:29:20]SAM_PROTO_GetShiftState [13:29:20]wFMCommunicate request_size=4 [13:29:20]MH_SAM_APDU [13:29:20]CAPDU: 80 13 01 00 [13:29:20]Write to MH i2c: E2 08 00 19 09 80 13 01 00 00 00 00 00 9F [13:29:20]Write i2c OK [13:29:20]MH_I2C_Read... [13:29:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:29:20]Read from MH i2c: E2 [13:29:20]MH_I2C_Read... [13:29:20]Read from MH i2c: E2 0E 00 [13:29:20]MH_I2C_Read... [13:29:20]Read from MH i2c: E2 0E 00 19 09 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 56 [13:29:20]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [13:29:20]wFMCommunicate OK [13:29:20]SAM_PROTO_GetShiftState done [13:29:20]FM_GetShiftState done [13:29:20]req_shift_opened done [13:29:20]requested_item shift.open_date is exist - process it [13:29:20]req_shift_open_date [13:29:20]req_shift_open_date done [13:29:20]produce_requested_data done [13:29:20]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37713,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [13:29:20]process_action_free close_receipt [13:29:20]json_value_free [13:29:20]json_value_free done [13:29:20]process_json_proto returns [13:29:20]Send response to host [13:29:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37713,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [13:29:20]free response buf [13:29:20]execute_script done [13:29:20]execute_script returns [13:29:20]free content buf [13:29:20]Sock 7.Close socket [13:29:20]Sock 7.Thread stoped [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]ConnectInit Can't connect to host [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:15]OFD Sender: No OFD packet to send [13:35:20]OFD Sender: No OFD packet to send [13:35:25]OFD Sender: No OFD packet to send [13:35:30]OFD Sender: No OFD packet to send [13:35:35]OFD Sender: No OFD packet to send [13:35:40]OFD Sender: No OFD packet to send [13:35:45]OFD Sender: No OFD packet to send [13:35:50]OFD Sender: No OFD packet to send [13:35:55]OFD Sender: No OFD packet to send [13:36:00]OFD Sender: No OFD packet to send [13:36:05]OFD Sender: No OFD packet to send [13:36:10]OFD Sender: No OFD packet to send [13:36:15]OFD Sender: No OFD packet to send [13:36:20]OFD Sender: No OFD packet to send [13:36:25]OFD Sender: No OFD packet to send [13:36:30]OFD Sender: No OFD packet to send [13:36:35]OFD Sender: No OFD packet to send [13:36:40]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:40]OFD Sender: No OFD packet to send [13:49:45]OFD Sender: No OFD packet to send [13:49:50]OFD Sender: No OFD packet to send [13:49:55]OFD Sender: No OFD packet to send [13:50:00]OFD Sender: No OFD packet to send [13:50:05]OFD Sender: No OFD packet to send [13:50:10]OFD Sender: No OFD packet to send [13:50:15]OFD Sender: No OFD packet to send [13:50:20]OFD Sender: No OFD packet to send [13:50:25]OFD Sender: No OFD packet to send [13:50:30]OFD Sender: No OFD packet to send [13:50:35]OFD Sender: No OFD packet to send [13:50:40]OFD Sender: No OFD packet to send [13:50:45]OFD Sender: No OFD packet to send [13:50:50]OFD Sender: No OFD packet to send [13:50:55]OFD Sender: No OFD packet to send [13:51:00]OFD Sender: No OFD packet to send [13:51:05]OFD Sender: No OFD packet to send [13:51:10]OFD Sender: No OFD packet to send [13:51:15]OFD Sender: No OFD packet to send [13:51:20]OFD Sender: No OFD packet to send [13:51:25]OFD Sender: No OFD packet to send [13:51:30]OFD Sender: No OFD packet to send [13:51:35]OFD Sender: No OFD packet to send [13:51:40]OFD Sender: No OFD packet to send [13:51:45]OFD Sender: No OFD packet to send [13:51:50]OFD Sender: No OFD packet to send [13:51:55]OFD Sender: No OFD packet to send [13:52:00]OFD Sender: No OFD packet to send [13:52:05]OFD Sender: No OFD packet to send [13:52:10]OFD Sender: No OFD packet to send [13:52:15]OFD Sender: No OFD packet to send [13:52:20]OFD Sender: No OFD packet to send [13:52:25]OFD Sender: No OFD packet to send [13:52:30]OFD Sender: No OFD packet to send [13:52:35]OFD Sender: No OFD packet to send [13:52:40]OFD Sender: No OFD packet to send [13:52:45]OFD Sender: No OFD packet to send [13:52:50]OFD Sender: No OFD packet to send [13:52:55]OFD Sender: No OFD packet to send [13:53:00]OFD Sender: No OFD packet to send [13:53:05]OFD Sender: No OFD packet to send [13:53:10]OFD Sender: No OFD packet to send [13:53:15]OFD Sender: No OFD packet to send [13:53:20]OFD Sender: No OFD packet to send [13:53:25]OFD Sender: No OFD packet to send [13:53:30]OFD Sender: No OFD packet to send [13:53:35]OFD Sender: No OFD packet to send [13:53:40]OFD Sender: No OFD packet to send [13:53:45]OFD Sender: No OFD packet to send [13:53:50]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:01]OFD Sender: No OFD packet to send [14:06:06]OFD Sender: No OFD packet to send [14:06:11]OFD Sender: No OFD packet to send [14:06:16]OFD Sender: No OFD packet to send [14:06:21]OFD Sender: No OFD packet to send [14:06:26]OFD Sender: No OFD packet to send [14:06:31]OFD Sender: No OFD packet to send [14:06:36]OFD Sender: No OFD packet to send [14:06:41]OFD Sender: No OFD packet to send [14:06:46]OFD Sender: No OFD packet to send [14:06:51]OFD Sender: No OFD packet to send [14:06:56]OFD Sender: No OFD packet to send [14:07:01]OFD Sender: No OFD packet to send [14:07:06]OFD Sender: No OFD packet to send [14:07:11]OFD Sender: No OFD packet to send [14:07:16]OFD Sender: No OFD packet to send [14:07:21]OFD Sender: No OFD packet to send [14:07:26]OFD Sender: No OFD packet to send [14:07:31]OFD Sender: No OFD packet to send [14:07:36]OFD Sender: No OFD packet to send [14:07:41]OFD Sender: No OFD packet to send [14:07:46]OFD Sender: No OFD packet to send [14:07:51]OFD Sender: No OFD packet to send [14:07:56]OFD Sender: No OFD packet to send [14:08:01]OFD Sender: No OFD packet to send [14:08:06]OFD Sender: No OFD packet to send [14:08:11]OFD Sender: No OFD packet to send [14:08:16]OFD Sender: No OFD packet to send [14:08:21]OFD Sender: No OFD packet to send [14:08:26]OFD Sender: No OFD packet to send [14:08:31]OFD Sender: No OFD packet to send [14:08:36]OFD Sender: No OFD packet to send [14:08:41]OFD Sender: No OFD packet to send [14:08:46]OFD Sender: No OFD packet to send [14:08:51]OFD Sender: No OFD packet to send [14:08:56]OFD Sender: No OFD packet to send [14:09:01]OFD Sender: No OFD packet to send [14:09:06]OFD Sender: No OFD packet to send [14:09:11]OFD Sender: No OFD packet to send [14:09:16]OFD Sender: No OFD packet to send [14:09:21]OFD Sender: No OFD packet to send [14:09:26]OFD Sender: No OFD packet to send [14:09:31]OFD Sender: No OFD packet to send [14:09:36]OFD Sender: No OFD packet to send [14:09:41]OFD Sender: No OFD packet to send [14:09:46]OFD Sender: No OFD packet to send [14:09:51]OFD Sender: No OFD packet to send [14:09:56]OFD Sender: No OFD packet to send [14:10:01]OFD Sender: No OFD packet to send [14:10:06]OFD Sender: No OFD packet to send [14:10:11]OFD Sender: No OFD packet to send [14:10:16]OFD Sender: No OFD packet to send [14:10:21]OFD Sender: No OFD packet to send [14:10:26]OFD Sender: No OFD packet to send [14:10:31]OFD Sender: No OFD packet to send [14:10:36]OFD Sender: No OFD packet to send [14:10:41]OFD Sender: No OFD packet to send [14:10:46]OFD Sender: No OFD packet to send [14:10:51]OFD Sender: No OFD packet to send [14:10:56]OFD Sender: No OFD packet to send [14:11:01]OFD Sender: No OFD packet to send [14:11:06]OFD Sender: No OFD packet to send [14:11:11]OFD Sender: No OFD packet to send [14:11:16]OFD Sender: No OFD packet to send [14:11:21]OFD Sender: No OFD packet to send [14:11:26]OFD Sender: No OFD packet to send [14:11:31]OFD Sender: No OFD packet to send [14:11:36]OFD Sender: No OFD packet to send [14:11:41]OFD Sender: No OFD packet to send [14:11:46]OFD Sender: No OFD packet to send [14:11:51]OFD Sender: No OFD packet to send [14:11:56]OFD Sender: No OFD packet to send [14:12:01]OFD Sender: No OFD packet to send [14:12:06]OFD Sender: No OFD packet to send [14:12:11]OFD Sender: No OFD packet to send [14:12:16]OFD Sender: No OFD packet to send [14:12:21]OFD Sender: No OFD packet to send [14:12:26]OFD Sender: No OFD packet to send [14:12:31]OFD Sender: No OFD packet to send [14:12:36]OFD Sender: No OFD packet to send [14:12:42]OFD Sender: No OFD packet to send [14:12:47]OFD Sender: No OFD packet to send [14:12:52]OFD Sender: No OFD packet to send [14:12:57]OFD Sender: No OFD packet to send [14:13:02]OFD Sender: No OFD packet to send [14:13:07]OFD Sender: No OFD packet to send [14:13:12]OFD Sender: No OFD packet to send [14:13:17]OFD Sender: No OFD packet to send [14:13:22]OFD Sender: No OFD packet to send [14:13:27]OFD Sender: No OFD packet to send [14:13:32]OFD Sender: No OFD packet to send [14:13:37]OFD Sender: No OFD packet to send [14:13:42]OFD Sender: No OFD packet to send [14:13:47]OFD Sender: No OFD packet to send [14:13:52]OFD Sender: No OFD packet to send [14:13:57]OFD Sender: No OFD packet to send [14:14:02]OFD Sender: No OFD packet to send [14:14:07]OFD Sender: No OFD packet to send [14:14:12]OFD Sender: No OFD packet to send [14:14:17]OFD Sender: No OFD packet to send [14:14:22]OFD Sender: No OFD packet to send [14:14:27]OFD Sender: No OFD packet to send [14:14:32]OFD Sender: No OFD packet to send [14:14:37]OFD Sender: No OFD packet to send [14:14:42]OFD Sender: No OFD packet to send [14:14:47]OFD Sender: No OFD packet to send [14:14:52]OFD Sender: No OFD packet to send [14:14:57]OFD Sender: No OFD packet to send [14:15:02]OFD Sender: No OFD packet to send [14:15:07]OFD Sender: No OFD packet to send [14:15:12]OFD Sender: No OFD packet to send [14:15:12]int [14:15:12]Write to MH i2c: 01 00 00 1A 09 23 [14:15:12]*** FLAG_PRN_PAP1 set [14:15:12]Write i2c OK [14:15:12]MH_I2C_Read... [14:15:12]Read from MH i2c: 01 [14:15:12]MH_I2C_Read... [14:15:12]Read from MH i2c: 01 07 00 [14:15:12]MH_I2C_Read... [14:15:12]Read from MH i2c: 01 07 00 1A 09 00 01 00 00 00 FF 0F 39 [14:15:12]state=0 [14:15:12]No paper [14:15:12]int [14:15:12]Write to MH i2c: 01 00 00 1B 09 24 [14:15:12]*** FLAG_PRN_PAP2 set [14:15:12]Write i2c OK [14:15:12]MH_I2C_Read... [14:15:12]Read from MH i2c: 01 [14:15:12]MH_I2C_Read... [14:15:12]Read from MH i2c: 01 07 00 [14:15:12]MH_I2C_Read... [14:15:12]Read from MH i2c: 01 07 00 1B 09 00 03 00 00 00 FF 0F 3C [14:15:12]state=0 [14:15:12]No paper [14:15:12]Cover opened [14:15:13]int [14:15:13]Write to MH i2c: 01 00 00 1C 09 25 [14:15:13]*** FLAG_PRN_PAP2 reset [14:15:13]Write i2c OK [14:15:13]MH_I2C_Read... [14:15:13]Read from MH i2c: 01 [14:15:13]MH_I2C_Read... [14:15:13]Read from MH i2c: 01 07 00 [14:15:13]MH_I2C_Read... [14:15:13]Read from MH i2c: 01 07 00 1C 09 00 01 00 00 00 FF 0F 3B [14:15:13]state=3 [14:15:13]No paper [14:15:13]Cover closed [14:15:13]int [14:15:13]Write to MH i2c: 01 00 00 1D 09 26 [14:15:13]*** FLAG_PRN_PAP2 set [14:15:13]Write i2c OK [14:15:13]MH_I2C_Read... [14:15:13]Read from MH i2c: 01 [14:15:13]MH_I2C_Read... [14:15:13]Read from MH i2c: 01 07 00 [14:15:13]MH_I2C_Read... [14:15:13]Read from MH i2c: 01 07 00 1D 09 00 03 00 00 00 FF 0F 3E [14:15:13]state=0 [14:15:13]No paper [14:15:13]Cover opened [14:15:13]int [14:15:13]Write to MH i2c: 01 00 00 1E 09 27 [14:15:13]*** FLAG_PRN_PAP2 reset [14:15:13]Write i2c OK [14:15:13]MH_I2C_Read... [14:15:13]Read from MH i2c: 01 [14:15:13]MH_I2C_Read... [14:15:13]Read from MH i2c: 01 07 00 [14:15:13]MH_I2C_Read... [14:15:13]Read from MH i2c: 01 07 00 1E 09 00 01 00 00 00 FF 0F 3D [14:15:13]state=3 [14:15:13]No paper [14:15:13]Cover closed [14:15:14]int [14:15:14]Write to MH i2c: 01 00 00 1F 09 28 [14:15:14]*** FLAG_PRN_PAP2 set [14:15:14]Write i2c OK [14:15:14]MH_I2C_Read... [14:15:14]Read from MH i2c: 01 [14:15:14]MH_I2C_Read... [14:15:14]Read from MH i2c: 01 07 00 [14:15:14]MH_I2C_Read... [14:15:14]Read from MH i2c: 01 07 00 1F 09 00 03 00 00 00 FF 0F 40 [14:15:14]state=0 [14:15:14]No paper [14:15:14]Cover opened [14:15:17]OFD Sender: No OFD packet to send [14:15:19]Write to MH i2c: 01 00 00 20 09 29 [14:15:19]Write i2c OK [14:15:19]MH_I2C_Read... [14:15:19]Read from MH i2c: 01 [14:15:19]MH_I2C_Read... [14:15:19]Read from MH i2c: 01 07 00 [14:15:19]MH_I2C_Read... [14:15:19]Read from MH i2c: 01 07 00 20 09 00 03 00 00 00 FF 0F 41 [14:15:19]state=3 [14:15:19]No paper [14:15:19]Cover opened [14:15:22]OFD Sender: No OFD packet to send [14:15:24]Write to MH i2c: 01 00 00 21 09 2A [14:15:24]Write i2c OK [14:15:24]MH_I2C_Read... [14:15:24]Read from MH i2c: 01 [14:15:24]MH_I2C_Read... [14:15:24]Read from MH i2c: 01 07 00 [14:15:24]MH_I2C_Read... [14:15:24]Read from MH i2c: 01 07 00 21 09 00 03 00 00 00 FF 0F 42 [14:15:24]state=3 [14:15:24]No paper [14:15:24]Cover opened [14:15:27]OFD Sender: No OFD packet to send [14:15:29]Write to MH i2c: 01 00 00 22 09 2B [14:15:29]Write i2c OK [14:15:29]MH_I2C_Read... [14:15:29]Read from MH i2c: 01 [14:15:29]MH_I2C_Read... [14:15:29]Read from MH i2c: 01 07 00 [14:15:29]MH_I2C_Read... [14:15:29]Read from MH i2c: 01 07 00 22 09 00 03 00 00 00 FF 0F 43 [14:15:29]state=3 [14:15:29]No paper [14:15:29]Cover opened [14:15:32]OFD Sender: No OFD packet to send [14:15:34]Write to MH i2c: 01 00 00 23 09 2C [14:15:34]Write i2c OK [14:15:34]MH_I2C_Read... [14:15:34]Read from MH i2c: 01 [14:15:34]MH_I2C_Read... [14:15:34]Read from MH i2c: 01 07 00 [14:15:34]MH_I2C_Read... [14:15:34]Read from MH i2c: 01 07 00 23 09 00 03 00 00 00 FF 0F 44 [14:15:34]state=3 [14:15:34]No paper [14:15:34]Cover opened [14:15:35]int [14:15:35]Write to MH i2c: 01 00 00 24 09 2D [14:15:35]*** FLAG_PRN_PAP2 reset [14:15:35]Write i2c OK [14:15:35]MH_I2C_Read... [14:15:35]Read from MH i2c: 01 [14:15:35]MH_I2C_Read... [14:15:35]Read from MH i2c: 01 07 00 [14:15:35]MH_I2C_Read... [14:15:35]Read from MH i2c: 01 07 00 24 09 00 01 00 00 00 FF 0F 43 [14:15:35]state=3 [14:15:35]No paper [14:15:35]Cover closed [14:15:35]int [14:15:35]Write to MH i2c: 01 00 00 25 09 2E [14:15:35]*** FLAG_PRN_PAP1 reset [14:15:35]Write i2c OK [14:15:35]MH_I2C_Read... [14:15:35]Read from MH i2c: 01 [14:15:35]MH_I2C_Read... [14:15:35]Read from MH i2c: 01 07 00 [14:15:35]MH_I2C_Read... [14:15:35]Read from MH i2c: 01 07 00 25 09 00 00 00 00 00 FF 0F 43 [14:15:35]state=0 [14:15:36]int [14:15:36]Write to MH i2c: 01 00 00 26 09 2F [14:15:36]*** FLAG_PRN_KEY set [14:15:36]Write i2c OK [14:15:36]MH_I2C_Read... [14:15:36]Read from MH i2c: 01 [14:15:36]MH_I2C_Read... [14:15:36]Read from MH i2c: 01 07 00 [14:15:36]MH_I2C_Read... [14:15:36]Read from MH i2c: 01 07 00 26 09 00 08 00 00 00 FF 0F 4C [14:15:36]state=0 [14:15:36]Key pressed [14:15:36]Feed [14:15:36]Write to MH i2c: D8 00 00 27 09 07 [14:15:36]Write i2c OK [14:15:36]MH_I2C_Read... [14:15:36]Read from MH i2c: D8 [14:15:36]MH_I2C_Read... [14:15:36]Read from MH i2c: D8 01 00 [14:15:36]MH_I2C_Read... [14:15:36]Read from MH i2c: D8 01 00 27 09 00 08 [14:15:36]int [14:15:36]Write to MH i2c: 01 00 00 28 09 31 [14:15:36]Write i2c OK [14:15:36]MH_I2C_Read... [14:15:36]Read from MH i2c: 01 [14:15:36]MH_I2C_Read... [14:15:36]Read from MH i2c: 01 07 00 [14:15:36]MH_I2C_Read... [14:15:36]Read from MH i2c: 01 07 00 28 09 00 48 00 00 00 3C 00 BC [14:15:36]state=2 [14:15:36]Key pressed [14:15:37]int [14:15:37]Write to MH i2c: 01 00 00 29 09 32 [14:15:37]*** FLAG_PRN_KEY reset [14:15:37]Write i2c OK [14:15:37]MH_I2C_Read... [14:15:37]Read from MH i2c: 01 [14:15:37]MH_I2C_Read... [14:15:37]Read from MH i2c: 01 07 00 [14:15:37]MH_I2C_Read... [14:15:37]Read from MH i2c: 01 07 00 29 09 00 00 00 00 00 FF 0F 47 [14:15:37]state=2 [14:15:37]Stop feed [14:15:37]OFD Sender: No OFD packet to send [14:15:42]OFD Sender: No OFD packet to send [14:15:47]OFD Sender: No OFD packet to send [14:15:52]OFD Sender: No OFD packet to send [14:15:57]OFD Sender: No OFD packet to send [14:16:02]OFD Sender: No OFD packet to send [14:16:07]OFD Sender: No OFD packet to send [14:16:12]OFD Sender: No OFD packet to send [14:16:17]OFD Sender: No OFD packet to send [14:16:22]OFD Sender: No OFD packet to send [14:16:27]OFD Sender: No OFD packet to send [14:16:32]OFD Sender: No OFD packet to send [14:16:37]OFD Sender: No OFD packet to send [14:16:42]OFD Sender: No OFD packet to send [14:16:47]OFD Sender: No OFD packet to send [14:16:50]accept exits with 10 [14:16:50]New connection [14:16:50]New thread 3067297124 created [14:16:50]Thread 3067440484 joined [14:16:50]Waiting for new connection... [14:16:50] Sock 10.Parse request [14:16:50]Sock 10.Check first char [14:16:50]Sock 10.First char is OK [14:16:50]request: POST /json_proto HTTP/1.0 [14:16:50]Method: POST [14:16:50]URL: /json_proto [14:16:50]Method is POST - this is cgi request [14:16:50]url: /json_proto [14:16:50]query_string will be loaded in cgi processing [14:16:50]execute_cgi json_proto POST (null) [14:16:50]execute_cgi path=json_proto method=POST [14:16:50]POST find Content-Length [14:16:50]Host: 172.17.40.196:8080 [14:16:50]Content-Length: 622 [14:16:50]Content-Type: application/json [14:16:50] [14:16:50]POST finish read [14:16:50]Found Content-Length = 622 [14:16:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35012", "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" ] } } [14:16:50]execute_script... [14:16: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)35012", "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" ] } } [14:16:50]POST & json_proto [14:16:50]process_json_proto [14:16:50]json parsed OK: [14:16:50]protocol is kg_v1.0 [14:16:50]action value=close_receipt [14:16:50]process_action close_receipt [14:16:50]cmd_close_receipt [14:16:50]MH_GetDate [14:16:50]Write to MH i2c: F0 00 00 2A 09 22 [14:16:50]Write i2c OK [14:16:50]MH_I2C_Read... [14:16:50]Read from MH i2c: F0 [14:16:50]MH_I2C_Read... [14:16:50]Read from MH i2c: F0 09 00 [14:16:50]MH_I2C_Read... [14:16:50]Read from MH i2c: F0 09 00 2A 09 00 54 4B 1E 67 5B 68 A1 66 19 [14:16:50]GetLastDocTimeStamp 1730035759 [14:16:50]current date 1730038612 [14:16:50]FM_GetShiftState [14:16:50]SAM_PROTO_GetShiftState [14:16:50]wFMCommunicate request_size=4 [14:16:50]MH_SAM_APDU [14:16:50]CAPDU: 80 13 01 00 [14:16:50]Write to MH i2c: E2 08 00 2B 09 80 13 01 00 00 00 00 00 B1 [14:16:50]Write i2c OK [14:16:50]MH_I2C_Read... [14:16:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:16:50]Read from MH i2c: E2 [14:16:50]MH_I2C_Read... [14:16:50]Read from MH i2c: E2 0E 00 [14:16:50]MH_I2C_Read... [14:16:50]Read from MH i2c: E2 0E 00 2B 09 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 68 [14:16:50]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [14:16:50]wFMCommunicate OK [14:16:50]SAM_PROTO_GetShiftState done [14:16:50]FM_GetShiftState done [14:16:50]opened in 1729987492 [14:16:50]opened+sec_in_day 1730073892 [14:16:50]quantity*price = 14400 [14:16:50]sum+1 = 14401 [14:16:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 40 27.10.2024 14:16 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37714 ФПД: 16793736324627 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T141652&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37714&fm=16793736324627&tin=02508201610067®Number=0000000000091684&sum=14400 0 [14:16:51]StoreToDocumentArchive [14:16:51]shift 550 fd 37714 [14:16:51]save to /storage/0550/doc_00037714 [14:16:51]save last doc name /storage/0550/doc_00037714 to /storage/kkm_last_doc_name [14:16:51]save OK [14:16:51]Clear old archive folders... [14:16:51]ProcessDocumentItem done err = 0, tmpTLVsize=275 [14:16:51]tlvbuf is 00214510 [14:16:51]SAM_PROTO_ClearQueue [14:16:51]wFMCommunicate request_size=4 [14:16:51]MH_SAM_APDU [14:16:51]CAPDU: 80 09 00 00 [14:16:51]Write to MH i2c: E2 08 00 38 09 80 09 00 00 00 00 00 00 B3 [14:16:51]Write i2c OK [14:16:51]MH_I2C_Read... [14:16:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:16:51]Read from MH i2c: E2 [14:16:51]MH_I2C_Read... [14:16:51]Read from MH i2c: E2 03 00 [14:16:51]MH_I2C_Read... [14:16:51]Read from MH i2c: E2 03 00 38 09 00 90 00 B5 [14:16:51]RAPDU: 90 00 [14:16:51]wFMCommunicate OK [14:16:51]SAM_PROTO_ClearQueue done [14:16:51]KKMCreateOFDPacket [14:16:51]OFDProtocolAddRootSTLVToBuf [14:16:51]FM_MakeSignedData [14:16:51]FM_MakeSignedData [14:16:51]SAM_PROTO_SignData [14:16:51]wFMCommunicate request_size=4 [14:16:51]MH_SAM_APDU [14:16:51]CAPDU: 80 0D 01 02 [14:16:51]Write to MH i2c: E2 08 00 39 09 80 0D 01 02 00 00 00 00 BB [14:16:51]Write i2c OK [14:16:51]MH_I2C_Read... [14:16:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:16:51]Read from MH i2c: E2 [14:16:51]MH_I2C_Read... [14:16:51]Read from MH i2c: E2 03 00 [14:16:51]MH_I2C_Read... [14:16:51]Read from MH i2c: E2 03 00 39 09 00 90 00 B6 [14:16:51]RAPDU: 90 00 [14:16:51]wFMCommunicate OK [14:16:51]wFMCommunicate request_size=255 [14:16:51]MH_SAM_APDU [14:16:51]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 54 4B 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [14:16:51]Write to MH i2c: E2 02 01 3A 09 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 54 4B 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 37 [14:16:51]Write i2c OK [14:16:51]MH_I2C_Read... [14:16:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:16:51]Read from MH i2c: E2 [14:16:51]MH_I2C_Read... [14:16:51]Read from MH i2c: E2 03 00 [14:16:51]MH_I2C_Read... [14:16:51]Read from MH i2c: E2 03 00 3A 09 00 90 00 B7 [14:16:51]RAPDU: 90 00 [14:16:51]wFMCommunicate OK [14:16:51]wFMCommunicate request_size=34 [14:16:51]MH_SAM_APDU [14:16:51]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 52 93 00 00 35 04 06 00 0F 46 18 B0 26 13 [14:16:51]Write to MH i2c: E2 25 00 3B 09 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 52 93 00 00 35 04 06 00 0F 46 18 B0 26 13 00 00 B7 [14:16:51]Write i2c OK [14:16:51]MH_I2C_Read... [14:16:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:16:51]Read from MH i2c: E2 [14:16:51]MH_I2C_Read... [14:16:51]Read from MH i2c: E2 03 00 [14:16:51]MH_I2C_Read... [14:16:51]Read from MH i2c: E2 03 00 3B 09 00 90 00 B8 [14:16:51]RAPDU: 90 00 [14:16:51]wFMCommunicate OK [14:16:51]wFMCommunicate request_size=4 [14:16:51]MH_SAM_APDU [14:16:51]CAPDU: 80 0D 03 02 [14:16:51]Write to MH i2c: E2 08 00 3C 09 80 0D 03 02 00 00 00 00 C0 [14:16:51]Write i2c OK [14:16:51]MH_I2C_Read... [14:16:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:16:52]Read from MH i2c: E2 [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: E2 0B 00 [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: E2 0B 00 3C 09 00 83 F8 02 DA C9 BE A7 98 90 00 DE [14:16:52]RAPDU: 83 F8 02 DA C9 BE A7 98 90 00 [14:16:52]wFMCommunicate OK [14:16:52]SAM_PROTO_SignData done [14:16:52]FM_MakeSignedData done [14:16:52]CreateOFDProtocolMessage [14:16:52]wFMCommunicate request_size=4 [14:16:52]MH_SAM_APDU [14:16:52]CAPDU: 80 11 00 00 [14:16:52]Write to MH i2c: E2 08 00 3D 09 80 11 00 00 00 00 00 00 C0 [14:16:52]Write i2c OK [14:16:52]MH_I2C_Read... [14:16:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:16:52]Read from MH i2c: E2 [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: E2 17 00 [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: E2 17 00 3D 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 10 [14:16: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:16:52]wFMCommunicate OK [14:16:52]CreateOFDProtocolMessage done [14:16:52]OFDSenderStorePacket 37714 [14:16:52]StoreOFDPacket docnum=37714 [14:16: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 27 01 00 00 D0 E3 1F 01 2C 14 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 54 4B 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 52 93 00 00 35 04 06 00 0F 46 18 B0 26 13 83 F8 02 DA C9 BE A7 98 [14:16:52]CheckFolder [14:16:52]dirname=/storage/ofd_packets [14:16:52]CheckFolder done [14:16:52]ProducePacketName [14:16:52]name=ofd_packets/00037714 [14:16:52]NVStorageSaveData ofd_packets/00037714 [14:16:52]File name is /storage/ofd_packets/00037714 [14:16:52]Write 325 bytes [14:16:52]NVStorageSaveData done [14:16:52]OFDSenderStorePacket done [14:16:52]KKMCreateOFDPacket done [14:16:52]NVStorageSaveData kkm_last_timestamp [14:16:52]File name is /storage/kkm_last_timestamp [14:16:52]Write 4 bytes [14:16:52]NVStorageSaveData done [14:16:52]ExternCall_PrintAddStr [14:16:52]wPrintStart [14:16:52]Write to MH i2c: 01 00 00 3E 09 47 [14:16:52]Write i2c OK [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: 01 [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: 01 07 00 [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: 01 07 00 3E 09 00 00 00 00 00 FF 0F 5C [14:16:52]RasterBufferAndPrint [14:16:52]line Счет N : (3)35012 [14:16:52]line ИНН: 02508201610067 [14:16:52]line Контрольно-Кассовый Чек [14:16:52]line ПРОДАЖА [14:16:52]line Товар: 48743587 [14:16:52]line Сигареты Winston XStyle Silver [14:16:52]line 1.000 * 144.00 [14:16:52]line = 144.00 [14:16:52]line НДС 12% НСП 1% [14:16:52]line > о реализуемом товаре [14:16:52]line ИТОГО: 144.00 [14:16:52]line НСП 1% : 1.27 [14:16:52]line НДС 12% : 15.29 [14:16:52]line Наличными: 144.00 [14:16:52]line Безнал.: 0.00 [14:16:52]line Место: АЗС № 126 "Партнер Нефть" [14:16:52]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [14:16:52]line СНО: Общий режим [14:16:52]line Чек 40 27.10.2024 14:16 [14:16:52]line Смена: 550 ФФД: 1.0 [14:16:52]line ЗНМ: 0300000092 [14:16:52]line РНМ: 0000000000091684 [14:16:52]line Версия ККМ: 001 [14:16:52]line ФМ: 0000000000871841 [14:16:52]line ФД: 37714 [14:16:52]line ФПД: 16793736324627 [14:16:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T141652&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37714&fm=16793736324627&tin=02508201610067®Number=0000000000091684&sum=14400 [14:16:52]OFD Sender: Processing packet 37714 [packets to send 42, broken 41] [14:16:52]ProducePacketName [14:16:52]name=ofd_packets/00037714 [14:16:52]OFD Sender: To server: pG, [14:16:52]CommunicateWithHost lk.salyk.kg:30040 [14:16:52]ConnectInit lk.salyk.kg [14:16:52]line 0 [14:16:52]written 0, free lines is 4095 [14:16:52]Connected sock=9 [14:16: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 27 01 00 00 D0 E3 1F 01 2C 14 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 54 4B 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 52 93 00 00 35 04 06 00 0F 46 18 B0 26 13 83 F8 02 DA C9 BE A7 98 [14:16:52]Write to MH i2c: 01 00 00 67 09 70 [14:16:52]Write i2c OK [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: 01 [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: 01 07 00 [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: 01 07 00 67 09 00 00 00 00 00 C3 0C 46 [14:16:52]RasterBufferAndPrint [14:16:52]line [14:16:52]line [14:16:52]line [14:16:52]line [14:16:52]line [14:16:52]written 0, free lines is 3273 [14:16:52]MH_Cut [14:16:52]Write to MH i2c: D1 01 00 6E 09 01 49 [14:16:52]Write i2c OK [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: D1 [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: D1 01 00 [14:16:52]MH_I2C_Read... [14:16:52]Read from MH i2c: D1 01 00 6E 09 00 48 [14:16:52]Write to MH i2c: 01 00 00 6F 09 78 [14:16:52]Write i2c OK [14:16:52]MH_I2C_Read... [14:16: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 DA 02 47 00 B2 3E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 52 93 00 00 F4 03 04 00 4C F6 1D 67 B6 04 01 00 00 86 14 9E DA C4 69 A9 35 [14:16:52]CommunicateWithHost err = 0 [14:16:52]CheckOFDResponse [14:16:52]1017 (14) - 77093643461234 [14:16:52]1041 (16) - 0000000000871841 [14:16:52]1040 (4) - 37714 [14:16:52]1012 (4) - 27.10.2024 08:14 [14:16:52]1206 (1) - 0 [14:16:52]OFD Sender: Remove packet 37714 [14:16:52]ProducePacketName [14:16:52]name=ofd_packets/00037714 [14:16:52]NVStorageDeleteData [14:16:53]OFD Sender: No OFD packet to send [14:16:53]*** Cut start [14:16:53]*** Partial cut [14:16:53]*** CUTSNS_PIN = 1 [14:16:53]*** CUTSNS_PIN = 0 [14:16:53]*** Brake cut motor [14:16:54]Read from MH i2c: 01 [14:16:54]MH_I2C_Read... [14:16:54]*** Stop cut motor [14:16:54]*** Cut end [14:16:54]Read from MH i2c: 01 07 00 [14:16:54]MH_I2C_Read... [14:16:54]Read from MH i2c: 01 07 00 6F 09 00 00 00 00 00 FF 0F 8D [14:16:54]process_action close_receipt done [14:16:54]requested_data is exist [14:16:54]produce_requested_data [14:16:54]requested_item fm.sn is exist - process it [14:16:54]wFMCommunicate request_size=4 [14:16:54]MH_SAM_APDU [14:16:54]CAPDU: 80 11 00 00 [14:16:54]Write to MH i2c: E2 08 00 70 09 80 11 00 00 00 00 00 00 F3 [14:16:54]Write i2c OK [14:16:54]MH_I2C_Read... [14:16:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:16:54]Read from MH i2c: E2 [14:16:54]MH_I2C_Read... [14:16:54]Read from MH i2c: E2 17 00 [14:16:54]MH_I2C_Read... [14:16:54]Read from MH i2c: E2 17 00 70 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 43 [14:16:54]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:54]wFMCommunicate OK [14:16:54]requested_item fd.num is exist - process it [14:16:54]SAM_PROTO_GetFieldsCounters [14:16:54]wFMCommunicate request_size=4 [14:16:54]MH_SAM_APDU [14:16:54]CAPDU: 80 13 00 00 [14:16:54]Write to MH i2c: E2 08 00 71 09 80 13 00 00 00 00 00 00 F6 [14:16:54]Write i2c OK [14:16:54]MH_I2C_Read... [14:16:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:16:54]Read from MH i2c: E2 [14:16:54]MH_I2C_Read... [14:16:54]Read from MH i2c: E2 62 00 [14:16:54]MH_I2C_Read... [14:16:54]Read from MH i2c: E2 62 00 71 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 52 93 00 00 0E 04 04 00 26 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 9C [14:16: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 52 93 00 00 0E 04 04 00 26 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:54]wFMCommunicate OK [14:16:54]SAM_PROTO_GetFieldsCounters done [14:16:54]requested_item shift.num is exist - process it [14:16:54]requested_item shift.opened is exist - process it [14:16:54]req_shift_opened [14:16:54]FM_GetShiftState [14:16:54]SAM_PROTO_GetShiftState [14:16:54]wFMCommunicate request_size=4 [14:16:54]MH_SAM_APDU [14:16:54]CAPDU: 80 13 01 00 [14:16:54]Write to MH i2c: E2 08 00 72 09 80 13 01 00 00 00 00 00 F8 [14:16:54]Write i2c OK [14:16:54]MH_I2C_Read... [14:16:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:16:54]Read from MH i2c: E2 [14:16:54]MH_I2C_Read... [14:16:54]Read from MH i2c: E2 0E 00 [14:16:54]MH_I2C_Read... [14:16:54]Read from MH i2c: E2 0E 00 72 09 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 AF [14:16:54]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [14:16:54]wFMCommunicate OK [14:16:54]SAM_PROTO_GetShiftState done [14:16:54]FM_GetShiftState done [14:16:54]req_shift_opened done [14:16:54]requested_item shift.open_date is exist - process it [14:16:54]req_shift_open_date [14:16:54]req_shift_open_date done [14:16:54]produce_requested_data done [14:16:54]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37714,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [14:16:54]process_action_free close_receipt [14:16:54]json_value_free [14:16:54]json_value_free done [14:16:54]process_json_proto returns [14:16:54]Send response to host [14:16:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37714,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [14:16:54]free response buf [14:16:54]execute_script done [14:16:54]execute_script returns [14:16:54]free content buf [14:16:54]Sock 10.Close socket [14:16:54]Sock 10.Thread stoped [14:16:58]OFD Sender: No OFD packet to send [14:17:03]OFD Sender: No OFD packet to send [14:17:08]OFD Sender: No OFD packet to send [14:17:13]OFD Sender: No OFD packet to send [14:17:18]OFD Sender: No OFD packet to send [14:17:23]OFD Sender: No OFD packet to send [14:17:28]OFD Sender: No OFD packet to send [14:17:33]OFD Sender: No OFD packet to send [14:17:38]OFD Sender: No OFD packet to send [14:17:43]OFD Sender: No OFD packet to send [14:17:48]OFD Sender: No OFD packet to send [14:17:53]OFD Sender: No OFD packet to send [14:17:58]OFD Sender: No OFD packet to send [14:18:03]OFD Sender: No OFD packet to send [14:18:08]OFD Sender: No OFD packet to send [14:18:13]OFD Sender: No OFD packet to send [14:18:18]OFD Sender: No OFD packet to send [14:18:23]OFD Sender: No OFD packet to send [14:18:28]OFD Sender: No OFD packet to send [14:18:33]OFD Sender: No OFD packet to send [14:18:38]OFD Sender: No OFD packet to send [14:18:43]OFD Sender: No OFD packet to send [14:18:48]OFD Sender: No OFD packet to send [14:18:53]OFD Sender: No OFD packet to send [14:18:58]OFD Sender: No OFD packet to send [14:19:03]OFD Sender: No OFD packet to send [14:19:08]OFD Sender: No OFD packet to send [14:19:13]OFD Sender: No OFD packet to send [14:19:18]OFD Sender: No OFD packet to send [14:19:23]OFD Sender: No OFD packet to send [14:19:28]OFD Sender: No OFD packet to send [14:19:33]OFD Sender: No OFD packet to send [14:19:38]OFD Sender: No OFD packet to send [14:19:43]OFD Sender: No OFD packet to send [14:19:48]OFD Sender: No OFD packet to send [14:19:53]OFD Sender: No OFD packet to send [14:19:58]OFD Sender: No OFD packet to send [14:20:03]OFD Sender: No OFD packet to send [14:20:08]OFD Sender: No OFD packet to send [14:20:13]OFD Sender: No OFD packet to send [14:20:18]OFD Sender: No OFD packet to send [14:20:23]OFD Sender: No OFD packet to send [14:20:28]OFD Sender: No OFD packet to send [14:20:33]OFD Sender: No OFD packet to send [14:20:38]OFD Sender: No OFD packet to send [14:20:43]OFD Sender: No OFD packet to send [14:20:48]OFD Sender: No OFD packet to send [14:20:53]OFD Sender: No OFD packet to send [14:20:58]OFD Sender: No OFD packet to send [14:21:03]OFD Sender: No OFD packet to send [14:21:08]OFD Sender: No OFD packet to send [14:21:13]OFD Sender: No OFD packet to send [14:21:18]OFD Sender: No OFD packet to send [14:21:23]OFD Sender: No OFD packet to send [14:21:28]OFD Sender: No OFD packet to send [14:21:33]OFD Sender: No OFD packet to send [14:21:38]OFD Sender: No OFD packet to send [14:21:43]OFD Sender: No OFD packet to send [14:21:48]OFD Sender: No OFD packet to send [14:21:53]OFD Sender: No OFD packet to send [14:21:58]OFD Sender: No OFD packet to send [14:22:03]OFD Sender: No OFD packet to send [14:22:08]OFD Sender: No OFD packet to send [14:22:13]OFD Sender: No OFD packet to send [14:22:18]OFD Sender: No OFD packet to send [14:22:23]OFD Sender: No OFD packet to send [14:22:28]OFD Sender: No OFD packet to send [14:22:33]OFD Sender: No OFD packet to send [14:22:38]OFD Sender: No OFD packet to send [14:22:43]OFD Sender: No OFD packet to send [14:22:48]OFD Sender: No OFD packet to send [14:22:53]OFD Sender: No OFD packet to send [14:22:58]OFD Sender: No OFD packet to send [14:23:03]OFD Sender: No OFD packet to send [14:23:08]OFD Sender: No OFD packet to send [14:23:13]OFD Sender: No OFD packet to send [14:23:18]OFD Sender: No OFD packet to send [14:23:23]OFD Sender: No OFD packet to send [14:23:28]OFD Sender: No OFD packet to send [14:23:33]OFD Sender: No OFD packet to send [14:23:38]OFD Sender: No OFD packet to send [14:23:43]OFD Sender: No OFD packet to send [14:23:48]OFD Sender: No OFD packet to send [14:23:53]OFD Sender: No OFD packet to send [14:23:58]OFD Sender: No OFD packet to send [14:24:03]OFD Sender: No OFD packet to send [14:24:08]OFD Sender: No OFD packet to send [14:24:13]OFD Sender: No OFD packet to send [14:24:18]OFD Sender: No OFD packet to send [14:24:23]OFD Sender: No OFD packet to send [14:24:28]OFD Sender: No OFD packet to send [14:24:33]OFD Sender: No OFD packet to send [14:24:38]OFD Sender: No OFD packet to send [14:24:43]OFD Sender: No OFD packet to send [14:24:48]OFD Sender: No OFD packet to send [14:24:53]OFD Sender: No OFD packet to send [14:24:58]OFD Sender: No OFD packet to send [14:25:03]OFD Sender: No OFD packet to send [14:25:08]OFD Sender: No OFD packet to send [14:25:13]OFD Sender: No OFD packet to send [14:25:18]OFD Sender: No OFD packet to send [14:25:23]OFD Sender: No OFD packet to send [14:25:28]OFD Sender: No OFD packet to send [14:25:33]OFD Sender: No OFD packet to send [14:25:38]accept exits with 7 [14:25:38]New connection [14:25:38]New thread 3067440484 created [14:25:38]Thread 3067297124 joined [14:25:38]Waiting for new connection... [14:25:38] Sock 7.Parse request [14:25:38]Sock 7.Check first char [14:25:38]Sock 7.First char is OK [14:25:38]request: POST /json_proto HTTP/1.0 [14:25:38]Method: POST [14:25:38]URL: /json_proto [14:25:38]Method is POST - this is cgi request [14:25:38]url: /json_proto [14:25:38]query_string will be loaded in cgi processing [14:25:38]execute_cgi json_proto POST (null) [14:25:38]execute_cgi path=json_proto method=POST [14:25:38]POST find Content-Length [14:25:38]Host: 172.17.40.196:8080 [14:25:38]Content-Length: 675 [14:25:38]Content-Type: application/json [14:25:38] [14:25:38]POST finish read [14:25:38]Found Content-Length = 675 [14:25:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35013", "tax_sys" : 0, "items" : [ { "code": "4870209744595", "name": "\u0421\u0443\u0445\u0430\u0440\u0438\u043A\u0438 \u0424\u043B\u0438\u043D\u0442 \u041A\u0440\u0430\u0431 100 \u0433\u0440", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:25:38]execute_script... [14:25:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35013", "tax_sys" : 0, "items" : [ { "code": "4870209744595", "name": "\u0421\u0443\u0445\u0430\u0440\u0438\u043A\u0438 \u0424\u043B\u0438\u043D\u0442 \u041A\u0440\u0430\u0431 100 \u0433\u0440", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:25:38]POST & json_proto [14:25:38]process_json_proto [14:25:38]json parsed OK: [14:25:38]protocol is kg_v1.0 [14:25:38]action value=close_receipt [14:25:38]process_action close_receipt [14:25:38]cmd_close_receipt [14:25:38]MH_GetDate [14:25:38]Write to MH i2c: F0 00 00 73 09 6B [14:25:38]Write i2c OK [14:25:38]MH_I2C_Read... [14:25:38]Read from MH i2c: F0 [14:25:38]MH_I2C_Read... [14:25:38]Read from MH i2c: F0 09 00 [14:25:38]MH_I2C_Read... [14:25:38]Read from MH i2c: F0 09 00 73 09 00 64 4D 1E 67 5B 68 A1 66 74 [14:25:38]GetLastDocTimeStamp 1730038612 [14:25:38]current date 1730039140 [14:25:38]FM_GetShiftState [14:25:38]SAM_PROTO_GetShiftState [14:25:38]wFMCommunicate request_size=4 [14:25:38]MH_SAM_APDU [14:25:38]CAPDU: 80 13 01 00 [14:25:38]Write to MH i2c: E2 08 00 74 09 80 13 01 00 00 00 00 00 FA [14:25:38]Write i2c OK [14:25:38]MH_I2C_Read... [14:25:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:25:38]Read from MH i2c: E2 [14:25:38]MH_I2C_Read... [14:25:38]Read from MH i2c: E2 0E 00 [14:25:38]MH_I2C_Read... [14:25:38]Read from MH i2c: E2 0E 00 74 09 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 B1 [14:25:38]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [14:25:38]wFMCommunicate OK [14:25:38]SAM_PROTO_GetShiftState done [14:25:38]FM_GetShiftState done [14:25:38]opened in 1729987492 [14:25:38]opened+sec_in_day 1730073892 [14:25:38]quantity*price = 6000 [14:25:38]sum+1 = 6001 [14:25:38]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 41 27.10.2024 14:25 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37715 ФПД: 56728408587678 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T142540&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37715&fm=56728408587678&tin=02508201610067®Number=0000000000091684&sum=6000 0 [14:25:39]StoreToDocumentArchive [14:25:39]shift 550 fd 37715 [14:25:39]save to /storage/0550/doc_00037715 [14:25:39]save last doc name /storage/0550/doc_00037715 to /storage/kkm_last_doc_name [14:25:39]save OK [14:25:39]Clear old archive folders... [14:25:39]ProcessDocumentItem done err = 0, tmpTLVsize=287 [14:25:39]tlvbuf is 0020CE70 [14:25:39]SAM_PROTO_ClearQueue [14:25:39]wFMCommunicate request_size=4 [14:25:39]MH_SAM_APDU [14:25:39]CAPDU: 80 09 00 00 [14:25:39]Write to MH i2c: E2 08 00 81 09 80 09 00 00 00 00 00 00 FC [14:25:39]Write i2c OK [14:25:39]MH_I2C_Read... [14:25:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:25:39]Read from MH i2c: E2 [14:25:39]MH_I2C_Read... [14:25:39]Read from MH i2c: E2 03 00 [14:25:39]MH_I2C_Read... [14:25:39]Read from MH i2c: E2 03 00 81 09 00 90 00 FE [14:25:39]RAPDU: 90 00 [14:25:39]wFMCommunicate OK [14:25:39]SAM_PROTO_ClearQueue done [14:25:39]KKMCreateOFDPacket [14:25:39]OFDProtocolAddRootSTLVToBuf [14:25:39]FM_MakeSignedData [14:25:39]FM_MakeSignedData [14:25:39]SAM_PROTO_SignData [14:25:39]wFMCommunicate request_size=4 [14:25:39]MH_SAM_APDU [14:25:39]CAPDU: 80 0D 01 02 [14:25:39]Write to MH i2c: E2 08 00 82 09 80 0D 01 02 00 00 00 00 04 [14:25:39]Write i2c OK [14:25:39]MH_I2C_Read... [14:25:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:25:39]Read from MH i2c: E2 [14:25:39]MH_I2C_Read... [14:25:39]Read from MH i2c: E2 03 00 [14:25:39]MH_I2C_Read... [14:25:39]Read from MH i2c: E2 03 00 82 09 00 90 00 FF [14:25:39]RAPDU: 90 00 [14:25:39]wFMCommunicate OK [14:25:39]wFMCommunicate request_size=255 [14:25:39]MH_SAM_APDU [14:25:39]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 39 35 06 04 2D 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 9A D1 80 D0 B0 D0 B1 20 31 30 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 64 4D 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 [14:25:39]Write to MH i2c: E2 02 01 83 09 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 39 35 06 04 2D 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 9A D1 80 D0 B0 D0 B1 20 31 30 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 64 4D 1E 67 0E 04 04 00 26 02 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 52 [14:25:39]Write i2c OK [14:25:39]MH_I2C_Read... [14:25:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:25:39]Read from MH i2c: E2 [14:25:39]MH_I2C_Read... [14:25:39]Read from MH i2c: E2 03 00 [14:25:39]MH_I2C_Read... [14:25:39]Read from MH i2c: E2 03 00 83 09 00 90 00 00 [14:25:39]RAPDU: 90 00 [14:25:39]wFMCommunicate OK [14:25:39]wFMCommunicate request_size=46 [14:25:39]MH_SAM_APDU [14:25:39]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 53 93 00 00 35 04 06 00 33 98 1C A4 7D 9E [14:25:39]Write to MH i2c: E2 31 00 84 09 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 53 93 00 00 35 04 06 00 33 98 1C A4 7D 9E 00 00 20 [14:25:39]Write i2c OK [14:25:39]MH_I2C_Read... [14:25:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:25:39]Read from MH i2c: E2 [14:25:39]MH_I2C_Read... [14:25:39]Read from MH i2c: E2 03 00 [14:25:39]MH_I2C_Read... [14:25:39]Read from MH i2c: E2 03 00 84 09 00 90 00 01 [14:25:39]RAPDU: 90 00 [14:25:39]wFMCommunicate OK [14:25:39]wFMCommunicate request_size=4 [14:25:39]MH_SAM_APDU [14:25:39]CAPDU: 80 0D 03 02 [14:25:39]Write to MH i2c: E2 08 00 85 09 80 0D 03 02 00 00 00 00 09 [14:25:39]Write i2c OK [14:25:39]MH_I2C_Read... [14:25:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:25:39]Read from MH i2c: E2 [14:25:39]MH_I2C_Read... [14:25:39]Read from MH i2c: E2 0B 00 [14:25:39]MH_I2C_Read... [14:25:39]Read from MH i2c: E2 0B 00 85 09 00 12 CD 97 71 CF 22 1A B2 90 00 AE [14:25:39]RAPDU: 12 CD 97 71 CF 22 1A B2 90 00 [14:25:39]wFMCommunicate OK [14:25:39]SAM_PROTO_SignData done [14:25:39]FM_MakeSignedData done [14:25:39]CreateOFDProtocolMessage [14:25:39]wFMCommunicate request_size=4 [14:25:39]MH_SAM_APDU [14:25:39]CAPDU: 80 11 00 00 [14:25:39]Write to MH i2c: E2 08 00 86 09 80 11 00 00 00 00 00 00 09 [14:25:39]Write i2c OK [14:25:39]MH_I2C_Read... [14:25:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:25:40]Read from MH i2c: E2 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: E2 17 00 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: E2 17 00 86 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 59 [14:25:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [14:25:40]wFMCommunicate OK [14:25:40]CreateOFDProtocolMessage done [14:25:40]OFDSenderStorePacket 37715 [14:25:40]StoreOFDPacket docnum=37715 [14:25:40]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 8A 07 2B 01 43 38 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 39 35 06 04 2D 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 9A D1 80 D0 B0 D0 B1 20 31 30 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 64 4D 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 53 93 00 00 35 04 06 00 33 98 1C A4 7D 9E 12 CD 97 71 CF 22 1A B2 [14:25:40]CheckFolder [14:25:40]dirname=/storage/ofd_packets [14:25:40]CheckFolder done [14:25:40]ProducePacketName [14:25:40]name=ofd_packets/00037715 [14:25:40]NVStorageSaveData ofd_packets/00037715 [14:25:40]File name is /storage/ofd_packets/00037715 [14:25:40]Write 337 bytes [14:25:40]NVStorageSaveData done [14:25:40]OFDSenderStorePacket done [14:25:40]KKMCreateOFDPacket done [14:25:40]NVStorageSaveData kkm_last_timestamp [14:25:40]File name is /storage/kkm_last_timestamp [14:25:40]Write 4 bytes [14:25:40]NVStorageSaveData done [14:25:40]ExternCall_PrintAddStr [14:25:40]wPrintStart [14:25:40]Write to MH i2c: 01 00 00 87 09 90 [14:25:40]Write i2c OK [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: 01 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: 01 07 00 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: 01 07 00 87 09 00 00 00 00 00 FF 0F A5 [14:25:40]RasterBufferAndPrint [14:25:40]line Счет N : (3)35013 [14:25:40]line ИНН: 02508201610067 [14:25:40]line Контрольно-Кассовый Чек [14:25:40]line ПРОДАЖА [14:25:40]line Товар: 4870209744595 [14:25:40]line Сухарики Флинт Краб 100 гр [14:25:40]line 1.000 * 60.00 [14:25:40]line = 60.00 [14:25:40]line НДС 12% НСП 1% [14:25:40]line > о реализуемом товаре [14:25:40]line ИТОГО: 60.00 [14:25:40]line НСП 1% : 0.53 [14:25:40]line НДС 12% : 6.37 [14:25:40]line Наличными: 60.00 [14:25:40]line Безнал.: 0.00 [14:25:40]line Место: АЗС № 126 "Партнер Нефть" [14:25:40]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [14:25:40]line СНО: Общий режим [14:25:40]line Чек 41 27.10.2024 14:25 [14:25:40]line Смена: 550 ФФД: 1.0 [14:25:40]line ЗНМ: 0300000092 [14:25:40]line РНМ: 0000000000091684 [14:25:40]line Версия ККМ: 001 [14:25:40]line ФМ: 0000000000871841 [14:25:40]line ФД: 37715 [14:25:40]line ФПД: 56728408587678 [14:25:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T142540&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37715&fm=56728408587678&tin=02508201610067®Number=0000000000091684&sum=6000 [14:25:40]line 0 [14:25:40]OFD Sender: Processing packet 37715 [packets to send 42, broken 41] [14:25:40]ProducePacketName [14:25:40]name=ofd_packets/00037715 [14:25:40]OFD Sender: To server: pG, [14:25:40]CommunicateWithHost lk.salyk.kg:30040 [14:25:40]ConnectInit lk.salyk.kg [14:25:40]written 0, free lines is 4095 [14:25:40]Connected sock=10 [14:25:40]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 8A 07 2B 01 43 38 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 37 30 32 30 39 37 34 34 35 39 35 06 04 2D 00 D0 A1 D1 83 D1 85 D0 B0 D1 80 D0 B8 D0 BA D0 B8 20 D0 A4 D0 BB D0 B8 D0 BD D1 82 20 D0 9A D1 80 D0 B0 D0 B1 20 31 30 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 64 4D 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 53 93 00 00 35 04 06 00 33 98 1C A4 7D 9E 12 CD 97 71 CF 22 1A B2 [14:25:40]Write to MH i2c: 01 00 00 AF 09 B8 [14:25:40]Write i2c OK [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: 01 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: 01 07 00 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: 01 07 00 AF 09 00 00 00 00 00 DB 0C A6 [14:25:40]RasterBufferAndPrint [14:25:40]line [14:25:40]line [14:25:40]line [14:25:40]line [14:25:40]line [14:25:40]written 0, free lines is 3297 [14:25:40]MH_Cut [14:25:40]Write to MH i2c: D1 01 00 B6 09 01 91 [14:25:40]Write i2c OK [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: D1 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: D1 01 00 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: D1 01 00 B6 09 00 90 [14:25:40]Write to MH i2c: 01 00 00 B7 09 C0 [14:25:40]Write i2c OK [14:25:40]MH_I2C_Read... [14:25: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 B4 95 47 00 A0 22 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 53 93 00 00 F4 03 04 00 5C F8 1D 67 B6 04 01 00 00 B3 68 D2 96 1C 05 19 77 [14:25:40]CommunicateWithHost err = 0 [14:25:40]CheckOFDResponse [14:25:40]1017 (14) - 77093643461234 [14:25:40]1041 (16) - 0000000000871841 [14:25:40]1040 (4) - 37715 [14:25:40]1012 (4) - 27.10.2024 08:22 [14:25:40]1206 (1) - 0 [14:25:40]OFD Sender: Remove packet 37715 [14:25:40]ProducePacketName [14:25:40]name=ofd_packets/00037715 [14:25:40]NVStorageDeleteData [14:25:41]OFD Sender: No OFD packet to send [14:25:41]*** Cut start [14:25:41]*** Partial cut [14:25:41]*** CUTSNS_PIN = 1 [14:25:41]*** CUTSNS_PIN = 0 [14:25:41]*** Brake cut motor [14:25:42]Read from MH i2c: 01 [14:25:42]MH_I2C_Read... [14:25:42]*** Stop cut motor [14:25:42]*** Cut end [14:25:42]Read from MH i2c: 01 07 00 [14:25:42]MH_I2C_Read... [14:25:42]Read from MH i2c: 01 07 00 B7 09 00 00 00 00 00 FF 0F D5 [14:25:42]process_action close_receipt done [14:25:42]requested_data is exist [14:25:42]produce_requested_data [14:25:42]requested_item fm.sn is exist - process it [14:25:42]wFMCommunicate request_size=4 [14:25:42]MH_SAM_APDU [14:25:42]CAPDU: 80 11 00 00 [14:25:42]Write to MH i2c: E2 08 00 B8 09 80 11 00 00 00 00 00 00 3B [14:25:42]Write i2c OK [14:25:42]MH_I2C_Read... [14:25:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:25:42]Read from MH i2c: E2 [14:25:42]MH_I2C_Read... [14:25:42]Read from MH i2c: E2 17 00 [14:25:42]MH_I2C_Read... [14:25:42]Read from MH i2c: E2 17 00 B8 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 8B [14:25:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [14:25:42]wFMCommunicate OK [14:25:42]requested_item fd.num is exist - process it [14:25:42]SAM_PROTO_GetFieldsCounters [14:25:42]wFMCommunicate request_size=4 [14:25:42]MH_SAM_APDU [14:25:42]CAPDU: 80 13 00 00 [14:25:42]Write to MH i2c: E2 08 00 B9 09 80 13 00 00 00 00 00 00 3E [14:25:42]Write i2c OK [14:25:42]MH_I2C_Read... [14:25:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:25:42]Read from MH i2c: E2 [14:25:42]MH_I2C_Read... [14:25:42]Read from MH i2c: E2 62 00 [14:25:42]MH_I2C_Read... [14:25:42]Read from MH i2c: E2 62 00 B9 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 53 93 00 00 0E 04 04 00 26 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 E8 [14:25:42]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 53 93 00 00 0E 04 04 00 26 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:25:42]wFMCommunicate OK [14:25:42]SAM_PROTO_GetFieldsCounters done [14:25:42]requested_item shift.num is exist - process it [14:25:42]requested_item shift.opened is exist - process it [14:25:42]req_shift_opened [14:25:42]FM_GetShiftState [14:25:42]SAM_PROTO_GetShiftState [14:25:42]wFMCommunicate request_size=4 [14:25:42]MH_SAM_APDU [14:25:42]CAPDU: 80 13 01 00 [14:25:42]Write to MH i2c: E2 08 00 BA 09 80 13 01 00 00 00 00 00 40 [14:25:42]Write i2c OK [14:25:42]MH_I2C_Read... [14:25:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:25:42]Read from MH i2c: E2 [14:25:42]MH_I2C_Read... [14:25:42]Read from MH i2c: E2 0E 00 [14:25:42]MH_I2C_Read... [14:25:42]Read from MH i2c: E2 0E 00 BA 09 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 F7 [14:25:42]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [14:25:42]wFMCommunicate OK [14:25:42]SAM_PROTO_GetShiftState done [14:25:42]FM_GetShiftState done [14:25:42]req_shift_opened done [14:25:42]requested_item shift.open_date is exist - process it [14:25:42]req_shift_open_date [14:25:42]req_shift_open_date done [14:25:42]produce_requested_data done [14:25:42]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37715,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [14:25:42]process_action_free close_receipt [14:25:42]json_value_free [14:25:42]json_value_free done [14:25:42]process_json_proto returns [14:25:42]Send response to host [14:25:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37715,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [14:25:42]free response buf [14:25:42]execute_script done [14:25:42]execute_script returns [14:25:42]free content buf [14:25:42]Sock 7.Close socket [14:25:42]Sock 7.Thread stoped [14:25:46]OFD Sender: No OFD packet to send [14:25:51]OFD Sender: No OFD packet to send [14:25:56]OFD Sender: No OFD packet to send [14:26:01]OFD Sender: No OFD packet to send [14:26:06]OFD Sender: No OFD packet to send [14:26:11]OFD Sender: No OFD packet to send [14:26:16]OFD Sender: No OFD packet to send [14:26:21]OFD Sender: No OFD packet to send [14:26:26]OFD Sender: No OFD packet to send [14:26:31]OFD Sender: No OFD packet to send [14:26:36]OFD Sender: No OFD packet to send [14:26:41]OFD Sender: No OFD packet to send [14:26:46]OFD Sender: No OFD packet to send [14:26:51]OFD Sender: No OFD packet to send [14:26:56]OFD Sender: No OFD packet to send [14:27:01]OFD Sender: No OFD packet to send [14:27:06]OFD Sender: No OFD packet to send [14:27:11]OFD Sender: No OFD packet to send [14:27:16]OFD Sender: No OFD packet to send [14:27:21]OFD Sender: No OFD packet to send [14:27:26]OFD Sender: No OFD packet to send [14:27:31]OFD Sender: No OFD packet to send [14:27:36]OFD Sender: No OFD packet to send [14:27:41]OFD Sender: No OFD packet to send [14:27:46]OFD Sender: No OFD packet to send [14:27:51]OFD Sender: No OFD packet to send [14:27:56]OFD Sender: No OFD packet to send [14:28:01]OFD Sender: No OFD packet to send [14:28:06]OFD Sender: No OFD packet to send [14:28:11]OFD Sender: No OFD packet to send [14:28:16]OFD Sender: No OFD packet to send [14:28:21]OFD Sender: No OFD packet to send [14:28:26]OFD Sender: No OFD packet to send [14:28:31]OFD Sender: No OFD packet to send [14:28:36]OFD Sender: No OFD packet to send [14:28:41]OFD Sender: No OFD packet to send [14:28:46]OFD Sender: No OFD packet to send [14:28:51]OFD Sender: No OFD packet to send [14:28:56]OFD Sender: No OFD packet to send [14:29:01]OFD Sender: No OFD packet to send [14:29:06]OFD Sender: No OFD packet to send [14:29:11]OFD Sender: No OFD packet to send [14:29:16]OFD Sender: No OFD packet to send [14:29:21]OFD Sender: No OFD packet to send [14:29:26]OFD Sender: No OFD packet to send [14:29:31]OFD Sender: No OFD packet to send [14:29:36]OFD Sender: No OFD packet to send [14:29:41]OFD Sender: No OFD packet to send [14:29:46]OFD Sender: No OFD packet to send [14:29:51]OFD Sender: No OFD packet to send [14:29:56]OFD Sender: No OFD packet to send [14:30:01]OFD Sender: No OFD packet to send [14:30:06]OFD Sender: No OFD packet to send [14:30:11]OFD Sender: No OFD packet to send [14:30:16]OFD Sender: No OFD packet to send [14:30:21]OFD Sender: No OFD packet to send [14:30:26]OFD Sender: No OFD packet to send [14:30:31]OFD Sender: No OFD packet to send [14:30:36]OFD Sender: No OFD packet to send [14:30:41]OFD Sender: No OFD packet to send [14:30:46]OFD Sender: No OFD packet to send [14:30:51]OFD Sender: No OFD packet to send [14:30:56]OFD Sender: No OFD packet to send [14:31:01]OFD Sender: No OFD packet to send [14:31:06]OFD Sender: No OFD packet to send [14:31:11]OFD Sender: No OFD packet to send [14:31:16]OFD Sender: No OFD packet to send [14:31:21]OFD Sender: No OFD packet to send [14:31:26]OFD Sender: No OFD packet to send [14:31:31]OFD Sender: No OFD packet to send [14:31:36]OFD Sender: No OFD packet to send [14:31:41]OFD Sender: No OFD packet to send [14:31:46]OFD Sender: No OFD packet to send [14:31:51]OFD Sender: No OFD packet to send [14:31:56]OFD Sender: No OFD packet to send [14:32:01]OFD Sender: No OFD packet to send [14:32:06]OFD Sender: No OFD packet to send [14:32:11]OFD Sender: No OFD packet to send [14:32:16]OFD Sender: No OFD packet to send [14:32:21]OFD Sender: No OFD packet to send [14:32:26]OFD Sender: No OFD packet to send [14:32:31]OFD Sender: No OFD packet to send [14:32:36]OFD Sender: No OFD packet to send [14:32:41]OFD Sender: No OFD packet to send [14:32:46]OFD Sender: No OFD packet to send [14:32:51]OFD Sender: No OFD packet to send [14:32:56]OFD Sender: No OFD packet to send [14:33:01]OFD Sender: No OFD packet to send [14:33:06]OFD Sender: No OFD packet to send [14:33:11]OFD Sender: No OFD packet to send [14:33:16]OFD Sender: No OFD packet to send [14:33:21]OFD Sender: No OFD packet to send [14:33:26]OFD Sender: No OFD packet to send [14:33:31]OFD Sender: No OFD packet to send [14:33:36]OFD Sender: No OFD packet to send [14:33:41]OFD Sender: No OFD packet to send [14:33:46]OFD Sender: No OFD packet to send [14:33:51]OFD Sender: No OFD packet to send [14:33:56]OFD Sender: No OFD packet to send [14:34:01]OFD Sender: No OFD packet to send [14:34:06]OFD Sender: No OFD packet to send [14:34:11]OFD Sender: No OFD packet to send [14:34:16]OFD Sender: No OFD packet to send [14:34:21]OFD Sender: No OFD packet to send [14:34:26]OFD Sender: No OFD packet to send [14:34:31]OFD Sender: No OFD packet to send [14:34:36]OFD Sender: No OFD packet to send [14:34:41]OFD Sender: No OFD packet to send [14:34:46]OFD Sender: No OFD packet to send [14:34:51]OFD Sender: No OFD packet to send [14:34:56]OFD Sender: No OFD packet to send [14:35:01]OFD Sender: No OFD packet to send [14:35:06]OFD Sender: No OFD packet to send [14:35:11]OFD Sender: No OFD packet to send [14:35:16]OFD Sender: No OFD packet to send [14:35:21]OFD Sender: No OFD packet to send [14:35:26]OFD Sender: No OFD packet to send [14:35:31]OFD Sender: No OFD packet to send [14:35:36]OFD Sender: No OFD packet to send [14:35:41]OFD Sender: No OFD packet to send [14:35:46]OFD Sender: No OFD packet to send [14:35:51]OFD Sender: No OFD packet to send [14:35:56]OFD Sender: No OFD packet to send [14:36:01]OFD Sender: No OFD packet to send [14:36:07]OFD Sender: No OFD packet to send [14:36:12]OFD Sender: No OFD packet to send [14:36:17]OFD Sender: No OFD packet to send [14:36:22]OFD Sender: No OFD packet to send [14:36:27]OFD Sender: No OFD packet to send [14:36:32]OFD Sender: No OFD packet to send [14:36:37]OFD Sender: No OFD packet to send [14:36:42]OFD Sender: No OFD packet to send [14:36:47]OFD Sender: No OFD packet to send [14:36:52]OFD Sender: No OFD packet to send [14:36:57]OFD Sender: No OFD packet to send [14:37:02]OFD Sender: No OFD packet to send [14:37:07]OFD Sender: No OFD packet to send [14:37:12]OFD Sender: No OFD packet to send [14:37:17]OFD Sender: No OFD packet to send [14:37:22]OFD Sender: No OFD packet to send [14:37:27]OFD Sender: No OFD packet to send [14:37:32]OFD Sender: No OFD packet to send [14:37:37]OFD Sender: No OFD packet to send [14:37:42]OFD Sender: No OFD packet to send [14:37:47]OFD Sender: No OFD packet to send [14:37:52]OFD Sender: No OFD packet to send [14:37:57]OFD Sender: No OFD packet to send [14:38:02]OFD Sender: No OFD packet to send [14:38:07]OFD Sender: No OFD packet to send [14:38:12]OFD Sender: No OFD packet to send [14:38:17]OFD Sender: No OFD packet to send [14:38:22]OFD Sender: No OFD packet to send [14:38:27]OFD Sender: No OFD packet to send [14:38:32]OFD Sender: No OFD packet to send [14:38:37]OFD Sender: No OFD packet to send [14:38:42]OFD Sender: No OFD packet to send [14:38:47]OFD Sender: No OFD packet to send [14:38:52]OFD Sender: No OFD packet to send [14:38:57]OFD Sender: No OFD packet to send [14:39:02]OFD Sender: No OFD packet to send [14:39:07]OFD Sender: No OFD packet to send [14:39:12]OFD Sender: No OFD packet to send [14:39:17]OFD Sender: No OFD packet to send [14:39:22]OFD Sender: No OFD packet to send [14:39:27]OFD Sender: No OFD packet to send [14:39:32]OFD Sender: No OFD packet to send [14:39:37]OFD Sender: No OFD packet to send [14:39:42]OFD Sender: No OFD packet to send [14:39:47]OFD Sender: No OFD packet to send [14:39:52]OFD Sender: No OFD packet to send [14:39:57]OFD Sender: No OFD packet to send [14:40:02]OFD Sender: No OFD packet to send [14:40:07]OFD Sender: No OFD packet to send [14:40:12]OFD Sender: No OFD packet to send [14:40:17]OFD Sender: No OFD packet to send [14:40:22]OFD Sender: No OFD packet to send [14:40:27]OFD Sender: No OFD packet to send [14:40:32]OFD Sender: No OFD packet to send [14:40:37]OFD Sender: No OFD packet to send [14:40:42]OFD Sender: No OFD packet to send [14:40:47]OFD Sender: No OFD packet to send [14:40:52]OFD Sender: No OFD packet to send [14:40:57]OFD Sender: No OFD packet to send [14:41:02]OFD Sender: No OFD packet to send [14:41:07]OFD Sender: No OFD packet to send [14:41:12]OFD Sender: No OFD packet to send [14:41:17]OFD Sender: No OFD packet to send [14:41:22]OFD Sender: No OFD packet to send [14:41:27]OFD Sender: No OFD packet to send [14:41:32]OFD Sender: No OFD packet to send [14:41:37]OFD Sender: No OFD packet to send [14:41:42]OFD Sender: No OFD packet to send [14:41:47]OFD Sender: No OFD packet to send [14:41:52]OFD Sender: No OFD packet to send [14:41:57]OFD Sender: No OFD packet to send [14:42:02]OFD Sender: No OFD packet to send [14:42:07]OFD Sender: No OFD packet to send [14:42:12]OFD Sender: No OFD packet to send [14:42:17]OFD Sender: No OFD packet to send [14:42:22]OFD Sender: No OFD packet to send [14:42:27]OFD Sender: No OFD packet to send [14:42:32]OFD Sender: No OFD packet to send [14:42:37]OFD Sender: No OFD packet to send [14:42:42]OFD Sender: No OFD packet to send [14:42:47]OFD Sender: No OFD packet to send [14:42:52]OFD Sender: No OFD packet to send [14:42:57]OFD Sender: No OFD packet to send [14:43:02]OFD Sender: No OFD packet to send [14:43:07]OFD Sender: No OFD packet to send [14:43:12]OFD Sender: No OFD packet to send [14:43:17]OFD Sender: No OFD packet to send [14:43:22]OFD Sender: No OFD packet to send [14:43:27]OFD Sender: No OFD packet to send [14:43:32]OFD Sender: No OFD packet to send [14:43:37]OFD Sender: No OFD packet to send [14:43:42]OFD Sender: No OFD packet to send [14:43:47]OFD Sender: No OFD packet to send [14:43:52]OFD Sender: No OFD packet to send [14:43:57]OFD Sender: No OFD packet to send [14:44:02]OFD Sender: No OFD packet to send [14:44:07]OFD Sender: No OFD packet to send [14:44:12]OFD Sender: No OFD packet to send [14:44:17]OFD Sender: No OFD packet to send [14:44:22]OFD Sender: No OFD packet to send [14:44:27]OFD Sender: No OFD packet to send [14:44:32]OFD Sender: No OFD packet to send [14:44:37]OFD Sender: No OFD packet to send [14:44:42]OFD Sender: No OFD packet to send [14:44:47]OFD Sender: No OFD packet to send [14:44:52]OFD Sender: No OFD packet to send [14:44:57]OFD Sender: No OFD packet to send [14:45:02]OFD Sender: No OFD packet to send [14:45:07]OFD Sender: No OFD packet to send [14:45:12]OFD Sender: No OFD packet to send [14:45:17]OFD Sender: No OFD packet to send [14:45:22]OFD Sender: No OFD packet to send [14:45:27]OFD Sender: No OFD packet to send [14:45:32]OFD Sender: No OFD packet to send [14:45:37]OFD Sender: No OFD packet to send [14:45:42]OFD Sender: No OFD packet to send [14:45:47]OFD Sender: No OFD packet to send [14:45:52]OFD Sender: No OFD packet to send [14:45:57]OFD Sender: No OFD packet to send [14:46:02]OFD Sender: No OFD packet to send [14:46:07]OFD Sender: No OFD packet to send [14:46:12]OFD Sender: No OFD packet to send [14:46:17]OFD Sender: No OFD packet to send [14:46:22]OFD Sender: No OFD packet to send [14:46:27]OFD Sender: No OFD packet to send [14:46:32]OFD Sender: No OFD packet to send [14:46:37]OFD Sender: No OFD packet to send [14:46:42]OFD Sender: No OFD packet to send [14:46:47]OFD Sender: No OFD packet to send [14:46:52]OFD Sender: No OFD packet to send [14:46:57]OFD Sender: No OFD packet to send [14:47:02]OFD Sender: No OFD packet to send [14:47:07]OFD Sender: No OFD packet to send [14:47:12]OFD Sender: No OFD packet to send [14:47:17]OFD Sender: No OFD packet to send [14:47:22]OFD Sender: No OFD packet to send [14:47:27]OFD Sender: No OFD packet to send [14:47:32]OFD Sender: No OFD packet to send [14:47:37]OFD Sender: No OFD packet to send [14:47:42]OFD Sender: No OFD packet to send [14:47:47]OFD Sender: No OFD packet to send [14:47:52]OFD Sender: No OFD packet to send [14:47:57]OFD Sender: No OFD packet to send [14:48:02]OFD Sender: No OFD packet to send [14:48:07]OFD Sender: No OFD packet to send [14:48:12]OFD Sender: No OFD packet to send [14:48:17]OFD Sender: No OFD packet to send [14:48:22]OFD Sender: No OFD packet to send [14:48:27]OFD Sender: No OFD packet to send [14:48:32]OFD Sender: No OFD packet to send [14:48:37]OFD Sender: No OFD packet to send [14:48:42]OFD Sender: No OFD packet to send [14:48:47]OFD Sender: No OFD packet to send [14:48:52]OFD Sender: No OFD packet to send [14:48:57]OFD Sender: No OFD packet to send [14:49:02]OFD Sender: No OFD packet to send [14:49:07]OFD Sender: No OFD packet to send [14:49:12]OFD Sender: No OFD packet to send [14:49:17]OFD Sender: No OFD packet to send [14:49:20]accept exits with 9 [14:49:20]New connection [14:49:20]New thread 3067297124 created [14:49:20]Thread 3067440484 joined [14:49:20]Waiting for new connection... [14:49:20] Sock 9.Parse request [14:49:20]Sock 9.Check first char [14:49:20]Sock 9.First char is OK [14:49:20]request: POST /json_proto HTTP/1.0 [14:49:20]Method: POST [14:49:20]URL: /json_proto [14:49:20]Method is POST - this is cgi request [14:49:20]url: /json_proto [14:49:20]query_string will be loaded in cgi processing [14:49:20]execute_cgi json_proto POST (null) [14:49:20]execute_cgi path=json_proto method=POST [14:49:20]POST find Content-Length [14:49:20]Host: 172.17.40.196:8080 [14:49:20]Content-Length: 646 [14:49:20]Content-Type: application/json [14:49:20] [14:49:20]POST finish read [14:49:20]Found Content-Length = 646 [14:49:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35014", "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" : 2.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:49:20]execute_script... [14:49: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)35014", "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" : 2.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:49:20]POST & json_proto [14:49:20]process_json_proto [14:49:20]json parsed OK: [14:49:20]protocol is kg_v1.0 [14:49:20]action value=close_receipt [14:49:20]process_action close_receipt [14:49:20]cmd_close_receipt [14:49:20]MH_GetDate [14:49:20]Write to MH i2c: F0 00 00 BB 09 B3 [14:49:20]Write i2c OK [14:49:20]MH_I2C_Read... [14:49:20]Read from MH i2c: F0 [14:49:20]MH_I2C_Read... [14:49:20]Read from MH i2c: F0 09 00 [14:49:20]MH_I2C_Read... [14:49:20]Read from MH i2c: F0 09 00 BB 09 00 F3 52 1E 67 5B 68 A1 66 50 [14:49:20]GetLastDocTimeStamp 1730039140 [14:49:20]current date 1730040563 [14:49:20]FM_GetShiftState [14:49:20]SAM_PROTO_GetShiftState [14:49:20]wFMCommunicate request_size=4 [14:49:20]MH_SAM_APDU [14:49:20]CAPDU: 80 13 01 00 [14:49:20]Write to MH i2c: E2 08 00 BC 09 80 13 01 00 00 00 00 00 42 [14:49:20]Write i2c OK [14:49:20]MH_I2C_Read... [14:49:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:49:20]Read from MH i2c: E2 [14:49:20]MH_I2C_Read... [14:49:20]Read from MH i2c: E2 0E 00 [14:49:20]MH_I2C_Read... [14:49:20]Read from MH i2c: E2 0E 00 BC 09 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 F9 [14:49:20]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [14:49:20]wFMCommunicate OK [14:49:20]SAM_PROTO_GetShiftState done [14:49:20]FM_GetShiftState done [14:49:20]opened in 1729987492 [14:49:20]opened+sec_in_day 1730073892 [14:49:20]quantity*price = 13000 [14:49:20]sum+1 = 13001 [14:49:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 42 27.10.2024 14:49 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37716 ФПД: 149981722366502 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T144923&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37716&fm=149981722366502&tin=02508201610067®Number=0000000000091684&sum=13000 0 [14:49:21]StoreToDocumentArchive [14:49:21]shift 550 fd 37716 [14:49:21]save to /storage/0550/doc_00037716 [14:49:21]save last doc name /storage/0550/doc_00037716 to /storage/kkm_last_doc_name [14:49:21]save OK [14:49:21]Clear old archive folders... [14:49:21]ProcessDocumentItem done err = 0, tmpTLVsize=272 [14:49:21]tlvbuf is 0020CD50 [14:49:21]SAM_PROTO_ClearQueue [14:49:21]wFMCommunicate request_size=4 [14:49:21]MH_SAM_APDU [14:49:21]CAPDU: 80 09 00 00 [14:49:21]Write to MH i2c: E2 08 00 C9 09 80 09 00 00 00 00 00 00 44 [14:49:21]Write i2c OK [14:49:21]MH_I2C_Read... [14:49:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:49:21]Read from MH i2c: E2 [14:49:21]MH_I2C_Read... [14:49:21]Read from MH i2c: E2 03 00 [14:49:21]MH_I2C_Read... [14:49:21]Read from MH i2c: E2 03 00 C9 09 00 90 00 46 [14:49:21]RAPDU: 90 00 [14:49:21]wFMCommunicate OK [14:49:21]SAM_PROTO_ClearQueue done [14:49:21]KKMCreateOFDPacket [14:49:21]OFDProtocolAddRootSTLVToBuf [14:49:21]FM_MakeSignedData [14:49:21]FM_MakeSignedData [14:49:21]SAM_PROTO_SignData [14:49:21]wFMCommunicate request_size=4 [14:49:21]MH_SAM_APDU [14:49:21]CAPDU: 80 0D 01 02 [14:49:21]Write to MH i2c: E2 08 00 CA 09 80 0D 01 02 00 00 00 00 4C [14:49:21]Write i2c OK [14:49:21]MH_I2C_Read... [14:49:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:49:21]Read from MH i2c: E2 [14:49:21]MH_I2C_Read... [14:49:21]Read from MH i2c: E2 03 00 [14:49:21]MH_I2C_Read... [14:49:21]Read from MH i2c: E2 03 00 CA 09 00 90 00 47 [14:49:21]RAPDU: 90 00 [14:49:21]wFMCommunicate OK [14:49:21]wFMCommunicate request_size=255 [14:49:21]MH_SAM_APDU [14:49:21]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 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 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 2A 00 00 00 F4 03 04 00 F3 52 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [14:49:21]Write to MH i2c: E2 02 01 CB 09 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 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 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 2A 00 00 00 F4 03 04 00 F3 52 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 09 [14:49:21]Write i2c OK [14:49:21]MH_I2C_Read... [14:49:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:49:21]Read from MH i2c: E2 [14:49:21]MH_I2C_Read... [14:49:21]Read from MH i2c: E2 03 00 [14:49:21]MH_I2C_Read... [14:49:21]Read from MH i2c: E2 03 00 CB 09 00 90 00 48 [14:49:21]RAPDU: 90 00 [14:49:21]wFMCommunicate OK [14:49:21]wFMCommunicate request_size=31 [14:49:21]MH_SAM_APDU [14:49:21]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 54 93 00 00 35 04 06 00 88 68 57 48 D2 26 [14:49:21]Write to MH i2c: E2 22 00 CC 09 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 54 93 00 00 35 04 06 00 88 68 57 48 D2 26 00 00 E5 [14:49:21]Write i2c OK [14:49:21]MH_I2C_Read... [14:49:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:49:21]Read from MH i2c: E2 [14:49:21]MH_I2C_Read... [14:49:21]Read from MH i2c: E2 03 00 [14:49:21]MH_I2C_Read... [14:49:22]Read from MH i2c: E2 03 00 CC 09 00 90 00 49 [14:49:22]RAPDU: 90 00 [14:49:22]wFMCommunicate OK [14:49:22]wFMCommunicate request_size=4 [14:49:22]MH_SAM_APDU [14:49:22]CAPDU: 80 0D 03 02 [14:49:22]Write to MH i2c: E2 08 00 CD 09 80 0D 03 02 00 00 00 00 51 [14:49:22]Write i2c OK [14:49:22]MH_I2C_Read... [14:49:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:49:22]Read from MH i2c: E2 [14:49:22]MH_I2C_Read... [14:49:22]Read from MH i2c: E2 0B 00 [14:49:22]MH_I2C_Read... [14:49:22]Read from MH i2c: E2 0B 00 CD 09 00 19 E3 4C 94 53 03 34 42 90 00 FA [14:49:22]RAPDU: 19 E3 4C 94 53 03 34 42 90 00 [14:49:22]wFMCommunicate OK [14:49:22]SAM_PROTO_SignData done [14:49:22]FM_MakeSignedData done [14:49:22]CreateOFDProtocolMessage [14:49:22]wFMCommunicate request_size=4 [14:49:22]MH_SAM_APDU [14:49:22]CAPDU: 80 11 00 00 [14:49:22]Write to MH i2c: E2 08 00 CE 09 80 11 00 00 00 00 00 00 51 [14:49:22]Write i2c OK [14:49:22]MH_I2C_Read... [14:49:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:49:22]Read from MH i2c: E2 [14:49:22]MH_I2C_Read... [14:49:22]Read from MH i2c: E2 17 00 [14:49:22]MH_I2C_Read... [14:49:22]Read from MH i2c: E2 17 00 CE 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A1 [14:49:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [14:49:22]wFMCommunicate OK [14:49:22]CreateOFDProtocolMessage done [14:49:22]OFDSenderStorePacket 37716 [14:49:22]StoreOFDPacket docnum=37716 [14:49:22]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 75 9E 1C 01 43 CD 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 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 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 2A 00 00 00 F4 03 04 00 F3 52 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 54 93 00 00 35 04 06 00 88 68 57 48 D2 26 19 E3 4C 94 53 03 34 42 [14:49:22]CheckFolder [14:49:22]dirname=/storage/ofd_packets [14:49:22]CheckFolder done [14:49:22]ProducePacketName [14:49:22]name=ofd_packets/00037716 [14:49:22]NVStorageSaveData ofd_packets/00037716 [14:49:22]File name is /storage/ofd_packets/00037716 [14:49:22]Write 322 bytes [14:49:22]NVStorageSaveData done [14:49:22]OFDSenderStorePacket done [14:49:22]KKMCreateOFDPacket done [14:49:22]NVStorageSaveData kkm_last_timestamp [14:49:22]File name is /storage/kkm_last_timestamp [14:49:22]Write 4 bytes [14:49:22]NVStorageSaveData done [14:49:22]ExternCall_PrintAddStr [14:49:22]wPrintStart [14:49:22]Write to MH i2c: 01 00 00 CF 09 D8 [14:49:22]Write i2c OK [14:49:22]MH_I2C_Read... [14:49:22]Read from MH i2c: 01 [14:49:22]MH_I2C_Read... [14:49:22]Read from MH i2c: 01 07 00 [14:49:22]MH_I2C_Read... [14:49:22]Read from MH i2c: 01 07 00 CF 09 00 00 00 00 00 FF 0F ED [14:49:22]RasterBufferAndPrint [14:49:22]line Счет N : (3)35014 [14:49:22]line ИНН: 02508201610067 [14:49:22]line Контрольно-Кассовый Чек [14:49:22]line ПРОДАЖА [14:49:22]line Товар: 47011656 [14:49:22]line Водка Пшеничная 0,1л [14:49:22]line 2.000 * 65.00 [14:49:22]line = 130.00 [14:49:22]line НДС 12% НСП 1% [14:49:22]line > о реализуемом товаре [14:49:22]line ИТОГО: 130.00 [14:49:22]line НСП 1% : 1.15 [14:49:22]line НДС 12% : 13.80 [14:49:22]line Наличными: 130.00 [14:49:22]line Безнал.: 0.00 [14:49:22]line Место: АЗС № 126 "Партнер Нефть" [14:49:22]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [14:49:22]line СНО: Общий режим [14:49:22]line Чек 42 27.10.2024 14:49 [14:49:22]line Смена: 550 ФФД: 1.0 [14:49:22]line ЗНМ: 0300000092 [14:49:22]line РНМ: 0000000000091684 [14:49:22]line Версия ККМ: 001 [14:49:22]line ФМ: 0000000000871841 [14:49:22]line ФД: 37716 [14:49:22]line ФПД: 149981722366502 [14:49:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T144923&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37716&fm=149981722366502&tin=02508201610067®Number=0000000000091684&sum=13000 [14:49:22]OFD Sender: Processing packet 37716 [packets to send 42, broken 41] [14:49:22]ProducePacketName [14:49:22]name=ofd_packets/00037716 [14:49:22]OFD Sender: To server: pG, [14:49:22]CommunicateWithHost lk.salyk.kg:30040 [14:49:22]ConnectInit lk.salyk.kg [14:49:22]line 0 [14:49:22]written 0, free lines is 4095 [14:49:22]Connected sock=10 [14:49: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 24 01 00 00 75 9E 1C 01 43 CD 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 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 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 2A 00 00 00 F4 03 04 00 F3 52 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 54 93 00 00 35 04 06 00 88 68 57 48 D2 26 19 E3 4C 94 53 03 34 42 [14:49:22]Write to MH i2c: 01 00 00 F7 09 00 [14:49:22]Write i2c OK [14:49:22]MH_I2C_Read... [14:49:22]Read from MH i2c: 01 [14:49:22]MH_I2C_Read... [14:49:22]Read from MH i2c: 01 07 00 [14:49:22]MH_I2C_Read... [14:49:22]Read from MH i2c: 01 07 00 F7 09 00 00 00 00 00 D0 0C E3 [14:49:22]RasterBufferAndPrint [14:49:22]line [14:49:22]line [14:49:22]line [14:49:22]line [14:49:22]line [14:49:22]written 0, free lines is 3286 [14:49:22]MH_Cut [14:49:22]Write to MH i2c: D1 01 00 FE 09 01 D9 [14:49:22]Write i2c OK [14:49:22]MH_I2C_Read... [14:49:22]Read from MH i2c: D1 [14:49:22]MH_I2C_Read... [14:49:22]Read from MH i2c: D1 01 00 [14:49:22]MH_I2C_Read... [14:49:22]Read from MH i2c: D1 01 00 FE 09 00 D8 [14:49:22]Write to MH i2c: 01 00 00 FF 09 08 [14:49:22]Write i2c OK [14:49:22]MH_I2C_Read... [14:49: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 62 10 47 00 3D 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 54 93 00 00 F4 03 04 00 EA FD 1D 67 B6 04 01 00 00 23 9E C7 E4 50 89 67 F5 [14:49:22]CommunicateWithHost err = 0 [14:49:22]CheckOFDResponse [14:49:22]1017 (14) - 77093643461234 [14:49:22]1041 (16) - 0000000000871841 [14:49:22]1040 (4) - 37716 [14:49:22]1012 (4) - 27.10.2024 08:46 [14:49:22]1206 (1) - 0 [14:49:22]OFD Sender: Remove packet 37716 [14:49:22]ProducePacketName [14:49:22]name=ofd_packets/00037716 [14:49:22]NVStorageDeleteData [14:49:23]OFD Sender: No OFD packet to send [14:49:23]*** Cut start [14:49:23]*** Partial cut [14:49:23]*** CUTSNS_PIN = 1 [14:49:23]*** CUTSNS_PIN = 0 [14:49:23]*** Brake cut motor [14:49:24]Read from MH i2c: 01 [14:49:24]MH_I2C_Read... [14:49:24]*** Stop cut motor [14:49:24]*** Cut end [14:49:24]Read from MH i2c: 01 07 00 [14:49:24]MH_I2C_Read... [14:49:24]Read from MH i2c: 01 07 00 FF 09 00 00 00 00 00 FF 0F 1D [14:49:24]process_action close_receipt done [14:49:24]requested_data is exist [14:49:24]produce_requested_data [14:49:24]requested_item fm.sn is exist - process it [14:49:24]wFMCommunicate request_size=4 [14:49:24]MH_SAM_APDU [14:49:24]CAPDU: 80 11 00 00 [14:49:24]Write to MH i2c: E2 08 00 00 0A 80 11 00 00 00 00 00 00 84 [14:49:24]Write i2c OK [14:49:24]MH_I2C_Read... [14:49:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:49:24]Read from MH i2c: E2 [14:49:24]MH_I2C_Read... [14:49:24]Read from MH i2c: E2 17 00 [14:49:24]MH_I2C_Read... [14:49:24]Read from MH i2c: E2 17 00 00 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D4 [14:49:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [14:49:24]wFMCommunicate OK [14:49:24]requested_item fd.num is exist - process it [14:49:24]SAM_PROTO_GetFieldsCounters [14:49:24]wFMCommunicate request_size=4 [14:49:24]MH_SAM_APDU [14:49:24]CAPDU: 80 13 00 00 [14:49:24]Write to MH i2c: E2 08 00 01 0A 80 13 00 00 00 00 00 00 87 [14:49:24]Write i2c OK [14:49:24]MH_I2C_Read... [14:49:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:49:24]Read from MH i2c: E2 [14:49:24]MH_I2C_Read... [14:49:24]Read from MH i2c: E2 62 00 [14:49:24]MH_I2C_Read... [14:49:24]Read from MH i2c: E2 62 00 01 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 54 93 00 00 0E 04 04 00 26 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 35 [14:49: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 54 93 00 00 0E 04 04 00 26 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 [14:49:24]wFMCommunicate OK [14:49:24]SAM_PROTO_GetFieldsCounters done [14:49:24]requested_item shift.num is exist - process it [14:49:24]requested_item shift.opened is exist - process it [14:49:24]req_shift_opened [14:49:24]FM_GetShiftState [14:49:24]SAM_PROTO_GetShiftState [14:49:24]wFMCommunicate request_size=4 [14:49:24]MH_SAM_APDU [14:49:24]CAPDU: 80 13 01 00 [14:49:24]Write to MH i2c: E2 08 00 02 0A 80 13 01 00 00 00 00 00 89 [14:49:24]Write i2c OK [14:49:24]MH_I2C_Read... [14:49:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:49:24]Read from MH i2c: E2 [14:49:24]MH_I2C_Read... [14:49:24]Read from MH i2c: E2 0E 00 [14:49:24]MH_I2C_Read... [14:49:24]Read from MH i2c: E2 0E 00 02 0A 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 40 [14:49:24]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [14:49:24]wFMCommunicate OK [14:49:24]SAM_PROTO_GetShiftState done [14:49:24]FM_GetShiftState done [14:49:24]req_shift_opened done [14:49:24]requested_item shift.open_date is exist - process it [14:49:24]req_shift_open_date [14:49:24]req_shift_open_date done [14:49:24]produce_requested_data done [14:49:24]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37716,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [14:49:24]process_action_free close_receipt [14:49:24]json_value_free [14:49:24]json_value_free done [14:49:24]process_json_proto returns [14:49:24]Send response to host [14:49:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37716,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [14:49:24]free response buf [14:49:24]execute_script done [14:49:24]execute_script returns [14:49:24]free content buf [14:49:24]Sock 9.Close socket [14:49:24]Sock 9.Thread stoped [14:49:28]OFD Sender: No OFD packet to send [14:49:33]OFD Sender: No OFD packet to send [14:49:38]OFD Sender: No OFD packet to send [14:49:43]OFD Sender: No OFD packet to send [14:49:48]OFD Sender: No OFD packet to send [14:49:53]OFD Sender: No OFD packet to send [14:49:58]OFD Sender: No OFD packet to send [14:50:03]OFD Sender: No OFD packet to send [14:50:08]OFD Sender: No OFD packet to send [14:50:13]OFD Sender: No OFD packet to send [14:50:18]OFD Sender: No OFD packet to send [14:50:23]OFD Sender: No OFD packet to send [14:50:28]OFD Sender: No OFD packet to send [14:50:33]OFD Sender: No OFD packet to send [14:50:38]OFD Sender: No OFD packet to send [14:50:43]OFD Sender: No OFD packet to send [14:50:48]OFD Sender: No OFD packet to send [14:50:53]OFD Sender: No OFD packet to send [14:50:58]OFD Sender: No OFD packet to send [14:51:03]OFD Sender: No OFD packet to send [14:51:08]OFD Sender: No OFD packet to send [14:51:13]OFD Sender: No OFD packet to send [14:51:18]OFD Sender: No OFD packet to send [14:51:23]OFD Sender: No OFD packet to send [14:51:28]OFD Sender: No OFD packet to send [14:51:33]OFD Sender: No OFD packet to send [14:51:38]OFD Sender: No OFD packet to send [14:51:43]OFD Sender: No OFD packet to send [14:51:48]OFD Sender: No OFD packet to send [14:51:53]OFD Sender: No OFD packet to send [14:51:58]OFD Sender: No OFD packet to send [14:52:03]OFD Sender: No OFD packet to send [14:52:08]OFD Sender: No OFD packet to send [14:52:13]OFD Sender: No OFD packet to send [14:52:18]OFD Sender: No OFD packet to send [14:52:23]OFD Sender: No OFD packet to send [14:52:28]OFD Sender: No OFD packet to send [14:52:33]OFD Sender: No OFD packet to send [14:52:38]OFD Sender: No OFD packet to send [14:52:43]OFD Sender: No OFD packet to send [14:52:48]OFD Sender: No OFD packet to send [14:52:53]OFD Sender: No OFD packet to send [14:52:58]OFD Sender: No OFD packet to send [14:53:03]OFD Sender: No OFD packet to send [14:53:08]OFD Sender: No OFD packet to send [14:53:13]OFD Sender: No OFD packet to send [14:53:18]OFD Sender: No OFD packet to send [14:53:23]OFD Sender: No OFD packet to send [14:53:28]OFD Sender: No OFD packet to send [14:53:33]OFD Sender: No OFD packet to send [14:53:38]OFD Sender: No OFD packet to send [14:53:43]OFD Sender: No OFD packet to send [14:53:48]OFD Sender: No OFD packet to send [14:53:53]OFD Sender: No OFD packet to send [14:53:58]OFD Sender: No OFD packet to send [14:54:03]OFD Sender: No OFD packet to send [14:54:08]OFD Sender: No OFD packet to send [14:54:13]OFD Sender: No OFD packet to send [14:54:18]OFD Sender: No OFD packet to send [14:54:23]OFD Sender: No OFD packet to send [14:54:28]OFD Sender: No OFD packet to send [14:54:33]OFD Sender: No OFD packet to send [14:54:38]OFD Sender: No OFD packet to send [14:54:43]OFD Sender: No OFD packet to send [14:54:48]OFD Sender: No OFD packet to send [14:54:53]OFD Sender: No OFD packet to send [14:54:58]OFD Sender: No OFD packet to send [14:55:03]OFD Sender: No OFD packet to send [14:55:08]OFD Sender: No OFD packet to send [14:55:13]OFD Sender: No OFD packet to send [14:55:18]OFD Sender: No OFD packet to send [14:55:23]OFD Sender: No OFD packet to send [14:55:28]OFD Sender: No OFD packet to send [14:55:33]OFD Sender: No OFD packet to send [14:55:38]OFD Sender: No OFD packet to send [14:55:43]OFD Sender: No OFD packet to send [14:55:48]OFD Sender: No OFD packet to send [14:55:53]OFD Sender: No OFD packet to send [14:55:58]OFD Sender: No OFD packet to send [14:56:03]OFD Sender: No OFD packet to send [14:56:08]OFD Sender: No OFD packet to send [14:56:13]OFD Sender: No OFD packet to send [14:56:18]OFD Sender: No OFD packet to send [14:56:23]OFD Sender: No OFD packet to send [14:56:28]OFD Sender: No OFD packet to send [14:56:33]OFD Sender: No OFD packet to send [14:56:35]accept exits with 7 [14:56:35]New connection [14:56:35]New thread 3067440484 created [14:56:35]Thread 3067297124 joined [14:56:35]Waiting for new connection... [14:56:35] Sock 7.Parse request [14:56:35]Sock 7.Check first char [14:56:35]Sock 7.First char is OK [14:56:35]request: POST /json_proto HTTP/1.0 [14:56:35]Method: POST [14:56:35]URL: /json_proto [14:56:35]Method is POST - this is cgi request [14:56:35]url: /json_proto [14:56:35]query_string will be loaded in cgi processing [14:56:35]execute_cgi json_proto POST (null) [14:56:35]execute_cgi path=json_proto method=POST [14:56:35]POST find Content-Length [14:56:35]Host: 172.17.40.196:8080 [14:56:35]Content-Length: 622 [14:56:35]Content-Type: application/json [14:56:35] [14:56:35]POST finish read [14:56:35]Found Content-Length = 622 [14:56:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35015", "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" ] } } [14:56:35]execute_script... [14:56: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)35015", "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" ] } } [14:56:35]POST & json_proto [14:56:35]process_json_proto [14:56:35]json parsed OK: [14:56:35]protocol is kg_v1.0 [14:56:35]action value=close_receipt [14:56:35]process_action close_receipt [14:56:35]cmd_close_receipt [14:56:35]MH_GetDate [14:56:35]Write to MH i2c: F0 00 00 03 0A FC [14:56:35]Write i2c OK [14:56:35]MH_I2C_Read... [14:56:35]Read from MH i2c: F0 [14:56:35]MH_I2C_Read... [14:56:35]Read from MH i2c: F0 09 00 [14:56:35]MH_I2C_Read... [14:56:35]Read from MH i2c: F0 09 00 03 0A 00 A5 54 1E 67 5B 68 A1 66 4D [14:56:35]GetLastDocTimeStamp 1730040563 [14:56:35]current date 1730040997 [14:56:35]FM_GetShiftState [14:56:35]SAM_PROTO_GetShiftState [14:56:35]wFMCommunicate request_size=4 [14:56:35]MH_SAM_APDU [14:56:35]CAPDU: 80 13 01 00 [14:56:35]Write to MH i2c: E2 08 00 04 0A 80 13 01 00 00 00 00 00 8B [14:56:35]Write i2c OK [14:56:35]MH_I2C_Read... [14:56:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:56:35]Read from MH i2c: E2 [14:56:35]MH_I2C_Read... [14:56:35]Read from MH i2c: E2 0E 00 [14:56:35]MH_I2C_Read... [14:56:35]Read from MH i2c: E2 0E 00 04 0A 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 42 [14:56:35]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [14:56:35]wFMCommunicate OK [14:56:35]SAM_PROTO_GetShiftState done [14:56:35]FM_GetShiftState done [14:56:35]opened in 1729987492 [14:56:35]opened+sec_in_day 1730073892 [14:56:35]quantity*price = 14400 [14:56:35]sum+1 = 14401 [14:56:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 43 27.10.2024 14:56 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37717 ФПД: 20224191620136 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T145638&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37717&fm=20224191620136&tin=02508201610067®Number=0000000000091684&sum=14400 0 [14:56:36]StoreToDocumentArchive [14:56:36]shift 550 fd 37717 [14:56:36]save to /storage/0550/doc_00037717 [14:56:36]save last doc name /storage/0550/doc_00037717 to /storage/kkm_last_doc_name [14:56:36]save OK [14:56:36]Clear old archive folders... [14:56:36]ProcessDocumentItem done err = 0, tmpTLVsize=275 [14:56:36]tlvbuf is 00212A00 [14:56:36]SAM_PROTO_ClearQueue [14:56:36]wFMCommunicate request_size=4 [14:56:36]MH_SAM_APDU [14:56:36]CAPDU: 80 09 00 00 [14:56:36]Write to MH i2c: E2 08 00 11 0A 80 09 00 00 00 00 00 00 8D [14:56:36]Write i2c OK [14:56:36]MH_I2C_Read... [14:56:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:56:36]Read from MH i2c: E2 [14:56:36]MH_I2C_Read... [14:56:36]Read from MH i2c: E2 03 00 [14:56:36]MH_I2C_Read... [14:56:36]Read from MH i2c: E2 03 00 11 0A 00 90 00 8F [14:56:36]RAPDU: 90 00 [14:56:36]wFMCommunicate OK [14:56:36]SAM_PROTO_ClearQueue done [14:56:36]KKMCreateOFDPacket [14:56:36]OFDProtocolAddRootSTLVToBuf [14:56:36]FM_MakeSignedData [14:56:36]FM_MakeSignedData [14:56:36]SAM_PROTO_SignData [14:56:36]wFMCommunicate request_size=4 [14:56:36]MH_SAM_APDU [14:56:36]CAPDU: 80 0D 01 02 [14:56:36]Write to MH i2c: E2 08 00 12 0A 80 0D 01 02 00 00 00 00 95 [14:56:36]Write i2c OK [14:56:36]MH_I2C_Read... [14:56:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:56:36]Read from MH i2c: E2 [14:56:36]MH_I2C_Read... [14:56:36]Read from MH i2c: E2 03 00 [14:56:36]MH_I2C_Read... [14:56:36]Read from MH i2c: E2 03 00 12 0A 00 90 00 90 [14:56:36]RAPDU: 90 00 [14:56:36]wFMCommunicate OK [14:56:36]wFMCommunicate request_size=255 [14:56:36]MH_SAM_APDU [14:56:36]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 2B 00 00 00 F4 03 04 00 A6 54 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [14:56:36]Write to MH i2c: E2 02 01 13 0A 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 2B 00 00 00 F4 03 04 00 A6 54 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 6F [14:56:36]Write i2c OK [14:56:36]MH_I2C_Read... [14:56:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:56:36]Read from MH i2c: E2 [14:56:36]MH_I2C_Read... [14:56:36]Read from MH i2c: E2 03 00 [14:56:36]MH_I2C_Read... [14:56:36]Read from MH i2c: E2 03 00 13 0A 00 90 00 91 [14:56:36]RAPDU: 90 00 [14:56:36]wFMCommunicate OK [14:56:36]wFMCommunicate request_size=34 [14:56:36]MH_SAM_APDU [14:56:36]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 55 93 00 00 35 04 06 00 12 64 CF C1 E4 28 [14:56:36]Write to MH i2c: E2 25 00 14 0A 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 55 93 00 00 35 04 06 00 12 64 CF C1 E4 28 00 00 50 [14:56:36]Write i2c OK [14:56:36]MH_I2C_Read... [14:56:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:56:36]Read from MH i2c: E2 [14:56:36]MH_I2C_Read... [14:56:36]Read from MH i2c: E2 03 00 [14:56:36]MH_I2C_Read... [14:56:36]Read from MH i2c: E2 03 00 14 0A 00 90 00 92 [14:56:36]RAPDU: 90 00 [14:56:36]wFMCommunicate OK [14:56:36]wFMCommunicate request_size=4 [14:56:36]MH_SAM_APDU [14:56:36]CAPDU: 80 0D 03 02 [14:56:36]Write to MH i2c: E2 08 00 15 0A 80 0D 03 02 00 00 00 00 9A [14:56:36]Write i2c OK [14:56:36]MH_I2C_Read... [14:56:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:56:36]Read from MH i2c: E2 [14:56:36]MH_I2C_Read... [14:56:36]Read from MH i2c: E2 0B 00 [14:56:36]MH_I2C_Read... [14:56:36]Read from MH i2c: E2 0B 00 15 0A 00 AF EA F5 CB 08 2C A9 42 90 00 13 [14:56:36]RAPDU: AF EA F5 CB 08 2C A9 42 90 00 [14:56:36]wFMCommunicate OK [14:56:36]SAM_PROTO_SignData done [14:56:36]FM_MakeSignedData done [14:56:36]CreateOFDProtocolMessage [14:56:36]wFMCommunicate request_size=4 [14:56:36]MH_SAM_APDU [14:56:36]CAPDU: 80 11 00 00 [14:56:36]Write to MH i2c: E2 08 00 16 0A 80 11 00 00 00 00 00 00 9A [14:56:36]Write i2c OK [14:56:36]MH_I2C_Read... [14:56:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:56:36]Read from MH i2c: E2 [14:56:36]MH_I2C_Read... [14:56:36]Read from MH i2c: E2 17 00 [14:56:36]MH_I2C_Read... [14:56:36]Read from MH i2c: E2 17 00 16 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 EA [14:56:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [14:56:36]wFMCommunicate OK [14:56:36]CreateOFDProtocolMessage done [14:56:36]OFDSenderStorePacket 37717 [14:56:36]StoreOFDPacket docnum=37717 [14:56: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 27 01 00 00 6F DD 1F 01 05 8B 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 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 2B 00 00 00 F4 03 04 00 A6 54 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 55 93 00 00 35 04 06 00 12 64 CF C1 E4 28 AF EA F5 CB 08 2C A9 42 [14:56:36]CheckFolder [14:56:36]dirname=/storage/ofd_packets [14:56:36]CheckFolder done [14:56:36]ProducePacketName [14:56:36]name=ofd_packets/00037717 [14:56:36]NVStorageSaveData ofd_packets/00037717 [14:56:36]File name is /storage/ofd_packets/00037717 [14:56:36]Write 325 bytes [14:56:36]NVStorageSaveData done [14:56:36]OFDSenderStorePacket done [14:56:36]KKMCreateOFDPacket done [14:56:36]NVStorageSaveData kkm_last_timestamp [14:56:36]File name is /storage/kkm_last_timestamp [14:56:36]Write 4 bytes [14:56:36]NVStorageSaveData done [14:56:36]ExternCall_PrintAddStr [14:56:36]wPrintStart [14:56:36]Write to MH i2c: 01 00 00 17 0A 21 [14:56:36]Write i2c OK [14:56:36]MH_I2C_Read... [14:56:36]Read from MH i2c: 01 [14:56:36]MH_I2C_Read... [14:56:36]Read from MH i2c: 01 07 00 [14:56:36]MH_I2C_Read... [14:56:36]Read from MH i2c: 01 07 00 17 0A 00 00 00 00 00 FF 0F 36 [14:56:36]RasterBufferAndPrint [14:56:36]line Счет N : (3)35015 [14:56:36]line ИНН: 02508201610067 [14:56:36]line Контрольно-Кассовый Чек [14:56:36]line ПРОДАЖА [14:56:36]line Товар: 48743587 [14:56:36]line Сигареты Winston XStyle Silver [14:56:36]line 1.000 * 144.00 [14:56:36]line = 144.00 [14:56:36]line НДС 12% НСП 1% [14:56:36]line > о реализуемом товаре [14:56:36]line ИТОГО: 144.00 [14:56:36]line НСП 1% : 1.27 [14:56:36]line НДС 12% : 15.29 [14:56:36]line Наличными: 144.00 [14:56:36]line Безнал.: 0.00 [14:56:36]line Место: АЗС № 126 "Партнер Нефть" [14:56:36]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [14:56:36]line СНО: Общий режим [14:56:36]line Чек 43 27.10.2024 14:56 [14:56:36]line Смена: 550 ФФД: 1.0 [14:56:36]line ЗНМ: 0300000092 [14:56:36]line РНМ: 0000000000091684 [14:56:36]line Версия ККМ: 001 [14:56:36]line ФМ: 0000000000871841 [14:56:36]line ФД: 37717 [14:56:36]line ФПД: 20224191620136 [14:56:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T145638&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37717&fm=20224191620136&tin=02508201610067®Number=0000000000091684&sum=14400 [14:56:36]line 0 [14:56:37]written 0, free lines is 4095 [14:56:37]OFD Sender: Processing packet 37717 [packets to send 42, broken 41] [14:56:37]ProducePacketName [14:56:37]name=ofd_packets/00037717 [14:56:37]OFD Sender: To server: pG, [14:56:37]CommunicateWithHost lk.salyk.kg:30040 [14:56:37]ConnectInit lk.salyk.kg [14:56:37]Connected sock=10 [14:56: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 27 01 00 00 6F DD 1F 01 05 8B 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 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 2B 00 00 00 F4 03 04 00 A6 54 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 55 93 00 00 35 04 06 00 12 64 CF C1 E4 28 AF EA F5 CB 08 2C A9 42 [14:56:37]Write to MH i2c: 01 00 00 40 0A 4A [14:56:37]Write i2c OK [14:56:37]MH_I2C_Read... [14:56:37]Read from MH i2c: 01 [14:56:37]MH_I2C_Read... [14:56:37]Read from MH i2c: 01 07 00 [14:56:37]MH_I2C_Read... [14:56:37]Read from MH i2c: 01 07 00 40 0A 00 00 00 00 00 AC 0C 09 [14:56:37]RasterBufferAndPrint [14:56:37]line [14:56:37]line [14:56:37]line [14:56:37]line [14:56:37]line [14:56:37]written 0, free lines is 3247 [14:56:37]MH_Cut [14:56:37]Write to MH i2c: D1 01 00 47 0A 01 23 [14:56:37]Write i2c OK [14:56:37]MH_I2C_Read... [14:56:37]Read from MH i2c: D1 [14:56:37]MH_I2C_Read... [14:56:37]Read from MH i2c: D1 01 00 [14:56:37]MH_I2C_Read... [14:56:37]Read from MH i2c: D1 01 00 47 0A 00 22 [14:56:37]Write to MH i2c: 01 00 00 48 0A 52 [14:56:37]Write i2c OK [14:56:37]MH_I2C_Read... [14:56:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 CC 05 47 00 B6 CA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 55 93 00 00 F4 03 04 00 9D FF 1D 67 B6 04 01 00 00 9A EB C0 D5 4C 0F 84 43 [14:56:37]CommunicateWithHost err = 0 [14:56:37]CheckOFDResponse [14:56:37]1017 (14) - 77093643461234 [14:56:37]1041 (16) - 0000000000871841 [14:56:37]1040 (4) - 37717 [14:56:37]1012 (4) - 27.10.2024 08:53 [14:56:37]1206 (1) - 0 [14:56:37]OFD Sender: Remove packet 37717 [14:56:37]ProducePacketName [14:56:37]name=ofd_packets/00037717 [14:56:37]NVStorageDeleteData [14:56:38]OFD Sender: No OFD packet to send [14:56:38]*** Cut start [14:56:38]*** Partial cut [14:56:38]*** CUTSNS_PIN = 1 [14:56:38]*** CUTSNS_PIN = 0 [14:56:38]*** Brake cut motor [14:56:39]Read from MH i2c: 01 [14:56:39]MH_I2C_Read... [14:56:39]*** Stop cut motor [14:56:39]*** Cut end [14:56:39]Read from MH i2c: 01 07 00 [14:56:39]MH_I2C_Read... [14:56:39]Read from MH i2c: 01 07 00 48 0A 00 00 00 00 00 FF 0F 67 [14:56:39]process_action close_receipt done [14:56:39]requested_data is exist [14:56:39]produce_requested_data [14:56:39]requested_item fm.sn is exist - process it [14:56:39]wFMCommunicate request_size=4 [14:56:39]MH_SAM_APDU [14:56:39]CAPDU: 80 11 00 00 [14:56:39]Write to MH i2c: E2 08 00 49 0A 80 11 00 00 00 00 00 00 CD [14:56:39]Write i2c OK [14:56:39]MH_I2C_Read... [14:56:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:56:39]Read from MH i2c: E2 [14:56:39]MH_I2C_Read... [14:56:39]Read from MH i2c: E2 17 00 [14:56:39]MH_I2C_Read... [14:56:39]Read from MH i2c: E2 17 00 49 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 1D [14:56:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [14:56:39]wFMCommunicate OK [14:56:39]requested_item fd.num is exist - process it [14:56:39]SAM_PROTO_GetFieldsCounters [14:56:39]wFMCommunicate request_size=4 [14:56:39]MH_SAM_APDU [14:56:39]CAPDU: 80 13 00 00 [14:56:39]Write to MH i2c: E2 08 00 4A 0A 80 13 00 00 00 00 00 00 D0 [14:56:39]Write i2c OK [14:56:39]MH_I2C_Read... [14:56:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:56:39]Read from MH i2c: E2 [14:56:39]MH_I2C_Read... [14:56:39]Read from MH i2c: E2 62 00 [14:56:39]MH_I2C_Read... [14:56:39]Read from MH i2c: E2 62 00 4A 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 55 93 00 00 0E 04 04 00 26 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 82 [14:56: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 55 93 00 00 0E 04 04 00 26 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 [14:56:39]wFMCommunicate OK [14:56:39]SAM_PROTO_GetFieldsCounters done [14:56:39]requested_item shift.num is exist - process it [14:56:39]requested_item shift.opened is exist - process it [14:56:39]req_shift_opened [14:56:39]FM_GetShiftState [14:56:39]SAM_PROTO_GetShiftState [14:56:39]wFMCommunicate request_size=4 [14:56:39]MH_SAM_APDU [14:56:39]CAPDU: 80 13 01 00 [14:56:39]Write to MH i2c: E2 08 00 4B 0A 80 13 01 00 00 00 00 00 D2 [14:56:39]Write i2c OK [14:56:39]MH_I2C_Read... [14:56:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:56:39]Read from MH i2c: E2 [14:56:39]MH_I2C_Read... [14:56:39]Read from MH i2c: E2 0E 00 [14:56:39]MH_I2C_Read... [14:56:39]Read from MH i2c: E2 0E 00 4B 0A 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 89 [14:56:39]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [14:56:39]wFMCommunicate OK [14:56:39]SAM_PROTO_GetShiftState done [14:56:39]FM_GetShiftState done [14:56:39]req_shift_opened done [14:56:39]requested_item shift.open_date is exist - process it [14:56:39]req_shift_open_date [14:56:39]req_shift_open_date done [14:56:39]produce_requested_data done [14:56:39]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37717,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [14:56:39]process_action_free close_receipt [14:56:39]json_value_free [14:56:39]json_value_free done [14:56:39]process_json_proto returns [14:56:39]Send response to host [14:56:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37717,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [14:56:39]free response buf [14:56:39]execute_script done [14:56:39]execute_script returns [14:56:39]free content buf [14:56:39]Sock 7.Close socket [14:56:39]Sock 7.Thread stoped [14:56:43]OFD Sender: No OFD packet to send [14:56:48]OFD Sender: No OFD packet to send [14:56:53]OFD Sender: No OFD packet to send [14:56:58]OFD Sender: No OFD packet to send [14:57:03]OFD Sender: No OFD packet to send [14:57:08]OFD Sender: No OFD packet to send [14:57:13]OFD Sender: No OFD packet to send [14:57:18]OFD Sender: No OFD packet to send [14:57:23]OFD Sender: No OFD packet to send [14:57:28]OFD Sender: No OFD packet to send [14:57:33]OFD Sender: No OFD packet to send [14:57:38]OFD Sender: No OFD packet to send [14:57:43]OFD Sender: No OFD packet to send [14:57:48]OFD Sender: No OFD packet to send [14:57:53]OFD Sender: No OFD packet to send [14:57:58]OFD Sender: No OFD packet to send [14:58:03]OFD Sender: No OFD packet to send [14:58:08]OFD Sender: No OFD packet to send [14:58:13]OFD Sender: No OFD packet to send [14:58:18]OFD Sender: No OFD packet to send [14:58:23]OFD Sender: No OFD packet to send [14:58:28]OFD Sender: No OFD packet to send [14:58:33]OFD Sender: No OFD packet to send [14:58:38]OFD Sender: No OFD packet to send [14:58:43]OFD Sender: No OFD packet to send [14:58:48]OFD Sender: No OFD packet to send [14:58:53]OFD Sender: No OFD packet to send [14:58:58]OFD Sender: No OFD packet to send [14:59:03]OFD Sender: No OFD packet to send [14:59:08]OFD Sender: No OFD packet to send [14:59:13]OFD Sender: No OFD packet to send [14:59:18]OFD Sender: No OFD packet to send [14:59:23]OFD Sender: No OFD packet to send [14:59:28]OFD Sender: No OFD packet to send [14:59:33]OFD Sender: No OFD packet to send [14:59:38]OFD Sender: No OFD packet to send [14:59:43]OFD Sender: No OFD packet to send [14:59:48]OFD Sender: No OFD packet to send [14:59:53]OFD Sender: No OFD packet to send [14:59:58]OFD Sender: No OFD packet to send [15:00:03]OFD Sender: No OFD packet to send [15:00:08]OFD Sender: No OFD packet to send [15:00:13]OFD Sender: No OFD packet to send [15:00:18]OFD Sender: No OFD packet to send [15:00:23]OFD Sender: No OFD packet to send [15:00:28]OFD Sender: No OFD packet to send [15:00:33]OFD Sender: No OFD packet to send [15:00:38]OFD Sender: No OFD packet to send [15:00:43]OFD Sender: No OFD packet to send [15:00:48]OFD Sender: No OFD packet to send [15:00:53]OFD Sender: No OFD packet to send [15:00:58]OFD Sender: No OFD packet to send [15:01:03]OFD Sender: No OFD packet to send [15:01:08]OFD Sender: No OFD packet to send [15:01:13]OFD Sender: No OFD packet to send [15:01:18]OFD Sender: No OFD packet to send [15:01:23]OFD Sender: No OFD packet to send [15:01:28]OFD Sender: No OFD packet to send [15:01:33]OFD Sender: No OFD packet to send [15:01:38]OFD Sender: No OFD packet to send [15:01:43]OFD Sender: No OFD packet to send [15:01:48]OFD Sender: No OFD packet to send [15:01:53]OFD Sender: No OFD packet to send [15:01:58]OFD Sender: No OFD packet to send [15:02:03]OFD Sender: No OFD packet to send [15:02:08]OFD Sender: No OFD packet to send [15:02:13]OFD Sender: No OFD packet to send [15:02:18]OFD Sender: No OFD packet to send [15:02:23]OFD Sender: No OFD packet to send [15:02:28]OFD Sender: No OFD packet to send [15:02:33]OFD Sender: No OFD packet to send [15:02:38]OFD Sender: No OFD packet to send [15:02:43]OFD Sender: No OFD packet to send [15:02:48]OFD Sender: No OFD packet to send [15:02:53]OFD Sender: No OFD packet to send [15:02:58]OFD Sender: No OFD packet to send [15:03:03]OFD Sender: No OFD packet to send [15:03:08]OFD Sender: No OFD packet to send [15:03:13]OFD Sender: No OFD packet to send [15:03:18]OFD Sender: No OFD packet to send [15:03:23]OFD Sender: No OFD packet to send [15:03:28]OFD Sender: No OFD packet to send [15:03:33]OFD Sender: No OFD packet to send [15:03:38]OFD Sender: No OFD packet to send [15:03:43]OFD Sender: No OFD packet to send [15:03:48]OFD Sender: No OFD packet to send [15:03:53]OFD Sender: No OFD packet to send [15:03:58]OFD Sender: No OFD packet to send [15:04:03]OFD Sender: No OFD packet to send [15:04:08]OFD Sender: No OFD packet to send [15:04:13]OFD Sender: No OFD packet to send [15:04:18]OFD Sender: No OFD packet to send [15:04:23]OFD Sender: No OFD packet to send [15:04:28]OFD Sender: No OFD packet to send [15:04:33]OFD Sender: No OFD packet to send [15:04:38]OFD Sender: No OFD packet to send [15:04:43]OFD Sender: No OFD packet to send [15:04:48]OFD Sender: No OFD packet to send [15:04:53]OFD Sender: No OFD packet to send [15:04:58]OFD Sender: No OFD packet to send [15:05:03]OFD Sender: No OFD packet to send [15:05:08]OFD Sender: No OFD packet to send [15:05:13]OFD Sender: No OFD packet to send [15:05:18]OFD Sender: No OFD packet to send [15:05:23]OFD Sender: No OFD packet to send [15:05:28]OFD Sender: No OFD packet to send [15:05:33]OFD Sender: No OFD packet to send [15:05:38]OFD Sender: No OFD packet to send [15:05:43]OFD Sender: No OFD packet to send [15:05:48]OFD Sender: No OFD packet to send [15:05:53]OFD Sender: No OFD packet to send [15:05:58]OFD Sender: No OFD packet to send [15:06:03]OFD Sender: No OFD packet to send [15:06:08]OFD Sender: No OFD packet to send [15:06:13]OFD Sender: No OFD packet to send [15:06:18]OFD Sender: No OFD packet to send [15:06:23]OFD Sender: No OFD packet to send [15:06:28]OFD Sender: No OFD packet to send [15:06:33]OFD Sender: No OFD packet to send [15:06:38]OFD Sender: No OFD packet to send [15:06:43]OFD Sender: No OFD packet to send [15:06:48]OFD Sender: No OFD packet to send [15:06:53]OFD Sender: No OFD packet to send [15:06:58]OFD Sender: No OFD packet to send [15:07:03]OFD Sender: No OFD packet to send [15:07:08]OFD Sender: No OFD packet to send [15:07:13]OFD Sender: No OFD packet to send [15:07:18]OFD Sender: No OFD packet to send [15:07:23]OFD Sender: No OFD packet to send [15:07:28]OFD Sender: No OFD packet to send [15:07:33]OFD Sender: No OFD packet to send [15:07:38]OFD Sender: No OFD packet to send [15:07:43]OFD Sender: No OFD packet to send [15:07:48]OFD Sender: No OFD packet to send [15:07:53]OFD Sender: No OFD packet to send [15:07:58]OFD Sender: No OFD packet to send [15:08:03]OFD Sender: No OFD packet to send [15:08:08]OFD Sender: No OFD packet to send [15:08:13]OFD Sender: No OFD packet to send [15:08:18]OFD Sender: No OFD packet to send [15:08:23]OFD Sender: No OFD packet to send [15:08:28]OFD Sender: No OFD packet to send [15:08:33]OFD Sender: No OFD packet to send [15:08:38]OFD Sender: No OFD packet to send [15:08:43]OFD Sender: No OFD packet to send [15:08:48]OFD Sender: No OFD packet to send [15:08:54]OFD Sender: No OFD packet to send [15:08:59]OFD Sender: No OFD packet to send [15:09:04]OFD Sender: No OFD packet to send [15:09:09]OFD Sender: No OFD packet to send [15:09:14]OFD Sender: No OFD packet to send [15:09:19]OFD Sender: No OFD packet to send [15:09:24]OFD Sender: No OFD packet to send [15:09:29]OFD Sender: No OFD packet to send [15:09:34]OFD Sender: No OFD packet to send [15:09:39]OFD Sender: No OFD packet to send [15:09:44]OFD Sender: No OFD packet to send [15:09:49]OFD Sender: No OFD packet to send [15:09:54]OFD Sender: No OFD packet to send [15:09:59]OFD Sender: No OFD packet to send [15:10:04]OFD Sender: No OFD packet to send [15:10:09]OFD Sender: No OFD packet to send [15:10:14]OFD Sender: No OFD packet to send [15:10:19]OFD Sender: No OFD packet to send [15:10:24]OFD Sender: No OFD packet to send [15:10:29]OFD Sender: No OFD packet to send [15:10:34]OFD Sender: No OFD packet to send [15:10:39]OFD Sender: No OFD packet to send [15:10:44]OFD Sender: No OFD packet to send [15:10:49]OFD Sender: No OFD packet to send [15:10:54]OFD Sender: No OFD packet to send [15:10:59]OFD Sender: No OFD packet to send [15:11:04]OFD Sender: No OFD packet to send [15:11:09]OFD Sender: No OFD packet to send [15:11:14]OFD Sender: No OFD packet to send [15:11:19]OFD Sender: No OFD packet to send [15:11:24]OFD Sender: No OFD packet to send [15:11:29]OFD Sender: No OFD packet to send [15:11:34]OFD Sender: No OFD packet to send [15:11:39]OFD Sender: No OFD packet to send [15:11:44]OFD Sender: No OFD packet to send [15:11:49]OFD Sender: No OFD packet to send [15:11:54]OFD Sender: No OFD packet to send [15:11:59]OFD Sender: No OFD packet to send [15:12:04]OFD Sender: No OFD packet to send [15:12:09]OFD Sender: No OFD packet to send [15:12:14]OFD Sender: No OFD packet to send [15:12:19]OFD Sender: No OFD packet to send [15:12:24]OFD Sender: No OFD packet to send [15:12:29]OFD Sender: No OFD packet to send [15:12:34]OFD Sender: No OFD packet to send [15:12:39]OFD Sender: No OFD packet to send [15:12:44]OFD Sender: No OFD packet to send [15:12:49]OFD Sender: No OFD packet to send [15:12:54]OFD Sender: No OFD packet to send [15:12:59]OFD Sender: No OFD packet to send [15:13:04]OFD Sender: No OFD packet to send [15:13:09]OFD Sender: No OFD packet to send [15:13:14]OFD Sender: No OFD packet to send [15:13:19]OFD Sender: No OFD packet to send [15:13:24]OFD Sender: No OFD packet to send [15:13:29]OFD Sender: No OFD packet to send [15:13:34]OFD Sender: No OFD packet to send [15:13:39]OFD Sender: No OFD packet to send [15:13:44]OFD Sender: No OFD packet to send [15:13:49]OFD Sender: No OFD packet to send [15:13:54]OFD Sender: No OFD packet to send [15:13:59]OFD Sender: No OFD packet to send [15:14:04]OFD Sender: No OFD packet to send [15:14:09]OFD Sender: No OFD packet to send [15:14:14]OFD Sender: No OFD packet to send [15:14:19]OFD Sender: No OFD packet to send [15:14:24]OFD Sender: No OFD packet to send [15:14:29]OFD Sender: No OFD packet to send [15:14:34]OFD Sender: No OFD packet to send [15:14:39]OFD Sender: No OFD packet to send [15:14:44]OFD Sender: No OFD packet to send [15:14:49]OFD Sender: No OFD packet to send [15:14:54]OFD Sender: No OFD packet to send [15:14:59]OFD Sender: No OFD packet to send [15:15:04]OFD Sender: No OFD packet to send [15:15:09]OFD Sender: No OFD packet to send [15:15:14]OFD Sender: No OFD packet to send [15:15:19]OFD Sender: No OFD packet to send [15:15:24]OFD Sender: No OFD packet to send [15:15:29]OFD Sender: No OFD packet to send [15:15:34]OFD Sender: No OFD packet to send [15:15:39]OFD Sender: No OFD packet to send [15:15:44]OFD Sender: No OFD packet to send [15:15:49]OFD Sender: No OFD packet to send [15:15:54]OFD Sender: No OFD packet to send [15:15:59]OFD Sender: No OFD packet to send [15:16:04]OFD Sender: No OFD packet to send [15:16:09]OFD Sender: No OFD packet to send [15:16:14]OFD Sender: No OFD packet to send [15:16:19]OFD Sender: No OFD packet to send [15:16:24]OFD Sender: No OFD packet to send [15:16:29]OFD Sender: No OFD packet to send [15:16:34]OFD Sender: No OFD packet to send [15:16:39]OFD Sender: No OFD packet to send [15:16:44]OFD Sender: No OFD packet to send [15:16:49]OFD Sender: No OFD packet to send [15:16:54]OFD Sender: No OFD packet to send [15:16:59]OFD Sender: No OFD packet to send [15:17:04]OFD Sender: No OFD packet to send [15:17:09]OFD Sender: No OFD packet to send [15:17:14]OFD Sender: No OFD packet to send [15:17:19]OFD Sender: No OFD packet to send [15:17:24]OFD Sender: No OFD packet to send [15:17:29]OFD Sender: No OFD packet to send [15:17:34]OFD Sender: No OFD packet to send [15:17:39]OFD Sender: No OFD packet to send [15:17:44]OFD Sender: No OFD packet to send [15:17:49]OFD Sender: No OFD packet to send [15:17:54]OFD Sender: No OFD packet to send [15:17:59]OFD Sender: No OFD packet to send [15:18:04]OFD Sender: No OFD packet to send [15:18:09]OFD Sender: No OFD packet to send [15:18:14]OFD Sender: No OFD packet to send [15:18:19]OFD Sender: No OFD packet to send [15:18:24]OFD Sender: No OFD packet to send [15:18:29]OFD Sender: No OFD packet to send [15:18:34]OFD Sender: No OFD packet to send [15:18:39]OFD Sender: No OFD packet to send [15:18:44]OFD Sender: No OFD packet to send [15:18:49]OFD Sender: No OFD packet to send [15:18:54]OFD Sender: No OFD packet to send [15:18:59]OFD Sender: No OFD packet to send [15:19:04]OFD Sender: No OFD packet to send [15:19:09]OFD Sender: No OFD packet to send [15:19:14]OFD Sender: No OFD packet to send [15:19:19]OFD Sender: No OFD packet to send [15:19:24]OFD Sender: No OFD packet to send [15:19:29]OFD Sender: No OFD packet to send [15:19:34]OFD Sender: No OFD packet to send [15:19:39]OFD Sender: No OFD packet to send [15:19:44]OFD Sender: No OFD packet to send [15:19:49]OFD Sender: No OFD packet to send [15:19:54]OFD Sender: No OFD packet to send [15:19:59]OFD Sender: No OFD packet to send [15:20:04]OFD Sender: No OFD packet to send [15:20:09]OFD Sender: No OFD packet to send [15:20:14]OFD Sender: No OFD packet to send [15:20:17]accept exits with 9 [15:20:17]New connection [15:20:17]New thread 3067297124 created [15:20:17]Thread 3067440484 joined [15:20:17]Waiting for new connection... [15:20:17] Sock 9.Parse request [15:20:17]Sock 9.Check first char [15:20:17]Sock 9.First char is OK [15:20:17]request: POST /json_proto HTTP/1.0 [15:20:17]Method: POST [15:20:17]URL: /json_proto [15:20:17]Method is POST - this is cgi request [15:20:17]url: /json_proto [15:20:17]query_string will be loaded in cgi processing [15:20:17]execute_cgi json_proto POST (null) [15:20:17]execute_cgi path=json_proto method=POST [15:20:17]POST find Content-Length [15:20:17]Host: 172.17.40.196:8080 [15:20:17]Content-Length: 1125 [15:20:17]Content-Type: application/json [15:20:17] [15:20:17]POST finish read [15:20:17]Found Content-Length = 1125 [15:20:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35016", "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 }]} ,{ "code": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 149.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:20:17]execute_script... [15:20: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)35016", "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 }]} ,{ "code": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 149.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:20:17]POST & json_proto [15:20:17]process_json_proto [15:20:17]json parsed OK: [15:20:17]protocol is kg_v1.0 [15:20:17]action value=close_receipt [15:20:17]process_action close_receipt [15:20:17]cmd_close_receipt [15:20:17]MH_GetDate [15:20:17]Write to MH i2c: F0 00 00 4C 0A 45 [15:20:17]Write i2c OK [15:20:17]MH_I2C_Read... [15:20:17]Read from MH i2c: F0 [15:20:17]MH_I2C_Read... [15:20:17]Read from MH i2c: F0 09 00 [15:20:17]MH_I2C_Read... [15:20:17]Read from MH i2c: F0 09 00 4C 0A 00 34 5A 1E 67 5B 68 A1 66 2B [15:20:17]GetLastDocTimeStamp 1730040998 [15:20:17]current date 1730042420 [15:20:17]FM_GetShiftState [15:20:17]SAM_PROTO_GetShiftState [15:20:17]wFMCommunicate request_size=4 [15:20:17]MH_SAM_APDU [15:20:17]CAPDU: 80 13 01 00 [15:20:17]Write to MH i2c: E2 08 00 4D 0A 80 13 01 00 00 00 00 00 D4 [15:20:17]Write i2c OK [15:20:17]MH_I2C_Read... [15:20:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:20:17]Read from MH i2c: E2 [15:20:17]MH_I2C_Read... [15:20:17]Read from MH i2c: E2 0E 00 [15:20:17]MH_I2C_Read... [15:20:17]Read from MH i2c: E2 0E 00 4D 0A 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 8B [15:20:17]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [15:20:17]wFMCommunicate OK [15:20:17]SAM_PROTO_GetShiftState done [15:20:17]FM_GetShiftState done [15:20:17]opened in 1729987492 [15:20:17]opened+sec_in_day 1730073892 [15:20:17]quantity*price = 5000 [15:20:17]sum+1 = 5001 [15:20:17]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 50173808 Жев Orbit Sweet Mint 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4011100977952 Шок Батончик Твикс 55г 1.000 * 54.00 = 54.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 149.00 НСП 1% : 1.32 НДС 12% : 15.82 Наличными: 149.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 44 27.10.2024 15:20 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37718 ФПД: 60953074834051 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T152020&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37718&fm=60953074834051&tin=02508201610067®Number=0000000000091684&sum=14900 0 [15:20:18]StoreToDocumentArchive [15:20:18]shift 550 fd 37718 [15:20:18]save to /storage/0550/doc_00037718 [15:20:18]save last doc name /storage/0550/doc_00037718 to /storage/kkm_last_doc_name [15:20:18]save OK [15:20:18]Clear old archive folders... [15:20:18]ProcessDocumentItem done err = 0, tmpTLVsize=476 [15:20:18]tlvbuf is 00225800 [15:20:18]SAM_PROTO_ClearQueue [15:20:18]wFMCommunicate request_size=4 [15:20:18]MH_SAM_APDU [15:20:18]CAPDU: 80 09 00 00 [15:20:18]Write to MH i2c: E2 08 00 5A 0A 80 09 00 00 00 00 00 00 D6 [15:20:18]Write i2c OK [15:20:18]MH_I2C_Read... [15:20:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:20:18]Read from MH i2c: E2 [15:20:18]MH_I2C_Read... [15:20:18]Read from MH i2c: E2 03 00 [15:20:18]MH_I2C_Read... [15:20:18]Read from MH i2c: E2 03 00 5A 0A 00 90 00 D8 [15:20:18]RAPDU: 90 00 [15:20:18]wFMCommunicate OK [15:20:18]SAM_PROTO_ClearQueue done [15:20:18]KKMCreateOFDPacket [15:20:18]OFDProtocolAddRootSTLVToBuf [15:20:18]FM_MakeSignedData [15:20:18]FM_MakeSignedData [15:20:18]SAM_PROTO_SignData [15:20:18]wFMCommunicate request_size=4 [15:20:18]MH_SAM_APDU [15:20:18]CAPDU: 80 0D 01 02 [15:20:18]Write to MH i2c: E2 08 00 5B 0A 80 0D 01 02 00 00 00 00 DE [15:20:18]Write i2c OK [15:20:18]MH_I2C_Read... [15:20:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:20:19]Read from MH i2c: E2 [15:20:19]MH_I2C_Read... [15:20:19]Read from MH i2c: E2 03 00 [15:20:19]MH_I2C_Read... [15:20:19]Read from MH i2c: E2 03 00 5B 0A 00 90 00 D9 [15:20:19]RAPDU: 90 00 [15:20:19]wFMCommunicate OK [15:20:19]wFMCommunicate request_size=255 [15:20:19]MH_SAM_APDU [15:20:19]CAPDU: 80 0D 02 02 FA 03 00 DC 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 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 [15:20:19]Write to MH i2c: E2 02 01 5C 0A 80 0D 02 02 FA 00 03 00 DC 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 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 46 [15:20:19]Write i2c OK [15:20:19]MH_I2C_Read... [15:20:19]OFD Sender: No OFD packet to send [15:20:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:20:19]Read from MH i2c: E2 [15:20:19]MH_I2C_Read... [15:20:19]Read from MH i2c: E2 03 00 [15:20:19]MH_I2C_Read... [15:20:19]Read from MH i2c: E2 03 00 5C 0A 00 90 00 DA [15:20:19]RAPDU: 90 00 [15:20:19]wFMCommunicate OK [15:20:19]wFMCommunicate request_size=235 [15:20:19]MH_SAM_APDU [15:20:19]CAPDU: 80 0D 02 02 E6 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 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 2C 00 00 00 F4 03 04 00 34 5A 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 56 93 00 00 35 04 06 00 37 6F BE 5F 9A 83 [15:20:19]Write to MH i2c: E2 EE 00 5D 0A 80 0D 02 02 E6 00 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 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 2C 00 00 00 F4 03 04 00 34 5A 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 56 93 00 00 35 04 06 00 37 6F BE 5F 9A 83 00 00 26 [15:20:19]Write i2c OK [15:20:19]MH_I2C_Read... [15:20:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:20:19]Read from MH i2c: E2 [15:20:19]MH_I2C_Read... [15:20:19]Read from MH i2c: E2 03 00 [15:20:19]MH_I2C_Read... [15:20:19]Read from MH i2c: E2 03 00 5D 0A 00 90 00 DB [15:20:19]RAPDU: 90 00 [15:20:19]wFMCommunicate OK [15:20:19]wFMCommunicate request_size=4 [15:20:19]MH_SAM_APDU [15:20:19]CAPDU: 80 0D 03 02 [15:20:19]Write to MH i2c: E2 08 00 5E 0A 80 0D 03 02 00 00 00 00 E3 [15:20:19]Write i2c OK [15:20:19]MH_I2C_Read... [15:20:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:20:19]Read from MH i2c: E2 [15:20:19]MH_I2C_Read... [15:20:19]Read from MH i2c: E2 0B 00 [15:20:19]MH_I2C_Read... [15:20:19]Read from MH i2c: E2 0B 00 5E 0A 00 FD 85 E0 68 1D 6F 12 00 90 00 4C [15:20:19]RAPDU: FD 85 E0 68 1D 6F 12 00 90 00 [15:20:19]wFMCommunicate OK [15:20:19]SAM_PROTO_SignData done [15:20:19]FM_MakeSignedData done [15:20:19]CreateOFDProtocolMessage [15:20:19]wFMCommunicate request_size=4 [15:20:19]MH_SAM_APDU [15:20:19]CAPDU: 80 11 00 00 [15:20:19]Write to MH i2c: E2 08 00 5F 0A 80 11 00 00 00 00 00 00 E3 [15:20:19]Write i2c OK [15:20:19]MH_I2C_Read... [15:20:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:20:19]Read from MH i2c: E2 [15:20:19]MH_I2C_Read... [15:20:19]Read from MH i2c: E2 17 00 [15:20:19]MH_I2C_Read... [15:20:19]Read from MH i2c: E2 17 00 5F 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 33 [15:20:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:20:19]wFMCommunicate OK [15:20:19]CreateOFDProtocolMessage done [15:20:19]OFDSenderStorePacket 37718 [15:20:19]StoreOFDPacket docnum=37718 [15:20: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 F0 01 00 00 B3 91 E8 01 10 E8 5A 03 01 00 03 00 DC 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 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 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 2C 00 00 00 F4 03 04 00 34 5A 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 56 93 00 00 35 04 06 00 37 6F BE 5F 9A 83 FD 85 E0 68 1D 6F 12 00 [15:20:19]CheckFolder [15:20:19]dirname=/storage/ofd_packets [15:20:19]CheckFolder done [15:20:19]ProducePacketName [15:20:19]name=ofd_packets/00037718 [15:20:19]NVStorageSaveData ofd_packets/00037718 [15:20:19]File name is /storage/ofd_packets/00037718 [15:20:19]Write 526 bytes [15:20:19]NVStorageSaveData done [15:20:19]OFDSenderStorePacket done [15:20:19]KKMCreateOFDPacket done [15:20:19]NVStorageSaveData kkm_last_timestamp [15:20:19]File name is /storage/kkm_last_timestamp [15:20:19]Write 4 bytes [15:20:19]NVStorageSaveData done [15:20:19]ExternCall_PrintAddStr [15:20:19]wPrintStart [15:20:20]Write to MH i2c: 01 00 00 60 0A 6A [15:20:20]Write i2c OK [15:20:20]MH_I2C_Read... [15:20:20]Read from MH i2c: 01 [15:20:20]MH_I2C_Read... [15:20:20]Read from MH i2c: 01 07 00 [15:20:20]MH_I2C_Read... [15:20:20]Read from MH i2c: 01 07 00 60 0A 00 00 00 00 00 FF 0F 7F [15:20:20]RasterBufferAndPrint [15:20:20]line Счет N : (3)35016 [15:20:20]line ИНН: 02508201610067 [15:20:20]line Контрольно-Кассовый Чек [15:20:20]line ПРОДАЖА [15:20:20]line Товар: 5449000005489 [15:20:20]line Вода Бонаква 1л б/г [15:20:20]line 1.000 * 50.00 [15:20:20]line = 50.00 [15:20:20]line НДС 12% НСП 1% [15:20:20]line > о реализуемом товаре [15:20:20]line Товар: 50173808 [15:20:20]line Жев Orbit Sweet Mint [15:20:20]line 1.000 * 45.00 [15:20:20]line = 45.00 [15:20:20]line НДС 12% НСП 1% [15:20:20]line > о реализуемом товаре [15:20:20]line Товар: 4011100977952 [15:20:20]line Шок Батончик Твикс 55г [15:20:20]line 1.000 * 54.00 [15:20:20]line = 54.00 [15:20:20]line НДС 12% НСП 1% [15:20:20]line > о реализуемом товаре [15:20:20]line ИТОГО: 149.00 [15:20:20]line НСП 1% : 1.32 [15:20:20]line НДС 12% : 15.82 [15:20:20]line Наличными: 149.00 [15:20:20]line Безнал.: 0.00 [15:20:20]line Место: АЗС № 126 "Партнер Нефть" [15:20:20]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [15:20:20]line СНО: Общий режим [15:20:20]line Чек 44 27.10.2024 15:20 [15:20:20]line Смена: 550 ФФД: 1.0 [15:20:20]line ЗНМ: 0300000092 [15:20:20]line РНМ: 0000000000091684 [15:20:20]line Версия ККМ: 001 [15:20:20]line ФМ: 0000000000871841 [15:20:20]line ФД: 37718 [15:20:20]line ФПД: 60953074834051 [15:20:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T152020&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37718&fm=60953074834051&tin=02508201610067®Number=0000000000091684&sum=14900 [15:20:20]line 0 [15:20:20]written 0, free lines is 4095 [15:20:20]OFD Sender: Processing packet 37718 [packets to send 42, broken 41] [15:20:20]ProducePacketName [15:20:20]name=ofd_packets/00037718 [15:20:20]OFD Sender: To server: pG, [15:20:20]CommunicateWithHost lk.salyk.kg:30040 [15:20:20]ConnectInit lk.salyk.kg [15:20:20]Connected sock=10 [15:20: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 F0 01 00 00 B3 91 E8 01 10 E8 5A 03 01 00 03 00 DC 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 23 04 56 00 8A 04 08 00 35 30 31 37 33 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 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 2C 00 00 00 F4 03 04 00 34 5A 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 56 93 00 00 35 04 06 00 37 6F BE 5F 9A 83 FD 85 E0 68 1D 6F 12 00 [15:20:20]Write to MH i2c: 01 00 00 94 0A 9E [15:20:20]Write i2c OK [15:20:20]MH_I2C_Read... [15:20:20]Read from MH i2c: 01 [15:20:20]MH_I2C_Read... [15:20:20]Read from MH i2c: 01 07 00 [15:20:20]MH_I2C_Read... [15:20:20]Read from MH i2c: 01 07 00 94 0A 00 00 00 00 00 0C 0C BD [15:20:20]RasterBufferAndPrint [15:20:20]line [15:20:20]line [15:20:20]line [15:20:20]line [15:20:20]line [15:20:20]written 0, free lines is 3090 [15:20: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 FE 15 47 00 28 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 56 93 00 00 F4 03 04 00 2C 05 1E 67 B6 04 01 00 00 33 33 D2 00 98 7A B3 D5 [15:20:20]CommunicateWithHost err = 0 [15:20:20]CheckOFDResponse [15:20:20]1017 (14) - 77093643461234 [15:20:20]1041 (16) - 0000000000871841 [15:20:20]1040 (4) - 37718 [15:20:20]1012 (4) - 27.10.2024 09:17 [15:20:20]1206 (1) - 0 [15:20:20]OFD Sender: Remove packet 37718 [15:20:20]ProducePacketName [15:20:20]name=ofd_packets/00037718 [15:20:20]NVStorageDeleteData [15:20:20]MH_Cut [15:20:20]Write to MH i2c: D1 01 00 9B 0A 01 77 [15:20:20]Write i2c OK [15:20:20]MH_I2C_Read... [15:20:20]Read from MH i2c: D1 [15:20:20]MH_I2C_Read... [15:20:20]Read from MH i2c: D1 01 00 [15:20:20]MH_I2C_Read... [15:20:20]Read from MH i2c: D1 01 00 9B 0A 00 76 [15:20:20]Write to MH i2c: 01 00 00 9C 0A A6 [15:20:20]Write i2c OK [15:20:20]MH_I2C_Read... [15:20:21]OFD Sender: No OFD packet to send [15:20:21]*** Cut start [15:20:21]*** Partial cut [15:20:21]*** CUTSNS_PIN = 1 [15:20:21]*** CUTSNS_PIN = 0 [15:20:21]*** Brake cut motor [15:20:22]Read from MH i2c: 01 [15:20:22]MH_I2C_Read... [15:20:22]*** Stop cut motor [15:20:22]*** Cut end [15:20:22]Read from MH i2c: 01 07 00 [15:20:22]MH_I2C_Read... [15:20:22]Read from MH i2c: 01 07 00 9C 0A 00 00 00 00 00 FF 0F BB [15:20:22]process_action close_receipt done [15:20:22]requested_data is exist [15:20:22]produce_requested_data [15:20:22]requested_item fm.sn is exist - process it [15:20:22]wFMCommunicate request_size=4 [15:20:22]MH_SAM_APDU [15:20:22]CAPDU: 80 11 00 00 [15:20:22]Write to MH i2c: E2 08 00 9D 0A 80 11 00 00 00 00 00 00 21 [15:20:22]Write i2c OK [15:20:22]MH_I2C_Read... [15:20:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:20:22]Read from MH i2c: E2 [15:20:22]MH_I2C_Read... [15:20:22]Read from MH i2c: E2 17 00 [15:20:22]MH_I2C_Read... [15:20:22]Read from MH i2c: E2 17 00 9D 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 71 [15:20:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:20:22]wFMCommunicate OK [15:20:22]requested_item fd.num is exist - process it [15:20:22]SAM_PROTO_GetFieldsCounters [15:20:22]wFMCommunicate request_size=4 [15:20:22]MH_SAM_APDU [15:20:22]CAPDU: 80 13 00 00 [15:20:22]Write to MH i2c: E2 08 00 9E 0A 80 13 00 00 00 00 00 00 24 [15:20:22]Write i2c OK [15:20:22]MH_I2C_Read... [15:20:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:20:22]Read from MH i2c: E2 [15:20:22]MH_I2C_Read... [15:20:22]Read from MH i2c: E2 62 00 [15:20:22]MH_I2C_Read... [15:20:22]Read from MH i2c: E2 62 00 9E 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 56 93 00 00 0E 04 04 00 26 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 DA [15:20: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 56 93 00 00 0E 04 04 00 26 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:20:22]wFMCommunicate OK [15:20:22]SAM_PROTO_GetFieldsCounters done [15:20:22]requested_item shift.num is exist - process it [15:20:22]requested_item shift.opened is exist - process it [15:20:22]req_shift_opened [15:20:22]FM_GetShiftState [15:20:22]SAM_PROTO_GetShiftState [15:20:22]wFMCommunicate request_size=4 [15:20:22]MH_SAM_APDU [15:20:22]CAPDU: 80 13 01 00 [15:20:22]Write to MH i2c: E2 08 00 9F 0A 80 13 01 00 00 00 00 00 26 [15:20:22]Write i2c OK [15:20:22]MH_I2C_Read... [15:20:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:20:22]Read from MH i2c: E2 [15:20:22]MH_I2C_Read... [15:20:22]Read from MH i2c: E2 0E 00 [15:20:22]MH_I2C_Read... [15:20:22]Read from MH i2c: E2 0E 00 9F 0A 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 DD [15:20:22]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [15:20:22]wFMCommunicate OK [15:20:22]SAM_PROTO_GetShiftState done [15:20:22]FM_GetShiftState done [15:20:22]req_shift_opened done [15:20:22]requested_item shift.open_date is exist - process it [15:20:22]req_shift_open_date [15:20:22]req_shift_open_date done [15:20:22]produce_requested_data done [15:20:22]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37718,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [15:20:22]process_action_free close_receipt [15:20:22]json_value_free [15:20:22]json_value_free done [15:20:22]process_json_proto returns [15:20:22]Send response to host [15:20:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37718,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [15:20:22]free response buf [15:20:22]execute_script done [15:20:22]execute_script returns [15:20:22]free content buf [15:20:22]Sock 9.Close socket [15:20:22]Sock 9.Thread stoped [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:37]accept exits with 7 [15:23:37]New connection [15:23:37]New thread 3067440484 created [15:23:37]Thread 3067297124 joined [15:23:37]Waiting for new connection... [15:23:37] Sock 7.Parse request [15:23:37]Sock 7.Check first char [15:23:37]Sock 7.First char is OK [15:23:37]request: POST /json_proto HTTP/1.0 [15:23:37]Method: POST [15:23:37]URL: /json_proto [15:23:37]Method is POST - this is cgi request [15:23:37]url: /json_proto [15:23:37]query_string will be loaded in cgi processing [15:23:37]execute_cgi json_proto POST (null) [15:23:37]execute_cgi path=json_proto method=POST [15:23:37]POST find Content-Length [15:23:37]Host: 172.17.40.196:8080 [15:23:37]Content-Length: 674 [15:23:37]Content-Type: application/json [15:23:37] [15:23:37]POST finish read [15:23:37]Found Content-Length = 674 [15:23:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35017", "tax_sys" : 0, "items" : [ { "code": "4870022003312", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 99.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:23:37]execute_script... [15:23:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35017", "tax_sys" : 0, "items" : [ { "code": "4870022003312", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 99.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:23:37]POST & json_proto [15:23:37]process_json_proto [15:23:37]json parsed OK: [15:23:37]protocol is kg_v1.0 [15:23:37]action value=close_receipt [15:23:37]process_action close_receipt [15:23:37]cmd_close_receipt [15:23:37]MH_GetDate [15:23:37]Write to MH i2c: F0 00 00 A0 0A 99 [15:23:37]Write i2c OK [15:23:37]MH_I2C_Read... [15:23:37]Read from MH i2c: F0 [15:23:37]MH_I2C_Read... [15:23:37]Read from MH i2c: F0 09 00 [15:23:37]MH_I2C_Read... [15:23:37]Read from MH i2c: F0 09 00 A0 0A 00 FC 5A 1E 67 5B 68 A1 66 47 [15:23:37]GetLastDocTimeStamp 1730042420 [15:23:37]current date 1730042620 [15:23:37]FM_GetShiftState [15:23:37]SAM_PROTO_GetShiftState [15:23:37]wFMCommunicate request_size=4 [15:23:37]MH_SAM_APDU [15:23:37]CAPDU: 80 13 01 00 [15:23:37]Write to MH i2c: E2 08 00 A1 0A 80 13 01 00 00 00 00 00 28 [15:23:37]Write i2c OK [15:23:37]MH_I2C_Read... [15:23:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:23:37]Read from MH i2c: E2 [15:23:37]MH_I2C_Read... [15:23:37]Read from MH i2c: E2 0E 00 [15:23:37]MH_I2C_Read... [15:23:37]Read from MH i2c: E2 0E 00 A1 0A 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 DF [15:23:37]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [15:23:37]wFMCommunicate OK [15:23:37]SAM_PROTO_GetShiftState done [15:23:37]FM_GetShiftState done [15:23:37]opened in 1729987492 [15:23:37]opened+sec_in_day 1730073892 [15:23:37]quantity*price = 9900 [15:23:37]sum+1 = 9901 [15:23:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 99.00 НСП 1% : 0.88 НДС 12% : 10.51 Наличными: 99.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 45 27.10.2024 15:23 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37719 ФПД: 17002054138404 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T152340&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37719&fm=17002054138404&tin=02508201610067®Number=0000000000091684&sum=9900 0 [15:23:38]StoreToDocumentArchive [15:23:38]shift 550 fd 37719 [15:23:38]save to /storage/0550/doc_00037719 [15:23:38]save last doc name /storage/0550/doc_00037719 to /storage/kkm_last_doc_name [15:23:38]save OK [15:23:38]Clear old archive folders... [15:23:38]ProcessDocumentItem done err = 0, tmpTLVsize=294 [15:23:38]tlvbuf is 0028BC00 [15:23:38]SAM_PROTO_ClearQueue [15:23:38]wFMCommunicate request_size=4 [15:23:38]MH_SAM_APDU [15:23:38]CAPDU: 80 09 00 00 [15:23:38]Write to MH i2c: E2 08 00 AE 0A 80 09 00 00 00 00 00 00 2A [15:23:38]Write i2c OK [15:23:38]MH_I2C_Read... [15:23:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:23:38]Read from MH i2c: E2 [15:23:38]MH_I2C_Read... [15:23:38]Read from MH i2c: E2 03 00 [15:23:38]MH_I2C_Read... [15:23:38]Read from MH i2c: E2 03 00 AE 0A 00 90 00 2C [15:23:38]RAPDU: 90 00 [15:23:38]wFMCommunicate OK [15:23:38]SAM_PROTO_ClearQueue done [15:23:38]KKMCreateOFDPacket [15:23:38]OFDProtocolAddRootSTLVToBuf [15:23:38]FM_MakeSignedData [15:23:38]FM_MakeSignedData [15:23:38]SAM_PROTO_SignData [15:23:38]wFMCommunicate request_size=4 [15:23:38]MH_SAM_APDU [15:23:38]CAPDU: 80 0D 01 02 [15:23:38]Write to MH i2c: E2 08 00 AF 0A 80 0D 01 02 00 00 00 00 32 [15:23:38]Write i2c OK [15:23:38]MH_I2C_Read... [15:23:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:23:38]Read from MH i2c: E2 [15:23:38]MH_I2C_Read... [15:23:38]Read from MH i2c: E2 03 00 [15:23:38]MH_I2C_Read... [15:23:38]Read from MH i2c: E2 03 00 AF 0A 00 90 00 2D [15:23:38]RAPDU: 90 00 [15:23:38]wFMCommunicate OK [15:23:38]wFMCommunicate request_size=255 [15:23:38]MH_SAM_APDU [15:23:38]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1B 04 00 00 00 00 07 04 06 00 AC 26 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 FC 5A 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [15:23:38]Write to MH i2c: E2 02 01 B0 0A 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1B 04 00 00 00 00 07 04 06 00 AC 26 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 FC 5A 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 6A [15:23:38]Write i2c OK [15:23:38]MH_I2C_Read... [15:23:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:23:38]Read from MH i2c: E2 [15:23:38]MH_I2C_Read... [15:23:38]Read from MH i2c: E2 03 00 [15:23:38]MH_I2C_Read... [15:23:38]Read from MH i2c: E2 03 00 B0 0A 00 90 00 2E [15:23:38]RAPDU: 90 00 [15:23:38]wFMCommunicate OK [15:23:38]wFMCommunicate request_size=53 [15:23:38]MH_SAM_APDU [15:23:38]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 57 93 00 00 35 04 06 00 0F 76 99 65 BA 24 [15:23:38]Write to MH i2c: E2 38 00 B1 0A 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 57 93 00 00 35 04 06 00 0F 76 99 65 BA 24 00 00 75 [15:23:38]Write i2c OK [15:23:38]MH_I2C_Read... [15:23:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:23:38]Read from MH i2c: E2 [15:23:38]MH_I2C_Read... [15:23:38]Read from MH i2c: E2 03 00 [15:23:38]MH_I2C_Read... [15:23:38]Read from MH i2c: E2 03 00 B1 0A 00 90 00 2F [15:23:38]RAPDU: 90 00 [15:23:38]wFMCommunicate OK [15:23:38]wFMCommunicate request_size=4 [15:23:38]MH_SAM_APDU [15:23:38]CAPDU: 80 0D 03 02 [15:23:38]Write to MH i2c: E2 08 00 B2 0A 80 0D 03 02 00 00 00 00 37 [15:23:38]Write i2c OK [15:23:38]MH_I2C_Read... [15:23:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:23:38]Read from MH i2c: E2 [15:23:38]MH_I2C_Read... [15:23:38]Read from MH i2c: E2 0B 00 [15:23:38]MH_I2C_Read... [15:23:38]Read from MH i2c: E2 0B 00 B2 0A 00 68 18 B6 CA FB EB 73 1E 90 00 AF [15:23:38]RAPDU: 68 18 B6 CA FB EB 73 1E 90 00 [15:23:38]wFMCommunicate OK [15:23:38]SAM_PROTO_SignData done [15:23:38]FM_MakeSignedData done [15:23:38]CreateOFDProtocolMessage [15:23:38]wFMCommunicate request_size=4 [15:23:38]MH_SAM_APDU [15:23:38]CAPDU: 80 11 00 00 [15:23:38]Write to MH i2c: E2 08 00 B3 0A 80 11 00 00 00 00 00 00 37 [15:23:38]Write i2c OK [15:23:38]MH_I2C_Read... [15:23:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:23:38]Read from MH i2c: E2 [15:23:38]MH_I2C_Read... [15:23:38]Read from MH i2c: E2 17 00 [15:23:38]MH_I2C_Read... [15:23:38]Read from MH i2c: E2 17 00 B3 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 87 [15:23:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:23:38]wFMCommunicate OK [15:23:38]CreateOFDProtocolMessage done [15:23:38]OFDSenderStorePacket 37719 [15:23:38]StoreOFDPacket docnum=37719 [15:23: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 3A 01 00 00 A4 16 32 01 2E 22 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1B 04 00 00 00 00 07 04 06 00 AC 26 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 FC 5A 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 57 93 00 00 35 04 06 00 0F 76 99 65 BA 24 68 18 B6 CA FB EB 73 1E [15:23:38]CheckFolder [15:23:38]dirname=/storage/ofd_packets [15:23:38]CheckFolder done [15:23:38]ProducePacketName [15:23:38]name=ofd_packets/00037719 [15:23:38]NVStorageSaveData ofd_packets/00037719 [15:23:38]File name is /storage/ofd_packets/00037719 [15:23:38]Write 344 bytes [15:23:38]NVStorageSaveData done [15:23:38]OFDSenderStorePacket done [15:23:38]KKMCreateOFDPacket done [15:23:38]NVStorageSaveData kkm_last_timestamp [15:23:38]File name is /storage/kkm_last_timestamp [15:23:38]Write 4 bytes [15:23:38]NVStorageSaveData done [15:23:38]ExternCall_PrintAddStr [15:23:38]wPrintStart [15:23:38]Write to MH i2c: 01 00 00 B4 0A BE [15:23:38]Write i2c OK [15:23:38]MH_I2C_Read... [15:23:38]Read from MH i2c: 01 [15:23:38]MH_I2C_Read... [15:23:38]Read from MH i2c: 01 07 00 [15:23:38]MH_I2C_Read... [15:23:38]Read from MH i2c: 01 07 00 B4 0A 00 00 00 00 00 FF 0F D3 [15:23:38]RasterBufferAndPrint [15:23:38]line Счет N : (3)35017 [15:23:38]line ИНН: 02508201610067 [15:23:38]line Контрольно-Кассовый Чек [15:23:38]line ПРОДАЖА [15:23:38]line Товар: 4870022003312 [15:23:38]line Gorilla эн нап манго-кокос 0,45 ж/б [15:23:38]line 1.000 * 99.00 [15:23:38]line = 99.00 [15:23:38]line НДС 12% НСП 1% [15:23:38]line > о реализуемом товаре [15:23:38]line ИТОГО: 99.00 [15:23:38]line НСП 1% : 0.88 [15:23:38]line НДС 12% : 10.51 [15:23:38]line Наличными: 99.00 [15:23:38]line Безнал.: 0.00 [15:23:38]line Место: АЗС № 126 "Партнер Нефть" [15:23:38]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [15:23:38]line СНО: Общий режим [15:23:38]line Чек 45 27.10.2024 15:23 [15:23:38]line Смена: 550 ФФД: 1.0 [15:23:38]line ЗНМ: 0300000092 [15:23:38]line РНМ: 0000000000091684 [15:23:38]line Версия ККМ: 001 [15:23:38]line ФМ: 0000000000871841 [15:23:38]line ФД: 37719 [15:23:38]line ФПД: 17002054138404 [15:23:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T152340&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37719&fm=17002054138404&tin=02508201610067®Number=0000000000091684&sum=9900 [15:23:39]OFD Sender: Processing packet 37719 [packets to send 42, broken 41] [15:23:39]ProducePacketName [15:23:39]name=ofd_packets/00037719 [15:23:39]OFD Sender: To server: pG, [15:23:39]CommunicateWithHost lk.salyk.kg:30040 [15:23:39]ConnectInit lk.salyk.kg [15:23:39]line 0 [15:23:39]written 0, free lines is 4095 [15:23:39]Connected sock=10 [15:23: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 3A 01 00 00 A4 16 32 01 2E 22 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1B 04 00 00 00 00 07 04 06 00 AC 26 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 FC 5A 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 57 93 00 00 35 04 06 00 0F 76 99 65 BA 24 68 18 B6 CA FB EB 73 1E [15:23:39]Write to MH i2c: 01 00 00 DD 0A E7 [15:23:39]Write i2c OK [15:23:39]MH_I2C_Read... [15:23:39]Read from MH i2c: 01 [15:23:39]MH_I2C_Read... [15:23:39]Read from MH i2c: 01 07 00 [15:23:39]MH_I2C_Read... [15:23:39]Read from MH i2c: 01 07 00 DD 0A 00 00 00 00 00 B8 0C B2 [15:23:39]RasterBufferAndPrint [15:23:39]line [15:23:39]line [15:23:39]line [15:23:39]line [15:23:39]line [15:23:39]written 0, free lines is 3260 [15:23:39]MH_Cut [15:23:39]Write to MH i2c: D1 01 00 E4 0A 01 C0 [15:23:39]Write i2c OK [15:23:39]MH_I2C_Read... [15:23:39]Read from MH i2c: D1 [15:23:39]MH_I2C_Read... [15:23:39]Read from MH i2c: D1 01 00 [15:23:39]MH_I2C_Read... [15:23:39]Read from MH i2c: D1 01 00 E4 0A 00 BF [15:23:39]Write to MH i2c: 01 00 00 E5 0A EF [15:23:39]Write i2c OK [15:23:39]MH_I2C_Read... [15:23: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 ED 0F 47 00 AC 30 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 57 93 00 00 F4 03 04 00 F3 05 1E 67 B6 04 01 00 00 B0 13 9B 64 7A E6 64 7C [15:23:39]CommunicateWithHost err = 0 [15:23:39]CheckOFDResponse [15:23:39]1017 (14) - 77093643461234 [15:23:39]1041 (16) - 0000000000871841 [15:23:39]1040 (4) - 37719 [15:23:39]1012 (4) - 27.10.2024 09:20 [15:23:39]1206 (1) - 0 [15:23:39]OFD Sender: Remove packet 37719 [15:23:39]ProducePacketName [15:23:39]name=ofd_packets/00037719 [15:23:39]NVStorageDeleteData [15:23:40]OFD Sender: No OFD packet to send [15:23:40]*** Cut start [15:23:40]*** Partial cut [15:23:40]*** CUTSNS_PIN = 1 [15:23:40]*** CUTSNS_PIN = 0 [15:23:40]*** Brake cut motor [15:23:41]Read from MH i2c: 01 [15:23:41]MH_I2C_Read... [15:23:41]*** Stop cut motor [15:23:41]*** Cut end [15:23:41]Read from MH i2c: 01 07 00 [15:23:41]MH_I2C_Read... [15:23:41]Read from MH i2c: 01 07 00 E5 0A 00 00 00 00 00 FF 0F 04 [15:23:41]process_action close_receipt done [15:23:41]requested_data is exist [15:23:41]produce_requested_data [15:23:41]requested_item fm.sn is exist - process it [15:23:41]wFMCommunicate request_size=4 [15:23:41]MH_SAM_APDU [15:23:41]CAPDU: 80 11 00 00 [15:23:41]Write to MH i2c: E2 08 00 E6 0A 80 11 00 00 00 00 00 00 6A [15:23:41]Write i2c OK [15:23:41]MH_I2C_Read... [15:23:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:23:41]Read from MH i2c: E2 [15:23:41]MH_I2C_Read... [15:23:41]Read from MH i2c: E2 17 00 [15:23:41]MH_I2C_Read... [15:23:41]Read from MH i2c: E2 17 00 E6 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 BA [15:23:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:23:41]wFMCommunicate OK [15:23:41]requested_item fd.num is exist - process it [15:23:41]SAM_PROTO_GetFieldsCounters [15:23:41]wFMCommunicate request_size=4 [15:23:41]MH_SAM_APDU [15:23:41]CAPDU: 80 13 00 00 [15:23:41]Write to MH i2c: E2 08 00 E7 0A 80 13 00 00 00 00 00 00 6D [15:23:41]Write i2c OK [15:23:41]MH_I2C_Read... [15:23:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:23:41]Read from MH i2c: E2 [15:23:41]MH_I2C_Read... [15:23:41]Read from MH i2c: E2 62 00 [15:23:41]MH_I2C_Read... [15:23:41]Read from MH i2c: E2 62 00 E7 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 57 93 00 00 0E 04 04 00 26 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 27 [15:23: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 57 93 00 00 0E 04 04 00 26 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:23:41]wFMCommunicate OK [15:23:41]SAM_PROTO_GetFieldsCounters done [15:23:41]requested_item shift.num is exist - process it [15:23:41]requested_item shift.opened is exist - process it [15:23:41]req_shift_opened [15:23:41]FM_GetShiftState [15:23:41]SAM_PROTO_GetShiftState [15:23:41]wFMCommunicate request_size=4 [15:23:41]MH_SAM_APDU [15:23:41]CAPDU: 80 13 01 00 [15:23:41]Write to MH i2c: E2 08 00 E8 0A 80 13 01 00 00 00 00 00 6F [15:23:41]Write i2c OK [15:23:41]MH_I2C_Read... [15:23:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:23:41]Read from MH i2c: E2 [15:23:41]MH_I2C_Read... [15:23:41]Read from MH i2c: E2 0E 00 [15:23:41]MH_I2C_Read... [15:23:41]Read from MH i2c: E2 0E 00 E8 0A 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 26 [15:23:41]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [15:23:41]wFMCommunicate OK [15:23:41]SAM_PROTO_GetShiftState done [15:23:41]FM_GetShiftState done [15:23:41]req_shift_opened done [15:23:41]requested_item shift.open_date is exist - process it [15:23:41]req_shift_open_date [15:23:41]req_shift_open_date done [15:23:41]produce_requested_data done [15:23:41]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37719,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [15:23:41]process_action_free close_receipt [15:23:41]json_value_free [15:23:41]json_value_free done [15:23:41]process_json_proto returns [15:23:41]Send response to host [15:23:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37719,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [15:23:41]free response buf [15:23:41]execute_script done [15:23:41]execute_script returns [15:23:41]free content buf [15:23:41]Sock 7.Close socket [15:23:41]Sock 7.Thread stoped [15:23:45]OFD Sender: No OFD packet to send [15:23:50]OFD Sender: No OFD packet to send [15:23:55]OFD Sender: No OFD packet to send [15:24:00]OFD Sender: No OFD packet to send [15:24:05]OFD Sender: No OFD packet to send [15:24:10]OFD Sender: No OFD packet to send [15:24:15]OFD Sender: No OFD packet to send [15:24:20]OFD Sender: No OFD packet to send [15:24:25]OFD Sender: No OFD packet to send [15:24:30]OFD Sender: No OFD packet to send [15:24:35]OFD Sender: No OFD packet to send [15:24:40]OFD Sender: No OFD packet to send [15:24:45]OFD Sender: No OFD packet to send [15:24:50]OFD Sender: No OFD packet to send [15:24:55]OFD Sender: No OFD packet to send [15:25:00]OFD Sender: No OFD packet to send [15:25:05]OFD Sender: No OFD packet to send [15:25:10]OFD Sender: No OFD packet to send [15:25:15]OFD Sender: No OFD packet to send [15:25:20]OFD Sender: No OFD packet to send [15:25:25]OFD Sender: No OFD packet to send [15:25:30]OFD Sender: No OFD packet to send [15:25:35]OFD Sender: No OFD packet to send [15:25:40]OFD Sender: No OFD packet to send [15:25:45]OFD Sender: No OFD packet to send [15:25:50]OFD Sender: No OFD packet to send [15:25:55]OFD Sender: No OFD packet to send [15:26:00]OFD Sender: No OFD packet to send [15:26:05]OFD Sender: No OFD packet to send [15:26:10]OFD Sender: No OFD packet to send [15:26:15]OFD Sender: No OFD packet to send [15:26:20]OFD Sender: No OFD packet to send [15:26:25]OFD Sender: No OFD packet to send [15:26:30]OFD Sender: No OFD packet to send [15:26:35]OFD Sender: No OFD packet to send [15:26:40]OFD Sender: No OFD packet to send [15:26:45]OFD Sender: No OFD packet to send [15:26:50]OFD Sender: No OFD packet to send [15:26:55]OFD Sender: No OFD packet to send [15:27:00]OFD Sender: No OFD packet to send [15:27:05]OFD Sender: No OFD packet to send [15:27:10]OFD Sender: No OFD packet to send [15:27:15]OFD Sender: No OFD packet to send [15:27:20]OFD Sender: No OFD packet to send [15:27:25]OFD Sender: No OFD packet to send [15:27:30]OFD Sender: No OFD packet to send [15:27:35]OFD Sender: No OFD packet to send [15:27:40]OFD Sender: No OFD packet to send [15:27:45]OFD Sender: No OFD packet to send [15:27:50]OFD Sender: No OFD packet to send [15:27:55]OFD Sender: No OFD packet to send [15:28:00]OFD Sender: No OFD packet to send [15:28:05]OFD Sender: No OFD packet to send [15:28:10]OFD Sender: No OFD packet to send [15:28:15]OFD Sender: No OFD packet to send [15:28:20]OFD Sender: No OFD packet to send [15:28:25]OFD Sender: No OFD packet to send [15:28:30]OFD Sender: No OFD packet to send [15:28:35]OFD Sender: No OFD packet to send [15:28:40]OFD Sender: No OFD packet to send [15:28:45]OFD Sender: No OFD packet to send [15:28:50]OFD Sender: No OFD packet to send [15:28:55]OFD Sender: No OFD packet to send [15:29:00]OFD Sender: No OFD packet to send [15:29:05]OFD Sender: No OFD packet to send [15:29:10]OFD Sender: No OFD packet to send [15:29:15]OFD Sender: No OFD packet to send [15:29:20]OFD Sender: No OFD packet to send [15:29:25]OFD Sender: No OFD packet to send [15:29:30]OFD Sender: No OFD packet to send [15:29:35]OFD Sender: No OFD packet to send [15:29:40]OFD Sender: No OFD packet to send [15:29:45]OFD Sender: No OFD packet to send [15:29:50]OFD Sender: No OFD packet to send [15:29:55]OFD Sender: No OFD packet to send [15:30:00]OFD Sender: No OFD packet to send [15:30:05]OFD Sender: No OFD packet to send [15:30:10]OFD Sender: No OFD packet to send [15:30:15]OFD Sender: No OFD packet to send [15:30:20]OFD Sender: No OFD packet to send [15:30:25]OFD Sender: No OFD packet to send [15:30:30]OFD Sender: No OFD packet to send [15:30:35]OFD Sender: No OFD packet to send [15:30:40]OFD Sender: No OFD packet to send [15:30:45]OFD Sender: No OFD packet to send [15:30:50]OFD Sender: No OFD packet to send [15:30:55]OFD Sender: No OFD packet to send [15:31:00]OFD Sender: No OFD packet to send [15:31:05]OFD Sender: No OFD packet to send [15:31:10]OFD Sender: No OFD packet to send [15:31:15]OFD Sender: No OFD packet to send [15:31:20]OFD Sender: No OFD packet to send [15:31:25]OFD Sender: No OFD packet to send [15:31:30]OFD Sender: No OFD packet to send [15:31:35]OFD Sender: No OFD packet to send [15:31:40]OFD Sender: No OFD packet to send [15:31:45]OFD Sender: No OFD packet to send [15:31:50]OFD Sender: No OFD packet to send [15:31:55]OFD Sender: No OFD packet to send [15:32:00]OFD Sender: No OFD packet to send [15:32:05]OFD Sender: No OFD packet to send [15:32:10]OFD Sender: No OFD packet to send [15:32:15]OFD Sender: No OFD packet to send [15:32:20]OFD Sender: No OFD packet to send [15:32:25]OFD Sender: No OFD packet to send [15:32:30]OFD Sender: No OFD packet to send [15:32:35]OFD Sender: No OFD packet to send [15:32:40]OFD Sender: No OFD packet to send [15:32:45]OFD Sender: No OFD packet to send [15:32:50]OFD Sender: No OFD packet to send [15:32:55]OFD Sender: No OFD packet to send [15:32:56]int [15:32:56]Write to MH i2c: 01 00 00 E9 0A F3 [15:32:56]*** FLAG_PRN_KEY set [15:32:56]Write i2c OK [15:32:56]MH_I2C_Read... [15:32:56]Read from MH i2c: 01 [15:32:56]MH_I2C_Read... [15:32:56]Read from MH i2c: 01 07 00 [15:32:56]MH_I2C_Read... [15:32:56]Read from MH i2c: 01 07 00 E9 0A 00 08 00 00 00 FF 0F 10 [15:32:56]state=0 [15:32:56]Key pressed [15:32:56]Feed [15:32:56]Write to MH i2c: D8 00 00 EA 0A CB [15:32:56]Write i2c OK [15:32:56]MH_I2C_Read... [15:32:56]Read from MH i2c: D8 [15:32:56]MH_I2C_Read... [15:32:56]Read from MH i2c: D8 01 00 [15:32:56]MH_I2C_Read... [15:32:56]Read from MH i2c: D8 01 00 EA 0A 00 CC [15:32:56]int [15:32:56]Write to MH i2c: 01 00 00 EB 0A F5 [15:32:56]Write i2c OK [15:32:56]MH_I2C_Read... [15:32:56]Read from MH i2c: 01 [15:32:56]MH_I2C_Read... [15:32:56]Read from MH i2c: 01 07 00 [15:32:56]MH_I2C_Read... [15:32:56]Read from MH i2c: 01 07 00 EB 0A 00 48 00 00 00 3C 00 80 [15:32:56]state=2 [15:32:56]Key pressed [15:32:56]int [15:32:56]Write to MH i2c: 01 00 00 EC 0A F6 [15:32:56]*** FLAG_PRN_KEY reset [15:32:56]Write i2c OK [15:32:56]MH_I2C_Read... [15:32:56]Read from MH i2c: 01 [15:32:56]MH_I2C_Read... [15:32:56]Read from MH i2c: 01 07 00 [15:32:56]MH_I2C_Read... [15:32:56]Read from MH i2c: 01 07 00 EC 0A 00 00 00 00 00 F6 0F 02 [15:32:56]state=2 [15:32:56]Stop feed [15:32:57]int [15:32:57]Write to MH i2c: 01 00 00 ED 0A F7 [15:32:57]*** FLAG_PRN_KEY set [15:32:57]Write i2c OK [15:32:57]MH_I2C_Read... [15:32:57]Read from MH i2c: 01 [15:32:57]MH_I2C_Read... [15:32:57]Read from MH i2c: 01 07 00 [15:32:57]MH_I2C_Read... [15:32:57]Read from MH i2c: 01 07 00 ED 0A 00 08 00 00 00 FF 0F 14 [15:32:57]state=0 [15:32:57]Key pressed [15:32:57]Feed [15:32:57]Write to MH i2c: D8 00 00 EE 0A CF [15:32:57]Write i2c OK [15:32:57]MH_I2C_Read... [15:32:57]Read from MH i2c: D8 [15:32:57]MH_I2C_Read... [15:32:57]Read from MH i2c: D8 01 00 [15:32:57]MH_I2C_Read... [15:32:57]Read from MH i2c: D8 01 00 EE 0A 00 D0 [15:32:57]int [15:32:57]Write to MH i2c: 01 00 00 EF 0A F9 [15:32:57]Write i2c OK [15:32:57]MH_I2C_Read... [15:32:57]Read from MH i2c: 01 [15:32:57]MH_I2C_Read... [15:32:57]Read from MH i2c: 01 07 00 [15:32:57]MH_I2C_Read... [15:32:57]Read from MH i2c: 01 07 00 EF 0A 00 48 00 00 00 3C 00 84 [15:32:57]state=2 [15:32:57]Key pressed [15:32:58]int [15:32:58]Write to MH i2c: 01 00 00 F0 0A FA [15:32:58]*** FLAG_PRN_KEY reset [15:32:58]Write i2c OK [15:32:58]MH_I2C_Read... [15:32:58]Read from MH i2c: 01 [15:32:58]MH_I2C_Read... [15:32:58]Read from MH i2c: 01 07 00 [15:32:58]MH_I2C_Read... [15:32:58]Read from MH i2c: 01 07 00 F0 0A 00 00 00 00 00 F6 0F 06 [15:32:58]state=2 [15:32:58]Stop feed [15:33:00]OFD Sender: No OFD packet to send [15:33:05]OFD Sender: No OFD packet to send [15:33:10]OFD Sender: No OFD packet to send [15:33:15]OFD Sender: No OFD packet to send [15:33:20]OFD Sender: No OFD packet to send [15:33:25]OFD Sender: No OFD packet to send [15:33:30]OFD Sender: No OFD packet to send [15:33:35]OFD Sender: No OFD packet to send [15:33:39]accept exits with 9 [15:33:39]New connection [15:33:39]New thread 3067297124 created [15:33:39]Thread 3067440484 joined [15:33:39]Waiting for new connection... [15:33:39] Sock 9.Parse request [15:33:39]Sock 9.Check first char [15:33:39]Sock 9.First char is OK [15:33:39]request: POST /json_proto HTTP/1.0 [15:33:39]Method: POST [15:33:39]URL: /json_proto [15:33:39]Method is POST - this is cgi request [15:33:39]url: /json_proto [15:33:39]query_string will be loaded in cgi processing [15:33:39]execute_cgi json_proto POST (null) [15:33:39]execute_cgi path=json_proto method=POST [15:33:39]POST find Content-Length [15:33:39]Host: 172.17.40.196:8080 [15:33:39]Content-Length: 645 [15:33:39]Content-Type: application/json [15:33:39] [15:33:39]POST finish read [15:33:39]Found Content-Length = 645 [15:33:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35018", "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" ] } } [15:33:39]execute_script... [15:33: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)35018", "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" ] } } [15:33:39]POST & json_proto [15:33:39]process_json_proto [15:33:39]json parsed OK: [15:33:39]protocol is kg_v1.0 [15:33:39]action value=close_receipt [15:33:39]process_action close_receipt [15:33:39]cmd_close_receipt [15:33:39]MH_GetDate [15:33:39]Write to MH i2c: F0 00 00 F1 0A EA [15:33:39]Write i2c OK [15:33:39]MH_I2C_Read... [15:33:39]Read from MH i2c: F0 [15:33:39]MH_I2C_Read... [15:33:39]Read from MH i2c: F0 09 00 [15:33:39]MH_I2C_Read... [15:33:39]Read from MH i2c: F0 09 00 F1 0A 00 56 5D 1E 67 5B 68 A1 66 F5 [15:33:39]GetLastDocTimeStamp 1730042620 [15:33:39]current date 1730043222 [15:33:39]FM_GetShiftState [15:33:39]SAM_PROTO_GetShiftState [15:33:39]wFMCommunicate request_size=4 [15:33:39]MH_SAM_APDU [15:33:39]CAPDU: 80 13 01 00 [15:33:39]Write to MH i2c: E2 08 00 F2 0A 80 13 01 00 00 00 00 00 79 [15:33:39]Write i2c OK [15:33:39]MH_I2C_Read... [15:33:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:33:39]Read from MH i2c: E2 [15:33:39]MH_I2C_Read... [15:33:39]Read from MH i2c: E2 0E 00 [15:33:39]MH_I2C_Read... [15:33:39]Read from MH i2c: E2 0E 00 F2 0A 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 30 [15:33:39]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [15:33:39]wFMCommunicate OK [15:33:39]SAM_PROTO_GetShiftState done [15:33:39]FM_GetShiftState done [15:33:39]opened in 1729987492 [15:33:39]opened+sec_in_day 1730073892 [15:33:39]quantity*price = 13000 [15:33:39]sum+1 = 13001 [15:33:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 46 27.10.2024 15:33 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37720 ФПД: 241903104539197 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T153342&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37720&fm=241903104539197&tin=02508201610067®Number=0000000000091684&sum=13000 0 [15:33:40]StoreToDocumentArchive [15:33:40]shift 550 fd 37720 [15:33:40]save to /storage/0550/doc_00037720 [15:33:40]save last doc name /storage/0550/doc_00037720 to /storage/kkm_last_doc_name [15:33:40]save OK [15:33:40]Clear old archive folders... [15:33:40]ProcessDocumentItem done err = 0, tmpTLVsize=282 [15:33:40]tlvbuf is B6F51C10 [15:33:40]SAM_PROTO_ClearQueue [15:33:40]wFMCommunicate request_size=4 [15:33:40]MH_SAM_APDU [15:33:40]CAPDU: 80 09 00 00 [15:33:40]Write to MH i2c: E2 08 00 FF 0A 80 09 00 00 00 00 00 00 7B [15:33:40]Write i2c OK [15:33:40]MH_I2C_Read... [15:33:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:33:40]Read from MH i2c: E2 [15:33:40]MH_I2C_Read... [15:33:40]Read from MH i2c: E2 03 00 [15:33:40]MH_I2C_Read... [15:33:40]Read from MH i2c: E2 03 00 FF 0A 00 90 00 7D [15:33:40]RAPDU: 90 00 [15:33:40]wFMCommunicate OK [15:33:40]SAM_PROTO_ClearQueue done [15:33:40]KKMCreateOFDPacket [15:33:40]OFDProtocolAddRootSTLVToBuf [15:33:40]FM_MakeSignedData [15:33:40]FM_MakeSignedData [15:33:40]SAM_PROTO_SignData [15:33:40]wFMCommunicate request_size=4 [15:33:40]MH_SAM_APDU [15:33:40]CAPDU: 80 0D 01 02 [15:33:40]Write to MH i2c: E2 08 00 00 0B 80 0D 01 02 00 00 00 00 84 [15:33:40]Write i2c OK [15:33:40]MH_I2C_Read... [15:33:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:33:40]Read from MH i2c: E2 [15:33:40]MH_I2C_Read... [15:33:40]Read from MH i2c: E2 03 00 [15:33:40]MH_I2C_Read... [15:33:40]Read from MH i2c: E2 03 00 00 0B 00 90 00 7F [15:33:40]RAPDU: 90 00 [15:33:40]wFMCommunicate OK [15:33:40]wFMCommunicate request_size=255 [15:33:40]MH_SAM_APDU [15:33:40]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 2E 00 00 00 F4 03 04 00 56 5D 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 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:33:40]Write to MH i2c: E2 02 01 01 0B 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 2E 00 00 00 F4 03 04 00 56 5D 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 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 24 [15:33:40]Write i2c OK [15:33:40]MH_I2C_Read... [15:33:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:33:40]Read from MH i2c: E2 [15:33:40]MH_I2C_Read... [15:33:40]Read from MH i2c: E2 03 00 [15:33:40]MH_I2C_Read... [15:33:40]Read from MH i2c: E2 03 00 01 0B 00 90 00 80 [15:33:40]RAPDU: 90 00 [15:33:40]wFMCommunicate OK [15:33:40]wFMCommunicate request_size=41 [15:33:40]MH_SAM_APDU [15:33:40]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 58 93 00 00 35 04 06 00 DC 02 74 9D BA 3D [15:33:40]Write to MH i2c: E2 2C 00 02 0B 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 58 93 00 00 35 04 06 00 DC 02 74 9D BA 3D 00 00 24 [15:33:40]Write i2c OK [15:33:40]MH_I2C_Read... [15:33:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:33:40]Read from MH i2c: E2 [15:33:40]MH_I2C_Read... [15:33:40]Read from MH i2c: E2 03 00 [15:33:40]MH_I2C_Read... [15:33:40]Read from MH i2c: E2 03 00 02 0B 00 90 00 81 [15:33:40]RAPDU: 90 00 [15:33:40]wFMCommunicate OK [15:33:40]wFMCommunicate request_size=4 [15:33:40]MH_SAM_APDU [15:33:40]CAPDU: 80 0D 03 02 [15:33:40]Write to MH i2c: E2 08 00 03 0B 80 0D 03 02 00 00 00 00 89 [15:33:40]Write i2c OK [15:33:40]MH_I2C_Read... [15:33:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:33:40]Read from MH i2c: E2 [15:33:40]MH_I2C_Read... [15:33:40]Read from MH i2c: E2 0B 00 [15:33:40]MH_I2C_Read... [15:33:40]Read from MH i2c: E2 0B 00 03 0B 00 DB E2 1A EC 1A 3D 86 D9 90 00 03 [15:33:40]RAPDU: DB E2 1A EC 1A 3D 86 D9 90 00 [15:33:40]wFMCommunicate OK [15:33:40]SAM_PROTO_SignData done [15:33:40]FM_MakeSignedData done [15:33:40]CreateOFDProtocolMessage [15:33:40]wFMCommunicate request_size=4 [15:33:40]MH_SAM_APDU [15:33:40]CAPDU: 80 11 00 00 [15:33:40]Write to MH i2c: E2 08 00 04 0B 80 11 00 00 00 00 00 00 89 [15:33:40]Write i2c OK [15:33:40]MH_I2C_Read... [15:33:40]OFD Sender: No OFD packet to send [15:33:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:33:41]Read from MH i2c: E2 [15:33:41]MH_I2C_Read... [15:33:41]Read from MH i2c: E2 17 00 [15:33:41]MH_I2C_Read... [15:33:41]Read from MH i2c: E2 17 00 04 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D9 [15:33:41]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:41]wFMCommunicate OK [15:33:41]CreateOFDProtocolMessage done [15:33:41]OFDSenderStorePacket 37720 [15:33:41]StoreOFDPacket docnum=37720 [15:33: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 2E 01 00 00 CF 03 26 01 35 A2 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 2E 00 00 00 F4 03 04 00 56 5D 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 58 93 00 00 35 04 06 00 DC 02 74 9D BA 3D DB E2 1A EC 1A 3D 86 D9 [15:33:41]CheckFolder [15:33:41]dirname=/storage/ofd_packets [15:33:41]CheckFolder done [15:33:41]ProducePacketName [15:33:41]name=ofd_packets/00037720 [15:33:41]NVStorageSaveData ofd_packets/00037720 [15:33:41]File name is /storage/ofd_packets/00037720 [15:33:41]Write 332 bytes [15:33:41]NVStorageSaveData done [15:33:41]OFDSenderStorePacket done [15:33:41]KKMCreateOFDPacket done [15:33:41]NVStorageSaveData kkm_last_timestamp [15:33:41]File name is /storage/kkm_last_timestamp [15:33:41]Write 4 bytes [15:33:41]NVStorageSaveData done [15:33:41]ExternCall_PrintAddStr [15:33:41]wPrintStart [15:33:41]Write to MH i2c: 01 00 00 05 0B 10 [15:33:41]Write i2c OK [15:33:41]MH_I2C_Read... [15:33:41]Read from MH i2c: 01 [15:33:41]MH_I2C_Read... [15:33:41]Read from MH i2c: 01 07 00 [15:33:41]MH_I2C_Read... [15:33:41]Read from MH i2c: 01 07 00 05 0B 00 00 00 00 00 FF 0F 25 [15:33:41]RasterBufferAndPrint [15:33:41]line Счет N : (3)35018 [15:33:41]line ИНН: 02508201610067 [15:33:41]line Контрольно-Кассовый Чек [15:33:41]line ПРОДАЖА [15:33:41]line Товар: 2000036220012 [15:33:41]line Кофе Капучино XL(GABB TRADE) [15:33:41]line 1.000 * 130.00 [15:33:41]line = 130.00 [15:33:41]line НДС 12% НСП 1% [15:33:41]line > о реализуемом товаре [15:33:41]line ИТОГО: 130.00 [15:33:41]line НСП 1% : 1.15 [15:33:41]line НДС 12% : 13.80 [15:33:41]line Наличными: 130.00 [15:33:41]line Безнал.: 0.00 [15:33:41]line Место: АЗС № 126 "Партнер Нефть" [15:33:41]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [15:33:41]line СНО: Общий режим [15:33:41]line Чек 46 27.10.2024 15:33 [15:33:41]line Смена: 550 ФФД: 1.0 [15:33:41]line ЗНМ: 0300000092 [15:33:41]line РНМ: 0000000000091684 [15:33:41]line Версия ККМ: 001 [15:33:41]line ФМ: 0000000000871841 [15:33:41]line ФД: 37720 [15:33:41]line ФПД: 241903104539197 [15:33:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T153342&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37720&fm=241903104539197&tin=02508201610067®Number=0000000000091684&sum=13000 [15:33:41]line 0 [15:33:41]OFD Sender: Processing packet 37720 [packets to send 42, broken 41] [15:33:41]ProducePacketName [15:33:41]name=ofd_packets/00037720 [15:33:41]OFD Sender: To server: pG, [15:33:41]CommunicateWithHost lk.salyk.kg:30040 [15:33:41]ConnectInit lk.salyk.kg [15:33:41]written 0, free lines is 4095 [15:33:41]Connected sock=10 [15:33:41]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 CF 03 26 01 35 A2 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 2E 00 00 00 F4 03 04 00 56 5D 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 58 93 00 00 35 04 06 00 DC 02 74 9D BA 3D DB E2 1A EC 1A 3D 86 D9 [15:33:41]Write to MH i2c: 01 00 00 2E 0B 39 [15:33:41]Write i2c OK [15:33:41]MH_I2C_Read... [15:33:41]Read from MH i2c: 01 [15:33:41]MH_I2C_Read... [15:33:41]Read from MH i2c: 01 07 00 [15:33:41]MH_I2C_Read... [15:33:41]Read from MH i2c: 01 07 00 2E 0B 00 00 00 00 00 BC 0C 08 [15:33:41]RasterBufferAndPrint [15:33:41]line [15:33:41]line [15:33:41]line [15:33:41]line [15:33:41]line [15:33:41]written 0, free lines is 3266 [15:33:41]MH_Cut [15:33:41]Write to MH i2c: D1 01 00 35 0B 01 12 [15:33:41]Write i2c OK [15:33:41]MH_I2C_Read... [15:33:41]Read from MH i2c: D1 [15:33:41]MH_I2C_Read... [15:33:41]Read from MH i2c: D1 01 00 [15:33:41]MH_I2C_Read... [15:33:41]Read from MH i2c: D1 01 00 35 0B 00 11 [15:33:41]Write to MH i2c: 01 00 00 36 0B 41 [15:33:41]Write i2c OK [15:33:41]MH_I2C_Read... [15:33:41]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 BD 77 47 00 E7 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 58 93 00 00 F4 03 04 00 4D 08 1E 67 B6 04 01 00 00 11 0D 07 2A C0 8D 7A 4D [15:33:41]CommunicateWithHost err = 0 [15:33:41]CheckOFDResponse [15:33:41]1017 (14) - 77093643461234 [15:33:41]1041 (16) - 0000000000871841 [15:33:41]1040 (4) - 37720 [15:33:41]1012 (4) - 27.10.2024 09:30 [15:33:41]1206 (1) - 0 [15:33:41]OFD Sender: Remove packet 37720 [15:33:41]ProducePacketName [15:33:41]name=ofd_packets/00037720 [15:33:41]NVStorageDeleteData [15:33:42]OFD Sender: No OFD packet to send [15:33:42]*** Cut start [15:33:42]*** Partial cut [15:33:42]*** CUTSNS_PIN = 1 [15:33:42]*** CUTSNS_PIN = 0 [15:33:42]*** Brake cut motor [15:33:43]Read from MH i2c: 01 [15:33:43]MH_I2C_Read... [15:33:43]*** Stop cut motor [15:33:43]*** Cut end [15:33:43]Read from MH i2c: 01 07 00 [15:33:43]MH_I2C_Read... [15:33:43]Read from MH i2c: 01 07 00 36 0B 00 00 00 00 00 FF 0F 56 [15:33:43]process_action close_receipt done [15:33:43]requested_data is exist [15:33:43]produce_requested_data [15:33:43]requested_item fm.sn is exist - process it [15:33:43]wFMCommunicate request_size=4 [15:33:43]MH_SAM_APDU [15:33:43]CAPDU: 80 11 00 00 [15:33:43]Write to MH i2c: E2 08 00 37 0B 80 11 00 00 00 00 00 00 BC [15:33:43]Write i2c OK [15:33:43]MH_I2C_Read... [15:33:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:33:43]Read from MH i2c: E2 [15:33:43]MH_I2C_Read... [15:33:43]Read from MH i2c: E2 17 00 [15:33:43]MH_I2C_Read... [15:33:43]Read from MH i2c: E2 17 00 37 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 0C [15:33: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:33:43]wFMCommunicate OK [15:33:43]requested_item fd.num is exist - process it [15:33:43]SAM_PROTO_GetFieldsCounters [15:33:43]wFMCommunicate request_size=4 [15:33:43]MH_SAM_APDU [15:33:43]CAPDU: 80 13 00 00 [15:33:43]Write to MH i2c: E2 08 00 38 0B 80 13 00 00 00 00 00 00 BF [15:33:43]Write i2c OK [15:33:43]MH_I2C_Read... [15:33:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:33:43]Read from MH i2c: E2 [15:33:43]MH_I2C_Read... [15:33:43]Read from MH i2c: E2 62 00 [15:33:43]MH_I2C_Read... [15:33:43]Read from MH i2c: E2 62 00 38 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 58 93 00 00 0E 04 04 00 26 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 7D [15:33:43]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 58 93 00 00 0E 04 04 00 26 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:33:43]wFMCommunicate OK [15:33:43]SAM_PROTO_GetFieldsCounters done [15:33:43]requested_item shift.num is exist - process it [15:33:43]requested_item shift.opened is exist - process it [15:33:43]req_shift_opened [15:33:43]FM_GetShiftState [15:33:43]SAM_PROTO_GetShiftState [15:33:43]wFMCommunicate request_size=4 [15:33:43]MH_SAM_APDU [15:33:43]CAPDU: 80 13 01 00 [15:33:43]Write to MH i2c: E2 08 00 39 0B 80 13 01 00 00 00 00 00 C1 [15:33:43]Write i2c OK [15:33:43]MH_I2C_Read... [15:33:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:33:43]Read from MH i2c: E2 [15:33:43]MH_I2C_Read... [15:33:43]Read from MH i2c: E2 0E 00 [15:33:43]MH_I2C_Read... [15:33:43]Read from MH i2c: E2 0E 00 39 0B 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 78 [15:33:43]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [15:33:43]wFMCommunicate OK [15:33:43]SAM_PROTO_GetShiftState done [15:33:43]FM_GetShiftState done [15:33:43]req_shift_opened done [15:33:43]requested_item shift.open_date is exist - process it [15:33:43]req_shift_open_date [15:33:43]req_shift_open_date done [15:33:43]produce_requested_data done [15:33:43]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37720,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [15:33:43]process_action_free close_receipt [15:33:43]json_value_free [15:33:43]json_value_free done [15:33:43]process_json_proto returns [15:33:43]Send response to host [15:33:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37720,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [15:33:43]free response buf [15:33:43]execute_script done [15:33:43]execute_script returns [15:33:43]free content buf [15:33:43]Sock 9.Close socket [15:33:43]Sock 9.Thread stoped [15:33:47]OFD Sender: No OFD packet to send [15:33:52]OFD Sender: No OFD packet to send [15:33:57]OFD Sender: No OFD packet to send [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:27]OFD Sender: No OFD packet to send [15:34:32]OFD Sender: No OFD packet to send [15:34:37]OFD Sender: No OFD packet to send [15:34:42]OFD Sender: No OFD packet to send [15:34:47]OFD Sender: No OFD packet to send [15:34:52]OFD Sender: No OFD packet to send [15:34:57]OFD Sender: No OFD packet to send [15:35:02]OFD Sender: No OFD packet to send [15:35:07]OFD Sender: No OFD packet to send [15:35:12]OFD Sender: No OFD packet to send [15:35:17]OFD Sender: No OFD packet to send [15:35:22]OFD Sender: No OFD packet to send [15:35:27]OFD Sender: No OFD packet to send [15:35:32]OFD Sender: No OFD packet to send [15:35:37]OFD Sender: No OFD packet to send [15:35:42]OFD Sender: No OFD packet to send [15:35:47]OFD Sender: No OFD packet to send [15:35:52]OFD Sender: No OFD packet to send [15:35:57]OFD Sender: No OFD packet to send [15:36:02]OFD Sender: No OFD packet to send [15:36:07]OFD Sender: No OFD packet to send [15:36:12]OFD Sender: No OFD packet to send [15:36:17]OFD Sender: No OFD packet to send [15:36:22]OFD Sender: No OFD packet to send [15:36:27]OFD Sender: No OFD packet to send [15:36:32]OFD Sender: No OFD packet to send [15:36:37]OFD Sender: No OFD packet to send [15:36:42]OFD Sender: No OFD packet to send [15:36:47]OFD Sender: No OFD packet to send [15:36:52]OFD Sender: No OFD packet to send [15:36:57]OFD Sender: No OFD packet to send [15:37:02]OFD Sender: No OFD packet to send [15:37:07]OFD Sender: No OFD packet to send [15:37:12]OFD Sender: No OFD packet to send [15:37:17]OFD Sender: No OFD packet to send [15:37:22]OFD Sender: No OFD packet to send [15:37:27]OFD Sender: No OFD packet to send [15:37:32]OFD Sender: No OFD packet to send [15:37:37]OFD Sender: No OFD packet to send [15:37:42]OFD Sender: No OFD packet to send [15:37:47]OFD Sender: No OFD packet to send [15:37:52]OFD Sender: No OFD packet to send [15:37:57]OFD Sender: No OFD packet to send [15:38:02]OFD Sender: No OFD packet to send [15:38:07]OFD Sender: No OFD packet to send [15:38:12]OFD Sender: No OFD packet to send [15:38:17]OFD Sender: No OFD packet to send [15:38:22]OFD Sender: No OFD packet to send [15:38:27]OFD Sender: No OFD packet to send [15:38:32]OFD Sender: No OFD packet to send [15:38:37]OFD Sender: No OFD packet to send [15:38:42]OFD Sender: No OFD packet to send [15:38:47]OFD Sender: No OFD packet to send [15:38:52]OFD Sender: No OFD packet to send [15:38:57]OFD Sender: No OFD packet to send [15:39:02]OFD Sender: No OFD packet to send [15:39:07]OFD Sender: No OFD packet to send [15:39:12]OFD Sender: No OFD packet to send [15:39:17]OFD Sender: No OFD packet to send [15:39:22]OFD Sender: No OFD packet to send [15:39:27]OFD Sender: No OFD packet to send [15:39:32]OFD Sender: No OFD packet to send [15:39:37]OFD Sender: No OFD packet to send [15:39:42]OFD Sender: No OFD packet to send [15:39:47]OFD Sender: No OFD packet to send [15:39:52]OFD Sender: No OFD packet to send [15:39:57]OFD Sender: No OFD packet to send [15:40:02]OFD Sender: No OFD packet to send [15:40:07]OFD Sender: No OFD packet to send [15:40:08]accept exits with 7 [15:40:08]New connection [15:40:08]New thread 3067440484 created [15:40:08]Thread 3067297124 joined [15:40:08]Waiting for new connection... [15:40:08] Sock 7.Parse request [15:40:08]Sock 7.Check first char [15:40:08]Sock 7.First char is OK [15:40:08]request: POST /json_proto HTTP/1.0 [15:40:08]Method: POST [15:40:08]URL: /json_proto [15:40:08]Method is POST - this is cgi request [15:40:08]url: /json_proto [15:40:08]query_string will be loaded in cgi processing [15:40:08]execute_cgi json_proto POST (null) [15:40:08]execute_cgi path=json_proto method=POST [15:40:08]POST find Content-Length [15:40:08]Host: 172.17.40.196:8080 [15:40:08]Content-Length: 646 [15:40:08]Content-Type: application/json [15:40:08] [15:40:08]POST finish read [15:40:08]Found Content-Length = 646 [15:40:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35019", "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" : 2.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" ] } } [15:40:08]execute_script... [15:40:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35019", "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" : 2.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" ] } } [15:40:08]POST & json_proto [15:40:08]process_json_proto [15:40:08]json parsed OK: [15:40:08]protocol is kg_v1.0 [15:40:08]action value=close_receipt [15:40:08]process_action close_receipt [15:40:08]cmd_close_receipt [15:40:08]MH_GetDate [15:40:08]Write to MH i2c: F0 00 00 3A 0B 34 [15:40:08]Write i2c OK [15:40:08]MH_I2C_Read... [15:40:08]Read from MH i2c: F0 [15:40:08]MH_I2C_Read... [15:40:08]Read from MH i2c: F0 09 00 [15:40:08]MH_I2C_Read... [15:40:08]Read from MH i2c: F0 09 00 3A 0B 00 DB 5E 1E 67 5B 68 A1 66 C5 [15:40:08]GetLastDocTimeStamp 1730043222 [15:40:08]current date 1730043611 [15:40:08]FM_GetShiftState [15:40:08]SAM_PROTO_GetShiftState [15:40:08]wFMCommunicate request_size=4 [15:40:08]MH_SAM_APDU [15:40:08]CAPDU: 80 13 01 00 [15:40:08]Write to MH i2c: E2 08 00 3B 0B 80 13 01 00 00 00 00 00 C3 [15:40:08]Write i2c OK [15:40:08]MH_I2C_Read... [15:40:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:40:08]Read from MH i2c: E2 [15:40:08]MH_I2C_Read... [15:40:08]Read from MH i2c: E2 0E 00 [15:40:08]MH_I2C_Read... [15:40:08]Read from MH i2c: E2 0E 00 3B 0B 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 7A [15:40:08]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [15:40:08]wFMCommunicate OK [15:40:08]SAM_PROTO_GetShiftState done [15:40:08]FM_GetShiftState done [15:40:08]opened in 1729987492 [15:40:08]opened+sec_in_day 1730073892 [15:40:08]quantity*price = 13000 [15:40:08]sum+1 = 13001 [15:40:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 47 27.10.2024 15:40 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37721 ФПД: 99278449438381 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T154011&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37721&fm=99278449438381&tin=02508201610067®Number=0000000000091684&sum=13000 0 [15:40:09]StoreToDocumentArchive [15:40:09]shift 550 fd 37721 [15:40:09]save to /storage/0550/doc_00037721 [15:40:09]save last doc name /storage/0550/doc_00037721 to /storage/kkm_last_doc_name [15:40:09]save OK [15:40:09]Clear old archive folders... [15:40:09]ProcessDocumentItem done err = 0, tmpTLVsize=272 [15:40:09]tlvbuf is 00238950 [15:40:09]SAM_PROTO_ClearQueue [15:40:09]wFMCommunicate request_size=4 [15:40:09]MH_SAM_APDU [15:40:09]CAPDU: 80 09 00 00 [15:40:09]Write to MH i2c: E2 08 00 48 0B 80 09 00 00 00 00 00 00 C5 [15:40:09]Write i2c OK [15:40:09]MH_I2C_Read... [15:40:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:40:09]Read from MH i2c: E2 [15:40:09]MH_I2C_Read... [15:40:09]Read from MH i2c: E2 03 00 [15:40:09]MH_I2C_Read... [15:40:09]Read from MH i2c: E2 03 00 48 0B 00 90 00 C7 [15:40:09]RAPDU: 90 00 [15:40:09]wFMCommunicate OK [15:40:09]SAM_PROTO_ClearQueue done [15:40:09]KKMCreateOFDPacket [15:40:09]OFDProtocolAddRootSTLVToBuf [15:40:09]FM_MakeSignedData [15:40:09]FM_MakeSignedData [15:40:09]SAM_PROTO_SignData [15:40:09]wFMCommunicate request_size=4 [15:40:09]MH_SAM_APDU [15:40:09]CAPDU: 80 0D 01 02 [15:40:09]Write to MH i2c: E2 08 00 49 0B 80 0D 01 02 00 00 00 00 CD [15:40:09]Write i2c OK [15:40:09]MH_I2C_Read... [15:40:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:40:09]Read from MH i2c: E2 [15:40:09]MH_I2C_Read... [15:40:09]Read from MH i2c: E2 03 00 [15:40:09]MH_I2C_Read... [15:40:09]Read from MH i2c: E2 03 00 49 0B 00 90 00 C8 [15:40:09]RAPDU: 90 00 [15:40:09]wFMCommunicate OK [15:40:09]wFMCommunicate request_size=255 [15:40:09]MH_SAM_APDU [15:40:09]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 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 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 2F 00 00 00 F4 03 04 00 DB 5E 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [15:40:09]Write to MH i2c: E2 02 01 4A 0B 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 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 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 2F 00 00 00 F4 03 04 00 DB 5E 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [15:40:09]Write i2c OK [15:40:09]MH_I2C_Read... [15:40:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:40:09]Read from MH i2c: E2 [15:40:09]MH_I2C_Read... [15:40:09]Read from MH i2c: E2 03 00 [15:40:09]MH_I2C_Read... [15:40:09]Read from MH i2c: E2 03 00 4A 0B 00 90 00 C9 [15:40:09]RAPDU: 90 00 [15:40:09]wFMCommunicate OK [15:40:09]wFMCommunicate request_size=31 [15:40:09]MH_SAM_APDU [15:40:09]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 59 93 00 00 35 04 06 00 5A 4B 10 B6 6E AD [15:40:09]Write to MH i2c: E2 22 00 4B 0B 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 59 93 00 00 35 04 06 00 5A 4B 10 B6 6E AD 00 00 6A [15:40:09]Write i2c OK [15:40:09]MH_I2C_Read... [15:40:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:40:09]Read from MH i2c: E2 [15:40:09]MH_I2C_Read... [15:40:09]Read from MH i2c: E2 03 00 [15:40:09]MH_I2C_Read... [15:40:09]Read from MH i2c: E2 03 00 4B 0B 00 90 00 CA [15:40:09]RAPDU: 90 00 [15:40:09]wFMCommunicate OK [15:40:09]wFMCommunicate request_size=4 [15:40:09]MH_SAM_APDU [15:40:09]CAPDU: 80 0D 03 02 [15:40:09]Write to MH i2c: E2 08 00 4C 0B 80 0D 03 02 00 00 00 00 D2 [15:40:09]Write i2c OK [15:40:09]MH_I2C_Read... [15:40:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:40:09]Read from MH i2c: E2 [15:40:09]MH_I2C_Read... [15:40:09]Read from MH i2c: E2 0B 00 [15:40:09]MH_I2C_Read... [15:40:09]Read from MH i2c: E2 0B 00 4C 0B 00 32 F5 BE E0 E7 45 3B 5C 90 00 5B [15:40:09]RAPDU: 32 F5 BE E0 E7 45 3B 5C 90 00 [15:40:09]wFMCommunicate OK [15:40:09]SAM_PROTO_SignData done [15:40:09]FM_MakeSignedData done [15:40:09]CreateOFDProtocolMessage [15:40:09]wFMCommunicate request_size=4 [15:40:09]MH_SAM_APDU [15:40:09]CAPDU: 80 11 00 00 [15:40:09]Write to MH i2c: E2 08 00 4D 0B 80 11 00 00 00 00 00 00 D2 [15:40:09]Write i2c OK [15:40:09]MH_I2C_Read... [15:40:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:40:10]Read from MH i2c: E2 [15:40:10]MH_I2C_Read... [15:40:10]Read from MH i2c: E2 17 00 [15:40:10]MH_I2C_Read... [15:40:10]Read from MH i2c: E2 17 00 4D 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 22 [15:40:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:40:10]wFMCommunicate OK [15:40:10]CreateOFDProtocolMessage done [15:40:10]OFDSenderStorePacket 37721 [15:40:10]StoreOFDPacket docnum=37721 [15:40:10]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 9F 9A 1C 01 A6 9B 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 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 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 2F 00 00 00 F4 03 04 00 DB 5E 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 59 93 00 00 35 04 06 00 5A 4B 10 B6 6E AD 32 F5 BE E0 E7 45 3B 5C [15:40:10]CheckFolder [15:40:10]dirname=/storage/ofd_packets [15:40:10]CheckFolder done [15:40:10]ProducePacketName [15:40:10]name=ofd_packets/00037721 [15:40:10]NVStorageSaveData ofd_packets/00037721 [15:40:10]File name is /storage/ofd_packets/00037721 [15:40:10]Write 322 bytes [15:40:10]NVStorageSaveData done [15:40:10]OFDSenderStorePacket done [15:40:10]KKMCreateOFDPacket done [15:40:10]NVStorageSaveData kkm_last_timestamp [15:40:10]File name is /storage/kkm_last_timestamp [15:40:10]Write 4 bytes [15:40:10]NVStorageSaveData done [15:40:10]ExternCall_PrintAddStr [15:40:10]wPrintStart [15:40:10]Write to MH i2c: 01 00 00 4E 0B 59 [15:40:10]Write i2c OK [15:40:10]MH_I2C_Read... [15:40:10]Read from MH i2c: 01 [15:40:10]MH_I2C_Read... [15:40:10]Read from MH i2c: 01 07 00 [15:40:10]MH_I2C_Read... [15:40:10]Read from MH i2c: 01 07 00 4E 0B 00 00 00 00 00 FF 0F 6E [15:40:10]RasterBufferAndPrint [15:40:10]line Счет N : (3)35019 [15:40:10]line ИНН: 02508201610067 [15:40:10]line Контрольно-Кассовый Чек [15:40:10]line ПРОДАЖА [15:40:10]line Товар: 47011656 [15:40:10]line Водка Пшеничная 0,1л [15:40:10]line 2.000 * 65.00 [15:40:10]line = 130.00 [15:40:10]line НДС 12% НСП 1% [15:40:10]line > о реализуемом товаре [15:40:10]line ИТОГО: 130.00 [15:40:10]line НСП 1% : 1.15 [15:40:10]line НДС 12% : 13.80 [15:40:10]line Наличными: 130.00 [15:40:10]line Безнал.: 0.00 [15:40:10]line Место: АЗС № 126 "Партнер Нефть" [15:40:10]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [15:40:10]line СНО: Общий режим [15:40:10]line Чек 47 27.10.2024 15:40 [15:40:10]line Смена: 550 ФФД: 1.0 [15:40:10]line ЗНМ: 0300000092 [15:40:10]line РНМ: 0000000000091684 [15:40:10]line Версия ККМ: 001 [15:40:10]line ФМ: 0000000000871841 [15:40:10]line ФД: 37721 [15:40:10]line ФПД: 99278449438381 [15:40:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T154011&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37721&fm=99278449438381&tin=02508201610067®Number=0000000000091684&sum=13000 [15:40:10]OFD Sender: Processing packet 37721 [packets to send 42, broken 41] [15:40:10]ProducePacketName [15:40:10]name=ofd_packets/00037721 [15:40:10]OFD Sender: To server: pG, [15:40:10]CommunicateWithHost lk.salyk.kg:30040 [15:40:10]ConnectInit lk.salyk.kg [15:40:10]line 0 [15:40:10]written 0, free lines is 4095 [15:40:10]Connected sock=10 [15:40:10]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 9F 9A 1C 01 A6 9B 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 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 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 2F 00 00 00 F4 03 04 00 DB 5E 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 59 93 00 00 35 04 06 00 5A 4B 10 B6 6E AD 32 F5 BE E0 E7 45 3B 5C [15:40:10]Write to MH i2c: 01 00 00 76 0B 81 [15:40:10]Write i2c OK [15:40:10]MH_I2C_Read... [15:40:10]Read from MH i2c: 01 [15:40:10]MH_I2C_Read... [15:40:10]Read from MH i2c: 01 07 00 [15:40:10]MH_I2C_Read... [15:40:10]Read from MH i2c: 01 07 00 76 0B 00 00 00 00 00 C8 0C 5C [15:40:10]RasterBufferAndPrint [15:40:10]line [15:40:10]line [15:40:10]line [15:40:10]line [15:40:10]line [15:40:10]written 0, free lines is 3276 [15:40:10]MH_Cut [15:40:10]Write to MH i2c: D1 01 00 7D 0B 01 5A [15:40:10]Write i2c OK [15:40:10]MH_I2C_Read... [15:40:10]Read from MH i2c: D1 [15:40:10]MH_I2C_Read... [15:40:10]Read from MH i2c: D1 01 00 [15:40:10]MH_I2C_Read... [15:40:10]Read from MH i2c: D1 01 00 7D 0B 00 59 [15:40:10]Write to MH i2c: 01 00 00 7E 0B 89 [15:40:10]Write i2c OK [15:40:10]MH_I2C_Read... [15:40: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 25 1A 47 00 F1 9E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 59 93 00 00 F4 03 04 00 D2 09 1E 67 B6 04 01 00 00 5C CD 7E AD DB E5 B4 E4 [15:40:10]CommunicateWithHost err = 0 [15:40:10]CheckOFDResponse [15:40:10]1017 (14) - 77093643461234 [15:40:10]1041 (16) - 0000000000871841 [15:40:10]1040 (4) - 37721 [15:40:10]1012 (4) - 27.10.2024 09:37 [15:40:10]1206 (1) - 0 [15:40:10]OFD Sender: Remove packet 37721 [15:40:10]ProducePacketName [15:40:10]name=ofd_packets/00037721 [15:40:10]NVStorageDeleteData [15:40:11]OFD Sender: No OFD packet to send [15:40:11]*** Cut start [15:40:11]*** Partial cut [15:40:11]*** CUTSNS_PIN = 1 [15:40:11]*** CUTSNS_PIN = 0 [15:40:11]*** Brake cut motor [15:40:12]Read from MH i2c: 01 [15:40:12]MH_I2C_Read... [15:40:12]*** Stop cut motor [15:40:12]*** Cut end [15:40:12]Read from MH i2c: 01 07 00 [15:40:12]MH_I2C_Read... [15:40:12]Read from MH i2c: 01 07 00 7E 0B 00 00 00 00 00 FF 0F 9E [15:40:12]process_action close_receipt done [15:40:12]requested_data is exist [15:40:12]produce_requested_data [15:40:12]requested_item fm.sn is exist - process it [15:40:12]wFMCommunicate request_size=4 [15:40:12]MH_SAM_APDU [15:40:12]CAPDU: 80 11 00 00 [15:40:12]Write to MH i2c: E2 08 00 7F 0B 80 11 00 00 00 00 00 00 04 [15:40:12]Write i2c OK [15:40:12]MH_I2C_Read... [15:40:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:40:12]Read from MH i2c: E2 [15:40:12]MH_I2C_Read... [15:40:12]Read from MH i2c: E2 17 00 [15:40:12]MH_I2C_Read... [15:40:12]Read from MH i2c: E2 17 00 7F 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 54 [15:40:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:40:12]wFMCommunicate OK [15:40:12]requested_item fd.num is exist - process it [15:40:12]SAM_PROTO_GetFieldsCounters [15:40:12]wFMCommunicate request_size=4 [15:40:12]MH_SAM_APDU [15:40:12]CAPDU: 80 13 00 00 [15:40:12]Write to MH i2c: E2 08 00 80 0B 80 13 00 00 00 00 00 00 07 [15:40:12]Write i2c OK [15:40:12]MH_I2C_Read... [15:40:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:40:12]Read from MH i2c: E2 [15:40:12]MH_I2C_Read... [15:40:12]Read from MH i2c: E2 62 00 [15:40:12]MH_I2C_Read... [15:40:12]Read from MH i2c: E2 62 00 80 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 59 93 00 00 0E 04 04 00 26 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 C9 [15:40:12]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 59 93 00 00 0E 04 04 00 26 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 [15:40:12]wFMCommunicate OK [15:40:12]SAM_PROTO_GetFieldsCounters done [15:40:12]requested_item shift.num is exist - process it [15:40:12]requested_item shift.opened is exist - process it [15:40:12]req_shift_opened [15:40:12]FM_GetShiftState [15:40:12]SAM_PROTO_GetShiftState [15:40:12]wFMCommunicate request_size=4 [15:40:12]MH_SAM_APDU [15:40:12]CAPDU: 80 13 01 00 [15:40:12]Write to MH i2c: E2 08 00 81 0B 80 13 01 00 00 00 00 00 09 [15:40:12]Write i2c OK [15:40:12]MH_I2C_Read... [15:40:12]Read from MH i2c: E2 [15:40:12]MH_I2C_Read... [15:40:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:40:12]Read from MH i2c: E2 0E 00 [15:40:12]MH_I2C_Read... [15:40:12]Read from MH i2c: E2 0E 00 81 0B 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 C0 [15:40:12]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [15:40:12]wFMCommunicate OK [15:40:12]SAM_PROTO_GetShiftState done [15:40:12]FM_GetShiftState done [15:40:12]req_shift_opened done [15:40:12]requested_item shift.open_date is exist - process it [15:40:12]req_shift_open_date [15:40:12]req_shift_open_date done [15:40:12]produce_requested_data done [15:40:12]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37721,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [15:40:12]process_action_free close_receipt [15:40:12]json_value_free [15:40:12]json_value_free done [15:40:12]process_json_proto returns [15:40:12]Send response to host [15:40:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37721,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [15:40:12]free response buf [15:40:12]execute_script done [15:40:12]execute_script returns [15:40:12]free content buf [15:40:12]Sock 7.Close socket [15:40:12]Sock 7.Thread stoped [15:40:16]OFD Sender: No OFD packet to send [15:40:21]OFD Sender: No OFD packet to send [15:40:26]OFD Sender: No OFD packet to send [15:40:31]OFD Sender: No OFD packet to send [15:40:36]OFD Sender: No OFD packet to send [15:40:41]OFD Sender: No OFD packet to send [15:40:46]OFD Sender: No OFD packet to send [15:40:51]OFD Sender: No OFD packet to send [15:40:56]OFD Sender: No OFD packet to send [15:41:01]OFD Sender: No OFD packet to send [15:41:06]OFD Sender: No OFD packet to send [15:41:11]OFD Sender: No OFD packet to send [15:41:16]OFD Sender: No OFD packet to send [15:41:21]OFD Sender: No OFD packet to send [15:41:26]OFD Sender: No OFD packet to send [15:41:31]OFD Sender: No OFD packet to send [15:41:36]OFD Sender: No OFD packet to send [15:41:41]OFD Sender: No OFD packet to send [15:41:46]OFD Sender: No OFD packet to send [15:41:51]OFD Sender: No OFD packet to send [15:41:56]OFD Sender: No OFD packet to send [15:42:01]OFD Sender: No OFD packet to send [15:42:06]OFD Sender: No OFD packet to send [15:42:11]OFD Sender: No OFD packet to send [15:42:16]OFD Sender: No OFD packet to send [15:42:21]OFD Sender: No OFD packet to send [15:42:26]OFD Sender: No OFD packet to send [15:42:31]OFD Sender: No OFD packet to send [15:42:36]OFD Sender: No OFD packet to send [15:42:41]OFD Sender: No OFD packet to send [15:42:46]OFD Sender: No OFD packet to send [15:42:51]OFD Sender: No OFD packet to send [15:42:56]OFD Sender: No OFD packet to send [15:43:01]OFD Sender: No OFD packet to send [15:43:06]OFD Sender: No OFD packet to send [15:43:11]OFD Sender: No OFD packet to send [15:43:16]OFD Sender: No OFD packet to send [15:43:21]OFD Sender: No OFD packet to send [15:43:26]OFD Sender: No OFD packet to send [15:43:31]OFD Sender: No OFD packet to send [15:43:36]OFD Sender: No OFD packet to send [15:43:41]OFD Sender: No OFD packet to send [15:43:46]OFD Sender: No OFD packet to send [15:43:51]OFD Sender: No OFD packet to send [15:43:56]OFD Sender: No OFD packet to send [15:44:01]OFD Sender: No OFD packet to send [15:44:06]OFD Sender: No OFD packet to send [15:44:11]OFD Sender: No OFD packet to send [15:44:16]OFD Sender: No OFD packet to send [15:44:21]OFD Sender: No OFD packet to send [15:44:26]OFD Sender: No OFD packet to send [15:44:31]OFD Sender: No OFD packet to send [15:44:36]OFD Sender: No OFD packet to send [15:44:41]OFD Sender: No OFD packet to send [15:44:46]OFD Sender: No OFD packet to send [15:44:51]OFD Sender: No OFD packet to send [15:44:56]OFD Sender: No OFD packet to send [15:45:01]OFD Sender: No OFD packet to send [15:45:06]OFD Sender: No OFD packet to send [15:45:11]OFD Sender: No OFD packet to send [15:45:16]OFD Sender: No OFD packet to send [15:45:21]OFD Sender: No OFD packet to send [15:45:26]OFD Sender: No OFD packet to send [15:45:31]OFD Sender: No OFD packet to send [15:45:36]OFD Sender: No OFD packet to send [15:45:41]OFD Sender: No OFD packet to send [15:45:46]OFD Sender: No OFD packet to send [15:45:51]OFD Sender: No OFD packet to send [15:45:56]OFD Sender: No OFD packet to send [15:46:01]OFD Sender: No OFD packet to send [15:46:06]OFD Sender: No OFD packet to send [15:46:11]OFD Sender: No OFD packet to send [15:46:16]OFD Sender: No OFD packet to send [15:46:21]OFD Sender: No OFD packet to send [15:46:26]OFD Sender: No OFD packet to send [15:46:31]OFD Sender: No OFD packet to send [15:46:36]OFD Sender: No OFD packet to send [15:46:41]OFD Sender: No OFD packet to send [15:46:46]OFD Sender: No OFD packet to send [15:46:51]OFD Sender: No OFD packet to send [15:46:56]OFD Sender: No OFD packet to send [15:47:01]OFD Sender: No OFD packet to send [15:47:06]OFD Sender: No OFD packet to send [15:47:11]OFD Sender: No OFD packet to send [15:47:16]OFD Sender: No OFD packet to send [15:47:21]OFD Sender: No OFD packet to send [15:47:26]OFD Sender: No OFD packet to send [15:47:31]OFD Sender: No OFD packet to send [15:47:36]OFD Sender: No OFD packet to send [15:47:41]OFD Sender: No OFD packet to send [15:47:46]OFD Sender: No OFD packet to send [15:47:51]OFD Sender: No OFD packet to send [15:47:56]OFD Sender: No OFD packet to send [15:48:01]OFD Sender: No OFD packet to send [15:48:06]OFD Sender: No OFD packet to send [15:48:11]OFD Sender: No OFD packet to send [15:48:16]OFD Sender: No OFD packet to send [15:48:21]OFD Sender: No OFD packet to send [15:48:26]OFD Sender: No OFD packet to send [15:48:31]OFD Sender: No OFD packet to send [15:48:36]OFD Sender: No OFD packet to send [15:48:41]OFD Sender: No OFD packet to send [15:48:46]OFD Sender: No OFD packet to send [15:48:51]OFD Sender: No OFD packet to send [15:48:56]OFD Sender: No OFD packet to send [15:49:01]OFD Sender: No OFD packet to send [15:49:06]OFD Sender: No OFD packet to send [15:49:11]OFD Sender: No OFD packet to send [15:49:16]OFD Sender: No OFD packet to send [15:49:21]OFD Sender: No OFD packet to send [15:49:26]OFD Sender: No OFD packet to send [15:49:31]OFD Sender: No OFD packet to send [15:49:36]OFD Sender: No OFD packet to send [15:49:41]OFD Sender: No OFD packet to send [15:49:46]OFD Sender: No OFD packet to send [15:49:51]OFD Sender: No OFD packet to send [15:49:56]OFD Sender: No OFD packet to send [15:50:01]OFD Sender: No OFD packet to send [15:50:06]OFD Sender: No OFD packet to send [15:50:11]OFD Sender: No OFD packet to send [15:50:16]OFD Sender: No OFD packet to send [15:50:21]OFD Sender: No OFD packet to send [15:50:26]OFD Sender: No OFD packet to send [15:50:31]OFD Sender: No OFD packet to send [15:50:36]OFD Sender: No OFD packet to send [15:50:41]OFD Sender: No OFD packet to send [15:50:46]OFD Sender: No OFD packet to send [15:50:51]OFD Sender: No OFD packet to send [15:50:56]OFD Sender: No OFD packet to send [15:51:01]OFD Sender: No OFD packet to send [15:51:06]OFD Sender: No OFD packet to send [15:51:11]OFD Sender: No OFD packet to send [15:51:16]OFD Sender: No OFD packet to send [15:51:21]OFD Sender: No OFD packet to send [15:51:26]OFD Sender: No OFD packet to send [15:51:31]OFD Sender: No OFD packet to send [15:51:37]OFD Sender: No OFD packet to send [15:51:42]OFD Sender: No OFD packet to send [15:51:47]OFD Sender: No OFD packet to send [15:51:52]OFD Sender: No OFD packet to send [15:51:57]OFD Sender: No OFD packet to send [15:52:02]OFD Sender: No OFD packet to send [15:52:07]OFD Sender: No OFD packet to send [15:52:12]OFD Sender: No OFD packet to send [15:52:17]OFD Sender: No OFD packet to send [15:52:22]OFD Sender: No OFD packet to send [15:52:27]OFD Sender: No OFD packet to send [15:52:32]OFD Sender: No OFD packet to send [15:52:37]OFD Sender: No OFD packet to send [15:52:42]OFD Sender: No OFD packet to send [15:52:47]OFD Sender: No OFD packet to send [15:52:52]OFD Sender: No OFD packet to send [15:52:57]OFD Sender: No OFD packet to send [15:53:02]OFD Sender: No OFD packet to send [15:53:07]OFD Sender: No OFD packet to send [15:53:12]OFD Sender: No OFD packet to send [15:53:17]OFD Sender: No OFD packet to send [15:53:22]OFD Sender: No OFD packet to send [15:53:27]OFD Sender: No OFD packet to send [15:53:32]OFD Sender: No OFD packet to send [15:53:37]OFD Sender: No OFD packet to send [15:53:42]OFD Sender: No OFD packet to send [15:53:47]OFD Sender: No OFD packet to send [15:53:52]OFD Sender: No OFD packet to send [15:53:57]OFD Sender: No OFD packet to send [15:54:02]OFD Sender: No OFD packet to send [15:54:07]OFD Sender: No OFD packet to send [15:54:12]OFD Sender: No OFD packet to send [15:54:17]OFD Sender: No OFD packet to send [15:54:22]OFD Sender: No OFD packet to send [15:54:27]OFD Sender: No OFD packet to send [15:54:32]OFD Sender: No OFD packet to send [15:54:37]OFD Sender: No OFD packet to send [15:54:42]OFD Sender: No OFD packet to send [15:54:47]OFD Sender: No OFD packet to send [15:54:52]OFD Sender: No OFD packet to send [15:54:57]OFD Sender: No OFD packet to send [15:55:02]OFD Sender: No OFD packet to send [15:55:07]OFD Sender: No OFD packet to send [15:55:12]OFD Sender: No OFD packet to send [15:55:17]OFD Sender: No OFD packet to send [15:55:22]OFD Sender: No OFD packet to send [15:55:27]OFD Sender: No OFD packet to send [15:55:32]OFD Sender: No OFD packet to send [15:55:37]OFD Sender: No OFD packet to send [15:55:42]OFD Sender: No OFD packet to send [15:55:47]OFD Sender: No OFD packet to send [15:55:52]OFD Sender: No OFD packet to send [15:55:57]OFD Sender: No OFD packet to send [15:56:02]OFD Sender: No OFD packet to send [15:56:07]OFD Sender: No OFD packet to send [15:56:12]OFD Sender: No OFD packet to send [15:56:17]OFD Sender: No OFD packet to send [15:56:22]OFD Sender: No OFD packet to send [15:56:27]OFD Sender: No OFD packet to send [15:56:32]OFD Sender: No OFD packet to send [15:56:37]OFD Sender: No OFD packet to send [15:56:42]OFD Sender: No OFD packet to send [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:21]accept exits with 9 [16:02:21]New connection [16:02:21]New thread 3067297124 created [16:02:21]Thread 3067440484 joined [16:02:21]Waiting for new connection... [16:02:21] Sock 9.Parse request [16:02:21]Sock 9.Check first char [16:02:21]Sock 9.First char is OK [16:02:21]request: POST /json_proto HTTP/1.0 [16:02:21]Method: POST [16:02:21]URL: /json_proto [16:02:21]Method is POST - this is cgi request [16:02:21]url: /json_proto [16:02:21]query_string will be loaded in cgi processing [16:02:21]execute_cgi json_proto POST (null) [16:02:21]execute_cgi path=json_proto method=POST [16:02:21]POST find Content-Length [16:02:21]Host: 172.17.40.196:8080 [16:02:21]Content-Length: 709 [16:02:21]Content-Type: application/json [16:02:21] [16:02:21]POST finish read [16:02:21]Found Content-Length = 709 [16:02:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35020", "tax_sys" : 0, "items" : [ { "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 2.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:02:21]execute_script... [16:02:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35020", "tax_sys" : 0, "items" : [ { "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 2.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:02:21]POST & json_proto [16:02:21]process_json_proto [16:02:21]json parsed OK: [16:02:21]protocol is kg_v1.0 [16:02:21]action value=close_receipt [16:02:21]process_action close_receipt [16:02:21]cmd_close_receipt [16:02:21]MH_GetDate [16:02:21]Write to MH i2c: F0 00 00 82 0B 7C [16:02:21]Write i2c OK [16:02:21]MH_I2C_Read... [16:02:21]Read from MH i2c: F0 [16:02:21]MH_I2C_Read... [16:02:21]Read from MH i2c: F0 09 00 [16:02:21]MH_I2C_Read... [16:02:21]Read from MH i2c: F0 09 00 82 0B 00 10 64 1E 67 5B 68 A1 66 48 [16:02:21]GetLastDocTimeStamp 1730043611 [16:02:21]current date 1730044944 [16:02:21]FM_GetShiftState [16:02:21]SAM_PROTO_GetShiftState [16:02:21]wFMCommunicate request_size=4 [16:02:21]MH_SAM_APDU [16:02:21]CAPDU: 80 13 01 00 [16:02:21]Write to MH i2c: E2 08 00 83 0B 80 13 01 00 00 00 00 00 0B [16:02:21]Write i2c OK [16:02:21]MH_I2C_Read... [16:02:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:02:21]Read from MH i2c: E2 [16:02:21]MH_I2C_Read... [16:02:21]Read from MH i2c: E2 0E 00 [16:02:21]MH_I2C_Read... [16:02:21]Read from MH i2c: E2 0E 00 83 0B 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 C2 [16:02:21]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [16:02:21]wFMCommunicate OK [16:02:21]SAM_PROTO_GetShiftState done [16:02:21]FM_GetShiftState done [16:02:21]opened in 1729987492 [16:02:21]opened+sec_in_day 1730073892 [16:02:21]quantity*price = 18000 [16:02:21]sum+1 = 18001 [16:02:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.59 НДС 12% : 19.11 Наличными: 180.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 48 27.10.2024 16:02 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37722 ФПД: 152355349698147 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T160224&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37722&fm=152355349698147&tin=02508201610067®Number=0000000000091684&sum=18000 0 [16:02:22]StoreToDocumentArchive [16:02:22]shift 550 fd 37722 [16:02:22]save to /storage/0550/doc_00037722 [16:02:22]save last doc name /storage/0550/doc_00037722 to /storage/kkm_last_doc_name [16:02:22]save OK [16:02:22]Clear old archive folders... [16:02:22]ProcessDocumentItem done err = 0, tmpTLVsize=299 [16:02:22]tlvbuf is 00226420 [16:02:22]SAM_PROTO_ClearQueue [16:02:22]wFMCommunicate request_size=4 [16:02:22]MH_SAM_APDU [16:02:22]CAPDU: 80 09 00 00 [16:02:22]Write to MH i2c: E2 08 00 90 0B 80 09 00 00 00 00 00 00 0D [16:02:22]Write i2c OK [16:02:22]MH_I2C_Read... [16:02:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:02:22]Read from MH i2c: E2 [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: E2 03 00 [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: E2 03 00 90 0B 00 90 00 0F [16:02:22]RAPDU: 90 00 [16:02:22]wFMCommunicate OK [16:02:22]SAM_PROTO_ClearQueue done [16:02:22]KKMCreateOFDPacket [16:02:22]OFDProtocolAddRootSTLVToBuf [16:02:22]FM_MakeSignedData [16:02:22]FM_MakeSignedData [16:02:22]SAM_PROTO_SignData [16:02:22]wFMCommunicate request_size=4 [16:02:22]MH_SAM_APDU [16:02:22]CAPDU: 80 0D 01 02 [16:02:22]Write to MH i2c: E2 08 00 91 0B 80 0D 01 02 00 00 00 00 15 [16:02:22]Write i2c OK [16:02:22]MH_I2C_Read... [16:02:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:02:22]Read from MH i2c: E2 [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: E2 03 00 [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: E2 03 00 91 0B 00 90 00 10 [16:02:22]RAPDU: 90 00 [16:02:22]wFMCommunicate OK [16:02:22]wFMCommunicate request_size=255 [16:02:22]MH_SAM_APDU [16:02:22]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 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 10 64 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 [16:02:22]Write to MH i2c: E2 02 01 92 0B 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 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 10 64 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 45 [16:02:22]Write i2c OK [16:02:22]MH_I2C_Read... [16:02:22]OFD Sender: No OFD packet to send [16:02:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:02:22]Read from MH i2c: E2 [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: E2 03 00 [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: E2 03 00 92 0B 00 90 00 11 [16:02:22]RAPDU: 90 00 [16:02:22]wFMCommunicate OK [16:02:22]wFMCommunicate request_size=58 [16:02:22]MH_SAM_APDU [16:02:22]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 5A 93 00 00 35 04 06 00 8A 90 FE 7F 96 63 [16:02:22]Write to MH i2c: E2 3D 00 93 0B 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 5A 93 00 00 35 04 06 00 8A 90 FE 7F 96 63 00 00 84 [16:02:22]Write i2c OK [16:02:22]MH_I2C_Read... [16:02:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:02:22]Read from MH i2c: E2 [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: E2 03 00 [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: E2 03 00 93 0B 00 90 00 12 [16:02:22]RAPDU: 90 00 [16:02:22]wFMCommunicate OK [16:02:22]wFMCommunicate request_size=4 [16:02:22]MH_SAM_APDU [16:02:22]CAPDU: 80 0D 03 02 [16:02:22]Write to MH i2c: E2 08 00 94 0B 80 0D 03 02 00 00 00 00 1A [16:02:22]Write i2c OK [16:02:22]MH_I2C_Read... [16:02:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:02:22]Read from MH i2c: E2 [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: E2 0B 00 [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: E2 0B 00 94 0B 00 BB 92 37 71 D0 29 CF 81 90 00 59 [16:02:22]RAPDU: BB 92 37 71 D0 29 CF 81 90 00 [16:02:22]wFMCommunicate OK [16:02:22]SAM_PROTO_SignData done [16:02:22]FM_MakeSignedData done [16:02:22]CreateOFDProtocolMessage [16:02:22]wFMCommunicate request_size=4 [16:02:22]MH_SAM_APDU [16:02:22]CAPDU: 80 11 00 00 [16:02:22]Write to MH i2c: E2 08 00 95 0B 80 11 00 00 00 00 00 00 1A [16:02:22]Write i2c OK [16:02:22]MH_I2C_Read... [16:02:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:02:23]Read from MH i2c: E2 [16:02:23]MH_I2C_Read... [16:02:23]Read from MH i2c: E2 17 00 [16:02:23]MH_I2C_Read... [16:02:23]Read from MH i2c: E2 17 00 95 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 6A [16:02:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:02:23]wFMCommunicate OK [16:02:23]CreateOFDProtocolMessage done [16:02:23]OFDSenderStorePacket 37722 [16:02:23]StoreOFDPacket docnum=37722 [16:02:23]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 43 3B 37 01 C6 13 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 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 10 64 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 5A 93 00 00 35 04 06 00 8A 90 FE 7F 96 63 BB 92 37 71 D0 29 CF 81 [16:02:23]CheckFolder [16:02:23]dirname=/storage/ofd_packets [16:02:23]CheckFolder done [16:02:23]ProducePacketName [16:02:23]name=ofd_packets/00037722 [16:02:23]NVStorageSaveData ofd_packets/00037722 [16:02:23]File name is /storage/ofd_packets/00037722 [16:02:23]Write 349 bytes [16:02:23]NVStorageSaveData done [16:02:23]OFDSenderStorePacket done [16:02:23]KKMCreateOFDPacket done [16:02:23]NVStorageSaveData kkm_last_timestamp [16:02:23]File name is /storage/kkm_last_timestamp [16:02:23]Write 4 bytes [16:02:23]NVStorageSaveData done [16:02:23]ExternCall_PrintAddStr [16:02:23]wPrintStart [16:02:23]Write to MH i2c: 01 00 00 96 0B A1 [16:02:23]Write i2c OK [16:02:23]MH_I2C_Read... [16:02:23]Read from MH i2c: 01 [16:02:23]MH_I2C_Read... [16:02:23]Read from MH i2c: 01 07 00 [16:02:23]MH_I2C_Read... [16:02:23]Read from MH i2c: 01 07 00 96 0B 00 00 00 00 00 FF 0F B6 [16:02:23]RasterBufferAndPrint [16:02:23]line Счет N : (3)35020 [16:02:23]line ИНН: 02508201610067 [16:02:23]line Контрольно-Кассовый Чек [16:02:23]line ПРОДАЖА [16:02:23]line Товар: 4660085515163 [16:02:23]line Шок Батончик Сникерс супер 95/80г [16:02:23]line 2.000 * 90.00 [16:02:23]line = 180.00 [16:02:23]line НДС 12% НСП 1% [16:02:23]line > о реализуемом товаре [16:02:23]line ИТОГО: 180.00 [16:02:23]line НСП 1% : 1.59 [16:02:23]line НДС 12% : 19.11 [16:02:23]line Наличными: 180.00 [16:02:23]line Безнал.: 0.00 [16:02:23]line Место: АЗС № 126 "Партнер Нефть" [16:02:23]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [16:02:23]line СНО: Общий режим [16:02:23]line Чек 48 27.10.2024 16:02 [16:02:23]line Смена: 550 ФФД: 1.0 [16:02:23]line ЗНМ: 0300000092 [16:02:23]line РНМ: 0000000000091684 [16:02:23]line Версия ККМ: 001 [16:02:23]line ФМ: 0000000000871841 [16:02:23]line ФД: 37722 [16:02:23]line ФПД: 152355349698147 [16:02:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T160224&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37722&fm=152355349698147&tin=02508201610067®Number=0000000000091684&sum=18000 [16:02:23]line 0 [16:02:23]OFD Sender: Processing packet 37722 [packets to send 42, broken 41] [16:02:23]ProducePacketName [16:02:23]name=ofd_packets/00037722 [16:02:23]OFD Sender: To server: pG, [16:02:23]CommunicateWithHost lk.salyk.kg:30040 [16:02:23]ConnectInit lk.salyk.kg [16:02:23]written 0, free lines is 4095 [16:02:23]Connected sock=7 [16:02:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3F 01 00 00 43 3B 37 01 C6 13 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 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 10 64 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 5A 93 00 00 35 04 06 00 8A 90 FE 7F 96 63 BB 92 37 71 D0 29 CF 81 [16:02:23]Write to MH i2c: 01 00 00 BF 0B CA [16:02:23]Write i2c OK [16:02:23]MH_I2C_Read... [16:02:23]Read from MH i2c: 01 [16:02:23]MH_I2C_Read... [16:02:23]Read from MH i2c: 01 07 00 [16:02:23]MH_I2C_Read... [16:02:23]Read from MH i2c: 01 07 00 BF 0B 00 00 00 00 00 B3 0C 90 [16:02:23]RasterBufferAndPrint [16:02:23]line [16:02:23]line [16:02:23]line [16:02:23]line [16:02:23]line [16:02:23]written 0, free lines is 3255 [16:02:23]MH_Cut [16:02:23]Write to MH i2c: D1 01 00 C6 0B 01 A3 [16:02:23]Write i2c OK [16:02:23]MH_I2C_Read... [16:02:23]Read from MH i2c: D1 [16:02:23]MH_I2C_Read... [16:02:23]Read from MH i2c: D1 01 00 [16:02:23]MH_I2C_Read... [16:02:23]Read from MH i2c: D1 01 00 C6 0B 00 A2 [16:02:23]Write to MH i2c: 01 00 00 C7 0B D2 [16:02:23]Write i2c OK [16:02:23]MH_I2C_Read... [16:02:24]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 18 28 47 00 D0 E3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5A 93 00 00 F4 03 04 00 08 0F 1E 67 B6 04 01 00 00 63 C0 83 D4 CF 6F 5F 89 [16:02:24]CommunicateWithHost err = 0 [16:02:24]CheckOFDResponse [16:02:24]1017 (14) - 77093643461234 [16:02:24]1041 (16) - 0000000000871841 [16:02:24]1040 (4) - 37722 [16:02:24]1012 (4) - 27.10.2024 09:59 [16:02:24]1206 (1) - 0 [16:02:24]OFD Sender: Remove packet 37722 [16:02:24]ProducePacketName [16:02:24]name=ofd_packets/00037722 [16:02:24]NVStorageDeleteData [16:02:24]OFD Sender: No OFD packet to send [16:02:24]*** Cut start [16:02:24]*** Partial cut [16:02:24]*** CUTSNS_PIN = 1 [16:02:24]*** CUTSNS_PIN = 0 [16:02:24]*** Brake cut motor [16:02:25]Read from MH i2c: 01 [16:02:25]MH_I2C_Read... [16:02:25]*** Stop cut motor [16:02:25]*** Cut end [16:02:25]Read from MH i2c: 01 07 00 [16:02:25]MH_I2C_Read... [16:02:25]Read from MH i2c: 01 07 00 C7 0B 00 00 00 00 00 FF 0F E7 [16:02:25]process_action close_receipt done [16:02:25]requested_data is exist [16:02:25]produce_requested_data [16:02:25]requested_item fm.sn is exist - process it [16:02:25]wFMCommunicate request_size=4 [16:02:25]MH_SAM_APDU [16:02:25]CAPDU: 80 11 00 00 [16:02:25]Write to MH i2c: E2 08 00 C8 0B 80 11 00 00 00 00 00 00 4D [16:02:25]Write i2c OK [16:02:25]MH_I2C_Read... [16:02:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:02:25]Read from MH i2c: E2 [16:02:25]MH_I2C_Read... [16:02:25]Read from MH i2c: E2 17 00 [16:02:25]MH_I2C_Read... [16:02:25]Read from MH i2c: E2 17 00 C8 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 9D [16:02:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:02:25]wFMCommunicate OK [16:02:25]requested_item fd.num is exist - process it [16:02:25]SAM_PROTO_GetFieldsCounters [16:02:25]wFMCommunicate request_size=4 [16:02:25]MH_SAM_APDU [16:02:25]CAPDU: 80 13 00 00 [16:02:25]Write to MH i2c: E2 08 00 C9 0B 80 13 00 00 00 00 00 00 50 [16:02:25]Write i2c OK [16:02:25]MH_I2C_Read... [16:02:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:02:25]Read from MH i2c: E2 [16:02:25]MH_I2C_Read... [16:02:25]Read from MH i2c: E2 62 00 [16:02:25]MH_I2C_Read... [16:02:25]Read from MH i2c: E2 62 00 C9 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 5A 93 00 00 0E 04 04 00 26 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 [16:02:25]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 5A 93 00 00 0E 04 04 00 26 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:02:25]wFMCommunicate OK [16:02:25]SAM_PROTO_GetFieldsCounters done [16:02:25]requested_item shift.num is exist - process it [16:02:25]requested_item shift.opened is exist - process it [16:02:25]req_shift_opened [16:02:25]FM_GetShiftState [16:02:25]SAM_PROTO_GetShiftState [16:02:25]wFMCommunicate request_size=4 [16:02:25]MH_SAM_APDU [16:02:25]CAPDU: 80 13 01 00 [16:02:25]Write to MH i2c: E2 08 00 CA 0B 80 13 01 00 00 00 00 00 52 [16:02:25]Write i2c OK [16:02:25]MH_I2C_Read... [16:02:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:02:25]Read from MH i2c: E2 [16:02:25]MH_I2C_Read... [16:02:25]Read from MH i2c: E2 0E 00 [16:02:25]MH_I2C_Read... [16:02:25]Read from MH i2c: E2 0E 00 CA 0B 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 09 [16:02:25]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [16:02:25]wFMCommunicate OK [16:02:25]SAM_PROTO_GetShiftState done [16:02:25]FM_GetShiftState done [16:02:25]req_shift_opened done [16:02:25]requested_item shift.open_date is exist - process it [16:02:25]req_shift_open_date [16:02:25]req_shift_open_date done [16:02:25]produce_requested_data done [16:02:25]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37722,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [16:02:25]process_action_free close_receipt [16:02:25]json_value_free [16:02:25]json_value_free done [16:02:25]process_json_proto returns [16:02:25]Send response to host [16:02:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37722,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [16:02:25]free response buf [16:02:25]execute_script done [16:02:25]execute_script returns [16:02:25]free content buf [16:02:25]Sock 9.Close socket [16:02:25]Sock 9.Thread stoped [16:02:29]OFD Sender: No OFD packet to send [16:02:34]OFD Sender: No OFD packet to send [16:02:39]OFD Sender: No OFD packet to send [16:02:44]OFD Sender: No OFD packet to send [16:02:49]OFD Sender: No OFD packet to send [16:02:54]OFD Sender: No OFD packet to send [16:02:59]OFD Sender: No OFD packet to send [16:03:04]OFD Sender: No OFD packet to send [16:03:09]OFD Sender: No OFD packet to send [16:03:14]OFD Sender: No OFD packet to send [16:03:19]OFD Sender: No OFD packet to send [16:03:24]OFD Sender: No OFD packet to send [16:03:29]OFD Sender: No OFD packet to send [16:03:34]OFD Sender: No OFD packet to send [16:03:39]OFD Sender: No OFD packet to send [16:03:44]OFD Sender: No OFD packet to send [16:03:49]OFD Sender: No OFD packet to send [16:03:54]OFD Sender: No OFD packet to send [16:03:59]OFD Sender: No OFD packet to send [16:04:04]OFD Sender: No OFD packet to send [16:04:09]OFD Sender: No OFD packet to send [16:04:14]OFD Sender: No OFD packet to send [16:04:17]accept exits with 10 [16:04:17]New connection [16:04:17]New thread 3067440484 created [16:04:17]Thread 3067297124 joined [16:04:17]Waiting for new connection... [16:04:17] Sock 10.Parse request [16:04:17]Sock 10.Check first char [16:04:17]Sock 10.First char is OK [16:04:17]request: POST /json_proto HTTP/1.0 [16:04:17]Method: POST [16:04:17]URL: /json_proto [16:04:17]Method is POST - this is cgi request [16:04:17]url: /json_proto [16:04:17]query_string will be loaded in cgi processing [16:04:17]execute_cgi json_proto POST (null) [16:04:17]execute_cgi path=json_proto method=POST [16:04:17]POST find Content-Length [16:04:17]Host: 172.17.40.196:8080 [16:04:17]Content-Length: 752 [16:04:17]Content-Type: application/json [16:04:17] [16:04:17]POST finish read [16:04:17]Found Content-Length = 752 [16:04:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35021", "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" ] } } [16:04:17]execute_script... [16:04: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)35021", "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" ] } } [16:04:17]POST & json_proto [16:04:17]process_json_proto [16:04:17]json parsed OK: [16:04:17]protocol is kg_v1.0 [16:04:17]action value=close_receipt [16:04:17]process_action close_receipt [16:04:17]cmd_close_receipt [16:04:17]MH_GetDate [16:04:17]Write to MH i2c: F0 00 00 CB 0B C5 [16:04:17]Write i2c OK [16:04:17]MH_I2C_Read... [16:04:17]Read from MH i2c: F0 [16:04:17]MH_I2C_Read... [16:04:17]Read from MH i2c: F0 09 00 [16:04:17]MH_I2C_Read... [16:04:17]Read from MH i2c: F0 09 00 CB 0B 00 84 64 1E 67 5B 68 A1 66 05 [16:04:17]GetLastDocTimeStamp 1730044944 [16:04:17]current date 1730045060 [16:04:17]FM_GetShiftState [16:04:17]SAM_PROTO_GetShiftState [16:04:17]wFMCommunicate request_size=4 [16:04:17]MH_SAM_APDU [16:04:17]CAPDU: 80 13 01 00 [16:04:17]Write to MH i2c: E2 08 00 CC 0B 80 13 01 00 00 00 00 00 54 [16:04:17]Write i2c OK [16:04:17]MH_I2C_Read... [16:04:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:04:17]Read from MH i2c: E2 [16:04:17]MH_I2C_Read... [16:04:17]Read from MH i2c: E2 0E 00 [16:04:17]MH_I2C_Read... [16:04:17]Read from MH i2c: E2 0E 00 CC 0B 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 0B [16:04:17]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [16:04:17]wFMCommunicate OK [16:04:17]SAM_PROTO_GetShiftState done [16:04:17]FM_GetShiftState done [16:04:17]opened in 1729987492 [16:04:17]opened+sec_in_day 1730073892 [16:04:17]quantity*price = 11500 [16:04:17]sum+1 = 11501 [16:04:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 0.00 Безнал.: 115.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 49 27.10.2024 16:04 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37723 ФПД: 157218246351371 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T160420&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37723&fm=157218246351371&tin=02508201610067®Number=0000000000091684&sum=11500 0 [16:04:18]StoreToDocumentArchive [16:04:18]shift 550 fd 37723 [16:04:18]save to /storage/0550/doc_00037723 [16:04:18]save last doc name /storage/0550/doc_00037723 to /storage/kkm_last_doc_name [16:04:18]save OK [16:04:18]Clear old archive folders... [16:04:18]ProcessDocumentItem done err = 0, tmpTLVsize=274 [16:04:18]tlvbuf is 00214C30 [16:04:18]SAM_PROTO_ClearQueue [16:04:18]wFMCommunicate request_size=4 [16:04:18]MH_SAM_APDU [16:04:18]CAPDU: 80 09 00 00 [16:04:18]Write to MH i2c: E2 08 00 D9 0B 80 09 00 00 00 00 00 00 56 [16:04:18]Write i2c OK [16:04:18]MH_I2C_Read... [16:04:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:04:18]Read from MH i2c: E2 [16:04:18]MH_I2C_Read... [16:04:18]Read from MH i2c: E2 03 00 [16:04:18]MH_I2C_Read... [16:04:18]Read from MH i2c: E2 03 00 D9 0B 00 90 00 58 [16:04:18]RAPDU: 90 00 [16:04:18]wFMCommunicate OK [16:04:18]SAM_PROTO_ClearQueue done [16:04:18]KKMCreateOFDPacket [16:04:18]OFDProtocolAddRootSTLVToBuf [16:04:18]FM_MakeSignedData [16:04:18]FM_MakeSignedData [16:04:18]SAM_PROTO_SignData [16:04:18]wFMCommunicate request_size=4 [16:04:18]MH_SAM_APDU [16:04:18]CAPDU: 80 0D 01 02 [16:04:18]Write to MH i2c: E2 08 00 DA 0B 80 0D 01 02 00 00 00 00 5E [16:04:18]Write i2c OK [16:04:18]MH_I2C_Read... [16:04:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:04:18]Read from MH i2c: E2 [16:04:18]MH_I2C_Read... [16:04:18]Read from MH i2c: E2 03 00 [16:04:18]MH_I2C_Read... [16:04:18]Read from MH i2c: E2 03 00 DA 0B 00 90 00 59 [16:04:18]RAPDU: 90 00 [16:04:18]wFMCommunicate OK [16:04:18]wFMCommunicate request_size=255 [16:04:18]MH_SAM_APDU [16:04:18]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 31 00 00 00 F4 03 04 00 84 64 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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:04:18]Write to MH i2c: E2 02 01 DB 0B 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 31 00 00 00 F4 03 04 00 84 64 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 C3 [16:04:18]Write i2c OK [16:04:18]MH_I2C_Read... [16:04:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:04:18]Read from MH i2c: E2 [16:04:18]MH_I2C_Read... [16:04:18]Read from MH i2c: E2 03 00 [16:04:18]MH_I2C_Read... [16:04:18]Read from MH i2c: E2 03 00 DB 0B 00 90 00 5A [16:04:18]RAPDU: 90 00 [16:04:18]wFMCommunicate OK [16:04:18]wFMCommunicate request_size=33 [16:04:18]MH_SAM_APDU [16:04:18]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5B 93 00 00 35 04 06 00 8E FD 39 B9 DA 0B [16:04:18]Write to MH i2c: E2 24 00 DC 0B 80 0D 02 02 1C 00 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5B 93 00 00 35 04 06 00 8E FD 39 B9 DA 0B 00 00 3D [16:04:18]Write i2c OK [16:04:18]MH_I2C_Read... [16:04:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:04:18]Read from MH i2c: E2 [16:04:18]MH_I2C_Read... [16:04:18]Read from MH i2c: E2 03 00 [16:04:18]MH_I2C_Read... [16:04:18]Read from MH i2c: E2 03 00 DC 0B 00 90 00 5B [16:04:18]RAPDU: 90 00 [16:04:18]wFMCommunicate OK [16:04:18]wFMCommunicate request_size=4 [16:04:18]MH_SAM_APDU [16:04:18]CAPDU: 80 0D 03 02 [16:04:18]Write to MH i2c: E2 08 00 DD 0B 80 0D 03 02 00 00 00 00 63 [16:04:18]Write i2c OK [16:04:18]MH_I2C_Read... [16:04:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:04:18]Read from MH i2c: E2 [16:04:18]MH_I2C_Read... [16:04:18]Read from MH i2c: E2 0B 00 [16:04:18]MH_I2C_Read... [16:04:18]Read from MH i2c: E2 0B 00 DD 0B 00 AC 53 D9 DD EE D9 10 37 90 00 27 [16:04:18]RAPDU: AC 53 D9 DD EE D9 10 37 90 00 [16:04:18]wFMCommunicate OK [16:04:18]SAM_PROTO_SignData done [16:04:18]FM_MakeSignedData done [16:04:18]CreateOFDProtocolMessage [16:04:18]wFMCommunicate request_size=4 [16:04:18]MH_SAM_APDU [16:04:18]CAPDU: 80 11 00 00 [16:04:18]Write to MH i2c: E2 08 00 DE 0B 80 11 00 00 00 00 00 00 63 [16:04:18]Write i2c OK [16:04:18]MH_I2C_Read... [16:04:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:04:18]Read from MH i2c: E2 [16:04:18]MH_I2C_Read... [16:04:18]Read from MH i2c: E2 17 00 [16:04:18]MH_I2C_Read... [16:04:18]Read from MH i2c: E2 17 00 DE 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 B3 [16:04:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:04:18]wFMCommunicate OK [16:04:18]CreateOFDProtocolMessage done [16:04:18]OFDSenderStorePacket 37723 [16:04:18]StoreOFDPacket docnum=37723 [16:04:18]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 D1 80 1E 01 CA 2E 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 31 00 00 00 F4 03 04 00 84 64 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 5B 93 00 00 35 04 06 00 8E FD 39 B9 DA 0B AC 53 D9 DD EE D9 10 37 [16:04:18]CheckFolder [16:04:18]dirname=/storage/ofd_packets [16:04:18]CheckFolder done [16:04:18]ProducePacketName [16:04:18]name=ofd_packets/00037723 [16:04:18]NVStorageSaveData ofd_packets/00037723 [16:04:18]File name is /storage/ofd_packets/00037723 [16:04:18]Write 324 bytes [16:04:18]NVStorageSaveData done [16:04:18]OFDSenderStorePacket done [16:04:18]KKMCreateOFDPacket done [16:04:18]NVStorageSaveData kkm_last_timestamp [16:04:18]File name is /storage/kkm_last_timestamp [16:04:18]Write 4 bytes [16:04:18]NVStorageSaveData done [16:04:18]ExternCall_PrintAddStr [16:04:18]wPrintStart [16:04:18]Write to MH i2c: 01 00 00 DF 0B EA [16:04:18]Write i2c OK [16:04:18]MH_I2C_Read... [16:04:18]Read from MH i2c: 01 [16:04:18]MH_I2C_Read... [16:04:18]Read from MH i2c: 01 07 00 [16:04:18]MH_I2C_Read... [16:04:18]Read from MH i2c: 01 07 00 DF 0B 00 00 00 00 00 FF 0F FF [16:04:18]RasterBufferAndPrint [16:04:18]line Счет N : (3)35021 [16:04:18]line ИНН: 02508201610067 [16:04:18]line Контрольно-Кассовый Чек [16:04:18]line ПРОДАЖА [16:04:18]line Товар: 2000036240010 [16:04:18]line Кофе Латте (GABB TRADE) [16:04:18]line 1.000 * 115.00 [16:04:18]line = 115.00 [16:04:18]line НДС 12% НСП 1% [16:04:18]line > о реализуемом товаре [16:04:18]line ИТОГО: 115.00 [16:04:18]line НСП 1% : 1.02 [16:04:18]line НДС 12% : 12.21 [16:04:18]line Наличными: 0.00 [16:04:18]line Безнал.: 115.00 [16:04:18]line Место: АЗС № 126 "Партнер Нефть" [16:04:18]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [16:04:18]line СНО: Общий режим [16:04:18]line Чек 49 27.10.2024 16:04 [16:04:18]line Смена: 550 ФФД: 1.0 [16:04:18]line ЗНМ: 0300000092 [16:04:18]line РНМ: 0000000000091684 [16:04:18]line Версия ККМ: 001 [16:04:18]line Платежная система: Mbank [16:04:18]line ФМ: 0000000000871841 [16:04:18]line ФД: 37723 [16:04:18]line ФПД: 157218246351371 [16:04:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T160420&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37723&fm=157218246351371&tin=02508201610067®Number=0000000000091684&sum=11500 [16:04:19]line 0 [16:04:19]OFD Sender: Processing packet 37723 [packets to send 42, broken 41] [16:04:19]ProducePacketName [16:04:19]name=ofd_packets/00037723 [16:04:19]OFD Sender: To server: pG, [16:04:19]CommunicateWithHost lk.salyk.kg:30040 [16:04:19]ConnectInit lk.salyk.kg [16:04:19]written 0, free lines is 4095 [16:04:19]Connected sock=9 [16:04: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 26 01 00 00 D1 80 1E 01 CA 2E 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 31 00 00 00 F4 03 04 00 84 64 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 5B 93 00 00 35 04 06 00 8E FD 39 B9 DA 0B AC 53 D9 DD EE D9 10 37 [16:04:19]Write to MH i2c: 01 00 00 08 0C 14 [16:04:19]Write i2c OK [16:04:19]MH_I2C_Read... [16:04:19]Read from MH i2c: 01 [16:04:19]MH_I2C_Read... [16:04:19]Read from MH i2c: 01 07 00 [16:04:19]MH_I2C_Read... [16:04:19]Read from MH i2c: 01 07 00 08 0C 00 00 00 00 00 C0 0C E7 [16:04:19]RasterBufferAndPrint [16:04:19]line [16:04:19]line [16:04:19]line [16:04:19]line [16:04:19]line [16:04:19]written 0, free lines is 3270 [16:04:19]MH_Cut [16:04:19]Write to MH i2c: D1 01 00 0F 0C 01 ED [16:04:19]Write i2c OK [16:04:19]MH_I2C_Read... [16:04:19]Read from MH i2c: D1 [16:04:19]MH_I2C_Read... [16:04:19]Read from MH i2c: D1 01 00 [16:04:19]MH_I2C_Read... [16:04:19]Read from MH i2c: D1 01 00 0F 0C 00 EC [16:04:19]Write to MH i2c: 01 00 00 10 0C 1C [16:04:19]Write i2c OK [16:04:19]MH_I2C_Read... [16:04:19]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 0A 99 47 00 B9 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 5B 93 00 00 F4 03 04 00 7B 0F 1E 67 B6 04 01 00 00 A7 88 59 F3 4B 7C 2D DA [16:04:19]CommunicateWithHost err = 0 [16:04:19]CheckOFDResponse [16:04:19]1017 (14) - 77093643461234 [16:04:19]1041 (16) - 0000000000871841 [16:04:19]1040 (4) - 37723 [16:04:19]1012 (4) - 27.10.2024 10:01 [16:04:19]1206 (1) - 0 [16:04:19]OFD Sender: Remove packet 37723 [16:04:19]ProducePacketName [16:04:19]name=ofd_packets/00037723 [16:04:19]NVStorageDeleteData [16:04:20]OFD Sender: No OFD packet to send [16:04:20]*** Cut start [16:04:20]*** Partial cut [16:04:20]*** CUTSNS_PIN = 1 [16:04:20]*** CUTSNS_PIN = 0 [16:04:20]*** Brake cut motor [16:04:21]Read from MH i2c: 01 [16:04:21]MH_I2C_Read... [16:04:21]*** Stop cut motor [16:04:21]*** Cut end [16:04:21]Read from MH i2c: 01 07 00 [16:04:21]MH_I2C_Read... [16:04:21]Read from MH i2c: 01 07 00 10 0C 00 00 00 00 00 FF 0F 31 [16:04:21]process_action close_receipt done [16:04:21]requested_data is exist [16:04:21]produce_requested_data [16:04:21]requested_item fm.sn is exist - process it [16:04:21]wFMCommunicate request_size=4 [16:04:21]MH_SAM_APDU [16:04:21]CAPDU: 80 11 00 00 [16:04:21]Write to MH i2c: E2 08 00 11 0C 80 11 00 00 00 00 00 00 97 [16:04:21]Write i2c OK [16:04:21]MH_I2C_Read... [16:04:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:04:21]Read from MH i2c: E2 [16:04:21]MH_I2C_Read... [16:04:21]Read from MH i2c: E2 17 00 [16:04:21]MH_I2C_Read... [16:04:21]Read from MH i2c: E2 17 00 11 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 E7 [16:04:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:04:21]wFMCommunicate OK [16:04:21]requested_item fd.num is exist - process it [16:04:21]SAM_PROTO_GetFieldsCounters [16:04:21]wFMCommunicate request_size=4 [16:04:21]MH_SAM_APDU [16:04:21]CAPDU: 80 13 00 00 [16:04:21]Write to MH i2c: E2 08 00 12 0C 80 13 00 00 00 00 00 00 9A [16:04:21]Write i2c OK [16:04:21]MH_I2C_Read... [16:04:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:04:21]Read from MH i2c: E2 [16:04:21]MH_I2C_Read... [16:04:21]Read from MH i2c: E2 62 00 [16:04:21]MH_I2C_Read... [16:04:21]Read from MH i2c: E2 62 00 12 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 5B 93 00 00 0E 04 04 00 26 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 64 [16:04: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 5B 93 00 00 0E 04 04 00 26 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:04:21]wFMCommunicate OK [16:04:21]SAM_PROTO_GetFieldsCounters done [16:04:21]requested_item shift.num is exist - process it [16:04:21]requested_item shift.opened is exist - process it [16:04:21]req_shift_opened [16:04:21]FM_GetShiftState [16:04:21]SAM_PROTO_GetShiftState [16:04:21]wFMCommunicate request_size=4 [16:04:21]MH_SAM_APDU [16:04:21]CAPDU: 80 13 01 00 [16:04:21]Write to MH i2c: E2 08 00 13 0C 80 13 01 00 00 00 00 00 9C [16:04:21]Write i2c OK [16:04:21]MH_I2C_Read... [16:04:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:04:21]Read from MH i2c: E2 [16:04:21]MH_I2C_Read... [16:04:21]Read from MH i2c: E2 0E 00 [16:04:21]MH_I2C_Read... [16:04:21]Read from MH i2c: E2 0E 00 13 0C 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 53 [16:04:21]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [16:04:21]wFMCommunicate OK [16:04:21]SAM_PROTO_GetShiftState done [16:04:21]FM_GetShiftState done [16:04:21]req_shift_opened done [16:04:21]requested_item shift.open_date is exist - process it [16:04:21]req_shift_open_date [16:04:21]req_shift_open_date done [16:04:21]produce_requested_data done [16:04:21]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37723,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [16:04:21]process_action_free close_receipt [16:04:21]json_value_free [16:04:21]json_value_free done [16:04:21]process_json_proto returns [16:04:21]Send response to host [16:04:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37723,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [16:04:21]free response buf [16:04:21]execute_script done [16:04:21]execute_script returns [16:04:21]free content buf [16:04:21]Sock 10.Close socket [16:04:21]Sock 10.Thread stoped [16:04:25]OFD Sender: No OFD packet to send [16:04:30]OFD Sender: No OFD packet to send [16:04:35]OFD Sender: No OFD packet to send [16:04:40]OFD Sender: No OFD packet to send [16:04:45]OFD Sender: No OFD packet to send [16:04:50]OFD Sender: No OFD packet to send [16:04:55]OFD Sender: No OFD packet to send [16:05:00]OFD Sender: No OFD packet to send [16:05:05]OFD Sender: No OFD packet to send [16:05:10]OFD Sender: No OFD packet to send [16:05:15]OFD Sender: No OFD packet to send [16:05:20]OFD Sender: No OFD packet to send [16:05:25]OFD Sender: No OFD packet to send [16:05:30]OFD Sender: No OFD packet to send [16:05:35]OFD Sender: No OFD packet to send [16:05:40]OFD Sender: No OFD packet to send [16:05:41]accept exits with 7 [16:05:41]New connection [16:05:41]New thread 3067297124 created [16:05:41]Thread 3067440484 joined [16:05:41]Waiting for new connection... [16:05:41] Sock 7.Parse request [16:05:41]Sock 7.Check first char [16:05:41]Sock 7.First char is OK [16:05:41]request: POST /json_proto HTTP/1.0 [16:05:41]Method: POST [16:05:41]URL: /json_proto [16:05:41]Method is POST - this is cgi request [16:05:41]url: /json_proto [16:05:41]query_string will be loaded in cgi processing [16:05:41]execute_cgi json_proto POST (null) [16:05:41]execute_cgi path=json_proto method=POST [16:05:41]POST find Content-Length [16:05:41]Host: 172.17.40.196:8080 [16:05:41]Content-Length: 631 [16:05:41]Content-Type: application/json [16:05:41] [16:05:41]POST finish read [16:05:41]Found Content-Length = 631 [16:05:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35022", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:05:41]execute_script... [16:05: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)35022", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:05:41]POST & json_proto [16:05:41]process_json_proto [16:05:41]json parsed OK: [16:05:41]protocol is kg_v1.0 [16:05:41]action value=close_receipt [16:05:41]process_action close_receipt [16:05:41]cmd_close_receipt [16:05:41]MH_GetDate [16:05:41]Write to MH i2c: F0 00 00 14 0C 0F [16:05:41]Write i2c OK [16:05:41]MH_I2C_Read... [16:05:41]Read from MH i2c: F0 [16:05:41]MH_I2C_Read... [16:05:41]Read from MH i2c: F0 09 00 [16:05:41]MH_I2C_Read... [16:05:41]Read from MH i2c: F0 09 00 14 0C 00 D8 64 1E 67 5B 68 A1 66 A3 [16:05:41]GetLastDocTimeStamp 1730045060 [16:05:41]current date 1730045144 [16:05:41]FM_GetShiftState [16:05:41]SAM_PROTO_GetShiftState [16:05:41]wFMCommunicate request_size=4 [16:05:41]MH_SAM_APDU [16:05:41]CAPDU: 80 13 01 00 [16:05:41]Write to MH i2c: E2 08 00 15 0C 80 13 01 00 00 00 00 00 9E [16:05:41]Write i2c OK [16:05:41]MH_I2C_Read... [16:05:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:05:41]Read from MH i2c: E2 [16:05:41]MH_I2C_Read... [16:05:41]Read from MH i2c: E2 0E 00 [16:05:41]MH_I2C_Read... [16:05:41]Read from MH i2c: E2 0E 00 15 0C 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 55 [16:05:41]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [16:05:41]wFMCommunicate OK [16:05:41]SAM_PROTO_GetShiftState done [16:05:41]FM_GetShiftState done [16:05:41]opened in 1729987492 [16:05:41]opened+sec_in_day 1730073892 [16:05:41]quantity*price = 6000 [16:05:41]sum+1 = 6001 [16:05:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 50 27.10.2024 16:05 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37724 ФПД: 159616320562753 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T160544&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37724&fm=159616320562753&tin=02508201610067®Number=0000000000091684&sum=6000 0 [16:05:42]StoreToDocumentArchive [16:05:42]shift 550 fd 37724 [16:05:42]save to /storage/0550/doc_00037724 [16:05:42]save last doc name /storage/0550/doc_00037724 to /storage/kkm_last_doc_name [16:05:42]save OK [16:05:42]Clear old archive folders... [16:05:42]ProcessDocumentItem done err = 0, tmpTLVsize=271 [16:05:42]tlvbuf is 00238610 [16:05:42]SAM_PROTO_ClearQueue [16:05:42]wFMCommunicate request_size=4 [16:05:42]MH_SAM_APDU [16:05:42]CAPDU: 80 09 00 00 [16:05:42]Write to MH i2c: E2 08 00 22 0C 80 09 00 00 00 00 00 00 A0 [16:05:42]Write i2c OK [16:05:42]MH_I2C_Read... [16:05:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:05:42]Read from MH i2c: E2 [16:05:42]MH_I2C_Read... [16:05:42]Read from MH i2c: E2 03 00 [16:05:42]MH_I2C_Read... [16:05:42]Read from MH i2c: E2 03 00 22 0C 00 90 00 A2 [16:05:42]RAPDU: 90 00 [16:05:42]wFMCommunicate OK [16:05:42]SAM_PROTO_ClearQueue done [16:05:42]KKMCreateOFDPacket [16:05:42]OFDProtocolAddRootSTLVToBuf [16:05:42]FM_MakeSignedData [16:05:42]FM_MakeSignedData [16:05:42]SAM_PROTO_SignData [16:05:42]wFMCommunicate request_size=4 [16:05:42]MH_SAM_APDU [16:05:42]CAPDU: 80 0D 01 02 [16:05:42]Write to MH i2c: E2 08 00 23 0C 80 0D 01 02 00 00 00 00 A8 [16:05:42]Write i2c OK [16:05:42]MH_I2C_Read... [16:05:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:05:42]Read from MH i2c: E2 [16:05:42]MH_I2C_Read... [16:05:42]Read from MH i2c: E2 03 00 [16:05:42]MH_I2C_Read... [16:05:42]Read from MH i2c: E2 03 00 23 0C 00 90 00 A3 [16:05:42]RAPDU: 90 00 [16:05:42]wFMCommunicate OK [16:05:42]wFMCommunicate request_size=255 [16:05:42]MH_SAM_APDU [16:05:42]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 D8 64 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [16:05:42]Write to MH i2c: E2 02 01 24 0C 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 D8 64 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 F5 [16:05:42]Write i2c OK [16:05:42]MH_I2C_Read... [16:05:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:05:42]Read from MH i2c: E2 [16:05:42]MH_I2C_Read... [16:05:42]Read from MH i2c: E2 03 00 [16:05:42]MH_I2C_Read... [16:05:42]Read from MH i2c: E2 03 00 24 0C 00 90 00 A4 [16:05:42]RAPDU: 90 00 [16:05:42]wFMCommunicate OK [16:05:42]wFMCommunicate request_size=30 [16:05:42]MH_SAM_APDU [16:05:42]CAPDU: 80 0D 02 02 19 30 38 37 31 38 34 31 10 04 04 00 5C 93 00 00 35 04 06 00 91 2B 92 16 66 41 [16:05:42]Write to MH i2c: E2 21 00 25 0C 80 0D 02 02 19 00 30 38 37 31 38 34 31 10 04 04 00 5C 93 00 00 35 04 06 00 91 2B 92 16 66 41 00 00 9B [16:05:42]Write i2c OK [16:05:42]MH_I2C_Read... [16:05:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:05:42]Read from MH i2c: E2 [16:05:42]MH_I2C_Read... [16:05:42]Read from MH i2c: E2 03 00 [16:05:42]MH_I2C_Read... [16:05:42]Read from MH i2c: E2 03 00 25 0C 00 90 00 A5 [16:05:42]RAPDU: 90 00 [16:05:42]wFMCommunicate OK [16:05:42]wFMCommunicate request_size=4 [16:05:42]MH_SAM_APDU [16:05:42]CAPDU: 80 0D 03 02 [16:05:42]Write to MH i2c: E2 08 00 26 0C 80 0D 03 02 00 00 00 00 AD [16:05:42]Write i2c OK [16:05:42]MH_I2C_Read... [16:05:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:05:42]Read from MH i2c: E2 [16:05:42]MH_I2C_Read... [16:05:42]Read from MH i2c: E2 0B 00 [16:05:42]MH_I2C_Read... [16:05:42]Read from MH i2c: E2 0B 00 26 0C 00 FF C9 65 D4 D8 45 06 57 90 00 29 [16:05:42]RAPDU: FF C9 65 D4 D8 45 06 57 90 00 [16:05:42]wFMCommunicate OK [16:05:42]SAM_PROTO_SignData done [16:05:42]FM_MakeSignedData done [16:05:42]CreateOFDProtocolMessage [16:05:42]wFMCommunicate request_size=4 [16:05:42]MH_SAM_APDU [16:05:42]CAPDU: 80 11 00 00 [16:05:42]Write to MH i2c: E2 08 00 27 0C 80 11 00 00 00 00 00 00 AD [16:05:42]Write i2c OK [16:05:42]MH_I2C_Read... [16:05:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:05:42]Read from MH i2c: E2 [16:05:42]MH_I2C_Read... [16:05:42]Read from MH i2c: E2 17 00 [16:05:42]MH_I2C_Read... [16:05:42]Read from MH i2c: E2 17 00 27 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 FD [16:05:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:05:42]wFMCommunicate OK [16:05:42]CreateOFDProtocolMessage done [16:05:42]OFDSenderStorePacket 37724 [16:05:42]StoreOFDPacket docnum=37724 [16:05: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 23 01 00 00 31 24 1B 01 08 32 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 D8 64 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 5C 93 00 00 35 04 06 00 91 2B 92 16 66 41 FF C9 65 D4 D8 45 06 57 [16:05:42]CheckFolder [16:05:42]dirname=/storage/ofd_packets [16:05:42]CheckFolder done [16:05:42]ProducePacketName [16:05:42]name=ofd_packets/00037724 [16:05:42]NVStorageSaveData ofd_packets/00037724 [16:05:42]File name is /storage/ofd_packets/00037724 [16:05:42]Write 321 bytes [16:05:42]NVStorageSaveData done [16:05:42]OFDSenderStorePacket done [16:05:42]KKMCreateOFDPacket done [16:05:42]NVStorageSaveData kkm_last_timestamp [16:05:42]File name is /storage/kkm_last_timestamp [16:05:42]Write 4 bytes [16:05:42]NVStorageSaveData done [16:05:42]ExternCall_PrintAddStr [16:05:42]wPrintStart [16:05:42]Write to MH i2c: 01 00 00 28 0C 34 [16:05:42]Write i2c OK [16:05:42]MH_I2C_Read... [16:05:42]Read from MH i2c: 01 [16:05:42]MH_I2C_Read... [16:05:42]Read from MH i2c: 01 07 00 [16:05:42]MH_I2C_Read... [16:05:42]Read from MH i2c: 01 07 00 28 0C 00 00 00 00 00 FF 0F 49 [16:05:42]RasterBufferAndPrint [16:05:42]line Счет N : (3)35022 [16:05:42]line ИНН: 02508201610067 [16:05:42]line Контрольно-Кассовый Чек [16:05:42]line ПРОДАЖА [16:05:42]line Товар: 4700000160204 [16:05:42]line Вода Легенда 1,5л [16:05:42]line 1.000 * 60.00 [16:05:42]line = 60.00 [16:05:42]line НДС 12% НСП 1% [16:05:42]line > о реализуемом товаре [16:05:42]line ИТОГО: 60.00 [16:05:42]line НСП 1% : 0.53 [16:05:42]line НДС 12% : 6.37 [16:05:42]line Наличными: 60.00 [16:05:42]line Безнал.: 0.00 [16:05:42]line Место: АЗС № 126 "Партнер Нефть" [16:05:42]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [16:05:42]line СНО: Общий режим [16:05:42]line Чек 50 27.10.2024 16:05 [16:05:42]line Смена: 550 ФФД: 1.0 [16:05:42]line ЗНМ: 0300000092 [16:05:42]line РНМ: 0000000000091684 [16:05:42]line Версия ККМ: 001 [16:05:42]line ФМ: 0000000000871841 [16:05:42]line ФД: 37724 [16:05:42]line ФПД: 159616320562753 [16:05:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T160544&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37724&fm=159616320562753&tin=02508201610067®Number=0000000000091684&sum=6000 [16:05:43]OFD Sender: Processing packet 37724 [packets to send 42, broken 41] [16:05:43]ProducePacketName [16:05:43]name=ofd_packets/00037724 [16:05:43]OFD Sender: To server: pG, [16:05:43]CommunicateWithHost lk.salyk.kg:30040 [16:05:43]ConnectInit lk.salyk.kg [16:05:43]line 0 [16:05:43]written 0, free lines is 4095 [16:05:43]Write to MH i2c: 01 00 00 50 0C 5C [16:05:43]Write i2c OK [16:05:43]MH_I2C_Read... [16:05:43]Read from MH i2c: 01 [16:05:43]MH_I2C_Read... [16:05:43]Read from MH i2c: 01 07 00 [16:05:43]MH_I2C_Read... [16:05:43]Read from MH i2c: 01 07 00 50 0C 00 00 00 00 00 C4 0C 33 [16:05:43]RasterBufferAndPrint [16:05:43]line [16:05:43]line [16:05:43]line [16:05:43]line [16:05:43]line [16:05:43]written 0, free lines is 3272 [16:05:43]MH_Cut [16:05:43]Write to MH i2c: D1 01 00 57 0C 01 35 [16:05:43]Write i2c OK [16:05:43]MH_I2C_Read... [16:05:43]Read from MH i2c: D1 [16:05:43]MH_I2C_Read... [16:05:43]Read from MH i2c: D1 01 00 [16:05:43]MH_I2C_Read... [16:05:43]Read from MH i2c: D1 01 00 57 0C 00 34 [16:05:43]Write to MH i2c: 01 00 00 58 0C 64 [16:05:43]Write i2c OK [16:05:43]MH_I2C_Read... [16:05:43]Connected sock=11 [16:05: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 23 01 00 00 31 24 1B 01 08 32 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 D8 64 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 5C 93 00 00 35 04 06 00 91 2B 92 16 66 41 FF C9 65 D4 D8 45 06 57 [16:05: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 1B 99 47 00 48 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 5C 93 00 00 F4 03 04 00 D0 0F 1E 67 B6 04 01 00 00 23 A1 42 3A FF FF 39 B5 [16:05:44]CommunicateWithHost err = 0 [16:05:44]CheckOFDResponse [16:05:44]1017 (14) - 77093643461234 [16:05:44]1041 (16) - 0000000000871841 [16:05:44]1040 (4) - 37724 [16:05:44]1012 (4) - 27.10.2024 10:02 [16:05:44]1206 (1) - 0 [16:05:44]OFD Sender: Remove packet 37724 [16:05:44]ProducePacketName [16:05:44]name=ofd_packets/00037724 [16:05:44]NVStorageDeleteData [16:05:44]*** Cut start [16:05:44]*** Partial cut [16:05:44]*** CUTSNS_PIN = 1 [16:05:44]*** CUTSNS_PIN = 0 [16:05:44]OFD Sender: No OFD packet to send [16:05:44]*** Brake cut motor [16:05:45]Read from MH i2c: 01 [16:05:45]MH_I2C_Read... [16:05:45]*** Stop cut motor [16:05:45]*** Cut end [16:05:45]Read from MH i2c: 01 07 00 [16:05:45]MH_I2C_Read... [16:05:45]Read from MH i2c: 01 07 00 58 0C 00 00 00 00 00 FF 0F 79 [16:05:45]process_action close_receipt done [16:05:45]requested_data is exist [16:05:45]produce_requested_data [16:05:45]requested_item fm.sn is exist - process it [16:05:45]wFMCommunicate request_size=4 [16:05:45]MH_SAM_APDU [16:05:45]CAPDU: 80 11 00 00 [16:05:45]Write to MH i2c: E2 08 00 59 0C 80 11 00 00 00 00 00 00 DF [16:05:45]Write i2c OK [16:05:45]MH_I2C_Read... [16:05:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:05:45]Read from MH i2c: E2 [16:05:45]MH_I2C_Read... [16:05:45]Read from MH i2c: E2 17 00 [16:05:45]MH_I2C_Read... [16:05:45]Read from MH i2c: E2 17 00 59 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 2F [16:05:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:05:45]wFMCommunicate OK [16:05:45]requested_item fd.num is exist - process it [16:05:45]SAM_PROTO_GetFieldsCounters [16:05:45]wFMCommunicate request_size=4 [16:05:45]MH_SAM_APDU [16:05:45]CAPDU: 80 13 00 00 [16:05:45]Write to MH i2c: E2 08 00 5A 0C 80 13 00 00 00 00 00 00 E2 [16:05:45]Write i2c OK [16:05:45]MH_I2C_Read... [16:05:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:05:45]Read from MH i2c: E2 [16:05:45]MH_I2C_Read... [16:05:45]Read from MH i2c: E2 62 00 [16:05:45]MH_I2C_Read... [16:05:45]Read from MH i2c: E2 62 00 5A 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 5C 93 00 00 0E 04 04 00 26 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 B0 [16:05:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 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 5C 93 00 00 0E 04 04 00 26 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:05:45]wFMCommunicate OK [16:05:45]SAM_PROTO_GetFieldsCounters done [16:05:45]requested_item shift.num is exist - process it [16:05:45]requested_item shift.opened is exist - process it [16:05:45]req_shift_opened [16:05:45]FM_GetShiftState [16:05:45]SAM_PROTO_GetShiftState [16:05:45]wFMCommunicate request_size=4 [16:05:45]MH_SAM_APDU [16:05:45]CAPDU: 80 13 01 00 [16:05:45]Write to MH i2c: E2 08 00 5B 0C 80 13 01 00 00 00 00 00 E4 [16:05:45]Write i2c OK [16:05:45]MH_I2C_Read... [16:05:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:05:45]Read from MH i2c: E2 [16:05:45]MH_I2C_Read... [16:05:45]Read from MH i2c: E2 0E 00 [16:05:45]MH_I2C_Read... [16:05:45]Read from MH i2c: E2 0E 00 5B 0C 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 9B [16:05:45]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [16:05:45]wFMCommunicate OK [16:05:45]SAM_PROTO_GetShiftState done [16:05:45]FM_GetShiftState done [16:05:45]req_shift_opened done [16:05:45]requested_item shift.open_date is exist - process it [16:05:45]req_shift_open_date [16:05:45]req_shift_open_date done [16:05:45]produce_requested_data done [16:05:45]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37724,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [16:05:45]process_action_free close_receipt [16:05:45]json_value_free [16:05:45]json_value_free done [16:05:45]process_json_proto returns [16:05:45]Send response to host [16:05:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37724,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [16:05:45]free response buf [16:05:45]execute_script done [16:05:45]execute_script returns [16:05:45]free content buf [16:05:45]Sock 7.Close socket [16:05:45]Sock 7.Thread stoped [16:05:49]OFD Sender: No OFD packet to send [16:05:54]OFD Sender: No OFD packet to send [16:05:59]OFD Sender: No OFD packet to send [16:06:04]OFD Sender: No OFD packet to send [16:06:09]OFD Sender: No OFD packet to send [16:06:14]OFD Sender: No OFD packet to send [16:06:19]OFD Sender: No OFD packet to send [16:06:24]OFD Sender: No OFD packet to send [16:06:29]OFD Sender: No OFD packet to send [16:06:34]OFD Sender: No OFD packet to send [16:06:39]OFD Sender: No OFD packet to send [16:06:44]OFD Sender: No OFD packet to send [16:06:49]OFD Sender: No OFD packet to send [16:06:54]OFD Sender: No OFD packet to send [16:06:59]OFD Sender: No OFD packet to send [16:07:04]OFD Sender: No OFD packet to send [16:07:09]OFD Sender: No OFD packet to send [16:07:14]OFD Sender: No OFD packet to send [16:07:19]OFD Sender: No OFD packet to send [16:07:24]OFD Sender: No OFD packet to send [16:07:29]OFD Sender: No OFD packet to send [16:07:34]OFD Sender: No OFD packet to send [16:07:39]OFD Sender: No OFD packet to send [16:07:44]OFD Sender: No OFD packet to send [16:07:49]OFD Sender: No OFD packet to send [16:07:54]OFD Sender: No OFD packet to send [16:07:59]OFD Sender: No OFD packet to send [16:08:04]OFD Sender: No OFD packet to send [16:08:09]OFD Sender: No OFD packet to send [16:08:14]OFD Sender: No OFD packet to send [16:08:19]OFD Sender: No OFD packet to send [16:08:24]OFD Sender: No OFD packet to send [16:08:29]OFD Sender: No OFD packet to send [16:08:34]OFD Sender: No OFD packet to send [16:08:39]OFD Sender: No OFD packet to send [16:08:44]OFD Sender: No OFD packet to send [16:08:49]OFD Sender: No OFD packet to send [16:08:54]OFD Sender: No OFD packet to send [16:08:59]OFD Sender: No OFD packet to send [16:09:04]OFD Sender: No OFD packet to send [16:09:09]OFD Sender: No OFD packet to send [16:09:14]OFD Sender: No OFD packet to send [16:09:19]OFD Sender: No OFD packet to send [16:09:24]OFD Sender: No OFD packet to send [16:09:29]OFD Sender: No OFD packet to send [16:09:34]OFD Sender: No OFD packet to send [16:09:39]OFD Sender: No OFD packet to send [16:09:44]OFD Sender: No OFD packet to send [16:09:49]OFD Sender: No OFD packet to send [16:09:54]OFD Sender: No OFD packet to send [16:09:59]OFD Sender: No OFD packet to send [16:10:04]OFD Sender: No OFD packet to send [16:10:09]OFD Sender: No OFD packet to send [16:10:14]OFD Sender: No OFD packet to send [16:10:19]OFD Sender: No OFD packet to send [16:10:24]OFD Sender: No OFD packet to send [16:10:29]OFD Sender: No OFD packet to send [16:10:34]OFD Sender: No OFD packet to send [16:10:39]OFD Sender: No OFD packet to send [16:10:44]OFD Sender: No OFD packet to send [16:10:49]OFD Sender: No OFD packet to send [16:10:54]OFD Sender: No OFD packet to send [16:10:59]OFD Sender: No OFD packet to send [16:11:04]OFD Sender: No OFD packet to send [16:11:09]OFD Sender: No OFD packet to send [16:11:14]OFD Sender: No OFD packet to send [16:11:19]OFD Sender: No OFD packet to send [16:11:24]OFD Sender: No OFD packet to send [16:11:29]OFD Sender: No OFD packet to send [16:11:34]OFD Sender: No OFD packet to send [16:11:39]OFD Sender: No OFD packet to send [16:11:44]OFD Sender: No OFD packet to send [16:11:49]OFD Sender: No OFD packet to send [16:11:54]OFD Sender: No OFD packet to send [16:11:59]OFD Sender: No OFD packet to send [16:12:04]OFD Sender: No OFD packet to send [16:12:10]OFD Sender: No OFD packet to send [16:12:15]OFD Sender: No OFD packet to send [16:12:20]OFD Sender: No OFD packet to send [16:12:25]OFD Sender: No OFD packet to send [16:12:30]OFD Sender: No OFD packet to send [16:12:35]OFD Sender: No OFD packet to send [16:12:40]OFD Sender: No OFD packet to send [16:12:45]OFD Sender: No OFD packet to send [16:12:50]OFD Sender: No OFD packet to send [16:12:55]OFD Sender: No OFD packet to send [16:13:00]OFD Sender: No OFD packet to send [16:13:05]OFD Sender: No OFD packet to send [16:13:10]OFD Sender: No OFD packet to send [16:13:15]OFD Sender: No OFD packet to send [16:13:20]OFD Sender: No OFD packet to send [16:13:25]OFD Sender: No OFD packet to send [16:13:30]OFD Sender: No OFD packet to send [16:13:35]OFD Sender: No OFD packet to send [16:13:40]OFD Sender: No OFD packet to send [16:13:45]OFD Sender: No OFD packet to send [16:13:50]OFD Sender: No OFD packet to send [16:13:55]OFD Sender: No OFD packet to send [16:14:00]OFD Sender: No OFD packet to send [16:14:05]OFD Sender: No OFD packet to send [16:14:10]OFD Sender: No OFD packet to send [16:14:15]OFD Sender: No OFD packet to send [16:14:20]OFD Sender: No OFD packet to send [16:14:25]OFD Sender: No OFD packet to send [16:14:30]OFD Sender: No OFD packet to send [16:14:35]OFD Sender: No OFD packet to send [16:14:40]OFD Sender: No OFD packet to send [16:14:45]OFD Sender: No OFD packet to send [16:14:50]OFD Sender: No OFD packet to send [16:14:55]OFD Sender: No OFD packet to send [16:15:00]OFD Sender: No OFD packet to send [16:15:05]OFD Sender: No OFD packet to send [16:15:10]OFD Sender: No OFD packet to send [16:15:15]OFD Sender: No OFD packet to send [16:15:20]OFD Sender: No OFD packet to send [16:15:25]OFD Sender: No OFD packet to send [16:15:30]OFD Sender: No OFD packet to send [16:15:35]OFD Sender: No OFD packet to send [16:15:40]OFD Sender: No OFD packet to send [16:15:45]OFD Sender: No OFD packet to send [16:15:50]OFD Sender: No OFD packet to send [16:15:55]OFD Sender: No OFD packet to send [16:16:00]OFD Sender: No OFD packet to send [16:16:05]OFD Sender: No OFD packet to send [16:16:10]OFD Sender: No OFD packet to send [16:16:15]OFD Sender: No OFD packet to send [16:16:20]OFD Sender: No OFD packet to send [16:16:25]OFD Sender: No OFD packet to send [16:16:30]OFD Sender: No OFD packet to send [16:16:35]OFD Sender: No OFD packet to send [16:16:40]OFD Sender: No OFD packet to send [16:16:45]OFD Sender: No OFD packet to send [16:16:50]OFD Sender: No OFD packet to send [16:16:55]OFD Sender: No OFD packet to send [16:17:00]OFD Sender: No OFD packet to send [16:17:05]OFD Sender: No OFD packet to send [16:17:10]OFD Sender: No OFD packet to send [16:17:15]OFD Sender: No OFD packet to send [16:17:20]OFD Sender: No OFD packet to send [16:17:25]OFD Sender: No OFD packet to send [16:17:30]OFD Sender: No OFD packet to send [16:17:35]OFD Sender: No OFD packet to send [16:17:40]OFD Sender: No OFD packet to send [16:17:45]OFD Sender: No OFD packet to send [16:17:50]OFD Sender: No OFD packet to send [16:17:55]OFD Sender: No OFD packet to send [16:18:00]OFD Sender: No OFD packet to send [16:18:05]OFD Sender: No OFD packet to send [16:18:10]OFD Sender: No OFD packet to send [16:18:15]OFD Sender: No OFD packet to send [16:18:20]OFD Sender: No OFD packet to send [16:18:25]OFD Sender: No OFD packet to send [16:18:30]OFD Sender: No OFD packet to send [16:18:35]OFD Sender: No OFD packet to send [16:18:40]OFD Sender: No OFD packet to send [16:18:45]OFD Sender: No OFD packet to send [16:18:50]OFD Sender: No OFD packet to send [16:18:55]OFD Sender: No OFD packet to send [16:19:00]OFD Sender: No OFD packet to send [16:19:05]OFD Sender: No OFD packet to send [16:19:10]OFD Sender: No OFD packet to send [16:19:15]OFD Sender: No OFD packet to send [16:19:20]OFD Sender: No OFD packet to send [16:19:25]OFD Sender: No OFD packet to send [16:19:30]OFD Sender: No OFD packet to send [16:19:35]OFD Sender: No OFD packet to send [16:19:40]OFD Sender: No OFD packet to send [16:19:45]OFD Sender: No OFD packet to send [16:19:50]OFD Sender: No OFD packet to send [16:19:55]OFD Sender: No OFD packet to send [16:20:00]OFD Sender: No OFD packet to send [16:20:05]OFD Sender: No OFD packet to send [16:20:10]OFD Sender: No OFD packet to send [16:20:15]OFD Sender: No OFD packet to send [16:20:20]OFD Sender: No OFD packet to send [16:20:25]OFD Sender: No OFD packet to send [16:20:30]OFD Sender: No OFD packet to send [16:20:35]OFD Sender: No OFD packet to send [16:20:40]OFD Sender: No OFD packet to send [16:20:45]OFD Sender: No OFD packet to send [16:20:50]OFD Sender: No OFD packet to send [16:20:55]OFD Sender: No OFD packet to send [16:21:00]OFD Sender: No OFD packet to send [16:21:05]OFD Sender: No OFD packet to send [16:21:10]OFD Sender: No OFD packet to send [16:21:15]OFD Sender: No OFD packet to send [16:21:20]OFD Sender: No OFD packet to send [16:21:25]OFD Sender: No OFD packet to send [16:21:30]OFD Sender: No OFD packet to send [16:21:35]OFD Sender: No OFD packet to send [16:21:40]OFD Sender: No OFD packet to send [16:21:45]OFD Sender: No OFD packet to send [16:21:50]OFD Sender: No OFD packet to send [16:21:55]OFD Sender: No OFD packet to send [16:22:00]OFD Sender: No OFD packet to send [16:22:05]OFD Sender: No OFD packet to send [16:22:10]OFD Sender: No OFD packet to send [16:22:15]OFD Sender: No OFD packet to send [16:22:20]OFD Sender: No OFD packet to send [16:22:25]OFD Sender: No OFD packet to send [16:22:30]OFD Sender: No OFD packet to send [16:22:35]OFD Sender: No OFD packet to send [16:22:40]OFD Sender: No OFD packet to send [16:22:45]OFD Sender: No OFD packet to send [16:22:50]OFD Sender: No OFD packet to send [16:22:55]OFD Sender: No OFD packet to send [16:23:00]OFD Sender: No OFD packet to send [16:23:05]OFD Sender: No OFD packet to send [16:23:10]OFD Sender: No OFD packet to send [16:23:15]OFD Sender: No OFD packet to send [16:23:20]OFD Sender: No OFD packet to send [16:23:25]OFD Sender: No OFD packet to send [16:23:30]OFD Sender: No OFD packet to send [16:23:35]OFD Sender: No OFD packet to send [16:23:40]OFD Sender: No OFD packet to send [16:23:45]OFD Sender: No OFD packet to send [16:23:50]OFD Sender: No OFD packet to send [16:23:55]OFD Sender: No OFD packet to send [16:24:00]OFD Sender: No OFD packet to send [16:24:05]OFD Sender: No OFD packet to send [16:24:10]OFD Sender: No OFD packet to send [16:24:15]OFD Sender: No OFD packet to send [16:24:20]OFD Sender: No OFD packet to send [16:24:25]OFD Sender: No OFD packet to send [16:24:30]OFD Sender: No OFD packet to send [16:24:35]OFD Sender: No OFD packet to send [16:24:40]OFD Sender: No OFD packet to send [16:24:45]OFD Sender: No OFD packet to send [16:24:50]OFD Sender: No OFD packet to send [16:24:55]OFD Sender: No OFD packet to send [16:25:00]OFD Sender: No OFD packet to send [16:25:05]OFD Sender: No OFD packet to send [16:25:10]OFD Sender: No OFD packet to send [16:25:15]OFD Sender: No OFD packet to send [16:25:20]OFD Sender: No OFD packet to send [16:25:25]OFD Sender: No OFD packet to send [16:25:30]OFD Sender: No OFD packet to send [16:25:35]OFD Sender: No OFD packet to send [16:25:40]OFD Sender: No OFD packet to send [16:25:45]OFD Sender: No OFD packet to send [16:25:50]OFD Sender: No OFD packet to send [16:25:55]OFD Sender: No OFD packet to send [16:26:00]OFD Sender: No OFD packet to send [16:26:05]OFD Sender: No OFD packet to send [16:26:10]OFD Sender: No OFD packet to send [16:26:15]OFD Sender: No OFD packet to send [16:26:20]OFD Sender: No OFD packet to send [16:26:25]OFD Sender: No OFD packet to send [16:26:30]OFD Sender: No OFD packet to send [16:26:35]OFD Sender: No OFD packet to send [16:26:40]OFD Sender: No OFD packet to send [16:26:45]OFD Sender: No OFD packet to send [16:26:50]OFD Sender: No OFD packet to send [16:26:55]OFD Sender: No OFD packet to send [16:27:00]OFD Sender: No OFD packet to send [16:27:05]OFD Sender: No OFD packet to send [16:27:10]OFD Sender: No OFD packet to send [16:27:15]OFD Sender: No OFD packet to send [16:27:20]OFD Sender: No OFD packet to send [16:27:25]OFD Sender: No OFD packet to send [16:27:30]OFD Sender: No OFD packet to send [16:27:35]OFD Sender: No OFD packet to send [16:27:40]OFD Sender: No OFD packet to send [16:27:45]OFD Sender: No OFD packet to send [16:27:50]OFD Sender: No OFD packet to send [16:27:55]OFD Sender: No OFD packet to send [16:28:00]OFD Sender: No OFD packet to send [16:28:05]OFD Sender: No OFD packet to send [16:28:10]OFD Sender: No OFD packet to send [16:28:15]OFD Sender: No OFD packet to send [16:28:20]OFD Sender: No OFD packet to send [16:28:25]OFD Sender: No OFD packet to send [16:28:30]OFD Sender: No OFD packet to send [16:28:35]OFD Sender: No OFD packet to send [16:28:40]OFD Sender: No OFD packet to send [16:28:45]OFD Sender: No OFD packet to send [16:28:50]OFD Sender: No OFD packet to send [16:28:55]OFD Sender: No OFD packet to send [16:29:00]OFD Sender: No OFD packet to send [16:29:05]OFD Sender: No OFD packet to send [16:29:10]OFD Sender: No OFD packet to send [16:29:15]OFD Sender: No OFD packet to send [16:29:20]OFD Sender: No OFD packet to send [16:29:25]OFD Sender: No OFD packet to send [16:29:30]OFD Sender: No OFD packet to send [16:29:35]OFD Sender: No OFD packet to send [16:29:40]OFD Sender: No OFD packet to send [16:29:45]OFD Sender: No OFD packet to send [16:29:50]OFD Sender: No OFD packet to send [16:29:55]OFD Sender: No OFD packet to send [16:30:00]OFD Sender: No OFD packet to send [16:30:05]OFD Sender: No OFD packet to send [16:30:10]OFD Sender: No OFD packet to send [16:30:15]OFD Sender: No OFD packet to send [16:30:20]OFD Sender: No OFD packet to send [16:30:25]OFD Sender: No OFD packet to send [16:30:30]OFD Sender: No OFD packet to send [16:30:35]OFD Sender: No OFD packet to send [16:30:40]OFD Sender: No OFD packet to send [16:30:45]OFD Sender: No OFD packet to send [16:30:51]OFD Sender: No OFD packet to send [16:30:56]OFD Sender: No OFD packet to send [16:31:01]OFD Sender: No OFD packet to send [16:31:06]OFD Sender: No OFD packet to send [16:31:11]OFD Sender: No OFD packet to send [16:31:16]OFD Sender: No OFD packet to send [16:31:21]OFD Sender: No OFD packet to send [16:31:26]OFD Sender: No OFD packet to send [16:31:31]OFD Sender: No OFD packet to send [16:31:36]OFD Sender: No OFD packet to send [16:31:41]OFD Sender: No OFD packet to send [16:31:46]OFD Sender: No OFD packet to send [16:31:51]OFD Sender: No OFD packet to send [16:31:56]OFD Sender: No OFD packet to send [16:32:01]OFD Sender: No OFD packet to send [16:32:06]OFD Sender: No OFD packet to send [16:32:11]OFD Sender: No OFD packet to send [16:32:16]OFD Sender: No OFD packet to send [16:32:21]OFD Sender: No OFD packet to send [16:32:26]OFD Sender: No OFD packet to send [16:32:31]OFD Sender: No OFD packet to send [16:32:36]OFD Sender: No OFD packet to send [16:32:41]OFD Sender: No OFD packet to send [16:32:46]OFD Sender: No OFD packet to send [16:32:51]OFD Sender: No OFD packet to send [16:32:56]OFD Sender: No OFD packet to send [16:33:01]OFD Sender: No OFD packet to send [16:33:06]OFD Sender: No OFD packet to send [16:33:11]OFD Sender: No OFD packet to send [16:33:16]OFD Sender: No OFD packet to send [16:33:21]OFD Sender: No OFD packet to send [16:33:26]OFD Sender: No OFD packet to send [16:33:31]OFD Sender: No OFD packet to send [16:33:36]OFD Sender: No OFD packet to send [16:33:41]OFD Sender: No OFD packet to send [16:33:46]OFD Sender: No OFD packet to send [16:33:51]OFD Sender: No OFD packet to send [16:33:56]OFD Sender: No OFD packet to send [16:34:01]OFD Sender: No OFD packet to send [16:34:06]OFD Sender: No OFD packet to send [16:34:11]OFD Sender: No OFD packet to send [16:34:16]OFD Sender: No OFD packet to send [16:34:21]OFD Sender: No OFD packet to send [16:34:26]OFD Sender: No OFD packet to send [16:34:31]OFD Sender: No OFD packet to send [16:34:36]OFD Sender: No OFD packet to send [16:34:41]OFD Sender: No OFD packet to send [16:34:46]OFD Sender: No OFD packet to send [16:34:51]OFD Sender: No OFD packet to send [16:34:56]OFD Sender: No OFD packet to send [16:35:01]OFD Sender: No OFD packet to send [16:35:06]OFD Sender: No OFD packet to send [16:35:11]OFD Sender: No OFD packet to send [16:35:16]OFD Sender: No OFD packet to send [16:35:21]OFD Sender: No OFD packet to send [16:35:26]OFD Sender: No OFD packet to send [16:35:31]OFD Sender: No OFD packet to send [16:35:36]OFD Sender: No OFD packet to send [16:35:41]OFD Sender: No OFD packet to send [16:35:46]OFD Sender: No OFD packet to send [16:35:51]OFD Sender: No OFD packet to send [16:35:56]OFD Sender: No OFD packet to send [16:36:01]OFD Sender: No OFD packet to send [16:36:06]OFD Sender: No OFD packet to send [16:36:11]OFD Sender: No OFD packet to send [16:36:16]OFD Sender: No OFD packet to send [16:36:21]OFD Sender: No OFD packet to send [16:36:26]OFD Sender: No OFD packet to send [16:36:31]OFD Sender: No OFD packet to send [16:36:36]OFD Sender: No OFD packet to send [16:36:41]OFD Sender: No OFD packet to send [16:36:46]OFD Sender: No OFD packet to send [16:36:51]OFD Sender: No OFD packet to send [16:36:56]OFD Sender: No OFD packet to send [16:37:01]OFD Sender: No OFD packet to send [16:37:06]OFD Sender: No OFD packet to send [16:37:11]OFD Sender: No OFD packet to send [16:37:16]OFD Sender: No OFD packet to send [16:37:21]OFD Sender: No OFD packet to send [16:37:26]OFD Sender: No OFD packet to send [16:37:31]OFD Sender: No OFD packet to send [16:37:36]OFD Sender: No OFD packet to send [16:37:41]OFD Sender: No OFD packet to send [16:37:46]OFD Sender: No OFD packet to send [16:37:51]OFD Sender: No OFD packet to send [16:37:56]OFD Sender: No OFD packet to send [16:38:01]OFD Sender: No OFD packet to send [16:38:06]OFD Sender: No OFD packet to send [16:38:11]OFD Sender: No OFD packet to send [16:38:16]OFD Sender: No OFD packet to send [16:38:21]OFD Sender: No OFD packet to send [16:38:26]OFD Sender: No OFD packet to send [16:38:31]OFD Sender: No OFD packet to send [16:38:36]OFD Sender: No OFD packet to send [16:38:41]OFD Sender: No OFD packet to send [16:38:46]OFD Sender: No OFD packet to send [16:38:51]OFD Sender: No OFD packet to send [16:38:56]OFD Sender: No OFD packet to send [16:39:01]OFD Sender: No OFD packet to send [16:39:06]OFD Sender: No OFD packet to send [16:39:11]OFD Sender: No OFD packet to send [16:39:16]OFD Sender: No OFD packet to send [16:39:21]OFD Sender: No OFD packet to send [16:39:26]OFD Sender: No OFD packet to send [16:39:31]OFD Sender: No OFD packet to send [16:39:36]OFD Sender: No OFD packet to send [16:39:41]OFD Sender: No OFD packet to send [16:39:46]OFD Sender: No OFD packet to send [16:39:51]OFD Sender: No OFD packet to send [16:39:56]OFD Sender: No OFD packet to send [16:40:01]OFD Sender: No OFD packet to send [16:40:06]OFD Sender: No OFD packet to send [16:40:11]OFD Sender: No OFD packet to send [16:40:16]OFD Sender: No OFD packet to send [16:40:21]OFD Sender: No OFD packet to send [16:40:26]OFD Sender: No OFD packet to send [16:40:31]OFD Sender: No OFD packet to send [16:40:36]OFD Sender: No OFD packet to send [16:40:41]OFD Sender: No OFD packet to send [16:40:46]OFD Sender: No OFD packet to send [16:40:51]OFD Sender: No OFD packet to send [16:40:56]OFD Sender: No OFD packet to send [16:41:01]OFD Sender: No OFD packet to send [16:41:06]OFD Sender: No OFD packet to send [16:41:11]OFD Sender: No OFD packet to send [16:41:16]OFD Sender: No OFD packet to send [16:41:19]accept exits with 9 [16:41:19]New connection [16:41:19]New thread 3067440484 created [16:41:19]Thread 3067297124 joined [16:41:19]Waiting for new connection... [16:41:19] Sock 9.Parse request [16:41:19]Sock 9.Check first char [16:41:19]Sock 9.First char is OK [16:41:19]request: POST /json_proto HTTP/1.0 [16:41:19]Method: POST [16:41:19]URL: /json_proto [16:41:19]Method is POST - this is cgi request [16:41:19]url: /json_proto [16:41:19]query_string will be loaded in cgi processing [16:41:19]execute_cgi json_proto POST (null) [16:41:19]execute_cgi path=json_proto method=POST [16:41:19]POST find Content-Length [16:41:19]Host: 172.17.40.196:8080 [16:41:19]Content-Length: 754 [16:41:19]Content-Type: application/json [16:41:19] [16:41:19]POST finish read [16:41:19]Found Content-Length = 754 [16:41:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35023", "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 }]} ], "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" ] } } [16:41:19]execute_script... [16:41:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35023", "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 }]} ], "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" ] } } [16:41:19]POST & json_proto [16:41:19]process_json_proto [16:41:19]json parsed OK: [16:41:19]protocol is kg_v1.0 [16:41:19]action value=close_receipt [16:41:19]process_action close_receipt [16:41:19]cmd_close_receipt [16:41:19]MH_GetDate [16:41:19]Write to MH i2c: F0 00 00 5C 0C 57 [16:41:19]Write i2c OK [16:41:19]MH_I2C_Read... [16:41:19]Read from MH i2c: F0 [16:41:19]MH_I2C_Read... [16:41:19]Read from MH i2c: F0 09 00 [16:41:19]MH_I2C_Read... [16:41:19]Read from MH i2c: F0 09 00 5C 0C 00 32 6D 1E 67 5B 68 A1 66 4E [16:41:19]GetLastDocTimeStamp 1730045144 [16:41:19]current date 1730047282 [16:41:19]FM_GetShiftState [16:41:19]SAM_PROTO_GetShiftState [16:41:19]wFMCommunicate request_size=4 [16:41:19]MH_SAM_APDU [16:41:19]CAPDU: 80 13 01 00 [16:41:19]Write to MH i2c: E2 08 00 5D 0C 80 13 01 00 00 00 00 00 E6 [16:41:19]Write i2c OK [16:41:19]MH_I2C_Read... [16:41:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:41:19]Read from MH i2c: E2 [16:41:19]MH_I2C_Read... [16:41:19]Read from MH i2c: E2 0E 00 [16:41:19]MH_I2C_Read... [16:41:19]Read from MH i2c: E2 0E 00 5D 0C 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 9D [16:41:19]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [16:41:19]wFMCommunicate OK [16:41:19]SAM_PROTO_GetShiftState done [16:41:19]FM_GetShiftState done [16:41:19]opened in 1729987492 [16:41:19]opened+sec_in_day 1730073892 [16:41:19]quantity*price = 13000 [16:41:19]sum+1 = 13001 [16:41:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 51 27.10.2024 16:41 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37725 ФПД: 130224204094061 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T164122&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37725&fm=130224204094061&tin=02508201610067®Number=0000000000091684&sum=13000 0 [16:41:20]StoreToDocumentArchive [16:41:20]shift 550 fd 37725 [16:41:20]save to /storage/0550/doc_00037725 [16:41:20]save last doc name /storage/0550/doc_00037725 to /storage/kkm_last_doc_name [16:41:20]save OK [16:41:20]Clear old archive folders... [16:41:20]ProcessDocumentItem done err = 0, tmpTLVsize=276 [16:41:20]tlvbuf is 001F4590 [16:41:20]SAM_PROTO_ClearQueue [16:41:20]wFMCommunicate request_size=4 [16:41:20]MH_SAM_APDU [16:41:20]CAPDU: 80 09 00 00 [16:41:20]Write to MH i2c: E2 08 00 6A 0C 80 09 00 00 00 00 00 00 E8 [16:41:20]Write i2c OK [16:41:20]MH_I2C_Read... [16:41:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:41:20]Read from MH i2c: E2 [16:41:20]MH_I2C_Read... [16:41:20]Read from MH i2c: E2 03 00 [16:41:20]MH_I2C_Read... [16:41:20]Read from MH i2c: E2 03 00 6A 0C 00 90 00 EA [16:41:20]RAPDU: 90 00 [16:41:20]wFMCommunicate OK [16:41:20]SAM_PROTO_ClearQueue done [16:41:20]KKMCreateOFDPacket [16:41:20]OFDProtocolAddRootSTLVToBuf [16:41:20]FM_MakeSignedData [16:41:20]FM_MakeSignedData [16:41:20]SAM_PROTO_SignData [16:41:20]wFMCommunicate request_size=4 [16:41:20]MH_SAM_APDU [16:41:20]CAPDU: 80 0D 01 02 [16:41:20]Write to MH i2c: E2 08 00 6B 0C 80 0D 01 02 00 00 00 00 F0 [16:41:20]Write i2c OK [16:41:20]MH_I2C_Read... [16:41:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:41:20]Read from MH i2c: E2 [16:41:20]MH_I2C_Read... [16:41:20]Read from MH i2c: E2 03 00 [16:41:20]MH_I2C_Read... [16:41:20]Read from MH i2c: E2 03 00 6B 0C 00 90 00 EB [16:41:20]RAPDU: 90 00 [16:41:20]wFMCommunicate OK [16:41:20]wFMCommunicate request_size=255 [16:41:20]MH_SAM_APDU [16:41:20]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 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 33 00 00 00 F4 03 04 00 32 6D 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [16:41:20]Write to MH i2c: E2 02 01 6C 0C 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 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 33 00 00 00 F4 03 04 00 32 6D 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 8D [16:41:20]Write i2c OK [16:41:20]MH_I2C_Read... [16:41:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:41:20]Read from MH i2c: E2 [16:41:20]MH_I2C_Read... [16:41:20]Read from MH i2c: E2 03 00 [16:41:20]MH_I2C_Read... [16:41:20]Read from MH i2c: E2 03 00 6C 0C 00 90 00 EC [16:41:20]RAPDU: 90 00 [16:41:20]wFMCommunicate OK [16:41:20]wFMCommunicate request_size=35 [16:41:20]MH_SAM_APDU [16:41:20]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5D 93 00 00 35 04 06 00 76 70 2F 6D 1A 6D [16:41:20]Write to MH i2c: E2 26 00 6D 0C 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5D 93 00 00 35 04 06 00 76 70 2F 6D 1A 6D 00 00 DC [16:41:20]Write i2c OK [16:41:20]MH_I2C_Read... [16:41:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:41:20]Read from MH i2c: E2 [16:41:20]MH_I2C_Read... [16:41:20]Read from MH i2c: E2 03 00 [16:41:20]MH_I2C_Read... [16:41:20]Read from MH i2c: E2 03 00 6D 0C 00 90 00 ED [16:41:20]RAPDU: 90 00 [16:41:20]wFMCommunicate OK [16:41:20]wFMCommunicate request_size=4 [16:41:20]MH_SAM_APDU [16:41:20]CAPDU: 80 0D 03 02 [16:41:20]Write to MH i2c: E2 08 00 6E 0C 80 0D 03 02 00 00 00 00 F5 [16:41:20]Write i2c OK [16:41:20]MH_I2C_Read... [16:41:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:41:20]Read from MH i2c: E2 [16:41:20]MH_I2C_Read... [16:41:20]Read from MH i2c: E2 0B 00 [16:41:20]MH_I2C_Read... [16:41:20]Read from MH i2c: E2 0B 00 6E 0C 00 D3 2C FF 02 97 DA 58 9A 90 00 59 [16:41:20]RAPDU: D3 2C FF 02 97 DA 58 9A 90 00 [16:41:20]wFMCommunicate OK [16:41:20]SAM_PROTO_SignData done [16:41:20]FM_MakeSignedData done [16:41:20]CreateOFDProtocolMessage [16:41:20]wFMCommunicate request_size=4 [16:41:20]MH_SAM_APDU [16:41:20]CAPDU: 80 11 00 00 [16:41:20]Write to MH i2c: E2 08 00 6F 0C 80 11 00 00 00 00 00 00 F5 [16:41:20]Write i2c OK [16:41:20]MH_I2C_Read... [16:41:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:41:20]Read from MH i2c: E2 [16:41:20]MH_I2C_Read... [16:41:20]Read from MH i2c: E2 17 00 [16:41:20]MH_I2C_Read... [16:41:20]Read from MH i2c: E2 17 00 6F 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 45 [16:41:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:41:20]wFMCommunicate OK [16:41:20]CreateOFDProtocolMessage done [16:41:20]OFDSenderStorePacket 37725 [16:41:20]StoreOFDPacket docnum=37725 [16:41: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 28 01 00 00 13 CE 20 01 76 9E 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 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 33 00 00 00 F4 03 04 00 32 6D 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 5D 93 00 00 35 04 06 00 76 70 2F 6D 1A 6D D3 2C FF 02 97 DA 58 9A [16:41:20]CheckFolder [16:41:20]dirname=/storage/ofd_packets [16:41:20]CheckFolder done [16:41:20]ProducePacketName [16:41:20]name=ofd_packets/00037725 [16:41:20]NVStorageSaveData ofd_packets/00037725 [16:41:20]File name is /storage/ofd_packets/00037725 [16:41:20]Write 326 bytes [16:41:20]NVStorageSaveData done [16:41:20]OFDSenderStorePacket done [16:41:20]KKMCreateOFDPacket done [16:41:20]NVStorageSaveData kkm_last_timestamp [16:41:20]File name is /storage/kkm_last_timestamp [16:41:20]Write 4 bytes [16:41:20]NVStorageSaveData done [16:41:20]ExternCall_PrintAddStr [16:41:20]wPrintStart [16:41:20]Write to MH i2c: 01 00 00 70 0C 7C [16:41:20]Write i2c OK [16:41:20]MH_I2C_Read... [16:41:20]Read from MH i2c: 01 [16:41:20]MH_I2C_Read... [16:41:20]Read from MH i2c: 01 07 00 [16:41:20]MH_I2C_Read... [16:41:20]Read from MH i2c: 01 07 00 70 0C 00 00 00 00 00 FF 0F 91 [16:41:20]RasterBufferAndPrint [16:41:20]line Счет N : (3)35023 [16:41:20]line ИНН: 02508201610067 [16:41:20]line Контрольно-Кассовый Чек [16:41:20]line ПРОДАЖА [16:41:20]line Товар: 2000036230011 [16:41:20]line Кофе Латте XL(GABB TRADE) [16:41:20]line 1.000 * 130.00 [16:41:20]line = 130.00 [16:41:20]line НДС 12% НСП 1% [16:41:20]line > о реализуемом товаре [16:41:20]line ИТОГО: 130.00 [16:41:20]line НСП 1% : 1.15 [16:41:20]line НДС 12% : 13.80 [16:41:20]line Наличными: 0.00 [16:41:20]line Безнал.: 130.00 [16:41:20]line Место: АЗС № 126 "Партнер Нефть" [16:41:20]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [16:41:20]line СНО: Общий режим [16:41:20]line Чек 51 27.10.2024 16:41 [16:41:20]line Смена: 550 ФФД: 1.0 [16:41:20]line ЗНМ: 0300000092 [16:41:20]line РНМ: 0000000000091684 [16:41:20]line Версия ККМ: 001 [16:41:20]line Платежная система: Mbank [16:41:20]line ФМ: 0000000000871841 [16:41:20]line ФД: 37725 [16:41:20]line ФПД: 130224204094061 [16:41:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T164122&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37725&fm=130224204094061&tin=02508201610067®Number=0000000000091684&sum=13000 [16:41:21]OFD Sender: Processing packet 37725 [packets to send 42, broken 41] [16:41:21]ProducePacketName [16:41:21]name=ofd_packets/00037725 [16:41:21]OFD Sender: To server: pG, [16:41:21]CommunicateWithHost lk.salyk.kg:30040 [16:41:21]ConnectInit lk.salyk.kg [16:41:21]line 0 [16:41:21]written 0, free lines is 4095 [16:41:21]Connected sock=10 [16:41: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 28 01 00 00 13 CE 20 01 76 9E 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 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 33 00 00 00 F4 03 04 00 32 6D 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 5D 93 00 00 35 04 06 00 76 70 2F 6D 1A 6D D3 2C FF 02 97 DA 58 9A [16:41:21]Write to MH i2c: 01 00 00 99 0C A5 [16:41:21]Write i2c OK [16:41:21]MH_I2C_Read... [16:41:21]Read from MH i2c: 01 [16:41:21]MH_I2C_Read... [16:41:21]Read from MH i2c: 01 07 00 [16:41:21]MH_I2C_Read... [16:41:21]Read from MH i2c: 01 07 00 99 0C 00 00 00 00 00 B9 0C 71 [16:41:21]RasterBufferAndPrint [16:41:21]line [16:41:21]line [16:41:21]line [16:41:21]line [16:41:21]line [16:41:21]written 0, free lines is 3262 [16:41:21]MH_Cut [16:41:21]Write to MH i2c: D1 01 00 A0 0C 01 7E [16:41:21]Write i2c OK [16:41:21]MH_I2C_Read... [16:41:21]Read from MH i2c: D1 [16:41:21]MH_I2C_Read... [16:41:21]Read from MH i2c: D1 01 00 [16:41:21]MH_I2C_Read... [16:41:21]Read from MH i2c: D1 01 00 A0 0C 00 7D [16:41:21]Write to MH i2c: 01 00 00 A1 0C AD [16:41:21]Write i2c OK [16:41:21]MH_I2C_Read... [16:41: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 B0 34 47 00 14 66 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5D 93 00 00 F4 03 04 00 29 18 1E 67 B6 04 01 00 00 AC 78 82 37 12 F4 13 41 [16:41:21]CommunicateWithHost err = 0 [16:41:21]CheckOFDResponse [16:41:21]1017 (14) - 77093643461234 [16:41:21]1041 (16) - 0000000000871841 [16:41:21]1040 (4) - 37725 [16:41:21]1012 (4) - 27.10.2024 10:38 [16:41:21]1206 (1) - 0 [16:41:21]OFD Sender: Remove packet 37725 [16:41:21]ProducePacketName [16:41:21]name=ofd_packets/00037725 [16:41:21]NVStorageDeleteData [16:41:22]OFD Sender: No OFD packet to send [16:41:22]*** Cut start [16:41:22]*** Partial cut [16:41:22]*** CUTSNS_PIN = 1 [16:41:22]*** CUTSNS_PIN = 0 [16:41:22]*** Brake cut motor [16:41:23]Read from MH i2c: 01 [16:41:23]MH_I2C_Read... [16:41:23]*** Stop cut motor [16:41:23]*** Cut end [16:41:23]Read from MH i2c: 01 07 00 [16:41:23]MH_I2C_Read... [16:41:23]Read from MH i2c: 01 07 00 A1 0C 00 00 00 00 00 FF 0F C2 [16:41:23]process_action close_receipt done [16:41:23]requested_data is exist [16:41:23]produce_requested_data [16:41:23]requested_item fm.sn is exist - process it [16:41:23]wFMCommunicate request_size=4 [16:41:23]MH_SAM_APDU [16:41:23]CAPDU: 80 11 00 00 [16:41:23]Write to MH i2c: E2 08 00 A2 0C 80 11 00 00 00 00 00 00 28 [16:41:23]Write i2c OK [16:41:23]MH_I2C_Read... [16:41:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:41:23]Read from MH i2c: E2 [16:41:23]MH_I2C_Read... [16:41:23]Read from MH i2c: E2 17 00 [16:41:23]MH_I2C_Read... [16:41:23]Read from MH i2c: E2 17 00 A2 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 78 [16:41:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:41:23]wFMCommunicate OK [16:41:23]requested_item fd.num is exist - process it [16:41:23]SAM_PROTO_GetFieldsCounters [16:41:23]wFMCommunicate request_size=4 [16:41:23]MH_SAM_APDU [16:41:23]CAPDU: 80 13 00 00 [16:41:23]Write to MH i2c: E2 08 00 A3 0C 80 13 00 00 00 00 00 00 2B [16:41:23]Write i2c OK [16:41:23]MH_I2C_Read... [16:41:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:41:23]Read from MH i2c: E2 [16:41:23]MH_I2C_Read... [16:41:23]Read from MH i2c: E2 62 00 [16:41:23]MH_I2C_Read... [16:41:23]Read from MH i2c: E2 62 00 A3 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 5D 93 00 00 0E 04 04 00 26 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 FD [16:41: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 5D 93 00 00 0E 04 04 00 26 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:41:23]wFMCommunicate OK [16:41:23]SAM_PROTO_GetFieldsCounters done [16:41:23]requested_item shift.num is exist - process it [16:41:23]requested_item shift.opened is exist - process it [16:41:23]req_shift_opened [16:41:23]FM_GetShiftState [16:41:23]SAM_PROTO_GetShiftState [16:41:23]wFMCommunicate request_size=4 [16:41:23]MH_SAM_APDU [16:41:23]CAPDU: 80 13 01 00 [16:41:23]Write to MH i2c: E2 08 00 A4 0C 80 13 01 00 00 00 00 00 2D [16:41:23]Write i2c OK [16:41:23]MH_I2C_Read... [16:41:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:41:23]Read from MH i2c: E2 [16:41:23]MH_I2C_Read... [16:41:23]Read from MH i2c: E2 0E 00 [16:41:23]MH_I2C_Read... [16:41:23]Read from MH i2c: E2 0E 00 A4 0C 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 E4 [16:41:23]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [16:41:23]wFMCommunicate OK [16:41:23]SAM_PROTO_GetShiftState done [16:41:23]FM_GetShiftState done [16:41:23]req_shift_opened done [16:41:23]requested_item shift.open_date is exist - process it [16:41:23]req_shift_open_date [16:41:23]req_shift_open_date done [16:41:23]produce_requested_data done [16:41:23]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37725,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [16:41:23]process_action_free close_receipt [16:41:23]json_value_free [16:41:23]json_value_free done [16:41:23]process_json_proto returns [16:41:23]Send response to host [16:41:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37725,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [16:41:23]free response buf [16:41:23]execute_script done [16:41:23]execute_script returns [16:41:23]free content buf [16:41:23]Sock 9.Close socket [16:41:23]Sock 9.Thread stoped [16:41:27]OFD Sender: No OFD packet to send [16:41:32]OFD Sender: No OFD packet to send [16:41:37]OFD Sender: No OFD packet to send [16:41:42]OFD Sender: No OFD packet to send [16:41:47]OFD Sender: No OFD packet to send [16:41:52]OFD Sender: No OFD packet to send [16:41:57]OFD Sender: No OFD packet to send [16:42:02]OFD Sender: No OFD packet to send [16:42:07]OFD Sender: No OFD packet to send [16:42:12]OFD Sender: No OFD packet to send [16:42:17]OFD Sender: No OFD packet to send [16:42:22]OFD Sender: No OFD packet to send [16:42:27]OFD Sender: No OFD packet to send [16:42:32]OFD Sender: No OFD packet to send [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]accept exits with 7 [16:46:57]New connection [16:46:57]New thread 3067297124 created [16:46:57]Thread 3067440484 joined [16:46:57]Waiting for new connection... [16:46:57] Sock 7.Parse request [16:46:57]Sock 7.Check first char [16:46:57]Sock 7.First char is OK [16:46:57]request: POST /json_proto HTTP/1.0 [16:46:57]Method: POST [16:46:57]URL: /json_proto [16:46:57]Method is POST - this is cgi request [16:46:57]url: /json_proto [16:46:57]query_string will be loaded in cgi processing [16:46:57]execute_cgi json_proto POST (null) [16:46:57]execute_cgi path=json_proto method=POST [16:46:57]POST find Content-Length [16:46:57]Host: 172.17.40.196:8080 [16:46:57]Content-Length: 623 [16:46:57]Content-Type: application/json [16:46:57] [16:46:57]POST finish read [16:46:57]Found Content-Length = 623 [16:46:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35024", "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" ] } } [16:46:57]execute_script... [16:46: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)35024", "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" ] } } [16:46:57]POST & json_proto [16:46:57]process_json_proto [16:46:57]json parsed OK: [16:46:57]protocol is kg_v1.0 [16:46:57]action value=close_receipt [16:46:57]process_action close_receipt [16:46:57]cmd_close_receipt [16:46:57]MH_GetDate [16:46:57]Write to MH i2c: F0 00 00 A5 0C A0 [16:46:57]Write i2c OK [16:46:57]MH_I2C_Read... [16:46:57]Read from MH i2c: F0 [16:46:57]MH_I2C_Read... [16:46:57]Read from MH i2c: F0 09 00 [16:46:57]MH_I2C_Read... [16:46:57]Read from MH i2c: F0 09 00 A5 0C 00 84 6E 1E 67 5B 68 A1 66 EA [16:46:57]GetLastDocTimeStamp 1730047282 [16:46:57]current date 1730047620 [16:46:57]FM_GetShiftState [16:46:57]SAM_PROTO_GetShiftState [16:46:57]wFMCommunicate request_size=4 [16:46:57]MH_SAM_APDU [16:46:57]CAPDU: 80 13 01 00 [16:46:57]Write to MH i2c: E2 08 00 A6 0C 80 13 01 00 00 00 00 00 2F [16:46:57]Write i2c OK [16:46:57]MH_I2C_Read... [16:46:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:46:57]Read from MH i2c: E2 [16:46:57]MH_I2C_Read... [16:46:57]Read from MH i2c: E2 0E 00 [16:46:57]MH_I2C_Read... [16:46:57]Read from MH i2c: E2 0E 00 A6 0C 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 E6 [16:46:57]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [16:46:57]wFMCommunicate OK [16:46:57]SAM_PROTO_GetShiftState done [16:46:57]FM_GetShiftState done [16:46:57]opened in 1729987492 [16:46:57]opened+sec_in_day 1730073892 [16:46:57]quantity*price = 4000 [16:46:57]sum+1 = 4001 [16:46:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 52 27.10.2024 16:47 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37726 ФПД: 96843268062876 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T164700&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37726&fm=96843268062876&tin=02508201610067®Number=0000000000091684&sum=4000 0 [16:46:58]StoreToDocumentArchive [16:46:58]shift 550 fd 37726 [16:46:58]save to /storage/0550/doc_00037726 [16:46:58]save last doc name /storage/0550/doc_00037726 to /storage/kkm_last_doc_name [16:46:58]save OK [16:46:58]Clear old archive folders... [16:46:58]ProcessDocumentItem done err = 0, tmpTLVsize=271 [16:46:58]tlvbuf is 0028F070 [16:46:58]SAM_PROTO_ClearQueue [16:46:58]wFMCommunicate request_size=4 [16:46:58]MH_SAM_APDU [16:46:58]CAPDU: 80 09 00 00 [16:46:58]Write to MH i2c: E2 08 00 B3 0C 80 09 00 00 00 00 00 00 31 [16:46:58]Write i2c OK [16:46:58]MH_I2C_Read... [16:46:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:46:58]Read from MH i2c: E2 [16:46:58]MH_I2C_Read... [16:46:58]Read from MH i2c: E2 03 00 [16:46:58]MH_I2C_Read... [16:46:58]Read from MH i2c: E2 03 00 B3 0C 00 90 00 33 [16:46:58]RAPDU: 90 00 [16:46:58]wFMCommunicate OK [16:46:58]SAM_PROTO_ClearQueue done [16:46:58]KKMCreateOFDPacket [16:46:58]OFDProtocolAddRootSTLVToBuf [16:46:58]FM_MakeSignedData [16:46:58]FM_MakeSignedData [16:46:58]SAM_PROTO_SignData [16:46:58]wFMCommunicate request_size=4 [16:46:58]MH_SAM_APDU [16:46:58]CAPDU: 80 0D 01 02 [16:46:58]Write to MH i2c: E2 08 00 B4 0C 80 0D 01 02 00 00 00 00 39 [16:46:58]Write i2c OK [16:46:58]MH_I2C_Read... [16:46:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:46:58]Read from MH i2c: E2 [16:46:58]MH_I2C_Read... [16:46:58]Read from MH i2c: E2 03 00 [16:46:58]MH_I2C_Read... [16:46:58]Read from MH i2c: E2 03 00 B4 0C 00 90 00 34 [16:46:58]RAPDU: 90 00 [16:46:58]wFMCommunicate OK [16:46:58]wFMCommunicate request_size=255 [16:46:58]MH_SAM_APDU [16:46:58]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 34 00 00 00 F4 03 04 00 84 6E 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [16:46:58]Write to MH i2c: E2 02 01 B5 0C 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 34 00 00 00 F4 03 04 00 84 6E 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 E6 [16:46:58]Write i2c OK [16:46:58]MH_I2C_Read... [16:46:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:46:58]Read from MH i2c: E2 [16:46:58]MH_I2C_Read... [16:46:58]Read from MH i2c: E2 03 00 [16:46:58]MH_I2C_Read... [16:46:58]Read from MH i2c: E2 03 00 B5 0C 00 90 00 35 [16:46:58]RAPDU: 90 00 [16:46:58]wFMCommunicate OK [16:46:58]wFMCommunicate request_size=30 [16:46:58]MH_SAM_APDU [16:46:58]CAPDU: 80 0D 02 02 19 30 38 37 31 38 34 31 10 04 04 00 5E 93 00 00 35 04 06 00 58 14 14 97 7E 9C [16:46:58]Write to MH i2c: E2 21 00 B6 0C 80 0D 02 02 19 00 30 38 37 31 38 34 31 10 04 04 00 5E 93 00 00 35 04 06 00 58 14 14 97 7E 9C 00 00 54 [16:46:58]Write i2c OK [16:46:58]MH_I2C_Read... [16:46:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:46:58]Read from MH i2c: E2 [16:46:58]MH_I2C_Read... [16:46:58]Read from MH i2c: E2 03 00 [16:46:58]MH_I2C_Read... [16:46:58]Read from MH i2c: E2 03 00 B6 0C 00 90 00 36 [16:46:58]RAPDU: 90 00 [16:46:58]wFMCommunicate OK [16:46:58]wFMCommunicate request_size=4 [16:46:58]MH_SAM_APDU [16:46:58]CAPDU: 80 0D 03 02 [16:46:58]Write to MH i2c: E2 08 00 B7 0C 80 0D 03 02 00 00 00 00 3E [16:46:58]Write i2c OK [16:46:58]MH_I2C_Read... [16:46:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:46:58]Read from MH i2c: E2 [16:46:58]MH_I2C_Read... [16:46:58]Read from MH i2c: E2 0B 00 [16:46:58]MH_I2C_Read... [16:46:58]Read from MH i2c: E2 0B 00 B7 0C 00 09 3B CD 35 B2 48 98 C4 90 00 DB [16:46:58]RAPDU: 09 3B CD 35 B2 48 98 C4 90 00 [16:46:58]wFMCommunicate OK [16:46:58]SAM_PROTO_SignData done [16:46:58]FM_MakeSignedData done [16:46:58]CreateOFDProtocolMessage [16:46:58]wFMCommunicate request_size=4 [16:46:58]MH_SAM_APDU [16:46:58]CAPDU: 80 11 00 00 [16:46:58]Write to MH i2c: E2 08 00 B8 0C 80 11 00 00 00 00 00 00 3E [16:46:58]Write i2c OK [16:46:58]MH_I2C_Read... [16:46:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:46:58]Read from MH i2c: E2 [16:46:58]MH_I2C_Read... [16:46:58]Read from MH i2c: E2 17 00 [16:46:58]MH_I2C_Read... [16:46:58]Read from MH i2c: E2 17 00 B8 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 8E [16:46: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:46:58]wFMCommunicate OK [16:46:58]CreateOFDProtocolMessage done [16:46:58]OFDSenderStorePacket 37726 [16:46:58]StoreOFDPacket docnum=37726 [16:46: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 23 01 00 00 C5 49 1B 01 03 A3 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 34 00 00 00 F4 03 04 00 84 6E 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 5E 93 00 00 35 04 06 00 58 14 14 97 7E 9C 09 3B CD 35 B2 48 98 C4 [16:46:58]CheckFolder [16:46:58]dirname=/storage/ofd_packets [16:46:58]CheckFolder done [16:46:58]ProducePacketName [16:46:58]name=ofd_packets/00037726 [16:46:58]NVStorageSaveData ofd_packets/00037726 [16:46:58]File name is /storage/ofd_packets/00037726 [16:46:58]Write 321 bytes [16:46:58]NVStorageSaveData done [16:46:58]OFDSenderStorePacket done [16:46:58]KKMCreateOFDPacket done [16:46:58]NVStorageSaveData kkm_last_timestamp [16:46:58]File name is /storage/kkm_last_timestamp [16:46:58]Write 4 bytes [16:46:58]NVStorageSaveData done [16:46:58]ExternCall_PrintAddStr [16:46:58]wPrintStart [16:46:58]Write to MH i2c: 01 00 00 B9 0C C5 [16:46:58]Write i2c OK [16:46:58]MH_I2C_Read... [16:46:58]Read from MH i2c: 01 [16:46:58]MH_I2C_Read... [16:46:58]Read from MH i2c: 01 07 00 [16:46:58]MH_I2C_Read... [16:46:58]Read from MH i2c: 01 07 00 B9 0C 00 00 00 00 00 FF 0F DA [16:46:58]RasterBufferAndPrint [16:46:58]line Счет N : (3)35024 [16:46:58]line ИНН: 02508201610067 [16:46:58]line Контрольно-Кассовый Чек [16:46:58]line ПРОДАЖА [16:46:58]line Товар: 46177872 [16:46:58]line Жев Orbit подушки Citrus [16:46:58]line 1.000 * 40.00 [16:46:58]line = 40.00 [16:46:58]line НДС 12% НСП 1% [16:46:58]line > о реализуемом товаре [16:46:58]line ИТОГО: 40.00 [16:46:58]line НСП 1% : 0.35 [16:46:58]line НДС 12% : 4.25 [16:46:58]line Наличными: 40.00 [16:46:58]line Безнал.: 0.00 [16:46:58]line Место: АЗС № 126 "Партнер Нефть" [16:46:58]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [16:46:58]line СНО: Общий режим [16:46:58]line Чек 52 27.10.2024 16:47 [16:46:58]line Смена: 550 ФФД: 1.0 [16:46:58]line ЗНМ: 0300000092 [16:46:58]line РНМ: 0000000000091684 [16:46:58]line Версия ККМ: 001 [16:46:58]line ФМ: 0000000000871841 [16:46:58]line ФД: 37726 [16:46:58]line ФПД: 96843268062876 [16:46:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T164700&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37726&fm=96843268062876&tin=02508201610067®Number=0000000000091684&sum=4000 [16:46:58]line 0 [16:46:58]written 0, free lines is 4095 [16:46:58]OFD Sender: Processing packet 37726 [packets to send 42, broken 41] [16:46:58]ProducePacketName [16:46:58]name=ofd_packets/00037726 [16:46:58]OFD Sender: To server: pG, [16:46:58]CommunicateWithHost lk.salyk.kg:30040 [16:46:58]ConnectInit lk.salyk.kg [16:46:59]Connected sock=10 [16:46: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 23 01 00 00 C5 49 1B 01 03 A3 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 34 00 00 00 F4 03 04 00 84 6E 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 5E 93 00 00 35 04 06 00 58 14 14 97 7E 9C 09 3B CD 35 B2 48 98 C4 [16:46:59]Write to MH i2c: 01 00 00 E1 0C ED [16:46:59]Write i2c OK [16:46:59]MH_I2C_Read... [16:46:59]Read from MH i2c: 01 [16:46:59]MH_I2C_Read... [16:46:59]Read from MH i2c: 01 07 00 [16:46:59]MH_I2C_Read... [16:46:59]Read from MH i2c: 01 07 00 E1 0C 00 00 00 00 00 C0 0C C0 [16:46:59]RasterBufferAndPrint [16:46:59]line [16:46:59]line [16:46:59]line [16:46:59]line [16:46:59]line [16:46:59]written 0, free lines is 3270 [16:46:59]MH_Cut [16:46:59]Write to MH i2c: D1 01 00 E8 0C 01 C6 [16:46:59]Write i2c OK [16:46:59]MH_I2C_Read... [16:46:59]Read from MH i2c: D1 [16:46:59]MH_I2C_Read... [16:46:59]Read from MH i2c: D1 01 00 [16:46:59]MH_I2C_Read... [16:46:59]Read from MH i2c: D1 01 00 E8 0C 00 C5 [16:46:59]Write to MH i2c: 01 00 00 E9 0C F5 [16:46:59]Write i2c OK [16:46:59]MH_I2C_Read... [16:46: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 F9 4E 47 00 72 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 5E 93 00 00 F4 03 04 00 7B 19 1E 67 B6 04 01 00 00 E7 D6 D8 07 35 44 2D B7 [16:46:59]CommunicateWithHost err = 0 [16:46:59]CheckOFDResponse [16:46:59]1017 (14) - 77093643461234 [16:46:59]1041 (16) - 0000000000871841 [16:46:59]1040 (4) - 37726 [16:46:59]1012 (4) - 27.10.2024 10:44 [16:46:59]1206 (1) - 0 [16:46:59]OFD Sender: Remove packet 37726 [16:46:59]ProducePacketName [16:46:59]name=ofd_packets/00037726 [16:46:59]NVStorageDeleteData [16:46:59]OFD Sender: No OFD packet to send [16:47:00]*** Cut start [16:47:00]*** Partial cut [16:47:00]*** CUTSNS_PIN = 1 [16:47:00]*** CUTSNS_PIN = 0 [16:47:00]*** Brake cut motor [16:47:00]*** Stop cut motor [16:47:00]*** Cut end [16:47:00]Read from MH i2c: 01 [16:47:00]MH_I2C_Read... [16:47:00]Read from MH i2c: 01 07 00 [16:47:00]MH_I2C_Read... [16:47:00]Read from MH i2c: 01 07 00 E9 0C 00 00 00 00 00 FF 0F 0A [16:47:00]process_action close_receipt done [16:47:00]requested_data is exist [16:47:00]produce_requested_data [16:47:00]requested_item fm.sn is exist - process it [16:47:00]wFMCommunicate request_size=4 [16:47:00]MH_SAM_APDU [16:47:00]CAPDU: 80 11 00 00 [16:47:00]Write to MH i2c: E2 08 00 EA 0C 80 11 00 00 00 00 00 00 70 [16:47:00]Write i2c OK [16:47:00]MH_I2C_Read... [16:47:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:47:00]Read from MH i2c: E2 [16:47:00]MH_I2C_Read... [16:47:00]Read from MH i2c: E2 17 00 [16:47:00]MH_I2C_Read... [16:47:00]Read from MH i2c: E2 17 00 EA 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 C0 [16: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 [16:47:00]wFMCommunicate OK [16:47:00]requested_item fd.num is exist - process it [16:47:00]SAM_PROTO_GetFieldsCounters [16:47:00]wFMCommunicate request_size=4 [16:47:00]MH_SAM_APDU [16:47:00]CAPDU: 80 13 00 00 [16:47:00]Write to MH i2c: E2 08 00 EB 0C 80 13 00 00 00 00 00 00 73 [16:47:00]Write i2c OK [16:47:00]MH_I2C_Read... [16:47:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:47:00]Read from MH i2c: E2 [16:47:00]MH_I2C_Read... [16:47:00]Read from MH i2c: E2 62 00 [16:47:00]MH_I2C_Read... [16:47:00]Read from MH i2c: E2 62 00 EB 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 5E 93 00 00 0E 04 04 00 26 02 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 49 [16: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 5E 93 00 00 0E 04 04 00 26 02 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:47:00]wFMCommunicate OK [16:47:00]SAM_PROTO_GetFieldsCounters done [16:47:00]requested_item shift.num is exist - process it [16:47:00]requested_item shift.opened is exist - process it [16:47:00]req_shift_opened [16:47:00]FM_GetShiftState [16:47:00]SAM_PROTO_GetShiftState [16:47:00]wFMCommunicate request_size=4 [16:47:00]MH_SAM_APDU [16:47:00]CAPDU: 80 13 01 00 [16:47:00]Write to MH i2c: E2 08 00 EC 0C 80 13 01 00 00 00 00 00 75 [16:47:00]Write i2c OK [16:47:00]MH_I2C_Read... [16:47:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:47:00]Read from MH i2c: E2 [16:47:00]MH_I2C_Read... [16:47:00]Read from MH i2c: E2 0E 00 [16:47:00]MH_I2C_Read... [16:47:00]Read from MH i2c: E2 0E 00 EC 0C 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 2C [16:47:00]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [16:47:00]wFMCommunicate OK [16:47:00]SAM_PROTO_GetShiftState done [16:47:00]FM_GetShiftState done [16:47:00]req_shift_opened done [16:47:00]requested_item shift.open_date is exist - process it [16:47:00]req_shift_open_date [16:47:00]req_shift_open_date done [16:47:00]produce_requested_data done [16:47:00]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37726,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [16:47:00]process_action_free close_receipt [16:47:00]json_value_free [16:47:00]json_value_free done [16:47:00]process_json_proto returns [16:47:00]Send response to host [16:47:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37726,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [16:47:00]free response buf [16:47:00]execute_script done [16:47:00]execute_script returns [16:47:00]free content buf [16:47:00]Sock 7.Close socket [16:47:00]Sock 7.Thread stoped [16:47:04]OFD Sender: No OFD packet to send [16:47:09]OFD Sender: No OFD packet to send [16:47:14]OFD Sender: No OFD packet to send [16:47:19]OFD Sender: No OFD packet to send [16:47:24]OFD Sender: No OFD packet to send [16:47:29]OFD Sender: No OFD packet to send [16:47:34]OFD Sender: No OFD packet to send [16:47:39]OFD Sender: No OFD packet to send [16:47:44]OFD Sender: No OFD packet to send [16:47:49]OFD Sender: No OFD packet to send [16:47:54]OFD Sender: No OFD packet to send [16:47:59]OFD Sender: No OFD packet to send [16:48:05]OFD Sender: No OFD packet to send [16:48:10]OFD Sender: No OFD packet to send [16:48:15]OFD Sender: No OFD packet to send [16:48:20]OFD Sender: No OFD packet to send [16:48:25]OFD Sender: No OFD packet to send [16:48:30]OFD Sender: No OFD packet to send [16:48:35]OFD Sender: No OFD packet to send [16:48:40]OFD Sender: No OFD packet to send [16:48:45]OFD Sender: No OFD packet to send [16:48:50]OFD Sender: No OFD packet to send [16:48:55]OFD Sender: No OFD packet to send [16:49:00]OFD Sender: No OFD packet to send [16:49:05]OFD Sender: No OFD packet to send [16:49:10]OFD Sender: No OFD packet to send [16:49:15]OFD Sender: No OFD packet to send [16:49:20]OFD Sender: No OFD packet to send [16:49:25]OFD Sender: No OFD packet to send [16:49:30]OFD Sender: No OFD packet to send [16:49:35]OFD Sender: No OFD packet to send [16:49:40]OFD Sender: No OFD packet to send [16:49:45]OFD Sender: No OFD packet to send [16:49:50]OFD Sender: No OFD packet to send [16:49:55]OFD Sender: No OFD packet to send [16:50:00]OFD Sender: No OFD packet to send [16:50:05]OFD Sender: No OFD packet to send [16:50:10]OFD Sender: No OFD packet to send [16:50:15]OFD Sender: No OFD packet to send [16:50:20]OFD Sender: No OFD packet to send [16:50:25]OFD Sender: No OFD packet to send [16:50:30]OFD Sender: No OFD packet to send [16:50:35]OFD Sender: No OFD packet to send [16:50:40]OFD Sender: No OFD packet to send [16:50:45]OFD Sender: No OFD packet to send [16:50:50]OFD Sender: No OFD packet to send [16:50:55]OFD Sender: No OFD packet to send [16:51:00]OFD Sender: No OFD packet to send [16:51:05]OFD Sender: No OFD packet to send [16:51:10]OFD Sender: No OFD packet to send [16:51:15]OFD Sender: No OFD packet to send [16:51:20]OFD Sender: No OFD packet to send [16:51:25]OFD Sender: No OFD packet to send [16:51:30]OFD Sender: No OFD packet to send [16:51:35]OFD Sender: No OFD packet to send [16:51:40]OFD Sender: No OFD packet to send [16:51:45]OFD Sender: No OFD packet to send [16:51:50]OFD Sender: No OFD packet to send [16:51:55]OFD Sender: No OFD packet to send [16:52:00]OFD Sender: No OFD packet to send [16:52:05]OFD Sender: No OFD packet to send [16:52:10]OFD Sender: No OFD packet to send [16:52:15]OFD Sender: No OFD packet to send [16:52:20]OFD Sender: No OFD packet to send [16:52:25]OFD Sender: No OFD packet to send [16:52:30]OFD Sender: No OFD packet to send [16:52:35]OFD Sender: No OFD packet to send [16:52:40]OFD Sender: No OFD packet to send [16:52:45]OFD Sender: No OFD packet to send [16:52:50]OFD Sender: No OFD packet to send [16:52:55]OFD Sender: No OFD packet to send [16:53:00]OFD Sender: No OFD packet to send [16:53:05]OFD Sender: No OFD packet to send [16:53:10]OFD Sender: No OFD packet to send [16:53:15]OFD Sender: No OFD packet to send [16:53:20]OFD Sender: No OFD packet to send [16:53:25]OFD Sender: No OFD packet to send [16:53:30]OFD Sender: No OFD packet to send [16:53:35]OFD Sender: No OFD packet to send [16:53:40]OFD Sender: No OFD packet to send [16:53:45]OFD Sender: No OFD packet to send [16:53:50]OFD Sender: No OFD packet to send [16:53:55]OFD Sender: No OFD packet to send [16:54:00]OFD Sender: No OFD packet to send [16:54:05]OFD Sender: No OFD packet to send [16:54:10]OFD Sender: No OFD packet to send [16:54:15]OFD Sender: No OFD packet to send [16:54:20]OFD Sender: No OFD packet to send [16:54:25]OFD Sender: No OFD packet to send [16:54:30]OFD Sender: No OFD packet to send [16:54:35]OFD Sender: No OFD packet to send [16:54:40]OFD Sender: No OFD packet to send [16:54:45]OFD Sender: No OFD packet to send [16:54:50]OFD Sender: No OFD packet to send [16:54:55]OFD Sender: No OFD packet to send [16:55:00]OFD Sender: No OFD packet to send [16:55:05]OFD Sender: No OFD packet to send [16:55:10]OFD Sender: No OFD packet to send [16:55:15]OFD Sender: No OFD packet to send [16:55:20]OFD Sender: No OFD packet to send [16:55:25]OFD Sender: No OFD packet to send [16:55:30]OFD Sender: No OFD packet to send [16:55:35]OFD Sender: No OFD packet to send [16:55:40]OFD Sender: No OFD packet to send [16:55:45]OFD Sender: No OFD packet to send [16:55:50]OFD Sender: No OFD packet to send [16:55:55]OFD Sender: No OFD packet to send [16:56:00]OFD Sender: No OFD packet to send [16:56:05]OFD Sender: No OFD packet to send [16:56:10]OFD Sender: No OFD packet to send [16:56:15]OFD Sender: No OFD packet to send [16:56:20]OFD Sender: No OFD packet to send [16:56:25]OFD Sender: No OFD packet to send [16:56:30]OFD Sender: No OFD packet to send [16:56:35]OFD Sender: No OFD packet to send [16:56:40]OFD Sender: No OFD packet to send [16:56:45]OFD Sender: No OFD packet to send [16:56:50]OFD Sender: No OFD packet to send [16:56:55]OFD Sender: No OFD packet to send [16:57:00]OFD Sender: No OFD packet to send [16:57:05]OFD Sender: No OFD packet to send [16:57:10]OFD Sender: No OFD packet to send [16:57:15]OFD Sender: No OFD packet to send [16:57:20]OFD Sender: No OFD packet to send [16:57:25]OFD Sender: No OFD packet to send [16:57:30]OFD Sender: No OFD packet to send [16:57:35]OFD Sender: No OFD packet to send [16:57:40]OFD Sender: No OFD packet to send [16:57:45]OFD Sender: No OFD packet to send [16:57:50]OFD Sender: No OFD packet to send [16:57:55]OFD Sender: No OFD packet to send [16:58:00]OFD Sender: No OFD packet to send [16:58:05]OFD Sender: No OFD packet to send [16:58:10]OFD Sender: No OFD packet to send [16:58:15]OFD Sender: No OFD packet to send [16:58:20]OFD Sender: No OFD packet to send [16:58:25]OFD Sender: No OFD packet to send [16:58:30]OFD Sender: No OFD packet to send [16:58:35]OFD Sender: No OFD packet to send [16:58:40]OFD Sender: No OFD packet to send [16:58:45]OFD Sender: No OFD packet to send [16:58:50]OFD Sender: No OFD packet to send [16:58:55]OFD Sender: No OFD packet to send [16:59:00]OFD Sender: No OFD packet to send [16:59:05]OFD Sender: No OFD packet to send [16:59:10]OFD Sender: No OFD packet to send [16:59:15]OFD Sender: No OFD packet to send [16:59:20]OFD Sender: No OFD packet to send [16:59:25]OFD Sender: No OFD packet to send [16:59:30]OFD Sender: No OFD packet to send [16:59:35]OFD Sender: No OFD packet to send [16:59:40]OFD Sender: No OFD packet to send [16:59:45]OFD Sender: No OFD packet to send [16:59:50]OFD Sender: No OFD packet to send [16:59:55]OFD Sender: No OFD packet to send [17:00:00]OFD Sender: No OFD packet to send [17:00:05]OFD Sender: No OFD packet to send [17:00:10]OFD Sender: No OFD packet to send [17:00:15]OFD Sender: No OFD packet to send [17:00:20]OFD Sender: No OFD packet to send [17:00:25]OFD Sender: No OFD packet to send [17:00:30]OFD Sender: No OFD packet to send [17:00:35]OFD Sender: No OFD packet to send [17:00:40]OFD Sender: No OFD packet to send [17:00:45]OFD Sender: No OFD packet to send [17:00:50]OFD Sender: No OFD packet to send [17:00:55]OFD Sender: No OFD packet to send [17:01:00]OFD Sender: No OFD packet to send [17:01:05]OFD Sender: No OFD packet to send [17:01:10]OFD Sender: No OFD packet to send [17:01:15]OFD Sender: No OFD packet to send [17:01:20]OFD Sender: No OFD packet to send [17:01:25]OFD Sender: No OFD packet to send [17:01:30]OFD Sender: No OFD packet to send [17:01:35]OFD Sender: No OFD packet to send [17:01:40]OFD Sender: No OFD packet to send [17:01:45]OFD Sender: No OFD packet to send [17:01:50]OFD Sender: No OFD packet to send [17:01:55]OFD Sender: No OFD packet to send [17:02:00]OFD Sender: No OFD packet to send [17:02:05]OFD Sender: No OFD packet to send [17:02:10]OFD Sender: No OFD packet to send [17:02:15]OFD Sender: No OFD packet to send [17:02:20]OFD Sender: No OFD packet to send [17:02:25]OFD Sender: No OFD packet to send [17:02:30]OFD Sender: No OFD packet to send [17:02:35]OFD Sender: No OFD packet to send [17:02:40]OFD Sender: No OFD packet to send [17:02:45]OFD Sender: No OFD packet to send [17:02:50]OFD Sender: No OFD packet to send [17:02:55]OFD Sender: No OFD packet to send [17:03:00]OFD Sender: No OFD packet to send [17:03:05]OFD Sender: No OFD packet to send [17:03:10]OFD Sender: No OFD packet to send [17:03:15]OFD Sender: No OFD packet to send [17:03:20]OFD Sender: No OFD packet to send [17:03:25]OFD Sender: No OFD packet to send [17:03:30]OFD Sender: No OFD packet to send [17:03:35]OFD Sender: No OFD packet to send [17:03:40]OFD Sender: No OFD packet to send [17:03:45]OFD Sender: No OFD packet to send [17:03:50]OFD Sender: No OFD packet to send [17:03:55]OFD Sender: No OFD packet to send [17:04:00]OFD Sender: No OFD packet to send [17:04:05]OFD Sender: No OFD packet to send [17:04:10]OFD Sender: No OFD packet to send [17:04:15]OFD Sender: No OFD packet to send [17:04:20]OFD Sender: No OFD packet to send [17:04:25]OFD Sender: No OFD packet to send [17:04:30]OFD Sender: No OFD packet to send [17:04:35]OFD Sender: No OFD packet to send [17:04:40]OFD Sender: No OFD packet to send [17:04:45]OFD Sender: No OFD packet to send [17:04:50]OFD Sender: No OFD packet to send [17:04:55]OFD Sender: No OFD packet to send [17:05:00]OFD Sender: No OFD packet to send [17:05:05]OFD Sender: No OFD packet to send [17:05:10]OFD Sender: No OFD packet to send [17:05:15]OFD Sender: No OFD packet to send [17:05:20]OFD Sender: No OFD packet to send [17:05:25]OFD Sender: No OFD packet to send [17:05:30]OFD Sender: No OFD packet to send [17:05:35]OFD Sender: No OFD packet to send [17:05:40]OFD Sender: No OFD packet to send [17:05:45]OFD Sender: No OFD packet to send [17:05:50]OFD Sender: No OFD packet to send [17:05:55]OFD Sender: No OFD packet to send [17:06:00]OFD Sender: No OFD packet to send [17:06:05]OFD Sender: No OFD packet to send [17:06:10]OFD Sender: No OFD packet to send [17:06:15]OFD Sender: No OFD packet to send [17:06:20]OFD Sender: No OFD packet to send [17:06:25]OFD Sender: No OFD packet to send [17:06:30]OFD Sender: No OFD packet to send [17:06:35]OFD Sender: No OFD packet to send [17:06:40]OFD Sender: No OFD packet to send [17:06:45]OFD Sender: No OFD packet to send [17:06:51]OFD Sender: No OFD packet to send [17:06:56]OFD Sender: No OFD packet to send [17:07:01]OFD Sender: No OFD packet to send [17:07:06]OFD Sender: No OFD packet to send [17:07:11]OFD Sender: No OFD packet to send [17:07:16]OFD Sender: No OFD packet to send [17:07:21]OFD Sender: No OFD packet to send [17:07:26]OFD Sender: No OFD packet to send [17:07:31]OFD Sender: No OFD packet to send [17:07:36]OFD Sender: No OFD packet to send [17:07:41]OFD Sender: No OFD packet to send [17:07:46]OFD Sender: No OFD packet to send [17:07:51]OFD Sender: No OFD packet to send [17:07:56]OFD Sender: No OFD packet to send [17:08:01]OFD Sender: No OFD packet to send [17:08:06]OFD Sender: No OFD packet to send [17:08:11]OFD Sender: No OFD packet to send [17:08:16]OFD Sender: No OFD packet to send [17:08:21]OFD Sender: No OFD packet to send [17:08:26]OFD Sender: No OFD packet to send [17:08:31]OFD Sender: No OFD packet to send [17:08:36]OFD Sender: No OFD packet to send [17:08:41]OFD Sender: No OFD packet to send [17:08:46]OFD Sender: No OFD packet to send [17:08:51]OFD Sender: No OFD packet to send [17:08:56]OFD Sender: No OFD packet to send [17:09:01]OFD Sender: No OFD packet to send [17:09:06]OFD Sender: No OFD packet to send [17:09:11]OFD Sender: No OFD packet to send [17:09:16]OFD Sender: No OFD packet to send [17:09:21]OFD Sender: No OFD packet to send [17:09:26]OFD Sender: No OFD packet to send [17:09:31]OFD Sender: No OFD packet to send [17:09:36]OFD Sender: No OFD packet to send [17:09:41]OFD Sender: No OFD packet to send [17:09:46]OFD Sender: No OFD packet to send [17:09:51]OFD Sender: No OFD packet to send [17:09:56]OFD Sender: No OFD packet to send [17:10:01]OFD Sender: No OFD packet to send [17:10:06]OFD Sender: No OFD packet to send [17:10:11]OFD Sender: No OFD packet to send [17:10:16]OFD Sender: No OFD packet to send [17:10:21]OFD Sender: No OFD packet to send [17:10:26]OFD Sender: No OFD packet to send [17:10:31]OFD Sender: No OFD packet to send [17:10:33]accept exits with 9 [17:10:33]New connection [17:10:33]New thread 3067440484 created [17:10:33]Thread 3067297124 joined [17:10:33]Waiting for new connection... [17:10:33] Sock 9.Parse request [17:10:33]Sock 9.Check first char [17:10:33]Sock 9.First char is OK [17:10:33]request: POST /json_proto HTTP/1.0 [17:10:33]Method: POST [17:10:33]URL: /json_proto [17:10:33]Method is POST - this is cgi request [17:10:33]url: /json_proto [17:10:33]query_string will be loaded in cgi processing [17:10:33]execute_cgi json_proto POST (null) [17:10:33]execute_cgi path=json_proto method=POST [17:10:33]POST find Content-Length [17:10:33]Host: 172.17.40.196:8080 [17:10:33]Content-Length: 1927 [17:10:33]Content-Type: application/json [17:10:33] [17:10:33]POST finish read [17:10:33]Found Content-Length = 1927 [17:10:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35025", "tax_sys" : 0, "items" : [ { "code": "2000038180017", "name": "\u041A\u043E\u0444\u0435 \u041C\u043E\u043A\u043A\u043E\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4823077633324", "name": "\u041F\u0435\u0447 LOVITA CLASSIC COOKIES \u0441 \u043A\u0443\u0441\u043E\u0447 \u0433\u043B\u0430\u0437\u0443", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4601025117788", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0440\u0443\u0442\u043C\u043E\u0442\u0438\u0432 \u0430\u0440\u0431\u0443\u0437 \u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 0,5", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ,{ "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 570.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:10:33]execute_script... [17:10: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)35025", "tax_sys" : 0, "items" : [ { "code": "2000038180017", "name": "\u041A\u043E\u0444\u0435 \u041C\u043E\u043A\u043A\u043E\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4823077633324", "name": "\u041F\u0435\u0447 LOVITA CLASSIC COOKIES \u0441 \u043A\u0443\u0441\u043E\u0447 \u0433\u043B\u0430\u0437\u0443", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4601025117788", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0440\u0443\u0442\u043C\u043E\u0442\u0438\u0432 \u0430\u0440\u0431\u0443\u0437 \u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 0,5", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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 }]} ,{ "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 570.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:10:34]POST & json_proto [17:10:34]process_json_proto [17:10:34]json parsed OK: [17:10:34]protocol is kg_v1.0 [17:10:34]action value=close_receipt [17:10:34]process_action close_receipt [17:10:34]cmd_close_receipt [17:10:34]MH_GetDate [17:10:34]Write to MH i2c: F0 00 00 ED 0C E8 [17:10:34]Write i2c OK [17:10:34]MH_I2C_Read... [17:10:34]Read from MH i2c: F0 [17:10:34]MH_I2C_Read... [17:10:34]Read from MH i2c: F0 09 00 [17:10:34]MH_I2C_Read... [17:10:34]Read from MH i2c: F0 09 00 ED 0C 00 0D 74 1E 67 5B 68 A1 66 C1 [17:10:34]GetLastDocTimeStamp 1730047620 [17:10:34]current date 1730049037 [17:10:34]FM_GetShiftState [17:10:34]SAM_PROTO_GetShiftState [17:10:34]wFMCommunicate request_size=4 [17:10:34]MH_SAM_APDU [17:10:34]CAPDU: 80 13 01 00 [17:10:34]Write to MH i2c: E2 08 00 EE 0C 80 13 01 00 00 00 00 00 77 [17:10:34]Write i2c OK [17:10:34]MH_I2C_Read... [17:10:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:10:34]Read from MH i2c: E2 [17:10:34]MH_I2C_Read... [17:10:34]Read from MH i2c: E2 0E 00 [17:10:34]MH_I2C_Read... [17:10:34]Read from MH i2c: E2 0E 00 EE 0C 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 2E [17:10:34]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [17:10:34]wFMCommunicate OK [17:10:34]SAM_PROTO_GetShiftState done [17:10:34]FM_GetShiftState done [17:10:34]opened in 1729987492 [17:10:34]opened+sec_in_day 1730073892 [17:10:34]quantity*price = 12000 [17:10:34]sum+1 = 12001 [17:10:34]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4823077633324 Печ LOVITA CLASSIC COOKIES с кусоч глазу 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4601025117788 Напиток Фрутмотив арбуз клубника 0,5 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036240010 Кофе Латте (GABB TRADE) 1.000 * 115.00 = 115.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000034250011 Горячий шоколад (GABB trade) 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 570.00 НСП 1% : 5.04 НДС 12% : 60.52 Наличными: 0.00 Безнал.: 570.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 53 27.10.2024 17:10 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37727 ФПД: 90698706415113 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T171037&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37727&fm=90698706415113&tin=02508201610067®Number=0000000000091684&sum=57000 0 [17:10:35]StoreToDocumentArchive [17:10:35]shift 550 fd 37727 [17:10:35]save to /storage/0550/doc_00037727 [17:10:35]save last doc name /storage/0550/doc_00037727 to /storage/kkm_last_doc_name [17:10:35]save OK [17:10:35]Clear old archive folders... [17:10:35]ProcessDocumentItem done err = 0, tmpTLVsize=763 [17:10:35]tlvbuf is 002347B0 [17:10:35]SAM_PROTO_ClearQueue [17:10:35]wFMCommunicate request_size=4 [17:10:35]MH_SAM_APDU [17:10:35]CAPDU: 80 09 00 00 [17:10:35]Write to MH i2c: E2 08 00 FB 0C 80 09 00 00 00 00 00 00 79 [17:10:35]Write i2c OK [17:10:35]MH_I2C_Read... [17:10:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:10:35]Read from MH i2c: E2 [17:10:35]MH_I2C_Read... [17:10:35]Read from MH i2c: E2 03 00 [17:10:35]MH_I2C_Read... [17:10:35]Read from MH i2c: E2 03 00 FB 0C 00 90 00 7B [17:10:35]RAPDU: 90 00 [17:10:35]wFMCommunicate OK [17:10:35]SAM_PROTO_ClearQueue done [17:10:35]KKMCreateOFDPacket [17:10:35]OFDProtocolAddRootSTLVToBuf [17:10:35]FM_MakeSignedData [17:10:35]FM_MakeSignedData [17:10:35]SAM_PROTO_SignData [17:10:35]wFMCommunicate request_size=4 [17:10:35]MH_SAM_APDU [17:10:35]CAPDU: 80 0D 01 02 [17:10:35]Write to MH i2c: E2 08 00 FC 0C 80 0D 01 02 00 00 00 00 81 [17:10:35]Write i2c OK [17:10:35]MH_I2C_Read... [17:10:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:10:35]Read from MH i2c: E2 [17:10:35]MH_I2C_Read... [17:10:35]Read from MH i2c: E2 03 00 [17:10:35]MH_I2C_Read... [17:10:35]Read from MH i2c: E2 03 00 FC 0C 00 90 00 7C [17:10:35]RAPDU: 90 00 [17:10:35]wFMCommunicate OK [17:10:35]wFMCommunicate request_size=255 [17:10:35]MH_SAM_APDU [17:10:35]CAPDU: 80 0D 02 02 FA 03 00 FB 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 38 31 38 30 30 31 37 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9C D0 BE D0 BA D0 BA D0 BE D1 87 D0 B8 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 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 7A 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 33 33 32 34 06 04 36 00 D0 9F D0 B5 D1 87 20 4C 4F 56 49 54 41 20 43 4C 41 53 53 49 43 20 43 4F 4F 4B 49 45 53 20 D1 81 20 D0 BA D1 83 D1 81 D0 BE D1 87 20 D0 B3 D0 BB D0 B0 D0 B7 D1 83 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 85 [17:10:35]Write to MH i2c: E2 02 01 FD 0C 80 0D 02 02 FA 00 03 00 FB 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 38 31 38 30 30 31 37 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9C D0 BE D0 BA D0 BA D0 BE D1 87 D0 B8 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 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 7A 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 33 33 32 34 06 04 36 00 D0 9F D0 B5 D1 87 20 4C 4F 56 49 54 41 20 43 4C 41 53 53 49 43 20 43 4F 4F 4B 49 45 53 20 D1 81 20 D0 BA D1 83 D1 81 D0 BE D1 87 20 D0 B3 D0 BB D0 B0 D0 B7 D1 83 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 85 00 00 CB [17:10:35]Write i2c OK [17:10:35]MH_I2C_Read... [17:10:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:10:36]Read from MH i2c: E2 [17:10:36]MH_I2C_Read... [17:10:36]Read from MH i2c: E2 03 00 [17:10:36]MH_I2C_Read... [17:10:36]Read from MH i2c: E2 03 00 FD 0C 00 90 00 7D [17:10:36]RAPDU: 90 00 [17:10:36]wFMCommunicate OK [17:10:36]wFMCommunicate request_size=255 [17:10:36]MH_SAM_APDU [17:10:36]CAPDU: 80 0D 02 02 FA 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 37 37 38 38 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 23 04 6E 00 8A 04 0D 00 32 30 30 30 [17:10:36]Write to MH i2c: E2 02 01 FE 0C 80 0D 02 02 FA 00 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 37 37 38 38 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 23 04 6E 00 8A 04 0D 00 32 30 30 30 00 00 61 [17:10:36]Write i2c OK [17:10:36]MH_I2C_Read... [17:10:36]OFD Sender: No OFD packet to send [17:10:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:10:36]Read from MH i2c: E2 [17:10:36]MH_I2C_Read... [17:10:36]Read from MH i2c: E2 03 00 [17:10:36]MH_I2C_Read... [17:10:36]Read from MH i2c: E2 03 00 FE 0C 00 90 00 7E [17:10:36]RAPDU: 90 00 [17:10:36]wFMCommunicate OK [17:10:36]wFMCommunicate request_size=255 [17:10:36]MH_SAM_APDU [17:10:36]CAPDU: 80 0D 02 02 FA 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 DE 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A4 17 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A8 DE 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 0D 74 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [17:10:36]Write to MH i2c: E2 02 01 FF 0C 80 0D 02 02 FA 00 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 DE 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A4 17 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A8 DE 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 0D 74 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 00 00 18 [17:10:36]Write i2c OK [17:10:36]MH_I2C_Read... [17:10:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:10:36]Read from MH i2c: E2 [17:10:36]MH_I2C_Read... [17:10:36]Read from MH i2c: E2 03 00 [17:10:36]MH_I2C_Read... [17:10:36]Read from MH i2c: E2 03 00 FF 0C 00 90 00 7F [17:10:36]RAPDU: 90 00 [17:10:36]wFMCommunicate OK [17:10:36]wFMCommunicate request_size=22 [17:10:36]MH_SAM_APDU [17:10:36]CAPDU: 80 0D 02 02 11 04 04 00 5F 93 00 00 35 04 06 00 52 7D 70 2D 6E 09 [17:10:36]Write to MH i2c: E2 19 00 00 0D 80 0D 02 02 11 00 04 04 00 5F 93 00 00 35 04 06 00 52 7D 70 2D 6E 09 00 00 C5 [17:10:36]Write i2c OK [17:10:36]MH_I2C_Read... [17:10:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:10:36]Read from MH i2c: E2 [17:10:36]MH_I2C_Read... [17:10:36]Read from MH i2c: E2 03 00 [17:10:36]MH_I2C_Read... [17:10:36]Read from MH i2c: E2 03 00 00 0D 00 90 00 81 [17:10:36]RAPDU: 90 00 [17:10:36]wFMCommunicate OK [17:10:36]wFMCommunicate request_size=4 [17:10:36]MH_SAM_APDU [17:10:36]CAPDU: 80 0D 03 02 [17:10:36]Write to MH i2c: E2 08 00 01 0D 80 0D 03 02 00 00 00 00 89 [17:10:36]Write i2c OK [17:10:36]MH_I2C_Read... [17:10:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:10:36]Read from MH i2c: E2 [17:10:36]MH_I2C_Read... [17:10:36]Read from MH i2c: E2 0B 00 [17:10:36]MH_I2C_Read... [17:10:36]Read from MH i2c: E2 0B 00 01 0D 00 EC 7E B9 C1 9C A4 54 98 90 00 9A [17:10:36]RAPDU: EC 7E B9 C1 9C A4 54 98 90 00 [17:10:36]wFMCommunicate OK [17:10:36]SAM_PROTO_SignData done [17:10:36]FM_MakeSignedData done [17:10:36]CreateOFDProtocolMessage [17:10:36]wFMCommunicate request_size=4 [17:10:36]MH_SAM_APDU [17:10:36]CAPDU: 80 11 00 00 [17:10:36]Write to MH i2c: E2 08 00 02 0D 80 11 00 00 00 00 00 00 89 [17:10:36]Write i2c OK [17:10:36]MH_I2C_Read... [17:10:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:10:36]Read from MH i2c: E2 [17:10:36]MH_I2C_Read... [17:10:36]Read from MH i2c: E2 17 00 [17:10:36]MH_I2C_Read... [17:10:36]Read from MH i2c: E2 17 00 02 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D9 [17:10:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:10:36]wFMCommunicate OK [17:10:36]CreateOFDProtocolMessage done [17:10:36]OFDSenderStorePacket 37727 [17:10:36]StoreOFDPacket docnum=37727 [17:10: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 0F 03 00 00 E1 94 07 03 41 29 5A 03 01 00 03 00 FB 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 38 31 38 30 30 31 37 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9C D0 BE D0 BA D0 BA D0 BE D1 87 D0 B8 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 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 7A 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 33 33 32 34 06 04 36 00 D0 9F D0 B5 D1 87 20 4C 4F 56 49 54 41 20 43 4C 41 53 53 49 43 20 43 4F 4F 4B 49 45 53 20 D1 81 20 D0 BA D1 83 D1 81 D0 BE D1 87 20 D0 B3 D0 BB D0 B0 D0 B7 D1 83 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 85 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 37 37 38 38 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 DE 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A4 17 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A8 DE 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 0D 74 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 5F 93 00 00 35 04 06 00 52 7D 70 2D 6E 09 EC 7E B9 C1 9C A4 54 98 [17:10:36]CheckFolder [17:10:36]dirname=/storage/ofd_packets [17:10:36]CheckFolder done [17:10:36]ProducePacketName [17:10:36]name=ofd_packets/00037727 [17:10:36]NVStorageSaveData ofd_packets/00037727 [17:10:36]File name is /storage/ofd_packets/00037727 [17:10:36]Write 813 bytes [17:10:36]NVStorageSaveData done [17:10:36]OFDSenderStorePacket done [17:10:36]KKMCreateOFDPacket done [17:10:36]NVStorageSaveData kkm_last_timestamp [17:10:36]File name is /storage/kkm_last_timestamp [17:10:36]Write 4 bytes [17:10:36]NVStorageSaveData done [17:10:36]ExternCall_PrintAddStr [17:10:36]wPrintStart [17:10:36]Write to MH i2c: 01 00 00 03 0D 10 [17:10:36]Write i2c OK [17:10:36]MH_I2C_Read... [17:10:36]Read from MH i2c: 01 [17:10:36]MH_I2C_Read... [17:10:36]Read from MH i2c: 01 07 00 [17:10:36]MH_I2C_Read... [17:10:36]Read from MH i2c: 01 07 00 03 0D 00 00 00 00 00 FF 0F 25 [17:10:36]RasterBufferAndPrint [17:10:36]line Счет N : (3)35025 [17:10:36]line ИНН: 02508201610067 [17:10:36]line Контрольно-Кассовый Чек [17:10:36]line ПРОДАЖА [17:10:36]line Товар: 2000038180017 [17:10:36]line Кофе Моккочино (GABB TRADE) [17:10:36]line 1.000 * 120.00 [17:10:36]line = 120.00 [17:10:36]line НДС 12% НСП 1% [17:10:36]line > о реализуемом товаре [17:10:36]line Товар: 4823077633324 [17:10:36]line Печ LOVITA CLASSIC COOKIES с кусоч глазу [17:10:36]line 1.000 * 130.00 [17:10:36]line = 130.00 [17:10:36]line НДС 12% НСП 1% [17:10:36]line > о реализуемом товаре [17:10:36]line Товар: 4601025117788 [17:10:36]line Напиток Фрутмотив арбуз клубника 0,5 [17:10:36]line 1.000 * 85.00 [17:10:36]line = 85.00 [17:10:36]line НДС 12% НСП 1% [17:10:36]line > о реализуемом товаре [17:10:36]line Товар: 2000036240010 [17:10:36]line Кофе Латте (GABB TRADE) [17:10:36]line 1.000 * 115.00 [17:10:36]line = 115.00 [17:10:36]line НДС 12% НСП 1% [17:10:36]line > о реализуемом товаре [17:10:36]line Товар: 2000034250011 [17:10:37]line Горячий шоколад (GABB trade) [17:10:37]line 1.000 * 120.00 [17:10:37]line = 120.00 [17:10:37]line НДС 12% НСП 1% [17:10:37]line > о реализуемом товаре [17:10:37]line ИТОГО: 570.00 [17:10:37]line НСП 1% : 5.04 [17:10:37]line НДС 12% : 60.52 [17:10:37]line Наличными: 0.00 [17:10:37]line Безнал.: 570.00 [17:10:37]line Место: АЗС № 126 "Партнер Нефть" [17:10:37]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [17:10:37]line СНО: Общий режим [17:10:37]line Чек 53 27.10.2024 17:10 [17:10:37]line Смена: 550 ФФД: 1.0 [17:10:37]line ЗНМ: 0300000092 [17:10:37]line РНМ: 0000000000091684 [17:10:37]line Версия ККМ: 001 [17:10:37]line Платежная система: Mbank [17:10:37]line ФМ: 0000000000871841 [17:10:37]line ФД: 37727 [17:10:37]line ФПД: 90698706415113 [17:10:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T171037&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37727&fm=90698706415113&tin=02508201610067®Number=0000000000091684&sum=57000 [17:10:37]OFD Sender: Processing packet 37727 [packets to send 42, broken 41] [17:10:37]ProducePacketName [17:10:37]name=ofd_packets/00037727 [17:10:37]OFD Sender: To server: pG, [17:10:37]CommunicateWithHost lk.salyk.kg:30040 [17:10:37]ConnectInit lk.salyk.kg [17:10:37]line 0 [17:10:37]written 0, free lines is 4095 [17:10:37]Connected sock=10 [17:10: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 0F 03 00 00 E1 94 07 03 41 29 5A 03 01 00 03 00 FB 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 38 31 38 30 30 31 37 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9C D0 BE D0 BA D0 BA D0 BE D1 87 D0 B8 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 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 7A 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 33 33 32 34 06 04 36 00 D0 9F D0 B5 D1 87 20 4C 4F 56 49 54 41 20 43 4C 41 53 53 49 43 20 43 4F 4F 4B 49 45 53 20 D1 81 20 D0 BA D1 83 D1 81 D0 BE D1 87 20 D0 B3 D0 BB D0 B0 D0 B7 D1 83 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 85 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 37 37 38 38 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 DE 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A4 17 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A8 DE 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 0D 74 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 5F 93 00 00 35 04 06 00 52 7D 70 2D 6E 09 EC 7E B9 C1 9C A4 54 98 [17:10: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 BF C8 47 00 E6 FF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 5F 93 00 00 F4 03 04 00 05 1F 1E 67 B6 04 01 00 00 9B 8F A9 1D FF C5 54 77 [17:10:37]CommunicateWithHost err = 0 [17:10:37]CheckOFDResponse [17:10:37]1017 (14) - 77093643461234 [17:10:37]1041 (16) - 0000000000871841 [17:10:37]1040 (4) - 37727 [17:10:37]1012 (4) - 27.10.2024 11:07 [17:10:37]1206 (1) - 0 [17:10:37]OFD Sender: Remove packet 37727 [17:10:37]ProducePacketName [17:10:37]name=ofd_packets/00037727 [17:10:37]NVStorageDeleteData [17:10:37]Write to MH i2c: 01 00 00 48 0D 55 [17:10:37]Write i2c OK [17:10:37]MH_I2C_Read... [17:10:37]Read from MH i2c: 01 [17:10:37]MH_I2C_Read... [17:10:37]Read from MH i2c: 01 07 00 [17:10:37]MH_I2C_Read... [17:10:37]Read from MH i2c: 01 07 00 48 0D 00 00 00 00 00 E3 0A 49 [17:10:37]RasterBufferAndPrint [17:10:37]line [17:10:37]line [17:10:37]line [17:10:37]line [17:10:37]line [17:10:37]written 0, free lines is 2796 [17:10:37]MH_Cut [17:10:37]Write to MH i2c: D1 01 00 4F 0D 01 2E [17:10:37]Write i2c OK [17:10:37]MH_I2C_Read... [17:10:37]Read from MH i2c: D1 [17:10:37]MH_I2C_Read... [17:10:37]Read from MH i2c: D1 01 00 [17:10:37]MH_I2C_Read... [17:10:37]Read from MH i2c: D1 01 00 4F 0D 00 2D [17:10:37]Write to MH i2c: 01 00 00 50 0D 5D [17:10:37]Write i2c OK [17:10:37]MH_I2C_Read... [17:10:38]OFD Sender: No OFD packet to send [17:10:39]*** Cut start [17:10:39]*** Partial cut [17:10:39]*** CUTSNS_PIN = 1 [17:10:39]*** CUTSNS_PIN = 0 [17:10:39]*** Brake cut motor [17:10:39]Read from MH i2c: 01 [17:10:39]MH_I2C_Read... [17:10:39]*** Stop cut motor [17:10:39]*** Cut end [17:10:39]Read from MH i2c: 01 07 00 [17:10:39]MH_I2C_Read... [17:10:39]Read from MH i2c: 01 07 00 50 0D 00 00 00 00 00 FF 0F 72 [17:10:39]process_action close_receipt done [17:10:39]requested_data is exist [17:10:39]produce_requested_data [17:10:39]requested_item fm.sn is exist - process it [17:10:39]wFMCommunicate request_size=4 [17:10:39]MH_SAM_APDU [17:10:39]CAPDU: 80 11 00 00 [17:10:39]Write to MH i2c: E2 08 00 51 0D 80 11 00 00 00 00 00 00 D8 [17:10:39]Write i2c OK [17:10:39]MH_I2C_Read... [17:10:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:10:39]Read from MH i2c: E2 [17:10:39]MH_I2C_Read... [17:10:39]Read from MH i2c: E2 17 00 [17:10:39]MH_I2C_Read... [17:10:39]Read from MH i2c: E2 17 00 51 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 28 [17:10:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:10:39]wFMCommunicate OK [17:10:39]requested_item fd.num is exist - process it [17:10:39]SAM_PROTO_GetFieldsCounters [17:10:39]wFMCommunicate request_size=4 [17:10:39]MH_SAM_APDU [17:10:39]CAPDU: 80 13 00 00 [17:10:39]Write to MH i2c: E2 08 00 52 0D 80 13 00 00 00 00 00 00 DB [17:10:39]Write i2c OK [17:10:39]MH_I2C_Read... [17:10:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:10:39]Read from MH i2c: E2 [17:10:39]MH_I2C_Read... [17:10:39]Read from MH i2c: E2 62 00 [17:10:39]MH_I2C_Read... [17:10:39]Read from MH i2c: E2 62 00 52 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 5F 93 00 00 0E 04 04 00 26 02 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 B5 [17:10: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 5F 93 00 00 0E 04 04 00 26 02 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:10:39]wFMCommunicate OK [17:10:39]SAM_PROTO_GetFieldsCounters done [17:10:39]requested_item shift.num is exist - process it [17:10:39]requested_item shift.opened is exist - process it [17:10:39]req_shift_opened [17:10:39]FM_GetShiftState [17:10:39]SAM_PROTO_GetShiftState [17:10:39]wFMCommunicate request_size=4 [17:10:39]MH_SAM_APDU [17:10:39]CAPDU: 80 13 01 00 [17:10:39]Write to MH i2c: E2 08 00 53 0D 80 13 01 00 00 00 00 00 DD [17:10:39]Write i2c OK [17:10:39]MH_I2C_Read... [17:10:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:10:40]Read from MH i2c: E2 [17:10:40]MH_I2C_Read... [17:10:40]Read from MH i2c: E2 0E 00 [17:10:40]MH_I2C_Read... [17:10:40]Read from MH i2c: E2 0E 00 53 0D 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 94 [17:10:40]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [17:10:40]wFMCommunicate OK [17:10:40]SAM_PROTO_GetShiftState done [17:10:40]FM_GetShiftState done [17:10:40]req_shift_opened done [17:10:40]requested_item shift.open_date is exist - process it [17:10:40]req_shift_open_date [17:10:40]req_shift_open_date done [17:10:40]produce_requested_data done [17:10:40]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37727,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [17:10:40]process_action_free close_receipt [17:10:40]json_value_free [17:10:40]json_value_free done [17:10:40]process_json_proto returns [17:10:40]Send response to host [17:10:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37727,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [17:10:40]free response buf [17:10:40]execute_script done [17:10:40]execute_script returns [17:10:40]free content buf [17:10:40]Sock 9.Close socket [17:10:40]Sock 9.Thread stoped [17:10:43]OFD Sender: No OFD packet to send [17:10:48]OFD Sender: No OFD packet to send [17:10:53]OFD Sender: No OFD packet to send [17:10:58]OFD Sender: No OFD packet to send [17:11:03]OFD Sender: No OFD packet to send [17:11:08]OFD Sender: No OFD packet to send [17:11:13]OFD Sender: No OFD packet to send [17:11:18]OFD Sender: No OFD packet to send [17:11:23]OFD Sender: No OFD packet to send [17:11:28]OFD Sender: No OFD packet to send [17:11:33]OFD Sender: No OFD packet to send [17:11:38]OFD Sender: No OFD packet to send [17:11:43]OFD Sender: No OFD packet to send [17:11:48]OFD Sender: No OFD packet to send [17:11:53]OFD Sender: No OFD packet to send [17:11:58]OFD Sender: No OFD packet to send [17:12:03]OFD Sender: No OFD packet to send [17:12:08]OFD Sender: No OFD packet to send [17:12:13]OFD Sender: No OFD packet to send [17:12:18]OFD Sender: No OFD packet to send [17:12:23]OFD Sender: No OFD packet to send [17:12:28]OFD Sender: No OFD packet to send [17:12:33]OFD Sender: No OFD packet to send [17:12:38]OFD Sender: No OFD packet to send [17:12:43]OFD Sender: No OFD packet to send [17:12:48]OFD Sender: No OFD packet to send [17:12:53]OFD Sender: No OFD packet to send [17:12:58]OFD Sender: No OFD packet to send [17:13:03]OFD Sender: No OFD packet to send [17:13:08]OFD Sender: No OFD packet to send [17:13:13]OFD Sender: No OFD packet to send [17:13:18]OFD Sender: No OFD packet to send [17:13:23]OFD Sender: No OFD packet to send [17:13:28]OFD Sender: No OFD packet to send [17:13:33]OFD Sender: No OFD packet to send [17:13:38]OFD Sender: No OFD packet to send [17:13:43]OFD Sender: No OFD packet to send [17:13:48]OFD Sender: No OFD packet to send [17:13:53]OFD Sender: No OFD packet to send [17:13:58]OFD Sender: No OFD packet to send [17:14:03]OFD Sender: No OFD packet to send [17:14:08]OFD Sender: No OFD packet to send [17:14:13]OFD Sender: No OFD packet to send [17:14:18]OFD Sender: No OFD packet to send [17:14:23]OFD Sender: No OFD packet to send [17:14:28]OFD Sender: No OFD packet to send [17:14:33]OFD Sender: No OFD packet to send [17:14:38]OFD Sender: No OFD packet to send [17:14:43]OFD Sender: No OFD packet to send [17:14:48]OFD Sender: No OFD packet to send [17:14:53]OFD Sender: No OFD packet to send [17:14:58]OFD Sender: No OFD packet to send [17:15:03]OFD Sender: No OFD packet to send [17:15:08]OFD Sender: No OFD packet to send [17:15:13]OFD Sender: No OFD packet to send [17:15:18]OFD Sender: No OFD packet to send [17:15:23]OFD Sender: No OFD packet to send [17:15:28]OFD Sender: No OFD packet to send [17:15:33]OFD Sender: No OFD packet to send [17:15:37]accept exits with 7 [17:15:37]New connection [17:15:37]New thread 3067297124 created [17:15:37]Thread 3067440484 joined [17:15:37]Waiting for new connection... [17:15:37] Sock 7.Parse request [17:15:37]Sock 7.Check first char [17:15:37]Sock 7.First char is OK [17:15:37]request: POST /json_proto HTTP/1.0 [17:15:37]Method: POST [17:15:37]URL: /json_proto [17:15:37]Method is POST - this is cgi request [17:15:37]url: /json_proto [17:15:37]query_string will be loaded in cgi processing [17:15:37]execute_cgi json_proto POST (null) [17:15:37]execute_cgi path=json_proto method=POST [17:15:37]POST find Content-Length [17:15:37]Host: 172.17.40.196:8080 [17:15:37]Content-Length: 623 [17:15:37]Content-Type: application/json [17:15:37] [17:15:37]POST finish read [17:15:37]Found Content-Length = 623 [17:15:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35026", "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" ] } } [17:15:37]execute_script... [17:15:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35026", "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" ] } } [17:15:37]POST & json_proto [17:15:37]process_json_proto [17:15:37]json parsed OK: [17:15:37]protocol is kg_v1.0 [17:15:37]action value=close_receipt [17:15:37]process_action close_receipt [17:15:37]cmd_close_receipt [17:15:37]MH_GetDate [17:15:37]Write to MH i2c: F0 00 00 54 0D 50 [17:15:37]Write i2c OK [17:15:37]MH_I2C_Read... [17:15:37]Read from MH i2c: F0 [17:15:37]MH_I2C_Read... [17:15:37]Read from MH i2c: F0 09 00 [17:15:37]MH_I2C_Read... [17:15:37]Read from MH i2c: F0 09 00 54 0D 00 3C 75 1E 67 5B 68 A1 66 59 [17:15:37]GetLastDocTimeStamp 1730049037 [17:15:37]current date 1730049340 [17:15:37]FM_GetShiftState [17:15:37]SAM_PROTO_GetShiftState [17:15:37]wFMCommunicate request_size=4 [17:15:37]MH_SAM_APDU [17:15:37]CAPDU: 80 13 01 00 [17:15:37]Write to MH i2c: E2 08 00 55 0D 80 13 01 00 00 00 00 00 DF [17:15:37]Write i2c OK [17:15:37]MH_I2C_Read... [17:15:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:15:37]Read from MH i2c: E2 [17:15:37]MH_I2C_Read... [17:15:37]Read from MH i2c: E2 0E 00 [17:15:37]MH_I2C_Read... [17:15:37]Read from MH i2c: E2 0E 00 55 0D 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 96 [17:15:37]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [17:15:37]wFMCommunicate OK [17:15:37]SAM_PROTO_GetShiftState done [17:15:37]FM_GetShiftState done [17:15:37]opened in 1729987492 [17:15:37]opened+sec_in_day 1730073892 [17:15:37]quantity*price = 14700 [17:15:37]sum+1 = 14701 [17:15:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 147.00 НСП 1% : 1.30 НДС 12% : 15.61 Наличными: 147.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 54 27.10.2024 17:15 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37728 ФПД: 57562309321793 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T171540&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37728&fm=57562309321793&tin=02508201610067®Number=0000000000091684&sum=14700 0 [17:15:38]StoreToDocumentArchive [17:15:38]shift 550 fd 37728 [17:15:38]save to /storage/0550/doc_00037728 [17:15:38]save last doc name /storage/0550/doc_00037728 to /storage/kkm_last_doc_name [17:15:38]save OK [17:15:38]Clear old archive folders... [17:15:38]ProcessDocumentItem done err = 0, tmpTLVsize=276 [17:15:38]tlvbuf is 0028ED00 [17:15:38]SAM_PROTO_ClearQueue [17:15:38]wFMCommunicate request_size=4 [17:15:38]MH_SAM_APDU [17:15:38]CAPDU: 80 09 00 00 [17:15:38]Write to MH i2c: E2 08 00 62 0D 80 09 00 00 00 00 00 00 E1 [17:15:38]Write i2c OK [17:15:38]MH_I2C_Read... [17:15:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:15:38]Read from MH i2c: E2 [17:15:38]MH_I2C_Read... [17:15:38]Read from MH i2c: E2 03 00 [17:15:38]MH_I2C_Read... [17:15:38]Read from MH i2c: E2 03 00 62 0D 00 90 00 E3 [17:15:38]RAPDU: 90 00 [17:15:38]wFMCommunicate OK [17:15:38]SAM_PROTO_ClearQueue done [17:15:38]KKMCreateOFDPacket [17:15:38]OFDProtocolAddRootSTLVToBuf [17:15:38]FM_MakeSignedData [17:15:38]FM_MakeSignedData [17:15:38]SAM_PROTO_SignData [17:15:38]wFMCommunicate request_size=4 [17:15:38]MH_SAM_APDU [17:15:38]CAPDU: 80 0D 01 02 [17:15:38]Write to MH i2c: E2 08 00 63 0D 80 0D 01 02 00 00 00 00 E9 [17:15:38]Write i2c OK [17:15:38]MH_I2C_Read... [17:15:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:15:38]Read from MH i2c: E2 [17:15:38]MH_I2C_Read... [17:15:38]Read from MH i2c: E2 03 00 [17:15:38]MH_I2C_Read... [17:15:38]Read from MH i2c: E2 03 00 63 0D 00 90 00 E4 [17:15:38]RAPDU: 90 00 [17:15:38]wFMCommunicate OK [17:15:38]wFMCommunicate request_size=255 [17:15:38]MH_SAM_APDU [17:15:38]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 36 00 00 00 F4 03 04 00 3C 75 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [17:15:38]Write to MH i2c: E2 02 01 64 0D 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 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 36 00 00 00 F4 03 04 00 3C 75 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 46 [17:15:38]Write i2c OK [17:15:38]MH_I2C_Read... [17:15:38]OFD Sender: No OFD packet to send [17:15:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:15:38]Read from MH i2c: E2 [17:15:38]MH_I2C_Read... [17:15:38]Read from MH i2c: E2 03 00 [17:15:38]MH_I2C_Read... [17:15:38]Read from MH i2c: E2 03 00 64 0D 00 90 00 E5 [17:15:38]RAPDU: 90 00 [17:15:38]wFMCommunicate OK [17:15:38]wFMCommunicate request_size=35 [17:15:38]MH_SAM_APDU [17:15:38]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 60 93 00 00 35 04 06 00 34 5A 44 FF E4 41 [17:15:38]Write to MH i2c: E2 26 00 65 0D 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 60 93 00 00 35 04 06 00 34 5A 44 FF E4 41 00 00 C5 [17:15:38]Write i2c OK [17:15:38]MH_I2C_Read... [17:15:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:15:38]Read from MH i2c: E2 [17:15:38]MH_I2C_Read... [17:15:38]Read from MH i2c: E2 03 00 [17:15:38]MH_I2C_Read... [17:15:38]Read from MH i2c: E2 03 00 65 0D 00 90 00 E6 [17:15:38]RAPDU: 90 00 [17:15:38]wFMCommunicate OK [17:15:38]wFMCommunicate request_size=4 [17:15:38]MH_SAM_APDU [17:15:38]CAPDU: 80 0D 03 02 [17:15:38]Write to MH i2c: E2 08 00 66 0D 80 0D 03 02 00 00 00 00 EE [17:15:38]Write i2c OK [17:15:38]MH_I2C_Read... [17:15:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:15:38]Read from MH i2c: E2 [17:15:38]MH_I2C_Read... [17:15:38]Read from MH i2c: E2 0B 00 [17:15:38]MH_I2C_Read... [17:15:38]Read from MH i2c: E2 0B 00 66 0D 00 19 7F C9 6F 96 7B B6 E9 90 00 6F [17:15:38]RAPDU: 19 7F C9 6F 96 7B B6 E9 90 00 [17:15:38]wFMCommunicate OK [17:15:38]SAM_PROTO_SignData done [17:15:38]FM_MakeSignedData done [17:15:38]CreateOFDProtocolMessage [17:15:38]wFMCommunicate request_size=4 [17:15:38]MH_SAM_APDU [17:15:38]CAPDU: 80 11 00 00 [17:15:38]Write to MH i2c: E2 08 00 67 0D 80 11 00 00 00 00 00 00 EE [17:15:38]Write i2c OK [17:15:38]MH_I2C_Read... [17:15:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:15:38]Read from MH i2c: E2 [17:15:38]MH_I2C_Read... [17:15:38]Read from MH i2c: E2 17 00 [17:15:38]MH_I2C_Read... [17:15:38]Read from MH i2c: E2 17 00 67 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 3E [17:15:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:15:38]wFMCommunicate OK [17:15:38]CreateOFDProtocolMessage done [17:15:38]OFDSenderStorePacket 37728 [17:15:38]StoreOFDPacket docnum=37728 [17:15: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 28 01 00 00 BB FF 20 01 A6 E3 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 36 00 00 00 F4 03 04 00 3C 75 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 60 93 00 00 35 04 06 00 34 5A 44 FF E4 41 19 7F C9 6F 96 7B B6 E9 [17:15:38]CheckFolder [17:15:38]dirname=/storage/ofd_packets [17:15:38]CheckFolder done [17:15:38]ProducePacketName [17:15:38]name=ofd_packets/00037728 [17:15:38]NVStorageSaveData ofd_packets/00037728 [17:15:38]File name is /storage/ofd_packets/00037728 [17:15:38]Write 326 bytes [17:15:38]NVStorageSaveData done [17:15:38]OFDSenderStorePacket done [17:15:38]KKMCreateOFDPacket done [17:15:38]NVStorageSaveData kkm_last_timestamp [17:15:38]File name is /storage/kkm_last_timestamp [17:15:38]Write 4 bytes [17:15:38]NVStorageSaveData done [17:15:38]ExternCall_PrintAddStr [17:15:38]wPrintStart [17:15:38]Write to MH i2c: 01 00 00 68 0D 75 [17:15:38]OFD Sender: Processing packet 37728 [packets to send 42, broken 41] [17:15:38]ProducePacketName [17:15:38]name=ofd_packets/00037728 [17:15:38]OFD Sender: To server: pG, [17:15:38]CommunicateWithHost lk.salyk.kg:30040 [17:15:38]ConnectInit lk.salyk.kg [17:15:38]Write i2c OK [17:15:38]MH_I2C_Read... [17:15:38]Read from MH i2c: 01 [17:15:38]MH_I2C_Read... [17:15:38]Read from MH i2c: 01 07 00 [17:15:38]MH_I2C_Read... [17:15:38]Read from MH i2c: 01 07 00 68 0D 00 00 00 00 00 FF 0F 8A [17:15:38]RasterBufferAndPrint [17:15:38]line Счет N : (3)35026 [17:15:38]line ИНН: 02508201610067 [17:15:38]line Контрольно-Кассовый Чек [17:15:38]line ПРОДАЖА [17:15:38]line Товар: 48744683 [17:15:38]line Сигареты Winston XStyle Caster+ [17:15:38]line 1.000 * 147.00 [17:15:38]line = 147.00 [17:15:38]line НДС 12% НСП 1% [17:15:38]line > о реализуемом товаре [17:15:38]line ИТОГО: 147.00 [17:15:38]line НСП 1% : 1.30 [17:15:38]line НДС 12% : 15.61 [17:15:38]line Наличными: 147.00 [17:15:38]line Безнал.: 0.00 [17:15:38]line Место: АЗС № 126 "Партнер Нефть" [17:15:38]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [17:15:38]line СНО: Общий режим [17:15:38]line Чек 54 27.10.2024 17:15 [17:15:38]line Смена: 550 ФФД: 1.0 [17:15:38]line ЗНМ: 0300000092 [17:15:38]line РНМ: 0000000000091684 [17:15:38]line Версия ККМ: 001 [17:15:38]line ФМ: 0000000000871841 [17:15:38]line ФД: 37728 [17:15:39]line ФПД: 57562309321793 [17:15:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T171540&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37728&fm=57562309321793&tin=02508201610067®Number=0000000000091684&sum=14700 [17:15:39]line 0 [17:15:39]Connected sock=11 [17:15: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 28 01 00 00 BB FF 20 01 A6 E3 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 36 00 00 00 F4 03 04 00 3C 75 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 60 93 00 00 35 04 06 00 34 5A 44 FF E4 41 19 7F C9 6F 96 7B B6 E9 [17:15:39]written 0, free lines is 4095 [17:15: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 64 DC 47 00 DE AF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 60 93 00 00 F4 03 04 00 33 20 1E 67 B6 04 01 00 00 C9 85 29 1E 44 D6 1F 9C [17:15:39]CommunicateWithHost err = 0 [17:15:39]CheckOFDResponse [17:15:39]1017 (14) - 77093643461234 [17:15:39]1041 (16) - 0000000000871841 [17:15:39]1040 (4) - 37728 [17:15:39]1012 (4) - 27.10.2024 11:12 [17:15:39]1206 (1) - 0 [17:15:39]OFD Sender: Remove packet 37728 [17:15:39]ProducePacketName [17:15:39]name=ofd_packets/00037728 [17:15:39]NVStorageDeleteData [17:15:39]Write to MH i2c: 01 00 00 91 0D 9E [17:15:39]Write i2c OK [17:15:39]MH_I2C_Read... [17:15:39]Read from MH i2c: 01 [17:15:39]MH_I2C_Read... [17:15:39]Read from MH i2c: 01 07 00 [17:15:39]MH_I2C_Read... [17:15:39]Read from MH i2c: 01 07 00 91 0D 00 00 00 00 00 AB 0C 5C [17:15:39]RasterBufferAndPrint [17:15:39]line [17:15:39]line [17:15:39]line [17:15:39]line [17:15:39]line [17:15:39]written 0, free lines is 3246 [17:15:39]MH_Cut [17:15:39]Write to MH i2c: D1 01 00 98 0D 01 77 [17:15:39]Write i2c OK [17:15:39]MH_I2C_Read... [17:15:39]Read from MH i2c: D1 [17:15:39]MH_I2C_Read... [17:15:39]Read from MH i2c: D1 01 00 [17:15:39]MH_I2C_Read... [17:15:39]Read from MH i2c: D1 01 00 98 0D 00 76 [17:15:39]Write to MH i2c: 01 00 00 99 0D A6 [17:15:39]Write i2c OK [17:15:39]MH_I2C_Read... [17:15:39]OFD Sender: No OFD packet to send [17:15:40]*** Cut start [17:15:40]*** Partial cut [17:15:40]*** CUTSNS_PIN = 1 [17:15:40]*** CUTSNS_PIN = 0 [17:15:40]*** Brake cut motor [17:15:41]Read from MH i2c: 01 [17:15:41]MH_I2C_Read... [17:15:41]*** Stop cut motor [17:15:41]*** Cut end [17:15:41]Read from MH i2c: 01 07 00 [17:15:41]MH_I2C_Read... [17:15:41]Read from MH i2c: 01 07 00 99 0D 00 00 00 00 00 FF 0F BB [17:15:41]process_action close_receipt done [17:15:41]requested_data is exist [17:15:41]produce_requested_data [17:15:41]requested_item fm.sn is exist - process it [17:15:41]wFMCommunicate request_size=4 [17:15:41]MH_SAM_APDU [17:15:41]CAPDU: 80 11 00 00 [17:15:41]Write to MH i2c: E2 08 00 9A 0D 80 11 00 00 00 00 00 00 21 [17:15:41]Write i2c OK [17:15:41]MH_I2C_Read... [17:15:41]Read from MH i2c: E2 [17:15:41]MH_I2C_Read... [17:15:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:15:41]Read from MH i2c: E2 17 00 [17:15:41]MH_I2C_Read... [17:15:41]Read from MH i2c: E2 17 00 9A 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 71 [17:15:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:15:41]wFMCommunicate OK [17:15:41]requested_item fd.num is exist - process it [17:15:41]SAM_PROTO_GetFieldsCounters [17:15:41]wFMCommunicate request_size=4 [17:15:41]MH_SAM_APDU [17:15:41]CAPDU: 80 13 00 00 [17:15:41]Write to MH i2c: E2 08 00 9B 0D 80 13 00 00 00 00 00 00 24 [17:15:41]Write i2c OK [17:15:41]MH_I2C_Read... [17:15:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:15:41]Read from MH i2c: E2 [17:15:41]MH_I2C_Read... [17:15:41]Read from MH i2c: E2 62 00 [17:15:41]MH_I2C_Read... [17:15:41]Read from MH i2c: E2 62 00 9B 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 60 93 00 00 0E 04 04 00 26 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 02 [17:15: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 60 93 00 00 0E 04 04 00 26 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:15:41]wFMCommunicate OK [17:15:41]SAM_PROTO_GetFieldsCounters done [17:15:41]requested_item shift.num is exist - process it [17:15:41]requested_item shift.opened is exist - process it [17:15:41]req_shift_opened [17:15:41]FM_GetShiftState [17:15:41]SAM_PROTO_GetShiftState [17:15:41]wFMCommunicate request_size=4 [17:15:41]MH_SAM_APDU [17:15:41]CAPDU: 80 13 01 00 [17:15:41]Write to MH i2c: E2 08 00 9C 0D 80 13 01 00 00 00 00 00 26 [17:15:41]Write i2c OK [17:15:41]MH_I2C_Read... [17:15:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:15:41]Read from MH i2c: E2 [17:15:41]MH_I2C_Read... [17:15:41]Read from MH i2c: E2 0E 00 [17:15:41]MH_I2C_Read... [17:15:41]Read from MH i2c: E2 0E 00 9C 0D 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 DD [17:15:41]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [17:15:41]wFMCommunicate OK [17:15:41]SAM_PROTO_GetShiftState done [17:15:41]FM_GetShiftState done [17:15:41]req_shift_opened done [17:15:41]requested_item shift.open_date is exist - process it [17:15:41]req_shift_open_date [17:15:41]req_shift_open_date done [17:15:41]produce_requested_data done [17:15:41]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37728,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [17:15:41]process_action_free close_receipt [17:15:41]json_value_free [17:15:41]json_value_free done [17:15:41]process_json_proto returns [17:15:41]Send response to host [17:15:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37728,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [17:15:41]free response buf [17:15:41]execute_script done [17:15:41]execute_script returns [17:15:41]free content buf [17:15:41]Sock 7.Close socket [17:15:41]Sock 7.Thread stoped [17:15:44]OFD Sender: No OFD packet to send [17:15:49]OFD Sender: No OFD packet to send [17:15:54]OFD Sender: No OFD packet to send [17:15:59]OFD Sender: No OFD packet to send [17:16:04]OFD Sender: No OFD packet to send [17:16:09]OFD Sender: No OFD packet to send [17:16:14]OFD Sender: No OFD packet to send [17:16:19]OFD Sender: No OFD packet to send [17:16:24]OFD Sender: No OFD packet to send [17:16:29]OFD Sender: No OFD packet to send [17:16:34]OFD Sender: No OFD packet to send [17:16:39]OFD Sender: No OFD packet to send [17:16:44]OFD Sender: No OFD packet to send [17:16:49]OFD Sender: No OFD packet to send [17:16:54]OFD Sender: No OFD packet to send [17:16:59]OFD Sender: No OFD packet to send [17:17:04]OFD Sender: No OFD packet to send [17:17:09]OFD Sender: No OFD packet to send [17:17:14]OFD Sender: No OFD packet to send [17:17:19]OFD Sender: No OFD packet to send [17:17:24]OFD Sender: No OFD packet to send [17:17:29]OFD Sender: No OFD packet to send [17:17:34]OFD Sender: No OFD packet to send [17:17:39]OFD Sender: No OFD packet to send [17:17:44]OFD Sender: No OFD packet to send [17:17:49]OFD Sender: No OFD packet to send [17:17:54]OFD Sender: No OFD packet to send [17:18:00]OFD Sender: No OFD packet to send [17:18:05]OFD Sender: No OFD packet to send [17:18:10]OFD Sender: No OFD packet to send [17:18:15]OFD Sender: No OFD packet to send [17:18:20]OFD Sender: No OFD packet to send [17:18:25]OFD Sender: No OFD packet to send [17:18:30]OFD Sender: No OFD packet to send [17:18:35]OFD Sender: No OFD packet to send [17:18:40]OFD Sender: No OFD packet to send [17:18:45]OFD Sender: No OFD packet to send [17:18:50]OFD Sender: No OFD packet to send [17:18:55]OFD Sender: No OFD packet to send [17:19:00]OFD Sender: No OFD packet to send [17:19:05]OFD Sender: No OFD packet to send [17:19:10]OFD Sender: No OFD packet to send [17:19:15]OFD Sender: No OFD packet to send [17:19:20]OFD Sender: No OFD packet to send [17:19:25]OFD Sender: No OFD packet to send [17:19:30]OFD Sender: No OFD packet to send [17:19:35]OFD Sender: No OFD packet to send [17:19:40]OFD Sender: No OFD packet to send [17:19:45]OFD Sender: No OFD packet to send [17:19:50]OFD Sender: No OFD packet to send [17:19:55]OFD Sender: No OFD packet to send [17:20:00]OFD Sender: No OFD packet to send [17:20:05]OFD Sender: No OFD packet to send [17:20:10]OFD Sender: No OFD packet to send [17:20:15]OFD Sender: No OFD packet to send [17:20:20]OFD Sender: No OFD packet to send [17:20:25]OFD Sender: No OFD packet to send [17:20:30]OFD Sender: No OFD packet to send [17:20:35]OFD Sender: No OFD packet to send [17:20:40]OFD Sender: No OFD packet to send [17:20:45]OFD Sender: No OFD packet to send [17:20:50]OFD Sender: No OFD packet to send [17:20:55]OFD Sender: No OFD packet to send [17:21:00]OFD Sender: No OFD packet to send [17:21:05]OFD Sender: No OFD packet to send [17:21:10]OFD Sender: No OFD packet to send [17:21:15]OFD Sender: No OFD packet to send [17:21:20]OFD Sender: No OFD packet to send [17:21:25]OFD Sender: No OFD packet to send [17:21:30]OFD Sender: No OFD packet to send [17:21:35]OFD Sender: No OFD packet to send [17:21:40]OFD Sender: No OFD packet to send [17:21:45]OFD Sender: No OFD packet to send [17:21:50]OFD Sender: No OFD packet to send [17:21:55]OFD Sender: No OFD packet to send [17:22:00]OFD Sender: No OFD packet to send [17:22:05]OFD Sender: No OFD packet to send [17:22:05]accept exits with 9 [17:22:05]New connection [17:22:05]New thread 3067440484 created [17:22:05]Thread 3067297124 joined [17:22:05]Waiting for new connection... [17:22:05] Sock 9.Parse request [17:22:05]Sock 9.Check first char [17:22:05]Sock 9.First char is OK [17:22:05]request: POST /json_proto HTTP/1.0 [17:22:05]Method: POST [17:22:05]URL: /json_proto [17:22:05]Method is POST - this is cgi request [17:22:05]url: /json_proto [17:22:05]query_string will be loaded in cgi processing [17:22:05]execute_cgi json_proto POST (null) [17:22:05]execute_cgi path=json_proto method=POST [17:22:05]POST find Content-Length [17:22:05]Host: 172.17.40.196:8080 [17:22:05]Content-Length: 646 [17:22:05]Content-Type: application/json [17:22:05] [17:22:05]POST finish read [17:22:05]Found Content-Length = 646 [17:22:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35027", "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" ] } } [17:22:05]execute_script... [17:22: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)35027", "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" ] } } [17:22:05]POST & json_proto [17:22:05]process_json_proto [17:22:05]json parsed OK: [17:22:05]protocol is kg_v1.0 [17:22:05]action value=close_receipt [17:22:05]process_action close_receipt [17:22:05]cmd_close_receipt [17:22:05]MH_GetDate [17:22:05]Write to MH i2c: F0 00 00 9D 0D 99 [17:22:05]Write i2c OK [17:22:05]MH_I2C_Read... [17:22:05]Read from MH i2c: F0 [17:22:05]MH_I2C_Read... [17:22:05]Read from MH i2c: F0 09 00 [17:22:05]MH_I2C_Read... [17:22:05]Read from MH i2c: F0 09 00 9D 0D 00 C1 76 1E 67 5B 68 A1 66 28 [17:22:05]GetLastDocTimeStamp 1730049340 [17:22:05]current date 1730049729 [17:22:05]FM_GetShiftState [17:22:05]SAM_PROTO_GetShiftState [17:22:05]wFMCommunicate request_size=4 [17:22:05]MH_SAM_APDU [17:22:05]CAPDU: 80 13 01 00 [17:22:05]Write to MH i2c: E2 08 00 9E 0D 80 13 01 00 00 00 00 00 28 [17:22:05]Write i2c OK [17:22:05]MH_I2C_Read... [17:22:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:22:06]Read from MH i2c: E2 [17:22:06]MH_I2C_Read... [17:22:06]Read from MH i2c: E2 0E 00 [17:22:06]MH_I2C_Read... [17:22:06]Read from MH i2c: E2 0E 00 9E 0D 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 DF [17:22:06]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [17:22:06]wFMCommunicate OK [17:22:06]SAM_PROTO_GetShiftState done [17:22:06]FM_GetShiftState done [17:22:06]opened in 1729987492 [17:22:06]opened+sec_in_day 1730073892 [17:22:06]quantity*price = 19500 [17:22:06]sum+1 = 19501 [17:22:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 195.00 НСП 1% : 1.73 НДС 12% : 20.71 Наличными: 195.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 55 27.10.2024 17:22 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37729 ФПД: 53543335649810 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T172209&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37729&fm=53543335649810&tin=02508201610067®Number=0000000000091684&sum=19500 0 [17:22:07]StoreToDocumentArchive [17:22:07]shift 550 fd 37729 [17:22:07]save to /storage/0550/doc_00037729 [17:22:07]save last doc name /storage/0550/doc_00037729 to /storage/kkm_last_doc_name [17:22:07]save OK [17:22:07]Clear old archive folders... [17:22:07]ProcessDocumentItem done err = 0, tmpTLVsize=272 [17:22:07]tlvbuf is 0026D040 [17:22:07]SAM_PROTO_ClearQueue [17:22:07]wFMCommunicate request_size=4 [17:22:07]MH_SAM_APDU [17:22:07]CAPDU: 80 09 00 00 [17:22:07]Write to MH i2c: E2 08 00 AB 0D 80 09 00 00 00 00 00 00 2A [17:22:07]Write i2c OK [17:22:07]MH_I2C_Read... [17:22:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:22:07]Read from MH i2c: E2 [17:22:07]MH_I2C_Read... [17:22:07]Read from MH i2c: E2 03 00 [17:22:07]MH_I2C_Read... [17:22:07]Read from MH i2c: E2 03 00 AB 0D 00 90 00 2C [17:22:07]RAPDU: 90 00 [17:22:07]wFMCommunicate OK [17:22:07]SAM_PROTO_ClearQueue done [17:22:07]KKMCreateOFDPacket [17:22:07]OFDProtocolAddRootSTLVToBuf [17:22:07]FM_MakeSignedData [17:22:07]FM_MakeSignedData [17:22:07]SAM_PROTO_SignData [17:22:07]wFMCommunicate request_size=4 [17:22:07]MH_SAM_APDU [17:22:07]CAPDU: 80 0D 01 02 [17:22:07]Write to MH i2c: E2 08 00 AC 0D 80 0D 01 02 00 00 00 00 32 [17:22:07]Write i2c OK [17:22:07]MH_I2C_Read... [17:22:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:22:07]Read from MH i2c: E2 [17:22:07]MH_I2C_Read... [17:22:07]Read from MH i2c: E2 03 00 [17:22:07]MH_I2C_Read... [17:22:07]Read from MH i2c: E2 03 00 AC 0D 00 90 00 2D [17:22:07]RAPDU: 90 00 [17:22:07]wFMCommunicate OK [17:22:07]wFMCommunicate request_size=255 [17:22:07]MH_SAM_APDU [17:22:07]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 37 00 00 00 F4 03 04 00 C1 76 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [17:22:07]Write to MH i2c: E2 02 01 AD 0D 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 37 00 00 00 F4 03 04 00 C1 76 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 44 [17:22:07]Write i2c OK [17:22:07]MH_I2C_Read... [17:22:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:22:07]Read from MH i2c: E2 [17:22:07]MH_I2C_Read... [17:22:07]Read from MH i2c: E2 03 00 [17:22:07]MH_I2C_Read... [17:22:07]Read from MH i2c: E2 03 00 AD 0D 00 90 00 2E [17:22:07]RAPDU: 90 00 [17:22:07]wFMCommunicate OK [17:22:07]wFMCommunicate request_size=31 [17:22:07]MH_SAM_APDU [17:22:07]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 61 93 00 00 35 04 06 00 30 B2 87 80 62 12 [17:22:07]Write to MH i2c: E2 22 00 AE 0D 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 61 93 00 00 35 04 06 00 30 B2 87 80 62 12 00 00 AE [17:22:07]Write i2c OK [17:22:07]MH_I2C_Read... [17:22:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:22:07]Read from MH i2c: E2 [17:22:07]MH_I2C_Read... [17:22:07]Read from MH i2c: E2 03 00 [17:22:07]MH_I2C_Read... [17:22:07]Read from MH i2c: E2 03 00 AE 0D 00 90 00 2F [17:22:07]RAPDU: 90 00 [17:22:07]wFMCommunicate OK [17:22:07]wFMCommunicate request_size=4 [17:22:07]MH_SAM_APDU [17:22:07]CAPDU: 80 0D 03 02 [17:22:07]Write to MH i2c: E2 08 00 AF 0D 80 0D 03 02 00 00 00 00 37 [17:22:07]Write i2c OK [17:22:07]MH_I2C_Read... [17:22:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:22:07]Read from MH i2c: E2 [17:22:07]MH_I2C_Read... [17:22:07]Read from MH i2c: E2 0B 00 [17:22:07]MH_I2C_Read... [17:22:07]Read from MH i2c: E2 0B 00 AF 0D 00 C0 59 FF 77 39 21 46 13 90 00 7A [17:22:07]RAPDU: C0 59 FF 77 39 21 46 13 90 00 [17:22:07]wFMCommunicate OK [17:22:07]SAM_PROTO_SignData done [17:22:07]FM_MakeSignedData done [17:22:07]CreateOFDProtocolMessage [17:22:07]wFMCommunicate request_size=4 [17:22:07]MH_SAM_APDU [17:22:07]CAPDU: 80 11 00 00 [17:22:07]Write to MH i2c: E2 08 00 B0 0D 80 11 00 00 00 00 00 00 37 [17:22:07]Write i2c OK [17:22:07]MH_I2C_Read... [17:22:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:22:07]Read from MH i2c: E2 [17:22:07]MH_I2C_Read... [17:22:07]Read from MH i2c: E2 17 00 [17:22:07]MH_I2C_Read... [17:22:07]Read from MH i2c: E2 17 00 B0 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 87 [17:22:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:22:07]wFMCommunicate OK [17:22:07]CreateOFDProtocolMessage done [17:22:07]OFDSenderStorePacket 37729 [17:22:07]StoreOFDPacket docnum=37729 [17:22: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 75 A2 1C 01 2D 2D 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 37 00 00 00 F4 03 04 00 C1 76 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 61 93 00 00 35 04 06 00 30 B2 87 80 62 12 C0 59 FF 77 39 21 46 13 [17:22:07]CheckFolder [17:22:07]dirname=/storage/ofd_packets [17:22:07]CheckFolder done [17:22:07]ProducePacketName [17:22:07]name=ofd_packets/00037729 [17:22:07]NVStorageSaveData ofd_packets/00037729 [17:22:07]File name is /storage/ofd_packets/00037729 [17:22:07]Write 322 bytes [17:22:07]NVStorageSaveData done [17:22:07]OFDSenderStorePacket done [17:22:07]KKMCreateOFDPacket done [17:22:07]NVStorageSaveData kkm_last_timestamp [17:22:07]File name is /storage/kkm_last_timestamp [17:22:07]Write 4 bytes [17:22:07]NVStorageSaveData done [17:22:07]ExternCall_PrintAddStr [17:22:07]wPrintStart [17:22:07]Write to MH i2c: 01 00 00 B1 0D BE [17:22:07]Write i2c OK [17:22:07]MH_I2C_Read... [17:22:07]Read from MH i2c: 01 [17:22:07]MH_I2C_Read... [17:22:07]Read from MH i2c: 01 07 00 [17:22:07]MH_I2C_Read... [17:22:07]Read from MH i2c: 01 07 00 B1 0D 00 00 00 00 00 FF 0F D3 [17:22:07]RasterBufferAndPrint [17:22:07]line Счет N : (3)35027 [17:22:07]line ИНН: 02508201610067 [17:22:07]line Контрольно-Кассовый Чек [17:22:07]line ПРОДАЖА [17:22:07]line Товар: 47011656 [17:22:07]line Водка Пшеничная 0,1л [17:22:07]line 3.000 * 65.00 [17:22:07]line = 195.00 [17:22:07]line НДС 12% НСП 1% [17:22:07]line > о реализуемом товаре [17:22:07]line ИТОГО: 195.00 [17:22:07]line НСП 1% : 1.73 [17:22:07]line НДС 12% : 20.71 [17:22:07]line Наличными: 195.00 [17:22:07]line Безнал.: 0.00 [17:22:07]line Место: АЗС № 126 "Партнер Нефть" [17:22:07]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [17:22:07]line СНО: Общий режим [17:22:07]line Чек 55 27.10.2024 17:22 [17:22:07]line Смена: 550 ФФД: 1.0 [17:22:07]line ЗНМ: 0300000092 [17:22:07]line РНМ: 0000000000091684 [17:22:07]line Версия ККМ: 001 [17:22:07]line ФМ: 0000000000871841 [17:22:07]line ФД: 37729 [17:22:07]line ФПД: 53543335649810 [17:22:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T172209&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37729&fm=53543335649810&tin=02508201610067®Number=0000000000091684&sum=19500 [17:22:08]OFD Sender: Processing packet 37729 [packets to send 42, broken 41] [17:22:08]ProducePacketName [17:22:08]name=ofd_packets/00037729 [17:22:08]OFD Sender: To server: pG, [17:22:08]CommunicateWithHost lk.salyk.kg:30040 [17:22:08]ConnectInit lk.salyk.kg [17:22:08]line 0 [17:22:08]written 0, free lines is 4095 [17:22:08]Connected sock=10 [17:22: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 75 A2 1C 01 2D 2D 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 37 00 00 00 F4 03 04 00 C1 76 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 61 93 00 00 35 04 06 00 30 B2 87 80 62 12 C0 59 FF 77 39 21 46 13 [17:22:08]Write to MH i2c: 01 00 00 D9 0D E6 [17:22:08]Write i2c OK [17:22:08]MH_I2C_Read... [17:22:08]Read from MH i2c: 01 [17:22:08]MH_I2C_Read... [17:22:08]Read from MH i2c: 01 07 00 [17:22:08]MH_I2C_Read... [17:22:08]Read from MH i2c: 01 07 00 D9 0D 00 00 00 00 00 C6 0C BF [17:22:08]RasterBufferAndPrint [17:22:08]line [17:22:08]line [17:22:08]line [17:22:08]line [17:22:08]line [17:22:08]written 0, free lines is 3274 [17:22:08]MH_Cut [17:22:08]Write to MH i2c: D1 01 00 E0 0D 01 BF [17:22:08]Write i2c OK [17:22:08]MH_I2C_Read... [17:22:08]Read from MH i2c: D1 [17:22:08]MH_I2C_Read... [17:22:08]Read from MH i2c: D1 01 00 [17:22:08]MH_I2C_Read... [17:22:08]Read from MH i2c: D1 01 00 E0 0D 00 BE [17:22:08]Write to MH i2c: 01 00 00 E1 0D EE [17:22:08]Write i2c OK [17:22:08]MH_I2C_Read... [17:22: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 95 EB 47 00 2A EF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 61 93 00 00 F4 03 04 00 B8 21 1E 67 B6 04 01 00 00 9B 9B A1 F2 A8 03 20 84 [17:22:08]CommunicateWithHost err = 0 [17:22:08]CheckOFDResponse [17:22:08]1017 (14) - 77093643461234 [17:22:08]1041 (16) - 0000000000871841 [17:22:08]1040 (4) - 37729 [17:22:08]1012 (4) - 27.10.2024 11:19 [17:22:08]1206 (1) - 0 [17:22:08]OFD Sender: Remove packet 37729 [17:22:08]ProducePacketName [17:22:08]name=ofd_packets/00037729 [17:22:08]NVStorageDeleteData [17:22:09]OFD Sender: No OFD packet to send [17:22:09]*** Cut start [17:22:09]*** Partial cut [17:22:09]*** CUTSNS_PIN = 1 [17:22:09]*** CUTSNS_PIN = 0 [17:22:09]*** Brake cut motor [17:22:09]Read from MH i2c: 01 [17:22:09]MH_I2C_Read... [17:22:09]*** Stop cut motor [17:22:09]*** Cut end [17:22:09]Read from MH i2c: 01 07 00 [17:22:09]MH_I2C_Read... [17:22:09]Read from MH i2c: 01 07 00 E1 0D 00 00 00 00 00 FF 0F 03 [17:22:09]process_action close_receipt done [17:22:09]requested_data is exist [17:22:09]produce_requested_data [17:22:09]requested_item fm.sn is exist - process it [17:22:09]wFMCommunicate request_size=4 [17:22:09]MH_SAM_APDU [17:22:09]CAPDU: 80 11 00 00 [17:22:09]Write to MH i2c: E2 08 00 E2 0D 80 11 00 00 00 00 00 00 69 [17:22:09]Write i2c OK [17:22:09]MH_I2C_Read... [17:22:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:22:10]Read from MH i2c: E2 [17:22:10]MH_I2C_Read... [17:22:10]Read from MH i2c: E2 17 00 [17:22:10]MH_I2C_Read... [17:22:10]Read from MH i2c: E2 17 00 E2 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 B9 [17:22: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:22:10]wFMCommunicate OK [17:22:10]requested_item fd.num is exist - process it [17:22:10]SAM_PROTO_GetFieldsCounters [17:22:10]wFMCommunicate request_size=4 [17:22:10]MH_SAM_APDU [17:22:10]CAPDU: 80 13 00 00 [17:22:10]Write to MH i2c: E2 08 00 E3 0D 80 13 00 00 00 00 00 00 6C [17:22:10]Write i2c OK [17:22:10]MH_I2C_Read... [17:22:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:22:10]Read from MH i2c: E2 [17:22:10]MH_I2C_Read... [17:22:10]Read from MH i2c: E2 62 00 [17:22:10]MH_I2C_Read... [17:22:10]Read from MH i2c: E2 62 00 E3 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 61 93 00 00 0E 04 04 00 26 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 4E [17:22: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 61 93 00 00 0E 04 04 00 26 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:22:10]wFMCommunicate OK [17:22:10]SAM_PROTO_GetFieldsCounters done [17:22:10]requested_item shift.num is exist - process it [17:22:10]requested_item shift.opened is exist - process it [17:22:10]req_shift_opened [17:22:10]FM_GetShiftState [17:22:10]SAM_PROTO_GetShiftState [17:22:10]wFMCommunicate request_size=4 [17:22:10]MH_SAM_APDU [17:22:10]CAPDU: 80 13 01 00 [17:22:10]Write to MH i2c: E2 08 00 E4 0D 80 13 01 00 00 00 00 00 6E [17:22:10]Write i2c OK [17:22:10]MH_I2C_Read... [17:22:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:22:10]Read from MH i2c: E2 [17:22:10]MH_I2C_Read... [17:22:10]Read from MH i2c: E2 0E 00 [17:22:10]MH_I2C_Read... [17:22:10]Read from MH i2c: E2 0E 00 E4 0D 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 25 [17:22:10]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [17:22:10]wFMCommunicate OK [17:22:10]SAM_PROTO_GetShiftState done [17:22:10]FM_GetShiftState done [17:22:10]req_shift_opened done [17:22:10]requested_item shift.open_date is exist - process it [17:22:10]req_shift_open_date [17:22:10]req_shift_open_date done [17:22:10]produce_requested_data done [17:22:10]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37729,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [17:22:10]process_action_free close_receipt [17:22:10]json_value_free [17:22:10]json_value_free done [17:22:10]process_json_proto returns [17:22:10]Send response to host [17:22:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37729,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [17:22:10]free response buf [17:22:10]execute_script done [17:22:10]execute_script returns [17:22:10]free content buf [17:22:10]Sock 9.Close socket [17:22:10]Sock 9.Thread stoped [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:06]accept exits with 7 [17:27:06]New connection [17:27:06]New thread 3067297124 created [17:27:06]Thread 3067440484 joined [17:27:06]Waiting for new connection... [17:27:06] Sock 7.Parse request [17:27:06]Sock 7.Check first char [17:27:06]Sock 7.First char is OK [17:27:06]request: POST /json_proto HTTP/1.0 [17:27:06]Method: POST [17:27:06]URL: /json_proto [17:27:06]Method is POST - this is cgi request [17:27:06]url: /json_proto [17:27:06]query_string will be loaded in cgi processing [17:27:06]execute_cgi json_proto POST (null) [17:27:06]execute_cgi path=json_proto method=POST [17:27:06]POST find Content-Length [17:27:06]Host: 172.17.40.196:8080 [17:27:06]Content-Length: 705 [17:27:06]Content-Type: application/json [17:27:06] [17:27:06]POST finish read [17:27:06]Found Content-Length = 705 [17:27:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35028", "tax_sys" : 0, "items" : [ { "code": "5449000273673", "name": "\u0421\u043E\u043A Piko Pulpy \u043A\u0440\u0430\u0441\u043D\u044B\u0439 \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u041F\u042D\u0422 1\u043B", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 175.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:27:06]execute_script... [17:27: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)35028", "tax_sys" : 0, "items" : [ { "code": "5449000273673", "name": "\u0421\u043E\u043A Piko Pulpy \u043A\u0440\u0430\u0441\u043D\u044B\u0439 \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u041F\u042D\u0422 1\u043B", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 175.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:27:06]POST & json_proto [17:27:06]process_json_proto [17:27:06]json parsed OK: [17:27:06]protocol is kg_v1.0 [17:27:06]action value=close_receipt [17:27:06]process_action close_receipt [17:27:06]cmd_close_receipt [17:27:06]MH_GetDate [17:27:06]Write to MH i2c: F0 00 00 E5 0D E1 [17:27:06]Write i2c OK [17:27:06]MH_I2C_Read... [17:27:06]Read from MH i2c: F0 [17:27:06]MH_I2C_Read... [17:27:06]Read from MH i2c: F0 09 00 [17:27:06]MH_I2C_Read... [17:27:06]Read from MH i2c: F0 09 00 E5 0D 00 ED 77 1E 67 5B 68 A1 66 9D [17:27:06]GetLastDocTimeStamp 1730049729 [17:27:06]current date 1730050029 [17:27:06]FM_GetShiftState [17:27:06]SAM_PROTO_GetShiftState [17:27:06]wFMCommunicate request_size=4 [17:27:06]MH_SAM_APDU [17:27:06]CAPDU: 80 13 01 00 [17:27:06]Write to MH i2c: E2 08 00 E6 0D 80 13 01 00 00 00 00 00 70 [17:27:06]Write i2c OK [17:27:06]MH_I2C_Read... [17:27:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:27:06]Read from MH i2c: E2 [17:27:06]MH_I2C_Read... [17:27:06]Read from MH i2c: E2 0E 00 [17:27:06]MH_I2C_Read... [17:27:06]Read from MH i2c: E2 0E 00 E6 0D 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 27 [17:27:06]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [17:27:06]wFMCommunicate OK [17:27:06]SAM_PROTO_GetShiftState done [17:27:06]FM_GetShiftState done [17:27:06]opened in 1729987492 [17:27:06]opened+sec_in_day 1730073892 [17:27:06]quantity*price = 17500 [17:27:06]sum+1 = 17501 [17:27:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 175.00 НСП 1% : 1.55 НДС 12% : 18.58 Наличными: 175.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 56 27.10.2024 17:27 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37730 ФПД: 4979360496079 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T172709&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37730&fm=4979360496079&tin=02508201610067®Number=0000000000091684&sum=17500 0 [17:27:07]StoreToDocumentArchive [17:27:07]shift 550 fd 37730 [17:27:07]save to /storage/0550/doc_00037730 [17:27:07]save last doc name /storage/0550/doc_00037730 to /storage/kkm_last_doc_name [17:27:07]save OK [17:27:07]Clear old archive folders... [17:27:07]ProcessDocumentItem done err = 0, tmpTLVsize=302 [17:27:07]tlvbuf is 00226360 [17:27:07]SAM_PROTO_ClearQueue [17:27:07]wFMCommunicate request_size=4 [17:27:07]MH_SAM_APDU [17:27:07]CAPDU: 80 09 00 00 [17:27:07]Write to MH i2c: E2 08 00 F3 0D 80 09 00 00 00 00 00 00 72 [17:27:07]Write i2c OK [17:27:07]MH_I2C_Read... [17:27:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:27:07]Read from MH i2c: E2 [17:27:07]MH_I2C_Read... [17:27:07]Read from MH i2c: E2 03 00 [17:27:07]MH_I2C_Read... [17:27:07]Read from MH i2c: E2 03 00 F3 0D 00 90 00 74 [17:27:07]RAPDU: 90 00 [17:27:07]wFMCommunicate OK [17:27:07]SAM_PROTO_ClearQueue done [17:27:07]KKMCreateOFDPacket [17:27:07]OFDProtocolAddRootSTLVToBuf [17:27:07]FM_MakeSignedData [17:27:07]FM_MakeSignedData [17:27:07]SAM_PROTO_SignData [17:27:07]wFMCommunicate request_size=4 [17:27:07]MH_SAM_APDU [17:27:07]CAPDU: 80 0D 01 02 [17:27:07]Write to MH i2c: E2 08 00 F4 0D 80 0D 01 02 00 00 00 00 7A [17:27:07]Write i2c OK [17:27:07]MH_I2C_Read... [17:27:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:27:07]Read from MH i2c: E2 [17:27:07]MH_I2C_Read... [17:27:07]Read from MH i2c: E2 03 00 [17:27:07]MH_I2C_Read... [17:27:07]Read from MH i2c: E2 03 00 F4 0D 00 90 00 75 [17:27:07]RAPDU: 90 00 [17:27:07]wFMCommunicate OK [17:27:07]wFMCommunicate request_size=255 [17:27:07]MH_SAM_APDU [17:27:07]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 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 ED 77 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 [17:27:07]Write to MH i2c: E2 02 01 F5 0D 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 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 ED 77 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 00 00 51 [17:27:07]Write i2c OK [17:27:07]MH_I2C_Read... [17:27:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:27:07]Read from MH i2c: E2 [17:27:07]MH_I2C_Read... [17:27:07]Read from MH i2c: E2 03 00 [17:27:07]MH_I2C_Read... [17:27:07]Read from MH i2c: E2 03 00 F5 0D 00 90 00 76 [17:27:07]RAPDU: 90 00 [17:27:07]wFMCommunicate OK [17:27:07]wFMCommunicate request_size=61 [17:27:07]MH_SAM_APDU [17:27:07]CAPDU: 80 0D 02 02 38 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 62 93 00 00 35 04 06 00 04 87 59 03 79 CF [17:27:07]Write to MH i2c: E2 40 00 F6 0D 80 0D 02 02 38 00 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 62 93 00 00 35 04 06 00 04 87 59 03 79 CF 00 00 D6 [17:27:07]Write i2c OK [17:27:07]MH_I2C_Read... [17:27:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:27:07]Read from MH i2c: E2 [17:27:07]MH_I2C_Read... [17:27:07]Read from MH i2c: E2 03 00 [17:27:07]MH_I2C_Read... [17:27:07]Read from MH i2c: E2 03 00 F6 0D 00 90 00 77 [17:27:07]RAPDU: 90 00 [17:27:07]wFMCommunicate OK [17:27:07]wFMCommunicate request_size=4 [17:27:07]MH_SAM_APDU [17:27:07]CAPDU: 80 0D 03 02 [17:27:07]Write to MH i2c: E2 08 00 F7 0D 80 0D 03 02 00 00 00 00 7F [17:27:07]Write i2c OK [17:27:07]MH_I2C_Read... [17:27:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:27:07]Read from MH i2c: E2 [17:27:07]MH_I2C_Read... [17:27:07]Read from MH i2c: E2 0B 00 [17:27:07]MH_I2C_Read... [17:27:07]Read from MH i2c: E2 0B 00 F7 0D 00 C2 57 8D 9D 58 C5 BC 90 90 00 2C [17:27:07]RAPDU: C2 57 8D 9D 58 C5 BC 90 90 00 [17:27:07]wFMCommunicate OK [17:27:07]SAM_PROTO_SignData done [17:27:07]FM_MakeSignedData done [17:27:07]CreateOFDProtocolMessage [17:27:07]wFMCommunicate request_size=4 [17:27:07]MH_SAM_APDU [17:27:07]CAPDU: 80 11 00 00 [17:27:07]Write to MH i2c: E2 08 00 F8 0D 80 11 00 00 00 00 00 00 7F [17:27:07]Write i2c OK [17:27:07]MH_I2C_Read... [17:27:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:27:07]Read from MH i2c: E2 [17:27:07]MH_I2C_Read... [17:27:07]Read from MH i2c: E2 17 00 [17:27:07]MH_I2C_Read... [17:27:07]Read from MH i2c: E2 17 00 F8 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 CF [17:27:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:27:07]wFMCommunicate OK [17:27:07]CreateOFDProtocolMessage done [17:27:07]OFDSenderStorePacket 37730 [17:27:07]StoreOFDPacket docnum=37730 [17:27: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 42 01 00 00 40 49 3A 01 94 D3 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 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 ED 77 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 62 93 00 00 35 04 06 00 04 87 59 03 79 CF C2 57 8D 9D 58 C5 BC 90 [17:27:07]CheckFolder [17:27:07]dirname=/storage/ofd_packets [17:27:07]CheckFolder done [17:27:07]ProducePacketName [17:27:07]name=ofd_packets/00037730 [17:27:07]NVStorageSaveData ofd_packets/00037730 [17:27:07]File name is /storage/ofd_packets/00037730 [17:27:07]Write 352 bytes [17:27:07]NVStorageSaveData done [17:27:07]OFDSenderStorePacket done [17:27:07]KKMCreateOFDPacket done [17:27:07]NVStorageSaveData kkm_last_timestamp [17:27:07]File name is /storage/kkm_last_timestamp [17:27:07]Write 4 bytes [17:27:07]NVStorageSaveData done [17:27:07]ExternCall_PrintAddStr [17:27:07]wPrintStart [17:27:07]Write to MH i2c: 01 00 00 F9 0D 06 [17:27:07]Write i2c OK [17:27:07]MH_I2C_Read... [17:27:07]Read from MH i2c: 01 [17:27:07]MH_I2C_Read... [17:27:07]Read from MH i2c: 01 07 00 [17:27:07]MH_I2C_Read... [17:27:07]Read from MH i2c: 01 07 00 F9 0D 00 00 00 00 00 FF 0F 1B [17:27:07]RasterBufferAndPrint [17:27:07]line Счет N : (3)35028 [17:27:07]line ИНН: 02508201610067 [17:27:07]line Контрольно-Кассовый Чек [17:27:07]line ПРОДАЖА [17:27:07]line Товар: 5449000273673 [17:27:07]line Сок Piko Pulpy красный виноград ПЭТ 1л [17:27:07]line 1.000 * 175.00 [17:27:07]line = 175.00 [17:27:07]line НДС 12% НСП 1% [17:27:07]line > о реализуемом товаре [17:27:07]line ИТОГО: 175.00 [17:27:07]line НСП 1% : 1.55 [17:27:07]line НДС 12% : 18.58 [17:27:07]line Наличными: 175.00 [17:27:07]line Безнал.: 0.00 [17:27:07]line Место: АЗС № 126 "Партнер Нефть" [17:27:07]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [17:27:07]line СНО: Общий режим [17:27:07]line Чек 56 27.10.2024 17:27 [17:27:07]line Смена: 550 ФФД: 1.0 [17:27:07]line ЗНМ: 0300000092 [17:27:07]line РНМ: 0000000000091684 [17:27:07]line Версия ККМ: 001 [17:27:07]line ФМ: 0000000000871841 [17:27:07]line ФД: 37730 [17:27:07]line ФПД: 4979360496079 [17:27:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T172709&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37730&fm=4979360496079&tin=02508201610067®Number=0000000000091684&sum=17500 [17:27:08]line 0 [17:27:08]OFD Sender: Processing packet 37730 [packets to send 42, broken 41] [17:27:08]ProducePacketName [17:27:08]name=ofd_packets/00037730 [17:27:08]OFD Sender: To server: pG, [17:27:08]CommunicateWithHost lk.salyk.kg:30040 [17:27:08]ConnectInit lk.salyk.kg [17:27:08]written 0, free lines is 4095 [17:27:08]Connected sock=11 [17:27: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 42 01 00 00 40 49 3A 01 94 D3 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 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 ED 77 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 62 93 00 00 35 04 06 00 04 87 59 03 79 CF C2 57 8D 9D 58 C5 BC 90 [17:27:08]Write to MH i2c: 01 00 00 22 0E 30 [17:27:08]Write i2c OK [17:27:08]MH_I2C_Read... [17:27:08]Read from MH i2c: 01 [17:27:08]MH_I2C_Read... [17:27:08]Read from MH i2c: 01 07 00 [17:27:08]MH_I2C_Read... [17:27:08]Read from MH i2c: 01 07 00 22 0E 00 00 00 00 00 B1 0C F4 [17:27:08]RasterBufferAndPrint [17:27:08]line [17:27:08]line [17:27:08]line [17:27:08]line [17:27:08]line [17:27:08]written 0, free lines is 3252 [17:27:08]MH_Cut [17:27:08]Write to MH i2c: D1 01 00 29 0E 01 09 [17:27:08]Write i2c OK [17:27:08]MH_I2C_Read... [17:27:08]Read from MH i2c: D1 [17:27:08]MH_I2C_Read... [17:27:08]Read from MH i2c: D1 01 00 [17:27:08]MH_I2C_Read... [17:27:08]Read from MH i2c: D1 01 00 29 0E 00 08 [17:27:08]Write to MH i2c: 01 00 00 2A 0E 38 [17:27:08]Write i2c OK [17:27:08]MH_I2C_Read... [17:27: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 1E F0 47 00 1E 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 62 93 00 00 F4 03 04 00 E4 22 1E 67 B6 04 01 00 00 C8 39 2C 0F 55 EF 92 31 [17:27:08]CommunicateWithHost err = 0 [17:27:08]CheckOFDResponse [17:27:08]1017 (14) - 77093643461234 [17:27:08]1041 (16) - 0000000000871841 [17:27:08]1040 (4) - 37730 [17:27:08]1012 (4) - 27.10.2024 11:24 [17:27:08]1206 (1) - 0 [17:27:08]OFD Sender: Remove packet 37730 [17:27:08]ProducePacketName [17:27:08]name=ofd_packets/00037730 [17:27:08]NVStorageDeleteData [17:27:09]OFD Sender: No OFD packet to send [17:27:09]*** Cut start [17:27:09]*** Partial cut [17:27:09]*** CUTSNS_PIN = 1 [17:27:09]*** CUTSNS_PIN = 0 [17:27:09]*** Brake cut motor [17:27:10]Read from MH i2c: 01 [17:27:10]MH_I2C_Read... [17:27:10]*** Stop cut motor [17:27:10]*** Cut end [17:27:10]Read from MH i2c: 01 07 00 [17:27:10]MH_I2C_Read... [17:27:10]Read from MH i2c: 01 07 00 2A 0E 00 00 00 00 00 FF 0F 4D [17:27:10]process_action close_receipt done [17:27:10]requested_data is exist [17:27:10]produce_requested_data [17:27:10]requested_item fm.sn is exist - process it [17:27:10]wFMCommunicate request_size=4 [17:27:10]MH_SAM_APDU [17:27:10]CAPDU: 80 11 00 00 [17:27:10]Write to MH i2c: E2 08 00 2B 0E 80 11 00 00 00 00 00 00 B3 [17:27:10]Write i2c OK [17:27:10]MH_I2C_Read... [17:27:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:27:10]Read from MH i2c: E2 [17:27:10]MH_I2C_Read... [17:27:10]Read from MH i2c: E2 17 00 [17:27:10]MH_I2C_Read... [17:27:10]Read from MH i2c: E2 17 00 2B 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 03 [17:27: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:27:10]wFMCommunicate OK [17:27:10]requested_item fd.num is exist - process it [17:27:10]SAM_PROTO_GetFieldsCounters [17:27:10]wFMCommunicate request_size=4 [17:27:10]MH_SAM_APDU [17:27:10]CAPDU: 80 13 00 00 [17:27:10]Write to MH i2c: E2 08 00 2C 0E 80 13 00 00 00 00 00 00 B6 [17:27:10]Write i2c OK [17:27:10]MH_I2C_Read... [17:27:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:27:10]Read from MH i2c: E2 [17:27:10]MH_I2C_Read... [17:27:10]Read from MH i2c: E2 62 00 [17:27:10]MH_I2C_Read... [17:27:10]Read from MH i2c: E2 62 00 2C 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 62 93 00 00 0E 04 04 00 26 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 9C [17:27: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 62 93 00 00 0E 04 04 00 26 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:27:10]wFMCommunicate OK [17:27:10]SAM_PROTO_GetFieldsCounters done [17:27:10]requested_item shift.num is exist - process it [17:27:10]requested_item shift.opened is exist - process it [17:27:10]req_shift_opened [17:27:10]FM_GetShiftState [17:27:10]SAM_PROTO_GetShiftState [17:27:10]wFMCommunicate request_size=4 [17:27:10]MH_SAM_APDU [17:27:10]CAPDU: 80 13 01 00 [17:27:10]Write to MH i2c: E2 08 00 2D 0E 80 13 01 00 00 00 00 00 B8 [17:27:10]Write i2c OK [17:27:10]MH_I2C_Read... [17:27:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:27:10]Read from MH i2c: E2 [17:27:10]MH_I2C_Read... [17:27:10]Read from MH i2c: E2 0E 00 [17:27:10]MH_I2C_Read... [17:27:10]Read from MH i2c: E2 0E 00 2D 0E 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 6F [17:27:10]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [17:27:10]wFMCommunicate OK [17:27:10]SAM_PROTO_GetShiftState done [17:27:10]FM_GetShiftState done [17:27:10]req_shift_opened done [17:27:10]requested_item shift.open_date is exist - process it [17:27:10]req_shift_open_date [17:27:10]req_shift_open_date done [17:27:10]produce_requested_data done [17:27:10]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37730,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [17:27:10]process_action_free close_receipt [17:27:10]json_value_free [17:27:10]json_value_free done [17:27:10]process_json_proto returns [17:27:10]Send response to host [17:27:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37730,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [17:27:10]free response buf [17:27:10]execute_script done [17:27:10]execute_script returns [17:27:10]free content buf [17:27:10]Sock 7.Close socket [17:27:10]Sock 7.Thread stoped [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:17]accept exits with 9 [17:29:17]New connection [17:29:17]New thread 3067440484 created [17:29:17]Thread 3067297124 joined [17:29:17]Waiting for new connection... [17:29:17] Sock 9.Parse request [17:29:17]Sock 9.Check first char [17:29:17]Sock 9.First char is OK [17:29:17]request: POST /json_proto HTTP/1.0 [17:29:17]Method: POST [17:29:17]URL: /json_proto [17:29:17]Method is POST - this is cgi request [17:29:17]url: /json_proto [17:29:17]query_string will be loaded in cgi processing [17:29:17]execute_cgi json_proto POST (null) [17:29:17]execute_cgi path=json_proto method=POST [17:29:17]POST find Content-Length [17:29:17]Host: 172.17.40.196:8080 [17:29:17]Content-Length: 639 [17:29:17]Content-Type: application/json [17:29:17] [17:29:17]POST finish read [17:29:17]Found Content-Length = 639 [17:29:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35029", "tax_sys" : 0, "items" : [ { "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 199.00, "quantity" : 1.000, "sum" : 199.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 199.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:29:17]execute_script... [17:29: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)35029", "tax_sys" : 0, "items" : [ { "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 199.00, "quantity" : 1.000, "sum" : 199.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 199.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:29:17]POST & json_proto [17:29:17]process_json_proto [17:29:17]json parsed OK: [17:29:17]protocol is kg_v1.0 [17:29:17]action value=close_receipt [17:29:17]process_action close_receipt [17:29:17]cmd_close_receipt [17:29:17]MH_GetDate [17:29:17]Write to MH i2c: F0 00 00 2E 0E 2B [17:29:17]Write i2c OK [17:29:17]MH_I2C_Read... [17:29:17]Read from MH i2c: F0 [17:29:17]MH_I2C_Read... [17:29:17]Read from MH i2c: F0 09 00 [17:29:17]MH_I2C_Read... [17:29:17]Read from MH i2c: F0 09 00 2E 0E 00 70 78 1E 67 5B 68 A1 66 6B [17:29:17]GetLastDocTimeStamp 1730050029 [17:29:17]current date 1730050160 [17:29:17]FM_GetShiftState [17:29:17]SAM_PROTO_GetShiftState [17:29:17]wFMCommunicate request_size=4 [17:29:17]MH_SAM_APDU [17:29:17]CAPDU: 80 13 01 00 [17:29:17]Write to MH i2c: E2 08 00 2F 0E 80 13 01 00 00 00 00 00 BA [17:29:17]Write i2c OK [17:29:17]MH_I2C_Read... [17:29:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:29:17]Read from MH i2c: E2 [17:29:17]MH_I2C_Read... [17:29:17]Read from MH i2c: E2 0E 00 [17:29:17]MH_I2C_Read... [17:29:17]Read from MH i2c: E2 0E 00 2F 0E 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 71 [17:29:17]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [17:29:17]wFMCommunicate OK [17:29:17]SAM_PROTO_GetShiftState done [17:29:17]FM_GetShiftState done [17:29:17]opened in 1729987492 [17:29:17]opened+sec_in_day 1730073892 [17:29:17]quantity*price = 19900 [17:29:17]sum+1 = 19901 [17:29:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 199.00 НСП 1% : 1.76 НДС 12% : 21.13 Наличными: 199.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 57 27.10.2024 17:29 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37731 ФПД: 18824785119628 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T172920&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37731&fm=18824785119628&tin=02508201610067®Number=0000000000091684&sum=19900 0 [17:29:18]StoreToDocumentArchive [17:29:18]shift 550 fd 37731 [17:29:18]save to /storage/0550/doc_00037731 [17:29:18]save last doc name /storage/0550/doc_00037731 to /storage/kkm_last_doc_name [17:29:18]save OK [17:29:18]Clear old archive folders... [17:29:18]ProcessDocumentItem done err = 0, tmpTLVsize=272 [17:29:18]tlvbuf is 00225FE0 [17:29:18]SAM_PROTO_ClearQueue [17:29:18]wFMCommunicate request_size=4 [17:29:18]MH_SAM_APDU [17:29:18]CAPDU: 80 09 00 00 [17:29:18]Write to MH i2c: E2 08 00 3C 0E 80 09 00 00 00 00 00 00 BC [17:29:18]Write i2c OK [17:29:18]MH_I2C_Read... [17:29:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:29:18]Read from MH i2c: E2 [17:29:18]MH_I2C_Read... [17:29:18]Read from MH i2c: E2 03 00 [17:29:18]MH_I2C_Read... [17:29:18]Read from MH i2c: E2 03 00 3C 0E 00 90 00 BE [17:29:18]RAPDU: 90 00 [17:29:18]wFMCommunicate OK [17:29:18]SAM_PROTO_ClearQueue done [17:29:18]KKMCreateOFDPacket [17:29:18]OFDProtocolAddRootSTLVToBuf [17:29:18]FM_MakeSignedData [17:29:18]FM_MakeSignedData [17:29:18]SAM_PROTO_SignData [17:29:18]wFMCommunicate request_size=4 [17:29:18]MH_SAM_APDU [17:29:18]CAPDU: 80 0D 01 02 [17:29:18]Write to MH i2c: E2 08 00 3D 0E 80 0D 01 02 00 00 00 00 C4 [17:29:18]Write i2c OK [17:29:18]MH_I2C_Read... [17:29:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:29:18]Read from MH i2c: E2 [17:29:18]MH_I2C_Read... [17:29:18]Read from MH i2c: E2 03 00 [17:29:18]MH_I2C_Read... [17:29:18]Read from MH i2c: E2 03 00 3D 0E 00 90 00 BF [17:29:18]RAPDU: 90 00 [17:29:18]wFMCommunicate OK [17:29:18]wFMCommunicate request_size=255 [17:29:18]MH_SAM_APDU [17:29:18]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 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 BC 4D 00 00 00 00 13 04 06 00 BC 4D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 41 08 00 00 00 00 07 04 06 00 BC 4D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 70 78 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [17:29:18]Write to MH i2c: E2 02 01 3E 0E 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 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 BC 4D 00 00 00 00 13 04 06 00 BC 4D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 41 08 00 00 00 00 07 04 06 00 BC 4D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 70 78 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 1A [17:29:18]Write i2c OK [17:29:18]MH_I2C_Read... [17:29:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:29:18]Read from MH i2c: E2 [17:29:18]MH_I2C_Read... [17:29:18]Read from MH i2c: E2 03 00 [17:29:18]MH_I2C_Read... [17:29:18]Read from MH i2c: E2 03 00 3E 0E 00 90 00 C0 [17:29:18]RAPDU: 90 00 [17:29:18]wFMCommunicate OK [17:29:18]wFMCommunicate request_size=31 [17:29:18]MH_SAM_APDU [17:29:18]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 63 93 00 00 35 04 06 00 11 1E FC A1 49 8C [17:29:18]Write to MH i2c: E2 22 00 3F 0E 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 63 93 00 00 35 04 06 00 11 1E FC A1 49 8C 00 00 86 [17:29:18]Write i2c OK [17:29:18]MH_I2C_Read... [17:29:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:29:18]Read from MH i2c: E2 [17:29:18]MH_I2C_Read... [17:29:18]Read from MH i2c: E2 03 00 [17:29:18]MH_I2C_Read... [17:29:18]Read from MH i2c: E2 03 00 3F 0E 00 90 00 C1 [17:29:18]RAPDU: 90 00 [17:29:18]wFMCommunicate OK [17:29:18]wFMCommunicate request_size=4 [17:29:18]MH_SAM_APDU [17:29:18]CAPDU: 80 0D 03 02 [17:29:18]Write to MH i2c: E2 08 00 40 0E 80 0D 03 02 00 00 00 00 C9 [17:29:18]Write i2c OK [17:29:18]MH_I2C_Read... [17:29:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:29:18]Read from MH i2c: E2 [17:29:18]MH_I2C_Read... [17:29:18]Read from MH i2c: E2 0B 00 [17:29:18]MH_I2C_Read... [17:29:18]Read from MH i2c: E2 0B 00 40 0E 00 80 14 4B DF 39 5C 66 79 90 00 FC [17:29:18]RAPDU: 80 14 4B DF 39 5C 66 79 90 00 [17:29:18]wFMCommunicate OK [17:29:18]SAM_PROTO_SignData done [17:29:18]FM_MakeSignedData done [17:29:18]CreateOFDProtocolMessage [17:29:18]wFMCommunicate request_size=4 [17:29:18]MH_SAM_APDU [17:29:18]CAPDU: 80 11 00 00 [17:29:18]Write to MH i2c: E2 08 00 41 0E 80 11 00 00 00 00 00 00 C9 [17:29:18]Write i2c OK [17:29:18]MH_I2C_Read... [17:29:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:29:18]Read from MH i2c: E2 [17:29:18]MH_I2C_Read... [17:29:18]Read from MH i2c: E2 17 00 [17:29:18]MH_I2C_Read... [17:29:18]Read from MH i2c: E2 17 00 41 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 19 [17:29:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:29:18]wFMCommunicate OK [17:29:18]CreateOFDProtocolMessage done [17:29:18]OFDSenderStorePacket 37731 [17:29:18]StoreOFDPacket docnum=37731 [17:29:18]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 A4 BC 1C 01 51 5A 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 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 BC 4D 00 00 00 00 13 04 06 00 BC 4D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 41 08 00 00 00 00 07 04 06 00 BC 4D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 70 78 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 63 93 00 00 35 04 06 00 11 1E FC A1 49 8C 80 14 4B DF 39 5C 66 79 [17:29:18]CheckFolder [17:29:18]dirname=/storage/ofd_packets [17:29:18]CheckFolder done [17:29:18]ProducePacketName [17:29:18]name=ofd_packets/00037731 [17:29:18]NVStorageSaveData ofd_packets/00037731 [17:29:18]File name is /storage/ofd_packets/00037731 [17:29:18]Write 322 bytes [17:29:18]NVStorageSaveData done [17:29:18]OFDSenderStorePacket done [17:29:18]KKMCreateOFDPacket done [17:29:18]NVStorageSaveData kkm_last_timestamp [17:29:18]File name is /storage/kkm_last_timestamp [17:29:18]Write 4 bytes [17:29:18]NVStorageSaveData done [17:29:18]ExternCall_PrintAddStr [17:29:18]wPrintStart [17:29:18]Write to MH i2c: 01 00 00 42 0E 50 [17:29:18]Write i2c OK [17:29:18]MH_I2C_Read... [17:29:18]Read from MH i2c: 01 [17:29:18]MH_I2C_Read... [17:29:18]Read from MH i2c: 01 07 00 [17:29:18]MH_I2C_Read... [17:29:18]Read from MH i2c: 01 07 00 42 0E 00 00 00 00 00 FF 0F 65 [17:29:18]RasterBufferAndPrint [17:29:18]line Счет N : (3)35029 [17:29:18]line ИНН: 02508201610067 [17:29:18]line Контрольно-Кассовый Чек [17:29:18]line ПРОДАЖА [17:29:18]line Товар: 4700000480517 [17:29:18]line Пиво Живое 1л ПЭТ [17:29:18]line 1.000 * 199.00 [17:29:18]line = 199.00 [17:29:18]line НДС 12% НСП 1% [17:29:18]line > о реализуемом товаре [17:29:18]line ИТОГО: 199.00 [17:29:18]line НСП 1% : 1.76 [17:29:18]line НДС 12% : 21.13 [17:29:18]line Наличными: 199.00 [17:29:18]line Безнал.: 0.00 [17:29:18]line Место: АЗС № 126 "Партнер Нефть" [17:29:18]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [17:29:18]line СНО: Общий режим [17:29:18]line Чек 57 27.10.2024 17:29 [17:29:18]line Смена: 550 ФФД: 1.0 [17:29:18]line ЗНМ: 0300000092 [17:29:18]line РНМ: 0000000000091684 [17:29:18]line Версия ККМ: 001 [17:29:18]line ФМ: 0000000000871841 [17:29:18]line ФД: 37731 [17:29:18]line ФПД: 18824785119628 [17:29:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T172920&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37731&fm=18824785119628&tin=02508201610067®Number=0000000000091684&sum=19900 [17:29:19]OFD Sender: Processing packet 37731 [packets to send 42, broken 41] [17:29:19]ProducePacketName [17:29:19]name=ofd_packets/00037731 [17:29:19]OFD Sender: To server: pG, [17:29:19]CommunicateWithHost lk.salyk.kg:30040 [17:29:19]ConnectInit lk.salyk.kg [17:29:19]line 0 [17:29:19]written 0, free lines is 4095 [17:29:19]Connected sock=11 [17:29: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 24 01 00 00 A4 BC 1C 01 51 5A 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 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 BC 4D 00 00 00 00 13 04 06 00 BC 4D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 41 08 00 00 00 00 07 04 06 00 BC 4D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 70 78 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 63 93 00 00 35 04 06 00 11 1E FC A1 49 8C 80 14 4B DF 39 5C 66 79 [17:29:19]Write to MH i2c: 01 00 00 6A 0E 78 [17:29:19]Write i2c OK [17:29:19]MH_I2C_Read... [17:29:19]Read from MH i2c: 01 [17:29:19]MH_I2C_Read... [17:29:19]Read from MH i2c: 01 07 00 [17:29:19]MH_I2C_Read... [17:29:19]Read from MH i2c: 01 07 00 6A 0E 00 00 00 00 00 C5 0C 50 [17:29:19]RasterBufferAndPrint [17:29:19]line [17:29:19]line [17:29:19]line [17:29:19]line [17:29:19]line [17:29:19]written 0, free lines is 3272 [17:29:19]MH_Cut [17:29:19]Write to MH i2c: D1 01 00 71 0E 01 51 [17:29:19]Write i2c OK [17:29:19]MH_I2C_Read... [17:29:19]Read from MH i2c: D1 [17:29:19]MH_I2C_Read... [17:29:19]Read from MH i2c: D1 01 00 [17:29:19]MH_I2C_Read... [17:29:19]Read from MH i2c: D1 01 00 71 0E 00 50 [17:29:19]Write to MH i2c: 01 00 00 72 0E 80 [17:29:19]Write i2c OK [17:29:19]MH_I2C_Read... [17:29:19]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 75 83 47 00 11 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 63 93 00 00 F4 03 04 00 67 23 1E 67 B6 04 01 00 00 AF CC 76 D0 C5 CB 58 34 [17:29:19]CommunicateWithHost err = 0 [17:29:19]CheckOFDResponse [17:29:19]1017 (14) - 77093643461234 [17:29:19]1041 (16) - 0000000000871841 [17:29:19]1040 (4) - 37731 [17:29:19]1012 (4) - 27.10.2024 11:26 [17:29:19]1206 (1) - 0 [17:29:19]OFD Sender: Remove packet 37731 [17:29:19]ProducePacketName [17:29:19]name=ofd_packets/00037731 [17:29:19]NVStorageDeleteData [17:29:20]OFD Sender: No OFD packet to send [17:29:20]*** Cut start [17:29:20]*** Partial cut [17:29:20]*** CUTSNS_PIN = 1 [17:29:20]*** CUTSNS_PIN = 0 [17:29:20]*** Brake cut motor [17:29:21]Read from MH i2c: 01 [17:29:21]MH_I2C_Read... [17:29:21]*** Stop cut motor [17:29:21]*** Cut end [17:29:21]Read from MH i2c: 01 07 00 [17:29:21]MH_I2C_Read... [17:29:21]Read from MH i2c: 01 07 00 72 0E 00 00 00 00 00 FF 0F 95 [17:29:21]process_action close_receipt done [17:29:21]requested_data is exist [17:29:21]produce_requested_data [17:29:21]requested_item fm.sn is exist - process it [17:29:21]wFMCommunicate request_size=4 [17:29:21]MH_SAM_APDU [17:29:21]CAPDU: 80 11 00 00 [17:29:21]Write to MH i2c: E2 08 00 73 0E 80 11 00 00 00 00 00 00 FB [17:29:21]Write i2c OK [17:29:21]MH_I2C_Read... [17:29:21]Read from MH i2c: E2 [17:29:21]MH_I2C_Read... [17:29:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:29:21]Read from MH i2c: E2 17 00 [17:29:21]MH_I2C_Read... [17:29:21]Read from MH i2c: E2 17 00 73 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 4B [17:29:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:29:21]wFMCommunicate OK [17:29:21]requested_item fd.num is exist - process it [17:29:21]SAM_PROTO_GetFieldsCounters [17:29:21]wFMCommunicate request_size=4 [17:29:21]MH_SAM_APDU [17:29:21]CAPDU: 80 13 00 00 [17:29:21]Write to MH i2c: E2 08 00 74 0E 80 13 00 00 00 00 00 00 FE [17:29:21]Write i2c OK [17:29:21]MH_I2C_Read... [17:29:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:29:21]Read from MH i2c: E2 [17:29:21]MH_I2C_Read... [17:29:21]Read from MH i2c: E2 62 00 [17:29:21]MH_I2C_Read... [17:29:21]Read from MH i2c: E2 62 00 74 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 63 93 00 00 0E 04 04 00 26 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 E8 [17:29: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 63 93 00 00 0E 04 04 00 26 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 [17:29:21]wFMCommunicate OK [17:29:21]SAM_PROTO_GetFieldsCounters done [17:29:21]requested_item shift.num is exist - process it [17:29:21]requested_item shift.opened is exist - process it [17:29:21]req_shift_opened [17:29:21]FM_GetShiftState [17:29:21]SAM_PROTO_GetShiftState [17:29:21]wFMCommunicate request_size=4 [17:29:21]MH_SAM_APDU [17:29:21]CAPDU: 80 13 01 00 [17:29:21]Write to MH i2c: E2 08 00 75 0E 80 13 01 00 00 00 00 00 00 [17:29:21]Write i2c OK [17:29:21]MH_I2C_Read... [17:29:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:29:21]Read from MH i2c: E2 [17:29:21]MH_I2C_Read... [17:29:21]Read from MH i2c: E2 0E 00 [17:29:21]MH_I2C_Read... [17:29:21]Read from MH i2c: E2 0E 00 75 0E 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 B7 [17:29:21]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [17:29:21]wFMCommunicate OK [17:29:21]SAM_PROTO_GetShiftState done [17:29:21]FM_GetShiftState done [17:29:21]req_shift_opened done [17:29:21]requested_item shift.open_date is exist - process it [17:29:21]req_shift_open_date [17:29:21]req_shift_open_date done [17:29:21]produce_requested_data done [17:29:21]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37731,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [17:29:21]process_action_free close_receipt [17:29:21]json_value_free [17:29:21]json_value_free done [17:29:21]process_json_proto returns [17:29:21]Send response to host [17:29:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37731,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [17:29:21]free response buf [17:29:21]execute_script done [17:29:21]execute_script returns [17:29:21]free content buf [17:29:21]Sock 9.Close socket [17:29:21]Sock 9.Thread stoped [17:29:25]OFD Sender: No OFD packet to send [17:29:30]OFD Sender: No OFD packet to send [17:29:35]OFD Sender: No OFD packet to send [17:29:40]OFD Sender: No OFD packet to send [17:29:45]OFD Sender: No OFD packet to send [17:29:50]OFD Sender: No OFD packet to send [17:29:55]OFD Sender: No OFD packet to send [17:30:00]OFD Sender: No OFD packet to send [17:30:05]OFD Sender: No OFD packet to send [17:30:10]OFD Sender: No OFD packet to send [17:30:15]OFD Sender: No OFD packet to send [17:30:20]OFD Sender: No OFD packet to send [17:30:25]OFD Sender: No OFD packet to send [17:30:30]OFD Sender: No OFD packet to send [17:30:35]OFD Sender: No OFD packet to send [17:30:40]OFD Sender: No OFD packet to send [17:30:45]OFD Sender: No OFD packet to send [17:30:50]OFD Sender: No OFD packet to send [17:30:55]OFD Sender: No OFD packet to send [17:31:00]OFD Sender: No OFD packet to send [17:31:05]OFD Sender: No OFD packet to send [17:31:10]OFD Sender: No OFD packet to send [17:31:15]OFD Sender: No OFD packet to send [17:31:20]OFD Sender: No OFD packet to send [17:31:25]OFD Sender: No OFD packet to send [17:31:30]OFD Sender: No OFD packet to send [17:31:35]OFD Sender: No OFD packet to send [17:31:40]OFD Sender: No OFD packet to send [17:31:45]OFD Sender: No OFD packet to send [17:31:50]OFD Sender: No OFD packet to send [17:31:55]OFD Sender: No OFD packet to send [17:32:00]OFD Sender: No OFD packet to send [17:32:05]OFD Sender: No OFD packet to send [17:32:10]OFD Sender: No OFD packet to send [17:32:13]accept exits with 7 [17:32:13]New connection [17:32:13]New thread 3067297124 created [17:32:13]Thread 3067440484 joined [17:32:13]Waiting for new connection... [17:32:13] Sock 7.Parse request [17:32:13]Sock 7.Check first char [17:32:13]Sock 7.First char is OK [17:32:13]request: POST /json_proto HTTP/1.0 [17:32:13]Method: POST [17:32:13]URL: /json_proto [17:32:13]Method is POST - this is cgi request [17:32:13]url: /json_proto [17:32:13]query_string will be loaded in cgi processing [17:32:13]execute_cgi json_proto POST (null) [17:32:13]execute_cgi path=json_proto method=POST [17:32:13]POST find Content-Length [17:32:13]Host: 172.17.40.196:8080 [17:32:13]Content-Length: 640 [17:32:13]Content-Type: application/json [17:32:13] [17:32:13]POST finish read [17:32:13]Found Content-Length = 640 [17:32:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35030", "tax_sys" : 0, "items" : [ { "code": "4700001060169", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0411\u0438\u0448\u043A\u0435\u043A 0,2\u043B", "price" : 330.00, "quantity" : 1.000, "sum" : 330.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 330.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:32:13]execute_script... [17:32: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)35030", "tax_sys" : 0, "items" : [ { "code": "4700001060169", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0411\u0438\u0448\u043A\u0435\u043A 0,2\u043B", "price" : 330.00, "quantity" : 1.000, "sum" : 330.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 330.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:32:13]POST & json_proto [17:32:13]process_json_proto [17:32:13]json parsed OK: [17:32:13]protocol is kg_v1.0 [17:32:13]action value=close_receipt [17:32:13]process_action close_receipt [17:32:13]cmd_close_receipt [17:32:13]MH_GetDate [17:32:13]Write to MH i2c: F0 00 00 76 0E 73 [17:32:13]Write i2c OK [17:32:13]MH_I2C_Read... [17:32:13]Read from MH i2c: F0 [17:32:13]MH_I2C_Read... [17:32:13]Read from MH i2c: F0 09 00 [17:32:13]MH_I2C_Read... [17:32:13]Read from MH i2c: F0 09 00 76 0E 00 21 79 1E 67 5B 68 A1 66 65 [17:32:13]GetLastDocTimeStamp 1730050160 [17:32:13]current date 1730050337 [17:32:13]FM_GetShiftState [17:32:13]SAM_PROTO_GetShiftState [17:32:13]wFMCommunicate request_size=4 [17:32:13]MH_SAM_APDU [17:32:13]CAPDU: 80 13 01 00 [17:32:13]Write to MH i2c: E2 08 00 77 0E 80 13 01 00 00 00 00 00 02 [17:32:13]Write i2c OK [17:32:13]MH_I2C_Read... [17:32:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:32:13]Read from MH i2c: E2 [17:32:13]MH_I2C_Read... [17:32:13]Read from MH i2c: E2 0E 00 [17:32:13]MH_I2C_Read... [17:32:13]Read from MH i2c: E2 0E 00 77 0E 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 B9 [17:32:13]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [17:32:13]wFMCommunicate OK [17:32:13]SAM_PROTO_GetShiftState done [17:32:13]FM_GetShiftState done [17:32:13]opened in 1729987492 [17:32:13]opened+sec_in_day 1730073892 [17:32:13]quantity*price = 33000 [17:32:13]sum+1 = 33001 [17:32:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 330.00 НСП 1% : 2.92 НДС 12% : 35.04 Наличными: 330.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 58 27.10.2024 17:32 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37732 ФПД: 133229542002744 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T173217&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37732&fm=133229542002744&tin=02508201610067®Number=0000000000091684&sum=33000 0 [17:32:15]StoreToDocumentArchive [17:32:15]shift 550 fd 37732 [17:32:15]save to /storage/0550/doc_00037732 [17:32:15]save last doc name /storage/0550/doc_00037732 to /storage/kkm_last_doc_name [17:32:15]save OK [17:32:15]Clear old archive folders... [17:32:15]ProcessDocumentItem done err = 0, tmpTLVsize=273 [17:32:15]tlvbuf is B6F1FD70 [17:32:15]SAM_PROTO_ClearQueue [17:32:15]wFMCommunicate request_size=4 [17:32:15]MH_SAM_APDU [17:32:15]CAPDU: 80 09 00 00 [17:32:15]Write to MH i2c: E2 08 00 84 0E 80 09 00 00 00 00 00 00 04 [17:32:15]Write i2c OK [17:32:15]MH_I2C_Read... [17:32:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:32:15]Read from MH i2c: E2 [17:32:15]MH_I2C_Read... [17:32:15]Read from MH i2c: E2 03 00 [17:32:15]MH_I2C_Read... [17:32:15]Read from MH i2c: E2 03 00 84 0E 00 90 00 06 [17:32:15]RAPDU: 90 00 [17:32:15]wFMCommunicate OK [17:32:15]SAM_PROTO_ClearQueue done [17:32:15]KKMCreateOFDPacket [17:32:15]OFDProtocolAddRootSTLVToBuf [17:32:15]FM_MakeSignedData [17:32:15]FM_MakeSignedData [17:32:15]SAM_PROTO_SignData [17:32:15]wFMCommunicate request_size=4 [17:32:15]MH_SAM_APDU [17:32:15]CAPDU: 80 0D 01 02 [17:32:15]Write to MH i2c: E2 08 00 85 0E 80 0D 01 02 00 00 00 00 0C [17:32:15]Write i2c OK [17:32:15]MH_I2C_Read... [17:32:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:32:15]Read from MH i2c: E2 [17:32:15]MH_I2C_Read... [17:32:15]Read from MH i2c: E2 03 00 [17:32:15]MH_I2C_Read... [17:32:15]Read from MH i2c: E2 03 00 85 0E 00 90 00 07 [17:32:15]RAPDU: 90 00 [17:32:15]wFMCommunicate OK [17:32:15]wFMCommunicate request_size=255 [17:32:15]MH_SAM_APDU [17:32:15]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 36 39 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 80 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 0D 00 00 00 00 07 04 06 00 E8 80 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 21 79 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [17:32:15]Write to MH i2c: E2 02 01 86 0E 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 36 39 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 80 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 0D 00 00 00 00 07 04 06 00 E8 80 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 21 79 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 47 [17:32:15]Write i2c OK [17:32:15]MH_I2C_Read... [17:32:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:32:15]Read from MH i2c: E2 [17:32:15]MH_I2C_Read... [17:32:15]Read from MH i2c: E2 03 00 [17:32:15]MH_I2C_Read... [17:32:15]Read from MH i2c: E2 03 00 86 0E 00 90 00 08 [17:32:15]RAPDU: 90 00 [17:32:15]wFMCommunicate OK [17:32:15]wFMCommunicate request_size=32 [17:32:15]MH_SAM_APDU [17:32:15]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 64 93 00 00 35 04 06 00 79 2B EB 86 50 38 [17:32:15]Write to MH i2c: E2 23 00 87 0E 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 64 93 00 00 35 04 06 00 79 2B EB 86 50 38 00 00 FD [17:32:15]Write i2c OK [17:32:15]MH_I2C_Read... [17:32:15]OFD Sender: No OFD packet to send [17:32:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:32:15]Read from MH i2c: E2 [17:32:15]MH_I2C_Read... [17:32:15]Read from MH i2c: E2 03 00 [17:32:15]MH_I2C_Read... [17:32:15]Read from MH i2c: E2 03 00 87 0E 00 90 00 09 [17:32:15]RAPDU: 90 00 [17:32:15]wFMCommunicate OK [17:32:15]wFMCommunicate request_size=4 [17:32:15]MH_SAM_APDU [17:32:15]CAPDU: 80 0D 03 02 [17:32:15]Write to MH i2c: E2 08 00 88 0E 80 0D 03 02 00 00 00 00 11 [17:32:15]Write i2c OK [17:32:15]MH_I2C_Read... [17:32:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:32:15]Read from MH i2c: E2 [17:32:15]MH_I2C_Read... [17:32:15]Read from MH i2c: E2 0B 00 [17:32:15]MH_I2C_Read... [17:32:15]Read from MH i2c: E2 0B 00 88 0E 00 6C EF CB 9C E3 91 03 2C 90 00 77 [17:32:15]RAPDU: 6C EF CB 9C E3 91 03 2C 90 00 [17:32:15]wFMCommunicate OK [17:32:15]SAM_PROTO_SignData done [17:32:15]FM_MakeSignedData done [17:32:15]CreateOFDProtocolMessage [17:32:15]wFMCommunicate request_size=4 [17:32:15]MH_SAM_APDU [17:32:15]CAPDU: 80 11 00 00 [17:32:15]Write to MH i2c: E2 08 00 89 0E 80 11 00 00 00 00 00 00 11 [17:32:15]Write i2c OK [17:32:15]MH_I2C_Read... [17:32:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:32:15]Read from MH i2c: E2 [17:32:15]MH_I2C_Read... [17:32:15]Read from MH i2c: E2 17 00 [17:32:15]MH_I2C_Read... [17:32:15]Read from MH i2c: E2 17 00 89 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 61 [17:32: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:32:15]wFMCommunicate OK [17:32:15]CreateOFDProtocolMessage done [17:32:15]OFDSenderStorePacket 37732 [17:32:15]StoreOFDPacket docnum=37732 [17:32: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 25 01 00 00 EF 63 1D 01 D6 43 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 36 39 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 80 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 0D 00 00 00 00 07 04 06 00 E8 80 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 21 79 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 64 93 00 00 35 04 06 00 79 2B EB 86 50 38 6C EF CB 9C E3 91 03 2C [17:32:15]CheckFolder [17:32:15]dirname=/storage/ofd_packets [17:32:15]CheckFolder done [17:32:15]ProducePacketName [17:32:15]name=ofd_packets/00037732 [17:32:15]NVStorageSaveData ofd_packets/00037732 [17:32:15]File name is /storage/ofd_packets/00037732 [17:32:15]Write 323 bytes [17:32:15]NVStorageSaveData done [17:32:15]OFDSenderStorePacket done [17:32:15]KKMCreateOFDPacket done [17:32:15]NVStorageSaveData kkm_last_timestamp [17:32:15]File name is /storage/kkm_last_timestamp [17:32:15]Write 4 bytes [17:32:15]NVStorageSaveData done [17:32:15]ExternCall_PrintAddStr [17:32:15]wPrintStart [17:32:15]Write to MH i2c: 01 00 00 8A 0E 98 [17:32:15]Write i2c OK [17:32:15]MH_I2C_Read... [17:32:15]Read from MH i2c: 01 [17:32:15]MH_I2C_Read... [17:32:15]Read from MH i2c: 01 07 00 [17:32:15]MH_I2C_Read... [17:32:15]Read from MH i2c: 01 07 00 8A 0E 00 00 00 00 00 FF 0F AD [17:32:15]RasterBufferAndPrint [17:32:15]line Счет N : (3)35030 [17:32:15]line ИНН: 02508201610067 [17:32:15]line Контрольно-Кассовый Чек [17:32:15]line ПРОДАЖА [17:32:15]line Товар: 4700001060169 [17:32:15]line Коньяк Бишкек 0,2л [17:32:15]line 1.000 * 330.00 [17:32:15]line = 330.00 [17:32:15]line НДС 12% НСП 1% [17:32:15]line > о реализуемом товаре [17:32:15]line ИТОГО: 330.00 [17:32:15]line НСП 1% : 2.92 [17:32:15]line НДС 12% : 35.04 [17:32:15]line Наличными: 330.00 [17:32:15]line Безнал.: 0.00 [17:32:15]line Место: АЗС № 126 "Партнер Нефть" [17:32:15]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [17:32:15]line СНО: Общий режим [17:32:15]line Чек 58 27.10.2024 17:32 [17:32:15]line Смена: 550 ФФД: 1.0 [17:32:15]line ЗНМ: 0300000092 [17:32:15]line РНМ: 0000000000091684 [17:32:15]line Версия ККМ: 001 [17:32:15]line ФМ: 0000000000871841 [17:32:15]line ФД: 37732 [17:32:15]line ФПД: 133229542002744 [17:32:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T173217&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37732&fm=133229542002744&tin=02508201610067®Number=0000000000091684&sum=33000 [17:32:15]OFD Sender: Processing packet 37732 [packets to send 42, broken 41] [17:32:15]ProducePacketName [17:32:15]name=ofd_packets/00037732 [17:32:15]OFD Sender: To server: pG, [17:32:15]CommunicateWithHost lk.salyk.kg:30040 [17:32:15]ConnectInit lk.salyk.kg [17:32:15]line 0 [17:32:15]written 0, free lines is 4095 [17:32:16]Connected sock=10 [17:32: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 25 01 00 00 EF 63 1D 01 D6 43 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 36 39 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 80 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B0 0D 00 00 00 00 07 04 06 00 E8 80 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 21 79 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 64 93 00 00 35 04 06 00 79 2B EB 86 50 38 6C EF CB 9C E3 91 03 2C [17:32:16]Write to MH i2c: 01 00 00 B2 0E C0 [17:32:16]Write i2c OK [17:32:16]MH_I2C_Read... [17:32:16]Read from MH i2c: 01 [17:32:16]MH_I2C_Read... [17:32:16]Read from MH i2c: 01 07 00 [17:32:16]MH_I2C_Read... [17:32:16]Read from MH i2c: 01 07 00 B2 0E 00 00 00 00 00 D9 0C AC [17:32:16]RasterBufferAndPrint [17:32:16]line [17:32:16]line [17:32:16]line [17:32:16]line [17:32:16]line [17:32:16]written 0, free lines is 3295 [17:32:16]MH_Cut [17:32:16]Write to MH i2c: D1 01 00 B9 0E 01 99 [17:32:16]Write i2c OK [17:32:16]MH_I2C_Read... [17:32:16]Read from MH i2c: D1 [17:32:16]MH_I2C_Read... [17:32:16]Read from MH i2c: D1 01 00 [17:32:16]MH_I2C_Read... [17:32:16]Read from MH i2c: D1 01 00 B9 0E 00 98 [17:32:16]Write to MH i2c: 01 00 00 BA 0E C8 [17:32:16]Write i2c OK [17:32:16]MH_I2C_Read... [17:32: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 17 BB 47 00 15 4A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 64 93 00 00 F4 03 04 00 18 24 1E 67 B6 04 01 00 00 35 58 09 67 C8 16 01 40 [17:32:16]CommunicateWithHost err = 0 [17:32:16]CheckOFDResponse [17:32:16]1017 (14) - 77093643461234 [17:32:16]1041 (16) - 0000000000871841 [17:32:16]1040 (4) - 37732 [17:32:16]1012 (4) - 27.10.2024 11:29 [17:32:16]1206 (1) - 0 [17:32:16]OFD Sender: Remove packet 37732 [17:32:16]ProducePacketName [17:32:16]name=ofd_packets/00037732 [17:32:16]NVStorageDeleteData [17:32:17]OFD Sender: No OFD packet to send [17:32:17]*** Cut start [17:32:17]*** Partial cut [17:32:17]*** CUTSNS_PIN = 1 [17:32:17]*** CUTSNS_PIN = 0 [17:32:17]*** Brake cut motor [17:32:17]Read from MH i2c: 01 [17:32:17]MH_I2C_Read... [17:32:17]*** Stop cut motor [17:32:17]*** Cut end [17:32:17]Read from MH i2c: 01 07 00 [17:32:17]MH_I2C_Read... [17:32:17]Read from MH i2c: 01 07 00 BA 0E 00 00 00 00 00 FF 0F DD [17:32:17]process_action close_receipt done [17:32:17]requested_data is exist [17:32:17]produce_requested_data [17:32:17]requested_item fm.sn is exist - process it [17:32:17]wFMCommunicate request_size=4 [17:32:17]MH_SAM_APDU [17:32:17]CAPDU: 80 11 00 00 [17:32:17]Write to MH i2c: E2 08 00 BB 0E 80 11 00 00 00 00 00 00 43 [17:32:17]Write i2c OK [17:32:17]MH_I2C_Read... [17:32:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:32:17]Read from MH i2c: E2 [17:32:17]MH_I2C_Read... [17:32:17]Read from MH i2c: E2 17 00 [17:32:17]MH_I2C_Read... [17:32:17]Read from MH i2c: E2 17 00 BB 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 93 [17:32:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:32:17]wFMCommunicate OK [17:32:17]requested_item fd.num is exist - process it [17:32:17]SAM_PROTO_GetFieldsCounters [17:32:17]wFMCommunicate request_size=4 [17:32:17]MH_SAM_APDU [17:32:17]CAPDU: 80 13 00 00 [17:32:17]Write to MH i2c: E2 08 00 BC 0E 80 13 00 00 00 00 00 00 46 [17:32:17]Write i2c OK [17:32:17]MH_I2C_Read... [17:32:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:32:18]Read from MH i2c: E2 [17:32:18]MH_I2C_Read... [17:32:18]Read from MH i2c: E2 62 00 [17:32:18]MH_I2C_Read... [17:32:18]Read from MH i2c: E2 62 00 BC 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 64 93 00 00 0E 04 04 00 26 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 34 [17:32: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 64 93 00 00 0E 04 04 00 26 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 [17:32:18]wFMCommunicate OK [17:32:18]SAM_PROTO_GetFieldsCounters done [17:32:18]requested_item shift.num is exist - process it [17:32:18]requested_item shift.opened is exist - process it [17:32:18]req_shift_opened [17:32:18]FM_GetShiftState [17:32:18]SAM_PROTO_GetShiftState [17:32:18]wFMCommunicate request_size=4 [17:32:18]MH_SAM_APDU [17:32:18]CAPDU: 80 13 01 00 [17:32:18]Write to MH i2c: E2 08 00 BD 0E 80 13 01 00 00 00 00 00 48 [17:32:18]Write i2c OK [17:32:18]MH_I2C_Read... [17:32:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:32:18]Read from MH i2c: E2 [17:32:18]MH_I2C_Read... [17:32:18]Read from MH i2c: E2 0E 00 [17:32:18]MH_I2C_Read... [17:32:18]Read from MH i2c: E2 0E 00 BD 0E 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 FF [17:32:18]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [17:32:18]wFMCommunicate OK [17:32:18]SAM_PROTO_GetShiftState done [17:32:18]FM_GetShiftState done [17:32:18]req_shift_opened done [17:32:18]requested_item shift.open_date is exist - process it [17:32:18]req_shift_open_date [17:32:18]req_shift_open_date done [17:32:18]produce_requested_data done [17:32:18]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37732,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [17:32:18]process_action_free close_receipt [17:32:18]json_value_free [17:32:18]json_value_free done [17:32:18]process_json_proto returns [17:32:18]Send response to host [17:32:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37732,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [17:32:18]free response buf [17:32:18]execute_script done [17:32:18]execute_script returns [17:32:18]free content buf [17:32:18]Sock 7.Close socket [17:32:18]Sock 7.Thread stoped [17:32:22]OFD Sender: No OFD packet to send [17:32:27]OFD Sender: No OFD packet to send [17:32:32]OFD Sender: No OFD packet to send [17:32:37]OFD Sender: No OFD packet to send [17:32:42]OFD Sender: No OFD packet to send [17:32:47]OFD Sender: No OFD packet to send [17:32:52]OFD Sender: No OFD packet to send [17:32:55]accept exits with 9 [17:32:55]New connection [17:32:55]New thread 3067440484 created [17:32:55]Thread 3067297124 joined [17:32:55]Waiting for new connection... [17:32:55] Sock 9.Parse request [17:32:55]Sock 9.Check first char [17:32:55]Sock 9.First char is OK [17:32:55]request: POST /json_proto HTTP/1.0 [17:32:55]Method: POST [17:32:55]URL: /json_proto [17:32:55]Method is POST - this is cgi request [17:32:55]url: /json_proto [17:32:55]query_string will be loaded in cgi processing [17:32:55]execute_cgi json_proto POST (null) [17:32:55]execute_cgi path=json_proto method=POST [17:32:55]POST find Content-Length [17:32:55]Host: 172.17.40.196:8080 [17:32:55]Content-Length: 569 [17:32:55]Content-Type: application/json [17:32:55] [17:32:55]POST finish read [17:32:55]Found Content-Length = 569 [17:32:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35031", "tax_sys" : 0, "items" : [ { "code": "48744546", "name": "LD Compact Silver", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:32:55]execute_script... [17:32: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)35031", "tax_sys" : 0, "items" : [ { "code": "48744546", "name": "LD Compact Silver", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:32:55]POST & json_proto [17:32:55]process_json_proto [17:32:55]json parsed OK: [17:32:55]protocol is kg_v1.0 [17:32:55]action value=close_receipt [17:32:55]process_action close_receipt [17:32:55]cmd_close_receipt [17:32:55]MH_GetDate [17:32:55]Write to MH i2c: F0 00 00 BE 0E BB [17:32:55]Write i2c OK [17:32:55]MH_I2C_Read... [17:32:55]Read from MH i2c: F0 [17:32:55]MH_I2C_Read... [17:32:55]Read from MH i2c: F0 09 00 [17:32:55]MH_I2C_Read... [17:32:55]Read from MH i2c: F0 09 00 BE 0E 00 4B 79 1E 67 5B 68 A1 66 D7 [17:32:55]GetLastDocTimeStamp 1730050337 [17:32:55]current date 1730050379 [17:32:55]FM_GetShiftState [17:32:55]SAM_PROTO_GetShiftState [17:32:55]wFMCommunicate request_size=4 [17:32:55]MH_SAM_APDU [17:32:55]CAPDU: 80 13 01 00 [17:32:55]Write to MH i2c: E2 08 00 BF 0E 80 13 01 00 00 00 00 00 4A [17:32:55]Write i2c OK [17:32:55]MH_I2C_Read... [17:32:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:32:55]Read from MH i2c: E2 [17:32:55]MH_I2C_Read... [17:32:55]Read from MH i2c: E2 0E 00 [17:32:55]MH_I2C_Read... [17:32:55]Read from MH i2c: E2 0E 00 BF 0E 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 01 [17:32:55]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [17:32:55]wFMCommunicate OK [17:32:55]SAM_PROTO_GetShiftState done [17:32:55]FM_GetShiftState done [17:32:55]opened in 1729987492 [17:32:55]opened+sec_in_day 1730073892 [17:32:55]quantity*price = 13400 [17:32:55]sum+1 = 13401 [17:32:55]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 27.10.2024 17:32 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37733 ФПД: 79152949691916 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T173259&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37733&fm=79152949691916&tin=02508201610067®Number=0000000000091684&sum=13400 0 [17:32:57]StoreToDocumentArchive [17:32:57]shift 550 fd 37733 [17:32:57]save to /storage/0550/doc_00037733 [17:32:57]save last doc name /storage/0550/doc_00037733 to /storage/kkm_last_doc_name [17:32:57]save OK [17:32:57]Clear old archive folders... [17:32:57]ProcessDocumentItem done err = 0, tmpTLVsize=254 [17:32:57]tlvbuf is 002855D0 [17:32:57]SAM_PROTO_ClearQueue [17:32:57]wFMCommunicate request_size=4 [17:32:57]MH_SAM_APDU [17:32:57]CAPDU: 80 09 00 00 [17:32:57]Write to MH i2c: E2 08 00 CC 0E 80 09 00 00 00 00 00 00 4C [17:32:57]Write i2c OK [17:32:57]MH_I2C_Read... [17:32:57]OFD Sender: No OFD packet to send [17:32:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:32:57]Read from MH i2c: E2 [17:32:57]MH_I2C_Read... [17:32:57]Read from MH i2c: E2 03 00 [17:32:57]MH_I2C_Read... [17:32:57]Read from MH i2c: E2 03 00 CC 0E 00 90 00 4E [17:32:57]RAPDU: 90 00 [17:32:57]wFMCommunicate OK [17:32:57]SAM_PROTO_ClearQueue done [17:32:57]KKMCreateOFDPacket [17:32:57]OFDProtocolAddRootSTLVToBuf [17:32:57]FM_MakeSignedData [17:32:57]FM_MakeSignedData [17:32:57]SAM_PROTO_SignData [17:32:57]wFMCommunicate request_size=4 [17:32:57]MH_SAM_APDU [17:32:57]CAPDU: 80 0D 01 02 [17:32:57]Write to MH i2c: E2 08 00 CD 0E 80 0D 01 02 00 00 00 00 54 [17:32:57]Write i2c OK [17:32:57]MH_I2C_Read... [17:32:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:32:57]Read from MH i2c: E2 [17:32:57]MH_I2C_Read... [17:32:57]Read from MH i2c: E2 03 00 [17:32:57]MH_I2C_Read... [17:32:57]Read from MH i2c: E2 03 00 CD 0E 00 90 00 4F [17:32:57]RAPDU: 90 00 [17:32:57]wFMCommunicate OK [17:32:57]wFMCommunicate request_size=255 [17:32:57]MH_SAM_APDU [17:32:57]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 4B 79 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 65 93 00 00 35 04 [17:32:57]Write to MH i2c: E2 02 01 CE 0E 80 0D 02 02 FA 00 03 00 FE 00 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 4B 79 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 65 93 00 00 35 04 00 00 73 [17:32:57]Write i2c OK [17:32:57]MH_I2C_Read... [17:32:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:32:57]Read from MH i2c: E2 [17:32:57]MH_I2C_Read... [17:32:57]Read from MH i2c: E2 03 00 [17:32:57]MH_I2C_Read... [17:32:57]Read from MH i2c: E2 03 00 CE 0E 00 90 00 50 [17:32:57]RAPDU: 90 00 [17:32:57]wFMCommunicate OK [17:32:57]wFMCommunicate request_size=13 [17:32:57]MH_SAM_APDU [17:32:57]CAPDU: 80 0D 02 02 08 06 00 47 FD 3B 73 06 0C [17:32:57]Write to MH i2c: E2 10 00 CF 0E 80 0D 02 02 08 00 06 00 47 FD 3B 73 06 0C 00 00 71 [17:32:57]Write i2c OK [17:32:57]MH_I2C_Read... [17:32:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:32:57]Read from MH i2c: E2 [17:32:57]MH_I2C_Read... [17:32:57]Read from MH i2c: E2 03 00 [17:32:57]MH_I2C_Read... [17:32:57]Read from MH i2c: E2 03 00 CF 0E 00 90 00 51 [17:32:57]RAPDU: 90 00 [17:32:57]wFMCommunicate OK [17:32:57]wFMCommunicate request_size=4 [17:32:57]MH_SAM_APDU [17:32:57]CAPDU: 80 0D 03 02 [17:32:57]Write to MH i2c: E2 08 00 D0 0E 80 0D 03 02 00 00 00 00 59 [17:32:57]Write i2c OK [17:32:57]MH_I2C_Read... [17:32:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:32:57]Read from MH i2c: E2 [17:32:57]MH_I2C_Read... [17:32:57]Read from MH i2c: E2 0B 00 [17:32:57]MH_I2C_Read... [17:32:57]Read from MH i2c: E2 0B 00 D0 0E 00 A5 9F 38 29 81 43 15 16 90 00 EE [17:32:57]RAPDU: A5 9F 38 29 81 43 15 16 90 00 [17:32:57]wFMCommunicate OK [17:32:57]SAM_PROTO_SignData done [17:32:57]FM_MakeSignedData done [17:32:57]CreateOFDProtocolMessage [17:32:57]wFMCommunicate request_size=4 [17:32:57]MH_SAM_APDU [17:32:57]CAPDU: 80 11 00 00 [17:32:57]Write to MH i2c: E2 08 00 D1 0E 80 11 00 00 00 00 00 00 59 [17:32:57]Write i2c OK [17:32:57]MH_I2C_Read... [17:32:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:32:57]Read from MH i2c: E2 [17:32:57]MH_I2C_Read... [17:32:57]Read from MH i2c: E2 17 00 [17:32:57]MH_I2C_Read... [17:32:57]Read from MH i2c: E2 17 00 D1 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A9 [17: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 [17:32:57]wFMCommunicate OK [17:32:57]CreateOFDProtocolMessage done [17:32:57]OFDSenderStorePacket 37733 [17:32:57]StoreOFDPacket docnum=37733 [17:32: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 12 01 00 00 4C D9 0A 01 35 00 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 4B 79 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 65 93 00 00 35 04 06 00 47 FD 3B 73 06 0C A5 9F 38 29 81 43 15 16 [17:32:57]CheckFolder [17:32:57]dirname=/storage/ofd_packets [17:32:57]CheckFolder done [17:32:57]ProducePacketName [17:32:57]name=ofd_packets/00037733 [17:32:57]NVStorageSaveData ofd_packets/00037733 [17:32:57]File name is /storage/ofd_packets/00037733 [17:32:57]Write 304 bytes [17:32:57]NVStorageSaveData done [17:32:57]OFDSenderStorePacket done [17:32:57]KKMCreateOFDPacket done [17:32:57]NVStorageSaveData kkm_last_timestamp [17:32:57]File name is /storage/kkm_last_timestamp [17:32:57]Write 4 bytes [17:32:57]NVStorageSaveData done [17:32:57]ExternCall_PrintAddStr [17:32:57]wPrintStart [17:32:57]Write to MH i2c: 01 00 00 D2 0E E0 [17:32:57]Write i2c OK [17:32:57]MH_I2C_Read... [17:32:57]Read from MH i2c: 01 [17:32:57]MH_I2C_Read... [17:32:57]Read from MH i2c: 01 07 00 [17:32:57]MH_I2C_Read... [17:32:57]Read from MH i2c: 01 07 00 D2 0E 00 00 00 00 00 FF 0F F5 [17:32:57]RasterBufferAndPrint [17:32:57]line Счет N : (3)35031 [17:32:57]line ИНН: 02508201610067 [17:32:57]line Контрольно-Кассовый Чек [17:32:57]line ПРОДАЖА [17:32:57]line Товар: 48744546 [17:32:57]line LD Compact Silver [17:32:57]line 1.000 * 134.00 [17:32:57]line = 134.00 [17:32:57]line НДС 12% НСП 1% [17:32:57]line > о реализуемом товаре [17:32:57]line ИТОГО: 134.00 [17:32:57]line НСП 1% : 1.19 [17:32:57]line НДС 12% : 14.23 [17:32:57]line Наличными: 134.00 [17:32:57]line Безнал.: 0.00 [17:32:57]line Место: АЗС № 126 "Партнер Нефть" [17:32:57]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [17:32:57]line СНО: Общий режим [17:32:57]line Чек 59 27.10.2024 17:32 [17:32:57]line Смена: 550 ФФД: 1.0 [17:32:57]line ЗНМ: 0300000092 [17:32:57]line РНМ: 0000000000091684 [17:32:57]line Версия ККМ: 001 [17:32:57]line ФМ: 0000000000871841 [17:32:57]line ФД: 37733 [17:32:57]line ФПД: 79152949691916 [17:32:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T173259&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37733&fm=79152949691916&tin=02508201610067®Number=0000000000091684&sum=13400 [17:32:57]line 0 [17:32:57]written 0, free lines is 4095 [17:32:57]OFD Sender: Processing packet 37733 [packets to send 42, broken 41] [17:32:57]ProducePacketName [17:32:57]name=ofd_packets/00037733 [17:32:57]OFD Sender: To server: pG, [17:32:57]CommunicateWithHost lk.salyk.kg:30040 [17:32:57]ConnectInit lk.salyk.kg [17:32:58]Write to MH i2c: 01 00 00 FA 0E 08 [17:32:58]Write i2c OK [17:32:58]MH_I2C_Read... [17:32:58]Read from MH i2c: 01 [17:32:58]MH_I2C_Read... [17:32:58]Read from MH i2c: 01 07 00 [17:32:58]MH_I2C_Read... [17:32:58]Read from MH i2c: 01 07 00 FA 0E 00 00 00 00 00 CA 0C E5 [17:32:58]RasterBufferAndPrint [17:32:58]line [17:32:58]line [17:32:58]line [17:32:58]line [17:32:58]line [17:32:58]written 0, free lines is 3278 [17:32:58]MH_Cut [17:32:58]Write to MH i2c: D1 01 00 01 0F 01 E2 [17:32:58]Write i2c OK [17:32:58]MH_I2C_Read... [17:32:58]Read from MH i2c: D1 [17:32:58]MH_I2C_Read... [17:32:58]Read from MH i2c: D1 01 00 [17:32:58]MH_I2C_Read... [17:32:58]Read from MH i2c: D1 01 00 01 0F 00 E1 [17:32:58]Write to MH i2c: 01 00 00 02 0F 11 [17:32:58]Write i2c OK [17:32:58]MH_I2C_Read... [17:32:58]*** Cut start [17:32:58]*** Partial cut [17:32:58]*** CUTSNS_PIN = 1 [17:32:58]*** CUTSNS_PIN = 0 [17:32:59]*** Brake cut motor [17:32:59]Read from MH i2c: 01 [17:32:59]MH_I2C_Read... [17:32:59]*** Stop cut motor [17:32:59]Read from MH i2c: 01 07 00 [17:32:59]MH_I2C_Read... [17:32:59]*** Cut end [17:32:59]Read from MH i2c: 01 07 00 02 0F 00 00 00 00 00 FF 0F 26 [17:32:59]process_action close_receipt done [17:32:59]requested_data is exist [17:32:59]produce_requested_data [17:32:59]requested_item fm.sn is exist - process it [17:32:59]wFMCommunicate request_size=4 [17:32:59]MH_SAM_APDU [17:32:59]CAPDU: 80 11 00 00 [17:32:59]Write to MH i2c: E2 08 00 03 0F 80 11 00 00 00 00 00 00 8C [17:32:59]Write i2c OK [17:32:59]MH_I2C_Read... [17:32:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:32:59]Read from MH i2c: E2 [17:32:59]MH_I2C_Read... [17:32:59]Read from MH i2c: E2 17 00 [17:32:59]MH_I2C_Read... [17:32:59]Read from MH i2c: E2 17 00 03 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 DC [17:32: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:32:59]wFMCommunicate OK [17:32:59]requested_item fd.num is exist - process it [17:32:59]SAM_PROTO_GetFieldsCounters [17:32:59]wFMCommunicate request_size=4 [17:32:59]MH_SAM_APDU [17:32:59]CAPDU: 80 13 00 00 [17:32:59]Write to MH i2c: E2 08 00 04 0F 80 13 00 00 00 00 00 00 8F [17:32:59]Write i2c OK [17:32:59]MH_I2C_Read... [17:32:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:32:59]Read from MH i2c: E2 [17:32:59]MH_I2C_Read... [17:32:59]Read from MH i2c: E2 62 00 [17:32:59]MH_I2C_Read... [17:32:59]Read from MH i2c: E2 62 00 04 0F 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 65 93 00 00 0E 04 04 00 26 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 81 [17:32: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 65 93 00 00 0E 04 04 00 26 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 [17:32:59]wFMCommunicate OK [17:32:59]SAM_PROTO_GetFieldsCounters done [17:32:59]requested_item shift.num is exist - process it [17:32:59]requested_item shift.opened is exist - process it [17:32:59]req_shift_opened [17:32:59]FM_GetShiftState [17:32:59]SAM_PROTO_GetShiftState [17:32:59]wFMCommunicate request_size=4 [17:32:59]MH_SAM_APDU [17:32:59]CAPDU: 80 13 01 00 [17:32:59]Write to MH i2c: E2 08 00 05 0F 80 13 01 00 00 00 00 00 91 [17:32:59]Write i2c OK [17:32:59]MH_I2C_Read... [17:32:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:32:59]Read from MH i2c: E2 [17:32:59]MH_I2C_Read... [17:32:59]Read from MH i2c: E2 0E 00 [17:32:59]MH_I2C_Read... [17:32:59]Read from MH i2c: E2 0E 00 05 0F 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 48 [17:32:59]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [17:32:59]wFMCommunicate OK [17:32:59]SAM_PROTO_GetShiftState done [17:32:59]FM_GetShiftState done [17:32:59]req_shift_opened done [17:32:59]requested_item shift.open_date is exist - process it [17:32:59]req_shift_open_date [17:32:59]req_shift_open_date done [17:32:59]produce_requested_data done [17:32:59]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37733,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [17:32:59]process_action_free close_receipt [17:32:59]json_value_free [17:32:59]json_value_free done [17:32:59]process_json_proto returns [17:32:59]Send response to host [17:32:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37733,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [17:32:59]free response buf [17:32:59]execute_script done [17:32:59]execute_script returns [17:32:59]free content buf [17:32:59]Sock 9.Close socket [17:32:59]Sock 9.Thread stoped [17:35:08]ConnectInit Can't connect to host [17:35:08]CommunicateWithHost connect error [17:35:08]CommunicateWithHost err = -1 [17:35:08]OFD Sender: Server communicate error [17:35:13]OFD Sender: Processing packet 37733 [packets to send 42, broken 41] [17:35:13]ProducePacketName [17:35:13]name=ofd_packets/00037733 [17:35:13]OFD Sender: To server: pG, [17:35:13]CommunicateWithHost lk.salyk.kg:30040 [17:35:13]ConnectInit lk.salyk.kg [17:35:13]Connected sock=9 [17:35: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 12 01 00 00 4C D9 0A 01 35 00 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 4B 79 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 65 93 00 00 35 04 06 00 47 FD 3B 73 06 0C A5 9F 38 29 81 43 15 16 [17:35: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 03 3F 47 00 67 C1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 65 93 00 00 F4 03 04 00 CA 24 1E 67 B6 04 01 00 00 66 28 33 86 3B 10 42 06 [17:35:14]CommunicateWithHost err = 0 [17:35:14]CheckOFDResponse [17:35:14]1017 (14) - 77093643461234 [17:35:14]1041 (16) - 0000000000871841 [17:35:14]1040 (4) - 37733 [17:35:14]1012 (4) - 27.10.2024 11:32 [17:35:14]1206 (1) - 0 [17:35:14]OFD Sender: Remove packet 37733 [17:35:14]ProducePacketName [17:35:14]name=ofd_packets/00037733 [17:35:14]NVStorageDeleteData [17:35:14]OFD Sender: No OFD packet to send [17:35:19]OFD Sender: No OFD packet to send [17:35:24]OFD Sender: No OFD packet to send [17:35:29]OFD Sender: No OFD packet to send [17:35:34]OFD Sender: No OFD packet to send [17:35:39]OFD Sender: No OFD packet to send [17:35:44]OFD Sender: No OFD packet to send [17:35:49]OFD Sender: No OFD packet to send [17:35:54]OFD Sender: No OFD packet to send [17:35:59]OFD Sender: No OFD packet to send [17:36:04]OFD Sender: No OFD packet to send [17:36:09]OFD Sender: No OFD packet to send [17:36:14]OFD Sender: No OFD packet to send [17:36:19]OFD Sender: No OFD packet to send [17:36:24]OFD Sender: No OFD packet to send [17:36:29]OFD Sender: No OFD packet to send [17:36:34]OFD Sender: No OFD packet to send [17:36:39]OFD Sender: No OFD packet to send [17:36:44]OFD Sender: No OFD packet to send [17:36:49]OFD Sender: No OFD packet to send [17:36:54]OFD Sender: No OFD packet to send [17:36:59]OFD Sender: No OFD packet to send [17:37:04]OFD Sender: No OFD packet to send [17:37:09]OFD Sender: No OFD packet to send [17:37:14]OFD Sender: No OFD packet to send [17:37:19]OFD Sender: No OFD packet to send [17:37:24]OFD Sender: No OFD packet to send [17:37:29]OFD Sender: No OFD packet to send [17:37:34]OFD Sender: No OFD packet to send [17:37:39]OFD Sender: No OFD packet to send [17:37:44]OFD Sender: No OFD packet to send [17:37:49]OFD Sender: No OFD packet to send [17:37:54]OFD Sender: No OFD packet to send [17:37:59]OFD Sender: No OFD packet to send [17:38:04]OFD Sender: No OFD packet to send [17:38:09]OFD Sender: No OFD packet to send [17:38:14]OFD Sender: No OFD packet to send [17:38:19]OFD Sender: No OFD packet to send [17:38:24]OFD Sender: No OFD packet to send [17:38:29]OFD Sender: No OFD packet to send [17:38:34]OFD Sender: No OFD packet to send [17:38:39]OFD Sender: No OFD packet to send [17:38:44]OFD Sender: No OFD packet to send [17:38:49]OFD Sender: No OFD packet to send [17:38:54]OFD Sender: No OFD packet to send [17:38:59]OFD Sender: No OFD packet to send [17:39:04]OFD Sender: No OFD packet to send [17:39:09]OFD Sender: No OFD packet to send [17:39:14]OFD Sender: No OFD packet to send [17:39:19]OFD Sender: No OFD packet to send [17:39:24]OFD Sender: No OFD packet to send [17:39:29]OFD Sender: No OFD packet to send [17:39:34]OFD Sender: No OFD packet to send [17:39:39]OFD Sender: No OFD packet to send [17:39:44]OFD Sender: No OFD packet to send [17:39:49]OFD Sender: No OFD packet to send [17:39:54]OFD Sender: No OFD packet to send [17:39:59]OFD Sender: No OFD packet to send [17:40:04]OFD Sender: No OFD packet to send [17:40:06]accept exits with 7 [17:40:06]New connection [17:40:06]New thread 3067297124 created [17:40:06]Thread 3067440484 joined [17:40:06]Waiting for new connection... [17:40:06] Sock 7.Parse request [17:40:06]Sock 7.Check first char [17:40:06]Sock 7.First char is OK [17:40:06]request: POST /json_proto HTTP/1.0 [17:40:06]Method: POST [17:40:06]URL: /json_proto [17:40:06]Method is POST - this is cgi request [17:40:06]url: /json_proto [17:40:06]query_string will be loaded in cgi processing [17:40:06]execute_cgi json_proto POST (null) [17:40:06]execute_cgi path=json_proto method=POST [17:40:06]POST find Content-Length [17:40:06]Host: 172.17.40.196:8080 [17:40:06]Content-Length: 621 [17:40:06]Content-Type: application/json [17:40:06] [17:40:06]POST finish read [17:40:06]Found Content-Length = 621 [17:40:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35032", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:40:06]execute_script... [17:40: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)35032", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:40:06]POST & json_proto [17:40:06]process_json_proto [17:40:06]json parsed OK: [17:40:06]protocol is kg_v1.0 [17:40:06]action value=close_receipt [17:40:06]process_action close_receipt [17:40:06]cmd_close_receipt [17:40:06]MH_GetDate [17:40:06]Write to MH i2c: F0 00 00 06 0F 04 [17:40:06]Write i2c OK [17:40:06]MH_I2C_Read... [17:40:06]Read from MH i2c: F0 [17:40:06]MH_I2C_Read... [17:40:06]Read from MH i2c: F0 09 00 [17:40:06]MH_I2C_Read... [17:40:06]Read from MH i2c: F0 09 00 06 0F 00 F9 7A 1E 67 5B 68 A1 66 CF [17:40:06]GetLastDocTimeStamp 1730050379 [17:40:06]current date 1730050809 [17:40:06]FM_GetShiftState [17:40:06]SAM_PROTO_GetShiftState [17:40:06]wFMCommunicate request_size=4 [17:40:06]MH_SAM_APDU [17:40:06]CAPDU: 80 13 01 00 [17:40:06]Write to MH i2c: E2 08 00 07 0F 80 13 01 00 00 00 00 00 93 [17:40:06]Write i2c OK [17:40:06]MH_I2C_Read... [17:40:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:40:06]Read from MH i2c: E2 [17:40:06]MH_I2C_Read... [17:40:06]Read from MH i2c: E2 0E 00 [17:40:06]MH_I2C_Read... [17:40:06]Read from MH i2c: E2 0E 00 07 0F 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 4A [17:40:06]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [17:40:06]wFMCommunicate OK [17:40:06]SAM_PROTO_GetShiftState done [17:40:06]FM_GetShiftState done [17:40:06]opened in 1729987492 [17:40:06]opened+sec_in_day 1730073892 [17:40:06]quantity*price = 16000 [17:40:06]sum+1 = 16001 [17:40:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 160.00 НСП 1% : 1.42 НДС 12% : 16.99 Наличными: 160.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 60 27.10.2024 17:40 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37734 ФПД: 219979168729547 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T174009&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37734&fm=219979168729547&tin=02508201610067®Number=0000000000091684&sum=16000 0 [17:40:07]StoreToDocumentArchive [17:40:07]shift 550 fd 37734 [17:40:07]save to /storage/0550/doc_00037734 [17:40:07]save last doc name /storage/0550/doc_00037734 to /storage/kkm_last_doc_name [17:40:07]save OK [17:40:07]Clear old archive folders... [17:40:07]ProcessDocumentItem done err = 0, tmpTLVsize=274 [17:40:07]tlvbuf is 0023B980 [17:40:07]SAM_PROTO_ClearQueue [17:40:07]wFMCommunicate request_size=4 [17:40:07]MH_SAM_APDU [17:40:07]CAPDU: 80 09 00 00 [17:40:07]Write to MH i2c: E2 08 00 14 0F 80 09 00 00 00 00 00 00 95 [17:40:07]Write i2c OK [17:40:07]MH_I2C_Read... [17:40:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:40:07]Read from MH i2c: E2 [17:40:07]MH_I2C_Read... [17:40:07]Read from MH i2c: E2 03 00 [17:40:07]MH_I2C_Read... [17:40:07]Read from MH i2c: E2 03 00 14 0F 00 90 00 97 [17:40:07]RAPDU: 90 00 [17:40:07]wFMCommunicate OK [17:40:07]SAM_PROTO_ClearQueue done [17:40:07]KKMCreateOFDPacket [17:40:07]OFDProtocolAddRootSTLVToBuf [17:40:07]FM_MakeSignedData [17:40:07]FM_MakeSignedData [17:40:07]SAM_PROTO_SignData [17:40:07]wFMCommunicate request_size=4 [17:40:07]MH_SAM_APDU [17:40:07]CAPDU: 80 0D 01 02 [17:40:07]Write to MH i2c: E2 08 00 15 0F 80 0D 01 02 00 00 00 00 9D [17:40:07]Write i2c OK [17:40:07]MH_I2C_Read... [17:40:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:40:07]Read from MH i2c: E2 [17:40:07]MH_I2C_Read... [17:40:07]Read from MH i2c: E2 03 00 [17:40:07]MH_I2C_Read... [17:40:07]Read from MH i2c: E2 03 00 15 0F 00 90 00 98 [17:40:07]RAPDU: 90 00 [17:40:07]wFMCommunicate OK [17:40:07]wFMCommunicate request_size=255 [17:40:07]MH_SAM_APDU [17:40:07]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 F9 7A 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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:40:07]Write to MH i2c: E2 02 01 16 0F 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 F9 7A 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 4D [17:40:07]Write i2c OK [17:40:07]MH_I2C_Read... [17:40:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:40:07]Read from MH i2c: E2 [17:40:07]MH_I2C_Read... [17:40:07]Read from MH i2c: E2 03 00 [17:40:07]MH_I2C_Read... [17:40:07]Read from MH i2c: E2 03 00 16 0F 00 90 00 99 [17:40:07]RAPDU: 90 00 [17:40:07]wFMCommunicate OK [17:40:07]wFMCommunicate request_size=33 [17:40:07]MH_SAM_APDU [17:40:07]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 38 34 31 10 04 04 00 66 93 00 00 35 04 06 00 C8 11 E4 35 C9 CB [17:40:07]Write to MH i2c: E2 24 00 17 0F 80 0D 02 02 1C 00 30 30 30 30 38 37 31 38 34 31 10 04 04 00 66 93 00 00 35 04 06 00 C8 11 E4 35 C9 CB 00 00 AB [17:40:07]Write i2c OK [17:40:07]MH_I2C_Read... [17:40:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:40:07]Read from MH i2c: E2 [17:40:07]MH_I2C_Read... [17:40:07]Read from MH i2c: E2 03 00 [17:40:07]MH_I2C_Read... [17:40:07]Read from MH i2c: E2 03 00 17 0F 00 90 00 9A [17:40:07]RAPDU: 90 00 [17:40:07]wFMCommunicate OK [17:40:07]wFMCommunicate request_size=4 [17:40:07]MH_SAM_APDU [17:40:07]CAPDU: 80 0D 03 02 [17:40:07]Write to MH i2c: E2 08 00 18 0F 80 0D 03 02 00 00 00 00 A2 [17:40:07]Write i2c OK [17:40:07]MH_I2C_Read... [17:40:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:40:07]Read from MH i2c: E2 [17:40:07]MH_I2C_Read... [17:40:07]Read from MH i2c: E2 0B 00 [17:40:07]MH_I2C_Read... [17:40:07]Read from MH i2c: E2 0B 00 18 0F 00 89 F3 E1 9C D4 C9 62 78 90 00 13 [17:40:07]RAPDU: 89 F3 E1 9C D4 C9 62 78 90 00 [17:40:07]wFMCommunicate OK [17:40:07]SAM_PROTO_SignData done [17:40:07]FM_MakeSignedData done [17:40:07]CreateOFDProtocolMessage [17:40:07]wFMCommunicate request_size=4 [17:40:07]MH_SAM_APDU [17:40:07]CAPDU: 80 11 00 00 [17:40:07]Write to MH i2c: E2 08 00 19 0F 80 11 00 00 00 00 00 00 A2 [17:40:07]Write i2c OK [17:40:07]MH_I2C_Read... [17:40:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:40:07]Read from MH i2c: E2 [17:40:07]MH_I2C_Read... [17:40:07]Read from MH i2c: E2 17 00 [17:40:07]MH_I2C_Read... [17:40:07]Read from MH i2c: E2 17 00 19 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F2 [17:40:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:40:07]wFMCommunicate OK [17:40:07]CreateOFDProtocolMessage done [17:40:07]OFDSenderStorePacket 37734 [17:40:07]StoreOFDPacket docnum=37734 [17:40: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 26 01 00 00 C5 91 1E 01 25 5D 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 F9 7A 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 66 93 00 00 35 04 06 00 C8 11 E4 35 C9 CB 89 F3 E1 9C D4 C9 62 78 [17:40:07]CheckFolder [17:40:07]dirname=/storage/ofd_packets [17:40:07]CheckFolder done [17:40:07]ProducePacketName [17:40:07]name=ofd_packets/00037734 [17:40:07]NVStorageSaveData ofd_packets/00037734 [17:40:07]File name is /storage/ofd_packets/00037734 [17:40:07]Write 324 bytes [17:40:07]NVStorageSaveData done [17:40:07]OFDSenderStorePacket done [17:40:07]KKMCreateOFDPacket done [17:40:07]NVStorageSaveData kkm_last_timestamp [17:40:07]File name is /storage/kkm_last_timestamp [17:40:07]Write 4 bytes [17:40:07]NVStorageSaveData done [17:40:07]ExternCall_PrintAddStr [17:40:07]wPrintStart [17:40:07]Write to MH i2c: 01 00 00 1A 0F 29 [17:40:07]Write i2c OK [17:40:07]MH_I2C_Read... [17:40:07]Read from MH i2c: 01 [17:40:07]MH_I2C_Read... [17:40:07]Read from MH i2c: 01 07 00 [17:40:07]MH_I2C_Read... [17:40:07]Read from MH i2c: 01 07 00 1A 0F 00 00 00 00 00 FF 0F 3E [17:40:07]RasterBufferAndPrint [17:40:07]line Счет N : (3)35032 [17:40:07]line ИНН: 02508201610067 [17:40:07]line Контрольно-Кассовый Чек [17:40:07]line ПРОДАЖА [17:40:07]line Товар: 48741958 [17:40:07]line Сигареты Parliament Aqua Blue [17:40:07]line 1.000 * 160.00 [17:40:07]line = 160.00 [17:40:07]line НДС 12% НСП 1% [17:40:07]line > о реализуемом товаре [17:40:07]line ИТОГО: 160.00 [17:40:07]line НСП 1% : 1.42 [17:40:07]line НДС 12% : 16.99 [17:40:07]line Наличными: 160.00 [17:40:07]line Безнал.: 0.00 [17:40:07]line Место: АЗС № 126 "Партнер Нефть" [17:40:07]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [17:40:07]line СНО: Общий режим [17:40:07]line Чек 60 27.10.2024 17:40 [17:40:07]line Смена: 550 ФФД: 1.0 [17:40:07]line ЗНМ: 0300000092 [17:40:07]line РНМ: 0000000000091684 [17:40:07]line Версия ККМ: 001 [17:40:07]line ФМ: 0000000000871841 [17:40:07]line ФД: 37734 [17:40:07]line ФПД: 219979168729547 [17:40:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T174009&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37734&fm=219979168729547&tin=02508201610067®Number=0000000000091684&sum=16000 [17:40:07]line 0 [17:40:08]written 0, free lines is 4095 [17:40:08]OFD Sender: Processing packet 37734 [packets to send 42, broken 41] [17:40:08]ProducePacketName [17:40:08]name=ofd_packets/00037734 [17:40:08]OFD Sender: To server: pG, [17:40:08]CommunicateWithHost lk.salyk.kg:30040 [17:40:08]ConnectInit lk.salyk.kg [17:40:08]Connected sock=10 [17:40: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 26 01 00 00 C5 91 1E 01 25 5D 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 F9 7A 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 66 93 00 00 35 04 06 00 C8 11 E4 35 C9 CB 89 F3 E1 9C D4 C9 62 78 [17:40:08]Write to MH i2c: 01 00 00 43 0F 52 [17:40:08]Write i2c OK [17:40:08]MH_I2C_Read... [17:40:08]Read from MH i2c: 01 [17:40:08]MH_I2C_Read... [17:40:08]Read from MH i2c: 01 07 00 [17:40:08]MH_I2C_Read... [17:40:08]Read from MH i2c: 01 07 00 43 0F 00 00 00 00 00 AD 0C 12 [17:40:08]RasterBufferAndPrint [17:40:08]line [17:40:08]line [17:40:08]line [17:40:08]line [17:40:08]line [17:40:08]written 0, free lines is 3248 [17:40:08]MH_Cut [17:40:08]Write to MH i2c: D1 01 00 4A 0F 01 2B [17:40:08]Write i2c OK [17:40:08]MH_I2C_Read... [17:40:08]Read from MH i2c: D1 [17:40:08]MH_I2C_Read... [17:40:08]Read from MH i2c: D1 01 00 [17:40:08]MH_I2C_Read... [17:40:08]Read from MH i2c: D1 01 00 4A 0F 00 2A [17:40:08]Write to MH i2c: 01 00 00 4B 0F 5A [17:40:08]Write i2c OK [17:40:08]MH_I2C_Read... [17:40: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 10 01 47 00 A2 B2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 66 93 00 00 F4 03 04 00 F0 25 1E 67 B6 04 01 00 00 05 26 38 11 A1 E0 49 2B [17:40:08]CommunicateWithHost err = 0 [17:40:08]CheckOFDResponse [17:40:08]1017 (14) - 77093643461234 [17:40:08]1041 (16) - 0000000000871841 [17:40:08]1040 (4) - 37734 [17:40:08]1012 (4) - 27.10.2024 11:37 [17:40:08]1206 (1) - 0 [17:40:08]OFD Sender: Remove packet 37734 [17:40:08]ProducePacketName [17:40:08]name=ofd_packets/00037734 [17:40:08]NVStorageDeleteData [17:40:09]OFD Sender: No OFD packet to send [17:40:09]*** Cut start [17:40:09]*** Partial cut [17:40:09]*** CUTSNS_PIN = 1 [17:40:09]*** CUTSNS_PIN = 0 [17:40:09]*** Brake cut motor [17:40:09]Read from MH i2c: 01 [17:40:09]MH_I2C_Read... [17:40:09]*** Stop cut motor [17:40:09]*** Cut end [17:40:09]Read from MH i2c: 01 07 00 [17:40:09]MH_I2C_Read... [17:40:09]Read from MH i2c: 01 07 00 4B 0F 00 00 00 00 00 FF 0F 6F [17:40:09]process_action close_receipt done [17:40:09]requested_data is exist [17:40:09]produce_requested_data [17:40:09]requested_item fm.sn is exist - process it [17:40:09]wFMCommunicate request_size=4 [17:40:09]MH_SAM_APDU [17:40:09]CAPDU: 80 11 00 00 [17:40:09]Write to MH i2c: E2 08 00 4C 0F 80 11 00 00 00 00 00 00 D5 [17:40:09]Write i2c OK [17:40:09]MH_I2C_Read... [17:40:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:40:09]Read from MH i2c: E2 [17:40:09]MH_I2C_Read... [17:40:09]Read from MH i2c: E2 17 00 [17:40:09]MH_I2C_Read... [17:40:09]Read from MH i2c: E2 17 00 4C 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 25 [17:40:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:40:09]wFMCommunicate OK [17:40:09]requested_item fd.num is exist - process it [17:40:09]SAM_PROTO_GetFieldsCounters [17:40:09]wFMCommunicate request_size=4 [17:40:09]MH_SAM_APDU [17:40:09]CAPDU: 80 13 00 00 [17:40:09]Write to MH i2c: E2 08 00 4D 0F 80 13 00 00 00 00 00 00 D8 [17:40:09]Write i2c OK [17:40:09]MH_I2C_Read... [17:40:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:40:10]Read from MH i2c: E2 [17:40:10]MH_I2C_Read... [17:40:10]Read from MH i2c: E2 62 00 [17:40:10]MH_I2C_Read... [17:40:10]Read from MH i2c: E2 62 00 4D 0F 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 66 93 00 00 0E 04 04 00 26 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 CE [17:40: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 66 93 00 00 0E 04 04 00 26 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 [17:40:10]wFMCommunicate OK [17:40:10]SAM_PROTO_GetFieldsCounters done [17:40:10]requested_item shift.num is exist - process it [17:40:10]requested_item shift.opened is exist - process it [17:40:10]req_shift_opened [17:40:10]FM_GetShiftState [17:40:10]SAM_PROTO_GetShiftState [17:40:10]wFMCommunicate request_size=4 [17:40:10]MH_SAM_APDU [17:40:10]CAPDU: 80 13 01 00 [17:40:10]Write to MH i2c: E2 08 00 4E 0F 80 13 01 00 00 00 00 00 DA [17:40:10]Write i2c OK [17:40:10]MH_I2C_Read... [17:40:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:40:10]Read from MH i2c: E2 [17:40:10]MH_I2C_Read... [17:40:10]Read from MH i2c: E2 0E 00 [17:40:10]MH_I2C_Read... [17:40:10]Read from MH i2c: E2 0E 00 4E 0F 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 91 [17:40:10]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [17:40:10]wFMCommunicate OK [17:40:10]SAM_PROTO_GetShiftState done [17:40:10]FM_GetShiftState done [17:40:10]req_shift_opened done [17:40:10]requested_item shift.open_date is exist - process it [17:40:10]req_shift_open_date [17:40:10]req_shift_open_date done [17:40:10]produce_requested_data done [17:40:10]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37734,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [17:40:10]process_action_free close_receipt [17:40:10]json_value_free [17:40:10]json_value_free done [17:40:10]process_json_proto returns [17:40:10]Send response to host [17:40:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37734,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [17:40:10]free response buf [17:40:10]execute_script done [17:40:10]execute_script returns [17:40:10]free content buf [17:40:10]Sock 7.Close socket [17:40:10]Sock 7.Thread stoped [17:40:14]OFD Sender: No OFD packet to send [17:40:19]OFD Sender: No OFD packet to send [17:40:24]OFD Sender: No OFD packet to send [17:40:29]OFD Sender: No OFD packet to send [17:40:34]OFD Sender: No OFD packet to send [17:40:39]OFD Sender: No OFD packet to send [17:40:44]OFD Sender: No OFD packet to send [17:40:49]OFD Sender: No OFD packet to send [17:40:54]OFD Sender: No OFD packet to send [17:40:59]OFD Sender: No OFD packet to send [17:41:04]OFD Sender: No OFD packet to send [17:41:09]OFD Sender: No OFD packet to send [17:41:14]OFD Sender: No OFD packet to send [17:41:19]OFD Sender: No OFD packet to send [17:41:24]OFD Sender: No OFD packet to send [17:41:29]OFD Sender: No OFD packet to send [17:41:34]OFD Sender: No OFD packet to send [17:41:39]OFD Sender: No OFD packet to send [17:41:44]OFD Sender: No OFD packet to send [17:41:49]OFD Sender: No OFD packet to send [17:41:54]OFD Sender: No OFD packet to send [17:41:59]OFD Sender: No OFD packet to send [17:42:04]OFD Sender: No OFD packet to send [17:42:09]OFD Sender: No OFD packet to send [17:42:14]OFD Sender: No OFD packet to send [17:42:19]OFD Sender: No OFD packet to send [17:42:24]OFD Sender: No OFD packet to send [17:42:29]OFD Sender: No OFD packet to send [17:42:34]OFD Sender: No OFD packet to send [17:42:39]OFD Sender: No OFD packet to send [17:42:44]OFD Sender: No OFD packet to send [17:42:49]OFD Sender: No OFD packet to send [17:42:54]OFD Sender: No OFD packet to send [17:42:59]OFD Sender: No OFD packet to send [17:43:04]OFD Sender: No OFD packet to send [17:43:09]OFD Sender: No OFD packet to send [17:43:14]OFD Sender: No OFD packet to send [17:43:19]OFD Sender: No OFD packet to send [17:43:24]OFD Sender: No OFD packet to send [17:43:29]OFD Sender: No OFD packet to send [17:43:34]OFD Sender: No OFD packet to send [17:43:39]OFD Sender: No OFD packet to send [17:43:44]OFD Sender: No OFD packet to send [17:43:49]OFD Sender: No OFD packet to send [17:43:54]OFD Sender: No OFD packet to send [17:43:59]OFD Sender: No OFD packet to send [17:44:04]OFD Sender: No OFD packet to send [17:44:09]OFD Sender: No OFD packet to send [17:44:14]OFD Sender: No OFD packet to send [17:44:19]OFD Sender: No OFD packet to send [17:44:24]OFD Sender: No OFD packet to send [17:44:29]OFD Sender: No OFD packet to send [17:44:34]OFD Sender: No OFD packet to send [17:44:39]OFD Sender: No OFD packet to send [17:44:44]OFD Sender: No OFD packet to send [17:44:49]OFD Sender: No OFD packet to send [17:44:54]OFD Sender: No OFD packet to send [17:44:59]OFD Sender: No OFD packet to send [17:45:04]OFD Sender: No OFD packet to send [17:45:09]OFD Sender: No OFD packet to send [17:45:14]OFD Sender: No OFD packet to send [17:45:19]OFD Sender: No OFD packet to send [17:45:24]OFD Sender: No OFD packet to send [17:45:29]OFD Sender: No OFD packet to send [17:45:34]OFD Sender: No OFD packet to send [17:45:39]OFD Sender: No OFD packet to send [17:45:44]OFD Sender: No OFD packet to send [17:45:49]OFD Sender: No OFD packet to send [17:45:54]OFD Sender: No OFD packet to send [17:45:59]OFD Sender: No OFD packet to send [17:46:04]OFD Sender: No OFD packet to send [17:46:09]OFD Sender: No OFD packet to send [17:46:14]OFD Sender: No OFD packet to send [17:46:19]OFD Sender: No OFD packet to send [17:46:24]OFD Sender: No OFD packet to send [17:46:29]OFD Sender: No OFD packet to send [17:46:34]OFD Sender: No OFD packet to send [17:46:39]OFD Sender: No OFD packet to send [17:46:44]OFD Sender: No OFD packet to send [17:46:49]OFD Sender: No OFD packet to send [17:46:54]OFD Sender: No OFD packet to send [17:46:59]OFD Sender: No OFD packet to send [17:47:04]OFD Sender: No OFD packet to send [17:47:09]OFD Sender: No OFD packet to send [17:47:14]OFD Sender: No OFD packet to send [17:47:19]OFD Sender: No OFD packet to send [17:47:24]OFD Sender: No OFD packet to send [17:47:29]OFD Sender: No OFD packet to send [17:47:34]OFD Sender: No OFD packet to send [17:47:39]OFD Sender: No OFD packet to send [17:47:44]OFD Sender: No OFD packet to send [17:47:49]OFD Sender: No OFD packet to send [17:47:54]OFD Sender: No OFD packet to send [17:47:59]OFD Sender: No OFD packet to send [17:48:04]OFD Sender: No OFD packet to send [17:48:09]OFD Sender: No OFD packet to send [17:48:14]OFD Sender: No OFD packet to send [17:48:19]OFD Sender: No OFD packet to send [17:48:24]OFD Sender: No OFD packet to send [17:48:29]OFD Sender: No OFD packet to send [17:48:34]OFD Sender: No OFD packet to send [17:48:39]OFD Sender: No OFD packet to send [17:48:44]OFD Sender: No OFD packet to send [17:48:49]OFD Sender: No OFD packet to send [17:48:54]OFD Sender: No OFD packet to send [17:48:59]OFD Sender: No OFD packet to send [17:49:04]OFD Sender: No OFD packet to send [17:49:09]OFD Sender: No OFD packet to send [17:49:14]OFD Sender: No OFD packet to send [17:49:19]OFD Sender: No OFD packet to send [17:49:24]OFD Sender: No OFD packet to send [17:49:29]OFD Sender: No OFD packet to send [17:49:34]OFD Sender: No OFD packet to send [17:49:39]OFD Sender: No OFD packet to send [17:49:44]OFD Sender: No OFD packet to send [17:49:49]OFD Sender: No OFD packet to send [17:49:54]OFD Sender: No OFD packet to send [17:49:59]OFD Sender: No OFD packet to send [17:50:04]OFD Sender: No OFD packet to send [17:50:09]OFD Sender: No OFD packet to send [17:50:14]OFD Sender: No OFD packet to send [17:50:19]OFD Sender: No OFD packet to send [17:50:24]OFD Sender: No OFD packet to send [17:50:29]OFD Sender: No OFD packet to send [17:50:34]OFD Sender: No OFD packet to send [17:50:39]OFD Sender: No OFD packet to send [17:50:44]OFD Sender: No OFD packet to send [17:50:49]OFD Sender: No OFD packet to send [17:50:54]OFD Sender: No OFD packet to send [17:50:59]OFD Sender: No OFD packet to send [17:51:04]OFD Sender: No OFD packet to send [17:51:09]OFD Sender: No OFD packet to send [17:51:14]OFD Sender: No OFD packet to send [17:51:19]OFD Sender: No OFD packet to send [17:51:24]OFD Sender: No OFD packet to send [17:51:29]OFD Sender: No OFD packet to send [17:51:34]OFD Sender: No OFD packet to send [17:51:39]OFD Sender: No OFD packet to send [17:51:44]OFD Sender: No OFD packet to send [17:51:49]OFD Sender: No OFD packet to send [17:51:54]OFD Sender: No OFD packet to send [17:51:59]OFD Sender: No OFD packet to send [17:52:04]OFD Sender: No OFD packet to send [17:52:09]OFD Sender: No OFD packet to send [17:52:14]OFD Sender: No OFD packet to send [17:52:19]OFD Sender: No OFD packet to send [17:52:24]OFD Sender: No OFD packet to send [17:52:29]OFD Sender: No OFD packet to send [17:52:34]OFD Sender: No OFD packet to send [17:52:39]OFD Sender: No OFD packet to send [17:52:44]OFD Sender: No OFD packet to send [17:52:49]OFD Sender: No OFD packet to send [17:52:54]OFD Sender: No OFD packet to send [17:52:59]OFD Sender: No OFD packet to send [17:53:04]OFD Sender: No OFD packet to send [17:53:09]OFD Sender: No OFD packet to send [17:53:14]OFD Sender: No OFD packet to send [17:53:19]OFD Sender: No OFD packet to send [17:53:24]OFD Sender: No OFD packet to send [17:53:29]OFD Sender: No OFD packet to send [17:53:34]OFD Sender: No OFD packet to send [17:53:39]OFD Sender: No OFD packet to send [17:53:44]OFD Sender: No OFD packet to send [17:53:49]OFD Sender: No OFD packet to send [17:53:54]OFD Sender: No OFD packet to send [17:53:59]OFD Sender: No OFD packet to send [17:54:04]OFD Sender: No OFD packet to send [17:54:09]OFD Sender: No OFD packet to send [17:54:14]OFD Sender: No OFD packet to send [17:54:19]OFD Sender: No OFD packet to send [17:54:24]OFD Sender: No OFD packet to send [17:54:29]OFD Sender: No OFD packet to send [17:54:34]OFD Sender: No OFD packet to send [17:54:39]OFD Sender: No OFD packet to send [17:54:44]OFD Sender: No OFD packet to send [17:54:49]OFD Sender: No OFD packet to send [17:54:54]OFD Sender: No OFD packet to send [17:54:59]OFD Sender: No OFD packet to send [17:55:04]OFD Sender: No OFD packet to send [17:55:09]OFD Sender: No OFD packet to send [17:55:14]OFD Sender: No OFD packet to send [17:55:19]OFD Sender: No OFD packet to send [17:55:24]OFD Sender: No OFD packet to send [17:55:29]OFD Sender: No OFD packet to send [17:55:34]OFD Sender: No OFD packet to send [17:55:39]OFD Sender: No OFD packet to send [17:55:44]OFD Sender: No OFD packet to send [17:55:49]OFD Sender: No OFD packet to send [17:55:54]OFD Sender: No OFD packet to send [17:55:59]OFD Sender: No OFD packet to send [17:56:04]OFD Sender: No OFD packet to send [17:56:09]OFD Sender: No OFD packet to send [17:56:14]OFD Sender: No OFD packet to send [17:56:19]OFD Sender: No OFD packet to send [17:56:24]OFD Sender: No OFD packet to send [17:56:29]OFD Sender: No OFD packet to send [17:56:34]OFD Sender: No OFD packet to send [17:56:39]OFD Sender: No OFD packet to send [17:56:44]OFD Sender: No OFD packet to send [17:56:49]OFD Sender: No OFD packet to send [17:56:54]OFD Sender: No OFD packet to send [17:56:59]OFD Sender: No OFD packet to send [17:57:04]OFD Sender: No OFD packet to send [17:57:09]OFD Sender: No OFD packet to send [17:57:14]OFD Sender: No OFD packet to send [17:57:19]OFD Sender: No OFD packet to send [17:57:24]OFD Sender: No OFD packet to send [17:57:29]OFD Sender: No OFD packet to send [17:57:34]OFD Sender: No OFD packet to send [17:57:39]OFD Sender: No OFD packet to send [17:57:44]OFD Sender: No OFD packet to send [17:57:49]OFD Sender: No OFD packet to send [17:57:54]OFD Sender: No OFD packet to send [17:58:00]OFD Sender: No OFD packet to send [17:58:05]OFD Sender: No OFD packet to send [17:58:10]OFD Sender: No OFD packet to send [17:58:15]OFD Sender: No OFD packet to send [17:58:20]OFD Sender: No OFD packet to send [17:58:25]OFD Sender: No OFD packet to send [17:58:30]OFD Sender: No OFD packet to send [17:58:35]OFD Sender: No OFD packet to send [17:58:40]OFD Sender: No OFD packet to send [17:58:45]OFD Sender: No OFD packet to send [17:58:50]OFD Sender: No OFD packet to send [17:58:55]OFD Sender: No OFD packet to send [17:58:57]accept exits with 9 [17:58:57]New connection [17:58:57]New thread 3067440484 created [17:58:57]Thread 3067297124 joined [17:58:57]Waiting for new connection... [17:58:57] Sock 9.Parse request [17:58:57]Sock 9.Check first char [17:58:57]Sock 9.First char is OK [17:58:57]request: POST /json_proto HTTP/1.0 [17:58:57]Method: POST [17:58:57]URL: /json_proto [17:58:57]Method is POST - this is cgi request [17:58:57]url: /json_proto [17:58:57]query_string will be loaded in cgi processing [17:58:57]execute_cgi json_proto POST (null) [17:58:57]execute_cgi path=json_proto method=POST [17:58:57]POST find Content-Length [17:58:57]Host: 172.17.40.196:8080 [17:58:57]Content-Length: 1051 [17:58:57]Content-Type: application/json [17:58:57] [17:58:57]POST finish read [17:58:57]Found Content-Length = 1051 [17:58:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35033", "tax_sys" : 0, "items" : [ { "code": "4600452021095", "name": "\u0411\u0435\u043B\u044B\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 OZera Caramel 90\u0433", "price" : 130.00, "quantity" : 1.000, "sum" : 130.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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 175.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:58:57]execute_script... [17:58: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)35033", "tax_sys" : 0, "items" : [ { "code": "4600452021095", "name": "\u0411\u0435\u043B\u044B\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 OZera Caramel 90\u0433", "price" : 130.00, "quantity" : 1.000, "sum" : 130.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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 175.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:58:57]POST & json_proto [17:58:57]process_json_proto [17:58:57]json parsed OK: [17:58:57]protocol is kg_v1.0 [17:58:57]action value=close_receipt [17:58:57]process_action close_receipt [17:58:57]cmd_close_receipt [17:58:57]MH_GetDate [17:58:57]Write to MH i2c: F0 00 00 4F 0F 4D [17:58:57]Write i2c OK [17:58:57]MH_I2C_Read... [17:58:57]Read from MH i2c: F0 [17:58:57]MH_I2C_Read... [17:58:57]Read from MH i2c: F0 09 00 [17:58:57]MH_I2C_Read... [17:58:57]Read from MH i2c: F0 09 00 4F 0F 00 64 7F 1E 67 5B 68 A1 66 88 [17:58:57]GetLastDocTimeStamp 1730050809 [17:58:57]current date 1730051940 [17:58:57]FM_GetShiftState [17:58:57]SAM_PROTO_GetShiftState [17:58:57]wFMCommunicate request_size=4 [17:58:57]MH_SAM_APDU [17:58:57]CAPDU: 80 13 01 00 [17:58:57]Write to MH i2c: E2 08 00 50 0F 80 13 01 00 00 00 00 00 DC [17:58:57]Write i2c OK [17:58:57]MH_I2C_Read... [17:58:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:58:57]Read from MH i2c: E2 [17:58:57]MH_I2C_Read... [17:58:57]Read from MH i2c: E2 0E 00 [17:58:57]MH_I2C_Read... [17:58:57]Read from MH i2c: E2 0E 00 50 0F 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 93 [17:58:57]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [17:58:57]wFMCommunicate OK [17:58:57]SAM_PROTO_GetShiftState done [17:58:57]FM_GetShiftState done [17:58:57]opened in 1729987492 [17:58:57]opened+sec_in_day 1730073892 [17:58:57]quantity*price = 13000 [17:58:57]sum+1 = 13001 [17:58:57]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 42203100 Жев Orbit банан-клубника 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 175.00 НСП 1% : 1.55 НДС 12% : 18.58 Наличными: 0.00 Безнал.: 175.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 61 27.10.2024 17:59 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37735 ФПД: 179539510796476 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T175900&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37735&fm=179539510796476&tin=02508201610067®Number=0000000000091684&sum=17500 0 [17:58:58]StoreToDocumentArchive [17:58:58]shift 550 fd 37735 [17:58:58]save to /storage/0550/doc_00037735 [17:58:58]save last doc name /storage/0550/doc_00037735 to /storage/kkm_last_doc_name [17:58:58]save OK [17:58:58]Clear old archive folders... [17:58:58]ProcessDocumentItem done err = 0, tmpTLVsize=393 [17:58:58]tlvbuf is 00238750 [17:58:58]SAM_PROTO_ClearQueue [17:58:58]wFMCommunicate request_size=4 [17:58:58]MH_SAM_APDU [17:58:58]CAPDU: 80 09 00 00 [17:58:58]Write to MH i2c: E2 08 00 5D 0F 80 09 00 00 00 00 00 00 DE [17:58:58]Write i2c OK [17:58:58]MH_I2C_Read... [17:58:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:58:58]Read from MH i2c: E2 [17:58:58]MH_I2C_Read... [17:58:58]Read from MH i2c: E2 03 00 [17:58:58]MH_I2C_Read... [17:58:58]Read from MH i2c: E2 03 00 5D 0F 00 90 00 E0 [17:58:58]RAPDU: 90 00 [17:58:58]wFMCommunicate OK [17:58:58]SAM_PROTO_ClearQueue done [17:58:58]KKMCreateOFDPacket [17:58:58]OFDProtocolAddRootSTLVToBuf [17:58:58]FM_MakeSignedData [17:58:58]FM_MakeSignedData [17:58:58]SAM_PROTO_SignData [17:58:58]wFMCommunicate request_size=4 [17:58:58]MH_SAM_APDU [17:58:58]CAPDU: 80 0D 01 02 [17:58:58]Write to MH i2c: E2 08 00 5E 0F 80 0D 01 02 00 00 00 00 E6 [17:58:58]Write i2c OK [17:58:58]MH_I2C_Read... [17:58:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:58:58]Read from MH i2c: E2 [17:58:58]MH_I2C_Read... [17:58:58]Read from MH i2c: E2 03 00 [17:58:58]MH_I2C_Read... [17:58:58]Read from MH i2c: E2 03 00 5E 0F 00 90 00 E1 [17:58:58]RAPDU: 90 00 [17:58:58]wFMCommunicate OK [17:58:58]wFMCommunicate request_size=255 [17:58:58]MH_SAM_APDU [17:58:58]CAPDU: 80 0D 02 02 FA 03 00 89 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 30 39 35 06 04 2C 00 D0 91 D0 B5 D0 BB D1 8B D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 43 61 72 61 6D 65 6C 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 [17:58:58]Write to MH i2c: E2 02 01 5F 0F 80 0D 02 02 FA 00 03 00 89 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 30 39 35 06 04 2C 00 D0 91 D0 B5 D0 BB D1 8B D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 43 61 72 61 6D 65 6C 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 00 00 DE [17:58:58]Write i2c OK [17:58:58]MH_I2C_Read... [17:58:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:58:58]Read from MH i2c: E2 [17:58:58]MH_I2C_Read... [17:58:58]Read from MH i2c: E2 03 00 [17:58:58]MH_I2C_Read... [17:58:58]Read from MH i2c: E2 03 00 5F 0F 00 90 00 E2 [17:58:58]RAPDU: 90 00 [17:58:58]wFMCommunicate OK [17:58:58]wFMCommunicate request_size=152 [17:58:58]MH_SAM_APDU [17:58:58]CAPDU: 80 0D 02 02 93 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C 44 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 64 7F 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 67 93 00 00 35 04 06 00 A3 4A 4C C3 A0 BC [17:58:58]Write to MH i2c: E2 9B 00 60 0F 80 0D 02 02 93 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C 44 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 64 7F 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 67 93 00 00 35 04 06 00 A3 4A 4C C3 A0 BC 00 00 DA [17:58:58]Write i2c OK [17:58:58]MH_I2C_Read... [17:58:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:58:58]Read from MH i2c: E2 [17:58:58]MH_I2C_Read... [17:58:58]Read from MH i2c: E2 03 00 [17:58:58]MH_I2C_Read... [17:58:58]Read from MH i2c: E2 03 00 60 0F 00 90 00 E3 [17:58:58]RAPDU: 90 00 [17:58:58]wFMCommunicate OK [17:58:58]wFMCommunicate request_size=4 [17:58:58]MH_SAM_APDU [17:58:58]CAPDU: 80 0D 03 02 [17:58:58]Write to MH i2c: E2 08 00 61 0F 80 0D 03 02 00 00 00 00 EB [17:58:58]Write i2c OK [17:58:58]MH_I2C_Read... [17:58:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:58:58]Read from MH i2c: E2 [17:58:58]MH_I2C_Read... [17:58:58]Read from MH i2c: E2 0B 00 [17:58:58]MH_I2C_Read... [17:58:58]Read from MH i2c: E2 0B 00 61 0F 00 1A 4A F3 A0 D6 31 59 25 90 00 68 [17:58:58]RAPDU: 1A 4A F3 A0 D6 31 59 25 90 00 [17:58:58]wFMCommunicate OK [17:58:58]SAM_PROTO_SignData done [17:58:58]FM_MakeSignedData done [17:58:58]CreateOFDProtocolMessage [17:58:58]wFMCommunicate request_size=4 [17:58:58]MH_SAM_APDU [17:58:58]CAPDU: 80 11 00 00 [17:58:58]Write to MH i2c: E2 08 00 62 0F 80 11 00 00 00 00 00 00 EB [17:58:58]Write i2c OK [17:58:58]MH_I2C_Read... [17:58:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:58:58]Read from MH i2c: E2 [17:58:58]MH_I2C_Read... [17:58:58]Read from MH i2c: E2 17 00 [17:58:58]MH_I2C_Read... [17:58:58]Read from MH i2c: E2 17 00 62 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 3B [17:58:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:58:58]wFMCommunicate OK [17:58:58]CreateOFDProtocolMessage done [17:58:58]OFDSenderStorePacket 37735 [17:58:58]StoreOFDPacket docnum=37735 [17:58: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 9D 01 00 00 D3 BB 95 01 FB 87 5A 03 01 00 03 00 89 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 30 39 35 06 04 2C 00 D0 91 D0 B5 D0 BB D1 8B D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 43 61 72 61 6D 65 6C 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C 44 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 64 7F 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 67 93 00 00 35 04 06 00 A3 4A 4C C3 A0 BC 1A 4A F3 A0 D6 31 59 25 [17:58:58]CheckFolder [17:58:58]dirname=/storage/ofd_packets [17:58:58]CheckFolder done [17:58:58]ProducePacketName [17:58:58]name=ofd_packets/00037735 [17:58:58]NVStorageSaveData ofd_packets/00037735 [17:58:58]File name is /storage/ofd_packets/00037735 [17:58:58]Write 443 bytes [17:58:58]NVStorageSaveData done [17:58:58]OFDSenderStorePacket done [17:58:58]KKMCreateOFDPacket done [17:58:58]NVStorageSaveData kkm_last_timestamp [17:58:58]File name is /storage/kkm_last_timestamp [17:58:58]Write 4 bytes [17:58:58]NVStorageSaveData done [17:58:58]ExternCall_PrintAddStr [17:58:58]wPrintStart [17:58:58]Write to MH i2c: 01 00 00 63 0F 72 [17:58:59]OFD Sender: Processing packet 37735 [packets to send 42, broken 41] [17:58:59]ProducePacketName [17:58:59]name=ofd_packets/00037735 [17:58:59]OFD Sender: To server: pG, [17:58:59]CommunicateWithHost lk.salyk.kg:30040 [17:58:59]Write i2c OK [17:58:59]ConnectInit lk.salyk.kg [17:58:59]MH_I2C_Read... [17:58:59]Read from MH i2c: 01 [17:58:59]MH_I2C_Read... [17:58:59]Read from MH i2c: 01 07 00 [17:58:59]MH_I2C_Read... [17:58:59]Read from MH i2c: 01 07 00 63 0F 00 00 00 00 00 FF 0F 87 [17:58:59]RasterBufferAndPrint [17:58:59]line Счет N : (3)35033 [17:58:59]line ИНН: 02508201610067 [17:58:59]line Контрольно-Кассовый Чек [17:58:59]line ПРОДАЖА [17:58:59]line Товар: 4600452021095 [17:58:59]line Белый шоколад OZera Caramel 90г [17:58:59]line 1.000 * 130.00 [17:58:59]line = 130.00 [17:58:59]line НДС 12% НСП 1% [17:58:59]line > о реализуемом товаре [17:58:59]line Товар: 42203100 [17:58:59]line Жев Orbit банан-клубника [17:58:59]line 1.000 * 45.00 [17:58:59]line = 45.00 [17:58:59]line НДС 12% НСП 1% [17:58:59]line > о реализуемом товаре [17:58:59]line ИТОГО: 175.00 [17:58:59]line НСП 1% : 1.55 [17:58:59]line НДС 12% : 18.58 [17:58:59]line Наличными: 0.00 [17:58:59]line Безнал.: 175.00 [17:58:59]line Место: АЗС № 126 "Партнер Нефть" [17:58:59]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [17:58:59]line СНО: Общий режим [17:58:59]line Чек 61 27.10.2024 17:59 [17:58:59]line Смена: 550 ФФД: 1.0 [17:58:59]line ЗНМ: 0300000092 [17:58:59]line РНМ: 0000000000091684 [17:58:59]line Версия ККМ: 001 [17:58:59]line Платежная система: Mbank [17:58:59]line ФМ: 0000000000871841 [17:58:59]line ФД: 37735 [17:58:59]line ФПД: 179539510796476 [17:58:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T175900&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37735&fm=179539510796476&tin=02508201610067®Number=0000000000091684&sum=17500 [17:58:59]line 0 [17:58:59]written 0, free lines is 4095 [17:58:59]Connected sock=10 [17:58: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 9D 01 00 00 D3 BB 95 01 FB 87 5A 03 01 00 03 00 89 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 30 39 35 06 04 2C 00 D0 91 D0 B5 D0 BB D1 8B D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 43 61 72 61 6D 65 6C 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C 44 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 64 7F 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 67 93 00 00 35 04 06 00 A3 4A 4C C3 A0 BC 1A 4A F3 A0 D6 31 59 25 [17:58:59]Write to MH i2c: 01 00 00 93 0F A2 [17:58:59]Write i2c OK [17:58:59]MH_I2C_Read... [17:58:59]Read from MH i2c: 01 [17:58:59]MH_I2C_Read... [17:58:59]Read from MH i2c: 01 07 00 [17:58:59]MH_I2C_Read... [17:58:59]Read from MH i2c: 01 07 00 93 0F 00 00 00 00 00 2F 0C E4 [17:58:59]RasterBufferAndPrint [17:58:59]line [17:58:59]line [17:58:59]line [17:58:59]line [17:58:59]line [17:58:59]written 0, free lines is 3125 [17:58:59]MH_Cut [17:58:59]Write to MH i2c: D1 01 00 9A 0F 01 7B [17:58:59]Write i2c OK [17:58:59]MH_I2C_Read... [17:58: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 84 2D 47 00 83 E3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 67 93 00 00 F4 03 04 00 5B 2A 1E 67 B6 04 01 00 00 71 04 95 CD AA C9 78 88 [17:58:59]CommunicateWithHost err = 0 [17:58:59]CheckOFDResponse [17:58:59]1017 (14) - 77093643461234 [17:58:59]1041 (16) - 0000000000871841 [17:58:59]1040 (4) - 37735 [17:58:59]1012 (4) - 27.10.2024 11:56 [17:58:59]1206 (1) - 0 [17:58:59]OFD Sender: Remove packet 37735 [17:58:59]ProducePacketName [17:58:59]name=ofd_packets/00037735 [17:58:59]NVStorageDeleteData [17:58:59]Read from MH i2c: D1 [17:58:59]MH_I2C_Read... [17:58:59]Read from MH i2c: D1 01 00 [17:58:59]MH_I2C_Read... [17:58:59]Read from MH i2c: D1 01 00 9A 0F 00 7A [17:58:59]Write to MH i2c: 01 00 00 9B 0F AA [17:58:59]Write i2c OK [17:58:59]MH_I2C_Read... [17:59:00]OFD Sender: No OFD packet to send [17:59:00]*** Cut start [17:59:00]*** Partial cut [17:59:00]*** CUTSNS_PIN = 1 [17:59:00]*** CUTSNS_PIN = 0 [17:59:01]*** Brake cut motor [17:59:01]Read from MH i2c: 01 [17:59:01]MH_I2C_Read... [17:59:01]*** Stop cut motor [17:59:01]*** Cut end [17:59:01]Read from MH i2c: 01 07 00 [17:59:01]MH_I2C_Read... [17:59:01]Read from MH i2c: 01 07 00 9B 0F 00 00 00 00 00 FF 0F BF [17:59:01]process_action close_receipt done [17:59:01]requested_data is exist [17:59:01]produce_requested_data [17:59:01]requested_item fm.sn is exist - process it [17:59:01]wFMCommunicate request_size=4 [17:59:01]MH_SAM_APDU [17:59:01]CAPDU: 80 11 00 00 [17:59:01]Write to MH i2c: E2 08 00 9C 0F 80 11 00 00 00 00 00 00 25 [17:59:01]Write i2c OK [17:59:01]MH_I2C_Read... [17:59:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:59:01]Read from MH i2c: E2 [17:59:01]MH_I2C_Read... [17:59:01]Read from MH i2c: E2 17 00 [17:59:01]MH_I2C_Read... [17:59:01]Read from MH i2c: E2 17 00 9C 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 75 [17:59: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:59:01]wFMCommunicate OK [17:59:01]requested_item fd.num is exist - process it [17:59:01]SAM_PROTO_GetFieldsCounters [17:59:01]wFMCommunicate request_size=4 [17:59:01]MH_SAM_APDU [17:59:01]CAPDU: 80 13 00 00 [17:59:01]Write to MH i2c: E2 08 00 9D 0F 80 13 00 00 00 00 00 00 28 [17:59:01]Write i2c OK [17:59:01]MH_I2C_Read... [17:59:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:59:01]Read from MH i2c: E2 [17:59:01]MH_I2C_Read... [17:59:01]Read from MH i2c: E2 62 00 [17:59:01]MH_I2C_Read... [17:59:01]Read from MH i2c: E2 62 00 9D 0F 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 67 93 00 00 0E 04 04 00 26 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 22 [17:59: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 67 93 00 00 0E 04 04 00 26 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 [17:59:01]wFMCommunicate OK [17:59:01]SAM_PROTO_GetFieldsCounters done [17:59:01]requested_item shift.num is exist - process it [17:59:01]requested_item shift.opened is exist - process it [17:59:01]req_shift_opened [17:59:01]FM_GetShiftState [17:59:01]SAM_PROTO_GetShiftState [17:59:01]wFMCommunicate request_size=4 [17:59:01]MH_SAM_APDU [17:59:01]CAPDU: 80 13 01 00 [17:59:01]Write to MH i2c: E2 08 00 9E 0F 80 13 01 00 00 00 00 00 2A [17:59:01]Write i2c OK [17:59:01]MH_I2C_Read... [17:59:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:59:01]Read from MH i2c: E2 [17:59:01]MH_I2C_Read... [17:59:01]Read from MH i2c: E2 0E 00 [17:59:01]MH_I2C_Read... [17:59:01]Read from MH i2c: E2 0E 00 9E 0F 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 E1 [17:59:01]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [17:59:01]wFMCommunicate OK [17:59:01]SAM_PROTO_GetShiftState done [17:59:01]FM_GetShiftState done [17:59:01]req_shift_opened done [17:59:01]requested_item shift.open_date is exist - process it [17:59:01]req_shift_open_date [17:59:01]req_shift_open_date done [17:59:01]produce_requested_data done [17:59:01]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37735,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [17:59:01]process_action_free close_receipt [17:59:01]json_value_free [17:59:01]json_value_free done [17:59:01]process_json_proto returns [17:59:01]Send response to host [17:59:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37735,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [17:59:01]free response buf [17:59:01]execute_script done [17:59:01]execute_script returns [17:59:01]free content buf [17:59:01]Sock 9.Close socket [17:59:01]Sock 9.Thread stoped [17:59:05]OFD Sender: No OFD packet to send [17:59:10]OFD Sender: No OFD packet to send [17:59:15]OFD Sender: No OFD packet to send [17:59:20]OFD Sender: No OFD packet to send [17:59:25]OFD Sender: No OFD packet to send [17:59:30]OFD Sender: No OFD packet to send [17:59:35]OFD Sender: No OFD packet to send [17:59:40]OFD Sender: No OFD packet to send [17:59:45]OFD Sender: No OFD packet to send [17:59:50]OFD Sender: No OFD packet to send [17:59:55]OFD Sender: No OFD packet to send [18:00:00]OFD Sender: No OFD packet to send [18:00:05]OFD Sender: No OFD packet to send [18:00:10]OFD Sender: No OFD packet to send [18:00:15]OFD Sender: No OFD packet to send [18:00:20]OFD Sender: No OFD packet to send [18:00:25]OFD Sender: No OFD packet to send [18:00:30]OFD Sender: No OFD packet to send [18:00:35]OFD Sender: No OFD packet to send [18:00:40]OFD Sender: No OFD packet to send [18:00:45]OFD Sender: No OFD packet to send [18:00:50]OFD Sender: No OFD packet to send [18:00:55]OFD Sender: No OFD packet to send [18:01:00]OFD Sender: No OFD packet to send [18:01:05]OFD Sender: No OFD packet to send [18:01:10]OFD Sender: No OFD packet to send [18:01:15]OFD Sender: No OFD packet to send [18:01:20]OFD Sender: No OFD packet to send [18:01:25]OFD Sender: No OFD packet to send [18:01:30]OFD Sender: No OFD packet to send [18:01:35]OFD Sender: No OFD packet to send [18:01:40]OFD Sender: No OFD packet to send [18:01:45]OFD Sender: No OFD packet to send [18:01:50]OFD Sender: No OFD packet to send [18:01:55]OFD Sender: No OFD packet to send [18:02:00]OFD Sender: No OFD packet to send [18:02:05]OFD Sender: No OFD packet to send [18:02:10]OFD Sender: No OFD packet to send [18:02:15]OFD Sender: No OFD packet to send [18:02:20]OFD Sender: No OFD packet to send [18:02:25]OFD Sender: No OFD packet to send [18:02:30]OFD Sender: No OFD packet to send [18:02:35]OFD Sender: No OFD packet to send [18:02:40]OFD Sender: No OFD packet to send [18:02:45]OFD Sender: No OFD packet to send [18:02:50]OFD Sender: No OFD packet to send [18:02:55]OFD Sender: No OFD packet to send [18:03:00]OFD Sender: No OFD packet to send [18:03:05]OFD Sender: No OFD packet to send [18:03:10]OFD Sender: No OFD packet to send [18:03:15]OFD Sender: No OFD packet to send [18:03:20]OFD Sender: No OFD packet to send [18:03:25]OFD Sender: No OFD packet to send [18:03:30]OFD Sender: No OFD packet to send [18:03:35]OFD Sender: No OFD packet to send [18:03:40]OFD Sender: No OFD packet to send [18:03:45]OFD Sender: No OFD packet to send [18:03:50]OFD Sender: No OFD packet to send [18:03:55]OFD Sender: No OFD packet to send [18:04:00]OFD Sender: No OFD packet to send [18:04:05]OFD Sender: No OFD packet to send [18:04:10]OFD Sender: No OFD packet to send [18:04:15]OFD Sender: No OFD packet to send [18:04:20]OFD Sender: No OFD packet to send [18:04:25]OFD Sender: No OFD packet to send [18:04:30]OFD Sender: No OFD packet to send [18:04:35]OFD Sender: No OFD packet to send [18:04:40]OFD Sender: No OFD packet to send [18:04:45]OFD Sender: No OFD packet to send [18:04:50]OFD Sender: No OFD packet to send [18:04:55]OFD Sender: No OFD packet to send [18:05:00]OFD Sender: No OFD packet to send [18:05:05]OFD Sender: No OFD packet to send [18:05:10]OFD Sender: No OFD packet to send [18:05:15]OFD Sender: No OFD packet to send [18:05:20]OFD Sender: No OFD packet to send [18:05:25]OFD Sender: No OFD packet to send [18:05:30]OFD Sender: No OFD packet to send [18:05:35]OFD Sender: No OFD packet to send [18:05:40]OFD Sender: No OFD packet to send [18:05:45]OFD Sender: No OFD packet to send [18:05:50]OFD Sender: No OFD packet to send [18:05:55]OFD Sender: No OFD packet to send [18:06:00]OFD Sender: No OFD packet to send [18:06:05]OFD Sender: No OFD packet to send [18:06:10]OFD Sender: No OFD packet to send [18:06:15]OFD Sender: No OFD packet to send [18:06:20]OFD Sender: No OFD packet to send [18:06:25]OFD Sender: No OFD packet to send [18:06:30]OFD Sender: No OFD packet to send [18:06: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:06:56]accept exits with 7 [18:06:56]New connection [18:06:56]New thread 3067297124 created [18:06:56]Thread 3067440484 joined [18:06:56]Waiting for new connection... [18:06:56] Sock 7.Parse request [18:06:56]Sock 7.Check first char [18:06:56]Sock 7.First char is OK [18:06:56]request: POST /json_proto HTTP/1.0 [18:06:56]Method: POST [18:06:56]URL: /json_proto [18:06:56]Method is POST - this is cgi request [18:06:56]url: /json_proto [18:06:56]query_string will be loaded in cgi processing [18:06:56]execute_cgi json_proto POST (null) [18:06:56]execute_cgi path=json_proto method=POST [18:06:56]POST find Content-Length [18:06:56]Host: 172.17.40.196:8080 [18:06:56]Content-Length: 621 [18:06:56]Content-Type: application/json [18:06:56] [18:06:56]POST finish read [18:06:56]Found Content-Length = 621 [18:06:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35034", "tax_sys" : 0, "items" : [ { "code": "48744997", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Compact Blue", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:06:56]execute_script... [18:06:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35034", "tax_sys" : 0, "items" : [ { "code": "48744997", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Compact Blue", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:06:56]POST & json_proto [18:06:56]process_json_proto [18:06:56]json parsed OK: [18:06:56]protocol is kg_v1.0 [18:06:56]action value=close_receipt [18:06:56]process_action close_receipt [18:06:56]cmd_close_receipt [18:06:56]MH_GetDate [18:06:56]Write to MH i2c: F0 00 00 9F 0F 9D [18:06:56]Write i2c OK [18:06:56]MH_I2C_Read... [18:06:56]Read from MH i2c: F0 [18:06:56]MH_I2C_Read... [18:06:56]Read from MH i2c: F0 09 00 [18:06:56]MH_I2C_Read... [18:06:56]Read from MH i2c: F0 09 00 9F 0F 00 44 81 1E 67 5B 68 A1 66 BA [18:06:56]GetLastDocTimeStamp 1730051940 [18:06:56]current date 1730052420 [18:06:56]FM_GetShiftState [18:06:56]SAM_PROTO_GetShiftState [18:06:56]wFMCommunicate request_size=4 [18:06:56]MH_SAM_APDU [18:06:56]CAPDU: 80 13 01 00 [18:06:56]Write to MH i2c: E2 08 00 A0 0F 80 13 01 00 00 00 00 00 2C [18:06:56]Write i2c OK [18:06:56]MH_I2C_Read... [18:06:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:06:56]Read from MH i2c: E2 [18:06:56]MH_I2C_Read... [18:06:56]Read from MH i2c: E2 0E 00 [18:06:56]MH_I2C_Read... [18:06:56]Read from MH i2c: E2 0E 00 A0 0F 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 E3 [18:06:56]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [18:06:56]wFMCommunicate OK [18:06:56]SAM_PROTO_GetShiftState done [18:06:56]FM_GetShiftState done [18:06:56]opened in 1729987492 [18:06:56]opened+sec_in_day 1730073892 [18:06:56]quantity*price = 13900 [18:06:56]sum+1 = 13901 [18:06:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 62 27.10.2024 18:07 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37736 ФПД: 174796222970539 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T180700&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37736&fm=174796222970539&tin=02508201610067®Number=0000000000091684&sum=13900 0 [18:06:58]StoreToDocumentArchive [18:06:58]shift 550 fd 37736 [18:06:58]save to /storage/0550/doc_00037736 [18:06:58]save last doc name /storage/0550/doc_00037736 to /storage/kkm_last_doc_name [18:06:58]save OK [18:06:58]Clear old archive folders... [18:06:58]ProcessDocumentItem done err = 0, tmpTLVsize=274 [18:06:58]tlvbuf is 00281F60 [18:06:58]SAM_PROTO_ClearQueue [18:06:58]wFMCommunicate request_size=4 [18:06:58]MH_SAM_APDU [18:06:58]CAPDU: 80 09 00 00 [18:06:58]Write to MH i2c: E2 08 00 AD 0F 80 09 00 00 00 00 00 00 2E [18:06:58]Write i2c OK [18:06:58]MH_I2C_Read... [18:06:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:06:58]Read from MH i2c: E2 [18:06:58]MH_I2C_Read... [18:06:58]Read from MH i2c: E2 03 00 [18:06:58]MH_I2C_Read... [18:06:58]Read from MH i2c: E2 03 00 AD 0F 00 90 00 30 [18:06:58]RAPDU: 90 00 [18:06:58]wFMCommunicate OK [18:06:58]SAM_PROTO_ClearQueue done [18:06:58]KKMCreateOFDPacket [18:06:58]OFDProtocolAddRootSTLVToBuf [18:06:58]FM_MakeSignedData [18:06:58]FM_MakeSignedData [18:06:58]SAM_PROTO_SignData [18:06:58]wFMCommunicate request_size=4 [18:06:58]MH_SAM_APDU [18:06:58]CAPDU: 80 0D 01 02 [18:06:58]Write to MH i2c: E2 08 00 AE 0F 80 0D 01 02 00 00 00 00 36 [18:06:58]Write i2c OK [18:06:58]MH_I2C_Read... [18:06:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:06:58]Read from MH i2c: E2 [18:06:58]MH_I2C_Read... [18:06:58]Read from MH i2c: E2 03 00 [18:06:58]MH_I2C_Read... [18:06:58]Read from MH i2c: E2 03 00 AE 0F 00 90 00 31 [18:06:58]RAPDU: 90 00 [18:06:58]wFMCommunicate OK [18:06:58]wFMCommunicate request_size=255 [18:06:58]MH_SAM_APDU [18:06:58]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 34 39 39 37 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 44 81 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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:06:58]Write to MH i2c: E2 02 01 AF 0F 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 34 39 39 37 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 44 81 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 81 [18:06:58]Write i2c OK [18:06:58]MH_I2C_Read... [18:06:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:06:58]Read from MH i2c: E2 [18:06:58]MH_I2C_Read... [18:06:58]Read from MH i2c: E2 03 00 [18:06:58]MH_I2C_Read... [18:06:58]Read from MH i2c: E2 03 00 AF 0F 00 90 00 32 [18:06:58]RAPDU: 90 00 [18:06:58]wFMCommunicate OK [18:06:58]wFMCommunicate request_size=33 [18:06:58]MH_SAM_APDU [18:06:58]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 38 34 31 10 04 04 00 68 93 00 00 35 04 06 00 9E F9 EA C7 3A AB [18:06:58]Write to MH i2c: E2 24 00 B0 0F 80 0D 02 02 1C 00 30 30 30 30 38 37 31 38 34 31 10 04 04 00 68 93 00 00 35 04 06 00 9E F9 EA C7 3A AB 00 00 ED [18:06:58]Write i2c OK [18:06:58]MH_I2C_Read... [18:06:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:06:58]Read from MH i2c: E2 [18:06:58]MH_I2C_Read... [18:06:58]Read from MH i2c: E2 03 00 [18:06:58]MH_I2C_Read... [18:06:58]Read from MH i2c: E2 03 00 B0 0F 00 90 00 33 [18:06:58]RAPDU: 90 00 [18:06:58]wFMCommunicate OK [18:06:58]wFMCommunicate request_size=4 [18:06:58]MH_SAM_APDU [18:06:58]CAPDU: 80 0D 03 02 [18:06:58]Write to MH i2c: E2 08 00 B1 0F 80 0D 03 02 00 00 00 00 3B [18:06:58]Write i2c OK [18:06:58]MH_I2C_Read... [18:06:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:06:58]Read from MH i2c: E2 [18:06:58]MH_I2C_Read... [18:06:58]Read from MH i2c: E2 0B 00 [18:06:58]MH_I2C_Read... [18:06:58]Read from MH i2c: E2 0B 00 B1 0F 00 A7 EA F1 D2 38 70 78 EC 90 00 9C [18:06:58]RAPDU: A7 EA F1 D2 38 70 78 EC 90 00 [18:06:58]wFMCommunicate OK [18:06:58]SAM_PROTO_SignData done [18:06:58]FM_MakeSignedData done [18:06:58]CreateOFDProtocolMessage [18:06:58]wFMCommunicate request_size=4 [18:06:58]MH_SAM_APDU [18:06:58]CAPDU: 80 11 00 00 [18:06:58]Write to MH i2c: E2 08 00 B2 0F 80 11 00 00 00 00 00 00 3B [18:06:58]Write i2c OK [18:06:58]MH_I2C_Read... [18:06:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:06:58]Read from MH i2c: E2 [18:06:58]MH_I2C_Read... [18:06:58]Read from MH i2c: E2 17 00 [18:06:58]MH_I2C_Read... [18:06:58]Read from MH i2c: E2 17 00 B2 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 8B [18:06:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:06:58]wFMCommunicate OK [18:06:58]CreateOFDProtocolMessage done [18:06:58]OFDSenderStorePacket 37736 [18:06:58]StoreOFDPacket docnum=37736 [18:06: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 B0 36 1E 01 18 21 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 34 39 39 37 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 44 81 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 68 93 00 00 35 04 06 00 9E F9 EA C7 3A AB A7 EA F1 D2 38 70 78 EC [18:06:58]CheckFolder [18:06:58]dirname=/storage/ofd_packets [18:06:58]CheckFolder done [18:06:58]ProducePacketName [18:06:58]name=ofd_packets/00037736 [18:06:58]NVStorageSaveData ofd_packets/00037736 [18:06:58]File name is /storage/ofd_packets/00037736 [18:06:58]Write 324 bytes [18:06:58]NVStorageSaveData done [18:06:58]OFDSenderStorePacket done [18:06:58]KKMCreateOFDPacket done [18:06:58]NVStorageSaveData kkm_last_timestamp [18:06:58]File name is /storage/kkm_last_timestamp [18:06:58]Write 4 bytes [18:06:58]NVStorageSaveData done [18:06:58]ExternCall_PrintAddStr [18:06:58]wPrintStart [18:06:58]Write to MH i2c: 01 00 00 B3 0F C2 [18:06:58]Write i2c OK [18:06:58]MH_I2C_Read... [18:06:58]Read from MH i2c: 01 [18:06:58]MH_I2C_Read... [18:06:58]Read from MH i2c: 01 07 00 [18:06:58]MH_I2C_Read... [18:06:58]Read from MH i2c: 01 07 00 B3 0F 00 00 00 00 00 FF 0F D7 [18:06:58]RasterBufferAndPrint [18:06:58]line Счет N : (3)35034 [18:06:58]line ИНН: 02508201610067 [18:06:58]line Контрольно-Кассовый Чек [18:06:58]line ПРОДАЖА [18:06:58]line Товар: 48744997 [18:06:58]line Сигареты Winston Compact Blue [18:06:58]line 1.000 * 139.00 [18:06:58]line = 139.00 [18:06:58]line НДС 12% НСП 1% [18:06:58]line > о реализуемом товаре [18:06:58]line ИТОГО: 139.00 [18:06:58]line НСП 1% : 1.23 [18:06:58]line НДС 12% : 14.76 [18:06:58]line Наличными: 139.00 [18:06:58]line Безнал.: 0.00 [18:06:58]line Место: АЗС № 126 "Партнер Нефть" [18:06:58]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [18:06:58]line СНО: Общий режим [18:06:58]line Чек 62 27.10.2024 18:07 [18:06:58]line Смена: 550 ФФД: 1.0 [18:06:58]line ЗНМ: 0300000092 [18:06:58]line РНМ: 0000000000091684 [18:06:58]line Версия ККМ: 001 [18:06:58]line ФМ: 0000000000871841 [18:06:58]line ФД: 37736 [18:06:58]line ФПД: 174796222970539 [18:06:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T180700&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37736&fm=174796222970539&tin=02508201610067®Number=0000000000091684&sum=13900 [18:06:58]line 0 [18:06:58]OFD Sender: Processing packet 37736 [packets to send 42, broken 41] [18:06:58]ProducePacketName [18:06:58]name=ofd_packets/00037736 [18:06:58]OFD Sender: To server: pG, [18:06:58]CommunicateWithHost lk.salyk.kg:30040 [18:06:58]ConnectInit lk.salyk.kg [18:06:58]written 0, free lines is 4095 [18:06:59]Connected sock=10 [18:06: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 B0 36 1E 01 18 21 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 34 39 39 37 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 44 81 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 68 93 00 00 35 04 06 00 9E F9 EA C7 3A AB A7 EA F1 D2 38 70 78 EC [18:06:59]Write to MH i2c: 01 00 00 DC 0F EB [18:06:59]Write i2c OK [18:06:59]MH_I2C_Read... [18:06:59]Read from MH i2c: 01 [18:06:59]MH_I2C_Read... [18:06:59]Read from MH i2c: 01 07 00 [18:06:59]MH_I2C_Read... [18:06:59]Read from MH i2c: 01 07 00 DC 0F 00 00 00 00 00 AE 0C AC [18:06:59]RasterBufferAndPrint [18:06:59]line [18:06:59]line [18:06:59]line [18:06:59]line [18:06:59]line [18:06:59]written 0, free lines is 3250 [18:06:59]MH_Cut [18:06:59]Write to MH i2c: D1 01 00 E3 0F 01 C4 [18:06:59]Write i2c OK [18:06:59]MH_I2C_Read... [18:06:59]Read from MH i2c: D1 [18:06:59]MH_I2C_Read... [18:06:59]Read from MH i2c: D1 01 00 [18:06:59]MH_I2C_Read... [18:06:59]Read from MH i2c: D1 01 00 E3 0F 00 C3 [18:06:59]Write to MH i2c: 01 00 00 E4 0F F3 [18:06:59]Write i2c OK [18:06:59]MH_I2C_Read... [18:06: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 D7 4E 47 00 E8 C2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 68 93 00 00 F4 03 04 00 3B 2C 1E 67 B6 04 01 00 00 77 4C 28 53 B1 D3 37 F9 [18:06:59]CommunicateWithHost err = 0 [18:06:59]CheckOFDResponse [18:06:59]1017 (14) - 77093643461234 [18:06:59]1041 (16) - 0000000000871841 [18:06:59]1040 (4) - 37736 [18:06:59]1012 (4) - 27.10.2024 12:04 [18:06:59]1206 (1) - 0 [18:06:59]OFD Sender: Remove packet 37736 [18:06:59]ProducePacketName [18:06:59]name=ofd_packets/00037736 [18:06:59]NVStorageDeleteData [18:06:59]OFD Sender: No OFD packet to send [18:07:00]*** Cut start [18:07:00]*** Partial cut [18:07:00]*** CUTSNS_PIN = 1 [18:07:00]*** CUTSNS_PIN = 0 [18:07:00]*** Brake cut motor [18:07:00]Read from MH i2c: 01 [18:07:00]MH_I2C_Read... [18:07:00]*** Stop cut motor [18:07:00]*** Cut end [18:07:00]Read from MH i2c: 01 07 00 [18:07:00]MH_I2C_Read... [18:07:00]Read from MH i2c: 01 07 00 E4 0F 00 00 00 00 00 FF 0F 08 [18:07:00]process_action close_receipt done [18:07:00]requested_data is exist [18:07:00]produce_requested_data [18:07:00]requested_item fm.sn is exist - process it [18:07:00]wFMCommunicate request_size=4 [18:07:00]MH_SAM_APDU [18:07:00]CAPDU: 80 11 00 00 [18:07:00]Write to MH i2c: E2 08 00 E5 0F 80 11 00 00 00 00 00 00 6E [18:07:00]Write i2c OK [18:07:00]MH_I2C_Read... [18:07:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:07:00]Read from MH i2c: E2 [18:07:00]MH_I2C_Read... [18:07:00]Read from MH i2c: E2 17 00 [18:07:00]MH_I2C_Read... [18:07:00]Read from MH i2c: E2 17 00 E5 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 BE [18:07:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:07:00]wFMCommunicate OK [18:07:00]requested_item fd.num is exist - process it [18:07:00]SAM_PROTO_GetFieldsCounters [18:07:00]wFMCommunicate request_size=4 [18:07:00]MH_SAM_APDU [18:07:00]CAPDU: 80 13 00 00 [18:07:00]Write to MH i2c: E2 08 00 E6 0F 80 13 00 00 00 00 00 00 71 [18:07:00]Write i2c OK [18:07:00]MH_I2C_Read... [18:07:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:07:01]Read from MH i2c: E2 [18:07:01]MH_I2C_Read... [18:07:01]Read from MH i2c: E2 62 00 [18:07:01]MH_I2C_Read... [18:07:01]Read from MH i2c: E2 62 00 E6 0F 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 68 93 00 00 0E 04 04 00 26 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 6F [18:07: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 68 93 00 00 0E 04 04 00 26 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:07:01]wFMCommunicate OK [18:07:01]SAM_PROTO_GetFieldsCounters done [18:07:01]requested_item shift.num is exist - process it [18:07:01]requested_item shift.opened is exist - process it [18:07:01]req_shift_opened [18:07:01]FM_GetShiftState [18:07:01]SAM_PROTO_GetShiftState [18:07:01]wFMCommunicate request_size=4 [18:07:01]MH_SAM_APDU [18:07:01]CAPDU: 80 13 01 00 [18:07:01]Write to MH i2c: E2 08 00 E7 0F 80 13 01 00 00 00 00 00 73 [18:07:01]Write i2c OK [18:07:01]MH_I2C_Read... [18:07:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:07:01]Read from MH i2c: E2 [18:07:01]MH_I2C_Read... [18:07:01]Read from MH i2c: E2 0E 00 [18:07:01]MH_I2C_Read... [18:07:01]Read from MH i2c: E2 0E 00 E7 0F 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 2A [18:07:01]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [18:07:01]wFMCommunicate OK [18:07:01]SAM_PROTO_GetShiftState done [18:07:01]FM_GetShiftState done [18:07:01]req_shift_opened done [18:07:01]requested_item shift.open_date is exist - process it [18:07:01]req_shift_open_date [18:07:01]req_shift_open_date done [18:07:01]produce_requested_data done [18:07:01]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37736,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [18:07:01]process_action_free close_receipt [18:07:01]json_value_free [18:07:01]json_value_free done [18:07:01]process_json_proto returns [18:07:01]Send response to host [18:07:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37736,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [18:07:01]free response buf [18:07:01]execute_script done [18:07:01]execute_script returns [18:07:01]free content buf [18:07:01]Sock 7.Close socket [18:07:01]Sock 7.Thread stoped [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:55]OFD Sender: No OFD packet to send [18:16:00]OFD Sender: No OFD packet to send [18:16:05]OFD Sender: No OFD packet to send [18:16:10]OFD Sender: No OFD packet to send [18:16:15]OFD Sender: No OFD packet to send [18:16:20]OFD Sender: No OFD packet to send [18:16:25]OFD Sender: No OFD packet to send [18:16:30]OFD Sender: No OFD packet to send [18:16:35]OFD Sender: No OFD packet to send [18:16:40]OFD Sender: No OFD packet to send [18:16:45]OFD Sender: No OFD packet to send [18:16:50]OFD Sender: No OFD packet to send [18:16:55]OFD Sender: No OFD packet to send [18:17:00]OFD Sender: No OFD packet to send [18:17:05]OFD Sender: No OFD packet to send [18:17:10]OFD Sender: No OFD packet to send [18:17:15]OFD Sender: No OFD packet to send [18:17:20]OFD Sender: No OFD packet to send [18:17:25]OFD Sender: No OFD packet to send [18:17:30]OFD Sender: No OFD packet to send [18:17:35]OFD Sender: No OFD packet to send [18:17:40]OFD Sender: No OFD packet to send [18:17:45]OFD Sender: No OFD packet to send [18:17:50]OFD Sender: No OFD packet to send [18:17:55]OFD Sender: No OFD packet to send [18:18:00]OFD Sender: No OFD packet to send [18:18:05]OFD Sender: No OFD packet to send [18:18:10]OFD Sender: No OFD packet to send [18:18:15]OFD Sender: No OFD packet to send [18:18:20]OFD Sender: No OFD packet to send [18:18:25]OFD Sender: No OFD packet to send [18:18:30]OFD Sender: No OFD packet to send [18:18:35]OFD Sender: No OFD packet to send [18:18:40]OFD Sender: No OFD packet to send [18:18:45]OFD Sender: No OFD packet to send [18:18:50]OFD Sender: No OFD packet to send [18:18:55]OFD Sender: No OFD packet to send [18:19:00]OFD Sender: No OFD packet to send [18:19:05]OFD Sender: No OFD packet to send [18:19:10]OFD Sender: No OFD packet to send [18:19:15]OFD Sender: No OFD packet to send [18:19:20]OFD Sender: No OFD packet to send [18:19:25]OFD Sender: No OFD packet to send [18:19:30]OFD Sender: No OFD packet to send [18:19:35]OFD Sender: No OFD packet to send [18:19:40]OFD Sender: No OFD packet to send [18:19:45]OFD Sender: No OFD packet to send [18:19:50]OFD Sender: No OFD packet to send [18:19:55]OFD Sender: No OFD packet to send [18:20:00]OFD Sender: No OFD packet to send [18:20:05]OFD Sender: No OFD packet to send [18:20:10]OFD Sender: No OFD packet to send [18:20:15]OFD Sender: No OFD packet to send [18:20:20]OFD Sender: No OFD packet to send [18:20:25]OFD Sender: No OFD packet to send [18:20:30]OFD Sender: No OFD packet to send [18:20:35]OFD Sender: No OFD packet to send [18:20:40]OFD Sender: No OFD packet to send [18:20:45]OFD Sender: No OFD packet to send [18:20:50]OFD Sender: No OFD packet to send [18:20:55]OFD Sender: No OFD packet to send [18:21:00]OFD Sender: No OFD packet to send [18:21:05]OFD Sender: No OFD packet to send [18:21:10]OFD Sender: No OFD packet to send [18:21:15]OFD Sender: No OFD packet to send [18:21:20]OFD Sender: No OFD packet to send [18:21:25]OFD Sender: No OFD packet to send [18:21:30]OFD Sender: No OFD packet to send [18:21:35]OFD Sender: No OFD packet to send [18:21:40]OFD Sender: No OFD packet to send [18:21:45]OFD Sender: No OFD packet to send [18:21:50]OFD Sender: No OFD packet to send [18:21:55]OFD Sender: No OFD packet to send [18:22:00]OFD Sender: No OFD packet to send [18:22:05]OFD Sender: No OFD packet to send [18:22:10]OFD Sender: No OFD packet to send [18:22:15]OFD Sender: No OFD packet to send [18:22:20]OFD Sender: No OFD packet to send [18:22:22]accept exits with 9 [18:22:22]New connection [18:22:22]New thread 3067440484 created [18:22:22]Thread 3067297124 joined [18:22:22]Waiting for new connection... [18:22:22] Sock 9.Parse request [18:22:22]Sock 9.Check first char [18:22:22]Sock 9.First char is OK [18:22:22]request: POST /json_proto HTTP/1.0 [18:22:22]Method: POST [18:22:22]URL: /json_proto [18:22:22]Method is POST - this is cgi request [18:22:22]url: /json_proto [18:22:22]query_string will be loaded in cgi processing [18:22:22]execute_cgi json_proto POST (null) [18:22:22]execute_cgi path=json_proto method=POST [18:22:22]POST find Content-Length [18:22:22]Host: 172.17.40.196:8080 [18:22:22]Content-Length: 617 [18:22:22]Content-Type: application/json [18:22:22] [18:22:22]POST finish read [18:22:22]Found Content-Length = 617 [18:22:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35035", "tax_sys" : 0, "items" : [ { "code": "48742191", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Bond Street Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:22:22]execute_script... [18:22: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)35035", "tax_sys" : 0, "items" : [ { "code": "48742191", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Bond Street Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:22:22]POST & json_proto [18:22:22]process_json_proto [18:22:22]json parsed OK: [18:22:22]protocol is kg_v1.0 [18:22:22]action value=close_receipt [18:22:22]process_action close_receipt [18:22:22]cmd_close_receipt [18:22:22]MH_GetDate [18:22:22]Write to MH i2c: F0 00 00 E8 0F E6 [18:22:22]Write i2c OK [18:22:22]MH_I2C_Read... [18:22:22]Read from MH i2c: F0 [18:22:22]MH_I2C_Read... [18:22:22]Read from MH i2c: F0 09 00 [18:22:22]MH_I2C_Read... [18:22:22]Read from MH i2c: F0 09 00 E8 0F 00 E2 84 1E 67 5B 68 A1 66 A4 [18:22:22]GetLastDocTimeStamp 1730052420 [18:22:22]current date 1730053346 [18:22:22]FM_GetShiftState [18:22:22]SAM_PROTO_GetShiftState [18:22:22]wFMCommunicate request_size=4 [18:22:22]MH_SAM_APDU [18:22:22]CAPDU: 80 13 01 00 [18:22:22]Write to MH i2c: E2 08 00 E9 0F 80 13 01 00 00 00 00 00 75 [18:22:22]Write i2c OK [18:22:22]MH_I2C_Read... [18:22:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:22:23]Read from MH i2c: E2 [18:22:23]MH_I2C_Read... [18:22:23]Read from MH i2c: E2 0E 00 [18:22:23]MH_I2C_Read... [18:22:23]Read from MH i2c: E2 0E 00 E9 0F 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 2C [18:22:23]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [18:22:23]wFMCommunicate OK [18:22:23]SAM_PROTO_GetShiftState done [18:22:23]FM_GetShiftState done [18:22:23]opened in 1729987492 [18:22:23]opened+sec_in_day 1730073892 [18:22:23]quantity*price = 13400 [18:22:23]sum+1 = 13401 [18:22:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 134.00 НСП 1% : 1.19 НДС 12% : 14.23 Наличными: 134.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 63 27.10.2024 18:22 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37737 ФПД: 199990238200486 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T182226&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37737&fm=199990238200486&tin=02508201610067®Number=0000000000091684&sum=13400 0 [18:22:24]StoreToDocumentArchive [18:22:24]shift 550 fd 37737 [18:22:24]save to /storage/0550/doc_00037737 [18:22:24]save last doc name /storage/0550/doc_00037737 to /storage/kkm_last_doc_name [18:22:24]save OK [18:22:24]Clear old archive folders... [18:22:24]ProcessDocumentItem done err = 0, tmpTLVsize=270 [18:22:24]tlvbuf is 0027ACE0 [18:22:24]SAM_PROTO_ClearQueue [18:22:24]wFMCommunicate request_size=4 [18:22:24]MH_SAM_APDU [18:22:24]CAPDU: 80 09 00 00 [18:22:24]Write to MH i2c: E2 08 00 F6 0F 80 09 00 00 00 00 00 00 77 [18:22:24]Write i2c OK [18:22:24]MH_I2C_Read... [18:22:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:22:24]Read from MH i2c: E2 [18:22:24]MH_I2C_Read... [18:22:24]Read from MH i2c: E2 03 00 [18:22:24]MH_I2C_Read... [18:22:24]Read from MH i2c: E2 03 00 F6 0F 00 90 00 79 [18:22:24]RAPDU: 90 00 [18:22:24]wFMCommunicate OK [18:22:24]SAM_PROTO_ClearQueue done [18:22:24]KKMCreateOFDPacket [18:22:24]OFDProtocolAddRootSTLVToBuf [18:22:24]FM_MakeSignedData [18:22:24]FM_MakeSignedData [18:22:24]SAM_PROTO_SignData [18:22:24]wFMCommunicate request_size=4 [18:22:24]MH_SAM_APDU [18:22:24]CAPDU: 80 0D 01 02 [18:22:24]Write to MH i2c: E2 08 00 F7 0F 80 0D 01 02 00 00 00 00 7F [18:22:24]Write i2c OK [18:22:24]MH_I2C_Read... [18:22:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:22:24]Read from MH i2c: E2 [18:22:24]MH_I2C_Read... [18:22:24]Read from MH i2c: E2 03 00 [18:22:24]MH_I2C_Read... [18:22:24]Read from MH i2c: E2 03 00 F7 0F 00 90 00 7A [18:22:24]RAPDU: 90 00 [18:22:24]wFMCommunicate OK [18:22:24]wFMCommunicate request_size=255 [18:22:24]MH_SAM_APDU [18:22:24]CAPDU: 80 0D 02 02 FA 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 32 31 39 31 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 6F 6E 64 20 53 74 72 65 65 74 20 42 6C 75 65 FF 03 08 00 03 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 3F 00 00 00 F4 03 04 00 E2 84 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [18:22:24]Write to MH i2c: E2 02 01 F8 0F 80 0D 02 02 FA 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 32 31 39 31 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 6F 6E 64 20 53 74 72 65 65 74 20 42 6C 75 65 FF 03 08 00 03 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 3F 00 00 00 F4 03 04 00 E2 84 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 00 00 40 [18:22:24]Write i2c OK [18:22:24]MH_I2C_Read... [18:22:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:22:24]Read from MH i2c: E2 [18:22:24]MH_I2C_Read... [18:22:24]Read from MH i2c: E2 03 00 [18:22:24]MH_I2C_Read... [18:22:24]Read from MH i2c: E2 03 00 F8 0F 00 90 00 7B [18:22:24]RAPDU: 90 00 [18:22:24]wFMCommunicate OK [18:22:24]wFMCommunicate request_size=29 [18:22:24]MH_SAM_APDU [18:22:24]CAPDU: 80 0D 02 02 18 38 37 31 38 34 31 10 04 04 00 69 93 00 00 35 04 06 00 B5 E3 DB 1B 42 A6 [18:22:24]Write to MH i2c: E2 20 00 F9 0F 80 0D 02 02 18 00 38 37 31 38 34 31 10 04 04 00 69 93 00 00 35 04 06 00 B5 E3 DB 1B 42 A6 00 00 B8 [18:22:24]Write i2c OK [18:22:24]MH_I2C_Read... [18:22:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:22:24]Read from MH i2c: E2 [18:22:24]MH_I2C_Read... [18:22:24]Read from MH i2c: E2 03 00 [18:22:24]MH_I2C_Read... [18:22:24]Read from MH i2c: E2 03 00 F9 0F 00 90 00 7C [18:22:24]RAPDU: 90 00 [18:22:24]wFMCommunicate OK [18:22:24]wFMCommunicate request_size=4 [18:22:24]MH_SAM_APDU [18:22:24]CAPDU: 80 0D 03 02 [18:22:24]Write to MH i2c: E2 08 00 FA 0F 80 0D 03 02 00 00 00 00 84 [18:22:24]Write i2c OK [18:22:24]MH_I2C_Read... [18:22:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:22:24]Read from MH i2c: E2 [18:22:24]MH_I2C_Read... [18:22:24]Read from MH i2c: E2 0B 00 [18:22:24]MH_I2C_Read... [18:22:24]Read from MH i2c: E2 0B 00 FA 0F 00 FF 06 DC 43 39 3D 03 B0 90 00 D2 [18:22:24]RAPDU: FF 06 DC 43 39 3D 03 B0 90 00 [18:22:24]wFMCommunicate OK [18:22:24]SAM_PROTO_SignData done [18:22:24]FM_MakeSignedData done [18:22:24]CreateOFDProtocolMessage [18:22:24]wFMCommunicate request_size=4 [18:22:24]MH_SAM_APDU [18:22:24]CAPDU: 80 11 00 00 [18:22:24]Write to MH i2c: E2 08 00 FB 0F 80 11 00 00 00 00 00 00 84 [18:22:24]Write i2c OK [18:22:24]MH_I2C_Read... [18:22:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:22:24]Read from MH i2c: E2 [18:22:24]MH_I2C_Read... [18:22:24]Read from MH i2c: E2 17 00 [18:22:24]MH_I2C_Read... [18:22:24]Read from MH i2c: E2 17 00 FB 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D4 [18:22:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:22:24]wFMCommunicate OK [18:22:24]CreateOFDProtocolMessage done [18:22:24]OFDSenderStorePacket 37737 [18:22:24]StoreOFDPacket docnum=37737 [18:22: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 22 01 00 00 F8 51 1A 01 D4 B6 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 32 31 39 31 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 6F 6E 64 20 53 74 72 65 65 74 20 42 6C 75 65 FF 03 08 00 03 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 3F 00 00 00 F4 03 04 00 E2 84 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 69 93 00 00 35 04 06 00 B5 E3 DB 1B 42 A6 FF 06 DC 43 39 3D 03 B0 [18:22:24]CheckFolder [18:22:24]dirname=/storage/ofd_packets [18:22:24]CheckFolder done [18:22:24]ProducePacketName [18:22:24]name=ofd_packets/00037737 [18:22:24]NVStorageSaveData ofd_packets/00037737 [18:22:24]File name is /storage/ofd_packets/00037737 [18:22:24]Write 320 bytes [18:22:24]NVStorageSaveData done [18:22:24]OFDSenderStorePacket done [18:22:24]KKMCreateOFDPacket done [18:22:24]NVStorageSaveData kkm_last_timestamp [18:22:24]File name is /storage/kkm_last_timestamp [18:22:24]Write 4 bytes [18:22:24]NVStorageSaveData done [18:22:24]ExternCall_PrintAddStr [18:22:24]wPrintStart [18:22:24]Write to MH i2c: 01 00 00 FC 0F 0B [18:22:24]Write i2c OK [18:22:24]MH_I2C_Read... [18:22:24]Read from MH i2c: 01 [18:22:24]MH_I2C_Read... [18:22:24]Read from MH i2c: 01 07 00 [18:22:24]MH_I2C_Read... [18:22:24]Read from MH i2c: 01 07 00 FC 0F 00 00 00 00 00 FF 0F 20 [18:22:24]RasterBufferAndPrint [18:22:24]line Счет N : (3)35035 [18:22:24]line ИНН: 02508201610067 [18:22:24]line Контрольно-Кассовый Чек [18:22:24]line ПРОДАЖА [18:22:24]line Товар: 48742191 [18:22:24]line Сигареты Bond Street Blue [18:22:24]line 1.000 * 134.00 [18:22:24]line = 134.00 [18:22:24]line НДС 12% НСП 1% [18:22:24]line > о реализуемом товаре [18:22:24]line ИТОГО: 134.00 [18:22:24]line НСП 1% : 1.19 [18:22:24]line НДС 12% : 14.23 [18:22:24]line Наличными: 134.00 [18:22:24]line Безнал.: 0.00 [18:22:24]line Место: АЗС № 126 "Партнер Нефть" [18:22:24]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [18:22:24]line СНО: Общий режим [18:22:24]line Чек 63 27.10.2024 18:22 [18:22:24]line Смена: 550 ФФД: 1.0 [18:22:24]line ЗНМ: 0300000092 [18:22:24]line РНМ: 0000000000091684 [18:22:24]line Версия ККМ: 001 [18:22:24]line ФМ: 0000000000871841 [18:22:24]line ФД: 37737 [18:22:24]line ФПД: 199990238200486 [18:22:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T182226&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37737&fm=199990238200486&tin=02508201610067®Number=0000000000091684&sum=13400 [18:22:24]line 0 [18:22:24]written 0, free lines is 4095 [18:22:24]OFD Sender: Processing packet 37737 [packets to send 42, broken 41] [18:22:24]ProducePacketName [18:22:24]name=ofd_packets/00037737 [18:22:24]OFD Sender: To server: pG, [18:22:24]CommunicateWithHost lk.salyk.kg:30040 [18:22:24]ConnectInit lk.salyk.kg [18:22:24]Connected sock=10 [18:22:24]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 22 01 00 00 F8 51 1A 01 D4 B6 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 32 31 39 31 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 6F 6E 64 20 53 74 72 65 65 74 20 42 6C 75 65 FF 03 08 00 03 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 3F 00 00 00 F4 03 04 00 E2 84 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 69 93 00 00 35 04 06 00 B5 E3 DB 1B 42 A6 FF 06 DC 43 39 3D 03 B0 [18:22:25]Write to MH i2c: 01 00 00 24 10 34 [18:22:25]Write i2c OK [18:22:25]MH_I2C_Read... [18:22:25]Read from MH i2c: 01 [18:22:25]MH_I2C_Read... [18:22:25]Read from MH i2c: 01 07 00 [18:22:25]MH_I2C_Read... [18:22:25]Read from MH i2c: 01 07 00 24 10 00 00 00 00 00 CB 0C 12 [18:22:25]RasterBufferAndPrint [18:22:25]line [18:22:25]line [18:22:25]line [18:22:25]line [18:22:25]line [18:22:25]written 0, free lines is 3281 [18:22:25]MH_Cut [18:22:25]Write to MH i2c: D1 01 00 2B 10 01 0D [18:22:25]Write i2c OK [18:22:25]MH_I2C_Read... [18:22:25]Read from MH i2c: D1 [18:22:25]MH_I2C_Read... [18:22:25]Read from MH i2c: D1 01 00 [18:22:25]MH_I2C_Read... [18:22:25]Read from MH i2c: D1 01 00 2B 10 00 0C [18:22:25]Write to MH i2c: 01 00 00 2C 10 3C [18:22:25]Write i2c OK [18:22:25]MH_I2C_Read... [18:22: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 C6 66 47 00 43 EE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 69 93 00 00 F4 03 04 00 D9 2F 1E 67 B6 04 01 00 00 90 6D 6C 5E 2C E7 49 D4 [18:22:25]CommunicateWithHost err = 0 [18:22:25]CheckOFDResponse [18:22:25]1017 (14) - 77093643461234 [18:22:25]1041 (16) - 0000000000871841 [18:22:25]1040 (4) - 37737 [18:22:25]1012 (4) - 27.10.2024 12:19 [18:22:25]1206 (1) - 0 [18:22:25]OFD Sender: Remove packet 37737 [18:22:25]ProducePacketName [18:22:25]name=ofd_packets/00037737 [18:22:25]NVStorageDeleteData [18:22:25]OFD Sender: No OFD packet to send [18:22:25]*** Cut start [18:22:25]*** Partial cut [18:22:25]*** CUTSNS_PIN = 1 [18:22:25]*** CUTSNS_PIN = 0 [18:22:26]*** Brake cut motor [18:22:26]Read from MH i2c: 01 [18:22:26]MH_I2C_Read... [18:22:26]*** Stop cut motor [18:22:26]*** Cut end [18:22:26]Read from MH i2c: 01 07 00 [18:22:26]MH_I2C_Read... [18:22:26]Read from MH i2c: 01 07 00 2C 10 00 00 00 00 00 FF 0F 51 [18:22:26]process_action close_receipt done [18:22:26]requested_data is exist [18:22:26]produce_requested_data [18:22:26]requested_item fm.sn is exist - process it [18:22:26]wFMCommunicate request_size=4 [18:22:26]MH_SAM_APDU [18:22:26]CAPDU: 80 11 00 00 [18:22:26]Write to MH i2c: E2 08 00 2D 10 80 11 00 00 00 00 00 00 B7 [18:22:26]Write i2c OK [18:22:26]MH_I2C_Read... [18:22:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:22:26]Read from MH i2c: E2 [18:22:26]MH_I2C_Read... [18:22:26]Read from MH i2c: E2 17 00 [18:22:26]MH_I2C_Read... [18:22:26]Read from MH i2c: E2 17 00 2D 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 07 [18:22:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:22:26]wFMCommunicate OK [18:22:26]requested_item fd.num is exist - process it [18:22:26]SAM_PROTO_GetFieldsCounters [18:22:26]wFMCommunicate request_size=4 [18:22:26]MH_SAM_APDU [18:22:26]CAPDU: 80 13 00 00 [18:22:26]Write to MH i2c: E2 08 00 2E 10 80 13 00 00 00 00 00 00 BA [18:22:26]Write i2c OK [18:22:26]MH_I2C_Read... [18:22:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:22:26]Read from MH i2c: E2 [18:22:26]MH_I2C_Read... [18:22:26]Read from MH i2c: E2 62 00 [18:22:26]MH_I2C_Read... [18:22:26]Read from MH i2c: E2 62 00 2E 10 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 69 93 00 00 0E 04 04 00 26 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 BC [18:22:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 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 69 93 00 00 0E 04 04 00 26 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:22:26]wFMCommunicate OK [18:22:26]SAM_PROTO_GetFieldsCounters done [18:22:26]requested_item shift.num is exist - process it [18:22:26]requested_item shift.opened is exist - process it [18:22:26]req_shift_opened [18:22:26]FM_GetShiftState [18:22:26]SAM_PROTO_GetShiftState [18:22:26]wFMCommunicate request_size=4 [18:22:26]MH_SAM_APDU [18:22:26]CAPDU: 80 13 01 00 [18:22:26]Write to MH i2c: E2 08 00 2F 10 80 13 01 00 00 00 00 00 BC [18:22:26]Write i2c OK [18:22:26]MH_I2C_Read... [18:22:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:22:26]Read from MH i2c: E2 [18:22:26]MH_I2C_Read... [18:22:26]Read from MH i2c: E2 0E 00 [18:22:26]MH_I2C_Read... [18:22:26]Read from MH i2c: E2 0E 00 2F 10 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 73 [18:22:26]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [18:22:26]wFMCommunicate OK [18:22:26]SAM_PROTO_GetShiftState done [18:22:26]FM_GetShiftState done [18:22:26]req_shift_opened done [18:22:26]requested_item shift.open_date is exist - process it [18:22:26]req_shift_open_date [18:22:26]req_shift_open_date done [18:22:26]produce_requested_data done [18:22:26]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37737,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [18:22:26]process_action_free close_receipt [18:22:26]json_value_free [18:22:26]json_value_free done [18:22:26]process_json_proto returns [18:22:26]Send response to host [18:22:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37737,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [18:22:26]free response buf [18:22:26]execute_script done [18:22:26]execute_script returns [18:22:26]free content buf [18:22:26]Sock 9.Close socket [18:22:26]Sock 9.Thread stoped [18:22:30]OFD Sender: No OFD packet to send [18:22:35]OFD Sender: No OFD packet to send [18:22:40]OFD Sender: No OFD packet to send [18:22:45]OFD Sender: No OFD packet to send [18:22:50]OFD Sender: No OFD packet to send [18:22:55]OFD Sender: No OFD packet to send [18:23:00]OFD Sender: No OFD packet to send [18:23:05]OFD Sender: No OFD packet to send [18:23:10]OFD Sender: No OFD packet to send [18:23:15]OFD Sender: No OFD packet to send [18:23:20]OFD Sender: No OFD packet to send [18:23:25]OFD Sender: No OFD packet to send [18:23:30]OFD Sender: No OFD packet to send [18:23:35]OFD Sender: No OFD packet to send [18:23:40]OFD Sender: No OFD packet to send [18:23:45]OFD Sender: No OFD packet to send [18:23:50]OFD Sender: No OFD packet to send [18:23:55]OFD Sender: No OFD packet to send [18:24:00]OFD Sender: No OFD packet to send [18:24:05]OFD Sender: No OFD packet to send [18:24:10]OFD Sender: No OFD packet to send [18:24:15]OFD Sender: No OFD packet to send [18:24:20]OFD Sender: No OFD packet to send [18:24:25]OFD Sender: No OFD packet to send [18:24:30]OFD Sender: No OFD packet to send [18:24:35]OFD Sender: No OFD packet to send [18:24:40]OFD Sender: No OFD packet to send [18:24:45]OFD Sender: No OFD packet to send [18:24:50]OFD Sender: No OFD packet to send [18:24:55]OFD Sender: No OFD packet to send [18:25:00]OFD Sender: No OFD packet to send [18:25:05]OFD Sender: No OFD packet to send [18:25:10]OFD Sender: No OFD packet to send [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:45]OFD Sender: No OFD packet to send [18:26:50]OFD Sender: No OFD packet to send [18:26:55]OFD Sender: No OFD packet to send [18:27:00]OFD Sender: No OFD packet to send [18:27:05]OFD Sender: No OFD packet to send [18:27:10]OFD Sender: No OFD packet to send [18:27:15]OFD Sender: No OFD packet to send [18:27:20]OFD Sender: No OFD packet to send [18:27:25]OFD Sender: No OFD packet to send [18:27:30]OFD Sender: No OFD packet to send [18:27:35]OFD Sender: No OFD packet to send [18:27:40]OFD Sender: No OFD packet to send [18:27:45]OFD Sender: No OFD packet to send [18:27:50]OFD Sender: No OFD packet to send [18:27:56]OFD Sender: No OFD packet to send [18:28:01]OFD Sender: No OFD packet to send [18:28:06]OFD Sender: No OFD packet to send [18:28:11]OFD Sender: No OFD packet to send [18:28:16]OFD Sender: No OFD packet to send [18:28:21]OFD Sender: No OFD packet to send [18:28:26]OFD Sender: No OFD packet to send [18:28:31]OFD Sender: No OFD packet to send [18:28:36]OFD Sender: No OFD packet to send [18:28:41]OFD Sender: No OFD packet to send [18:28:46]OFD Sender: No OFD packet to send [18:28:51]OFD Sender: No OFD packet to send [18:28:56]OFD Sender: No OFD packet to send [18:29:01]OFD Sender: No OFD packet to send [18:29:06]OFD Sender: No OFD packet to send [18:29:11]OFD Sender: No OFD packet to send [18:29:16]OFD Sender: No OFD packet to send [18:29:21]OFD Sender: No OFD packet to send [18:29:26]OFD Sender: No OFD packet to send [18:29:31]OFD Sender: No OFD packet to send [18:29:36]OFD Sender: No OFD packet to send [18:29:41]OFD Sender: No OFD packet to send [18:29:46]OFD Sender: No OFD packet to send [18:29:51]OFD Sender: No OFD packet to send [18:29:56]OFD Sender: No OFD packet to send [18:30:01]OFD Sender: No OFD packet to send [18:30:06]OFD Sender: No OFD packet to send [18:30:11]OFD Sender: No OFD packet to send [18:30:16]OFD Sender: No OFD packet to send [18:30:21]OFD Sender: No OFD packet to send [18:30:26]OFD Sender: No OFD packet to send [18:30:31]OFD Sender: No OFD packet to send [18:30:36]OFD Sender: No OFD packet to send [18:30:41]OFD Sender: No OFD packet to send [18:30:46]OFD Sender: No OFD packet to send [18:30:51]OFD Sender: No OFD packet to send [18:30:56]OFD Sender: No OFD packet to send [18:31:01]OFD Sender: No OFD packet to send [18:31:06]OFD Sender: No OFD packet to send [18:31:11]OFD Sender: No OFD packet to send [18:31:16]OFD Sender: No OFD packet to send [18:31:21]OFD Sender: No OFD packet to send [18:31:26]OFD Sender: No OFD packet to send [18:31:31]OFD Sender: No OFD packet to send [18:31:36]OFD Sender: No OFD packet to send [18:31:41]OFD Sender: No OFD packet to send [18:31:46]OFD Sender: No OFD packet to send [18:31:51]OFD Sender: No OFD packet to send [18:31:56]OFD Sender: No OFD packet to send [18:32:01]OFD Sender: No OFD packet to send [18:32:06]OFD Sender: No OFD packet to send [18:32:11]OFD Sender: No OFD packet to send [18:32:16]OFD Sender: No OFD packet to send [18:32:21]OFD Sender: No OFD packet to send [18:32:26]OFD Sender: No OFD packet to send [18:32:31]OFD Sender: No OFD packet to send [18:32:36]OFD Sender: No OFD packet to send [18:32:41]OFD Sender: No OFD packet to send [18:32:46]OFD Sender: No OFD packet to send [18:32:51]OFD Sender: No OFD packet to send [18:32:56]OFD Sender: No OFD packet to send [18:33:01]OFD Sender: No OFD packet to send [18:33:06]OFD Sender: No OFD packet to send [18:33:11]OFD Sender: No OFD packet to send [18:33:16]OFD Sender: No OFD packet to send [18:33:21]OFD Sender: No OFD packet to send [18:33:26]OFD Sender: No OFD packet to send [18:33:31]OFD Sender: No OFD packet to send [18:33:36]OFD Sender: No OFD packet to send [18:33:41]OFD Sender: No OFD packet to send [18:33:46]OFD Sender: No OFD packet to send [18:33:51]OFD Sender: No OFD packet to send [18:33:56]OFD Sender: No OFD packet to send [18:34:01]OFD Sender: No OFD packet to send [18:34:06]OFD Sender: No OFD packet to send [18:34:11]OFD Sender: No OFD packet to send [18:34:16]OFD Sender: No OFD packet to send [18:34:21]OFD Sender: No OFD packet to send [18:34:26]OFD Sender: No OFD packet to send [18:34:31]OFD Sender: No OFD packet to send [18:34:36]OFD Sender: No OFD packet to send [18:34:41]OFD Sender: No OFD packet to send [18:34:46]OFD Sender: No OFD packet to send [18:34:51]OFD Sender: No OFD packet to send [18:34:56]OFD Sender: No OFD packet to send [18:35:01]OFD Sender: No OFD packet to send [18:35:06]OFD Sender: No OFD packet to send [18:35:11]OFD Sender: No OFD packet to send [18:35:16]OFD Sender: No OFD packet to send [18:35:21]OFD Sender: No OFD packet to send [18:35:26]OFD Sender: No OFD packet to send [18:35:31]OFD Sender: No OFD packet to send [18:35:36]OFD Sender: No OFD packet to send [18:35:41]OFD Sender: No OFD packet to send [18:35:46]OFD Sender: No OFD packet to send [18:35:51]OFD Sender: No OFD packet to send [18:35:56]OFD Sender: No OFD packet to send [18:36:01]OFD Sender: No OFD packet to send [18:36:06]OFD Sender: No OFD packet to send [18:36:11]OFD Sender: No OFD packet to send [18:36:16]OFD Sender: No OFD packet to send [18:36:21]OFD Sender: No OFD packet to send [18:36:26]OFD Sender: No OFD packet to send [18:36:31]OFD Sender: No OFD packet to send [18:36:36]OFD Sender: No OFD packet to send [18:36:41]OFD Sender: No OFD packet to send [18:36:46]OFD Sender: No OFD packet to send [18:36:51]OFD Sender: No OFD packet to send [18:36:56]OFD Sender: No OFD packet to send [18:37:01]OFD Sender: No OFD packet to send [18:37:06]OFD Sender: No OFD packet to send [18:37:11]OFD Sender: No OFD packet to send [18:37:16]OFD Sender: No OFD packet to send [18:37:21]OFD Sender: No OFD packet to send [18:37:26]OFD Sender: No OFD packet to send [18:37:31]OFD Sender: No OFD packet to send [18:37:36]OFD Sender: No OFD packet to send [18:37:41]OFD Sender: No OFD packet to send [18:37:46]OFD Sender: No OFD packet to send [18:37:51]OFD Sender: No OFD packet to send [18:37:56]OFD Sender: No OFD packet to send [18:38:01]OFD Sender: No OFD packet to send [18:38:06]OFD Sender: No OFD packet to send [18:38:11]OFD Sender: No OFD packet to send [18:38:16]OFD Sender: No OFD packet to send [18:38:21]OFD Sender: No OFD packet to send [18:38:26]OFD Sender: No OFD packet to send [18:38:31]OFD Sender: No OFD packet to send [18:38:36]OFD Sender: No OFD packet to send [18:38:41]OFD Sender: No OFD packet to send [18:38:46]OFD Sender: No OFD packet to send [18:38:51]OFD Sender: No OFD packet to send [18:38:56]OFD Sender: No OFD packet to send [18:39:01]OFD Sender: No OFD packet to send [18:39:06]OFD Sender: No OFD packet to send [18:39:11]OFD Sender: No OFD packet to send [18:39:16]OFD Sender: No OFD packet to send [18:39:21]OFD Sender: No OFD packet to send [18:39:26]OFD Sender: No OFD packet to send [18:39:31]OFD Sender: No OFD packet to send [18:39:36]OFD Sender: No OFD packet to send [18:39:41]OFD Sender: No OFD packet to send [18:39:46]OFD Sender: No OFD packet to send [18:39:51]OFD Sender: No OFD packet to send [18:39:56]OFD Sender: No OFD packet to send [18:40:01]OFD Sender: No OFD packet to send [18:40:06]OFD Sender: No OFD packet to send [18:40:11]OFD Sender: No OFD packet to send [18:40:16]OFD Sender: No OFD packet to send [18:40:21]OFD Sender: No OFD packet to send [18:40:26]OFD Sender: No OFD packet to send [18:40:31]OFD Sender: No OFD packet to send [18:40:36]OFD Sender: No OFD packet to send [18:40:41]OFD Sender: No OFD packet to send [18:40:46]OFD Sender: No OFD packet to send [18:40:51]OFD Sender: No OFD packet to send [18:40:56]OFD Sender: No OFD packet to send [18:41:01]OFD Sender: No OFD packet to send [18:41:06]OFD Sender: No OFD packet to send [18:41:11]OFD Sender: No OFD packet to send [18:41:16]OFD Sender: No OFD packet to send [18:41:21]OFD Sender: No OFD packet to send [18:41:26]OFD Sender: No OFD packet to send [18:41:31]OFD Sender: No OFD packet to send [18:41:36]OFD Sender: No OFD packet to send [18:41:41]OFD Sender: No OFD packet to send [18:41:46]OFD Sender: No OFD packet to send [18:41:51]OFD Sender: No OFD packet to send [18:41:56]OFD Sender: No OFD packet to send [18:42:01]OFD Sender: No OFD packet to send [18:42:06]OFD Sender: No OFD packet to send [18:42:11]OFD Sender: No OFD packet to send [18:42:16]OFD Sender: No OFD packet to send [18:42:21]OFD Sender: No OFD packet to send [18:42:26]OFD Sender: No OFD packet to send [18:42:31]OFD Sender: No OFD packet to send [18:42:36]OFD Sender: No OFD packet to send [18:42:41]OFD Sender: No OFD packet to send [18:42:46]OFD Sender: No OFD packet to send [18:42:51]OFD Sender: No OFD packet to send [18:42:56]OFD Sender: No OFD packet to send [18:43:01]OFD Sender: No OFD packet to send [18:43:06]OFD Sender: No OFD packet to send [18:43:11]OFD Sender: No OFD packet to send [18:43:16]OFD Sender: No OFD packet to send [18:43:21]OFD Sender: No OFD packet to send [18:43:26]OFD Sender: No OFD packet to send [18:43:31]OFD Sender: No OFD packet to send [18:43:36]OFD Sender: No OFD packet to send [18:43:41]OFD Sender: No OFD packet to send [18:43:46]OFD Sender: No OFD packet to send [18:43:51]OFD Sender: No OFD packet to send [18:43:56]OFD Sender: No OFD packet to send [18:44:01]OFD Sender: No OFD packet to send [18:44:06]OFD Sender: No OFD packet to send [18:44:11]OFD Sender: No OFD packet to send [18:44:16]OFD Sender: No OFD packet to send [18:44:21]OFD Sender: No OFD packet to send [18:44:26]OFD Sender: No OFD packet to send [18:44:31]OFD Sender: No OFD packet to send [18:44:36]OFD Sender: No OFD packet to send [18:44:41]OFD Sender: No OFD packet to send [18:44:46]OFD Sender: No OFD packet to send [18:44:51]OFD Sender: No OFD packet to send [18:44:56]OFD Sender: No OFD packet to send [18:45:01]OFD Sender: No OFD packet to send [18:45:06]OFD Sender: No OFD packet to send [18:45:11]OFD Sender: No OFD packet to send [18:45:16]OFD Sender: No OFD packet to send [18:45:21]OFD Sender: No OFD packet to send [18:45:26]OFD Sender: No OFD packet to send [18:45:31]OFD Sender: No OFD packet to send [18:45:36]OFD Sender: No OFD packet to send [18:45:41]OFD Sender: No OFD packet to send [18:45:46]OFD Sender: No OFD packet to send [18:45:51]OFD Sender: No OFD packet to send [18:45:56]OFD Sender: No OFD packet to send [18:46:01]OFD Sender: No OFD packet to send [18:46:06]OFD Sender: No OFD packet to send [18:46:11]OFD Sender: No OFD packet to send [18:46:16]OFD Sender: No OFD packet to send [18:46:21]OFD Sender: No OFD packet to send [18:46:26]OFD Sender: No OFD packet to send [18:46:31]OFD Sender: No OFD packet to send [18:46:36]OFD Sender: No OFD packet to send [18:46:42]OFD Sender: No OFD packet to send [18:46:47]OFD Sender: No OFD packet to send [18:46:52]OFD Sender: No OFD packet to send [18:46:57]OFD Sender: No OFD packet to send [18:47:02]OFD Sender: No OFD packet to send [18:47:07]OFD Sender: No OFD packet to send [18:47:12]OFD Sender: No OFD packet to send [18:47:17]OFD Sender: No OFD packet to send [18:47:22]OFD Sender: No OFD packet to send [18:47:27]OFD Sender: No OFD packet to send [18:47:32]OFD Sender: No OFD packet to send [18:47:37]OFD Sender: No OFD packet to send [18:47:42]OFD Sender: No OFD packet to send [18:47:47]OFD Sender: No OFD packet to send [18:47:52]OFD Sender: No OFD packet to send [18:47:57]OFD Sender: No OFD packet to send [18:48:02]OFD Sender: No OFD packet to send [18:48:07]OFD Sender: No OFD packet to send [18:48:12]OFD Sender: No OFD packet to send [18:48:17]OFD Sender: No OFD packet to send [18:48:22]OFD Sender: No OFD packet to send [18:48:27]OFD Sender: No OFD packet to send [18:48:32]OFD Sender: No OFD packet to send [18:48:37]OFD Sender: No OFD packet to send [18:48:42]OFD Sender: No OFD packet to send [18:48:47]OFD Sender: No OFD packet to send [18:48:52]OFD Sender: No OFD packet to send [18:48:57]OFD Sender: No OFD packet to send [18:49:02]OFD Sender: No OFD packet to send [18:49:07]OFD Sender: No OFD packet to send [18:49:12]OFD Sender: No OFD packet to send [18:49:17]OFD Sender: No OFD packet to send [18:49:22]OFD Sender: No OFD packet to send [18:49:27]OFD Sender: No OFD packet to send [18:49:32]OFD Sender: No OFD packet to send [18:49:37]OFD Sender: No OFD packet to send [18:49:42]OFD Sender: No OFD packet to send [18:49:47]OFD Sender: No OFD packet to send [18:49:52]OFD Sender: No OFD packet to send [18:49:57]OFD Sender: No OFD packet to send [18:50:02]OFD Sender: No OFD packet to send [18:50:07]OFD Sender: No OFD packet to send [18:50:12]OFD Sender: No OFD packet to send [18:50:17]OFD Sender: No OFD packet to send [18:50:22]OFD Sender: No OFD packet to send [18:50:27]OFD Sender: No OFD packet to send [18:50:32]OFD Sender: No OFD packet to send [18:50:37]OFD Sender: No OFD packet to send [18:50:42]OFD Sender: No OFD packet to send [18:50:47]OFD Sender: No OFD packet to send [18:50:52]OFD Sender: No OFD packet to send [18:50:57]OFD Sender: No OFD packet to send [18:51:02]OFD Sender: No OFD packet to send [18:51:07]OFD Sender: No OFD packet to send [18:51:12]OFD Sender: No OFD packet to send [18:51:17]OFD Sender: No OFD packet to send [18:51:22]OFD Sender: No OFD packet to send [18:51:27]OFD Sender: No OFD packet to send [18:51:32]OFD Sender: No OFD packet to send [18:51:37]OFD Sender: No OFD packet to send [18:51:42]OFD Sender: No OFD packet to send [18:51:47]OFD Sender: No OFD packet to send [18:51:52]OFD Sender: No OFD packet to send [18:51:57]OFD Sender: No OFD packet to send [18:52:02]OFD Sender: No OFD packet to send [18:52:07]OFD Sender: No OFD packet to send [18:52:12]OFD Sender: No OFD packet to send [18:52:17]OFD Sender: No OFD packet to send [18:52:22]OFD Sender: No OFD packet to send [18:52:27]OFD Sender: No OFD packet to send [18:52:32]OFD Sender: No OFD packet to send [18:52:37]OFD Sender: No OFD packet to send [18:52:42]OFD Sender: No OFD packet to send [18:52:47]OFD Sender: No OFD packet to send [18:52:52]OFD Sender: No OFD packet to send [18:52:57]OFD Sender: No OFD packet to send [18:53:02]OFD Sender: No OFD packet to send [18:53:07]OFD Sender: No OFD packet to send [18:53:12]OFD Sender: No OFD packet to send [18:53:17]OFD Sender: No OFD packet to send [18:53:22]OFD Sender: No OFD packet to send [18:53:27]OFD Sender: No OFD packet to send [18:53:32]OFD Sender: No OFD packet to send [18:53:37]OFD Sender: No OFD packet to send [18:53:42]OFD Sender: No OFD packet to send [18:53:47]OFD Sender: No OFD packet to send [18:53:52]OFD Sender: No OFD packet to send [18:53:57]OFD Sender: No OFD packet to send [18:54:02]OFD Sender: No OFD packet to send [18:54:07]OFD Sender: No OFD packet to send [18:54:12]OFD Sender: No OFD packet to send [18:54:17]OFD Sender: No OFD packet to send [18:54:22]OFD Sender: No OFD packet to send [18:54:27]OFD Sender: No OFD packet to send [18:54:32]OFD Sender: No OFD packet to send [18:54:37]OFD Sender: No OFD packet to send [18:54:42]OFD Sender: No OFD packet to send [18:54:47]OFD Sender: No OFD packet to send [18:54:52]OFD Sender: No OFD packet to send [18:54:57]OFD Sender: No OFD packet to send [18:55:02]OFD Sender: No OFD packet to send [18:55:07]OFD Sender: No OFD packet to send [18:55:12]OFD Sender: No OFD packet to send [18:55:17]OFD Sender: No OFD packet to send [18:55:22]OFD Sender: No OFD packet to send [18:55:27]OFD Sender: No OFD packet to send [18:55:32]OFD Sender: No OFD packet to send [18:55:37]OFD Sender: No OFD packet to send [18:55:42]OFD Sender: No OFD packet to send [18:55:47]OFD Sender: No OFD packet to send [18:55:52]OFD Sender: No OFD packet to send [18:55:57]OFD Sender: No OFD packet to send [18:56:02]OFD Sender: No OFD packet to send [18:56:07]OFD Sender: No OFD packet to send [18:56:12]OFD Sender: No OFD packet to send [18:56:17]OFD Sender: No OFD packet to send [18:56:22]OFD Sender: No OFD packet to send [18:56:27]OFD Sender: No OFD packet to send [18:56:32]OFD Sender: No OFD packet to send [18:56:37]OFD Sender: No OFD packet to send [18:56:42]OFD Sender: No OFD packet to send [18:56:47]OFD Sender: No OFD packet to send [18:56:52]OFD Sender: No OFD packet to send [18:56:57]OFD Sender: No OFD packet to send [18:57:02]OFD Sender: No OFD packet to send [18:57:07]OFD Sender: No OFD packet to send [18:57:12]OFD Sender: No OFD packet to send [18:57:17]OFD Sender: No OFD packet to send [18:57:22]OFD Sender: No OFD packet to send [18:57:27]OFD Sender: No OFD packet to send [18:57:32]OFD Sender: No OFD packet to send [18:57:37]OFD Sender: No OFD packet to send [18:57:42]OFD Sender: No OFD packet to send [18:57:47]OFD Sender: No OFD packet to send [18:57:52]OFD Sender: No OFD packet to send [18:57:57]OFD Sender: No OFD packet to send [18:58:02]OFD Sender: No OFD packet to send [18:58:07]OFD Sender: No OFD packet to send [18:58:12]OFD Sender: No OFD packet to send [18:58:17]OFD Sender: No OFD packet to send [18:58:22]OFD Sender: No OFD packet to send [18:58:27]OFD Sender: No OFD packet to send [18:58:32]OFD Sender: No OFD packet to send [18:58:37]OFD Sender: No OFD packet to send [18:58:42]OFD Sender: No OFD packet to send [18:58:47]OFD Sender: No OFD packet to send [18:58:48]accept exits with 7 [18:58:48]New connection [18:58:48]New thread 3067297124 created [18:58:48]Thread 3067440484 joined [18:58:48]Waiting for new connection... [18:58:48] Sock 7.Parse request [18:58:48]Sock 7.Check first char [18:58:48]Sock 7.First char is OK [18:58:48]request: POST /json_proto HTTP/1.0 [18:58:48]Method: POST [18:58:48]URL: /json_proto [18:58:48]Method is POST - this is cgi request [18:58:48]url: /json_proto [18:58:48]query_string will be loaded in cgi processing [18:58:48]execute_cgi json_proto POST (null) [18:58:48]execute_cgi path=json_proto method=POST [18:58:48]POST find Content-Length [18:58:48]Host: 172.17.40.196:8080 [18:58:48]Content-Length: 666 [18:58:48]Content-Type: application/json [18:58:48] [18:58:48]POST finish read [18:58:48]Found Content-Length = 666 [18:58:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35036", "tax_sys" : 0, "items" : [ { "code": "4700002085444", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,24\u043B", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:58:48]execute_script... [18:58: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)35036", "tax_sys" : 0, "items" : [ { "code": "4700002085444", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,24\u043B", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:58:48]POST & json_proto [18:58:48]process_json_proto [18:58:48]json parsed OK: [18:58:48]protocol is kg_v1.0 [18:58:48]action value=close_receipt [18:58:48]process_action close_receipt [18:58:48]cmd_close_receipt [18:58:48]MH_GetDate [18:58:48]Write to MH i2c: F0 00 00 30 10 2F [18:58:48]Write i2c OK [18:58:48]MH_I2C_Read... [18:58:48]Read from MH i2c: F0 [18:58:48]MH_I2C_Read... [18:58:48]Read from MH i2c: F0 09 00 [18:58:48]MH_I2C_Read... [18:58:48]Read from MH i2c: F0 09 00 30 10 00 6C 8D 1E 67 5B 68 A1 66 80 [18:58:48]GetLastDocTimeStamp 1730053346 [18:58:48]current date 1730055532 [18:58:48]FM_GetShiftState [18:58:48]SAM_PROTO_GetShiftState [18:58:48]wFMCommunicate request_size=4 [18:58:48]MH_SAM_APDU [18:58:48]CAPDU: 80 13 01 00 [18:58:48]Write to MH i2c: E2 08 00 31 10 80 13 01 00 00 00 00 00 BE [18:58:48]Write i2c OK [18:58:48]MH_I2C_Read... [18:58:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:58:48]Read from MH i2c: E2 [18:58:48]MH_I2C_Read... [18:58:48]Read from MH i2c: E2 0E 00 [18:58:48]MH_I2C_Read... [18:58:48]Read from MH i2c: E2 0E 00 31 10 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 75 [18:58:48]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [18:58:48]wFMCommunicate OK [18:58:48]SAM_PROTO_GetShiftState done [18:58:48]FM_GetShiftState done [18:58:48]opened in 1729987492 [18:58:48]opened+sec_in_day 1730073892 [18:58:48]quantity*price = 20000 [18:58:48]sum+1 = 20001 [18:58:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 200.00 НСП 1% : 1.77 НДС 12% : 21.24 Наличными: 200.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 64 27.10.2024 18:58 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37738 ФПД: 162421022790590 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T185852&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37738&fm=162421022790590&tin=02508201610067®Number=0000000000091684&sum=20000 0 [18:58:49]StoreToDocumentArchive [18:58:49]shift 550 fd 37738 [18:58:49]save to /storage/0550/doc_00037738 [18:58:49]save last doc name /storage/0550/doc_00037738 to /storage/kkm_last_doc_name [18:58:49]save OK [18:58:49]Clear old archive folders... [18:58:49]ProcessDocumentItem done err = 0, tmpTLVsize=283 [18:58:49]tlvbuf is 00217C30 [18:58:49]SAM_PROTO_ClearQueue [18:58:49]wFMCommunicate request_size=4 [18:58:49]MH_SAM_APDU [18:58:49]CAPDU: 80 09 00 00 [18:58:49]Write to MH i2c: E2 08 00 3E 10 80 09 00 00 00 00 00 00 C0 [18:58:49]Write i2c OK [18:58:49]MH_I2C_Read... [18:58:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:58:50]Read from MH i2c: E2 [18:58:50]MH_I2C_Read... [18:58:50]Read from MH i2c: E2 03 00 [18:58:50]MH_I2C_Read... [18:58:50]Read from MH i2c: E2 03 00 3E 10 00 90 00 C2 [18:58:50]RAPDU: 90 00 [18:58:50]wFMCommunicate OK [18:58:50]SAM_PROTO_ClearQueue done [18:58:50]KKMCreateOFDPacket [18:58:50]OFDProtocolAddRootSTLVToBuf [18:58:50]FM_MakeSignedData [18:58:50]FM_MakeSignedData [18:58:50]SAM_PROTO_SignData [18:58:50]wFMCommunicate request_size=4 [18:58:50]MH_SAM_APDU [18:58:50]CAPDU: 80 0D 01 02 [18:58:50]Write to MH i2c: E2 08 00 3F 10 80 0D 01 02 00 00 00 00 C8 [18:58:50]Write i2c OK [18:58:50]MH_I2C_Read... [18:58:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:58:50]Read from MH i2c: E2 [18:58:50]MH_I2C_Read... [18:58:50]Read from MH i2c: E2 03 00 [18:58:50]MH_I2C_Read... [18:58:50]Read from MH i2c: E2 03 00 3F 10 00 90 00 C3 [18:58:50]RAPDU: 90 00 [18:58:50]wFMCommunicate OK [18:58:50]wFMCommunicate request_size=255 [18:58:50]MH_SAM_APDU [18:58:50]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 35 34 34 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 6C 8D 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 [18:58:50]Write to MH i2c: E2 02 01 40 10 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 35 34 34 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 6C 8D 1E 67 0E 04 04 00 26 02 00 00 B9 04 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 1F [18:58:50]Write i2c OK [18:58:50]MH_I2C_Read... [18:58:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:58:50]Read from MH i2c: E2 [18:58:50]MH_I2C_Read... [18:58:50]Read from MH i2c: E2 03 00 [18:58:50]MH_I2C_Read... [18:58:50]Read from MH i2c: E2 03 00 40 10 00 90 00 C4 [18:58:50]RAPDU: 90 00 [18:58:50]wFMCommunicate OK [18:58:50]wFMCommunicate request_size=42 [18:58:50]MH_SAM_APDU [18:58:50]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 6A 93 00 00 35 04 06 00 93 B8 97 5E 13 BE [18:58:50]Write to MH i2c: E2 2D 00 41 10 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 6A 93 00 00 35 04 06 00 93 B8 97 5E 13 BE 00 00 AB [18:58:50]Write i2c OK [18:58:50]MH_I2C_Read... [18:58:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:58:50]Read from MH i2c: E2 [18:58:50]MH_I2C_Read... [18:58:50]Read from MH i2c: E2 03 00 [18:58:50]MH_I2C_Read... [18:58:50]Read from MH i2c: E2 03 00 41 10 00 90 00 C5 [18:58:50]RAPDU: 90 00 [18:58:50]wFMCommunicate OK [18:58:50]wFMCommunicate request_size=4 [18:58:50]MH_SAM_APDU [18:58:50]CAPDU: 80 0D 03 02 [18:58:50]Write to MH i2c: E2 08 00 42 10 80 0D 03 02 00 00 00 00 CD [18:58:50]Write i2c OK [18:58:50]MH_I2C_Read... [18:58:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:58:50]Read from MH i2c: E2 [18:58:50]MH_I2C_Read... [18:58:50]Read from MH i2c: E2 0B 00 [18:58:50]MH_I2C_Read... [18:58:50]Read from MH i2c: E2 0B 00 42 10 00 BE 12 EF 56 65 17 D9 C7 90 00 FF [18:58:50]RAPDU: BE 12 EF 56 65 17 D9 C7 90 00 [18:58:50]wFMCommunicate OK [18:58:50]SAM_PROTO_SignData done [18:58:50]FM_MakeSignedData done [18:58:50]CreateOFDProtocolMessage [18:58:50]wFMCommunicate request_size=4 [18:58:50]MH_SAM_APDU [18:58:50]CAPDU: 80 11 00 00 [18:58:50]Write to MH i2c: E2 08 00 43 10 80 11 00 00 00 00 00 00 CD [18:58:50]Write i2c OK [18:58:50]MH_I2C_Read... [18:58:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:58:50]Read from MH i2c: E2 [18:58:50]MH_I2C_Read... [18:58:50]Read from MH i2c: E2 17 00 [18:58:50]MH_I2C_Read... [18:58:50]Read from MH i2c: E2 17 00 43 10 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:50]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:50]wFMCommunicate OK [18:58:50]CreateOFDProtocolMessage done [18:58:50]OFDSenderStorePacket 37738 [18:58:50]StoreOFDPacket docnum=37738 [18:58: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 2F 01 00 00 7F 8E 27 01 E5 D7 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 35 34 34 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 6C 8D 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 6A 93 00 00 35 04 06 00 93 B8 97 5E 13 BE BE 12 EF 56 65 17 D9 C7 [18:58:50]CheckFolder [18:58:50]dirname=/storage/ofd_packets [18:58:50]CheckFolder done [18:58:50]ProducePacketName [18:58:50]name=ofd_packets/00037738 [18:58:50]NVStorageSaveData ofd_packets/00037738 [18:58:50]File name is /storage/ofd_packets/00037738 [18:58:50]Write 333 bytes [18:58:50]NVStorageSaveData done [18:58:50]OFDSenderStorePacket done [18:58:50]KKMCreateOFDPacket done [18:58:50]NVStorageSaveData kkm_last_timestamp [18:58:50]File name is /storage/kkm_last_timestamp [18:58:50]Write 4 bytes [18:58:50]NVStorageSaveData done [18:58:50]ExternCall_PrintAddStr [18:58:50]wPrintStart [18:58:50]Write to MH i2c: 01 00 00 44 10 54 [18:58:50]Write i2c OK [18:58:50]MH_I2C_Read... [18:58:50]Read from MH i2c: 01 [18:58:50]MH_I2C_Read... [18:58:50]Read from MH i2c: 01 07 00 [18:58:50]MH_I2C_Read... [18:58:50]Read from MH i2c: 01 07 00 44 10 00 00 00 00 00 FF 0F 69 [18:58:50]RasterBufferAndPrint [18:58:50]line Счет N : (3)35036 [18:58:50]line ИНН: 02508201610067 [18:58:50]line Контрольно-Кассовый Чек [18:58:50]line ПРОДАЖА [18:58:50]line Товар: 4700002085444 [18:58:50]line Водка Белое золото 0,24л [18:58:50]line 1.000 * 200.00 [18:58:50]line = 200.00 [18:58:50]line НДС 12% НСП 1% [18:58:50]line > о реализуемом товаре [18:58:50]line ИТОГО: 200.00 [18:58:50]line НСП 1% : 1.77 [18:58:50]line НДС 12% : 21.24 [18:58:50]line Наличными: 200.00 [18:58:50]line Безнал.: 0.00 [18:58:50]line Место: АЗС № 126 "Партнер Нефть" [18:58:50]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [18:58:50]line СНО: Общий режим [18:58:50]line Чек 64 27.10.2024 18:58 [18:58:50]line Смена: 550 ФФД: 1.0 [18:58:50]line ЗНМ: 0300000092 [18:58:50]line РНМ: 0000000000091684 [18:58:50]line Версия ККМ: 001 [18:58:50]line ФМ: 0000000000871841 [18:58:50]line ФД: 37738 [18:58:50]line ФПД: 162421022790590 [18:58:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T185852&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37738&fm=162421022790590&tin=02508201610067®Number=0000000000091684&sum=20000 [18:58:50]line 0 [18:58:50]written 0, free lines is 4095 [18:58:50]OFD Sender: Processing packet 37738 [packets to send 42, broken 41] [18:58:50]ProducePacketName [18:58:50]name=ofd_packets/00037738 [18:58:50]OFD Sender: To server: pG, [18:58:50]CommunicateWithHost lk.salyk.kg:30040 [18:58:50]ConnectInit lk.salyk.kg [18:58:50]Write to MH i2c: 01 00 00 6C 10 7C [18:58:50]Write i2c OK [18:58:50]MH_I2C_Read... [18:58:50]Read from MH i2c: 01 [18:58:50]MH_I2C_Read... [18:58:50]Read from MH i2c: 01 07 00 [18:58:50]MH_I2C_Read... [18:58:50]Read from MH i2c: 01 07 00 6C 10 00 00 00 00 00 C6 0C 55 [18:58:50]RasterBufferAndPrint [18:58:50]line [18:58:50]line [18:58:50]line [18:58:50]line [18:58:50]line [18:58:50]written 0, free lines is 3274 [18:58:51]MH_Cut [18:58:51]Write to MH i2c: D1 01 00 73 10 01 55 [18:58:51]Write i2c OK [18:58:51]MH_I2C_Read... [18:58:51]Read from MH i2c: D1 [18:58:51]MH_I2C_Read... [18:58:51]Read from MH i2c: D1 01 00 [18:58:51]MH_I2C_Read... [18:58:51]Read from MH i2c: D1 01 00 73 10 00 54 [18:58:51]Write to MH i2c: 01 00 00 74 10 84 [18:58:51]Write i2c OK [18:58:51]MH_I2C_Read... [18:58:51]Connected sock=11 [18:58: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 2F 01 00 00 7F 8E 27 01 E5 D7 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 35 34 34 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 6C 8D 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 6A 93 00 00 35 04 06 00 93 B8 97 5E 13 BE BE 12 EF 56 65 17 D9 C7 [18:58: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 77 28 47 00 7B F1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6A 93 00 00 F4 03 04 00 63 38 1E 67 B6 04 01 00 00 09 62 0A 5E AB 09 2F 9B [18:58:51]CommunicateWithHost err = 0 [18:58:51]CheckOFDResponse [18:58:51]1017 (14) - 77093643461234 [18:58:51]1041 (16) - 0000000000871841 [18:58:51]1040 (4) - 37738 [18:58:51]1012 (4) - 27.10.2024 12:56 [18:58:51]1206 (1) - 0 [18:58:51]OFD Sender: Remove packet 37738 [18:58:51]ProducePacketName [18:58:51]name=ofd_packets/00037738 [18:58:51]NVStorageDeleteData [18:58:51]*** Cut start [18:58:51]*** Partial cut [18:58:51]*** CUTSNS_PIN = 1 [18:58:51]*** CUTSNS_PIN = 0 [18:58:51]OFD Sender: No OFD packet to send [18:58:52]*** Brake cut motor [18:58:52]Read from MH i2c: 01 [18:58:52]MH_I2C_Read... [18:58:52]*** Stop cut motor [18:58:52]*** Cut end [18:58:52]Read from MH i2c: 01 07 00 [18:58:52]MH_I2C_Read... [18:58:52]Read from MH i2c: 01 07 00 74 10 00 00 00 00 00 FF 0F 99 [18:58:52]process_action close_receipt done [18:58:52]requested_data is exist [18:58:52]produce_requested_data [18:58:52]requested_item fm.sn is exist - process it [18:58:52]wFMCommunicate request_size=4 [18:58:52]MH_SAM_APDU [18:58:52]CAPDU: 80 11 00 00 [18:58:52]Write to MH i2c: E2 08 00 75 10 80 11 00 00 00 00 00 00 FF [18:58:52]Write i2c OK [18:58:52]MH_I2C_Read... [18:58:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:58:52]Read from MH i2c: E2 [18:58:52]MH_I2C_Read... [18:58:52]Read from MH i2c: E2 17 00 [18:58:52]MH_I2C_Read... [18:58:52]Read from MH i2c: E2 17 00 75 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 4F [18: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 [18:58:52]wFMCommunicate OK [18:58:52]requested_item fd.num is exist - process it [18:58:52]SAM_PROTO_GetFieldsCounters [18:58:52]wFMCommunicate request_size=4 [18:58:52]MH_SAM_APDU [18:58:52]CAPDU: 80 13 00 00 [18:58:52]Write to MH i2c: E2 08 00 76 10 80 13 00 00 00 00 00 00 02 [18:58:52]Write i2c OK [18:58:52]MH_I2C_Read... [18:58:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:58:52]Read from MH i2c: E2 [18:58:52]MH_I2C_Read... [18:58:52]Read from MH i2c: E2 62 00 [18:58:52]MH_I2C_Read... [18:58:52]Read from MH i2c: E2 62 00 76 10 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 6A 93 00 00 0E 04 04 00 26 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 08 [18: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 6A 93 00 00 0E 04 04 00 26 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 [18:58:52]wFMCommunicate OK [18:58:52]SAM_PROTO_GetFieldsCounters done [18:58:52]requested_item shift.num is exist - process it [18:58:52]requested_item shift.opened is exist - process it [18:58:52]req_shift_opened [18:58:52]FM_GetShiftState [18:58:52]SAM_PROTO_GetShiftState [18:58:52]wFMCommunicate request_size=4 [18:58:52]MH_SAM_APDU [18:58:52]CAPDU: 80 13 01 00 [18:58:52]Write to MH i2c: E2 08 00 77 10 80 13 01 00 00 00 00 00 04 [18:58:52]Write i2c OK [18:58:52]MH_I2C_Read... [18:58:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:58:52]Read from MH i2c: E2 [18:58:52]MH_I2C_Read... [18:58:52]Read from MH i2c: E2 0E 00 [18:58:52]MH_I2C_Read... [18:58:52]Read from MH i2c: E2 0E 00 77 10 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 BB [18:58:52]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [18:58:52]wFMCommunicate OK [18:58:52]SAM_PROTO_GetShiftState done [18:58:52]FM_GetShiftState done [18:58:52]req_shift_opened done [18:58:52]requested_item shift.open_date is exist - process it [18:58:52]req_shift_open_date [18:58:52]req_shift_open_date done [18:58:52]produce_requested_data done [18:58:52]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37738,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [18:58:52]process_action_free close_receipt [18:58:52]json_value_free [18:58:52]json_value_free done [18:58:52]process_json_proto returns [18:58:52]Send response to host [18:58:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37738,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [18:58:52]free response buf [18:58:52]execute_script done [18:58:52]execute_script returns [18:58:52]free content buf [18:58:52]Sock 7.Close socket [18:58:52]Sock 7.Thread stoped [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:10]accept exits with 9 [18:59:10]New connection [18:59:10]New thread 3067440484 created [18:59:10]Thread 3067297124 joined [18:59:10]Waiting for new connection... [18:59:10] Sock 9.Parse request [18:59:10]Sock 9.Check first char [18:59:10]Sock 9.First char is OK [18:59:10]request: POST /json_proto HTTP/1.0 [18:59:10]Method: POST [18:59:10]URL: /json_proto [18:59:10]Method is POST - this is cgi request [18:59:10]url: /json_proto [18:59:10]query_string will be loaded in cgi processing [18:59:10]execute_cgi json_proto POST (null) [18:59:10]execute_cgi path=json_proto method=POST [18:59:10]POST find Content-Length [18:59:10]Host: 172.17.40.196:8080 [18:59:10]Content-Length: 584 [18:59:10]Content-Type: application/json [18:59:10] [18:59:10]POST finish read [18:59:10]Found Content-Length = 584 [18:59:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35037", "tax_sys" : 0, "items" : [ { "code": "50173617", "name": "\u0416\u0435\u0432 Orbit Eucalyptus", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:59:10]execute_script... [18:59:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35037", "tax_sys" : 0, "items" : [ { "code": "50173617", "name": "\u0416\u0435\u0432 Orbit Eucalyptus", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:59:10]POST & json_proto [18:59:10]process_json_proto [18:59:10]json parsed OK: [18:59:10]protocol is kg_v1.0 [18:59:10]action value=close_receipt [18:59:10]process_action close_receipt [18:59:10]cmd_close_receipt [18:59:10]MH_GetDate [18:59:10]Write to MH i2c: F0 00 00 78 10 77 [18:59:10]Write i2c OK [18:59:10]MH_I2C_Read... [18:59:10]Read from MH i2c: F0 [18:59:10]MH_I2C_Read... [18:59:10]Read from MH i2c: F0 09 00 [18:59:10]MH_I2C_Read... [18:59:10]Read from MH i2c: F0 09 00 78 10 00 82 8D 1E 67 5B 68 A1 66 DE [18:59:10]GetLastDocTimeStamp 1730055532 [18:59:10]current date 1730055554 [18:59:10]FM_GetShiftState [18:59:10]SAM_PROTO_GetShiftState [18:59:10]wFMCommunicate request_size=4 [18:59:10]MH_SAM_APDU [18:59:10]CAPDU: 80 13 01 00 [18:59:10]Write to MH i2c: E2 08 00 79 10 80 13 01 00 00 00 00 00 06 [18:59:10]Write i2c OK [18:59:10]MH_I2C_Read... [18:59:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:59:10]Read from MH i2c: E2 [18:59:10]MH_I2C_Read... [18:59:10]Read from MH i2c: E2 0E 00 [18:59:10]MH_I2C_Read... [18:59:10]Read from MH i2c: E2 0E 00 79 10 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 BD [18:59:10]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [18:59:10]wFMCommunicate OK [18:59:10]SAM_PROTO_GetShiftState done [18:59:10]FM_GetShiftState done [18:59:10]opened in 1729987492 [18:59:10]opened+sec_in_day 1730073892 [18:59:10]quantity*price = 4500 [18:59:10]sum+1 = 4501 [18:59:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 65 27.10.2024 18:59 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37739 ФПД: 216941667690086 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T185914&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37739&fm=216941667690086&tin=02508201610067®Number=0000000000091684&sum=4500 0 [18:59:12]StoreToDocumentArchive [18:59:12]shift 550 fd 37739 [18:59:12]save to /storage/0550/doc_00037739 [18:59:12]save last doc name /storage/0550/doc_00037739 to /storage/kkm_last_doc_name [18:59:12]save OK [18:59:12]Clear old archive folders... [18:59:12]ProcessDocumentItem done err = 0, tmpTLVsize=260 [18:59:12]tlvbuf is 00217B00 [18:59:12]SAM_PROTO_ClearQueue [18:59:12]wFMCommunicate request_size=4 [18:59:12]MH_SAM_APDU [18:59:12]CAPDU: 80 09 00 00 [18:59:12]Write to MH i2c: E2 08 00 86 10 80 09 00 00 00 00 00 00 08 [18:59:12]Write i2c OK [18:59:12]MH_I2C_Read... [18:59:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:59:12]Read from MH i2c: E2 [18:59:12]MH_I2C_Read... [18:59:12]Read from MH i2c: E2 03 00 [18:59:12]MH_I2C_Read... [18:59:12]Read from MH i2c: E2 03 00 86 10 00 90 00 0A [18:59:12]RAPDU: 90 00 [18:59:12]wFMCommunicate OK [18:59:12]SAM_PROTO_ClearQueue done [18:59:12]KKMCreateOFDPacket [18:59:12]OFDProtocolAddRootSTLVToBuf [18:59:12]FM_MakeSignedData [18:59:12]FM_MakeSignedData [18:59:12]SAM_PROTO_SignData [18:59:12]wFMCommunicate request_size=4 [18:59:12]MH_SAM_APDU [18:59:12]CAPDU: 80 0D 01 02 [18:59:12]Write to MH i2c: E2 08 00 87 10 80 0D 01 02 00 00 00 00 10 [18:59:12]Write i2c OK [18:59:12]MH_I2C_Read... [18:59:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:59:12]Read from MH i2c: E2 [18:59:12]MH_I2C_Read... [18:59:12]Read from MH i2c: E2 03 00 [18:59:12]MH_I2C_Read... [18:59:12]Read from MH i2c: E2 03 00 87 10 00 90 00 0B [18:59:12]RAPDU: 90 00 [18:59:12]wFMCommunicate OK [18:59:12]wFMCommunicate request_size=255 [18:59:12]MH_SAM_APDU [18:59:12]CAPDU: 80 0D 02 02 FA 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 41 00 00 00 F4 03 04 00 82 8D 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [18:59:12]Write to MH i2c: E2 02 01 88 10 80 0D 02 02 FA 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 41 00 00 00 F4 03 04 00 82 8D 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 86 [18:59:12]Write i2c OK [18:59:12]MH_I2C_Read... [18:59:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:59:12]Read from MH i2c: E2 [18:59:12]MH_I2C_Read... [18:59:12]Read from MH i2c: E2 03 00 [18:59:12]MH_I2C_Read... [18:59:12]Read from MH i2c: E2 03 00 88 10 00 90 00 0C [18:59:12]RAPDU: 90 00 [18:59:12]wFMCommunicate OK [18:59:12]wFMCommunicate request_size=19 [18:59:12]MH_SAM_APDU [18:59:12]CAPDU: 80 0D 02 02 0E 6B 93 00 00 35 04 06 00 C5 4E AB 0A 26 66 [18:59:12]Write to MH i2c: E2 16 00 89 10 80 0D 02 02 0E 00 6B 93 00 00 35 04 06 00 C5 4E AB 0A 26 66 00 00 C0 [18:59:12]Write i2c OK [18:59:12]MH_I2C_Read... [18:59:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:59:12]Read from MH i2c: E2 [18:59:12]MH_I2C_Read... [18:59:12]Read from MH i2c: E2 03 00 [18:59:12]MH_I2C_Read... [18:59:12]Read from MH i2c: E2 03 00 89 10 00 90 00 0D [18:59:12]RAPDU: 90 00 [18:59:12]wFMCommunicate OK [18:59:12]wFMCommunicate request_size=4 [18:59:12]MH_SAM_APDU [18:59:12]CAPDU: 80 0D 03 02 [18:59:12]Write to MH i2c: E2 08 00 8A 10 80 0D 03 02 00 00 00 00 15 [18:59:12]Write i2c OK [18:59:12]MH_I2C_Read... [18:59:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:59:12]Read from MH i2c: E2 [18:59:12]MH_I2C_Read... [18:59:12]Read from MH i2c: E2 0B 00 [18:59:12]MH_I2C_Read... [18:59:12]Read from MH i2c: E2 0B 00 8A 10 00 66 BB 2D D8 DF 9E 41 AD 90 00 A7 [18:59:12]RAPDU: 66 BB 2D D8 DF 9E 41 AD 90 00 [18:59:12]wFMCommunicate OK [18:59:12]SAM_PROTO_SignData done [18:59:12]FM_MakeSignedData done [18:59:12]CreateOFDProtocolMessage [18:59:12]wFMCommunicate request_size=4 [18:59:12]MH_SAM_APDU [18:59:12]CAPDU: 80 11 00 00 [18:59:12]Write to MH i2c: E2 08 00 8B 10 80 11 00 00 00 00 00 00 15 [18:59:12]Write i2c OK [18:59:12]MH_I2C_Read... [18:59:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:59:12]Read from MH i2c: E2 [18:59:12]MH_I2C_Read... [18:59:12]Read from MH i2c: E2 17 00 [18:59:12]MH_I2C_Read... [18:59:12]Read from MH i2c: E2 17 00 8B 10 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:59:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:59:12]wFMCommunicate OK [18:59:12]CreateOFDProtocolMessage done [18:59:12]OFDSenderStorePacket 37739 [18:59:12]StoreOFDPacket docnum=37739 [18:59: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 18 01 00 00 B8 D1 10 01 07 7B 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 41 00 00 00 F4 03 04 00 82 8D 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 6B 93 00 00 35 04 06 00 C5 4E AB 0A 26 66 66 BB 2D D8 DF 9E 41 AD [18:59:12]CheckFolder [18:59:12]dirname=/storage/ofd_packets [18:59:12]CheckFolder done [18:59:12]ProducePacketName [18:59:12]name=ofd_packets/00037739 [18:59:12]NVStorageSaveData ofd_packets/00037739 [18:59:12]File name is /storage/ofd_packets/00037739 [18:59:12]Write 310 bytes [18:59:12]NVStorageSaveData done [18:59:12]OFDSenderStorePacket done [18:59:12]KKMCreateOFDPacket done [18:59:12]NVStorageSaveData kkm_last_timestamp [18:59:12]File name is /storage/kkm_last_timestamp [18:59:12]Write 4 bytes [18:59:12]NVStorageSaveData done [18:59:12]ExternCall_PrintAddStr [18:59:12]wPrintStart [18:59:12]Write to MH i2c: 01 00 00 8C 10 9C [18:59:12]Write i2c OK [18:59:12]MH_I2C_Read... [18:59:12]Read from MH i2c: 01 [18:59:12]MH_I2C_Read... [18:59:12]Read from MH i2c: 01 07 00 [18:59:12]MH_I2C_Read... [18:59:12]Read from MH i2c: 01 07 00 8C 10 00 00 00 00 00 FF 0F B1 [18:59:12]RasterBufferAndPrint [18:59:12]line Счет N : (3)35037 [18:59:12]line ИНН: 02508201610067 [18:59:12]line Контрольно-Кассовый Чек [18:59:12]line ПРОДАЖА [18:59:12]line Товар: 50173617 [18:59:12]line Жев Orbit Eucalyptus [18:59:12]line 1.000 * 45.00 [18:59:12]line = 45.00 [18:59:12]line НДС 12% НСП 1% [18:59:12]line > о реализуемом товаре [18:59:12]line ИТОГО: 45.00 [18:59:12]line НСП 1% : 0.40 [18:59:12]line НДС 12% : 4.78 [18:59:12]line Наличными: 45.00 [18:59:12]line Безнал.: 0.00 [18:59:12]line Место: АЗС № 126 "Партнер Нефть" [18:59:12]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [18:59:12]line СНО: Общий режим [18:59:12]line Чек 65 27.10.2024 18:59 [18:59:12]line Смена: 550 ФФД: 1.0 [18:59:12]line ЗНМ: 0300000092 [18:59:12]line РНМ: 0000000000091684 [18:59:12]line Версия ККМ: 001 [18:59:12]line ФМ: 0000000000871841 [18:59:12]line ФД: 37739 [18:59:12]line ФПД: 216941667690086 [18:59:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T185914&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37739&fm=216941667690086&tin=02508201610067®Number=0000000000091684&sum=4500 [18:59:12]line 0 [18:59:12]written 0, free lines is 4095 [18:59:12]OFD Sender: Processing packet 37739 [packets to send 42, broken 41] [18:59:12]ProducePacketName [18:59:12]name=ofd_packets/00037739 [18:59:12]OFD Sender: To server: pG, [18:59:12]CommunicateWithHost lk.salyk.kg:30040 [18:59:12]ConnectInit lk.salyk.kg [18:59:13]Connected sock=11 [18:59: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 18 01 00 00 B8 D1 10 01 07 7B 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 41 00 00 00 F4 03 04 00 82 8D 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 6B 93 00 00 35 04 06 00 C5 4E AB 0A 26 66 66 BB 2D D8 DF 9E 41 AD [18:59:13]Write to MH i2c: 01 00 00 B4 10 C4 [18:59:13]Write i2c OK [18:59:13]MH_I2C_Read... [18:59:13]Read from MH i2c: 01 [18:59:13]MH_I2C_Read... [18:59:13]Read from MH i2c: 01 07 00 [18:59:13]MH_I2C_Read... [18:59:13]Read from MH i2c: 01 07 00 B4 10 00 00 00 00 00 CB 0C A2 [18:59:13]RasterBufferAndPrint [18:59:13]line [18:59:13]line [18:59:13]line [18:59:13]line [18:59:13]line [18:59:13]written 0, free lines is 3279 [18:59:13]MH_Cut [18:59:13]Write to MH i2c: D1 01 00 BB 10 01 9D [18:59:13]Write i2c OK [18:59:13]MH_I2C_Read... [18:59:13]Read from MH i2c: D1 [18:59:13]MH_I2C_Read... [18:59:13]Read from MH i2c: D1 01 00 [18:59:13]MH_I2C_Read... [18:59:13]Read from MH i2c: D1 01 00 BB 10 00 9C [18:59:13]Write to MH i2c: 01 00 00 BC 10 CC [18:59:13]Write i2c OK [18:59:13]MH_I2C_Read... [18:59: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 17 AF 47 00 7E 80 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 6B 93 00 00 F4 03 04 00 79 38 1E 67 B6 04 01 00 00 9C FA 27 26 E0 B4 83 48 [18:59:13]CommunicateWithHost err = 0 [18:59:13]CheckOFDResponse [18:59:13]1017 (14) - 77093643461234 [18:59:13]1041 (16) - 0000000000871841 [18:59:13]1040 (4) - 37739 [18:59:13]1012 (4) - 27.10.2024 12:56 [18:59:13]1206 (1) - 0 [18:59:13]OFD Sender: Remove packet 37739 [18:59:13]ProducePacketName [18:59:13]name=ofd_packets/00037739 [18:59:13]NVStorageDeleteData [18:59:13]OFD Sender: No OFD packet to send [18:59:14]*** Cut start [18:59:14]*** Partial cut [18:59:14]*** CUTSNS_PIN = 1 [18:59:14]*** CUTSNS_PIN = 0 [18:59:14]*** Brake cut motor [18:59:14]Read from MH i2c: 01 [18:59:14]MH_I2C_Read... [18:59:14]*** Stop cut motor [18:59:14]*** Cut end [18:59:14]Read from MH i2c: 01 07 00 [18:59:14]MH_I2C_Read... [18:59:14]Read from MH i2c: 01 07 00 BC 10 00 00 00 00 00 FF 0F E1 [18:59:14]process_action close_receipt done [18:59:14]requested_data is exist [18:59:14]produce_requested_data [18:59:14]requested_item fm.sn is exist - process it [18:59:14]wFMCommunicate request_size=4 [18:59:14]MH_SAM_APDU [18:59:14]CAPDU: 80 11 00 00 [18:59:14]Write to MH i2c: E2 08 00 BD 10 80 11 00 00 00 00 00 00 47 [18:59:14]Write i2c OK [18:59:14]MH_I2C_Read... [18:59:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:59:14]Read from MH i2c: E2 [18:59:14]MH_I2C_Read... [18:59:14]Read from MH i2c: E2 17 00 [18:59:14]MH_I2C_Read... [18:59:14]Read from MH i2c: E2 17 00 BD 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 97 [18:59:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:59:14]wFMCommunicate OK [18:59:14]requested_item fd.num is exist - process it [18:59:14]SAM_PROTO_GetFieldsCounters [18:59:14]wFMCommunicate request_size=4 [18:59:14]MH_SAM_APDU [18:59:14]CAPDU: 80 13 00 00 [18:59:14]Write to MH i2c: E2 08 00 BE 10 80 13 00 00 00 00 00 00 4A [18:59:14]Write i2c OK [18:59:14]MH_I2C_Read... [18:59:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:59:14]Read from MH i2c: E2 [18:59:14]MH_I2C_Read... [18:59:14]Read from MH i2c: E2 62 00 [18:59:14]MH_I2C_Read... [18:59:14]Read from MH i2c: E2 62 00 BE 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 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 6B 93 00 00 0E 04 04 00 26 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 54 [18:59: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 6B 93 00 00 0E 04 04 00 26 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 [18:59:14]wFMCommunicate OK [18:59:14]SAM_PROTO_GetFieldsCounters done [18:59:14]requested_item shift.num is exist - process it [18:59:14]requested_item shift.opened is exist - process it [18:59:14]req_shift_opened [18:59:14]FM_GetShiftState [18:59:14]SAM_PROTO_GetShiftState [18:59:14]wFMCommunicate request_size=4 [18:59:14]MH_SAM_APDU [18:59:14]CAPDU: 80 13 01 00 [18:59:14]Write to MH i2c: E2 08 00 BF 10 80 13 01 00 00 00 00 00 4C [18:59:14]Write i2c OK [18:59:14]MH_I2C_Read... [18:59:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:59:15]Read from MH i2c: E2 [18:59:15]MH_I2C_Read... [18:59:15]Read from MH i2c: E2 0E 00 [18:59:15]MH_I2C_Read... [18:59:15]Read from MH i2c: E2 0E 00 BF 10 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 03 [18:59:15]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [18:59:15]wFMCommunicate OK [18:59:15]SAM_PROTO_GetShiftState done [18:59:15]FM_GetShiftState done [18:59:15]req_shift_opened done [18:59:15]requested_item shift.open_date is exist - process it [18:59:15]req_shift_open_date [18:59:15]req_shift_open_date done [18:59:15]produce_requested_data done [18:59:15]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37739,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [18:59:15]process_action_free close_receipt [18:59:15]json_value_free [18:59:15]json_value_free done [18:59:15]process_json_proto returns [18:59:15]Send response to host [18:59:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37739,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [18:59:15]free response buf [18:59:15]execute_script done [18:59:15]execute_script returns [18:59:15]free content buf [18:59:15]Sock 9.Close socket [18:59:15]Sock 9.Thread stoped [18:59:18]OFD Sender: No OFD packet to send [18:59:24]OFD Sender: No OFD packet to send [18:59:29]OFD Sender: No OFD packet to send [18:59:34]OFD Sender: No OFD packet to send [18:59:39]OFD Sender: No OFD packet to send [18:59:44]OFD Sender: No OFD packet to send [18:59:49]OFD Sender: No OFD packet to send [18:59:54]OFD Sender: No OFD packet to send [18:59:59]OFD Sender: No OFD packet to send [19:00:04]OFD Sender: No OFD packet to send [19:00:09]OFD Sender: No OFD packet to send [19:00:14]OFD Sender: No OFD packet to send [19:00:19]OFD Sender: No OFD packet to send [19:00:24]OFD Sender: No OFD packet to send [19:00:29]OFD Sender: No OFD packet to send [19:00:34]OFD Sender: No OFD packet to send [19:00:39]OFD Sender: No OFD packet to send [19:00:44]OFD Sender: No OFD packet to send [19:00:49]OFD Sender: No OFD packet to send [19:00:54]OFD Sender: No OFD packet to send [19:00:59]OFD Sender: No OFD packet to send [19:00:59]accept exits with 7 [19:00:59]New connection [19:00:59]New thread 3067297124 created [19:00:59]Thread 3067440484 joined [19:00:59]Waiting for new connection... [19:00:59] Sock 7.Parse request [19:00:59]Sock 7.Check first char [19:00:59]Sock 7.First char is OK [19:00:59]request: POST /json_proto HTTP/1.0 [19:00:59]Method: POST [19:00:59]URL: /json_proto [19:00:59]Method is POST - this is cgi request [19:00:59]url: /json_proto [19:00:59]query_string will be loaded in cgi processing [19:00:59]execute_cgi json_proto POST (null) [19:00:59]execute_cgi path=json_proto method=POST [19:00:59]POST find Content-Length [19:00:59]Host: 172.17.40.196:8080 [19:00:59]Content-Length: 674 [19:00:59]Content-Type: application/json [19:00:59] [19:00:59]POST finish read [19:00:59]Found Content-Length = 674 [19:00:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35038", "tax_sys" : 0, "items" : [ { "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:00:59]execute_script... [19:00: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)35038", "tax_sys" : 0, "items" : [ { "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:00:59]POST & json_proto [19:00:59]process_json_proto [19:00:59]json parsed OK: [19:00:59]protocol is kg_v1.0 [19:00:59]action value=close_receipt [19:00:59]process_action close_receipt [19:00:59]cmd_close_receipt [19:00:59]MH_GetDate [19:00:59]Write to MH i2c: F0 00 00 C0 10 BF [19:00:59]Write i2c OK [19:00:59]MH_I2C_Read... [19:00:59]Read from MH i2c: F0 [19:00:59]MH_I2C_Read... [19:00:59]Read from MH i2c: F0 09 00 [19:00:59]MH_I2C_Read... [19:00:59]Read from MH i2c: F0 09 00 C0 10 00 EF 8D 1E 67 5B 68 A1 66 93 [19:00:59]GetLastDocTimeStamp 1730055554 [19:00:59]current date 1730055663 [19:00:59]FM_GetShiftState [19:00:59]SAM_PROTO_GetShiftState [19:00:59]wFMCommunicate request_size=4 [19:00:59]MH_SAM_APDU [19:00:59]CAPDU: 80 13 01 00 [19:00:59]Write to MH i2c: E2 08 00 C1 10 80 13 01 00 00 00 00 00 4E [19:00:59]Write i2c OK [19:00:59]MH_I2C_Read... [19:00:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:00:59]Read from MH i2c: E2 [19:00:59]MH_I2C_Read... [19:00:59]Read from MH i2c: E2 0E 00 [19:00:59]MH_I2C_Read... [19:00:59]Read from MH i2c: E2 0E 00 C1 10 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 05 [19:00:59]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [19:00:59]wFMCommunicate OK [19:00:59]SAM_PROTO_GetShiftState done [19:00:59]FM_GetShiftState done [19:00:59]opened in 1729987492 [19:00:59]opened+sec_in_day 1730073892 [19:00:59]quantity*price = 12000 [19:00:59]sum+1 = 12001 [19:00:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 66 27.10.2024 19:01 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37740 ФПД: 71571711050450 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T190103&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37740&fm=71571711050450&tin=02508201610067®Number=0000000000091684&sum=12000 0 [19:01:01]StoreToDocumentArchive [19:01:01]shift 550 fd 37740 [19:01:01]save to /storage/0550/doc_00037740 [19:01:01]save last doc name /storage/0550/doc_00037740 to /storage/kkm_last_doc_name [19:01:01]save OK [19:01:01]Clear old archive folders... [19:01:01]ProcessDocumentItem done err = 0, tmpTLVsize=287 [19:01:01]tlvbuf is 00260260 [19:01:01]SAM_PROTO_ClearQueue [19:01:01]wFMCommunicate request_size=4 [19:01:01]MH_SAM_APDU [19:01:01]CAPDU: 80 09 00 00 [19:01:01]Write to MH i2c: E2 08 00 CE 10 80 09 00 00 00 00 00 00 50 [19:01:01]Write i2c OK [19:01:01]MH_I2C_Read... [19:01:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:01:01]Read from MH i2c: E2 [19:01:01]MH_I2C_Read... [19:01:01]Read from MH i2c: E2 03 00 [19:01:01]MH_I2C_Read... [19:01:01]Read from MH i2c: E2 03 00 CE 10 00 90 00 52 [19:01:01]RAPDU: 90 00 [19:01:01]wFMCommunicate OK [19:01:01]SAM_PROTO_ClearQueue done [19:01:01]KKMCreateOFDPacket [19:01:01]OFDProtocolAddRootSTLVToBuf [19:01:01]FM_MakeSignedData [19:01:01]FM_MakeSignedData [19:01:01]SAM_PROTO_SignData [19:01:01]wFMCommunicate request_size=4 [19:01:01]MH_SAM_APDU [19:01:01]CAPDU: 80 0D 01 02 [19:01:01]Write to MH i2c: E2 08 00 CF 10 80 0D 01 02 00 00 00 00 58 [19:01:01]Write i2c OK [19:01:01]MH_I2C_Read... [19:01:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:01:01]Read from MH i2c: E2 [19:01:01]MH_I2C_Read... [19:01:01]Read from MH i2c: E2 03 00 [19:01:01]MH_I2C_Read... [19:01:01]Read from MH i2c: E2 03 00 CF 10 00 90 00 53 [19:01:01]RAPDU: 90 00 [19:01:01]wFMCommunicate OK [19:01:01]wFMCommunicate request_size=255 [19:01:01]MH_SAM_APDU [19:01:01]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 EF 8D 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 [19:01:01]Write to MH i2c: E2 02 01 D0 10 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 EF 8D 1E 67 0E 04 04 00 26 02 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 C7 [19:01:01]Write i2c OK [19:01:01]MH_I2C_Read... [19:01:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:01:01]Read from MH i2c: E2 [19:01:01]MH_I2C_Read... [19:01:01]Read from MH i2c: E2 03 00 [19:01:01]MH_I2C_Read... [19:01:01]Read from MH i2c: E2 03 00 D0 10 00 90 00 54 [19:01:01]RAPDU: 90 00 [19:01:01]wFMCommunicate OK [19:01:01]wFMCommunicate request_size=46 [19:01:01]MH_SAM_APDU [19:01:01]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 6C 93 00 00 35 04 06 00 41 18 16 69 C2 D2 [19:01:01]Write to MH i2c: E2 31 00 D1 10 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 6C 93 00 00 35 04 06 00 41 18 16 69 C2 D2 00 00 53 [19:01:01]Write i2c OK [19:01:01]MH_I2C_Read... [19:01:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:01:01]Read from MH i2c: E2 [19:01:01]MH_I2C_Read... [19:01:01]Read from MH i2c: E2 03 00 [19:01:01]MH_I2C_Read... [19:01:01]Read from MH i2c: E2 03 00 D1 10 00 90 00 55 [19:01:01]RAPDU: 90 00 [19:01:01]wFMCommunicate OK [19:01:01]wFMCommunicate request_size=4 [19:01:01]MH_SAM_APDU [19:01:01]CAPDU: 80 0D 03 02 [19:01:01]Write to MH i2c: E2 08 00 D2 10 80 0D 03 02 00 00 00 00 5D [19:01:01]Write i2c OK [19:01:01]MH_I2C_Read... [19:01:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:01:01]Read from MH i2c: E2 [19:01:01]MH_I2C_Read... [19:01:01]Read from MH i2c: E2 0B 00 [19:01:01]MH_I2C_Read... [19:01:01]Read from MH i2c: E2 0B 00 D2 10 00 7E 39 D4 90 92 F7 B4 FF 90 00 B5 [19:01:01]RAPDU: 7E 39 D4 90 92 F7 B4 FF 90 00 [19:01:01]wFMCommunicate OK [19:01:01]SAM_PROTO_SignData done [19:01:01]FM_MakeSignedData done [19:01:01]CreateOFDProtocolMessage [19:01:01]wFMCommunicate request_size=4 [19:01:01]MH_SAM_APDU [19:01:01]CAPDU: 80 11 00 00 [19:01:01]Write to MH i2c: E2 08 00 D3 10 80 11 00 00 00 00 00 00 5D [19:01:01]Write i2c OK [19:01:01]MH_I2C_Read... [19:01:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:01:01]Read from MH i2c: E2 [19:01:01]MH_I2C_Read... [19:01:01]Read from MH i2c: E2 17 00 [19:01:01]MH_I2C_Read... [19:01:01]Read from MH i2c: E2 17 00 D3 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 AD [19:01:01]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:01]wFMCommunicate OK [19:01:01]CreateOFDProtocolMessage done [19:01:01]OFDSenderStorePacket 37740 [19:01:01]StoreOFDPacket docnum=37740 [19:01:01]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 41 CC 2B 01 94 7C 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 EF 8D 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 6C 93 00 00 35 04 06 00 41 18 16 69 C2 D2 7E 39 D4 90 92 F7 B4 FF [19:01:01]CheckFolder [19:01:01]dirname=/storage/ofd_packets [19:01:01]CheckFolder done [19:01:01]ProducePacketName [19:01:01]name=ofd_packets/00037740 [19:01:01]NVStorageSaveData ofd_packets/00037740 [19:01:01]File name is /storage/ofd_packets/00037740 [19:01:01]Write 337 bytes [19:01:01]NVStorageSaveData done [19:01:01]OFDSenderStorePacket done [19:01:01]KKMCreateOFDPacket done [19:01:01]NVStorageSaveData kkm_last_timestamp [19:01:01]File name is /storage/kkm_last_timestamp [19:01:01]Write 4 bytes [19:01:01]NVStorageSaveData done [19:01:01]ExternCall_PrintAddStr [19:01:01]wPrintStart [19:01:01]Write to MH i2c: 01 00 00 D4 10 E4 [19:01:01]Write i2c OK [19:01:01]MH_I2C_Read... [19:01:01]Read from MH i2c: 01 [19:01:01]MH_I2C_Read... [19:01:01]Read from MH i2c: 01 07 00 [19:01:01]MH_I2C_Read... [19:01:01]Read from MH i2c: 01 07 00 D4 10 00 00 00 00 00 FF 0F F9 [19:01:01]RasterBufferAndPrint [19:01:01]line Счет N : (3)35038 [19:01:01]line ИНН: 02508201610067 [19:01:01]line Контрольно-Кассовый Чек [19:01:01]line ПРОДАЖА [19:01:01]line Товар: 5449000189332 [19:01:01]line Холодный чай Fuse персик 1л [19:01:01]line 1.000 * 120.00 [19:01:01]line = 120.00 [19:01:01]line НДС 12% НСП 1% [19:01:01]line > о реализуемом товаре [19:01:01]line ИТОГО: 120.00 [19:01:01]line НСП 1% : 1.06 [19:01:01]line НДС 12% : 12.74 [19:01:01]line Наличными: 120.00 [19:01:01]line Безнал.: 0.00 [19:01:01]line Место: АЗС № 126 "Партнер Нефть" [19:01:01]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [19:01:01]line СНО: Общий режим [19:01:01]line Чек 66 27.10.2024 19:01 [19:01:01]line Смена: 550 ФФД: 1.0 [19:01:01]line ЗНМ: 0300000092 [19:01:01]line РНМ: 0000000000091684 [19:01:01]line Версия ККМ: 001 [19:01:01]line ФМ: 0000000000871841 [19:01:01]line ФД: 37740 [19:01:01]line ФПД: 71571711050450 [19:01:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T190103&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37740&fm=71571711050450&tin=02508201610067®Number=0000000000091684&sum=12000 [19:01:01]line 0 [19:01:01]OFD Sender: Processing packet 37740 [packets to send 42, broken 41] [19:01:01]ProducePacketName [19:01:01]name=ofd_packets/00037740 [19:01:01]OFD Sender: To server: pG, [19:01:01]CommunicateWithHost lk.salyk.kg:30040 [19:01:01]ConnectInit lk.salyk.kg [19:01:01]written 0, free lines is 4095 [19:01:02]Connected sock=10 [19:01: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 33 01 00 00 41 CC 2B 01 94 7C 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 EF 8D 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 6C 93 00 00 35 04 06 00 41 18 16 69 C2 D2 7E 39 D4 90 92 F7 B4 FF [19:01:02]Write to MH i2c: 01 00 00 FC 10 0C [19:01:02]Write i2c OK [19:01:02]MH_I2C_Read... [19:01:02]Read from MH i2c: 01 [19:01:02]MH_I2C_Read... [19:01:02]Read from MH i2c: 01 07 00 [19:01:02]MH_I2C_Read... [19:01:02]Read from MH i2c: 01 07 00 FC 10 00 00 00 00 00 C6 0C E5 [19:01:02]RasterBufferAndPrint [19:01:02]line [19:01:02]line [19:01:02]line [19:01:02]line [19:01:02]line [19:01:02]written 0, free lines is 3274 [19:01:02]MH_Cut [19:01:02]Write to MH i2c: D1 01 00 03 11 01 E6 [19:01:02]Write i2c OK [19:01:02]MH_I2C_Read... [19:01:02]Read from MH i2c: D1 [19:01:02]MH_I2C_Read... [19:01:02]Read from MH i2c: D1 01 00 [19:01:02]MH_I2C_Read... [19:01:02]Read from MH i2c: D1 01 00 03 11 00 E5 [19:01:02]Write to MH i2c: 01 00 00 04 11 15 [19:01:02]Write i2c OK [19:01:02]MH_I2C_Read... [19:01:02]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 39 0A 47 00 B3 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 6C 93 00 00 F4 03 04 00 E6 38 1E 67 B6 04 01 00 00 63 8F 91 07 6B 41 E6 EE [19:01:02]CommunicateWithHost err = 0 [19:01:02]CheckOFDResponse [19:01:02]1017 (14) - 77093643461234 [19:01:02]1041 (16) - 0000000000871841 [19:01:02]1040 (4) - 37740 [19:01:02]1012 (4) - 27.10.2024 12:58 [19:01:02]1206 (1) - 0 [19:01:02]OFD Sender: Remove packet 37740 [19:01:02]ProducePacketName [19:01:02]name=ofd_packets/00037740 [19:01:02]NVStorageDeleteData [19:01:02]OFD Sender: No OFD packet to send [19:01:03]*** Cut start [19:01:03]*** Partial cut [19:01:03]*** CUTSNS_PIN = 1 [19:01:03]*** CUTSNS_PIN = 0 [19:01:03]*** Brake cut motor [19:01:03]Read from MH i2c: 01 [19:01:03]MH_I2C_Read... [19:01:03]*** Stop cut motor [19:01:03]*** Cut end [19:01:03]Read from MH i2c: 01 07 00 [19:01:03]MH_I2C_Read... [19:01:03]Read from MH i2c: 01 07 00 04 11 00 00 00 00 00 FF 0F 2A [19:01:03]process_action close_receipt done [19:01:03]requested_data is exist [19:01:03]produce_requested_data [19:01:03]requested_item fm.sn is exist - process it [19:01:03]wFMCommunicate request_size=4 [19:01:03]MH_SAM_APDU [19:01:03]CAPDU: 80 11 00 00 [19:01:03]Write to MH i2c: E2 08 00 05 11 80 11 00 00 00 00 00 00 90 [19:01:03]Write i2c OK [19:01:03]MH_I2C_Read... [19:01:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:01:03]Read from MH i2c: E2 [19:01:03]MH_I2C_Read... [19:01:03]Read from MH i2c: E2 17 00 [19:01:03]MH_I2C_Read... [19:01:03]Read from MH i2c: E2 17 00 05 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 E0 [19:01:03]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:03]wFMCommunicate OK [19:01:03]requested_item fd.num is exist - process it [19:01:03]SAM_PROTO_GetFieldsCounters [19:01:03]wFMCommunicate request_size=4 [19:01:03]MH_SAM_APDU [19:01:03]CAPDU: 80 13 00 00 [19:01:03]Write to MH i2c: E2 08 00 06 11 80 13 00 00 00 00 00 00 93 [19:01:03]Write i2c OK [19:01:03]MH_I2C_Read... [19:01:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:01:04]Read from MH i2c: E2 [19:01:04]MH_I2C_Read... [19:01:04]Read from MH i2c: E2 62 00 [19:01:04]MH_I2C_Read... [19:01:04]Read from MH i2c: E2 62 00 06 11 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 6C 93 00 00 0E 04 04 00 26 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 A1 [19:01: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 6C 93 00 00 0E 04 04 00 26 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:01:04]wFMCommunicate OK [19:01:04]SAM_PROTO_GetFieldsCounters done [19:01:04]requested_item shift.num is exist - process it [19:01:04]requested_item shift.opened is exist - process it [19:01:04]req_shift_opened [19:01:04]FM_GetShiftState [19:01:04]SAM_PROTO_GetShiftState [19:01:04]wFMCommunicate request_size=4 [19:01:04]MH_SAM_APDU [19:01:04]CAPDU: 80 13 01 00 [19:01:04]Write to MH i2c: E2 08 00 07 11 80 13 01 00 00 00 00 00 95 [19:01:04]Write i2c OK [19:01:04]MH_I2C_Read... [19:01:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:01:04]Read from MH i2c: E2 [19:01:04]MH_I2C_Read... [19:01:04]Read from MH i2c: E2 0E 00 [19:01:04]MH_I2C_Read... [19:01:04]Read from MH i2c: E2 0E 00 07 11 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 4C [19:01:04]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [19:01:04]wFMCommunicate OK [19:01:04]SAM_PROTO_GetShiftState done [19:01:04]FM_GetShiftState done [19:01:04]req_shift_opened done [19:01:04]requested_item shift.open_date is exist - process it [19:01:04]req_shift_open_date [19:01:04]req_shift_open_date done [19:01:04]produce_requested_data done [19:01:04]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37740,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [19:01:04]process_action_free close_receipt [19:01:04]json_value_free [19:01:04]json_value_free done [19:01:04]process_json_proto returns [19:01:04]Send response to host [19:01:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37740,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [19:01:04]free response buf [19:01:04]execute_script done [19:01:04]execute_script returns [19:01:04]free content buf [19:01:04]Sock 7.Close socket [19:01:04]Sock 7.Thread stoped [19:01:07]OFD Sender: No OFD packet to send [19:01:12]OFD Sender: No OFD packet to send [19:01:17]OFD Sender: No OFD packet to send [19:01:22]OFD Sender: No OFD packet to send [19:01:27]OFD Sender: No OFD packet to send [19:01:32]accept exits with 9 [19:01:32]New connection [19:01:32]New thread 3067440484 created [19:01:32]Thread 3067297124 joined [19:01:32]Waiting for new connection... [19:01:32] Sock 9.Parse request [19:01:32]Sock 9.Check first char [19:01:32]Sock 9.First char is OK [19:01:32]request: POST /json_proto HTTP/1.0 [19:01:32]Method: POST [19:01:32]URL: /json_proto [19:01:32]Method is POST - this is cgi request [19:01:32]url: /json_proto [19:01:32]query_string will be loaded in cgi processing [19:01:32]execute_cgi json_proto POST (null) [19:01:32]execute_cgi path=json_proto method=POST [19:01:32]POST find Content-Length [19:01:32]Host: 172.17.40.196:8080 [19:01:32]Content-Length: 620 [19:01:32]Content-Type: application/json [19:01:32] [19:01:32]POST finish read [19:01:32]Found Content-Length = 620 [19:01:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35039", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:01:32]execute_script... [19:01: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)35039", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:01:32]POST & json_proto [19:01:32]process_json_proto [19:01:32]json parsed OK: [19:01:32]protocol is kg_v1.0 [19:01:32]action value=close_receipt [19:01:32]process_action close_receipt [19:01:32]cmd_close_receipt [19:01:32]MH_GetDate [19:01:32]Write to MH i2c: F0 00 00 08 11 08 [19:01:32]Write i2c OK [19:01:32]MH_I2C_Read... [19:01:32]Read from MH i2c: F0 [19:01:32]MH_I2C_Read... [19:01:32]Read from MH i2c: F0 09 00 [19:01:32]MH_I2C_Read... [19:01:32]Read from MH i2c: F0 09 00 08 11 00 10 8E 1E 67 5B 68 A1 66 FE [19:01:32]GetLastDocTimeStamp 1730055663 [19:01:32]current date 1730055696 [19:01:32]FM_GetShiftState [19:01:32]SAM_PROTO_GetShiftState [19:01:32]wFMCommunicate request_size=4 [19:01:32]MH_SAM_APDU [19:01:32]CAPDU: 80 13 01 00 [19:01:32]Write to MH i2c: E2 08 00 09 11 80 13 01 00 00 00 00 00 97 [19:01:32]Write i2c OK [19:01:32]MH_I2C_Read... [19:01:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:01:32]Read from MH i2c: E2 [19:01:32]MH_I2C_Read... [19:01:32]Read from MH i2c: E2 0E 00 [19:01:32]MH_I2C_Read... [19:01:32]Read from MH i2c: E2 0E 00 09 11 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 4E [19:01:32]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [19:01:32]wFMCommunicate OK [19:01:32]SAM_PROTO_GetShiftState done [19:01:32]FM_GetShiftState done [19:01:32]opened in 1729987492 [19:01:32]opened+sec_in_day 1730073892 [19:01:32]quantity*price = 14400 [19:01:32]sum+1 = 14401 [19:01:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 67 27.10.2024 19:01 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37741 ФПД: 153149366930006 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T190136&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37741&fm=153149366930006&tin=02508201610067®Number=0000000000091684&sum=14400 0 [19:01:33]StoreToDocumentArchive [19:01:33]shift 550 fd 37741 [19:01:33]save to /storage/0550/doc_00037741 [19:01:33]save last doc name /storage/0550/doc_00037741 to /storage/kkm_last_doc_name [19:01:33]save OK [19:01:33]Clear old archive folders... [19:01:33]ProcessDocumentItem done err = 0, tmpTLVsize=273 [19:01:33]tlvbuf is 00260140 [19:01:33]SAM_PROTO_ClearQueue [19:01:33]wFMCommunicate request_size=4 [19:01:33]MH_SAM_APDU [19:01:33]CAPDU: 80 09 00 00 [19:01:33]Write to MH i2c: E2 08 00 16 11 80 09 00 00 00 00 00 00 99 [19:01:33]Write i2c OK [19:01:33]MH_I2C_Read... [19:01:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:01:34]Read from MH i2c: E2 [19:01:34]MH_I2C_Read... [19:01:34]Read from MH i2c: E2 03 00 [19:01:34]MH_I2C_Read... [19:01:34]Read from MH i2c: E2 03 00 16 11 00 90 00 9B [19:01:34]RAPDU: 90 00 [19:01:34]wFMCommunicate OK [19:01:34]SAM_PROTO_ClearQueue done [19:01:34]KKMCreateOFDPacket [19:01:34]OFDProtocolAddRootSTLVToBuf [19:01:34]FM_MakeSignedData [19:01:34]FM_MakeSignedData [19:01:34]SAM_PROTO_SignData [19:01:34]wFMCommunicate request_size=4 [19:01:34]MH_SAM_APDU [19:01:34]CAPDU: 80 0D 01 02 [19:01:34]Write to MH i2c: E2 08 00 17 11 80 0D 01 02 00 00 00 00 A1 [19:01:34]Write i2c OK [19:01:34]MH_I2C_Read... [19:01:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:01:34]Read from MH i2c: E2 [19:01:34]MH_I2C_Read... [19:01:34]Read from MH i2c: E2 03 00 [19:01:34]MH_I2C_Read... [19:01:34]Read from MH i2c: E2 03 00 17 11 00 90 00 9C [19:01:34]RAPDU: 90 00 [19:01:34]wFMCommunicate OK [19:01:34]wFMCommunicate request_size=255 [19:01:34]MH_SAM_APDU [19:01: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 43 00 00 00 F4 03 04 00 10 8E 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [19:01:34]Write to MH i2c: E2 02 01 18 11 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 10 8E 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 88 [19:01:34]Write i2c OK [19:01:34]MH_I2C_Read... [19:01:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:01:34]Read from MH i2c: E2 [19:01:34]MH_I2C_Read... [19:01:34]Read from MH i2c: E2 03 00 [19:01:34]MH_I2C_Read... [19:01:34]Read from MH i2c: E2 03 00 18 11 00 90 00 9D [19:01:34]RAPDU: 90 00 [19:01:34]wFMCommunicate OK [19:01:34]wFMCommunicate request_size=32 [19:01:34]MH_SAM_APDU [19:01:34]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 6D 93 00 00 35 04 06 00 8B 49 DD 9D 0A 56 [19:01:34]Write to MH i2c: E2 23 00 19 11 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 6D 93 00 00 35 04 06 00 8B 49 DD 9D 0A 56 00 00 AC [19:01:34]Write i2c OK [19:01:34]MH_I2C_Read... [19:01:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:01:34]Read from MH i2c: E2 [19:01:34]MH_I2C_Read... [19:01:34]Read from MH i2c: E2 03 00 [19:01:34]MH_I2C_Read... [19:01:34]Read from MH i2c: E2 03 00 19 11 00 90 00 9E [19:01:34]RAPDU: 90 00 [19:01:34]wFMCommunicate OK [19:01:34]wFMCommunicate request_size=4 [19:01:34]MH_SAM_APDU [19:01:34]CAPDU: 80 0D 03 02 [19:01:34]Write to MH i2c: E2 08 00 1A 11 80 0D 03 02 00 00 00 00 A6 [19:01:34]Write i2c OK [19:01:34]MH_I2C_Read... [19:01:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:01:34]Read from MH i2c: E2 [19:01:34]MH_I2C_Read... [19:01:34]Read from MH i2c: E2 0B 00 [19:01:34]MH_I2C_Read... [19:01:34]Read from MH i2c: E2 0B 00 1A 11 00 84 63 D1 73 FB 41 5D 3E 90 00 A9 [19:01:34]RAPDU: 84 63 D1 73 FB 41 5D 3E 90 00 [19:01:34]wFMCommunicate OK [19:01:34]SAM_PROTO_SignData done [19:01:34]FM_MakeSignedData done [19:01:34]CreateOFDProtocolMessage [19:01:34]wFMCommunicate request_size=4 [19:01:34]MH_SAM_APDU [19:01:34]CAPDU: 80 11 00 00 [19:01:34]Write to MH i2c: E2 08 00 1B 11 80 11 00 00 00 00 00 00 A6 [19:01:34]Write i2c OK [19:01:34]MH_I2C_Read... [19:01:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:01:34]Read from MH i2c: E2 [19:01:34]MH_I2C_Read... [19:01:34]Read from MH i2c: E2 17 00 [19:01:34]MH_I2C_Read... [19:01:34]Read from MH i2c: E2 17 00 1B 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F6 [19:01:34]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:34]wFMCommunicate OK [19:01:34]CreateOFDProtocolMessage done [19:01:34]OFDSenderStorePacket 37741 [19:01:34]StoreOFDPacket docnum=37741 [19:01: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 25 01 00 00 93 B5 1D 01 0E 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 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 43 00 00 00 F4 03 04 00 10 8E 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 6D 93 00 00 35 04 06 00 8B 49 DD 9D 0A 56 84 63 D1 73 FB 41 5D 3E [19:01:34]CheckFolder [19:01:34]dirname=/storage/ofd_packets [19:01:34]CheckFolder done [19:01:34]ProducePacketName [19:01:34]name=ofd_packets/00037741 [19:01:34]NVStorageSaveData ofd_packets/00037741 [19:01:34]File name is /storage/ofd_packets/00037741 [19:01:34]Write 323 bytes [19:01:34]NVStorageSaveData done [19:01:34]OFDSenderStorePacket done [19:01:34]KKMCreateOFDPacket done [19:01:34]NVStorageSaveData kkm_last_timestamp [19:01:34]File name is /storage/kkm_last_timestamp [19:01:34]Write 4 bytes [19:01:34]NVStorageSaveData done [19:01:34]ExternCall_PrintAddStr [19:01:34]wPrintStart [19:01:34]Write to MH i2c: 01 00 00 1C 11 2D [19:01:34]OFD Sender: Processing packet 37741 [packets to send 42, broken 41] [19:01:34]ProducePacketName [19:01:34]name=ofd_packets/00037741 [19:01:34]OFD Sender: To server: pG, [19:01:34]CommunicateWithHost lk.salyk.kg:30040 [19:01:34]ConnectInit lk.salyk.kg [19:01:34]Write i2c OK [19:01:34]MH_I2C_Read... [19:01:34]Read from MH i2c: 01 [19:01:34]MH_I2C_Read... [19:01:34]Read from MH i2c: 01 07 00 [19:01:34]MH_I2C_Read... [19:01:34]Read from MH i2c: 01 07 00 1C 11 00 00 00 00 00 FF 0F 42 [19:01:34]RasterBufferAndPrint [19:01:34]line Счет N : (3)35039 [19:01:34]line ИНН: 02508201610067 [19:01:34]line Контрольно-Кассовый Чек [19:01:34]line ПРОДАЖА [19:01:34]line Товар: 48747059 [19:01:34]line Сигареты Winston Legend Blue [19:01:34]line 1.000 * 144.00 [19:01:34]line = 144.00 [19:01:34]line НДС 12% НСП 1% [19:01:34]line > о реализуемом товаре [19:01:34]line ИТОГО: 144.00 [19:01:34]line НСП 1% : 1.27 [19:01:34]line НДС 12% : 15.29 [19:01:34]line Наличными: 144.00 [19:01:34]line Безнал.: 0.00 [19:01:34]line Место: АЗС № 126 "Партнер Нефть" [19:01:34]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [19:01:34]line СНО: Общий режим [19:01:34]line Чек 67 27.10.2024 19:01 [19:01:34]line Смена: 550 ФФД: 1.0 [19:01:34]line ЗНМ: 0300000092 [19:01:34]line РНМ: 0000000000091684 [19:01:34]line Версия ККМ: 001 [19:01:34]line ФМ: 0000000000871841 [19:01:34]line ФД: 37741 [19:01:34]line ФПД: 153149366930006 [19:01:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T190136&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37741&fm=153149366930006&tin=02508201610067®Number=0000000000091684&sum=14400 [19:01:34]line 0 [19:01:34]written 0, free lines is 4095 [19:01:34]Connected sock=10 [19:01:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 93 B5 1D 01 0E 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 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 43 00 00 00 F4 03 04 00 10 8E 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 6D 93 00 00 35 04 06 00 8B 49 DD 9D 0A 56 84 63 D1 73 FB 41 5D 3E [19:01:35]Write to MH i2c: 01 00 00 45 11 56 [19:01:35]Write i2c OK [19:01:35]MH_I2C_Read... [19:01:35]Read from MH i2c: 01 [19:01:35]MH_I2C_Read... [19:01:35]Read from MH i2c: 01 07 00 [19:01:35]MH_I2C_Read... [19:01:35]Read from MH i2c: 01 07 00 45 11 00 00 00 00 00 B9 0C 22 [19:01:35]RasterBufferAndPrint [19:01:35]line [19:01:35]line [19:01:35]line [19:01:35]line [19:01:35]line [19:01:35]written 0, free lines is 3260 [19:01:35]MH_Cut [19:01:35]Write to MH i2c: D1 01 00 4C 11 01 2F [19:01:35]Write i2c OK [19:01:35]MH_I2C_Read... [19:01:35]Read from MH i2c: D1 [19:01:35]MH_I2C_Read... [19:01:35]Read from MH i2c: D1 01 00 [19:01:35]MH_I2C_Read... [19:01:35]Read from MH i2c: D1 01 00 4C 11 00 2E [19:01:35]Write to MH i2c: 01 00 00 4D 11 5E [19:01:35]Write i2c OK [19:01:35]MH_I2C_Read... [19:01: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 A1 57 47 00 AC 8D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6D 93 00 00 F4 03 04 00 07 39 1E 67 B6 04 01 00 00 1D 92 B0 A0 C7 2F 55 61 [19:01:35]CommunicateWithHost err = 0 [19:01:35]CheckOFDResponse [19:01:35]1017 (14) - 77093643461234 [19:01:35]1041 (16) - 0000000000871841 [19:01:35]1040 (4) - 37741 [19:01:35]1012 (4) - 27.10.2024 12:58 [19:01:35]1206 (1) - 0 [19:01:35]OFD Sender: Remove packet 37741 [19:01:35]ProducePacketName [19:01:35]name=ofd_packets/00037741 [19:01:35]NVStorageDeleteData [19:01:35]OFD Sender: No OFD packet to send [19:01:35]*** Cut start [19:01:35]*** Partial cut [19:01:35]*** CUTSNS_PIN = 1 [19:01:35]*** CUTSNS_PIN = 0 [19:01:36]*** Brake cut motor [19:01:36]Read from MH i2c: 01 [19:01:36]MH_I2C_Read... [19:01:36]*** Stop cut motor [19:01:36]*** Cut end [19:01:36]Read from MH i2c: 01 07 00 [19:01:36]MH_I2C_Read... [19:01:36]Read from MH i2c: 01 07 00 4D 11 00 00 00 00 00 FF 0F 73 [19:01:36]process_action close_receipt done [19:01:36]requested_data is exist [19:01:36]produce_requested_data [19:01:36]requested_item fm.sn is exist - process it [19:01:36]wFMCommunicate request_size=4 [19:01:36]MH_SAM_APDU [19:01:36]CAPDU: 80 11 00 00 [19:01:36]Write to MH i2c: E2 08 00 4E 11 80 11 00 00 00 00 00 00 D9 [19:01:36]Write i2c OK [19:01:36]MH_I2C_Read... [19:01:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:01:36]Read from MH i2c: E2 [19:01:36]MH_I2C_Read... [19:01:36]Read from MH i2c: E2 17 00 [19:01:36]MH_I2C_Read... [19:01:36]Read from MH i2c: E2 17 00 4E 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 29 [19:01:36]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:36]wFMCommunicate OK [19:01:36]requested_item fd.num is exist - process it [19:01:36]SAM_PROTO_GetFieldsCounters [19:01:36]wFMCommunicate request_size=4 [19:01:36]MH_SAM_APDU [19:01:36]CAPDU: 80 13 00 00 [19:01:36]Write to MH i2c: E2 08 00 4F 11 80 13 00 00 00 00 00 00 DC [19:01:36]Write i2c OK [19:01:36]MH_I2C_Read... [19:01:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:01:36]Read from MH i2c: E2 [19:01:36]MH_I2C_Read... [19:01:36]Read from MH i2c: E2 62 00 [19:01:36]MH_I2C_Read... [19:01:36]Read from MH i2c: E2 62 00 4F 11 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 6D 93 00 00 0E 04 04 00 26 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 EE [19:01: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 6D 93 00 00 0E 04 04 00 26 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:01:36]wFMCommunicate OK [19:01:36]SAM_PROTO_GetFieldsCounters done [19:01:36]requested_item shift.num is exist - process it [19:01:36]requested_item shift.opened is exist - process it [19:01:36]req_shift_opened [19:01:36]FM_GetShiftState [19:01:36]SAM_PROTO_GetShiftState [19:01:36]wFMCommunicate request_size=4 [19:01:36]MH_SAM_APDU [19:01:36]CAPDU: 80 13 01 00 [19:01:36]Write to MH i2c: E2 08 00 50 11 80 13 01 00 00 00 00 00 DE [19:01:36]Write i2c OK [19:01:36]MH_I2C_Read... [19:01:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:01:36]Read from MH i2c: E2 [19:01:36]MH_I2C_Read... [19:01:36]Read from MH i2c: E2 0E 00 [19:01:36]MH_I2C_Read... [19:01:36]Read from MH i2c: E2 0E 00 50 11 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 95 [19:01:36]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [19:01:36]wFMCommunicate OK [19:01:36]SAM_PROTO_GetShiftState done [19:01:36]FM_GetShiftState done [19:01:36]req_shift_opened done [19:01:36]requested_item shift.open_date is exist - process it [19:01:36]req_shift_open_date [19:01:36]req_shift_open_date done [19:01:36]produce_requested_data done [19:01:36]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37741,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [19:01:36]process_action_free close_receipt [19:01:36]json_value_free [19:01:36]json_value_free done [19:01:36]process_json_proto returns [19:01:36]Send response to host [19:01:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37741,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [19:01:36]free response buf [19:01:36]execute_script done [19:01:36]execute_script returns [19:01:36]free content buf [19:01:36]Sock 9.Close socket [19:01:36]Sock 9.Thread stoped [19:01:40]OFD Sender: No OFD packet to send [19:01:45]OFD Sender: No OFD packet to send [19:01:50]OFD Sender: No OFD packet to send [19:01:55]OFD Sender: No OFD packet to send [19:02:00]OFD Sender: No OFD packet to send [19:02:05]OFD Sender: No OFD packet to send [19:02:10]OFD Sender: No OFD packet to send [19:02:15]OFD Sender: No OFD packet to send [19:02:20]OFD Sender: No OFD packet to send [19:02:25]OFD Sender: No OFD packet to send [19:02:30]OFD Sender: No OFD packet to send [19:02:35]OFD Sender: No OFD packet to send [19:02:40]OFD Sender: No OFD packet to send [19:02:45]OFD Sender: No OFD packet to send [19:02:50]OFD Sender: No OFD packet to send [19:02:55]OFD Sender: No OFD packet to send [19:03:00]OFD Sender: No OFD packet to send [19:03:05]OFD Sender: No OFD packet to send [19:03:10]OFD Sender: No OFD packet to send [19:03:15]OFD Sender: No OFD packet to send [19:03:20]OFD Sender: No OFD packet to send [19:03:25]OFD Sender: No OFD packet to send [19:03:30]OFD Sender: No OFD packet to send [19:03:35]OFD Sender: No OFD packet to send [19:03:40]OFD Sender: No OFD packet to send [19:03:45]OFD Sender: No OFD packet to send [19:03:50]OFD Sender: No OFD packet to send [19:03:55]OFD Sender: No OFD packet to send [19:04:00]OFD Sender: No OFD packet to send [19:04:05]OFD Sender: No OFD packet to send [19:04:10]OFD Sender: No OFD packet to send [19:04:15]OFD Sender: No OFD packet to send [19:04:20]OFD Sender: No OFD packet to send [19:04:25]OFD Sender: No OFD packet to send [19:04:30]OFD Sender: No OFD packet to send [19:04:35]OFD Sender: No OFD packet to send [19:04:40]OFD Sender: No OFD packet to send [19:04:45]OFD Sender: No OFD packet to send [19:04:50]OFD Sender: No OFD packet to send [19:04:55]OFD Sender: No OFD packet to send [19:05:00]OFD Sender: No OFD packet to send [19:05:05]OFD Sender: No OFD packet to send [19:05:10]OFD Sender: No OFD packet to send [19:05:15]OFD Sender: No OFD packet to send [19:05:20]OFD Sender: No OFD packet to send [19:05:25]OFD Sender: No OFD packet to send [19:05:30]OFD Sender: No OFD packet to send [19:05:35]OFD Sender: No OFD packet to send [19:05:40]OFD Sender: No OFD packet to send [19:05:45]OFD Sender: No OFD packet to send [19:05:50]OFD Sender: No OFD packet to send [19:05:55]OFD Sender: No OFD packet to send [19:06:00]OFD Sender: No OFD packet to send [19:06:05]OFD Sender: No OFD packet to send [19:06:10]OFD Sender: No OFD packet to send [19:06:15]OFD Sender: No OFD packet to send [19:06:20]OFD Sender: No OFD packet to send [19:06:25]OFD Sender: No OFD packet to send [19:06:30]OFD Sender: No OFD packet to send [19:06:35]OFD Sender: No OFD packet to send [19:06:40]OFD Sender: No OFD packet to send [19:06:45]OFD Sender: No OFD packet to send [19:06:50]OFD Sender: No OFD packet to send [19:06:55]OFD Sender: No OFD packet to send [19:07:00]OFD Sender: No OFD packet to send [19:07:05]OFD Sender: No OFD packet to send [19:07:10]OFD Sender: No OFD packet to send [19:07:15]OFD Sender: No OFD packet to send [19:07:20]OFD Sender: No OFD packet to send [19:07:25]OFD Sender: No OFD packet to send [19:07:30]OFD Sender: No OFD packet to send [19:07:35]OFD Sender: No OFD packet to send [19:07:40]OFD Sender: No OFD packet to send [19:07:45]OFD Sender: No OFD packet to send [19:07:50]OFD Sender: No OFD packet to send [19:07:55]OFD Sender: No OFD packet to send [19:08:00]OFD Sender: No OFD packet to send [19:08:05]OFD Sender: No OFD packet to send [19:08:10]OFD Sender: No OFD packet to send [19:08:15]OFD Sender: No OFD packet to send [19:08:20]OFD Sender: No OFD packet to send [19:08:25]OFD Sender: No OFD packet to send [19:08:30]OFD Sender: No OFD packet to send [19:08:35]OFD Sender: No OFD packet to send [19:08:40]OFD Sender: No OFD packet to send [19:08:45]OFD Sender: No OFD packet to send [19:08:51]OFD Sender: No OFD packet to send [19:08:56]OFD Sender: No OFD packet to send [19:09:01]OFD Sender: No OFD packet to send [19:09:06]OFD Sender: No OFD packet to send [19:09:11]OFD Sender: No OFD packet to send [19:09:16]OFD Sender: No OFD packet to send [19:09:21]OFD Sender: No OFD packet to send [19:09:26]OFD Sender: No OFD packet to send [19:09:31]OFD Sender: No OFD packet to send [19:09:36]OFD Sender: No OFD packet to send [19:09:41]OFD Sender: No OFD packet to send [19:09:46]OFD Sender: No OFD packet to send [19:09:51]OFD Sender: No OFD packet to send [19:09:56]OFD Sender: No OFD packet to send [19:10:01]OFD Sender: No OFD packet to send [19:10:06]OFD Sender: No OFD packet to send [19:10:11]OFD Sender: No OFD packet to send [19:10:16]OFD Sender: No OFD packet to send [19:10:21]OFD Sender: No OFD packet to send [19:10:26]OFD Sender: No OFD packet to send [19:10:31]OFD Sender: No OFD packet to send [19:10:36]OFD Sender: No OFD packet to send [19:10:41]OFD Sender: No OFD packet to send [19:10:46]OFD Sender: No OFD packet to send [19:10:51]OFD Sender: No OFD packet to send [19:10:56]OFD Sender: No OFD packet to send [19:11:01]OFD Sender: No OFD packet to send [19:11:06]OFD Sender: No OFD packet to send [19:11:11]OFD Sender: No OFD packet to send [19:11:16]OFD Sender: No OFD packet to send [19:11:21]OFD Sender: No OFD packet to send [19:11:26]OFD Sender: No OFD packet to send [19:11:31]OFD Sender: No OFD packet to send [19:11:36]OFD Sender: No OFD packet to send [19:11:41]OFD Sender: No OFD packet to send [19:11:46]OFD Sender: No OFD packet to send [19:11:51]OFD Sender: No OFD packet to send [19:11:56]OFD Sender: No OFD packet to send [19:12:01]OFD Sender: No OFD packet to send [19:12:06]OFD Sender: No OFD packet to send [19:12:11]OFD Sender: No OFD packet to send [19:12:16]OFD Sender: No OFD packet to send [19:12:21]OFD Sender: No OFD packet to send [19:12:26]OFD Sender: No OFD packet to send [19:12:31]OFD Sender: No OFD packet to send [19:12:36]OFD Sender: No OFD packet to send [19:12:41]OFD Sender: No OFD packet to send [19:12:46]OFD Sender: No OFD packet to send [19:12:51]OFD Sender: No OFD packet to send [19:12:56]OFD Sender: No OFD packet to send [19:13:01]OFD Sender: No OFD packet to send [19:13:06]OFD Sender: No OFD packet to send [19:13:11]OFD Sender: No OFD packet to send [19:13:16]OFD Sender: No OFD packet to send [19:13:21]OFD Sender: No OFD packet to send [19:13:26]OFD Sender: No OFD packet to send [19:13:31]OFD Sender: No OFD packet to send [19:13:36]OFD Sender: No OFD packet to send [19:13:41]OFD Sender: No OFD packet to send [19:13:46]OFD Sender: No OFD packet to send [19:13:51]OFD Sender: No OFD packet to send [19:13:56]OFD Sender: No OFD packet to send [19:14:01]OFD Sender: No OFD packet to send [19:14:06]OFD Sender: No OFD packet to send [19:14:11]OFD Sender: No OFD packet to send [19:14:16]OFD Sender: No OFD packet to send [19:14:21]OFD Sender: No OFD packet to send [19:14:26]OFD Sender: No OFD packet to send [19:14:31]OFD Sender: No OFD packet to send [19:14:36]OFD Sender: No OFD packet to send [19:14:41]OFD Sender: No OFD packet to send [19:14:46]OFD Sender: No OFD packet to send [19:14:51]OFD Sender: No OFD packet to send [19:14:56]OFD Sender: No OFD packet to send [19:15:01]OFD Sender: No OFD packet to send [19:15:06]OFD Sender: No OFD packet to send [19:15:11]OFD Sender: No OFD packet to send [19:15:16]OFD Sender: No OFD packet to send [19:15:21]OFD Sender: No OFD packet to send [19:15:26]OFD Sender: No OFD packet to send [19:15:31]OFD Sender: No OFD packet to send [19:15:36]OFD Sender: No OFD packet to send [19:15:41]OFD Sender: No OFD packet to send [19:15:46]OFD Sender: No OFD packet to send [19:15:51]OFD Sender: No OFD packet to send [19:15:56]OFD Sender: No OFD packet to send [19:16:01]OFD Sender: No OFD packet to send [19:16:06]OFD Sender: No OFD packet to send [19:16:11]OFD Sender: No OFD packet to send [19:16:16]OFD Sender: No OFD packet to send [19:16:21]OFD Sender: No OFD packet to send [19:16:26]OFD Sender: No OFD packet to send [19:16:31]OFD Sender: No OFD packet to send [19:16:36]OFD Sender: No OFD packet to send [19:16:41]OFD Sender: No OFD packet to send [19:16:46]OFD Sender: No OFD packet to send [19:16:51]OFD Sender: No OFD packet to send [19:16:56]OFD Sender: No OFD packet to send [19:17:01]OFD Sender: No OFD packet to send [19:17:06]OFD Sender: No OFD packet to send [19:17:11]OFD Sender: No OFD packet to send [19:17:16]OFD Sender: No OFD packet to send [19:17:21]OFD Sender: No OFD packet to send [19:17:26]OFD Sender: No OFD packet to send [19:17:31]OFD Sender: No OFD packet to send [19:17:36]OFD Sender: No OFD packet to send [19:17:41]OFD Sender: No OFD packet to send [19:17:46]OFD Sender: No OFD packet to send [19:17:51]OFD Sender: No OFD packet to send [19:17:56]OFD Sender: No OFD packet to send [19:18:01]OFD Sender: No OFD packet to send [19:18:06]OFD Sender: No OFD packet to send [19:18:11]OFD Sender: No OFD packet to send [19:18:16]OFD Sender: No OFD packet to send [19:18:21]OFD Sender: No OFD packet to send [19:18:26]OFD Sender: No OFD packet to send [19:18:31]OFD Sender: No OFD packet to send [19:18:36]OFD Sender: No OFD packet to send [19:18:41]OFD Sender: No OFD packet to send [19:18:46]OFD Sender: No OFD packet to send [19:18:51]OFD Sender: No OFD packet to send [19:18:56]OFD Sender: No OFD packet to send [19:19:01]OFD Sender: No OFD packet to send [19:19:06]OFD Sender: No OFD packet to send [19:19:11]OFD Sender: No OFD packet to send [19:19:16]OFD Sender: No OFD packet to send [19:19:21]OFD Sender: No OFD packet to send [19:19:26]OFD Sender: No OFD packet to send [19:19:31]OFD Sender: No OFD packet to send [19:19:36]OFD Sender: No OFD packet to send [19:19:41]OFD Sender: No OFD packet to send [19:19:46]OFD Sender: No OFD packet to send [19:19:51]OFD Sender: No OFD packet to send [19:19:56]OFD Sender: No OFD packet to send [19:20:01]OFD Sender: No OFD packet to send [19:20:01]accept exits with 7 [19:20:01]New connection [19:20:01]New thread 3067297124 created [19:20:01]Thread 3067440484 joined [19:20:01]Waiting for new connection... [19:20:01] Sock 7.Parse request [19:20:01]Sock 7.Check first char [19:20:01]Sock 7.First char is OK [19:20:01]request: POST /json_proto HTTP/1.0 [19:20:01]Method: POST [19:20:01]URL: /json_proto [19:20:01]Method is POST - this is cgi request [19:20:01]url: /json_proto [19:20:01]query_string will be loaded in cgi processing [19:20:01]execute_cgi json_proto POST (null) [19:20:01]execute_cgi path=json_proto method=POST [19:20:01]POST find Content-Length [19:20:01]Host: 172.17.40.196:8080 [19:20:01]Content-Length: 590 [19:20:01]Content-Type: application/json [19:20:01] [19:20:01]POST finish read [19:20:01]Found Content-Length = 590 [19:20:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35040", "tax_sys" : 0, "items" : [ { "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:20:01]execute_script... [19:20: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)35040", "tax_sys" : 0, "items" : [ { "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:20:01]POST & json_proto [19:20:01]process_json_proto [19:20:01]json parsed OK: [19:20:01]protocol is kg_v1.0 [19:20:01]action value=close_receipt [19:20:01]process_action close_receipt [19:20:01]cmd_close_receipt [19:20:01]MH_GetDate [19:20:01]Write to MH i2c: F0 00 00 51 11 51 [19:20:01]Write i2c OK [19:20:01]MH_I2C_Read... [19:20:01]Read from MH i2c: F0 [19:20:01]MH_I2C_Read... [19:20:01]Read from MH i2c: F0 09 00 [19:20:01]MH_I2C_Read... [19:20:01]Read from MH i2c: F0 09 00 51 11 00 65 92 1E 67 5B 68 A1 66 A0 [19:20:01]GetLastDocTimeStamp 1730055696 [19:20:01]current date 1730056805 [19:20:01]FM_GetShiftState [19:20:01]SAM_PROTO_GetShiftState [19:20:01]wFMCommunicate request_size=4 [19:20:01]MH_SAM_APDU [19:20:01]CAPDU: 80 13 01 00 [19:20:01]Write to MH i2c: E2 08 00 52 11 80 13 01 00 00 00 00 00 E0 [19:20:01]Write i2c OK [19:20:01]MH_I2C_Read... [19:20:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:20:01]Read from MH i2c: E2 [19:20:01]MH_I2C_Read... [19:20:01]Read from MH i2c: E2 0E 00 [19:20:01]MH_I2C_Read... [19:20:01]Read from MH i2c: E2 0E 00 52 11 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 97 [19:20:01]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [19:20:01]wFMCommunicate OK [19:20:01]SAM_PROTO_GetShiftState done [19:20:01]FM_GetShiftState done [19:20:01]opened in 1729987492 [19:20:01]opened+sec_in_day 1730073892 [19:20:01]quantity*price = 4500 [19:20:01]sum+1 = 4501 [19:20:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 68 27.10.2024 19:20 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37742 ФПД: 167569104641198 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T192005&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37742&fm=167569104641198&tin=02508201610067®Number=0000000000091684&sum=4500 0 [19:20:02]StoreToDocumentArchive [19:20:02]shift 550 fd 37742 [19:20:02]save to /storage/0550/doc_00037742 [19:20:02]save last doc name /storage/0550/doc_00037742 to /storage/kkm_last_doc_name [19:20:02]save OK [19:20:02]Clear old archive folders... [19:20:02]ProcessDocumentItem done err = 0, tmpTLVsize=266 [19:20:02]tlvbuf is B6F1F940 [19:20:02]SAM_PROTO_ClearQueue [19:20:02]wFMCommunicate request_size=4 [19:20:02]MH_SAM_APDU [19:20:02]CAPDU: 80 09 00 00 [19:20:02]Write to MH i2c: E2 08 00 5F 11 80 09 00 00 00 00 00 00 E2 [19:20:02]Write i2c OK [19:20:02]MH_I2C_Read... [19:20:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:20:02]Read from MH i2c: E2 [19:20:02]MH_I2C_Read... [19:20:02]Read from MH i2c: E2 03 00 [19:20:02]MH_I2C_Read... [19:20:02]Read from MH i2c: E2 03 00 5F 11 00 90 00 E4 [19:20:02]RAPDU: 90 00 [19:20:02]wFMCommunicate OK [19:20:02]SAM_PROTO_ClearQueue done [19:20:02]KKMCreateOFDPacket [19:20:02]OFDProtocolAddRootSTLVToBuf [19:20:02]FM_MakeSignedData [19:20:02]FM_MakeSignedData [19:20:02]SAM_PROTO_SignData [19:20:02]wFMCommunicate request_size=4 [19:20:02]MH_SAM_APDU [19:20:02]CAPDU: 80 0D 01 02 [19:20:02]Write to MH i2c: E2 08 00 60 11 80 0D 01 02 00 00 00 00 EA [19:20:02]Write i2c OK [19:20:02]MH_I2C_Read... [19:20:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:20:03]Read from MH i2c: E2 [19:20:03]MH_I2C_Read... [19:20:03]Read from MH i2c: E2 03 00 [19:20:03]MH_I2C_Read... [19:20:03]Read from MH i2c: E2 03 00 60 11 00 90 00 E5 [19:20:03]RAPDU: 90 00 [19:20:03]wFMCommunicate OK [19:20:03]wFMCommunicate request_size=255 [19:20:03]MH_SAM_APDU [19:20:03]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 65 92 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [19:20:03]Write to MH i2c: E2 02 01 61 11 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 65 92 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 88 [19:20:03]Write i2c OK [19:20:03]MH_I2C_Read... [19:20:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:20:03]Read from MH i2c: E2 [19:20:03]MH_I2C_Read... [19:20:03]Read from MH i2c: E2 03 00 [19:20:03]MH_I2C_Read... [19:20:03]Read from MH i2c: E2 03 00 61 11 00 90 00 E6 [19:20:03]RAPDU: 90 00 [19:20:03]wFMCommunicate OK [19:20:03]wFMCommunicate request_size=25 [19:20:03]MH_SAM_APDU [19:20:03]CAPDU: 80 0D 02 02 14 34 31 10 04 04 00 6E 93 00 00 35 04 06 00 98 67 38 F5 1C AE [19:20:03]Write to MH i2c: E2 1C 00 62 11 80 0D 02 02 14 00 34 31 10 04 04 00 6E 93 00 00 35 04 06 00 98 67 38 F5 1C AE 00 00 C8 [19:20:03]Write i2c OK [19:20:03]MH_I2C_Read... [19:20:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:20:03]Read from MH i2c: E2 [19:20:03]MH_I2C_Read... [19:20:03]Read from MH i2c: E2 03 00 [19:20:03]MH_I2C_Read... [19:20:03]Read from MH i2c: E2 03 00 62 11 00 90 00 E7 [19:20:03]RAPDU: 90 00 [19:20:03]wFMCommunicate OK [19:20:03]wFMCommunicate request_size=4 [19:20:03]MH_SAM_APDU [19:20:03]CAPDU: 80 0D 03 02 [19:20:03]Write to MH i2c: E2 08 00 63 11 80 0D 03 02 00 00 00 00 EF [19:20:03]Write i2c OK [19:20:03]MH_I2C_Read... [19:20:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:20:03]Read from MH i2c: E2 [19:20:03]MH_I2C_Read... [19:20:03]Read from MH i2c: E2 0B 00 [19:20:03]MH_I2C_Read... [19:20:03]Read from MH i2c: E2 0B 00 63 11 00 EB 84 72 38 FD 22 D4 FD 90 00 F9 [19:20:03]RAPDU: EB 84 72 38 FD 22 D4 FD 90 00 [19:20:03]wFMCommunicate OK [19:20:03]SAM_PROTO_SignData done [19:20:03]FM_MakeSignedData done [19:20:03]CreateOFDProtocolMessage [19:20:03]wFMCommunicate request_size=4 [19:20:03]MH_SAM_APDU [19:20:03]CAPDU: 80 11 00 00 [19:20:03]Write to MH i2c: E2 08 00 64 11 80 11 00 00 00 00 00 00 EF [19:20:03]Write i2c OK [19:20:03]MH_I2C_Read... [19:20:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:20:03]Read from MH i2c: E2 [19:20:03]MH_I2C_Read... [19:20:03]Read from MH i2c: E2 17 00 [19:20:03]MH_I2C_Read... [19:20:03]Read from MH i2c: E2 17 00 64 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 3F [19:20:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:20:03]wFMCommunicate OK [19:20:03]CreateOFDProtocolMessage done [19:20:03]OFDSenderStorePacket 37742 [19:20:03]StoreOFDPacket docnum=37742 [19:20: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 1E 01 00 00 40 E6 16 01 43 71 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 65 92 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 6E 93 00 00 35 04 06 00 98 67 38 F5 1C AE EB 84 72 38 FD 22 D4 FD [19:20:03]CheckFolder [19:20:03]dirname=/storage/ofd_packets [19:20:03]CheckFolder done [19:20:03]ProducePacketName [19:20:03]name=ofd_packets/00037742 [19:20:03]NVStorageSaveData ofd_packets/00037742 [19:20:03]File name is /storage/ofd_packets/00037742 [19:20:03]Write 316 bytes [19:20:03]NVStorageSaveData done [19:20:03]OFDSenderStorePacket done [19:20:03]KKMCreateOFDPacket done [19:20:03]NVStorageSaveData kkm_last_timestamp [19:20:03]File name is /storage/kkm_last_timestamp [19:20:03]Write 4 bytes [19:20:03]NVStorageSaveData done [19:20:03]ExternCall_PrintAddStr [19:20:03]wPrintStart [19:20:03]Write to MH i2c: 01 00 00 65 11 76 [19:20:03]OFD Sender: Processing packet 37742 [packets to send 42, broken 41] [19:20:03]ProducePacketName [19:20:03]name=ofd_packets/00037742 [19:20:03]OFD Sender: To server: pG, [19:20:03]CommunicateWithHost lk.salyk.kg:30040 [19:20:03]ConnectInit lk.salyk.kg [19:20:03]Write i2c OK [19:20:03]MH_I2C_Read... [19:20:03]Read from MH i2c: 01 [19:20:03]MH_I2C_Read... [19:20:03]Read from MH i2c: 01 07 00 [19:20:03]MH_I2C_Read... [19:20:03]Read from MH i2c: 01 07 00 65 11 00 00 00 00 00 FF 0F 8B [19:20:03]RasterBufferAndPrint [19:20:03]line Счет N : (3)35040 [19:20:03]line ИНН: 02508201610067 [19:20:03]line Контрольно-Кассовый Чек [19:20:03]line ПРОДАЖА [19:20:03]line Товар: 42069942 [19:20:03]line Жев Orbit White Fresh Mint [19:20:03]line 1.000 * 45.00 [19:20:03]line = 45.00 [19:20:03]line НДС 12% НСП 1% [19:20:03]line > о реализуемом товаре [19:20:03]line ИТОГО: 45.00 [19:20:03]line НСП 1% : 0.40 [19:20:03]line НДС 12% : 4.78 [19:20:03]line Наличными: 45.00 [19:20:03]line Безнал.: 0.00 [19:20:03]line Место: АЗС № 126 "Партнер Нефть" [19:20:03]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [19:20:03]line СНО: Общий режим [19:20:03]line Чек 68 27.10.2024 19:20 [19:20:03]line Смена: 550 ФФД: 1.0 [19:20:03]line ЗНМ: 0300000092 [19:20:03]line РНМ: 0000000000091684 [19:20:03]line Версия ККМ: 001 [19:20:03]line ФМ: 0000000000871841 [19:20:03]line ФД: 37742 [19:20:03]line ФПД: 167569104641198 [19:20:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T192005&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37742&fm=167569104641198&tin=02508201610067®Number=0000000000091684&sum=4500 [19:20:03]line 0 [19:20:03]Connected sock=10 [19:20: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 1E 01 00 00 40 E6 16 01 43 71 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 65 92 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 6E 93 00 00 35 04 06 00 98 67 38 F5 1C AE EB 84 72 38 FD 22 D4 FD [19:20:03]written 0, free lines is 4095 [19:20: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 83 A7 47 00 7B 26 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6E 93 00 00 F4 03 04 00 5C 3D 1E 67 B6 04 01 00 00 0A 14 9E DB 7F 3E C8 18 [19:20:04]CommunicateWithHost err = 0 [19:20:04]CheckOFDResponse [19:20:04]1017 (14) - 77093643461234 [19:20:04]1041 (16) - 0000000000871841 [19:20:04]1040 (4) - 37742 [19:20:04]1012 (4) - 27.10.2024 13:17 [19:20:04]1206 (1) - 0 [19:20:04]OFD Sender: Remove packet 37742 [19:20:04]ProducePacketName [19:20:04]name=ofd_packets/00037742 [19:20:04]NVStorageDeleteData [19:20:04]Write to MH i2c: 01 00 00 8D 11 9E [19:20:04]Write i2c OK [19:20:04]MH_I2C_Read... [19:20:04]Read from MH i2c: 01 [19:20:04]MH_I2C_Read... [19:20:04]Read from MH i2c: 01 07 00 [19:20:04]MH_I2C_Read... [19:20:04]Read from MH i2c: 01 07 00 8D 11 00 00 00 00 00 C9 0C 7A [19:20:04]RasterBufferAndPrint [19:20:04]line [19:20:04]line [19:20:04]line [19:20:04]line [19:20:04]line [19:20:04]written 0, free lines is 3280 [19:20:04]MH_Cut [19:20:04]Write to MH i2c: D1 01 00 94 11 01 77 [19:20:04]Write i2c OK [19:20:04]MH_I2C_Read... [19:20:04]Read from MH i2c: D1 [19:20:04]MH_I2C_Read... [19:20:04]Read from MH i2c: D1 01 00 [19:20:04]MH_I2C_Read... [19:20:04]Read from MH i2c: D1 01 00 94 11 00 76 [19:20:04]Write to MH i2c: 01 00 00 95 11 A6 [19:20:04]Write i2c OK [19:20:04]MH_I2C_Read... [19:20:04]OFD Sender: No OFD packet to send [19:20:05]*** Cut start [19:20:05]*** Partial cut [19:20:05]*** CUTSNS_PIN = 1 [19:20:05]*** CUTSNS_PIN = 0 [19:20:05]*** Brake cut motor [19:20:05]Read from MH i2c: 01 [19:20:05]MH_I2C_Read... [19:20:05]*** Stop cut motor [19:20:05]*** Cut end [19:20:05]Read from MH i2c: 01 07 00 [19:20:05]MH_I2C_Read... [19:20:05]Read from MH i2c: 01 07 00 95 11 00 00 00 00 00 FF 0F BB [19:20:05]process_action close_receipt done [19:20:05]requested_data is exist [19:20:05]produce_requested_data [19:20:05]requested_item fm.sn is exist - process it [19:20:05]wFMCommunicate request_size=4 [19:20:05]MH_SAM_APDU [19:20:05]CAPDU: 80 11 00 00 [19:20:05]Write to MH i2c: E2 08 00 96 11 80 11 00 00 00 00 00 00 21 [19:20:05]Write i2c OK [19:20:05]MH_I2C_Read... [19:20:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:20:05]Read from MH i2c: E2 [19:20:05]MH_I2C_Read... [19:20:05]Read from MH i2c: E2 17 00 [19:20:05]MH_I2C_Read... [19:20:05]Read from MH i2c: E2 17 00 96 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 71 [19:20:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:20:05]wFMCommunicate OK [19:20:05]requested_item fd.num is exist - process it [19:20:05]SAM_PROTO_GetFieldsCounters [19:20:05]wFMCommunicate request_size=4 [19:20:05]MH_SAM_APDU [19:20:05]CAPDU: 80 13 00 00 [19:20:05]Write to MH i2c: E2 08 00 97 11 80 13 00 00 00 00 00 00 24 [19:20:05]Write i2c OK [19:20:05]MH_I2C_Read... [19:20:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:20:05]Read from MH i2c: E2 [19:20:05]MH_I2C_Read... [19:20:05]Read from MH i2c: E2 62 00 [19:20:05]MH_I2C_Read... [19:20:05]Read from MH i2c: E2 62 00 97 11 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 6E 93 00 00 0E 04 04 00 26 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 3A [19:20: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 6E 93 00 00 0E 04 04 00 26 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:20:05]wFMCommunicate OK [19:20:05]SAM_PROTO_GetFieldsCounters done [19:20:05]requested_item shift.num is exist - process it [19:20:05]requested_item shift.opened is exist - process it [19:20:05]req_shift_opened [19:20:05]FM_GetShiftState [19:20:05]SAM_PROTO_GetShiftState [19:20:05]wFMCommunicate request_size=4 [19:20:05]MH_SAM_APDU [19:20:05]CAPDU: 80 13 01 00 [19:20:05]Write to MH i2c: E2 08 00 98 11 80 13 01 00 00 00 00 00 26 [19:20:05]Write i2c OK [19:20:05]MH_I2C_Read... [19:20:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:20:05]Read from MH i2c: E2 [19:20:05]MH_I2C_Read... [19:20:05]Read from MH i2c: E2 0E 00 [19:20:05]MH_I2C_Read... [19:20:05]Read from MH i2c: E2 0E 00 98 11 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 DD [19:20:05]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [19:20:05]wFMCommunicate OK [19:20:05]SAM_PROTO_GetShiftState done [19:20:05]FM_GetShiftState done [19:20:05]req_shift_opened done [19:20:05]requested_item shift.open_date is exist - process it [19:20:05]req_shift_open_date [19:20:05]req_shift_open_date done [19:20:05]produce_requested_data done [19:20:05]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37742,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [19:20:05]process_action_free close_receipt [19:20:05]json_value_free [19:20:05]json_value_free done [19:20:05]process_json_proto returns [19:20:05]Send response to host [19:20:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37742,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [19:20:05]free response buf [19:20:05]execute_script done [19:20:05]execute_script returns [19:20:05]free content buf [19:20:05]Sock 7.Close socket [19:20:05]Sock 7.Thread stoped [19:20:09]OFD Sender: No OFD packet to send [19:20:14]OFD Sender: No OFD packet to send [19:20:19]OFD Sender: No OFD packet to send [19:20:24]OFD Sender: No OFD packet to send [19:20:29]OFD Sender: No OFD packet to send [19:20:34]OFD Sender: No OFD packet to send [19:20:39]OFD Sender: No OFD packet to send [19:20:44]OFD Sender: No OFD packet to send [19:20:49]OFD Sender: No OFD packet to send [19:20:54]OFD Sender: No OFD packet to send [19:20:59]OFD Sender: No OFD packet to send [19:21:04]OFD Sender: No OFD packet to send [19:21:09]OFD Sender: No OFD packet to send [19:21:14]OFD Sender: No OFD packet to send [19:21:19]OFD Sender: No OFD packet to send [19:21:24]OFD Sender: No OFD packet to send [19:21:29]OFD Sender: No OFD packet to send [19:21:34]OFD Sender: No OFD packet to send [19:21:39]OFD Sender: No OFD packet to send [19:21:44]OFD Sender: No OFD packet to send [19:21:49]OFD Sender: No OFD packet to send [19:21:54]OFD Sender: No OFD packet to send [19:21:59]OFD Sender: No OFD packet to send [19:22:04]OFD Sender: No OFD packet to send [19:22:09]OFD Sender: No OFD packet to send [19:22:14]OFD Sender: No OFD packet to send [19:22:19]OFD Sender: No OFD packet to send [19:22:24]OFD Sender: No OFD packet to send [19:22:29]OFD Sender: No OFD packet to send [19:22:34]OFD Sender: No OFD packet to send [19:22:39]OFD Sender: No OFD packet to send [19:22:44]OFD Sender: No OFD packet to send [19:22:49]OFD Sender: No OFD packet to send [19:22:54]OFD Sender: No OFD packet to send [19:22:59]OFD Sender: No OFD packet to send [19:23:04]OFD Sender: No OFD packet to send [19:23:09]OFD Sender: No OFD packet to send [19:23:14]OFD Sender: No OFD packet to send [19:23:19]OFD Sender: No OFD packet to send [19:23:24]OFD Sender: No OFD packet to send [19:23:29]OFD Sender: No OFD packet to send [19:23:34]OFD Sender: No OFD packet to send [19:23:39]OFD Sender: No OFD packet to send [19:23:44]OFD Sender: No OFD packet to send [19:23:49]OFD Sender: No OFD packet to send [19:23:54]OFD Sender: No OFD packet to send [19:23:59]OFD Sender: No OFD packet to send [19:24:04]OFD Sender: No OFD packet to send [19:24:09]OFD Sender: No OFD packet to send [19:24:14]OFD Sender: No OFD packet to send [19:24:19]OFD Sender: No OFD packet to send [19:24:24]OFD Sender: No OFD packet to send [19:24:29]OFD Sender: No OFD packet to send [19:24:34]OFD Sender: No OFD packet to send [19:24:39]OFD Sender: No OFD packet to send [19:24:44]OFD Sender: No OFD packet to send [19:24:49]OFD Sender: No OFD packet to send [19:24:54]OFD Sender: No OFD packet to send [19:24:59]OFD Sender: No OFD packet to send [19:25:04]OFD Sender: No OFD packet to send [19:25:09]OFD Sender: No OFD packet to send [19:25:14]OFD Sender: No OFD packet to send [19:25:19]OFD Sender: No OFD packet to send [19:25:24]OFD Sender: No OFD packet to send [19:25:29]OFD Sender: No OFD packet to send [19:25:34]OFD Sender: No OFD packet to send [19:25:39]OFD Sender: No OFD packet to send [19:25:44]OFD Sender: No OFD packet to send [19:25:49]OFD Sender: No OFD packet to send [19:25:54]OFD Sender: No OFD packet to send [19:25:59]OFD Sender: No OFD packet to send [19:26:04]OFD Sender: No OFD packet to send [19:26:09]OFD Sender: No OFD packet to send [19:26:14]OFD Sender: No OFD packet to send [19:26:19]OFD Sender: No OFD packet to send [19:26:24]OFD Sender: No OFD packet to send [19:26:29]OFD Sender: No OFD packet to send [19:26:34]OFD Sender: No OFD packet to send [19:26:39]OFD Sender: No OFD packet to send [19:26:44]OFD Sender: No OFD packet to send [19:26:49]OFD Sender: No OFD packet to send [19:26:54]OFD Sender: No OFD packet to send [19:26:59]OFD Sender: No OFD packet to send [19:27:04]OFD Sender: No OFD packet to send [19:27:09]OFD Sender: No OFD packet to send [19:27:14]OFD Sender: No OFD packet to send [19:27:19]OFD Sender: No OFD packet to send [19:27:24]OFD Sender: No OFD packet to send [19:27:29]OFD Sender: No OFD packet to send [19:27:34]OFD Sender: No OFD packet to send [19:27:39]OFD Sender: No OFD packet to send [19:27:44]OFD Sender: No OFD packet to send [19:27:49]OFD Sender: No OFD packet to send [19:27:54]OFD Sender: No OFD packet to send [19:27:59]OFD Sender: No OFD packet to send [19:28:04]OFD Sender: No OFD packet to send [19:28:09]OFD Sender: No OFD packet to send [19:28:14]OFD Sender: No OFD packet to send [19:28:19]OFD Sender: No OFD packet to send [19:28:25]OFD Sender: No OFD packet to send [19:28:30]OFD Sender: No OFD packet to send [19:28:35]OFD Sender: No OFD packet to send [19:28:40]OFD Sender: No OFD packet to send [19:28:45]OFD Sender: No OFD packet to send [19:28:50]OFD Sender: No OFD packet to send [19:28:55]OFD Sender: No OFD packet to send [19:29:00]OFD Sender: No OFD packet to send [19:29:05]OFD Sender: No OFD packet to send [19:29:10]OFD Sender: No OFD packet to send [19:29:15]OFD Sender: No OFD packet to send [19:29:20]OFD Sender: No OFD packet to send [19:29:25]OFD Sender: No OFD packet to send [19:29:30]OFD Sender: No OFD packet to send [19:29:35]OFD Sender: No OFD packet to send [19:29:40]OFD Sender: No OFD packet to send [19:29:45]OFD Sender: No OFD packet to send [19:29:50]OFD Sender: No OFD packet to send [19:29:55]OFD Sender: No OFD packet to send [19:30:00]OFD Sender: No OFD packet to send [19:30:05]OFD Sender: No OFD packet to send [19:30:10]OFD Sender: No OFD packet to send [19:30:15]OFD Sender: No OFD packet to send [19:30:20]OFD Sender: No OFD packet to send [19:30:25]OFD Sender: No OFD packet to send [19:30:30]OFD Sender: No OFD packet to send [19:30:35]OFD Sender: No OFD packet to send [19:30:40]OFD Sender: No OFD packet to send [19:30:45]OFD Sender: No OFD packet to send [19:30:50]OFD Sender: No OFD packet to send [19:30:55]OFD Sender: No OFD packet to send [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]OFD Sender: No OFD packet to send [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:25]OFD Sender: No OFD packet to send [19:36:30]OFD Sender: No OFD packet to send [19:36:35]OFD Sender: No OFD packet to send [19:36:40]OFD Sender: No OFD packet to send [19:36:45]OFD Sender: No OFD packet to send [19:36:50]OFD Sender: No OFD packet to send [19:36:55]OFD Sender: No OFD packet to send [19:37:00]OFD Sender: No OFD packet to send [19:37:05]OFD Sender: No OFD packet to send [19:37:10]OFD Sender: No OFD packet to send [19:37:15]OFD Sender: No OFD packet to send [19:37:20]OFD Sender: No OFD packet to send [19:37:25]OFD Sender: No OFD packet to send [19:37:30]OFD Sender: No OFD packet to send [19:37:35]OFD Sender: No OFD packet to send [19:37:40]OFD Sender: No OFD packet to send [19:37:45]OFD Sender: No OFD packet to send [19:37:50]OFD Sender: No OFD packet to send [19:37:55]OFD Sender: No OFD packet to send [19:38:00]OFD Sender: No OFD packet to send [19:38:05]OFD Sender: No OFD packet to send [19:38:10]OFD Sender: No OFD packet to send [19:38:15]OFD Sender: No OFD packet to send [19:38:20]OFD Sender: No OFD packet to send [19:38:25]OFD Sender: No OFD packet to send [19:38:30]OFD Sender: No OFD packet to send [19:38:35]OFD Sender: No OFD packet to send [19:38:40]OFD Sender: No OFD packet to send [19:38:45]OFD Sender: No OFD packet to send [19:38:50]OFD Sender: No OFD packet to send [19:38:55]OFD Sender: No OFD packet to send [19:39:00]OFD Sender: No OFD packet to send [19:39:05]OFD Sender: No OFD packet to send [19:39:10]OFD Sender: No OFD packet to send [19:39:15]OFD Sender: No OFD packet to send [19:39:20]OFD Sender: No OFD packet to send [19:39:25]OFD Sender: No OFD packet to send [19:39:30]OFD Sender: No OFD packet to send [19:39:35]OFD Sender: No OFD packet to send [19:39:40]OFD Sender: No OFD packet to send [19:39:45]OFD Sender: No OFD packet to send [19:39:50]OFD Sender: No OFD packet to send [19:39:55]OFD Sender: No OFD packet to send [19:40:00]OFD Sender: No OFD packet to send [19:40:05]OFD Sender: No OFD packet to send [19:40:10]OFD Sender: No OFD packet to send [19:40:15]OFD Sender: No OFD packet to send [19:40:20]OFD Sender: No OFD packet to send [19:40:25]OFD Sender: No OFD packet to send [19:40:30]OFD Sender: No OFD packet to send [19:40:35]OFD Sender: No OFD packet to send [19:40:40]OFD Sender: No OFD packet to send [19:40:45]OFD Sender: No OFD packet to send [19:40:50]OFD Sender: No OFD packet to send [19:40:55]OFD Sender: No OFD packet to send [19:41:00]OFD Sender: No OFD packet to send [19:41:05]OFD Sender: No OFD packet to send [19:41:10]OFD Sender: No OFD packet to send [19:41:15]OFD Sender: No OFD packet to send [19:41:20]OFD Sender: No OFD packet to send [19:41:25]OFD Sender: No OFD packet to send [19:41:30]OFD Sender: No OFD packet to send [19:41:35]OFD Sender: No OFD packet to send [19:41:40]OFD Sender: No OFD packet to send [19:41:45]OFD Sender: No OFD packet to send [19:41:50]OFD Sender: No OFD packet to send [19:41:55]OFD Sender: No OFD packet to send [19:42:00]OFD Sender: No OFD packet to send [19:42:05]OFD Sender: No OFD packet to send [19:42:10]OFD Sender: No OFD packet to send [19:42:15]OFD Sender: No OFD packet to send [19:42:20]OFD Sender: No OFD packet to send [19:42:25]OFD Sender: No OFD packet to send [19:42:30]OFD Sender: No OFD packet to send [19:42:35]OFD Sender: No OFD packet to send [19:42:40]OFD Sender: No OFD packet to send [19:42:45]OFD Sender: No OFD packet to send [19:42:50]OFD Sender: No OFD packet to send [19:42:55]OFD Sender: No OFD packet to send [19:43:00]OFD Sender: No OFD packet to send [19:43:05]OFD Sender: No OFD packet to send [19:43:10]OFD Sender: No OFD packet to send [19:43:15]OFD Sender: No OFD packet to send [19:43:20]OFD Sender: No OFD packet to send [19:43:25]OFD Sender: No OFD packet to send [19:43:30]OFD Sender: No OFD packet to send [19:43:35]OFD Sender: No OFD packet to send [19:43:40]OFD Sender: No OFD packet to send [19:43:45]OFD Sender: No OFD packet to send [19:43:50]OFD Sender: No OFD packet to send [19:43:55]OFD Sender: No OFD packet to send [19:44:00]OFD Sender: No OFD packet to send [19:44:05]OFD Sender: No OFD packet to send [19:44:10]OFD Sender: No OFD packet to send [19:44:15]OFD Sender: No OFD packet to send [19:44:20]OFD Sender: No OFD packet to send [19:44:25]OFD Sender: No OFD packet to send [19:44:30]OFD Sender: No OFD packet to send [19:44:35]OFD Sender: No OFD packet to send [19:44:40]OFD Sender: No OFD packet to send [19:44:45]OFD Sender: No OFD packet to send [19:44:50]OFD Sender: No OFD packet to send [19:44:55]OFD Sender: No OFD packet to send [19:45:00]OFD Sender: No OFD packet to send [19:45:05]OFD Sender: No OFD packet to send [19:45:10]OFD Sender: No OFD packet to send [19:45:15]OFD Sender: No OFD packet to send [19:45:20]OFD Sender: No OFD packet to send [19:45:25]accept exits with 9 [19:45:25]New connection [19:45:25]New thread 3067440484 created [19:45:25]Thread 3067297124 joined [19:45:25]Waiting for new connection... [19:45:25] Sock 9.Parse request [19:45:25]Sock 9.Check first char [19:45:25]Sock 9.First char is OK [19:45:25]request: POST /json_proto HTTP/1.0 [19:45:25]Method: POST [19:45:25]URL: /json_proto [19:45:25]Method is POST - this is cgi request [19:45:25]url: /json_proto [19:45:25]query_string will be loaded in cgi processing [19:45:25]execute_cgi json_proto POST (null) [19:45:25]execute_cgi path=json_proto method=POST [19:45:25]POST find Content-Length [19:45:25]Host: 172.17.40.196:8080 [19:45:25]Content-Length: 645 [19:45:25]Content-Type: application/json [19:45:25] [19:45:25]POST finish read [19:45:25]Found Content-Length = 645 [19:45:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35041", "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" : 2.000, "sum" : 318.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 318.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:45:25]execute_script... [19:45:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35041", "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" : 2.000, "sum" : 318.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 318.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:45:25]POST & json_proto [19:45:25]process_json_proto [19:45:25]json parsed OK: [19:45:25]protocol is kg_v1.0 [19:45:25]action value=close_receipt [19:45:25]process_action close_receipt [19:45:25]cmd_close_receipt [19:45:25]MH_GetDate [19:45:25]Write to MH i2c: F0 00 00 99 11 99 [19:45:25]Write i2c OK [19:45:25]MH_I2C_Read... [19:45:25]Read from MH i2c: F0 [19:45:25]MH_I2C_Read... [19:45:25]Read from MH i2c: F0 09 00 [19:45:25]MH_I2C_Read... [19:45:25]Read from MH i2c: F0 09 00 99 11 00 59 98 1E 67 5B 68 A1 66 E2 [19:45:25]GetLastDocTimeStamp 1730056805 [19:45:25]current date 1730058329 [19:45:25]FM_GetShiftState [19:45:25]SAM_PROTO_GetShiftState [19:45:25]wFMCommunicate request_size=4 [19:45:25]MH_SAM_APDU [19:45:25]CAPDU: 80 13 01 00 [19:45:25]Write to MH i2c: E2 08 00 9A 11 80 13 01 00 00 00 00 00 28 [19:45:25]Write i2c OK [19:45:25]MH_I2C_Read... [19:45:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:45:25]Read from MH i2c: E2 [19:45:25]MH_I2C_Read... [19:45:25]Read from MH i2c: E2 0E 00 [19:45:25]MH_I2C_Read... [19:45:25]Read from MH i2c: E2 0E 00 9A 11 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 DF [19:45:25]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [19:45:25]wFMCommunicate OK [19:45:25]SAM_PROTO_GetShiftState done [19:45:25]FM_GetShiftState done [19:45:25]opened in 1729987492 [19:45:25]opened+sec_in_day 1730073892 [19:45:25]quantity*price = 31800 [19:45:25]sum+1 = 31801 [19:45:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 318.00 НСП 1% : 2.81 НДС 12% : 33.77 Наличными: 318.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 69 27.10.2024 19:45 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37743 ФПД: 195115902580619 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T194529&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37743&fm=195115902580619&tin=02508201610067®Number=0000000000091684&sum=31800 0 [19:45:26]StoreToDocumentArchive [19:45:26]shift 550 fd 37743 [19:45:26]save to /storage/0550/doc_00037743 [19:45:26]save last doc name /storage/0550/doc_00037743 to /storage/kkm_last_doc_name [19:45:26]save OK [19:45:26]Clear old archive folders... [19:45:26]ProcessDocumentItem done err = 0, tmpTLVsize=278 [19:45:26]tlvbuf is 00264FE0 [19:45:26]SAM_PROTO_ClearQueue [19:45:26]wFMCommunicate request_size=4 [19:45:26]MH_SAM_APDU [19:45:26]CAPDU: 80 09 00 00 [19:45:26]Write to MH i2c: E2 08 00 A7 11 80 09 00 00 00 00 00 00 2A [19:45:26]Write i2c OK [19:45:26]MH_I2C_Read... [19:45:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:45:27]Read from MH i2c: E2 [19:45:27]MH_I2C_Read... [19:45:27]Read from MH i2c: E2 03 00 [19:45:27]MH_I2C_Read... [19:45:27]Read from MH i2c: E2 03 00 A7 11 00 90 00 2C [19:45:27]RAPDU: 90 00 [19:45:27]wFMCommunicate OK [19:45:27]SAM_PROTO_ClearQueue done [19:45:27]KKMCreateOFDPacket [19:45:27]OFDProtocolAddRootSTLVToBuf [19:45:27]FM_MakeSignedData [19:45:27]FM_MakeSignedData [19:45:27]SAM_PROTO_SignData [19:45:27]wFMCommunicate request_size=4 [19:45:27]MH_SAM_APDU [19:45:27]CAPDU: 80 0D 01 02 [19:45:27]Write to MH i2c: E2 08 00 A8 11 80 0D 01 02 00 00 00 00 32 [19:45:27]Write i2c OK [19:45:27]MH_I2C_Read... [19:45:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:45:27]Read from MH i2c: E2 [19:45:27]MH_I2C_Read... [19:45:27]Read from MH i2c: E2 03 00 [19:45:27]MH_I2C_Read... [19:45:27]Read from MH i2c: E2 03 00 A8 11 00 90 00 2D [19:45:27]RAPDU: 90 00 [19:45:27]wFMCommunicate OK [19:45:27]wFMCommunicate request_size=255 [19:45:27]MH_SAM_APDU [19:45:27]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 D0 07 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 38 7C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 7C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 31 0D 00 00 00 00 07 04 06 00 38 7C 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 59 98 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 [19:45:27]Write to MH i2c: E2 02 01 A9 11 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 D0 07 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 38 7C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 7C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 31 0D 00 00 00 00 07 04 06 00 38 7C 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 59 98 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 B8 [19:45:27]Write i2c OK [19:45:27]MH_I2C_Read... [19:45:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:45:27]Read from MH i2c: E2 [19:45:27]MH_I2C_Read... [19:45:27]Read from MH i2c: E2 03 00 [19:45:27]MH_I2C_Read... [19:45:27]Read from MH i2c: E2 03 00 A9 11 00 90 00 2E [19:45:27]RAPDU: 90 00 [19:45:27]wFMCommunicate OK [19:45:27]wFMCommunicate request_size=37 [19:45:27]MH_SAM_APDU [19:45:27]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6F 93 00 00 35 04 06 00 B1 74 F6 10 37 8B [19:45:27]Write to MH i2c: E2 28 00 AA 11 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6F 93 00 00 35 04 06 00 B1 74 F6 10 37 8B 00 00 78 [19:45:27]Write i2c OK [19:45:27]MH_I2C_Read... [19:45:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:45:27]Read from MH i2c: E2 [19:45:27]MH_I2C_Read... [19:45:27]Read from MH i2c: E2 03 00 [19:45:27]MH_I2C_Read... [19:45:27]Read from MH i2c: E2 03 00 AA 11 00 90 00 2F [19:45:27]RAPDU: 90 00 [19:45:27]wFMCommunicate OK [19:45:27]wFMCommunicate request_size=4 [19:45:27]MH_SAM_APDU [19:45:27]CAPDU: 80 0D 03 02 [19:45:27]Write to MH i2c: E2 08 00 AB 11 80 0D 03 02 00 00 00 00 37 [19:45:27]Write i2c OK [19:45:27]MH_I2C_Read... [19:45:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:45:27]Read from MH i2c: E2 [19:45:27]MH_I2C_Read... [19:45:27]Read from MH i2c: E2 0B 00 [19:45:27]MH_I2C_Read... [19:45:27]Read from MH i2c: E2 0B 00 AB 11 00 66 33 34 74 FE FA 20 78 90 00 09 [19:45:27]RAPDU: 66 33 34 74 FE FA 20 78 90 00 [19:45:27]wFMCommunicate OK [19:45:27]SAM_PROTO_SignData done [19:45:27]FM_MakeSignedData done [19:45:27]CreateOFDProtocolMessage [19:45:27]wFMCommunicate request_size=4 [19:45:27]MH_SAM_APDU [19:45:27]CAPDU: 80 11 00 00 [19:45:27]Write to MH i2c: E2 08 00 AC 11 80 11 00 00 00 00 00 00 37 [19:45:27]Write i2c OK [19:45:27]MH_I2C_Read... [19:45:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:45:27]Read from MH i2c: E2 [19:45:27]MH_I2C_Read... [19:45:27]Read from MH i2c: E2 17 00 [19:45:27]MH_I2C_Read... [19:45:27]Read from MH i2c: E2 17 00 AC 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 87 [19:45:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:45:27]wFMCommunicate OK [19:45:27]CreateOFDProtocolMessage done [19:45:27]OFDSenderStorePacket 37743 [19:45:27]StoreOFDPacket docnum=37743 [19:45:27]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 3B EE 22 01 E2 71 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 D0 07 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 38 7C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 7C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 31 0D 00 00 00 00 07 04 06 00 38 7C 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 59 98 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 6F 93 00 00 35 04 06 00 B1 74 F6 10 37 8B 66 33 34 74 FE FA 20 78 [19:45:27]CheckFolder [19:45:27]dirname=/storage/ofd_packets [19:45:27]CheckFolder done [19:45:27]ProducePacketName [19:45:27]name=ofd_packets/00037743 [19:45:27]NVStorageSaveData ofd_packets/00037743 [19:45:27]File name is /storage/ofd_packets/00037743 [19:45:27]Write 328 bytes [19:45:27]NVStorageSaveData done [19:45:27]OFDSenderStorePacket done [19:45:27]KKMCreateOFDPacket done [19:45:27]NVStorageSaveData kkm_last_timestamp [19:45:27]File name is /storage/kkm_last_timestamp [19:45:27]Write 4 bytes [19:45:27]NVStorageSaveData done [19:45:27]ExternCall_PrintAddStr [19:45:27]wPrintStart [19:45:27]Write to MH i2c: 01 00 00 AD 11 BE [19:45:27]Write i2c OK [19:45:27]MH_I2C_Read... [19:45:27]Read from MH i2c: 01 [19:45:27]MH_I2C_Read... [19:45:27]Read from MH i2c: 01 07 00 [19:45:27]MH_I2C_Read... [19:45:27]Read from MH i2c: 01 07 00 AD 11 00 00 00 00 00 FF 0F D3 [19:45:27]RasterBufferAndPrint [19:45:27]line Счет N : (3)35041 [19:45:27]line ИНН: 02508201610067 [19:45:27]line Контрольно-Кассовый Чек [19:45:27]line ПРОДАЖА [19:45:27]line Товар: 90162602 [19:45:27]line Энерг напиток Red bull 0,25л [19:45:27]line 2.000 * 159.00 [19:45:27]line = 318.00 [19:45:27]line НДС 12% НСП 1% [19:45:27]line > о реализуемом товаре [19:45:27]line ИТОГО: 318.00 [19:45:27]line НСП 1% : 2.81 [19:45:27]line НДС 12% : 33.77 [19:45:27]line Наличными: 318.00 [19:45:27]line Безнал.: 0.00 [19:45:27]line Место: АЗС № 126 "Партнер Нефть" [19:45:27]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [19:45:27]line СНО: Общий режим [19:45:27]line Чек 69 27.10.2024 19:45 [19:45:27]line Смена: 550 ФФД: 1.0 [19:45:27]line ЗНМ: 0300000092 [19:45:27]line РНМ: 0000000000091684 [19:45:27]line Версия ККМ: 001 [19:45:27]line ФМ: 0000000000871841 [19:45:27]line ФД: 37743 [19:45:27]line ФПД: 195115902580619 [19:45:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T194529&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37743&fm=195115902580619&tin=02508201610067®Number=0000000000091684&sum=31800 [19:45:27]OFD Sender: Processing packet 37743 [packets to send 42, broken 41] [19:45:27]ProducePacketName [19:45:27]name=ofd_packets/00037743 [19:45:27]OFD Sender: To server: pG, [19:45:27]CommunicateWithHost lk.salyk.kg:30040 [19:45:27]ConnectInit lk.salyk.kg [19:45:27]line 0 [19:45:27]written 0, free lines is 4095 [19:45:28]Connected sock=10 [19:45: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 2A 01 00 00 3B EE 22 01 E2 71 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 D0 07 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 38 7C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 7C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 31 0D 00 00 00 00 07 04 06 00 38 7C 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 59 98 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 6F 93 00 00 35 04 06 00 B1 74 F6 10 37 8B 66 33 34 74 FE FA 20 78 [19:45:28]Write to MH i2c: 01 00 00 D5 11 E6 [19:45:28]Write i2c OK [19:45:28]MH_I2C_Read... [19:45:28]Read from MH i2c: 01 [19:45:28]MH_I2C_Read... [19:45:28]Read from MH i2c: 01 07 00 [19:45:28]MH_I2C_Read... [19:45:28]Read from MH i2c: 01 07 00 D5 11 00 00 00 00 00 C5 0C BE [19:45:28]RasterBufferAndPrint [19:45:28]line [19:45:28]line [19:45:28]line [19:45:28]line [19:45:28]line [19:45:28]written 0, free lines is 3275 [19:45:28]MH_Cut [19:45:28]Write to MH i2c: D1 01 00 DC 11 01 BF [19:45:28]Write i2c OK [19:45:28]MH_I2C_Read... [19:45:28]Read from MH i2c: D1 [19:45:28]MH_I2C_Read... [19:45:28]Read from MH i2c: D1 01 00 [19:45:28]MH_I2C_Read... [19:45:28]Read from MH i2c: D1 01 00 DC 11 00 BE [19:45:28]Write to MH i2c: 01 00 00 DD 11 EE [19:45:28]Write i2c OK [19:45:28]MH_I2C_Read... [19:45: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 98 DF 47 00 FB 34 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 6F 93 00 00 F4 03 04 00 50 43 1E 67 B6 04 01 00 00 DD C8 F7 C9 9D 5C AA 61 [19:45:28]CommunicateWithHost err = 0 [19:45:28]CheckOFDResponse [19:45:28]1017 (14) - 77093643461234 [19:45:28]1041 (16) - 0000000000871841 [19:45:28]1040 (4) - 37743 [19:45:28]1012 (4) - 27.10.2024 13:42 [19:45:28]1206 (1) - 0 [19:45:28]OFD Sender: Remove packet 37743 [19:45:28]ProducePacketName [19:45:28]name=ofd_packets/00037743 [19:45:28]NVStorageDeleteData [19:45:29]OFD Sender: No OFD packet to send [19:45:29]*** Cut start [19:45:29]*** Partial cut [19:45:29]*** CUTSNS_PIN = 1 [19:45:29]*** CUTSNS_PIN = 0 [19:45:29]*** Brake cut motor [19:45:29]Read from MH i2c: 01 [19:45:29]MH_I2C_Read... [19:45:29]*** Stop cut motor [19:45:29]*** Cut end [19:45:29]Read from MH i2c: 01 07 00 [19:45:29]MH_I2C_Read... [19:45:29]Read from MH i2c: 01 07 00 DD 11 00 00 00 00 00 FF 0F 03 [19:45:29]process_action close_receipt done [19:45:29]requested_data is exist [19:45:29]produce_requested_data [19:45:29]requested_item fm.sn is exist - process it [19:45:29]wFMCommunicate request_size=4 [19:45:29]MH_SAM_APDU [19:45:29]CAPDU: 80 11 00 00 [19:45:29]Write to MH i2c: E2 08 00 DE 11 80 11 00 00 00 00 00 00 69 [19:45:29]Write i2c OK [19:45:29]MH_I2C_Read... [19:45:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:45:29]Read from MH i2c: E2 [19:45:29]MH_I2C_Read... [19:45:29]Read from MH i2c: E2 17 00 [19:45:29]MH_I2C_Read... [19:45:29]Read from MH i2c: E2 17 00 DE 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 B9 [19:45: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:45:29]wFMCommunicate OK [19:45:29]requested_item fd.num is exist - process it [19:45:29]SAM_PROTO_GetFieldsCounters [19:45:29]wFMCommunicate request_size=4 [19:45:29]MH_SAM_APDU [19:45:29]CAPDU: 80 13 00 00 [19:45:29]Write to MH i2c: E2 08 00 DF 11 80 13 00 00 00 00 00 00 6C [19:45:29]Write i2c OK [19:45:29]MH_I2C_Read... [19:45:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:45:29]Read from MH i2c: E2 [19:45:29]MH_I2C_Read... [19:45:29]Read from MH i2c: E2 62 00 [19:45:29]MH_I2C_Read... [19:45:29]Read from MH i2c: E2 62 00 DF 11 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 6F 93 00 00 0E 04 04 00 26 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 86 [19:45: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 6F 93 00 00 0E 04 04 00 26 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:45:29]wFMCommunicate OK [19:45:29]SAM_PROTO_GetFieldsCounters done [19:45:29]requested_item shift.num is exist - process it [19:45:29]requested_item shift.opened is exist - process it [19:45:29]req_shift_opened [19:45:29]FM_GetShiftState [19:45:29]SAM_PROTO_GetShiftState [19:45:29]wFMCommunicate request_size=4 [19:45:29]MH_SAM_APDU [19:45:29]CAPDU: 80 13 01 00 [19:45:29]Write to MH i2c: E2 08 00 E0 11 80 13 01 00 00 00 00 00 6E [19:45:30]Write i2c OK [19:45:30]MH_I2C_Read... [19:45:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:45:30]Read from MH i2c: E2 [19:45:30]MH_I2C_Read... [19:45:30]Read from MH i2c: E2 0E 00 [19:45:30]MH_I2C_Read... [19:45:30]Read from MH i2c: E2 0E 00 E0 11 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 25 [19:45:30]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [19:45:30]wFMCommunicate OK [19:45:30]SAM_PROTO_GetShiftState done [19:45:30]FM_GetShiftState done [19:45:30]req_shift_opened done [19:45:30]requested_item shift.open_date is exist - process it [19:45:30]req_shift_open_date [19:45:30]req_shift_open_date done [19:45:30]produce_requested_data done [19:45:30]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37743,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [19:45:30]process_action_free close_receipt [19:45:30]json_value_free [19:45:30]json_value_free done [19:45:30]process_json_proto returns [19:45:30]Send response to host [19:45:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37743,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [19:45:30]free response buf [19:45:30]execute_script done [19:45:30]execute_script returns [19:45:30]free content buf [19:45:30]Sock 9.Close socket [19:45:30]Sock 9.Thread stoped [19:45:34]OFD Sender: No OFD packet to send [19:45:39]OFD Sender: No OFD packet to send [19:45:44]OFD Sender: No OFD packet to send [19:45:49]OFD Sender: No OFD packet to send [19:45:54]OFD Sender: No OFD packet to send [19:45:59]OFD Sender: No OFD packet to send [19:46:04]OFD Sender: No OFD packet to send [19:46:09]OFD Sender: No OFD packet to send [19:46:14]OFD Sender: No OFD packet to send [19:46:19]OFD Sender: No OFD packet to send [19:46:24]OFD Sender: No OFD packet to send [19:46:29]OFD Sender: No OFD packet to send [19:46:34]OFD Sender: No OFD packet to send [19:46:39]OFD Sender: No OFD packet to send [19:46:44]OFD Sender: No OFD packet to send [19:46:49]OFD Sender: No OFD packet to send [19:46:54]OFD Sender: No OFD packet to send [19:46:59]OFD Sender: No OFD packet to send [19:47:04]OFD Sender: No OFD packet to send [19:47:09]OFD Sender: No OFD packet to send [19:47:14]OFD Sender: No OFD packet to send [19:47:19]OFD Sender: No OFD packet to send [19:47:24]OFD Sender: No OFD packet to send [19:47:29]OFD Sender: No OFD packet to send [19:47:34]OFD Sender: No OFD packet to send [19:47:39]OFD Sender: No OFD packet to send [19:47:44]OFD Sender: No OFD packet to send [19:47:49]OFD Sender: No OFD packet to send [19:47:54]OFD Sender: No OFD packet to send [19:47:59]OFD Sender: No OFD packet to send [19:48:04]OFD Sender: No OFD packet to send [19:48:09]OFD Sender: No OFD packet to send [19:48:14]OFD Sender: No OFD packet to send [19:48:19]OFD Sender: No OFD packet to send [19:48:24]OFD Sender: No OFD packet to send [19:48:29]OFD Sender: No OFD packet to send [19:48:34]OFD Sender: No OFD packet to send [19:48:39]OFD Sender: No OFD packet to send [19:48:44]OFD Sender: No OFD packet to send [19:48:49]OFD Sender: No OFD packet to send [19:48:54]OFD Sender: No OFD packet to send [19:48:59]OFD Sender: No OFD packet to send [19:49:04]OFD Sender: No OFD packet to send [19:49:09]OFD Sender: No OFD packet to send [19:49:14]OFD Sender: No OFD packet to send [19:49:19]OFD Sender: No OFD packet to send [19:49:24]OFD Sender: No OFD packet to send [19:49:29]OFD Sender: No OFD packet to send [19:49:34]OFD Sender: No OFD packet to send [19:49:39]OFD Sender: No OFD packet to send [19:49:44]OFD Sender: No OFD packet to send [19:49:49]OFD Sender: No OFD packet to send [19:49:54]OFD Sender: No OFD packet to send [19:49:59]OFD Sender: No OFD packet to send [19:50:04]OFD Sender: No OFD packet to send [19:50:09]OFD Sender: No OFD packet to send [19:50:14]OFD Sender: No OFD packet to send [19:50:19]OFD Sender: No OFD packet to send [19:50:24]OFD Sender: No OFD packet to send [19:50:29]OFD Sender: No OFD packet to send [19:50:34]OFD Sender: No OFD packet to send [19:50:39]OFD Sender: No OFD packet to send [19:50:44]OFD Sender: No OFD packet to send [19:50:49]OFD Sender: No OFD packet to send [19:50:54]OFD Sender: No OFD packet to send [19:50:59]OFD Sender: No OFD packet to send [19:51:04]OFD Sender: No OFD packet to send [19:51:09]OFD Sender: No OFD packet to send [19:51:14]OFD Sender: No OFD packet to send [19:51:19]OFD Sender: No OFD packet to send [19:51:24]OFD Sender: No OFD packet to send [19:51:29]OFD Sender: No OFD packet to send [19:51:34]OFD Sender: No OFD packet to send [19:51:39]OFD Sender: No OFD packet to send [19:51:44]OFD Sender: No OFD packet to send [19:51:49]OFD Sender: No OFD packet to send [19:51:54]OFD Sender: No OFD packet to send [19:51:59]OFD Sender: No OFD packet to send [19:52:04]OFD Sender: No OFD packet to send [19:52:09]OFD Sender: No OFD packet to send [19:52:14]OFD Sender: No OFD packet to send [19:52:19]OFD Sender: No OFD packet to send [19:52:24]OFD Sender: No OFD packet to send [19:52:29]OFD Sender: No OFD packet to send [19:52:34]OFD Sender: No OFD packet to send [19:52:39]OFD Sender: No OFD packet to send [19:52:44]OFD Sender: No OFD packet to send [19:52:49]OFD Sender: No OFD packet to send [19:52:54]OFD Sender: No OFD packet to send [19:52:59]OFD Sender: No OFD packet to send [19:53:04]OFD Sender: No OFD packet to send [19:53:09]OFD Sender: No OFD packet to send [19:53:14]OFD Sender: No OFD packet to send [19:53:19]OFD Sender: No OFD packet to send [19:53:24]OFD Sender: No OFD packet to send [19:53:29]OFD Sender: No OFD packet to send [19:53:34]OFD Sender: No OFD packet to send [19:53:39]OFD Sender: No OFD packet to send [19:53:44]OFD Sender: No OFD packet to send [19:53:49]OFD Sender: No OFD packet to send [19:53:54]OFD Sender: No OFD packet to send [19:53:59]OFD Sender: No OFD packet to send [19:54:04]OFD Sender: No OFD packet to send [19:54:09]OFD Sender: No OFD packet to send [19:54:14]OFD Sender: No OFD packet to send [19:54:19]OFD Sender: No OFD packet to send [19:54: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:44]OFD Sender: No OFD packet to send [19:57:49]OFD Sender: No OFD packet to send [19:57:54]OFD Sender: No OFD packet to send [19:57:59]OFD Sender: No OFD packet to send [19:58:04]OFD Sender: No OFD packet to send [19:58:09]OFD Sender: No OFD packet to send [19:58:14]OFD Sender: No OFD packet to send [19:58:19]OFD Sender: No OFD packet to send [19:58:24]OFD Sender: No OFD packet to send [19:58:29]OFD Sender: No OFD packet to send [19:58:34]OFD Sender: No OFD packet to send [19:58:39]OFD Sender: No OFD packet to send [19:58:44]OFD Sender: No OFD packet to send [19:58:49]OFD Sender: No OFD packet to send [19:58:54]OFD Sender: No OFD packet to send [19:58:59]OFD Sender: No OFD packet to send [19:59:04]OFD Sender: No OFD packet to send [19:59:09]OFD Sender: No OFD packet to send [19:59:14]OFD Sender: No OFD packet to send [19:59:19]OFD Sender: No OFD packet to send [19:59:24]OFD Sender: No OFD packet to send [19:59:29]OFD Sender: No OFD packet to send [19:59:34]OFD Sender: No OFD packet to send [19:59:39]OFD Sender: No OFD packet to send [19:59:44]OFD Sender: No OFD packet to send [19:59:49]OFD Sender: No OFD packet to send [19:59:54]OFD Sender: No OFD packet to send [19:59:59]OFD Sender: No OFD packet to send [20:00:04]OFD Sender: No OFD packet to send [20:00:09]OFD Sender: No OFD packet to send [20:00:14]OFD Sender: No OFD packet to send [20:00:19]OFD Sender: No OFD packet to send [20:00:24]OFD Sender: No OFD packet to send [20:00:29]OFD Sender: No OFD packet to send [20:00:34]OFD Sender: No OFD packet to send [20:00:39]OFD Sender: No OFD packet to send [20:00:44]OFD Sender: No OFD packet to send [20:00:49]OFD Sender: No OFD packet to send [20:00:54]OFD Sender: No OFD packet to send [20:00:59]OFD Sender: No OFD packet to send [20:01:04]OFD Sender: No OFD packet to send [20:01:09]OFD Sender: No OFD packet to send [20:01:14]OFD Sender: No OFD packet to send [20:01:19]OFD Sender: No OFD packet to send [20:01:24]OFD Sender: No OFD packet to send [20:01:29]OFD Sender: No OFD packet to send [20:01:34]OFD Sender: No OFD packet to send [20:01:39]OFD Sender: No OFD packet to send [20:01:44]OFD Sender: No OFD packet to send [20:01:49]OFD Sender: No OFD packet to send [20:01:54]OFD Sender: No OFD packet to send [20:01:59]OFD Sender: No OFD packet to send [20:02:04]OFD Sender: No OFD packet to send [20:02:09]OFD Sender: No OFD packet to send [20:02:14]OFD Sender: No OFD packet to send [20:02:19]OFD Sender: No OFD packet to send [20:02:24]OFD Sender: No OFD packet to send [20:02:29]OFD Sender: No OFD packet to send [20:02:34]OFD Sender: No OFD packet to send [20:02:39]OFD Sender: No OFD packet to send [20:02:44]OFD Sender: No OFD packet to send [20:02:49]OFD Sender: No OFD packet to send [20:02:54]OFD Sender: No OFD packet to send [20:02:59]OFD Sender: No OFD packet to send [20:03:04]OFD Sender: No OFD packet to send [20:03:09]OFD Sender: No OFD packet to send [20:03:14]OFD Sender: No OFD packet to send [20:03:19]OFD Sender: No OFD packet to send [20:03:24]OFD Sender: No OFD packet to send [20:03:29]OFD Sender: No OFD packet to send [20:03:34]OFD Sender: No OFD packet to send [20:03:39]OFD Sender: No OFD packet to send [20:03:44]OFD Sender: No OFD packet to send [20:03:49]OFD Sender: No OFD packet to send [20:03:54]OFD Sender: No OFD packet to send [20:03:59]OFD Sender: No OFD packet to send [20:04:04]OFD Sender: No OFD packet to send [20:04:09]OFD Sender: No OFD packet to send [20:04:15]OFD Sender: No OFD packet to send [20:04:20]OFD Sender: No OFD packet to send [20:04:25]OFD Sender: No OFD packet to send [20:04:30]OFD Sender: No OFD packet to send [20:04:35]OFD Sender: No OFD packet to send [20:04:40]OFD Sender: No OFD packet to send [20:04:45]OFD Sender: No OFD packet to send [20:04:50]OFD Sender: No OFD packet to send [20:04:55]OFD Sender: No OFD packet to send [20:05:00]OFD Sender: No OFD packet to send [20:05:05]OFD Sender: No OFD packet to send [20:05:10]OFD Sender: No OFD packet to send [20:05:15]OFD Sender: No OFD packet to send [20:05:20]OFD Sender: No OFD packet to send [20:05:25]OFD Sender: No OFD packet to send [20:05:30]OFD Sender: No OFD packet to send [20:05:35]OFD Sender: No OFD packet to send [20:05:40]OFD Sender: No OFD packet to send [20:05:45]OFD Sender: No OFD packet to send [20:05:50]OFD Sender: No OFD packet to send [20:05:55]OFD Sender: No OFD packet to send [20:06:00]OFD Sender: No OFD packet to send [20:06:05]OFD Sender: No OFD packet to send [20:06:10]OFD Sender: No OFD packet to send [20:06:15]OFD Sender: No OFD packet to send [20:06:20]OFD Sender: No OFD packet to send [20:06:25]OFD Sender: No OFD packet to send [20:06:30]OFD Sender: No OFD packet to send [20:06:35]OFD Sender: No OFD packet to send [20:06:40]OFD Sender: No OFD packet to send [20:06:45]OFD Sender: No OFD packet to send [20:06:50]OFD Sender: No OFD packet to send [20:06:55]OFD Sender: No OFD packet to send [20:07:00]OFD Sender: No OFD packet to send [20:07:05]OFD Sender: No OFD packet to send [20:07:10]OFD Sender: No OFD packet to send [20:07:15]OFD Sender: No OFD packet to send [20:07:20]OFD Sender: No OFD packet to send [20:07:25]OFD Sender: No OFD packet to send [20:07:30]OFD Sender: No OFD packet to send [20:07:35]OFD Sender: No OFD packet to send [20:07:40]OFD Sender: No OFD packet to send [20:07:45]OFD Sender: No OFD packet to send [20:07:50]OFD Sender: No OFD packet to send [20:07:55]OFD Sender: No OFD packet to send [20:08:00]OFD Sender: No OFD packet to send [20:08:05]OFD Sender: No OFD packet to send [20:08:10]OFD Sender: No OFD packet to send [20:08:15]OFD Sender: No OFD packet to send [20:08:20]OFD Sender: No OFD packet to send [20:08:25]OFD Sender: No OFD packet to send [20:08:30]OFD Sender: No OFD packet to send [20:08:35]OFD Sender: No OFD packet to send [20:08:40]OFD Sender: No OFD packet to send [20:08:45]OFD Sender: No OFD packet to send [20:08:50]OFD Sender: No OFD packet to send [20:08:55]OFD Sender: No OFD packet to send [20:09:00]OFD Sender: No OFD packet to send [20:09:05]OFD Sender: No OFD packet to send [20:09:10]OFD Sender: No OFD packet to send [20:09:15]OFD Sender: No OFD packet to send [20:09:20]OFD Sender: No OFD packet to send [20:09:25]OFD Sender: No OFD packet to send [20:09:30]OFD Sender: No OFD packet to send [20:09:35]OFD Sender: No OFD packet to send [20:09:40]OFD Sender: No OFD packet to send [20:09:45]OFD Sender: No OFD packet to send [20:09:50]OFD Sender: No OFD packet to send [20:09:55]OFD Sender: No OFD packet to send [20:10:00]OFD Sender: No OFD packet to send [20:10:05]OFD Sender: No OFD packet to send [20:10:10]OFD Sender: No OFD packet to send [20:10:15]OFD Sender: No OFD packet to send [20:10:20]OFD Sender: No OFD packet to send [20:10:25]OFD Sender: No OFD packet to send [20:10:30]OFD Sender: No OFD packet to send [20:10:35]OFD Sender: No OFD packet to send [20:10:40]OFD Sender: No OFD packet to send [20:10:45]OFD Sender: No OFD packet to send [20:10:50]OFD Sender: No OFD packet to send [20:10:55]OFD Sender: No OFD packet to send [20:11:00]OFD Sender: No OFD packet to send [20:11:05]OFD Sender: No OFD packet to send [20:11:10]OFD Sender: No OFD packet to send [20:11:15]OFD Sender: No OFD packet to send [20:11:20]OFD Sender: No OFD packet to send [20:11:25]OFD Sender: No OFD packet to send [20:11:30]OFD Sender: No OFD packet to send [20:11:35]OFD Sender: No OFD packet to send [20:11:40]OFD Sender: No OFD packet to send [20:11:45]OFD Sender: No OFD packet to send [20:11:50]OFD Sender: No OFD packet to send [20:11:55]OFD Sender: No OFD packet to send [20:12:00]OFD Sender: No OFD packet to send [20:12:05]OFD Sender: No OFD packet to send [20:12:10]OFD Sender: No OFD packet to send [20:12:15]OFD Sender: No OFD packet to send [20:12:20]OFD Sender: No OFD packet to send [20:12:25]OFD Sender: No OFD packet to send [20:12:30]OFD Sender: No OFD packet to send [20:12:35]OFD Sender: No OFD packet to send [20:12:40]OFD Sender: No OFD packet to send [20:12:45]OFD Sender: No OFD packet to send [20:12:50]OFD Sender: No OFD packet to send [20:12:55]OFD Sender: No OFD packet to send [20:13:00]OFD Sender: No OFD packet to send [20:13:05]OFD Sender: No OFD packet to send [20:13:10]OFD Sender: No OFD packet to send [20:13:15]OFD Sender: No OFD packet to send [20:13:20]OFD Sender: No OFD packet to send [20:13:25]OFD Sender: No OFD packet to send [20:13:30]OFD Sender: No OFD packet to send [20:13:35]OFD Sender: No OFD packet to send [20:13:39]accept exits with 7 [20:13:39]New connection [20:13:39]New thread 3067297124 created [20:13:39]Thread 3067440484 joined [20:13:39]Waiting for new connection... [20:13:39] Sock 7.Parse request [20:13:39]Sock 7.Check first char [20:13:39]Sock 7.First char is OK [20:13:39]request: POST /json_proto HTTP/1.0 [20:13:39]Method: POST [20:13:39]URL: /json_proto [20:13:39]Method is POST - this is cgi request [20:13:39]url: /json_proto [20:13:39]query_string will be loaded in cgi processing [20:13:39]execute_cgi json_proto POST (null) [20:13:39]execute_cgi path=json_proto method=POST [20:13:39]POST find Content-Length [20:13:39]Host: 172.17.40.196:8080 [20:13:39]Content-Length: 1188 [20:13:39]Content-Type: application/json [20:13:39] [20:13:39]POST finish read [20:13:39]Found Content-Length = 1188 [20:13:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35042", "tax_sys" : 0, "items" : [ { "code": "4700003610560", "name": "\u0412\u043E\u0434\u0430 \u042D\u043D\u0435\u0441\u0430\u0439 5\u043B.", "price" : 60.00, "quantity" : 1.000, "sum" : 60.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" : 5.000, "sum" : 35.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" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:13:39]execute_script... [20:13: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)35042", "tax_sys" : 0, "items" : [ { "code": "4700003610560", "name": "\u0412\u043E\u0434\u0430 \u042D\u043D\u0435\u0441\u0430\u0439 5\u043B.", "price" : 60.00, "quantity" : 1.000, "sum" : 60.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" : 5.000, "sum" : 35.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" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:13:39]POST & json_proto [20:13:39]process_json_proto [20:13:39]json parsed OK: [20:13:39]protocol is kg_v1.0 [20:13:39]action value=close_receipt [20:13:39]process_action close_receipt [20:13:39]cmd_close_receipt [20:13:39]MH_GetDate [20:13:39]Write to MH i2c: F0 00 00 E1 11 E1 [20:13:39]Write i2c OK [20:13:39]MH_I2C_Read... [20:13:39]Read from MH i2c: F0 [20:13:39]MH_I2C_Read... [20:13:39]Read from MH i2c: F0 09 00 [20:13:39]MH_I2C_Read... [20:13:39]Read from MH i2c: F0 09 00 E1 11 00 F7 9E 1E 67 5B 68 A1 66 CE [20:13:39]GetLastDocTimeStamp 1730058329 [20:13:39]current date 1730060023 [20:13:39]FM_GetShiftState [20:13:39]SAM_PROTO_GetShiftState [20:13:39]wFMCommunicate request_size=4 [20:13:39]MH_SAM_APDU [20:13:39]CAPDU: 80 13 01 00 [20:13:39]Write to MH i2c: E2 08 00 E2 11 80 13 01 00 00 00 00 00 70 [20:13:39]Write i2c OK [20:13:39]MH_I2C_Read... [20:13:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:13:39]Read from MH i2c: E2 [20:13:39]MH_I2C_Read... [20:13:39]Read from MH i2c: E2 0E 00 [20:13:39]MH_I2C_Read... [20:13:39]Read from MH i2c: E2 0E 00 E2 11 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 27 [20:13:39]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [20:13:39]wFMCommunicate OK [20:13:39]SAM_PROTO_GetShiftState done [20:13:39]FM_GetShiftState done [20:13:39]opened in 1729987492 [20:13:39]opened+sec_in_day 1730073892 [20:13:39]quantity*price = 6000 [20:13:39]sum+1 = 6001 [20:13:39]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 5.000 * 7.00 = 35.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 42203100 Жев Orbit банан-клубника 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 70 27.10.2024 20:13 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37744 ФПД: 106204931273279 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T201343&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37744&fm=106204931273279&tin=02508201610067®Number=0000000000091684&sum=14000 0 [20:13:40]StoreToDocumentArchive [20:13:40]shift 550 fd 37744 [20:13:40]save to /storage/0550/doc_00037744 [20:13:40]save last doc name /storage/0550/doc_00037744 to /storage/kkm_last_doc_name [20:13:40]save OK [20:13:40]Clear old archive folders... [20:13:40]ProcessDocumentItem done err = 0, tmpTLVsize=492 [20:13:40]tlvbuf is 002391A0 [20:13:40]SAM_PROTO_ClearQueue [20:13:40]wFMCommunicate request_size=4 [20:13:40]MH_SAM_APDU [20:13:40]CAPDU: 80 09 00 00 [20:13:40]Write to MH i2c: E2 08 00 EF 11 80 09 00 00 00 00 00 00 72 [20:13:40]Write i2c OK [20:13:40]MH_I2C_Read... [20:13:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:13:40]Read from MH i2c: E2 [20:13:40]MH_I2C_Read... [20:13:40]Read from MH i2c: E2 03 00 [20:13:40]MH_I2C_Read... [20:13:40]Read from MH i2c: E2 03 00 EF 11 00 90 00 74 [20:13:40]RAPDU: 90 00 [20:13:40]wFMCommunicate OK [20:13:40]SAM_PROTO_ClearQueue done [20:13:40]KKMCreateOFDPacket [20:13:40]OFDProtocolAddRootSTLVToBuf [20:13:40]FM_MakeSignedData [20:13:40]FM_MakeSignedData [20:13:40]SAM_PROTO_SignData [20:13:40]wFMCommunicate request_size=4 [20:13:40]MH_SAM_APDU [20:13:40]CAPDU: 80 0D 01 02 [20:13:40]Write to MH i2c: E2 08 00 F0 11 80 0D 01 02 00 00 00 00 7A [20:13:40]Write i2c OK [20:13:40]MH_I2C_Read... [20:13:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:13:40]Read from MH i2c: E2 [20:13:40]MH_I2C_Read... [20:13:40]Read from MH i2c: E2 03 00 [20:13:40]MH_I2C_Read... [20:13:40]Read from MH i2c: E2 03 00 F0 11 00 90 00 75 [20:13:40]RAPDU: 90 00 [20:13:40]wFMCommunicate OK [20:13:40]wFMCommunicate request_size=255 [20:13:40]MH_SAM_APDU [20:13:40]CAPDU: 80 0D 02 02 FA 03 00 EC 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 35 36 30 06 04 1A 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AD D0 BD D0 B5 D1 81 D0 B0 D0 B9 20 35 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 88 13 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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:13:40]Write to MH i2c: E2 02 01 F1 11 80 0D 02 02 FA 00 03 00 EC 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 35 36 30 06 04 1A 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AD D0 BD D0 B5 D1 81 D0 B0 D0 B9 20 35 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 88 13 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 08 00 34 32 32 30 33 31 30 30 06 04 28 00 D0 96 D0 B5 D0 B2 00 00 A1 [20:13:40]OFD Sender: No OFD packet to send [20:13:40]Write i2c OK [20:13:40]MH_I2C_Read... [20:13:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:13:40]Read from MH i2c: E2 [20:13:40]MH_I2C_Read... [20:13:40]Read from MH i2c: E2 03 00 [20:13:40]MH_I2C_Read... [20:13:40]Read from MH i2c: E2 03 00 F1 11 00 90 00 76 [20:13:40]RAPDU: 90 00 [20:13:40]wFMCommunicate OK [20:13:40]wFMCommunicate request_size=251 [20:13:40]MH_SAM_APDU [20:13:40]CAPDU: 80 0D 02 02 F6 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 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 F7 9E 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 70 93 00 00 35 04 06 00 60 97 C3 33 B2 3F [20:13:40]Write to MH i2c: E2 FE 00 F2 11 80 0D 02 02 F6 00 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 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 F7 9E 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 70 93 00 00 35 04 06 00 60 97 C3 33 B2 3F 00 00 95 [20:13:41]Write i2c OK [20:13:41]MH_I2C_Read... [20:13:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:13:41]Read from MH i2c: E2 [20:13:41]MH_I2C_Read... [20:13:41]Read from MH i2c: E2 03 00 [20:13:41]MH_I2C_Read... [20:13:41]Read from MH i2c: E2 03 00 F2 11 00 90 00 77 [20:13:41]RAPDU: 90 00 [20:13:41]wFMCommunicate OK [20:13:41]wFMCommunicate request_size=4 [20:13:41]MH_SAM_APDU [20:13:41]CAPDU: 80 0D 03 02 [20:13:41]Write to MH i2c: E2 08 00 F3 11 80 0D 03 02 00 00 00 00 7F [20:13:41]Write i2c OK [20:13:41]MH_I2C_Read... [20:13:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:13:41]Read from MH i2c: E2 [20:13:41]MH_I2C_Read... [20:13:41]Read from MH i2c: E2 0B 00 [20:13:41]MH_I2C_Read... [20:13:41]Read from MH i2c: E2 0B 00 F3 11 00 C2 22 E4 BC 75 3F 1A C7 90 00 99 [20:13:41]RAPDU: C2 22 E4 BC 75 3F 1A C7 90 00 [20:13:41]wFMCommunicate OK [20:13:41]SAM_PROTO_SignData done [20:13:41]FM_MakeSignedData done [20:13:41]CreateOFDProtocolMessage [20:13:41]wFMCommunicate request_size=4 [20:13:41]MH_SAM_APDU [20:13:41]CAPDU: 80 11 00 00 [20:13:41]Write to MH i2c: E2 08 00 F4 11 80 11 00 00 00 00 00 00 7F [20:13:41]Write i2c OK [20:13:41]MH_I2C_Read... [20:13:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:13:41]Read from MH i2c: E2 [20:13:41]MH_I2C_Read... [20:13:41]Read from MH i2c: E2 17 00 [20:13:41]MH_I2C_Read... [20:13:41]Read from MH i2c: E2 17 00 F4 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 CF [20:13:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [20:13:41]wFMCommunicate OK [20:13:41]CreateOFDProtocolMessage done [20:13:41]OFDSenderStorePacket 37744 [20:13:41]StoreOFDPacket docnum=37744 [20:13: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 00 02 00 00 E1 B4 F8 01 D6 A8 5A 03 01 00 03 00 EC 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 35 36 30 06 04 1A 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AD D0 BD D0 B5 D1 81 D0 B0 D0 B9 20 35 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 88 13 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 F7 9E 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 70 93 00 00 35 04 06 00 60 97 C3 33 B2 3F C2 22 E4 BC 75 3F 1A C7 [20:13:41]CheckFolder [20:13:41]dirname=/storage/ofd_packets [20:13:41]CheckFolder done [20:13:41]ProducePacketName [20:13:41]name=ofd_packets/00037744 [20:13:41]NVStorageSaveData ofd_packets/00037744 [20:13:41]File name is /storage/ofd_packets/00037744 [20:13:41]Write 542 bytes [20:13:41]NVStorageSaveData done [20:13:41]OFDSenderStorePacket done [20:13:41]KKMCreateOFDPacket done [20:13:41]NVStorageSaveData kkm_last_timestamp [20:13:41]File name is /storage/kkm_last_timestamp [20:13:41]Write 4 bytes [20:13:41]NVStorageSaveData done [20:13:41]ExternCall_PrintAddStr [20:13:41]wPrintStart [20:13:41]Write to MH i2c: 01 00 00 F5 11 06 [20:13:41]Write i2c OK [20:13:41]MH_I2C_Read... [20:13:41]Read from MH i2c: 01 [20:13:41]MH_I2C_Read... [20:13:41]Read from MH i2c: 01 07 00 [20:13:41]MH_I2C_Read... [20:13:41]Read from MH i2c: 01 07 00 F5 11 00 00 00 00 00 FF 0F 1B [20:13:41]RasterBufferAndPrint [20:13:41]line Счет N : (3)35042 [20:13:41]line ИНН: 02508201610067 [20:13:41]line Контрольно-Кассовый Чек [20:13:41]line ПРОДАЖА [20:13:41]line Товар: 4700003610560 [20:13:41]line Вода Энесай 5л. [20:13:41]line 1.000 * 60.00 [20:13:41]line = 60.00 [20:13:41]line НДС 12% НСП 1% [20:13:41]line > о реализуемом товаре [20:13:41]line Товар: 2000053020015 [20:13:41]line Бумажные стаканы 250мл 1шт [20:13:41]line 5.000 * 7.00 [20:13:41]line = 35.00 [20:13:41]line НДС 12% НСП 1% [20:13:41]line > о реализуемом товаре [20:13:41]line Товар: 42203100 [20:13:41]line Жев Orbit банан-клубника [20:13:41]line 1.000 * 45.00 [20:13:41]line = 45.00 [20:13:41]line НДС 12% НСП 1% [20:13:41]line > о реализуемом товаре [20:13:41]line ИТОГО: 140.00 [20:13:41]line НСП 1% : 1.24 [20:13:41]line НДС 12% : 14.87 [20:13:41]line Наличными: 140.00 [20:13:41]line Безнал.: 0.00 [20:13:41]line Место: АЗС № 126 "Партнер Нефть" [20:13:41]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [20:13:41]line СНО: Общий режим [20:13:41]line Чек 70 27.10.2024 20:13 [20:13:41]line Смена: 550 ФФД: 1.0 [20:13:41]line ЗНМ: 0300000092 [20:13:41]line РНМ: 0000000000091684 [20:13:41]line Версия ККМ: 001 [20:13:41]line ФМ: 0000000000871841 [20:13:41]line ФД: 37744 [20:13:41]line ФПД: 106204931273279 [20:13:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T201343&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37744&fm=106204931273279&tin=02508201610067®Number=0000000000091684&sum=14000 [20:13:41]line 0 [20:13:41]written 0, free lines is 4095 [20:13:41]OFD Sender: Processing packet 37744 [packets to send 42, broken 41] [20:13:41]ProducePacketName [20:13:41]name=ofd_packets/00037744 [20:13:41]OFD Sender: To server: pG, [20:13:41]CommunicateWithHost lk.salyk.kg:30040 [20:13:41]ConnectInit lk.salyk.kg [20:13:41]Connected sock=10 [20:13:41]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 00 02 00 00 E1 B4 F8 01 D6 A8 5A 03 01 00 03 00 EC 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 35 36 30 06 04 1A 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AD D0 BD D0 B5 D1 81 D0 B0 D0 B9 20 35 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 88 13 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 F7 9E 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 70 93 00 00 35 04 06 00 60 97 C3 33 B2 3F C2 22 E4 BC 75 3F 1A C7 [20:13:41]Write to MH i2c: 01 00 00 2A 12 3C [20:13:41]Write i2c OK [20:13:41]MH_I2C_Read... [20:13:41]Read from MH i2c: 01 [20:13:41]MH_I2C_Read... [20:13:41]Read from MH i2c: 01 07 00 [20:13:41]MH_I2C_Read... [20:13:41]Read from MH i2c: 01 07 00 2A 12 00 00 00 00 00 E7 0B 35 [20:13:41]RasterBufferAndPrint [20:13:41]line [20:13:41]line [20:13:41]line [20:13:41]line [20:13:41]line [20:13:41]written 0, free lines is 3054 [20:13:41]MH_Cut [20:13:41]Write to MH i2c: D1 01 00 31 12 01 15 [20:13:41]Write i2c OK [20:13:41]MH_I2C_Read... [20:13:41]Read from MH i2c: D1 [20:13:41]MH_I2C_Read... [20:13:41]Read from MH i2c: D1 01 00 [20:13:41]MH_I2C_Read... [20:13:41]Read from MH i2c: D1 01 00 31 12 00 14 [20:13:41]Write to MH i2c: 01 00 00 32 12 44 [20:13:41]Write i2c OK [20:13:41]MH_I2C_Read... [20:13:42]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 BC 47 00 02 B3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 70 93 00 00 F4 03 04 00 EE 49 1E 67 B6 04 01 00 00 F5 2A 38 1C 94 CC D1 F8 [20:13:42]CommunicateWithHost err = 0 [20:13:42]CheckOFDResponse [20:13:42]1017 (14) - 77093643461234 [20:13:42]1041 (16) - 0000000000871841 [20:13:42]1040 (4) - 37744 [20:13:42]1012 (4) - 27.10.2024 14:10 [20:13:42]1206 (1) - 0 [20:13:42]OFD Sender: Remove packet 37744 [20:13:42]ProducePacketName [20:13:42]name=ofd_packets/00037744 [20:13:42]NVStorageDeleteData [20:13:42]OFD Sender: No OFD packet to send [20:13:42]*** Cut start [20:13:42]*** Partial cut [20:13:42]*** CUTSNS_PIN = 1 [20:13:43]*** CUTSNS_PIN = 0 [20:13:43]*** Brake cut motor [20:13:43]Read from MH i2c: 01 [20:13:43]MH_I2C_Read... [20:13:43]*** Stop cut motor [20:13:43]*** Cut end [20:13:43]Read from MH i2c: 01 07 00 [20:13:43]MH_I2C_Read... [20:13:43]Read from MH i2c: 01 07 00 32 12 00 00 00 00 00 FF 0F 59 [20:13:43]process_action close_receipt done [20:13:43]requested_data is exist [20:13:43]produce_requested_data [20:13:43]requested_item fm.sn is exist - process it [20:13:43]wFMCommunicate request_size=4 [20:13:43]MH_SAM_APDU [20:13:43]CAPDU: 80 11 00 00 [20:13:43]Write to MH i2c: E2 08 00 33 12 80 11 00 00 00 00 00 00 BF [20:13:43]Write i2c OK [20:13:43]MH_I2C_Read... [20:13:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:13:43]Read from MH i2c: E2 [20:13:43]MH_I2C_Read... [20:13:43]Read from MH i2c: E2 17 00 [20:13:43]MH_I2C_Read... [20:13:43]Read from MH i2c: E2 17 00 33 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 0F [20:13:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [20:13:43]wFMCommunicate OK [20:13:43]requested_item fd.num is exist - process it [20:13:43]SAM_PROTO_GetFieldsCounters [20:13:43]wFMCommunicate request_size=4 [20:13:43]MH_SAM_APDU [20:13:43]CAPDU: 80 13 00 00 [20:13:43]Write to MH i2c: E2 08 00 34 12 80 13 00 00 00 00 00 00 C2 [20:13:43]Write i2c OK [20:13:43]MH_I2C_Read... [20:13:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:13:43]Read from MH i2c: E2 [20:13:43]MH_I2C_Read... [20:13:43]Read from MH i2c: E2 62 00 [20:13:43]MH_I2C_Read... [20:13:43]Read from MH i2c: E2 62 00 34 12 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 70 93 00 00 0E 04 04 00 26 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 E0 [20:13:43]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 70 93 00 00 0E 04 04 00 26 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 [20:13:43]wFMCommunicate OK [20:13:43]SAM_PROTO_GetFieldsCounters done [20:13:43]requested_item shift.num is exist - process it [20:13:43]requested_item shift.opened is exist - process it [20:13:43]req_shift_opened [20:13:43]FM_GetShiftState [20:13:43]SAM_PROTO_GetShiftState [20:13:43]wFMCommunicate request_size=4 [20:13:43]MH_SAM_APDU [20:13:43]CAPDU: 80 13 01 00 [20:13:43]Write to MH i2c: E2 08 00 35 12 80 13 01 00 00 00 00 00 C4 [20:13:43]Write i2c OK [20:13:43]MH_I2C_Read... [20:13:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:13:43]Read from MH i2c: E2 [20:13:43]MH_I2C_Read... [20:13:43]Read from MH i2c: E2 0E 00 [20:13:43]MH_I2C_Read... [20:13:43]Read from MH i2c: E2 0E 00 35 12 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 7B [20:13:43]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [20:13:43]wFMCommunicate OK [20:13:43]SAM_PROTO_GetShiftState done [20:13:43]FM_GetShiftState done [20:13:43]req_shift_opened done [20:13:43]requested_item shift.open_date is exist - process it [20:13:43]req_shift_open_date [20:13:43]req_shift_open_date done [20:13:43]produce_requested_data done [20:13:43]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37744,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [20:13:43]process_action_free close_receipt [20:13:43]json_value_free [20:13:43]json_value_free done [20:13:43]process_json_proto returns [20:13:43]Send response to host [20:13:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37744,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [20:13:43]free response buf [20:13:43]execute_script done [20:13:43]execute_script returns [20:13:43]free content buf [20:13:43]Sock 7.Close socket [20:13:43]Sock 7.Thread stoped [20:13:47]OFD Sender: No OFD packet to send [20:13:52]OFD Sender: No OFD packet to send [20:13:57]OFD Sender: No OFD packet to send [20:14:02]OFD Sender: No OFD packet to send [20:14:07]OFD Sender: No OFD packet to send [20:14:12]OFD Sender: No OFD packet to send [20:14:17]OFD Sender: No OFD packet to send [20:14:22]OFD Sender: No OFD packet to send [20:14:27]OFD Sender: No OFD packet to send [20:14:32]OFD Sender: No OFD packet to send [20:14:37]OFD Sender: No OFD packet to send [20:14:42]OFD Sender: No OFD packet to send [20:14:47]OFD Sender: No OFD packet to send [20:14:52]OFD Sender: No OFD packet to send [20:14:57]OFD Sender: No OFD packet to send [20:15:02]OFD Sender: No OFD packet to send [20:15:07]OFD Sender: No OFD packet to send [20:15:12]OFD Sender: No OFD packet to send [20:15:17]OFD Sender: No OFD packet to send [20:15:22]OFD Sender: No OFD packet to send [20:15:27]OFD Sender: No OFD packet to send [20:15:32]OFD Sender: No OFD packet to send [20:15:37]OFD Sender: No OFD packet to send [20:15:42]OFD Sender: No OFD packet to send [20:15:47]OFD Sender: No OFD packet to send [20:15:52]OFD Sender: No OFD packet to send [20:15:57]OFD Sender: No OFD packet to send [20:16:02]OFD Sender: No OFD packet to send [20:16:07]OFD Sender: No OFD packet to send [20:16:12]OFD Sender: No OFD packet to send [20:16:17]OFD Sender: No OFD packet to send [20:16:22]OFD Sender: No OFD packet to send [20:16:27]OFD Sender: No OFD packet to send [20:16:32]OFD Sender: No OFD packet to send [20:16:37]OFD Sender: No OFD packet to send [20:16:42]OFD Sender: No OFD packet to send [20:16:47]OFD Sender: No OFD packet to send [20:16:52]OFD Sender: No OFD packet to send [20:16:57]OFD Sender: No OFD packet to send [20:17:02]OFD Sender: No OFD packet to send [20:17:07]OFD Sender: No OFD packet to send [20:17:12]OFD Sender: No OFD packet to send [20:17:17]OFD Sender: No OFD packet to send [20:17:22]OFD Sender: No OFD packet to send [20:17:27]OFD Sender: No OFD packet to send [20:17:32]OFD Sender: No OFD packet to send [20:17:37]OFD Sender: No OFD packet to send [20:17:42]OFD Sender: No OFD packet to send [20:17:47]OFD Sender: No OFD packet to send [20:17:52]OFD Sender: No OFD packet to send [20:17:57]OFD Sender: No OFD packet to send [20:18:02]OFD Sender: No OFD packet to send [20:18:07]OFD Sender: No OFD packet to send [20:18:12]OFD Sender: No OFD packet to send [20:18:17]OFD Sender: No OFD packet to send [20:18:22]OFD Sender: No OFD packet to send [20:18:27]OFD Sender: No OFD packet to send [20:18:32]OFD Sender: No OFD packet to send [20:18:37]OFD Sender: No OFD packet to send [20:18:42]OFD Sender: No OFD packet to send [20:18:47]OFD Sender: No OFD packet to send [20:18:52]OFD Sender: No OFD packet to send [20:18:57]OFD Sender: No OFD packet to send [20:19:02]OFD Sender: No OFD packet to send [20:19:07]OFD Sender: No OFD packet to send [20:19:12]OFD Sender: No OFD packet to send [20:19:17]OFD Sender: No OFD packet to send [20:19:22]OFD Sender: No OFD packet to send [20:19:27]OFD Sender: No OFD packet to send [20:19:32]OFD Sender: No OFD packet to send [20:19:37]OFD Sender: No OFD packet to send [20:19:42]OFD Sender: No OFD packet to send [20:19:47]OFD Sender: No OFD packet to send [20:19:52]OFD Sender: No OFD packet to send [20:19:57]OFD Sender: No OFD packet to send [20:20:02]OFD Sender: No OFD packet to send [20:20:07]OFD Sender: No OFD packet to send [20:20:12]OFD Sender: No OFD packet to send [20:20:17]OFD Sender: No OFD packet to send [20:20:22]OFD Sender: No OFD packet to send [20:20:27]OFD Sender: No OFD packet to send [20:20:32]OFD Sender: No OFD packet to send [20:20:37]OFD Sender: No OFD packet to send [20:20:42]OFD Sender: No OFD packet to send [20:20:47]OFD Sender: No OFD packet to send [20:20:52]OFD Sender: No OFD packet to send [20:20:57]OFD Sender: No OFD packet to send [20:21:02]OFD Sender: No OFD packet to send [20:21:07]OFD Sender: No OFD packet to send [20:21:12]OFD Sender: No OFD packet to send [20:21:17]OFD Sender: No OFD packet to send [20:21:22]OFD Sender: No OFD packet to send [20:21:27]OFD Sender: No OFD packet to send [20:21:32]OFD Sender: No OFD packet to send [20:21:37]OFD Sender: No OFD packet to send [20:21:42]OFD Sender: No OFD packet to send [20:21:47]OFD Sender: No OFD packet to send [20:21:52]OFD Sender: No OFD packet to send [20:21:57]OFD Sender: No OFD packet to send [20:22:02]OFD Sender: No OFD packet to send [20:22:07]OFD Sender: No OFD packet to send [20:22:12]OFD Sender: No OFD packet to send [20:22:17]OFD Sender: No OFD packet to send [20:22:22]OFD Sender: No OFD packet to send [20:22:27]OFD Sender: No OFD packet to send [20:22:32]OFD Sender: No OFD packet to send [20:22:38]OFD Sender: No OFD packet to send [20:22:43]OFD Sender: No OFD packet to send [20:22:48]OFD Sender: No OFD packet to send [20:22:53]OFD Sender: No OFD packet to send [20:22:58]OFD Sender: No OFD packet to send [20:23:03]OFD Sender: No OFD packet to send [20:23:08]OFD Sender: No OFD packet to send [20:23:13]OFD Sender: No OFD packet to send [20:23:18]OFD Sender: No OFD packet to send [20:23:23]OFD Sender: No OFD packet to send [20:23:28]OFD Sender: No OFD packet to send [20:23:33]OFD Sender: No OFD packet to send [20:23:38]OFD Sender: No OFD packet to send [20:23:43]OFD Sender: No OFD packet to send [20:23:48]OFD Sender: No OFD packet to send [20:23:53]OFD Sender: No OFD packet to send [20:23:58]OFD Sender: No OFD packet to send [20:24:03]OFD Sender: No OFD packet to send [20:24:08]OFD Sender: No OFD packet to send [20:24:13]OFD Sender: No OFD packet to send [20:24:18]OFD Sender: No OFD packet to send [20:24:23]OFD Sender: No OFD packet to send [20:24:28]OFD Sender: No OFD packet to send [20:24:33]OFD Sender: No OFD packet to send [20:24:38]OFD Sender: No OFD packet to send [20:24:43]OFD Sender: No OFD packet to send [20:24:48]OFD Sender: No OFD packet to send [20:24:53]OFD Sender: No OFD packet to send [20:24:58]OFD Sender: No OFD packet to send [20:25:03]OFD Sender: No OFD packet to send [20:25:08]OFD Sender: No OFD packet to send [20:25:13]OFD Sender: No OFD packet to send [20:25:18]OFD Sender: No OFD packet to send [20:25:23]OFD Sender: No OFD packet to send [20:25:28]OFD Sender: No OFD packet to send [20:25:33]OFD Sender: No OFD packet to send [20:25:38]OFD Sender: No OFD packet to send [20:25:43]OFD Sender: No OFD packet to send [20:25:48]OFD Sender: No OFD packet to send [20:25:53]OFD Sender: No OFD packet to send [20:25:58]OFD Sender: No OFD packet to send [20:26:03]OFD Sender: No OFD packet to send [20:26:08]OFD Sender: No OFD packet to send [20:26:13]OFD Sender: No OFD packet to send [20:26:18]OFD Sender: No OFD packet to send [20:26:23]OFD Sender: No OFD packet to send [20:26:28]OFD Sender: No OFD packet to send [20:26:33]OFD Sender: No OFD packet to send [20:26:38]OFD Sender: No OFD packet to send [20:26:43]OFD Sender: No OFD packet to send [20:26:48]OFD Sender: No OFD packet to send [20:26:53]OFD Sender: No OFD packet to send [20:26:58]OFD Sender: No OFD packet to send [20:27:03]OFD Sender: No OFD packet to send [20:27:08]OFD Sender: No OFD packet to send [20:27:13]OFD Sender: No OFD packet to send [20:27:18]OFD Sender: No OFD packet to send [20:27:23]OFD Sender: No OFD packet to send [20:27:28]OFD Sender: No OFD packet to send [20:27:33]OFD Sender: No OFD packet to send [20:27:38]OFD Sender: No OFD packet to send [20:27:43]OFD Sender: No OFD packet to send [20:27:48]OFD Sender: No OFD packet to send [20:27:53]OFD Sender: No OFD packet to send [20:27:58]OFD Sender: No OFD packet to send [20:28:03]OFD Sender: No OFD packet to send [20:28:08]OFD Sender: No OFD packet to send [20:28:13]OFD Sender: No OFD packet to send [20:28:18]OFD Sender: No OFD packet to send [20:28:23]OFD Sender: No OFD packet to send [20:28:28]OFD Sender: No OFD packet to send [20:28:33]OFD Sender: No OFD packet to send [20:28:38]OFD Sender: No OFD packet to send [20:28:43]OFD Sender: No OFD packet to send [20:28:48]OFD Sender: No OFD packet to send [20:28:53]OFD Sender: No OFD packet to send [20:28:58]OFD Sender: No OFD packet to send [20:29:03]OFD Sender: No OFD packet to send [20:29:08]OFD Sender: No OFD packet to send [20:29:13]OFD Sender: No OFD packet to send [20:29:18]OFD Sender: No OFD packet to send [20:29:23]OFD Sender: No OFD packet to send [20:29:28]OFD Sender: No OFD packet to send [20:29:33]OFD Sender: No OFD packet to send [20:29:38]OFD Sender: No OFD packet to send [20:29:43]OFD Sender: No OFD packet to send [20:29:48]OFD Sender: No OFD packet to send [20:29:53]OFD Sender: No OFD packet to send [20:29:58]OFD Sender: No OFD packet to send [20:30:03]OFD Sender: No OFD packet to send [20:30:08]OFD Sender: No OFD packet to send [20:30:13]OFD Sender: No OFD packet to send [20:30:18]OFD Sender: No OFD packet to send [20:30:23]OFD Sender: No OFD packet to send [20:30:28]OFD Sender: No OFD packet to send [20:30:33]OFD Sender: No OFD packet to send [20:30:38]OFD Sender: No OFD packet to send [20:30:43]OFD Sender: No OFD packet to send [20:30:48]OFD Sender: No OFD packet to send [20:30:53]OFD Sender: No OFD packet to send [20:30:58]OFD Sender: No OFD packet to send [20:31:03]OFD Sender: No OFD packet to send [20:31:08]OFD Sender: No OFD packet to send [20:31:13]OFD Sender: No OFD packet to send [20:31:18]OFD Sender: No OFD packet to send [20:31:23]OFD Sender: No OFD packet to send [20:31:28]OFD Sender: No OFD packet to send [20:31:33]OFD Sender: No OFD packet to send [20:31:38]OFD Sender: No OFD packet to send [20:31:43]OFD Sender: No OFD packet to send [20:31:48]OFD Sender: No OFD packet to send [20:31:53]OFD Sender: No OFD packet to send [20:31:58]OFD Sender: No OFD packet to send [20:32:03]OFD Sender: No OFD packet to send [20:32:08]OFD Sender: No OFD packet to send [20:32:13]OFD Sender: No OFD packet to send [20:32:18]OFD Sender: No OFD packet to send [20:32:23]OFD Sender: No OFD packet to send [20:32:28]OFD Sender: No OFD packet to send [20:32:33]OFD Sender: No OFD packet to send [20:32:38]OFD Sender: No OFD packet to send [20:32:43]OFD Sender: No OFD packet to send [20:32:48]OFD Sender: No OFD packet to send [20:32:53]OFD Sender: No OFD packet to send [20:32:58]OFD Sender: No OFD packet to send [20:33:03]OFD Sender: No OFD packet to send [20:33:08]OFD Sender: No OFD packet to send [20:33:13]OFD Sender: No OFD packet to send [20:33:18]OFD Sender: No OFD packet to send [20:33:23]OFD Sender: No OFD packet to send [20:33:28]OFD Sender: No OFD packet to send [20:33:33]OFD Sender: No OFD packet to send [20:33:38]OFD Sender: No OFD packet to send [20:33:43]OFD Sender: No OFD packet to send [20:33:48]OFD Sender: No OFD packet to send [20:33:53]OFD Sender: No OFD packet to send [20:33:58]OFD Sender: No OFD packet to send [20:34:03]OFD Sender: No OFD packet to send [20:34:08]OFD Sender: No OFD packet to send [20:34:13]OFD Sender: No OFD packet to send [20:34:18]OFD Sender: No OFD packet to send [20:34:23]OFD Sender: No OFD packet to send [20:34:28]OFD Sender: No OFD packet to send [20:34:33]OFD Sender: No OFD packet to send [20:34:38]OFD Sender: No OFD packet to send [20:34:43]OFD Sender: No OFD packet to send [20:34:48]OFD Sender: No OFD packet to send [20:34:53]OFD Sender: No OFD packet to send [20:34:58]OFD Sender: No OFD packet to send [20:35:03]OFD Sender: No OFD packet to send [20:35:08]OFD Sender: No OFD packet to send [20:35:13]OFD Sender: No OFD packet to send [20:35:18]OFD Sender: No OFD packet to send [20:35:23]OFD Sender: No OFD packet to send [20:35:28]OFD Sender: No OFD packet to send [20:35:33]OFD Sender: No OFD packet to send [20:35:38]OFD Sender: No OFD packet to send [20:35:43]OFD Sender: No OFD packet to send [20:35:48]OFD Sender: No OFD packet to send [20:35:53]OFD Sender: No OFD packet to send [20:35:58]OFD Sender: No OFD packet to send [20:36:03]OFD Sender: No OFD packet to send [20:36:08]OFD Sender: No OFD packet to send [20:36:13]OFD Sender: No OFD packet to send [20:36:18]OFD Sender: No OFD packet to send [20:36:23]OFD Sender: No OFD packet to send [20:36:28]OFD Sender: No OFD packet to send [20:36:33]OFD Sender: No OFD packet to send [20:36:38]OFD Sender: No OFD packet to send [20:36:43]OFD Sender: No OFD packet to send [20:36:48]OFD Sender: No OFD packet to send [20:36:53]OFD Sender: No OFD packet to send [20:36:58]OFD Sender: No OFD packet to send [20:37:03]OFD Sender: No OFD packet to send [20:37:08]OFD Sender: No OFD packet to send [20:37:13]OFD Sender: No OFD packet to send [20:37:18]OFD Sender: No OFD packet to send [20:37:23]OFD Sender: No OFD packet to send [20:37:28]OFD Sender: No OFD packet to send [20:37:33]OFD Sender: No OFD packet to send [20:37:38]OFD Sender: No OFD packet to send [20:37:43]OFD Sender: No OFD packet to send [20:37:48]OFD Sender: No OFD packet to send [20:37:53]OFD Sender: No OFD packet to send [20:37:58]OFD Sender: No OFD packet to send [20:38:03]OFD Sender: No OFD packet to send [20:38:08]OFD Sender: No OFD packet to send [20:38:13]OFD Sender: No OFD packet to send [20:38:18]OFD Sender: No OFD packet to send [20:38:23]OFD Sender: No OFD packet to send [20:38:28]OFD Sender: No OFD packet to send [20:38:33]OFD Sender: No OFD packet to send [20:38:38]OFD Sender: No OFD packet to send [20:38:43]OFD Sender: No OFD packet to send [20:38:48]OFD Sender: No OFD packet to send [20:38:53]OFD Sender: No OFD packet to send [20:38:58]OFD Sender: No OFD packet to send [20:39:03]OFD Sender: No OFD packet to send [20:39:08]OFD Sender: No OFD packet to send [20:39:13]OFD Sender: No OFD packet to send [20:39:18]OFD Sender: No OFD packet to send [20:39:23]OFD Sender: No OFD packet to send [20:39:28]OFD Sender: No OFD packet to send [20:39:33]OFD Sender: No OFD packet to send [20:39:38]OFD Sender: No OFD packet to send [20:39:43]OFD Sender: No OFD packet to send [20:39:48]OFD Sender: No OFD packet to send [20:39:53]OFD Sender: No OFD packet to send [20:39:58]OFD Sender: No OFD packet to send [20:40:03]OFD Sender: No OFD packet to send [20:40:08]OFD Sender: No OFD packet to send [20:40:13]OFD Sender: No OFD packet to send [20:40:18]OFD Sender: No OFD packet to send [20:40:23]OFD Sender: No OFD packet to send [20:40:28]OFD Sender: No OFD packet to send [20:40:33]OFD Sender: No OFD packet to send [20:40:38]OFD Sender: No OFD packet to send [20:40:43]OFD Sender: No OFD packet to send [20:40:48]OFD Sender: No OFD packet to send [20:40:53]OFD Sender: No OFD packet to send [20:40:58]OFD Sender: No OFD packet to send [20:41:03]OFD Sender: No OFD packet to send [20:41:08]OFD Sender: No OFD packet to send [20:41:13]OFD Sender: No OFD packet to send [20:41:18]OFD Sender: No OFD packet to send [20:41:23]OFD Sender: No OFD packet to send [20:41:28]OFD Sender: No OFD packet to send [20:41:34]OFD Sender: No OFD packet to send [20:41:39]OFD Sender: No OFD packet to send [20:41:44]OFD Sender: No OFD packet to send [20:41:49]OFD Sender: No OFD packet to send [20:41:54]OFD Sender: No OFD packet to send [20:41:59]OFD Sender: No OFD packet to send [20:42:04]OFD Sender: No OFD packet to send [20:42:09]OFD Sender: No OFD packet to send [20:42:14]OFD Sender: No OFD packet to send [20:42:19]OFD Sender: No OFD packet to send [20:42:24]OFD Sender: No OFD packet to send [20:42: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:05]accept exits with 9 [20:45:05]New connection [20:45:05]New thread 3067440484 created [20:45:05]Thread 3067297124 joined [20:45:05]Waiting for new connection... [20:45:05] Sock 9.Parse request [20:45:05]Sock 9.Check first char [20:45:05]Sock 9.First char is OK [20:45:05]request: POST /json_proto HTTP/1.0 [20:45:05]Method: POST [20:45:05]URL: /json_proto [20:45:05]Method is POST - this is cgi request [20:45:05]url: /json_proto [20:45:05]query_string will be loaded in cgi processing [20:45:05]execute_cgi json_proto POST (null) [20:45:05]execute_cgi path=json_proto method=POST [20:45:05]POST find Content-Length [20:45:05]Host: 172.17.40.196:8080 [20:45:05]Content-Length: 620 [20:45:05]Content-Type: application/json [20:45:05] [20:45:05]POST finish read [20:45:05]Found Content-Length = 620 [20:45:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35043", "tax_sys" : 0, "items" : [ { "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 149.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:45:05]execute_script... [20:45: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)35043", "tax_sys" : 0, "items" : [ { "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 149.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:45:05]POST & json_proto [20:45:05]process_json_proto [20:45:05]json parsed OK: [20:45:05]protocol is kg_v1.0 [20:45:05]action value=close_receipt [20:45:05]process_action close_receipt [20:45:05]cmd_close_receipt [20:45:05]MH_GetDate [20:45:05]Write to MH i2c: F0 00 00 36 12 37 [20:45:05]Write i2c OK [20:45:05]MH_I2C_Read... [20:45:05]Read from MH i2c: F0 [20:45:05]MH_I2C_Read... [20:45:05]Read from MH i2c: F0 09 00 [20:45:05]MH_I2C_Read... [20:45:05]Read from MH i2c: F0 09 00 36 12 00 55 A6 1E 67 5B 68 A1 66 8A [20:45:05]GetLastDocTimeStamp 1730060023 [20:45:05]current date 1730061909 [20:45:05]FM_GetShiftState [20:45:05]SAM_PROTO_GetShiftState [20:45:05]wFMCommunicate request_size=4 [20:45:05]MH_SAM_APDU [20:45:05]CAPDU: 80 13 01 00 [20:45:05]Write to MH i2c: E2 08 00 37 12 80 13 01 00 00 00 00 00 C6 [20:45:05]Write i2c OK [20:45:05]MH_I2C_Read... [20:45:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:45:05]Read from MH i2c: E2 [20:45:05]MH_I2C_Read... [20:45:05]Read from MH i2c: E2 0E 00 [20:45:05]MH_I2C_Read... [20:45:05]Read from MH i2c: E2 0E 00 37 12 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 7D [20:45:05]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [20:45:05]wFMCommunicate OK [20:45:05]SAM_PROTO_GetShiftState done [20:45:05]FM_GetShiftState done [20:45:05]opened in 1729987492 [20:45:05]opened+sec_in_day 1730073892 [20:45:05]quantity*price = 14900 [20:45:05]sum+1 = 14901 [20:45:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 149.00 НСП 1% : 1.32 НДС 12% : 15.82 Наличными: 149.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 71 27.10.2024 20:45 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37745 ФПД: 177499827940242 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T204509&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37745&fm=177499827940242&tin=02508201610067®Number=0000000000091684&sum=14900 0 [20:45:06]StoreToDocumentArchive [20:45:06]shift 550 fd 37745 [20:45:06]save to /storage/0550/doc_00037745 [20:45:06]save last doc name /storage/0550/doc_00037745 to /storage/kkm_last_doc_name [20:45:06]save OK [20:45:06]Clear old archive folders... [20:45:06]ProcessDocumentItem done err = 0, tmpTLVsize=273 [20:45:06]tlvbuf is B6F1F250 [20:45:06]SAM_PROTO_ClearQueue [20:45:06]wFMCommunicate request_size=4 [20:45:06]MH_SAM_APDU [20:45:06]CAPDU: 80 09 00 00 [20:45:06]Write to MH i2c: E2 08 00 44 12 80 09 00 00 00 00 00 00 C8 [20:45:06]Write i2c OK [20:45:06]MH_I2C_Read... [20:45:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:45:06]Read from MH i2c: E2 [20:45:06]MH_I2C_Read... [20:45:06]Read from MH i2c: E2 03 00 [20:45:06]MH_I2C_Read... [20:45:06]Read from MH i2c: E2 03 00 44 12 00 90 00 CA [20:45:06]RAPDU: 90 00 [20:45:06]wFMCommunicate OK [20:45:06]SAM_PROTO_ClearQueue done [20:45:06]KKMCreateOFDPacket [20:45:06]OFDProtocolAddRootSTLVToBuf [20:45:06]FM_MakeSignedData [20:45:06]FM_MakeSignedData [20:45:06]SAM_PROTO_SignData [20:45:06]wFMCommunicate request_size=4 [20:45:06]MH_SAM_APDU [20:45:06]CAPDU: 80 0D 01 02 [20:45:06]Write to MH i2c: E2 08 00 45 12 80 0D 01 02 00 00 00 00 D0 [20:45:06]Write i2c OK [20:45:06]MH_I2C_Read... [20:45:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:45:06]Read from MH i2c: E2 [20:45:06]MH_I2C_Read... [20:45:06]Read from MH i2c: E2 03 00 [20:45:06]MH_I2C_Read... [20:45:06]Read from MH i2c: E2 03 00 45 12 00 90 00 CB [20:45:06]RAPDU: 90 00 [20:45:06]wFMCommunicate OK [20:45:06]wFMCommunicate request_size=255 [20:45:06]MH_SAM_APDU [20:45:06]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 55 A6 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [20:45:06]Write to MH i2c: E2 02 01 46 12 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 55 A6 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 5D [20:45:06]Write i2c OK [20:45:06]MH_I2C_Read... [20:45:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:45:07]Read from MH i2c: E2 [20:45:07]MH_I2C_Read... [20:45:07]Read from MH i2c: E2 03 00 [20:45:07]MH_I2C_Read... [20:45:07]Read from MH i2c: E2 03 00 46 12 00 90 00 CC [20:45:07]RAPDU: 90 00 [20:45:07]wFMCommunicate OK [20:45:07]wFMCommunicate request_size=32 [20:45:07]MH_SAM_APDU [20:45:07]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 71 93 00 00 35 04 06 00 A1 6F 66 31 2B 92 [20:45:07]Write to MH i2c: E2 23 00 47 12 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 71 93 00 00 35 04 06 00 A1 6F 66 31 2B 92 00 00 95 [20:45:07]Write i2c OK [20:45:07]MH_I2C_Read... [20:45:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:45:07]Read from MH i2c: E2 [20:45:07]MH_I2C_Read... [20:45:07]Read from MH i2c: E2 03 00 [20:45:07]MH_I2C_Read... [20:45:07]Read from MH i2c: E2 03 00 47 12 00 90 00 CD [20:45:07]RAPDU: 90 00 [20:45:07]wFMCommunicate OK [20:45:07]wFMCommunicate request_size=4 [20:45:07]MH_SAM_APDU [20:45:07]CAPDU: 80 0D 03 02 [20:45:07]Write to MH i2c: E2 08 00 48 12 80 0D 03 02 00 00 00 00 D5 [20:45:07]Write i2c OK [20:45:07]MH_I2C_Read... [20:45:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:45:07]Read from MH i2c: E2 [20:45:07]MH_I2C_Read... [20:45:07]Read from MH i2c: E2 0B 00 [20:45:07]MH_I2C_Read... [20:45:07]Read from MH i2c: E2 0B 00 48 12 00 05 8C 0E 7E 21 45 31 EE 90 00 78 [20:45:07]RAPDU: 05 8C 0E 7E 21 45 31 EE 90 00 [20:45:07]wFMCommunicate OK [20:45:07]SAM_PROTO_SignData done [20:45:07]FM_MakeSignedData done [20:45:07]CreateOFDProtocolMessage [20:45:07]wFMCommunicate request_size=4 [20:45:07]MH_SAM_APDU [20:45:07]CAPDU: 80 11 00 00 [20:45:07]Write to MH i2c: E2 08 00 49 12 80 11 00 00 00 00 00 00 D5 [20:45:07]Write i2c OK [20:45:07]MH_I2C_Read... [20:45:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:45:07]Read from MH i2c: E2 [20:45:07]MH_I2C_Read... [20:45:07]Read from MH i2c: E2 17 00 [20:45:07]MH_I2C_Read... [20:45:07]Read from MH i2c: E2 17 00 49 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 25 [20:45:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [20:45:07]wFMCommunicate OK [20:45:07]CreateOFDProtocolMessage done [20:45:07]OFDSenderStorePacket 37745 [20:45:07]StoreOFDPacket docnum=37745 [20:45: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 25 01 00 00 BE 45 1D 01 66 FE 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 55 A6 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 71 93 00 00 35 04 06 00 A1 6F 66 31 2B 92 05 8C 0E 7E 21 45 31 EE [20:45:07]CheckFolder [20:45:07]dirname=/storage/ofd_packets [20:45:07]CheckFolder done [20:45:07]ProducePacketName [20:45:07]name=ofd_packets/00037745 [20:45:07]NVStorageSaveData ofd_packets/00037745 [20:45:07]File name is /storage/ofd_packets/00037745 [20:45:07]Write 323 bytes [20:45:07]NVStorageSaveData done [20:45:07]OFDSenderStorePacket done [20:45:07]KKMCreateOFDPacket done [20:45:07]NVStorageSaveData kkm_last_timestamp [20:45:07]File name is /storage/kkm_last_timestamp [20:45:07]Write 4 bytes [20:45:07]NVStorageSaveData done [20:45:07]ExternCall_PrintAddStr [20:45:07]wPrintStart [20:45:07]Write to MH i2c: 01 00 00 4A 12 5C [20:45:07]Write i2c OK [20:45:07]MH_I2C_Read... [20:45:07]Read from MH i2c: 01 [20:45:07]MH_I2C_Read... [20:45:07]Read from MH i2c: 01 07 00 [20:45:07]MH_I2C_Read... [20:45:07]Read from MH i2c: 01 07 00 4A 12 00 00 00 00 00 FF 0F 71 [20:45:07]RasterBufferAndPrint [20:45:07]line Счет N : (3)35043 [20:45:07]line ИНН: 02508201610067 [20:45:07]line Контрольно-Кассовый Чек [20:45:07]line ПРОДАЖА [20:45:07]line Товар: 48744119 [20:45:07]line Сигареты Winston Xstyle Dual [20:45:07]line 1.000 * 149.00 [20:45:07]line = 149.00 [20:45:07]line НДС 12% НСП 1% [20:45:07]line > о реализуемом товаре [20:45:07]line ИТОГО: 149.00 [20:45:07]line НСП 1% : 1.32 [20:45:07]line НДС 12% : 15.82 [20:45:07]line Наличными: 149.00 [20:45:07]line Безнал.: 0.00 [20:45:07]line Место: АЗС № 126 "Партнер Нефть" [20:45:07]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [20:45:07]line СНО: Общий режим [20:45:07]line Чек 71 27.10.2024 20:45 [20:45:07]line Смена: 550 ФФД: 1.0 [20:45:07]line ЗНМ: 0300000092 [20:45:07]line РНМ: 0000000000091684 [20:45:07]line Версия ККМ: 001 [20:45:07]line ФМ: 0000000000871841 [20:45:07]line ФД: 37745 [20:45:07]line ФПД: 177499827940242 [20:45:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T204509&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37745&fm=177499827940242&tin=02508201610067®Number=0000000000091684&sum=14900 [20:45:07]OFD Sender: Processing packet 37745 [packets to send 42, broken 41] [20:45:07]ProducePacketName [20:45:07]name=ofd_packets/00037745 [20:45:07]OFD Sender: To server: pG, [20:45:07]CommunicateWithHost lk.salyk.kg:30040 [20:45:07]ConnectInit lk.salyk.kg [20:45:07]line 0 [20:45:07]written 0, free lines is 4095 [20:45:07]Connected sock=10 [20: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 25 01 00 00 BE 45 1D 01 66 FE 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 55 A6 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 71 93 00 00 35 04 06 00 A1 6F 66 31 2B 92 05 8C 0E 7E 21 45 31 EE [20:45:08]Write to MH i2c: 01 00 00 72 12 84 [20:45:08]Write i2c OK [20:45:08]MH_I2C_Read... [20:45:08]Read from MH i2c: 01 [20:45:08]MH_I2C_Read... [20:45:08]Read from MH i2c: 01 07 00 [20:45:08]MH_I2C_Read... [20:45:08]Read from MH i2c: 01 07 00 72 12 00 00 00 00 00 BA 0C 51 [20:45:08]RasterBufferAndPrint [20:45:08]line [20:45:08]line [20:45:08]line [20:45:08]line [20:45:08]line [20:45:08]written 0, free lines is 3264 [20:45:08]MH_Cut [20:45:08]Write to MH i2c: D1 01 00 79 12 01 5D [20:45:08]Write i2c OK [20:45:08]MH_I2C_Read... [20:45:08]Read from MH i2c: D1 [20:45:08]MH_I2C_Read... [20:45:08]Read from MH i2c: D1 01 00 [20:45:08]MH_I2C_Read... [20:45:08]Read from MH i2c: D1 01 00 79 12 00 5C [20:45:08]Write to MH i2c: 01 00 00 7A 12 8C [20:45:08]Write i2c OK [20:45:08]MH_I2C_Read... [20:45: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 4D B4 47 00 86 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 71 93 00 00 F4 03 04 00 4C 51 1E 67 B6 04 01 00 00 F0 79 F4 E6 20 D0 9F E9 [20:45:08]CommunicateWithHost err = 0 [20:45:08]CheckOFDResponse [20:45:08]1017 (14) - 77093643461234 [20:45:08]1041 (16) - 0000000000871841 [20:45:08]1040 (4) - 37745 [20:45:08]1012 (4) - 27.10.2024 14:42 [20:45:08]1206 (1) - 0 [20:45:08]OFD Sender: Remove packet 37745 [20:45:08]ProducePacketName [20:45:08]name=ofd_packets/00037745 [20:45:08]NVStorageDeleteData [20:45:08]OFD Sender: No OFD packet to send [20:45:09]*** Cut start [20:45:09]*** Partial cut [20:45:09]*** CUTSNS_PIN = 1 [20:45:09]*** CUTSNS_PIN = 0 [20:45:09]*** Brake cut motor [20:45:09]Read from MH i2c: 01 [20:45:09]MH_I2C_Read... [20:45:09]*** Stop cut motor [20:45:09]*** Cut end [20:45:09]Read from MH i2c: 01 07 00 [20:45:09]MH_I2C_Read... [20:45:09]Read from MH i2c: 01 07 00 7A 12 00 00 00 00 00 FF 0F A1 [20:45:09]process_action close_receipt done [20:45:09]requested_data is exist [20:45:09]produce_requested_data [20:45:09]requested_item fm.sn is exist - process it [20:45:09]wFMCommunicate request_size=4 [20:45:09]MH_SAM_APDU [20:45:09]CAPDU: 80 11 00 00 [20:45:09]Write to MH i2c: E2 08 00 7B 12 80 11 00 00 00 00 00 00 07 [20:45:09]Write i2c OK [20:45:09]MH_I2C_Read... [20:45:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:45:09]Read from MH i2c: E2 [20:45:09]MH_I2C_Read... [20:45:09]Read from MH i2c: E2 17 00 [20:45:09]MH_I2C_Read... [20:45:09]Read from MH i2c: E2 17 00 7B 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 57 [20:45:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [20:45:09]wFMCommunicate OK [20:45:09]requested_item fd.num is exist - process it [20:45:09]SAM_PROTO_GetFieldsCounters [20:45:09]wFMCommunicate request_size=4 [20:45:09]MH_SAM_APDU [20:45:09]CAPDU: 80 13 00 00 [20:45:09]Write to MH i2c: E2 08 00 7C 12 80 13 00 00 00 00 00 00 0A [20:45:09]Write i2c OK [20:45:09]MH_I2C_Read... [20:45:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:45:09]Read from MH i2c: E2 [20:45:09]MH_I2C_Read... [20:45:09]Read from MH i2c: E2 62 00 [20:45:09]MH_I2C_Read... [20:45:09]Read from MH i2c: E2 62 00 7C 12 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 71 93 00 00 0E 04 04 00 26 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 2C [20:45: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 71 93 00 00 0E 04 04 00 26 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 [20:45:09]wFMCommunicate OK [20:45:09]SAM_PROTO_GetFieldsCounters done [20:45:09]requested_item shift.num is exist - process it [20:45:09]requested_item shift.opened is exist - process it [20:45:09]req_shift_opened [20:45:09]FM_GetShiftState [20:45:09]SAM_PROTO_GetShiftState [20:45:09]wFMCommunicate request_size=4 [20:45:09]MH_SAM_APDU [20:45:09]CAPDU: 80 13 01 00 [20:45:09]Write to MH i2c: E2 08 00 7D 12 80 13 01 00 00 00 00 00 0C [20:45:09]Write i2c OK [20:45:09]MH_I2C_Read... [20:45:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:45:09]Read from MH i2c: E2 [20:45:09]MH_I2C_Read... [20:45:09]Read from MH i2c: E2 0E 00 [20:45:09]MH_I2C_Read... [20:45:09]Read from MH i2c: E2 0E 00 7D 12 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 C3 [20:45:09]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [20:45:09]wFMCommunicate OK [20:45:09]SAM_PROTO_GetShiftState done [20:45:09]FM_GetShiftState done [20:45:09]req_shift_opened done [20:45:09]requested_item shift.open_date is exist - process it [20:45:09]req_shift_open_date [20:45:09]req_shift_open_date done [20:45:09]produce_requested_data done [20:45:09]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37745,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [20:45:09]process_action_free close_receipt [20:45:09]json_value_free [20:45:09]json_value_free done [20:45:09]process_json_proto returns [20:45:09]Send response to host [20:45:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37745,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [20:45:09]free response buf [20:45:09]execute_script done [20:45:09]execute_script returns [20:45:09]free content buf [20:45:09]Sock 9.Close socket [20:45:09]Sock 9.Thread stoped [20:45:13]OFD Sender: No OFD packet to send [20:45:18]OFD Sender: No OFD packet to send [20:45:23]OFD Sender: No OFD packet to send [20:45:28]OFD Sender: No OFD packet to send [20:45:33]OFD Sender: No OFD packet to send [20:45:38]OFD Sender: No OFD packet to send [20:45:43]OFD Sender: No OFD packet to send [20:45:48]OFD Sender: No OFD packet to send [20:45:53]OFD Sender: No OFD packet to send [20:45:58]OFD Sender: No OFD packet to send [20:46:03]OFD Sender: No OFD packet to send [20:46:08]OFD Sender: No OFD packet to send [20:46:13]OFD Sender: No OFD packet to send [20:46:18]OFD Sender: No OFD packet to send [20:46:23]OFD Sender: No OFD packet to send [20:46:28]OFD Sender: No OFD packet to send [20:46:33]OFD Sender: No OFD packet to send [20:46:38]OFD Sender: No OFD packet to send [20:46:43]OFD Sender: No OFD packet to send [20:46:48]OFD Sender: No OFD packet to send [20:46:53]OFD Sender: No OFD packet to send [20:46:58]OFD Sender: No OFD packet to send [20:47:03]OFD Sender: No OFD packet to send [20:47:08]OFD Sender: No OFD packet to send [20:47:13]OFD Sender: No OFD packet to send [20:47:18]OFD Sender: No OFD packet to send [20:47:23]OFD Sender: No OFD packet to send [20:47:28]OFD Sender: No OFD packet to send [20:47:33]OFD Sender: No OFD packet to send [20:47:38]OFD Sender: No OFD packet to send [20:47:43]OFD Sender: No OFD packet to send [20:47:48]OFD Sender: No OFD packet to send [20:47:53]OFD Sender: No OFD packet to send [20:47:58]OFD Sender: No OFD packet to send [20:48:03]OFD Sender: No OFD packet to send [20:48:08]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:44]OFD Sender: No OFD packet to send [20:53:49]OFD Sender: No OFD packet to send [20:53:54]OFD Sender: No OFD packet to send [20:53:59]OFD Sender: No OFD packet to send [20:54:04]OFD Sender: No OFD packet to send [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:19]OFD Sender: No OFD packet to send [21:00:24]OFD Sender: No OFD packet to send [21:00:29]OFD Sender: No OFD packet to send [21:00:34]OFD Sender: No OFD packet to send [21:00:39]OFD Sender: No OFD packet to send [21:00:44]OFD Sender: No OFD packet to send [21:00:49]OFD Sender: No OFD packet to send [21:00:54]OFD Sender: No OFD packet to send [21:00:59]OFD Sender: No OFD packet to send [21:01:04]OFD Sender: No OFD packet to send [21:01:09]OFD Sender: No OFD packet to send [21:01:14]OFD Sender: No OFD packet to send [21:01:19]OFD Sender: No OFD packet to send [21:01:24]OFD Sender: No OFD packet to send [21:01:29]OFD Sender: No OFD packet to send [21:01:34]OFD Sender: No OFD packet to send [21:01:39]OFD Sender: No OFD packet to send [21:01:44]OFD Sender: No OFD packet to send [21:01:49]OFD Sender: No OFD packet to send [21:01:54]OFD Sender: No OFD packet to send [21:01:59]OFD Sender: No OFD packet to send [21:02:04]OFD Sender: No OFD packet to send [21:02:09]OFD Sender: No OFD packet to send [21:02:14]OFD Sender: No OFD packet to send [21:02:19]OFD Sender: No OFD packet to send [21:02:24]OFD Sender: No OFD packet to send [21:02:29]OFD Sender: No OFD packet to send [21:02:34]OFD Sender: No OFD packet to send [21:02:39]OFD Sender: No OFD packet to send [21:02:44]OFD Sender: No OFD packet to send [21:02:49]OFD Sender: No OFD packet to send [21:02:54]OFD Sender: No OFD packet to send [21:02:59]OFD Sender: No OFD packet to send [21:03:04]OFD Sender: No OFD packet to send [21:03:09]OFD Sender: No OFD packet to send [21:03:14]OFD Sender: No OFD packet to send [21:03:19]OFD Sender: No OFD packet to send [21:03:24]OFD Sender: No OFD packet to send [21:03:29]OFD Sender: No OFD packet to send [21:03:34]OFD Sender: No OFD packet to send [21:03:39]OFD Sender: No OFD packet to send [21:03:44]OFD Sender: No OFD packet to send [21:03:49]OFD Sender: No OFD packet to send [21:03:54]OFD Sender: No OFD packet to send [21:03:59]OFD Sender: No OFD packet to send [21:04:04]OFD Sender: No OFD packet to send [21:04:09]OFD Sender: No OFD packet to send [21:04:14]OFD Sender: No OFD packet to send [21:04:19]OFD Sender: No OFD packet to send [21:04:24]OFD Sender: No OFD packet to send [21:04:29]OFD Sender: No OFD packet to send [21:04:34]OFD Sender: No OFD packet to send [21:04:39]OFD Sender: No OFD packet to send [21:04:44]OFD Sender: No OFD packet to send [21:04:49]OFD Sender: No OFD packet to send [21:04:54]OFD Sender: No OFD packet to send [21:04:59]OFD Sender: No OFD packet to send [21:05:04]OFD Sender: No OFD packet to send [21:05:09]OFD Sender: No OFD packet to send [21:05:14]OFD Sender: No OFD packet to send [21:05:19]OFD Sender: No OFD packet to send [21:05:24]OFD Sender: No OFD packet to send [21:05:29]OFD Sender: No OFD packet to send [21:05:34]OFD Sender: No OFD packet to send [21:05:39]OFD Sender: No OFD packet to send [21:05:44]OFD Sender: No OFD packet to send [21:05:49]OFD Sender: No OFD packet to send [21:05:54]OFD Sender: No OFD packet to send [21:05:59]OFD Sender: No OFD packet to send [21:06:04]OFD Sender: No OFD packet to send [21:06:09]OFD Sender: No OFD packet to send [21:06:14]OFD Sender: No OFD packet to send [21:06:19]OFD Sender: No OFD packet to send [21:06:21]accept exits with 7 [21:06:21]New connection [21:06:21]New thread 3067297124 created [21:06:21]Thread 3067440484 joined [21:06:21]Waiting for new connection... [21:06:21] Sock 7.Parse request [21:06:21]Sock 7.Check first char [21:06:21]Sock 7.First char is OK [21:06:21]request: POST /json_proto HTTP/1.0 [21:06:21]Method: POST [21:06:21]URL: /json_proto [21:06:21]Method is POST - this is cgi request [21:06:21]url: /json_proto [21:06:21]query_string will be loaded in cgi processing [21:06:21]execute_cgi json_proto POST (null) [21:06:21]execute_cgi path=json_proto method=POST [21:06:21]POST find Content-Length [21:06:21]Host: 172.17.40.196:8080 [21:06:21]Content-Length: 627 [21:06:21]Content-Type: application/json [21:06:21] [21:06:21]POST finish read [21:06:21]Found Content-Length = 627 [21:06:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35044", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:06:21]execute_script... [21:06:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35044", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:06:21]POST & json_proto [21:06:21]process_json_proto [21:06:21]json parsed OK: [21:06:21]protocol is kg_v1.0 [21:06:21]action value=close_receipt [21:06:21]process_action close_receipt [21:06:21]cmd_close_receipt [21:06:21]MH_GetDate [21:06:21]Write to MH i2c: F0 00 00 7E 12 7F [21:06:21]Write i2c OK [21:06:21]MH_I2C_Read... [21:06:21]Read from MH i2c: F0 [21:06:21]MH_I2C_Read... [21:06:21]Read from MH i2c: F0 09 00 [21:06:21]MH_I2C_Read... [21:06:21]Read from MH i2c: F0 09 00 7E 12 00 51 AB 1E 67 5B 68 A1 66 D3 [21:06:21]GetLastDocTimeStamp 1730061909 [21:06:21]current date 1730063185 [21:06:21]FM_GetShiftState [21:06:21]SAM_PROTO_GetShiftState [21:06:21]wFMCommunicate request_size=4 [21:06:21]MH_SAM_APDU [21:06:21]CAPDU: 80 13 01 00 [21:06:21]Write to MH i2c: E2 08 00 7F 12 80 13 01 00 00 00 00 00 0E [21:06:21]Write i2c OK [21:06:21]MH_I2C_Read... [21:06:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:06:21]Read from MH i2c: E2 [21:06:21]MH_I2C_Read... [21:06:21]Read from MH i2c: E2 0E 00 [21:06:21]MH_I2C_Read... [21:06:21]Read from MH i2c: E2 0E 00 7F 12 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 C5 [21:06:21]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [21:06:21]wFMCommunicate OK [21:06:21]SAM_PROTO_GetShiftState done [21:06:21]FM_GetShiftState done [21:06:21]opened in 1729987492 [21:06:21]opened+sec_in_day 1730073892 [21:06:21]quantity*price = 13900 [21:06:21]sum+1 = 13901 [21:06:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 72 27.10.2024 21:06 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37746 ФПД: 97124880536730 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T210625&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37746&fm=97124880536730&tin=02508201610067®Number=0000000000091684&sum=13900 0 [21:06:22]StoreToDocumentArchive [21:06:22]shift 550 fd 37746 [21:06:22]save to /storage/0550/doc_00037746 [21:06:22]save last doc name /storage/0550/doc_00037746 to /storage/kkm_last_doc_name [21:06:22]save OK [21:06:22]Clear old archive folders... [21:06:22]ProcessDocumentItem done err = 0, tmpTLVsize=280 [21:06:22]tlvbuf is 0027AC90 [21:06:22]SAM_PROTO_ClearQueue [21:06:22]wFMCommunicate request_size=4 [21:06:22]MH_SAM_APDU [21:06:22]CAPDU: 80 09 00 00 [21:06:22]Write to MH i2c: E2 08 00 8C 12 80 09 00 00 00 00 00 00 10 [21:06:22]Write i2c OK [21:06:22]MH_I2C_Read... [21:06:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:06:22]Read from MH i2c: E2 [21:06:22]MH_I2C_Read... [21:06:22]Read from MH i2c: E2 03 00 [21:06:22]MH_I2C_Read... [21:06:22]Read from MH i2c: E2 03 00 8C 12 00 90 00 12 [21:06:22]RAPDU: 90 00 [21:06:22]wFMCommunicate OK [21:06:22]SAM_PROTO_ClearQueue done [21:06:22]KKMCreateOFDPacket [21:06:22]OFDProtocolAddRootSTLVToBuf [21:06:22]FM_MakeSignedData [21:06:22]FM_MakeSignedData [21:06:22]SAM_PROTO_SignData [21:06:22]wFMCommunicate request_size=4 [21:06:22]MH_SAM_APDU [21:06:22]CAPDU: 80 0D 01 02 [21:06:22]Write to MH i2c: E2 08 00 8D 12 80 0D 01 02 00 00 00 00 18 [21:06:22]Write i2c OK [21:06:22]MH_I2C_Read... [21:06:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:06:22]Read from MH i2c: E2 [21:06:22]MH_I2C_Read... [21:06:22]Read from MH i2c: E2 03 00 [21:06:22]MH_I2C_Read... [21:06:22]Read from MH i2c: E2 03 00 8D 12 00 90 00 13 [21:06:22]RAPDU: 90 00 [21:06:22]wFMCommunicate OK [21:06:22]wFMCommunicate request_size=255 [21:06:22]MH_SAM_APDU [21:06:22]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 51 AB 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 [21:06:22]Write to MH i2c: E2 02 01 8E 12 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 51 AB 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 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 00 DD [21:06:22]Write i2c OK [21:06:22]MH_I2C_Read... [21:06:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:06:23]Read from MH i2c: E2 [21:06:23]MH_I2C_Read... [21:06:23]Read from MH i2c: E2 03 00 [21:06:23]MH_I2C_Read... [21:06:23]Read from MH i2c: E2 03 00 8E 12 00 90 00 14 [21:06:23]RAPDU: 90 00 [21:06:23]wFMCommunicate OK [21:06:23]wFMCommunicate request_size=39 [21:06:23]MH_SAM_APDU [21:06:23]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 72 93 00 00 35 04 06 00 58 55 A6 00 D4 9A [21:06:23]Write to MH i2c: E2 2A 00 8F 12 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 72 93 00 00 35 04 06 00 58 55 A6 00 D4 9A 00 00 99 [21:06:23]Write i2c OK [21:06:23]MH_I2C_Read... [21:06:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:06:23]Read from MH i2c: E2 [21:06:23]MH_I2C_Read... [21:06:23]Read from MH i2c: E2 03 00 [21:06:23]MH_I2C_Read... [21:06:23]Read from MH i2c: E2 03 00 8F 12 00 90 00 15 [21:06:23]RAPDU: 90 00 [21:06:23]wFMCommunicate OK [21:06:23]wFMCommunicate request_size=4 [21:06:23]MH_SAM_APDU [21:06:23]CAPDU: 80 0D 03 02 [21:06:23]Write to MH i2c: E2 08 00 90 12 80 0D 03 02 00 00 00 00 1D [21:06:23]Write i2c OK [21:06:23]MH_I2C_Read... [21:06:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:06:23]Read from MH i2c: E2 [21:06:23]MH_I2C_Read... [21:06:23]Read from MH i2c: E2 0B 00 [21:06:23]MH_I2C_Read... [21:06:23]Read from MH i2c: E2 0B 00 90 12 00 46 D4 6F 9D 03 85 9A 1B 90 00 81 [21:06:23]RAPDU: 46 D4 6F 9D 03 85 9A 1B 90 00 [21:06:23]wFMCommunicate OK [21:06:23]SAM_PROTO_SignData done [21:06:23]FM_MakeSignedData done [21:06:23]CreateOFDProtocolMessage [21:06:23]wFMCommunicate request_size=4 [21:06:23]MH_SAM_APDU [21:06:23]CAPDU: 80 11 00 00 [21:06:23]Write to MH i2c: E2 08 00 91 12 80 11 00 00 00 00 00 00 1D [21:06:23]Write i2c OK [21:06:23]MH_I2C_Read... [21:06:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:06:23]Read from MH i2c: E2 [21:06:23]MH_I2C_Read... [21:06:23]Read from MH i2c: E2 17 00 [21:06:23]MH_I2C_Read... [21:06:23]Read from MH i2c: E2 17 00 91 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 6D [21:06:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [21:06:23]wFMCommunicate OK [21:06:23]CreateOFDProtocolMessage done [21:06:23]OFDSenderStorePacket 37746 [21:06:23]StoreOFDPacket docnum=37746 [21:06:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2C 01 00 00 A5 34 24 01 3E 2A 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 51 AB 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 72 93 00 00 35 04 06 00 58 55 A6 00 D4 9A 46 D4 6F 9D 03 85 9A 1B [21:06:23]CheckFolder [21:06:23]dirname=/storage/ofd_packets [21:06:23]CheckFolder done [21:06:23]ProducePacketName [21:06:23]name=ofd_packets/00037746 [21:06:23]NVStorageSaveData ofd_packets/00037746 [21:06:23]File name is /storage/ofd_packets/00037746 [21:06:23]Write 330 bytes [21:06:23]NVStorageSaveData done [21:06:23]OFDSenderStorePacket done [21:06:23]KKMCreateOFDPacket done [21:06:23]NVStorageSaveData kkm_last_timestamp [21:06:23]File name is /storage/kkm_last_timestamp [21:06:23]Write 4 bytes [21:06:23]NVStorageSaveData done [21:06:23]ExternCall_PrintAddStr [21:06:23]wPrintStart [21:06:23]Write to MH i2c: 01 00 00 92 12 A4 [21:06:23]Write i2c OK [21:06:23]MH_I2C_Read... [21:06:23]Read from MH i2c: 01 [21:06:23]MH_I2C_Read... [21:06:23]Read from MH i2c: 01 07 00 [21:06:23]MH_I2C_Read... [21:06:23]Read from MH i2c: 01 07 00 92 12 00 00 00 00 00 FF 0F B9 [21:06:23]RasterBufferAndPrint [21:06:23]line Счет N : (3)35044 [21:06:23]line ИНН: 02508201610067 [21:06:23]line Контрольно-Кассовый Чек [21:06:23]line ПРОДАЖА [21:06:23]line Товар: 48741231 [21:06:23]line Сигареты Winston Super Slims Silver [21:06:23]line 1.000 * 139.00 [21:06:23]line = 139.00 [21:06:23]line НДС 12% НСП 1% [21:06:23]line > о реализуемом товаре [21:06:23]line ИТОГО: 139.00 [21:06:23]line НСП 1% : 1.23 [21:06:23]line НДС 12% : 14.76 [21:06:23]line Наличными: 139.00 [21:06:23]line Безнал.: 0.00 [21:06:23]line Место: АЗС № 126 "Партнер Нефть" [21:06:23]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [21:06:23]line СНО: Общий режим [21:06:23]line Чек 72 27.10.2024 21:06 [21:06:23]line Смена: 550 ФФД: 1.0 [21:06:23]line ЗНМ: 0300000092 [21:06:23]line РНМ: 0000000000091684 [21:06:23]line Версия ККМ: 001 [21:06:23]line ФМ: 0000000000871841 [21:06:23]line ФД: 37746 [21:06:23]line ФПД: 97124880536730 [21:06:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T210625&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37746&fm=97124880536730&tin=02508201610067®Number=0000000000091684&sum=13900 [21:06:23]line 0 [21:06:23]OFD Sender: Processing packet 37746 [packets to send 42, broken 41] [21:06:23]ProducePacketName [21:06:23]name=ofd_packets/00037746 [21:06:23]OFD Sender: To server: pG, [21:06:23]CommunicateWithHost lk.salyk.kg:30040 [21:06:23]ConnectInit lk.salyk.kg [21:06:23]written 0, free lines is 4095 [21:06:23]Connected sock=10 [21:06:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2C 01 00 00 A5 34 24 01 3E 2A 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 51 AB 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 72 93 00 00 35 04 06 00 58 55 A6 00 D4 9A 46 D4 6F 9D 03 85 9A 1B [21:06:23]Write to MH i2c: 01 00 00 BB 12 CD [21:06:23]Write i2c OK [21:06:23]MH_I2C_Read... [21:06:23]Read from MH i2c: 01 [21:06:23]MH_I2C_Read... [21:06:23]Read from MH i2c: 01 07 00 [21:06:23]MH_I2C_Read... [21:06:23]Read from MH i2c: 01 07 00 BB 12 00 00 00 00 00 B0 0C 90 [21:06:23]RasterBufferAndPrint [21:06:23]line [21:06:23]line [21:06:23]line [21:06:23]line [21:06:23]line [21:06:23]written 0, free lines is 3251 [21:06:23]MH_Cut [21:06:23]Write to MH i2c: D1 01 00 C2 12 01 A6 [21:06:23]Write i2c OK [21:06:23]MH_I2C_Read... [21:06:23]Read from MH i2c: D1 [21:06:23]MH_I2C_Read... [21:06:23]Read from MH i2c: D1 01 00 [21:06:23]MH_I2C_Read... [21:06:23]Read from MH i2c: D1 01 00 C2 12 00 A5 [21:06:23]Write to MH i2c: 01 00 00 C3 12 D5 [21:06:23]Write i2c OK [21:06:23]MH_I2C_Read... [21:06:24]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 85 47 00 6D 41 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 72 93 00 00 F4 03 04 00 48 56 1E 67 B6 04 01 00 00 17 0F 1C 40 46 22 BF 8E [21:06:24]CommunicateWithHost err = 0 [21:06:24]CheckOFDResponse [21:06:24]1017 (14) - 77093643461234 [21:06:24]1041 (16) - 0000000000871841 [21:06:24]1040 (4) - 37746 [21:06:24]1012 (4) - 27.10.2024 15:03 [21:06:24]1206 (1) - 0 [21:06:24]OFD Sender: Remove packet 37746 [21:06:24]ProducePacketName [21:06:24]name=ofd_packets/00037746 [21:06:24]NVStorageDeleteData [21:06:24]OFD Sender: No OFD packet to send [21:06:24]*** Cut start [21:06:24]*** Partial cut [21:06:24]*** CUTSNS_PIN = 1 [21:06:24]*** CUTSNS_PIN = 0 [21:06:25]*** Brake cut motor [21:06:25]Read from MH i2c: 01 [21:06:25]MH_I2C_Read... [21:06:25]*** Stop cut motor [21:06:25]*** Cut end [21:06:25]Read from MH i2c: 01 07 00 [21:06:25]MH_I2C_Read... [21:06:25]Read from MH i2c: 01 07 00 C3 12 00 00 00 00 00 FF 0F EA [21:06:25]process_action close_receipt done [21:06:25]requested_data is exist [21:06:25]produce_requested_data [21:06:25]requested_item fm.sn is exist - process it [21:06:25]wFMCommunicate request_size=4 [21:06:25]MH_SAM_APDU [21:06:25]CAPDU: 80 11 00 00 [21:06:25]Write to MH i2c: E2 08 00 C4 12 80 11 00 00 00 00 00 00 50 [21:06:25]Write i2c OK [21:06:25]MH_I2C_Read... [21:06:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:06:25]Read from MH i2c: E2 [21:06:25]MH_I2C_Read... [21:06:25]Read from MH i2c: E2 17 00 [21:06:25]MH_I2C_Read... [21:06:25]Read from MH i2c: E2 17 00 C4 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A0 [21:06:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [21:06:25]wFMCommunicate OK [21:06:25]requested_item fd.num is exist - process it [21:06:25]SAM_PROTO_GetFieldsCounters [21:06:25]wFMCommunicate request_size=4 [21:06:25]MH_SAM_APDU [21:06:25]CAPDU: 80 13 00 00 [21:06:25]Write to MH i2c: E2 08 00 C5 12 80 13 00 00 00 00 00 00 53 [21:06:25]Write i2c OK [21:06:25]MH_I2C_Read... [21:06:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:06:25]Read from MH i2c: E2 [21:06:25]MH_I2C_Read... [21:06:25]Read from MH i2c: E2 62 00 [21:06:25]MH_I2C_Read... [21:06:25]Read from MH i2c: E2 62 00 C5 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 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 72 93 00 00 0E 04 04 00 26 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 79 [21:06:25]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 72 93 00 00 0E 04 04 00 26 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 [21:06:25]wFMCommunicate OK [21:06:25]SAM_PROTO_GetFieldsCounters done [21:06:25]requested_item shift.num is exist - process it [21:06:25]requested_item shift.opened is exist - process it [21:06:25]req_shift_opened [21:06:25]FM_GetShiftState [21:06:25]SAM_PROTO_GetShiftState [21:06:25]wFMCommunicate request_size=4 [21:06:25]MH_SAM_APDU [21:06:25]CAPDU: 80 13 01 00 [21:06:25]Write to MH i2c: E2 08 00 C6 12 80 13 01 00 00 00 00 00 55 [21:06:25]Write i2c OK [21:06:25]MH_I2C_Read... [21:06:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:06:25]Read from MH i2c: E2 [21:06:25]MH_I2C_Read... [21:06:25]Read from MH i2c: E2 0E 00 [21:06:25]MH_I2C_Read... [21:06:25]Read from MH i2c: E2 0E 00 C6 12 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 0C [21:06:25]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [21:06:25]wFMCommunicate OK [21:06:25]SAM_PROTO_GetShiftState done [21:06:25]FM_GetShiftState done [21:06:25]req_shift_opened done [21:06:25]requested_item shift.open_date is exist - process it [21:06:25]req_shift_open_date [21:06:25]req_shift_open_date done [21:06:25]produce_requested_data done [21:06:25]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37746,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [21:06:25]process_action_free close_receipt [21:06:25]json_value_free [21:06:25]json_value_free done [21:06:25]process_json_proto returns [21:06:25]Send response to host [21:06:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37746,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [21:06:25]free response buf [21:06:25]execute_script done [21:06:25]execute_script returns [21:06:25]free content buf [21:06:25]Sock 7.Close socket [21:06:25]Sock 7.Thread stoped [21:06:29]OFD Sender: No OFD packet to send [21:06:34]OFD Sender: No OFD packet to send [21:06:39]OFD Sender: No OFD packet to send [21:06:44]OFD Sender: No OFD packet to send [21:06:49]OFD Sender: No OFD packet to send [21:06:54]OFD Sender: No OFD packet to send [21:06:59]OFD Sender: No OFD packet to send [21:07:04]OFD Sender: No OFD packet to send [21:07:09]OFD Sender: No OFD packet to send [21:07:14]OFD Sender: No OFD packet to send [21:07:19]OFD Sender: No OFD packet to send [21:07:24]OFD Sender: No OFD packet to send [21:07:29]OFD Sender: No OFD packet to send [21:07:34]OFD Sender: No OFD packet to send [21:07:39]OFD Sender: No OFD packet to send [21:07:44]OFD Sender: No OFD packet to send [21:07:49]OFD Sender: No OFD packet to send [21:07:54]OFD Sender: No OFD packet to send [21:07:59]OFD Sender: No OFD packet to send [21:08:04]OFD Sender: No OFD packet to send [21:08:09]OFD Sender: No OFD packet to send [21:08:14]OFD Sender: No OFD packet to send [21:08:19]OFD Sender: No OFD packet to send [21:08:24]OFD Sender: No OFD packet to send [21:08:29]OFD Sender: No OFD packet to send [21:08:34]OFD Sender: No OFD packet to send [21:08:39]OFD Sender: No OFD packet to send [21:08:44]OFD Sender: No OFD packet to send [21:08:49]OFD Sender: No OFD packet to send [21:08:54]OFD Sender: No OFD packet to send [21:08:59]OFD Sender: No OFD packet to send [21:09:04]OFD Sender: No OFD packet to send [21:09:09]OFD Sender: No OFD packet to send [21:09:14]OFD Sender: No OFD packet to send [21:09:19]OFD Sender: No OFD packet to send [21:09:24]OFD Sender: No OFD packet to send [21:09:29]OFD Sender: No OFD packet to send [21:09:34]OFD Sender: No OFD packet to send [21:09:39]OFD Sender: No OFD packet to send [21:09:44]OFD Sender: No OFD packet to send [21:09:49]OFD Sender: No OFD packet to send [21:09:54]OFD Sender: No OFD packet to send [21:09:59]OFD Sender: No OFD packet to send [21:10:04]OFD Sender: No OFD packet to send [21:10:09]OFD Sender: No OFD packet to send [21:10:14]OFD Sender: No OFD packet to send [21:10:19]OFD Sender: No OFD packet to send [21:10:24]OFD Sender: No OFD packet to send [21:10:29]OFD Sender: No OFD packet to send [21:10:34]OFD Sender: No OFD packet to send [21:10:39]OFD Sender: No OFD packet to send [21:10:44]OFD Sender: No OFD packet to send [21:10:49]OFD Sender: No OFD packet to send [21:10:54]OFD Sender: No OFD packet to send [21:10:59]OFD Sender: No OFD packet to send [21:11:04]OFD Sender: No OFD packet to send [21:11:09]OFD Sender: No OFD packet to send [21:11:14]OFD Sender: No OFD packet to send [21:11:19]OFD Sender: No OFD packet to send [21:11:24]OFD Sender: No OFD packet to send [21:11:29]OFD Sender: No OFD packet to send [21:11:34]OFD Sender: No OFD packet to send [21:11:39]OFD Sender: No OFD packet to send [21:11:44]OFD Sender: No OFD packet to send [21:11:49]OFD Sender: No OFD packet to send [21:11:54]OFD Sender: No OFD packet to send [21:11:59]OFD Sender: No OFD packet to send [21:12:04]OFD Sender: No OFD packet to send [21:12:09]OFD Sender: No OFD packet to send [21:12:14]OFD Sender: No OFD packet to send [21:12:19]OFD Sender: No OFD packet to send [21:12:24]OFD Sender: No OFD packet to send [21:12:29]OFD Sender: No OFD packet to send [21:12:34]OFD Sender: No OFD packet to send [21:12:39]OFD Sender: No OFD packet to send [21:12:44]OFD Sender: No OFD packet to send [21:12:49]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:00]OFD Sender: No OFD packet to send [21:19:05]OFD Sender: No OFD packet to send [21:19:10]OFD Sender: No OFD packet to send [21:19:15]OFD Sender: No OFD packet to send [21:19:20]OFD Sender: No OFD packet to send [21:19:25]OFD Sender: No OFD packet to send [21:19:30]OFD Sender: No OFD packet to send [21:19:35]OFD Sender: No OFD packet to send [21:19:40]OFD Sender: No OFD packet to send [21:19:45]OFD Sender: No OFD packet to send [21:19:50]OFD Sender: No OFD packet to send [21:19:55]OFD Sender: No OFD packet to send [21:20:00]OFD Sender: No OFD packet to send [21:20:05]OFD Sender: No OFD packet to send [21:20:10]OFD Sender: No OFD packet to send [21:20:15]OFD Sender: No OFD packet to send [21:20:20]OFD Sender: No OFD packet to send [21:20:25]OFD Sender: No OFD packet to send [21:20:30]OFD Sender: No OFD packet to send [21:20:35]OFD Sender: No OFD packet to send [21:20:40]OFD Sender: No OFD packet to send [21:20:45]OFD Sender: No OFD packet to send [21:20:50]OFD Sender: No OFD packet to send [21:20:55]OFD Sender: No OFD packet to send [21:21:00]OFD Sender: No OFD packet to send [21:21:05]OFD Sender: No OFD packet to send [21:21:10]OFD Sender: No OFD packet to send [21:21:15]OFD Sender: No OFD packet to send [21:21:20]OFD Sender: No OFD packet to send [21:21:25]OFD Sender: No OFD packet to send [21:21:30]OFD Sender: No OFD packet to send [21:21:35]OFD Sender: No OFD packet to send [21:21:40]OFD Sender: No OFD packet to send [21:21:45]OFD Sender: No OFD packet to send [21:21:50]OFD Sender: No OFD packet to send [21:21:55]OFD Sender: No OFD packet to send [21:22:00]OFD Sender: No OFD packet to send [21:22:01]accept exits with 9 [21:22:01]New connection [21:22:01]New thread 3067440484 created [21:22:01]Thread 3067297124 joined [21:22:01]Waiting for new connection... [21:22:01] Sock 9.Parse request [21:22:01]Sock 9.Check first char [21:22:01]Sock 9.First char is OK [21:22:01]request: POST /json_proto HTTP/1.0 [21:22:01]Method: POST [21:22:01]URL: /json_proto [21:22:01]Method is POST - this is cgi request [21:22:01]url: /json_proto [21:22:01]query_string will be loaded in cgi processing [21:22:01]execute_cgi json_proto POST (null) [21:22:01]execute_cgi path=json_proto method=POST [21:22:01]POST find Content-Length [21:22:01]Host: 172.17.40.196:8080 [21:22:01]Content-Length: 944 [21:22:01]Content-Type: application/json [21:22:01] [21:22:01]POST finish read [21:22:01]Found Content-Length = 944 [21:22:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35045", "tax_sys" : 0, "items" : [ { "code": "4870002328398", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 179.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:22:01]execute_script... [21:22: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)35045", "tax_sys" : 0, "items" : [ { "code": "4870002328398", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 179.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:22:01]POST & json_proto [21:22:01]process_json_proto [21:22:01]json parsed OK: [21:22:01]protocol is kg_v1.0 [21:22:01]action value=close_receipt [21:22:01]process_action close_receipt [21:22:01]cmd_close_receipt [21:22:01]MH_GetDate [21:22:01]Write to MH i2c: F0 00 00 C7 12 C8 [21:22:01]Write i2c OK [21:22:01]MH_I2C_Read... [21:22:01]Read from MH i2c: F0 [21:22:01]MH_I2C_Read... [21:22:01]Read from MH i2c: F0 09 00 [21:22:01]MH_I2C_Read... [21:22:01]Read from MH i2c: F0 09 00 C7 12 00 FD AE 1E 67 5B 68 A1 66 CB [21:22:01]GetLastDocTimeStamp 1730063185 [21:22:01]current date 1730064125 [21:22:01]FM_GetShiftState [21:22:01]SAM_PROTO_GetShiftState [21:22:01]wFMCommunicate request_size=4 [21:22:01]MH_SAM_APDU [21:22:01]CAPDU: 80 13 01 00 [21:22:01]Write to MH i2c: E2 08 00 C8 12 80 13 01 00 00 00 00 00 57 [21:22:01]Write i2c OK [21:22:01]MH_I2C_Read... [21:22:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:22:01]Read from MH i2c: E2 [21:22:01]MH_I2C_Read... [21:22:01]Read from MH i2c: E2 0E 00 [21:22:01]MH_I2C_Read... [21:22:01]Read from MH i2c: E2 0E 00 C8 12 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 0E [21:22:01]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [21:22:01]wFMCommunicate OK [21:22:01]SAM_PROTO_GetShiftState done [21:22:01]FM_GetShiftState done [21:22:01]opened in 1729987492 [21:22:01]opened+sec_in_day 1730073892 [21:22:01]quantity*price = 10000 [21:22:01]sum+1 = 10001 [21:22:01]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000310043 Вода Жалалабат 27 1л 1.000 * 79.00 = 79.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 179.00 НСП 1% : 1.58 НДС 12% : 19.01 Наличными: 179.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 73 27.10.2024 21:22 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37747 ФПД: 22613004071440 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T212206&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37747&fm=22613004071440&tin=02508201610067®Number=0000000000091684&sum=17900 0 [21:22:02]StoreToDocumentArchive [21:22:02]shift 550 fd 37747 [21:22:02]save to /storage/0550/doc_00037747 [21:22:02]save last doc name /storage/0550/doc_00037747 to /storage/kkm_last_doc_name [21:22:02]save OK [21:22:02]Clear old archive folders... [21:22:02]ProcessDocumentItem done err = 0, tmpTLVsize=397 [21:22:02]tlvbuf is B6F1F8D0 [21:22:02]SAM_PROTO_ClearQueue [21:22:02]wFMCommunicate request_size=4 [21:22:02]MH_SAM_APDU [21:22:02]CAPDU: 80 09 00 00 [21:22:02]Write to MH i2c: E2 08 00 D5 12 80 09 00 00 00 00 00 00 59 [21:22:02]Write i2c OK [21:22:02]MH_I2C_Read... [21:22:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:22:03]Read from MH i2c: E2 [21:22:03]MH_I2C_Read... [21:22:03]Read from MH i2c: E2 03 00 [21:22:03]MH_I2C_Read... [21:22:03]Read from MH i2c: E2 03 00 D5 12 00 90 00 5B [21:22:03]RAPDU: 90 00 [21:22:03]wFMCommunicate OK [21:22:03]SAM_PROTO_ClearQueue done [21:22:03]KKMCreateOFDPacket [21:22:03]OFDProtocolAddRootSTLVToBuf [21:22:03]FM_MakeSignedData [21:22:03]FM_MakeSignedData [21:22:03]SAM_PROTO_SignData [21:22:03]wFMCommunicate request_size=4 [21:22:03]MH_SAM_APDU [21:22:03]CAPDU: 80 0D 01 02 [21:22:03]Write to MH i2c: E2 08 00 D6 12 80 0D 01 02 00 00 00 00 61 [21:22:03]Write i2c OK [21:22:03]MH_I2C_Read... [21:22:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:22:03]Read from MH i2c: E2 [21:22:03]MH_I2C_Read... [21:22:03]Read from MH i2c: E2 03 00 [21:22:03]MH_I2C_Read... [21:22:03]Read from MH i2c: E2 03 00 D6 12 00 90 00 5C [21:22:03]RAPDU: 90 00 [21:22:03]wFMCommunicate OK [21:22:03]wFMCommunicate request_size=255 [21:22:03]MH_SAM_APDU [21:22:03]CAPDU: 80 0D 02 02 FA 03 00 8D 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 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 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 45 00 00 00 00 EB 03 26 00 [21:22:03]Write to MH i2c: E2 02 01 D7 12 80 0D 02 02 FA 00 03 00 8D 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 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 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 45 00 00 00 00 EB 03 26 00 00 00 AD [21:22:03]Write i2c OK [21:22:03]MH_I2C_Read... [21:22:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:22:03]Read from MH i2c: E2 [21:22:03]MH_I2C_Read... [21:22:03]Read from MH i2c: E2 03 00 [21:22:03]MH_I2C_Read... [21:22:03]Read from MH i2c: E2 03 00 D7 12 00 90 00 5D [21:22:03]RAPDU: 90 00 [21:22:03]wFMCommunicate OK [21:22:03]wFMCommunicate request_size=156 [21:22:03]MH_SAM_APDU [21:22:03]CAPDU: 80 0D 02 02 97 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6D 07 00 00 00 00 07 04 06 00 EC 45 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 FE AE 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 73 93 00 00 35 04 06 00 14 91 00 13 32 10 [21:22:03]Write to MH i2c: E2 9F 00 D8 12 80 0D 02 02 97 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6D 07 00 00 00 00 07 04 06 00 EC 45 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 FE AE 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 73 93 00 00 35 04 06 00 14 91 00 13 32 10 00 00 A0 [21:22:03]Write i2c OK [21:22:03]MH_I2C_Read... [21:22:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:22:03]Read from MH i2c: E2 [21:22:03]MH_I2C_Read... [21:22:03]Read from MH i2c: E2 03 00 [21:22:03]MH_I2C_Read... [21:22:03]Read from MH i2c: E2 03 00 D8 12 00 90 00 5E [21:22:03]RAPDU: 90 00 [21:22:03]wFMCommunicate OK [21:22:03]wFMCommunicate request_size=4 [21:22:03]MH_SAM_APDU [21:22:03]CAPDU: 80 0D 03 02 [21:22:03]Write to MH i2c: E2 08 00 D9 12 80 0D 03 02 00 00 00 00 66 [21:22:03]Write i2c OK [21:22:03]MH_I2C_Read... [21:22:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:22:03]Read from MH i2c: E2 [21:22:03]MH_I2C_Read... [21:22:03]Read from MH i2c: E2 0B 00 [21:22:03]MH_I2C_Read... [21:22:03]Read from MH i2c: E2 0B 00 D9 12 00 69 CD 58 B5 07 5C FC 03 90 00 0C [21:22:03]RAPDU: 69 CD 58 B5 07 5C FC 03 90 00 [21:22:03]wFMCommunicate OK [21:22:03]SAM_PROTO_SignData done [21:22:03]FM_MakeSignedData done [21:22:03]CreateOFDProtocolMessage [21:22:03]wFMCommunicate request_size=4 [21:22:03]MH_SAM_APDU [21:22:03]CAPDU: 80 11 00 00 [21:22:03]Write to MH i2c: E2 08 00 DA 12 80 11 00 00 00 00 00 00 66 [21:22:03]Write i2c OK [21:22:03]MH_I2C_Read... [21:22:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:22:03]Read from MH i2c: E2 [21:22:03]MH_I2C_Read... [21:22:03]Read from MH i2c: E2 17 00 [21:22:03]MH_I2C_Read... [21:22:03]Read from MH i2c: E2 17 00 DA 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 B6 [21:22:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [21:22:03]wFMCommunicate OK [21:22:03]CreateOFDProtocolMessage done [21:22:03]OFDSenderStorePacket 37747 [21:22:03]StoreOFDPacket docnum=37747 [21:22: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 A1 01 00 00 BF A3 99 01 27 23 5A 03 01 00 03 00 8D 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 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 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6D 07 00 00 00 00 07 04 06 00 EC 45 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 FE AE 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 73 93 00 00 35 04 06 00 14 91 00 13 32 10 69 CD 58 B5 07 5C FC 03 [21:22:03]CheckFolder [21:22:03]dirname=/storage/ofd_packets [21:22:03]CheckFolder done [21:22:03]ProducePacketName [21:22:03]name=ofd_packets/00037747 [21:22:03]NVStorageSaveData ofd_packets/00037747 [21:22:03]File name is /storage/ofd_packets/00037747 [21:22:03]Write 447 bytes [21:22:03]NVStorageSaveData done [21:22:03]OFDSenderStorePacket done [21:22:03]KKMCreateOFDPacket done [21:22:03]NVStorageSaveData kkm_last_timestamp [21:22:03]File name is /storage/kkm_last_timestamp [21:22:03]Write 4 bytes [21:22:03]NVStorageSaveData done [21:22:03]ExternCall_PrintAddStr [21:22:03]wPrintStart [21:22:03]Write to MH i2c: 01 00 00 DB 12 ED [21:22:03]Write i2c OK [21:22:03]MH_I2C_Read... [21:22:03]Read from MH i2c: 01 [21:22:03]MH_I2C_Read... [21:22:03]Read from MH i2c: 01 07 00 [21:22:03]MH_I2C_Read... [21:22:03]Read from MH i2c: 01 07 00 DB 12 00 00 00 00 00 FF 0F 02 [21:22:03]RasterBufferAndPrint [21:22:03]line Счет N : (3)35045 [21:22:03]line ИНН: 02508201610067 [21:22:03]line Контрольно-Кассовый Чек [21:22:03]line ПРОДАЖА [21:22:03]line Товар: 4870002328398 [21:22:03]line Вода ASU пит н.газ мята ПЭТ 1л [21:22:03]line 1.000 * 100.00 [21:22:03]line = 100.00 [21:22:03]line НДС 12% НСП 1% [21:22:03]line > о реализуемом товаре [21:22:03]line Товар: 4700000310043 [21:22:03]line Вода Жалалабат 27 1л [21:22:03]line 1.000 * 79.00 [21:22:03]line = 79.00 [21:22:03]line НДС 12% НСП 1% [21:22:03]line > о реализуемом товаре [21:22:03]line ИТОГО: 179.00 [21:22:03]line НСП 1% : 1.58 [21:22:03]line НДС 12% : 19.01 [21:22:03]line Наличными: 179.00 [21:22:03]line Безнал.: 0.00 [21:22:03]line Место: АЗС № 126 "Партнер Нефть" [21:22:03]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [21:22:03]line СНО: Общий режим [21:22:03]line Чек 73 27.10.2024 21:22 [21:22:03]line Смена: 550 ФФД: 1.0 [21:22:03]line ЗНМ: 0300000092 [21:22:03]line РНМ: 0000000000091684 [21:22:03]line Версия ККМ: 001 [21:22:03]line ФМ: 0000000000871841 [21:22:03]line ФД: 37747 [21:22:03]line ФПД: 22613004071440 [21:22:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T212206&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37747&fm=22613004071440&tin=02508201610067®Number=0000000000091684&sum=17900 [21:22:03]OFD Sender: Processing packet 37747 [packets to send 42, broken 41] [21:22:03]ProducePacketName [21:22:03]name=ofd_packets/00037747 [21:22:03]OFD Sender: To server: pG, [21:22:03]CommunicateWithHost lk.salyk.kg:30040 [21:22:03]ConnectInit lk.salyk.kg [21:22:03]line 0 [21:22:03]written 0, free lines is 4095 [21:22:04]Connected sock=10 [21:22:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 A1 01 00 00 BF A3 99 01 27 23 5A 03 01 00 03 00 8D 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 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 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6D 07 00 00 00 00 07 04 06 00 EC 45 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 FE AE 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 73 93 00 00 35 04 06 00 14 91 00 13 32 10 69 CD 58 B5 07 5C FC 03 [21:22:04]Write to MH i2c: 01 00 00 0A 13 1D [21:22:04]Write i2c OK [21:22:04]MH_I2C_Read... [21:22:04]Read from MH i2c: 01 [21:22:04]MH_I2C_Read... [21:22:04]Read from MH i2c: 01 07 00 [21:22:04]MH_I2C_Read... [21:22:04]Read from MH i2c: 01 07 00 0A 13 00 00 00 00 00 42 0C 72 [21:22:04]RasterBufferAndPrint [21:22:04]line [21:22:04]line [21:22:04]line [21:22:04]line [21:22:04]line [21:22:04]written 0, free lines is 3144 [21:22:04]MH_Cut [21:22:04]Write to MH i2c: D1 01 00 11 13 01 F6 [21:22:04]Write i2c OK [21:22:04]MH_I2C_Read... [21:22:04]Read from MH i2c: D1 [21:22:04]MH_I2C_Read... [21:22:04]Read from MH i2c: D1 01 00 [21:22:04]MH_I2C_Read... [21:22:04]Read from MH i2c: D1 01 00 11 13 00 F5 [21:22:04]Write to MH i2c: 01 00 00 12 13 25 [21:22:04]Write i2c OK [21:22:04]MH_I2C_Read... [21:22: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 AE CB 47 00 E3 13 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 73 93 00 00 F4 03 04 00 F4 59 1E 67 B6 04 01 00 00 FF D4 94 57 A5 EA 72 B8 [21:22:04]CommunicateWithHost err = 0 [21:22:04]CheckOFDResponse [21:22:04]1017 (14) - 77093643461234 [21:22:04]1041 (16) - 0000000000871841 [21:22:04]1040 (4) - 37747 [21:22:04]1012 (4) - 27.10.2024 15:19 [21:22:04]1206 (1) - 0 [21:22:04]OFD Sender: Remove packet 37747 [21:22:04]ProducePacketName [21:22:04]name=ofd_packets/00037747 [21:22:04]NVStorageDeleteData [21:22:05]OFD Sender: No OFD packet to send [21:22:05]*** Cut start [21:22:05]*** Partial cut [21:22:05]*** CUTSNS_PIN = 1 [21:22:05]*** CUTSNS_PIN = 0 [21:22:05]*** Brake cut motor [21:22:06]Read from MH i2c: 01 [21:22:06]MH_I2C_Read... [21:22:06]*** Stop cut motor [21:22:06]*** Cut end [21:22:06]Read from MH i2c: 01 07 00 [21:22:06]MH_I2C_Read... [21:22:06]Read from MH i2c: 01 07 00 12 13 00 00 00 00 00 FF 0F 3A [21:22:06]process_action close_receipt done [21:22:06]requested_data is exist [21:22:06]produce_requested_data [21:22:06]requested_item fm.sn is exist - process it [21:22:06]wFMCommunicate request_size=4 [21:22:06]MH_SAM_APDU [21:22:06]CAPDU: 80 11 00 00 [21:22:06]Write to MH i2c: E2 08 00 13 13 80 11 00 00 00 00 00 00 A0 [21:22:06]Write i2c OK [21:22:06]MH_I2C_Read... [21:22:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:22:06]Read from MH i2c: E2 [21:22:06]MH_I2C_Read... [21:22:06]Read from MH i2c: E2 17 00 [21:22:06]MH_I2C_Read... [21:22:06]Read from MH i2c: E2 17 00 13 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F0 [21:22:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [21:22:06]wFMCommunicate OK [21:22:06]requested_item fd.num is exist - process it [21:22:06]SAM_PROTO_GetFieldsCounters [21:22:06]wFMCommunicate request_size=4 [21:22:06]MH_SAM_APDU [21:22:06]CAPDU: 80 13 00 00 [21:22:06]Write to MH i2c: E2 08 00 14 13 80 13 00 00 00 00 00 00 A3 [21:22:06]Write i2c OK [21:22:06]MH_I2C_Read... [21:22:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:22:06]Read from MH i2c: E2 [21:22:06]MH_I2C_Read... [21:22:06]Read from MH i2c: E2 62 00 [21:22:06]MH_I2C_Read... [21:22:06]Read from MH i2c: E2 62 00 14 13 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 73 93 00 00 0E 04 04 00 26 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 CD [21:22:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 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 73 93 00 00 0E 04 04 00 26 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 [21:22:06]wFMCommunicate OK [21:22:06]SAM_PROTO_GetFieldsCounters done [21:22:06]requested_item shift.num is exist - process it [21:22:06]requested_item shift.opened is exist - process it [21:22:06]req_shift_opened [21:22:06]FM_GetShiftState [21:22:06]SAM_PROTO_GetShiftState [21:22:06]wFMCommunicate request_size=4 [21:22:06]MH_SAM_APDU [21:22:06]CAPDU: 80 13 01 00 [21:22:06]Write to MH i2c: E2 08 00 15 13 80 13 01 00 00 00 00 00 A5 [21:22:06]Write i2c OK [21:22:06]MH_I2C_Read... [21:22:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:22:06]Read from MH i2c: E2 [21:22:06]MH_I2C_Read... [21:22:06]Read from MH i2c: E2 0E 00 [21:22:06]MH_I2C_Read... [21:22:06]Read from MH i2c: E2 0E 00 15 13 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 5C [21:22:06]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [21:22:06]wFMCommunicate OK [21:22:06]SAM_PROTO_GetShiftState done [21:22:06]FM_GetShiftState done [21:22:06]req_shift_opened done [21:22:06]requested_item shift.open_date is exist - process it [21:22:06]req_shift_open_date [21:22:06]req_shift_open_date done [21:22:06]produce_requested_data done [21:22:06]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37747,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [21:22:06]process_action_free close_receipt [21:22:06]json_value_free [21:22:06]json_value_free done [21:22:06]process_json_proto returns [21:22:06]Send response to host [21:22:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37747,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [21:22:06]free response buf [21:22:06]execute_script done [21:22:06]execute_script returns [21:22:06]free content buf [21:22:06]Sock 9.Close socket [21:22:06]Sock 9.Thread stoped [21:22:10]OFD Sender: No OFD packet to send [21:22:15]OFD Sender: No OFD packet to send [21:22:20]OFD Sender: No OFD packet to send [21:22:25]OFD Sender: No OFD packet to send [21:22:30]OFD Sender: No OFD packet to send [21:22:35]OFD Sender: No OFD packet to send [21:22:40]OFD Sender: No OFD packet to send [21:22:45]OFD Sender: No OFD packet to send [21:22:50]OFD Sender: No OFD packet to send [21:22:55]OFD Sender: No OFD packet to send [21:23:00]OFD Sender: No OFD packet to send [21:23:05]OFD Sender: No OFD packet to send [21:23:10]OFD Sender: No OFD packet to send [21:23:15]OFD Sender: No OFD packet to send [21:23:20]OFD Sender: No OFD packet to send [21:23:25]OFD Sender: No OFD packet to send [21:23:30]OFD Sender: No OFD packet to send [21:23:35]OFD Sender: No OFD packet to send [21:23:40]OFD Sender: No OFD packet to send [21:23:45]OFD Sender: No OFD packet to send [21:23:50]OFD Sender: No OFD packet to send [21:23:55]OFD Sender: No OFD packet to send [21:24:00]OFD Sender: No OFD packet to send [21:24:04]accept exits with 7 [21:24:04]New connection [21:24:04]New thread 3067297124 created [21:24:04]Thread 3067440484 joined [21:24:04]Waiting for new connection... [21:24:04] Sock 7.Parse request [21:24:04]Sock 7.Check first char [21:24:04]Sock 7.First char is OK [21:24:04]request: POST /json_proto HTTP/1.0 [21:24:04]Method: POST [21:24:04]URL: /json_proto [21:24:04]Method is POST - this is cgi request [21:24:04]url: /json_proto [21:24:04]query_string will be loaded in cgi processing [21:24:04]execute_cgi json_proto POST (null) [21:24:04]execute_cgi path=json_proto method=POST [21:24:04]POST find Content-Length [21:24:04]Host: 172.17.40.196:8080 [21:24:04]Content-Length: 620 [21:24:04]Content-Type: application/json [21:24:04] [21:24:04]POST finish read [21:24:04]Found Content-Length = 620 [21:24:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35046", "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" ] } } [21:24:04]execute_script... [21:24: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)35046", "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" ] } } [21:24:04]POST & json_proto [21:24:04]process_json_proto [21:24:04]json parsed OK: [21:24:04]protocol is kg_v1.0 [21:24:04]action value=close_receipt [21:24:04]process_action close_receipt [21:24:04]cmd_close_receipt [21:24:04]MH_GetDate [21:24:04]Write to MH i2c: F0 00 00 16 13 18 [21:24:04]Write i2c OK [21:24:04]MH_I2C_Read... [21:24:04]Read from MH i2c: F0 [21:24:04]MH_I2C_Read... [21:24:04]Read from MH i2c: F0 09 00 [21:24:04]MH_I2C_Read... [21:24:04]Read from MH i2c: F0 09 00 16 13 00 78 AF 1E 67 5B 68 A1 66 97 [21:24:04]GetLastDocTimeStamp 1730064126 [21:24:04]current date 1730064248 [21:24:04]FM_GetShiftState [21:24:04]SAM_PROTO_GetShiftState [21:24:04]wFMCommunicate request_size=4 [21:24:04]MH_SAM_APDU [21:24:04]CAPDU: 80 13 01 00 [21:24:04]Write to MH i2c: E2 08 00 17 13 80 13 01 00 00 00 00 00 A7 [21:24:04]Write i2c OK [21:24:04]MH_I2C_Read... [21:24:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:24:04]Read from MH i2c: E2 [21:24:04]MH_I2C_Read... [21:24:04]Read from MH i2c: E2 0E 00 [21:24:04]MH_I2C_Read... [21:24:04]Read from MH i2c: E2 0E 00 17 13 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 5E [21:24:04]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [21:24:04]wFMCommunicate OK [21:24:04]SAM_PROTO_GetShiftState done [21:24:04]FM_GetShiftState done [21:24:04]opened in 1729987492 [21:24:04]opened+sec_in_day 1730073892 [21:24:04]quantity*price = 14400 [21:24:04]sum+1 = 14401 [21:24: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 СНО: Общий режим Чек 74 27.10.2024 21:24 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37748 ФПД: 225994698876241 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T212408&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37748&fm=225994698876241&tin=02508201610067®Number=0000000000091684&sum=14400 0 [21:24:05]StoreToDocumentArchive [21:24:05]shift 550 fd 37748 [21:24:05]save to /storage/0550/doc_00037748 [21:24:05]save last doc name /storage/0550/doc_00037748 to /storage/kkm_last_doc_name [21:24:05]save OK [21:24:05]Clear old archive folders... [21:24:05]ProcessDocumentItem done err = 0, tmpTLVsize=273 [21:24:05]tlvbuf is 00264800 [21:24:05]SAM_PROTO_ClearQueue [21:24:05]wFMCommunicate request_size=4 [21:24:05]MH_SAM_APDU [21:24:05]CAPDU: 80 09 00 00 [21:24:05]Write to MH i2c: E2 08 00 24 13 80 09 00 00 00 00 00 00 A9 [21:24:05]Write i2c OK [21:24:05]MH_I2C_Read... [21:24:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:24:05]Read from MH i2c: E2 [21:24:05]MH_I2C_Read... [21:24:05]Read from MH i2c: E2 03 00 [21:24:05]MH_I2C_Read... [21:24:05]Read from MH i2c: E2 03 00 24 13 00 90 00 AB [21:24:05]RAPDU: 90 00 [21:24:05]wFMCommunicate OK [21:24:05]SAM_PROTO_ClearQueue done [21:24:05]KKMCreateOFDPacket [21:24:05]OFDProtocolAddRootSTLVToBuf [21:24:05]FM_MakeSignedData [21:24:05]FM_MakeSignedData [21:24:05]SAM_PROTO_SignData [21:24:05]wFMCommunicate request_size=4 [21:24:05]MH_SAM_APDU [21:24:05]CAPDU: 80 0D 01 02 [21:24:05]Write to MH i2c: E2 08 00 25 13 80 0D 01 02 00 00 00 00 B1 [21:24:05]Write i2c OK [21:24:05]MH_I2C_Read... [21:24:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:24:05]Read from MH i2c: E2 [21:24:05]MH_I2C_Read... [21:24:05]Read from MH i2c: E2 03 00 [21:24:05]MH_I2C_Read... [21:24:05]Read from MH i2c: E2 03 00 25 13 00 90 00 AC [21:24:05]RAPDU: 90 00 [21:24:05]wFMCommunicate OK [21:24:05]wFMCommunicate request_size=255 [21:24:05]MH_SAM_APDU [21:24: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 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 4A 00 00 00 F4 03 04 00 78 AF 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [21:24:05]Write to MH i2c: E2 02 01 26 13 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 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 4A 00 00 00 F4 03 04 00 78 AF 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 28 [21:24:05]Write i2c OK [21:24:05]MH_I2C_Read... [21:24:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:24:06]Read from MH i2c: E2 [21:24:06]MH_I2C_Read... [21:24:06]Read from MH i2c: E2 03 00 [21:24:06]MH_I2C_Read... [21:24:06]Read from MH i2c: E2 03 00 26 13 00 90 00 AD [21:24:06]RAPDU: 90 00 [21:24:06]wFMCommunicate OK [21:24:06]wFMCommunicate request_size=32 [21:24:06]MH_SAM_APDU [21:24:06]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 74 93 00 00 35 04 06 00 CD 8A 7D BF 65 51 [21:24:06]Write to MH i2c: E2 23 00 27 13 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 74 93 00 00 35 04 06 00 CD 8A 7D BF 65 51 00 00 5E [21:24:06]Write i2c OK [21:24:06]MH_I2C_Read... [21:24:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:24:06]Read from MH i2c: E2 [21:24:06]MH_I2C_Read... [21:24:06]Read from MH i2c: E2 03 00 [21:24:06]MH_I2C_Read... [21:24:06]Read from MH i2c: E2 03 00 27 13 00 90 00 AE [21:24:06]RAPDU: 90 00 [21:24:06]wFMCommunicate OK [21:24:06]wFMCommunicate request_size=4 [21:24:06]MH_SAM_APDU [21:24:06]CAPDU: 80 0D 03 02 [21:24:06]Write to MH i2c: E2 08 00 28 13 80 0D 03 02 00 00 00 00 B6 [21:24:06]Write i2c OK [21:24:06]MH_I2C_Read... [21:24:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:24:06]Read from MH i2c: E2 [21:24:06]MH_I2C_Read... [21:24:06]Read from MH i2c: E2 0B 00 [21:24:06]MH_I2C_Read... [21:24:06]Read from MH i2c: E2 0B 00 28 13 00 AA E3 B6 E8 6F E1 4F 6E 90 00 EF [21:24:06]RAPDU: AA E3 B6 E8 6F E1 4F 6E 90 00 [21:24:06]wFMCommunicate OK [21:24:06]SAM_PROTO_SignData done [21:24:06]FM_MakeSignedData done [21:24:06]CreateOFDProtocolMessage [21:24:06]wFMCommunicate request_size=4 [21:24:06]MH_SAM_APDU [21:24:06]CAPDU: 80 11 00 00 [21:24:06]Write to MH i2c: E2 08 00 29 13 80 11 00 00 00 00 00 00 B6 [21:24:06]Write i2c OK [21:24:06]MH_I2C_Read... [21:24:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:24:06]Read from MH i2c: E2 [21:24:06]MH_I2C_Read... [21:24:06]Read from MH i2c: E2 17 00 [21:24:06]MH_I2C_Read... [21:24:06]Read from MH i2c: E2 17 00 29 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 06 [21:24:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [21:24:06]wFMCommunicate OK [21:24:06]CreateOFDProtocolMessage done [21:24:06]OFDSenderStorePacket 37748 [21:24:06]StoreOFDPacket docnum=37748 [21:24: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 54 5A 1D 01 BF 13 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 4A 00 00 00 F4 03 04 00 78 AF 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 74 93 00 00 35 04 06 00 CD 8A 7D BF 65 51 AA E3 B6 E8 6F E1 4F 6E [21:24:06]CheckFolder [21:24:06]dirname=/storage/ofd_packets [21:24:06]CheckFolder done [21:24:06]ProducePacketName [21:24:06]name=ofd_packets/00037748 [21:24:06]NVStorageSaveData ofd_packets/00037748 [21:24:06]File name is /storage/ofd_packets/00037748 [21:24:06]Write 323 bytes [21:24:06]NVStorageSaveData done [21:24:06]OFDSenderStorePacket done [21:24:06]KKMCreateOFDPacket done [21:24:06]NVStorageSaveData kkm_last_timestamp [21:24:06]File name is /storage/kkm_last_timestamp [21:24:06]Write 4 bytes [21:24:06]NVStorageSaveData done [21:24:06]ExternCall_PrintAddStr [21:24:06]wPrintStart [21:24:06]Write to MH i2c: 01 00 00 2A 13 3D [21:24:06]Write i2c OK [21:24:06]MH_I2C_Read... [21:24:06]Read from MH i2c: 01 [21:24:06]MH_I2C_Read... [21:24:06]Read from MH i2c: 01 07 00 [21:24:06]MH_I2C_Read... [21:24:06]Read from MH i2c: 01 07 00 2A 13 00 00 00 00 00 FF 0F 52 [21:24:06]RasterBufferAndPrint [21:24:06]line Счет N : (3)35046 [21:24:06]line ИНН: 02508201610067 [21:24:06]line Контрольно-Кассовый Чек [21:24:06]line ПРОДАЖА [21:24:06]line Товар: 48747059 [21:24:06]line Сигареты Winston Legend Blue [21:24:06]line 1.000 * 144.00 [21:24:06]line = 144.00 [21:24:06]line НДС 12% НСП 1% [21:24:06]line > о реализуемом товаре [21:24:06]line ИТОГО: 144.00 [21:24:06]line НСП 1% : 1.27 [21:24:06]line НДС 12% : 15.29 [21:24:06]line Наличными: 144.00 [21:24:06]line Безнал.: 0.00 [21:24:06]line Место: АЗС № 126 "Партнер Нефть" [21:24:06]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [21:24:06]line СНО: Общий режим [21:24:06]line Чек 74 27.10.2024 21:24 [21:24:06]line Смена: 550 ФФД: 1.0 [21:24:06]line ЗНМ: 0300000092 [21:24:06]line РНМ: 0000000000091684 [21:24:06]line Версия ККМ: 001 [21:24:06]line ФМ: 0000000000871841 [21:24:06]line ФД: 37748 [21:24:06]line ФПД: 225994698876241 [21:24:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T212408&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37748&fm=225994698876241&tin=02508201610067®Number=0000000000091684&sum=14400 [21:24:06]OFD Sender: Processing packet 37748 [packets to send 42, broken 41] [21:24:06]ProducePacketName [21:24:06]name=ofd_packets/00037748 [21:24:06]OFD Sender: To server: pG, [21:24:06]CommunicateWithHost lk.salyk.kg:30040 [21:24:06]ConnectInit lk.salyk.kg [21:24:06]line 0 [21:24:06]written 0, free lines is 4095 [21:24:06]Connected sock=10 [21:24: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 54 5A 1D 01 BF 13 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 4A 00 00 00 F4 03 04 00 78 AF 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 74 93 00 00 35 04 06 00 CD 8A 7D BF 65 51 AA E3 B6 E8 6F E1 4F 6E [21:24:06]Write to MH i2c: 01 00 00 53 13 66 [21:24:06]Write i2c OK [21:24:06]MH_I2C_Read... [21:24:06]Read from MH i2c: 01 [21:24:06]MH_I2C_Read... [21:24:06]Read from MH i2c: 01 07 00 [21:24:06]MH_I2C_Read... [21:24:06]Read from MH i2c: 01 07 00 53 13 00 00 00 00 00 B4 0C 2D [21:24:06]RasterBufferAndPrint [21:24:06]line [21:24:06]line [21:24:06]line [21:24:06]line [21:24:06]line [21:24:06]written 0, free lines is 3257 [21:24:07]MH_Cut [21:24:07]Write to MH i2c: D1 01 00 5A 13 01 3F [21:24:07]Write i2c OK [21:24:07]MH_I2C_Read... [21:24:07]Read from MH i2c: D1 [21:24:07]MH_I2C_Read... [21:24:07]Read from MH i2c: D1 01 00 [21:24:07]MH_I2C_Read... [21:24:07]Read from MH i2c: D1 01 00 5A 13 00 3E [21:24:07]Write to MH i2c: 01 00 00 5B 13 6E [21:24:07]Write i2c OK [21:24:07]MH_I2C_Read... [21:24: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 88 4B 47 00 64 AB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 74 93 00 00 F4 03 04 00 6F 5A 1E 67 B6 04 01 00 00 22 F6 F3 53 15 AF 3E 49 [21:24:07]CommunicateWithHost err = 0 [21:24:07]CheckOFDResponse [21:24:07]1017 (14) - 77093643461234 [21:24:07]1041 (16) - 0000000000871841 [21:24:07]1040 (4) - 37748 [21:24:07]1012 (4) - 27.10.2024 15:21 [21:24:07]1206 (1) - 0 [21:24:07]OFD Sender: Remove packet 37748 [21:24:07]ProducePacketName [21:24:07]name=ofd_packets/00037748 [21:24:07]NVStorageDeleteData [21:24:07]OFD Sender: No OFD packet to send [21:24:07]*** Cut start [21:24:07]*** Partial cut [21:24:07]*** CUTSNS_PIN = 1 [21:24:07]*** CUTSNS_PIN = 0 [21:24:08]*** Brake cut motor [21:24:08]Read from MH i2c: 01 [21:24:08]MH_I2C_Read... [21:24:08]*** Stop cut motor [21:24:08]*** Cut end [21:24:08]Read from MH i2c: 01 07 00 [21:24:08]MH_I2C_Read... [21:24:08]Read from MH i2c: 01 07 00 5B 13 00 00 00 00 00 FF 0F 83 [21:24:08]process_action close_receipt done [21:24:08]requested_data is exist [21:24:08]produce_requested_data [21:24:08]requested_item fm.sn is exist - process it [21:24:08]wFMCommunicate request_size=4 [21:24:08]MH_SAM_APDU [21:24:08]CAPDU: 80 11 00 00 [21:24:08]Write to MH i2c: E2 08 00 5C 13 80 11 00 00 00 00 00 00 E9 [21:24:08]Write i2c OK [21:24:08]MH_I2C_Read... [21:24:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:24:08]Read from MH i2c: E2 [21:24:08]MH_I2C_Read... [21:24:08]Read from MH i2c: E2 17 00 [21:24:08]MH_I2C_Read... [21:24:08]Read from MH i2c: E2 17 00 5C 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 39 [21:24:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [21:24:08]wFMCommunicate OK [21:24:08]requested_item fd.num is exist - process it [21:24:08]SAM_PROTO_GetFieldsCounters [21:24:08]wFMCommunicate request_size=4 [21:24:08]MH_SAM_APDU [21:24:08]CAPDU: 80 13 00 00 [21:24:08]Write to MH i2c: E2 08 00 5D 13 80 13 00 00 00 00 00 00 EC [21:24:08]Write i2c OK [21:24:08]MH_I2C_Read... [21:24:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:24:08]Read from MH i2c: E2 [21:24:08]MH_I2C_Read... [21:24:08]Read from MH i2c: E2 62 00 [21:24:08]MH_I2C_Read... [21:24:08]Read from MH i2c: E2 62 00 5D 13 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 74 93 00 00 0E 04 04 00 26 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 1A [21:24: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 74 93 00 00 0E 04 04 00 26 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 [21:24:08]wFMCommunicate OK [21:24:08]SAM_PROTO_GetFieldsCounters done [21:24:08]requested_item shift.num is exist - process it [21:24:08]requested_item shift.opened is exist - process it [21:24:08]req_shift_opened [21:24:08]FM_GetShiftState [21:24:08]SAM_PROTO_GetShiftState [21:24:08]wFMCommunicate request_size=4 [21:24:08]MH_SAM_APDU [21:24:08]CAPDU: 80 13 01 00 [21:24:08]Write to MH i2c: E2 08 00 5E 13 80 13 01 00 00 00 00 00 EE [21:24:08]Write i2c OK [21:24:08]MH_I2C_Read... [21:24:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:24:08]Read from MH i2c: E2 [21:24:08]MH_I2C_Read... [21:24:08]Read from MH i2c: E2 0E 00 [21:24:08]MH_I2C_Read... [21:24:08]Read from MH i2c: E2 0E 00 5E 13 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 A5 [21:24:08]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [21:24:08]wFMCommunicate OK [21:24:08]SAM_PROTO_GetShiftState done [21:24:08]FM_GetShiftState done [21:24:08]req_shift_opened done [21:24:08]requested_item shift.open_date is exist - process it [21:24:08]req_shift_open_date [21:24:08]req_shift_open_date done [21:24:08]produce_requested_data done [21:24:08]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37748,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [21:24:08]process_action_free close_receipt [21:24:08]json_value_free [21:24:08]json_value_free done [21:24:08]process_json_proto returns [21:24:08]Send response to host [21:24:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37748,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [21:24:08]free response buf [21:24:08]execute_script done [21:24:08]execute_script returns [21:24:08]free content buf [21:24:08]Sock 7.Close socket [21:24:08]Sock 7.Thread stoped [21:24:12]OFD Sender: No OFD packet to send [21:24:17]OFD Sender: No OFD packet to send [21:24:22]OFD Sender: No OFD packet to send [21:24:27]OFD Sender: No OFD packet to send [21:24:32]OFD Sender: No OFD packet to send [21:24:37]OFD Sender: No OFD packet to send [21:24:42]OFD Sender: No OFD packet to send [21:24:47]OFD Sender: No OFD packet to send [21:24:52]OFD Sender: No OFD packet to send [21:24:57]OFD Sender: No OFD packet to send [21:25:02]OFD Sender: No OFD packet to send [21:25:07]OFD Sender: No OFD packet to send [21:25:12]OFD Sender: No OFD packet to send [21:25:17]OFD Sender: No OFD packet to send [21:25:22]OFD Sender: No OFD packet to send [21:25:27]OFD Sender: No OFD packet to send [21:25:32]OFD Sender: No OFD packet to send [21:25:37]OFD Sender: No OFD packet to send [21:25:42]OFD Sender: No OFD packet to send [21:25:47]OFD Sender: No OFD packet to send [21:25:52]OFD Sender: No OFD packet to send [21:25:57]OFD Sender: No OFD packet to send [21:26:02]OFD Sender: No OFD packet to send [21:26:03]accept exits with 9 [21:26:03]New connection [21:26:03]New thread 3067440484 created [21:26:03]Thread 3067297124 joined [21:26:03]Waiting for new connection... [21:26:03] Sock 9.Parse request [21:26:03]Sock 9.Check first char [21:26:03]Sock 9.First char is OK [21:26:03]request: POST /json_proto HTTP/1.0 [21:26:03]Method: POST [21:26:03]URL: /json_proto [21:26:03]Method is POST - this is cgi request [21:26:03]url: /json_proto [21:26:03]query_string will be loaded in cgi processing [21:26:03]execute_cgi json_proto POST (null) [21:26:03]execute_cgi path=json_proto method=POST [21:26:03]POST find Content-Length [21:26:03]Host: 172.17.40.196:8080 [21:26:03]Content-Length: 1505 [21:26:03]Content-Type: application/json [21:26:03] [21:26:03]POST finish read [21:26:03]Found Content-Length = 1505 [21:26:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35047", "tax_sys" : 0, "items" : [ { "code": "4860019001414", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,75\u043B \u041F\u042D\u0422", "price" : 165.00, "quantity" : 1.000, "sum" : 165.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000481972", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0433\u0440\u0435\u0439\u043F\u0444\u0440\u0443\u0442-\u043C\u0430\u0440\u0430\u043A\u0443\u0439\u044F 0", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000483297", "name": "\u042D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Nitro \u0410\u043D\u0430\u043D\u0430\u0441-\u0433\u0443\u0430\u0432", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 355.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:26:03]execute_script... [21:26:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35047", "tax_sys" : 0, "items" : [ { "code": "4860019001414", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,75\u043B \u041F\u042D\u0422", "price" : 165.00, "quantity" : 1.000, "sum" : 165.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000481972", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0433\u0440\u0435\u0439\u043F\u0444\u0440\u0443\u0442-\u043C\u0430\u0440\u0430\u043A\u0443\u0439\u044F 0", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000483297", "name": "\u042D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Nitro \u0410\u043D\u0430\u043D\u0430\u0441-\u0433\u0443\u0430\u0432", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 355.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:26:03]POST & json_proto [21:26:03]process_json_proto [21:26:03]json parsed OK: [21:26:03]protocol is kg_v1.0 [21:26:03]action value=close_receipt [21:26:03]process_action close_receipt [21:26:03]cmd_close_receipt [21:26:03]MH_GetDate [21:26:03]Write to MH i2c: F0 00 00 5F 13 61 [21:26:03]Write i2c OK [21:26:03]MH_I2C_Read... [21:26:03]Read from MH i2c: F0 [21:26:03]MH_I2C_Read... [21:26:03]Read from MH i2c: F0 09 00 [21:26:03]MH_I2C_Read... [21:26:03]Read from MH i2c: F0 09 00 5F 13 00 F0 AF 1E 67 5B 68 A1 66 58 [21:26:03]GetLastDocTimeStamp 1730064248 [21:26:04]current date 1730064368 [21:26:04]FM_GetShiftState [21:26:04]SAM_PROTO_GetShiftState [21:26:04]wFMCommunicate request_size=4 [21:26:04]MH_SAM_APDU [21:26:04]CAPDU: 80 13 01 00 [21:26:04]Write to MH i2c: E2 08 00 60 13 80 13 01 00 00 00 00 00 F0 [21:26:04]Write i2c OK [21:26:04]MH_I2C_Read... [21:26:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:26:04]Read from MH i2c: E2 [21:26:04]MH_I2C_Read... [21:26:04]Read from MH i2c: E2 0E 00 [21:26:04]MH_I2C_Read... [21:26:04]Read from MH i2c: E2 0E 00 60 13 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 A7 [21:26:04]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [21:26:04]wFMCommunicate OK [21:26:04]SAM_PROTO_GetShiftState done [21:26:04]FM_GetShiftState done [21:26:04]opened in 1729987492 [21:26:04]opened+sec_in_day 1730073892 [21:26:04]quantity*price = 16500 [21:26:04]sum+1 = 16501 [21:26:04]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000481972 Напиток энерг Nitro грейпфрут-маракуйя 0 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000483297 Энергетический напиток Nitro Ананас-гуав 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 355.00 НСП 1% : 3.14 НДС 12% : 37.70 Наличными: 0.00 Безнал.: 355.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 75 27.10.2024 21:26 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37749 ФПД: 265715540498001 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T212608&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37749&fm=265715540498001&tin=02508201610067®Number=0000000000091684&sum=35500 0 [21:26:05]StoreToDocumentArchive [21:26:05]shift 550 fd 37749 [21:26:05]save to /storage/0550/doc_00037749 [21:26:05]save last doc name /storage/0550/doc_00037749 to /storage/kkm_last_doc_name [21:26:05]save OK [21:26:05]Clear old archive folders... [21:26:05]ProcessDocumentItem done err = 0, tmpTLVsize=563 [21:26:05]tlvbuf is 00217670 [21:26:05]SAM_PROTO_ClearQueue [21:26:05]wFMCommunicate request_size=4 [21:26:05]MH_SAM_APDU [21:26:05]CAPDU: 80 09 00 00 [21:26:05]Write to MH i2c: E2 08 00 6D 13 80 09 00 00 00 00 00 00 F2 [21:26:05]Write i2c OK [21:26:05]MH_I2C_Read... [21:26:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:26:05]Read from MH i2c: E2 [21:26:05]MH_I2C_Read... [21:26:05]Read from MH i2c: E2 03 00 [21:26:05]MH_I2C_Read... [21:26:05]Read from MH i2c: E2 03 00 6D 13 00 90 00 F4 [21:26:05]RAPDU: 90 00 [21:26:05]wFMCommunicate OK [21:26:05]SAM_PROTO_ClearQueue done [21:26:05]KKMCreateOFDPacket [21:26:05]OFDProtocolAddRootSTLVToBuf [21:26:05]FM_MakeSignedData [21:26:05]FM_MakeSignedData [21:26:05]SAM_PROTO_SignData [21:26:05]wFMCommunicate request_size=4 [21:26:05]MH_SAM_APDU [21:26:05]CAPDU: 80 0D 01 02 [21:26:05]Write to MH i2c: E2 08 00 6E 13 80 0D 01 02 00 00 00 00 FA [21:26:05]Write i2c OK [21:26:05]MH_I2C_Read... [21:26:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:26:05]Read from MH i2c: E2 [21:26:05]MH_I2C_Read... [21:26:05]Read from MH i2c: E2 03 00 [21:26:05]MH_I2C_Read... [21:26:05]Read from MH i2c: E2 03 00 6E 13 00 90 00 F5 [21:26:05]RAPDU: 90 00 [21:26:05]wFMCommunicate OK [21:26:05]wFMCommunicate request_size=255 [21:26:05]MH_SAM_APDU [21:26:05]CAPDU: 80 0D 02 02 FA 03 00 33 02 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 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 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 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 [21:26:05]Write to MH i2c: E2 02 01 6F 13 80 0D 02 02 FA 00 03 00 33 02 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 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 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 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 00 00 13 [21:26:05]Write i2c OK [21:26:05]MH_I2C_Read... [21:26:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:26:05]Read from MH i2c: E2 [21:26:05]MH_I2C_Read... [21:26:05]Read from MH i2c: E2 03 00 [21:26:05]MH_I2C_Read... [21:26:05]Read from MH i2c: E2 03 00 6F 13 00 90 00 F6 [21:26:05]RAPDU: 90 00 [21:26:05]wFMCommunicate OK [21:26:05]wFMCommunicate request_size=255 [21:26:05]MH_SAM_APDU [21:26:05]CAPDU: 80 0D 02 02 FA 03 01 00 01 BC 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 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 AC 8A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BA 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AC 8A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 F0 AF 1E 67 0E 04 04 00 [21:26:05]Write to MH i2c: E2 02 01 70 13 80 0D 02 02 FA 00 03 01 00 01 BC 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 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 AC 8A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BA 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AC 8A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 F0 AF 1E 67 0E 04 04 00 00 00 64 [21:26:05]Write i2c OK [21:26:05]MH_I2C_Read... [21:26:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:26:06]Read from MH i2c: E2 [21:26:06]MH_I2C_Read... [21:26:06]Read from MH i2c: E2 03 00 [21:26:06]MH_I2C_Read... [21:26:06]Read from MH i2c: E2 03 00 70 13 00 90 00 F7 [21:26:06]RAPDU: 90 00 [21:26:06]wFMCommunicate OK [21:26:06]wFMCommunicate request_size=72 [21:26:06]MH_SAM_APDU [21:26:06]CAPDU: 80 0D 02 02 43 26 02 00 00 B9 04 01 00 01 0D 04 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 75 93 00 00 35 04 06 00 F1 AA B8 67 16 51 [21:26:06]Write to MH i2c: E2 4B 00 71 13 80 0D 02 02 43 00 26 02 00 00 B9 04 01 00 01 0D 04 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 75 93 00 00 35 04 06 00 F1 AA B8 67 16 51 00 00 6A [21:26:06]Write i2c OK [21:26:06]MH_I2C_Read... [21:26:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:26:06]Read from MH i2c: E2 [21:26:06]MH_I2C_Read... [21:26:06]Read from MH i2c: E2 03 00 [21:26:06]MH_I2C_Read... [21:26:06]Read from MH i2c: E2 03 00 71 13 00 90 00 F8 [21:26:06]RAPDU: 90 00 [21:26:06]wFMCommunicate OK [21:26:06]wFMCommunicate request_size=4 [21:26:06]MH_SAM_APDU [21:26:06]CAPDU: 80 0D 03 02 [21:26:06]Write to MH i2c: E2 08 00 72 13 80 0D 03 02 00 00 00 00 00 [21:26:06]Write i2c OK [21:26:06]MH_I2C_Read... [21:26:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:26:06]Read from MH i2c: E2 [21:26:06]MH_I2C_Read... [21:26:06]Read from MH i2c: E2 0B 00 [21:26:06]MH_I2C_Read... [21:26:06]Read from MH i2c: E2 0B 00 72 13 00 AE F3 A1 08 05 AF 95 D0 90 00 64 [21:26:06]RAPDU: AE F3 A1 08 05 AF 95 D0 90 00 [21:26:06]wFMCommunicate OK [21:26:06]SAM_PROTO_SignData done [21:26:06]FM_MakeSignedData done [21:26:06]CreateOFDProtocolMessage [21:26:06]wFMCommunicate request_size=4 [21:26:06]MH_SAM_APDU [21:26:06]CAPDU: 80 11 00 00 [21:26:06]Write to MH i2c: E2 08 00 73 13 80 11 00 00 00 00 00 00 00 [21:26:06]Write i2c OK [21:26:06]MH_I2C_Read... [21:26:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:26:06]Read from MH i2c: E2 [21:26:06]MH_I2C_Read... [21:26:06]Read from MH i2c: E2 17 00 [21:26:06]MH_I2C_Read... [21:26:06]Read from MH i2c: E2 17 00 73 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 50 [21:26:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [21:26:06]wFMCommunicate OK [21:26:06]CreateOFDProtocolMessage done [21:26:06]OFDSenderStorePacket 37749 [21:26:06]StoreOFDPacket docnum=37749 [21:26: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 47 02 00 00 4A B5 3F 02 4B AA 5A 03 01 00 03 00 33 02 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 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 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 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 AC 8A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BA 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AC 8A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 F0 AF 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 75 93 00 00 35 04 06 00 F1 AA B8 67 16 51 AE F3 A1 08 05 AF 95 D0 [21:26:06]CheckFolder [21:26:06]dirname=/storage/ofd_packets [21:26:06]CheckFolder done [21:26:06]ProducePacketName [21:26:06]name=ofd_packets/00037749 [21:26:06]NVStorageSaveData ofd_packets/00037749 [21:26:06]File name is /storage/ofd_packets/00037749 [21:26:06]Write 613 bytes [21:26:06]NVStorageSaveData done [21:26:06]OFDSenderStorePacket done [21:26:06]KKMCreateOFDPacket done [21:26:06]NVStorageSaveData kkm_last_timestamp [21:26:06]File name is /storage/kkm_last_timestamp [21:26:06]Write 4 bytes [21:26:06]NVStorageSaveData done [21:26:06]ExternCall_PrintAddStr [21:26:06]wPrintStart [21:26:06]Write to MH i2c: 01 00 00 74 13 87 [21:26:06]Write i2c OK [21:26:06]MH_I2C_Read... [21:26:06]Read from MH i2c: 01 [21:26:06]MH_I2C_Read... [21:26:06]Read from MH i2c: 01 07 00 [21:26:06]MH_I2C_Read... [21:26:06]Read from MH i2c: 01 07 00 74 13 00 00 00 00 00 FF 0F 9C [21:26:06]RasterBufferAndPrint [21:26:06]line Счет N : (3)35047 [21:26:06]line ИНН: 02508201610067 [21:26:06]line Контрольно-Кассовый Чек [21:26:06]line ПРОДАЖА [21:26:06]line Товар: 4860019001414 [21:26:06]line Вода Боржоми 0,75л ПЭТ [21:26:06]line 1.000 * 165.00 [21:26:06]line = 165.00 [21:26:06]line НДС 12% НСП 1% [21:26:06]line > о реализуемом товаре [21:26:06]line Товар: 4700000481972 [21:26:06]line Напиток энерг Nitro грейпфрут-маракуйя 0 [21:26:06]line 1.000 * 95.00 [21:26:06]line = 95.00 [21:26:06]line НДС 12% НСП 1% [21:26:06]line > о реализуемом товаре [21:26:06]line Товар: 4700000483297 [21:26:06]line Энергетический напиток Nitro Ананас-гуав [21:26:06]line 1.000 * 95.00 [21:26:06]line = 95.00 [21:26:06]line НДС 12% НСП 1% [21:26:06]line > о реализуемом товаре [21:26:06]line ИТОГО: 355.00 [21:26:06]line НСП 1% : 3.14 [21:26:06]line НДС 12% : 37.70 [21:26:06]line Наличными: 0.00 [21:26:06]line Безнал.: 355.00 [21:26:06]line Место: АЗС № 126 "Партнер Нефть" [21:26:06]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [21:26:06]line СНО: Общий режим [21:26:06]line Чек 75 27.10.2024 21:26 [21:26:06]line Смена: 550 ФФД: 1.0 [21:26:06]line ЗНМ: 0300000092 [21:26:06]line РНМ: 0000000000091684 [21:26:06]line Версия ККМ: 001 [21:26:06]line Платежная система: Mbank [21:26:06]line ФМ: 0000000000871841 [21:26:06]line ФД: 37749 [21:26:06]line ФПД: 265715540498001 [21:26:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T212608&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37749&fm=265715540498001&tin=02508201610067®Number=0000000000091684&sum=35500 [21:26:06]line 0 [21:26:06]OFD Sender: Processing packet 37749 [packets to send 42, broken 41] [21:26:06]ProducePacketName [21:26:06]name=ofd_packets/00037749 [21:26:06]OFD Sender: To server: pG, [21:26:06]CommunicateWithHost lk.salyk.kg:30040 [21:26:06]ConnectInit lk.salyk.kg [21:26:06]written 0, free lines is 4095 [21:26:06]Connected sock=10 [21:26: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 47 02 00 00 4A B5 3F 02 4B AA 5A 03 01 00 03 00 33 02 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 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 74 40 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 39 37 06 04 47 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 D0 90 D0 BD D0 B0 D0 BD D0 B0 D1 81 2D D0 B3 D1 83 D0 B0 D0 B2 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 AC 8A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BA 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AC 8A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 F0 AF 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 75 93 00 00 35 04 06 00 F1 AA B8 67 16 51 AE F3 A1 08 05 AF 95 D0 [21:26: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 8D A3 47 00 41 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 75 93 00 00 F4 03 04 00 E7 5A 1E 67 B6 04 01 00 00 BA B1 27 3A F9 20 56 60 [21:26:07]CommunicateWithHost err = 0 [21:26:07]CheckOFDResponse [21:26:07]1017 (14) - 77093643461234 [21:26:07]1041 (16) - 0000000000871841 [21:26:07]1040 (4) - 37749 [21:26:07]1012 (4) - 27.10.2024 15:23 [21:26:07]1206 (1) - 0 [21:26:07]OFD Sender: Remove packet 37749 [21:26:07]ProducePacketName [21:26:07]name=ofd_packets/00037749 [21:26:07]NVStorageDeleteData [21:26:07]Write to MH i2c: 01 00 00 AB 13 BE [21:26:07]Write i2c OK [21:26:07]MH_I2C_Read... [21:26:07]Read from MH i2c: 01 [21:26:07]MH_I2C_Read... [21:26:07]Read from MH i2c: 01 07 00 [21:26:07]MH_I2C_Read... [21:26:07]Read from MH i2c: 01 07 00 AB 13 00 00 00 00 00 DE 0B AE [21:26:07]RasterBufferAndPrint [21:26:07]line [21:26:07]line [21:26:07]line [21:26:07]line [21:26:07]line [21:26:07]written 0, free lines is 3044 [21:26:07]MH_Cut [21:26:07]Write to MH i2c: D1 01 00 B2 13 01 97 [21:26:07]Write i2c OK [21:26:07]MH_I2C_Read... [21:26:07]Read from MH i2c: D1 [21:26:07]MH_I2C_Read... [21:26:07]Read from MH i2c: D1 01 00 [21:26:07]MH_I2C_Read... [21:26:07]Read from MH i2c: D1 01 00 B2 13 00 96 [21:26:07]Write to MH i2c: 01 00 00 B3 13 C6 [21:26:07]Write i2c OK [21:26:07]MH_I2C_Read... [21:26:07]OFD Sender: No OFD packet to send [21:26:08]*** Cut start [21:26:08]*** Partial cut [21:26:08]*** CUTSNS_PIN = 1 [21:26:08]*** CUTSNS_PIN = 0 [21:26:08]*** Brake cut motor [21:26:08]Read from MH i2c: 01 [21:26:08]MH_I2C_Read... [21:26:08]*** Stop cut motor [21:26:08]*** Cut end [21:26:08]Read from MH i2c: 01 07 00 [21:26:08]MH_I2C_Read... [21:26:08]Read from MH i2c: 01 07 00 B3 13 00 00 00 00 00 FF 0F DB [21:26:08]process_action close_receipt done [21:26:08]requested_data is exist [21:26:08]produce_requested_data [21:26:08]requested_item fm.sn is exist - process it [21:26:08]wFMCommunicate request_size=4 [21:26:08]MH_SAM_APDU [21:26:08]CAPDU: 80 11 00 00 [21:26:08]Write to MH i2c: E2 08 00 B4 13 80 11 00 00 00 00 00 00 41 [21:26:08]Write i2c OK [21:26:08]MH_I2C_Read... [21:26:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:26:08]Read from MH i2c: E2 [21:26:08]MH_I2C_Read... [21:26:08]Read from MH i2c: E2 17 00 [21:26:08]MH_I2C_Read... [21:26:08]Read from MH i2c: E2 17 00 B4 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 91 [21:26:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [21:26:09]wFMCommunicate OK [21:26:09]requested_item fd.num is exist - process it [21:26:09]SAM_PROTO_GetFieldsCounters [21:26:09]wFMCommunicate request_size=4 [21:26:09]MH_SAM_APDU [21:26:09]CAPDU: 80 13 00 00 [21:26:09]Write to MH i2c: E2 08 00 B5 13 80 13 00 00 00 00 00 00 44 [21:26:09]Write i2c OK [21:26:09]MH_I2C_Read... [21:26:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:26:09]Read from MH i2c: E2 [21:26:09]MH_I2C_Read... [21:26:09]Read from MH i2c: E2 62 00 [21:26:09]MH_I2C_Read... [21:26:09]Read from MH i2c: E2 62 00 B5 13 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 75 93 00 00 0E 04 04 00 26 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 76 [21:26: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 75 93 00 00 0E 04 04 00 26 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 [21:26:09]wFMCommunicate OK [21:26:09]SAM_PROTO_GetFieldsCounters done [21:26:09]requested_item shift.num is exist - process it [21:26:09]requested_item shift.opened is exist - process it [21:26:09]req_shift_opened [21:26:09]FM_GetShiftState [21:26:09]SAM_PROTO_GetShiftState [21:26:09]wFMCommunicate request_size=4 [21:26:09]MH_SAM_APDU [21:26:09]CAPDU: 80 13 01 00 [21:26:09]Write to MH i2c: E2 08 00 B6 13 80 13 01 00 00 00 00 00 46 [21:26:09]Write i2c OK [21:26:09]MH_I2C_Read... [21:26:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:26:09]Read from MH i2c: E2 [21:26:09]MH_I2C_Read... [21:26:09]Read from MH i2c: E2 0E 00 [21:26:09]MH_I2C_Read... [21:26:09]Read from MH i2c: E2 0E 00 B6 13 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 FD [21:26:09]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [21:26:09]wFMCommunicate OK [21:26:09]SAM_PROTO_GetShiftState done [21:26:09]FM_GetShiftState done [21:26:09]req_shift_opened done [21:26:09]requested_item shift.open_date is exist - process it [21:26:09]req_shift_open_date [21:26:09]req_shift_open_date done [21:26:09]produce_requested_data done [21:26:09]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37749,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [21:26:09]process_action_free close_receipt [21:26:09]json_value_free [21:26:09]json_value_free done [21:26:09]process_json_proto returns [21:26:09]Send response to host [21:26:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37749,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [21:26:09]free response buf [21:26:09]execute_script done [21:26:09]execute_script returns [21:26:09]free content buf [21:26:09]Sock 9.Close socket [21:26:09]Sock 9.Thread stoped [21:26:12]OFD Sender: No OFD packet to send [21:26:17]OFD Sender: No OFD packet to send [21:26:22]OFD Sender: No OFD packet to send [21:26:27]OFD Sender: No OFD packet to send [21:26:32]OFD Sender: No OFD packet to send [21:26:37]OFD Sender: No OFD packet to send [21:26:42]OFD Sender: No OFD packet to send [21:26:47]OFD Sender: No OFD packet to send [21:26:52]OFD Sender: No OFD packet to send [21:26:57]OFD Sender: No OFD packet to send [21:27:02]OFD Sender: No OFD packet to send [21:27:07]OFD Sender: No OFD packet to send [21:27:12]OFD Sender: No OFD packet to send [21:27:17]OFD Sender: No OFD packet to send [21:27:22]OFD Sender: No OFD packet to send [21:27:27]OFD Sender: No OFD packet to send [21:27:32]OFD Sender: No OFD packet to send [21:27:37]OFD Sender: No OFD packet to send [21:27:42]OFD Sender: No OFD packet to send [21:27:47]OFD Sender: No OFD packet to send [21:27:52]OFD Sender: No OFD packet to send [21:27:57]OFD Sender: No OFD packet to send [21:28:02]OFD Sender: No OFD packet to send [21:28:07]OFD Sender: No OFD packet to send [21:28:12]OFD Sender: No OFD packet to send [21:28:17]OFD Sender: No OFD packet to send [21:28:22]OFD Sender: No OFD packet to send [21:28:27]OFD Sender: No OFD packet to send [21:28:32]OFD Sender: No OFD packet to send [21:28:37]OFD Sender: No OFD packet to send [21:28:42]OFD Sender: No OFD packet to send [21:28:47]OFD Sender: No OFD packet to send [21:28:52]OFD Sender: No OFD packet to send [21:28:57]OFD Sender: No OFD packet to send [21:29:02]OFD Sender: No OFD packet to send [21:29:07]OFD Sender: No OFD packet to send [21:29:12]OFD Sender: No OFD packet to send [21:29:17]OFD Sender: No OFD packet to send [21:29:22]OFD Sender: No OFD packet to send [21:29:27]OFD Sender: No OFD packet to send [21:29:32]OFD Sender: No OFD packet to send [21:29:37]OFD Sender: No OFD packet to send [21:29:42]OFD Sender: No OFD packet to send [21:29:47]OFD Sender: No OFD packet to send [21:29:52]OFD Sender: No OFD packet to send [21:29:57]OFD Sender: No OFD packet to send [21:30:02]OFD Sender: No OFD packet to send [21:30:07]OFD Sender: No OFD packet to send [21:30:12]OFD Sender: No OFD packet to send [21:30:17]OFD Sender: No OFD packet to send [21:30:22]OFD Sender: No OFD packet to send [21:30:27]OFD Sender: No OFD packet to send [21:30:32]OFD Sender: No OFD packet to send [21:30:37]OFD Sender: No OFD packet to send [21:30:42]accept exits with 7 [21:30:42]New connection [21:30:42]New thread 3067297124 created [21:30:42]Thread 3067440484 joined [21:30:42]Waiting for new connection... [21:30:42] Sock 7.Parse request [21:30:42]Sock 7.Check first char [21:30:42]Sock 7.First char is OK [21:30:42]request: POST /json_proto HTTP/1.0 [21:30:42]Method: POST [21:30:42]URL: /json_proto [21:30:42]Method is POST - this is cgi request [21:30:42]url: /json_proto [21:30:42]query_string will be loaded in cgi processing [21:30:42]execute_cgi json_proto POST (null) [21:30:42]execute_cgi path=json_proto method=POST [21:30:42]POST find Content-Length [21:30:42]Host: 172.17.40.196:8080 [21:30:42]Content-Length: 632 [21:30:42]Content-Type: application/json [21:30:42] [21:30:42]POST finish read [21:30:42]Found Content-Length = 632 [21:30:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35048", "tax_sys" : 0, "items" : [ { "code": "48746649", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Super Slims Winter F", "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" ] } } [21:30:42]execute_script... [21:30: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)35048", "tax_sys" : 0, "items" : [ { "code": "48746649", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Super Slims Winter F", "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" ] } } [21:30:42]POST & json_proto [21:30:42]process_json_proto [21:30:42]json parsed OK: [21:30:42]protocol is kg_v1.0 [21:30:42]action value=close_receipt [21:30:42]process_action close_receipt [21:30:42]cmd_close_receipt [21:30:42]MH_GetDate [21:30:42]Write to MH i2c: F0 00 00 B7 13 B9 [21:30:42]Write i2c OK [21:30:42]MH_I2C_Read... [21:30:42]Read from MH i2c: F0 [21:30:42]MH_I2C_Read... [21:30:42]Read from MH i2c: F0 09 00 [21:30:42]MH_I2C_Read... [21:30:42]Read from MH i2c: F0 09 00 B7 13 00 06 B1 1E 67 5B 68 A1 66 C8 [21:30:42]GetLastDocTimeStamp 1730064368 [21:30:42]current date 1730064646 [21:30:42]FM_GetShiftState [21:30:42]SAM_PROTO_GetShiftState [21:30:42]wFMCommunicate request_size=4 [21:30:42]MH_SAM_APDU [21:30:42]CAPDU: 80 13 01 00 [21:30:42]Write to MH i2c: E2 08 00 B8 13 80 13 01 00 00 00 00 00 48 [21:30:42]Write i2c OK [21:30:42]MH_I2C_Read... [21:30:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:30:42]Read from MH i2c: E2 [21:30:42]MH_I2C_Read... [21:30:42]Read from MH i2c: E2 0E 00 [21:30:42]MH_I2C_Read... [21:30:42]Read from MH i2c: E2 0E 00 B8 13 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 FF [21:30:42]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [21:30:42]wFMCommunicate OK [21:30:42]SAM_PROTO_GetShiftState done [21:30:42]FM_GetShiftState done [21:30:42]opened in 1729987492 [21:30:42]opened+sec_in_day 1730073892 [21:30:42]quantity*price = 14700 [21:30:42]sum+1 = 14701 [21:30:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 147.00 НСП 1% : 1.30 НДС 12% : 15.61 Наличными: 147.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 76 27.10.2024 21:30 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37750 ФПД: 158574545301870 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T213046&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37750&fm=158574545301870&tin=02508201610067®Number=0000000000091684&sum=14700 0 [21:30:43]StoreToDocumentArchive [21:30:43]shift 550 fd 37750 [21:30:43]save to /storage/0550/doc_00037750 [21:30:43]save last doc name /storage/0550/doc_00037750 to /storage/kkm_last_doc_name [21:30:43]save OK [21:30:43]Clear old archive folders... [21:30:43]ProcessDocumentItem done err = 0, tmpTLVsize=285 [21:30:43]tlvbuf is B6FCF890 [21:30:43]SAM_PROTO_ClearQueue [21:30:43]wFMCommunicate request_size=4 [21:30:43]MH_SAM_APDU [21:30:43]CAPDU: 80 09 00 00 [21:30:43]Write to MH i2c: E2 08 00 C5 13 80 09 00 00 00 00 00 00 4A [21:30:43]Write i2c OK [21:30:43]MH_I2C_Read... [21:30:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:30:43]Read from MH i2c: E2 [21:30:43]MH_I2C_Read... [21:30:43]Read from MH i2c: E2 03 00 [21:30:43]MH_I2C_Read... [21:30:43]Read from MH i2c: E2 03 00 C5 13 00 90 00 4C [21:30:43]RAPDU: 90 00 [21:30:43]wFMCommunicate OK [21:30:43]SAM_PROTO_ClearQueue done [21:30:43]KKMCreateOFDPacket [21:30:43]OFDProtocolAddRootSTLVToBuf [21:30:43]FM_MakeSignedData [21:30:43]FM_MakeSignedData [21:30:43]SAM_PROTO_SignData [21:30:43]wFMCommunicate request_size=4 [21:30:43]MH_SAM_APDU [21:30:43]CAPDU: 80 0D 01 02 [21:30:43]Write to MH i2c: E2 08 00 C6 13 80 0D 01 02 00 00 00 00 52 [21:30:43]Write i2c OK [21:30:43]MH_I2C_Read... [21:30:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:30:43]Read from MH i2c: E2 [21:30:43]MH_I2C_Read... [21:30:43]Read from MH i2c: E2 03 00 [21:30:43]MH_I2C_Read... [21:30:43]Read from MH i2c: E2 03 00 C6 13 00 90 00 4D [21:30:43]RAPDU: 90 00 [21:30:43]wFMCommunicate OK [21:30:43]wFMCommunicate request_size=255 [21:30:43]MH_SAM_APDU [21:30:43]CAPDU: 80 0D 02 02 FA 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 36 34 39 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 75 70 65 72 20 53 6C 69 6D 73 20 57 69 6E 74 65 72 20 46 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 4C 00 00 00 F4 03 04 00 06 B1 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 [21:30:43]Write to MH i2c: E2 02 01 C7 13 80 0D 02 02 FA 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 36 34 39 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 75 70 65 72 20 53 6C 69 6D 73 20 57 69 6E 74 65 72 20 46 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 4C 00 00 00 F4 03 04 00 06 B1 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 00 00 0C [21:30:43]Write i2c OK [21:30:43]MH_I2C_Read... [21:30:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:30:44]Read from MH i2c: E2 [21:30:44]MH_I2C_Read... [21:30:44]Read from MH i2c: E2 03 00 [21:30:44]MH_I2C_Read... [21:30:44]Read from MH i2c: E2 03 00 C7 13 00 90 00 4E [21:30:44]RAPDU: 90 00 [21:30:44]wFMCommunicate OK [21:30:44]wFMCommunicate request_size=44 [21:30:44]MH_SAM_APDU [21:30:44]CAPDU: 80 0D 02 02 27 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 76 93 00 00 35 04 06 00 90 39 03 71 71 6E [21:30:44]Write to MH i2c: E2 2F 00 C8 13 80 0D 02 02 27 00 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 76 93 00 00 35 04 06 00 90 39 03 71 71 6E 00 00 95 [21:30:44]Write i2c OK [21:30:44]MH_I2C_Read... [21:30:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:30:44]Read from MH i2c: E2 [21:30:44]MH_I2C_Read... [21:30:44]Read from MH i2c: E2 03 00 [21:30:44]MH_I2C_Read... [21:30:44]Read from MH i2c: E2 03 00 C8 13 00 90 00 4F [21:30:44]RAPDU: 90 00 [21:30:44]wFMCommunicate OK [21:30:44]wFMCommunicate request_size=4 [21:30:44]MH_SAM_APDU [21:30:44]CAPDU: 80 0D 03 02 [21:30:44]Write to MH i2c: E2 08 00 C9 13 80 0D 03 02 00 00 00 00 57 [21:30:44]Write i2c OK [21:30:44]MH_I2C_Read... [21:30:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:30:44]Read from MH i2c: E2 [21:30:44]MH_I2C_Read... [21:30:44]Read from MH i2c: E2 0B 00 [21:30:44]MH_I2C_Read... [21:30:44]Read from MH i2c: E2 0B 00 C9 13 00 2D 13 E3 D3 25 CB 26 83 90 00 E7 [21:30:44]RAPDU: 2D 13 E3 D3 25 CB 26 83 90 00 [21:30:44]wFMCommunicate OK [21:30:44]SAM_PROTO_SignData done [21:30:44]FM_MakeSignedData done [21:30:44]CreateOFDProtocolMessage [21:30:44]wFMCommunicate request_size=4 [21:30:44]MH_SAM_APDU [21:30:44]CAPDU: 80 11 00 00 [21:30:44]Write to MH i2c: E2 08 00 CA 13 80 11 00 00 00 00 00 00 57 [21:30:44]Write i2c OK [21:30:44]MH_I2C_Read... [21:30:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:30:44]Read from MH i2c: E2 [21:30:44]MH_I2C_Read... [21:30:44]Read from MH i2c: E2 17 00 [21:30:44]MH_I2C_Read... [21:30:44]Read from MH i2c: E2 17 00 CA 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A7 [21:30:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [21:30:44]wFMCommunicate OK [21:30:44]CreateOFDProtocolMessage done [21:30:44]OFDSenderStorePacket 37750 [21:30:44]StoreOFDPacket docnum=37750 [21:30: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 31 01 00 00 69 4A 29 01 10 FD 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 36 34 39 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 75 70 65 72 20 53 6C 69 6D 73 20 57 69 6E 74 65 72 20 46 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 4C 00 00 00 F4 03 04 00 06 B1 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 76 93 00 00 35 04 06 00 90 39 03 71 71 6E 2D 13 E3 D3 25 CB 26 83 [21:30:44]CheckFolder [21:30:44]dirname=/storage/ofd_packets [21:30:44]CheckFolder done [21:30:44]ProducePacketName [21:30:44]name=ofd_packets/00037750 [21:30:44]NVStorageSaveData ofd_packets/00037750 [21:30:44]File name is /storage/ofd_packets/00037750 [21:30:44]Write 335 bytes [21:30:44]NVStorageSaveData done [21:30:44]OFDSenderStorePacket done [21:30:44]KKMCreateOFDPacket done [21:30:44]NVStorageSaveData kkm_last_timestamp [21:30:44]File name is /storage/kkm_last_timestamp [21:30:44]Write 4 bytes [21:30:44]NVStorageSaveData done [21:30:44]ExternCall_PrintAddStr [21:30:44]wPrintStart [21:30:44]Write to MH i2c: 01 00 00 CB 13 DE [21:30:44]Write i2c OK [21:30:44]MH_I2C_Read... [21:30:44]Read from MH i2c: 01 [21:30:44]MH_I2C_Read... [21:30:44]Read from MH i2c: 01 07 00 [21:30:44]MH_I2C_Read... [21:30:44]Read from MH i2c: 01 07 00 CB 13 00 00 00 00 00 FF 0F F3 [21:30:44]RasterBufferAndPrint [21:30:44]line Счет N : (3)35048 [21:30:44]line ИНН: 02508201610067 [21:30:44]line Контрольно-Кассовый Чек [21:30:44]line ПРОДАЖА [21:30:44]line Товар: 48746649 [21:30:44]line Сигареты Parliament Super Slims Winter F [21:30:44]line 1.000 * 147.00 [21:30:44]line = 147.00 [21:30:44]line НДС 12% НСП 1% [21:30:44]line > о реализуемом товаре [21:30:44]line ИТОГО: 147.00 [21:30:44]line НСП 1% : 1.30 [21:30:44]line НДС 12% : 15.61 [21:30:44]line Наличными: 147.00 [21:30:44]line Безнал.: 0.00 [21:30:44]line Место: АЗС № 126 "Партнер Нефть" [21:30:44]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [21:30:44]line СНО: Общий режим [21:30:44]line Чек 76 27.10.2024 21:30 [21:30:44]line Смена: 550 ФФД: 1.0 [21:30:44]line ЗНМ: 0300000092 [21:30:44]line РНМ: 0000000000091684 [21:30:44]line Версия ККМ: 001 [21:30:44]line ФМ: 0000000000871841 [21:30:44]line ФД: 37750 [21:30:44]line ФПД: 158574545301870 [21:30:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T213046&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37750&fm=158574545301870&tin=02508201610067®Number=0000000000091684&sum=14700 [21:30:44]OFD Sender: Processing packet 37750 [packets to send 42, broken 41] [21:30:44]ProducePacketName [21:30:44]name=ofd_packets/00037750 [21:30:44]OFD Sender: To server: pG, [21:30:44]CommunicateWithHost lk.salyk.kg:30040 [21:30:44]ConnectInit lk.salyk.kg [21:30:44]line 0 [21:30:44]written 0, free lines is 4095 [21:30:44]Connected sock=10 [21:30: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 31 01 00 00 69 4A 29 01 10 FD 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 36 34 39 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 75 70 65 72 20 53 6C 69 6D 73 20 57 69 6E 74 65 72 20 46 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 4C 00 00 00 F4 03 04 00 06 B1 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 76 93 00 00 35 04 06 00 90 39 03 71 71 6E 2D 13 E3 D3 25 CB 26 83 [21:30:45]Write to MH i2c: 01 00 00 F4 13 07 [21:30:45]Write i2c OK [21:30:45]MH_I2C_Read... [21:30:45]Read from MH i2c: 01 [21:30:45]MH_I2C_Read... [21:30:45]Read from MH i2c: 01 07 00 [21:30:45]MH_I2C_Read... [21:30:45]Read from MH i2c: 01 07 00 F4 13 00 00 00 00 00 AB 0C C5 [21:30:45]RasterBufferAndPrint [21:30:45]line [21:30:45]line [21:30:45]line [21:30:45]line [21:30:45]line [21:30:45]written 0, free lines is 3247 [21:30:45]MH_Cut [21:30:45]Write to MH i2c: D1 01 00 FB 13 01 E0 [21:30:45]Write i2c OK [21:30:45]MH_I2C_Read... [21:30:45]Read from MH i2c: D1 [21:30:45]MH_I2C_Read... [21:30:45]Read from MH i2c: D1 01 00 [21:30:45]MH_I2C_Read... [21:30:45]Read from MH i2c: D1 01 00 FB 13 00 DF [21:30:45]Write to MH i2c: 01 00 00 FC 13 0F [21:30:45]Write i2c OK [21:30:45]MH_I2C_Read... [21:30: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 0F 55 47 00 FE 1E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 76 93 00 00 F4 03 04 00 FD 5B 1E 67 B6 04 01 00 00 E2 FD E8 37 9B 74 48 0C [21:30:45]CommunicateWithHost err = 0 [21:30:45]CheckOFDResponse [21:30:45]1017 (14) - 77093643461234 [21:30:45]1041 (16) - 0000000000871841 [21:30:45]1040 (4) - 37750 [21:30:45]1012 (4) - 27.10.2024 15:27 [21:30:45]1206 (1) - 0 [21:30:45]OFD Sender: Remove packet 37750 [21:30:45]ProducePacketName [21:30:45]name=ofd_packets/00037750 [21:30:45]NVStorageDeleteData [21:30:45]OFD Sender: No OFD packet to send [21:30:45]*** Cut start [21:30:45]*** Partial cut [21:30:45]*** CUTSNS_PIN = 1 [21:30:45]*** CUTSNS_PIN = 0 [21:30:46]*** Brake cut motor [21:30:46]Read from MH i2c: 01 [21:30:46]MH_I2C_Read... [21:30:46]*** Stop cut motor [21:30:46]*** Cut end [21:30:46]Read from MH i2c: 01 07 00 [21:30:46]MH_I2C_Read... [21:30:46]Read from MH i2c: 01 07 00 FC 13 00 00 00 00 00 FF 0F 24 [21:30:46]process_action close_receipt done [21:30:46]requested_data is exist [21:30:46]produce_requested_data [21:30:46]requested_item fm.sn is exist - process it [21:30:46]wFMCommunicate request_size=4 [21:30:46]MH_SAM_APDU [21:30:46]CAPDU: 80 11 00 00 [21:30:46]Write to MH i2c: E2 08 00 FD 13 80 11 00 00 00 00 00 00 8A [21:30:46]Write i2c OK [21:30:46]MH_I2C_Read... [21:30:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:30:46]Read from MH i2c: E2 [21:30:46]MH_I2C_Read... [21:30:46]Read from MH i2c: E2 17 00 [21:30:46]MH_I2C_Read... [21:30:46]Read from MH i2c: E2 17 00 FD 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 DA [21:30:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [21:30:46]wFMCommunicate OK [21:30:46]requested_item fd.num is exist - process it [21:30:46]SAM_PROTO_GetFieldsCounters [21:30:46]wFMCommunicate request_size=4 [21:30:46]MH_SAM_APDU [21:30:46]CAPDU: 80 13 00 00 [21:30:46]Write to MH i2c: E2 08 00 FE 13 80 13 00 00 00 00 00 00 8D [21:30:46]Write i2c OK [21:30:46]MH_I2C_Read... [21:30:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:30:46]Read from MH i2c: E2 [21:30:46]MH_I2C_Read... [21:30:46]Read from MH i2c: E2 62 00 [21:30:46]MH_I2C_Read... [21:30:46]Read from MH i2c: E2 62 00 FE 13 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 76 93 00 00 0E 04 04 00 26 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 C3 [21:30: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 76 93 00 00 0E 04 04 00 26 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 [21:30:46]wFMCommunicate OK [21:30:46]SAM_PROTO_GetFieldsCounters done [21:30:46]requested_item shift.num is exist - process it [21:30:46]requested_item shift.opened is exist - process it [21:30:46]req_shift_opened [21:30:46]FM_GetShiftState [21:30:46]SAM_PROTO_GetShiftState [21:30:46]wFMCommunicate request_size=4 [21:30:46]MH_SAM_APDU [21:30:46]CAPDU: 80 13 01 00 [21:30:46]Write to MH i2c: E2 08 00 FF 13 80 13 01 00 00 00 00 00 8F [21:30:46]Write i2c OK [21:30:46]MH_I2C_Read... [21:30:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:30:46]Read from MH i2c: E2 [21:30:46]MH_I2C_Read... [21:30:46]Read from MH i2c: E2 0E 00 [21:30:46]MH_I2C_Read... [21:30:46]Read from MH i2c: E2 0E 00 FF 13 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 46 [21:30:46]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [21:30:46]wFMCommunicate OK [21:30:46]SAM_PROTO_GetShiftState done [21:30:46]FM_GetShiftState done [21:30:46]req_shift_opened done [21:30:46]requested_item shift.open_date is exist - process it [21:30:46]req_shift_open_date [21:30:46]req_shift_open_date done [21:30:46]produce_requested_data done [21:30:46]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37750,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [21:30:46]process_action_free close_receipt [21:30:46]json_value_free [21:30:46]json_value_free done [21:30:46]process_json_proto returns [21:30:46]Send response to host [21:30:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37750,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [21:30:46]free response buf [21:30:46]execute_script done [21:30:46]execute_script returns [21:30:46]free content buf [21:30:46]Sock 7.Close socket [21:30:46]Sock 7.Thread stoped [21:30:50]OFD Sender: No OFD packet to send [21:30:55]OFD Sender: No OFD packet to send [21:31:00]OFD Sender: No OFD packet to send [21:31:05]OFD Sender: No OFD packet to send [21:31:10]OFD Sender: No OFD packet to send [21:31:15]OFD Sender: No OFD packet to send [21:31:20]OFD Sender: No OFD packet to send [21:31:25]OFD Sender: No OFD packet to send [21:31:30]OFD Sender: No OFD packet to send [21:31:35]OFD Sender: No OFD packet to send [21:31:40]OFD Sender: No OFD packet to send [21:31:45]OFD Sender: No OFD packet to send [21:31:50]OFD Sender: No OFD packet to send [21:31:55]OFD Sender: No OFD packet to send [21:32:00]OFD Sender: No OFD packet to send [21:32:05]OFD Sender: No OFD packet to send [21:32:10]OFD Sender: No OFD packet to send [21:32:15]OFD Sender: No OFD packet to send [21:32:20]OFD Sender: No OFD packet to send [21:32:25]OFD Sender: No OFD packet to send [21:32:30]OFD Sender: No OFD packet to send [21:32:35]OFD Sender: No OFD packet to send [21:32:40]OFD Sender: No OFD packet to send [21:32:45]OFD Sender: No OFD packet to send [21:32:50]OFD Sender: No OFD packet to send [21:32:55]OFD Sender: No OFD packet to send [21:33:00]OFD Sender: No OFD packet to send [21:33:05]OFD Sender: No OFD packet to send [21:33:10]OFD Sender: No OFD packet to send [21:33:15]OFD Sender: No OFD packet to send [21:33:20]OFD Sender: No OFD packet to send [21:33:25]OFD Sender: No OFD packet to send [21:33:30]OFD Sender: No OFD packet to send [21:33:35]OFD Sender: No OFD packet to send [21:33:40]OFD Sender: No OFD packet to send [21:33:45]OFD Sender: No OFD packet to send [21:33:50]OFD Sender: No OFD packet to send [21:33:55]OFD Sender: No OFD packet to send [21:34:00]OFD Sender: No OFD packet to send [21:34:05]OFD Sender: No OFD packet to send [21:34:10]OFD Sender: No OFD packet to send [21:34:15]OFD Sender: No OFD packet to send [21:34:20]OFD Sender: No OFD packet to send [21:34:25]OFD Sender: No OFD packet to send [21:34:30]OFD Sender: No OFD packet to send [21:34:35]OFD Sender: No OFD packet to send [21:34:40]OFD Sender: No OFD packet to send [21:34:45]OFD Sender: No OFD packet to send [21:34:50]OFD Sender: No OFD packet to send [21:34:55]OFD Sender: No OFD packet to send [21:35:00]OFD Sender: No OFD packet to send [21:35:05]OFD Sender: No OFD packet to send [21:35:10]OFD Sender: No OFD packet to send [21:35:15]OFD Sender: No OFD packet to send [21:35:20]OFD Sender: No OFD packet to send [21:35:25]OFD Sender: No OFD packet to send [21:35:30]OFD Sender: No OFD packet to send [21:35:35]OFD Sender: No OFD packet to send [21:35:40]OFD Sender: No OFD packet to send [21:35:45]OFD Sender: No OFD packet to send [21:35:50]OFD Sender: No OFD packet to send [21:35:55]OFD Sender: No OFD packet to send [21:36:00]OFD Sender: No OFD packet to send [21:36:05]OFD Sender: No OFD packet to send [21:36:10]OFD Sender: No OFD packet to send [21:36:15]OFD Sender: No OFD packet to send [21:36:21]OFD Sender: No OFD packet to send [21:36:26]OFD Sender: No OFD packet to send [21:36:31]OFD Sender: No OFD packet to send [21:36:36]OFD Sender: No OFD packet to send [21:36:41]OFD Sender: No OFD packet to send [21:36:46]OFD Sender: No OFD packet to send [21:36:51]OFD Sender: No OFD packet to send [21:36:56]OFD Sender: No OFD packet to send [21:37:01]OFD Sender: No OFD packet to send [21:37:06]OFD Sender: No OFD packet to send [21:37:11]OFD Sender: No OFD packet to send [21:37:16]OFD Sender: No OFD packet to send [21:37:21]OFD Sender: No OFD packet to send [21:37:26]OFD Sender: No OFD packet to send [21:37:31]OFD Sender: No OFD packet to send [21:37:36]OFD Sender: No OFD packet to send [21:37:41]OFD Sender: No OFD packet to send [21:37:46]OFD Sender: No OFD packet to send [21:37:51]OFD Sender: No OFD packet to send [21:37:56]OFD Sender: No OFD packet to send [21:38:01]OFD Sender: No OFD packet to send [21:38:06]OFD Sender: No OFD packet to send [21:38:11]OFD Sender: No OFD packet to send [21:38:16]OFD Sender: No OFD packet to send [21:38:21]OFD Sender: No OFD packet to send [21:38:26]OFD Sender: No OFD packet to send [21:38:31]OFD Sender: No OFD packet to send [21:38:36]OFD Sender: No OFD packet to send [21:38:41]OFD Sender: No OFD packet to send [21:38:46]OFD Sender: No OFD packet to send [21:38:51]OFD Sender: No OFD packet to send [21:38:56]OFD Sender: No OFD packet to send [21:39:01]OFD Sender: No OFD packet to send [21:39:06]OFD Sender: No OFD packet to send [21:39:11]OFD Sender: No OFD packet to send [21:39:16]OFD Sender: No OFD packet to send [21:39:21]OFD Sender: No OFD packet to send [21:39:26]OFD Sender: No OFD packet to send [21:39:31]OFD Sender: No OFD packet to send [21:39:36]OFD Sender: No OFD packet to send [21:39:41]OFD Sender: No OFD packet to send [21:39:46]OFD Sender: No OFD packet to send [21:39:51]OFD Sender: No OFD packet to send [21:39:56]OFD Sender: No OFD packet to send [21:40:01]OFD Sender: No OFD packet to send [21:40:06]OFD Sender: No OFD packet to send [21:40:11]OFD Sender: No OFD packet to send [21:40:16]OFD Sender: No OFD packet to send [21:40:21]OFD Sender: No OFD packet to send [21:40:26]OFD Sender: No OFD packet to send [21:40:31]OFD Sender: No OFD packet to send [21:40:36]OFD Sender: No OFD packet to send [21:40:41]OFD Sender: No OFD packet to send [21:40:46]OFD Sender: No OFD packet to send [21:40:51]OFD Sender: No OFD packet to send [21:40:56]OFD Sender: No OFD packet to send [21:41:01]OFD Sender: No OFD packet to send [21:41:06]OFD Sender: No OFD packet to send [21:41:11]OFD Sender: No OFD packet to send [21:41:16]OFD Sender: No OFD packet to send [21:41:21]OFD Sender: No OFD packet to send [21:41:26]OFD Sender: No OFD packet to send [21:41:31]OFD Sender: No OFD packet to send [21:41:36]OFD Sender: No OFD packet to send [21:41:41]OFD Sender: No OFD packet to send [21:41:46]OFD Sender: No OFD packet to send [21:41:51]OFD Sender: No OFD packet to send [21:41:56]OFD Sender: No OFD packet to send [21:42:01]OFD Sender: No OFD packet to send [21:42:06]OFD Sender: No OFD packet to send [21:42:11]OFD Sender: No OFD packet to send [21:42:16]OFD Sender: No OFD packet to send [21:42:21]OFD Sender: No OFD packet to send [21:42:26]OFD Sender: No OFD packet to send [21:42:31]OFD Sender: No OFD packet to send [21:42:36]OFD Sender: No OFD packet to send [21:42:41]OFD Sender: No OFD packet to send [21:42:46]OFD Sender: No OFD packet to send [21:42:51]OFD Sender: No OFD packet to send [21:42:54]accept exits with 9 [21:42:54]New connection [21:42:54]New thread 3067440484 created [21:42:54]Thread 3067297124 joined [21:42:54]Waiting for new connection... [21:42:54] Sock 9.Parse request [21:42:54]Sock 9.Check first char [21:42:54]Sock 9.First char is OK [21:42:54]request: POST /json_proto HTTP/1.0 [21:42:54]Method: POST [21:42:54]URL: /json_proto [21:42:54]Method is POST - this is cgi request [21:42:54]url: /json_proto [21:42:54]query_string will be loaded in cgi processing [21:42:54]execute_cgi json_proto POST (null) [21:42:54]execute_cgi path=json_proto method=POST [21:42:54]POST find Content-Length [21:42:54]Host: 172.17.40.196:8080 [21:42:54]Content-Length: 645 [21:42:54]Content-Type: application/json [21:42:54] [21:42:54]POST finish read [21:42:54]Found Content-Length = 645 [21:42:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35049", "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" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:42:54]execute_script... [21:42: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)35049", "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" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:42:54]POST & json_proto [21:42:54]process_json_proto [21:42:54]json parsed OK: [21:42:54]protocol is kg_v1.0 [21:42:54]action value=close_receipt [21:42:54]process_action close_receipt [21:42:54]cmd_close_receipt [21:42:54]MH_GetDate [21:42:54]Write to MH i2c: F0 00 00 00 14 03 [21:42:54]Write i2c OK [21:42:54]MH_I2C_Read... [21:42:54]Read from MH i2c: F0 [21:42:54]MH_I2C_Read... [21:42:54]Read from MH i2c: F0 09 00 [21:42:54]MH_I2C_Read... [21:42:54]Read from MH i2c: F0 09 00 00 14 00 E2 B3 1E 67 5B 68 A1 66 F0 [21:42:54]GetLastDocTimeStamp 1730064646 [21:42:54]current date 1730065378 [21:42:54]FM_GetShiftState [21:42:54]SAM_PROTO_GetShiftState [21:42:54]wFMCommunicate request_size=4 [21:42:54]MH_SAM_APDU [21:42:54]CAPDU: 80 13 01 00 [21:42:54]Write to MH i2c: E2 08 00 01 14 80 13 01 00 00 00 00 00 92 [21:42:54]Write i2c OK [21:42:54]MH_I2C_Read... [21:42:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:42:54]Read from MH i2c: E2 [21:42:54]MH_I2C_Read... [21:42:54]Read from MH i2c: E2 0E 00 [21:42:54]MH_I2C_Read... [21:42:54]Read from MH i2c: E2 0E 00 01 14 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 49 [21:42:54]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [21:42:54]wFMCommunicate OK [21:42:54]SAM_PROTO_GetShiftState done [21:42:54]FM_GetShiftState done [21:42:54]opened in 1729987492 [21:42:54]opened+sec_in_day 1730073892 [21:42:54]quantity*price = 26000 [21:42:54]sum+1 = 26001 [21:42:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 260.00 НСП 1% : 2.30 НДС 12% : 27.61 Наличными: 260.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 77 27.10.2024 21:42 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37751 ФПД: 89267483430902 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T214258&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37751&fm=89267483430902&tin=02508201610067®Number=0000000000091684&sum=26000 0 [21:42:55]StoreToDocumentArchive [21:42:55]shift 550 fd 37751 [21:42:55]save to /storage/0550/doc_00037751 [21:42:55]save last doc name /storage/0550/doc_00037751 to /storage/kkm_last_doc_name [21:42:55]save OK [21:42:55]Clear old archive folders... [21:42:55]ProcessDocumentItem done err = 0, tmpTLVsize=282 [21:42:55]tlvbuf is 00230180 [21:42:55]SAM_PROTO_ClearQueue [21:42:55]wFMCommunicate request_size=4 [21:42:55]MH_SAM_APDU [21:42:55]CAPDU: 80 09 00 00 [21:42:55]Write to MH i2c: E2 08 00 0E 14 80 09 00 00 00 00 00 00 94 [21:42:55]Write i2c OK [21:42:55]MH_I2C_Read... [21:42:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:42:55]Read from MH i2c: E2 [21:42:55]MH_I2C_Read... [21:42:55]Read from MH i2c: E2 03 00 [21:42:55]MH_I2C_Read... [21:42:55]Read from MH i2c: E2 03 00 0E 14 00 90 00 96 [21:42:55]RAPDU: 90 00 [21:42:55]wFMCommunicate OK [21:42:55]SAM_PROTO_ClearQueue done [21:42:55]KKMCreateOFDPacket [21:42:55]OFDProtocolAddRootSTLVToBuf [21:42:55]FM_MakeSignedData [21:42:55]FM_MakeSignedData [21:42:55]SAM_PROTO_SignData [21:42:55]wFMCommunicate request_size=4 [21:42:55]MH_SAM_APDU [21:42:55]CAPDU: 80 0D 01 02 [21:42:55]Write to MH i2c: E2 08 00 0F 14 80 0D 01 02 00 00 00 00 9C [21:42:55]Write i2c OK [21:42:55]MH_I2C_Read... [21:42:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:42:55]Read from MH i2c: E2 [21:42:55]MH_I2C_Read... [21:42:55]Read from MH i2c: E2 03 00 [21:42:55]MH_I2C_Read... [21:42:55]Read from MH i2c: E2 03 00 0F 14 00 90 00 97 [21:42:55]RAPDU: 90 00 [21:42:55]wFMCommunicate OK [21:42:55]wFMCommunicate request_size=255 [21:42:55]MH_SAM_APDU [21:42:55]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 D0 07 00 00 00 00 00 37 04 06 00 C8 32 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 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 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 E2 B3 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 [21:42:55]Write to MH i2c: E2 02 01 10 14 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 D0 07 00 00 00 00 00 37 04 06 00 C8 32 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 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 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 E2 B3 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 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 F7 [21:42:55]Write i2c OK [21:42:55]MH_I2C_Read... [21:42:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:42:55]Read from MH i2c: E2 [21:42:55]MH_I2C_Read... [21:42:55]Read from MH i2c: E2 03 00 [21:42:55]MH_I2C_Read... [21:42:55]Read from MH i2c: E2 03 00 10 14 00 90 00 98 [21:42:55]RAPDU: 90 00 [21:42:55]wFMCommunicate OK [21:42:55]wFMCommunicate request_size=41 [21:42:55]MH_SAM_APDU [21:42:55]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 77 93 00 00 35 04 06 00 51 30 34 A3 CF F6 [21:42:55]Write to MH i2c: E2 2C 00 11 14 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 77 93 00 00 35 04 06 00 51 30 34 A3 CF F6 00 00 92 [21:42:55]Write i2c OK [21:42:55]MH_I2C_Read... [21:42:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:42:56]Read from MH i2c: E2 [21:42:56]MH_I2C_Read... [21:42:56]Read from MH i2c: E2 03 00 [21:42:56]MH_I2C_Read... [21:42:56]Read from MH i2c: E2 03 00 11 14 00 90 00 99 [21:42:56]RAPDU: 90 00 [21:42:56]wFMCommunicate OK [21:42:56]wFMCommunicate request_size=4 [21:42:56]MH_SAM_APDU [21:42:56]CAPDU: 80 0D 03 02 [21:42:56]Write to MH i2c: E2 08 00 12 14 80 0D 03 02 00 00 00 00 A1 [21:42:56]Write i2c OK [21:42:56]MH_I2C_Read... [21:42:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:42:56]Read from MH i2c: E2 [21:42:56]MH_I2C_Read... [21:42:56]Read from MH i2c: E2 0B 00 [21:42:56]MH_I2C_Read... [21:42:56]Read from MH i2c: E2 0B 00 12 14 00 32 96 F4 72 67 18 C9 3C 90 00 54 [21:42:56]RAPDU: 32 96 F4 72 67 18 C9 3C 90 00 [21:42:56]wFMCommunicate OK [21:42:56]SAM_PROTO_SignData done [21:42:56]FM_MakeSignedData done [21:42:56]CreateOFDProtocolMessage [21:42:56]wFMCommunicate request_size=4 [21:42:56]MH_SAM_APDU [21:42:56]CAPDU: 80 11 00 00 [21:42:56]Write to MH i2c: E2 08 00 13 14 80 11 00 00 00 00 00 00 A1 [21:42:56]Write i2c OK [21:42:56]MH_I2C_Read... [21:42:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:42:56]Read from MH i2c: E2 [21:42:56]MH_I2C_Read... [21:42:56]Read from MH i2c: E2 17 00 [21:42:56]MH_I2C_Read... [21:42:56]Read from MH i2c: E2 17 00 13 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F1 [21:42:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [21:42:56]wFMCommunicate OK [21:42:56]CreateOFDProtocolMessage done [21:42:56]OFDSenderStorePacket 37751 [21:42:56]StoreOFDPacket docnum=37751 [21:42: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 2E 01 00 00 96 59 26 01 69 64 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 D0 07 00 00 00 00 00 37 04 06 00 C8 32 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 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 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 E2 B3 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 77 93 00 00 35 04 06 00 51 30 34 A3 CF F6 32 96 F4 72 67 18 C9 3C [21:42:56]CheckFolder [21:42:56]dirname=/storage/ofd_packets [21:42:56]CheckFolder done [21:42:56]ProducePacketName [21:42:56]name=ofd_packets/00037751 [21:42:56]NVStorageSaveData ofd_packets/00037751 [21:42:56]File name is /storage/ofd_packets/00037751 [21:42:56]Write 332 bytes [21:42:56]NVStorageSaveData done [21:42:56]OFDSenderStorePacket done [21:42:56]KKMCreateOFDPacket done [21:42:56]NVStorageSaveData kkm_last_timestamp [21:42:56]File name is /storage/kkm_last_timestamp [21:42:56]Write 4 bytes [21:42:56]NVStorageSaveData done [21:42:56]ExternCall_PrintAddStr [21:42:56]wPrintStart [21:42:56]Write to MH i2c: 01 00 00 14 14 28 [21:42:56]Write i2c OK [21:42:56]MH_I2C_Read... [21:42:56]Read from MH i2c: 01 [21:42:56]MH_I2C_Read... [21:42:56]Read from MH i2c: 01 07 00 [21:42:56]MH_I2C_Read... [21:42:56]Read from MH i2c: 01 07 00 14 14 00 00 00 00 00 FF 0F 3D [21:42:56]RasterBufferAndPrint [21:42:56]line Счет N : (3)35049 [21:42:56]line ИНН: 02508201610067 [21:42:56]line Контрольно-Кассовый Чек [21:42:56]line ПРОДАЖА [21:42:56]line Товар: 2000036220012 [21:42:56]line Кофе Капучино XL(GABB TRADE) [21:42:56]line 2.000 * 130.00 [21:42:56]line = 260.00 [21:42:56]line НДС 12% НСП 1% [21:42:56]line > о реализуемом товаре [21:42:56]line ИТОГО: 260.00 [21:42:56]line НСП 1% : 2.30 [21:42:56]line НДС 12% : 27.61 [21:42:56]line Наличными: 260.00 [21:42:56]line Безнал.: 0.00 [21:42:56]line Место: АЗС № 126 "Партнер Нефть" [21:42:56]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [21:42:56]line СНО: Общий режим [21:42:56]line Чек 77 27.10.2024 21:42 [21:42:56]line Смена: 550 ФФД: 1.0 [21:42:56]line ЗНМ: 0300000092 [21:42:56]line РНМ: 0000000000091684 [21:42:56]line Версия ККМ: 001 [21:42:56]line ФМ: 0000000000871841 [21:42:56]line ФД: 37751 [21:42:56]line ФПД: 89267483430902 [21:42:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T214258&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37751&fm=89267483430902&tin=02508201610067®Number=0000000000091684&sum=26000 [21:42:56]line 0 [21:42:56]OFD Sender: Processing packet 37751 [packets to send 42, broken 41] [21:42:56]ProducePacketName [21:42:56]name=ofd_packets/00037751 [21:42:56]OFD Sender: To server: pG, [21:42:56]CommunicateWithHost lk.salyk.kg:30040 [21:42:56]ConnectInit lk.salyk.kg [21:42:56]written 0, free lines is 4095 [21:42:56]Connected sock=10 [21:42: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 2E 01 00 00 96 59 26 01 69 64 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 D0 07 00 00 00 00 00 37 04 06 00 C8 32 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 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 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 E2 B3 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 77 93 00 00 35 04 06 00 51 30 34 A3 CF F6 32 96 F4 72 67 18 C9 3C [21:42:56]Write to MH i2c: 01 00 00 3D 14 51 [21:42:56]Write i2c OK [21:42:56]MH_I2C_Read... [21:42:56]Read from MH i2c: 01 [21:42:56]MH_I2C_Read... [21:42:56]Read from MH i2c: 01 07 00 [21:42:56]MH_I2C_Read... [21:42:56]Read from MH i2c: 01 07 00 3D 14 00 00 00 00 00 C2 0C 26 [21:42:56]RasterBufferAndPrint [21:42:56]line [21:42:56]line [21:42:56]line [21:42:56]line [21:42:56]line [21:42:56]written 0, free lines is 3270 [21:42:56]MH_Cut [21:42:56]Write to MH i2c: D1 01 00 44 14 01 2A [21:42:56]Write i2c OK [21:42:56]MH_I2C_Read... [21:42:56]Read from MH i2c: D1 [21:42:56]MH_I2C_Read... [21:42:56]Read from MH i2c: D1 01 00 [21:42:56]MH_I2C_Read... [21:42:56]Read from MH i2c: D1 01 00 44 14 00 29 [21:42:56]Write to MH i2c: 01 00 00 45 14 59 [21:42:56]Write i2c OK [21:42:56]MH_I2C_Read... [21:42: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 84 87 47 00 18 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 77 93 00 00 F4 03 04 00 D9 5E 1E 67 B6 04 01 00 00 9C B2 D3 62 53 97 A6 0A [21:42:57]CommunicateWithHost err = 0 [21:42:57]CheckOFDResponse [21:42:57]1017 (14) - 77093643461234 [21:42:57]1041 (16) - 0000000000871841 [21:42:57]1040 (4) - 37751 [21:42:57]1012 (4) - 27.10.2024 15:40 [21:42:57]1206 (1) - 0 [21:42:57]OFD Sender: Remove packet 37751 [21:42:57]ProducePacketName [21:42:57]name=ofd_packets/00037751 [21:42:57]NVStorageDeleteData [21:42:57]OFD Sender: No OFD packet to send [21:42:57]*** Cut start [21:42:57]*** Partial cut [21:42:57]*** CUTSNS_PIN = 1 [21:42:57]*** CUTSNS_PIN = 0 [21:42:58]*** Brake cut motor [21:42:58]Read from MH i2c: 01 [21:42:58]MH_I2C_Read... [21:42:58]*** Stop cut motor [21:42:58]*** Cut end [21:42:58]Read from MH i2c: 01 07 00 [21:42:58]MH_I2C_Read... [21:42:58]Read from MH i2c: 01 07 00 45 14 00 00 00 00 00 FF 0F 6E [21:42:58]process_action close_receipt done [21:42:58]requested_data is exist [21:42:58]produce_requested_data [21:42:58]requested_item fm.sn is exist - process it [21:42:58]wFMCommunicate request_size=4 [21:42:58]MH_SAM_APDU [21:42:58]CAPDU: 80 11 00 00 [21:42:58]Write to MH i2c: E2 08 00 46 14 80 11 00 00 00 00 00 00 D4 [21:42:58]Write i2c OK [21:42:58]MH_I2C_Read... [21:42:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:42:58]Read from MH i2c: E2 [21:42:58]MH_I2C_Read... [21:42:58]Read from MH i2c: E2 17 00 [21:42:58]MH_I2C_Read... [21:42:58]Read from MH i2c: E2 17 00 46 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 24 [21:42:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [21:42:58]wFMCommunicate OK [21:42:58]requested_item fd.num is exist - process it [21:42:58]SAM_PROTO_GetFieldsCounters [21:42:58]wFMCommunicate request_size=4 [21:42:58]MH_SAM_APDU [21:42:58]CAPDU: 80 13 00 00 [21:42:58]Write to MH i2c: E2 08 00 47 14 80 13 00 00 00 00 00 00 D7 [21:42:58]Write i2c OK [21:42:58]MH_I2C_Read... [21:42:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:42:58]Read from MH i2c: E2 [21:42:58]MH_I2C_Read... [21:42:58]Read from MH i2c: E2 62 00 [21:42:58]MH_I2C_Read... [21:42:58]Read from MH i2c: E2 62 00 47 14 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 77 93 00 00 0E 04 04 00 26 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 11 [21:42: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 77 93 00 00 0E 04 04 00 26 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 [21:42:58]wFMCommunicate OK [21:42:58]SAM_PROTO_GetFieldsCounters done [21:42:58]requested_item shift.num is exist - process it [21:42:58]requested_item shift.opened is exist - process it [21:42:58]req_shift_opened [21:42:58]FM_GetShiftState [21:42:58]SAM_PROTO_GetShiftState [21:42:58]wFMCommunicate request_size=4 [21:42:58]MH_SAM_APDU [21:42:58]CAPDU: 80 13 01 00 [21:42:58]Write to MH i2c: E2 08 00 48 14 80 13 01 00 00 00 00 00 D9 [21:42:58]Write i2c OK [21:42:58]MH_I2C_Read... [21:42:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:42:58]Read from MH i2c: E2 [21:42:58]MH_I2C_Read... [21:42:58]Read from MH i2c: E2 0E 00 [21:42:58]MH_I2C_Read... [21:42:58]Read from MH i2c: E2 0E 00 48 14 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 90 [21:42:58]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [21:42:58]wFMCommunicate OK [21:42:58]SAM_PROTO_GetShiftState done [21:42:58]FM_GetShiftState done [21:42:58]req_shift_opened done [21:42:58]requested_item shift.open_date is exist - process it [21:42:58]req_shift_open_date [21:42:58]req_shift_open_date done [21:42:58]produce_requested_data done [21:42:58]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37751,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [21:42:58]process_action_free close_receipt [21:42:58]json_value_free [21:42:58]json_value_free done [21:42:58]process_json_proto returns [21:42:58]Send response to host [21:42:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37751,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [21:42:58]free response buf [21:42:58]execute_script done [21:42:58]execute_script returns [21:42:58]free content buf [21:42:58]Sock 9.Close socket [21:42:58]Sock 9.Thread stoped [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:48]OFD Sender: No OFD packet to send [21:51:53]OFD Sender: No OFD packet to send [21:51:58]OFD Sender: No OFD packet to send [21:52:03]OFD Sender: No OFD packet to send [21:52:08]OFD Sender: No OFD packet to send [21:52:13]OFD Sender: No OFD packet to send [21:52:18]OFD Sender: No OFD packet to send [21:52:23]OFD Sender: No OFD packet to send [21:52:28]OFD Sender: No OFD packet to send [21:52:33]OFD Sender: No OFD packet to send [21:52:38]OFD Sender: No OFD packet to send [21:52:43]OFD Sender: No OFD packet to send [21:52:48]OFD Sender: No OFD packet to send [21:52:53]OFD Sender: No OFD packet to send [21:52:58]OFD Sender: No OFD packet to send [21:53:03]OFD Sender: No OFD packet to send [21:53:08]OFD Sender: No OFD packet to send [21:53:13]OFD Sender: No OFD packet to send [21:53:18]OFD Sender: No OFD packet to send [21:53:23]OFD Sender: No OFD packet to send [21:53:28]OFD Sender: No OFD packet to send [21:53:33]OFD Sender: No OFD packet to send [21:53:38]OFD Sender: No OFD packet to send [21:53:43]OFD Sender: No OFD packet to send [21:53:48]OFD Sender: No OFD packet to send [21:53:53]OFD Sender: No OFD packet to send [21:53:58]OFD Sender: No OFD packet to send [21:54:03]OFD Sender: No OFD packet to send [21:54:08]OFD Sender: No OFD packet to send [21:54:13]OFD Sender: No OFD packet to send [21:54:18]OFD Sender: No OFD packet to send [21:54:23]OFD Sender: No OFD packet to send [21:54:28]OFD Sender: No OFD packet to send [21:54:33]OFD Sender: No OFD packet to send [21:54:38]OFD Sender: No OFD packet to send [21:54:43]OFD Sender: No OFD packet to send [21:54:48]OFD Sender: No OFD packet to send [21:54:53]OFD Sender: No OFD packet to send [21:54:58]OFD Sender: No OFD packet to send [21:55:03]OFD Sender: No OFD packet to send [21:55:08]OFD Sender: No OFD packet to send [21:55:13]OFD Sender: No OFD packet to send [21:55:18]OFD Sender: No OFD packet to send [21:55:23]OFD Sender: No OFD packet to send [21:55:28]OFD Sender: No OFD packet to send [21:55:33]OFD Sender: No OFD packet to send [21:55:38]OFD Sender: No OFD packet to send [21:55:43]OFD Sender: No OFD packet to send [21:55:48]OFD Sender: No OFD packet to send [21:55:53]OFD Sender: No OFD packet to send [21:55:58]OFD Sender: No OFD packet to send [21:56:03]OFD Sender: No OFD packet to send [21:56:08]OFD Sender: No OFD packet to send [21:56:13]OFD Sender: No OFD packet to send [21:56:18]OFD Sender: No OFD packet to send [21:56:23]OFD Sender: No OFD packet to send [21:56:28]OFD Sender: No OFD packet to send [21:56:33]OFD Sender: No OFD packet to send [21:56:38]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:58]OFD Sender: No OFD packet to send [22:10:03]OFD Sender: No OFD packet to send [22:10:08]OFD Sender: No OFD packet to send [22:10:13]OFD Sender: No OFD packet to send [22:10:18]OFD Sender: No OFD packet to send [22:10:23]OFD Sender: No OFD packet to send [22:10:28]OFD Sender: No OFD packet to send [22:10:33]OFD Sender: No OFD packet to send [22:10:39]OFD Sender: No OFD packet to send [22:10:44]OFD Sender: No OFD packet to send [22:10:49]OFD Sender: No OFD packet to send [22:10:54]OFD Sender: No OFD packet to send [22:10:59]OFD Sender: No OFD packet to send [22:11:04]OFD Sender: No OFD packet to send [22:11:09]OFD Sender: No OFD packet to send [22:11:14]OFD Sender: No OFD packet to send [22:11:19]OFD Sender: No OFD packet to send [22:11:24]OFD Sender: No OFD packet to send [22:11:29]OFD Sender: No OFD packet to send [22:11:34]OFD Sender: No OFD packet to send [22:11:39]OFD Sender: No OFD packet to send [22:11:44]OFD Sender: No OFD packet to send [22:11:49]OFD Sender: No OFD packet to send [22:11:54]OFD Sender: No OFD packet to send [22:11:59]OFD Sender: No OFD packet to send [22:12:04]OFD Sender: No OFD packet to send [22:12:09]OFD Sender: No OFD packet to send [22:12:14]OFD Sender: No OFD packet to send [22:12:19]OFD Sender: No OFD packet to send [22:12:24]OFD Sender: No OFD packet to send [22:12:29]OFD Sender: No OFD packet to send [22:12:34]OFD Sender: No OFD packet to send [22:12:39]OFD Sender: No OFD packet to send [22:12:44]OFD Sender: No OFD packet to send [22:12:49]OFD Sender: No OFD packet to send [22:12:54]OFD Sender: No OFD packet to send [22:12:59]OFD Sender: No OFD packet to send [22:13:04]OFD Sender: No OFD packet to send [22:13:09]OFD Sender: No OFD packet to send [22:13:14]OFD Sender: No OFD packet to send [22:13:19]OFD Sender: No OFD packet to send [22:13:24]OFD Sender: No OFD packet to send [22:13:29]OFD Sender: No OFD packet to send [22:13:34]OFD Sender: No OFD packet to send [22:13:39]OFD Sender: No OFD packet to send [22:13:44]OFD Sender: No OFD packet to send [22:13:49]OFD Sender: No OFD packet to send [22:13:54]OFD Sender: No OFD packet to send [22:13:59]OFD Sender: No OFD packet to send [22:14:04]OFD Sender: No OFD packet to send [22:14:09]OFD Sender: No OFD packet to send [22:14:14]OFD Sender: No OFD packet to send [22:14:19]OFD Sender: No OFD packet to send [22:14:24]OFD Sender: No OFD packet to send [22:14:29]OFD Sender: No OFD packet to send [22:14:34]OFD Sender: No OFD packet to send [22:14:39]OFD Sender: No OFD packet to send [22:14:44]OFD Sender: No OFD packet to send [22:14:49]OFD Sender: No OFD packet to send [22:14:54]OFD Sender: No OFD packet to send [22:14:59]OFD Sender: No OFD packet to send [22:15:04]OFD Sender: No OFD packet to send [22:15:09]OFD Sender: No OFD packet to send [22:15:14]OFD Sender: No OFD packet to send [22:15:19]OFD Sender: No OFD packet to send [22:15:24]OFD Sender: No OFD packet to send [22:15:29]OFD Sender: No OFD packet to send [22:15:34]OFD Sender: No OFD packet to send [22:15:39]OFD Sender: No OFD packet to send [22:15:44]OFD Sender: No OFD packet to send [22:15:49]OFD Sender: No OFD packet to send [22:15:54]OFD Sender: No OFD packet to send [22:15:59]OFD Sender: No OFD packet to send [22:16:04]OFD Sender: No OFD packet to send [22:16:09]OFD Sender: No OFD packet to send [22:16:14]OFD Sender: No OFD packet to send [22:16:19]OFD Sender: No OFD packet to send [22:16:24]OFD Sender: No OFD packet to send [22:16:29]OFD Sender: No OFD packet to send [22:16:34]OFD Sender: No OFD packet to send [22:16:39]OFD Sender: No OFD packet to send [22:16:44]OFD Sender: No OFD packet to send [22:16:49]OFD Sender: No OFD packet to send [22:16:54]OFD Sender: No OFD packet to send [22:16:59]OFD Sender: No OFD packet to send [22:17:04]OFD Sender: No OFD packet to send [22:17:09]OFD Sender: No OFD packet to send [22:17:14]OFD Sender: No OFD packet to send [22:17:19]OFD Sender: No OFD packet to send [22:17:24]OFD Sender: No OFD packet to send [22:17:29]OFD Sender: No OFD packet to send [22:17:34]OFD Sender: No OFD packet to send [22:17:39]OFD Sender: No OFD packet to send [22:17:44]OFD Sender: No OFD packet to send [22:17:49]OFD Sender: No OFD packet to send [22:17:54]OFD Sender: No OFD packet to send [22:17:59]OFD Sender: No OFD packet to send [22:18:04]OFD Sender: No OFD packet to send [22:18:09]OFD Sender: No OFD packet to send [22:18:14]OFD Sender: No OFD packet to send [22:18:19]OFD Sender: No OFD packet to send [22:18:24]OFD Sender: No OFD packet to send [22:18:29]OFD Sender: No OFD packet to send [22:18:34]OFD Sender: No OFD packet to send [22:18:39]OFD Sender: No OFD packet to send [22:18:44]OFD Sender: No OFD packet to send [22:18:49]OFD Sender: No OFD packet to send [22:18:54]OFD Sender: No OFD packet to send [22:18:59]OFD Sender: No OFD packet to send [22:19:04]OFD Sender: No OFD packet to send [22:19:09]OFD Sender: No OFD packet to send [22:19:14]OFD Sender: No OFD packet to send [22:19:19]OFD Sender: No OFD packet to send [22:19:24]OFD Sender: No OFD packet to send [22:19:29]OFD Sender: No OFD packet to send [22:19:34]OFD Sender: No OFD packet to send [22:19:39]OFD Sender: No OFD packet to send [22:19:44]OFD Sender: No OFD packet to send [22:19:49]OFD Sender: No OFD packet to send [22:19:54]OFD Sender: No OFD packet to send [22:19:59]OFD Sender: No OFD packet to send [22:20:04]OFD Sender: No OFD packet to send [22:20:09]OFD Sender: No OFD packet to send [22:20:14]OFD Sender: No OFD packet to send [22:20:19]OFD Sender: No OFD packet to send [22:20:24]OFD Sender: No OFD packet to send [22:20:29]OFD Sender: No OFD packet to send [22:20:34]OFD Sender: No OFD packet to send [22:20:39]OFD Sender: No OFD packet to send [22:20:44]OFD Sender: No OFD packet to send [22:20:49]OFD Sender: No OFD packet to send [22:20:54]OFD Sender: No OFD packet to send [22:20:59]OFD Sender: No OFD packet to send [22:21:04]OFD Sender: No OFD packet to send [22:21:09]OFD Sender: No OFD packet to send [22:21:14]OFD Sender: No OFD packet to send [22:21:19]OFD Sender: No OFD packet to send [22:21:24]OFD Sender: No OFD packet to send [22:21:29]OFD Sender: No OFD packet to send [22:21:34]OFD Sender: No OFD packet to send [22:21:39]OFD Sender: No OFD packet to send [22:21:44]OFD Sender: No OFD packet to send [22:21:49]OFD Sender: No OFD packet to send [22:21:54]OFD Sender: No OFD packet to send [22:21:59]OFD Sender: No OFD packet to send [22:22:04]OFD Sender: No OFD packet to send [22:22:09]OFD Sender: No OFD packet to send [22:22:14]OFD Sender: No OFD packet to send [22:22:19]OFD Sender: No OFD packet to send [22:22:24]OFD Sender: No OFD packet to send [22:22:29]OFD Sender: No OFD packet to send [22:22:34]OFD Sender: No OFD packet to send [22:22:39]OFD Sender: No OFD packet to send [22:22:44]OFD Sender: No OFD packet to send [22:22:49]OFD Sender: No OFD packet to send [22:22:54]OFD Sender: No OFD packet to send [22:22:59]OFD Sender: No OFD packet to send [22:23:04]OFD Sender: No OFD packet to send [22:23:09]OFD Sender: No OFD packet to send [22:23:14]OFD Sender: No OFD packet to send [22:23:19]OFD Sender: No OFD packet to send [22:23:24]OFD Sender: No OFD packet to send [22:23:29]OFD Sender: No OFD packet to send [22:23:34]OFD Sender: No OFD packet to send [22:23:39]OFD Sender: No OFD packet to send [22:23:44]OFD Sender: No OFD packet to send [22:23:49]OFD Sender: No OFD packet to send [22:23:54]OFD Sender: No OFD packet to send [22:23:59]OFD Sender: No OFD packet to send [22:24:04]OFD Sender: No OFD packet to send [22:24:09]OFD Sender: No OFD packet to send [22:24:14]OFD Sender: No OFD packet to send [22:24:19]OFD Sender: No OFD packet to send [22:24:24]OFD Sender: No OFD packet to send [22:24:29]OFD Sender: No OFD packet to send [22:24:34]OFD Sender: No OFD packet to send [22:24:39]OFD Sender: No OFD packet to send [22:24:44]OFD Sender: No OFD packet to send [22:24:49]OFD Sender: No OFD packet to send [22:24:54]OFD Sender: No OFD packet to send [22:24:59]OFD Sender: No OFD packet to send [22:25:04]OFD Sender: No OFD packet to send [22:25:09]OFD Sender: No OFD packet to send [22:25:14]OFD Sender: No OFD packet to send [22:25:19]OFD Sender: No OFD packet to send [22:25:24]OFD Sender: No OFD packet to send [22:25:29]OFD Sender: No OFD packet to send [22:25:34]OFD Sender: No OFD packet to send [22:25:39]OFD Sender: No OFD packet to send [22:25:44]OFD Sender: No OFD packet to send [22:25:49]OFD Sender: No OFD packet to send [22:25:54]OFD Sender: No OFD packet to send [22:25:59]OFD Sender: No OFD packet to send [22:26:04]OFD Sender: No OFD packet to send [22:26:09]OFD Sender: No OFD packet to send [22:26:14]OFD Sender: No OFD packet to send [22:26:19]OFD Sender: No OFD packet to send [22:26:24]OFD Sender: No OFD packet to send [22:26:29]OFD Sender: No OFD packet to send [22:26:34]OFD Sender: No OFD packet to send [22:26:39]OFD Sender: No OFD packet to send [22:26:44]OFD Sender: No OFD packet to send [22:26:49]OFD Sender: No OFD packet to send [22:26:54]OFD Sender: No OFD packet to send [22:26:59]OFD Sender: No OFD packet to send [22:27:04]OFD Sender: No OFD packet to send [22:27:09]OFD Sender: No OFD packet to send [22:27:14]OFD Sender: No OFD packet to send [22:27:19]OFD Sender: No OFD packet to send [22:27:24]OFD Sender: No OFD packet to send [22:27:29]OFD Sender: No OFD packet to send [22:27:34]OFD Sender: No OFD packet to send [22:27:39]OFD Sender: No OFD packet to send [22:27:44]OFD Sender: No OFD packet to send [22:27:49]OFD Sender: No OFD packet to send [22:27:54]OFD Sender: No OFD packet to send [22:27:59]OFD Sender: No OFD packet to send [22:28:04]OFD Sender: No OFD packet to send [22:28:09]OFD Sender: No OFD packet to send [22:28:14]OFD Sender: No OFD packet to send [22:28:19]OFD Sender: No OFD packet to send [22:28:24]OFD Sender: No OFD packet to send [22:28:29]OFD Sender: No OFD packet to send [22:28:34]OFD Sender: No OFD packet to send [22:28:39]OFD Sender: No OFD packet to send [22:28:44]OFD Sender: No OFD packet to send [22:28:49]OFD Sender: No OFD packet to send [22:28:54]OFD Sender: No OFD packet to send [22:28:59]OFD Sender: No OFD packet to send [22:29:04]OFD Sender: No OFD packet to send [22:29:10]OFD Sender: No OFD packet to send [22:29:15]OFD Sender: No OFD packet to send [22:29:20]OFD Sender: No OFD packet to send [22:29:25]OFD Sender: No OFD packet to send [22:29:30]OFD Sender: No OFD packet to send [22:29:35]OFD Sender: No OFD packet to send [22:29:40]OFD Sender: No OFD packet to send [22:29:45]OFD Sender: No OFD packet to send [22:29:50]OFD Sender: No OFD packet to send [22:29:55]OFD Sender: No OFD packet to send [22:30:00]OFD Sender: No OFD packet to send [22:30:05]OFD Sender: No OFD packet to send [22:30:10]OFD Sender: No OFD packet to send [22:30:15]OFD Sender: No OFD packet to send [22:30:20]OFD Sender: No OFD packet to send [22:30:25]OFD Sender: No OFD packet to send [22:30:30]OFD Sender: No OFD packet to send [22:30:35]OFD Sender: No OFD packet to send [22:30:40]OFD Sender: No OFD packet to send [22:30:45]OFD Sender: No OFD packet to send [22:30:50]OFD Sender: No OFD packet to send [22:30:55]OFD Sender: No OFD packet to send [22:31:00]OFD Sender: No OFD packet to send [22:31:05]OFD Sender: No OFD packet to send [22:31:10]OFD Sender: No OFD packet to send [22:31:15]OFD Sender: No OFD packet to send [22:31:20]OFD Sender: No OFD packet to send [22:31:25]OFD Sender: No OFD packet to send [22:31:30]OFD Sender: No OFD packet to send [22:31:35]OFD Sender: No OFD packet to send [22:31:40]OFD Sender: No OFD packet to send [22:31:45]OFD Sender: No OFD packet to send [22:31:50]OFD Sender: No OFD packet to send [22:31:55]OFD Sender: No OFD packet to send [22:32:00]OFD Sender: No OFD packet to send [22:32:05]OFD Sender: No OFD packet to send [22:32:10]OFD Sender: No OFD packet to send [22:32:15]OFD Sender: No OFD packet to send [22:32:20]OFD Sender: No OFD packet to send [22:32:25]OFD Sender: No OFD packet to send [22:32:30]OFD Sender: No OFD packet to send [22:32:35]OFD Sender: No OFD packet to send [22:32:40]OFD Sender: No OFD packet to send [22:32:45]OFD Sender: No OFD packet to send [22:32:50]OFD Sender: No OFD packet to send [22:32:55]OFD Sender: No OFD packet to send [22:33:00]OFD Sender: No OFD packet to send [22:33:05]OFD Sender: No OFD packet to send [22:33:10]OFD Sender: No OFD packet to send [22:33:15]OFD Sender: No OFD packet to send [22:33:20]OFD Sender: No OFD packet to send [22:33:25]OFD Sender: No OFD packet to send [22:33:30]OFD Sender: No OFD packet to send [22:33:35]OFD Sender: No OFD packet to send [22:33:40]OFD Sender: No OFD packet to send [22:33:45]OFD Sender: No OFD packet to send [22:33:50]OFD Sender: No OFD packet to send [22:33:55]OFD Sender: No OFD packet to send [22:34:00]OFD Sender: No OFD packet to send [22:34:05]OFD Sender: No OFD packet to send [22:34:10]OFD Sender: No OFD packet to send [22:34:15]OFD Sender: No OFD packet to send [22:34:20]OFD Sender: No OFD packet to send [22:34:25]OFD Sender: No OFD packet to send [22:34:30]OFD Sender: No OFD packet to send [22:34:35]OFD Sender: No OFD packet to send [22:34:40]OFD Sender: No OFD packet to send [22:34:45]OFD Sender: No OFD packet to send [22:34:50]OFD Sender: No OFD packet to send [22:34:55]OFD Sender: No OFD packet to send [22:35:00]OFD Sender: No OFD packet to send [22:35:05]OFD Sender: No OFD packet to send [22:35:10]OFD Sender: No OFD packet to send [22:35:15]OFD Sender: No OFD packet to send [22:35:20]OFD Sender: No OFD packet to send [22:35:25]OFD Sender: No OFD packet to send [22:35:30]OFD Sender: No OFD packet to send [22:35:35]OFD Sender: No OFD packet to send [22:35:40]OFD Sender: No OFD packet to send [22:35:45]OFD Sender: No OFD packet to send [22:35:50]OFD Sender: No OFD packet to send [22:35:55]OFD Sender: No OFD packet to send [22:36:00]OFD Sender: No OFD packet to send [22:36:05]OFD Sender: No OFD packet to send [22:36:10]OFD Sender: No OFD packet to send [22:36:15]OFD Sender: No OFD packet to send [22:36:20]OFD Sender: No OFD packet to send [22:36:25]OFD Sender: No OFD packet to send [22:36:30]OFD Sender: No OFD packet to send [22:36:35]OFD Sender: No OFD packet to send [22:36:40]OFD Sender: No OFD packet to send [22:36:45]OFD Sender: No OFD packet to send [22:36:50]OFD Sender: No OFD packet to send [22:36:55]OFD Sender: No OFD packet to send [22:37:00]OFD Sender: No OFD packet to send [22:37:05]OFD Sender: No OFD packet to send [22:37:10]OFD Sender: No OFD packet to send [22:37:15]OFD Sender: No OFD packet to send [22:37:20]OFD Sender: No OFD packet to send [22:37:25]OFD Sender: No OFD packet to send [22:37:30]OFD Sender: No OFD packet to send [22:37:35]OFD Sender: No OFD packet to send [22:37:40]OFD Sender: No OFD packet to send [22:37:45]OFD Sender: No OFD packet to send [22:37:50]OFD Sender: No OFD packet to send [22:37:55]OFD Sender: No OFD packet to send [22:38:00]OFD Sender: No OFD packet to send [22:38:05]OFD Sender: No OFD packet to send [22:38:10]OFD Sender: No OFD packet to send [22:38:15]OFD Sender: No OFD packet to send [22:38:20]OFD Sender: No OFD packet to send [22:38:25]OFD Sender: No OFD packet to send [22:38:30]OFD Sender: No OFD packet to send [22:38:35]OFD Sender: No OFD packet to send [22:38:40]OFD Sender: No OFD packet to send [22:38:45]OFD Sender: No OFD packet to send [22:38:50]OFD Sender: No OFD packet to send [22:38:55]OFD Sender: No OFD packet to send [22:39:00]OFD Sender: No OFD packet to send [22:39:05]OFD Sender: No OFD packet to send [22:39:10]OFD Sender: No OFD packet to send [22:39:15]OFD Sender: No OFD packet to send [22:39:20]OFD Sender: No OFD packet to send [22:39:25]OFD Sender: No OFD packet to send [22:39:30]OFD Sender: No OFD packet to send [22:39:35]OFD Sender: No OFD packet to send [22:39:40]OFD Sender: No OFD packet to send [22:39:45]OFD Sender: No OFD packet to send [22:39:50]OFD Sender: No OFD packet to send [22:39:55]OFD Sender: No OFD packet to send [22:40:00]OFD Sender: No OFD packet to send [22:40:05]OFD Sender: No OFD packet to send [22:40:10]OFD Sender: No OFD packet to send [22:40:15]OFD Sender: No OFD packet to send [22:40:20]OFD Sender: No OFD packet to send [22:40:25]OFD Sender: No OFD packet to send [22:40:30]OFD Sender: No OFD packet to send [22:40:35]OFD Sender: No OFD packet to send [22:40:40]OFD Sender: No OFD packet to send [22:40:45]OFD Sender: No OFD packet to send [22:40:50]OFD Sender: No OFD packet to send [22:40:55]OFD Sender: No OFD packet to send [22:41:00]OFD Sender: No OFD packet to send [22:41:05]OFD Sender: No OFD packet to send [22:41:10]OFD Sender: No OFD packet to send [22:41:15]OFD Sender: No OFD packet to send [22:41:20]OFD Sender: No OFD packet to send [22:41:25]OFD Sender: No OFD packet to send [22:41:30]OFD Sender: No OFD packet to send [22:41:35]OFD Sender: No OFD packet to send [22:41:40]OFD Sender: No OFD packet to send [22:41:45]OFD Sender: No OFD packet to send [22:41:50]OFD Sender: No OFD packet to send [22:41:55]OFD Sender: No OFD packet to send [22:42:00]OFD Sender: No OFD packet to send [22:42:05]OFD Sender: No OFD packet to send [22:42:10]OFD Sender: No OFD packet to send [22:42:15]OFD Sender: No OFD packet to send [22:42:20]OFD Sender: No OFD packet to send [22:42:25]OFD Sender: No OFD packet to send [22:42:30]OFD Sender: No OFD packet to send [22:42:40]OFD Sender: No OFD packet to send [22:42:45]OFD Sender: No OFD packet to send [22:42:50]OFD Sender: No OFD packet to send [22:42:55]OFD Sender: No OFD packet to send [22:43:00]OFD Sender: No OFD packet to send [22:43:05]OFD Sender: No OFD packet to send [22:43:10]OFD Sender: No OFD packet to send [22:43:15]OFD Sender: No OFD packet to send [22:43:20]OFD Sender: No OFD packet to send [22:43:25]OFD Sender: No OFD packet to send [22:43:30]OFD Sender: No OFD packet to send [22:43:35]OFD Sender: No OFD packet to send [22:43:40]OFD Sender: No OFD packet to send [22:43:45]OFD Sender: No OFD packet to send [22:43:50]OFD Sender: No OFD packet to send [22:43:55]OFD Sender: No OFD packet to send [22:44:00]OFD Sender: No OFD packet to send [22:44:05]OFD Sender: No OFD packet to send [22:44:10]OFD Sender: No OFD packet to send [22:44:15]OFD Sender: No OFD packet to send [22:44:20]OFD Sender: No OFD packet to send [22:44:25]OFD Sender: No OFD packet to send [22:44:30]OFD Sender: No OFD packet to send [22:44:35]OFD Sender: No OFD packet to send [22:44:40]OFD Sender: No OFD packet to send [22:44:45]OFD Sender: No OFD packet to send [22:44:48]ConnectInit Can't connect to host [22:44:50]OFD Sender: No OFD packet to send [22:44:55]OFD Sender: No OFD packet to send [22:45:00]OFD Sender: No OFD packet to send [22:45:05]OFD Sender: No OFD packet to send [22:45:10]OFD Sender: No OFD packet to send [22:45:20]OFD Sender: No OFD packet to send [22:45:25]OFD Sender: No OFD packet to send [22:45:30]OFD Sender: No OFD packet to send [22:45:35]OFD Sender: No OFD packet to send [22:45:40]OFD Sender: No OFD packet to send [22:45:45]OFD Sender: No OFD packet to send [22:45:50]OFD Sender: No OFD packet to send [22:45:55]OFD Sender: No OFD packet to send [22:46:00]OFD Sender: No OFD packet to send [22:46:05]OFD Sender: No OFD packet to send [22:46:10]OFD Sender: No OFD packet to send [22:46:15]OFD Sender: No OFD packet to send [22:46:20]OFD Sender: No OFD packet to send [22:46:25]OFD Sender: No OFD packet to send [22:46:30]OFD Sender: No OFD packet to send [22:46:35]OFD Sender: No OFD packet to send [22:46:40]OFD Sender: No OFD packet to send [22:46:45]OFD Sender: No OFD packet to send [22:46:50]OFD Sender: No OFD packet to send [22:46:55]OFD Sender: No OFD packet to send [22:47:00]OFD Sender: No OFD packet to send [22:47:05]OFD Sender: No OFD packet to send [22:47:10]OFD Sender: No OFD packet to send [22:47:15]OFD Sender: No OFD packet to send [22:47:20]OFD Sender: No OFD packet to send [22:47:25]OFD Sender: No OFD packet to send [22:47:27]ConnectInit Can't connect to host [22:47:30]OFD Sender: No OFD packet to send [22:47:35]OFD Sender: No OFD packet to send [22:47:40]OFD Sender: No OFD packet to send [22:47:45]OFD Sender: No OFD packet to send [22:47:51]OFD Sender: No OFD packet to send [22:47:56]OFD Sender: No OFD packet to send [22:48:01]OFD Sender: No OFD packet to send [22:48:06]OFD Sender: No OFD packet to send [22:48:11]OFD Sender: No OFD packet to send [22:48:16]OFD Sender: No OFD packet to send [22:48:21]OFD Sender: No OFD packet to send [22:48:26]OFD Sender: No OFD packet to send [22:48:31]OFD Sender: No OFD packet to send [22:48:36]OFD Sender: No OFD packet to send [22:48:41]OFD Sender: No OFD packet to send [22:48:46]OFD Sender: No OFD packet to send [22:48:51]OFD Sender: No OFD packet to send [22:48:56]OFD Sender: No OFD packet to send [22:49:01]OFD Sender: No OFD packet to send [22:50:44]wFMCommunicate request_size=13 [22:50:44]MH_SAM_APDU [22:50:44]CAPDU: 80 15 02 00 08 F4 03 04 00 C7 C3 1E 67 [22:50:44]Write to MH i2c: E2 10 00 53 14 80 15 02 00 08 00 F4 03 04 00 C7 C3 1E 67 00 00 01 [22:50:44]Write i2c OK [22:50:44]MH_I2C_Read... [22:50:44]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [22:50:44]Read from MH i2c: E2 [22:50:44]MH_I2C_Read... [22:50:44]Read from MH i2c: E2 03 00 [22:50:44]MH_I2C_Read... [22:50:44]Read from MH i2c: E2 03 00 53 14 00 90 00 DB [22:50:44]RAPDU: 90 00 [22:50:44]wFMCommunicate OK [22:50:44]wFMCommunicate request_size=25 [22:50:44]MH_SAM_APDU [22:50:44]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 [22:50:44]Write to MH i2c: E2 1C 00 54 14 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 4D [22:50:44]Write i2c OK [22:50:44]MH_I2C_Read... [22:50:44]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [22:50:44]Read from MH i2c: E2 [22:50:44]MH_I2C_Read... [22:50:44]Read from MH i2c: E2 03 00 [22:50:44]MH_I2C_Read... [22:50:44]Read from MH i2c: E2 03 00 54 14 00 90 00 DC [22:50:44]RAPDU: 90 00 [22:50:44]wFMCommunicate OK [22:50:44]wFMCommunicate request_size=4 [22:50:44]MH_SAM_APDU [22:50:44]CAPDU: 80 15 03 00 [22:50:44]Write to MH i2c: E2 08 00 55 14 80 15 03 00 00 00 00 00 EA [22:50:44]Write i2c OK [22:50:44]MH_I2C_Read... [22:50:44]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 61! [22:50:44]Read from MH i2c: E2 [22:50:44]MH_I2C_Read... [22:50:44]Read from MH i2c: E2 40 00 [22:50:44]MH_I2C_Read... [22:50:44]Read from MH i2c: E2 40 00 55 14 00 3B 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 78 93 00 00 0E 04 04 00 26 02 00 00 12 04 04 00 4E 00 00 00 35 04 06 00 77 B8 BE E3 C3 E2 90 00 D3 [22:50:44]RAPDU: 3B 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 78 93 00 00 0E 04 04 00 26 02 00 00 12 04 04 00 4E 00 00 00 35 04 06 00 77 B8 BE E3 C3 E2 90 00 [22:50:44]wFMCommunicate OK [22:50:44]SAM_PROTO_ProcessDocument answer len = 59 [22:50:44]SAM_PROTO_ProcessDocument done [22:50:44]SetTLVBufToDocument [22:50:44]Processing tag 1209 (04B9) [22:50:44]Malloc new data [22:50:44]Processing tag 1041 (0411) [22:50:44]Processing tag 1040 (0410) [22:50:44]Malloc new data [22:50:44]Processing tag 1038 (040E) [22:50:44]Malloc new data [22:50:44]Processing tag 1042 (0412) [22:50:44]Malloc new data [22:50:44]Processing tag 1077 (0435) [22:50:44]Malloc new data [22:50:44]SetTLVBufToDocument err=0 [22:50:44]KKMLoadAndSignReceiptData store KKM data [22:50:44]KKMLoadAndSignReceiptData err=0 [22:50:44]wFMCommunicate request_size=4 [22:50:44]MH_SAM_APDU [22:50:44]CAPDU: 80 11 00 00 [22:50:44]Write to MH i2c: E2 08 00 56 14 80 11 00 00 00 00 00 00 E4 [22:50:44]Write i2c OK [22:50:44]MH_I2C_Read... [22:50:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:50:44]Read from MH i2c: E2 [22:50:44]MH_I2C_Read... [22:50:44]Read from MH i2c: E2 17 00 [22:50:44]MH_I2C_Read... [22:50:44]Read from MH i2c: E2 17 00 56 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 34 [22:50:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [22:50:44]wFMCommunicate OK [22:50:44]Счет N : (3)35050 ИНН: 02508201610067 Контрольно-Кассовый Чек ПРОДАЖА Товар: 4600682557456 Напиток FLash up energy эн ж/б 0,5/0,45л 1.000 * 69.00 = 69.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 69.00 НСП 1% : 0.61 НДС 12% : 7.33 Наличными: 69.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 78 27.10.2024 22:50 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37752 ФПД: 131635360285666 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T225047&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37752&fm=131635360285666&tin=02508201610067®Number=0000000000091684&sum=6900 0 [22:50:44]StoreToDocumentArchive [22:50:44]shift 550 fd 37752 [22:50:44]save to /storage/0550/doc_00037752 [22:50:44]save last doc name /storage/0550/doc_00037752 to /storage/kkm_last_doc_name [22:50:44]save OK [22:50:44]Clear old archive folders... [22:50:44]ProcessDocumentItem done err = 0, tmpTLVsize=294 [22:50:44]tlvbuf is 0029E280 [22:50:44]SAM_PROTO_ClearQueue [22:50:44]wFMCommunicate request_size=4 [22:50:44]MH_SAM_APDU [22:50:44]CAPDU: 80 09 00 00 [22:50:44]Write to MH i2c: E2 08 00 57 14 80 09 00 00 00 00 00 00 DD [22:50:44]Write i2c OK [22:50:44]MH_I2C_Read... [22:50:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:50:44]Read from MH i2c: E2 [22:50:44]MH_I2C_Read... [22:50:44]Read from MH i2c: E2 03 00 [22:50:44]MH_I2C_Read... [22:50:44]Read from MH i2c: E2 03 00 57 14 00 90 00 DF [22:50:44]RAPDU: 90 00 [22:50:44]wFMCommunicate OK [22:50:44]SAM_PROTO_ClearQueue done [22:50:44]KKMCreateOFDPacket [22:50:44]OFDProtocolAddRootSTLVToBuf [22:50:44]FM_MakeSignedData [22:50:44]FM_MakeSignedData [22:50:44]SAM_PROTO_SignData [22:50:44]wFMCommunicate request_size=4 [22:50:44]MH_SAM_APDU [22:50:44]CAPDU: 80 0D 01 02 [22:50:44]Write to MH i2c: E2 08 00 58 14 80 0D 01 02 00 00 00 00 E5 [22:50:44]Write i2c OK [22:50:44]MH_I2C_Read... [22:50:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:50:44]Read from MH i2c: E2 [22:50:44]MH_I2C_Read... [22:50:44]Read from MH i2c: E2 03 00 [22:50:44]MH_I2C_Read... [22:50:44]Read from MH i2c: E2 03 00 58 14 00 90 00 E0 [22:50:44]RAPDU: 90 00 [22:50:44]wFMCommunicate OK [22:50:44]wFMCommunicate request_size=255 [22:50:44]MH_SAM_APDU [22:50:44]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 4E 00 00 00 F4 03 04 00 C7 C3 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [22:50:44]Write to MH i2c: E2 02 01 59 14 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 4E 00 00 00 F4 03 04 00 C7 C3 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 79 [22:50:44]Write i2c OK [22:50:44]MH_I2C_Read... [22:50:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:50:44]Read from MH i2c: E2 [22:50:44]MH_I2C_Read... [22:50:44]Read from MH i2c: E2 03 00 [22:50:44]MH_I2C_Read... [22:50:44]Read from MH i2c: E2 03 00 59 14 00 90 00 E1 [22:50:44]RAPDU: 90 00 [22:50:44]wFMCommunicate OK [22:50:44]wFMCommunicate request_size=53 [22:50:44]MH_SAM_APDU [22:50:44]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 78 93 00 00 35 04 06 00 77 B8 BE E3 C3 E2 [22:50:44]Write to MH i2c: E2 38 00 5A 14 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 78 93 00 00 35 04 06 00 77 B8 BE E3 C3 E2 00 00 5D [22:50:44]Write i2c OK [22:50:44]MH_I2C_Read... [22:50:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:50:45]Read from MH i2c: E2 [22:50:45]MH_I2C_Read... [22:50:45]Read from MH i2c: E2 03 00 [22:50:45]MH_I2C_Read... [22:50:45]Read from MH i2c: E2 03 00 5A 14 00 90 00 E2 [22:50:45]RAPDU: 90 00 [22:50:45]wFMCommunicate OK [22:50:45]wFMCommunicate request_size=4 [22:50:45]MH_SAM_APDU [22:50:45]CAPDU: 80 0D 03 02 [22:50:45]Write to MH i2c: E2 08 00 5B 14 80 0D 03 02 00 00 00 00 EA [22:50:45]Write i2c OK [22:50:45]MH_I2C_Read... [22:50:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:50:45]Read from MH i2c: E2 [22:50:45]MH_I2C_Read... [22:50:45]Read from MH i2c: E2 0B 00 [22:50:45]MH_I2C_Read... [22:50:45]Read from MH i2c: E2 0B 00 5B 14 00 5A 94 7B 4F 93 AC 95 5D 90 00 D4 [22:50:45]RAPDU: 5A 94 7B 4F 93 AC 95 5D 90 00 [22:50:45]wFMCommunicate OK [22:50:45]SAM_PROTO_SignData done [22:50:45]FM_MakeSignedData done [22:50:45]CreateOFDProtocolMessage [22:50:45]wFMCommunicate request_size=4 [22:50:45]MH_SAM_APDU [22:50:45]CAPDU: 80 11 00 00 [22:50:45]Write to MH i2c: E2 08 00 5C 14 80 11 00 00 00 00 00 00 EA [22:50:45]Write i2c OK [22:50:45]MH_I2C_Read... [22:50:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:50:45]Read from MH i2c: E2 [22:50:45]MH_I2C_Read... [22:50:45]Read from MH i2c: E2 17 00 [22:50:45]MH_I2C_Read... [22:50:45]Read from MH i2c: E2 17 00 5C 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 3A [22:50:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [22:50:45]wFMCommunicate OK [22:50:45]CreateOFDProtocolMessage done [22:50:45]OFDSenderStorePacket 37752 [22:50:45]StoreOFDPacket docnum=37752 [22:50: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 3A 01 00 00 FE 8C 32 01 89 20 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 4E 00 00 00 F4 03 04 00 C7 C3 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 78 93 00 00 35 04 06 00 77 B8 BE E3 C3 E2 5A 94 7B 4F 93 AC 95 5D [22:50:45]CheckFolder [22:50:45]dirname=/storage/ofd_packets [22:50:45]CheckFolder done [22:50:45]ProducePacketName [22:50:45]name=ofd_packets/00037752 [22:50:45]NVStorageSaveData ofd_packets/00037752 [22:50:45]File name is /storage/ofd_packets/00037752 [22:50:45]Write 344 bytes [22:50:45]NVStorageSaveData done [22:50:45]OFDSenderStorePacket done [22:50:45]KKMCreateOFDPacket done [22:50:45]NVStorageSaveData kkm_last_timestamp [22:50:45]File name is /storage/kkm_last_timestamp [22:50:45]Write 4 bytes [22:50:45]NVStorageSaveData done [22:50:45]ExternCall_PrintAddStr [22:50:45]wPrintStart [22:50:45]Write to MH i2c: 01 00 00 5D 14 71 [22:50:45]Write i2c OK [22:50:45]MH_I2C_Read... [22:50:45]Read from MH i2c: 01 [22:50:45]MH_I2C_Read... [22:50:45]Read from MH i2c: 01 07 00 [22:50:45]MH_I2C_Read... [22:50:45]Read from MH i2c: 01 07 00 5D 14 00 00 00 00 00 FF 0F 86 [22:50:45]RasterBufferAndPrint [22:50:45]line Счет N : (3)35050 [22:50:45]line ИНН: 02508201610067 [22:50:45]line Контрольно-Кассовый Чек [22:50:45]line ПРОДАЖА [22:50:45]line Товар: 4600682557456 [22:50:45]line Напиток FLash up energy эн ж/б 0,5/0,45л [22:50:45]line 1.000 * 69.00 [22:50:45]line = 69.00 [22:50:45]line НДС 12% НСП 1% [22:50:45]line > о реализуемом товаре [22:50:45]line ИТОГО: 69.00 [22:50:45]line НСП 1% : 0.61 [22:50:45]line НДС 12% : 7.33 [22:50:45]line Наличными: 69.00 [22:50:45]line Безнал.: 0.00 [22:50:45]line Место: АЗС № 126 "Партнер Нефть" [22:50:45]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [22:50:45]line СНО: Общий режим [22:50:45]line Чек 78 27.10.2024 22:50 [22:50:45]line Смена: 550 ФФД: 1.0 [22:50:45]line ЗНМ: 0300000092 [22:50:45]line РНМ: 0000000000091684 [22:50:45]line Версия ККМ: 001 [22:50:45]line ФМ: 0000000000871841 [22:50:45]line ФД: 37752 [22:50:45]line ФПД: 131635360285666 [22:50:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T225047&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37752&fm=131635360285666&tin=02508201610067®Number=0000000000091684&sum=6900 [22:50:45]line 0 [22:50:45]OFD Sender: Processing packet 37752 [packets to send 42, broken 41] [22:50:45]ProducePacketName [22:50:45]name=ofd_packets/00037752 [22:50:45]OFD Sender: To server: pG, [22:50:45]CommunicateWithHost lk.salyk.kg:30040 [22:50:45]ConnectInit lk.salyk.kg [22:50:45]written 0, free lines is 4095 [22:50:45]Connected sock=11 [22:50: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 3A 01 00 00 FE 8C 32 01 89 20 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 4E 00 00 00 F4 03 04 00 C7 C3 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 78 93 00 00 35 04 06 00 77 B8 BE E3 C3 E2 5A 94 7B 4F 93 AC 95 5D [22:50:45]Write to MH i2c: 01 00 00 86 14 9A [22:50:45]Write i2c OK [22:50:45]MH_I2C_Read... [22:50:45]Read from MH i2c: 01 [22:50:45]MH_I2C_Read... [22:50:45]Read from MH i2c: 01 07 00 [22:50:45]MH_I2C_Read... [22:50:45]Read from MH i2c: 01 07 00 86 14 00 00 00 00 00 C2 0C 6F [22:50:45]RasterBufferAndPrint [22:50:45]line [22:50:45]line [22:50:45]line [22:50:45]line [22:50:45]line [22:50:45]written 0, free lines is 3272 [22:50:45]MH_Cut [22:50:45]Write to MH i2c: D1 01 00 8D 14 01 73 [22:50:45]Write i2c OK [22:50:45]MH_I2C_Read... [22:50:45]Read from MH i2c: D1 [22:50:45]MH_I2C_Read... [22:50:45]Read from MH i2c: D1 01 00 [22:50:45]MH_I2C_Read... [22:50:45]Read from MH i2c: D1 01 00 8D 14 00 72 [22:50:45]Write to MH i2c: 01 00 00 8E 14 A2 [22:50:45]Write i2c OK [22:50:45]MH_I2C_Read... [22:50: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 59 78 47 00 55 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 78 93 00 00 F4 03 04 00 BE 6E 1E 67 B6 04 01 00 00 3B B1 C8 F9 38 19 73 5F [22:50:46]CommunicateWithHost err = 0 [22:50:46]CheckOFDResponse [22:50:46]1017 (14) - 77093643461234 [22:50:46]1041 (16) - 0000000000871841 [22:50:46]1040 (4) - 37752 [22:50:46]1012 (4) - 27.10.2024 16:47 [22:50:46]1206 (1) - 0 [22:50:46]OFD Sender: Remove packet 37752 [22:50:46]ProducePacketName [22:50:46]name=ofd_packets/00037752 [22:50:46]NVStorageDeleteData [22:50:46]OFD Sender: No OFD packet to send [22:50:46]*** Cut start [22:50:46]*** Partial cut [22:50:46]*** CUTSNS_PIN = 1 [22:50:46]*** CUTSNS_PIN = 0 [22:50:47]*** Brake cut motor [22:50:47]Read from MH i2c: 01 [22:50:47]MH_I2C_Read... [22:50:47]*** Stop cut motor [22:50:47]*** Cut end [22:50:47]Read from MH i2c: 01 07 00 [22:50:47]MH_I2C_Read... [22:50:47]Read from MH i2c: 01 07 00 8E 14 00 00 00 00 00 FF 0F B7 [22:50:47]process_action close_receipt done [22:50:47]requested_data is exist [22:50:47]produce_requested_data [22:50:47]requested_item fm.sn is exist - process it [22:50:47]wFMCommunicate request_size=4 [22:50:47]MH_SAM_APDU [22:50:47]CAPDU: 80 11 00 00 [22:50:47]Write to MH i2c: E2 08 00 8F 14 80 11 00 00 00 00 00 00 1D [22:50:47]Write i2c OK [22:50:47]MH_I2C_Read... [22:50:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:50:47]Read from MH i2c: E2 [22:50:47]MH_I2C_Read... [22:50:47]Read from MH i2c: E2 17 00 [22:50:47]MH_I2C_Read... [22:50:47]Read from MH i2c: E2 17 00 8F 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 6D [22:50:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [22:50:47]wFMCommunicate OK [22:50:47]requested_item fd.num is exist - process it [22:50:47]SAM_PROTO_GetFieldsCounters [22:50:47]wFMCommunicate request_size=4 [22:50:47]MH_SAM_APDU [22:50:47]CAPDU: 80 13 00 00 [22:50:47]Write to MH i2c: E2 08 00 90 14 80 13 00 00 00 00 00 00 20 [22:50:47]Write i2c OK [22:50:47]MH_I2C_Read... [22:50:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:50:47]Read from MH i2c: E2 [22:50:47]MH_I2C_Read... [22:50:47]Read from MH i2c: E2 62 00 [22:50:47]MH_I2C_Read... [22:50:47]Read from MH i2c: E2 62 00 90 14 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 78 93 00 00 0E 04 04 00 26 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 5E [22:50: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 78 93 00 00 0E 04 04 00 26 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 [22:50:47]wFMCommunicate OK [22:50:47]SAM_PROTO_GetFieldsCounters done [22:50:47]requested_item shift.num is exist - process it [22:50:47]requested_item shift.opened is exist - process it [22:50:47]req_shift_opened [22:50:47]FM_GetShiftState [22:50:47]SAM_PROTO_GetShiftState [22:50:47]wFMCommunicate request_size=4 [22:50:47]MH_SAM_APDU [22:50:47]CAPDU: 80 13 01 00 [22:50:47]Write to MH i2c: E2 08 00 91 14 80 13 01 00 00 00 00 00 22 [22:50:47]Write i2c OK [22:50:47]MH_I2C_Read... [22:50:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:50:47]Read from MH i2c: E2 [22:50:47]MH_I2C_Read... [22:50:47]Read from MH i2c: E2 0E 00 [22:50:47]MH_I2C_Read... [22:50:47]Read from MH i2c: E2 0E 00 91 14 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 D9 [22:50:47]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [22:50:47]wFMCommunicate OK [22:50:47]SAM_PROTO_GetShiftState done [22:50:47]FM_GetShiftState done [22:50:47]req_shift_opened done [22:50:47]requested_item shift.open_date is exist - process it [22:50:47]req_shift_open_date [22:50:47]req_shift_open_date done [22:50:47]produce_requested_data done [22:50:47]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37752,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [22:50:47]process_action_free close_receipt [22:50:47]json_value_free [22:50:47]json_value_free done [22:50:47]process_json_proto returns [22:50:47]Send response to host [22:50:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37752,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [22:50:47]free response buf [22:50:47]execute_script done [22:50:47]execute_script returns [22:50:47]free content buf [22:50:47]Sock 7.Close socket [22:50:47]Sock 7.Thread stoped [22:50:51]OFD Sender: No OFD packet to send [22:50:56]OFD Sender: No OFD packet to send [22:51:01]OFD Sender: No OFD packet to send [22:51:06]OFD Sender: No OFD packet to send [22:51:11]OFD Sender: No OFD packet to send [22:51:16]OFD Sender: No OFD packet to send [22:51:21]OFD Sender: No OFD packet to send [22:51:26]OFD Sender: No OFD packet to send [22:51:31]OFD Sender: No OFD packet to send [22:51:36]OFD Sender: No OFD packet to send [22:51:41]OFD Sender: No OFD packet to send [22:51:46]OFD Sender: No OFD packet to send [22:51:51]OFD Sender: No OFD packet to send [22:51:56]OFD Sender: No OFD packet to send [22:52:01]OFD Sender: No OFD packet to send [22:52:06]OFD Sender: No OFD packet to send [22:52:11]OFD Sender: No OFD packet to send [22:52:16]OFD Sender: No OFD packet to send [22:52:21]OFD Sender: No OFD packet to send [22:52:26]OFD Sender: No OFD packet to send [22:52:29]ConnectInit Can't connect to host [22:52:31]OFD Sender: No OFD packet to send [22:52:36]OFD Sender: No OFD packet to send [22:52:41]OFD Sender: No OFD packet to send [22:52:46]OFD Sender: No OFD packet to send [22:52:51]OFD Sender: No OFD packet to send [22:52:56]OFD Sender: No OFD packet to send [22:53:01]OFD Sender: No OFD packet to send [22:53:06]OFD Sender: No OFD packet to send [22:53:11]OFD Sender: No OFD packet to send [22:53:16]OFD Sender: No OFD packet to send [22:53:21]OFD Sender: No OFD packet to send [22:53:26]OFD Sender: No OFD packet to send [22:53:31]OFD Sender: No OFD packet to send [22:53:36]OFD Sender: No OFD packet to send [22:53:41]OFD Sender: No OFD packet to send [22:53:46]OFD Sender: No OFD packet to send [22:53:51]OFD Sender: No OFD packet to send [22:53:56]OFD Sender: No OFD packet to send [22:54:01]OFD Sender: No OFD packet to send [22:54:06]OFD Sender: No OFD packet to send [22:54:11]OFD Sender: No OFD packet to send [22:54:16]OFD Sender: No OFD packet to send [22:54:21]OFD Sender: No OFD packet to send [22:54:26]OFD Sender: No OFD packet to send [22:54:31]OFD Sender: No OFD packet to send [22:54:36]OFD Sender: No OFD packet to send [22:54:41]OFD Sender: No OFD packet to send [22:54:46]OFD Sender: No OFD packet to send [22:54:48]ConnectInit Can't connect to host [22:54:51]OFD Sender: No OFD packet to send [22:54:56]OFD Sender: No OFD packet to send [22:55:01]OFD Sender: No OFD packet to send [22:55:06]OFD Sender: No OFD packet to send [22:55:11]OFD Sender: No OFD packet to send [22:55:16]OFD Sender: No OFD packet to send [22:55:21]OFD Sender: No OFD packet to send [22:55:26]OFD Sender: No OFD packet to send [22:55:31]OFD Sender: No OFD packet to send [22:55:36]OFD Sender: No OFD packet to send [22:55:41]OFD Sender: No OFD packet to send [22:55:46]OFD Sender: No OFD packet to send [22:55:51]OFD Sender: No OFD packet to send [22:55:56]OFD Sender: No OFD packet to send [22:56:01]OFD Sender: No OFD packet to send [22:56:06]OFD Sender: No OFD packet to send [22:56:11]OFD Sender: No OFD packet to send [22:56:16]OFD Sender: No OFD packet to send [22:56:21]OFD Sender: No OFD packet to send [22:56:26]OFD Sender: No OFD packet to send [22:56:31]OFD Sender: No OFD packet to send [22:56:36]OFD Sender: No OFD packet to send [22:56:41]OFD Sender: No OFD packet to send [22:56:46]OFD Sender: No OFD packet to send [22:56:51]OFD Sender: No OFD packet to send [22:56:56]OFD Sender: No OFD packet to send [22:57:01]OFD Sender: No OFD packet to send [22:57:06]OFD Sender: No OFD packet to send [22:57:11]OFD Sender: No OFD packet to send [22:57:16]OFD Sender: No OFD packet to send [22:57:21]OFD Sender: No OFD packet to send [22:57:26]OFD Sender: No OFD packet to send [22:57:31]OFD Sender: No OFD packet to send [22:57:36]OFD Sender: No OFD packet to send [22:57:40]accept exits with 10 [22:57:40]New connection [22:57:40]New thread 3067440484 created [22:57:40]Thread 3067297124 joined [22:57:40]Waiting for new connection... [22:57:40] Sock 10.Parse request [22:57:40]Sock 10.Check first char [22:57:40]Sock 10.First char is OK [22:57:40]request: POST /json_proto HTTP/1.0 [22:57:40]Method: POST [22:57:40]URL: /json_proto [22:57:40]Method is POST - this is cgi request [22:57:40]url: /json_proto [22:57:40]query_string will be loaded in cgi processing [22:57:40]execute_cgi json_proto POST (null) [22:57:40]execute_cgi path=json_proto method=POST [22:57:40]POST find Content-Length [22:57:40]Host: 172.17.40.196:8080 [22:57:40]Content-Length: 622 [22:57:40]Content-Type: application/json [22:57:40] [22:57:40]POST finish read [22:57:40]Found Content-Length = 622 [22:57:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35051", "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" ] } } [22:57:40]execute_script... [22:57:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35051", "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" ] } } [22:57:40]POST & json_proto [22:57:40]process_json_proto [22:57:40]json parsed OK: [22:57:40]protocol is kg_v1.0 [22:57:40]action value=close_receipt [22:57:40]process_action close_receipt [22:57:40]cmd_close_receipt [22:57:40]MH_GetDate [22:57:40]Write to MH i2c: F0 00 00 92 14 95 [22:57:40]Write i2c OK [22:57:40]MH_I2C_Read... [22:57:40]Read from MH i2c: F0 [22:57:40]MH_I2C_Read... [22:57:40]Read from MH i2c: F0 09 00 [22:57:40]MH_I2C_Read... [22:57:40]Read from MH i2c: F0 09 00 92 14 00 68 C5 1E 67 5B 68 A1 66 1A [22:57:40]GetLastDocTimeStamp 1730069447 [22:57:40]current date 1730069864 [22:57:40]FM_GetShiftState [22:57:40]SAM_PROTO_GetShiftState [22:57:40]wFMCommunicate request_size=4 [22:57:40]MH_SAM_APDU [22:57:40]CAPDU: 80 13 01 00 [22:57:40]Write to MH i2c: E2 08 00 93 14 80 13 01 00 00 00 00 00 24 [22:57:40]Write i2c OK [22:57:40]MH_I2C_Read... [22:57:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:57:40]Read from MH i2c: E2 [22:57:40]MH_I2C_Read... [22:57:40]Read from MH i2c: E2 0E 00 [22:57:40]MH_I2C_Read... [22:57:40]Read from MH i2c: E2 0E 00 93 14 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 DB [22:57:40]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [22:57:40]wFMCommunicate OK [22:57:40]SAM_PROTO_GetShiftState done [22:57:40]FM_GetShiftState done [22:57:40]opened in 1729987492 [22:57:40]opened+sec_in_day 1730073892 [22:57:40]quantity*price = 14400 [22:57:40]sum+1 = 14401 [22:57:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 79 27.10.2024 22:57 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37753 ФПД: 87848545393593 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T225745&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37753&fm=87848545393593&tin=02508201610067®Number=0000000000091684&sum=14400 0 [22:57:41]StoreToDocumentArchive [22:57:41]shift 550 fd 37753 [22:57:41]save to /storage/0550/doc_00037753 [22:57:41]save last doc name /storage/0550/doc_00037753 to /storage/kkm_last_doc_name [22:57:41]save OK [22:57:41]Clear old archive folders... [22:57:41]ProcessDocumentItem done err = 0, tmpTLVsize=275 [22:57:41]tlvbuf is 00210050 [22:57:41]SAM_PROTO_ClearQueue [22:57:41]wFMCommunicate request_size=4 [22:57:41]MH_SAM_APDU [22:57:41]CAPDU: 80 09 00 00 [22:57:41]Write to MH i2c: E2 08 00 A0 14 80 09 00 00 00 00 00 00 26 [22:57:41]Write i2c OK [22:57:41]MH_I2C_Read... [22:57:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:57:41]Read from MH i2c: E2 [22:57:41]MH_I2C_Read... [22:57:41]Read from MH i2c: E2 03 00 [22:57:41]MH_I2C_Read... [22:57:41]Read from MH i2c: E2 03 00 A0 14 00 90 00 28 [22:57:41]RAPDU: 90 00 [22:57:41]wFMCommunicate OK [22:57:41]SAM_PROTO_ClearQueue done [22:57:41]KKMCreateOFDPacket [22:57:41]OFDProtocolAddRootSTLVToBuf [22:57:41]FM_MakeSignedData [22:57:41]FM_MakeSignedData [22:57:41]SAM_PROTO_SignData [22:57:41]wFMCommunicate request_size=4 [22:57:41]MH_SAM_APDU [22:57:41]CAPDU: 80 0D 01 02 [22:57:41]Write to MH i2c: E2 08 00 A1 14 80 0D 01 02 00 00 00 00 2E [22:57:41]Write i2c OK [22:57:41]MH_I2C_Read... [22:57:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:57:41]Read from MH i2c: E2 [22:57:41]MH_I2C_Read... [22:57:41]Read from MH i2c: E2 03 00 [22:57:41]MH_I2C_Read... [22:57:41]Read from MH i2c: E2 03 00 A1 14 00 90 00 29 [22:57:41]RAPDU: 90 00 [22:57:41]wFMCommunicate OK [22:57:41]wFMCommunicate request_size=255 [22:57:41]MH_SAM_APDU [22:57:41]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 4F 00 00 00 F4 03 04 00 69 C5 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [22:57:41]Write to MH i2c: E2 02 01 A2 14 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 4F 00 00 00 F4 03 04 00 69 C5 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 60 [22:57:41]Write i2c OK [22:57:41]MH_I2C_Read... [22:57:41]OFD Sender: No OFD packet to send [22:57:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:57:41]Read from MH i2c: E2 [22:57:41]MH_I2C_Read... [22:57:41]Read from MH i2c: E2 03 00 [22:57:41]MH_I2C_Read... [22:57:41]Read from MH i2c: E2 03 00 A2 14 00 90 00 2A [22:57:41]RAPDU: 90 00 [22:57:41]wFMCommunicate OK [22:57:41]wFMCommunicate request_size=34 [22:57:41]MH_SAM_APDU [22:57:41]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 79 93 00 00 35 04 06 00 4F E5 D5 57 9B B9 [22:57:41]Write to MH i2c: E2 25 00 A3 14 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 79 93 00 00 35 04 06 00 4F E5 D5 57 9B B9 00 00 AF [22:57:41]Write i2c OK [22:57:41]MH_I2C_Read... [22:57:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:57:42]Read from MH i2c: E2 [22:57:42]MH_I2C_Read... [22:57:42]Read from MH i2c: E2 03 00 [22:57:42]MH_I2C_Read... [22:57:42]Read from MH i2c: E2 03 00 A3 14 00 90 00 2B [22:57:42]RAPDU: 90 00 [22:57:42]wFMCommunicate OK [22:57:42]wFMCommunicate request_size=4 [22:57:42]MH_SAM_APDU [22:57:42]CAPDU: 80 0D 03 02 [22:57:42]Write to MH i2c: E2 08 00 A4 14 80 0D 03 02 00 00 00 00 33 [22:57:42]Write i2c OK [22:57:42]MH_I2C_Read... [22:57:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:57:42]Read from MH i2c: E2 [22:57:42]MH_I2C_Read... [22:57:42]Read from MH i2c: E2 0B 00 [22:57:42]MH_I2C_Read... [22:57:42]Read from MH i2c: E2 0B 00 A4 14 00 6E 3D DC 27 B0 6C DC 0C 90 00 E6 [22:57:42]RAPDU: 6E 3D DC 27 B0 6C DC 0C 90 00 [22:57:42]wFMCommunicate OK [22:57:42]SAM_PROTO_SignData done [22:57:42]FM_MakeSignedData done [22:57:42]CreateOFDProtocolMessage [22:57:42]wFMCommunicate request_size=4 [22:57:42]MH_SAM_APDU [22:57:42]CAPDU: 80 11 00 00 [22:57:42]Write to MH i2c: E2 08 00 A5 14 80 11 00 00 00 00 00 00 33 [22:57:42]Write i2c OK [22:57:42]MH_I2C_Read... [22:57:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:57:42]Read from MH i2c: E2 [22:57:42]MH_I2C_Read... [22:57:42]Read from MH i2c: E2 17 00 [22:57:42]MH_I2C_Read... [22:57:42]Read from MH i2c: E2 17 00 A5 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 83 [22:57:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [22:57:42]wFMCommunicate OK [22:57:42]CreateOFDProtocolMessage done [22:57:42]OFDSenderStorePacket 37753 [22:57:42]StoreOFDPacket docnum=37753 [22:57: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 27 01 00 00 04 8F 1F 01 63 5A 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 69 C5 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 79 93 00 00 35 04 06 00 4F E5 D5 57 9B B9 6E 3D DC 27 B0 6C DC 0C [22:57:42]CheckFolder [22:57:42]dirname=/storage/ofd_packets [22:57:42]CheckFolder done [22:57:42]ProducePacketName [22:57:42]name=ofd_packets/00037753 [22:57:42]NVStorageSaveData ofd_packets/00037753 [22:57:42]File name is /storage/ofd_packets/00037753 [22:57:42]Write 325 bytes [22:57:42]NVStorageSaveData done [22:57:42]OFDSenderStorePacket done [22:57:42]KKMCreateOFDPacket done [22:57:42]NVStorageSaveData kkm_last_timestamp [22:57:42]File name is /storage/kkm_last_timestamp [22:57:42]Write 4 bytes [22:57:42]NVStorageSaveData done [22:57:42]ExternCall_PrintAddStr [22:57:42]wPrintStart [22:57:42]Write to MH i2c: 01 00 00 A6 14 BA [22:57:42]Write i2c OK [22:57:42]MH_I2C_Read... [22:57:42]Read from MH i2c: 01 [22:57:42]MH_I2C_Read... [22:57:42]Read from MH i2c: 01 07 00 [22:57:42]MH_I2C_Read... [22:57:42]Read from MH i2c: 01 07 00 A6 14 00 00 00 00 00 FF 0F CF [22:57:42]RasterBufferAndPrint [22:57:42]line Счет N : (3)35051 [22:57:42]line ИНН: 02508201610067 [22:57:42]line Контрольно-Кассовый Чек [22:57:42]line ПРОДАЖА [22:57:42]line Товар: 48743587 [22:57:42]line Сигареты Winston XStyle Silver [22:57:42]line 1.000 * 144.00 [22:57:42]line = 144.00 [22:57:42]line НДС 12% НСП 1% [22:57:42]line > о реализуемом товаре [22:57:42]line ИТОГО: 144.00 [22:57:42]line НСП 1% : 1.27 [22:57:42]line НДС 12% : 15.29 [22:57:42]line Наличными: 144.00 [22:57:42]line Безнал.: 0.00 [22:57:42]line Место: АЗС № 126 "Партнер Нефть" [22:57:42]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [22:57:42]line СНО: Общий режим [22:57:42]line Чек 79 27.10.2024 22:57 [22:57:42]line Смена: 550 ФФД: 1.0 [22:57:42]line ЗНМ: 0300000092 [22:57:42]line РНМ: 0000000000091684 [22:57:42]line Версия ККМ: 001 [22:57:42]line ФМ: 0000000000871841 [22:57:42]line ФД: 37753 [22:57:42]line ФПД: 87848545393593 [22:57:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T225745&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37753&fm=87848545393593&tin=02508201610067®Number=0000000000091684&sum=14400 [22:57:42]line 0 [22:57:42]OFD Sender: Processing packet 37753 [packets to send 42, broken 41] [22:57:42]ProducePacketName [22:57:42]name=ofd_packets/00037753 [22:57:42]OFD Sender: To server: pG, [22:57:42]CommunicateWithHost lk.salyk.kg:30040 [22:57:42]ConnectInit lk.salyk.kg [22:57:42]written 0, free lines is 4095 [22:57:42]Connected sock=9 [22:57: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 27 01 00 00 04 8F 1F 01 63 5A 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 69 C5 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 79 93 00 00 35 04 06 00 4F E5 D5 57 9B B9 6E 3D DC 27 B0 6C DC 0C [22:57:42]Write to MH i2c: 01 00 00 CF 14 E3 [22:57:42]Write i2c OK [22:57:42]MH_I2C_Read... [22:57:42]Read from MH i2c: 01 [22:57:42]MH_I2C_Read... [22:57:42]Read from MH i2c: 01 07 00 [22:57:42]MH_I2C_Read... [22:57:42]Read from MH i2c: 01 07 00 CF 14 00 00 00 00 00 AA 0C A0 [22:57:42]RasterBufferAndPrint [22:57:42]line [22:57:42]line [22:57:42]line [22:57:42]line [22:57:42]line [22:57:42]written 0, free lines is 3246 [22:57:42]MH_Cut [22:57:42]Write to MH i2c: D1 01 00 D6 14 01 BC [22:57:42]Write i2c OK [22:57:42]MH_I2C_Read... [22:57:42]Read from MH i2c: D1 [22:57:42]MH_I2C_Read... [22:57:42]Read from MH i2c: D1 01 00 [22:57:42]MH_I2C_Read... [22:57:42]Read from MH i2c: D1 01 00 D6 14 00 BB [22:57:42]Write to MH i2c: 01 00 00 D7 14 EB [22:57:42]Write i2c OK [22:57:42]MH_I2C_Read... [22:57:42]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 14 D8 47 00 BE AC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 79 93 00 00 F4 03 04 00 5F 70 1E 67 B6 04 01 00 00 13 7A 39 D9 E0 B9 D9 D9 [22:57:42]CommunicateWithHost err = 0 [22:57:42]CheckOFDResponse [22:57:42]1017 (14) - 77093643461234 [22:57:42]1041 (16) - 0000000000871841 [22:57:42]1040 (4) - 37753 [22:57:42]1012 (4) - 27.10.2024 16:54 [22:57:42]1206 (1) - 0 [22:57:42]OFD Sender: Remove packet 37753 [22:57:42]ProducePacketName [22:57:42]name=ofd_packets/00037753 [22:57:42]NVStorageDeleteData [22:57:43]OFD Sender: No OFD packet to send [22:57:43]*** Cut start [22:57:43]*** Partial cut [22:57:43]*** CUTSNS_PIN = 1 [22:57:43]*** CUTSNS_PIN = 0 [22:57:44]*** Brake cut motor [22:57:44]Read from MH i2c: 01 [22:57:44]*** Stop cut motor [22:57:44]*** Cut end [22:57:44]MH_I2C_Read... [22:57:44]Read from MH i2c: 01 07 00 [22:57:44]MH_I2C_Read... [22:57:44]Read from MH i2c: 01 07 00 D7 14 00 00 00 00 00 FF 0F 00 [22:57:44]process_action close_receipt done [22:57:44]requested_data is exist [22:57:44]produce_requested_data [22:57:44]requested_item fm.sn is exist - process it [22:57:44]wFMCommunicate request_size=4 [22:57:44]MH_SAM_APDU [22:57:44]CAPDU: 80 11 00 00 [22:57:44]Write to MH i2c: E2 08 00 D8 14 80 11 00 00 00 00 00 00 66 [22:57:44]Write i2c OK [22:57:44]MH_I2C_Read... [22:57:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:57:44]Read from MH i2c: E2 [22:57:44]MH_I2C_Read... [22:57:44]Read from MH i2c: E2 17 00 [22:57:44]MH_I2C_Read... [22:57:44]Read from MH i2c: E2 17 00 D8 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 B6 [22:57:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [22:57:44]wFMCommunicate OK [22:57:44]requested_item fd.num is exist - process it [22:57:44]SAM_PROTO_GetFieldsCounters [22:57:44]wFMCommunicate request_size=4 [22:57:44]MH_SAM_APDU [22:57:44]CAPDU: 80 13 00 00 [22:57:44]Write to MH i2c: E2 08 00 D9 14 80 13 00 00 00 00 00 00 69 [22:57:44]Write i2c OK [22:57:44]MH_I2C_Read... [22:57:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:57:44]Read from MH i2c: E2 [22:57:44]MH_I2C_Read... [22:57:44]Read from MH i2c: E2 62 00 [22:57:44]MH_I2C_Read... [22:57:44]Read from MH i2c: E2 62 00 D9 14 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 79 93 00 00 0E 04 04 00 26 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 AB [22:57: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 79 93 00 00 0E 04 04 00 26 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 [22:57:44]wFMCommunicate OK [22:57:44]SAM_PROTO_GetFieldsCounters done [22:57:44]requested_item shift.num is exist - process it [22:57:44]requested_item shift.opened is exist - process it [22:57:44]req_shift_opened [22:57:44]FM_GetShiftState [22:57:44]SAM_PROTO_GetShiftState [22:57:44]wFMCommunicate request_size=4 [22:57:44]MH_SAM_APDU [22:57:44]CAPDU: 80 13 01 00 [22:57:44]Write to MH i2c: E2 08 00 DA 14 80 13 01 00 00 00 00 00 6B [22:57:44]Write i2c OK [22:57:44]MH_I2C_Read... [22:57:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:57:44]Read from MH i2c: E2 [22:57:44]MH_I2C_Read... [22:57:44]Read from MH i2c: E2 0E 00 [22:57:44]MH_I2C_Read... [22:57:44]Read from MH i2c: E2 0E 00 DA 14 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 22 [22:57:44]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [22:57:44]wFMCommunicate OK [22:57:44]SAM_PROTO_GetShiftState done [22:57:44]FM_GetShiftState done [22:57:44]req_shift_opened done [22:57:44]requested_item shift.open_date is exist - process it [22:57:44]req_shift_open_date [22:57:44]req_shift_open_date done [22:57:44]produce_requested_data done [22:57:44]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37753,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [22:57:44]process_action_free close_receipt [22:57:44]json_value_free [22:57:44]json_value_free done [22:57:44]process_json_proto returns [22:57:44]Send response to host [22:57:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37753,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [22:57:44]free response buf [22:57:44]execute_script done [22:57:44]execute_script returns [22:57:44]free content buf [22:57:44]Sock 10.Close socket [22:57:44]Sock 10.Thread stoped [22:57:48]OFD Sender: No OFD packet to send [22:57:53]OFD Sender: No OFD packet to send [22:57:58]OFD Sender: No OFD packet to send [22:58:03]OFD Sender: No OFD packet to send [22:58:08]OFD Sender: No OFD packet to send [22:58:13]OFD Sender: No OFD packet to send [22:58:18]OFD Sender: No OFD packet to send [22:58:23]OFD Sender: No OFD packet to send [22:58:28]OFD Sender: No OFD packet to send [22:58:33]OFD Sender: No OFD packet to send [22:58:38]OFD Sender: No OFD packet to send [22:58:43]OFD Sender: No OFD packet to send [22:58:48]OFD Sender: No OFD packet to send [22:58:53]OFD Sender: No OFD packet to send [22:58:58]OFD Sender: No OFD packet to send [22:59:03]OFD Sender: No OFD packet to send [22:59:08]OFD Sender: No OFD packet to send [22:59:13]OFD Sender: No OFD packet to send [22:59:18]OFD Sender: No OFD packet to send [22:59:23]OFD Sender: No OFD packet to send [22:59:28]OFD Sender: No OFD packet to send [22:59:33]OFD Sender: No OFD packet to send [22:59:38]OFD Sender: No OFD packet to send [22:59:43]OFD Sender: No OFD packet to send [22:59:48]OFD Sender: No OFD packet to send [22:59:53]OFD Sender: No OFD packet to send [22:59:58]OFD Sender: No OFD packet to send [23:00:03]OFD Sender: No OFD packet to send [23:00:08]OFD Sender: No OFD packet to send [23:00:13]OFD Sender: No OFD packet to send [23:00:18]OFD Sender: No OFD packet to send [23:00:23]OFD Sender: No OFD packet to send [23:00:28]OFD Sender: No OFD packet to send [23:00:33]OFD Sender: No OFD packet to send [23:00:38]OFD Sender: No OFD packet to send [23:00:43]OFD Sender: No OFD packet to send [23:00:48]OFD Sender: No OFD packet to send [23:00:53]OFD Sender: No OFD packet to send [23:00:58]OFD Sender: No OFD packet to send [23:01:03]OFD Sender: No OFD packet to send [23:01:08]OFD Sender: No OFD packet to send [23:01:13]OFD Sender: No OFD packet to send [23:01:18]OFD Sender: No OFD packet to send [23:01:23]OFD Sender: No OFD packet to send [23:01:28]OFD Sender: No OFD packet to send [23:01:33]OFD Sender: No OFD packet to send [23:01:38]OFD Sender: No OFD packet to send [23:01:43]OFD Sender: No OFD packet to send [23:01:48]OFD Sender: No OFD packet to send [23:01:53]OFD Sender: No OFD packet to send [23:01:58]OFD Sender: No OFD packet to send [23:02:03]OFD Sender: No OFD packet to send [23:02:08]OFD Sender: No OFD packet to send [23:02:13]OFD Sender: No OFD packet to send [23:02:18]OFD Sender: No OFD packet to send [23:02:23]OFD Sender: No OFD packet to send [23:02:28]OFD Sender: No OFD packet to send [23:02:33]OFD Sender: No OFD packet to send [23:02:38]OFD Sender: No OFD packet to send [23:02:43]OFD Sender: No OFD packet to send [23:02:48]OFD Sender: No OFD packet to send [23:02:53]OFD Sender: No OFD packet to send [23:02:58]OFD Sender: No OFD packet to send [23:03:03]OFD Sender: No OFD packet to send [23:03:08]OFD Sender: No OFD packet to send [23:03:13]OFD Sender: No OFD packet to send [23:03:18]OFD Sender: No OFD packet to send [23:03:23]OFD Sender: No OFD packet to send [23:03:28]OFD Sender: No OFD packet to send [23:03:33]OFD Sender: No OFD packet to send [23:03:38]OFD Sender: No OFD packet to send [23:03:43]OFD Sender: No OFD packet to send [23:03:48]OFD Sender: No OFD packet to send [23:03:53]OFD Sender: No OFD packet to send [23:03:58]OFD Sender: No OFD packet to send [23:04:03]OFD Sender: No OFD packet to send [23:04:08]OFD Sender: No OFD packet to send [23:04:13]OFD Sender: No OFD packet to send [23:04:18]OFD Sender: No OFD packet to send [23:04:23]OFD Sender: No OFD packet to send [23:04:28]OFD Sender: No OFD packet to send [23:04:33]OFD Sender: No OFD packet to send [23:04:38]OFD Sender: No OFD packet to send [23:04:43]OFD Sender: No OFD packet to send [23:04:48]OFD Sender: No OFD packet to send [23:04:53]OFD Sender: No OFD packet to send [23:04:58]OFD Sender: No OFD packet to send [23:05:03]OFD Sender: No OFD packet to send [23:05:08]OFD Sender: No OFD packet to send [23:05:13]OFD Sender: No OFD packet to send [23:05:18]OFD Sender: No OFD packet to send [23:05:23]OFD Sender: No OFD packet to send [23:05:28]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:09]OFD Sender: No OFD packet to send [23:08:14]OFD Sender: No OFD packet to send [23:08:19]OFD Sender: No OFD packet to send [23:08:24]OFD Sender: No OFD packet to send [23:08:29]OFD Sender: No OFD packet to send [23:08:34]OFD Sender: No OFD packet to send [23:08:39]OFD Sender: No OFD packet to send [23:08:44]OFD Sender: No OFD packet to send [23:08:49]OFD Sender: No OFD packet to send [23:08:54]OFD Sender: No OFD packet to send [23:08:59]OFD Sender: No OFD packet to send [23:09:04]OFD Sender: No OFD packet to send [23:09:09]OFD Sender: No OFD packet to send [23:09:14]OFD Sender: No OFD packet to send [23:09:19]OFD Sender: No OFD packet to send [23:09:24]OFD Sender: No OFD packet to send [23:09:29]OFD Sender: No OFD packet to send [23:09:34]OFD Sender: No OFD packet to send [23:09:39]OFD Sender: No OFD packet to send [23:09:44]OFD Sender: No OFD packet to send [23:09:49]OFD Sender: No OFD packet to send [23:09:54]OFD Sender: No OFD packet to send [23:09:59]OFD Sender: No OFD packet to send [23:10:04]OFD Sender: No OFD packet to send [23:10:09]OFD Sender: No OFD packet to send [23:10:14]OFD Sender: No OFD packet to send [23:10:19]OFD Sender: No OFD packet to send [23:10:24]OFD Sender: No OFD packet to send [23:10:29]OFD Sender: No OFD packet to send [23:10:34]OFD Sender: No OFD packet to send [23:10:39]OFD Sender: No OFD packet to send [23:10:44]OFD Sender: No OFD packet to send [23:10:49]OFD Sender: No OFD packet to send [23:10:54]OFD Sender: No OFD packet to send [23:10:59]OFD Sender: No OFD packet to send [23:11:04]OFD Sender: No OFD packet to send [23:11:09]OFD Sender: No OFD packet to send [23:11:14]OFD Sender: No OFD packet to send [23:11:19]OFD Sender: No OFD packet to send [23:11:24]OFD Sender: No OFD packet to send [23:11:29]OFD Sender: No OFD packet to send [23:11:34]OFD Sender: No OFD packet to send [23:11:39]OFD Sender: No OFD packet to send [23:11:44]OFD Sender: No OFD packet to send [23:11:49]OFD Sender: No OFD packet to send [23:11:54]OFD Sender: No OFD packet to send [23:11:59]OFD Sender: No OFD packet to send [23:12:04]OFD Sender: No OFD packet to send [23:12:09]OFD Sender: No OFD packet to send [23:12:14]OFD Sender: No OFD packet to send [23:12:19]OFD Sender: No OFD packet to send [23:12:24]OFD Sender: No OFD packet to send [23:12:29]OFD Sender: No OFD packet to send [23:12:34]OFD Sender: No OFD packet to send [23:12:39]OFD Sender: No OFD packet to send [23:12:44]OFD Sender: No OFD packet to send [23:12:49]OFD Sender: No OFD packet to send [23:12:54]OFD Sender: No OFD packet to send [23:12:59]OFD Sender: No OFD packet to send [23:13:04]OFD Sender: No OFD packet to send [23:13:09]OFD Sender: No OFD packet to send [23:13:14]OFD Sender: No OFD packet to send [23:13:19]OFD Sender: No OFD packet to send [23:13:24]OFD Sender: No OFD packet to send [23:13:29]OFD Sender: No OFD packet to send [23:13:34]OFD Sender: No OFD packet to send [23:13:39]OFD Sender: No OFD packet to send [23:13:44]OFD Sender: No OFD packet to send [23:13:49]OFD Sender: No OFD packet to send [23:13:54]OFD Sender: No OFD packet to send [23:13:59]OFD Sender: No OFD packet to send [23:14:04]OFD Sender: No OFD packet to send [23:14:09]OFD Sender: No OFD packet to send [23:14:14]OFD Sender: No OFD packet to send [23:14:19]OFD Sender: No OFD packet to send [23:14:24]OFD Sender: No OFD packet to send [23:14:29]OFD Sender: No OFD packet to send [23:14:34]OFD Sender: No OFD packet to send [23:14:39]OFD Sender: No OFD packet to send [23:14:44]OFD Sender: No OFD packet to send [23:14:49]OFD Sender: No OFD packet to send [23:14:54]OFD Sender: No OFD packet to send [23:14:59]OFD Sender: No OFD packet to send [23:15:04]OFD Sender: No OFD packet to send [23:15:09]OFD Sender: No OFD packet to send [23:15:14]OFD Sender: No OFD packet to send [23:15:19]OFD Sender: No OFD packet to send [23:18:35]ConnectInit Can't connect to host [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:28:28]ConnectInit Can't connect to host [23:28:30]OFD Sender: No OFD packet to send [23:28:35]OFD Sender: No OFD packet to send [23:28:40]OFD Sender: No OFD packet to send [23:28:45]OFD Sender: No OFD packet to send [23:28:50]OFD Sender: No OFD packet to send [23:28:55]OFD Sender: No OFD packet to send [23:29:00]OFD Sender: No OFD packet to send [23:29:05]OFD Sender: No OFD packet to send [23:29:10]OFD Sender: No OFD packet to send [23:29:15]OFD Sender: No OFD packet to send [23:29:20]OFD Sender: No OFD packet to send [23:29:25]OFD Sender: No OFD packet to send [23:29:30]OFD Sender: No OFD packet to send [23:29:35]OFD Sender: No OFD packet to send [23:29:40]OFD Sender: No OFD packet to send [23:29:45]OFD Sender: No OFD packet to send [23:29:50]OFD Sender: No OFD packet to send [23:29:55]OFD Sender: No OFD packet to send [23:30:00]OFD Sender: No OFD packet to send [23:30:05]OFD Sender: No OFD packet to send [23:30:10]OFD Sender: No OFD packet to send [23:30:15]OFD Sender: No OFD packet to send [23:30:20]OFD Sender: No OFD packet to send [23:30:25]OFD Sender: No OFD packet to send [23:30:30]OFD Sender: No OFD packet to send [23:30:35]OFD Sender: No OFD packet to send [23:30:40]OFD Sender: No OFD packet to send [23:30:45]OFD Sender: No OFD packet to send [23:30:50]OFD Sender: No OFD packet to send [23:30:55]OFD Sender: No OFD packet to send [23:31:00]OFD Sender: No OFD packet to send [23:31:05]OFD Sender: No OFD packet to send [23:31:10]OFD Sender: No OFD packet to send [23:31:15]OFD Sender: No OFD packet to send [23:31:20]OFD Sender: No OFD packet to send [23:31:25]OFD Sender: No OFD packet to send [23:31:30]OFD Sender: No OFD packet to send [23:31:35]OFD Sender: No OFD packet to send [23:31:40]OFD Sender: No OFD packet to send [23:31:41]accept exits with 7 [23:31:41]New connection [23:31:41]New thread 3067297124 created [23:31:41]Thread 3067440484 joined [23:31:41]Waiting for new connection... [23:31:41] Sock 7.Parse request [23:31:41]Sock 7.Check first char [23:31:41]Sock 7.First char is OK [23:31:41]request: POST /json_proto HTTP/1.0 [23:31:41]Method: POST [23:31:41]URL: /json_proto [23:31:41]Method is POST - this is cgi request [23:31:41]url: /json_proto [23:31:41]query_string will be loaded in cgi processing [23:31:41]execute_cgi json_proto POST (null) [23:31:41]execute_cgi path=json_proto method=POST [23:31:41]POST find Content-Length [23:31:41]Host: 172.17.40.196:8080 [23:31:41]Content-Length: 996 [23:31:41]Content-Type: application/json [23:31:41] [23:31:41]POST finish read [23:31:41]Found Content-Length = 996 [23:31:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35052", "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 }]} ,{ "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 245.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:31:41]execute_script... [23:31: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)35052", "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 }]} ,{ "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 245.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:31:41]POST & json_proto [23:31:41]process_json_proto [23:31:41]json parsed OK: [23:31:41]protocol is kg_v1.0 [23:31:41]action value=close_receipt [23:31:41]process_action close_receipt [23:31:41]cmd_close_receipt [23:31:41]MH_GetDate [23:31:41]Write to MH i2c: F0 00 00 DB 14 DE [23:31:41]Write i2c OK [23:31:41]MH_I2C_Read... [23:31:41]Read from MH i2c: F0 [23:31:41]MH_I2C_Read... [23:31:41]Read from MH i2c: F0 09 00 [23:31:41]MH_I2C_Read... [23:31:41]Read from MH i2c: F0 09 00 DB 14 00 62 CD 1E 67 5B 68 A1 66 65 [23:31:41]GetLastDocTimeStamp 1730069865 [23:31:41]current date 1730071906 [23:31:41]FM_GetShiftState [23:31:41]SAM_PROTO_GetShiftState [23:31:41]wFMCommunicate request_size=4 [23:31:41]MH_SAM_APDU [23:31:41]CAPDU: 80 13 01 00 [23:31:41]Write to MH i2c: E2 08 00 DC 14 80 13 01 00 00 00 00 00 6D [23:31:41]Write i2c OK [23:31:41]MH_I2C_Read... [23:31:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:31:41]Read from MH i2c: E2 [23:31:41]MH_I2C_Read... [23:31:41]Read from MH i2c: E2 0E 00 [23:31:41]MH_I2C_Read... [23:31:41]Read from MH i2c: E2 0E 00 DC 14 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 24 [23:31:41]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [23:31:41]wFMCommunicate OK [23:31:41]SAM_PROTO_GetShiftState done [23:31:41]FM_GetShiftState done [23:31:41]opened in 1729987492 [23:31:41]opened+sec_in_day 1730073892 [23:31:41]quantity*price = 11500 [23:31:41]sum+1 = 11501 [23:31:41]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036230011 Кофе Латте XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 245.00 НСП 1% : 2.17 НДС 12% : 26.01 Наличными: 0.00 Безнал.: 245.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 80 27.10.2024 23:31 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37754 ФПД: 7073562491277 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T233146&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37754&fm=7073562491277&tin=02508201610067®Number=0000000000091684&sum=24500 0 [23:31:42]StoreToDocumentArchive [23:31:42]shift 550 fd 37754 [23:31:42]save to /storage/0550/doc_00037754 [23:31:42]save last doc name /storage/0550/doc_00037754 to /storage/kkm_last_doc_name [23:31:42]save OK [23:31:42]Clear old archive folders... [23:31:42]ProcessDocumentItem done err = 0, tmpTLVsize=380 [23:31:42]tlvbuf is B6E1F370 [23:31:42]SAM_PROTO_ClearQueue [23:31:42]wFMCommunicate request_size=4 [23:31:42]MH_SAM_APDU [23:31:42]CAPDU: 80 09 00 00 [23:31:42]Write to MH i2c: E2 08 00 E9 14 80 09 00 00 00 00 00 00 6F [23:31:42]Write i2c OK [23:31:42]MH_I2C_Read... [23:31:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:31:42]Read from MH i2c: E2 [23:31:42]MH_I2C_Read... [23:31:42]Read from MH i2c: E2 03 00 [23:31:42]MH_I2C_Read... [23:31:42]Read from MH i2c: E2 03 00 E9 14 00 90 00 71 [23:31:42]RAPDU: 90 00 [23:31:42]wFMCommunicate OK [23:31:42]SAM_PROTO_ClearQueue done [23:31:42]KKMCreateOFDPacket [23:31:42]OFDProtocolAddRootSTLVToBuf [23:31:42]FM_MakeSignedData [23:31:42]FM_MakeSignedData [23:31:42]SAM_PROTO_SignData [23:31:42]wFMCommunicate request_size=4 [23:31:42]MH_SAM_APDU [23:31:42]CAPDU: 80 0D 01 02 [23:31:42]Write to MH i2c: E2 08 00 EA 14 80 0D 01 02 00 00 00 00 77 [23:31:42]Write i2c OK [23:31:42]MH_I2C_Read... [23:31:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:31:42]Read from MH i2c: E2 [23:31:42]MH_I2C_Read... [23:31:42]Read from MH i2c: E2 03 00 [23:31:42]MH_I2C_Read... [23:31:42]Read from MH i2c: E2 03 00 EA 14 00 90 00 72 [23:31:42]RAPDU: 90 00 [23:31:42]wFMCommunicate OK [23:31:42]wFMCommunicate request_size=255 [23:31:42]MH_SAM_APDU [23:31:42]CAPDU: 80 0D 02 02 FA 03 00 7C 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 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 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 [23:31:42]Write to MH i2c: E2 02 01 EB 14 80 0D 02 02 FA 00 03 00 7C 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 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 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 C1 [23:31:42]Write i2c OK [23:31:42]MH_I2C_Read... [23:31:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:31:43]Read from MH i2c: E2 [23:31:43]MH_I2C_Read... [23:31:43]Read from MH i2c: E2 03 00 [23:31:43]MH_I2C_Read... [23:31:43]Read from MH i2c: E2 03 00 EB 14 00 90 00 73 [23:31:43]RAPDU: 90 00 [23:31:43]wFMCommunicate OK [23:31:43]wFMCommunicate request_size=139 [23:31:43]MH_SAM_APDU [23:31:43]CAPDU: 80 0D 02 02 86 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 5F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 62 CD 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 7A 93 00 00 35 04 06 00 06 6E F1 2D F9 8D [23:31:43]Write to MH i2c: E2 8E 00 EC 14 80 0D 02 02 86 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 5F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 62 CD 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 7A 93 00 00 35 04 06 00 06 6E F1 2D F9 8D 00 00 4A [23:31:43]Write i2c OK [23:31:43]MH_I2C_Read... [23:31:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:31:43]Read from MH i2c: E2 [23:31:43]MH_I2C_Read... [23:31:43]Read from MH i2c: E2 03 00 [23:31:43]MH_I2C_Read... [23:31:43]Read from MH i2c: E2 03 00 EC 14 00 90 00 74 [23:31:43]RAPDU: 90 00 [23:31:43]wFMCommunicate OK [23:31:43]wFMCommunicate request_size=4 [23:31:43]MH_SAM_APDU [23:31:43]CAPDU: 80 0D 03 02 [23:31:43]Write to MH i2c: E2 08 00 ED 14 80 0D 03 02 00 00 00 00 7C [23:31:43]Write i2c OK [23:31:43]MH_I2C_Read... [23:31:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:31:43]Read from MH i2c: E2 [23:31:43]MH_I2C_Read... [23:31:43]Read from MH i2c: E2 0B 00 [23:31:43]MH_I2C_Read... [23:31:43]Read from MH i2c: E2 0B 00 ED 14 00 61 D3 37 82 AA F8 2F 61 90 00 9C [23:31:43]RAPDU: 61 D3 37 82 AA F8 2F 61 90 00 [23:31:43]wFMCommunicate OK [23:31:43]SAM_PROTO_SignData done [23:31:43]FM_MakeSignedData done [23:31:43]CreateOFDProtocolMessage [23:31:43]wFMCommunicate request_size=4 [23:31:43]MH_SAM_APDU [23:31:43]CAPDU: 80 11 00 00 [23:31:43]Write to MH i2c: E2 08 00 EE 14 80 11 00 00 00 00 00 00 7C [23:31:43]Write i2c OK [23:31:43]MH_I2C_Read... [23:31:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:31:43]Read from MH i2c: E2 [23:31:43]MH_I2C_Read... [23:31:43]Read from MH i2c: E2 17 00 [23:31:43]MH_I2C_Read... [23:31:43]Read from MH i2c: E2 17 00 EE 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 CC [23:31:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [23:31:43]wFMCommunicate OK [23:31:43]CreateOFDProtocolMessage done [23:31:43]OFDSenderStorePacket 37754 [23:31:43]StoreOFDPacket docnum=37754 [23:31: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 90 01 00 00 C3 1D 88 01 FC 32 5A 03 01 00 03 00 7C 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 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 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 5F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 62 CD 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 7A 93 00 00 35 04 06 00 06 6E F1 2D F9 8D 61 D3 37 82 AA F8 2F 61 [23:31:43]CheckFolder [23:31:43]dirname=/storage/ofd_packets [23:31:43]CheckFolder done [23:31:43]ProducePacketName [23:31:43]name=ofd_packets/00037754 [23:31:43]NVStorageSaveData ofd_packets/00037754 [23:31:43]File name is /storage/ofd_packets/00037754 [23:31:43]Write 430 bytes [23:31:43]NVStorageSaveData done [23:31:43]OFDSenderStorePacket done [23:31:43]KKMCreateOFDPacket done [23:31:43]NVStorageSaveData kkm_last_timestamp [23:31:43]File name is /storage/kkm_last_timestamp [23:31:43]Write 4 bytes [23:31:43]NVStorageSaveData done [23:31:43]ExternCall_PrintAddStr [23:31:43]wPrintStart [23:31:43]Write to MH i2c: 01 00 00 EF 14 03 [23:31:43]Write i2c OK [23:31:43]MH_I2C_Read... [23:31:43]Read from MH i2c: 01 [23:31:43]MH_I2C_Read... [23:31:43]Read from MH i2c: 01 07 00 [23:31:43]MH_I2C_Read... [23:31:43]Read from MH i2c: 01 07 00 EF 14 00 00 00 00 00 FF 0F 18 [23:31:43]RasterBufferAndPrint [23:31:43]line Счет N : (3)35052 [23:31:43]line ИНН: 02508201610067 [23:31:43]line Контрольно-Кассовый Чек [23:31:43]line ПРОДАЖА [23:31:43]line Товар: 2000036240010 [23:31:43]line Кофе Латте (GABB TRADE) [23:31:43]line 1.000 * 115.00 [23:31:43]line = 115.00 [23:31:43]line НДС 12% НСП 1% [23:31:43]line > о реализуемом товаре [23:31:43]line Товар: 2000036230011 [23:31:43]line Кофе Латте XL(GABB TRADE) [23:31:43]line 1.000 * 130.00 [23:31:43]line = 130.00 [23:31:43]line НДС 12% НСП 1% [23:31:43]line > о реализуемом товаре [23:31:43]line ИТОГО: 245.00 [23:31:43]line НСП 1% : 2.17 [23:31:43]line НДС 12% : 26.01 [23:31:43]line Наличными: 0.00 [23:31:43]line Безнал.: 245.00 [23:31:43]line Место: АЗС № 126 "Партнер Нефть" [23:31:43]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [23:31:43]line СНО: Общий режим [23:31:43]line Чек 80 27.10.2024 23:31 [23:31:43]line Смена: 550 ФФД: 1.0 [23:31:43]line ЗНМ: 0300000092 [23:31:43]line РНМ: 0000000000091684 [23:31:43]line Версия ККМ: 001 [23:31:43]line Платежная система: Mbank [23:31:43]line ФМ: 0000000000871841 [23:31:43]line ФД: 37754 [23:31:43]line ФПД: 7073562491277 [23:31:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T233146&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37754&fm=7073562491277&tin=02508201610067®Number=0000000000091684&sum=24500 [23:31:43]OFD Sender: Processing packet 37754 [packets to send 42, broken 41] [23:31:43]ProducePacketName [23:31:43]name=ofd_packets/00037754 [23:31:43]OFD Sender: To server: pG, [23:31:43]CommunicateWithHost lk.salyk.kg:30040 [23:31:43]ConnectInit lk.salyk.kg [23:31:43]line 0 [23:31:43]written 0, free lines is 4095 [23:31:43]Connected sock=10 [23:31: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 90 01 00 00 C3 1D 88 01 FC 32 5A 03 01 00 03 00 7C 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 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 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 5F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 62 CD 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 7A 93 00 00 35 04 06 00 06 6E F1 2D F9 8D 61 D3 37 82 AA F8 2F 61 [23:31: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 82 BD 47 00 AA D2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 7A 93 00 00 F4 03 04 00 58 78 1E 67 B6 04 01 00 00 D0 FD 2B C2 15 5A 12 80 [23:31:44]CommunicateWithHost err = 0 [23:31:44]CheckOFDResponse [23:31:44]1017 (14) - 77093643461234 [23:31:44]1041 (16) - 0000000000871841 [23:31:44]1040 (4) - 37754 [23:31:44]1012 (4) - 27.10.2024 17:28 [23:31:44]1206 (1) - 0 [23:31:44]OFD Sender: Remove packet 37754 [23:31:44]ProducePacketName [23:31:44]name=ofd_packets/00037754 [23:31:44]NVStorageDeleteData [23:31:44]Write to MH i2c: 01 00 00 1E 15 33 [23:31:44]Write i2c OK [23:31:44]MH_I2C_Read... [23:31:44]Read from MH i2c: 01 [23:31:44]MH_I2C_Read... [23:31:44]Read from MH i2c: 01 07 00 [23:31:44]MH_I2C_Read... [23:31:44]Read from MH i2c: 01 07 00 1E 15 00 00 00 00 00 5C 0C A2 [23:31:44]RasterBufferAndPrint [23:31:44]line [23:31:44]line [23:31:44]line [23:31:44]line [23:31:44]line [23:31:44]written 0, free lines is 3171 [23:31:44]MH_Cut [23:31:44]Write to MH i2c: D1 01 00 25 15 01 0C [23:31:44]Write i2c OK [23:31:44]MH_I2C_Read... [23:31:44]Read from MH i2c: D1 [23:31:44]MH_I2C_Read... [23:31:44]Read from MH i2c: D1 01 00 [23:31:44]MH_I2C_Read... [23:31:44]Read from MH i2c: D1 01 00 25 15 00 0B [23:31:44]Write to MH i2c: 01 00 00 26 15 3B [23:31:44]Write i2c OK [23:31:44]MH_I2C_Read... [23:31:44]OFD Sender: No OFD packet to send [23:31:45]*** Cut start [23:31:45]*** Partial cut [23:31:45]*** CUTSNS_PIN = 1 [23:31:45]*** CUTSNS_PIN = 0 [23:31:45]*** Brake cut motor [23:31:45]Read from MH i2c: 01 [23:31:45]MH_I2C_Read... [23:31:45]*** Stop cut motor [23:31:45]*** Cut end [23:31:45]Read from MH i2c: 01 07 00 [23:31:45]MH_I2C_Read... [23:31:45]Read from MH i2c: 01 07 00 26 15 00 00 00 00 00 FF 0F 50 [23:31:45]process_action close_receipt done [23:31:45]requested_data is exist [23:31:45]produce_requested_data [23:31:45]requested_item fm.sn is exist - process it [23:31:45]wFMCommunicate request_size=4 [23:31:45]MH_SAM_APDU [23:31:45]CAPDU: 80 11 00 00 [23:31:45]Write to MH i2c: E2 08 00 27 15 80 11 00 00 00 00 00 00 B6 [23:31:45]Write i2c OK [23:31:45]MH_I2C_Read... [23:31:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:31:45]Read from MH i2c: E2 [23:31:45]MH_I2C_Read... [23:31:45]Read from MH i2c: E2 17 00 [23:31:45]MH_I2C_Read... [23:31:45]Read from MH i2c: E2 17 00 27 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 06 [23:31:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [23:31:45]wFMCommunicate OK [23:31:45]requested_item fd.num is exist - process it [23:31:45]SAM_PROTO_GetFieldsCounters [23:31:45]wFMCommunicate request_size=4 [23:31:45]MH_SAM_APDU [23:31:45]CAPDU: 80 13 00 00 [23:31:45]Write to MH i2c: E2 08 00 28 15 80 13 00 00 00 00 00 00 B9 [23:31:45]Write i2c OK [23:31:45]MH_I2C_Read... [23:31:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:31:45]Read from MH i2c: E2 [23:31:45]MH_I2C_Read... [23:31:45]Read from MH i2c: E2 62 00 [23:31:45]MH_I2C_Read... [23:31:45]Read from MH i2c: E2 62 00 28 15 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 7A 93 00 00 0E 04 04 00 26 02 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 FF [23:31: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 7A 93 00 00 0E 04 04 00 26 02 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:31:45]wFMCommunicate OK [23:31:45]SAM_PROTO_GetFieldsCounters done [23:31:45]requested_item shift.num is exist - process it [23:31:45]requested_item shift.opened is exist - process it [23:31:45]req_shift_opened [23:31:45]FM_GetShiftState [23:31:45]SAM_PROTO_GetShiftState [23:31:45]wFMCommunicate request_size=4 [23:31:45]MH_SAM_APDU [23:31:45]CAPDU: 80 13 01 00 [23:31:45]Write to MH i2c: E2 08 00 29 15 80 13 01 00 00 00 00 00 BB [23:31:45]Write i2c OK [23:31:45]MH_I2C_Read... [23:31:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:31:46]Read from MH i2c: E2 [23:31:46]MH_I2C_Read... [23:31:46]Read from MH i2c: E2 0E 00 [23:31:46]MH_I2C_Read... [23:31:46]Read from MH i2c: E2 0E 00 29 15 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 72 [23:31:46]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [23:31:46]wFMCommunicate OK [23:31:46]SAM_PROTO_GetShiftState done [23:31:46]FM_GetShiftState done [23:31:46]req_shift_opened done [23:31:46]requested_item shift.open_date is exist - process it [23:31:46]req_shift_open_date [23:31:46]req_shift_open_date done [23:31:46]produce_requested_data done [23:31:46]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37754,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [23:31:46]process_action_free close_receipt [23:31:46]json_value_free [23:31:46]json_value_free done [23:31:46]process_json_proto returns [23:31:46]Send response to host [23:31:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37754,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [23:31:46]free response buf [23:31:46]execute_script done [23:31:46]execute_script returns [23:31:46]free content buf [23:31:46]Sock 7.Close socket [23:31:46]Sock 7.Thread stoped [23:31:49]OFD Sender: No OFD packet to send [23:31:54]OFD Sender: No OFD packet to send [23:31:59]OFD Sender: No OFD packet to send [23:32:04]OFD Sender: No OFD packet to send [23:32:09]OFD Sender: No OFD packet to send [23:32:14]OFD Sender: No OFD packet to send [23:32:19]OFD Sender: No OFD packet to send [23:32:24]OFD Sender: No OFD packet to send [23:32:29]OFD Sender: No OFD packet to send [23:32:34]OFD Sender: No OFD packet to send [23:32:39]OFD Sender: No OFD packet to send [23:32:44]OFD Sender: No OFD packet to send [23:32:49]OFD Sender: No OFD packet to send [23:32:54]OFD Sender: No OFD packet to send [23:32:59]OFD Sender: No OFD packet to send [23:33:04]OFD Sender: No OFD packet to send [23:33:09]OFD Sender: No OFD packet to send [23:33:14]OFD Sender: No OFD packet to send [23:33:19]OFD Sender: No OFD packet to send [23:33:24]OFD Sender: No OFD packet to send [23:33:29]OFD Sender: No OFD packet to send [23:33:34]OFD Sender: No OFD packet to send [23:33:39]OFD Sender: No OFD packet to send [23:33:44]OFD Sender: No OFD packet to send [23:33:49]OFD Sender: No OFD packet to send [23:33:54]OFD Sender: No OFD packet to send [23:33:59]OFD Sender: No OFD packet to send [23:34:04]OFD Sender: No OFD packet to send [23:34:09]OFD Sender: No OFD packet to send [23:34:14]OFD Sender: No OFD packet to send [23:34:19]OFD Sender: No OFD packet to send [23:34:24]OFD Sender: No OFD packet to send [23:34:29]OFD Sender: No OFD packet to send [23:34:34]OFD Sender: No OFD packet to send [23:34:39]OFD Sender: No OFD packet to send [23:34:44]OFD Sender: No OFD packet to send [23:34:49]OFD Sender: No OFD packet to send [23:34:54]OFD Sender: No OFD packet to send [23:34:59]OFD Sender: No OFD packet to send [23:35:04]OFD Sender: No OFD packet to send [23:35:09]OFD Sender: No OFD packet to send [23:35:14]OFD Sender: No OFD packet to send [23:35:19]OFD Sender: No OFD packet to send [23:35:24]OFD Sender: No OFD packet to send [23:35:29]OFD Sender: No OFD packet to send [23:35:34]OFD Sender: No OFD packet to send [23:35:39]OFD Sender: No OFD packet to send [23:35:44]OFD Sender: No OFD packet to send [23:35:49]OFD Sender: No OFD packet to send [23:35:54]OFD Sender: No OFD packet to send [23:35:59]OFD Sender: No OFD packet to send [23:36:04]OFD Sender: No OFD packet to send [23:36:09]OFD Sender: No OFD packet to send [23:36:14]OFD Sender: No OFD packet to send [23:36:19]OFD Sender: No OFD packet to send [23:36:24]OFD Sender: No OFD packet to send [23:36:29]OFD Sender: No OFD packet to send [23:36:34]OFD Sender: No OFD packet to send [23:36:39]OFD Sender: No OFD packet to send [23:36:44]OFD Sender: No OFD packet to send [23:36:49]OFD Sender: No OFD packet to send [23:36:54]OFD Sender: No OFD packet to send [23:36:59]OFD Sender: No OFD packet to send [23:37:04]OFD Sender: No OFD packet to send [23:37:09]OFD Sender: No OFD packet to send [23:37:14]OFD Sender: No OFD packet to send [23:37:19]OFD Sender: No OFD packet to send [23:37:24]OFD Sender: No OFD packet to send [23:37:29]OFD Sender: No OFD packet to send [23:37:34]OFD Sender: No OFD packet to send [23:37:39]OFD Sender: No OFD packet to send [23:37:44]OFD Sender: No OFD packet to send [23:37:49]OFD Sender: No OFD packet to send [23:37:54]OFD Sender: No OFD packet to send [23:37:59]OFD Sender: No OFD packet to send [23:38:04]OFD Sender: No OFD packet to send [23:38:09]OFD Sender: No OFD packet to send [23:38:14]OFD Sender: No OFD packet to send [23:38:19]OFD Sender: No OFD packet to send [23:38:24]OFD Sender: No OFD packet to send [23:38:29]OFD Sender: No OFD packet to send [23:38:34]OFD Sender: No OFD packet to send [23:38:39]OFD Sender: No OFD packet to send [23:38:45]OFD Sender: No OFD packet to send [23:38:50]OFD Sender: No OFD packet to send [23:38:55]OFD Sender: No OFD packet to send [23:39:00]OFD Sender: No OFD packet to send [23:39:05]OFD Sender: No OFD packet to send [23:39:10]OFD Sender: No OFD packet to send [23:39:15]OFD Sender: No OFD packet to send [23:39:20]OFD Sender: No OFD packet to send [23:39:25]OFD Sender: No OFD packet to send [23:39:30]OFD Sender: No OFD packet to send [23:39:35]OFD Sender: No OFD packet to send [23:39:40]OFD Sender: No OFD packet to send [23:39:45]OFD Sender: No OFD packet to send [23:39:50]OFD Sender: No OFD packet to send [23:39:55]OFD Sender: No OFD packet to send [23:40:00]OFD Sender: No OFD packet to send [23:40:05]OFD Sender: No OFD packet to send [23:40:10]OFD Sender: No OFD packet to send [23:40:15]OFD Sender: No OFD packet to send [23:40:20]OFD Sender: No OFD packet to send [23:40:25]OFD Sender: No OFD packet to send [23:40:30]OFD Sender: No OFD packet to send [23:40:35]OFD Sender: No OFD packet to send [23:40:40]OFD Sender: No OFD packet to send [23:40:45]OFD Sender: No OFD packet to send [23:40:50]OFD Sender: No OFD packet to send [23:40:55]OFD Sender: No OFD packet to send [23:41:00]OFD Sender: No OFD packet to send [23:41:05]OFD Sender: No OFD packet to send [23:41:10]OFD Sender: No OFD packet to send [23:41:15]OFD Sender: No OFD packet to send [23:41:20]OFD Sender: No OFD packet to send [23:41:25]OFD Sender: No OFD packet to send [23:41:30]OFD Sender: No OFD packet to send [23:41:35]OFD Sender: No OFD packet to send [23:41:40]OFD Sender: No OFD packet to send [23:41:45]OFD Sender: No OFD packet to send [23:41:50]OFD Sender: No OFD packet to send [23:41:55]OFD Sender: No OFD packet to send [23:42:00]OFD Sender: No OFD packet to send [23:42:05]OFD Sender: No OFD packet to send [23:42:10]OFD Sender: No OFD packet to send [23:42:15]OFD Sender: No OFD packet to send [23:42:20]OFD Sender: No OFD packet to send [23:42:25]OFD Sender: No OFD packet to send [23:42:30]OFD Sender: No OFD packet to send [23:42:35]OFD Sender: No OFD packet to send [23:42:40]OFD Sender: No OFD packet to send [23:42:45]OFD Sender: No OFD packet to send [23:42:50]OFD Sender: No OFD packet to send [23:42:55]OFD Sender: No OFD packet to send [23:43:00]OFD Sender: No OFD packet to send [23:43:05]OFD Sender: No OFD packet to send [23:43:10]OFD Sender: No OFD packet to send [23:43:15]OFD Sender: No OFD packet to send [23:43:20]OFD Sender: No OFD packet to send [23:43:25]OFD Sender: No OFD packet to send [23:43:30]OFD Sender: No OFD packet to send [23:43:35]OFD Sender: No OFD packet to send [23:43:40]OFD Sender: No OFD packet to send [23:43:45]OFD Sender: No OFD packet to send [23:43:50]OFD Sender: No OFD packet to send [23:43:55]OFD Sender: No OFD packet to send [23:44:00]OFD Sender: No OFD packet to send [23:44:05]OFD Sender: No OFD packet to send [23:44:10]OFD Sender: No OFD packet to send [23:44:15]OFD Sender: No OFD packet to send [23:44:20]OFD Sender: No OFD packet to send [23:44:25]OFD Sender: No OFD packet to send [23:44:30]OFD Sender: No OFD packet to send [23:44:35]OFD Sender: No OFD packet to send [23:44:40]OFD Sender: No OFD packet to send [23:44:45]OFD Sender: No OFD packet to send [23:44:50]OFD Sender: No OFD packet to send [23:44:55]OFD Sender: No OFD packet to send [23:45:00]OFD Sender: No OFD packet to send [23:45:05]OFD Sender: No OFD packet to send [23:45:10]OFD Sender: No OFD packet to send [23:45:15]OFD Sender: No OFD packet to send [23:45:20]OFD Sender: No OFD packet to send [23:45:25]OFD Sender: No OFD packet to send [23:45:30]OFD Sender: No OFD packet to send [23:45:35]OFD Sender: No OFD packet to send [23:45:40]OFD Sender: No OFD packet to send [23:45:45]OFD Sender: No OFD packet to send [23:45:50]OFD Sender: No OFD packet to send [23:45:55]OFD Sender: No OFD packet to send [23:46:00]OFD Sender: No OFD packet to send [23:46:05]OFD Sender: No OFD packet to send [23:46:10]OFD Sender: No OFD packet to send [23:46:15]OFD Sender: No OFD packet to send [23:46:20]OFD Sender: No OFD packet to send [23:46:25]OFD Sender: No OFD packet to send [23:46:30]OFD Sender: No OFD packet to send [23:46:35]OFD Sender: No OFD packet to send [23:46:40]OFD Sender: No OFD packet to send [23:46:45]OFD Sender: No OFD packet to send [23:46:50]OFD Sender: No OFD packet to send [23:46:55]OFD Sender: No OFD packet to send [23:47:00]OFD Sender: No OFD packet to send [23:47:05]OFD Sender: No OFD packet to send [23:47:10]OFD Sender: No OFD packet to send [23:47:15]OFD Sender: No OFD packet to send [23:47:20]OFD Sender: No OFD packet to send [23:47:25]OFD Sender: No OFD packet to send [23:47:30]OFD Sender: No OFD packet to send [23:47:35]OFD Sender: No OFD packet to send [23:47:40]OFD Sender: No OFD packet to send [23:47:45]OFD Sender: No OFD packet to send [23:47:50]OFD Sender: No OFD packet to send [23:47:55]OFD Sender: No OFD packet to send [23:48:00]OFD Sender: No OFD packet to send [23:48:05]OFD Sender: No OFD packet to send [23:48:10]OFD Sender: No OFD packet to send [23:48:15]OFD Sender: No OFD packet to send [23:48:20]OFD Sender: No OFD packet to send [23:48:25]OFD Sender: No OFD packet to send [23:48:30]OFD Sender: No OFD packet to send [23:48:35]OFD Sender: No OFD packet to send [23:48:40]OFD Sender: No OFD packet to send [23:48:45]OFD Sender: No OFD packet to send [23:48:50]OFD Sender: No OFD packet to send [23:48:55]OFD Sender: No OFD packet to send [23:49:00]OFD Sender: No OFD packet to send [23:49:05]OFD Sender: No OFD packet to send [23:49:10]OFD Sender: No OFD packet to send [23:49:15]OFD Sender: No OFD packet to send [23:49:20]OFD Sender: No OFD packet to send [23:49:25]OFD Sender: No OFD packet to send [23:49:30]OFD Sender: No OFD packet to send [23:49:35]OFD Sender: No OFD packet to send [23:49:40]OFD Sender: No OFD packet to send [23:49:45]OFD Sender: No OFD packet to send [23:49:50]OFD Sender: No OFD packet to send [23:49:55]OFD Sender: No OFD packet to send [23:50:00]OFD Sender: No OFD packet to send [23:50:05]OFD Sender: No OFD packet to send [23:50:10]OFD Sender: No OFD packet to send [23:50:15]OFD Sender: No OFD packet to send [23:50:20]OFD Sender: No OFD packet to send [23:50:25]OFD Sender: No OFD packet to send [23:50:30]OFD Sender: No OFD packet to send [23:50:35]OFD Sender: No OFD packet to send [23:50:40]OFD Sender: No OFD packet to send [23:50:45]OFD Sender: No OFD packet to send [23:50:50]OFD Sender: No OFD packet to send [23:50:55]OFD Sender: No OFD packet to send [23:51:00]OFD Sender: No OFD packet to send [23:51:05]OFD Sender: No OFD packet to send [23:51:10]OFD Sender: No OFD packet to send [23:51:15]OFD Sender: No OFD packet to send [23:51:20]OFD Sender: No OFD packet to send [23:51:25]OFD Sender: No OFD packet to send [23:51:30]OFD Sender: No OFD packet to send [23:51:35]OFD Sender: No OFD packet to send [23:51:40]OFD Sender: No OFD packet to send [23:51:45]OFD Sender: No OFD packet to send [23:51:50]OFD Sender: No OFD packet to send [23:51:55]OFD Sender: No OFD packet to send [23:52:00]OFD Sender: No OFD packet to send [23:52:05]OFD Sender: No OFD packet to send [23:52:10]OFD Sender: No OFD packet to send [23:52:15]OFD Sender: No OFD packet to send [23:52:20]OFD Sender: No OFD packet to send [23:52:25]OFD Sender: No OFD packet to send [23:52:30]OFD Sender: No OFD packet to send [23:52:35]OFD Sender: No OFD packet to send [23:52:40]OFD Sender: No OFD packet to send [23:52:45]OFD Sender: No OFD packet to send [23:52:50]OFD Sender: No OFD packet to send [23:52:55]OFD Sender: No OFD packet to send [23:53:00]OFD Sender: No OFD packet to send [23:53:01]accept exits with 9 [23:53:01]New connection [23:53:01]New thread 3067440484 created [23:53:01]Thread 3067297124 joined [23:53:01]Waiting for new connection... [23:53:01] Sock 9.Parse request [23:53:01]Sock 9.Check first char [23:53:01]Sock 9.First char is OK [23:53:01]request: POST /json_proto HTTP/1.0 [23:53:01]Method: POST [23:53:01]URL: /json_proto [23:53:01]Method is POST - this is cgi request [23:53:01]url: /json_proto [23:53:01]query_string will be loaded in cgi processing [23:53:01]execute_cgi json_proto POST (null) [23:53:01]execute_cgi path=json_proto method=POST [23:53:01]POST find Content-Length [23:53:01]Host: 172.17.40.196:8080 [23:53:01]Content-Length: 622 [23:53:01]Content-Type: application/json [23:53:01] [23:53:01]POST finish read [23:53:01]Found Content-Length = 622 [23:53:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35053", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:53:01]execute_script... [23:53: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)35053", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:53:01]POST & json_proto [23:53:01]process_json_proto [23:53:01]json parsed OK: [23:53:01]protocol is kg_v1.0 [23:53:01]action value=close_receipt [23:53:01]process_action close_receipt [23:53:01]cmd_close_receipt [23:53:01]MH_GetDate [23:53:01]Write to MH i2c: F0 00 00 2A 15 2E [23:53:01]Write i2c OK [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: F0 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: F0 09 00 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: F0 09 00 2A 15 00 62 D2 1E 67 5B 68 A1 66 BA [23:53:01]GetLastDocTimeStamp 1730071906 [23:53:01]current date 1730073186 [23:53:01]FM_GetShiftState [23:53:01]SAM_PROTO_GetShiftState [23:53:01]wFMCommunicate request_size=4 [23:53:01]MH_SAM_APDU [23:53:01]CAPDU: 80 13 01 00 [23:53:01]Write to MH i2c: E2 08 00 2B 15 80 13 01 00 00 00 00 00 BD [23:53:01]Write i2c OK [23:53:01]MH_I2C_Read... [23:53:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:53:01]Read from MH i2c: E2 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: E2 0E 00 [23:53:01]MH_I2C_Read... [23:53:01]Read from MH i2c: E2 0E 00 2B 15 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 74 [23:53:01]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [23:53:01]wFMCommunicate OK [23:53:01]SAM_PROTO_GetShiftState done [23:53:01]FM_GetShiftState done [23:53:01]opened in 1729987492 [23:53:01]opened+sec_in_day 1730073892 [23:53:01]quantity*price = 14400 [23:53:01]sum+1 = 14401 [23:53:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 81 27.10.2024 23:53 Смена: 550 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37755 ФПД: 68300866577993 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T235306&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37755&fm=68300866577993&tin=02508201610067®Number=0000000000091684&sum=14400 0 [23:53:02]StoreToDocumentArchive [23:53:02]shift 550 fd 37755 [23:53:02]save to /storage/0550/doc_00037755 [23:53:02]save last doc name /storage/0550/doc_00037755 to /storage/kkm_last_doc_name [23:53:02]save OK [23:53:02]Clear old archive folders... [23:53:02]ProcessDocumentItem done err = 0, tmpTLVsize=275 [23:53:02]tlvbuf is B6FCF7D0 [23:53:02]SAM_PROTO_ClearQueue [23:53:02]wFMCommunicate request_size=4 [23:53:02]MH_SAM_APDU [23:53:02]CAPDU: 80 09 00 00 [23:53:02]Write to MH i2c: E2 08 00 38 15 80 09 00 00 00 00 00 00 BF [23:53:02]Write i2c OK [23:53:02]MH_I2C_Read... [23:53:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:53:02]Read from MH i2c: E2 [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: E2 03 00 [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: E2 03 00 38 15 00 90 00 C1 [23:53:02]RAPDU: 90 00 [23:53:02]wFMCommunicate OK [23:53:02]SAM_PROTO_ClearQueue done [23:53:02]KKMCreateOFDPacket [23:53:02]OFDProtocolAddRootSTLVToBuf [23:53:02]FM_MakeSignedData [23:53:02]FM_MakeSignedData [23:53:02]SAM_PROTO_SignData [23:53:02]wFMCommunicate request_size=4 [23:53:02]MH_SAM_APDU [23:53:02]CAPDU: 80 0D 01 02 [23:53:02]Write to MH i2c: E2 08 00 39 15 80 0D 01 02 00 00 00 00 C7 [23:53:02]Write i2c OK [23:53:02]MH_I2C_Read... [23:53:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:53:02]Read from MH i2c: E2 [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: E2 03 00 [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: E2 03 00 39 15 00 90 00 C2 [23:53:02]RAPDU: 90 00 [23:53:02]wFMCommunicate OK [23:53:02]wFMCommunicate request_size=255 [23:53:02]MH_SAM_APDU [23:53:02]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 51 00 00 00 F4 03 04 00 62 D2 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 [23:53:02]Write to MH i2c: E2 02 01 3A 15 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 51 00 00 00 F4 03 04 00 62 D2 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 01 [23:53:02]Write i2c OK [23:53:02]MH_I2C_Read... [23:53:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:53:02]Read from MH i2c: E2 [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: E2 03 00 [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: E2 03 00 3A 15 00 90 00 C3 [23:53:02]RAPDU: 90 00 [23:53:02]wFMCommunicate OK [23:53:02]wFMCommunicate request_size=34 [23:53:02]MH_SAM_APDU [23:53:02]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 7B 93 00 00 35 04 06 00 3E 1E 88 E3 E6 49 [23:53:02]Write to MH i2c: E2 25 00 3B 15 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 7B 93 00 00 35 04 06 00 3E 1E 88 E3 E6 49 00 00 8C [23:53:02]Write i2c OK [23:53:02]MH_I2C_Read... [23:53:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:53:02]Read from MH i2c: E2 [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: E2 03 00 [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: E2 03 00 3B 15 00 90 00 C4 [23:53:02]RAPDU: 90 00 [23:53:02]wFMCommunicate OK [23:53:02]wFMCommunicate request_size=4 [23:53:02]MH_SAM_APDU [23:53:02]CAPDU: 80 0D 03 02 [23:53:02]Write to MH i2c: E2 08 00 3C 15 80 0D 03 02 00 00 00 00 CC [23:53:02]Write i2c OK [23:53:02]MH_I2C_Read... [23:53:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:53:02]Read from MH i2c: E2 [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: E2 0B 00 [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: E2 0B 00 3C 15 00 2A B4 51 4B D4 1B A2 93 90 00 6B [23:53:02]RAPDU: 2A B4 51 4B D4 1B A2 93 90 00 [23:53:02]wFMCommunicate OK [23:53:02]SAM_PROTO_SignData done [23:53:02]FM_MakeSignedData done [23:53:02]CreateOFDProtocolMessage [23:53:02]wFMCommunicate request_size=4 [23:53:02]MH_SAM_APDU [23:53:02]CAPDU: 80 11 00 00 [23:53:02]Write to MH i2c: E2 08 00 3D 15 80 11 00 00 00 00 00 00 CC [23:53:02]Write i2c OK [23:53:02]MH_I2C_Read... [23:53:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:53:02]Read from MH i2c: E2 [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: E2 17 00 [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: E2 17 00 3D 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 1C [23:53: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:53:02]wFMCommunicate OK [23:53:02]CreateOFDProtocolMessage done [23:53:02]OFDSenderStorePacket 37755 [23:53:02]StoreOFDPacket docnum=37755 [23:53: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 27 01 00 00 3E E5 1F 01 58 A7 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 51 00 00 00 F4 03 04 00 62 D2 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 7B 93 00 00 35 04 06 00 3E 1E 88 E3 E6 49 2A B4 51 4B D4 1B A2 93 [23:53:02]CheckFolder [23:53:02]dirname=/storage/ofd_packets [23:53:02]CheckFolder done [23:53:02]ProducePacketName [23:53:02]name=ofd_packets/00037755 [23:53:02]NVStorageSaveData ofd_packets/00037755 [23:53:02]File name is /storage/ofd_packets/00037755 [23:53:02]Write 325 bytes [23:53:02]NVStorageSaveData done [23:53:02]OFDSenderStorePacket done [23:53:02]KKMCreateOFDPacket done [23:53:02]NVStorageSaveData kkm_last_timestamp [23:53:02]File name is /storage/kkm_last_timestamp [23:53:02]Write 4 bytes [23:53:02]NVStorageSaveData done [23:53:02]ExternCall_PrintAddStr [23:53:02]wPrintStart [23:53:02]Write to MH i2c: 01 00 00 3E 15 53 [23:53:02]Write i2c OK [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: 01 [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: 01 07 00 [23:53:02]MH_I2C_Read... [23:53:02]Read from MH i2c: 01 07 00 3E 15 00 00 00 00 00 FF 0F 68 [23:53:02]RasterBufferAndPrint [23:53:02]line Счет N : (3)35053 [23:53:02]line ИНН: 02508201610067 [23:53:02]line Контрольно-Кассовый Чек [23:53:02]line ПРОДАЖА [23:53:02]line Товар: 48743587 [23:53:02]line Сигареты Winston XStyle Silver [23:53:02]line 1.000 * 144.00 [23:53:02]line = 144.00 [23:53:02]line НДС 12% НСП 1% [23:53:02]line > о реализуемом товаре [23:53:02]line ИТОГО: 144.00 [23:53:02]line НСП 1% : 1.27 [23:53:02]line НДС 12% : 15.29 [23:53:02]line Наличными: 144.00 [23:53:02]line Безнал.: 0.00 [23:53:02]line Место: АЗС № 126 "Партнер Нефть" [23:53:02]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [23:53:02]line СНО: Общий режим [23:53:02]line Чек 81 27.10.2024 23:53 [23:53:02]line Смена: 550 ФФД: 1.0 [23:53:02]line ЗНМ: 0300000092 [23:53:02]line РНМ: 0000000000091684 [23:53:02]line Версия ККМ: 001 [23:53:02]line ФМ: 0000000000871841 [23:53:02]line ФД: 37755 [23:53:02]line ФПД: 68300866577993 [23:53:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241027T235306&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37755&fm=68300866577993&tin=02508201610067®Number=0000000000091684&sum=14400 [23:53:03]line 0 [23:53:03]OFD Sender: Processing packet 37755 [packets to send 42, broken 41] [23:53:03]ProducePacketName [23:53:03]name=ofd_packets/00037755 [23:53:03]OFD Sender: To server: pG, [23:53:03]CommunicateWithHost lk.salyk.kg:30040 [23:53:03]written 0, free lines is 4095 [23:53:03]ConnectInit lk.salyk.kg [23:53:03]Write to MH i2c: 01 00 00 67 15 7C [23:53:03]Write i2c OK [23:53:03]MH_I2C_Read... [23:53:03]Read from MH i2c: 01 [23:53:03]MH_I2C_Read... [23:53:03]Read from MH i2c: 01 07 00 [23:53:03]MH_I2C_Read... [23:53:03]Read from MH i2c: 01 07 00 67 15 00 00 00 00 00 B0 0C 3F [23:53:03]RasterBufferAndPrint [23:53:03]line [23:53:03]line [23:53:03]line [23:53:03]line [23:53:03]line [23:53:03]written 0, free lines is 3250 [23:53:03]MH_Cut [23:53:03]Write to MH i2c: D1 01 00 6E 15 01 55 [23:53:03]Write i2c OK [23:53:03]MH_I2C_Read... [23:53:03]Read from MH i2c: D1 [23:53:03]MH_I2C_Read... [23:53:03]Read from MH i2c: D1 01 00 [23:53:03]MH_I2C_Read... [23:53:03]Read from MH i2c: D1 01 00 6E 15 00 54 [23:53:03]Write to MH i2c: 01 00 00 6F 15 84 [23:53:03]Write i2c OK [23:53:03]MH_I2C_Read... [23:53:04]*** Cut start [23:53:04]*** Partial cut [23:53:04]*** CUTSNS_PIN = 1 [23:53:04]*** CUTSNS_PIN = 0 [23:53:04]*** Brake cut motor [23:53:05]Read from MH i2c: 01 [23:53:05]MH_I2C_Read... [23:53:05]*** Stop cut motor [23:53:05]*** Cut end [23:53:05]Read from MH i2c: 01 07 00 [23:53:05]MH_I2C_Read... [23:53:05]Read from MH i2c: 01 07 00 6F 15 00 00 00 00 00 FF 0F 99 [23:53:05]process_action close_receipt done [23:53:05]requested_data is exist [23:53:05]produce_requested_data [23:53:05]requested_item fm.sn is exist - process it [23:53:05]wFMCommunicate request_size=4 [23:53:05]MH_SAM_APDU [23:53:05]CAPDU: 80 11 00 00 [23:53:05]Write to MH i2c: E2 08 00 70 15 80 11 00 00 00 00 00 00 FF [23:53:05]Write i2c OK [23:53:05]MH_I2C_Read... [23:53:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:53:05]Read from MH i2c: E2 [23:53:05]MH_I2C_Read... [23:53:05]Read from MH i2c: E2 17 00 [23:53:05]MH_I2C_Read... [23:53:05]Read from MH i2c: E2 17 00 70 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 4F [23:53:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [23:53:05]wFMCommunicate OK [23:53:05]requested_item fd.num is exist - process it [23:53:05]SAM_PROTO_GetFieldsCounters [23:53:05]wFMCommunicate request_size=4 [23:53:05]MH_SAM_APDU [23:53:05]CAPDU: 80 13 00 00 [23:53:05]Write to MH i2c: E2 08 00 71 15 80 13 00 00 00 00 00 00 02 [23:53:05]Write i2c OK [23:53:05]MH_I2C_Read... [23:53:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:53:05]Read from MH i2c: E2 [23:53:05]MH_I2C_Read... [23:53:05]Read from MH i2c: E2 62 00 [23:53:05]MH_I2C_Read... [23:53:05]Read from MH i2c: E2 62 00 71 15 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 7B 93 00 00 0E 04 04 00 26 02 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 4C [23:53: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 7B 93 00 00 0E 04 04 00 26 02 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:53:05]wFMCommunicate OK [23:53:05]SAM_PROTO_GetFieldsCounters done [23:53:05]requested_item shift.num is exist - process it [23:53:05]requested_item shift.opened is exist - process it [23:53:05]req_shift_opened [23:53:05]FM_GetShiftState [23:53:05]SAM_PROTO_GetShiftState [23:53:05]wFMCommunicate request_size=4 [23:53:05]MH_SAM_APDU [23:53:05]CAPDU: 80 13 01 00 [23:53:05]Write to MH i2c: E2 08 00 72 15 80 13 01 00 00 00 00 00 04 [23:53:05]Write i2c OK [23:53:05]MH_I2C_Read... [23:53:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:53:05]Read from MH i2c: E2 [23:53:05]MH_I2C_Read... [23:53:05]Read from MH i2c: E2 0E 00 [23:53:05]MH_I2C_Read... [23:53:05]Read from MH i2c: E2 0E 00 72 15 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 BB [23:53:05]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [23:53:05]wFMCommunicate OK [23:53:05]SAM_PROTO_GetShiftState done [23:53:05]FM_GetShiftState done [23:53:05]req_shift_opened done [23:53:05]requested_item shift.open_date is exist - process it [23:53:05]req_shift_open_date [23:53:05]req_shift_open_date done [23:53:05]produce_requested_data done [23:53:05]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37755,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [23:53:05]process_action_free close_receipt [23:53:05]json_value_free [23:53:05]json_value_free done [23:53:05]process_json_proto returns [23:53:05]Send response to host [23:53:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37755,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [23:53:05]free response buf [23:53:05]execute_script done [23:53:05]execute_script returns [23:53:05]free content buf [23:53:05]Sock 9.Close socket [23:53:05]Sock 9.Thread stoped [23:55:12]ConnectInit Can't connect to host [23:55:12]CommunicateWithHost connect error [23:55:12]CommunicateWithHost err = -1 [23:55:12]OFD Sender: Server communicate error [23:55:17]OFD Sender: Processing packet 37755 [packets to send 42, broken 41] [23:55:17]ProducePacketName [23:55:17]name=ofd_packets/00037755 [23:55:17]OFD Sender: To server: pG, [23:55:17]CommunicateWithHost lk.salyk.kg:30040 [23:55:17]ConnectInit lk.salyk.kg [23:55:18]Connected sock=9 [23:55:18]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 3E E5 1F 01 58 A7 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 51 00 00 00 F4 03 04 00 62 D2 1E 67 0E 04 04 00 26 02 00 00 B9 04 01 00 01 0D 04 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 7B 93 00 00 35 04 06 00 3E 1E 88 E3 E6 49 2A B4 51 4B D4 1B A2 93 [23:55:18]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 1F E9 47 00 3B 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 7B 93 00 00 F4 03 04 00 DF 7D 1E 67 B6 04 01 00 00 66 C9 1B 2A 32 06 93 E6 [23:55:18]CommunicateWithHost err = 0 [23:55:18]CheckOFDResponse [23:55:18]1017 (14) - 77093643461234 [23:55:18]1041 (16) - 0000000000871841 [23:55:18]1040 (4) - 37755 [23:55:18]1012 (4) - 27.10.2024 17:52 [23:55:18]1206 (1) - 0 [23:55:18]OFD Sender: Remove packet 37755 [23:55:18]ProducePacketName [23:55:18]name=ofd_packets/00037755 [23:55:18]NVStorageDeleteData [23:55:18]OFD Sender: No OFD packet to send [23:55:23]OFD Sender: No OFD packet to send [23:55:28]OFD Sender: No OFD packet to send [23:55:33]OFD Sender: No OFD packet to send [23:55:38]OFD Sender: No OFD packet to send [23:55:43]OFD Sender: No OFD packet to send [23:55:48]OFD Sender: No OFD packet to send [23:55:53]OFD Sender: No OFD packet to send [23:55:58]OFD Sender: No OFD packet to send [23:56:03]OFD Sender: No OFD packet to send [23:56:08]OFD Sender: No OFD packet to send [23:56:13]OFD Sender: No OFD packet to send [23:56:18]OFD Sender: No OFD packet to send [23:56:23]OFD Sender: No OFD packet to send [23:56:28]OFD Sender: No OFD packet to send [23:56: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: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:08]accept exits with 7 [00:00:08]New connection [00:00:08]New thread 3067297124 created [00:00:08]Thread 3067440484 joined [00:00:08]Waiting for new connection... [00:00:08] Sock 7.Parse request [00:00:08]Sock 7.Check first char [00:00:08]Sock 7.First char is OK [00:00:08]request: POST /json_proto HTTP/1.0 [00:00:08]Method: POST [00:00:08]URL: /json_proto [00:00:08]Method is POST - this is cgi request [00:00:08]url: /json_proto [00:00:08]query_string will be loaded in cgi processing [00:00:08]execute_cgi json_proto POST (null) [00:00:08]execute_cgi path=json_proto method=POST [00:00:08]POST find Content-Length [00:00:08]Host: 172.17.40.196:8080 [00:00:08]Content-Length: 215 [00:00:08]Content-Type: application/json [00:00:08] [00:00:08]POST finish read [00:00:08]Found Content-Length = 215 [00:00:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:08]execute_script... [00:00:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:08]POST & json_proto [00:00:08]process_json_proto [00:00:08]json parsed OK: [00:00:08]protocol is kg_v1.0 [00:00:08]action value=get_value [00:00:08]process_action get_value [00:00:08]cmd_get_value [00:00:08]process_action get_value done [00:00:08]requested_data is exist [00:00:08]produce_requested_data [00:00:08]requested_item kkm.sn is exist - process it [00:00:08]requested_item kkm.ver is exist - process it [00:00:08]requested_item fm.sn is exist - process it [00:00:08]wFMCommunicate request_size=4 [00:00:08]MH_SAM_APDU [00:00:08]CAPDU: 80 11 00 00 [00:00:08]Write to MH i2c: E2 08 00 73 15 80 11 00 00 00 00 00 00 02 [00:00:08]Write i2c OK [00:00:08]MH_I2C_Read... [00:00:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:00:08]Read from MH i2c: E2 [00:00:08]MH_I2C_Read... [00:00:08]Read from MH i2c: E2 17 00 [00:00:08]MH_I2C_Read... [00:00:08]Read from MH i2c: E2 17 00 73 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 52 [00:00:08]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:08]wFMCommunicate OK [00:00:08]requested_item fd.num is exist - process it [00:00:08]SAM_PROTO_GetFieldsCounters [00:00:08]wFMCommunicate request_size=4 [00:00:08]MH_SAM_APDU [00:00:08]CAPDU: 80 13 00 00 [00:00:08]Write to MH i2c: E2 08 00 74 15 80 13 00 00 00 00 00 00 05 [00:00:08]Write i2c OK [00:00:08]MH_I2C_Read... [00:00:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:00:08]Read from MH i2c: E2 [00:00:08]MH_I2C_Read... [00:00:08]Read from MH i2c: E2 62 00 [00:00:08]MH_I2C_Read... [00:00:08]Read from MH i2c: E2 62 00 74 15 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 7B 93 00 00 0E 04 04 00 26 02 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 4F [00:00: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 7B 93 00 00 0E 04 04 00 26 02 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:00:08]wFMCommunicate OK [00:00:08]SAM_PROTO_GetFieldsCounters done [00:00:08]requested_item shift.num is exist - process it [00:00:08]requested_item shift.opened is exist - process it [00:00:08]req_shift_opened [00:00:08]FM_GetShiftState [00:00:08]SAM_PROTO_GetShiftState [00:00:08]wFMCommunicate request_size=4 [00:00:08]MH_SAM_APDU [00:00:08]CAPDU: 80 13 01 00 [00:00:08]Write to MH i2c: E2 08 00 75 15 80 13 01 00 00 00 00 00 07 [00:00:08]Write i2c OK [00:00:08]MH_I2C_Read... [00:00:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:08]Read from MH i2c: E2 [00:00:08]MH_I2C_Read... [00:00:08]Read from MH i2c: E2 0E 00 [00:00:08]MH_I2C_Read... [00:00:08]Read from MH i2c: E2 0E 00 75 15 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 BE [00:00:08]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [00:00:08]wFMCommunicate OK [00:00:08]SAM_PROTO_GetShiftState done [00:00:08]FM_GetShiftState done [00:00:08]req_shift_opened done [00:00:08]requested_item shift.open_date is exist - process it [00:00:08]req_shift_open_date [00:00:08]req_shift_open_date done [00:00:08]produce_requested_data done [00:00:08]produce_requested_data return {"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37755,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [00:00:08]process_action_free get_value [00:00:08]json_value_free [00:00:08]json_value_free done [00:00:08]process_json_proto returns [00:00:08]Send response to host [00:00:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37755,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [00:00:08]free response buf [00:00:08]execute_script done [00:00:08]execute_script returns [00:00:08]free content buf [00:00:08]Sock 7.Close socket [00:00:08]Sock 7.Thread stoped [00:00:08]accept exits with 10 [00:00:08]New connection [00:00:08]New thread 3067440484 created [00:00:08]Thread 3067297124 joined [00:00:08]Waiting for new connection... [00:00:08] Sock 10.Parse request [00:00:08]Sock 10.Check first char [00:00:08]Sock 10.First char is OK [00:00:08]request: POST /json_proto HTTP/1.0 [00:00:08]Method: POST [00:00:08]URL: /json_proto [00:00:08]Method is POST - this is cgi request [00:00:08]url: /json_proto [00:00:08]query_string will be loaded in cgi processing [00:00:08]execute_cgi json_proto POST (null) [00:00:08]execute_cgi path=json_proto method=POST [00:00:08]POST find Content-Length [00:00:08]Host: 172.17.40.196:8080 [00:00:08]Content-Length: 331 [00:00:08]Content-Type: application/json [00:00:08] [00:00:08]POST finish read [00:00:08]Found Content-Length = 331 [00:00:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:00:08]execute_script... [00:00:09]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:09]POST & json_proto [00:00:09]process_json_proto [00:00:09]json parsed OK: [00:00:09]protocol is kg_v1.0 [00:00:09]action value=get_value [00:00:09]process_action get_value [00:00:09]cmd_get_value [00:00:09]process_action get_value done [00:00:09]requested_data is exist [00:00:09]produce_requested_data [00:00:09]requested_item fm.sale.total is exist - process it [00:00:09]SAM_PROTO_GetFMData [00:00:09]wFMCommunicate request_size=4 [00:00:09]MH_SAM_APDU [00:00:09]CAPDU: 80 13 03 00 [00:00:09]Write to MH i2c: E2 08 00 76 15 80 13 03 00 00 00 00 00 0A [00:00:09]Write i2c OK [00:00:09]MH_I2C_Read... [00:00:09]OFD Sender: No OFD packet to send [00:00:09]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:00:09]Read from MH i2c: E2 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: E2 FD 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: E2 FD 00 76 15 00 C0 04 85 04 BC 04 6E 04 04 00 2F 8F 00 00 69 04 A0 00 6F 04 04 00 2A 8F 00 00 B1 04 04 00 8E E6 1B 34 70 04 04 00 4C B3 4A 2E 72 04 04 00 42 33 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 89 AF 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 89 FC 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 21 [00:00:09]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 2F 8F 00 00 69 04 A0 00 6F 04 04 00 2A 8F 00 00 B1 04 04 00 8E E6 1B 34 70 04 04 00 4C B3 4A 2E 72 04 04 00 42 33 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 89 AF 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 89 FC 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:09]wFMCommunicate OK [00:00:09]wFMCommunicate request_size=4 [00:00:09]MH_SAM_APDU [00:00:09]CAPDU: 80 17 00 00 [00:00:09]Write to MH i2c: E2 08 00 77 15 80 17 00 00 00 00 00 00 0C [00:00:09]Write i2c OK [00:00:09]MH_I2C_Read... [00:00:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:09]Read from MH i2c: E2 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: E2 FD 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: E2 FD 00 77 15 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 07 [00:00:09]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:09]wFMCommunicate OK [00:00:09]wFMCommunicate request_size=4 [00:00:09]MH_SAM_APDU [00:00:09]CAPDU: 80 17 00 00 [00:00:09]Write to MH i2c: E2 08 00 78 15 80 17 00 00 00 00 00 00 0D [00:00:09]Write i2c OK [00:00:09]MH_I2C_Read... [00:00:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:10]Read from MH i2c: E2 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: E2 FD 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: E2 FD 00 78 15 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 B0 [00:00:10]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:10]wFMCommunicate OK [00:00:10]wFMCommunicate request_size=4 [00:00:10]MH_SAM_APDU [00:00:10]CAPDU: 80 17 00 00 [00:00:10]Write to MH i2c: E2 08 00 79 15 80 17 00 00 00 00 00 00 0E [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:10]Read from MH i2c: E2 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: E2 FD 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: E2 FD 00 79 15 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 86 [00:00:10]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:10]wFMCommunicate OK [00:00:10]wFMCommunicate request_size=4 [00:00:10]MH_SAM_APDU [00:00:10]CAPDU: 80 17 00 00 [00:00:10]Write to MH i2c: E2 08 00 7A 15 80 17 00 00 00 00 00 00 0F [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:00:10]Read from MH i2c: E2 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: E2 DD 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: E2 DD 00 7A 15 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 F7 [00:00:10]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:10]wFMCommunicate OK [00:00:10]SAM_PROTO_GetFMData done [00:00:10]requested_item fm.sale_refund.total is exist - process it [00:00:10]requested_item fm.buy.total is exist - process it [00:00:10]requested_item shift.sale.total is exist - process it [00:00:10]SAM_PROTO_GetShiftData [00:00:10]wFMCommunicate request_size=4 [00:00:10]MH_SAM_APDU [00:00:10]CAPDU: 80 13 02 00 [00:00:10]Write to MH i2c: E2 08 00 7B 15 80 13 02 00 00 00 00 00 0E [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:11]Read from MH i2c: E2 [00:00:11]MH_I2C_Read... [00:00:11]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:00:11]Read from MH i2c: E2 FD 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: E2 FD 00 7B 15 00 AE 04 AA 04 AA 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 B8 74 14 70 04 03 00 C8 B3 10 72 04 03 00 F0 C0 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 0F 2C 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 4E 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 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 A8 [00:00:11]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 B8 74 14 70 04 03 00 C8 B3 10 72 04 03 00 F0 C0 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 0F 2C 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 4E 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 - сумма НСП по ставке [00:00:20] 1130 (141) - счетчики операций «возврат прихода» [00:00:20] 1135 (4) - 0 - количество чеков по признаку расчетов [00:00:20] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:00:20] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:00:20] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:00:20] 1024 (117) - суммы налогов [00:00:20] 1006 (9) - суммы НДС [00:00:20] 1010 (1) - 0% - код ставки НДС [00:00:20] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:20] 1006 (9) - суммы НДС [00:00:20] 1010 (1) - 12% - код ставки НДС [00:00:20] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:20] 1007 (9) - суммы НСП [00:00:20] 1014 (1) - 0% - код ставки НСП [00:00:20] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:20] 1007 (9) - суммы НСП [00:00:20] 1014 (1) - 1% - код ставки НСП [00:00:20] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:20] 1007 (9) - суммы НСП [00:00:20] 1014 (1) - 2% - код ставки НСП [00:00:20] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:20] 1007 (9) - суммы НСП [00:00:20] 1014 (1) - 3% - код ставки НСП [00:00:20] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:20] 1007 (9) - суммы НСП [00:00:20] 1014 (1) - 5% - код ставки НСП [00:00:20] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:20] 1007 (9) - суммы НСП [00:00:20] 1014 (1) - 0,50% - код ставки НСП [00:00:20] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:20] 1007 (9) - суммы НСП [00:00:20] 1014 (1) - 1,50% - код ставки НСП [00:00:20] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:20] 1131 (141) - счетчики операций «расход» [00:00:20] 1135 (4) - 0 - количество чеков по признаку расчетов [00:00:20] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:00:20] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:00:20] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:00:20] 1024 (117) - суммы налогов [00:00:20] 1006 (9) - суммы НДС [00:00:20] 1010 (1) - 0% - код ставки НДС [00:00:20] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:20] 1006 (9) - суммы НДС [00:00:20] 1010 (1) - 12% - код ставки НДС [00:00:20] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:20] 1007 (9) - суммы НСП [00:00:20] 1014 (1) - 0% - код ставки НСП [00:00:20] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:20] 1007 (9) - суммы НСП [00:00:20] 1014 (1) - 1% - код ставки НСП [00:00:20] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:20] 1007 (9) - суммы НСП [00:00:20] 1014 (1) - 2% - код ставки НСП [00:00:20] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:20] 1007 (9) - суммы НСП [00:00:20] 1014 (1) - 3% - код ставки НСП [00:00:20] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:20] 1007 (9) - суммы НСП [00:00:20] 1014 (1) - 5% - код ставки НСП [00:00:20] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:20] 1007 (9) - суммы НСП [00:00:20] 1014 (1) - 0,50% - код ставки НСП [00:00:20] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:20] 1007 (9) - суммы НСП [00:00:20] 1014 (1) - 1,50% - код ставки НСП [00:00:20] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:20] 1132 (141) - счетчики операций «возврат расхода» [00:00:20] 1135 (4) - 0 - количество чеков по признаку расчетов [00:00:20] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:00:20] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:00:20] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:00:20] 1024 (117) - суммы налогов [00:00:20] 1006 (9) - суммы НДС [00:00:20] 1010 (1) - 0% - код ставки НДС [00:00:20] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:20] 1006 (9) - суммы НДС [00:00:20] 1010 (1) - 12% - код ставки НДС [00:00:20] 1011 (0) - 0.00 - сумма НДС по ставке [00:00:20] 1007 (9) - суммы НСП [00:00:20] 1014 (1) - 0% - код ставки НСП [00:00:20] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:20] 1007 (9) - суммы НСП [00:00:20] 1014 (1) - 1% - код ставки НСП [00:00:20] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:20] 1007 (9) - суммы НСП [00:00:20] 1014 (1) - 2% - код ставки НСП [00:00:20] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:20] 1007 (9) - суммы НСП [00:00:20] 1014 (1) - 3% - код ставки НСП [00:00:20] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:20] 1007 (9) - суммы НСП [00:00:20] 1014 (1) - 5% - код ставки НСП [00:00:20] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:20] 1007 (9) - суммы НСП [00:00:20] 1014 (1) - 0,50% - код ставки НСП [00:00:20] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:20] 1007 (9) - суммы НСП [00:00:20] 1014 (1) - 1,50% - код ставки НСП [00:00:20] 1015 (0) - 0.00 - сумма НСП по ставке [00:00:20] 1133 (588) - - счетчики коррекции - не используются [00:00:20]SetTLVBufToDocument [00:00:20]Processing tag 1194 (04AA) [00:00:20]Load OK [00:00:20]SetTLVBufToDocument [00:00:20]Processing tag 1134 (046E) [00:00:20]Malloc new data [00:00:20]Processing tag 1129 (0469) [00:00:20]Load OK [00:00:20]SetTLVBufToDocument [00:00:20]Processing tag 1135 (046F) [00:00:20]Malloc new data [00:00:20]Processing tag 1201 (04B1) [00:00:20]Malloc new data [00:00:20]Processing tag 1136 (0470) [00:00:20]Malloc new data [00:00:20]Processing tag 1138 (0472) [00:00:20]Malloc new data [00:00:20]Processing tag 1024 (0400) [00:00:20]Load OK [00:00:20]SetTLVBufToDocument [00:00:20]Processing tag 1006 (03EE) [00:00:20]Load OK [00:00:20]SetTLVBufToDocument [00:00:20]Processing tag 1010 (03F2) [00:00:20]Malloc new data [00:00:20]Processing tag 1011 (03F3) [00:00:20]Malloc new data [00:00:20]SetTLVBufToDocument err=0 [00:00:20]Processing tag 1006 (03EE) [00:00:20]Load OK [00:00:20]SetTLVBufToDocument [00:00:20]Processing tag 1010 (03F2) [00:00:20]Malloc new data [00:00:20]Processing tag 1011 (03F3) [00:00:20]Malloc new data [00:00:20]SetTLVBufToDocument err=0 [00:00:20]Processing tag 1007 (03EF) [00:00:20]Load OK [00:00:20]SetTLVBufToDocument [00:00:20]Processing tag 1014 (03F6) [00:00:20]Malloc new data [00:00:20]Processing tag 1015 (03F7) [00:00:20]Malloc new data [00:00:20]SetTLVBufToDocument err=0 [00:00:20]Processing tag 1007 (03EF) [00:00:20]Load OK [00:00:20]SetTLVBufToDocument [00:00:20]Processing tag 1014 (03F6) [00:00:20]Malloc new data [00:00:20]Processing tag 1015 (03F7) [00:00:20]Malloc new data [00:00:20]SetTLVBufToDocument err=0 [00:00:20]Processing tag 1007 (03EF) [00:00:20]Load OK [00:00:20]SetTLVBufToDocument [00:00:20]Processing tag 1014 (03F6) [00:00:20]Malloc new data [00:00:20]Processing tag 1015 (03F7) [00:00:20]Malloc new data [00:00:20]SetTLVBufToDocument err=0 [00:00:20]Processing tag 1007 (03EF) [00:00:20]Load OK [00:00:20]SetTLVBufToDocument [00:00:20]Processing tag 1014 (03F6) [00:00:20]Malloc new data [00:00:20]Processing tag 1015 (03F7) [00:00:20]Malloc new data [00:00:20]SetTLVBufToDocument err=0 [00:00:20]Processing tag 1007 (03EF) [00:00:20]Load OK [00:00:20]SetTLVBufToDocument [00:00:20]Processing tag 1014 (03F6) [00:00:20]Malloc new data [00:00:20]Processing tag 1015 (03F7) [00:00:20]Malloc new data [00:00:20]SetTLVBufToDocument err=0 [00:00:20]Processing tag 1007 (03EF) [00:00:20]Load OK [00:00:20]SetTLVBufToDocument [00:00:20]Processing tag 1014 (03F6) [00:00:20]Malloc new data [00:00:20]Processing tag 1015 (03F7) [00:00:20]Malloc new data [00:00:20]SetTLVBufToDocument err=0 [00:00:20]Processing tag 1007 (03EF) [00:00:20]Load OK [00:00:20]SetTLVBufToDocument [00:00:20]Processing tag 1014 (03F6) [00:00:21]Malloc new data [00:00:21]Processing tag 1015 (03F7) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]SetTLVBufToDocument err=0 [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1130 (046A) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1135 (046F) [00:00:21]Malloc new data [00:00:21]Processing tag 1201 (04B1) [00:00:21]Malloc new data [00:00:21]Processing tag 1136 (0470) [00:00:21]Malloc new data [00:00:21]Processing tag 1138 (0472) [00:00:21]Malloc new data [00:00:21]Processing tag 1024 (0400) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1006 (03EE) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1010 (03F2) [00:00:21]Malloc new data [00:00:21]Processing tag 1011 (03F3) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1006 (03EE) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1010 (03F2) [00:00:21]Malloc new data [00:00:21]Processing tag 1011 (03F3) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1007 (03EF) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1014 (03F6) [00:00:21]Malloc new data [00:00:21]Processing tag 1015 (03F7) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1007 (03EF) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1014 (03F6) [00:00:21]Malloc new data [00:00:21]Processing tag 1015 (03F7) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1007 (03EF) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1014 (03F6) [00:00:21]Malloc new data [00:00:21]Processing tag 1015 (03F7) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1007 (03EF) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1014 (03F6) [00:00:21]Malloc new data [00:00:21]Processing tag 1015 (03F7) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1007 (03EF) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1014 (03F6) [00:00:21]Malloc new data [00:00:21]Processing tag 1015 (03F7) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1007 (03EF) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1014 (03F6) [00:00:21]Malloc new data [00:00:21]Processing tag 1015 (03F7) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1007 (03EF) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1014 (03F6) [00:00:21]Malloc new data [00:00:21]Processing tag 1015 (03F7) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]SetTLVBufToDocument err=0 [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1131 (046B) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1135 (046F) [00:00:21]Malloc new data [00:00:21]Processing tag 1201 (04B1) [00:00:21]Malloc new data [00:00:21]Processing tag 1136 (0470) [00:00:21]Malloc new data [00:00:21]Processing tag 1138 (0472) [00:00:21]Malloc new data [00:00:21]Processing tag 1024 (0400) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1006 (03EE) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1010 (03F2) [00:00:21]Malloc new data [00:00:21]Processing tag 1011 (03F3) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1006 (03EE) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1010 (03F2) [00:00:21]Malloc new data [00:00:21]Processing tag 1011 (03F3) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1007 (03EF) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1014 (03F6) [00:00:21]Malloc new data [00:00:21]Processing tag 1015 (03F7) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1007 (03EF) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1014 (03F6) [00:00:21]Malloc new data [00:00:21]Processing tag 1015 (03F7) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1007 (03EF) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1014 (03F6) [00:00:21]Malloc new data [00:00:21]Processing tag 1015 (03F7) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1007 (03EF) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1014 (03F6) [00:00:21]Malloc new data [00:00:21]Processing tag 1015 (03F7) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1007 (03EF) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1014 (03F6) [00:00:21]Malloc new data [00:00:21]Processing tag 1015 (03F7) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1007 (03EF) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1014 (03F6) [00:00:21]Malloc new data [00:00:21]Processing tag 1015 (03F7) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1007 (03EF) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1014 (03F6) [00:00:21]Malloc new data [00:00:21]Processing tag 1015 (03F7) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]SetTLVBufToDocument err=0 [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1132 (046C) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1135 (046F) [00:00:21]Malloc new data [00:00:21]Processing tag 1201 (04B1) [00:00:21]Malloc new data [00:00:21]Processing tag 1136 (0470) [00:00:21]Malloc new data [00:00:21]Processing tag 1138 (0472) [00:00:21]Malloc new data [00:00:21]Processing tag 1024 (0400) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1006 (03EE) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1010 (03F2) [00:00:21]Malloc new data [00:00:21]Processing tag 1011 (03F3) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1006 (03EE) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1010 (03F2) [00:00:21]Malloc new data [00:00:21]Processing tag 1011 (03F3) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1007 (03EF) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1014 (03F6) [00:00:21]Malloc new data [00:00:21]Processing tag 1015 (03F7) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1007 (03EF) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1014 (03F6) [00:00:21]Malloc new data [00:00:21]Processing tag 1015 (03F7) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1007 (03EF) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1014 (03F6) [00:00:21]Malloc new data [00:00:21]Processing tag 1015 (03F7) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1007 (03EF) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1014 (03F6) [00:00:21]Malloc new data [00:00:21]Processing tag 1015 (03F7) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1007 (03EF) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1014 (03F6) [00:00:21]Malloc new data [00:00:21]Processing tag 1015 (03F7) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1007 (03EF) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1014 (03F6) [00:00:21]Malloc new data [00:00:21]Processing tag 1015 (03F7) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1007 (03EF) [00:00:21]Load OK [00:00:21]SetTLVBufToDocument [00:00:21]Processing tag 1014 (03F6) [00:00:21]Malloc new data [00:00:21]Processing tag 1015 (03F7) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]SetTLVBufToDocument err=0 [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Processing tag 1133 (046D) [00:00:21]Malloc new data [00:00:21]SetTLVBufToDocument err=0 [00:00:21]SetTLVBufToDocument err=0 [00:00:21]Malloc new data [00:00:21]SAM_PROTO_GetFMData [00:00:21]wFMCommunicate request_size=4 [00:00:21]MH_SAM_APDU [00:00:21]CAPDU: 80 13 03 00 [00:00:21]Write to MH i2c: E2 08 00 94 15 80 13 03 00 00 00 00 00 28 [00:00:21]Write i2c OK [00:00:21]MH_I2C_Read... [00:00:22]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:00:22]Read from MH i2c: E2 [00:00:22]MH_I2C_Read... [00:00:22]Read from MH i2c: E2 FD 00 [00:00:22]MH_I2C_Read... [00:00:22]Read from MH i2c: E2 FD 00 94 15 00 C0 04 85 04 BC 04 6E 04 04 00 2F 8F 00 00 69 04 A0 00 6F 04 04 00 2A 8F 00 00 B1 04 04 00 8E E6 1B 34 70 04 04 00 4C B3 4A 2E 72 04 04 00 42 33 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 89 AF 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 89 FC 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 3F [00:00:22]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 2F 8F 00 00 69 04 A0 00 6F 04 04 00 2A 8F 00 00 B1 04 04 00 8E E6 1B 34 70 04 04 00 4C B3 4A 2E 72 04 04 00 42 33 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 89 AF 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 89 FC 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:22]wFMCommunicate OK [00:00:22]wFMCommunicate request_size=4 [00:00:22]MH_SAM_APDU [00:00:22]CAPDU: 80 17 00 00 [00:00:22]Write to MH i2c: E2 08 00 95 15 80 17 00 00 00 00 00 00 2A [00:00:22]Write i2c OK [00:00:22]MH_I2C_Read... [00:00:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:22]Read from MH i2c: E2 [00:00:22]MH_I2C_Read... [00:00:22]Read from MH i2c: E2 FD 00 [00:00:22]MH_I2C_Read... [00:00:22]Read from MH i2c: E2 FD 00 95 15 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 25 [00:00:22]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:22]wFMCommunicate OK [00:00:22]wFMCommunicate request_size=4 [00:00:22]MH_SAM_APDU [00:00:22]CAPDU: 80 17 00 00 [00:00:22]Write to MH i2c: E2 08 00 96 15 80 17 00 00 00 00 00 00 2B [00:00:22]Write i2c OK [00:00:22]MH_I2C_Read... [00:00:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:23]Read from MH i2c: E2 [00:00:23]MH_I2C_Read... [00:00:23]Read from MH i2c: E2 FD 00 [00:00:23]MH_I2C_Read... [00:00:23]Read from MH i2c: E2 FD 00 96 15 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 CE [00:00:23]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:23]wFMCommunicate OK [00:00:23]wFMCommunicate request_size=4 [00:00:23]MH_SAM_APDU [00:00:23]CAPDU: 80 17 00 00 [00:00:23]Write to MH i2c: E2 08 00 97 15 80 17 00 00 00 00 00 00 2C [00:00:23]Write i2c OK [00:00:23]MH_I2C_Read... [00:00:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:23]Read from MH i2c: E2 [00:00:23]MH_I2C_Read... [00:00:23]Read from MH i2c: E2 FD 00 [00:00:23]MH_I2C_Read... [00:00:23]Read from MH i2c: E2 FD 00 97 15 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 A4 [00:00:23]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:24]wFMCommunicate OK [00:00:24]wFMCommunicate request_size=4 [00:00:24]MH_SAM_APDU [00:00:24]CAPDU: 80 17 00 00 [00:00:24]Write to MH i2c: E2 08 00 98 15 80 17 00 00 00 00 00 00 2D [00:00:24]Write i2c OK [00:00:24]MH_I2C_Read... [00:00:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:00:24]Read from MH i2c: E2 [00:00:24]MH_I2C_Read... [00:00:24]Read from MH i2c: E2 DD 00 [00:00:24]MH_I2C_Read... [00:00:24]Read from MH i2c: E2 DD 00 98 15 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 OFD Sender: No OFD packet to send [00:00:24]00 04 F7 03 00 00 EF 03 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 15 [00:00:24]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:24]wFMCommunicate OK [00:00:24]SAM_PROTO_GetFMData done [00:00:24]FM_GetFMData:85 04 BC 04 6E 04 04 00 2F 8F 00 00 69 04 A0 00 6F 04 04 00 2A 8F 00 00 B1 04 04 00 8E E6 1B 34 70 04 04 00 4C B3 4A 2E 72 04 04 00 42 33 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 89 AF 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 89 FC 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:25]oper:6F 04 04 00 2A 8F 00 00 B1 04 04 00 8E E6 1B 34 70 04 04 00 4C B3 4A 2E 72 04 04 00 42 33 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 89 AF 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 89 FC 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:25]total:8E E6 1B 34 [00:00:25]Malloc new data [00:00:25]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:25]total:94 B2 13 [00:00:25]Malloc new data [00:00:25]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:25]total: [00:00:25]Malloc new data [00:00:25]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:26]total: [00:00:26]Malloc new data [00:00:26]KKMPrepareXReportFMData err=0 [00:00:26]Х отчет ИНН: 02508201610067 Кассир: Темирбек уулу Э. 28.10.2024 00:00 Смена: 522 РНМ: 0000000000091684 ЗНМ: 0300000092 СНО: Общий режим Всего чеков: 81 ИТОГИ ПРИХОД Чеков: 81 Общий итог: 13406.00 Итого наличными: 10946.00 Итого безнал.: 2460.00 НДС 0% : 0.00 НДС 12% : 1423.51 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 118.54 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 10946.00 НС Приход: 8742437.26 НС Возвр.Прихода: 12909.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000871841 [00:00:26]StoreToDocumentArchive [00:00:26]MH_GetDate [00:00:26]Write to MH i2c: F0 00 00 99 15 9D [00:00:26]Write i2c OK [00:00:26]MH_I2C_Read... [00:00:26]Read from MH i2c: F0 [00:00:26]MH_I2C_Read... [00:00:26]Read from MH i2c: F0 09 00 [00:00:26]MH_I2C_Read... [00:00:26]Read from MH i2c: F0 09 00 99 15 00 1E D4 1E 67 5B 68 A1 66 E7 [00:00:26]shift 522 fd 1730073630 [00:00:26]Create dir for shift 0522 [00:00:26]save to /storage/0522/doc_1730073630 [00:00:26]save last doc name /storage/0522/doc_1730073630 to /storage/kkm_last_doc_name [00:00:26]save OK [00:00:26]Clear old archive folders... [00:00:26]NVStorageSaveData kkm_last_timestamp [00:00:26]File name is /storage/kkm_last_timestamp [00:00:26]Write 4 bytes [00:00:26]NVStorageSaveData done [00:00:26]ExternCall_PrintAddStr [00:00:26]wPrintStart [00:00:26]Write to MH i2c: 01 00 00 9A 15 AF [00:00:26]Write i2c OK [00:00:26]MH_I2C_Read... [00:00:26]Read from MH i2c: 01 [00:00:26]MH_I2C_Read... [00:00:26]Read from MH i2c: 01 07 00 [00:00:26]MH_I2C_Read... [00:00:26]Read from MH i2c: 01 07 00 9A 15 00 00 00 00 00 FF 0F C4 [00:00:26]RasterBufferAndPrint [00:00:26]line Х отчет [00:00:26]line ИНН: 02508201610067 [00:00:26]line Кассир: Темирбек уулу Э. [00:00:26]line 28.10.2024 00:00 [00:00:26]line Смена: 522 [00:00:26]line РНМ: 0000000000091684 [00:00:26]line ЗНМ: 0300000092 [00:00:26]line СНО: Общий режим [00:00:26]line Всего чеков: 81 [00:00:26]line ИТОГИ ПРИХОД [00:00:26]line Чеков: 81 [00:00:26]line Общий итог: 13406.00 [00:00:26]line Итого наличными: 10946.00 [00:00:26]line Итого безнал.: 2460.00 [00:00:26]line НДС 0% : 0.00 [00:00:26]line НДС 12% : 1423.51 [00:00:26]line НСП 0% : 0.00 [00:00:26]line НСП 1,50% : 0.00 [00:00:26]line НСП 0,50% : 0.00 [00:00:26]line НСП 5% : 0.00 [00:00:26]line НСП 3% : 0.00 [00:00:26]line НСП 2% : 0.00 [00:00:26]line НСП 1% : 118.54 [00:00:26]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:00:26]line Чеков: 0 [00:00:26]line Общий итог: 0.00 [00:00:26]line Итого наличными: 0.00 [00:00:26]line Итого безнал.: 0.00 [00:00:26]line НДС 0% : 0.00 [00:00:26]line НДС 12% : 0.00 [00:00:26]line НСП 0% : 0.00 [00:00:26]line НСП 1,50% : 0.00 [00:00:26]line НСП 0,50% : 0.00 [00:00:26]line НСП 5% : 0.00 [00:00:26]line НСП 3% : 0.00 [00:00:26]line НСП 2% : 0.00 [00:00:26]line НСП 1% : 0.00 [00:00:26]line ИТОГИ РАСХОД [00:00:26]line Чеков: 0 [00:00:26]line Общий итог: 0.00 [00:00:26]line Итого наличными: 0.00 [00:00:26]line Итого безнал.: 0.00 [00:00:26]line НДС 0% : 0.00 [00:00:26]line НДС 12% : 0.00 [00:00:26]line НСП 0% : 0.00 [00:00:26]line НСП 1,50% : 0.00 [00:00:26]line НСП 0,50% : 0.00 [00:00:26]line НСП 5% : 0.00 [00:00:26]line НСП 3% : 0.00 [00:00:26]line НСП 2% : 0.00 [00:00:26]line НСП 1% : 0.00 [00:00:26]line ИТОГИ ВОЗВРАТ РАСХОДА [00:00:26]line Чеков: 0 [00:00:26]line Общий итог: 0.00 [00:00:26]line Итого наличными: 0.00 [00:00:26]line Итого безнал.: 0.00 [00:00:26]line НДС 0% : 0.00 [00:00:26]line НДС 12% : 0.00 [00:00:26]line НСП 0% : 0.00 [00:00:26]line НСП 1,50% : 0.00 [00:00:26]line НСП 0,50% : 0.00 [00:00:26]line НСП 5% : 0.00 [00:00:26]line НСП 3% : 0.00 [00:00:26]line НСП 2% : 0.00 [00:00:26]line НСП 1% : 0.00 [00:00:26]line Сумма внесений: 0.00 [00:00:26]line Сумма выплат: 0.00 [00:00:26]line Нал. в кассе: 10946.00 [00:00:26]line НС Приход: 8742437.26 [00:00:26]line НС Возвр.Прихода: 12909.00 [00:00:26]line НС Расход: 0.00 [00:00:26]line НС Возвр.Расхода: 0.00 [00:00:26]line ФМ: 0000000000871841 [00:00:26]written 0, free lines is 4095 [00:00:26]Write to MH i2c: 01 00 00 E5 15 FA [00:00:26]Write i2c OK [00:00:26]MH_I2C_Read... [00:00:26]Read from MH i2c: 01 [00:00:26]MH_I2C_Read... [00:00:26]Read from MH i2c: 01 07 00 [00:00:26]MH_I2C_Read... [00:00:26]Read from MH i2c: 01 07 00 E5 15 00 00 00 00 00 72 0A 7D [00:00:26]RasterBufferAndPrint [00:00:26]line [00:00:26]line [00:00:26]line [00:00:26]line [00:00:26]line [00:00:26]written 0, free lines is 2714 [00:00:26]MH_Cut [00:00:27]Write to MH i2c: D1 01 00 EC 15 01 D3 [00:00:27]Write i2c OK [00:00:27]MH_I2C_Read... [00:00:27]Read from MH i2c: D1 [00:00:27]MH_I2C_Read... [00:00:27]Read from MH i2c: D1 01 00 [00:00:27]MH_I2C_Read... [00:00:27]Read from MH i2c: D1 01 00 EC 15 00 D2 [00:00:27]Write to MH i2c: 01 00 00 ED 15 02 [00:00:27]Write i2c OK [00:00:27]MH_I2C_Read... [00:00:28]*** Cut start [00:00:28]*** Partial cut [00:00:28]*** CUTSNS_PIN = 1 [00:00:28]*** CUTSNS_PIN = 0 [00:00:28]*** Brake cut motor [00:00:28]Read from MH i2c: 01 [00:00:28]MH_I2C_Read... [00:00:28]*** Stop cut motor [00:00:28]*** Cut end [00:00:28]Read from MH i2c: 01 07 00 [00:00:28]MH_I2C_Read... [00:00:28]Read from MH i2c: 01 07 00 ED 15 00 00 00 00 00 FF 0F 17 [00:00:28]process_action x_report done [00:00:28]requested_data is exist [00:00:28]produce_requested_data [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 EE 15 80 13 00 00 00 00 00 00 7F [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 EE 15 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 7B 93 00 00 0E 04 04 00 26 02 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 C9 [00:00: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 7B 93 00 00 0E 04 04 00 26 02 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:00:29]wFMCommunicate OK [00:00:29]SAM_PROTO_GetFieldsCounters done [00:00:29]requested_item shift.num is exist - process it [00:00:29]requested_item shift.opened is exist - process it [00:00:29]req_shift_opened [00:00:29]FM_GetShiftState [00:00:29]SAM_PROTO_GetShiftState [00:00:29]wFMCommunicate request_size=4 [00:00:29]MH_SAM_APDU [00:00:29]CAPDU: 80 13 01 00 [00:00:29]Write to MH i2c: E2 08 00 EF 15 80 13 01 00 00 00 00 00 81 [00:00:29]Write i2c OK [00:00:29]MH_I2C_Read... [00:00:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:29]Read from MH i2c: E2 [00:00:29]MH_I2C_Read... [00:00:29]Read from MH i2c: E2 0E 00 [00:00:29]MH_I2C_Read... [00:00:29]Read from MH i2c: E2 0E 00 EF 15 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 38 [00:00:29]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [00:00:29]wFMCommunicate OK [00:00:29]SAM_PROTO_GetShiftState done [00:00:29]FM_GetShiftState done [00:00:29]req_shift_opened done [00:00:29]requested_item shift.open_date is exist - process it [00:00:29]req_shift_open_date [00:00:29]req_shift_open_date done [00:00:29]produce_requested_data done [00:00:29]produce_requested_data return {"fd.num":37755,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [00:00:29]process_action_free x_report [00:00:29]json_value_free [00:00:29]json_value_free done [00:00:29]process_json_proto returns [00:00:29]Send response to host [00:00:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":37755,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [00:00:29]free response buf [00:00:29]execute_script done [00:00:29]execute_script returns [00:00:29]free content buf [00:00:29]Sock 10.Close socket [00:00:29]Sock 10.Thread stoped [00:00:29]OFD Sender: No OFD packet to send [00:00:34]OFD Sender: No OFD packet to send [00:00:39]OFD Sender: No OFD packet to send [00:00:44]OFD Sender: No OFD packet to send [00:00:49]OFD Sender: No OFD packet to send [00:00:54]OFD Sender: No OFD packet to send [00:00:59]OFD Sender: No OFD packet to send [00:01:04]OFD Sender: No OFD packet to send [00:01:09]OFD Sender: No OFD packet to send [00:01:14]OFD Sender: No OFD packet to send [00:01:16]accept exits with 7 [00:01:16]New connection [00:01:16]New thread 3067297124 created [00:01:16]Thread 3067440484 joined [00:01:16]Waiting for new connection... [00:01:16] Sock 7.Parse request [00:01:16]Sock 7.Check first char [00:01:16]Sock 7.First char is OK [00:01:16]request: POST /json_proto HTTP/1.0 [00:01:16]Method: POST [00:01:16]URL: /json_proto [00:01:16]Method is POST - this is cgi request [00:01:16]url: /json_proto [00:01:16]query_string will be loaded in cgi processing [00:01:16]execute_cgi json_proto POST (null) [00:01:16]execute_cgi path=json_proto method=POST [00:01:16]POST find Content-Length [00:01:16]Host: 172.17.40.196:8080 [00:01:16]Content-Length: 215 [00:01:16]Content-Type: application/json [00:01:16] [00:01:16]POST finish read [00:01:16]Found Content-Length = 215 [00:01:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:01:16]execute_script... [00:01:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:01:16]POST & json_proto [00:01:16]process_json_proto [00:01:16]json parsed OK: [00:01:16]protocol is kg_v1.0 [00:01:16]action value=get_value [00:01:16]process_action get_value [00:01:16]cmd_get_value [00:01:16]process_action get_value done [00:01:16]requested_data is exist [00:01:16]produce_requested_data [00:01:16]requested_item kkm.sn is exist - process it [00:01:16]requested_item kkm.ver is exist - process it [00:01:16]requested_item fm.sn is exist - process it [00:01:16]wFMCommunicate request_size=4 [00:01:16]MH_SAM_APDU [00:01:16]CAPDU: 80 11 00 00 [00:01:16]Write to MH i2c: E2 08 00 F0 15 80 11 00 00 00 00 00 00 7F [00:01:16]Write i2c OK [00:01:16]MH_I2C_Read... [00:01:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:01:16]Read from MH i2c: E2 [00:01:16]MH_I2C_Read... [00:01:16]Read from MH i2c: E2 17 00 [00:01:16]MH_I2C_Read... [00:01:16]Read from MH i2c: E2 17 00 F0 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 CF [00:01:16]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:16]wFMCommunicate OK [00:01:16]requested_item fd.num is exist - process it [00:01:16]SAM_PROTO_GetFieldsCounters [00:01:16]wFMCommunicate request_size=4 [00:01:16]MH_SAM_APDU [00:01:16]CAPDU: 80 13 00 00 [00:01:16]Write to MH i2c: E2 08 00 F1 15 80 13 00 00 00 00 00 00 82 [00:01:16]Write i2c OK [00:01:16]MH_I2C_Read... [00:01:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:01:16]Read from MH i2c: E2 [00:01:16]MH_I2C_Read... [00:01:16]Read from MH i2c: E2 62 00 [00:01:16]MH_I2C_Read... [00:01:16]Read from MH i2c: E2 62 00 F1 15 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 7B 93 00 00 0E 04 04 00 26 02 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 CC [00:01: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 7B 93 00 00 0E 04 04 00 26 02 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:01:16]wFMCommunicate OK [00:01:16]SAM_PROTO_GetFieldsCounters done [00:01:16]requested_item shift.num is exist - process it [00:01:16]requested_item shift.opened is exist - process it [00:01:16]req_shift_opened [00:01:16]FM_GetShiftState [00:01:16]SAM_PROTO_GetShiftState [00:01:16]wFMCommunicate request_size=4 [00:01:16]MH_SAM_APDU [00:01:16]CAPDU: 80 13 01 00 [00:01:16]Write to MH i2c: E2 08 00 F2 15 80 13 01 00 00 00 00 00 84 [00:01:16]ConnectInit Can't connect to host [00:01:16]Write i2c OK [00:01:16]MH_I2C_Read... [00:01:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:01:16]Read from MH i2c: E2 [00:01:16]MH_I2C_Read... [00:01:16]Read from MH i2c: E2 0E 00 [00:01:16]MH_I2C_Read... [00:01:16]Read from MH i2c: E2 0E 00 F2 15 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 3B [00:01:16]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [00:01:16]wFMCommunicate OK [00:01:16]SAM_PROTO_GetShiftState done [00:01:16]FM_GetShiftState done [00:01:16]req_shift_opened done [00:01:16]requested_item shift.open_date is exist - process it [00:01:16]req_shift_open_date [00:01:16]req_shift_open_date done [00:01:16]produce_requested_data done [00:01:16]produce_requested_data return {"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37755,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492} [00:01:16]process_action_free get_value [00:01:16]json_value_free [00:01:16]json_value_free done [00:01:16]process_json_proto returns [00:01:16]Send response to host [00:01:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37755,"shift.num":550,"shift.opened":1,"shift.open_date":1729987492}}} [00:01:16]free response buf [00:01:16]execute_script done [00:01:16]execute_script returns [00:01:16]free content buf [00:01:16]Sock 7.Close socket [00:01:16]Sock 7.Thread stoped [00:01:16]accept exits with 10 [00:01:16]New connection [00:01:16]New thread 3067440484 created [00:01:16]Thread 3067297124 joined [00:01:16]Waiting for new connection... [00:01:16] Sock 10.Parse request [00:01:16]Sock 10.Check first char [00:01:16]Sock 10.First char is OK [00:01:16]request: POST /json_proto HTTP/1.0 [00:01:16]Method: POST [00:01:16]URL: /json_proto [00:01:16]Method is POST - this is cgi request [00:01:16]url: /json_proto [00:01:16]query_string will be loaded in cgi processing [00:01:16]execute_cgi json_proto POST (null) [00:01:16]execute_cgi path=json_proto method=POST [00:01:16]POST find Content-Length [00:01:16]Host: 172.17.40.196:8080 [00:01:16]Content-Length: 331 [00:01:16]Content-Type: application/json [00:01:16] [00:01:16]POST finish read [00:01:16]Found Content-Length = 331 [00:01:16]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:16]execute_script... [00:01:16]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:16]POST & json_proto [00:01:16]process_json_proto [00:01:16]json parsed OK: [00:01:16]protocol is kg_v1.0 [00:01:16]action value=get_value [00:01:16]process_action get_value [00:01:16]cmd_get_value [00:01:16]process_action get_value done [00:01:16]requested_data is exist [00:01:16]produce_requested_data [00:01:16]requested_item fm.sale.total is exist - process it [00:01:16]SAM_PROTO_GetFMData [00:01:16]wFMCommunicate request_size=4 [00:01:16]MH_SAM_APDU [00:01:16]CAPDU: 80 13 03 00 [00:01:16]Write to MH i2c: E2 08 00 F3 15 80 13 03 00 00 00 00 00 87 [00:01:16]Write i2c OK [00:01:16]MH_I2C_Read... [00:01:17]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:01:17]Read from MH i2c: E2 [00:01:17]MH_I2C_Read... [00:01:17]Read from MH i2c: E2 FD 00 [00:01:17]MH_I2C_Read... [00:01:17]Read from MH i2c: E2 FD 00 F3 15 00 C0 04 85 04 BC 04 6E 04 04 00 2F 8F 00 00 69 04 A0 00 6F 04 04 00 2A 8F 00 00 B1 04 04 00 8E E6 1B 34 70 04 04 00 4C B3 4A 2E 72 04 04 00 42 33 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 89 AF 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 89 FC 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E [00:01:17]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 2F 8F 00 00 69 04 A0 00 6F 04 04 00 2A 8F 00 00 B1 04 04 00 8E E6 1B 34 70 04 04 00 4C B3 4A 2E 72 04 04 00 42 33 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 89 AF 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 89 FC 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:17]wFMCommunicate OK [00:01:17]wFMCommunicate request_size=4 [00:01:17]MH_SAM_APDU [00:01:17]CAPDU: 80 17 00 00 [00:01:17]Write to MH i2c: E2 08 00 F4 15 80 17 00 00 00 00 00 00 89 [00:01:17]Write i2c OK [00:01:17]MH_I2C_Read... [00:01:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:17]Read from MH i2c: E2 [00:01:17]MH_I2C_Read... [00:01:17]Read from MH i2c: E2 FD 00 [00:01:17]MH_I2C_Read... [00:01:17]Read from MH i2c: E2 FD 00 F4 15 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 84 [00:01:18]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:18]wFMCommunicate OK [00:01:18]wFMCommunicate request_size=4 [00:01:18]MH_SAM_APDU [00:01:18]CAPDU: 80 17 00 00 [00:01:18]Write to MH i2c: E2 08 00 F5 15 80 17 00 00 00 00 00 00 8A [00:01:18]Write i2c OK [00:01:18]MH_I2C_Read... [00:01:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:18]Read from MH i2c: E2 [00:01:18]MH_I2C_Read... [00:01:18]Read from MH i2c: E2 FD 00 [00:01:18]MH_I2C_Read... [00:01:18]Read from MH i2c: E2 FD 00 F5 15 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 2D [00:01:18]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:19]wFMCommunicate OK [00:01:19]wFMCommunicate request_size=4 [00:01:19]MH_SAM_APDU [00:01:19]CAPDU: 80 17 00 00 [00:01:19]Write to MH i2c: E2 08 00 F6 15 80 17 00 00 00 00 00 00 8B [00:01:19]Write i2c OK [00:01:19]MH_I2C_Read... [00:01:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:19]Read from MH i2c: E2 [00:01:19]MH_I2C_Read... [00:01:19]Read from MH i2c: E2 FD 00 [00:01:19]MH_I2C_Read... [00:01:19]Read from MH i2c: E2 FD 00 F6 15 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 03 [00:01:19]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 OFD Sender: No OFD packet to send [00:01:19]00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:19]wFMCommunicate OK [00:01:19]wFMCommunicate request_size=4 [00:01:19]MH_SAM_APDU [00:01:19]CAPDU: 80 17 00 00 [00:01:19]Write to MH i2c: E2 08 00 F7 15 80 17 00 00 00 00 00 00 8C [00:01:19]Write i2c OK [00:01:19]MH_I2C_Read... [00:01:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:01:20]Read from MH i2c: E2 [00:01:20]MH_I2C_Read... [00:01:20]Read from MH i2c: E2 DD 00 [00:01:20]MH_I2C_Read... [00:01:20]Read from MH i2c: E2 DD 00 F7 15 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 74 [00:01:20]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:20]wFMCommunicate OK [00:01:20]SAM_PROTO_GetFMData done [00:01:20]requested_item fm.sale_refund.total is exist - process it [00:01:20]requested_item fm.buy.total is exist - process it [00:01:20]requested_item shift.sale.total is exist - process it [00:01:20]SAM_PROTO_GetShiftData [00:01:20]wFMCommunicate request_size=4 [00:01:20]MH_SAM_APDU [00:01:20]CAPDU: 80 13 02 00 [00:01:20]Write to MH i2c: E2 08 00 F8 15 80 13 02 00 00 00 00 00 8B [00:01:20]Write i2c OK [00:01:20]MH_I2C_Read... [00:01:21]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:01:21]Read from MH i2c: E2 [00:01:21]MH_I2C_Read... [00:01:21]Read from MH i2c: E2 FD 00 [00:01:21]MH_I2C_Read... [00:01:21]Read from MH i2c: E2 FD 00 F8 15 00 AE 04 AA 04 AA 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 B8 74 14 70 04 03 00 C8 B3 10 72 04 03 00 F0 C0 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 0F 2C 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 4E 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 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 25 [00:01:21]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 B8 74 14 70 04 03 00 C8 B3 10 72 04 03 00 F0 C0 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 0F 2C 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 4E 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 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:21]wFMCommunicate OK [00:01:21]wFMCommunicate request_size=4 [00:01:21]MH_SAM_APDU [00:01:21]CAPDU: 80 17 00 00 [00:01:21]Write to MH i2c: E2 08 00 F9 15 80 17 00 00 00 00 00 00 8E [00:01:21]Write i2c OK [00:01:21]MH_I2C_Read... [00:01:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:21]Read from MH i2c: E2 [00:01:21]MH_I2C_Read... [00:01:21]Read from MH i2c: E2 FD 00 [00:01:21]MH_I2C_Read... [00:01:21]Read from MH i2c: E2 FD 00 F9 15 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 B0 [00:01:22]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:22]wFMCommunicate OK [00:01:22]wFMCommunicate request_size=4 [00:01:22]MH_SAM_APDU [00:01:22]CAPDU: 80 17 00 00 [00:01:22]Write to MH i2c: E2 08 00 FA 15 80 17 00 00 00 00 00 00 8F [00:01:22]Write i2c OK [00:01:22]MH_I2C_Read... [00:01:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:22]Read from MH i2c: E2 [00:01:22]MH_I2C_Read... [00:01:22]Read from MH i2c: E2 FD 00 [00:01:22]MH_I2C_Read... [00:01:22]Read from MH i2c: E2 FD 00 FA 15 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 46 [00:01:22]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:23]wFMCommunicate OK [00:01:23]wFMCommunicate request_size=4 [00:01:23]MH_SAM_APDU [00:01:23]CAPDU: 80 17 00 00 [00:01:23]Write to MH i2c: E2 08 00 FB 15 80 17 00 00 00 00 00 00 90 [00:01:23]Write i2c OK [00:01:23]MH_I2C_Read... [00:01:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:23]Read from MH i2c: E2 [00:01:23]MH_I2C_Read... [00:01:23]Read from MH i2c: E2 FD 00 [00:01:23]MH_I2C_Read... [00:01:23]Read from MH i2c: E2 FD 00 FB 15 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 02 [00:01:23]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:23]wFMCommunicate OK [00:01:23]wFMCommunicate request_size=4 [00:01:23]MH_SAM_APDU [00:01:23]CAPDU: 80 17 00 00 [00:01:23]Write to MH i2c: E2 08 00 FC 15 80 17 00 00 00 00 00 00 91 [00:01:23]Write i2c OK [00:01:23]MH_I2C_Read... [00:01:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:01:24]Read from MH i2c: E2 [00:01:24]MH_I2C_Read... [00:01:24]Read from MH i2c: E2 CB 00 [00:01:24]MH_I2C_Read... [00:01:24]Read from MH i2c: E2 CB 00 FC 15 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 7A [00:01:24]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:24]wFMCommunicate OK [00:01:24]SAM_PROTO_GetShiftData done [00:01:24]requested_item shift.sale.total_cash is exist - process it [00:01:24]requested_item shift.sale_refund.total is exist - process it [00:01:24]requested_item shift.sale_refund.total_cash is exist - process it [00:01:24]requested_item shift.buy.total is exist - process it [00:01:24]requested_item shift.buy.total_cash is exist - process it [00:01:24]produce_requested_data done [00:01:24]produce_requested_data return {"fm.sale.total":8742437.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":13406.00,"shift.sale.total_cash":10946.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: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":{"fm.sale.total":8742437.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":13406.00,"shift.sale.total_cash":10946.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: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 10.Close socket [00:01:24]Sock 10.Thread stoped [00:01:24]accept exits with 7 [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 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: 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 FD 15 80 13 03 00 00 00 00 00 91 [00:01:24]Write i2c OK [00:01:24]MH_I2C_Read... [00:01:24]OFD Sender: No OFD packet to send [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 FD 15 00 C0 04 85 04 BC 04 6E 04 04 00 2F 8F 00 00 69 04 A0 00 6F 04 04 00 2A 8F 00 00 B1 04 04 00 8E E6 1B 34 70 04 04 00 4C B3 4A 2E 72 04 04 00 42 33 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 89 AF 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 89 FC 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A8 [00:01:25]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 2F 8F 00 00 69 04 A0 00 6F 04 04 00 2A 8F 00 00 B1 04 04 00 8E E6 1B 34 70 04 04 00 4C B3 4A 2E 72 04 04 00 42 33 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 89 AF 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 89 FC 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 FE 15 80 17 00 00 00 00 00 00 93 [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 FE 15 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 8E [00:01:26]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: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 FF 15 80 17 00 00 00 00 00 00 94 [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 FF 15 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 37 [00:01:27]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: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 00 16 80 17 00 00 00 00 00 00 96 [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 00 16 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 0E [00:01:27]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: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 01 16 80 17 00 00 00 00 00 00 97 [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 = 218! [00:01:28]Read from MH i2c: E2 [00:01:28]MH_I2C_Read... [00:01:28]Read from MH i2c: E2 DD 00 [00:01:28]MH_I2C_Read... [00:01:28]Read from MH i2c: E2 DD 00 01 16 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 7F [00:01:28]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:28]wFMCommunicate OK [00:01:28]SAM_PROTO_GetFMData done [00:01:28]requested_item fm.sale_refund.total is exist - process it [00:01:28]requested_item fm.buy.total is exist - process it [00:01:28]requested_item shift.sale.total is exist - process it [00:01:28]SAM_PROTO_GetShiftData [00:01:28]wFMCommunicate request_size=4 [00:01:28]MH_SAM_APDU [00:01:28]CAPDU: 80 13 02 00 [00:01:28]Write to MH i2c: E2 08 00 02 16 80 13 02 00 00 00 00 00 96 [00:01:28]Write i2c OK [00:01:28]MH_I2C_Read... [00:01:29]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:01:29]Read from MH i2c: E2 [00:01:29]MH_I2C_Read... [00:01:29]Read from MH i2c: E2 FD 00 [00:01:29]MH_I2C_Read... [00:01:29]Read from MH i2c: E2 FD 00 02 16 00 AE 04 AA 04 AA 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 B8 74 14 70 04 03 00 C8 B3 10 72 04 03 00 F0 C0 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 0F 2C 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 4E 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 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 30 [00:01:29]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 B8 74 14 70 04 03 00 C8 B3 10 72 04 03 00 F0 C0 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 0F 2C 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 4E 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 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:29]wFMCommunicate OK [00:01:29]OFD Sender: No OFD packet to send [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 03 16 80 17 00 00 00 00 00 00 99 [00:01:29]Write i2c OK [00:01:29]MH_I2C_Read... [00:01:30]Read from MH i2c: E2 [00:01:30]MH_I2C_Read... [00:01:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [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 03 16 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 BB [00:01:30]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: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 04 16 80 17 00 00 00 00 00 00 9A [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 04 16 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 51 [00:01: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: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 05 16 80 17 00 00 00 00 00 00 9B [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 05 16 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 0D [00:01:32]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: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 06 16 80 17 00 00 00 00 00 00 9C [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 = 200! [00:01:32]Read from MH i2c: E2 [00:01:32]MH_I2C_Read... [00:01:32]Read from MH i2c: E2 CB 00 [00:01:32]MH_I2C_Read... [00:01:32]Read from MH i2c: E2 CB 00 06 16 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [00:01: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:01:33]wFMCommunicate OK [00:01:33]SAM_PROTO_GetShiftData done [00:01:33]requested_item shift.sale.total_cash is exist - process it [00:01:33]requested_item shift.sale_refund.total is exist - process it [00:01:33]requested_item shift.sale_refund.total_cash is exist - process it [00:01:33]requested_item shift.buy.total is exist - process it [00:01:33]requested_item shift.buy.total_cash is exist - process it [00:01:33]produce_requested_data done [00:01:33]produce_requested_data return {"fm.sale.total":8742437.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":13406.00,"shift.sale.total_cash":10946.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:33]process_action_free get_value [00:01:33]json_value_free [00:01:33]json_value_free done [00:01:33]process_json_proto returns [00:01:33]Send response to host [00:01:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8742437.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":13406.00,"shift.sale.total_cash":10946.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:33]free response buf [00:01:33]execute_script done [00:01:33]execute_script returns [00:01:33]free content buf [00:01:33]Sock 7.Close socket [00:01:33]Sock 7.Thread stoped [00:01:33]accept exits with 9 [00:01:33]ConnectInit Can't connect to host [00:01:33]New connection [00:01:33]New thread 3067440484 created [00:01:33]Thread 3067297124 joined [00:01:33]Waiting for new connection... [00:01:33] Sock 9.Parse request [00:01:33]Sock 9.Check first char [00:01:33]Sock 9.First char is OK [00:01:33]request: POST /json_proto HTTP/1.0 [00:01:33]Method: POST [00:01:33]URL: /json_proto [00:01:33]Method is POST - this is cgi request [00:01:33]url: /json_proto [00:01:33]query_string will be loaded in cgi processing [00:01:33]execute_cgi json_proto POST (null) [00:01:33]execute_cgi path=json_proto method=POST [00:01:33]POST find Content-Length [00:01:33]Host: 172.17.40.196:8080 [00:01:33]Content-Length: 285 [00:01:33]Content-Type: application/json [00:01:33] [00:01:33]POST finish read [00:01:33]Found Content-Length = 285 [00:01:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0422\u0435\u043C\u0438\u0440\u0431\u0435\u043A \u0443\u0443\u043B\u0443 \u042D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:01:33]execute_script... [00:01:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0422\u0435\u043C\u0438\u0440\u0431\u0435\u043A \u0443\u0443\u043B\u0443 \u042D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:01:33]POST & json_proto [00:01:33]process_json_proto [00:01:33]json parsed OK: [00:01:33]protocol is kg_v1.0 [00:01:33]action value=close_shift [00:01:33]process_action close_shift [00:01:33]cmd_close_shift [00:01:33]MH_GetDate [00:01:33]Write to MH i2c: F0 00 00 07 16 0C [00:01:33]Write i2c OK [00:01:33]MH_I2C_Read... [00:01:33]Read from MH i2c: F0 [00:01:33]MH_I2C_Read... [00:01:33]Read from MH i2c: F0 09 00 [00:01:33]MH_I2C_Read... [00:01:33]Read from MH i2c: F0 09 00 07 16 00 62 D4 1E 67 5B 68 A1 66 9A [00:01:33]GetLastDocTimeStamp 1730073622 [00:01:33]current date 1730073698 [00:01:33]FM_GetShiftState [00:01:33]SAM_PROTO_GetShiftState [00:01:33]wFMCommunicate request_size=4 [00:01:33]MH_SAM_APDU [00:01:33]CAPDU: 80 13 01 00 [00:01:33]Write to MH i2c: E2 08 00 08 16 80 13 01 00 00 00 00 00 9B [00:01:33]Write i2c OK [00:01:33]MH_I2C_Read... [00:01:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:01:33]Read from MH i2c: E2 [00:01:33]MH_I2C_Read... [00:01:33]Read from MH i2c: E2 0E 00 [00:01:33]MH_I2C_Read... [00:01:33]Read from MH i2c: E2 0E 00 08 16 00 09 00 01 A4 83 1D 67 00 00 00 00 90 00 52 [00:01:33]RAPDU: 09 00 01 A4 83 1D 67 00 00 00 00 90 00 [00:01:33]wFMCommunicate OK [00:01:33]SAM_PROTO_GetShiftState done [00:01:33]FM_GetShiftState done [00:01:33]KKMCreateCloseShiftDocument [00:01:33]Load OK [00:01:33]Malloc new data [00:01:33]MH_GetDate [00:01:33]Write to MH i2c: F0 00 00 09 16 0E [00:01:33]Write i2c OK [00:01:33]MH_I2C_Read... [00:01:33]Read from MH i2c: F0 [00:01:33]MH_I2C_Read... [00:01:33]Read from MH i2c: F0 09 00 [00:01:33]MH_I2C_Read... [00:01:33]Read from MH i2c: F0 09 00 09 16 00 62 D4 1E 67 5B 68 A1 66 9C [00:01:33]Malloc new data [00:01:33]Malloc new data [00:01:33]Malloc new data [00:01:33]Malloc new data [00:01:33]KKMCreateCloseShiftDocument OK [00:01:33]KKMSetCloseShiftData OK [00:01:33]ProcessDocumentItem done err = 0, tmpTLVsize=80 [00:01:33]tlvbuf is 002AFF50 [00:01:33]KKMLoadAndSignCloseShiftData [00:01:33]SAM_PROTO_ProcessDocument [00:01:33]wFMCommunicate request_size=9 [00:01:33]MH_SAM_APDU [00:01:33]CAPDU: 80 15 01 00 04 05 00 50 00 [00:01:33]Write to MH i2c: E2 0C 00 0A 16 80 15 01 00 04 00 05 00 50 00 00 00 FC [00:01:33]Write i2c OK [00:01:33]MH_I2C_Read... [00:01:33]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:01:33]Read from MH i2c: E2 [00:01:33]MH_I2C_Read... [00:01:33]Read from MH i2c: E2 03 00 [00:01:33]MH_I2C_Read... [00:01:33]Read from MH i2c: E2 03 00 0A 16 00 90 00 94 [00:01:33]RAPDU: 90 00 [00:01:33]wFMCommunicate OK [00:01:33]wFMCommunicate request_size=23 [00:01:33]MH_SAM_APDU [00:01:33]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:33]Write to MH i2c: E2 1A 00 0B 16 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 96 [00:01:33]Write i2c OK [00:01:33]MH_I2C_Read... [00:01:33]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:01:33]Read from MH i2c: E2 [00:01:33]MH_I2C_Read... [00:01:33]Read from MH i2c: E2 03 00 [00:01:33]MH_I2C_Read... [00:01:33]Read from MH i2c: E2 03 00 0B 16 00 90 00 95 [00:01:33]RAPDU: 90 00 [00:01:33]wFMCommunicate OK [00:01:33]wFMCommunicate request_size=39 [00:01:33]MH_SAM_APDU [00:01:33]CAPDU: 80 15 02 00 22 FD 03 1E 00 D0 A2 D0 B5 D0 BC D0 B8 D1 80 D0 B1 D0 B5 D0 BA 20 D1 83 D1 83 D0 BB D1 83 20 D0 AD 2E 20 [00:01:33]Write to MH i2c: E2 2A 00 0C 16 80 15 02 00 22 00 FD 03 1E 00 D0 A2 D0 B5 D0 BC D0 B8 D1 80 D0 B1 D0 B5 D0 BA 20 D1 83 D1 83 D0 BB D1 83 20 D0 AD 2E 20 00 00 82 [00:01:33]Write i2c OK [00:01:33]MH_I2C_Read... [00:01:34]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:01:34]Read from MH i2c: E2 [00:01:34]MH_I2C_Read... [00:01:34]Read from MH i2c: E2 03 00 [00:01:34]MH_I2C_Read... [00:01:34]Read from MH i2c: E2 03 00 0C 16 00 90 00 96 [00:01:34]RAPDU: 90 00 [00:01:34]wFMCommunicate OK [00:01:34]wFMCommunicate request_size=13 [00:01:34]MH_SAM_APDU [00:01:34]CAPDU: 80 15 02 00 08 F4 03 04 00 62 D4 1E 67 [00:01:34]Write to MH i2c: E2 10 00 0D 16 80 15 02 00 08 00 F4 03 04 00 62 D4 1E 67 00 00 69 [00:01:34]Write i2c OK [00:01:34]MH_I2C_Read... [00:01:34]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:01:34]Read from MH i2c: E2 [00:01:34]MH_I2C_Read... [00:01:34]Read from MH i2c: E2 03 00 [00:01:34]MH_I2C_Read... [00:01:34]Read from MH i2c: E2 03 00 0D 16 00 90 00 97 [00:01:34]RAPDU: 90 00 [00:01:34]wFMCommunicate OK [00:01:34]wFMCommunicate request_size=25 [00:01:34]MH_SAM_APDU [00:01:34]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:34]Write to MH i2c: E2 1C 00 0E 16 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 09 [00:01:34]Write i2c OK [00:01:34]MH_I2C_Read... [00:01:34]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:01:34]Read from MH i2c: E2 [00:01:34]MH_I2C_Read... [00:01:34]Read from MH i2c: E2 03 00 [00:01:34]MH_I2C_Read... [00:01:34]Read from MH i2c: E2 03 00 0E 16 00 90 00 98 [00:01:34]RAPDU: 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 15 03 00 [00:01:34]Write to MH i2c: E2 08 00 0F 16 80 15 03 00 00 00 00 00 A6 [00:01:34]Write i2c OK [00:01:34]MH_I2C_Read... [00:01:34]*** iso7816_exchange 80 15 03 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 0F 16 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 7C 93 00 00 0E 04 04 00 26 02 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 53 00 00 00 AA 04 AA 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 B8 74 14 70 04 03 00 C8 B3 10 72 04 03 00 F0 C0 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 0F 2C 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 4E 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 B7 [00:01:35]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 OFD Sender: No OFD packet to send [00:01:35]38 34 31 10 04 04 00 7C 93 00 00 0E 04 04 00 26 02 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 53 00 00 00 AA 04 AA 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 B8 74 14 70 04 03 00 C8 B3 10 72 04 03 00 F0 C0 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 0F 2C 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 4E 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:01:35]wFMCommunicate OK [00:01:35]SAM_PROTO_ProcessDocument answer len = 1265 [00:01:35]SAM_PROTO_ProcessDocument remain to read = 1017 [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 10 16 80 17 00 00 00 00 00 00 A6 [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 = 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 10 16 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 EF [00:01:36]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:36]wFMCommunicate OK [00:01:36]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:01:36]SAM_PROTO_ProcessDocument remain to read = 767 [00:01:36]wFMCommunicate request_size=4 [00:01:36]MH_SAM_APDU [00:01:36]CAPDU: 80 17 00 00 [00:01:36]Write to MH i2c: E2 08 00 11 16 80 17 00 00 00 00 00 00 A7 [00:01:36]Write i2c OK [00:01:36]MH_I2C_Read... [00:01:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:36]Read from MH i2c: E2 [00:01:36]MH_I2C_Read... [00:01:36]Read from MH i2c: E2 FD 00 [00:01:36]MH_I2C_Read... [00:01:36]Read from MH i2c: E2 FD 00 11 16 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 09 [00:01:36]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:37]wFMCommunicate OK [00:01:37]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:01:37]SAM_PROTO_ProcessDocument remain to read = 517 [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 12 16 80 17 00 00 00 00 00 00 A8 [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 12 16 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 32 [00:01:37]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:38]wFMCommunicate OK [00:01:38]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:01:38]SAM_PROTO_ProcessDocument remain to read = 267 [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 13 16 80 17 00 00 00 00 00 00 A9 [00:01:38]Write i2c OK [00:01:38]MH_I2C_Read... [00:01:38]ConnectInit Can't connect to host [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 13 16 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 71 [00:01:38]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:38]wFMCommunicate OK [00:01:38]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:01:38]SAM_PROTO_ProcessDocument remain to read = 17 [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 14 16 80 17 00 00 00 00 00 00 AA [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 = 17! [00:01:39]Read from MH i2c: E2 [00:01:39]MH_I2C_Read... [00:01:39]Read from MH i2c: E2 14 00 [00:01:39]MH_I2C_Read... [00:01:39]Read from MH i2c: E2 14 00 14 16 00 01 00 06 F7 03 00 00 35 04 06 00 09 B0 90 34 6C 92 90 00 6A [00:01:39]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 09 B0 90 34 6C 92 90 00 [00:01:39]wFMCommunicate OK [00:01:39]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [00:01:39]SAM_PROTO_ProcessDocument done [00:01:39]1209 (1) - 1.0 - номер версии ФФД [00:01:39]1041 (16) - 0000000000871841 - номер ФМ [00:01:39]1040 (4) - 37756 - номер ФД [00:01:39]1038 (4) - 550 - номер смены [00:01:39]1118 (4) - 81 - количество кассовых чеков за смену [00:01:39]1111 (4) - 83 - общее количество ФД за смену [00:01:39]1194 (1194) - счетчики итогов смены [00:01:39] 1134 (4) - 81 - количество чеков со всеми признаками расчетов [00:01:39] 1129 (155) - счетчики операций «приход» [00:01:39] 1135 (4) - 81 - количество чеков по признаку расчетов [00:01:39] 1201 (3) - 13406.00 - общая итоговая сумма в чеках [00:01:39] 1136 (3) - 10946.00 - итоговая сумма в чеках наличными [00:01:39] 1138 (3) - 2460.00 - итоговая сумма в чеках безналичными [00:01:39] 1024 (122) - суммы налогов [00:01:39] 1006 (9) - суммы НДС [00:01:39] 1010 (1) - 0% - код ставки НДС [00:01:39] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:39] 1006 (12) - суммы НДС [00:01:39] 1010 (1) - 12% - код ставки НДС [00:01:39] 1011 (3) - 1423.51 - сумма НДС по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 0% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1007 (11) - суммы НСП [00:01:39] 1014 (1) - 1% - код ставки НСП [00:01:39] 1015 (2) - 118.54 - сумма НСП по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 2% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 3% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 5% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 0,50% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 1,50% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1130 (141) - счетчики операций «возврат прихода» [00:01:39] 1135 (4) - 0 - количество чеков по признаку расчетов [00:01:39] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:01:39] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:01:39] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:01:39] 1024 (117) - суммы налогов [00:01:39] 1006 (9) - суммы НДС [00:01:39] 1010 (1) - 0% - код ставки НДС [00:01:39] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:39] 1006 (9) - суммы НДС [00:01:39] 1010 (1) - 12% - код ставки НДС [00:01:39] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 0% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 1% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 2% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 3% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 5% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 0,50% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 1,50% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1131 (141) - счетчики операций «расход» [00:01:39] 1135 (4) - 0 - количество чеков по признаку расчетов [00:01:39] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:01:39] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:01:39] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:01:39] 1024 (117) - суммы налогов [00:01:39] 1006 (9) - суммы НДС [00:01:39] 1010 (1) - 0% - код ставки НДС [00:01:39] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:39] 1006 (9) - суммы НДС [00:01:39] 1010 (1) - 12% - код ставки НДС [00:01:39] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 0% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 1% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 2% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 3% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 5% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 0,50% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 1,50% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1132 (141) - счетчики операций «возврат расхода» [00:01:39] 1135 (4) - 0 - количество чеков по признаку расчетов [00:01:39] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:01:39] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:01:39] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:01:39] 1024 (117) - суммы налогов [00:01:39] 1006 (9) - суммы НДС [00:01:39] 1010 (1) - 0% - код ставки НДС [00:01:39] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:39] 1006 (9) - суммы НДС [00:01:39] 1010 (1) - 12% - код ставки НДС [00:01:39] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 0% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 1% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 2% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 3% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 5% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 0,50% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1007 (9) - суммы НСП [00:01:39] 1014 (1) - 1,50% - код ставки НСП [00:01:39] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:39] 1133 (588) - - счетчики коррекции - не используются [00:01:39]1077 (6) - 10653938248850 - ФПД [00:01:39]SetTLVBufToDocument [00:01:39]Processing tag 1209 (04B9) [00:01:39]Malloc new data [00:01:39]Processing tag 1041 (0411) [00:01:39]Processing tag 1040 (0410) [00:01:39]Malloc new data [00:01:39]Processing tag 1038 (040E) [00:01:39]Malloc new data [00:01:39]Processing tag 1118 (045E) [00:01:39]Malloc new data [00:01:39]Processing tag 1111 (0457) [00:01:39]Malloc new data [00:01:39]Processing tag 1194 (04AA) [00:01:39]Load OK [00:01:39]SetTLVBufToDocument [00:01:39]Processing tag 1134 (046E) [00:01:39]Malloc new data [00:01:39]Processing tag 1129 (0469) [00:01:39]Load OK [00:01:39]SetTLVBufToDocument [00:01:39]Processing tag 1135 (046F) [00:01:39]Malloc new data [00:01:39]Processing tag 1201 (04B1) [00:01:39]Malloc new data [00:01:39]Processing tag 1136 (0470) [00:01:39]Malloc new data [00:01:39]Processing tag 1138 (0472) [00:01:39]Malloc new data [00:01:39]Processing tag 1024 (0400) [00:01:39]Load OK [00:01:39]SetTLVBufToDocument [00:01:39]Processing tag 1006 (03EE) [00:01:39]Load OK [00:01:39]SetTLVBufToDocument [00:01:39]Processing tag 1010 (03F2) [00:01:39]Malloc new data [00:01:39]Processing tag 1011 (03F3) [00:01:39]Malloc new data [00:01:39]SetTLVBufToDocument err=0 [00:01:39]Processing tag 1006 (03EE) [00:01:39]Load OK [00:01:39]SetTLVBufToDocument [00:01:39]Processing tag 1010 (03F2) [00:01:39]Malloc new data [00:01:39]Processing tag 1011 (03F3) [00:01:39]Malloc new data [00:01:39]SetTLVBufToDocument err=0 [00:01:39]Processing tag 1007 (03EF) [00:01:39]Load OK [00:01:39]SetTLVBufToDocument [00:01:39]Processing tag 1014 (03F6) [00:01:39]Malloc new data [00:01:39]Processing tag 1015 (03F7) [00:01:39]Malloc new data [00:01:39]SetTLVBufToDocument err=0 [00:01:39]Processing tag 1007 (03EF) [00:01:39]Load OK [00:01:39]SetTLVBufToDocument [00:01:39]Processing tag 1014 (03F6) [00:01:39]Malloc new data [00:01:39]Processing tag 1015 (03F7) [00:01:39]Malloc new data [00:01:39]SetTLVBufToDocument err=0 [00:01:39]Processing tag 1007 (03EF) [00:01:39]Load OK [00:01:39]SetTLVBufToDocument [00:01:39]Processing tag 1014 (03F6) [00:01:39]Malloc new data [00:01:39]Processing tag 1015 (03F7) [00:01:39]Malloc new data [00:01:39]SetTLVBufToDocument err=0 [00:01:39]Processing tag 1007 (03EF) [00:01:39]Load OK [00:01:39]SetTLVBufToDocument [00:01:39]Processing tag 1014 (03F6) [00:01:39]Malloc new data [00:01:39]Processing tag 1015 (03F7) [00:01:39]Malloc new data [00:01:39]SetTLVBufToDocument err=0 [00:01:39]Processing tag 1007 (03EF) [00:01:39]Load OK [00:01:39]SetTLVBufToDocument [00:01:39]Processing tag 1014 (03F6) [00:01:39]Malloc new data [00:01:39]Processing tag 1015 (03F7) [00:01:39]Malloc new data [00:01:39]SetTLVBufToDocument err=0 [00:01:39]Processing tag 1007 (03EF) [00:01:39]Load OK [00:01:39]SetTLVBufToDocument [00:01:39]Processing tag 1014 (03F6) [00:01:39]Malloc new data [00:01:39]Processing tag 1015 (03F7) [00:01:39]Malloc new data [00:01:39]SetTLVBufToDocument err=0 [00:01:39]Processing tag 1007 (03EF) [00:01:39]Load OK [00:01:39]SetTLVBufToDocument [00:01:39]Processing tag 1014 (03F6) [00:01:39]Malloc new data [00:01:39]Processing tag 1015 (03F7) [00:01:39]Malloc new data [00:01:39]SetTLVBufToDocument err=0 [00:01:39]SetTLVBufToDocument err=0 [00:01:39]SetTLVBufToDocument err=0 [00:01:39]Processing tag 1130 (046A) [00:01:39]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1135 (046F) [00:01:40]Malloc new data [00:01:40]Processing tag 1201 (04B1) [00:01:40]Malloc new data [00:01:40]Processing tag 1136 (0470) [00:01:40]Malloc new data [00:01:40]Processing tag 1138 (0472) [00:01:40]Malloc new data [00:01:40]Processing tag 1024 (0400) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1006 (03EE) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1010 (03F2) [00:01:40]Malloc new data [00:01:40]Processing tag 1011 (03F3) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1006 (03EE) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1010 (03F2) [00:01:40]Malloc new data [00:01:40]Processing tag 1011 (03F3) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1007 (03EF) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1014 (03F6) [00:01:40]Malloc new data [00:01:40]Processing tag 1015 (03F7) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1007 (03EF) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1014 (03F6) [00:01:40]Malloc new data [00:01:40]Processing tag 1015 (03F7) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1007 (03EF) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1014 (03F6) [00:01:40]Malloc new data [00:01:40]Processing tag 1015 (03F7) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1007 (03EF) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1014 (03F6) [00:01:40]Malloc new data [00:01:40]Processing tag 1015 (03F7) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1007 (03EF) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1014 (03F6) [00:01:40]Malloc new data [00:01:40]Processing tag 1015 (03F7) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1007 (03EF) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1014 (03F6) [00:01:40]Malloc new data [00:01:40]Processing tag 1015 (03F7) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1007 (03EF) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1014 (03F6) [00:01:40]Malloc new data [00:01:40]Processing tag 1015 (03F7) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]SetTLVBufToDocument err=0 [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1131 (046B) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1135 (046F) [00:01:40]Malloc new data [00:01:40]Processing tag 1201 (04B1) [00:01:40]Malloc new data [00:01:40]Processing tag 1136 (0470) [00:01:40]Malloc new data [00:01:40]Processing tag 1138 (0472) [00:01:40]Malloc new data [00:01:40]Processing tag 1024 (0400) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1006 (03EE) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1010 (03F2) [00:01:40]Malloc new data [00:01:40]Processing tag 1011 (03F3) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1006 (03EE) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1010 (03F2) [00:01:40]Malloc new data [00:01:40]Processing tag 1011 (03F3) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1007 (03EF) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1014 (03F6) [00:01:40]Malloc new data [00:01:40]Processing tag 1015 (03F7) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1007 (03EF) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1014 (03F6) [00:01:40]Malloc new data [00:01:40]Processing tag 1015 (03F7) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1007 (03EF) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1014 (03F6) [00:01:40]Malloc new data [00:01:40]Processing tag 1015 (03F7) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1007 (03EF) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1014 (03F6) [00:01:40]Malloc new data [00:01:40]Processing tag 1015 (03F7) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1007 (03EF) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1014 (03F6) [00:01:40]Malloc new data [00:01:40]Processing tag 1015 (03F7) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1007 (03EF) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1014 (03F6) [00:01:40]Malloc new data [00:01:40]Processing tag 1015 (03F7) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1007 (03EF) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1014 (03F6) [00:01:40]Malloc new data [00:01:40]Processing tag 1015 (03F7) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]SetTLVBufToDocument err=0 [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1132 (046C) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1135 (046F) [00:01:40]Malloc new data [00:01:40]Processing tag 1201 (04B1) [00:01:40]Malloc new data [00:01:40]Processing tag 1136 (0470) [00:01:40]Malloc new data [00:01:40]Processing tag 1138 (0472) [00:01:40]Malloc new data [00:01:40]Processing tag 1024 (0400) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1006 (03EE) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1010 (03F2) [00:01:40]Malloc new data [00:01:40]Processing tag 1011 (03F3) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1006 (03EE) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1010 (03F2) [00:01:40]Malloc new data [00:01:40]Processing tag 1011 (03F3) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1007 (03EF) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1014 (03F6) [00:01:40]Malloc new data [00:01:40]Processing tag 1015 (03F7) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1007 (03EF) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1014 (03F6) [00:01:40]Malloc new data [00:01:40]Processing tag 1015 (03F7) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1007 (03EF) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1014 (03F6) [00:01:40]Malloc new data [00:01:40]Processing tag 1015 (03F7) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1007 (03EF) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1014 (03F6) [00:01:40]Malloc new data [00:01:40]Processing tag 1015 (03F7) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1007 (03EF) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1014 (03F6) [00:01:40]Malloc new data [00:01:40]Processing tag 1015 (03F7) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1007 (03EF) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1014 (03F6) [00:01:40]Malloc new data [00:01:40]Processing tag 1015 (03F7) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1007 (03EF) [00:01:40]Load OK [00:01:40]SetTLVBufToDocument [00:01:40]Processing tag 1014 (03F6) [00:01:40]Malloc new data [00:01:40]Processing tag 1015 (03F7) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]SetTLVBufToDocument err=0 [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1133 (046D) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Processing tag 1077 (0435) [00:01:40]Malloc new data [00:01:40]SetTLVBufToDocument err=0 [00:01:40]Malloc new data [00:01:40]SAM_PROTO_GetFMData [00:01:40]wFMCommunicate request_size=4 [00:01:40]MH_SAM_APDU [00:01:40]CAPDU: 80 13 03 00 [00:01:40]Write to MH i2c: E2 08 00 15 16 80 13 03 00 00 00 00 00 OFD Sender: No OFD packet to send [00:01:40]AA [00:01:40]Write i2c OK [00:01:40]MH_I2C_Read... [00:01:40]Read from MH i2c: E2 [00:01:40]MH_I2C_Read... [00:01:40]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:01:40]Read from MH i2c: E2 FD 00 [00:01:40]MH_I2C_Read... [00:01:40]Read from MH i2c: E2 FD 00 15 16 00 C0 04 85 04 BC 04 6E 04 04 00 2F 8F 00 00 69 04 A0 00 6F 04 04 00 2A 8F 00 00 B1 04 04 00 8E E6 1B 34 70 04 04 00 4C B3 4A 2E 72 04 04 00 42 33 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 89 AF 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 89 FC 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C1 [00:01:41]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 2F 8F 00 00 69 04 A0 00 6F 04 04 00 2A 8F 00 00 B1 04 04 00 8E E6 1B 34 70 04 04 00 4C B3 4A 2E 72 04 04 00 42 33 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 89 AF 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 89 FC 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:41]wFMCommunicate OK [00:01:41]wFMCommunicate request_size=4 [00:01:41]MH_SAM_APDU [00:01:41]CAPDU: 80 17 00 00 [00:01:41]Write to MH i2c: E2 08 00 16 16 80 17 00 00 00 00 00 00 AC [00:01:41]Write i2c OK [00:01:41]MH_I2C_Read... [00:01:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:41]Read from MH i2c: E2 [00:01:41]MH_I2C_Read... [00:01:41]Read from MH i2c: E2 FD 00 [00:01:41]MH_I2C_Read... [00:01:41]Read from MH i2c: E2 FD 00 16 16 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 A7 [00:01: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 [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 17 16 80 17 00 00 00 00 00 00 AD [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 17 16 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 50 [00:01: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: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 18 16 80 17 00 00 00 00 00 00 AE [00:01:43]Write i2c OK [00:01:43]MH_I2C_Read... [00:01:43]ConnectInit Can't connect to host [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 18 16 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 26 [00:01: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: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 19 16 80 17 00 00 00 00 00 00 AF [00:01:44]Write i2c OK [00:01:44]MH_I2C_Read... [00:01:44]Read from MH i2c: E2 [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 DD 00 [00:01:44]MH_I2C_Read... [00:01:44]Read from MH i2c: E2 DD 00 19 16 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 97 [00:01:44]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:44]wFMCommunicate OK [00:01:44]SAM_PROTO_GetFMData done [00:01:44]Malloc new data [00:01:44]Malloc new data [00:01:44]Malloc new data [00:01:44]Malloc new data [00:01:44]KKMLoadAndSignCloseShiftData err=0 [00:01:44]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Темирбек уулу Э. 28.10.2024 00:01 Смена: 550 РНМ: 0000000000091684 ЗНМ: 0300000092 СНО: Общий режим Чеков за смену: 81 ФД за смену: 83 Всего чеков: 81 ИТОГИ ПРИХОД Чеков: 81 Общий итог: 13406.00 Итого наличными: 10946.00 Итого безнал.: 2460.00 НДС 0% : 0.00 НДС 12% : 1423.51 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 118.54 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 10946.00 НС Приход: 8742437.26 НС Возвр.Прихода: 12909.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 37756 ФМ: 0000000000871841 ФПД: 10653938248850 [00:01:44]StoreToDocumentArchive [00:01:44]shift 550 fd 37756 [00:01:44]save to /storage/0550/doc_00037756 [00:01:44]save last doc name /storage/0550/doc_00037756 to /storage/kkm_last_doc_name [00:01:44]save OK [00:01:44]Clear old archive folders... [00:01:44]Remove dir /storage/0522 [00:01:44]opendir ok [00:01:44]file . [00:01:44]file .. [00:01:44]file doc_1730073630 [00:01:44]remove file /storage/0522/doc_1730073630 [00:01:44]remove dir /storage/0522 [00:01:44]NVStorageSaveData kkm_registers [00:01:44]File name is /storage/kkm_registers [00:01:44]Write 24 bytes [00:01:44]NVStorageSaveData done [00:01:44]NVStorageSaveData kkm_registers [00:01:44]File name is /storage/kkm_registers [00:01:44]Write 24 bytes [00:01:44]NVStorageSaveData done [00:01:44]ProcessDocumentItem done err = 0, tmpTLVsize=1388 [00:01:44]tlvbuf is 00429E90 [00:01:44]SAM_PROTO_ClearQueue [00:01:44]wFMCommunicate request_size=4 [00:01:44]MH_SAM_APDU [00:01:44]CAPDU: 80 09 00 00 [00:01:44]Write to MH i2c: E2 08 00 1A 16 80 09 00 00 00 00 00 00 A2 [00:01:44]Write i2c OK [00:01:44]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 1A 16 00 90 00 A4 [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 1B 16 80 0D 01 02 00 00 00 00 AA [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 1B 16 00 90 00 A5 [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 6C 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 1E 00 D0 A2 D0 B5 D0 BC D0 B8 D1 80 D0 B1 D0 B5 D0 BA 20 D1 83 D1 83 D0 BB D1 83 20 D0 AD 2E 20 F4 03 04 00 62 D4 1E 67 0E 04 04 00 26 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 51 00 00 00 57 04 04 00 53 00 00 00 AA 04 D5 04 6E 04 04 00 51 00 00 00 69 04 A2 00 6F 04 04 00 51 00 00 00 B1 04 03 00 B8 74 14 70 04 03 00 C8 B3 10 72 04 03 00 F0 C0 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 0F 2C 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 [00:01:45]Write to MH i2c: E2 02 01 1C 16 80 0D 02 02 FA 00 05 00 6C 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 OFD Sender: No OFD packet to send [00:01:45]03 1E 00 D0 A2 D0 B5 D0 BC D0 B8 D1 80 D0 B1 D0 B5 D0 BA 20 D1 83 D1 83 D0 BB D1 83 20 D0 AD 2E 20 F4 03 04 00 62 D4 1E 67 0E 04 04 00 26 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 51 00 00 00 57 04 04 00 53 00 00 00 AA 04 D5 04 6E 04 04 00 51 00 00 00 69 04 A2 00 6F 04 04 00 51 00 00 00 B1 04 03 00 B8 74 14 70 04 03 00 C8 B3 10 72 04 03 00 F0 C0 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 0F 2C 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 00 00 84 [00:01:45]Write i2c OK [00:01:45]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 1C 16 00 90 00 A6 [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 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 4E 2E 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:46]Write to MH i2c: E2 02 01 1D 16 80 0D 02 02 FA 00 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 4E 2E 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 00 A2 [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 1D 16 00 90 00 A7 [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 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 [00:01:47]Write to MH i2c: E2 02 01 1E 16 80 0D 02 02 FA 00 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 00 00 68 [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: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 1E 16 00 90 00 A8 [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 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 [00:01:48]Write to MH i2c: E2 02 01 1F 16 80 0D 02 02 FA 00 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 00 00 72 [00:01:48]ConnectInit Can't connect to host [00:01:48]Write i2c OK [00:01:48]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 1F 16 00 90 00 A9 [00:01:49]RAPDU: 90 00 [00:01:49]wFMCommunicate OK [00:01:49]wFMCommunicate request_size=255 [00:01:49]MH_SAM_APDU [00:01:49]CAPDU: 80 0D 02 02 FA 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [00:01:49]Write to MH i2c: E2 02 01 20 16 80 0D 02 02 FA 00 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 00 00 51 [00:01:49]Write i2c OK [00:01:49]MH_I2C_Read... [00:01:50]Read from MH i2c: E2 [00:01:50]MH_I2C_Read... [00:01:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:50]Read from MH i2c: E2 03 00 [00:01:50]MH_I2C_Read... [00:01:50]Read from MH i2c: E2 03 00 20 16 00 90 00 AA [00:01:50]RAPDU: 90 00 [00:01:50]wFMCommunicate OK [00:01:50]wFMCommunicate request_size=147 [00:01:50]MH_SAM_APDU [00:01:50]CAPDU: 80 0D 02 02 8E EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 7C 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 09 B0 90 34 6C 92 [00:01:50]Write to MH i2c: E2 96 00 21 16 80 0D 02 02 8E 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 7C 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 09 B0 90 34 6C 92 00 00 75 [00:01:50]Write i2c OK [00:01:50]MH_I2C_Read... [00:01:50]OFD Sender: No OFD packet to send [00:01:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:50]Read from MH i2c: E2 [00:01:50]MH_I2C_Read... [00:01:50]Read from MH i2c: E2 03 00 [00:01:50]MH_I2C_Read... [00:01:50]Read from MH i2c: E2 03 00 21 16 00 90 00 AB [00:01:50]RAPDU: 90 00 [00:01:50]wFMCommunicate OK [00:01:50]wFMCommunicate request_size=4 [00:01:50]MH_SAM_APDU [00:01:50]CAPDU: 80 0D 03 02 [00:01:50]Write to MH i2c: E2 08 00 22 16 80 0D 03 02 00 00 00 00 B3 [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 22 16 00 45 6E 56 5F 3E C9 49 35 90 00 A1 [00:01:50]RAPDU: 45 6E 56 5F 3E C9 49 35 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 23 16 80 11 00 00 00 00 00 00 B3 [00:01:50]Write i2c OK [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 [00:01:50]MH_I2C_Read... [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 23 16 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: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 37756 [00:01:50]StoreOFDPacket docnum=37756 [00:01: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 80 05 00 00 DE 30 78 05 50 3A 5A 05 01 00 05 00 6C 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 1E 00 D0 A2 D0 B5 D0 BC D0 B8 D1 80 D0 B1 D0 B5 D0 BA 20 D1 83 D1 83 D0 BB D1 83 20 D0 AD 2E 20 F4 03 04 00 62 D4 1E 67 0E 04 04 00 26 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 51 00 00 00 57 04 04 00 53 00 00 00 AA 04 D5 04 6E 04 04 00 51 00 00 00 69 04 A2 00 6F 04 04 00 51 00 00 00 B1 04 03 00 B8 74 14 70 04 03 00 C8 B3 10 72 04 03 00 F0 C0 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 0F 2C 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 4E 2E 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 7C 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 09 B0 90 34 6C 92 45 6E 56 5F 3E C9 49 35 [00:01:51]CheckFolder [00:01:51]dirname=/storage/ofd_packets [00:01:51]CheckFolder done [00:01:51]ProducePacketName [00:01:51]name=ofd_packets/00037756 [00:01:51]NVStorageSaveData ofd_packets/00037756 [00:01:51]File name is /storage/ofd_packets/00037756 [00:01:51]Write 1438 bytes [00:01:51]NVStorageSaveData done [00:01:51]OFDSenderStorePacket done [00:01:51]KKMCreateOFDPacket done [00:01:51]NVStorageSaveData kkm_last_timestamp [00:01:51]File name is /storage/kkm_last_timestamp [00:01:51]Write 4 bytes [00:01:51]NVStorageSaveData done [00:01:51]ExternCall_PrintAddStr [00:01:51]wPrintStart [00:01:51]Write to MH i2c: 01 00 00 24 16 3A [00:01:51]OFD Sender: Processing packet 37756 [packets to send 42, broken 41] [00:01:51]ProducePacketName [00:01:51]name=ofd_packets/00037756 [00:01:51]OFD Sender: To server: pG, [00:01:51]CommunicateWithHost lk.salyk.kg:30040 [00:01:51]ConnectInit lk.salyk.kg [00:01:51]Write i2c OK [00:01:51]MH_I2C_Read... [00:01:51]Read from MH i2c: 01 [00:01:51]MH_I2C_Read... [00:01:51]Read from MH i2c: 01 07 00 [00:01:51]MH_I2C_Read... [00:01:51]Read from MH i2c: 01 07 00 24 16 00 00 00 00 00 FF 0F 4F [00:01:51]RasterBufferAndPrint [00:01:51]line Отчет о закрытии смены [00:01:51]line ФФД: 1.0 [00:01:51]line ИНН: 02508201610067 [00:01:51]line Кассир: Темирбек уулу Э. [00:01:51]line 28.10.2024 00:01 [00:01:51]line Смена: 550 [00:01:51]line РНМ: 0000000000091684 [00:01:51]line ЗНМ: 0300000092 [00:01:51]line СНО: Общий режим [00:01:51]line Чеков за смену: 81 [00:01:51]line ФД за смену: 83 [00:01:51]line Всего чеков: 81 [00:01:51]line ИТОГИ ПРИХОД [00:01:51]line Чеков: 81 [00:01:51]line Общий итог: 13406.00 [00:01:51]line Итого наличными: 10946.00 [00:01:51]line Итого безнал.: 2460.00 [00:01:51]line НДС 0% : 0.00 [00:01:51]line НДС 12% : 1423.51 [00:01:51]line НСП 0% : 0.00 [00:01:51]line НСП 1,50% : 0.00 [00:01:51]line НСП 0,50% : 0.00 [00:01:51]line НСП 5% : 0.00 [00:01:51]line НСП 3% : 0.00 [00:01:51]line НСП 2% : 0.00 [00:01:51]line НСП 1% : 118.54 [00:01:51]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:01:51]line Чеков: 0 [00:01:51]line Общий итог: 0.00 [00:01:51]line Итого наличными: 0.00 [00:01:51]line Итого безнал.: 0.00 [00:01:51]line НДС 0% : 0.00 [00:01:51]line НДС 12% : 0.00 [00:01:51]line НСП 0% : 0.00 [00:01:51]line НСП 1,50% : 0.00 [00:01:51]line НСП 0,50% : 0.00 [00:01:51]line НСП 5% : 0.00 [00:01:51]line НСП 3% : 0.00 [00:01:51]line НСП 2% : 0.00 [00:01:51]line НСП 1% : 0.00 [00:01:51]line ИТОГИ РАСХОД [00:01:51]line Чеков: 0 [00:01:51]line Общий итог: 0.00 [00:01:51]line Итого наличными: 0.00 [00:01:51]line Итого безнал.: 0.00 [00:01:51]line НДС 0% : 0.00 [00:01:51]line НДС 12% : 0.00 [00:01:51]line НСП 0% : 0.00 [00:01:51]line НСП 1,50% : 0.00 [00:01:51]line НСП 0,50% : 0.00 [00:01:51]line НСП 5% : 0.00 [00:01:51]line НСП 3% : 0.00 [00:01:51]line НСП 2% : 0.00 [00:01:51]line НСП 1% : 0.00 [00:01:51]line ИТОГИ ВОЗВРАТ РАСХОДА [00:01:51]line Чеков: 0 [00:01:51]line Общий итог: 0.00 [00:01:51]line Итого наличными: 0.00 [00:01:51]line Итого безнал.: 0.00 [00:01:51]line НДС 0% : 0.00 [00:01:51]line НДС 12% : 0.00 [00:01:51]line НСП 0% : 0.00 [00:01:51]line НСП 1,50% : 0.00 [00:01:51]line НСП 0,50% : 0.00 [00:01:51]line НСП 5% : 0.00 [00:01:51]line НСП 3% : 0.00 [00:01:51]line НСП 2% : 0.00 [00:01:51]line НСП 1% : 0.00 [00:01:51]line Сумма внесений: 0.00 [00:01:51]line Сумма выплат: 0.00 [00:01:51]line Нал. в кассе: 10946.00 [00:01:51]line НС Приход: 8742437.26 [00:01:51]line НС Возвр.Прихода: 12909.00 [00:01:51]line НС Расход: 0.00 [00:01:51]line НС Возвр.Расхода: 0.00 [00:01:51]line ФД: 37756 [00:01:51]line ФМ: 0000000000871841 [00:01:51]line ФПД: 10653938248850 [00:01:51]written 0, free lines is 4095 [00:01:52]Write to MH i2c: 01 00 00 74 16 8A [00:01:52]Write i2c OK [00:01:52]MH_I2C_Read... [00:01:52]Read from MH i2c: 01 [00:01:52]MH_I2C_Read... [00:01:52]Read from MH i2c: 01 07 00 [00:01:52]MH_I2C_Read... [00:01:52]Read from MH i2c: 01 07 00 74 16 00 00 00 00 00 1D 0A B8 [00:01:52]RasterBufferAndPrint [00:01:52]line [00:01:52]line [00:01:52]line [00:01:52]line [00:01:52]line [00:01:52]written 0, free lines is 2651 [00:01:52]MH_Cut [00:01:52]Write to MH i2c: D1 01 00 7B 16 01 63 [00:01:52]Write i2c OK [00:01:52]MH_I2C_Read... [00:01:52]Read from MH i2c: D1 [00:01:52]MH_I2C_Read... [00:01:52]Read from MH i2c: D1 01 00 [00:01:52]MH_I2C_Read... [00:01:52]Read from MH i2c: D1 01 00 7B 16 00 62 [00:01:52]Write to MH i2c: 01 00 00 7C 16 92 [00:01:52]Write i2c OK [00:01:52]MH_I2C_Read... [00:01:53]*** Cut start [00:01:53]*** Partial cut [00:01:53]*** CUTSNS_PIN = 1 [00:01:53]*** CUTSNS_PIN = 0 [00:01:53]*** Brake cut motor [00:01:53]ConnectInit Can't connect to host [00:01:54]Read from MH i2c: 01 [00:01:54]MH_I2C_Read... [00:01:54]*** Stop cut motor [00:01:54]*** Cut end [00:01:54]Read from MH i2c: 01 07 00 [00:01:54]MH_I2C_Read... [00:01:54]Read from MH i2c: 01 07 00 7C 16 00 00 00 00 00 FF 0F A7 [00:01:54]process_action close_shift done [00:01:54]requested_data is exist [00:01:54]produce_requested_data [00:01:54]requested_item fd.num is exist - process it [00:01:54]SAM_PROTO_GetFieldsCounters [00:01:54]wFMCommunicate request_size=4 [00:01:54]MH_SAM_APDU [00:01:54]CAPDU: 80 13 00 00 [00:01:54]Write to MH i2c: E2 08 00 7D 16 80 13 00 00 00 00 00 00 0F [00:01:54]Write i2c OK [00:01:54]MH_I2C_Read... [00:01:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:01:54]Read from MH i2c: E2 [00:01:54]MH_I2C_Read... [00:01:54]Read from MH i2c: E2 62 00 [00:01:54]MH_I2C_Read... [00:01:54]Read from MH i2c: E2 62 00 7D 16 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 7C 93 00 00 0E 04 04 00 26 02 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 5B [00:01: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 7C 93 00 00 0E 04 04 00 26 02 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 53 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 7E 16 80 13 01 00 00 00 00 00 11 [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 7E 16 00 09 00 00 00 00 00 00 00 00 00 00 90 00 1C [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 7F 16 80 13 01 00 00 00 00 00 12 [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 7F 16 00 09 00 00 00 00 00 00 00 00 00 00 90 00 1D [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":37756,"shift.num":550,"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":37756,"shift.num":550,"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:56]ConnectInit Can't take IP for lk.salyk.kg [00:01:56]CommunicateWithHost connect error [00:01:56]CommunicateWithHost err = -1 [00:01:56]OFD Sender: Server communicate error [00:02:01]OFD Sender: Processing packet 37756 [packets to send 42, broken 41] [00:02:01]ProducePacketName [00:02:01]name=ofd_packets/00037756 [00:02:01]OFD Sender: To server: pG, [00:02:01]CommunicateWithHost lk.salyk.kg:30040 [00:02:01]ConnectInit lk.salyk.kg [00:02:01]Connected sock=9 [00:02: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 80 05 00 00 DE 30 78 05 50 3A 5A 05 01 00 05 00 6C 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 1E 00 D0 A2 D0 B5 D0 BC D0 B8 D1 80 D0 B1 D0 B5 D0 BA 20 D1 83 D1 83 D0 BB D1 83 20 D0 AD 2E 20 F4 03 04 00 62 D4 1E 67 0E 04 04 00 26 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 51 00 00 00 57 04 04 00 53 00 00 00 AA 04 D5 04 6E 04 04 00 51 00 00 00 69 04 A2 00 6F 04 04 00 51 00 00 00 B1 04 03 00 B8 74 14 70 04 03 00 C8 B3 10 72 04 03 00 F0 C0 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 0F 2C 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 4E 2E 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 7C 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 09 B0 90 34 6C 92 45 6E 56 5F 3E C9 49 35 [00:02: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 F6 6C 47 00 8B 25 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 7C 93 00 00 F4 03 04 00 74 7F 1E 67 B6 04 01 00 00 E9 86 00 CE E1 6A 29 7E [00:02:03]CommunicateWithHost err = 0 [00:02:03]CheckOFDResponse [00:02:03]1017 (14) - 77093643461234 [00:02:03]1041 (16) - 0000000000871841 [00:02:03]1040 (4) - 37756 [00:02:03]1012 (4) - 27.10.2024 17:59 [00:02:03]1206 (1) - 0 [00:02:03]OFD Sender: Remove packet 37756 [00:02:03]ProducePacketName [00:02:03]name=ofd_packets/00037756 [00:02:03]NVStorageDeleteData [00:02:04]OFD Sender: No OFD packet to send [00:02:09]OFD Sender: No OFD packet to send [00:02:14]OFD Sender: No OFD packet to send [00:02:19]OFD Sender: No OFD packet to send [00:02:24]OFD Sender: No OFD packet to send [00:02:29]OFD Sender: No OFD packet to send [00:02:34]OFD Sender: No OFD packet to send [00:02:39]OFD Sender: No OFD packet to send [00:02:44]OFD Sender: No OFD packet to send [00:02:49]OFD Sender: No OFD packet to send [00:02:54]OFD Sender: No OFD packet to send [00:02:59]OFD Sender: No OFD packet to send [00:03:04]OFD Sender: No OFD packet to send [00:03:09]OFD Sender: No OFD packet to send [00:03:14]OFD Sender: No OFD packet to send [00:03:19]OFD Sender: No OFD packet to send [00:03:24]OFD Sender: No OFD packet to send [00:03:29]OFD Sender: No OFD packet to send [00:03:34]OFD Sender: No OFD packet to send [00:03:39]OFD Sender: No OFD packet to send [00:03:44]OFD Sender: No OFD packet to send [00:03:49]OFD Sender: No OFD packet to send [00:03:54]OFD Sender: No OFD packet to send [00:03:59]OFD Sender: No OFD packet to send [00:04:04]OFD Sender: No OFD packet to send [00:04:09]OFD Sender: No OFD packet to send [00:04:14]OFD Sender: No OFD packet to send [00:04:19]OFD Sender: No OFD packet to send [00:04:24]OFD Sender: No OFD packet to send [00:04:29]OFD Sender: No OFD packet to send [00:04:34]OFD Sender: No OFD packet to send [00:04:35]accept exits with 7 [00:04:35]New connection [00:04:35]New thread 3067297124 created [00:04:35]Thread 3067440484 joined [00:04:35]Waiting for new connection... [00:04:35] Sock 7.Parse request [00:04:35]Sock 7.Check first char [00:04:35]Sock 7.First char is OK [00:04:35]request: POST /json_proto HTTP/1.0 [00:04:35]Method: POST [00:04:35]URL: /json_proto [00:04:35]Method is POST - this is cgi request [00:04:35]url: /json_proto [00:04:35]query_string will be loaded in cgi processing [00:04:35]execute_cgi json_proto POST (null) [00:04:35]execute_cgi path=json_proto method=POST [00:04:35]POST find Content-Length [00:04:35]Host: 172.17.40.196:8080 [00:04:35]Content-Length: 215 [00:04:35]Content-Type: application/json [00:04:35] [00:04:35]POST finish read [00:04:35]Found Content-Length = 215 [00:04:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:04:35]execute_script... [00:04:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:04:35]POST & json_proto [00:04:35]process_json_proto [00:04:35]json parsed OK: [00:04:35]protocol is kg_v1.0 [00:04:35]action value=get_value [00:04:35]process_action get_value [00:04:35]cmd_get_value [00:04:35]process_action get_value done [00:04:35]requested_data is exist [00:04:35]produce_requested_data [00:04:35]requested_item kkm.sn is exist - process it [00:04:35]requested_item kkm.ver is exist - process it [00:04:35]requested_item fm.sn is exist - process it [00:04:35]wFMCommunicate request_size=4 [00:04:35]MH_SAM_APDU [00:04:35]CAPDU: 80 11 00 00 [00:04:35]Write to MH i2c: E2 08 00 80 16 80 11 00 00 00 00 00 00 10 [00:04:35]Write i2c OK [00:04:35]MH_I2C_Read... [00:04:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:04:35]Read from MH i2c: E2 [00:04:35]MH_I2C_Read... [00:04:35]Read from MH i2c: E2 17 00 [00:04:35]MH_I2C_Read... [00:04:35]Read from MH i2c: E2 17 00 80 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 60 [00:04:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:04:35]wFMCommunicate OK [00:04:35]requested_item fd.num is exist - process it [00:04:35]SAM_PROTO_GetFieldsCounters [00:04:35]wFMCommunicate request_size=4 [00:04:35]MH_SAM_APDU [00:04:35]CAPDU: 80 13 00 00 [00:04:35]Write to MH i2c: E2 08 00 81 16 80 13 00 00 00 00 00 00 13 [00:04:35]Write i2c OK [00:04:35]MH_I2C_Read... [00:04:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:04:35]Read from MH i2c: E2 [00:04:35]MH_I2C_Read... [00:04:35]Read from MH i2c: E2 62 00 [00:04:35]MH_I2C_Read... [00:04:35]Read from MH i2c: E2 62 00 81 16 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 7C 93 00 00 0E 04 04 00 26 02 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 5F [00:04: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 7C 93 00 00 0E 04 04 00 26 02 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:04:35]wFMCommunicate OK [00:04:35]SAM_PROTO_GetFieldsCounters done [00:04:35]requested_item shift.num is exist - process it [00:04:35]requested_item shift.opened is exist - process it [00:04:35]req_shift_opened [00:04:35]FM_GetShiftState [00:04:35]SAM_PROTO_GetShiftState [00:04:35]wFMCommunicate request_size=4 [00:04:35]MH_SAM_APDU [00:04:35]CAPDU: 80 13 01 00 [00:04:35]Write to MH i2c: E2 08 00 82 16 80 13 01 00 00 00 00 00 15 [00:04:35]Write i2c OK [00:04:35]MH_I2C_Read... [00:04:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:04:36]Read from MH i2c: E2 [00:04:36]MH_I2C_Read... [00:04:36]Read from MH i2c: E2 0E 00 [00:04:36]MH_I2C_Read... [00:04:36]Read from MH i2c: E2 0E 00 82 16 00 09 00 00 00 00 00 00 00 00 00 00 90 00 20 [00:04:36]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:04:36]wFMCommunicate OK [00:04:36]SAM_PROTO_GetShiftState done [00:04:36]FM_GetShiftState done [00:04:36]req_shift_opened done [00:04:36]requested_item shift.open_date is exist - process it [00:04:36]req_shift_open_date [00:04:36]FM_GetShiftState [00:04:36]SAM_PROTO_GetShiftState [00:04:36]wFMCommunicate request_size=4 [00:04:36]MH_SAM_APDU [00:04:36]CAPDU: 80 13 01 00 [00:04:36]Write to MH i2c: E2 08 00 83 16 80 13 01 00 00 00 00 00 16 [00:04:36]Write i2c OK [00:04:36]MH_I2C_Read... [00:04:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:04:36]Read from MH i2c: E2 [00:04:36]MH_I2C_Read... [00:04:36]Read from MH i2c: E2 0E 00 [00:04:36]MH_I2C_Read... [00:04:36]Read from MH i2c: E2 0E 00 83 16 00 09 00 00 00 00 00 00 00 00 00 00 90 00 21 [00:04:36]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:04:36]wFMCommunicate OK [00:04:36]SAM_PROTO_GetShiftState done [00:04:36]FM_GetShiftState done [00:04:36]req_shift_open_date done [00:04:36]produce_requested_data done [00:04:36]produce_requested_data return {"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37756,"shift.num":550,"shift.opened":0,"shift.open_date":0} [00:04:36]process_action_free get_value [00:04:36]json_value_free [00:04:36]json_value_free done [00:04:36]process_json_proto returns [00:04:36]Send response to host [00:04:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37756,"shift.num":550,"shift.opened":0,"shift.open_date":0}}} [00:04:36]free response buf [00:04:36]execute_script done [00:04:36]execute_script returns [00:04:36]free content buf [00:04:36]Sock 7.Close socket [00:04:36]Sock 7.Thread stoped [00:04:36]accept exits with 9 [00:04:36]New connection [00:04:36]New thread 3067440484 created [00:04:36]Thread 3067297124 joined [00:04:36]Waiting for new connection... [00:04:36] Sock 9.Parse request [00:04:36]Sock 9.Check first char [00:04:36]Sock 9.First char is OK [00:04:36]request: POST /json_proto HTTP/1.0 [00:04:36]Method: POST [00:04:36]URL: /json_proto [00:04:36]Method is POST - this is cgi request [00:04:36]url: /json_proto [00:04:36]query_string will be loaded in cgi processing [00:04:36]execute_cgi json_proto POST (null) [00:04:36]execute_cgi path=json_proto method=POST [00:04:36]POST find Content-Length [00:04:36]Host: 172.17.40.196:8080 [00:04:36]Content-Length: 331 [00:04:36]Content-Type: application/json [00:04:36] [00:04:36]POST finish read [00:04:36]Found Content-Length = 331 [00:04:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:04:36]execute_script... [00:04:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:04:36]POST & json_proto [00:04:36]process_json_proto [00:04:36]json parsed OK: [00:04:36]protocol is kg_v1.0 [00:04:36]action value=get_value [00:04:36]process_action get_value [00:04:36]cmd_get_value [00:04:36]process_action get_value done [00:04:36]requested_data is exist [00:04:36]produce_requested_data [00:04:36]requested_item fm.sale.total is exist - process it [00:04:36]SAM_PROTO_GetFMData [00:04:36]wFMCommunicate request_size=4 [00:04:36]MH_SAM_APDU [00:04:36]CAPDU: 80 13 03 00 [00:04:36]Write to MH i2c: E2 08 00 84 16 80 13 03 00 00 00 00 00 19 [00:04:36]Write i2c OK [00:04:36]MH_I2C_Read... [00:04:36]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:04:36]Read from MH i2c: E2 [00:04:36]MH_I2C_Read... [00:04:36]Read from MH i2c: E2 FD 00 [00:04:36]MH_I2C_Read... [00:04:36]Read from MH i2c: E2 FD 00 84 16 00 C0 04 85 04 BC 04 6E 04 04 00 2F 8F 00 00 69 04 A0 00 6F 04 04 00 2A 8F 00 00 B1 04 04 00 8E E6 1B 34 70 04 04 00 4C B3 4A 2E 72 04 04 00 42 33 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 89 AF 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 89 FC 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 30 [00:04:36]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 2F 8F 00 00 69 04 A0 00 6F 04 04 00 2A 8F 00 00 B1 04 04 00 8E E6 1B 34 70 04 04 00 4C B3 4A 2E 72 04 04 00 42 33 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 89 AF 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 89 FC 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:04:36]wFMCommunicate OK [00:04:36]wFMCommunicate request_size=4 [00:04:36]MH_SAM_APDU [00:04:36]CAPDU: 80 17 00 00 [00:04:36]Write to MH i2c: E2 08 00 85 16 80 17 00 00 00 00 00 00 1B [00:04:36]Write i2c OK [00:04:36]MH_I2C_Read... [00:04:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:37]Read from MH i2c: E2 [00:04:37]MH_I2C_Read... [00:04:37]Read from MH i2c: E2 FD 00 [00:04:37]MH_I2C_Read... [00:04:37]Read from MH i2c: E2 FD 00 85 16 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 16 [00:04:37]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:04:37]wFMCommunicate OK [00:04:37]wFMCommunicate request_size=4 [00:04:37]MH_SAM_APDU [00:04:37]CAPDU: 80 17 00 00 [00:04:37]Write to MH i2c: E2 08 00 86 16 80 17 00 00 00 00 00 00 1C [00:04:37]Write i2c OK [00:04:37]MH_I2C_Read... [00:04:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:37]Read from MH i2c: E2 [00:04:37]MH_I2C_Read... [00:04:37]Read from MH i2c: E2 FD 00 [00:04:37]MH_I2C_Read... [00:04:37]Read from MH i2c: E2 FD 00 86 16 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 BF [00:04:37]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:04:37]wFMCommunicate OK [00:04:37]wFMCommunicate request_size=4 [00:04:37]MH_SAM_APDU [00:04:37]CAPDU: 80 17 00 00 [00:04:37]Write to MH i2c: E2 08 00 87 16 80 17 00 00 00 00 00 00 1D [00:04:37]Write i2c OK [00:04:37]MH_I2C_Read... [00:04:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:37]Read from MH i2c: E2 [00:04:37]MH_I2C_Read... [00:04:37]Read from MH i2c: E2 FD 00 [00:04:37]MH_I2C_Read... [00:04:37]Read from MH i2c: E2 FD 00 87 16 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 95 [00:04:37]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:04:37]wFMCommunicate OK [00:04:37]wFMCommunicate request_size=4 [00:04:37]MH_SAM_APDU [00:04:37]CAPDU: 80 17 00 00 [00:04:37]Write to MH i2c: E2 08 00 88 16 80 17 00 00 00 00 00 00 1E [00:04:37]Write i2c OK [00:04:37]MH_I2C_Read... [00:04:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:04:37]Read from MH i2c: E2 [00:04:37]MH_I2C_Read... [00:04:37]Read from MH i2c: E2 DD 00 [00:04:37]MH_I2C_Read... [00:04:37]Read from MH i2c: E2 DD 00 88 16 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 06 [00:04:37]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:04:37]wFMCommunicate OK [00:04:37]SAM_PROTO_GetFMData done [00:04:37]requested_item fm.sale_refund.total is exist - process it [00:04:37]requested_item fm.buy.total is exist - process it [00:04:37]requested_item shift.sale.total is exist - process it [00:04:37]SAM_PROTO_GetShiftData [00:04:37]wFMCommunicate request_size=4 [00:04:37]MH_SAM_APDU [00:04:37]CAPDU: 80 13 02 00 [00:04:37]Write to MH i2c: E2 08 00 89 16 80 13 02 00 00 00 00 00 1D [00:04:37]Write i2c OK [00:04:37]MH_I2C_Read... [00:04:38]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:04:38]Read from MH i2c: E2 [00:04:38]MH_I2C_Read... [00:04:38]Read from MH i2c: E2 FD 00 [00:04:38]MH_I2C_Read... [00:04:38]Read from MH i2c: E2 FD 00 89 16 00 AE 04 AA 04 AA 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 B8 74 14 70 04 03 00 C8 B3 10 72 04 03 00 F0 C0 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 0F 2C 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 4E 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 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 B7 [00:04:38]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 B8 74 14 70 04 03 00 C8 B3 10 72 04 03 00 F0 C0 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 0F 2C 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 4E 2E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 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:04:38]wFMCommunicate OK [00:04:38]wFMCommunicate request_size=4 [00:04:38]MH_SAM_APDU [00:04:38]CAPDU: 80 17 00 00 [00:04:38]Write to MH i2c: E2 08 00 8A 16 80 17 00 00 00 00 00 00 20 [00:04:38]Write i2c OK [00:04:38]MH_I2C_Read... [00:04:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:38]Read from MH i2c: E2 [00:04:38]MH_I2C_Read... [00:04:38]Read from MH i2c: E2 FD 00 [00:04:38]MH_I2C_Read... [00:04:38]Read from MH i2c: E2 FD 00 8A 16 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 42 [00:04:38]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:04:38]wFMCommunicate OK [00:04:38]wFMCommunicate request_size=4 [00:04:38]MH_SAM_APDU [00:04:38]CAPDU: 80 17 00 00 [00:04:38]Write to MH i2c: E2 08 00 8B 16 80 17 00 00 00 00 00 00 21 [00:04:38]Write i2c OK [00:04:38]MH_I2C_Read... [00:04:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:38]Read from MH i2c: E2 [00:04:38]MH_I2C_Read... [00:04:38]Read from MH i2c: E2 FD 00 [00:04:38]MH_I2C_Read... [00:04:38]Read from MH i2c: E2 FD 00 8B 16 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D8 [00:04: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:04:38]wFMCommunicate OK [00:04:38]wFMCommunicate request_size=4 [00:04:38]MH_SAM_APDU [00:04:38]CAPDU: 80 17 00 00 [00:04:38]Write to MH i2c: E2 08 00 8C 16 80 17 00 00 00 00 00 00 22 [00:04:38]Write i2c OK [00:04:38]MH_I2C_Read... [00:04:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:39]Read from MH i2c: E2 [00:04:39]MH_I2C_Read... [00:04:39]Read from MH i2c: E2 FD 00 [00:04:39]MH_I2C_Read... [00:04:39]Read from MH i2c: E2 FD 00 8C 16 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 94 [00:04:39]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:04:39]wFMCommunicate OK [00:04:39]wFMCommunicate request_size=4 [00:04:39]MH_SAM_APDU [00:04:39]CAPDU: 80 17 00 00 [00:04:39]Write to MH i2c: E2 08 00 8D 16 80 17 00 00 00 00 00 00 23 [00:04:39]Write i2c OK [00:04:39]MH_I2C_Read... [00:04:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:04:39]Read from MH i2c: E2 [00:04:39]MH_I2C_Read... [00:04:39]Read from MH i2c: E2 CB 00 [00:04:39]MH_I2C_Read... [00:04:39]Read from MH i2c: E2 CB 00 8D 16 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 0C [00:04: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:04:39]wFMCommunicate OK [00:04:39]SAM_PROTO_GetShiftData done [00:04:39]requested_item shift.sale.total_cash is exist - process it [00:04:39]requested_item shift.sale_refund.total is exist - process it [00:04:39]requested_item shift.sale_refund.total_cash is exist - process it [00:04:39]requested_item shift.buy.total is exist - process it [00:04:39]requested_item shift.buy.total_cash is exist - process it [00:04:39]produce_requested_data done [00:04:39]produce_requested_data return {"fm.sale.total":8742437.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":13406.00,"shift.sale.total_cash":10946.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:04:39]process_action_free get_value [00:04:39]json_value_free [00:04:39]json_value_free done [00:04:39]process_json_proto returns [00:04:39]Send response to host [00:04:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8742437.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":13406.00,"shift.sale.total_cash":10946.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:04:39]free response buf [00:04:39]execute_script done [00:04:39]execute_script returns [00:04:39]free content buf [00:04:39]Sock 9.Close socket [00:04:39]Sock 9.Thread stoped [00:04:39]OFD Sender: No OFD packet to send [00:04:39]accept exits with 7 [00:04:39]New connection [00:04:39]New thread 3067297124 created [00:04:39]Thread 3067440484 joined [00:04:39]Waiting for new connection... [00:04:39] Sock 7.Parse request [00:04:39]Sock 7.Check first char [00:04:39]Sock 7.First char is OK [00:04:39]request: POST /json_proto HTTP/1.0 [00:04:39]Method: POST [00:04:39]URL: /json_proto [00:04:39]Method is POST - this is cgi request [00:04:39]url: /json_proto [00:04:39]query_string will be loaded in cgi processing [00:04:39]execute_cgi json_proto POST (null) [00:04:39]execute_cgi path=json_proto method=POST [00:04:39]POST find Content-Length [00:04:39]Host: 172.17.40.196:8080 [00:04:39]Content-Length: 265 [00:04:39]Content-Type: application/json [00:04:39] [00:04:39]POST finish read [00:04:39]Found Content-Length = 265 [00:04:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_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:04:39]execute_script... [00:04:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_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:04:39]POST & json_proto [00:04:39]process_json_proto [00:04:39]json parsed OK: [00:04:39]protocol is kg_v1.0 [00:04:39]action value=open_shift [00:04:39]process_action open_shift [00:04:39]cmd_open_shift [00:04:39]MH_GetDate [00:04:39]Write to MH i2c: F0 00 00 8E 16 93 [00:04:39]Write i2c OK [00:04:39]MH_I2C_Read... [00:04:39]Read from MH i2c: F0 [00:04:39]MH_I2C_Read... [00:04:39]Read from MH i2c: F0 09 00 [00:04:39]MH_I2C_Read... [00:04:39]Read from MH i2c: F0 09 00 8E 16 00 1C D5 1E 67 5B 68 A1 66 DC [00:04:39]GetLastDocTimeStamp 1730073698 [00:04:39]current date 1730073884 [00:04:39]FM_GetShiftState [00:04:39]SAM_PROTO_GetShiftState [00:04:39]wFMCommunicate request_size=4 [00:04:39]MH_SAM_APDU [00:04:39]CAPDU: 80 13 01 00 [00:04:39]Write to MH i2c: E2 08 00 8F 16 80 13 01 00 00 00 00 00 22 [00:04:39]Write i2c OK [00:04:39]MH_I2C_Read... [00:04:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:04:39]Read from MH i2c: E2 [00:04:39]MH_I2C_Read... [00:04:39]Read from MH i2c: E2 0E 00 [00:04:39]MH_I2C_Read... [00:04:39]Read from MH i2c: E2 0E 00 8F 16 00 09 00 00 00 00 00 00 00 00 00 00 90 00 2D [00:04:39]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:04:39]wFMCommunicate OK [00:04:39]SAM_PROTO_GetShiftState done [00:04:39]FM_GetShiftState done [00:04:39]KKMCreateOpenShiftDocument [00:04:39]Load OK [00:04:39]Malloc new data [00:04:39]MH_GetDate [00:04:39]Write to MH i2c: F0 00 00 90 16 95 [00:04:39]Write i2c OK [00:04:39]MH_I2C_Read... [00:04:39]Read from MH i2c: F0 [00:04:39]MH_I2C_Read... [00:04:39]Read from MH i2c: F0 09 00 [00:04:39]MH_I2C_Read... [00:04:39]Read from MH i2c: F0 09 00 90 16 00 1C D5 1E 67 5B 68 A1 66 DE [00:04:39]Malloc new data [00:04:39]KKMCreateOpenShiftDocument OK [00:04:39]KKMSetOpenShiftData OK [00:04:39]ProcessDocumentItem done err = 0, tmpTLVsize=197 [00:04:39]tlvbuf is 002B8300 [00:04:39]KKMLoadAndSignOpenShiftData [00:04:39]SAM_PROTO_ProcessDocument [00:04:39]wFMCommunicate request_size=9 [00:04:39]MH_SAM_APDU [00:04:39]CAPDU: 80 15 01 00 04 02 00 C5 00 [00:04:39]Write to MH i2c: E2 0C 00 91 16 80 15 01 00 04 00 02 00 C5 00 00 00 F5 [00:04:39]Write i2c OK [00:04:39]MH_I2C_Read... [00:04:39]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:04:39]Read from MH i2c: E2 [00:04:39]MH_I2C_Read... [00:04:39]Read from MH i2c: E2 03 00 [00:04:39]MH_I2C_Read... [00:04:39]Read from MH i2c: E2 03 00 91 16 00 90 00 1B [00:04:39]RAPDU: 90 00 [00:04:39]wFMCommunicate OK [00:04:39]wFMCommunicate request_size=23 [00:04:39]MH_SAM_APDU [00:04:39]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:04:39]Write to MH i2c: E2 1A 00 92 16 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 1D [00:04:39]Write i2c OK [00:04:39]MH_I2C_Read... [00:04:39]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:04:39]Read from MH i2c: E2 [00:04:39]MH_I2C_Read... [00:04:39]Read from MH i2c: E2 03 00 [00:04:39]MH_I2C_Read... [00:04:39]Read from MH i2c: E2 03 00 92 16 00 90 00 1C [00:04:39]RAPDU: 90 00 [00:04:39]wFMCommunicate OK [00:04:39]wFMCommunicate request_size=32 [00:04:39]MH_SAM_APDU [00:04:39]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:04:39]Write to MH i2c: E2 23 00 93 16 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 E4 [00:04:39]Write i2c OK [00:04:39]MH_I2C_Read... [00:04:39]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:04:39]Read from MH i2c: E2 [00:04:39]MH_I2C_Read... [00:04:39]Read from MH i2c: E2 03 00 [00:04:39]MH_I2C_Read... [00:04:39]Read from MH i2c: E2 03 00 93 16 00 90 00 1D [00:04:39]RAPDU: 90 00 [00:04:39]wFMCommunicate OK [00:04:39]wFMCommunicate request_size=83 [00:04:39]MH_SAM_APDU [00:04:39]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:04:39]Write to MH i2c: E2 56 00 94 16 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 7D [00:04:39]Write i2c OK [00:04:39]MH_I2C_Read... [00:04:40]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:04:40]Read from MH i2c: E2 [00:04:40]MH_I2C_Read... [00:04:40]Read from MH i2c: E2 03 00 [00:04:40]MH_I2C_Read... [00:04:40]Read from MH i2c: E2 03 00 94 16 00 90 00 1E [00:04:40]RAPDU: 90 00 [00:04:40]wFMCommunicate OK [00:04:40]wFMCommunicate request_size=51 [00:04:40]MH_SAM_APDU [00:04:40]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:04:40]Write to MH i2c: E2 36 00 95 16 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 D6 [00:04:40]Write i2c OK [00:04:40]MH_I2C_Read... [00:04:40]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:04:40]Read from MH i2c: E2 [00:04:40]MH_I2C_Read... [00:04:40]Read from MH i2c: E2 03 00 [00:04:40]MH_I2C_Read... [00:04:40]Read from MH i2c: E2 03 00 95 16 00 90 00 1F [00:04:40]RAPDU: 90 00 [00:04:40]wFMCommunicate OK [00:04:40]wFMCommunicate request_size=13 [00:04:40]MH_SAM_APDU [00:04:40]CAPDU: 80 15 02 00 08 F4 03 04 00 1C D5 1E 67 [00:04:40]Write to MH i2c: E2 10 00 96 16 80 15 02 00 08 00 F4 03 04 00 1C D5 1E 67 00 00 AD [00:04:40]Write i2c OK [00:04:40]MH_I2C_Read... [00:04:40]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:04:40]Read from MH i2c: E2 [00:04:40]MH_I2C_Read... [00:04:40]Read from MH i2c: E2 03 00 [00:04:40]MH_I2C_Read... [00:04:40]Read from MH i2c: E2 03 00 96 16 00 90 00 20 [00:04:40]RAPDU: 90 00 [00:04:40]wFMCommunicate OK [00:04:40]wFMCommunicate request_size=25 [00:04:40]MH_SAM_APDU [00:04:40]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:04:40]Write to MH i2c: E2 1C 00 97 16 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 92 [00:04:40]Write i2c OK [00:04:40]MH_I2C_Read... [00:04:40]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:04:40]Read from MH i2c: E2 [00:04:40]MH_I2C_Read... [00:04:40]Read from MH i2c: E2 03 00 [00:04:40]MH_I2C_Read... [00:04:40]Read from MH i2c: E2 03 00 97 16 00 90 00 21 [00:04:40]RAPDU: 90 00 [00:04:40]wFMCommunicate OK [00:04:40]wFMCommunicate request_size=4 [00:04:40]MH_SAM_APDU [00:04:40]CAPDU: 80 15 03 00 [00:04:40]Write to MH i2c: E2 08 00 98 16 80 15 03 00 00 00 00 00 2F [00:04:40]Write i2c OK [00:04:40]MH_I2C_Read... [00:04:40]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:04:40]Read from MH i2c: E2 [00:04:40]MH_I2C_Read... [00:04:40]Read from MH i2c: E2 38 00 [00:04:40]MH_I2C_Read... [00:04:40]Read from MH i2c: E2 38 00 98 16 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 7D 93 00 00 0E 04 04 00 27 02 00 00 35 04 06 00 3F FD 01 74 AC DD 90 00 6B [00:04:40]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 7D 93 00 00 0E 04 04 00 27 02 00 00 35 04 06 00 3F FD 01 74 AC DD 90 00 [00:04:40]wFMCommunicate OK [00:04:40]SAM_PROTO_ProcessDocument answer len = 51 [00:04:40]SAM_PROTO_ProcessDocument done [00:04:40]SetTLVBufToDocument [00:04:40]Processing tag 1209 (04B9) [00:04:40]Malloc new data [00:04:40]Processing tag 1041 (0411) [00:04:40]Processing tag 1040 (0410) [00:04:40]Malloc new data [00:04:40]Processing tag 1038 (040E) [00:04:40]Malloc new data [00:04:40]Processing tag 1077 (0435) [00:04:40]Malloc new data [00:04:40]SetTLVBufToDocument err=0 [00:04:40]KKMLoadAndSignOpenShiftData store KKM data [00:04:40]KKMLoadAndSignOpenShiftData err=0 [00:04:40]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Долонбаев А. Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 Место: АЗС № 126 "Партнер Нефть" 28.10.2024 00:04 Смена: 551 РНМ: 0000000000091684 ЗНМ: 0300000092 ФД: 37757 ФМ: 0000000000871841 ФПД: 70355883699421 [00:04:40]StoreToDocumentArchive [00:04:40]shift 551 fd 37757 [00:04:40]Create dir for shift 0551 [00:04:40]save to /storage/0551/doc_00037757 [00:04:40]save last doc name /storage/0551/doc_00037757 to /storage/kkm_last_doc_name [00:04:40]save OK [00:04:40]Clear old archive folders... [00:04:40]Remove dir /storage/0550 [00:04:40]opendir ok [00:04:40]file . [00:04:40]file .. [00:04:40]file doc_00037674 [00:04:40]remove file /storage/0550/doc_00037674 [00:04:40]file doc_00037675 [00:04:40]remove file /storage/0550/doc_00037675 [00:04:40]file doc_00037676 [00:04:40]remove file /storage/0550/doc_00037676 [00:04:40]file doc_00037677 [00:04:40]remove file /storage/0550/doc_00037677 [00:04:40]file doc_00037678 [00:04:40]remove file /storage/0550/doc_00037678 [00:04:40]file doc_00037679 [00:04:40]remove file /storage/0550/doc_00037679 [00:04:40]file doc_00037680 [00:04:40]remove file /storage/0550/doc_00037680 [00:04:40]file doc_00037681 [00:04:40]remove file /storage/0550/doc_00037681 [00:04:40]file doc_00037682 [00:04:40]remove file /storage/0550/doc_00037682 [00:04:40]file doc_00037683 [00:04:40]remove file /storage/0550/doc_00037683 [00:04:40]file doc_00037684 [00:04:40]remove file /storage/0550/doc_00037684 [00:04:40]file doc_00037685 [00:04:40]remove file /storage/0550/doc_00037685 [00:04:40]file doc_00037686 [00:04:40]remove file /storage/0550/doc_00037686 [00:04:40]file doc_00037687 [00:04:40]remove file /storage/0550/doc_00037687 [00:04:40]file doc_00037688 [00:04:40]remove file /storage/0550/doc_00037688 [00:04:40]file doc_00037689 [00:04:40]remove file /storage/0550/doc_00037689 [00:04:40]file doc_00037690 [00:04:40]remove file /storage/0550/doc_00037690 [00:04:40]file doc_00037691 [00:04:40]remove file /storage/0550/doc_00037691 [00:04:40]file doc_00037692 [00:04:40]remove file /storage/0550/doc_00037692 [00:04:40]file doc_00037693 [00:04:40]remove file /storage/0550/doc_00037693 [00:04:40]file doc_00037694 [00:04:40]remove file /storage/0550/doc_00037694 [00:04:40]file doc_00037695 [00:04:40]remove file /storage/0550/doc_00037695 [00:04:40]file doc_00037696 [00:04:40]remove file /storage/0550/doc_00037696 [00:04:40]file doc_00037697 [00:04:40]remove file /storage/0550/doc_00037697 [00:04:40]file doc_00037698 [00:04:40]remove file /storage/0550/doc_00037698 [00:04:40]file doc_00037699 [00:04:40]remove file /storage/0550/doc_00037699 [00:04:40]file doc_00037700 [00:04:40]remove file /storage/0550/doc_00037700 [00:04:40]file doc_00037701 [00:04:40]remove file /storage/0550/doc_00037701 [00:04:40]file doc_00037702 [00:04:40]remove file /storage/0550/doc_00037702 [00:04:40]file doc_00037703 [00:04:40]remove file /storage/0550/doc_00037703 [00:04:40]file doc_00037704 [00:04:40]remove file /storage/0550/doc_00037704 [00:04:40]file doc_00037705 [00:04:40]remove file /storage/0550/doc_00037705 [00:04:40]file doc_00037706 [00:04:40]remove file /storage/0550/doc_00037706 [00:04:40]file doc_00037707 [00:04:40]remove file /storage/0550/doc_00037707 [00:04:40]file doc_00037708 [00:04:40]remove file /storage/0550/doc_00037708 [00:04:40]file doc_00037709 [00:04:40]remove file /storage/0550/doc_00037709 [00:04:40]file doc_00037710 [00:04:40]remove file /storage/0550/doc_00037710 [00:04:40]file doc_00037711 [00:04:40]remove file /storage/0550/doc_00037711 [00:04:40]file doc_00037712 [00:04:40]remove file /storage/0550/doc_00037712 [00:04:40]file doc_00037713 [00:04:40]remove file /storage/0550/doc_00037713 [00:04:40]file doc_00037714 [00:04:40]remove file /storage/0550/doc_00037714 [00:04:40]file doc_00037715 [00:04:40]remove file /storage/0550/doc_00037715 [00:04:40]file doc_00037716 [00:04:40]remove file /storage/0550/doc_00037716 [00:04:40]file doc_00037717 [00:04:40]remove file /storage/0550/doc_00037717 [00:04:40]file doc_00037718 [00:04:40]remove file /storage/0550/doc_00037718 [00:04:40]file doc_00037719 [00:04:40]remove file /storage/0550/doc_00037719 [00:04:40]file doc_00037720 [00:04:40]remove file /storage/0550/doc_00037720 [00:04:40]file doc_00037721 [00:04:40]remove file /storage/0550/doc_00037721 [00:04:40]file doc_00037722 [00:04:40]remove file /storage/0550/doc_00037722 [00:04:40]file doc_00037723 [00:04:40]remove file /storage/0550/doc_00037723 [00:04:40]file doc_00037724 [00:04:40]remove file /storage/0550/doc_00037724 [00:04:40]file doc_00037725 [00:04:40]remove file /storage/0550/doc_00037725 [00:04:40]file doc_00037726 [00:04:40]remove file /storage/0550/doc_00037726 [00:04:40]file doc_00037727 [00:04:40]remove file /storage/0550/doc_00037727 [00:04:40]file doc_00037728 [00:04:40]remove file /storage/0550/doc_00037728 [00:04:40]file doc_00037729 [00:04:40]remove file /storage/0550/doc_00037729 [00:04:40]file doc_00037730 [00:04:40]remove file /storage/0550/doc_00037730 [00:04:40]file doc_00037731 [00:04:40]remove file /storage/0550/doc_00037731 [00:04:40]file doc_00037732 [00:04:40]remove file /storage/0550/doc_00037732 [00:04:40]file doc_00037733 [00:04:40]remove file /storage/0550/doc_00037733 [00:04:40]file doc_00037734 [00:04:40]remove file /storage/0550/doc_00037734 [00:04:40]file doc_00037735 [00:04:40]remove file /storage/0550/doc_00037735 [00:04:40]file doc_00037736 [00:04:40]remove file /storage/0550/doc_00037736 [00:04:40]file doc_00037737 [00:04:40]remove file /storage/0550/doc_00037737 [00:04:40]file doc_00037738 [00:04:40]remove file /storage/0550/doc_00037738 [00:04:40]file doc_00037739 [00:04:40]remove file /storage/0550/doc_00037739 [00:04:40]file doc_00037740 [00:04:40]remove file /storage/0550/doc_00037740 [00:04:40]file doc_00037741 [00:04:40]remove file /storage/0550/doc_00037741 [00:04:40]file doc_00037742 [00:04:40]remove file /storage/0550/doc_00037742 [00:04:40]file doc_00037743 [00:04:40]remove file /storage/0550/doc_00037743 [00:04:40]file doc_00037744 [00:04:40]remove file /storage/0550/doc_00037744 [00:04:40]file doc_00037745 [00:04:40]remove file /storage/0550/doc_00037745 [00:04:40]file doc_00037746 [00:04:40]remove file /storage/0550/doc_00037746 [00:04:40]file doc_00037747 [00:04:40]remove file /storage/0550/doc_00037747 [00:04:40]file doc_00037748 [00:04:40]remove file /storage/0550/doc_00037748 [00:04:40]file doc_00037749 [00:04:40]remove file /storage/0550/doc_00037749 [00:04:40]file doc_00037750 [00:04:40]remove file /storage/0550/doc_00037750 [00:04:40]file doc_00037751 [00:04:40]remove file /storage/0550/doc_00037751 [00:04:40]file doc_00037752 [00:04:40]remove file /storage/0550/doc_00037752 [00:04:40]file doc_00037753 [00:04:40]remove file /storage/0550/doc_00037753 [00:04:40]file doc_00037754 [00:04:40]remove file /storage/0550/doc_00037754 [00:04:40]file doc_00037755 [00:04:40]remove file /storage/0550/doc_00037755 [00:04:40]file doc_00037756 [00:04:40]remove file /storage/0550/doc_00037756 [00:04:40]remove dir /storage/0550 [00:04:40]ProcessDocumentItem done err = 0, tmpTLVsize=248 [00:04:40]tlvbuf is 00434600 [00:04:40]SAM_PROTO_ClearQueue [00:04:40]wFMCommunicate request_size=4 [00:04:40]MH_SAM_APDU [00:04:40]CAPDU: 80 09 00 00 [00:04:40]Write to MH i2c: E2 08 00 99 16 80 09 00 00 00 00 00 00 21 [00:04:41]Write i2c OK [00:04:41]MH_I2C_Read... [00:04:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:04:41]Read from MH i2c: E2 [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: E2 03 00 [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: E2 03 00 99 16 00 90 00 23 [00:04:41]RAPDU: 90 00 [00:04:41]wFMCommunicate OK [00:04:41]SAM_PROTO_ClearQueue done [00:04:41]KKMCreateOFDPacket [00:04:41]OFDProtocolAddRootSTLVToBuf [00:04:41]FM_MakeSignedData [00:04:41]FM_MakeSignedData [00:04:41]SAM_PROTO_SignData [00:04:41]wFMCommunicate request_size=4 [00:04:41]MH_SAM_APDU [00:04:41]CAPDU: 80 0D 01 02 [00:04:41]Write to MH i2c: E2 08 00 9A 16 80 0D 01 02 00 00 00 00 29 [00:04:41]Write i2c OK [00:04:41]MH_I2C_Read... [00:04:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:04:41]Read from MH i2c: E2 [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: E2 03 00 [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: E2 03 00 9A 16 00 90 00 24 [00:04:41]RAPDU: 90 00 [00:04:41]wFMCommunicate OK [00:04:41]wFMCommunicate request_size=255 [00:04:41]MH_SAM_APDU [00:04:41]CAPDU: 80 0D 02 02 FA 02 00 F8 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 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 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 1C D5 1E 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 10 04 04 00 7D 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 3F FD 01 74 [00:04:41]Write to MH i2c: E2 02 01 9B 16 80 0D 02 02 FA 00 02 00 F8 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 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 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 1C D5 1E 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 10 04 04 00 7D 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 3F FD 01 74 00 00 7C [00:04:41]Write i2c OK [00:04:41]MH_I2C_Read... [00:04:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:04:41]Read from MH i2c: E2 [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: E2 03 00 [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: E2 03 00 9B 16 00 90 00 25 [00:04:41]RAPDU: 90 00 [00:04:41]wFMCommunicate OK [00:04:41]wFMCommunicate request_size=7 [00:04:41]MH_SAM_APDU [00:04:41]CAPDU: 80 0D 02 02 02 AC DD [00:04:41]Write to MH i2c: E2 0A 00 9C 16 80 0D 02 02 02 00 AC DD 00 00 B9 [00:04:41]Write i2c OK [00:04:41]MH_I2C_Read... [00:04:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:04:41]Read from MH i2c: E2 [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: E2 03 00 [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: E2 03 00 9C 16 00 90 00 26 [00:04:41]RAPDU: 90 00 [00:04:41]wFMCommunicate OK [00:04:41]wFMCommunicate request_size=4 [00:04:41]MH_SAM_APDU [00:04:41]CAPDU: 80 0D 03 02 [00:04:41]Write to MH i2c: E2 08 00 9D 16 80 0D 03 02 00 00 00 00 2E [00:04:41]Write i2c OK [00:04:41]MH_I2C_Read... [00:04:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:04:41]Read from MH i2c: E2 [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: E2 0B 00 [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: E2 0B 00 9D 16 00 D8 4D 89 46 62 C8 00 93 90 00 E0 [00:04:41]RAPDU: D8 4D 89 46 62 C8 00 93 90 00 [00:04:41]wFMCommunicate OK [00:04:41]SAM_PROTO_SignData done [00:04:41]FM_MakeSignedData done [00:04:41]CreateOFDProtocolMessage [00:04:41]wFMCommunicate request_size=4 [00:04:41]MH_SAM_APDU [00:04:41]CAPDU: 80 11 00 00 [00:04:41]Write to MH i2c: E2 08 00 9E 16 80 11 00 00 00 00 00 00 2E [00:04:41]Write i2c OK [00:04:41]MH_I2C_Read... [00:04:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:04:41]Read from MH i2c: E2 [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: E2 17 00 [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: E2 17 00 9E 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 7E [00:04:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:04:41]wFMCommunicate OK [00:04:41]CreateOFDProtocolMessage done [00:04:41]OFDSenderStorePacket 37757 [00:04:41]StoreOFDPacket docnum=37757 [00:04: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 0C 01 00 00 0F ED 04 01 A8 72 5A 02 01 00 02 00 F8 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 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 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 1C D5 1E 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 10 04 04 00 7D 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 3F FD 01 74 AC DD D8 4D 89 46 62 C8 00 93 [00:04:41]CheckFolder [00:04:41]dirname=/storage/ofd_packets [00:04:41]CheckFolder done [00:04:41]ProducePacketName [00:04:41]name=ofd_packets/00037757 [00:04:41]NVStorageSaveData ofd_packets/00037757 [00:04:41]File name is /storage/ofd_packets/00037757 [00:04:41]Write 298 bytes [00:04:41]NVStorageSaveData done [00:04:41]OFDSenderStorePacket done [00:04:41]KKMCreateOFDPacket done [00:04:41]NVStorageSaveData kkm_last_timestamp [00:04:41]File name is /storage/kkm_last_timestamp [00:04:41]Write 4 bytes [00:04:41]NVStorageSaveData done [00:04:41]ExternCall_PrintAddStr [00:04:41]wPrintStart [00:04:41]Write to MH i2c: 01 00 00 9F 16 B5 [00:04:41]Write i2c OK [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: 01 [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: 01 07 00 [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: 01 07 00 9F 16 00 00 00 00 00 FF 0F CA [00:04:41]RasterBufferAndPrint [00:04:41]line Отчет об открытии смены [00:04:41]line ФФД: 1.0 [00:04:41]line ИНН: 02508201610067 [00:04:41]line Кассир: Долонбаев А. [00:04:41]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [00:04:41]line Место: АЗС № 126 "Партнер Нефть" [00:04:41]line 28.10.2024 00:04 [00:04:41]line Смена: 551 [00:04:41]line РНМ: 0000000000091684 [00:04:41]line ЗНМ: 0300000092 [00:04:41]line ФД: 37757 [00:04:41]line ФМ: 0000000000871841 [00:04:41]line ФПД: 70355883699421 [00:04:41]OFD Sender: Processing packet 37757 [packets to send 42, broken 41] [00:04:41]ProducePacketName [00:04:41]name=ofd_packets/00037757 [00:04:41]OFD Sender: To server: pG, [00:04:41]CommunicateWithHost lk.salyk.kg:30040 [00:04:41]ConnectInit lk.salyk.kg [00:04:41]written 0, free lines is 4095 [00:04:41]Write to MH i2c: 01 00 00 B1 16 C7 [00:04:41]Write i2c OK [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: 01 [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: 01 07 00 [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: 01 07 00 B1 16 00 00 00 00 00 52 0E 2E [00:04:41]RasterBufferAndPrint [00:04:41]line [00:04:41]line [00:04:41]line [00:04:41]line [00:04:41]line [00:04:41]written 0, free lines is 3677 [00:04:41]MH_Cut [00:04:41]Write to MH i2c: D1 01 00 B8 16 01 A0 [00:04:41]Write i2c OK [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: D1 [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: D1 01 00 [00:04:41]MH_I2C_Read... [00:04:41]Read from MH i2c: D1 01 00 B8 16 00 9F [00:04:41]Write to MH i2c: 01 00 00 B9 16 CF [00:04:41]Write i2c OK [00:04:41]MH_I2C_Read... [00:04:42]Connected sock=10 [00:04: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 0C 01 00 00 0F ED 04 01 A8 72 5A 02 01 00 02 00 F8 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 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 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 1C D5 1E 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 10 04 04 00 7D 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 3F FD 01 74 AC DD D8 4D 89 46 62 C8 00 93 [00:04:42]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 B4 F5 47 00 1D 25 A5 07 01 00 07 00 3B 00 F9 03 *** Cut start [00:04:42]0E 00 37 37 30 39 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 7D 93 00 00 *** Partial cut [00:04:42]F4 03 04 *** CUTSNS_PIN = 1 [00:04:42]00 13 80 1E 67 B6 04 01 00 00 CC 9F FB 88 DA B1 40 94 *** CUTSNS_PIN = 0 [00:04:42] [00:04:42]CommunicateWithHost err = 0 [00:04:42]CheckOFDResponse [00:04:42]1017 (14) - 77093643461234 [00:04:42]1041 (16) - 0000000000871841 [00:04:42]1040 (4) - 37757 [00:04:42]1012 (4) - 27.10.2024 18:01 [00:04:42]1206 (1) - 0 [00:04:42]OFD Sender: Remove packet 37757 [00:04:42]ProducePacketName [00:04:42]name=ofd_packets/00037757 [00:04:42]NVStorageDeleteData [00:04:42]*** Brake cut motor [00:04:43]Read from MH i2c: 01 [00:04:43]MH_I2C_Read... [00:04:43]*** Stop cut motor [00:04:43]*** Cut end [00:04:43]Read from MH i2c: 01 07 00 [00:04:43]MH_I2C_Read... [00:04:43]Read from MH i2c: 01 07 00 B9 16 00 00 00 00 00 FF 0F E4 [00:04:43]process_action open_shift done [00:04:43]requested_data is exist [00:04:43]produce_requested_data [00:04:43]requested_item fd.num is exist - process it [00:04:43]SAM_PROTO_GetFieldsCounters [00:04:43]wFMCommunicate request_size=4 [00:04:43]MH_SAM_APDU [00:04:43]CAPDU: 80 13 00 00 [00:04:43]Write to MH i2c: E2 08 00 BA 16 80 13 00 00 00 00 00 00 4C [00:04:43]OFD Sender: No OFD packet to send [00:04:43]Write i2c OK [00:04:43]MH_I2C_Read... [00:04:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:04:43]Read from MH i2c: E2 [00:04:43]MH_I2C_Read... [00:04:43]Read from MH i2c: E2 62 00 [00:04:43]MH_I2C_Read... [00:04:43]Read from MH i2c: E2 62 00 BA 16 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 7D 93 00 00 0E 04 04 00 27 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 A6 [00:04:43]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 7D 93 00 00 0E 04 04 00 27 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:04:43]wFMCommunicate OK [00:04:43]SAM_PROTO_GetFieldsCounters done [00:04:43]requested_item shift.num is exist - process it [00:04:43]requested_item shift.opened is exist - process it [00:04:43]req_shift_opened [00:04:43]FM_GetShiftState [00:04:43]SAM_PROTO_GetShiftState [00:04:43]wFMCommunicate request_size=4 [00:04:43]MH_SAM_APDU [00:04:43]CAPDU: 80 13 01 00 [00:04:43]Write to MH i2c: E2 08 00 BB 16 80 13 01 00 00 00 00 00 4E [00:04:43]Write i2c OK [00:04:43]MH_I2C_Read... [00:04:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:04:43]Read from MH i2c: E2 [00:04:43]MH_I2C_Read... [00:04:43]Read from MH i2c: E2 0E 00 [00:04:43]MH_I2C_Read... [00:04:43]Read from MH i2c: E2 0E 00 BB 16 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 D0 [00:04:43]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [00:04:43]wFMCommunicate OK [00:04:43]SAM_PROTO_GetShiftState done [00:04:43]FM_GetShiftState done [00:04:43]req_shift_opened done [00:04:43]requested_item shift.open_date is exist - process it [00:04:43]req_shift_open_date [00:04:43]req_shift_open_date done [00:04:43]produce_requested_data done [00:04:43]produce_requested_data return {"fd.num":37757,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [00:04:43]process_action_free open_shift [00:04:43]json_value_free [00:04:43]json_value_free done [00:04:43]process_json_proto returns [00:04:43]Send response to host [00:04:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":37757,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [00:04:43]free response buf [00:04:43]execute_script done [00:04:43]execute_script returns [00:04:43]free content buf [00:04:43]Sock 7.Close socket [00:04:43]Sock 7.Thread stoped [00:04:43]accept exits with 9 [00:04:43]New connection [00:04:43]New thread 3067440484 created [00:04:43]Thread 3067297124 joined [00:04:43]Waiting for new connection... [00:04:43] Sock 9.Parse request [00:04:43]Sock 9.Check first char [00:04:43]Sock 9.First char is OK [00:04:43]request: POST /json_proto HTTP/1.0 [00:04:43]Method: POST [00:04:43]URL: /json_proto [00:04:43]Method is POST - this is cgi request [00:04:43]url: /json_proto [00:04:43]query_string will be loaded in cgi processing [00:04:43]execute_cgi json_proto POST (null) [00:04:43]execute_cgi path=json_proto method=POST [00:04:43]POST find Content-Length [00:04:43]Host: 172.17.40.196:8080 [00:04:43]Content-Length: 331 [00:04:43]Content-Type: application/json [00:04:43] [00:04:43]POST finish read [00:04:43]Found Content-Length = 331 [00:04:43]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:04:43]execute_script... [00:04:43]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:04:43]POST & json_proto [00:04:43]process_json_proto [00:04:43]json parsed OK: [00:04:43]protocol is kg_v1.0 [00:04:43]action value=get_value [00:04:43]process_action get_value [00:04:43]cmd_get_value [00:04:43]process_action get_value done [00:04:43]requested_data is exist [00:04:43]produce_requested_data [00:04:43]requested_item fm.sale.total is exist - process it [00:04:43]SAM_PROTO_GetFMData [00:04:43]wFMCommunicate request_size=4 [00:04:43]MH_SAM_APDU [00:04:43]CAPDU: 80 13 03 00 [00:04:43]Write to MH i2c: E2 08 00 BC 16 80 13 03 00 00 00 00 00 51 [00:04:43]Write i2c OK [00:04:43]MH_I2C_Read... [00:04:43]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:04:43]Read from MH i2c: E2 [00:04:43]MH_I2C_Read... [00:04:43]Read from MH i2c: E2 FD 00 [00:04:43]MH_I2C_Read... [00:04:43]Read from MH i2c: E2 FD 00 BC 16 00 C0 04 85 04 BC 04 6E 04 04 00 2F 8F 00 00 69 04 A0 00 6F 04 04 00 2A 8F 00 00 B1 04 04 00 8E E6 1B 34 70 04 04 00 4C B3 4A 2E 72 04 04 00 42 33 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 89 AF 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 89 FC 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 68 [00:04:43]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 2F 8F 00 00 69 04 A0 00 6F 04 04 00 2A 8F 00 00 B1 04 04 00 8E E6 1B 34 70 04 04 00 4C B3 4A 2E 72 04 04 00 42 33 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 89 AF 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 89 FC 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:04:44]wFMCommunicate OK [00:04:44]wFMCommunicate request_size=4 [00:04:44]MH_SAM_APDU [00:04:44]CAPDU: 80 17 00 00 [00:04:44]Write to MH i2c: E2 08 00 BD 16 80 17 00 00 00 00 00 00 53 [00:04:44]Write i2c OK [00:04:44]MH_I2C_Read... [00:04:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:44]Read from MH i2c: E2 [00:04:44]MH_I2C_Read... [00:04:44]Read from MH i2c: E2 FD 00 [00:04:44]MH_I2C_Read... [00:04:44]Read from MH i2c: E2 FD 00 BD 16 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 4E [00:04:44]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:04:44]wFMCommunicate OK [00:04:44]wFMCommunicate request_size=4 [00:04:44]MH_SAM_APDU [00:04:44]CAPDU: 80 17 00 00 [00:04:44]Write to MH i2c: E2 08 00 BE 16 80 17 00 00 00 00 00 00 54 [00:04:44]Write i2c OK [00:04:44]MH_I2C_Read... [00:04:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:44]Read from MH i2c: E2 [00:04:44]MH_I2C_Read... [00:04:44]Read from MH i2c: E2 FD 00 [00:04:44]MH_I2C_Read... [00:04:44]Read from MH i2c: E2 FD 00 BE 16 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F7 [00:04:44]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:04:44]wFMCommunicate OK [00:04:44]wFMCommunicate request_size=4 [00:04:44]MH_SAM_APDU [00:04:44]CAPDU: 80 17 00 00 [00:04:44]Write to MH i2c: E2 08 00 BF 16 80 17 00 00 00 00 00 00 55 [00:04:44]Write i2c OK [00:04:44]MH_I2C_Read... [00:04:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:45]Read from MH i2c: E2 [00:04:45]MH_I2C_Read... [00:04:45]Read from MH i2c: E2 FD 00 [00:04:45]MH_I2C_Read... [00:04:45]Read from MH i2c: E2 FD 00 BF 16 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 CD [00:04:45]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:04:45]wFMCommunicate OK [00:04:45]wFMCommunicate request_size=4 [00:04:45]MH_SAM_APDU [00:04:45]CAPDU: 80 17 00 00 [00:04:45]Write to MH i2c: E2 08 00 C0 16 80 17 00 00 00 00 00 00 56 [00:04:45]Write i2c OK [00:04:45]MH_I2C_Read... [00:04:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:04:45]Read from MH i2c: E2 [00:04:45]MH_I2C_Read... [00:04:45]Read from MH i2c: E2 DD 00 [00:04:45]MH_I2C_Read... [00:04:45]Read from MH i2c: E2 DD 00 C0 16 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 3E [00:04: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:04:45]wFMCommunicate OK [00:04:45]SAM_PROTO_GetFMData done [00:04:45]requested_item fm.sale_refund.total is exist - process it [00:04:45]requested_item fm.buy.total is exist - process it [00:04:45]requested_item shift.sale.total is exist - process it [00:04:45]SAM_PROTO_GetShiftData [00:04:45]wFMCommunicate request_size=4 [00:04:45]MH_SAM_APDU [00:04:45]CAPDU: 80 13 02 00 [00:04:45]Write to MH i2c: E2 08 00 C1 16 80 13 02 00 00 00 00 00 55 [00:04:45]Write i2c OK [00:04:45]MH_I2C_Read... [00:04:46]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:04:46]Read from MH i2c: E2 [00:04:46]MH_I2C_Read... [00:04:46]Read from MH i2c: E2 FD 00 [00:04:46]MH_I2C_Read... [00:04:46]Read from MH i2c: E2 FD 00 C1 16 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 C8 [00:04:46]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:04:46]wFMCommunicate OK [00:04:46]wFMCommunicate request_size=4 [00:04:46]MH_SAM_APDU [00:04:46]CAPDU: 80 17 00 00 [00:04:46]Write to MH i2c: E2 08 00 C2 16 80 17 00 00 00 00 00 00 58 [00:04:46]Write i2c OK [00:04:46]MH_I2C_Read... [00:04:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:46]Read from MH i2c: E2 [00:04:46]MH_I2C_Read... [00:04:46]Read from MH i2c: E2 FD 00 [00:04:46]MH_I2C_Read... [00:04:46]Read from MH i2c: E2 FD 00 C2 16 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 60 [00:04:46]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:04:46]wFMCommunicate OK [00:04:46]wFMCommunicate request_size=4 [00:04:46]MH_SAM_APDU [00:04:46]CAPDU: 80 17 00 00 [00:04:46]Write to MH i2c: E2 08 00 C3 16 80 17 00 00 00 00 00 00 59 [00:04:46]Write i2c OK [00:04:46]MH_I2C_Read... [00:04:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:46]Read from MH i2c: E2 [00:04:46]MH_I2C_Read... [00:04:46]Read from MH i2c: E2 FD 00 [00:04:46]MH_I2C_Read... [00:04:47]Read from MH i2c: E2 FD 00 C3 16 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 2B [00:04:47]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:04:47]wFMCommunicate OK [00:04:47]wFMCommunicate request_size=4 [00:04:47]MH_SAM_APDU [00:04:47]CAPDU: 80 17 00 00 [00:04:47]Write to MH i2c: E2 08 00 C4 16 80 17 00 00 00 00 00 00 5A [00:04:47]Write i2c OK [00:04:47]MH_I2C_Read... [00:04:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:04:47]Read from MH i2c: E2 [00:04:47]MH_I2C_Read... [00:04:47]Read from MH i2c: E2 FD 00 [00:04:47]MH_I2C_Read... [00:04:47]Read from MH i2c: E2 FD 00 C4 16 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 CC [00:04:47]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:04:47]wFMCommunicate OK [00:04:47]wFMCommunicate request_size=4 [00:04:47]MH_SAM_APDU [00:04:47]CAPDU: 80 17 00 00 [00:04:47]Write to MH i2c: E2 08 00 C5 16 80 17 00 00 00 00 00 00 5B [00:04:47]Write i2c OK [00:04:47]MH_I2C_Read... [00:04:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:04:47]Read from MH i2c: E2 [00:04:47]MH_I2C_Read... [00:04:47]Read from MH i2c: E2 BD 00 [00:04:47]MH_I2C_Read... [00:04:47]Read from MH i2c: E2 BD 00 C5 16 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 41 [00:04:47]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:04:48]wFMCommunicate OK [00:04:48]SAM_PROTO_GetShiftData done [00:04:48]requested_item shift.sale.total_cash is exist - process it [00:04:48]requested_item shift.sale_refund.total is exist - process it [00:04:48]requested_item shift.sale_refund.total_cash is exist - process it [00:04:48]requested_item shift.buy.total is exist - process it [00:04:48]requested_item shift.buy.total_cash is exist - process it [00:04:48]produce_requested_data done [00:04:48]produce_requested_data return {"fm.sale.total":8742437.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:04:48]process_action_free get_value [00:04:48]json_value_free [00:04:48]json_value_free done [00:04:48]process_json_proto returns [00:04:48]Send response to host [00:04:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8742437.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:04:48]free response buf [00:04:48]execute_script done [00:04:48]execute_script returns [00:04:48]free content buf [00:04:48]Sock 9.Close socket [00:04:48]Sock 9.Thread stoped [00:04:48]OFD Sender: No OFD packet to send [00:04:53]OFD Sender: No OFD packet to send [00:04:58]OFD Sender: No OFD packet to send [00:05:03]OFD Sender: No OFD packet to send [00:05:08]OFD Sender: No OFD packet to send [00:05:13]OFD Sender: No OFD packet to send [00:05:18]OFD Sender: No OFD packet to send [00:05:23]OFD Sender: No OFD packet to send [00:05:28]OFD Sender: No OFD packet to send [00:05:33]OFD Sender: No OFD packet to send [00:05:38]OFD Sender: No OFD packet to send [00:05:43]OFD Sender: No OFD packet to send [00:05:48]OFD Sender: No OFD packet to send [00:05:53]OFD Sender: No OFD packet to send [00:05:58]OFD Sender: No OFD packet to send [00:06:03]OFD Sender: No OFD packet to send [00:06:08]OFD Sender: No OFD packet to send [00:06:13]OFD Sender: No OFD packet to send [00:06:18]OFD Sender: No OFD packet to send [00:06:23]OFD Sender: No OFD packet to send [00:06:28]OFD Sender: No OFD packet to send [00:06:33]OFD Sender: No OFD packet to send [00:06:38]OFD Sender: No OFD packet to send [00:06:43]OFD Sender: No OFD packet to send [00:06:48]OFD Sender: No OFD packet to send [00:06:53]OFD Sender: No OFD packet to send [00:06:58]OFD Sender: No OFD packet to send [00:07:03]OFD Sender: No OFD packet to send [00:07:08]OFD Sender: No OFD packet to send [00:07:13]OFD Sender: No OFD packet to send [00:07:18]OFD Sender: No OFD packet to send [00:07:23]OFD Sender: No OFD packet to send [00:07:28]OFD Sender: No OFD packet to send [00:07:33]OFD Sender: No OFD packet to send [00:07:38]OFD Sender: No OFD packet to send [00:07:43]OFD Sender: No OFD packet to send [00:07:48]OFD Sender: No OFD packet to send [00:07:53]OFD Sender: No OFD packet to send [00:07:58]OFD Sender: No OFD packet to send [00:08:03]OFD Sender: No OFD packet to send [00:08:08]OFD Sender: No OFD packet to send [00:08:13]OFD Sender: No OFD packet to send [00:08:18]OFD Sender: No OFD packet to send [00:08:23]OFD Sender: No OFD packet to send [00:08:28]OFD Sender: No OFD packet to send [00:08:33]OFD Sender: No OFD packet to send [00:08:38]OFD Sender: No OFD packet to send [00:08:43]OFD Sender: No OFD packet to send [00:08:48]OFD Sender: No OFD packet to send [00:08:53]OFD Sender: No OFD packet to send [00:08:58]OFD Sender: No OFD packet to send [00:09:03]OFD Sender: No OFD packet to send [00:09:08]OFD Sender: No OFD packet to send [00:09:13]OFD Sender: No OFD packet to send [00:09:18]OFD Sender: No OFD packet to send [00:09:23]OFD Sender: No OFD packet to send [00:09:28]OFD Sender: No OFD packet to send [00:09:33]OFD Sender: No OFD packet to send [00:09:38]OFD Sender: No OFD packet to send [00:09:43]OFD Sender: No OFD packet to send [00:09:48]OFD Sender: No OFD packet to send [00:09:53]OFD Sender: No OFD packet to send [00:09:58]OFD Sender: No OFD packet to send [00:10:03]OFD Sender: No OFD packet to send [00:10:08]OFD Sender: No OFD packet to send [00:10:13]OFD Sender: No OFD packet to send [00:10:18]OFD Sender: No OFD packet to send [00:10:23]OFD Sender: No OFD packet to send [00:10:28]OFD Sender: No OFD packet to send [00:10:33]OFD Sender: No OFD packet to send [00:10:38]OFD Sender: No OFD packet to send [00:10:43]OFD Sender: No OFD packet to send [00:10:48]OFD Sender: No OFD packet to send [00:10:53]OFD Sender: No OFD packet to send [00:10:58]OFD Sender: No OFD packet to send [00:11:03]OFD Sender: No OFD packet to send [00:11:08]OFD Sender: No OFD packet to send [00:11:13]OFD Sender: No OFD packet to send [00:11:18]OFD Sender: No OFD packet to send [00:11:23]OFD Sender: No OFD packet to send [00:11:28]OFD Sender: No OFD packet to send [00:11:33]OFD Sender: No OFD packet to send [00:11:38]OFD Sender: No OFD packet to send [00:11:43]OFD Sender: No OFD packet to send [00:11:48]OFD Sender: No OFD packet to send [00:11:53]OFD Sender: No OFD packet to send [00:11:58]OFD Sender: No OFD packet to send [00:16:44]ConnectInit Can't connect to host [00:16:48]OFD Sender: No OFD packet to send [00:16:53]OFD Sender: No OFD packet to send [00:16:58]OFD Sender: No OFD packet to send [00:17:03]OFD Sender: No OFD packet to send [00:17:08]OFD Sender: No OFD packet to send [00:17:13]OFD Sender: No OFD packet to send [00:17:18]OFD Sender: No OFD packet to send [00:17:23]OFD Sender: No OFD packet to send [00:17:28]OFD Sender: No OFD packet to send [00:17:33]OFD Sender: No OFD packet to send [00:17:38]OFD Sender: No OFD packet to send [00:17:43]OFD Sender: No OFD packet to send [00:17:48]OFD Sender: No OFD packet to send [00:17:53]OFD Sender: No OFD packet to send [00:17:58]OFD Sender: No OFD packet to send [00:18:03]OFD Sender: No OFD packet to send [00:18:08]OFD Sender: No OFD packet to send [00:18:13]OFD Sender: No OFD packet to send [00:18:18]OFD Sender: No OFD packet to send [00:18:23]OFD Sender: No OFD packet to send [00:18:28]OFD Sender: No OFD packet to send [00:18:33]OFD Sender: No OFD packet to send [00:18:38]OFD Sender: No OFD packet to send [00:18:43]OFD Sender: No OFD packet to send [00:18:48]OFD Sender: No OFD packet to send [00:18:53]OFD Sender: No OFD packet to send [00:18:58]OFD Sender: No OFD packet to send [00:19:03]OFD Sender: No OFD packet to send [00:19:08]OFD Sender: No OFD packet to send [00:19:13]OFD Sender: No OFD packet to send [00:19:18]OFD Sender: No OFD packet to send [00:19:23]OFD Sender: No OFD packet to send [00:19:28]OFD Sender: No OFD packet to send [00:19:33]OFD Sender: No OFD packet to send [00:19:39]OFD Sender: No OFD packet to send [00:19:44]OFD Sender: No OFD packet to send [00:19:49]OFD Sender: No OFD packet to send [00:19:54]OFD Sender: No OFD packet to send [00:19:59]OFD Sender: No OFD packet to send [00:20:04]OFD Sender: No OFD packet to send [00:20:09]OFD Sender: No OFD packet to send [00:20:14]OFD Sender: No OFD packet to send [00:20:19]OFD Sender: No OFD packet to send [00:20:24]OFD Sender: No OFD packet to send [00:20:29]OFD Sender: No OFD packet to send [00:20:34]OFD Sender: No OFD packet to send [00:20:39]OFD Sender: No OFD packet to send [00:20:44]OFD Sender: No OFD packet to send [00:20:49]OFD Sender: No OFD packet to send [00:20:54]OFD Sender: No OFD packet to send [00:20:59]OFD Sender: No OFD packet to send [00:21:04]OFD Sender: No OFD packet to send [00:21:09]OFD Sender: No OFD packet to send [00:21:14]OFD Sender: No OFD packet to send [00:21:19]OFD Sender: No OFD packet to send [00:21:24]OFD Sender: No OFD packet to send [00:21:29]OFD Sender: No OFD packet to send [00:21:34]OFD Sender: No OFD packet to send [00:21:39]OFD Sender: No OFD packet to send [00:21:44]OFD Sender: No OFD packet to send [00:21:49]OFD Sender: No OFD packet to send [00:21:54]OFD Sender: No OFD packet to send [00:21:59]OFD Sender: No OFD packet to send [00:22:04]OFD Sender: No OFD packet to send [00:22:09]OFD Sender: No OFD packet to send [00:22:14]OFD Sender: No OFD packet to send [00:22:19]OFD Sender: No OFD packet to send [00:22:24]OFD Sender: No OFD packet to send [00:22:29]OFD Sender: No OFD packet to send [00:22:34]OFD Sender: No OFD packet to send [00:22:39]OFD Sender: No OFD packet to send [00:22:44]OFD Sender: No OFD packet to send [00:22:49]OFD Sender: No OFD packet to send [00:22:54]OFD Sender: No OFD packet to send [00:22:59]OFD Sender: No OFD packet to send [00:23:04]OFD Sender: No OFD packet to send [00:23:09]OFD Sender: No OFD packet to send [00:23:14]OFD Sender: No OFD packet to send [00:23:19]OFD Sender: No OFD packet to send [00:23:24]OFD Sender: No OFD packet to send [00:23:29]OFD Sender: No OFD packet to send [00:23:34]OFD Sender: No OFD packet to send [00:23:39]OFD Sender: No OFD packet to send [00:23:44]OFD Sender: No OFD packet to send [00:23:49]OFD Sender: No OFD packet to send [00:23:54]OFD Sender: No OFD packet to send [00:23:59]OFD Sender: No OFD packet to send [00:24:04]OFD Sender: No OFD packet to send [00:24:09]OFD Sender: No OFD packet to send [00:24:14]OFD Sender: No OFD packet to send [00:24:19]OFD Sender: No OFD packet to send [00:24:24]OFD Sender: No OFD packet to send [00:24:29]OFD Sender: No OFD packet to send [00:24:34]OFD Sender: No OFD packet to send [00:24:39]OFD Sender: No OFD packet to send [00:24:44]OFD Sender: No OFD packet to send [00:24:49]OFD Sender: No OFD packet to send [00:24:54]OFD Sender: No OFD packet to send [00:24:59]OFD Sender: No OFD packet to send [00:25:04]OFD Sender: No OFD packet to send [00:25:09]OFD Sender: No OFD packet to send [00:25:14]OFD Sender: No OFD packet to send [00:25:19]OFD Sender: No OFD packet to send [00:25:24]OFD Sender: No OFD packet to send [00:25:29]OFD Sender: No OFD packet to send [00:25:34]OFD Sender: No OFD packet to send [00:25:39]OFD Sender: No OFD packet to send [00:25:44]OFD Sender: No OFD packet to send [00:25:49]OFD Sender: No OFD packet to send [00:25:54]OFD Sender: No OFD packet to send [00:25:59]OFD Sender: No OFD packet to send [00:26:04]OFD Sender: No OFD packet to send [00:26:09]OFD Sender: No OFD packet to send [00:26:14]OFD Sender: No OFD packet to send [00:26:19]OFD Sender: No OFD packet to send [00:26:24]OFD Sender: No OFD packet to send [00:26:29]OFD Sender: No OFD packet to send [00:26:34]OFD Sender: No OFD packet to send [00:26:39]OFD Sender: No OFD packet to send [00:26:44]OFD Sender: No OFD packet to send [00:26:49]OFD Sender: No OFD packet to send [00:26:54]OFD Sender: No OFD packet to send [00:26:59]OFD Sender: No OFD packet to send [00:27:04]OFD Sender: No OFD packet to send [00:27:09]OFD Sender: No OFD packet to send [00:27:14]OFD Sender: No OFD packet to send [00:27:15]accept exits with 7 [00:27:15]New connection [00:27:15]New thread 3067297124 created [00:27:15]Thread 3067440484 joined [00:27:15]Waiting for new connection... [00:27:15] Sock 7.Parse request [00:27:15]Sock 7.Check first char [00:27:15]Sock 7.First char is OK [00:27:15]request: POST /json_proto HTTP/1.0 [00:27:15]Method: POST [00:27:15]URL: /json_proto [00:27:15]Method is POST - this is cgi request [00:27:15]url: /json_proto [00:27:15]query_string will be loaded in cgi processing [00:27:15]execute_cgi json_proto POST (null) [00:27:15]execute_cgi path=json_proto method=POST [00:27:15]POST find Content-Length [00:27:15]Host: 172.17.40.196:8080 [00:27:15]Content-Length: 1254 [00:27:15]Content-Type: application/json [00:27:15] [00:27:15]POST finish read [00:27:15]Found Content-Length = 1254 [00:27:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35055", "tax_sys" : 0, "items" : [ { "code": "40822938", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310036", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 0,5\u043B", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 204.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:27:15]execute_script... [00:27:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35055", "tax_sys" : 0, "items" : [ { "code": "40822938", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310036", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 0,5\u043B", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 204.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:27:15]POST & json_proto [00:27:15]process_json_proto [00:27:15]json parsed OK: [00:27:15]protocol is kg_v1.0 [00:27:15]action value=close_receipt [00:27:15]process_action close_receipt [00:27:15]cmd_close_receipt [00:27:15]MH_GetDate [00:27:15]Write to MH i2c: F0 00 00 C6 16 CB [00:27:15]Write i2c OK [00:27:15]MH_I2C_Read... [00:27:15]Read from MH i2c: F0 [00:27:15]MH_I2C_Read... [00:27:15]Read from MH i2c: F0 09 00 [00:27:15]MH_I2C_Read... [00:27:15]Read from MH i2c: F0 09 00 C6 16 00 68 DA 1E 67 5B 68 A1 66 65 [00:27:15]GetLastDocTimeStamp 1730073884 [00:27:15]current date 1730075240 [00:27:15]FM_GetShiftState [00:27:15]SAM_PROTO_GetShiftState [00:27:15]wFMCommunicate request_size=4 [00:27:15]MH_SAM_APDU [00:27:15]CAPDU: 80 13 01 00 [00:27:15]Write to MH i2c: E2 08 00 C7 16 80 13 01 00 00 00 00 00 5A [00:27:15]Write i2c OK [00:27:15]MH_I2C_Read... [00:27:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:27:15]Read from MH i2c: E2 [00:27:15]MH_I2C_Read... [00:27:15]Read from MH i2c: E2 0E 00 [00:27:15]MH_I2C_Read... [00:27:15]Read from MH i2c: E2 0E 00 C7 16 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 DC [00:27:15]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [00:27:15]wFMCommunicate OK [00:27:15]SAM_PROTO_GetShiftState done [00:27:15]FM_GetShiftState done [00:27:15]opened in 1730073884 [00:27:15]opened+sec_in_day 1730160284 [00:27:15]quantity*price = 7500 [00:27:15]sum+1 = 7501 [00:27:15]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001570057 Напиток Pepsi 0,5л 1.000 * 80.00 = 80.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000310036 Вода Жалалабат 27 0,5л 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 204.00 НСП 1% : 1.80 НДС 12% : 21.66 Наличными: 0.00 Безнал.: 204.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 1 28.10.2024 00:27 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37758 ФПД: 105890893810659 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T002720&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37758&fm=105890893810659&tin=02508201610067®Number=0000000000091684&sum=20400 0 [00:27:16]StoreToDocumentArchive [00:27:16]shift 551 fd 37758 [00:27:16]save to /storage/0551/doc_00037758 [00:27:16]save last doc name /storage/0551/doc_00037758 to /storage/kkm_last_doc_name [00:27:16]save OK [00:27:16]Clear old archive folders... [00:27:16]ProcessDocumentItem done err = 0, tmpTLVsize=474 [00:27:16]tlvbuf is 0023B800 [00:27:16]SAM_PROTO_ClearQueue [00:27:16]wFMCommunicate request_size=4 [00:27:16]MH_SAM_APDU [00:27:16]CAPDU: 80 09 00 00 [00:27:16]Write to MH i2c: E2 08 00 D4 16 80 09 00 00 00 00 00 00 5C [00:27:16]Write i2c OK [00:27:16]MH_I2C_Read... [00:27:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:27:16]Read from MH i2c: E2 [00:27:16]MH_I2C_Read... [00:27:16]Read from MH i2c: E2 03 00 [00:27:16]MH_I2C_Read... [00:27:16]Read from MH i2c: E2 03 00 D4 16 00 90 00 5E [00:27:16]RAPDU: 90 00 [00:27:16]wFMCommunicate OK [00:27:16]SAM_PROTO_ClearQueue done [00:27:16]KKMCreateOFDPacket [00:27:16]OFDProtocolAddRootSTLVToBuf [00:27:16]FM_MakeSignedData [00:27:16]FM_MakeSignedData [00:27:16]SAM_PROTO_SignData [00:27:16]wFMCommunicate request_size=4 [00:27:16]MH_SAM_APDU [00:27:16]CAPDU: 80 0D 01 02 [00:27:16]Write to MH i2c: E2 08 00 D5 16 80 0D 01 02 00 00 00 00 64 [00:27:16]Write i2c OK [00:27:16]MH_I2C_Read... [00:27:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:27:16]Read from MH i2c: E2 [00:27:16]MH_I2C_Read... [00:27:16]Read from MH i2c: E2 03 00 [00:27:16]MH_I2C_Read... [00:27:16]Read from MH i2c: E2 03 00 D5 16 00 90 00 5F [00:27:16]RAPDU: 90 00 [00:27:16]wFMCommunicate OK [00:27:16]wFMCommunicate request_size=255 [00:27:16]MH_SAM_APDU [00:27:16]CAPDU: 80 0D 02 02 FA 03 00 DA 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 [00:27:17]Write to MH i2c: E2 02 01 D6 16 80 0D 02 02 FA 00 03 00 DA 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 00 00 F4 [00:27:17]Write i2c OK [00:27:17]MH_I2C_Read... [00:27:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:27:17]Read from MH i2c: E2 [00:27:17]MH_I2C_Read... [00:27:17]Read from MH i2c: E2 03 00 [00:27:17]MH_I2C_Read... [00:27:17]Read from MH i2c: E2 03 00 D6 16 00 90 00 60 [00:27:17]RAPDU: 90 00 [00:27:17]wFMCommunicate OK [00:27:17]wFMCommunicate request_size=233 [00:27:17]MH_SAM_APDU [00:27:17]CAPDU: 80 0D 02 02 E4 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 4F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 4F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 68 DA 1E 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 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 7E 93 00 00 35 04 06 00 60 4E A5 1C 4B E3 [00:27:17]Write to MH i2c: E2 EC 00 D7 16 80 0D 02 02 E4 00 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 4F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 4F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 68 DA 1E 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 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 7E 93 00 00 35 04 06 00 60 4E A5 1C 4B E3 00 00 81 [00:27:17]Write i2c OK [00:27:17]MH_I2C_Read... [00:27:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:27:17]Read from MH i2c: E2 [00:27:17]MH_I2C_Read... [00:27:17]Read from MH i2c: E2 03 00 [00:27:17]MH_I2C_Read... [00:27:17]Read from MH i2c: E2 03 00 D7 16 00 90 00 61 [00:27:17]RAPDU: 90 00 [00:27:17]wFMCommunicate OK [00:27:17]wFMCommunicate request_size=4 [00:27:17]MH_SAM_APDU [00:27:17]CAPDU: 80 0D 03 02 [00:27:17]Write to MH i2c: E2 08 00 D8 16 80 0D 03 02 00 00 00 00 69 [00:27:17]Write i2c OK [00:27:17]MH_I2C_Read... [00:27:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:27:17]Read from MH i2c: E2 [00:27:17]MH_I2C_Read... [00:27:17]Read from MH i2c: E2 0B 00 [00:27:17]MH_I2C_Read... [00:27:17]Read from MH i2c: E2 0B 00 D8 16 00 F1 94 3F 10 C3 C2 DE FD 90 00 9E [00:27:17]RAPDU: F1 94 3F 10 C3 C2 DE FD 90 00 [00:27:17]wFMCommunicate OK [00:27:17]SAM_PROTO_SignData done [00:27:17]FM_MakeSignedData done [00:27:17]CreateOFDProtocolMessage [00:27:17]wFMCommunicate request_size=4 [00:27:17]MH_SAM_APDU [00:27:17]CAPDU: 80 11 00 00 [00:27:17]Write to MH i2c: E2 08 00 D9 16 80 11 00 00 00 00 00 00 69 [00:27:17]Write i2c OK [00:27:17]MH_I2C_Read... [00:27:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:27:17]Read from MH i2c: E2 [00:27:17]MH_I2C_Read... [00:27:17]Read from MH i2c: E2 17 00 [00:27:17]MH_I2C_Read... [00:27:17]Read from MH i2c: E2 17 00 D9 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 B9 [00:27:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:27:17]wFMCommunicate OK [00:27:17]CreateOFDProtocolMessage done [00:27:17]OFDSenderStorePacket 37758 [00:27:17]StoreOFDPacket docnum=37758 [00:27:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 EE 01 00 00 69 F0 E6 01 B3 84 5A 03 01 00 03 00 DA 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 4F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 4F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 68 DA 1E 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 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 7E 93 00 00 35 04 06 00 60 4E A5 1C 4B E3 F1 94 3F 10 C3 C2 DE FD [00:27:17]CheckFolder [00:27:17]dirname=/storage/ofd_packets [00:27:17]CheckFolder done [00:27:17]ProducePacketName [00:27:17]name=ofd_packets/00037758 [00:27:17]NVStorageSaveData ofd_packets/00037758 [00:27:17]File name is /storage/ofd_packets/00037758 [00:27:17]Write 524 bytes [00:27:17]NVStorageSaveData done [00:27:17]OFDSenderStorePacket done [00:27:17]KKMCreateOFDPacket done [00:27:17]NVStorageSaveData kkm_last_timestamp [00:27:17]File name is /storage/kkm_last_timestamp [00:27:17]Write 4 bytes [00:27:17]NVStorageSaveData done [00:27:17]ExternCall_PrintAddStr [00:27:17]wPrintStart [00:27:17]Write to MH i2c: 01 00 00 DA 16 F0 [00:27:17]Write i2c OK [00:27:17]MH_I2C_Read... [00:27:17]Read from MH i2c: 01 [00:27:17]MH_I2C_Read... [00:27:17]Read from MH i2c: 01 07 00 [00:27:17]MH_I2C_Read... [00:27:17]Read from MH i2c: 01 07 00 DA 16 00 00 00 00 00 FF 0F 05 [00:27:17]RasterBufferAndPrint [00:27:17]line Счет N : (3)35055 [00:27:17]line ИНН: 02508201610067 [00:27:17]line Контрольно-Кассовый Чек [00:27:17]line ПРОДАЖА [00:27:17]line Товар: 40822938 [00:27:17]line Напиток Фанта 0,5л [00:27:17]line 1.000 * 75.00 [00:27:17]line = 75.00 [00:27:17]line НДС 12% НСП 1% [00:27:17]line > о реализуемом товаре [00:27:17]line Товар: 4870001570057 [00:27:17]line Напиток Pepsi 0,5л [00:27:17]line 1.000 * 80.00 [00:27:17]line = 80.00 [00:27:17]line НДС 12% НСП 1% [00:27:17]line > о реализуемом товаре [00:27:17]line Товар: 4700000310036 [00:27:17]line Вода Жалалабат 27 0,5л [00:27:17]line 1.000 * 49.00 [00:27:17]line = 49.00 [00:27:17]line НДС 12% НСП 1% [00:27:17]line > о реализуемом товаре [00:27:17]line ИТОГО: 204.00 [00:27:17]line НСП 1% : 1.80 [00:27:17]line НДС 12% : 21.66 [00:27:17]line Наличными: 0.00 [00:27:17]line Безнал.: 204.00 [00:27:17]line Место: АЗС № 126 "Партнер Нефть" [00:27:17]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [00:27:17]line СНО: Общий режим [00:27:17]line Чек 1 28.10.2024 00:27 [00:27:17]line Смена: 551 ФФД: 1.0 [00:27:17]line ЗНМ: 0300000092 [00:27:17]line РНМ: 0000000000091684 [00:27:17]line Версия ККМ: 001 [00:27:17]line Платежная система: Mbank [00:27:17]line ФМ: 0000000000871841 [00:27:17]line ФД: 37758 [00:27:17]line ФПД: 105890893810659 [00:27:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T002720&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37758&fm=105890893810659&tin=02508201610067®Number=0000000000091684&sum=20400 [00:27:17]line 0 [00:27:17]written 0, free lines is 4095 [00:27:17]OFD Sender: Processing packet 37758 [packets to send 42, broken 41] [00:27:17]ProducePacketName [00:27:17]name=ofd_packets/00037758 [00:27:17]OFD Sender: To server: pG, [00:27:17]CommunicateWithHost lk.salyk.kg:30040 [00:27:17]ConnectInit lk.salyk.kg [00:27:18]Connected sock=10 [00:27:18]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 EE 01 00 00 69 F0 E6 01 B3 84 5A 03 01 00 03 00 DA 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 4F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 4F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 68 DA 1E 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 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 7E 93 00 00 35 04 06 00 60 4E A5 1C 4B E3 F1 94 3F 10 C3 C2 DE FD [00:27:18]Write to MH i2c: 01 00 00 0F 17 26 [00:27:18]Write i2c OK [00:27:18]MH_I2C_Read... [00:27:18]Read from MH i2c: 01 [00:27:18]MH_I2C_Read... [00:27:18]Read from MH i2c: 01 07 00 [00:27:18]MH_I2C_Read... [00:27:18]Read from MH i2c: 01 07 00 0F 17 00 00 00 00 00 01 0C 3A [00:27:18]RasterBufferAndPrint [00:27:18]line [00:27:18]line [00:27:18]line [00:27:18]line [00:27:18]line [00:27:18]written 0, free lines is 3082 [00:27:18]MH_Cut [00:27:18]Write to MH i2c: D1 01 00 16 17 01 FF [00:27:18]Write i2c OK [00:27:18]MH_I2C_Read... [00:27:18]Read from MH i2c: D1 [00:27:18]MH_I2C_Read... [00:27:18]Read from MH i2c: D1 01 00 [00:27:18]MH_I2C_Read... [00:27:18]Read from MH i2c: D1 01 00 16 17 00 FE [00:27:18]Write to MH i2c: 01 00 00 17 17 2E [00:27:18]Write i2c OK [00:27:18]MH_I2C_Read... [00:27:18]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 EB 1E 47 00 B0 11 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 7E 93 00 00 F4 03 04 00 5F 85 1E 67 B6 04 01 00 00 04 DF 5E 20 68 46 B9 65 [00:27:18]CommunicateWithHost err = 0 [00:27:18]CheckOFDResponse [00:27:18]1017 (14) - 77093643461234 [00:27:18]1041 (16) - 0000000000871841 [00:27:18]1040 (4) - 37758 [00:27:18]1012 (4) - 27.10.2024 18:24 [00:27:18]1206 (1) - 0 [00:27:18]OFD Sender: Remove packet 37758 [00:27:18]ProducePacketName [00:27:18]name=ofd_packets/00037758 [00:27:18]NVStorageDeleteData [00:27:19]OFD Sender: No OFD packet to send [00:27:19]*** Cut start [00:27:19]*** Partial cut [00:27:19]*** CUTSNS_PIN = 1 [00:27:19]*** CUTSNS_PIN = 0 [00:27:19]*** Brake cut motor [00:27:20]Read from MH i2c: 01 [00:27:20]MH_I2C_Read... [00:27:20]*** Stop cut motor [00:27:20]*** Cut end [00:27:20]Read from MH i2c: 01 07 00 [00:27:20]MH_I2C_Read... [00:27:20]Read from MH i2c: 01 07 00 17 17 00 00 00 00 00 FF 0F 43 [00:27:20]process_action close_receipt done [00:27:20]requested_data is exist [00:27:20]produce_requested_data [00:27:20]requested_item fm.sn is exist - process it [00:27:20]wFMCommunicate request_size=4 [00:27:20]MH_SAM_APDU [00:27:20]CAPDU: 80 11 00 00 [00:27:20]Write to MH i2c: E2 08 00 18 17 80 11 00 00 00 00 00 00 A9 [00:27:20]Write i2c OK [00:27:20]MH_I2C_Read... [00:27:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:27:20]Read from MH i2c: E2 [00:27:20]MH_I2C_Read... [00:27:20]Read from MH i2c: E2 17 00 [00:27:20]MH_I2C_Read... [00:27:20]Read from MH i2c: E2 17 00 18 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F9 [00:27:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:27:20]wFMCommunicate OK [00:27:20]requested_item fd.num is exist - process it [00:27:20]SAM_PROTO_GetFieldsCounters [00:27:20]wFMCommunicate request_size=4 [00:27:20]MH_SAM_APDU [00:27:20]CAPDU: 80 13 00 00 [00:27:20]Write to MH i2c: E2 08 00 19 17 80 13 00 00 00 00 00 00 AC [00:27:20]Write i2c OK [00:27:20]MH_I2C_Read... [00:27:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:27:20]Read from MH i2c: E2 [00:27:20]MH_I2C_Read... [00:27:20]Read from MH i2c: E2 62 00 [00:27:20]MH_I2C_Read... [00:27:20]Read from MH i2c: E2 62 00 19 17 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 7E 93 00 00 0E 04 04 00 27 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 0A [00:27:20]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 7E 93 00 00 0E 04 04 00 27 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:27:20]wFMCommunicate OK [00:27:20]SAM_PROTO_GetFieldsCounters done [00:27:20]requested_item shift.num is exist - process it [00:27:20]requested_item shift.opened is exist - process it [00:27:20]req_shift_opened [00:27:20]FM_GetShiftState [00:27:20]SAM_PROTO_GetShiftState [00:27:20]wFMCommunicate request_size=4 [00:27:20]MH_SAM_APDU [00:27:20]CAPDU: 80 13 01 00 [00:27:20]Write to MH i2c: E2 08 00 1A 17 80 13 01 00 00 00 00 00 AE [00:27:20]Write i2c OK [00:27:20]MH_I2C_Read... [00:27:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:27:20]Read from MH i2c: E2 [00:27:20]MH_I2C_Read... [00:27:20]Read from MH i2c: E2 0E 00 [00:27:20]MH_I2C_Read... [00:27:20]Read from MH i2c: E2 0E 00 1A 17 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 30 [00:27:20]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [00:27:20]wFMCommunicate OK [00:27:20]SAM_PROTO_GetShiftState done [00:27:20]FM_GetShiftState done [00:27:20]req_shift_opened done [00:27:20]requested_item shift.open_date is exist - process it [00:27:20]req_shift_open_date [00:27:20]req_shift_open_date done [00:27:20]produce_requested_data done [00:27:20]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37758,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [00:27:20]process_action_free close_receipt [00:27:20]json_value_free [00:27:20]json_value_free done [00:27:20]process_json_proto returns [00:27:20]Send response to host [00:27:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37758,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [00:27:20]free response buf [00:27:20]execute_script done [00:27:20]execute_script returns [00:27:20]free content buf [00:27:20]Sock 7.Close socket [00:27:20]Sock 7.Thread stoped [00:27:24]OFD Sender: No OFD packet to send [00:27:29]OFD Sender: No OFD packet to send [00:27:34]OFD Sender: No OFD packet to send [00:27:39]OFD Sender: No OFD packet to send [00:27:44]OFD Sender: No OFD packet to send [00:31:51]ConnectInit Can't connect to host [00:31:55]OFD Sender: Processing packet 37759 [packets to send 42, broken 41] [00:31:55]ProducePacketName [00:31:55]name=ofd_packets/00037759 [00:31:55]OFD Sender: To server: pG, [00:31:55]CommunicateWithHost lk.salyk.kg:30040 [00:31:55]ConnectInit lk.salyk.kg [00:31:55]Connected sock=7 [00:31: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 29 01 00 00 A5 62 21 01 03 12 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 31 37 33 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 0F 00 00 00 00 13 04 06 00 3C 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 22 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 01 00 00 00 00 07 04 06 00 3C 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 02 00 00 00 F4 03 04 00 98 DA 1E 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 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 7F 93 00 00 35 04 06 00 8D B4 05 36 72 93 E4 0E BB 4F 86 88 82 E9 [00:31:56]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 19 E0 47 00 32 9D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 7F 93 00 00 F4 03 04 00 75 86 1E 67 B6 04 01 00 00 D9 57 43 2B AF 24 4A 30 [00:31:56]CommunicateWithHost err = 0 [00:31:56]CheckOFDResponse [00:31:56]1017 (14) - 77093643461234 [00:31:56]1041 (16) - 0000000000871841 [00:31:56]1040 (4) - 37759 [00:31:56]1012 (4) - 27.10.2024 18:29 [00:31:56]1206 (1) - 0 [00:31:56]OFD Sender: Remove packet 37759 [00:31:56]ProducePacketName [00:31:56]name=ofd_packets/00037759 [00:31:56]NVStorageDeleteData [00:31:56]OFD Sender: No OFD packet to send [00:32:01]OFD Sender: No OFD packet to send [00:32:06]OFD Sender: No OFD packet to send [00:32:11]OFD Sender: No OFD packet to send [00:32:16]OFD Sender: No OFD packet to send [00:32:21]OFD Sender: No OFD packet to send [00:32:26]OFD Sender: No OFD packet to send [00:43:08]ConnectInit Can't connect to host [00:43:12]OFD Sender: No OFD packet to send [00:43:17]OFD Sender: No OFD packet to send [00:43:22]OFD Sender: No OFD packet to send [00:43:27]OFD Sender: No OFD packet to send [00:43:32]OFD Sender: No OFD packet to send [00:43:37]OFD Sender: No OFD packet to send [00:43:42]OFD Sender: No OFD packet to send [00:43:47]OFD Sender: No OFD packet to send [00:43:52]OFD Sender: No OFD packet to send [00:43:57]OFD Sender: No OFD packet to send [00:44:02]OFD Sender: No OFD packet to send [00:49:44]ConnectInit Can't connect to host [00:49:47]OFD Sender: No OFD packet to send [00:49:52]OFD Sender: No OFD packet to send [00:49:57]OFD Sender: No OFD packet to send [00:50:02]OFD Sender: No OFD packet to send [00:50:07]OFD Sender: No OFD packet to send [00:58:38]ConnectInit Can't connect to host [00:58:43]OFD Sender: No OFD packet to send [00:58:48]OFD Sender: No OFD packet to send [00:58:53]OFD Sender: No OFD packet to send [00:58:58]OFD Sender: No OFD packet to send [00:59:03]OFD Sender: No OFD packet to send [00:59:08]OFD Sender: No OFD packet to send [00:59:13]OFD Sender: No OFD packet to send [00:59:18]OFD Sender: No OFD packet to send [00:59:23]OFD Sender: No OFD packet to send [00:59:28]OFD Sender: No OFD packet to send [00:59:33]OFD Sender: No OFD packet to send [00:59:38]OFD Sender: No OFD packet to send [00:59:43]OFD Sender: No OFD packet to send [00:59:48]OFD Sender: No OFD packet to send [00:59:53]OFD Sender: No OFD packet to send [00:59:58]OFD Sender: No OFD packet to send [01:00:03]OFD Sender: No OFD packet to send [01:00:08]OFD Sender: No OFD packet to send [01:00:13]OFD Sender: No OFD packet to send [01:00:18]OFD Sender: No OFD packet to send [01:00:23]OFD Sender: No OFD packet to send [01:00:28]OFD Sender: No OFD packet to send [01:00:33]OFD Sender: No OFD packet to send [01:00:38]OFD Sender: No OFD packet to send [01:00:43]OFD Sender: No OFD packet to send [01:00:48]OFD Sender: No OFD packet to send [01:00:53]OFD Sender: No OFD packet to send [01:00:58]OFD Sender: No OFD packet to send [01:01:03]OFD Sender: No OFD packet to send [01:01:08]OFD Sender: No OFD packet to send [01:01:13]OFD Sender: No OFD packet to send [01:01:18]OFD Sender: No OFD packet to send [01:01:23]OFD Sender: No OFD packet to send [01:01:28]OFD Sender: No OFD packet to send [01:01:33]OFD Sender: No OFD packet to send [01:01:38]OFD Sender: No OFD packet to send [01:08:52]ConnectInit Can't connect to host [01:08:53]OFD Sender: No OFD packet to send [01:08:58]OFD Sender: No OFD packet to send [01:09:03]OFD Sender: No OFD packet to send [01:09:08]OFD Sender: No OFD packet to send [01:09:13]OFD Sender: No OFD packet to send [01:09:18]OFD Sender: No OFD packet to send [01:09:23]OFD Sender: No OFD packet to send [01:09:28]OFD Sender: No OFD packet to send [01:09:33]OFD Sender: No OFD packet to send [01:09:38]OFD Sender: No OFD packet to send [01:09:43]OFD Sender: No OFD packet to send [01:09:48]OFD Sender: No OFD packet to send [01:09:53]OFD Sender: No OFD packet to send [01:12:36]ConnectInit Can't connect to host [01:12:38]OFD Sender: No OFD packet to send [01:12:48]OFD Sender: No OFD packet to send [01:12:53]ConnectInit Can't connect to host [01:12:53]OFD Sender: No OFD packet to send [01:12:58]OFD Sender: No OFD packet to send [01:13:03]OFD Sender: No OFD packet to send [01:13:08]OFD Sender: No OFD packet to send [01:13:13]OFD Sender: No OFD packet to send [01:13:18]OFD Sender: No OFD packet to send [01:13:24]OFD Sender: No OFD packet to send [01:13:29]OFD Sender: No OFD packet to send [01:13:34]OFD Sender: No OFD packet to send [01:13:39]OFD Sender: No OFD packet to send [01:13:44]OFD Sender: No OFD packet to send [01:13:49]OFD Sender: No OFD packet to send [01:13:54]OFD Sender: No OFD packet to send [01:13:59]OFD Sender: No OFD packet to send [01:14:04]OFD Sender: No OFD packet to send [01:14:09]OFD Sender: No OFD packet to send [01:14:14]OFD Sender: No OFD packet to send [01:14:19]OFD Sender: No OFD packet to send [01:14:24]OFD Sender: No OFD packet to send [01:14:29]OFD Sender: No OFD packet to send [01:14:34]OFD Sender: No OFD packet to send [01:14:39]OFD Sender: No OFD packet to send [01:14:44]OFD Sender: No OFD packet to send [01:14:49]OFD Sender: No OFD packet to send [01:14:54]OFD Sender: No OFD packet to send [01:14:59]OFD Sender: No OFD packet to send [01:15:04]OFD Sender: No OFD packet to send [01:15:09]OFD Sender: No OFD packet to send [01:15:14]OFD Sender: No OFD packet to send [01:15:19]OFD Sender: No OFD packet to send [01:15:24]OFD Sender: No OFD packet to send [01:15:29]OFD Sender: No OFD packet to send [01:15:34]OFD Sender: No OFD packet to send [01:15:39]OFD Sender: No OFD packet to send [01:15:44]OFD Sender: No OFD packet to send [01:15:49]OFD Sender: No OFD packet to send [01:15:54]OFD Sender: No OFD packet to send [01:15:59]OFD Sender: No OFD packet to send [01:16:04]OFD Sender: No OFD packet to send [01:16:09]OFD Sender: No OFD packet to send [01:16:14]OFD Sender: No OFD packet to send [01:16:19]OFD Sender: No OFD packet to send [01:16:24]OFD Sender: No OFD packet to send [01:16:29]OFD Sender: No OFD packet to send [01:16:34]OFD Sender: No OFD packet to send [01:16:39]OFD Sender: No OFD packet to send [01:16:44]OFD Sender: No OFD packet to send [01:16:49]OFD Sender: No OFD packet to send [01:16:54]OFD Sender: No OFD packet to send [01:16:59]OFD Sender: No OFD packet to send [01:17:04]OFD Sender: No OFD packet to send [01:17:09]OFD Sender: No OFD packet to send [01:17:14]OFD Sender: No OFD packet to send [01:17:19]OFD Sender: No OFD packet to send [01:17:24]OFD Sender: No OFD packet to send [01:17:29]OFD Sender: No OFD packet to send [01:20:41]ConnectInit Can't connect to host [01:20:44]OFD Sender: No OFD packet to send [01:20:49]OFD Sender: No OFD packet to send [01:20:54]OFD Sender: No OFD packet to send [01:20:59]OFD Sender: No OFD packet to send [01:21:04]OFD Sender: No OFD packet to send [01:21:09]OFD Sender: No OFD packet to send [01:21:14]OFD Sender: No OFD packet to send [01:21:19]OFD Sender: No OFD packet to send [01:21:24]OFD Sender: No OFD packet to send [01:21:29]OFD Sender: No OFD packet to send [01:21:34]OFD Sender: No OFD packet to send [01:21:39]OFD Sender: No OFD packet to send [01:21:44]OFD Sender: No OFD packet to send [01:21:49]OFD Sender: No OFD packet to send [01:21:54]OFD Sender: No OFD packet to send [01:21:59]OFD Sender: No OFD packet to send [01:22:04]OFD Sender: No OFD packet to send [01:22:09]OFD Sender: No OFD packet to send [01:22:14]OFD Sender: No OFD packet to send [01:22:19]OFD Sender: No OFD packet to send [01:22:24]OFD Sender: No OFD packet to send [01:22:29]OFD Sender: No OFD packet to send [01:22:34]OFD Sender: No OFD packet to send [01:22:39]OFD Sender: No OFD packet to send [01:22:44]OFD Sender: No OFD packet to send [01:22:49]OFD Sender: No OFD packet to send [01:22:54]OFD Sender: No OFD packet to send [01:22:59]OFD Sender: No OFD packet to send [01:23:04]OFD Sender: No OFD packet to send [01:23:09]OFD Sender: No OFD packet to send [01:23:14]OFD Sender: No OFD packet to send [01:23:19]OFD Sender: No OFD packet to send [01:23:24]OFD Sender: No OFD packet to send [01:23:29]OFD Sender: No OFD packet to send [01:23:34]OFD Sender: No OFD packet to send [01:23:39]OFD Sender: No OFD packet to send [01:23:44]OFD Sender: No OFD packet to send [01:23:49]OFD Sender: No OFD packet to send [01:23:54]OFD Sender: No OFD packet to send [01:23:59]OFD Sender: No OFD packet to send [01:24:04]OFD Sender: No OFD packet to send [01:24:09]OFD Sender: No OFD packet to send [01:24:14]OFD Sender: No OFD packet to send [01:24:19]OFD Sender: No OFD packet to send [01:24:24]OFD Sender: No OFD packet to send [01:24:29]OFD Sender: No OFD packet to send [01:24:34]OFD Sender: No OFD packet to send [01:24:39]OFD Sender: No OFD packet to send [01:24:44]OFD Sender: No OFD packet to send [01:24:49]OFD Sender: No OFD packet to send [01:24:54]OFD Sender: No OFD packet to send [01:24:59]OFD Sender: No OFD packet to send [01:25:04]OFD Sender: No OFD packet to send [01:25:09]OFD Sender: No OFD packet to send [01:25:14]OFD Sender: No OFD packet to send [01:25:19]OFD Sender: No OFD packet to send [01:25:24]OFD Sender: No OFD packet to send [01:25:29]OFD Sender: No OFD packet to send [01:25:34]OFD Sender: No OFD packet to send [01:25:39]OFD Sender: No OFD packet to send [01:25:44]OFD Sender: No OFD packet to send [01:25:49]OFD Sender: No OFD packet to send [01:25:54]OFD Sender: No OFD packet to send [01:25:59]OFD Sender: No OFD packet to send [01:26:04]OFD Sender: No OFD packet to send [01:26:09]OFD Sender: No OFD packet to send [01:26:14]OFD Sender: No OFD packet to send [01:26:19]OFD Sender: No OFD packet to send [01:26:24]OFD Sender: No OFD packet to send [01:26:29]OFD Sender: No OFD packet to send [01:26:34]OFD Sender: No OFD packet to send [01:26:39]OFD Sender: No OFD packet to send [01:26:44]OFD Sender: No OFD packet to send [01:26:49]OFD Sender: No OFD packet to send [01:26:54]OFD Sender: No OFD packet to send [01:26:59]OFD Sender: No OFD packet to send [01:27:04]OFD Sender: No OFD packet to send [01:27:09]OFD Sender: No OFD packet to send [01:27:14]OFD Sender: No OFD packet to send [01:27:19]OFD Sender: No OFD packet to send [01:27:24]OFD Sender: No OFD packet to send [01:27:29]OFD Sender: No OFD packet to send [01:27:34]OFD Sender: No OFD packet to send [01:27:39]OFD Sender: No OFD packet to send [01:27:44]OFD Sender: No OFD packet to send [01:27:49]OFD Sender: No OFD packet to send [01:27:54]OFD Sender: No OFD packet to send [01:27:59]OFD Sender: No OFD packet to send [01:28:04]OFD Sender: No OFD packet to send [01:28:09]OFD Sender: No OFD packet to send [01:28:14]OFD Sender: No OFD packet to send [01:28:19]OFD Sender: No OFD packet to send [01:28:24]OFD Sender: No OFD packet to send [01:28:29]OFD Sender: No OFD packet to send [01:28:34]OFD Sender: No OFD packet to send [01:28:39]OFD Sender: No OFD packet to send [01:28:44]OFD Sender: No OFD packet to send [01:28:49]OFD Sender: No OFD packet to send [01:28:54]OFD Sender: No OFD packet to send [01:28:59]OFD Sender: No OFD packet to send [01:29:04]OFD Sender: No OFD packet to send [01:29:09]OFD Sender: No OFD packet to send [01:29:14]OFD Sender: No OFD packet to send [01:29:19]OFD Sender: No OFD packet to send [01:29:24]OFD Sender: No OFD packet to send [01:29:29]OFD Sender: No OFD packet to send [01:29:34]OFD Sender: No OFD packet to send [01:29:39]OFD Sender: No OFD packet to send [01:29:44]OFD Sender: No OFD packet to send [01:29:49]OFD Sender: No OFD packet to send [01:29:54]OFD Sender: No OFD packet to send [01:29:59]OFD Sender: No OFD packet to send [01:30:04]OFD Sender: No OFD packet to send [01:30:09]OFD Sender: No OFD packet to send [01:30:14]OFD Sender: No OFD packet to send [01:30:19]OFD Sender: No OFD packet to send [01:30:24]OFD Sender: No OFD packet to send [01:30:29]OFD Sender: No OFD packet to send [01:30:34]OFD Sender: No OFD packet to send [01:30:39]OFD Sender: No OFD packet to send [01:30:44]OFD Sender: No OFD packet to send [01:30:49]OFD Sender: No OFD packet to send [01:30:54]OFD Sender: No OFD packet to send [01:30:59]OFD Sender: No OFD packet to send [01:31:04]OFD Sender: No OFD packet to send [01:31:09]OFD Sender: No OFD packet to send [01:31:14]OFD Sender: No OFD packet to send [01:31:19]OFD Sender: No OFD packet to send [01:31:24]OFD Sender: No OFD packet to send [01:31:29]OFD Sender: No OFD packet to send [01:31:34]OFD Sender: No OFD packet to send [01:31:39]OFD Sender: No OFD packet to send [01:31:44]OFD Sender: No OFD packet to send [01:31:49]OFD Sender: No OFD packet to send [01:31:54]OFD Sender: No OFD packet to send [01:31:59]OFD Sender: No OFD packet to send [01:32:04]OFD Sender: No OFD packet to send [01:32:09]OFD Sender: No OFD packet to send [01:32:14]OFD Sender: No OFD packet to send [01:32:20]OFD Sender: No OFD packet to send [01:32:25]OFD Sender: No OFD packet to send [01:32:30]OFD Sender: No OFD packet to send [01:32:35]OFD Sender: No OFD packet to send [01:32:40]OFD Sender: No OFD packet to send [01:32:45]OFD Sender: No OFD packet to send [01:32:50]OFD Sender: No OFD packet to send [01:32:55]OFD Sender: No OFD packet to send [01:33:00]OFD Sender: No OFD packet to send [01:33:05]OFD Sender: No OFD packet to send [01:33:10]OFD Sender: No OFD packet to send [01:33:15]OFD Sender: No OFD packet to send [01:33:20]OFD Sender: No OFD packet to send [01:33:25]OFD Sender: No OFD packet to send [01:33:30]OFD Sender: No OFD packet to send [01:33:35]OFD Sender: No OFD packet to send [01:33:40]OFD Sender: No OFD packet to send [01:33:45]OFD Sender: No OFD packet to send [01:33:50]OFD Sender: No OFD packet to send [01:33:55]OFD Sender: No OFD packet to send [01:34:00]OFD Sender: No OFD packet to send [01:34:05]OFD Sender: No OFD packet to send [01:34:10]OFD Sender: No OFD packet to send [01:34:15]OFD Sender: No OFD packet to send [01:34:20]OFD Sender: No OFD packet to send [01:34:25]OFD Sender: No OFD packet to send [01:34:30]OFD Sender: No OFD packet to send [01:34:35]OFD Sender: No OFD packet to send [01:34:40]OFD Sender: No OFD packet to send [01:34:45]OFD Sender: No OFD packet to send [01:34:50]OFD Sender: No OFD packet to send [01:34:55]OFD Sender: No OFD packet to send [01:35:00]OFD Sender: No OFD packet to send [01:35:05]OFD Sender: No OFD packet to send [01:35:10]OFD Sender: No OFD packet to send [01:35:15]OFD Sender: No OFD packet to send [01:35:20]OFD Sender: No OFD packet to send [01:35:25]OFD Sender: No OFD packet to send [01:35:30]OFD Sender: No OFD packet to send [01:35:35]OFD Sender: No OFD packet to send [01:35:40]OFD Sender: No OFD packet to send [01:35:45]OFD Sender: No OFD packet to send [01:35:50]OFD Sender: No OFD packet to send [01:35:55]OFD Sender: No OFD packet to send [01:36:00]OFD Sender: No OFD packet to send [01:36:05]OFD Sender: No OFD packet to send [01:36:10]OFD Sender: No OFD packet to send [01:36:15]OFD Sender: No OFD packet to send [01:36:20]OFD Sender: No OFD packet to send [01:36:25]OFD Sender: No OFD packet to send [01:36:30]OFD Sender: No OFD packet to send [01:36:35]OFD Sender: No OFD packet to send [01:36:40]OFD Sender: No OFD packet to send [01:36:45]OFD Sender: No OFD packet to send [01:36:50]OFD Sender: No OFD packet to send [01:36:55]OFD Sender: No OFD packet to send [01:37:00]OFD Sender: No OFD packet to send [01:37:05]OFD Sender: No OFD packet to send [01:37:10]OFD Sender: No OFD packet to send [01:37:15]OFD Sender: No OFD packet to send [01:37:20]OFD Sender: No OFD packet to send [01:37:25]OFD Sender: No OFD packet to send [01:37:30]OFD Sender: No OFD packet to send [01:37:35]OFD Sender: No OFD packet to send [01:37:40]OFD Sender: No OFD packet to send [01:37:45]OFD Sender: No OFD packet to send [01:37:50]OFD Sender: No OFD packet to send [01:37:55]OFD Sender: No OFD packet to send [01:38:00]OFD Sender: No OFD packet to send [01:38:05]OFD Sender: No OFD packet to send [01:38:10]OFD Sender: No OFD packet to send [01:38:15]OFD Sender: No OFD packet to send [01:38:20]OFD Sender: No OFD packet to send [01:38:25]OFD Sender: No OFD packet to send [01:38:30]OFD Sender: No OFD packet to send [01:38:35]OFD Sender: No OFD packet to send [01:38:40]OFD Sender: No OFD packet to send [01:38:45]OFD Sender: No OFD packet to send [01:38:50]OFD Sender: No OFD packet to send [01:38:55]OFD Sender: No OFD packet to send [01:39:00]OFD Sender: No OFD packet to send [01:39:05]OFD Sender: No OFD packet to send [01:39:10]OFD Sender: No OFD packet to send [01:39:15]OFD Sender: No OFD packet to send [01:39:20]OFD Sender: No OFD packet to send [01:39:25]OFD Sender: No OFD packet to send [01:39:30]OFD Sender: No OFD packet to send [01:39:35]OFD Sender: No OFD packet to send [01:39:40]OFD Sender: No OFD packet to send [01:39:45]OFD Sender: No OFD packet to send [01:39:50]OFD Sender: No OFD packet to send [01:39:55]OFD Sender: No OFD packet to send [01:40:00]OFD Sender: No OFD packet to send [01:40:05]OFD Sender: No OFD packet to send [01:40:10]OFD Sender: No OFD packet to send [01:40:15]OFD Sender: No OFD packet to send [01:40:20]OFD Sender: No OFD packet to send [01:40:25]OFD Sender: No OFD packet to send [01:40:30]OFD Sender: No OFD packet to send [01:40:35]OFD Sender: No OFD packet to send [01:40:40]OFD Sender: No OFD packet to send [01:40:45]OFD Sender: No OFD packet to send [01:40:50]OFD Sender: No OFD packet to send [01:40:55]OFD Sender: No OFD packet to send [01:41:00]OFD Sender: No OFD packet to send [01:41:05]OFD Sender: No OFD packet to send [01:41:10]OFD Sender: No OFD packet to send [01:41:15]OFD Sender: No OFD packet to send [01:41:20]OFD Sender: No OFD packet to send [01:41:25]OFD Sender: No OFD packet to send [01:41:30]OFD Sender: No OFD packet to send [01:41:35]OFD Sender: No OFD packet to send [01:41:40]OFD Sender: No OFD packet to send [01:41:45]OFD Sender: No OFD packet to send [01:41:50]OFD Sender: No OFD packet to send [01:41:55]OFD Sender: No OFD packet to send [01:42:00]OFD Sender: No OFD packet to send [01:42:05]OFD Sender: No OFD packet to send [01:42:10]OFD Sender: No OFD packet to send [01:42:15]OFD Sender: No OFD packet to send [01:42:20]OFD Sender: No OFD packet to send [01:42:25]OFD Sender: No OFD packet to send [01:42:30]OFD Sender: No OFD packet to send [01:42:35]OFD Sender: No OFD packet to send [01:42:40]OFD Sender: No OFD packet to send [01:42:45]OFD Sender: No OFD packet to send [01:42:50]OFD Sender: No OFD packet to send [01:42:55]OFD Sender: No OFD packet to send [01:43:00]OFD Sender: No OFD packet to send [01:43:05]OFD Sender: No OFD packet to send [01:43:10]OFD Sender: No OFD packet to send [01:43:15]OFD Sender: No OFD packet to send [01:43:20]OFD Sender: No OFD packet to send [01:43:25]OFD Sender: No OFD packet to send [01:43:30]OFD Sender: No OFD packet to send [01:43:35]OFD Sender: No OFD packet to send [01:43:40]OFD Sender: No OFD packet to send [01:43:45]OFD Sender: No OFD packet to send [01:43:50]OFD Sender: No OFD packet to send [01:43:55]OFD Sender: No OFD packet to send [01:44:00]OFD Sender: No OFD packet to send [01:44:05]OFD Sender: No OFD packet to send [01:44:10]OFD Sender: No OFD packet to send [01:44:15]OFD Sender: No OFD packet to send [01:44:20]OFD Sender: No OFD packet to send [01:44:25]OFD Sender: No OFD packet to send [01:44:30]OFD Sender: No OFD packet to send [01:44:35]OFD Sender: No OFD packet to send [01:44:40]OFD Sender: No OFD packet to send [01:44:45]OFD Sender: No OFD packet to send [01:44:50]OFD Sender: No OFD packet to send [01:44:55]OFD Sender: No OFD packet to send [01:45:00]OFD Sender: No OFD packet to send [01:45:05]OFD Sender: No OFD packet to send [01:45:10]OFD Sender: No OFD packet to send [01:45:15]OFD Sender: No OFD packet to send [01:45:20]OFD Sender: No OFD packet to send [01:45:25]OFD Sender: No OFD packet to send [01:45:30]OFD Sender: No OFD packet to send [01:45:35]OFD Sender: No OFD packet to send [01:45:40]OFD Sender: No OFD packet to send [01:45:45]OFD Sender: No OFD packet to send [01:45:50]OFD Sender: No OFD packet to send [01:45:55]OFD Sender: No OFD packet to send [01:46:00]OFD Sender: No OFD packet to send [01:46:05]OFD Sender: No OFD packet to send [01:46:10]OFD Sender: No OFD packet to send [01:46:15]OFD Sender: No OFD packet to send [01:46:20]OFD Sender: No OFD packet to send [01:46:25]OFD Sender: No OFD packet to send [01:46:30]OFD Sender: No OFD packet to send [01:46:35]OFD Sender: No OFD packet to send [01:46:40]OFD Sender: No OFD packet to send [01:46:45]OFD Sender: No OFD packet to send [01:46:50]OFD Sender: No OFD packet to send [01:46:55]OFD Sender: No OFD packet to send [01:47:00]OFD Sender: No OFD packet to send [01:47:05]OFD Sender: No OFD packet to send [01:47:10]OFD Sender: No OFD packet to send [01:47:15]OFD Sender: No OFD packet to send [01:47:20]OFD Sender: No OFD packet to send [01:47:25]OFD Sender: No OFD packet to send [01:47:30]OFD Sender: No OFD packet to send [01:47:35]OFD Sender: No OFD packet to send [01:47:40]OFD Sender: No OFD packet to send [01:47:45]OFD Sender: No OFD packet to send [01:47:50]OFD Sender: No OFD packet to send [01:47:55]OFD Sender: No OFD packet to send [01:48:00]OFD Sender: No OFD packet to send [01:48:05]OFD Sender: No OFD packet to send [01:48:10]OFD Sender: No OFD packet to send [01:48:15]OFD Sender: No OFD packet to send [01:48:20]OFD Sender: No OFD packet to send [01:48:25]OFD Sender: No OFD packet to send [01:48:30]OFD Sender: No OFD packet to send [01:48:35]OFD Sender: No OFD packet to send [01:48:40]OFD Sender: No OFD packet to send [01:48:45]OFD Sender: No OFD packet to send [01:48:50]OFD Sender: No OFD packet to send [01:48:55]OFD Sender: No OFD packet to send [01:49:00]OFD Sender: No OFD packet to send [01:49:05]OFD Sender: No OFD packet to send [01:49:10]OFD Sender: No OFD packet to send [01:49:11]accept exits with 10 [01:49:11]New connection [01:49:11]New thread 3067297124 created [01:49:11]Thread 3067440484 joined [01:49:11]Waiting for new connection... [01:49:11] Sock 10.Parse request [01:49:11]Sock 10.Check first char [01:49:11]Sock 10.First char is OK [01:49:11]request: POST /json_proto HTTP/1.0 [01:49:11]Method: POST [01:49:11]URL: /json_proto [01:49:11]Method is POST - this is cgi request [01:49:11]url: /json_proto [01:49:11]query_string will be loaded in cgi processing [01:49:11]execute_cgi json_proto POST (null) [01:49:11]execute_cgi path=json_proto method=POST [01:49:11]POST find Content-Length [01:49:11]Host: 172.17.40.196:8080 [01:49:11]Content-Length: 770 [01:49:11]Content-Type: application/json [01:49:11] [01:49:11]POST finish read [01:49:11]Found Content-Length = 770 [01:49:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35057", "tax_sys" : 0, "items" : [ { "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 49.00, "quantity" : 2.000, "sum" : 98.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" : 98.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:49:11]execute_script... [01:49: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)35057", "tax_sys" : 0, "items" : [ { "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 49.00, "quantity" : 2.000, "sum" : 98.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" : 98.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:49:11]POST & json_proto [01:49:11]process_json_proto [01:49:11]json parsed OK: [01:49:11]protocol is kg_v1.0 [01:49:11]action value=close_receipt [01:49:11]process_action close_receipt [01:49:11]cmd_close_receipt [01:49:11]MH_GetDate [01:49:11]Write to MH i2c: F0 00 00 63 17 69 [01:49:11]Write i2c OK [01:49:11]MH_I2C_Read... [01:49:11]Read from MH i2c: F0 [01:49:11]MH_I2C_Read... [01:49:11]Read from MH i2c: F0 09 00 [01:49:11]MH_I2C_Read... [01:49:11]Read from MH i2c: F0 09 00 63 17 00 9C ED 1E 67 5B 68 A1 66 4A [01:49:11]GetLastDocTimeStamp 1730075288 [01:49:11]current date 1730080156 [01:49:11]FM_GetShiftState [01:49:11]SAM_PROTO_GetShiftState [01:49:11]wFMCommunicate request_size=4 [01:49:11]MH_SAM_APDU [01:49:11]CAPDU: 80 13 01 00 [01:49:11]Write to MH i2c: E2 08 00 64 17 80 13 01 00 00 00 00 00 F8 [01:49:11]Write i2c OK [01:49:11]MH_I2C_Read... [01:49:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:49:11]Read from MH i2c: E2 [01:49:11]MH_I2C_Read... [01:49:11]Read from MH i2c: E2 0E 00 [01:49:11]MH_I2C_Read... [01:49:11]Read from MH i2c: E2 0E 00 64 17 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 7A [01:49:11]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [01:49:11]wFMCommunicate OK [01:49:11]SAM_PROTO_GetShiftState done [01:49:11]FM_GetShiftState done [01:49:11]opened in 1730073884 [01:49:11]opened+sec_in_day 1730160284 [01:49:11]quantity*price = 9800 [01:49:11]sum+1 = 9801 [01:49:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 98.00 НСП 1% : 0.87 НДС 12% : 10.41 Наличными: 0.00 Безнал.: 98.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 3 28.10.2024 01:49 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37760 ФПД: 116881855812013 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T014916&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37760&fm=116881855812013&tin=02508201610067®Number=0000000000091684&sum=9800 0 [01:49:12]StoreToDocumentArchive [01:49:12]shift 551 fd 37760 [01:49:12]save to /storage/0551/doc_00037760 [01:49:12]save last doc name /storage/0551/doc_00037760 to /storage/kkm_last_doc_name [01:49:12]save OK [01:49:12]Clear old archive folders... [01:49:12]ProcessDocumentItem done err = 0, tmpTLVsize=275 [01:49:12]tlvbuf is 00217740 [01:49:12]SAM_PROTO_ClearQueue [01:49:12]wFMCommunicate request_size=4 [01:49:12]MH_SAM_APDU [01:49:12]CAPDU: 80 09 00 00 [01:49:12]Write to MH i2c: E2 08 00 71 17 80 09 00 00 00 00 00 00 FA [01:49:12]Write i2c OK [01:49:12]MH_I2C_Read... [01:49:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:49:12]Read from MH i2c: E2 [01:49:12]MH_I2C_Read... [01:49:12]Read from MH i2c: E2 03 00 [01:49:12]MH_I2C_Read... [01:49:12]Read from MH i2c: E2 03 00 71 17 00 90 00 FC [01:49:12]RAPDU: 90 00 [01:49:12]wFMCommunicate OK [01:49:12]SAM_PROTO_ClearQueue done [01:49:12]KKMCreateOFDPacket [01:49:12]OFDProtocolAddRootSTLVToBuf [01:49:12]FM_MakeSignedData [01:49:12]FM_MakeSignedData [01:49:12]SAM_PROTO_SignData [01:49:12]wFMCommunicate request_size=4 [01:49:12]MH_SAM_APDU [01:49:12]CAPDU: 80 0D 01 02 [01:49:12]Write to MH i2c: E2 08 00 72 17 80 0D 01 02 00 00 00 00 02 [01:49:12]Write i2c OK [01:49:12]MH_I2C_Read... [01:49:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:49:12]Read from MH i2c: E2 [01:49:12]MH_I2C_Read... [01:49:12]Read from MH i2c: E2 03 00 [01:49:12]MH_I2C_Read... [01:49:12]Read from MH i2c: E2 03 00 72 17 00 90 00 FD [01:49:12]RAPDU: 90 00 [01:49:12]wFMCommunicate OK [01:49:12]wFMCommunicate request_size=255 [01:49:12]MH_SAM_APDU [01:49:12]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 57 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 48 26 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 9C ED 1E 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 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 [01:49:12]Write to MH i2c: E2 02 01 73 17 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 57 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 48 26 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 9C ED 1E 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 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 88 [01:49:12]Write i2c OK [01:49:12]MH_I2C_Read... [01:49:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:49:12]Read from MH i2c: E2 [01:49:12]MH_I2C_Read... [01:49:12]Read from MH i2c: E2 03 00 [01:49:12]MH_I2C_Read... [01:49:12]Read from MH i2c: E2 03 00 73 17 00 90 00 FE [01:49:12]RAPDU: 90 00 [01:49:12]wFMCommunicate OK [01:49:12]wFMCommunicate request_size=34 [01:49:12]MH_SAM_APDU [01:49:12]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 80 93 00 00 35 04 06 00 6A 4D AD 7F 11 AD [01:49:12]Write to MH i2c: E2 25 00 74 17 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 80 93 00 00 35 04 06 00 6A 4D AD 7F 11 AD 00 00 77 [01:49:12]Write i2c OK [01:49:12]MH_I2C_Read... [01:49:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:49:12]Read from MH i2c: E2 [01:49:12]MH_I2C_Read... [01:49:12]Read from MH i2c: E2 03 00 [01:49:12]MH_I2C_Read... [01:49:12]Read from MH i2c: E2 03 00 74 17 00 90 00 FF [01:49:12]RAPDU: 90 00 [01:49:12]wFMCommunicate OK [01:49:12]wFMCommunicate request_size=4 [01:49:12]MH_SAM_APDU [01:49:12]CAPDU: 80 0D 03 02 [01:49:12]Write to MH i2c: E2 08 00 75 17 80 0D 03 02 00 00 00 00 07 [01:49:12]Write i2c OK [01:49:12]MH_I2C_Read... [01:49:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:49:12]Read from MH i2c: E2 [01:49:12]MH_I2C_Read... [01:49:12]Read from MH i2c: E2 0B 00 [01:49:12]MH_I2C_Read... [01:49:12]Read from MH i2c: E2 0B 00 75 17 00 C8 BE 0B 70 42 79 D3 B0 90 00 47 [01:49:12]RAPDU: C8 BE 0B 70 42 79 D3 B0 90 00 [01:49:12]wFMCommunicate OK [01:49:12]SAM_PROTO_SignData done [01:49:12]FM_MakeSignedData done [01:49:12]CreateOFDProtocolMessage [01:49:12]wFMCommunicate request_size=4 [01:49:12]MH_SAM_APDU [01:49:12]CAPDU: 80 11 00 00 [01:49:12]Write to MH i2c: E2 08 00 76 17 80 11 00 00 00 00 00 00 07 [01:49:12]Write i2c OK [01:49:12]MH_I2C_Read... [01:49:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:49:12]Read from MH i2c: E2 [01:49:12]MH_I2C_Read... [01:49:12]Read from MH i2c: E2 17 00 [01:49:12]MH_I2C_Read... [01:49:12]Read from MH i2c: E2 17 00 76 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 57 [01:49:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [01:49:12]wFMCommunicate OK [01:49:12]CreateOFDProtocolMessage done [01:49:12]OFDSenderStorePacket 37760 [01:49:12]StoreOFDPacket docnum=37760 [01:49: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 27 01 00 00 59 53 1F 01 C2 FD 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 57 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 48 26 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 9C ED 1E 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 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 80 93 00 00 35 04 06 00 6A 4D AD 7F 11 AD C8 BE 0B 70 42 79 D3 B0 [01:49:12]CheckFolder [01:49:12]dirname=/storage/ofd_packets [01:49:12]CheckFolder done [01:49:12]ProducePacketName [01:49:12]name=ofd_packets/00037760 [01:49:12]NVStorageSaveData ofd_packets/00037760 [01:49:12]File name is /storage/ofd_packets/00037760 [01:49:12]Write 325 bytes [01:49:12]NVStorageSaveData done [01:49:12]OFDSenderStorePacket done [01:49:12]KKMCreateOFDPacket done [01:49:12]NVStorageSaveData kkm_last_timestamp [01:49:12]File name is /storage/kkm_last_timestamp [01:49:12]Write 4 bytes [01:49:12]NVStorageSaveData done [01:49:12]ExternCall_PrintAddStr [01:49:12]wPrintStart [01:49:12]Write to MH i2c: 01 00 00 77 17 8E [01:49:12]Write i2c OK [01:49:12]MH_I2C_Read... [01:49:12]Read from MH i2c: 01 [01:49:12]MH_I2C_Read... [01:49:12]Read from MH i2c: 01 07 00 [01:49:12]MH_I2C_Read... [01:49:12]Read from MH i2c: 01 07 00 77 17 00 00 00 00 00 FF 0F A3 [01:49:12]RasterBufferAndPrint [01:49:12]line Счет N : (3)35057 [01:49:12]line ИНН: 02508201610067 [01:49:12]line Контрольно-Кассовый Чек [01:49:12]line ПРОДАЖА [01:49:12]line Товар: 4700000310326 [01:49:12]line Вода Адыгене 1л б/г [01:49:12]line 2.000 * 49.00 [01:49:12]line = 98.00 [01:49:12]line НДС 12% НСП 1% [01:49:12]line > о реализуемом товаре [01:49:12]line ИТОГО: 98.00 [01:49:12]line НСП 1% : 0.87 [01:49:12]line НДС 12% : 10.41 [01:49:12]line Наличными: 0.00 [01:49:12]line Безнал.: 98.00 [01:49:12]line Место: АЗС № 126 "Партнер Нефть" [01:49:12]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [01:49:12]line СНО: Общий режим [01:49:12]line Чек 3 28.10.2024 01:49 [01:49:12]line Смена: 551 ФФД: 1.0 [01:49:12]line ЗНМ: 0300000092 [01:49:12]line РНМ: 0000000000091684 [01:49:12]line Версия ККМ: 001 [01:49:12]line Платежная система: Mbank [01:49:12]line ФМ: 0000000000871841 [01:49:12]line ФД: 37760 [01:49:12]line ФПД: 116881855812013 [01:49:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T014916&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37760&fm=116881855812013&tin=02508201610067®Number=0000000000091684&sum=9800 [01:49:13]OFD Sender: Processing packet 37760 [packets to send 42, broken 41] [01:49:13]ProducePacketName [01:49:13]name=ofd_packets/00037760 [01:49:13]OFD Sender: To server: pG, [01:49:13]CommunicateWithHost lk.salyk.kg:30040 [01:49:13]ConnectInit lk.salyk.kg [01:49:13]line 0 [01:49:13]written 0, free lines is 4095 [01:49:13]Connected sock=9 [01:49: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 59 53 1F 01 C2 FD 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 57 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 48 26 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 9C ED 1E 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 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 80 93 00 00 35 04 06 00 6A 4D AD 7F 11 AD C8 BE 0B 70 42 79 D3 B0 [01:49:13]Write to MH i2c: 01 00 00 A0 17 B7 [01:49:13]Write i2c OK [01:49:13]MH_I2C_Read... [01:49:13]Read from MH i2c: 01 [01:49:13]MH_I2C_Read... [01:49:13]Read from MH i2c: 01 07 00 [01:49:13]MH_I2C_Read... [01:49:13]Read from MH i2c: 01 07 00 A0 17 00 00 00 00 00 C2 0C 8C [01:49:13]RasterBufferAndPrint [01:49:13]line [01:49:13]line [01:49:13]line [01:49:13]line [01:49:13]line [01:49:13]written 0, free lines is 3276 [01:49:13]MH_Cut [01:49:13]Write to MH i2c: D1 01 00 A7 17 01 90 [01:49:13]Write i2c OK [01:49:13]MH_I2C_Read... [01:49:13]Read from MH i2c: D1 [01:49:13]MH_I2C_Read... [01:49:13]Read from MH i2c: D1 01 00 [01:49:13]MH_I2C_Read... [01:49:13]Read from MH i2c: D1 01 00 A7 17 00 8F [01:49:13]Write to MH i2c: 01 00 00 A8 17 BF [01:49:13]Write i2c OK [01:49:13]MH_I2C_Read... [01:49: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 6B AD 47 00 44 CC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 80 93 00 00 F4 03 04 00 92 98 1E 67 B6 04 01 00 00 A7 02 A8 C0 0E 1C AD 05 [01:49:13]CommunicateWithHost err = 0 [01:49:13]CheckOFDResponse [01:49:13]1017 (14) - 77093643461234 [01:49:13]1041 (16) - 0000000000871841 [01:49:13]1040 (4) - 37760 [01:49:13]1012 (4) - 27.10.2024 19:46 [01:49:13]1206 (1) - 0 [01:49:13]OFD Sender: Remove packet 37760 [01:49:13]ProducePacketName [01:49:13]name=ofd_packets/00037760 [01:49:13]NVStorageDeleteData [01:49:14]OFD Sender: No OFD packet to send [01:49:14]*** Cut start [01:49:14]*** Partial cut [01:49:14]*** CUTSNS_PIN = 1 [01:49:14]*** CUTSNS_PIN = 0 [01:49:14]*** Brake cut motor [01:49:15]Read from MH i2c: 01 [01:49:15]MH_I2C_Read... [01:49:15]*** Stop cut motor [01:49:15]*** Cut end [01:49:15]Read from MH i2c: 01 07 00 [01:49:15]MH_I2C_Read... [01:49:15]Read from MH i2c: 01 07 00 A8 17 00 00 00 00 00 FF 0F D4 [01:49:15]process_action close_receipt done [01:49:15]requested_data is exist [01:49:15]produce_requested_data [01:49:15]requested_item fm.sn is exist - process it [01:49:15]wFMCommunicate request_size=4 [01:49:15]MH_SAM_APDU [01:49:15]CAPDU: 80 11 00 00 [01:49:15]Write to MH i2c: E2 08 00 A9 17 80 11 00 00 00 00 00 00 3A [01:49:15]Write i2c OK [01:49:15]MH_I2C_Read... [01:49:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:49:15]Read from MH i2c: E2 [01:49:15]MH_I2C_Read... [01:49:15]Read from MH i2c: E2 17 00 [01:49:15]MH_I2C_Read... [01:49:15]Read from MH i2c: E2 17 00 A9 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 8A [01:49:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [01:49:15]wFMCommunicate OK [01:49:15]requested_item fd.num is exist - process it [01:49:15]SAM_PROTO_GetFieldsCounters [01:49:15]wFMCommunicate request_size=4 [01:49:15]MH_SAM_APDU [01:49:15]CAPDU: 80 13 00 00 [01:49:15]Write to MH i2c: E2 08 00 AA 17 80 13 00 00 00 00 00 00 3D [01:49:15]Write i2c OK [01:49:15]MH_I2C_Read... [01:49:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:49:15]Read from MH i2c: E2 [01:49:15]MH_I2C_Read... [01:49:15]Read from MH i2c: E2 62 00 [01:49:15]MH_I2C_Read... [01:49:15]Read from MH i2c: E2 62 00 AA 17 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 80 93 00 00 0E 04 04 00 27 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 A3 [01:49: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 80 93 00 00 0E 04 04 00 27 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:49:15]wFMCommunicate OK [01:49:15]SAM_PROTO_GetFieldsCounters done [01:49:15]requested_item shift.num is exist - process it [01:49:15]requested_item shift.opened is exist - process it [01:49:15]req_shift_opened [01:49:15]FM_GetShiftState [01:49:15]SAM_PROTO_GetShiftState [01:49:15]wFMCommunicate request_size=4 [01:49:15]MH_SAM_APDU [01:49:15]CAPDU: 80 13 01 00 [01:49:15]Write to MH i2c: E2 08 00 AB 17 80 13 01 00 00 00 00 00 3F [01:49:15]Write i2c OK [01:49:15]MH_I2C_Read... [01:49:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:49:15]Read from MH i2c: E2 [01:49:15]MH_I2C_Read... [01:49:15]Read from MH i2c: E2 0E 00 [01:49:15]MH_I2C_Read... [01:49:15]Read from MH i2c: E2 0E 00 AB 17 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 C1 [01:49:15]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [01:49:15]wFMCommunicate OK [01:49:15]SAM_PROTO_GetShiftState done [01:49:15]FM_GetShiftState done [01:49:15]req_shift_opened done [01:49:15]requested_item shift.open_date is exist - process it [01:49:15]req_shift_open_date [01:49:15]req_shift_open_date done [01:49:15]produce_requested_data done [01:49:15]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37760,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [01:49:15]process_action_free close_receipt [01:49:15]json_value_free [01:49:15]json_value_free done [01:49:15]process_json_proto returns [01:49:15]Send response to host [01:49:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37760,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [01:49:15]free response buf [01:49:15]execute_script done [01:49:15]execute_script returns [01:49:15]free content buf [01:49:15]Sock 10.Close socket [01:49:15]Sock 10.Thread stoped [01:49:19]OFD Sender: No OFD packet to send [01:49:24]OFD Sender: No OFD packet to send [01:49:29]OFD Sender: No OFD packet to send [01:49:34]OFD Sender: No OFD packet to send [01:49:39]OFD Sender: No OFD packet to send [01:49:44]OFD Sender: No OFD packet to send [01:49:49]OFD Sender: No OFD packet to send [01:49:54]OFD Sender: No OFD packet to send [01:49:59]OFD Sender: No OFD packet to send [01:50:04]OFD Sender: No OFD packet to send [01:50:09]OFD Sender: No OFD packet to send [01:50:14]OFD Sender: No OFD packet to send [01:50:19]OFD Sender: No OFD packet to send [01:50:24]OFD Sender: No OFD packet to send [01:50:29]OFD Sender: No OFD packet to send [01:50:34]OFD Sender: No OFD packet to send [01:50:39]OFD Sender: No OFD packet to send [01:50:44]OFD Sender: No OFD packet to send [01:50:49]OFD Sender: No OFD packet to send [01:50:54]OFD Sender: No OFD packet to send [01:50:59]OFD Sender: No OFD packet to send [01:51:04]OFD Sender: No OFD packet to send [01:51:09]OFD Sender: No OFD packet to send [01:51:14]OFD Sender: No OFD packet to send [01:51:19]OFD Sender: No OFD packet to send [01:51:24]OFD Sender: No OFD packet to send [01:51:29]OFD Sender: No OFD packet to send [01:51:34]OFD Sender: No OFD packet to send [01:51:39]OFD Sender: No OFD packet to send [01:51:44]OFD Sender: No OFD packet to send [01:51:49]OFD Sender: No OFD packet to send [01:51:54]OFD Sender: No OFD packet to send [01:51:59]OFD Sender: No OFD packet to send [01:52:04]OFD Sender: No OFD packet to send [01:52:09]OFD Sender: No OFD packet to send [01:52:14]OFD Sender: No OFD packet to send [01:52:19]OFD Sender: No OFD packet to send [01:52:24]OFD Sender: No OFD packet to send [01:52:29]OFD Sender: No OFD packet to send [01:52:34]OFD Sender: No OFD packet to send [01:52:39]OFD Sender: No OFD packet to send [01:52:44]OFD Sender: No OFD packet to send [01:52:49]OFD Sender: No OFD packet to send [01:52:54]OFD Sender: No OFD packet to send [01:52:59]OFD Sender: No OFD packet to send [01:53:04]OFD Sender: No OFD packet to send [01:53:09]OFD Sender: No OFD packet to send [01:53:14]OFD Sender: No OFD packet to send [01:53:19]OFD Sender: No OFD packet to send [01:53:24]OFD Sender: No OFD packet to send [01:53:29]OFD Sender: No OFD packet to send [01:53:34]OFD Sender: No OFD packet to send [01:53:39]OFD Sender: No OFD packet to send [01:53:44]OFD Sender: No OFD packet to send [01:53:49]OFD Sender: No OFD packet to send [01:53:54]OFD Sender: No OFD packet to send [01:53:59]OFD Sender: No OFD packet to send [01:54:04]OFD Sender: No OFD packet to send [01:54:09]OFD Sender: No OFD packet to send [01:54:14]OFD Sender: No OFD packet to send [01:54:19]OFD Sender: No OFD packet to send [01:54:24]OFD Sender: No OFD packet to send [01:54:29]OFD Sender: No OFD packet to send [01:54:34]OFD Sender: No OFD packet to send [01:54:38]accept exits with 7 [01:54:38]New connection [01:54:38]New thread 3067440484 created [01:54:38]Thread 3067297124 joined [01:54:38]Waiting for new connection... [01:54:38] Sock 7.Parse request [01:54:38]Sock 7.Check first char [01:54:38]Sock 7.First char is OK [01:54:38]request: POST /json_proto HTTP/1.0 [01:54:38]Method: POST [01:54:38]URL: /json_proto [01:54:38]Method is POST - this is cgi request [01:54:38]url: /json_proto [01:54:38]query_string will be loaded in cgi processing [01:54:38]execute_cgi json_proto POST (null) [01:54:38]execute_cgi path=json_proto method=POST [01:54:38]POST find Content-Length [01:54:38]Host: 172.17.40.196:8080 [01:54:38]Content-Length: 1188 [01:54:38]Content-Type: application/json [01:54:38] [01:54:38]POST finish read [01:54:38]Found Content-Length = 1188 [01:54:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35058", "tax_sys" : 0, "items" : [ { "code": "4602486000565", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u0435\u043D\u044C\u043A\u0430\u044F 0,5\u043B", "price" : 545.00, "quantity" : 1.000, "sum" : 545.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001151546", "name": "\u0421\u043E\u043A Da-Da 1\u043B \u0437\u0435\u043B.\u044F\u0431\u043B", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 4.000, "sum" : 28.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 723.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:54:38]execute_script... [01:54:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35058", "tax_sys" : 0, "items" : [ { "code": "4602486000565", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u0435\u043D\u044C\u043A\u0430\u044F 0,5\u043B", "price" : 545.00, "quantity" : 1.000, "sum" : 545.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001151546", "name": "\u0421\u043E\u043A Da-Da 1\u043B \u0437\u0435\u043B.\u044F\u0431\u043B", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 4.000, "sum" : 28.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 723.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:54:38]POST & json_proto [01:54:38]process_json_proto [01:54:38]json parsed OK: [01:54:38]protocol is kg_v1.0 [01:54:38]action value=close_receipt [01:54:38]process_action close_receipt [01:54:38]cmd_close_receipt [01:54:38]MH_GetDate [01:54:38]Write to MH i2c: F0 00 00 AC 17 B2 [01:54:38]Write i2c OK [01:54:38]MH_I2C_Read... [01:54:38]Read from MH i2c: F0 [01:54:38]MH_I2C_Read... [01:54:38]Read from MH i2c: F0 09 00 [01:54:38]MH_I2C_Read... [01:54:38]Read from MH i2c: F0 09 00 AC 17 00 E3 EE 1E 67 5B 68 A1 66 DB [01:54:38]GetLastDocTimeStamp 1730080156 [01:54:38]current date 1730080483 [01:54:38]FM_GetShiftState [01:54:38]SAM_PROTO_GetShiftState [01:54:38]wFMCommunicate request_size=4 [01:54:38]MH_SAM_APDU [01:54:38]CAPDU: 80 13 01 00 [01:54:38]Write to MH i2c: E2 08 00 AD 17 80 13 01 00 00 00 00 00 41 [01:54:38]Write i2c OK [01:54:38]MH_I2C_Read... [01:54:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:54:38]Read from MH i2c: E2 [01:54:38]MH_I2C_Read... [01:54:38]Read from MH i2c: E2 0E 00 [01:54:38]MH_I2C_Read... [01:54:38]Read from MH i2c: E2 0E 00 AD 17 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 C3 [01:54:38]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [01:54:38]wFMCommunicate OK [01:54:38]SAM_PROTO_GetShiftState done [01:54:38]FM_GetShiftState done [01:54:38]opened in 1730073884 [01:54:38]opened+sec_in_day 1730160284 [01:54:38]quantity*price = 54500 [01:54:38]sum+1 = 54501 [01:54:38]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001151546 Сок Da-Da 1л зел.ябл 1.000 * 150.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 4.000 * 7.00 = 28.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 723.00 НСП 1% : 6.40 НДС 12% : 76.78 Наличными: 723.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 4 28.10.2024 01:54 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37761 ФПД: 60702835527188 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T015443&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37761&fm=60702835527188&tin=02508201610067®Number=0000000000091684&sum=72300 0 [01:54:39]StoreToDocumentArchive [01:54:39]shift 551 fd 37761 [01:54:39]save to /storage/0551/doc_00037761 [01:54:39]save last doc name /storage/0551/doc_00037761 to /storage/kkm_last_doc_name [01:54:39]save OK [01:54:39]Clear old archive folders... [01:54:39]ProcessDocumentItem done err = 0, tmpTLVsize=496 [01:54:39]tlvbuf is 0020FFF0 [01:54:39]SAM_PROTO_ClearQueue [01:54:39]wFMCommunicate request_size=4 [01:54:39]MH_SAM_APDU [01:54:39]CAPDU: 80 09 00 00 [01:54:39]Write to MH i2c: E2 08 00 BA 17 80 09 00 00 00 00 00 00 43 [01:54:39]Write i2c OK [01:54:39]MH_I2C_Read... [01:54:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:54:39]Read from MH i2c: E2 [01:54:39]MH_I2C_Read... [01:54:39]Read from MH i2c: E2 03 00 [01:54:39]MH_I2C_Read... [01:54:39]Read from MH i2c: E2 03 00 BA 17 00 90 00 45 [01:54:39]RAPDU: 90 00 [01:54:39]wFMCommunicate OK [01:54:39]SAM_PROTO_ClearQueue done [01:54:39]KKMCreateOFDPacket [01:54:39]OFDProtocolAddRootSTLVToBuf [01:54:39]FM_MakeSignedData [01:54:39]FM_MakeSignedData [01:54:39]SAM_PROTO_SignData [01:54:39]wFMCommunicate request_size=4 [01:54:39]MH_SAM_APDU [01:54:39]CAPDU: 80 0D 01 02 [01:54:39]Write to MH i2c: E2 08 00 BB 17 80 0D 01 02 00 00 00 00 4B [01:54:39]Write i2c OK [01:54:39]MH_I2C_Read... [01:54:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:54:39]Read from MH i2c: E2 [01:54:39]MH_I2C_Read... [01:54:39]Read from MH i2c: E2 03 00 [01:54:39]MH_I2C_Read... [01:54:39]Read from MH i2c: E2 03 00 BB 17 00 90 00 46 [01:54:39]RAPDU: 90 00 [01:54:39]wFMCommunicate OK [01:54:39]wFMCommunicate request_size=255 [01:54:39]MH_SAM_APDU [01:54:39]CAPDU: 80 0D 02 02 FA 03 00 F0 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 36 30 32 34 38 36 30 30 30 35 36 35 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 B5 D0 BD D1 8C D0 BA D0 B0 D1 8F 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 D4 00 00 00 00 13 04 06 00 E4 D4 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 38 37 30 30 30 31 31 35 31 35 34 36 06 04 1E 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 2E D1 8F D0 B1 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 [01:54:39]Write to MH i2c: E2 02 01 BC 17 80 0D 02 02 FA 00 03 00 F0 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 36 30 32 34 38 36 30 30 30 35 36 35 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 B5 D0 BD D1 8C D0 BA D0 B0 D1 8F 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 D4 00 00 00 00 13 04 06 00 E4 D4 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 38 37 30 30 30 31 31 35 31 35 34 36 06 04 1E 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 2E D1 8F D0 B1 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 00 00 CA [01:54:40]Write i2c OK [01:54:40]MH_I2C_Read... [01:54:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:54:40]Read from MH i2c: E2 [01:54:40]MH_I2C_Read... [01:54:40]Read from MH i2c: E2 03 00 [01:54:40]MH_I2C_Read... [01:54:40]Read from MH i2c: E2 03 00 BC 17 00 90 00 47 [01:54:40]RAPDU: 90 00 [01:54:40]wFMCommunicate OK [01:54:40]wFMCommunicate request_size=255 [01:54:40]MH_SAM_APDU [01:54:40]CAPDU: 80 0D 02 02 FA 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 6C 1A 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 1D 00 00 00 00 07 04 06 00 6C 1A 01 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 E3 EE 1E 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 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 81 93 00 00 35 04 06 00 37 35 7A F2 CE 14 [01:54:40]Write to MH i2c: E2 02 01 BD 17 80 0D 02 02 FA 00 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 6C 1A 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 1D 00 00 00 00 07 04 06 00 6C 1A 01 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 E3 EE 1E 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 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 81 93 00 00 35 04 06 00 37 35 7A F2 CE 14 00 00 AE [01:54:40]Write i2c OK [01:54:40]MH_I2C_Read... [01:54:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:54:40]Read from MH i2c: E2 [01:54:40]MH_I2C_Read... [01:54:40]Read from MH i2c: E2 03 00 [01:54:40]MH_I2C_Read... [01:54:40]Read from MH i2c: E2 03 00 BD 17 00 90 00 48 [01:54:40]RAPDU: 90 00 [01:54:40]wFMCommunicate OK [01:54:40]wFMCommunicate request_size=4 [01:54:40]MH_SAM_APDU [01:54:40]CAPDU: 80 0D 03 02 [01:54:40]Write to MH i2c: E2 08 00 BE 17 80 0D 03 02 00 00 00 00 50 [01:54:40]Write i2c OK [01:54:40]MH_I2C_Read... [01:54:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:54:40]Read from MH i2c: E2 [01:54:40]MH_I2C_Read... [01:54:40]Read from MH i2c: E2 0B 00 [01:54:40]MH_I2C_Read... [01:54:40]Read from MH i2c: E2 0B 00 BE 17 00 EE 02 76 E2 06 2D 2E 56 90 00 50 [01:54:40]RAPDU: EE 02 76 E2 06 2D 2E 56 90 00 [01:54:40]wFMCommunicate OK [01:54:40]SAM_PROTO_SignData done [01:54:40]FM_MakeSignedData done [01:54:40]CreateOFDProtocolMessage [01:54:40]wFMCommunicate request_size=4 [01:54:40]MH_SAM_APDU [01:54:40]CAPDU: 80 11 00 00 [01:54:40]Write to MH i2c: E2 08 00 BF 17 80 11 00 00 00 00 00 00 50 [01:54:40]Write i2c OK [01:54:40]MH_I2C_Read... [01:54:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:54:40]Read from MH i2c: E2 [01:54:40]MH_I2C_Read... [01:54:40]Read from MH i2c: E2 17 00 [01:54:40]MH_I2C_Read... [01:54:40]Read from MH i2c: E2 17 00 BF 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A0 [01:54:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [01:54:40]wFMCommunicate OK [01:54:40]CreateOFDProtocolMessage done [01:54:40]OFDSenderStorePacket 37761 [01:54:40]StoreOFDPacket docnum=37761 [01:54:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 04 02 00 00 7D E6 FC 01 85 45 5A 03 01 00 03 00 F0 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 36 30 32 34 38 36 30 30 30 35 36 35 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 B5 D0 BD D1 8C D0 BA D0 B0 D1 8F 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 D4 00 00 00 00 13 04 06 00 E4 D4 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 38 37 30 30 30 31 31 35 31 35 34 36 06 04 1E 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 2E D1 8F D0 B1 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 6C 1A 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 1D 00 00 00 00 07 04 06 00 6C 1A 01 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 E3 EE 1E 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 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 81 93 00 00 35 04 06 00 37 35 7A F2 CE 14 EE 02 76 E2 06 2D 2E 56 [01:54:40]CheckFolder [01:54:40]dirname=/storage/ofd_packets [01:54:40]CheckFolder done [01:54:40]ProducePacketName [01:54:40]name=ofd_packets/00037761 [01:54:40]NVStorageSaveData ofd_packets/00037761 [01:54:40]File name is /storage/ofd_packets/00037761 [01:54:40]Write 546 bytes [01:54:40]NVStorageSaveData done [01:54:40]OFDSenderStorePacket done [01:54:40]KKMCreateOFDPacket done [01:54:40]NVStorageSaveData kkm_last_timestamp [01:54:40]File name is /storage/kkm_last_timestamp [01:54:40]Write 4 bytes [01:54:40]NVStorageSaveData done [01:54:40]ExternCall_PrintAddStr [01:54:40]wPrintStart [01:54:40]Write to MH i2c: 01 00 00 C0 17 D7 [01:54:40]Write i2c OK [01:54:40]MH_I2C_Read... [01:54:40]Read from MH i2c: 01 [01:54:40]MH_I2C_Read... [01:54:40]Read from MH i2c: 01 07 00 [01:54:40]MH_I2C_Read... [01:54:40]Read from MH i2c: 01 07 00 C0 17 00 00 00 00 00 FF 0F EC [01:54:40]RasterBufferAndPrint [01:54:40]line Счет N : (3)35058 [01:54:40]line ИНН: 02508201610067 [01:54:40]line Контрольно-Кассовый Чек [01:54:40]line ПРОДАЖА [01:54:40]line Товар: 4602486000565 [01:54:40]line Водка Беленькая 0,5л [01:54:40]line 1.000 * 545.00 [01:54:40]line = 545.00 [01:54:40]line НДС 12% НСП 1% [01:54:40]line > о реализуемом товаре [01:54:40]line Товар: 4870001151546 [01:54:40]line Сок Da-Da 1л зел.ябл [01:54:40]line 1.000 * 150.00 [01:54:40]line = 150.00 [01:54:40]line НДС 12% НСП 1% [01:54:40]line > о реализуемом товаре [01:54:40]line Товар: 2000053020015 [01:54:40]line Бумажные стаканы 250мл 1шт [01:54:40]line 4.000 * 7.00 [01:54:40]line = 28.00 [01:54:40]line НДС 12% НСП 1% [01:54:40]line > о реализуемом товаре [01:54:40]line ИТОГО: 723.00 [01:54:40]line НСП 1% : 6.40 [01:54:40]line НДС 12% : 76.78 [01:54:40]line Наличными: 723.00 [01:54:40]line Безнал.: 0.00 [01:54:40]line Место: АЗС № 126 "Партнер Нефть" [01:54:40]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [01:54:40]line СНО: Общий режим [01:54:40]line Чек 4 28.10.2024 01:54 [01:54:40]line Смена: 551 ФФД: 1.0 [01:54:40]line ЗНМ: 0300000092 [01:54:40]line РНМ: 0000000000091684 [01:54:40]line Версия ККМ: 001 [01:54:40]line ФМ: 0000000000871841 [01:54:40]line ФД: 37761 [01:54:40]line ФПД: 60702835527188 [01:54:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T015443&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37761&fm=60702835527188&tin=02508201610067®Number=0000000000091684&sum=72300 [01:54:40]line 0 [01:54:40]written 0, free lines is 4095 [01:54:40]OFD Sender: Processing packet 37761 [packets to send 42, broken 41] [01:54:40]ProducePacketName [01:54:40]name=ofd_packets/00037761 [01:54:40]OFD Sender: To server: pG, [01:54:40]CommunicateWithHost lk.salyk.kg:30040 [01:54:40]ConnectInit lk.salyk.kg [01:54:40]Connected sock=10 [01:54:40]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 04 02 00 00 7D E6 FC 01 85 45 5A 03 01 00 03 00 F0 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 36 30 32 34 38 36 30 30 30 35 36 35 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 B5 D0 BD D1 8C D0 BA D0 B0 D1 8F 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 D4 00 00 00 00 13 04 06 00 E4 D4 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 38 37 30 30 30 31 31 35 31 35 34 36 06 04 1E 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 2E D1 8F D0 B1 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 6C 1A 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 1D 00 00 00 00 07 04 06 00 6C 1A 01 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 E3 EE 1E 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 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 81 93 00 00 35 04 06 00 37 35 7A F2 CE 14 EE 02 76 E2 06 2D 2E 56 [01:54:41]Write to MH i2c: 01 00 00 F5 17 0C [01:54:41]Write i2c OK [01:54:41]MH_I2C_Read... [01:54:41]Read from MH i2c: 01 [01:54:41]MH_I2C_Read... [01:54:41]Read from MH i2c: 01 07 00 [01:54:41]MH_I2C_Read... [01:54:41]Read from MH i2c: 01 07 00 F5 17 00 00 00 00 00 F9 0B 17 [01:54:41]RasterBufferAndPrint [01:54:41]line [01:54:41]line [01:54:41]line [01:54:41]line [01:54:41]line [01:54:41]written 0, free lines is 3070 [01:54:41]MH_Cut [01:54:41]Write to MH i2c: D1 01 00 FC 17 01 E5 [01:54:41]Write i2c OK [01:54:41]MH_I2C_Read... [01:54:41]Read from MH i2c: D1 [01:54:41]MH_I2C_Read... [01:54:41]Read from MH i2c: D1 01 00 [01:54:41]MH_I2C_Read... [01:54:41]Read from MH i2c: D1 01 00 FC 17 00 E4 [01:54:41]Write to MH i2c: 01 00 00 FD 17 14 [01:54:41]Write i2c OK [01:54:41]MH_I2C_Read... [01:54:41]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 1E EB 47 00 B9 B2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 81 93 00 00 F4 03 04 00 DA 99 1E 67 B6 04 01 00 00 87 F0 5D BA 1A 5E 6E 06 [01:54:41]CommunicateWithHost err = 0 [01:54:41]CheckOFDResponse [01:54:41]1017 (14) - 77093643461234 [01:54:41]1041 (16) - 0000000000871841 [01:54:41]1040 (4) - 37761 [01:54:41]1012 (4) - 27.10.2024 19:51 [01:54:41]1206 (1) - 0 [01:54:41]OFD Sender: Remove packet 37761 [01:54:41]ProducePacketName [01:54:41]name=ofd_packets/00037761 [01:54:41]NVStorageDeleteData [01:54:41]OFD Sender: No OFD packet to send [01:54:42]*** Cut start [01:54:42]*** Partial cut [01:54:42]*** CUTSNS_PIN = 1 [01:54:42]*** CUTSNS_PIN = 0 [01:54:42]*** Brake cut motor [01:54:42]Read from MH i2c: 01 [01:54:42]MH_I2C_Read... [01:54:42]*** Stop cut motor [01:54:42]*** Cut end [01:54:42]Read from MH i2c: 01 07 00 [01:54:42]MH_I2C_Read... [01:54:42]Read from MH i2c: 01 07 00 FD 17 00 00 00 00 00 FF 0F 29 [01:54:42]process_action close_receipt done [01:54:42]requested_data is exist [01:54:42]produce_requested_data [01:54:42]requested_item fm.sn is exist - process it [01:54:42]wFMCommunicate request_size=4 [01:54:42]MH_SAM_APDU [01:54:42]CAPDU: 80 11 00 00 [01:54:42]Write to MH i2c: E2 08 00 FE 17 80 11 00 00 00 00 00 00 8F [01:54:42]Write i2c OK [01:54:42]MH_I2C_Read... [01:54:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:54:43]Read from MH i2c: E2 [01:54:43]MH_I2C_Read... [01:54:43]Read from MH i2c: E2 17 00 [01:54:43]MH_I2C_Read... [01:54:43]Read from MH i2c: E2 17 00 FE 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 DF [01:54: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:54:43]wFMCommunicate OK [01:54:43]requested_item fd.num is exist - process it [01:54:43]SAM_PROTO_GetFieldsCounters [01:54:43]wFMCommunicate request_size=4 [01:54:43]MH_SAM_APDU [01:54:43]CAPDU: 80 13 00 00 [01:54:43]Write to MH i2c: E2 08 00 FF 17 80 13 00 00 00 00 00 00 92 [01:54:43]Write i2c OK [01:54:43]MH_I2C_Read... [01:54:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:54:43]Read from MH i2c: E2 [01:54:43]MH_I2C_Read... [01:54:43]Read from MH i2c: E2 62 00 [01:54:43]MH_I2C_Read... [01:54:43]Read from MH i2c: E2 62 00 FF 17 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 81 93 00 00 0E 04 04 00 27 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 FC [01:54:43]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 81 93 00 00 0E 04 04 00 27 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 [01:54:43]wFMCommunicate OK [01:54:43]SAM_PROTO_GetFieldsCounters done [01:54:43]requested_item shift.num is exist - process it [01:54:43]requested_item shift.opened is exist - process it [01:54:43]req_shift_opened [01:54:43]FM_GetShiftState [01:54:43]SAM_PROTO_GetShiftState [01:54:43]wFMCommunicate request_size=4 [01:54:43]MH_SAM_APDU [01:54:43]CAPDU: 80 13 01 00 [01:54:43]Write to MH i2c: E2 08 00 00 18 80 13 01 00 00 00 00 00 95 [01:54:43]Write i2c OK [01:54:43]MH_I2C_Read... [01:54:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:54:43]Read from MH i2c: E2 [01:54:43]MH_I2C_Read... [01:54:43]Read from MH i2c: E2 0E 00 [01:54:43]MH_I2C_Read... [01:54:43]Read from MH i2c: E2 0E 00 00 18 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 17 [01:54:43]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [01:54:43]wFMCommunicate OK [01:54:43]SAM_PROTO_GetShiftState done [01:54:43]FM_GetShiftState done [01:54:43]req_shift_opened done [01:54:43]requested_item shift.open_date is exist - process it [01:54:43]req_shift_open_date [01:54:43]req_shift_open_date done [01:54:43]produce_requested_data done [01:54:43]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37761,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [01:54:43]process_action_free close_receipt [01:54:43]json_value_free [01:54:43]json_value_free done [01:54:43]process_json_proto returns [01:54:43]Send response to host [01:54:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37761,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [01:54:43]free response buf [01:54:43]execute_script done [01:54:43]execute_script returns [01:54:43]free content buf [01:54:43]Sock 7.Close socket [01:54:43]Sock 7.Thread stoped [01:54:46]OFD Sender: No OFD packet to send [01:54:51]OFD Sender: No OFD packet to send [01:54:56]OFD Sender: No OFD packet to send [01:55:01]OFD Sender: No OFD packet to send [01:55:06]OFD Sender: No OFD packet to send [01:55:11]OFD Sender: No OFD packet to send [01:55:16]OFD Sender: No OFD packet to send [01:55:21]OFD Sender: No OFD packet to send [01:55:26]OFD Sender: No OFD packet to send [01:55:31]OFD Sender: No OFD packet to send [01:55:36]OFD Sender: No OFD packet to send [01:55:41]OFD Sender: No OFD packet to send [01:55:46]OFD Sender: No OFD packet to send [01:55:51]OFD Sender: No OFD packet to send [01:55:56]OFD Sender: No OFD packet to send [01:56:01]OFD Sender: No OFD packet to send [01:56:06]OFD Sender: No OFD packet to send [01:56:11]OFD Sender: No OFD packet to send [01:56:16]OFD Sender: No OFD packet to send [01:56:21]OFD Sender: No OFD packet to send [01:56:26]OFD Sender: No OFD packet to send [01:56:31]OFD Sender: No OFD packet to send [01:56:36]accept exits with 9 [01:56:36]New connection [01:56:36]New thread 3067297124 created [01:56:36]Thread 3067440484 joined [01:56:36]Waiting for new connection... [01:56:36] Sock 9.Parse request [01:56:36]Sock 9.Check first char [01:56:36]Sock 9.First char is OK [01:56:36]request: POST /json_proto HTTP/1.0 [01:56:36]Method: POST [01:56:36]URL: /json_proto [01:56:36]Method is POST - this is cgi request [01:56:36]url: /json_proto [01:56:36]query_string will be loaded in cgi processing [01:56:36]execute_cgi json_proto POST (null) [01:56:36]execute_cgi path=json_proto method=POST [01:56:36]POST find Content-Length [01:56:36]Host: 172.17.40.196:8080 [01:56:36]Content-Length: 694 [01:56:36]Content-Type: application/json [01:56:36] [01:56:36]POST finish read [01:56:36]Found Content-Length = 694 [01:56:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35059", "tax_sys" : 0, "items" : [ { "code": "48744539", "name": "LD Compact Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:56:36]execute_script... [01:56: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)35059", "tax_sys" : 0, "items" : [ { "code": "48744539", "name": "LD Compact Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:56:36]POST & json_proto [01:56:36]process_json_proto [01:56:36]json parsed OK: [01:56:36]protocol is kg_v1.0 [01:56:36]action value=close_receipt [01:56:36]process_action close_receipt [01:56:36]cmd_close_receipt [01:56:36]MH_GetDate [01:56:36]Write to MH i2c: F0 00 00 01 18 08 [01:56:36]Write i2c OK [01:56:36]MH_I2C_Read... [01:56:36]Read from MH i2c: F0 [01:56:36]MH_I2C_Read... [01:56:36]Read from MH i2c: F0 09 00 [01:56:36]MH_I2C_Read... [01:56:36]Read from MH i2c: F0 09 00 01 18 00 59 EF 1E 67 5B 68 A1 66 A8 [01:56:36]GetLastDocTimeStamp 1730080483 [01:56:36]current date 1730080601 [01:56:36]FM_GetShiftState [01:56:36]SAM_PROTO_GetShiftState [01:56:36]wFMCommunicate request_size=4 [01:56:36]MH_SAM_APDU [01:56:36]CAPDU: 80 13 01 00 [01:56:36]Write to MH i2c: E2 08 00 02 18 80 13 01 00 00 00 00 00 97 [01:56:36]Write i2c OK [01:56:36]MH_I2C_Read... [01:56:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:56:36]Read from MH i2c: E2 [01:56:36]MH_I2C_Read... [01:56:36]Read from MH i2c: E2 0E 00 [01:56:36]MH_I2C_Read... [01:56:36]Read from MH i2c: E2 0E 00 02 18 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 19 [01:56:36]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [01:56:36]wFMCommunicate OK [01:56:36]SAM_PROTO_GetShiftState done [01:56:36]FM_GetShiftState done [01:56:36]opened in 1730073884 [01:56:36]opened+sec_in_day 1730160284 [01:56:36]quantity*price = 13400 [01:56:36]sum+1 = 13401 [01:56:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 134.00 НСП 1% : 1.19 НДС 12% : 14.23 Наличными: 0.00 Безнал.: 134.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 5 28.10.2024 01:56 Смена: 551 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37762 ФПД: 130335908650154 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T015641&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37762&fm=130335908650154&tin=02508201610067®Number=0000000000091684&sum=13400 0 [01:56:37]StoreToDocumentArchive [01:56:37]shift 551 fd 37762 [01:56:37]save to /storage/0551/doc_00037762 [01:56:37]save last doc name /storage/0551/doc_00037762 to /storage/kkm_last_doc_name [01:56:37]save OK [01:56:37]Clear old archive folders... [01:56:37]ProcessDocumentItem done err = 0, tmpTLVsize=252 [01:56:37]tlvbuf is 0029ACF0 [01:56:37]SAM_PROTO_ClearQueue [01:56:37]wFMCommunicate request_size=4 [01:56:37]MH_SAM_APDU [01:56:37]CAPDU: 80 09 00 00 [01:56:37]Write to MH i2c: E2 08 00 0F 18 80 09 00 00 00 00 00 00 99 [01:56:37]Write i2c OK [01:56:37]MH_I2C_Read... [01:56:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:56:37]Read from MH i2c: E2 [01:56:37]MH_I2C_Read... [01:56:37]Read from MH i2c: E2 03 00 [01:56:37]MH_I2C_Read... [01:56:37]Read from MH i2c: E2 03 00 0F 18 00 90 00 9B [01:56:37]RAPDU: 90 00 [01:56:37]wFMCommunicate OK [01:56:37]SAM_PROTO_ClearQueue done [01:56:37]KKMCreateOFDPacket [01:56:37]OFDProtocolAddRootSTLVToBuf [01:56:37]FM_MakeSignedData [01:56:37]FM_MakeSignedData [01:56:37]SAM_PROTO_SignData [01:56:37]wFMCommunicate request_size=4 [01:56:37]MH_SAM_APDU [01:56:37]CAPDU: 80 0D 01 02 [01:56:37]Write to MH i2c: E2 08 00 10 18 80 0D 01 02 00 00 00 00 A1 [01:56:37]Write i2c OK [01:56:37]MH_I2C_Read... [01:56:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:56:37]Read from MH i2c: E2 [01:56:37]MH_I2C_Read... [01:56:37]Read from MH i2c: E2 03 00 [01:56:37]MH_I2C_Read... [01:56:37]Read from MH i2c: E2 03 00 10 18 00 90 00 9C [01:56:37]RAPDU: 90 00 [01:56:37]wFMCommunicate OK [01:56:37]wFMCommunicate request_size=255 [01:56:37]MH_SAM_APDU [01:56:37]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 59 EF 1E 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 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 82 93 00 00 35 04 06 00 [01:56:37]Write to MH i2c: E2 02 01 11 18 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 59 EF 1E 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 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 82 93 00 00 35 04 06 00 00 00 41 [01:56:37]Write i2c OK [01:56:37]MH_I2C_Read... [01:56:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:56:37]Read from MH i2c: E2 [01:56:37]MH_I2C_Read... [01:56:37]Read from MH i2c: E2 03 00 [01:56:37]MH_I2C_Read... [01:56:37]Read from MH i2c: E2 03 00 11 18 00 90 00 9D [01:56:37]RAPDU: 90 00 [01:56:37]wFMCommunicate OK [01:56:37]wFMCommunicate request_size=11 [01:56:37]MH_SAM_APDU [01:56:37]CAPDU: 80 0D 02 02 06 76 8A 31 89 5C AA [01:56:37]Write to MH i2c: E2 0E 00 12 18 80 0D 02 02 06 00 76 8A 31 89 5C AA 00 00 70 [01:56:37]Write i2c OK [01:56:37]MH_I2C_Read... [01:56:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:56:37]Read from MH i2c: E2 [01:56:37]MH_I2C_Read... [01:56:37]Read from MH i2c: E2 03 00 [01:56:37]MH_I2C_Read... [01:56:37]Read from MH i2c: E2 03 00 12 18 00 90 00 9E [01:56:37]RAPDU: 90 00 [01:56:37]wFMCommunicate OK [01:56:37]wFMCommunicate request_size=4 [01:56:37]MH_SAM_APDU [01:56:37]CAPDU: 80 0D 03 02 [01:56:37]Write to MH i2c: E2 08 00 13 18 80 0D 03 02 00 00 00 00 A6 [01:56:37]Write i2c OK [01:56:37]MH_I2C_Read... [01:56:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:56:37]Read from MH i2c: E2 [01:56:37]MH_I2C_Read... [01:56:37]Read from MH i2c: E2 0B 00 [01:56:37]MH_I2C_Read... [01:56:37]Read from MH i2c: E2 0B 00 13 18 00 8B FD 8E 6A FF 19 5D 18 90 00 B4 [01:56:37]RAPDU: 8B FD 8E 6A FF 19 5D 18 90 00 [01:56:37]wFMCommunicate OK [01:56:37]SAM_PROTO_SignData done [01:56:37]FM_MakeSignedData done [01:56:37]CreateOFDProtocolMessage [01:56:37]wFMCommunicate request_size=4 [01:56:37]MH_SAM_APDU [01:56:37]CAPDU: 80 11 00 00 [01:56:37]Write to MH i2c: E2 08 00 14 18 80 11 00 00 00 00 00 00 A6 [01:56:37]Write i2c OK [01:56:37]MH_I2C_Read... [01:56:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:56:37]Read from MH i2c: E2 [01:56:37]MH_I2C_Read... [01:56:37]Read from MH i2c: E2 17 00 [01:56:37]MH_I2C_Read... [01:56:37]Read from MH i2c: E2 17 00 14 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F6 [01:56:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [01:56:37]wFMCommunicate OK [01:56:37]CreateOFDProtocolMessage done [01:56:37]OFDSenderStorePacket 37762 [01:56:37]StoreOFDPacket docnum=37762 [01:56: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 10 01 00 00 3F 34 08 01 60 87 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 59 EF 1E 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 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 82 93 00 00 35 04 06 00 76 8A 31 89 5C AA 8B FD 8E 6A FF 19 5D 18 [01:56:37]CheckFolder [01:56:37]dirname=/storage/ofd_packets [01:56:37]CheckFolder done [01:56:37]ProducePacketName [01:56:37]name=ofd_packets/00037762 [01:56:37]NVStorageSaveData ofd_packets/00037762 [01:56:37]File name is /storage/ofd_packets/00037762 [01:56:37]Write 302 bytes [01:56:37]NVStorageSaveData done [01:56:37]OFDSenderStorePacket done [01:56:37]KKMCreateOFDPacket done [01:56:37]NVStorageSaveData kkm_last_timestamp [01:56:37]File name is /storage/kkm_last_timestamp [01:56:37]Write 4 bytes [01:56:37]NVStorageSaveData done [01:56:37]ExternCall_PrintAddStr [01:56:37]wPrintStart [01:56:37]Write to MH i2c: 01 00 00 15 18 2D [01:56:37]Write i2c OK [01:56:37]MH_I2C_Read... [01:56:37]Read from MH i2c: 01 [01:56:37]MH_I2C_Read... [01:56:37]Read from MH i2c: 01 07 00 [01:56:37]MH_I2C_Read... [01:56:37]Read from MH i2c: 01 07 00 15 18 00 00 00 00 00 FF 0F 42 [01:56:37]RasterBufferAndPrint [01:56:37]line Счет N : (3)35059 [01:56:37]line ИНН: 02508201610067 [01:56:37]line Контрольно-Кассовый Чек [01:56:37]line ПРОДАЖА [01:56:37]line Товар: 48744539 [01:56:37]line LD Compact Blue [01:56:37]line 1.000 * 134.00 [01:56:37]line = 134.00 [01:56:37]line НДС 12% НСП 1% [01:56:37]line > о реализуемом товаре [01:56:37]line ИТОГО: 134.00 [01:56:37]line НСП 1% : 1.19 [01:56:37]line НДС 12% : 14.23 [01:56:37]line Наличными: 0.00 [01:56:37]line Безнал.: 134.00 [01:56:37]line Место: АЗС № 126 "Партнер Нефть" [01:56:37]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [01:56:37]line СНО: Общий режим [01:56:37]line Чек 5 28.10.2024 01:56 [01:56:37]line Смена: 551 ФФД: 1.0 [01:56:37]line ЗНМ: 0300000092 [01:56:37]line РНМ: 0000000000091684 [01:56:37]line Версия ККМ: 001 [01:56:37]line Платежная система: Mbank [01:56:37]line ФМ: 0000000000871841 [01:56:37]line ФД: 37762 [01:56:37]line ФПД: 130335908650154 [01:56:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T015641&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37762&fm=130335908650154&tin=02508201610067®Number=0000000000091684&sum=13400 [01:56:37]line 0 [01:56:37]written 0, free lines is 4095 [01:56:37]OFD Sender: Processing packet 37762 [packets to send 42, broken 41] [01:56:37]ProducePacketName [01:56:37]name=ofd_packets/00037762 [01:56:37]OFD Sender: To server: pG, [01:56:37]CommunicateWithHost lk.salyk.kg:30040 [01:56:37]ConnectInit lk.salyk.kg [01:56:37]Connected sock=10 [01:56: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 10 01 00 00 3F 34 08 01 60 87 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 59 EF 1E 67 0E 04 04 00 27 02 00 00 B9 04 01 00 01 0D 04 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 82 93 00 00 35 04 06 00 76 8A 31 89 5C AA 8B FD 8E 6A FF 19 5D 18 [01:56:38]Write to MH i2c: 01 00 00 3E 18 56 [01:56:38]Write i2c OK [01:56:38]MH_I2C_Read... [01:56:38]Read from MH i2c: 01 [01:56:38]MH_I2C_Read... [01:56:38]Read from MH i2c: 01 07 00 [01:56:38]MH_I2C_Read... [01:56:38]Read from MH i2c: 01 07 00 3E 18 00 00 00 00 00 B6 0C 1F [01:56:38]RasterBufferAndPrint [01:56:38]line [01:56:38]line [01:56:38]line [01:56:38]line [01:56:38]line [01:56:38]written 0, free lines is 3262 [01:56:38]MH_Cut [01:56:38]Write to MH i2c: D1 01 00 45 18 01 2F [01:56:38]Write i2c OK [01:56:38]MH_I2C_Read... [01:56:38]Read from MH i2c: D1 [01:56:38]MH_I2C_Read... [01:56:38]Read from MH i2c: D1 01 00 [01:56:38]MH_I2C_Read... [01:56:38]Read from MH i2c: D1 01 00 45 18 00 2E [01:56:38]Write to MH i2c: 01 00 00 46 18 5E [01:56:38]Write i2c OK [01:56:38]MH_I2C_Read... [01:56: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 CD F1 47 00 00 99 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 82 93 00 00 F4 03 04 00 4F 9A 1E 67 B6 04 01 00 00 3A 72 7F A1 CB B2 61 D7 [01:56:38]CommunicateWithHost err = 0 [01:56:38]CheckOFDResponse [01:56:38]1017 (14) - 77093643461234 [01:56:38]1041 (16) - 0000000000871841 [01:56:38]1040 (4) - 37762 [01:56:38]1012 (4) - 27.10.2024 19:53 [01:56:38]1206 (1) - 0 [01:56:38]OFD Sender: Remove packet 37762 [01:56:38]ProducePacketName [01:56:38]name=ofd_packets/00037762 [01:56:38]NVStorageDeleteData [01:56:38]OFD Sender: No OFD packet to send [01:56:39]*** Cut start [01:56:39]*** Partial cut [01:56:39]*** CUTSNS_PIN = 1 [01:56:39]*** CUTSNS_PIN = 0 [01:56:39]*** Brake cut motor [01:56:39]Read from MH i2c: 01 [01:56:39]MH_I2C_Read... [01:56:39]*** Stop cut motor [01:56:39]*** Cut end [01:56:39]Read from MH i2c: 01 07 00 [01:56:39]MH_I2C_Read... [01:56:39]Read from MH i2c: 01 07 00 46 18 00 00 00 00 00 FF 0F 73 [01:56:39]process_action close_receipt done [01:56:39]requested_data is exist [01:56:39]produce_requested_data [01:56:39]requested_item fm.sn is exist - process it [01:56:39]wFMCommunicate request_size=4 [01:56:39]MH_SAM_APDU [01:56:39]CAPDU: 80 11 00 00 [01:56:39]Write to MH i2c: E2 08 00 47 18 80 11 00 00 00 00 00 00 D9 [01:56:39]Write i2c OK [01:56:39]MH_I2C_Read... [01:56:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:56:39]Read from MH i2c: E2 [01:56:39]MH_I2C_Read... [01:56:39]Read from MH i2c: E2 17 00 [01:56:39]MH_I2C_Read... [01:56:39]Read from MH i2c: E2 17 00 47 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 29 [01:56:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [01:56:39]wFMCommunicate OK [01:56:39]requested_item fd.num is exist - process it [01:56:39]SAM_PROTO_GetFieldsCounters [01:56:39]wFMCommunicate request_size=4 [01:56:39]MH_SAM_APDU [01:56:39]CAPDU: 80 13 00 00 [01:56:39]Write to MH i2c: E2 08 00 48 18 80 13 00 00 00 00 00 00 DC [01:56:39]Write i2c OK [01:56:39]MH_I2C_Read... [01:56:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:56:39]Read from MH i2c: E2 [01:56:39]MH_I2C_Read... [01:56:39]Read from MH i2c: E2 62 00 [01:56:39]MH_I2C_Read... [01:56:39]Read from MH i2c: E2 62 00 48 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 82 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 4A [01:56: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 82 93 00 00 0E 04 04 00 27 02 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:56:39]wFMCommunicate OK [01:56:39]SAM_PROTO_GetFieldsCounters done [01:56:39]requested_item shift.num is exist - process it [01:56:39]requested_item shift.opened is exist - process it [01:56:39]req_shift_opened [01:56:39]FM_GetShiftState [01:56:39]SAM_PROTO_GetShiftState [01:56:39]wFMCommunicate request_size=4 [01:56:39]MH_SAM_APDU [01:56:39]CAPDU: 80 13 01 00 [01:56:39]Write to MH i2c: E2 08 00 49 18 80 13 01 00 00 00 00 00 DE [01:56:39]Write i2c OK [01:56:39]MH_I2C_Read... [01:56:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:56:39]Read from MH i2c: E2 [01:56:39]MH_I2C_Read... [01:56:39]Read from MH i2c: E2 0E 00 [01:56:39]MH_I2C_Read... [01:56:39]Read from MH i2c: E2 0E 00 49 18 00 09 00 01 1C D5 1E 67 00 00 00 00 90 00 60 [01:56:39]RAPDU: 09 00 01 1C D5 1E 67 00 00 00 00 90 00 [01:56:39]wFMCommunicate OK [01:56:39]SAM_PROTO_GetShiftState done [01:56:39]FM_GetShiftState done [01:56:39]req_shift_opened done [01:56:39]requested_item shift.open_date is exist - process it [01:56:39]req_shift_open_date [01:56:39]req_shift_open_date done [01:56:39]produce_requested_data done [01:56:39]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37762,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884} [01:56:39]process_action_free close_receipt [01:56:39]json_value_free [01:56:39]json_value_free done [01:56:39]process_json_proto returns [01:56:39]Send response to host [01:56:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37762,"shift.num":551,"shift.opened":1,"shift.open_date":1730073884}}} [01:56:39]free response buf [01:56:39]execute_script done [01:56:39]execute_script returns [01:56:39]free content buf [01:56:39]Sock 9.Close socket [01:56:39]Sock 9.Thread stoped [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:08]OFD Sender: No OFD packet to send [01:58:13]OFD Sender: No OFD packet to send [01:58:18]OFD Sender: No OFD packet to send [01:58:23]OFD Sender: No OFD packet to send [01:58:28]OFD Sender: No OFD packet to send [01:58:33]OFD Sender: No OFD packet to send [01:58:38]OFD Sender: No OFD packet to send [01:58:43]OFD Sender: No OFD packet to send [01:58:48]OFD Sender: No OFD packet to send [01:58:53]OFD Sender: No OFD packet to send [01:58:58]OFD Sender: No OFD packet to send [01:59:03]OFD Sender: No OFD packet to send [01:59:08]OFD Sender: No OFD packet to send [01:59:13]OFD Sender: No OFD packet to send [01:59:18]OFD Sender: No OFD packet to send [01:59:23]OFD Sender: No OFD packet to send [01:59:29]OFD Sender: No OFD packet to send [01:59:34]OFD Sender: No OFD packet to send [01:59:39]OFD Sender: No OFD packet to send [01:59:44]OFD Sender: No OFD packet to send [01:59:49]OFD Sender: No OFD packet to send [01:59:54]OFD Sender: No OFD packet to send [01:59:59]OFD Sender: No OFD packet to send [02:00:04]OFD Sender: No OFD packet to send [02:00:09]OFD Sender: No OFD packet to send [02:00:14]OFD Sender: No OFD packet to send [02:00:19]OFD Sender: No OFD packet to send [02:00:24]OFD Sender: No OFD packet to send [02:00:29]OFD Sender: No OFD packet to send [02:00:34]OFD Sender: No OFD packet to send [02:00:39]OFD Sender: No OFD packet to send [02:00:44]OFD Sender: No OFD packet to send [02:00:49]OFD Sender: No OFD packet to send [02:00:54]OFD Sender: No OFD packet to send [02:00:59]OFD Sender: No OFD packet to send [02:01:04]OFD Sender: No OFD packet to send [02:01:09]OFD Sender: No OFD packet to send [02:01:14]OFD Sender: No OFD packet to send [02:01:19]OFD Sender: No OFD packet to send [02:01:24]OFD Sender: No OFD packet to send [02:01:29]OFD Sender: No OFD packet to send [02:01:34]OFD Sender: No OFD packet to send [02:01:39]OFD Sender: No OFD packet to send [02:01:44]OFD Sender: No OFD packet to send [02:01:49]OFD Sender: No OFD packet to send [02:01:54]OFD Sender: No OFD packet to send [02:01:59]OFD Sender: No OFD packet to send [02:02:04]OFD Sender: No OFD packet to send [02:02:09]OFD Sender: No OFD packet to send [02:02:14]OFD Sender: No OFD packet to send [02:02:19]OFD Sender: No OFD packet to send [02:02:24]OFD Sender: No OFD packet to send [02:02:29]OFD Sender: No OFD packet to send [02:02:34]OFD Sender: No OFD packet to send [02:02:39]OFD Sender: No OFD packet to send [02:02:44]OFD Sender: No OFD packet to send [02:02:49]OFD Sender: No OFD packet to send [02:02:54]OFD Sender: No OFD packet to send [02:02:59]OFD Sender: No OFD packet to send [02:03:04]OFD Sender: No OFD packet to send [02:03:09]OFD Sender: No OFD packet to send [02:03:14]OFD Sender: No OFD packet to send [02:03:19]OFD Sender: No OFD packet to send [02:03:24]OFD Sender: No OFD packet to send [02:03:29]OFD Sender: No OFD packet to send [02:03:34]OFD Sender: No OFD packet to send [02:03:39]OFD Sender: No OFD packet to send [02:03:44]OFD Sender: No OFD packet to send [02:03:49]OFD Sender: No OFD packet to send [02:03:54]OFD Sender: No OFD packet to send [02:03:59]OFD Sender: No OFD packet to send [02:04:04]OFD Sender: No OFD packet to send [02:04:09]OFD Sender: No OFD packet to send [02:04:14]OFD Sender: No OFD packet to send [02:04:19]OFD Sender: No OFD packet to send [02:04:24]OFD Sender: No OFD packet to send [02:04:29]OFD Sender: No OFD packet to send [02:04:34]OFD Sender: No OFD packet to send [02:04:39]OFD Sender: No OFD packet to send [02:04:44]OFD Sender: No OFD packet to send [02:04:49]OFD Sender: No OFD packet to send [02:04:54]OFD Sender: No OFD packet to send [02:04:59]OFD Sender: No OFD packet to send [02:05:04]OFD Sender: No OFD packet to send [02:05:09]OFD Sender: No OFD packet to send [02:05:14]OFD Sender: No OFD packet to send [02:05:19]OFD Sender: No OFD packet to send [02:05:24]OFD Sender: No OFD packet to send [02:05:29]OFD Sender: No OFD packet to send [02:05:34]OFD Sender: No OFD packet to send [02:05:39]OFD Sender: No OFD packet to send [02:05:44]OFD Sender: No OFD packet to send [02:05:49]OFD Sender: No OFD packet to send [02:05:54]OFD Sender: No OFD packet to send [02:05:59]OFD Sender: No OFD packet to send [02:06:04]OFD Sender: No OFD packet to send [02:06:09]OFD Sender: No OFD packet to send [02:06:14]OFD Sender: No OFD packet to send [02:06:19]OFD Sender: No OFD packet to send [02:06:24]OFD Sender: No OFD packet to send [02:06:29]OFD Sender: No OFD packet to send [02:06:34]OFD Sender: No OFD packet to send [02:06:39]OFD Sender: No OFD packet to send [02:06:44]OFD Sender: No OFD packet to send [02:06:49]OFD Sender: No OFD packet to send [02:06:54]OFD Sender: No OFD packet to send [02:06:59]OFD Sender: No OFD packet to send [02:07:04]OFD Sender: No OFD packet to send [02:07:09]OFD Sender: No OFD packet to send [02:07:14]OFD Sender: No OFD packet to send [02:07:19]OFD Sender: No OFD packet to send [02:07:24]OFD Sender: No OFD packet to send [02:07:29]OFD Sender: No OFD packet to send [02:07:34]OFD Sender: No OFD packet to send [02:07:39]OFD Sender: No OFD packet to send [02:07:44]OFD Sender: No OFD packet to send [02:07:49]OFD Sender: No OFD packet to send [02:07:54]OFD Sender: No OFD packet to send [02:07:59]OFD Sender: No OFD packet to send [02:08:04]OFD Sender: No OFD packet to send [02:08:09]OFD Sender: No OFD packet to send [02:08:14]OFD Sender: No OFD packet to send [02:08:19]OFD Sender: No OFD packet to send [02:08:24]OFD Sender: No OFD packet to send [02:08:29]OFD Sender: No OFD packet to send [02:08:34]OFD Sender: No OFD packet to send [02:08:39]OFD Sender: No OFD packet to send [02:08:44]OFD Sender: No OFD packet to send [02:08:49]OFD Sender: No OFD packet to send [02:08:54]OFD Sender: No OFD packet to send [02:08:59]OFD Sender: No OFD packet to send [02:09:04]OFD Sender: No OFD packet to send [02:09:09]OFD Sender: No OFD packet to send [02:09:14]OFD Sender: No OFD packet to send [02:09:19]OFD Sender: No OFD packet to send [02:09:24]OFD Sender: No OFD packet to send [02:09:29]OFD Sender: No OFD packet to send [02:09:34]OFD Sender: No OFD packet to send [02:09:39]OFD Sender: No OFD packet to send [02:09:44]OFD Sender: No OFD packet to send [02:09:49]OFD Sender: No OFD packet to send [02:09:54]OFD Sender: No OFD packet to send [02:09:59]OFD Sender: No OFD packet to send [02:10:04]OFD Sender: No OFD packet to send [02:10:09]OFD Sender: No OFD packet to send [02:10:14]OFD Sender: No OFD packet to send [02:10:19]OFD Sender: No OFD packet to send [02:10:24]OFD Sender: No OFD packet to send [02:10:29]OFD Sender: No OFD packet to send [02:10:34]OFD Sender: No OFD packet to send [02:10:39]OFD Sender: No OFD packet to send [02:10:44]OFD Sender: No OFD packet to send [02:10:49]OFD Sender: No OFD packet to send [02:10:54]OFD Sender: No OFD packet to send [02:10:59]OFD Sender: No OFD packet to send [02:11:04]OFD Sender: No OFD packet to send [02:11:09]OFD Sender: No OFD packet to send [02:11:14]OFD Sender: No OFD packet to send [02:11:19]OFD Sender: No OFD packet to send [02:11:24]OFD Sender: No OFD packet to send [02:11:29]OFD Sender: No OFD packet to send [02:11:34]OFD Sender: No OFD packet to send [02:11:39]OFD Sender: No OFD packet to send [02:11:44]OFD Sender: No OFD packet to send [02:11:49]OFD Sender: No OFD packet to send [02:11:54]OFD Sender: No OFD packet to send [02:11:59]OFD Sender: No OFD packet to send [02:12:04]OFD Sender: No OFD packet to send [02:12:09]OFD Sender: No OFD packet to send [02:12:14]OFD Sender: No OFD packet to send [02:12:19]OFD Sender: No OFD packet to send [02:12:24]OFD Sender: No OFD packet to send [02:12:29]OFD Sender: No OFD packet to send [02:12:34]OFD Sender: No OFD packet to send [02:12:39]OFD Sender: No OFD packet to send [02:12:44]OFD Sender: No OFD packet to send [02:12:49]OFD Sender: No OFD packet to send [02:12:54]OFD Sender: No OFD packet to send [02:12:59]OFD Sender: No OFD packet to send [02:13:04]OFD Sender: No OFD packet to send [02:13:09]OFD Sender: No OFD packet to send [02:13:14]OFD Sender: No OFD packet to send [02:13:19]OFD Sender: No OFD packet to send [02:13:24]OFD Sender: No OFD packet to send [02:13:29]OFD Sender: No OFD packet to send [02:13:34]OFD Sender: No OFD packet to send [02:13:39]OFD Sender: No OFD packet to send [02:13:44]OFD Sender: No OFD packet to send [02:13:49]OFD Sender: No OFD packet to send [02:13:54]OFD Sender: No OFD packet to send [02:13:59]OFD Sender: No OFD packet to send [02:14:04]OFD Sender: No OFD packet to send [02:14:09]OFD Sender: No OFD packet to send [02:16:48]ConnectInit Can't connect to host [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:20]OFD Sender: No OFD packet to send [02:18:25]OFD Sender: No OFD packet to send [02:18:30]OFD Sender: No OFD packet to send [02:18:35]OFD Sender: No OFD packet to send [02:18:40]OFD Sender: No OFD packet to send [02:18:45]OFD Sender: No OFD packet to send [02:18:50]OFD Sender: No OFD packet to send [02:18:55]OFD Sender: No OFD packet to send [02:19:00]OFD Sender: No OFD packet to send [02:19:05]OFD Sender: No OFD packet to send [02:19:10]OFD Sender: No OFD packet to send [02:19:15]OFD Sender: No OFD packet to send [02:19:20]OFD Sender: No OFD packet to send [02:19:25]OFD Sender: No OFD packet to send [02:19:30]OFD Sender: No OFD packet to send [02:19:35]OFD Sender: No OFD packet to send [02:19:40]OFD Sender: No OFD packet to send [02:19:45]OFD Sender: No OFD packet to send [02:19:50]OFD Sender: No OFD packet to send [02:19:55]OFD Sender: No OFD packet to send [02:20:00]OFD Sender: No OFD packet to send [02:20:05]OFD Sender: No OFD packet to send [02:20:10]OFD Sender: No OFD packet to send [02:20:15]OFD Sender: No OFD packet to send [02:20:20]OFD Sender: No OFD packet to send [02:20:25]OFD Sender: No OFD packet to send [02:20:30]OFD Sender: No OFD packet to send [02:20:35]OFD Sender: No OFD packet to send [02:20:40]OFD Sender: No OFD packet to send [02:20:45]OFD Sender: No OFD packet to send [02:20:50]OFD Sender: No OFD packet to send [02:20:55]OFD Sender: No OFD packet to send [02:21:00]OFD Sender: No OFD packet to send [02:21:05]OFD Sender: No OFD packet to send [02:21:10]OFD Sender: No OFD packet to send [02:21:15]OFD Sender: No OFD packet to send [02:21:20]OFD Sender: No OFD packet to send [02:21:25]OFD Sender: No OFD packet to send [02:21:30]OFD Sender: No OFD packet to send [02:21:35]OFD Sender: No OFD packet to send [02:21:40]OFD Sender: No OFD packet to send [02:21:45]OFD Sender: No OFD packet to send [02:21:50]OFD Sender: No OFD packet to send [02:21:55]OFD Sender: No OFD packet to send [02:22:00]OFD Sender: No OFD packet to send [02:22:05]OFD Sender: No OFD packet to send [02:22:10]OFD Sender: No OFD packet to send [02:22:15]OFD Sender: No OFD packet to send [02:22:20]OFD Sender: No OFD packet to send [02:22:25]OFD Sender: No OFD packet to send [02:22:30]OFD Sender: No OFD packet to send [02:22:35]OFD Sender: No OFD packet to send [02:22:40]OFD Sender: No OFD packet to send [02:22:45]OFD Sender: No OFD packet to send [02:22:50]OFD Sender: No OFD packet to send [02:22:55]OFD Sender: No OFD packet to send [02:23:00]OFD Sender: No OFD packet to send [02:23:05]OFD Sender: No OFD packet to send [02:23:10]OFD Sender: No OFD packet to send [02:23:15]OFD Sender: No OFD packet to send [02:23:20]OFD Sender: No OFD packet to send [02:23:25]OFD Sender: No OFD packet to send [02:23:30]OFD Sender: No OFD packet to send [02:23:35]OFD Sender: No OFD packet to send [02:23:40]OFD Sender: No OFD packet to send [02:23:45]OFD Sender: No OFD packet to send [02:23:50]OFD Sender: No OFD packet to send [02:23:55]OFD Sender: No OFD packet to send [02:24:00]OFD Sender: No OFD packet to send [02:24:05]OFD Sender: No OFD packet to send [02:24:10]OFD Sender: No OFD packet to send [02:24:15]OFD Sender: No OFD packet to send [02:24:20]OFD Sender: No OFD packet to send [02:24:25]OFD Sender: No OFD packet to send [02:24:30]OFD Sender: No OFD packet to send [02:24:35]OFD Sender: No OFD packet to send [02:24:40]OFD Sender: No OFD packet to send [02:24:45]OFD Sender: No OFD packet to send [02:24:50]OFD Sender: No OFD packet to send [02:24:55]OFD Sender: No OFD packet to send [02:25:00]OFD Sender: No OFD packet to send [02:25:05]OFD Sender: No OFD packet to send [02:25:10]OFD Sender: No OFD packet to send [02:25:15]OFD Sender: No OFD packet to send [02:25:20]OFD Sender: No OFD packet to send [02:25:25]OFD Sender: No OFD packet to send [02:25:30]OFD Sender: No OFD packet to send [02:25:35]OFD Sender: No OFD packet to send [02:25:40]OFD Sender: No OFD packet to send [02:25:45]OFD Sender: No OFD packet to send [02:25:50]OFD Sender: No OFD packet to send [02:25:55]OFD Sender: No OFD packet to send [02:26:00]OFD Sender: No OFD packet to send [02:26:05]OFD Sender: No OFD packet to send [02:26:10]OFD Sender: No OFD packet to send [02:26:15]OFD Sender: No OFD packet to send [02:26:20]OFD Sender: No OFD packet to send [02:26:25]OFD Sender: No OFD packet to send [02:26:30]OFD Sender: No OFD packet to send [02:26:35]OFD Sender: No OFD packet to send [02:26:40]OFD Sender: No OFD packet to send [02:26:45]OFD Sender: No OFD packet to send [02:26:50]OFD Sender: No OFD packet to send [02:26:55]OFD Sender: No OFD packet to send [02:27:00]OFD Sender: No OFD packet to send [02:27:05]OFD Sender: No OFD packet to send [02:27:10]OFD Sender: No OFD packet to send [02:27:15]OFD Sender: No OFD packet to send [02:27:20]OFD Sender: No OFD packet to send [02:27:25]OFD Sender: No OFD packet to send [02:27:30]OFD Sender: No OFD packet to send [02:27:35]OFD Sender: No OFD packet to send [02:27:40]OFD Sender: No OFD packet to send [02:27:45]OFD Sender: No OFD packet to send [02:27:50]OFD Sender: No OFD packet to send [02:27:55]OFD Sender: No OFD packet to send [02:28:00]OFD Sender: No OFD packet to send [02:28:05]OFD Sender: No OFD packet to send [02:28:10]OFD Sender: No OFD packet to send [02:28:15]OFD Sender: No OFD packet to send [02:28:20]OFD Sender: No OFD packet to send [02:28:25]OFD Sender: No OFD packet to send [02:28:30]OFD Sender: No OFD packet to send [02:28:35]OFD Sender: No OFD packet to send [02:28:40]OFD Sender: No OFD packet to send [02:28:45]OFD Sender: No OFD packet to send [02:28:50]OFD Sender: No OFD packet to send [02:28:55]OFD Sender: No OFD packet to send [02:29:00]OFD Sender: No OFD packet to send [02:29:05]OFD Sender: No OFD packet to send [02:29:10]OFD Sender: No OFD packet to send [02:29:15]OFD Sender: No OFD packet to send [02:29:20]OFD Sender: No OFD packet to send [02:29:25]OFD Sender: No OFD packet to send [02:29:30]OFD Sender: No OFD packet to send [02:29:35]OFD Sender: No OFD packet to send [02:29:40]OFD Sender: No OFD packet to send [02:29:45]OFD Sender: No OFD packet to send [02:29:50]OFD Sender: No OFD packet to send [02:29:55]OFD Sender: No OFD packet to send [02:30:00]OFD Sender: No OFD packet to send [02:30:05]OFD Sender: No OFD packet to send [02:30:10]OFD Sender: No OFD packet to send [02:30:15]OFD Sender: No OFD packet to send [02:30:20]OFD Sender: No OFD packet to send [02:30:25]OFD Sender: No OFD packet to send [02:30:30]OFD Sender: No OFD packet to send [02:30:35]OFD Sender: No OFD packet to send [02:30:40]OFD Sender: No OFD packet to send [02:30:45]OFD Sender: No OFD packet to send [02:30:50]OFD Sender: No OFD packet to send [02:30:55]OFD Sender: No OFD packet to send [02:31:00]OFD Sender: No OFD packet to send [02:31:05]OFD Sender: No OFD packet to send [02:31:10]OFD Sender: No OFD packet to send [02:31:15]OFD Sender: No OFD packet to send [02:31:20]OFD Sender: No OFD packet to send [02:31:25]OFD Sender: No OFD packet to send [02:31:30]OFD Sender: No OFD packet to send [02:31:35]OFD Sender: No OFD packet to send [02:31:40]OFD Sender: No OFD packet to send [02:31:45]OFD Sender: No OFD packet to send [02:31:50]OFD Sender: No OFD packet to send [02:31:55]OFD Sender: No OFD packet to send [02:32:00]OFD Sender: No OFD packet to send [02:32:05]OFD Sender: No OFD packet to send [02:32:10]OFD Sender: No OFD packet to send [02:32:15]OFD Sender: No OFD packet to send [02:32:20]OFD Sender: No OFD packet to send [02:32:25]OFD Sender: No OFD packet to send [02:32:30]OFD Sender: No OFD packet to send [02:32:35]OFD Sender: No OFD packet to send [02:32:40]OFD Sender: No OFD packet to send [02:32: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: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:01]OFD Sender: No OFD packet to send [02:37:06]OFD Sender: No OFD packet to send [02:37:11]OFD Sender: No OFD packet to send [02:37:16]OFD Sender: No OFD packet to send [02:37:21]OFD Sender: No OFD packet to send [02:37:26]OFD Sender: No OFD packet to send [02:37:31]OFD Sender: No OFD packet to send [02:37:31]ConnectInit Can't connect to host [02:37:36]OFD Sender: No OFD packet to send [02:37:41]OFD Sender: No OFD packet to send [02:37:46]OFD Sender: No OFD packet to send [02:37:51]OFD Sender: No OFD packet to send [02:37:56]OFD Sender: No OFD packet to send [02:38:01]OFD Sender: No OFD packet to send [02:38:06]OFD Sender: No OFD packet to send [02:38:11]OFD Sender: No OFD packet to send [02:38:16]OFD Sender: No OFD packet to send [02:38:21]OFD Sender: No OFD packet to send [02:38:26]OFD Sender: No OFD packet to send [02:38:31]OFD Sender: No OFD packet to send [02:38:36]OFD Sender: No OFD packet to send [02:38:41]OFD Sender: No OFD packet to send [02:38:46]OFD Sender: No OFD packet to send [02:38:51]OFD Sender: No OFD packet to send [02:38:56]OFD Sender: No OFD packet to send [02:39:01]OFD Sender: No OFD packet to send [02:39:06]OFD Sender: No OFD packet to send [02:39:11]OFD Sender: No OFD packet to send [02:39:16]OFD Sender: No OFD packet to send [02:39:21]OFD Sender: No OFD packet to send [02:39:26]OFD Sender: No OFD packet to send [02:39:31]OFD Sender: No OFD packet to send [02:39:36]OFD Sender: No OFD packet to send [02:39:41]OFD Sender: No OFD packet to send [02:39:46]OFD Sender: No OFD packet to send [02:39:51]OFD Sender: No OFD packet to send [02:39:56]OFD Sender: No OFD packet to send [02:40:01]OFD Sender: No OFD packet to send [02:40:06]OFD Sender: No OFD packet to send [02:40:11]OFD Sender: No OFD packet to send [02:40:16]OFD Sender: No OFD packet to send [02:40:21]OFD Sender: No OFD packet to send [02:40:26]OFD Sender: No OFD packet to send [02:40:31]OFD Sender: No OFD packet to send [02:40:36]OFD Sender: No OFD packet to send [02:40:41]OFD Sender: No OFD packet to send [02:40:46]OFD Sender: No OFD packet to send [02:40:51]OFD Sender: No OFD packet to send [02:40:56]OFD Sender: No OFD packet to send [02:41:01]OFD Sender: No OFD packet to send [02:41:06]OFD Sender: No OFD packet to send [02:41:11]OFD Sender: No OFD packet to send [02:41:16]OFD Sender: No OFD packet to send [02:41:21]OFD Sender: No OFD packet to send [02:41:26]OFD Sender: No OFD packet to send [02:41:31]OFD Sender: No OFD packet to send [02:41:36]OFD Sender: No OFD packet to send [02:41:41]OFD Sender: No OFD packet to send [02:41:46]OFD Sender: No OFD packet to send [02:41:51]OFD Sender: No OFD packet to send [02:41:56]OFD Sender: No OFD packet to send [02:42:01]OFD Sender: No OFD packet to send [02:42:06]OFD Sender: No OFD packet to send [02:42:11]OFD Sender: No OFD packet to send [02:42:16]OFD Sender: No OFD packet to send [02:42:21]OFD Sender: No OFD packet to send [02:42:26]OFD Sender: No OFD packet to send [02:42:31]OFD Sender: No OFD packet to send [02:42:36]OFD Sender: No OFD packet to send [02:42:41]OFD Sender: No OFD packet to send [02:42:46]OFD Sender: No OFD packet to send [02:42:51]OFD Sender: No OFD packet to send [02:42:56]OFD Sender: No OFD packet to send [02:43:01]OFD Sender: No OFD packet to send [02:43:06]OFD Sender: No OFD packet to send [02:43:11]OFD Sender: No OFD packet to send [02:43:16]OFD Sender: No OFD packet to send [02:43:21]OFD Sender: No OFD packet to send [02:43:26]OFD Sender: No OFD packet to send [02:43:31]OFD Sender: No OFD packet to send [02:43:36]OFD Sender: No OFD packet to send [02:43:41]OFD Sender: No OFD packet to send [02:43:46]OFD Sender: No OFD packet to send [02:43:51]OFD Sender: No OFD packet to send [02:43:56]OFD Sender: No OFD packet to send [02:44:01]OFD Sender: No OFD packet to send [02:44:06]OFD Sender: No OFD packet to send [02:44:11]OFD Sender: No OFD packet to send [02:44:16]OFD Sender: No OFD packet to send [02:44:21]OFD Sender: No OFD packet to send [02:44:26]OFD Sender: No OFD packet to send [02:44:31]OFD Sender: No OFD packet to send [02:44:36]OFD Sender: No OFD packet to send [02:44:41]OFD Sender: No OFD packet to send [02:44:46]OFD Sender: No OFD packet to send [02:44:51]OFD Sender: No OFD packet to send [02:44:56]OFD Sender: No OFD packet to send [02:45:01]OFD Sender: No OFD packet to send [02:45:06]OFD Sender: No OFD packet to send [02:45:11]OFD Sender: No OFD packet to send [02:45:16]OFD Sender: No OFD packet to send [02:45:21]OFD Sender: No OFD packet to send [02:45:26]OFD Sender: No OFD packet to send [02:45:31]OFD Sender: No OFD packet to send [02:45:36]OFD Sender: No OFD packet to send [02:45:41]OFD Sender: No OFD packet to send [02:45:46]OFD Sender: No OFD packet to send [02:45:51]OFD Sender: No OFD packet to send [02:45:56]OFD Sender: No OFD packet to send [02:46:01]OFD Sender: No OFD packet to send [02:46:06]OFD Sender: No OFD packet to send [02:46:11]OFD Sender: No OFD packet to send [02:46:16]OFD Sender: No OFD packet to send [02:46:21]OFD Sender: No OFD packet to send [02:46:26]OFD Sender: No OFD packet to send [02:46:31]OFD Sender: No OFD packet to send [02:46:36]OFD Sender: No OFD packet to send [02:46:41]OFD Sender: No OFD packet to send [02:46:46]OFD Sender: No OFD packet to send [02:46:51]OFD Sender: No OFD packet to send [02:46:56]OFD Sender: No OFD packet to send [02:47:01]OFD Sender: No OFD packet to send [02:47:06]OFD Sender: No OFD packet to send [02:47:11]OFD Sender: No OFD packet to send [02:47:16]OFD Sender: No OFD packet to send [02:47:21]OFD Sender: No OFD packet to send [02:47:26]OFD Sender: No OFD packet to send [02:47:31]OFD Sender: No OFD packet to send [02:47:36]OFD Sender: No OFD packet to send [02:47:41]OFD Sender: No OFD packet to send [02:47:46]OFD Sender: No OFD packet to send [02:47:51]OFD Sender: No OFD packet to send [02:47:56]OFD Sender: No OFD packet to send [02:48:01]OFD Sender: No OFD packet to send [02:48:06]OFD Sender: No OFD packet to send [02:48:11]OFD Sender: No OFD packet to send [02:48:16]OFD Sender: No OFD packet to send [02:48:21]OFD Sender: No OFD packet to send [02:48:26]OFD Sender: No OFD packet to send [02:48:31]OFD Sender: No OFD packet to send [02:48:36]OFD Sender: No OFD packet to send [02:48:41]OFD Sender: No OFD packet to send [02:48:46]OFD Sender: No OFD packet to send [02:48:51]OFD Sender: No OFD packet to send [02:48:56]OFD Sender: No OFD packet to send [02:49:01]OFD Sender: No OFD packet to send [02:49:06]OFD Sender: No OFD packet to send [02:49:11]OFD Sender: No OFD packet to send [02:49:16]OFD Sender: No OFD packet to send [02:49:21]OFD Sender: No OFD packet to send [02:49:26]OFD Sender: No OFD packet to send [02:49:31]OFD Sender: No OFD packet to send [02:49:36]OFD Sender: No OFD packet to send [02:49:41]OFD Sender: No OFD packet to send [02:49:46]OFD Sender: No OFD packet to send [02:49:51]OFD Sender: No OFD packet to send [02:49:56]OFD Sender: No OFD packet to send [02:50:01]OFD Sender: No OFD packet to send [02:50:06]OFD Sender: No OFD packet to send [02:50:11]OFD Sender: No OFD packet to send [02:50:16]OFD Sender: No OFD packet to send [02:50:21]OFD Sender: No OFD packet to send [02:50:26]OFD Sender: No OFD packet to send [02:50:31]OFD Sender: No OFD packet to send [02:50:36]OFD Sender: No OFD packet to send [02:50:41]OFD Sender: No OFD packet to send [02:50:46]OFD Sender: No OFD packet to send [02:50:51]OFD Sender: No OFD packet to send [02:50:56]OFD Sender: No OFD packet to send [02:51:01]OFD Sender: No OFD packet to send [02:51:06]OFD Sender: No OFD packet to send [02:51:11]OFD Sender: No OFD packet to send [02:51:16]OFD Sender: No OFD packet to send [02:51:21]OFD Sender: No OFD packet to send [02:51:26]OFD Sender: No OFD packet to send [02:51:31]OFD Sender: No OFD packet to send [02:51:36]OFD Sender: No OFD packet to send [02:51:41]OFD Sender: No OFD packet to send [02:51:46]OFD Sender: No OFD packet to send [02:51:51]OFD Sender: No OFD packet to send [02:51:56]OFD Sender: No OFD packet to send [02:52:01]OFD Sender: No OFD packet to send [02:52:06]OFD Sender: No OFD packet to send [02:52:11]OFD Sender: No OFD packet to send [02:52:16]OFD Sender: No OFD packet to send [02:52:21]OFD Sender: No OFD packet to send [02:52:26]OFD Sender: No OFD packet to send [02:52:31]OFD Sender: No OFD packet to send [02:52:36]OFD Sender: No OFD packet to send [02:52:41]OFD Sender: No OFD packet to send [02:52:46]OFD Sender: No OFD packet to send [02:52:51]OFD Sender: No OFD packet to send [02:52:56]OFD Sender: No OFD packet to send [02:53:01]OFD Sender: No OFD packet to send [02:53:06]OFD Sender: No OFD packet to send [02:53:11]OFD Sender: No OFD packet to send [02:53:16]OFD Sender: No OFD packet to send [02:53:21]OFD Sender: No OFD packet to send [02:53:26]OFD Sender: No OFD packet to send [02:53:31]OFD Sender: No OFD packet to send [02:53:36]OFD Sender: No OFD packet to send [02:53:41]OFD Sender: No OFD packet to send [02:53:46]OFD Sender: No OFD packet to send [02:53:51]OFD Sender: No OFD packet to send [02:53:56]OFD Sender: No OFD packet to send [02:54:01]OFD Sender: No OFD packet to send [02:54:06]OFD Sender: No OFD packet to send [02:54:11]OFD Sender: No OFD packet to send [02:54:16]OFD Sender: No OFD packet to send [02:54: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:42]OFD Sender: No OFD packet to send [02:55:47]OFD Sender: No OFD packet to send [02:55:52]OFD Sender: No OFD packet to send [02:55:57]OFD Sender: No OFD packet to send [02:56:02]OFD Sender: No OFD packet to send [02:56:07]OFD Sender: No OFD packet to send [02:56:12]OFD Sender: No OFD packet to send [02:56:17]OFD Sender: No OFD packet to send [02:56:22]OFD Sender: No OFD packet to send [02:56:27]OFD Sender: No OFD packet to send [02:56:32]OFD Sender: No OFD packet to send [02:56:37]OFD Sender: No OFD packet to send [02:56:42]OFD Sender: No OFD packet to send [02:56:47]OFD Sender: No OFD packet to send [02:56:52]OFD Sender: No OFD packet to send [02:56:57]OFD Sender: No OFD packet to send [02:57:02]OFD Sender: No OFD packet to send [02:57:07]OFD Sender: No OFD packet to send [02:57:12]OFD Sender: No OFD packet to send [02:57:17]OFD Sender: No OFD packet to send [02:57:22]OFD Sender: No OFD packet to send [02:57:27]OFD Sender: No OFD packet to send [02:57:32]OFD Sender: No OFD packet to send [02:57:37]OFD Sender: No OFD packet to send [02:57:42]OFD Sender: No OFD packet to send [02:57:47]OFD Sender: No OFD packet to send [02:57:52]OFD Sender: No OFD packet to send [02:57:57]OFD Sender: No OFD packet to send [02:58:02]OFD Sender: No OFD packet to send [02:58:07]OFD Sender: No OFD packet to send [02:58:12]OFD Sender: No OFD packet to send [02:58:17]OFD Sender: No OFD packet to send [02:58:22]OFD Sender: No OFD packet to send [02:58:27]OFD Sender: No OFD packet to send [02:58:32]OFD Sender: No OFD packet to send [02:58:37]OFD Sender: No OFD packet to send [02:58:42]OFD Sender: No OFD packet to send [02:58:47]OFD Sender: No OFD packet to send [02:58:52]OFD Sender: No OFD packet to send [02:58:57]OFD Sender: No OFD packet to send [02:59:02]OFD Sender: No OFD packet to send [02:59:07]OFD Sender: No OFD packet to send [02:59:12]OFD Sender: No OFD packet to send [02:59:17]OFD Sender: No OFD packet to send [02:59:22]OFD Sender: No OFD packet to send [02:59:27]OFD Sender: No OFD packet to send [02:59:32]OFD Sender: No OFD packet to send [02:59:37]OFD Sender: No OFD packet to send [02:59:42]OFD Sender: No OFD packet to send [02:59:47]OFD Sender: No OFD packet to send [02:59:52]OFD Sender: No OFD packet to send [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