[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:54]recv_with_timeout no data received [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:38]recv_with_timeout no data received [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:10]recv_with_timeout no data received [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:39]recv_with_timeout no data received [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:45]accept exits with 7 [03:11:45]New connection [03:11:45]New thread 3067489636 created [03:11:45]Thread 3067632996 joined [03:11:45]Waiting for new connection... [03:11:45] Sock 7.Parse request [03:11:45]Sock 7.Check first char [03:11:45]Sock 7.First char is OK [03:11:45]request: POST /json_proto HTTP/1.0 [03:11:45]Method: POST [03:11:45]URL: /json_proto [03:11:45]Method is POST - this is cgi request [03:11:45]url: /json_proto [03:11:45]query_string will be loaded in cgi processing [03:11:45]execute_cgi json_proto POST (null) [03:11:45]execute_cgi path=json_proto method=POST [03:11:45]POST find Content-Length [03:11:45]Host: 172.17.47.195:8080 [03:11:45]Content-Length: 682 [03:11:45]Content-Type: application/json [03:11:45] [03:11:45]POST finish read [03:11:45]Found Content-Length = 682 [03:11:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872490", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 14.750, "sum" : 1000.05, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:11:45]execute_script... [03:11:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872490", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 14.750, "sum" : 1000.05, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:11:45]POST & json_proto [03:11:45]process_json_proto [03:11:45]json parsed OK: [03:11:45]protocol is kg_v1.0 [03:11:45]action value=close_receipt [03:11:45]process_action close_receipt [03:11:45]cmd_close_receipt [03:11:45]MH_GetDate [03:11:45]Write to MH i2c: F0 00 00 68 00 57 [03:11:45]Write i2c OK [03:11:45]MH_I2C_Read... [03:11:45]Read from MH i2c: F0 [03:11:45]MH_I2C_Read... [03:11:45]Read from MH i2c: F0 09 00 [03:11:45]MH_I2C_Read... [03:11:45]Read from MH i2c: F0 09 00 68 00 00 F1 2D F2 66 96 2E 95 66 95 [03:11:45]GetLastDocTimeStamp 1727146653 [03:11:45]current date 1727147505 [03:11:45]FM_GetShiftState [03:11:45]SAM_PROTO_GetShiftState [03:11:45]wFMCommunicate request_size=4 [03:11:45]MH_SAM_APDU [03:11:45]CAPDU: 80 13 01 00 [03:11:45]Write to MH i2c: E2 08 00 69 00 80 13 01 00 00 00 00 00 E6 [03:11:45]Write i2c OK [03:11:45]MH_I2C_Read... [03:11:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:11:45]Read from MH i2c: E2 [03:11:45]MH_I2C_Read... [03:11:45]Read from MH i2c: E2 0E 00 [03:11:45]MH_I2C_Read... [03:11:45]Read from MH i2c: E2 0E 00 69 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 8C [03:11:45]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [03:11:45]wFMCommunicate OK [03:11:45]SAM_PROTO_GetShiftState done [03:11:45]FM_GetShiftState done [03:11:45]opened in 1727137340 [03:11:45]opened+sec_in_day 1727223740 [03:11:45]quantity*price = 100005 [03:11:45]sum+1 = 100006 [03:11:45]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.05 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.20 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 17 24.09.2024 03:11 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 ФМ: 0000000002094258 ФД: 7881 ФПД: 39899214249979 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T031145&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7881&fm=39899214249979&tin=02508201610067®Number=0000000000190446&sum=100000 [03:11:46]StoreToDocumentArchive [03:11:46]shift 72 fd 7881 [03:11:46]save to /storage/0072/doc_00007881 [03:11:46]save last doc name /storage/0072/doc_00007881 to /storage/kkm_last_doc_name [03:11:46]save OK [03:11:46]Clear old archive folders... [03:11:46]ProcessDocumentItem done err = 0, tmpTLVsize=251 [03:11:46]tlvbuf is 0104CD30 [03:11:46]SAM_PROTO_ClearQueue [03:11:46]wFMCommunicate request_size=4 [03:11:46]MH_SAM_APDU [03:11:46]CAPDU: 80 09 00 00 [03:11:46]Write to MH i2c: E2 08 00 76 00 80 09 00 00 00 00 00 00 E8 [03:11:46]Write i2c OK [03:11:46]MH_I2C_Read... [03:11:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:11:46]Read from MH i2c: E2 [03:11:46]MH_I2C_Read... [03:11:46]Read from MH i2c: E2 03 00 [03:11:46]MH_I2C_Read... [03:11:46]Read from MH i2c: E2 03 00 76 00 00 90 00 EA [03:11:46]RAPDU: 90 00 [03:11:46]wFMCommunicate OK [03:11:46]SAM_PROTO_ClearQueue done [03:11:46]KKMCreateOFDPacket [03:11:46]OFDProtocolAddRootSTLVToBuf [03:11:46]FM_MakeSignedData [03:11:46]FM_MakeSignedData [03:11:46]SAM_PROTO_SignData [03:11:46]wFMCommunicate request_size=4 [03:11:46]MH_SAM_APDU [03:11:46]CAPDU: 80 0D 01 02 [03:11:46]Write to MH i2c: E2 08 00 77 00 80 0D 01 02 00 00 00 00 F0 [03:11:46]Write i2c OK [03:11:46]MH_I2C_Read... [03:11:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:11:46]Read from MH i2c: E2 [03:11:46]MH_I2C_Read... [03:11:46]Read from MH i2c: E2 03 00 [03:11:46]MH_I2C_Read... [03:11:46]Read from MH i2c: E2 03 00 77 00 00 90 00 EB [03:11:46]RAPDU: 90 00 [03:11:46]wFMCommunicate OK [03:11:46]wFMCommunicate request_size=255 [03:11:46]MH_SAM_APDU [03:11:46]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 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 F1 2D F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 C9 1E 00 00 35 04 06 00 24 [03:11:46]Write to MH i2c: E2 02 01 78 00 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 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 F1 2D F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 C9 1E 00 00 35 04 06 00 24 00 00 D5 [03:11:46]Write i2c OK [03:11:46]MH_I2C_Read... [03:11:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:11:46]Read from MH i2c: E2 [03:11:46]MH_I2C_Read... [03:11:46]Read from MH i2c: E2 03 00 [03:11:46]MH_I2C_Read... [03:11:46]Read from MH i2c: E2 03 00 78 00 00 90 00 EC [03:11:46]RAPDU: 90 00 [03:11:46]wFMCommunicate OK [03:11:46]wFMCommunicate request_size=10 [03:11:46]MH_SAM_APDU [03:11:46]CAPDU: 80 0D 02 02 05 49 C2 7D FF FB [03:11:46]Write to MH i2c: E2 0D 00 79 00 80 0D 02 02 05 00 49 C2 7D FF FB 00 00 7F [03:11:46]Write i2c OK [03:11:46]MH_I2C_Read... [03:11:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:11:46]Read from MH i2c: E2 [03:11:46]MH_I2C_Read... [03:11:46]Read from MH i2c: E2 03 00 [03:11:46]MH_I2C_Read... [03:11:46]Read from MH i2c: E2 03 00 79 00 00 90 00 ED [03:11:46]RAPDU: 90 00 [03:11:46]wFMCommunicate OK [03:11:46]wFMCommunicate request_size=4 [03:11:46]MH_SAM_APDU [03:11:46]CAPDU: 80 0D 03 02 [03:11:46]Write to MH i2c: E2 08 00 7A 00 80 0D 03 02 00 00 00 00 F5 [03:11:46]Write i2c OK [03:11:46]MH_I2C_Read... [03:11:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:11:46]Read from MH i2c: E2 [03:11:46]MH_I2C_Read... [03:11:46]Read from MH i2c: E2 0B 00 [03:11:46]MH_I2C_Read... [03:11:46]Read from MH i2c: E2 0B 00 7A 00 00 0D EC CF EE E2 C4 E1 4D 90 00 80 [03:11:46]RAPDU: 0D EC CF EE E2 C4 E1 4D 90 00 [03:11:46]wFMCommunicate OK [03:11:46]SAM_PROTO_SignData done [03:11:46]FM_MakeSignedData done [03:11:46]CreateOFDProtocolMessage [03:11:46]wFMCommunicate request_size=4 [03:11:46]MH_SAM_APDU [03:11:46]CAPDU: 80 11 00 00 [03:11:46]Write to MH i2c: E2 08 00 7B 00 80 11 00 00 00 00 00 00 F5 [03:11:46]Write i2c OK [03:11:46]MH_I2C_Read... [03:11:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:11:46]Read from MH i2c: E2 [03:11:46]MH_I2C_Read... [03:11:46]Read from MH i2c: E2 17 00 [03:11:46]MH_I2C_Read... [03:11:46]Read from MH i2c: E2 17 00 7B 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 46 [03:11:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [03:11:46]wFMCommunicate OK [03:11:46]CreateOFDProtocolMessage done [03:11:46]OFDSenderStorePacket 7881 [03:11:46]StoreOFDPacket docnum=7881 [03:11:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 34 8F 07 01 20 90 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 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 F1 2D F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 C9 1E 00 00 35 04 06 00 24 49 C2 7D FF FB 0D EC CF EE E2 C4 E1 4D [03:11:46]CheckFolder [03:11:46]dirname=/storage/ofd_packets [03:11:46]CheckFolder done [03:11:46]ProducePacketName [03:11:46]name=ofd_packets/00007881 [03:11:46]NVStorageSaveData ofd_packets/00007881 [03:11:46]File name is /storage/ofd_packets/00007881 [03:11:46]Write 301 bytes [03:11:46]NVStorageSaveData done [03:11:46]OFDSenderStorePacket done [03:11:46]KKMCreateOFDPacket done [03:11:46]NVStorageSaveData kkm_last_timestamp [03:11:46]File name is /storage/kkm_last_timestamp [03:11:46]Write 4 bytes [03:11:46]NVStorageSaveData done [03:11:46]ExternCall_PrintAddStr [03:11:46]wPrintStart [03:11:46]Write to MH i2c: 01 00 00 7C 00 7C [03:11:46]Write i2c OK [03:11:46]MH_I2C_Read... [03:11:46]Read from MH i2c: 01 [03:11:46]MH_I2C_Read... [03:11:46]Read from MH i2c: 01 07 00 [03:11:46]MH_I2C_Read... [03:11:46]Read from MH i2c: 01 07 00 7C 00 00 00 00 00 00 FF 0F 91 [03:11:46]RasterBufferAndPrint [03:11:46]line Счет N : (1)872490 [03:11:46]line ИНН: 02508201610067 [03:11:46]line Контрольно-Кассовый Чек [03:11:46]line ПРОДАЖА [03:11:46]line ТРК (МРК, ГНК) : 33 [03:11:46]line Товар: 2710124130 [03:11:46]line Аи-92-К-5 [03:11:46]line 14.750 * 67.80 [03:11:46]line = 1000.05 [03:11:46]line НДС 12% НСП 1% [03:11:46]line > о реализуемом товаре [03:11:46]line ОКРУГЛЕНИЕ: -0.05 [03:11:46]line ИТОГО: 1000.00 [03:11:46]line Внесено: 1000.00 [03:11:46]line СДАЧА: 0.00 [03:11:46]line НСП 1% : 8.85 [03:11:46]line НДС 12% : 106.20 [03:11:46]line Наличными: 1000.00 [03:11:46]line Безнал.: 0.00 [03:11:46]line Место: АЗС № 137 "Партнер Нефть" [03:11:46]line Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 [03:11:46]line СНО: Общий режим [03:11:46]line Чек 17 24.09.2024 03:11 [03:11:46]line Смена: 72 ФФД: 1.0 [03:11:46]line ЗНМ: 0300000041 [03:11:46]line РНМ: 0000000000190446 [03:11:46]line Версия ККМ: v1.0 [03:11:46]line ФМ: 0000000002094258 [03:11:46]line ФД: 7881 [03:11:46]line ФПД: 39899214249979 [03:11:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T031145&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7881&fm=39899214249979&tin=02508201610067®Number=0000000000190446&sum=100000 [03:11:47]OFD Sender: Processing packet 7881 [packets to send 51, broken 50] [03:11:47]ProducePacketName [03:11:47]name=ofd_packets/00007881 [03:11:47]OFD Sender: To server: pG, [03:11:47]CommunicateWithHost lk.salyk.kg:30040 [03:11:47]ConnectInit lk.salyk.kg [03:11:47]written 0, free lines is 4095 [03:11:47]Write to MH i2c: 01 00 00 A7 00 A7 [03:11:47]Write i2c OK [03:11:47]MH_I2C_Read... [03:11:47]Read from MH i2c: 01 [03:11:47]MH_I2C_Read... [03:11:47]Read from MH i2c: 01 07 00 [03:11:47]MH_I2C_Read... [03:11:47]Read from MH i2c: 01 07 00 A7 00 00 00 00 00 00 EA 0C A4 [03:11:47]RasterBufferAndPrint [03:11:47]line [03:11:47]line [03:11:47]line [03:11:47]line [03:11:47]line [03:11:47]written 0, free lines is 3312 [03:11:47]MH_Cut [03:11:47]Write to MH i2c: D1 01 00 AE 00 01 80 [03:11:47]Write i2c OK [03:11:47]MH_I2C_Read... [03:11:47]Read from MH i2c: D1 [03:11:47]MH_I2C_Read... [03:11:47]Read from MH i2c: D1 01 00 [03:11:47]MH_I2C_Read... [03:11:47]Read from MH i2c: D1 01 00 AE 00 00 7F [03:11:47]Write to MH i2c: 01 00 00 AF 00 AF [03:11:47]Write i2c OK [03:11:47]MH_I2C_Read... [03:11:48]*** Cut start [03:11:48]*** Purtial cut [03:11:48]*** Stage 1: CUTSNS_PIN = 1 [03:11:48]Read from MH i2c: 01 [03:11:48]MH_I2C_Read... [03:11:48]*** Stop cut motor [03:11:48]*** Cut end [03:11:48]Read from MH i2c: 01 07 00 [03:11:48]MH_I2C_Read... [03:11:48]Read from MH i2c: 01 07 00 AF 00 00 00 00 00 00 FF 0F C4 [03:11:48]process_action close_receipt done [03:11:48]requested_data is exist [03:11:48]produce_requested_data [03:11:48]requested_item fm.sn is exist - process it [03:11:48]wFMCommunicate request_size=4 [03:11:48]MH_SAM_APDU [03:11:48]CAPDU: 80 11 00 00 [03:11:48]Write to MH i2c: E2 08 00 B0 00 80 11 00 00 00 00 00 00 2A [03:11:48]Write i2c OK [03:11:48]MH_I2C_Read... [03:11:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:11:48]Read from MH i2c: E2 [03:11:48]MH_I2C_Read... [03:11:48]Read from MH i2c: E2 17 00 [03:11:48]MH_I2C_Read... [03:11:48]Read from MH i2c: E2 17 00 B0 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 7B [03:11:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [03:11:48]wFMCommunicate OK [03:11:48]requested_item fd.num is exist - process it [03:11:48]SAM_PROTO_GetFieldsCounters [03:11:48]wFMCommunicate request_size=4 [03:11:48]MH_SAM_APDU [03:11:48]CAPDU: 80 13 00 00 [03:11:48]Write to MH i2c: E2 08 00 B1 00 80 13 00 00 00 00 00 00 2D [03:11:48]Write i2c OK [03:11:48]MH_I2C_Read... [03:11:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:11:48]Read from MH i2c: E2 [03:11:48]MH_I2C_Read... [03:11:48]Read from MH i2c: E2 62 00 [03:11:48]MH_I2C_Read... [03:11:48]Read from MH i2c: E2 62 00 B1 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 C9 1E 00 00 0E 04 04 00 48 00 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 AD [03:11:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 C9 1E 00 00 0E 04 04 00 48 00 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 [03:11:48]wFMCommunicate OK [03:11:48]SAM_PROTO_GetFieldsCounters done [03:11:48]requested_item shift.num is exist - process it [03:11:48]requested_item shift.opened is exist - process it [03:11:48]req_shift_opened [03:11:48]FM_GetShiftState [03:11:48]SAM_PROTO_GetShiftState [03:11:48]wFMCommunicate request_size=4 [03:11:48]MH_SAM_APDU [03:11:48]CAPDU: 80 13 01 00 [03:11:48]Write to MH i2c: E2 08 00 B2 00 80 13 01 00 00 00 00 00 2F [03:11:48]Write i2c OK [03:11:48]MH_I2C_Read... [03:11:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:11:48]Read from MH i2c: E2 [03:11:48]MH_I2C_Read... [03:11:48]Read from MH i2c: E2 0E 00 [03:11:48]MH_I2C_Read... [03:11:48]Read from MH i2c: E2 0E 00 B2 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 D5 [03:11:48]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [03:11:48]wFMCommunicate OK [03:11:48]SAM_PROTO_GetShiftState done [03:11:48]FM_GetShiftState done [03:11:48]req_shift_opened done [03:11:48]requested_item shift.open_date is exist - process it [03:11:48]req_shift_open_date [03:11:48]req_shift_open_date done [03:11:48]produce_requested_data done [03:11:48]produce_requested_data return {"fm.sn":"0000000002094258","fd.num":7881,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [03:11:48]process_action_free close_receipt [03:11:48]json_value_free [03:11:48]json_value_free done [03:11:48]process_json_proto returns [03:11:48]Send response to host [03:11:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002094258","fd.num":7881,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [03:11:48]free response buf [03:11:48]execute_script done [03:11:48]execute_script returns [03:11:48]free content buf [03:11:48]Sock 7.Close socket [03:11:48]Sock 7.Thread stoped [03:11:51]Connected sock=9 [03:11:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 34 8F 07 01 20 90 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 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 F1 2D F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 C9 1E 00 00 35 04 06 00 24 49 C2 7D FF FB 0D EC CF EE E2 C4 E1 4D [03:11:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 19 7A 47 00 E4 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 32 30 39 34 32 35 38 10 04 04 00 C9 1E 00 00 F4 03 04 00 B0 D8 F1 66 B6 04 01 00 00 A4 DC 8E 8D E1 05 11 27 [03:11:55]CommunicateWithHost err = 0 [03:11:55]CheckOFDResponse [03:11:55]1017 (14) - 77093643461234 [03:11:55]1041 (16) - 0000000002094258 [03:11:55]1040 (4) - 7881 [03:11:55]1012 (4) - 23.09.2024 21:08 [03:11:55]1206 (1) - 0 [03:11:55]OFD Sender: Remove packet 7881 [03:11:55]ProducePacketName [03:11:55]name=ofd_packets/00007881 [03:11:55]NVStorageDeleteData [03:11:55]OFD Sender: No OFD packet to send [03:12:00]OFD Sender: No OFD packet to send [03:12:05]OFD Sender: No OFD packet to send [03:12:10]OFD Sender: No OFD packet to send [03:12:16]OFD Sender: No OFD packet to send [03:12:21]OFD Sender: No OFD packet to send [03:12:26]OFD Sender: No OFD packet to send [03:12:31]OFD Sender: No OFD packet to send [03:12:36]OFD Sender: No OFD packet to send [03:12:41]OFD Sender: No OFD packet to send [03:12:46]OFD Sender: No OFD packet to send [03:12:51]OFD Sender: No OFD packet to send [03:12:56]OFD Sender: No OFD packet to send [03:13:01]OFD Sender: No OFD packet to send [03:13:06]OFD Sender: No OFD packet to send [03:13:11]OFD Sender: No OFD packet to send [03:13:16]OFD Sender: No OFD packet to send [03:13:21]OFD Sender: No OFD packet to send [03:13:26]OFD Sender: No OFD packet to send [03:13:31]OFD Sender: No OFD packet to send [03:13:36]OFD Sender: No OFD packet to send [03:13:41]OFD Sender: No OFD packet to send [03:13:46]OFD Sender: No OFD packet to send [03:13:51]OFD Sender: No OFD packet to send [03:13:56]OFD Sender: No OFD packet to send [03:14:01]OFD Sender: No OFD packet to send [03:14:06]OFD Sender: No OFD packet to send [03:14:11]OFD Sender: No OFD packet to send [03:14:16]OFD Sender: No OFD packet to send [03:14:21]OFD Sender: No OFD packet to send [03:14:26]OFD Sender: No OFD packet to send [03:14:31]OFD Sender: No OFD packet to send [03:14:36]OFD Sender: No OFD packet to send [03:14:41]OFD Sender: No OFD packet to send [03:14:46]OFD Sender: No OFD packet to send [03:14:51]OFD Sender: No OFD packet to send [03:14:56]OFD Sender: No OFD packet to send [03:15:01]OFD Sender: No OFD packet to send [03:15:06]OFD Sender: No OFD packet to send [03:15:11]OFD Sender: No OFD packet to send [03:15:16]OFD Sender: No OFD packet to send [03:15:21]OFD Sender: No OFD packet to send [03:15:26]OFD Sender: No OFD packet to send [03:15:31]OFD Sender: No OFD packet to send [03:15:36]OFD Sender: No OFD packet to send [03:15:41]OFD Sender: No OFD packet to send [03:15:46]OFD Sender: No OFD packet to send [03:15:51]OFD Sender: No OFD packet to send [03:15:56]OFD Sender: No OFD packet to send [03:16:01]OFD Sender: No OFD packet to send [03:16:06]OFD Sender: No OFD packet to send [03:16:11]OFD Sender: No OFD packet to send [03:16:16]OFD Sender: No OFD packet to send [03:16:21]OFD Sender: No OFD packet to send [03:16:26]OFD Sender: No OFD packet to send [03:16:31]OFD Sender: No OFD packet to send [03:16:32]recv_with_timeout no data received [03:16:36]OFD Sender: No OFD packet to send [03:16:41]OFD Sender: No OFD packet to send [03:16:46]OFD Sender: No OFD packet to send [03:16:51]OFD Sender: No OFD packet to send [03:16:56]OFD Sender: No OFD packet to send [03:17:01]OFD Sender: No OFD packet to send [03:17:06]OFD Sender: No OFD packet to send [03:17:11]OFD Sender: No OFD packet to send [03:17:16]OFD Sender: No OFD packet to send [03:17:21]OFD Sender: No OFD packet to send [03:17:26]OFD Sender: No OFD packet to send [03:17:31]OFD Sender: No OFD packet to send [03:17:36]OFD Sender: No OFD packet to send [03:17:41]OFD Sender: No OFD packet to send [03:17:46]OFD Sender: No OFD packet to send [03:17:51]OFD Sender: No OFD packet to send [03:17:56]OFD Sender: No OFD packet to send [03:18:01]OFD Sender: No OFD packet to send [03:18:06]OFD Sender: No OFD packet to send [03:18:21]OFD Sender: No OFD packet to send [03:18:23]recv_with_timeout no data received [03:18:26]OFD Sender: No OFD packet to send [03:18:31]OFD Sender: No OFD packet to send [03:18:36]OFD Sender: No OFD packet to send [03:18:41]OFD Sender: No OFD packet to send [03:18:46]OFD Sender: No OFD packet to send [03:18:51]OFD Sender: No OFD packet to send [03:18:56]OFD Sender: No OFD packet to send [03:19:01]OFD Sender: No OFD packet to send [03:19:06]OFD Sender: No OFD packet to send [03:19:11]OFD Sender: No OFD packet to send [03:19:16]OFD Sender: No OFD packet to send [03:19:21]OFD Sender: No OFD packet to send [03:19:26]OFD Sender: No OFD packet to send [03:19:31]OFD Sender: No OFD packet to send [03:19:36]OFD Sender: No OFD packet to send [03:19:41]OFD Sender: No OFD packet to send [03:19:46]OFD Sender: No OFD packet to send [03:19:51]OFD Sender: No OFD packet to send [03:19:56]OFD Sender: No OFD packet to send [03:20:01]OFD Sender: No OFD packet to send [03:20:06]OFD Sender: No OFD packet to send [03:20:11]OFD Sender: No OFD packet to send [03:20:16]OFD Sender: No OFD packet to send [03:20:21]OFD Sender: No OFD packet to send [03:20:26]OFD Sender: No OFD packet to send [03:20:31]OFD Sender: No OFD packet to send [03:20:36]OFD Sender: No OFD packet to send [03:20:41]OFD Sender: No OFD packet to send [03:20:46]OFD Sender: No OFD packet to send [03:20:51]OFD Sender: No OFD packet to send [03:20:56]OFD Sender: No OFD packet to send [03:21:00]recv_with_timeout no data received [03:21:01]OFD Sender: No OFD packet to send [03:21:06]OFD Sender: No OFD packet to send [03:21:11]OFD Sender: No OFD packet to send [03:21:16]OFD Sender: No OFD packet to send [03:21:21]OFD Sender: No OFD packet to send [03:21:26]OFD Sender: No OFD packet to send [03:21:31]OFD Sender: No OFD packet to send [03:21:36]OFD Sender: No OFD packet to send [03:21:41]OFD Sender: No OFD packet to send [03:21:46]OFD Sender: No OFD packet to send [03:21:51]OFD Sender: No OFD packet to send [03:21:56]OFD Sender: No OFD packet to send [03:22:01]OFD Sender: No OFD packet to send [03:22:06]OFD Sender: No OFD packet to send [03:22:11]OFD Sender: No OFD packet to send [03:22:16]OFD Sender: No OFD packet to send [03:22:21]OFD Sender: No OFD packet to send [03:22:26]OFD Sender: No OFD packet to send [03:22:31]OFD Sender: No OFD packet to send [03:22:36]OFD Sender: No OFD packet to send [03:22:41]OFD Sender: No OFD packet to send [03:22:46]OFD Sender: No OFD packet to send [03:22:51]OFD Sender: No OFD packet to send [03:22:56]OFD Sender: No OFD packet to send [03:23:01]OFD Sender: No OFD packet to send [03:23:06]OFD Sender: No OFD packet to send [03:23:11]OFD Sender: No OFD packet to send [03:23:16]OFD Sender: No OFD packet to send [03:23:21]OFD Sender: No OFD packet to send [03:23:26]OFD Sender: No OFD packet to send [03:23:31]OFD Sender: No OFD packet to send [03:23:36]OFD Sender: No OFD packet to send [03:23:41]OFD Sender: No OFD packet to send [03:23:46]OFD Sender: No OFD packet to send [03:23:51]OFD Sender: No OFD packet to send [03:23:56]OFD Sender: No OFD packet to send [03:24:01]OFD Sender: No OFD packet to send [03:24:06]OFD Sender: No OFD packet to send [03:24:11]OFD Sender: No OFD packet to send [03:24:16]OFD Sender: No OFD packet to send [03:24:21]OFD Sender: No OFD packet to send [03:24:26]OFD Sender: No OFD packet to send [03:24:31]OFD Sender: No OFD packet to send [03:24:36]OFD Sender: No OFD packet to send [03:24:41]OFD Sender: No OFD packet to send [03:24:46]OFD Sender: No OFD packet to send [03:24:51]OFD Sender: No OFD packet to send [03:24:56]OFD Sender: No OFD packet to send [03:25:00]recv_with_timeout no data received [03:25:01]OFD Sender: No OFD packet to send [03:25:06]OFD Sender: No OFD packet to send [03:25:11]OFD Sender: No OFD packet to send [03:25:16]OFD Sender: No OFD packet to send [03:25:21]OFD Sender: No OFD packet to send [03:25:26]OFD Sender: No OFD packet to send [03:25:31]OFD Sender: No OFD packet to send [03:25:36]OFD Sender: No OFD packet to send [03:25:41]OFD Sender: No OFD packet to send [03:25:46]OFD Sender: No OFD packet to send [03:25:51]OFD Sender: No OFD packet to send [03:25:56]OFD Sender: No OFD packet to send [03:26:01]OFD Sender: No OFD packet to send [03:26:06]OFD Sender: No OFD packet to send [03:26:11]OFD Sender: No OFD packet to send [03:26:16]OFD Sender: No OFD packet to send [03:26:17]recv_with_timeout no data received [03:26:21]OFD Sender: No OFD packet to send [03:26:26]OFD Sender: No OFD packet to send [03:26:31]OFD Sender: No OFD packet to send [03:26:36]OFD Sender: No OFD packet to send [03:26:41]OFD Sender: No OFD packet to send [03:26:46]OFD Sender: No OFD packet to send [03:26:49]recv_with_timeout no data received [03:26:51]OFD Sender: No OFD packet to send [03:26:56]OFD Sender: No OFD packet to send [03:27:01]OFD Sender: No OFD packet to send [03:27:06]OFD Sender: No OFD packet to send [03:27:11]OFD Sender: No OFD packet to send [03:27:16]OFD Sender: No OFD packet to send [03:27:21]OFD Sender: No OFD packet to send [03:27:26]OFD Sender: No OFD packet to send [03:27:31]OFD Sender: No OFD packet to send [03:27:33]recv_with_timeout no data received [03:27:36]OFD Sender: No OFD packet to send [03:27:41]OFD Sender: No OFD packet to send [03:27:46]OFD Sender: No OFD packet to send [03:27:51]OFD Sender: No OFD packet to send [03:27:56]OFD Sender: No OFD packet to send [03:28:01]OFD Sender: No OFD packet to send [03:28:06]OFD Sender: No OFD packet to send [03:28:11]OFD Sender: No OFD packet to send [03:28:16]OFD Sender: No OFD packet to send [03:28:21]OFD Sender: No OFD packet to send [03:28:26]OFD Sender: No OFD packet to send [03:28:31]OFD Sender: No OFD packet to send [03:28:36]OFD Sender: No OFD packet to send [03:28:41]OFD Sender: No OFD packet to send [03:28:46]OFD Sender: No OFD packet to send [03:28:51]OFD Sender: No OFD packet to send [03:28:56]OFD Sender: No OFD packet to send [03:29:01]OFD Sender: No OFD packet to send [03:29:06]OFD Sender: No OFD packet to send [03:29:09]recv_with_timeout no data received [03:29:11]OFD Sender: No OFD packet to send [03:29:16]OFD Sender: No OFD packet to send [03:29:21]OFD Sender: No OFD packet to send [03:29:22]recv_with_timeout no data received [03:29:26]OFD Sender: No OFD packet to send [03:29:31]OFD Sender: No OFD packet to send [03:29:36]OFD Sender: No OFD packet to send [03:29:41]OFD Sender: No OFD packet to send [03:29:46]OFD Sender: No OFD packet to send [03:29:51]OFD Sender: No OFD packet to send [03:29:56]OFD Sender: No OFD packet to send [03:30:01]OFD Sender: No OFD packet to send [03:30:06]OFD Sender: No OFD packet to send [03:30:11]OFD Sender: No OFD packet to send [03:30:16]OFD Sender: No OFD packet to send [03:30:21]OFD Sender: No OFD packet to send [03:30:26]OFD Sender: No OFD packet to send [03:30:31]OFD Sender: No OFD packet to send [03:30:37]OFD Sender: No OFD packet to send [03:30:42]OFD Sender: No OFD packet to send [03:30:47]OFD Sender: No OFD packet to send [03:30:48]recv_with_timeout no data received [03:30:52]OFD Sender: No OFD packet to send [03:30:57]OFD Sender: No OFD packet to send [03:31:02]OFD Sender: No OFD packet to send [03:31:07]OFD Sender: No OFD packet to send [03:31:12]OFD Sender: No OFD packet to send [03:31:17]OFD Sender: No OFD packet to send [03:31:22]OFD Sender: No OFD packet to send [03:31:27]OFD Sender: No OFD packet to send [03:31:32]OFD Sender: No OFD packet to send [03:31:32]recv_with_timeout no data received [03:31:37]OFD Sender: No OFD packet to send [03:31:42]OFD Sender: No OFD packet to send [03:31:47]OFD Sender: No OFD packet to send [03:31:52]OFD Sender: No OFD packet to send [03:31:57]OFD Sender: No OFD packet to send [03:32:02]OFD Sender: No OFD packet to send [03:32:07]OFD Sender: No OFD packet to send [03:32:12]OFD Sender: No OFD packet to send [03:32:17]OFD Sender: No OFD packet to send [03:32:22]OFD Sender: No OFD packet to send [03:32:27]OFD Sender: No OFD packet to send [03:32:32]OFD Sender: No OFD packet to send [03:32:37]OFD Sender: No OFD packet to send [03:32:42]OFD Sender: No OFD packet to send [03:32:47]OFD Sender: No OFD packet to send [03:32:52]OFD Sender: No OFD packet to send [03:32:57]OFD Sender: No OFD packet to send [03:33:02]OFD Sender: No OFD packet to send [03:33:07]OFD Sender: No OFD packet to send [03:33:12]OFD Sender: No OFD packet to send [03:33:17]OFD Sender: No OFD packet to send [03:33:22]OFD Sender: No OFD packet to send [03:33:27]OFD Sender: No OFD packet to send [03:33:32]OFD Sender: No OFD packet to send [03:33:37]OFD Sender: No OFD packet to send [03:33:42]OFD Sender: No OFD packet to send [03:33:47]OFD Sender: No OFD packet to send [03:33:52]OFD Sender: No OFD packet to send [03:33:57]OFD Sender: No OFD packet to send [03:34:02]OFD Sender: No OFD packet to send [03:34:07]OFD Sender: No OFD packet to send [03:34:12]OFD Sender: No OFD packet to send [03:34:17]OFD Sender: No OFD packet to send [03:34:22]OFD Sender: No OFD packet to send [03:34:27]OFD Sender: No OFD packet to send [03:34:32]OFD Sender: No OFD packet to send [03:34:37]OFD Sender: No OFD packet to send [03:34:42]OFD Sender: No OFD packet to send [03:34:47]OFD Sender: No OFD packet to send [03:34:52]OFD Sender: No OFD packet to send [03:34:57]OFD Sender: No OFD packet to send [03:35:02]OFD Sender: No OFD packet to send [03:35:07]OFD Sender: No OFD packet to send [03:35:11]recv_with_timeout no data received [03:35:12]OFD Sender: No OFD packet to send [03:35:17]OFD Sender: No OFD packet to send [03:35:22]OFD Sender: No OFD packet to send [03:35:27]OFD Sender: No OFD packet to send [03:35:32]OFD Sender: No OFD packet to send [03:35:37]OFD Sender: No OFD packet to send [03:35:42]OFD Sender: No OFD packet to send [03:35:47]OFD Sender: No OFD packet to send [03:35:52]OFD Sender: No OFD packet to send [03:35:57]OFD Sender: No OFD packet to send [03:36:00]recv_with_timeout no data received [03:36:02]OFD Sender: No OFD packet to send [03:36:07]OFD Sender: No OFD packet to send [03:36:12]OFD Sender: No OFD packet to send [03:36:17]OFD Sender: No OFD packet to send [03:36:22]OFD Sender: No OFD packet to send [03:36:27]OFD Sender: No OFD packet to send [03:36:32]OFD Sender: No OFD packet to send [03:36:37]OFD Sender: No OFD packet to send [03:36:42]OFD Sender: No OFD packet to send [03:36:43]recv_with_timeout no data received [03:36:47]OFD Sender: No OFD packet to send [03:36:52]OFD Sender: No OFD packet to send [03:36:57]OFD Sender: No OFD packet to send [03:37:02]OFD Sender: No OFD packet to send [03:37:07]OFD Sender: No OFD packet to send [03:37:12]OFD Sender: No OFD packet to send [03:37:17]OFD Sender: No OFD packet to send [03:37:22]OFD Sender: No OFD packet to send [03:37:27]OFD Sender: No OFD packet to send [03:37:32]OFD Sender: No OFD packet to send [03:37:37]OFD Sender: No OFD packet to send [03:37:42]OFD Sender: No OFD packet to send [03:37:47]OFD Sender: No OFD packet to send [03:37:52]OFD Sender: No OFD packet to send [03:37:57]OFD Sender: No OFD packet to send [03:38:02]OFD Sender: No OFD packet to send [03:38:07]OFD Sender: No OFD packet to send [03:38:12]OFD Sender: No OFD packet to send [03:38:17]OFD Sender: No OFD packet to send [03:38:22]OFD Sender: No OFD packet to send [03:38:27]OFD Sender: No OFD packet to send [03:38:32]OFD Sender: No OFD packet to send [03:38:37]OFD Sender: No OFD packet to send [03:38:42]OFD Sender: No OFD packet to send [03:38:47]OFD Sender: No OFD packet to send [03:38:52]OFD Sender: No OFD packet to send [03:38:57]OFD Sender: No OFD packet to send [03:39:02]OFD Sender: No OFD packet to send [03:39:07]OFD Sender: No OFD packet to send [03:39:12]OFD Sender: No OFD packet to send [03:39:17]OFD Sender: No OFD packet to send [03:39:22]OFD Sender: No OFD packet to send [03:39:27]OFD Sender: No OFD packet to send [03:39:32]OFD Sender: No OFD packet to send [03:39:37]OFD Sender: No OFD packet to send [03:39:42]OFD Sender: No OFD packet to send [03:39:47]OFD Sender: No OFD packet to send [03:39:52]OFD Sender: No OFD packet to send [03:39:57]OFD Sender: No OFD packet to send [03:40:02]OFD Sender: No OFD packet to send [03:40:07]OFD Sender: No OFD packet to send [03:40:12]recv_with_timeout no data received [03:40:12]OFD Sender: No OFD packet to send [03:40:17]OFD Sender: No OFD packet to send [03:40:22]OFD Sender: No OFD packet to send [03:40:27]OFD Sender: No OFD packet to send [03:40:32]OFD Sender: No OFD packet to send [03:40:37]OFD Sender: No OFD packet to send [03:40:42]OFD Sender: No OFD packet to send [03:40:47]OFD Sender: No OFD packet to send [03:40:52]OFD Sender: No OFD packet to send [03:40:57]OFD Sender: No OFD packet to send [03:41:02]OFD Sender: No OFD packet to send [03:41:07]OFD Sender: No OFD packet to send [03:41:12]OFD Sender: No OFD packet to send [03:41:17]OFD Sender: No OFD packet to send [03:41:22]OFD Sender: No OFD packet to send [03:41:27]OFD Sender: No OFD packet to send [03:41:32]OFD Sender: No OFD packet to send [03:41:37]OFD Sender: No OFD packet to send [03:41:42]OFD Sender: No OFD packet to send [03:41:47]OFD Sender: No OFD packet to send [03:41:52]OFD Sender: No OFD packet to send [03:41:57]OFD Sender: No OFD packet to send [03:42:02]OFD Sender: No OFD packet to send [03:42:07]OFD Sender: No OFD packet to send [03:42:12]OFD Sender: No OFD packet to send [03:42:17]OFD Sender: No OFD packet to send [03:42:22]OFD Sender: No OFD packet to send [03:42:27]OFD Sender: No OFD packet to send [03:42:32]OFD Sender: No OFD packet to send [03:42:37]OFD Sender: No OFD packet to send [03:42:42]OFD Sender: No OFD packet to send [03:42:47]OFD Sender: No OFD packet to send [03:42:52]OFD Sender: No OFD packet to send [03:42:57]OFD Sender: No OFD packet to send [03:43:02]OFD Sender: No OFD packet to send [03:43:07]OFD Sender: No OFD packet to send [03:43:12]OFD Sender: No OFD packet to send [03:43:17]OFD Sender: No OFD packet to send [03:43:22]OFD Sender: No OFD packet to send [03:43:27]OFD Sender: No OFD packet to send [03:43:32]OFD Sender: No OFD packet to send [03:43:37]OFD Sender: No OFD packet to send [03:43:42]OFD Sender: No OFD packet to send [03:43:42]recv_with_timeout no data received [03:43:47]OFD Sender: No OFD packet to send [03:43:52]OFD Sender: No OFD packet to send [03:43:57]OFD Sender: No OFD packet to send [03:44:02]OFD Sender: No OFD packet to send [03:44:07]OFD Sender: No OFD packet to send [03:44:12]OFD Sender: No OFD packet to send [03:44:17]OFD Sender: No OFD packet to send [03:44:22]OFD Sender: No OFD packet to send [03:44:27]OFD Sender: No OFD packet to send [03:44:32]OFD Sender: No OFD packet to send [03:44:37]OFD Sender: No OFD packet to send [03:44:42]OFD Sender: No OFD packet to send [03:44:47]OFD Sender: No OFD packet to send [03:44:52]OFD Sender: No OFD packet to send [03:44:57]OFD Sender: No OFD packet to send [03:45:02]OFD Sender: No OFD packet to send [03:45:07]OFD Sender: No OFD packet to send [03:45:12]OFD Sender: No OFD packet to send [03:45:17]OFD Sender: No OFD packet to send [03:45:22]OFD Sender: No OFD packet to send [03:45:27]OFD Sender: No OFD packet to send [03:45:32]OFD Sender: No OFD packet to send [03:45:37]OFD Sender: No OFD packet to send [03:45:42]OFD Sender: No OFD packet to send [03:45:47]OFD Sender: No OFD packet to send [03:45:52]OFD Sender: No OFD packet to send [03:45:57]OFD Sender: No OFD packet to send [03:46:02]OFD Sender: No OFD packet to send [03:46:07]OFD Sender: No OFD packet to send [03:46:12]OFD Sender: No OFD packet to send [03:46:17]OFD Sender: No OFD packet to send [03:46:22]OFD Sender: No OFD packet to send [03:46:27]OFD Sender: No OFD packet to send [03:46:32]OFD Sender: No OFD packet to send [03:46:37]OFD Sender: No OFD packet to send [03:46:42]OFD Sender: No OFD packet to send [03:46:47]OFD Sender: No OFD packet to send [03:46:52]OFD Sender: No OFD packet to send [03:46:57]OFD Sender: No OFD packet to send [03:47:02]OFD Sender: No OFD packet to send [03:47:07]OFD Sender: No OFD packet to send [03:47:12]OFD Sender: No OFD packet to send [03:47:17]OFD Sender: No OFD packet to send [03:47:22]OFD Sender: No OFD packet to send [03:47:27]OFD Sender: No OFD packet to send [03:47:32]OFD Sender: No OFD packet to send [03:47:37]OFD Sender: No OFD packet to send [03:47:42]OFD Sender: No OFD packet to send [03:47:47]OFD Sender: No OFD packet to send [03:47:52]OFD Sender: No OFD packet to send [03:47:57]OFD Sender: No OFD packet to send [03:48:02]OFD Sender: No OFD packet to send [03:48:07]OFD Sender: No OFD packet to send [03:48:12]OFD Sender: No OFD packet to send [03:48:17]OFD Sender: No OFD packet to send [03:48:22]OFD Sender: No OFD packet to send [03:48:27]OFD Sender: No OFD packet to send [03:48:32]OFD Sender: No OFD packet to send [03:48:37]OFD Sender: No OFD packet to send [03:48:42]OFD Sender: No OFD packet to send [03:48:47]OFD Sender: No OFD packet to send [03:48:53]OFD Sender: No OFD packet to send [03:48:58]OFD Sender: No OFD packet to send [03:49:03]OFD Sender: No OFD packet to send [03:49:08]OFD Sender: No OFD packet to send [03:49:13]OFD Sender: No OFD packet to send [03:49:18]OFD Sender: No OFD packet to send [03:49:23]OFD Sender: No OFD packet to send [03:49:28]OFD Sender: No OFD packet to send [03:49:33]OFD Sender: No OFD packet to send [03:49:38]OFD Sender: No OFD packet to send [03:49:43]OFD Sender: No OFD packet to send [03:49:48]OFD Sender: No OFD packet to send [03:49:53]OFD Sender: No OFD packet to send [03:49:55]recv_with_timeout no data received [03:49:58]OFD Sender: No OFD packet to send [03:50:03]OFD Sender: No OFD packet to send [03:50:08]OFD Sender: No OFD packet to send [03:50:13]OFD Sender: No OFD packet to send [03:50:18]OFD Sender: No OFD packet to send [03:50:23]OFD Sender: No OFD packet to send [03:50:28]OFD Sender: No OFD packet to send [03:50:33]OFD Sender: No OFD packet to send [03:50:38]OFD Sender: No OFD packet to send [03:50:43]OFD Sender: No OFD packet to send [03:50:48]OFD Sender: No OFD packet to send [03:50:53]OFD Sender: No OFD packet to send [03:50:58]OFD Sender: No OFD packet to send [03:51:03]OFD Sender: No OFD packet to send [03:51:08]OFD Sender: No OFD packet to send [03:51:13]OFD Sender: No OFD packet to send [03:51:18]OFD Sender: No OFD packet to send [03:51:23]OFD Sender: No OFD packet to send [03:51:28]OFD Sender: No OFD packet to send [03:51:33]OFD Sender: No OFD packet to send [03:51:38]OFD Sender: No OFD packet to send [03:51:43]OFD Sender: No OFD packet to send [03:51:48]OFD Sender: No OFD packet to send [03:51:53]OFD Sender: No OFD packet to send [03:51:58]OFD Sender: No OFD packet to send [03:52:03]OFD Sender: No OFD packet to send [03:52:08]OFD Sender: No OFD packet to send [03:52:13]OFD Sender: No OFD packet to send [03:52:18]OFD Sender: No OFD packet to send [03:52:23]OFD Sender: No OFD packet to send [03:52:28]OFD Sender: No OFD packet to send [03:52:33]OFD Sender: No OFD packet to send [03:52:38]OFD Sender: No OFD packet to send [03:52:43]OFD Sender: No OFD packet to send [03:52:48]OFD Sender: No OFD packet to send [03:52:53]OFD Sender: No OFD packet to send [03:52:58]OFD Sender: No OFD packet to send [03:53:03]OFD Sender: No OFD packet to send [03:53:08]OFD Sender: No OFD packet to send [03:53:13]OFD Sender: No OFD packet to send [03:53:18]OFD Sender: No OFD packet to send [03:53:23]OFD Sender: No OFD packet to send [03:53:28]OFD Sender: No OFD packet to send [03:53:33]OFD Sender: No OFD packet to send [03:53:38]OFD Sender: No OFD packet to send [03:53:43]OFD Sender: No OFD packet to send [03:53:48]OFD Sender: No OFD packet to send [03:53:53]OFD Sender: No OFD packet to send [03:53:58]OFD Sender: No OFD packet to send [03:54:03]OFD Sender: No OFD packet to send [03:54:08]OFD Sender: No OFD packet to send [03:54:13]OFD Sender: No OFD packet to send [03:54:18]OFD Sender: No OFD packet to send [03:54:23]OFD Sender: No OFD packet to send [03:54:28]OFD Sender: No OFD packet to send [03:54:33]OFD Sender: No OFD packet to send [03:54:38]OFD Sender: No OFD packet to send [03:54:43]OFD Sender: No OFD packet to send [03:54:48]OFD Sender: No OFD packet to send [03:54:53]OFD Sender: No OFD packet to send [03:54:58]OFD Sender: No OFD packet to send [03:55:03]OFD Sender: No OFD packet to send [03:55:08]OFD Sender: No OFD packet to send [03:55:13]OFD Sender: No OFD packet to send [03:55:18]OFD Sender: No OFD packet to send [03:55:23]OFD Sender: No OFD packet to send [03:55:28]OFD Sender: No OFD packet to send [03:55:33]OFD Sender: No OFD packet to send [03:55:38]OFD Sender: No OFD packet to send [03:55:43]OFD Sender: No OFD packet to send [03:55:48]OFD Sender: No OFD packet to send [03:55:53]OFD Sender: No OFD packet to send [03:55:58]OFD Sender: No OFD packet to send [03:56:03]OFD Sender: No OFD packet to send [03:56:08]OFD Sender: No OFD packet to send [03:56:13]OFD Sender: No OFD packet to send [03:56:18]OFD Sender: No OFD packet to send [03:56:23]OFD Sender: No OFD packet to send [03:56:28]OFD Sender: No OFD packet to send [03:56:33]OFD Sender: No OFD packet to send [03:56:38]OFD Sender: No OFD packet to send [03:56:43]OFD Sender: No OFD packet to send [03:56:48]OFD Sender: No OFD packet to send [03:56:53]OFD Sender: No OFD packet to send [03:56:54]recv_with_timeout no data received [03:56:58]OFD Sender: No OFD packet to send [03:57:03]OFD Sender: No OFD packet to send [03:57:08]OFD Sender: No OFD packet to send [03:57:13]OFD Sender: No OFD packet to send [03:57:18]OFD Sender: No OFD packet to send [03:57:23]OFD Sender: No OFD packet to send [03:57:28]OFD Sender: No OFD packet to send [03:57:33]OFD Sender: No OFD packet to send [03:57:38]OFD Sender: No OFD packet to send [03:57:43]OFD Sender: No OFD packet to send [03:57:48]OFD Sender: No OFD packet to send [03:57:53]OFD Sender: No OFD packet to send [03:57:58]OFD Sender: No OFD packet to send [03:58:03]OFD Sender: No OFD packet to send [03:58:08]OFD Sender: No OFD packet to send [03:58:13]OFD Sender: No OFD packet to send [03:58:18]OFD Sender: No OFD packet to send [03:58:23]OFD Sender: No OFD packet to send [03:58:28]OFD Sender: No OFD packet to send [03:58:33]OFD Sender: No OFD packet to send [03:58:38]OFD Sender: No OFD packet to send [03:58:43]OFD Sender: No OFD packet to send [03:58:48]OFD Sender: No OFD packet to send [03:58:53]OFD Sender: No OFD packet to send [03:58:58]OFD Sender: No OFD packet to send [03:59:03]OFD Sender: No OFD packet to send [03:59:08]OFD Sender: No OFD packet to send [03:59:13]OFD Sender: No OFD packet to send [03:59:18]OFD Sender: No OFD packet to send [03:59:23]OFD Sender: No OFD packet to send [03:59:28]OFD Sender: No OFD packet to send [03:59:30]recv_with_timeout no data received [03:59:33]OFD Sender: No OFD packet to send [03:59:38]OFD Sender: No OFD packet to send [03:59:43]OFD Sender: No OFD packet to send [03:59:48]OFD Sender: No OFD packet to send [03:59:53]OFD Sender: No OFD packet to send [03:59:58]OFD Sender: No OFD packet to send [04:00:01]recv_with_timeout no data received [04:00:03]OFD Sender: No OFD packet to send [04:00:08]OFD Sender: No OFD packet to send [04:00:13]OFD Sender: No OFD packet to send [04:00:18]OFD Sender: No OFD packet to send [04:00:23]OFD Sender: No OFD packet to send [04:00:28]OFD Sender: No OFD packet to send [04:00:33]OFD Sender: No OFD packet to send [04:00:38]OFD Sender: No OFD packet to send [04:00:43]OFD Sender: No OFD packet to send [04:00:48]OFD Sender: No OFD packet to send [04:00:53]OFD Sender: No OFD packet to send [04:00:58]OFD Sender: No OFD packet to send [04:01:03]OFD Sender: No OFD packet to send [04:01:08]OFD Sender: No OFD packet to send [04:01:13]OFD Sender: No OFD packet to send [04:01:18]OFD Sender: No OFD packet to send [04:01:23]OFD Sender: No OFD packet to send [04:01:28]OFD Sender: No OFD packet to send [04:01:33]OFD Sender: No OFD packet to send [04:01:38]OFD Sender: No OFD packet to send [04:01:43]recv_with_timeout no data received [04:01:43]OFD Sender: No OFD packet to send [04:01:48]OFD Sender: No OFD packet to send [04:01:53]OFD Sender: No OFD packet to send [04:01:58]OFD Sender: No OFD packet to send [04:02:03]OFD Sender: No OFD packet to send [04:02:08]OFD Sender: No OFD packet to send [04:02:13]OFD Sender: No OFD packet to send [04:02:18]OFD Sender: No OFD packet to send [04:02:23]OFD Sender: No OFD packet to send [04:02:28]OFD Sender: No OFD packet to send [04:02:33]OFD Sender: No OFD packet to send [04:02:38]OFD Sender: No OFD packet to send [04:02:43]OFD Sender: No OFD packet to send [04:02:48]OFD Sender: No OFD packet to send [04:02:53]OFD Sender: No OFD packet to send [04:02:58]OFD Sender: No OFD packet to send [04:03:03]OFD Sender: No OFD packet to send [04:03:08]OFD Sender: No OFD packet to send [04:03:13]OFD Sender: No OFD packet to send [04:03:18]OFD Sender: No OFD packet to send [04:03:23]OFD Sender: No OFD packet to send [04:03:28]OFD Sender: No OFD packet to send [04:03:33]OFD Sender: No OFD packet to send [04:03:38]OFD Sender: No OFD packet to send [04:03:43]OFD Sender: No OFD packet to send [04:03:48]OFD Sender: No OFD packet to send [04:03:53]OFD Sender: No OFD packet to send [04:03:58]OFD Sender: No OFD packet to send [04:04:03]OFD Sender: No OFD packet to send [04:04:08]OFD Sender: No OFD packet to send [04:04:13]OFD Sender: No OFD packet to send [04:04:18]OFD Sender: No OFD packet to send [04:04:23]OFD Sender: No OFD packet to send [04:04:28]OFD Sender: No OFD packet to send [04:04:33]OFD Sender: No OFD packet to send [04:04:38]OFD Sender: No OFD packet to send [04:04:43]OFD Sender: No OFD packet to send [04:04:48]OFD Sender: No OFD packet to send [04:04:53]OFD Sender: No OFD packet to send [04:04:58]OFD Sender: No OFD packet to send [04:05:03]OFD Sender: No OFD packet to send [04:05:08]OFD Sender: No OFD packet to send [04:05:13]OFD Sender: No OFD packet to send [04:05:18]OFD Sender: No OFD packet to send [04:05:23]OFD Sender: No OFD packet to send [04:05:28]OFD Sender: No OFD packet to send [04:05:33]OFD Sender: No OFD packet to send [04:05:38]OFD Sender: No OFD packet to send [04:05:43]OFD Sender: No OFD packet to send [04:05:48]OFD Sender: No OFD packet to send [04:05:53]OFD Sender: No OFD packet to send [04:05:58]OFD Sender: No OFD packet to send [04:06:03]OFD Sender: No OFD packet to send [04:06:08]OFD Sender: No OFD packet to send [04:06:13]OFD Sender: No OFD packet to send [04:06:18]OFD Sender: No OFD packet to send [04:06:23]OFD Sender: No OFD packet to send [04:06:28]OFD Sender: No OFD packet to send [04:06:33]OFD Sender: No OFD packet to send [04:06:38]OFD Sender: No OFD packet to send [04:06:43]OFD Sender: No OFD packet to send [04:06:48]OFD Sender: No OFD packet to send [04:06:53]OFD Sender: No OFD packet to send [04:06:58]OFD Sender: No OFD packet to send [04:07:04]OFD Sender: No OFD packet to send [04:07:09]OFD Sender: No OFD packet to send [04:07:14]OFD Sender: No OFD packet to send [04:07:19]OFD Sender: No OFD packet to send [04:07:24]OFD Sender: No OFD packet to send [04:07:29]OFD Sender: No OFD packet to send [04:07:34]OFD Sender: No OFD packet to send [04:07:39]OFD Sender: No OFD packet to send [04:07:44]OFD Sender: No OFD packet to send [04:07:49]OFD Sender: No OFD packet to send [04:07:54]OFD Sender: No OFD packet to send [04:07:59]OFD Sender: No OFD packet to send [04:08:04]OFD Sender: No OFD packet to send [04:08:09]OFD Sender: No OFD packet to send [04:08:14]OFD Sender: No OFD packet to send [04:08:19]OFD Sender: No OFD packet to send [04:08:24]OFD Sender: No OFD packet to send [04:08:29]OFD Sender: No OFD packet to send [04:08:34]OFD Sender: No OFD packet to send [04:08:39]OFD Sender: No OFD packet to send [04:08:44]OFD Sender: No OFD packet to send [04:08:49]OFD Sender: No OFD packet to send [04:08:54]OFD Sender: No OFD packet to send [04:08:59]OFD Sender: No OFD packet to send [04:09:04]OFD Sender: No OFD packet to send [04:09:09]OFD Sender: No OFD packet to send [04:09:14]OFD Sender: No OFD packet to send [04:09:19]OFD Sender: No OFD packet to send [04:09:24]OFD Sender: No OFD packet to send [04:09:29]OFD Sender: No OFD packet to send [04:09:34]OFD Sender: No OFD packet to send [04:09:39]OFD Sender: No OFD packet to send [04:09:44]OFD Sender: No OFD packet to send [04:09:49]OFD Sender: No OFD packet to send [04:09:54]OFD Sender: No OFD packet to send [04:09:58]recv_with_timeout no data received [04:09:59]OFD Sender: No OFD packet to send [04:10:04]OFD Sender: No OFD packet to send [04:10:09]OFD Sender: No OFD packet to send [04:10:14]OFD Sender: No OFD packet to send [04:10:19]OFD Sender: No OFD packet to send [04:10:24]OFD Sender: No OFD packet to send [04:10:29]OFD Sender: No OFD packet to send [04:10:34]OFD Sender: No OFD packet to send [04:10:39]OFD Sender: No OFD packet to send [04:10:44]OFD Sender: No OFD packet to send [04:10:49]OFD Sender: No OFD packet to send [04:10:54]OFD Sender: No OFD packet to send [04:10:59]OFD Sender: No OFD packet to send [04:11:04]OFD Sender: No OFD packet to send [04:11:09]OFD Sender: No OFD packet to send [04:11:14]OFD Sender: No OFD packet to send [04:11:19]OFD Sender: No OFD packet to send [04:11:24]OFD Sender: No OFD packet to send [04:11:29]OFD Sender: No OFD packet to send [04:11:34]OFD Sender: No OFD packet to send [04:11:39]OFD Sender: No OFD packet to send [04:11:44]OFD Sender: No OFD packet to send [04:11:49]OFD Sender: No OFD packet to send [04:11:54]OFD Sender: No OFD packet to send [04:11:59]OFD Sender: No OFD packet to send [04:12:04]OFD Sender: No OFD packet to send [04:12:09]OFD Sender: No OFD packet to send [04:12:14]OFD Sender: No OFD packet to send [04:12:19]OFD Sender: No OFD packet to send [04:12:24]OFD Sender: No OFD packet to send [04:12:29]OFD Sender: No OFD packet to send [04:12:34]OFD Sender: No OFD packet to send [04:12:39]OFD Sender: No OFD packet to send [04:12:44]OFD Sender: No OFD packet to send [04:12:49]OFD Sender: No OFD packet to send [04:12:54]OFD Sender: No OFD packet to send [04:12:59]OFD Sender: No OFD packet to send [04:13:04]OFD Sender: No OFD packet to send [04:13:09]OFD Sender: No OFD packet to send [04:13:14]OFD Sender: No OFD packet to send [04:13:19]OFD Sender: No OFD packet to send [04:13:23]recv_with_timeout no data received [04:13:24]OFD Sender: No OFD packet to send [04:13:29]OFD Sender: No OFD packet to send [04:13:34]OFD Sender: No OFD packet to send [04:13:39]OFD Sender: No OFD packet to send [04:13:44]OFD Sender: No OFD packet to send [04:13:49]OFD Sender: No OFD packet to send [04:13:54]OFD Sender: No OFD packet to send [04:13:59]OFD Sender: No OFD packet to send [04:14:04]OFD Sender: No OFD packet to send [04:14:09]OFD Sender: No OFD packet to send [04:14:14]OFD Sender: No OFD packet to send [04:14:19]OFD Sender: No OFD packet to send [04:14:24]OFD Sender: No OFD packet to send [04:14:29]OFD Sender: No OFD packet to send [04:14:34]OFD Sender: No OFD packet to send [04:14:39]OFD Sender: No OFD packet to send [04:14:44]OFD Sender: No OFD packet to send [04:14:49]OFD Sender: No OFD packet to send [04:14:54]OFD Sender: No OFD packet to send [04:14:59]OFD Sender: No OFD packet to send [04:15:04]OFD Sender: No OFD packet to send [04:15:09]OFD Sender: No OFD packet to send [04:15:14]OFD Sender: No OFD packet to send [04:15:19]OFD Sender: No OFD packet to send [04:15:24]OFD Sender: No OFD packet to send [04:15:29]OFD Sender: No OFD packet to send [04:15:34]OFD Sender: No OFD packet to send [04:15:39]OFD Sender: No OFD packet to send [04:15:44]OFD Sender: No OFD packet to send [04:15:49]OFD Sender: No OFD packet to send [04:15:54]OFD Sender: No OFD packet to send [04:15:59]OFD Sender: No OFD packet to send [04:16:02]recv_with_timeout no data received [04:16:04]OFD Sender: No OFD packet to send [04:16:09]OFD Sender: No OFD packet to send [04:16:14]OFD Sender: No OFD packet to send [04:16:19]OFD Sender: No OFD packet to send [04:16:24]OFD Sender: No OFD packet to send [04:16:29]OFD Sender: No OFD packet to send [04:16:34]OFD Sender: No OFD packet to send [04:16:39]OFD Sender: No OFD packet to send [04:16:44]OFD Sender: No OFD packet to send [04:16:49]OFD Sender: No OFD packet to send [04:16:54]OFD Sender: No OFD packet to send [04:16:59]OFD Sender: No OFD packet to send [04:17:04]OFD Sender: No OFD packet to send [04:17:09]OFD Sender: No OFD packet to send [04:17:14]OFD Sender: No OFD packet to send [04:17:19]OFD Sender: No OFD packet to send [04:17:24]OFD Sender: No OFD packet to send [04:17:29]OFD Sender: No OFD packet to send [04:17:34]OFD Sender: No OFD packet to send [04:17:39]OFD Sender: No OFD packet to send [04:17:44]OFD Sender: No OFD packet to send [04:17:49]OFD Sender: No OFD packet to send [04:17:54]OFD Sender: No OFD packet to send [04:17:59]OFD Sender: No OFD packet to send [04:18:04]OFD Sender: No OFD packet to send [04:18:09]OFD Sender: No OFD packet to send [04:18:14]OFD Sender: No OFD packet to send [04:18:16]recv_with_timeout no data received [04:18:19]OFD Sender: No OFD packet to send [04:18:24]OFD Sender: No OFD packet to send [04:18:29]OFD Sender: No OFD packet to send [04:18:34]OFD Sender: No OFD packet to send [04:18:39]OFD Sender: No OFD packet to send [04:18:44]OFD Sender: No OFD packet to send [04:18:49]OFD Sender: No OFD packet to send [04:18:54]OFD Sender: No OFD packet to send [04:18:59]OFD Sender: No OFD packet to send [04:19:04]OFD Sender: No OFD packet to send [04:19:09]OFD Sender: No OFD packet to send [04:19:14]OFD Sender: No OFD packet to send [04:19:17]recv_with_timeout no data received [04:19:19]OFD Sender: No OFD packet to send [04:19:24]OFD Sender: No OFD packet to send [04:19:29]OFD Sender: No OFD packet to send [04:19:34]OFD Sender: No OFD packet to send [04:19:39]OFD Sender: No OFD packet to send [04:19:44]OFD Sender: No OFD packet to send [04:19:49]OFD Sender: No OFD packet to send [04:19:54]OFD Sender: No OFD packet to send [04:19:59]OFD Sender: No OFD packet to send [04:20:04]OFD Sender: No OFD packet to send [04:20:09]OFD Sender: No OFD packet to send [04:20:14]OFD Sender: No OFD packet to send [04:20:19]OFD Sender: No OFD packet to send [04:20:24]OFD Sender: No OFD packet to send [04:20:29]OFD Sender: No OFD packet to send [04:20:34]OFD Sender: No OFD packet to send [04:20:39]OFD Sender: No OFD packet to send [04:20:44]OFD Sender: No OFD packet to send [04:20:49]OFD Sender: No OFD packet to send [04:20:54]OFD Sender: No OFD packet to send [04:20:59]OFD Sender: No OFD packet to send [04:21:04]OFD Sender: No OFD packet to send [04:21:09]OFD Sender: No OFD packet to send [04:21:14]recv_with_timeout no data received [04:21:14]OFD Sender: No OFD packet to send [04:21:19]OFD Sender: No OFD packet to send [04:21:24]OFD Sender: No OFD packet to send [04:21:29]OFD Sender: No OFD packet to send [04:21:34]OFD Sender: No OFD packet to send [04:21:39]OFD Sender: No OFD packet to send [04:21:44]OFD Sender: No OFD packet to send [04:21:49]OFD Sender: No OFD packet to send [04:21:54]OFD Sender: No OFD packet to send [04:21:59]OFD Sender: No OFD packet to send [04:22:04]OFD Sender: No OFD packet to send [04:22:09]OFD Sender: No OFD packet to send [04:22:14]OFD Sender: No OFD packet to send [04:22:19]OFD Sender: No OFD packet to send [04:22:24]OFD Sender: No OFD packet to send [04:22:29]OFD Sender: No OFD packet to send [04:22:34]OFD Sender: No OFD packet to send [04:22:39]OFD Sender: No OFD packet to send [04:22:44]OFD Sender: No OFD packet to send [04:22:49]OFD Sender: No OFD packet to send [04:22:54]OFD Sender: No OFD packet to send [04:22:59]OFD Sender: No OFD packet to send [04:23:04]OFD Sender: No OFD packet to send [04:23:09]OFD Sender: No OFD packet to send [04:23:14]OFD Sender: No OFD packet to send [04:23:19]OFD Sender: No OFD packet to send [04:23:24]OFD Sender: No OFD packet to send [04:23:29]OFD Sender: No OFD packet to send [04:23:34]OFD Sender: No OFD packet to send [04:23:39]OFD Sender: No OFD packet to send [04:23:44]OFD Sender: No OFD packet to send [04:23:49]OFD Sender: No OFD packet to send [04:23:54]OFD Sender: No OFD packet to send [04:23:59]OFD Sender: No OFD packet to send [04:24:04]OFD Sender: No OFD packet to send [04:24:09]OFD Sender: No OFD packet to send [04:24:14]OFD Sender: No OFD packet to send [04:24:19]OFD Sender: No OFD packet to send [04:24:24]OFD Sender: No OFD packet to send [04:24:29]OFD Sender: No OFD packet to send [04:24:34]OFD Sender: No OFD packet to send [04:24:39]OFD Sender: No OFD packet to send [04:24:44]OFD Sender: No OFD packet to send [04:24:49]OFD Sender: No OFD packet to send [04:24:54]OFD Sender: No OFD packet to send [04:24:59]OFD Sender: No OFD packet to send [04:25:04]OFD Sender: No OFD packet to send [04:25:09]OFD Sender: No OFD packet to send [04:25:11]recv_with_timeout no data received [04:25:14]OFD Sender: No OFD packet to send [04:25:19]OFD Sender: No OFD packet to send [04:25:25]OFD Sender: No OFD packet to send [04:25:30]OFD Sender: No OFD packet to send [04:25:35]OFD Sender: No OFD packet to send [04:25:40]OFD Sender: No OFD packet to send [04:25:45]OFD Sender: No OFD packet to send [04:25:50]OFD Sender: No OFD packet to send [04:25:55]OFD Sender: No OFD packet to send [04:26:00]OFD Sender: No OFD packet to send [04:26:05]OFD Sender: No OFD packet to send [04:26:10]OFD Sender: No OFD packet to send [04:26:15]OFD Sender: No OFD packet to send [04:26:20]OFD Sender: No OFD packet to send [04:26:25]OFD Sender: No OFD packet to send [04:26:30]OFD Sender: No OFD packet to send [04:26:35]OFD Sender: No OFD packet to send [04:26:40]OFD Sender: No OFD packet to send [04:26:45]OFD Sender: No OFD packet to send [04:26:50]OFD Sender: No OFD packet to send [04:26:55]OFD Sender: No OFD packet to send [04:26:56]recv_with_timeout no data received [04:27:00]OFD Sender: No OFD packet to send [04:27:05]OFD Sender: No OFD packet to send [04:27:10]OFD Sender: No OFD packet to send [04:27:15]OFD Sender: No OFD packet to send [04:27:20]OFD Sender: No OFD packet to send [04:27:25]OFD Sender: No OFD packet to send [04:27:30]OFD Sender: No OFD packet to send [04:27:35]OFD Sender: No OFD packet to send [04:27:40]OFD Sender: No OFD packet to send [04:27:45]OFD Sender: No OFD packet to send [04:27:50]OFD Sender: No OFD packet to send [04:27:55]OFD Sender: No OFD packet to send [04:28:00]OFD Sender: No OFD packet to send [04:28:05]OFD Sender: No OFD packet to send [04:28:10]OFD Sender: No OFD packet to send [04:28:15]OFD Sender: No OFD packet to send [04:28:20]OFD Sender: No OFD packet to send [04:28:25]OFD Sender: No OFD packet to send [04:28:30]OFD Sender: No OFD packet to send [04:28:35]OFD Sender: No OFD packet to send [04:28:40]OFD Sender: No OFD packet to send [04:28:45]OFD Sender: No OFD packet to send [04:28:50]OFD Sender: No OFD packet to send [04:28:55]OFD Sender: No OFD packet to send [04:29:00]OFD Sender: No OFD packet to send [04:29:05]OFD Sender: No OFD packet to send [04:29:10]OFD Sender: No OFD packet to send [04:29:15]OFD Sender: No OFD packet to send [04:29:20]OFD Sender: No OFD packet to send [04:29:25]OFD Sender: No OFD packet to send [04:29:30]OFD Sender: No OFD packet to send [04:29:35]OFD Sender: No OFD packet to send [04:29:40]OFD Sender: No OFD packet to send [04:29:45]OFD Sender: No OFD packet to send [04:29:50]OFD Sender: No OFD packet to send [04:29:55]OFD Sender: No OFD packet to send [04:30:00]OFD Sender: No OFD packet to send [04:30:03]recv_with_timeout no data received [04:30:05]OFD Sender: No OFD packet to send [04:30:10]OFD Sender: No OFD packet to send [04:30:15]OFD Sender: No OFD packet to send [04:30:20]OFD Sender: No OFD packet to send [04:30:25]OFD Sender: No OFD packet to send [04:30:30]OFD Sender: No OFD packet to send [04:30:35]OFD Sender: No OFD packet to send [04:30:40]OFD Sender: No OFD packet to send [04:30:45]OFD Sender: No OFD packet to send [04:30:49]recv_with_timeout no data received [04:30:50]OFD Sender: No OFD packet to send [04:30:55]OFD Sender: No OFD packet to send [04:31:00]OFD Sender: No OFD packet to send [04:31:05]OFD Sender: No OFD packet to send [04:31:10]OFD Sender: No OFD packet to send [04:31:13]recv_with_timeout no data received [04:31:15]OFD Sender: No OFD packet to send [04:31:20]OFD Sender: No OFD packet to send [04:31:25]OFD Sender: No OFD packet to send [04:31:30]OFD Sender: No OFD packet to send [04:31:35]OFD Sender: No OFD packet to send [04:31:40]OFD Sender: No OFD packet to send [04:31:45]OFD Sender: No OFD packet to send [04:31:50]OFD Sender: No OFD packet to send [04:31:55]OFD Sender: No OFD packet to send [04:32:00]OFD Sender: No OFD packet to send [04:32:05]OFD Sender: No OFD packet to send [04:32:10]OFD Sender: No OFD packet to send [04:32:15]OFD Sender: No OFD packet to send [04:32:20]OFD Sender: No OFD packet to send [04:32:25]OFD Sender: No OFD packet to send [04:32:30]OFD Sender: No OFD packet to send [04:32:35]OFD Sender: No OFD packet to send [04:32:40]OFD Sender: No OFD packet to send [04:32:45]OFD Sender: No OFD packet to send [04:32:50]OFD Sender: No OFD packet to send [04:32:55]OFD Sender: No OFD packet to send [04:33:00]OFD Sender: No OFD packet to send [04:33:05]OFD Sender: No OFD packet to send [04:33:10]OFD Sender: No OFD packet to send [04:33:15]OFD Sender: No OFD packet to send [04:33:20]OFD Sender: No OFD packet to send [04:33:25]OFD Sender: No OFD packet to send [04:33:25]recv_with_timeout no data received [04:33:30]OFD Sender: No OFD packet to send [04:33:35]OFD Sender: No OFD packet to send [04:33:40]OFD Sender: No OFD packet to send [04:33:45]OFD Sender: No OFD packet to send [04:33:50]OFD Sender: No OFD packet to send [04:33:55]OFD Sender: No OFD packet to send [04:34:00]OFD Sender: No OFD packet to send [04:34:05]OFD Sender: No OFD packet to send [04:34:10]OFD Sender: No OFD packet to send [04:34:15]OFD Sender: No OFD packet to send [04:34:20]OFD Sender: No OFD packet to send [04:34:25]OFD Sender: No OFD packet to send [04:34:30]OFD Sender: No OFD packet to send [04:34:35]OFD Sender: No OFD packet to send [04:34:40]OFD Sender: No OFD packet to send [04:34:45]OFD Sender: No OFD packet to send [04:34:50]OFD Sender: No OFD packet to send [04:34:55]OFD Sender: No OFD packet to send [04:35:00]OFD Sender: No OFD packet to send [04:35:05]OFD Sender: No OFD packet to send [04:35:10]OFD Sender: No OFD packet to send [04:35:15]OFD Sender: No OFD packet to send [04:35:18]recv_with_timeout no data received [04:35:20]OFD Sender: No OFD packet to send [04:35:25]OFD Sender: No OFD packet to send [04:35:30]OFD Sender: No OFD packet to send [04:35:35]OFD Sender: No OFD packet to send [04:35:40]OFD Sender: No OFD packet to send [04:35:45]OFD Sender: No OFD packet to send [04:35:50]OFD Sender: No OFD packet to send [04:35:55]OFD Sender: No OFD packet to send [04:36:00]OFD Sender: No OFD packet to send [04:36:05]OFD Sender: No OFD packet to send [04:36:10]OFD Sender: No OFD packet to send [04:36:15]OFD Sender: No OFD packet to send [04:36:20]OFD Sender: No OFD packet to send [04:36:25]OFD Sender: No OFD packet to send [04:36:30]OFD Sender: No OFD packet to send [04:36:35]OFD Sender: No OFD packet to send [04:36:40]OFD Sender: No OFD packet to send [04:36:45]OFD Sender: No OFD packet to send [04:36:50]OFD Sender: No OFD packet to send [04:36:55]OFD Sender: No OFD packet to send [04:37:00]OFD Sender: No OFD packet to send [04:37:05]OFD Sender: No OFD packet to send [04:37:10]OFD Sender: No OFD packet to send [04:37:15]OFD Sender: No OFD packet to send [04:37:20]OFD Sender: No OFD packet to send [04:37:25]OFD Sender: No OFD packet to send [04:37:30]OFD Sender: No OFD packet to send [04:37:35]OFD Sender: No OFD packet to send [04:37:40]OFD Sender: No OFD packet to send [04:37:45]OFD Sender: No OFD packet to send [04:37:50]OFD Sender: No OFD packet to send [04:37:55]OFD Sender: No OFD packet to send [04:38:00]OFD Sender: No OFD packet to send [04:38:05]OFD Sender: No OFD packet to send [04:38:10]OFD Sender: No OFD packet to send [04:38:15]OFD Sender: No OFD packet to send [04:38:20]OFD Sender: No OFD packet to send [04:38:25]OFD Sender: No OFD packet to send [04:38:30]OFD Sender: No OFD packet to send [04:38:35]OFD Sender: No OFD packet to send [04:38:40]OFD Sender: No OFD packet to send [04:38:45]OFD Sender: No OFD packet to send [04:38:50]OFD Sender: No OFD packet to send [04:38:55]OFD Sender: No OFD packet to send [04:39:00]OFD Sender: No OFD packet to send [04:39:05]OFD Sender: No OFD packet to send [04:39:10]OFD Sender: No OFD packet to send [04:39:15]OFD Sender: No OFD packet to send [04:39:20]OFD Sender: No OFD packet to send [04:39:25]OFD Sender: No OFD packet to send [04:39:30]OFD Sender: No OFD packet to send [04:39:35]OFD Sender: No OFD packet to send [04:39:40]OFD Sender: No OFD packet to send [04:39:45]OFD Sender: No OFD packet to send [04:39:50]OFD Sender: No OFD packet to send [04:39:55]OFD Sender: No OFD packet to send [04:40:00]OFD Sender: No OFD packet to send [04:40:05]OFD Sender: No OFD packet to send [04:40:10]OFD Sender: No OFD packet to send [04:40:15]OFD Sender: No OFD packet to send [04:40:20]OFD Sender: No OFD packet to send [04:40:25]OFD Sender: No OFD packet to send [04:40:30]OFD Sender: No OFD packet to send [04:40:35]OFD Sender: No OFD packet to send [04:40:40]OFD Sender: No OFD packet to send [04:40:45]OFD Sender: No OFD packet to send [04:40:50]OFD Sender: No OFD packet to send [04:40:50]recv_with_timeout no data received [04:40:55]OFD Sender: No OFD packet to send [04:41:00]OFD Sender: No OFD packet to send [04:41:05]OFD Sender: No OFD packet to send [04:41:10]OFD Sender: No OFD packet to send [04:41:15]OFD Sender: No OFD packet to send [04:41:20]OFD Sender: No OFD packet to send [04:41:25]OFD Sender: No OFD packet to send [04:41:30]OFD Sender: No OFD packet to send [04:41:35]OFD Sender: No OFD packet to send [04:41:40]OFD Sender: No OFD packet to send [04:41:45]OFD Sender: No OFD packet to send [04:41:50]OFD Sender: No OFD packet to send [04:41:55]OFD Sender: No OFD packet to send [04:42:00]OFD Sender: No OFD packet to send [04:42:05]OFD Sender: No OFD packet to send [04:42:10]OFD Sender: No OFD packet to send [04:42:15]OFD Sender: No OFD packet to send [04:42:20]OFD Sender: No OFD packet to send [04:42:23]accept exits with 10 [04:42:23]New connection [04:42:23]New thread 3067632996 created [04:42:23]Thread 3067489636 joined [04:42:23]Waiting for new connection... [04:42:23] Sock 10.Parse request [04:42:23]Sock 10.Check first char [04:42:23]Sock 10.First char is OK [04:42:23]request: POST /json_proto HTTP/1.0 [04:42:23]Method: POST [04:42:23]URL: /json_proto [04:42:23]Method is POST - this is cgi request [04:42:23]url: /json_proto [04:42:23]query_string will be loaded in cgi processing [04:42:23]execute_cgi json_proto POST (null) [04:42:23]execute_cgi path=json_proto method=POST [04:42:23]POST find Content-Length [04:42:23]Host: 172.17.47.195:8080 [04:42:23]Content-Length: 677 [04:42:23]Content-Type: application/json [04:42:23] [04:42:23]POST finish read [04:42:23]Found Content-Length = 677 [04:42:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872492", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 5.900, "sum" : 400.02, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:42:23]execute_script... [04:42:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872492", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 5.900, "sum" : 400.02, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:42:23]POST & json_proto [04:42:23]process_json_proto [04:42:23]json parsed OK: [04:42:23]protocol is kg_v1.0 [04:42:23]action value=close_receipt [04:42:23]process_action close_receipt [04:42:23]cmd_close_receipt [04:42:23]MH_GetDate [04:42:23]Write to MH i2c: F0 00 00 B3 00 A2 [04:42:23]Write i2c OK [04:42:23]MH_I2C_Read... [04:42:23]Read from MH i2c: F0 [04:42:23]MH_I2C_Read... [04:42:23]Read from MH i2c: F0 09 00 [04:42:23]MH_I2C_Read... [04:42:23]Read from MH i2c: F0 09 00 B3 00 00 31 43 F2 66 96 2E 95 66 36 [04:42:23]GetLastDocTimeStamp 1727147505 [04:42:23]current date 1727152945 [04:42:23]FM_GetShiftState [04:42:23]SAM_PROTO_GetShiftState [04:42:23]wFMCommunicate request_size=4 [04:42:23]MH_SAM_APDU [04:42:23]CAPDU: 80 13 01 00 [04:42:23]Write to MH i2c: E2 08 00 B4 00 80 13 01 00 00 00 00 00 31 [04:42:23]Write i2c OK [04:42:23]MH_I2C_Read... [04:42:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:42:23]Read from MH i2c: E2 [04:42:23]MH_I2C_Read... [04:42:23]Read from MH i2c: E2 0E 00 [04:42:23]MH_I2C_Read... [04:42:23]Read from MH i2c: E2 0E 00 B4 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 D7 [04:42:23]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [04:42:23]wFMCommunicate OK [04:42:23]SAM_PROTO_GetShiftState done [04:42:23]FM_GetShiftState done [04:42:23]opened in 1727137340 [04:42:23]opened+sec_in_day 1727223740 [04:42:23]quantity*price = 40002 [04:42:23]sum+1 = 40003 [04:42:23]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.02 ИТОГО: 400.00 Внесено: 400.00 СДАЧА: 0.00 НСП 1% : 3.54 НДС 12% : 42.48 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 18 24.09.2024 04:42 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 ФМ: 0000000002094258 ФД: 7882 ФПД: 248857362305097 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T044225&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7882&fm=248857362305097&tin=02508201610067®Number=0000000000190446&sum=40000 [04:42:25]StoreToDocumentArchive [04:42:25]shift 72 fd 7882 [04:42:25]save to /storage/0072/doc_00007882 [04:42:25]save last doc name /storage/0072/doc_00007882 to /storage/kkm_last_doc_name [04:42:25]save OK [04:42:25]Clear old archive folders... [04:42:25]ProcessDocumentItem done err = 0, tmpTLVsize=251 [04:42:25]tlvbuf is 010548F0 [04:42:25]SAM_PROTO_ClearQueue [04:42:25]wFMCommunicate request_size=4 [04:42:25]MH_SAM_APDU [04:42:25]CAPDU: 80 09 00 00 [04:42:25]Write to MH i2c: E2 08 00 C1 00 80 09 00 00 00 00 00 00 33 [04:42:25]Write i2c OK [04:42:25]MH_I2C_Read... [04:42:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:42:25]Read from MH i2c: E2 [04:42:25]MH_I2C_Read... [04:42:25]Read from MH i2c: E2 03 00 [04:42:25]MH_I2C_Read... [04:42:25]Read from MH i2c: E2 03 00 C1 00 00 90 00 35 [04:42:25]RAPDU: 90 00 [04:42:25]wFMCommunicate OK [04:42:25]SAM_PROTO_ClearQueue done [04:42:25]KKMCreateOFDPacket [04:42:25]OFDProtocolAddRootSTLVToBuf [04:42:25]FM_MakeSignedData [04:42:25]FM_MakeSignedData [04:42:25]SAM_PROTO_SignData [04:42:25]wFMCommunicate request_size=4 [04:42:25]MH_SAM_APDU [04:42:25]CAPDU: 80 0D 01 02 [04:42:25]Write to MH i2c: E2 08 00 C2 00 80 0D 01 02 00 00 00 00 3B [04:42:25]Write i2c OK [04:42:25]MH_I2C_Read... [04:42:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:42:25]Read from MH i2c: E2 [04:42:25]MH_I2C_Read... [04:42:25]Read from MH i2c: E2 03 00 [04:42:25]MH_I2C_Read... [04:42:25]Read from MH i2c: E2 03 00 C2 00 00 90 00 36 [04:42:25]RAPDU: 90 00 [04:42:25]wFMCommunicate OK [04:42:25]wFMCommunicate request_size=255 [04:42:25]MH_SAM_APDU [04:42:25]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 31 43 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CA 1E 00 00 35 04 06 00 E2 [04:42:25]Write to MH i2c: E2 02 01 C3 00 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 31 43 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CA 1E 00 00 35 04 06 00 E2 00 00 8C [04:42:25]Write i2c OK [04:42:25]MH_I2C_Read... [04:42:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:42:25]Read from MH i2c: E2 [04:42:25]MH_I2C_Read... [04:42:25]Read from MH i2c: E2 03 00 [04:42:25]MH_I2C_Read... [04:42:25]Read from MH i2c: E2 03 00 C3 00 00 90 00 37 [04:42:25]RAPDU: 90 00 [04:42:25]wFMCommunicate OK [04:42:25]wFMCommunicate request_size=10 [04:42:25]MH_SAM_APDU [04:42:25]CAPDU: 80 0D 02 02 05 55 9E AE 10 49 [04:42:25]Write to MH i2c: E2 0D 00 C4 00 80 0D 02 02 05 00 55 9E AE 10 49 00 00 42 [04:42:25]Write i2c OK [04:42:25]MH_I2C_Read... [04:42:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:42:25]Read from MH i2c: E2 [04:42:25]MH_I2C_Read... [04:42:25]Read from MH i2c: E2 03 00 [04:42:25]MH_I2C_Read... [04:42:25]Read from MH i2c: E2 03 00 C4 00 00 90 00 38 [04:42:25]RAPDU: 90 00 [04:42:25]wFMCommunicate OK [04:42:25]wFMCommunicate request_size=4 [04:42:25]MH_SAM_APDU [04:42:25]CAPDU: 80 0D 03 02 [04:42:25]Write to MH i2c: E2 08 00 C5 00 80 0D 03 02 00 00 00 00 40 [04:42:25]Write i2c OK [04:42:25]MH_I2C_Read... [04:42:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:42:25]Read from MH i2c: E2 [04:42:25]MH_I2C_Read... [04:42:25]Read from MH i2c: E2 0B 00 [04:42:25]MH_I2C_Read... [04:42:25]Read from MH i2c: E2 0B 00 C5 00 00 81 13 AA F2 59 EC 18 A1 90 00 6F [04:42:25]RAPDU: 81 13 AA F2 59 EC 18 A1 90 00 [04:42:25]wFMCommunicate OK [04:42:25]SAM_PROTO_SignData done [04:42:25]FM_MakeSignedData done [04:42:25]CreateOFDProtocolMessage [04:42:25]wFMCommunicate request_size=4 [04:42:25]MH_SAM_APDU [04:42:25]CAPDU: 80 11 00 00 [04:42:25]Write to MH i2c: E2 08 00 C6 00 80 11 00 00 00 00 00 00 40 [04:42:25]Write i2c OK [04:42:25]MH_I2C_Read... [04:42:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:42:25]Read from MH i2c: E2 [04:42:25]MH_I2C_Read... [04:42:25]Read from MH i2c: E2 17 00 [04:42:25]MH_I2C_Read... [04:42:25]Read from MH i2c: E2 17 00 C6 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 91 [04:42:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [04:42:25]wFMCommunicate OK [04:42:25]CreateOFDProtocolMessage done [04:42:25]OFDSenderStorePacket 7882 [04:42:25]StoreOFDPacket docnum=7882 [04:42:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 3E 68 07 01 04 6D 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 31 43 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CA 1E 00 00 35 04 06 00 E2 55 9E AE 10 49 81 13 AA F2 59 EC 18 A1 [04:42:25]CheckFolder [04:42:25]dirname=/storage/ofd_packets [04:42:25]CheckFolder done [04:42:25]ProducePacketName [04:42:25]name=ofd_packets/00007882 [04:42:25]NVStorageSaveData ofd_packets/00007882 [04:42:25]File name is /storage/ofd_packets/00007882 [04:42:25]Write 301 bytes [04:42:25]NVStorageSaveData done [04:42:25]OFDSenderStorePacket done [04:42:25]KKMCreateOFDPacket done [04:42:25]NVStorageSaveData kkm_last_timestamp [04:42:25]File name is /storage/kkm_last_timestamp [04:42:25]Write 4 bytes [04:42:25]NVStorageSaveData done [04:42:25]ExternCall_PrintAddStr [04:42:25]wPrintStart [04:42:25]Write to MH i2c: 01 00 00 C7 00 C7 [04:42:25]Write i2c OK [04:42:25]MH_I2C_Read... [04:42:25]Read from MH i2c: 01 [04:42:25]MH_I2C_Read... [04:42:25]Read from MH i2c: 01 07 00 [04:42:25]MH_I2C_Read... [04:42:25]Read from MH i2c: 01 07 00 C7 00 00 00 00 00 00 FF 0F DC [04:42:25]RasterBufferAndPrint [04:42:25]line Счет N : (1)872492 [04:42:25]line ИНН: 02508201610067 [04:42:25]line Контрольно-Кассовый Чек [04:42:25]line ПРОДАЖА [04:42:25]line ТРК (МРК, ГНК) : 33 [04:42:25]line Товар: 2710124130 [04:42:25]line Аи-92-К-5 [04:42:25]line 5.900 * 67.80 [04:42:25]line = 400.02 [04:42:25]line НДС 12% НСП 1% [04:42:25]line > о реализуемом товаре [04:42:25]line ОКРУГЛЕНИЕ: -0.02 [04:42:25]line ИТОГО: 400.00 [04:42:25]line Внесено: 400.00 [04:42:25]line СДАЧА: 0.00 [04:42:25]line НСП 1% : 3.54 [04:42:25]line НДС 12% : 42.48 [04:42:25]line Наличными: 400.00 [04:42:25]line Безнал.: 0.00 [04:42:25]line Место: АЗС № 137 "Партнер Нефть" [04:42:25]line Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 [04:42:25]line СНО: Общий режим [04:42:25]line Чек 18 24.09.2024 04:42 [04:42:25]line Смена: 72 ФФД: 1.0 [04:42:25]line ЗНМ: 0300000041 [04:42:25]line РНМ: 0000000000190446 [04:42:25]line Версия ККМ: v1.0 [04:42:25]line ФМ: 0000000002094258 [04:42:25]line ФД: 7882 [04:42:25]line ФПД: 248857362305097 [04:42:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T044225&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7882&fm=248857362305097&tin=02508201610067®Number=0000000000190446&sum=40000 [04:42:25]OFD Sender: Processing packet 7882 [packets to send 51, broken 50] [04:42:25]ProducePacketName [04:42:25]name=ofd_packets/00007882 [04:42:25]OFD Sender: To server: pG, [04:42:25]CommunicateWithHost lk.salyk.kg:30040 [04:42:25]ConnectInit lk.salyk.kg [04:42:25]written 0, free lines is 4095 [04:42:26]Write to MH i2c: 01 00 00 F2 00 F2 [04:42:26]Write i2c OK [04:42:26]MH_I2C_Read... [04:42:26]Read from MH i2c: 01 [04:42:26]MH_I2C_Read... [04:42:26]Read from MH i2c: 01 07 00 [04:42:26]MH_I2C_Read... [04:42:26]Read from MH i2c: 01 07 00 F2 00 00 00 00 00 00 ED 0C F2 [04:42:26]RasterBufferAndPrint [04:42:26]line [04:42:26]line [04:42:26]line [04:42:26]line [04:42:26]line [04:42:26]written 0, free lines is 3315 [04:42:26]MH_Cut [04:42:26]Write to MH i2c: D1 01 00 F9 00 01 CB [04:42:26]Write i2c OK [04:42:26]MH_I2C_Read... [04:42:26]Read from MH i2c: D1 [04:42:26]MH_I2C_Read... [04:42:26]Read from MH i2c: D1 01 00 [04:42:26]MH_I2C_Read... [04:42:26]Read from MH i2c: D1 01 00 F9 00 00 CA [04:42:26]Write to MH i2c: 01 00 00 FA 00 FA [04:42:26]Write i2c OK [04:42:26]MH_I2C_Read... [04:42:27]*** Cut start [04:42:27]*** Purtial cut [04:42:27]*** Stage 1: CUTSNS_PIN = 1 [04:42:27]Read from MH i2c: 01 [04:42:27]MH_I2C_Read... [04:42:27]*** Stop cut motor [04:42:27]*** Cut end [04:42:27]Read from MH i2c: 01 07 00 [04:42:27]MH_I2C_Read... [04:42:27]Read from MH i2c: 01 07 00 FA 00 00 00 00 00 00 FF 0F 0F [04:42:27]process_action close_receipt done [04:42:27]requested_data is exist [04:42:27]produce_requested_data [04:42:27]requested_item fm.sn is exist - process it [04:42:27]wFMCommunicate request_size=4 [04:42:27]MH_SAM_APDU [04:42:27]CAPDU: 80 11 00 00 [04:42:27]Write to MH i2c: E2 08 00 FB 00 80 11 00 00 00 00 00 00 75 [04:42:27]Write i2c OK [04:42:27]MH_I2C_Read... [04:42:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:42:27]Read from MH i2c: E2 [04:42:27]MH_I2C_Read... [04:42:27]Read from MH i2c: E2 17 00 [04:42:27]MH_I2C_Read... [04:42:27]Read from MH i2c: E2 17 00 FB 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 C6 [04:42:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [04:42:27]wFMCommunicate OK [04:42:27]requested_item fd.num is exist - process it [04:42:27]SAM_PROTO_GetFieldsCounters [04:42:27]wFMCommunicate request_size=4 [04:42:27]MH_SAM_APDU [04:42:27]CAPDU: 80 13 00 00 [04:42:27]Write to MH i2c: E2 08 00 FC 00 80 13 00 00 00 00 00 00 78 [04:42:27]Write i2c OK [04:42:27]MH_I2C_Read... [04:42:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:42:27]Read from MH i2c: E2 [04:42:27]MH_I2C_Read... [04:42:27]Read from MH i2c: E2 62 00 [04:42:27]MH_I2C_Read... [04:42:27]Read from MH i2c: E2 62 00 FC 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 CA 1E 00 00 0E 04 04 00 48 00 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 FC [04:42:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 CA 1E 00 00 0E 04 04 00 48 00 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 [04:42:27]wFMCommunicate OK [04:42:27]SAM_PROTO_GetFieldsCounters done [04:42:27]requested_item shift.num is exist - process it [04:42:27]requested_item shift.opened is exist - process it [04:42:27]req_shift_opened [04:42:27]FM_GetShiftState [04:42:27]SAM_PROTO_GetShiftState [04:42:27]wFMCommunicate request_size=4 [04:42:27]MH_SAM_APDU [04:42:27]CAPDU: 80 13 01 00 [04:42:27]Write to MH i2c: E2 08 00 FD 00 80 13 01 00 00 00 00 00 7A [04:42:27]Write i2c OK [04:42:27]MH_I2C_Read... [04:42:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:42:27]Read from MH i2c: E2 [04:42:27]MH_I2C_Read... [04:42:27]Read from MH i2c: E2 0E 00 [04:42:27]MH_I2C_Read... [04:42:27]Read from MH i2c: E2 0E 00 FD 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 20 [04:42:27]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [04:42:27]wFMCommunicate OK [04:42:27]SAM_PROTO_GetShiftState done [04:42:27]FM_GetShiftState done [04:42:27]req_shift_opened done [04:42:27]requested_item shift.open_date is exist - process it [04:42:27]req_shift_open_date [04:42:27]req_shift_open_date done [04:42:27]produce_requested_data done [04:42:27]produce_requested_data return {"fm.sn":"0000000002094258","fd.num":7882,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [04:42:27]process_action_free close_receipt [04:42:27]json_value_free [04:42:27]json_value_free done [04:42:27]process_json_proto returns [04:42:27]Send response to host [04:42:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002094258","fd.num":7882,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [04:42:27]free response buf [04:42:27]execute_script done [04:42:27]execute_script returns [04:42:27]free content buf [04:42:27]Sock 10.Close socket [04:42:27]Sock 10.Thread stoped [04:42:27]Connected sock=9 [04:42:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 3E 68 07 01 04 6D 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 31 43 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CA 1E 00 00 35 04 06 00 E2 55 9E AE 10 49 81 13 AA F2 59 EC 18 A1 [04:42:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 F1 C2 47 00 30 52 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CA 1E 00 00 F4 03 04 00 EC ED F1 66 B6 04 01 00 00 4F 08 E3 90 BB CD 71 76 [04:42:30]CommunicateWithHost err = 0 [04:42:30]CheckOFDResponse [04:42:30]1017 (14) - 77093643461234 [04:42:30]1041 (16) - 0000000002094258 [04:42:30]1040 (4) - 7882 [04:42:30]1012 (4) - 23.09.2024 22:38 [04:42:30]1206 (1) - 0 [04:42:30]OFD Sender: Remove packet 7882 [04:42:30]ProducePacketName [04:42:30]name=ofd_packets/00007882 [04:42:30]NVStorageDeleteData [04:42:30]OFD Sender: No OFD packet to send [04:42:35]OFD Sender: No OFD packet to send [04:42:38]accept exits with 7 [04:42:38]New connection [04:42:38]New thread 3067489636 created [04:42:38]Thread 3067632996 joined [04:42:38]Waiting for new connection... [04:42:38] Sock 7.Parse request [04:42:38]Sock 7.Check first char [04:42:38]Sock 7.First char is OK [04:42:38]request: POST /json_proto HTTP/1.0 [04:42:38]Method: POST [04:42:38]URL: /json_proto [04:42:38]Method is POST - this is cgi request [04:42:38]url: /json_proto [04:42:38]query_string will be loaded in cgi processing [04:42:38]execute_cgi json_proto POST (null) [04:42:38]execute_cgi path=json_proto method=POST [04:42:38]POST find Content-Length [04:42:38]Host: 172.17.47.195:8080 [04:42:38]Content-Length: 677 [04:42:38]Content-Type: application/json [04:42:38] [04:42:38]POST finish read [04:42:38]Found Content-Length = 677 [04:42:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872491", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 5.900, "sum" : 400.02, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:42:38]execute_script... [04:42: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 : (1)872491", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 5.900, "sum" : 400.02, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:42:38]POST & json_proto [04:42:38]process_json_proto [04:42:38]json parsed OK: [04:42:38]protocol is kg_v1.0 [04:42:38]action value=close_receipt [04:42:38]process_action close_receipt [04:42:38]cmd_close_receipt [04:42:38]MH_GetDate [04:42:38]Write to MH i2c: F0 00 00 FE 00 ED [04:42:38]Write i2c OK [04:42:38]MH_I2C_Read... [04:42:38]Read from MH i2c: F0 [04:42:38]MH_I2C_Read... [04:42:38]Read from MH i2c: F0 09 00 [04:42:38]MH_I2C_Read... [04:42:38]Read from MH i2c: F0 09 00 FE 00 00 3F 43 F2 66 96 2E 95 66 8F [04:42:38]GetLastDocTimeStamp 1727152945 [04:42:38]current date 1727152959 [04:42:38]FM_GetShiftState [04:42:38]SAM_PROTO_GetShiftState [04:42:38]wFMCommunicate request_size=4 [04:42:38]MH_SAM_APDU [04:42:38]CAPDU: 80 13 01 00 [04:42:38]Write to MH i2c: E2 08 00 FF 00 80 13 01 00 00 00 00 00 7C [04:42:38]Write i2c OK [04:42:38]MH_I2C_Read... [04:42:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:42:38]Read from MH i2c: E2 [04:42:38]MH_I2C_Read... [04:42:38]Read from MH i2c: E2 0E 00 [04:42:38]MH_I2C_Read... [04:42:38]Read from MH i2c: E2 0E 00 FF 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 22 [04:42:38]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [04:42:38]wFMCommunicate OK [04:42:38]SAM_PROTO_GetShiftState done [04:42:38]FM_GetShiftState done [04:42:38]opened in 1727137340 [04:42:38]opened+sec_in_day 1727223740 [04:42:38]quantity*price = 40002 [04:42:38]sum+1 = 40003 [04:42:38]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.02 ИТОГО: 400.00 Внесено: 400.00 СДАЧА: 0.00 НСП 1% : 3.54 НДС 12% : 42.48 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 19 24.09.2024 04:42 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 ФМ: 0000000002094258 ФД: 7883 ФПД: 125904365256639 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T044240&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7883&fm=125904365256639&tin=02508201610067®Number=0000000000190446&sum=40000 [04:42:40]StoreToDocumentArchive [04:42:40]shift 72 fd 7883 [04:42:40]save to /storage/0072/doc_00007883 [04:42:40]save last doc name /storage/0072/doc_00007883 to /storage/kkm_last_doc_name [04:42:40]save OK [04:42:40]Clear old archive folders... [04:42:40]ProcessDocumentItem done err = 0, tmpTLVsize=251 [04:42:40]tlvbuf is 01063870 [04:42:40]SAM_PROTO_ClearQueue [04:42:40]wFMCommunicate request_size=4 [04:42:40]MH_SAM_APDU [04:42:40]CAPDU: 80 09 00 00 [04:42:40]Write to MH i2c: E2 08 00 0C 01 80 09 00 00 00 00 00 00 7F [04:42:40]Write i2c OK [04:42:40]MH_I2C_Read... [04:42:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:42:40]Read from MH i2c: E2 [04:42:40]MH_I2C_Read... [04:42:40]Read from MH i2c: E2 03 00 [04:42:40]MH_I2C_Read... [04:42:40]Read from MH i2c: E2 03 00 0C 01 00 90 00 81 [04:42:40]RAPDU: 90 00 [04:42:40]wFMCommunicate OK [04:42:40]SAM_PROTO_ClearQueue done [04:42:40]KKMCreateOFDPacket [04:42:40]OFDProtocolAddRootSTLVToBuf [04:42:40]FM_MakeSignedData [04:42:40]FM_MakeSignedData [04:42:40]SAM_PROTO_SignData [04:42:40]wFMCommunicate request_size=4 [04:42:40]MH_SAM_APDU [04:42:40]CAPDU: 80 0D 01 02 [04:42:40]Write to MH i2c: E2 08 00 0D 01 80 0D 01 02 00 00 00 00 87 [04:42:40]Write i2c OK [04:42:40]MH_I2C_Read... [04:42:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:42:40]Read from MH i2c: E2 [04:42:40]MH_I2C_Read... [04:42:40]Read from MH i2c: E2 03 00 [04:42:40]MH_I2C_Read... [04:42:40]Read from MH i2c: E2 03 00 0D 01 00 90 00 82 [04:42:40]RAPDU: 90 00 [04:42:40]wFMCommunicate OK [04:42:40]wFMCommunicate request_size=255 [04:42:40]MH_SAM_APDU [04:42:40]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 40 43 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CB 1E 00 00 35 04 06 00 72 [04:42:40]Write to MH i2c: E2 02 01 0E 01 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 40 43 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CB 1E 00 00 35 04 06 00 72 00 00 79 [04:42:40]Write i2c OK [04:42:40]MH_I2C_Read... [04:42:40]Read from MH i2c: E2 [04:42:40]MH_I2C_Read... [04:42:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:42:40]Read from MH i2c: E2 03 00 [04:42:40]MH_I2C_Read... [04:42:40]Read from MH i2c: E2 03 00 0E 01 00 90 00 83 [04:42:40]RAPDU: 90 00 [04:42:40]wFMCommunicate OK [04:42:40]wFMCommunicate request_size=10 [04:42:40]MH_SAM_APDU [04:42:40]CAPDU: 80 0D 02 02 05 82 64 F7 7F BF [04:42:40]Write to MH i2c: E2 0D 00 0F 01 80 0D 02 02 05 00 82 64 F7 7F BF 00 00 AF [04:42:40]Write i2c OK [04:42:40]MH_I2C_Read... [04:42:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:42:40]Read from MH i2c: E2 [04:42:40]MH_I2C_Read... [04:42:40]Read from MH i2c: E2 03 00 [04:42:40]MH_I2C_Read... [04:42:40]Read from MH i2c: E2 03 00 0F 01 00 90 00 84 [04:42:40]RAPDU: 90 00 [04:42:40]wFMCommunicate OK [04:42:40]wFMCommunicate request_size=4 [04:42:40]MH_SAM_APDU [04:42:40]CAPDU: 80 0D 03 02 [04:42:40]Write to MH i2c: E2 08 00 10 01 80 0D 03 02 00 00 00 00 8C [04:42:40]Write i2c OK [04:42:40]MH_I2C_Read... [04:42:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:42:40]Read from MH i2c: E2 [04:42:40]MH_I2C_Read... [04:42:40]Read from MH i2c: E2 0B 00 [04:42:40]MH_I2C_Read... [04:42:40]Read from MH i2c: E2 0B 00 10 01 00 7E 9C 74 79 54 2C C1 14 90 00 E9 [04:42:40]RAPDU: 7E 9C 74 79 54 2C C1 14 90 00 [04:42:40]wFMCommunicate OK [04:42:40]SAM_PROTO_SignData done [04:42:40]FM_MakeSignedData done [04:42:40]CreateOFDProtocolMessage [04:42:40]wFMCommunicate request_size=4 [04:42:40]MH_SAM_APDU [04:42:40]CAPDU: 80 11 00 00 [04:42:40]Write to MH i2c: E2 08 00 11 01 80 11 00 00 00 00 00 00 8C [04:42:40]Write i2c OK [04:42:40]MH_I2C_Read... [04:42:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:42:40]Read from MH i2c: E2 [04:42:40]MH_I2C_Read... [04:42:40]Read from MH i2c: E2 17 00 [04:42:40]MH_I2C_Read... [04:42:40]Read from MH i2c: E2 17 00 11 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 DD [04:42:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [04:42:40]wFMCommunicate OK [04:42:40]CreateOFDProtocolMessage done [04:42:40]OFDSenderStorePacket 7883 [04:42:40]StoreOFDPacket docnum=7883 [04:42:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 3A D1 07 01 68 5E 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 40 43 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CB 1E 00 00 35 04 06 00 72 82 64 F7 7F BF 7E 9C 74 79 54 2C C1 14 [04:42:40]CheckFolder [04:42:40]dirname=/storage/ofd_packets [04:42:40]CheckFolder done [04:42:40]ProducePacketName [04:42:40]name=ofd_packets/00007883 [04:42:40]NVStorageSaveData ofd_packets/00007883 [04:42:40]File name is /storage/ofd_packets/00007883 [04:42:40]Write 301 bytes [04:42:40]NVStorageSaveData done [04:42:40]OFDSenderStorePacket done [04:42:40]KKMCreateOFDPacket done [04:42:40]NVStorageSaveData kkm_last_timestamp [04:42:40]File name is /storage/kkm_last_timestamp [04:42:40]Write 4 bytes [04:42:40]NVStorageSaveData done [04:42:40]ExternCall_PrintAddStr [04:42:40]wPrintStart [04:42:40]Write to MH i2c: 01 00 00 12 01 13 [04:42:40]Write i2c OK [04:42:40]MH_I2C_Read... [04:42:40]Read from MH i2c: 01 [04:42:40]MH_I2C_Read... [04:42:40]Read from MH i2c: 01 07 00 [04:42:40]MH_I2C_Read... [04:42:40]Read from MH i2c: 01 07 00 12 01 00 00 00 00 00 FF 0F 28 [04:42:40]RasterBufferAndPrint [04:42:40]line Счет N : (1)872491 [04:42:40]line ИНН: 02508201610067 [04:42:40]line Контрольно-Кассовый Чек [04:42:40]line ПРОДАЖА [04:42:40]line ТРК (МРК, ГНК) : 43 [04:42:40]line Товар: 2710124130 [04:42:40]line Аи-92-К-5 [04:42:40]line 5.900 * 67.80 [04:42:40]line = 400.02 [04:42:40]line НДС 12% НСП 1% [04:42:40]line > о реализуемом товаре [04:42:40]line ОКРУГЛЕНИЕ: -0.02 [04:42:40]line ИТОГО: 400.00 [04:42:40]line Внесено: 400.00 [04:42:40]line СДАЧА: 0.00 [04:42:40]line НСП 1% : 3.54 [04:42:40]line НДС 12% : 42.48 [04:42:40]line Наличными: 400.00 [04:42:40]line Безнал.: 0.00 [04:42:40]line Место: АЗС № 137 "Партнер Нефть" [04:42:40]line Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 [04:42:40]line СНО: Общий режим [04:42:40]line Чек 19 24.09.2024 04:42 [04:42:40]line Смена: 72 ФФД: 1.0 [04:42:40]line ЗНМ: 0300000041 [04:42:40]line РНМ: 0000000000190446 [04:42:40]line Версия ККМ: v1.0 [04:42:40]line ФМ: 0000000002094258 [04:42:40]line ФД: 7883 [04:42:40]line ФПД: 125904365256639 [04:42:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T044240&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7883&fm=125904365256639&tin=02508201610067®Number=0000000000190446&sum=40000 [04:42:40]OFD Sender: Processing packet 7883 [packets to send 51, broken 50] [04:42:40]ProducePacketName [04:42:40]name=ofd_packets/00007883 [04:42:40]OFD Sender: To server: pG, [04:42:40]CommunicateWithHost lk.salyk.kg:30040 [04:42:40]ConnectInit lk.salyk.kg [04:42:40]written 0, free lines is 4095 [04:42:41]Write to MH i2c: 01 00 00 3D 01 3E [04:42:41]Write i2c OK [04:42:41]MH_I2C_Read... [04:42:41]Read from MH i2c: 01 [04:42:41]MH_I2C_Read... [04:42:41]Read from MH i2c: 01 07 00 [04:42:41]MH_I2C_Read... [04:42:41]Read from MH i2c: 01 07 00 3D 01 00 00 00 00 00 EA 0C 3B [04:42:41]RasterBufferAndPrint [04:42:41]line [04:42:41]line [04:42:41]line [04:42:41]line [04:42:41]line [04:42:41]written 0, free lines is 3315 [04:42:41]MH_Cut [04:42:41]Write to MH i2c: D1 01 00 44 01 01 17 [04:42:41]Write i2c OK [04:42:41]MH_I2C_Read... [04:42:41]Read from MH i2c: D1 [04:42:41]MH_I2C_Read... [04:42:41]Read from MH i2c: D1 01 00 [04:42:41]MH_I2C_Read... [04:42:41]Read from MH i2c: D1 01 00 44 01 00 16 [04:42:41]Write to MH i2c: 01 00 00 45 01 46 [04:42:41]Write i2c OK [04:42:41]MH_I2C_Read... [04:42:41]Connected sock=10 [04:42:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 3A D1 07 01 68 5E 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 40 43 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CB 1E 00 00 35 04 06 00 72 82 64 F7 7F BF 7E 9C 74 79 54 2C C1 14 [04:42:42]*** Cut start [04:42:42]*** Purtial cut [04:42:42]*** Stage 1: CUTSNS_PIN = 1 [04:42:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 00 33 47 00 F9 D5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CB 1E 00 00 F4 03 04 00 F9 ED F1 66 B6 04 01 00 00 40 D1 F3 95 B7 2E 03 1D [04:42:42]CommunicateWithHost err = 0 [04:42:42]CheckOFDResponse [04:42:42]1017 (14) - 77093643461234 [04:42:42]1041 (16) - 0000000002094258 [04:42:42]1040 (4) - 7883 [04:42:42]1012 (4) - 23.09.2024 22:38 [04:42:42]1206 (1) - 0 [04:42:42]OFD Sender: Remove packet 7883 [04:42:42]ProducePacketName [04:42:42]name=ofd_packets/00007883 [04:42:42]NVStorageDeleteData [04:42:42]Read from MH i2c: 01 [04:42:42]MH_I2C_Read... [04:42:42]*** Stop cut motor [04:42:42]*** Cut end [04:42:42]Read from MH i2c: 01 07 00 [04:42:42]MH_I2C_Read... [04:42:42]Read from MH i2c: 01 07 00 45 01 00 00 00 00 00 FF 0F 5B [04:42:42]process_action close_receipt done [04:42:42]requested_data is exist [04:42:42]produce_requested_data [04:42:42]requested_item fm.sn is exist - process it [04:42:42]wFMCommunicate request_size=4 [04:42:42]MH_SAM_APDU [04:42:42]CAPDU: 80 11 00 00 [04:42:42]Write to MH i2c: E2 08 00 46 01 80 11 00 00 00 00 00 00 C1 [04:42:42]Write i2c OK [04:42:42]MH_I2C_Read... [04:42:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:42:42]Read from MH i2c: E2 [04:42:42]MH_I2C_Read... [04:42:42]Read from MH i2c: E2 17 00 [04:42:42]MH_I2C_Read... [04:42:42]Read from MH i2c: E2 17 00 46 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 12 [04:42:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [04:42:42]wFMCommunicate OK [04:42:42]requested_item fd.num is exist - process it [04:42:42]SAM_PROTO_GetFieldsCounters [04:42:42]wFMCommunicate request_size=4 [04:42:42]MH_SAM_APDU [04:42:42]CAPDU: 80 13 00 00 [04:42:42]Write to MH i2c: E2 08 00 47 01 80 13 00 00 00 00 00 00 C4 [04:42:42]Write i2c OK [04:42:42]MH_I2C_Read... [04:42:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:42:42]Read from MH i2c: E2 [04:42:42]MH_I2C_Read... [04:42:42]Read from MH i2c: E2 62 00 [04:42:42]MH_I2C_Read... [04:42:42]Read from MH i2c: E2 62 00 47 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 CB 1E 00 00 0E 04 04 00 48 00 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 4C [04:42:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 CB 1E 00 00 0E 04 04 00 48 00 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 [04:42:42]wFMCommunicate OK [04:42:42]SAM_PROTO_GetFieldsCounters done [04:42:42]requested_item shift.num is exist - process it [04:42:42]requested_item shift.opened is exist - process it [04:42:42]req_shift_opened [04:42:42]FM_GetShiftState [04:42:42]SAM_PROTO_GetShiftState [04:42:42]wFMCommunicate request_size=4 [04:42:42]MH_SAM_APDU [04:42:42]CAPDU: 80 13 01 00 [04:42:42]Write to MH i2c: E2 08 00 48 01 80 13 01 00 00 00 00 00 C6 [04:42:42]Write i2c OK [04:42:42]MH_I2C_Read... [04:42:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:42:42]Read from MH i2c: E2 [04:42:42]MH_I2C_Read... [04:42:42]Read from MH i2c: E2 0E 00 [04:42:42]MH_I2C_Read... [04:42:42]Read from MH i2c: E2 0E 00 48 01 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 6C [04:42:42]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [04:42:42]wFMCommunicate OK [04:42:42]SAM_PROTO_GetShiftState done [04:42:42]FM_GetShiftState done [04:42:42]req_shift_opened done [04:42:42]requested_item shift.open_date is exist - process it [04:42:42]req_shift_open_date [04:42:42]req_shift_open_date done [04:42:42]produce_requested_data done [04:42:42]produce_requested_data return {"fm.sn":"0000000002094258","fd.num":7883,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [04:42:42]process_action_free close_receipt [04:42:42]json_value_free [04:42:42]json_value_free done [04:42:42]process_json_proto returns [04:42:42]Send response to host [04:42:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002094258","fd.num":7883,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [04:42:42]free response buf [04:42:42]execute_script done [04:42:42]execute_script returns [04:42:42]free content buf [04:42:42]Sock 7.Close socket [04:42:42]Sock 7.Thread stoped [04:42:42]OFD Sender: No OFD packet to send [04:42:47]OFD Sender: No OFD packet to send [04:42:52]OFD Sender: No OFD packet to send [04:42:57]OFD Sender: No OFD packet to send [04:43:02]OFD Sender: No OFD packet to send [04:43:07]OFD Sender: No OFD packet to send [04:43:10]recv_with_timeout no data received [04:43:12]OFD Sender: No OFD packet to send [04:43:17]OFD Sender: No OFD packet to send [04:43:22]OFD Sender: No OFD packet to send [04:43:27]OFD Sender: No OFD packet to send [04:43:32]OFD Sender: No OFD packet to send [04:43:37]OFD Sender: No OFD packet to send [04:43:42]OFD Sender: No OFD packet to send [04:43:47]OFD Sender: No OFD packet to send [04:43:52]OFD Sender: No OFD packet to send [04:43:57]OFD Sender: No OFD packet to send [04:44:02]OFD Sender: No OFD packet to send [04:44:07]OFD Sender: No OFD packet to send [04:44:12]OFD Sender: No OFD packet to send [04:44:13]recv_with_timeout no data received [04:44:17]OFD Sender: No OFD packet to send [04:44:22]OFD Sender: No OFD packet to send [04:44:27]OFD Sender: No OFD packet to send [04:44:32]OFD Sender: No OFD packet to send [04:44:37]OFD Sender: No OFD packet to send [04:44:42]OFD Sender: No OFD packet to send [04:44:47]OFD Sender: No OFD packet to send [04:44:52]OFD Sender: No OFD packet to send [04:44:57]OFD Sender: No OFD packet to send [04:45:02]OFD Sender: No OFD packet to send [04:45:07]OFD Sender: No OFD packet to send [04:45:12]OFD Sender: No OFD packet to send [04:45:17]OFD Sender: No OFD packet to send [04:45:22]OFD Sender: No OFD packet to send [04:45:27]OFD Sender: No OFD packet to send [04:45:32]OFD Sender: No OFD packet to send [04:45:37]OFD Sender: No OFD packet to send [04:45:42]OFD Sender: No OFD packet to send [04:45:47]OFD Sender: No OFD packet to send [04:45:52]OFD Sender: No OFD packet to send [04:45:57]OFD Sender: No OFD packet to send [04:46:02]OFD Sender: No OFD packet to send [04:46:07]OFD Sender: No OFD packet to send [04:46:12]OFD Sender: No OFD packet to send [04:46:17]OFD Sender: No OFD packet to send [04:46:22]OFD Sender: No OFD packet to send [04:46:27]OFD Sender: No OFD packet to send [04:46:32]OFD Sender: No OFD packet to send [04:46:37]OFD Sender: No OFD packet to send [04:46:42]OFD Sender: No OFD packet to send [04:46:47]OFD Sender: No OFD packet to send [04:46:51]recv_with_timeout no data received [04:46:52]OFD Sender: No OFD packet to send [04:46:57]OFD Sender: No OFD packet to send [04:47:02]OFD Sender: No OFD packet to send [04:47:07]OFD Sender: No OFD packet to send [04:47:12]OFD Sender: No OFD packet to send [04:47:17]OFD Sender: No OFD packet to send [04:47:22]OFD Sender: No OFD packet to send [04:47:27]OFD Sender: No OFD packet to send [04:47:32]OFD Sender: No OFD packet to send [04:47:37]OFD Sender: No OFD packet to send [04:47:42]OFD Sender: No OFD packet to send [04:47:47]OFD Sender: No OFD packet to send [04:47:52]OFD Sender: No OFD packet to send [04:47:57]OFD Sender: No OFD packet to send [04:48:02]OFD Sender: No OFD packet to send [04:48:07]recv_with_timeout no data received [04:48:08]OFD Sender: No OFD packet to send [04:48:13]OFD Sender: No OFD packet to send [04:48:18]OFD Sender: No OFD packet to send [04:48:23]OFD Sender: No OFD packet to send [04:48:28]OFD Sender: No OFD packet to send [04:48:33]OFD Sender: No OFD packet to send [04:48:38]OFD Sender: No OFD packet to send [04:48:43]OFD Sender: No OFD packet to send [04:48:48]OFD Sender: No OFD packet to send [04:48:53]OFD Sender: No OFD packet to send [04:48:58]OFD Sender: No OFD packet to send [04:49:03]OFD Sender: No OFD packet to send [04:49:08]OFD Sender: No OFD packet to send [04:49:08]recv_with_timeout no data received [04:49:13]OFD Sender: No OFD packet to send [04:49:18]OFD Sender: No OFD packet to send [04:49:23]OFD Sender: No OFD packet to send [04:49:23]recv_with_timeout no data received [04:49:28]OFD Sender: No OFD packet to send [04:49:33]OFD Sender: No OFD packet to send [04:49:38]OFD Sender: No OFD packet to send [04:49:43]OFD Sender: No OFD packet to send [04:49:48]OFD Sender: No OFD packet to send [04:49:53]OFD Sender: No OFD packet to send [04:49:58]OFD Sender: No OFD packet to send [04:50:03]OFD Sender: No OFD packet to send [04:50:08]OFD Sender: No OFD packet to send [04:50:13]OFD Sender: No OFD packet to send [04:50:18]OFD Sender: No OFD packet to send [04:50:23]OFD Sender: No OFD packet to send [04:50:28]OFD Sender: No OFD packet to send [04:50:33]OFD Sender: No OFD packet to send [04:50:38]OFD Sender: No OFD packet to send [04:50:43]OFD Sender: No OFD packet to send [04:50:48]OFD Sender: No OFD packet to send [04:50:53]OFD Sender: No OFD packet to send [04:50:58]OFD Sender: No OFD packet to send [04:51:03]OFD Sender: No OFD packet to send [04:51:08]OFD Sender: No OFD packet to send [04:51:13]OFD Sender: No OFD packet to send [04:51:18]OFD Sender: No OFD packet to send [04:51:23]OFD Sender: No OFD packet to send [04:51:28]OFD Sender: No OFD packet to send [04:51:33]OFD Sender: No OFD packet to send [04:51:38]OFD Sender: No OFD packet to send [04:51:43]OFD Sender: No OFD packet to send [04:51:48]OFD Sender: No OFD packet to send [04:51:53]OFD Sender: No OFD packet to send [04:51:58]OFD Sender: No OFD packet to send [04:52:03]OFD Sender: No OFD packet to send [04:52:08]OFD Sender: No OFD packet to send [04:52:11]recv_with_timeout no data received [04:52:13]OFD Sender: No OFD packet to send [04:52:18]OFD Sender: No OFD packet to send [04:52:23]OFD Sender: No OFD packet to send [04:52:28]OFD Sender: No OFD packet to send [04:52:33]OFD Sender: No OFD packet to send [04:52:38]OFD Sender: No OFD packet to send [04:52:43]OFD Sender: No OFD packet to send [04:52:48]OFD Sender: No OFD packet to send [04:52:53]OFD Sender: No OFD packet to send [04:52:58]OFD Sender: No OFD packet to send [04:53:03]OFD Sender: No OFD packet to send [04:53:08]OFD Sender: No OFD packet to send [04:53:13]OFD Sender: No OFD packet to send [04:53:18]OFD Sender: No OFD packet to send [04:53:23]OFD Sender: No OFD packet to send [04:53:28]OFD Sender: No OFD packet to send [04:53:33]OFD Sender: No OFD packet to send [04:53:38]OFD Sender: No OFD packet to send [04:53:43]OFD Sender: No OFD packet to send [04:53:48]OFD Sender: No OFD packet to send [04:53:52]recv_with_timeout no data received [04:53:53]OFD Sender: No OFD packet to send [04:53:58]OFD Sender: No OFD packet to send [04:54:03]OFD Sender: No OFD packet to send [04:54:08]OFD Sender: No OFD packet to send [04:54:13]OFD Sender: No OFD packet to send [04:54:18]OFD Sender: No OFD packet to send [04:54:23]OFD Sender: No OFD packet to send [04:54:28]OFD Sender: No OFD packet to send [04:54:33]OFD Sender: No OFD packet to send [04:54:38]OFD Sender: No OFD packet to send [04:54:43]OFD Sender: No OFD packet to send [04:54:48]OFD Sender: No OFD packet to send [04:54:53]OFD Sender: No OFD packet to send [04:54:58]OFD Sender: No OFD packet to send [04:55:03]OFD Sender: No OFD packet to send [04:55:08]OFD Sender: No OFD packet to send [04:55:13]OFD Sender: No OFD packet to send [04:55:18]OFD Sender: No OFD packet to send [04:55:23]OFD Sender: No OFD packet to send [04:55:28]OFD Sender: No OFD packet to send [04:55:33]OFD Sender: No OFD packet to send [04:55:38]OFD Sender: No OFD packet to send [04:55:43]OFD Sender: No OFD packet to send [04:55:48]OFD Sender: No OFD packet to send [04:55:53]OFD Sender: No OFD packet to send [04:55:58]OFD Sender: No OFD packet to send [04:56:03]OFD Sender: No OFD packet to send [04:56:08]OFD Sender: No OFD packet to send [04:56:13]OFD Sender: No OFD packet to send [04:56:18]OFD Sender: No OFD packet to send [04:56:23]OFD Sender: No OFD packet to send [04:56:28]OFD Sender: No OFD packet to send [04:56:33]OFD Sender: No OFD packet to send [04:56:38]OFD Sender: No OFD packet to send [04:56:43]OFD Sender: No OFD packet to send [04:56:48]OFD Sender: No OFD packet to send [04:56:53]OFD Sender: No OFD packet to send [04:56:58]OFD Sender: No OFD packet to send [04:57:03]OFD Sender: No OFD packet to send [04:57:08]OFD Sender: No OFD packet to send [04:57:13]OFD Sender: No OFD packet to send [04:57:18]OFD Sender: No OFD packet to send [04:57:23]OFD Sender: No OFD packet to send [04:57:28]OFD Sender: No OFD packet to send [04:57:33]OFD Sender: No OFD packet to send [04:57:38]OFD Sender: No OFD packet to send [04:57:43]OFD Sender: No OFD packet to send [04:57:48]OFD Sender: No OFD packet to send [04:57:53]OFD Sender: No OFD packet to send [04:57:57]recv_with_timeout no data received [04:57:58]OFD Sender: No OFD packet to send [04:58:03]OFD Sender: No OFD packet to send [04:58:08]OFD Sender: No OFD packet to send [04:58:13]OFD Sender: No OFD packet to send [04:58:18]OFD Sender: No OFD packet to send [04:58:23]OFD Sender: No OFD packet to send [04:58:28]OFD Sender: No OFD packet to send [04:58:33]OFD Sender: No OFD packet to send [04:58:38]OFD Sender: No OFD packet to send [04:58:43]OFD Sender: No OFD packet to send [04:58:48]OFD Sender: No OFD packet to send [04:58:53]OFD Sender: No OFD packet to send [04:58:58]OFD Sender: No OFD packet to send [04:59:03]OFD Sender: No OFD packet to send [04:59:08]OFD Sender: No OFD packet to send [04:59:13]OFD Sender: No OFD packet to send [04:59:17]recv_with_timeout no data received [04:59:18]OFD Sender: No OFD packet to send [04:59:23]OFD Sender: No OFD packet to send [04:59:28]OFD Sender: No OFD packet to send [04:59:33]OFD Sender: No OFD packet to send [04:59:38]OFD Sender: No OFD packet to send [04:59:43]OFD Sender: No OFD packet to send [04:59:48]OFD Sender: No OFD packet to send [04:59:53]OFD Sender: No OFD packet to send [04:59:58]OFD Sender: No OFD packet to send [05:00:03]OFD Sender: No OFD packet to send [05:00:08]OFD Sender: No OFD packet to send [05:00:13]OFD Sender: No OFD packet to send [05:00:18]OFD Sender: No OFD packet to send [05:00:23]OFD Sender: No OFD packet to send [05:00:28]OFD Sender: No OFD packet to send [05:00:33]OFD Sender: No OFD packet to send [05:00:38]OFD Sender: No OFD packet to send [05:00:43]OFD Sender: No OFD packet to send [05:00:48]OFD Sender: No OFD packet to send [05:00:53]OFD Sender: No OFD packet to send [05:00:58]OFD Sender: No OFD packet to send [05:01:03]OFD Sender: No OFD packet to send [05:01:08]OFD Sender: No OFD packet to send [05:01:13]OFD Sender: No OFD packet to send [05:01:18]OFD Sender: No OFD packet to send [05:01:23]OFD Sender: No OFD packet to send [05:01:28]OFD Sender: No OFD packet to send [05:01:33]OFD Sender: No OFD packet to send [05:01:38]OFD Sender: No OFD packet to send [05:01:43]OFD Sender: No OFD packet to send [05:01:48]OFD Sender: No OFD packet to send [05:01:53]OFD Sender: No OFD packet to send [05:01:58]OFD Sender: No OFD packet to send [05:02:03]OFD Sender: No OFD packet to send [05:02:08]OFD Sender: No OFD packet to send [05:02:13]OFD Sender: No OFD packet to send [05:02:18]OFD Sender: No OFD packet to send [05:02:23]OFD Sender: No OFD packet to send [05:02:28]OFD Sender: No OFD packet to send [05:02:33]OFD Sender: No OFD packet to send [05:02:38]OFD Sender: No OFD packet to send [05:02:43]OFD Sender: No OFD packet to send [05:02:48]OFD Sender: No OFD packet to send [05:02:53]OFD Sender: No OFD packet to send [05:02:58]OFD Sender: No OFD packet to send [05:03:03]OFD Sender: No OFD packet to send [05:03:08]OFD Sender: No OFD packet to send [05:03:13]OFD Sender: No OFD packet to send [05:03:18]OFD Sender: No OFD packet to send [05:03:23]OFD Sender: No OFD packet to send [05:03:28]OFD Sender: No OFD packet to send [05:03:33]OFD Sender: No OFD packet to send [05:03:38]OFD Sender: No OFD packet to send [05:03:43]OFD Sender: No OFD packet to send [05:03:48]OFD Sender: No OFD packet to send [05:03:53]OFD Sender: No OFD packet to send [05:03:58]OFD Sender: No OFD packet to send [05:04:03]OFD Sender: No OFD packet to send [05:04:08]OFD Sender: No OFD packet to send [05:04:13]OFD Sender: No OFD packet to send [05:04:18]OFD Sender: No OFD packet to send [05:04:23]OFD Sender: No OFD packet to send [05:04:28]OFD Sender: No OFD packet to send [05:04:33]OFD Sender: No OFD packet to send [05:04:38]OFD Sender: No OFD packet to send [05:04:43]OFD Sender: No OFD packet to send [05:04:48]OFD Sender: No OFD packet to send [05:04:53]OFD Sender: No OFD packet to send [05:04:58]OFD Sender: No OFD packet to send [05:05:03]OFD Sender: No OFD packet to send [05:05:08]OFD Sender: No OFD packet to send [05:05:13]OFD Sender: No OFD packet to send [05:05:18]OFD Sender: No OFD packet to send [05:05:23]OFD Sender: No OFD packet to send [05:05:28]OFD Sender: No OFD packet to send [05:05:33]OFD Sender: No OFD packet to send [05:05:38]OFD Sender: No OFD packet to send [05:05:43]OFD Sender: No OFD packet to send [05:05:48]OFD Sender: No OFD packet to send [05:05:53]OFD Sender: No OFD packet to send [05:05:58]OFD Sender: No OFD packet to send [05:06:03]OFD Sender: No OFD packet to send [05:06:08]OFD Sender: No OFD packet to send [05:06:13]OFD Sender: No OFD packet to send [05:06:18]OFD Sender: No OFD packet to send [05:06:24]OFD Sender: No OFD packet to send [05:06:29]OFD Sender: No OFD packet to send [05:06:34]OFD Sender: No OFD packet to send [05:06:39]OFD Sender: No OFD packet to send [05:06:44]OFD Sender: No OFD packet to send [05:06:49]OFD Sender: No OFD packet to send [05:06:54]OFD Sender: No OFD packet to send [05:06:59]OFD Sender: No OFD packet to send [05:07:04]OFD Sender: No OFD packet to send [05:07:09]OFD Sender: No OFD packet to send [05:07:14]OFD Sender: No OFD packet to send [05:07:19]OFD Sender: No OFD packet to send [05:07:24]OFD Sender: No OFD packet to send [05:07:29]OFD Sender: No OFD packet to send [05:07:34]OFD Sender: No OFD packet to send [05:07:39]OFD Sender: No OFD packet to send [05:07:44]OFD Sender: No OFD packet to send [05:07:49]OFD Sender: No OFD packet to send [05:07:54]OFD Sender: No OFD packet to send [05:07:57]recv_with_timeout no data received [05:07:59]OFD Sender: No OFD packet to send [05:08:04]OFD Sender: No OFD packet to send [05:08:09]OFD Sender: No OFD packet to send [05:08:14]OFD Sender: No OFD packet to send [05:08:19]OFD Sender: No OFD packet to send [05:08:24]OFD Sender: No OFD packet to send [05:08:29]OFD Sender: No OFD packet to send [05:08:34]OFD Sender: No OFD packet to send [05:08:39]OFD Sender: No OFD packet to send [05:08:44]OFD Sender: No OFD packet to send [05:08:49]OFD Sender: No OFD packet to send [05:08:54]OFD Sender: No OFD packet to send [05:08:59]OFD Sender: No OFD packet to send [05:09:04]OFD Sender: No OFD packet to send [05:09:09]OFD Sender: No OFD packet to send [05:09:14]OFD Sender: No OFD packet to send [05:09:19]OFD Sender: No OFD packet to send [05:09:24]OFD Sender: No OFD packet to send [05:09:29]OFD Sender: No OFD packet to send [05:09:34]OFD Sender: No OFD packet to send [05:09:39]OFD Sender: No OFD packet to send [05:09:44]OFD Sender: No OFD packet to send [05:09:49]OFD Sender: No OFD packet to send [05:09:54]OFD Sender: No OFD packet to send [05:09:59]OFD Sender: No OFD packet to send [05:10:04]OFD Sender: No OFD packet to send [05:10:09]OFD Sender: No OFD packet to send [05:10:14]OFD Sender: No OFD packet to send [05:10:19]OFD Sender: No OFD packet to send [05:10:24]OFD Sender: No OFD packet to send [05:10:29]OFD Sender: No OFD packet to send [05:10:34]OFD Sender: No OFD packet to send [05:10:39]OFD Sender: No OFD packet to send [05:10:44]OFD Sender: No OFD packet to send [05:10:49]OFD Sender: No OFD packet to send [05:10:54]OFD Sender: No OFD packet to send [05:10:59]OFD Sender: No OFD packet to send [05:11:04]OFD Sender: No OFD packet to send [05:11:09]OFD Sender: No OFD packet to send [05:11:14]OFD Sender: No OFD packet to send [05:11:19]OFD Sender: No OFD packet to send [05:11:24]OFD Sender: No OFD packet to send [05:11:26]recv_with_timeout no data received [05:11:29]OFD Sender: No OFD packet to send [05:11:34]OFD Sender: No OFD packet to send [05:11:39]OFD Sender: No OFD packet to send [05:11:44]OFD Sender: No OFD packet to send [05:11:49]OFD Sender: No OFD packet to send [05:11:54]OFD Sender: No OFD packet to send [05:11:59]OFD Sender: No OFD packet to send [05:12:04]OFD Sender: No OFD packet to send [05:12:09]OFD Sender: No OFD packet to send [05:12:14]OFD Sender: No OFD packet to send [05:12:19]OFD Sender: No OFD packet to send [05:12:24]OFD Sender: No OFD packet to send [05:12:29]OFD Sender: No OFD packet to send [05:12:34]OFD Sender: No OFD packet to send [05:12:39]OFD Sender: No OFD packet to send [05:12:44]OFD Sender: No OFD packet to send [05:12:49]OFD Sender: No OFD packet to send [05:12:54]OFD Sender: No OFD packet to send [05:12:59]OFD Sender: No OFD packet to send [05:13:04]OFD Sender: No OFD packet to send [05:13:09]OFD Sender: No OFD packet to send [05:13:14]OFD Sender: No OFD packet to send [05:13:19]OFD Sender: No OFD packet to send [05:13:24]OFD Sender: No OFD packet to send [05:13:29]OFD Sender: No OFD packet to send [05:13:34]OFD Sender: No OFD packet to send [05:13:39]OFD Sender: No OFD packet to send [05:13:44]OFD Sender: No OFD packet to send [05:13:49]OFD Sender: No OFD packet to send [05:13:54]OFD Sender: No OFD packet to send [05:13:55]recv_with_timeout no data received [05:13:59]OFD Sender: No OFD packet to send [05:14:04]OFD Sender: No OFD packet to send [05:14:09]OFD Sender: No OFD packet to send [05:14:14]OFD Sender: No OFD packet to send [05:14:19]OFD Sender: No OFD packet to send [05:14:24]OFD Sender: No OFD packet to send [05:14:26]recv_with_timeout no data received [05:14:29]OFD Sender: No OFD packet to send [05:14:34]OFD Sender: No OFD packet to send [05:14:39]OFD Sender: No OFD packet to send [05:14:44]OFD Sender: No OFD packet to send [05:14:49]OFD Sender: No OFD packet to send [05:14:54]OFD Sender: No OFD packet to send [05:14:59]OFD Sender: No OFD packet to send [05:15:04]OFD Sender: No OFD packet to send [05:15:09]OFD Sender: No OFD packet to send [05:15:14]OFD Sender: No OFD packet to send [05:15:19]OFD Sender: No OFD packet to send [05:15:24]OFD Sender: No OFD packet to send [05:15:29]OFD Sender: No OFD packet to send [05:15:34]OFD Sender: No OFD packet to send [05:15:39]OFD Sender: No OFD packet to send [05:15:44]OFD Sender: No OFD packet to send [05:15:49]OFD Sender: No OFD packet to send [05:15:54]OFD Sender: No OFD packet to send [05:15:59]OFD Sender: No OFD packet to send [05:16:04]OFD Sender: No OFD packet to send [05:16:06]recv_with_timeout no data received [05:16:09]OFD Sender: No OFD packet to send [05:16:14]OFD Sender: No OFD packet to send [05:16:19]OFD Sender: No OFD packet to send [05:16:24]OFD Sender: No OFD packet to send [05:16:29]OFD Sender: No OFD packet to send [05:16:34]OFD Sender: No OFD packet to send [05:16:39]OFD Sender: No OFD packet to send [05:16:44]OFD Sender: No OFD packet to send [05:16:49]OFD Sender: No OFD packet to send [05:16:54]OFD Sender: No OFD packet to send [05:16:59]OFD Sender: No OFD packet to send [05:17:04]OFD Sender: No OFD packet to send [05:17:09]OFD Sender: No OFD packet to send [05:17:14]OFD Sender: No OFD packet to send [05:17:19]OFD Sender: No OFD packet to send [05:17:24]OFD Sender: No OFD packet to send [05:17:29]OFD Sender: No OFD packet to send [05:17:34]OFD Sender: No OFD packet to send [05:17:39]OFD Sender: No OFD packet to send [05:17:44]OFD Sender: No OFD packet to send [05:17:49]OFD Sender: No OFD packet to send [05:17:54]OFD Sender: No OFD packet to send [05:17:59]OFD Sender: No OFD packet to send [05:18:04]OFD Sender: No OFD packet to send [05:18:09]OFD Sender: No OFD packet to send [05:18:14]OFD Sender: No OFD packet to send [05:18:19]OFD Sender: No OFD packet to send [05:18:24]OFD Sender: No OFD packet to send [05:18:29]OFD Sender: No OFD packet to send [05:18:34]OFD Sender: No OFD packet to send [05:18:39]OFD Sender: No OFD packet to send [05:18:44]OFD Sender: No OFD packet to send [05:18:49]OFD Sender: No OFD packet to send [05:18:54]OFD Sender: No OFD packet to send [05:18:59]OFD Sender: No OFD packet to send [05:19:04]OFD Sender: No OFD packet to send [05:19:09]OFD Sender: No OFD packet to send [05:19:14]OFD Sender: No OFD packet to send [05:19:19]OFD Sender: No OFD packet to send [05:19:24]OFD Sender: No OFD packet to send [05:19:29]OFD Sender: No OFD packet to send [05:19:34]OFD Sender: No OFD packet to send [05:19:39]OFD Sender: No OFD packet to send [05:19:44]OFD Sender: No OFD packet to send [05:19:49]OFD Sender: No OFD packet to send [05:19:54]OFD Sender: No OFD packet to send [05:19:59]OFD Sender: No OFD packet to send [05:20:04]OFD Sender: No OFD packet to send [05:20:09]OFD Sender: No OFD packet to send [05:20:14]OFD Sender: No OFD packet to send [05:20:19]OFD Sender: No OFD packet to send [05:20:24]OFD Sender: No OFD packet to send [05:20:29]OFD Sender: No OFD packet to send [05:20:34]OFD Sender: No OFD packet to send [05:20:39]OFD Sender: No OFD packet to send [05:20:44]OFD Sender: No OFD packet to send [05:20:49]OFD Sender: No OFD packet to send [05:20:54]OFD Sender: No OFD packet to send [05:20:59]OFD Sender: No OFD packet to send [05:21:04]OFD Sender: No OFD packet to send [05:21:09]OFD Sender: No OFD packet to send [05:21:14]OFD Sender: No OFD packet to send [05:21:19]OFD Sender: No OFD packet to send [05:21:24]OFD Sender: No OFD packet to send [05:21:29]OFD Sender: No OFD packet to send [05:21:32]recv_with_timeout no data received [05:21:34]OFD Sender: No OFD packet to send [05:21:39]OFD Sender: No OFD packet to send [05:21:44]OFD Sender: No OFD packet to send [05:21:49]OFD Sender: No OFD packet to send [05:21:52]recv_with_timeout no data received [05:21:54]OFD Sender: No OFD packet to send [05:21:59]OFD Sender: No OFD packet to send [05:22:04]OFD Sender: No OFD packet to send [05:22:05]recv_with_timeout no data received [05:22:09]OFD Sender: No OFD packet to send [05:22:14]OFD Sender: No OFD packet to send [05:22:19]OFD Sender: No OFD packet to send [05:22:24]OFD Sender: No OFD packet to send [05:22:29]OFD Sender: No OFD packet to send [05:22:34]OFD Sender: No OFD packet to send [05:22:39]OFD Sender: No OFD packet to send [05:22:44]OFD Sender: No OFD packet to send [05:22:49]OFD Sender: No OFD packet to send [05:22:54]OFD Sender: No OFD packet to send [05:22:59]OFD Sender: No OFD packet to send [05:23:04]OFD Sender: No OFD packet to send [05:23:09]OFD Sender: No OFD packet to send [05:23:14]OFD Sender: No OFD packet to send [05:23:19]OFD Sender: No OFD packet to send [05:23:24]OFD Sender: No OFD packet to send [05:23:29]OFD Sender: No OFD packet to send [05:23:34]OFD Sender: No OFD packet to send [05:23:39]OFD Sender: No OFD packet to send [05:23:44]OFD Sender: No OFD packet to send [05:23:49]OFD Sender: No OFD packet to send [05:23:54]OFD Sender: No OFD packet to send [05:23:59]OFD Sender: No OFD packet to send [05:24:04]OFD Sender: No OFD packet to send [05:24:09]OFD Sender: No OFD packet to send [05:24:14]OFD Sender: No OFD packet to send [05:24:20]OFD Sender: No OFD packet to send [05:24:25]OFD Sender: No OFD packet to send [05:24:30]OFD Sender: No OFD packet to send [05:24:35]OFD Sender: No OFD packet to send [05:24:40]OFD Sender: No OFD packet to send [05:24:45]OFD Sender: No OFD packet to send [05:24:50]OFD Sender: No OFD packet to send [05:24:55]OFD Sender: No OFD packet to send [05:25:00]OFD Sender: No OFD packet to send [05:25:05]OFD Sender: No OFD packet to send [05:25:10]OFD Sender: No OFD packet to send [05:25:15]OFD Sender: No OFD packet to send [05:25:20]OFD Sender: No OFD packet to send [05:25:25]OFD Sender: No OFD packet to send [05:25:30]OFD Sender: No OFD packet to send [05:25:35]OFD Sender: No OFD packet to send [05:25:40]OFD Sender: No OFD packet to send [05:25:45]OFD Sender: No OFD packet to send [05:25:50]OFD Sender: No OFD packet to send [05:25:52]recv_with_timeout no data received [05:25:55]OFD Sender: No OFD packet to send [05:26:00]OFD Sender: No OFD packet to send [05:26:05]OFD Sender: No OFD packet to send [05:26:10]OFD Sender: No OFD packet to send [05:26:10]recv_with_timeout no data received [05:26:15]OFD Sender: No OFD packet to send [05:26:20]OFD Sender: No OFD packet to send [05:26:25]OFD Sender: No OFD packet to send [05:26:26]recv_with_timeout no data received [05:26:30]OFD Sender: No OFD packet to send [05:26:35]OFD Sender: No OFD packet to send [05:26:40]OFD Sender: No OFD packet to send [05:26:45]OFD Sender: No OFD packet to send [05:26:50]OFD Sender: No OFD packet to send [05:26:55]OFD Sender: No OFD packet to send [05:27:00]OFD Sender: No OFD packet to send [05:27:05]OFD Sender: No OFD packet to send [05:27:10]OFD Sender: No OFD packet to send [05:27:15]OFD Sender: No OFD packet to send [05:27:20]OFD Sender: No OFD packet to send [05:27:25]OFD Sender: No OFD packet to send [05:27:30]OFD Sender: No OFD packet to send [05:27:35]OFD Sender: No OFD packet to send [05:27:40]OFD Sender: No OFD packet to send [05:27:45]OFD Sender: No OFD packet to send [05:27:50]OFD Sender: No OFD packet to send [05:27:55]OFD Sender: No OFD packet to send [05:28:00]OFD Sender: No OFD packet to send [05:28:05]OFD Sender: No OFD packet to send [05:28:10]OFD Sender: No OFD packet to send [05:28:15]OFD Sender: No OFD packet to send [05:28:20]OFD Sender: No OFD packet to send [05:28:25]OFD Sender: No OFD packet to send [05:28:30]OFD Sender: No OFD packet to send [05:28:35]OFD Sender: No OFD packet to send [05:28:40]OFD Sender: No OFD packet to send [05:28:45]OFD Sender: No OFD packet to send [05:28:50]OFD Sender: No OFD packet to send [05:28:55]OFD Sender: No OFD packet to send [05:29:00]OFD Sender: No OFD packet to send [05:29:05]OFD Sender: No OFD packet to send [05:29:10]OFD Sender: No OFD packet to send [05:29:15]OFD Sender: No OFD packet to send [05:29:20]OFD Sender: No OFD packet to send [05:29:25]OFD Sender: No OFD packet to send [05:29:30]OFD Sender: No OFD packet to send [05:29:35]OFD Sender: No OFD packet to send [05:29:40]OFD Sender: No OFD packet to send [05:29:45]OFD Sender: No OFD packet to send [05:29:50]OFD Sender: No OFD packet to send [05:29:55]OFD Sender: No OFD packet to send [05:30:00]OFD Sender: No OFD packet to send [05:30:05]OFD Sender: No OFD packet to send [05:30:10]OFD Sender: No OFD packet to send [05:30:15]OFD Sender: No OFD packet to send [05:30:20]OFD Sender: No OFD packet to send [05:30:25]OFD Sender: No OFD packet to send [05:30:30]OFD Sender: No OFD packet to send [05:30:35]OFD Sender: No OFD packet to send [05:30:40]OFD Sender: No OFD packet to send [05:30:45]OFD Sender: No OFD packet to send [05:30:50]OFD Sender: No OFD packet to send [05:30:55]OFD Sender: No OFD packet to send [05:31:00]OFD Sender: No OFD packet to send [05:31:05]OFD Sender: No OFD packet to send [05:31:10]OFD Sender: No OFD packet to send [05:31:15]OFD Sender: No OFD packet to send [05:31:20]OFD Sender: No OFD packet to send [05:31:25]OFD Sender: No OFD packet to send [05:31:30]OFD Sender: No OFD packet to send [05:31:35]OFD Sender: No OFD packet to send [05:31:40]OFD Sender: No OFD packet to send [05:31:42]recv_with_timeout no data received [05:31:45]OFD Sender: No OFD packet to send [05:31:50]OFD Sender: No OFD packet to send [05:31:55]OFD Sender: No OFD packet to send [05:32:00]OFD Sender: No OFD packet to send [05:32:05]OFD Sender: No OFD packet to send [05:32:10]OFD Sender: No OFD packet to send [05:32:15]OFD Sender: No OFD packet to send [05:32:20]OFD Sender: No OFD packet to send [05:32:25]OFD Sender: No OFD packet to send [05:32:30]OFD Sender: No OFD packet to send [05:32:35]OFD Sender: No OFD packet to send [05:32:40]OFD Sender: No OFD packet to send [05:32:45]OFD Sender: No OFD packet to send [05:32:50]OFD Sender: No OFD packet to send [05:32:55]OFD Sender: No OFD packet to send [05:33:00]OFD Sender: No OFD packet to send [05:33:05]OFD Sender: No OFD packet to send [05:33:10]OFD Sender: No OFD packet to send [05:33:15]OFD Sender: No OFD packet to send [05:33:20]OFD Sender: No OFD packet to send [05:33:25]OFD Sender: No OFD packet to send [05:33:30]OFD Sender: No OFD packet to send [05:33:35]OFD Sender: No OFD packet to send [05:33:40]OFD Sender: No OFD packet to send [05:33:44]recv_with_timeout no data received [05:33:45]OFD Sender: No OFD packet to send [05:33:50]OFD Sender: No OFD packet to send [05:33:55]OFD Sender: No OFD packet to send [05:34:00]OFD Sender: No OFD packet to send [05:34:05]OFD Sender: No OFD packet to send [05:34:10]OFD Sender: No OFD packet to send [05:34:15]OFD Sender: No OFD packet to send [05:34:20]OFD Sender: No OFD packet to send [05:34:25]OFD Sender: No OFD packet to send [05:34:30]OFD Sender: No OFD packet to send [05:34:35]OFD Sender: No OFD packet to send [05:34:40]OFD Sender: No OFD packet to send [05:34:45]OFD Sender: No OFD packet to send [05:34:50]OFD Sender: No OFD packet to send [05:34:55]OFD Sender: No OFD packet to send [05:35:00]OFD Sender: No OFD packet to send [05:35:05]OFD Sender: No OFD packet to send [05:35:10]OFD Sender: No OFD packet to send [05:35:15]OFD Sender: No OFD packet to send [05:35:20]OFD Sender: No OFD packet to send [05:35:20]recv_with_timeout no data received [05:35:25]OFD Sender: No OFD packet to send [05:35:30]OFD Sender: No OFD packet to send [05:35:35]OFD Sender: No OFD packet to send [05:35:40]OFD Sender: No OFD packet to send [05:35:45]OFD Sender: No OFD packet to send [05:35:50]OFD Sender: No OFD packet to send [05:35:55]OFD Sender: No OFD packet to send [05:36:00]OFD Sender: No OFD packet to send [05:36:05]OFD Sender: No OFD packet to send [05:36:10]OFD Sender: No OFD packet to send [05:36:13]recv_with_timeout no data received [05:36:15]OFD Sender: No OFD packet to send [05:36:20]OFD Sender: No OFD packet to send [05:36:25]OFD Sender: No OFD packet to send [05:36:30]OFD Sender: No OFD packet to send [05:36:35]OFD Sender: No OFD packet to send [05:36:40]OFD Sender: No OFD packet to send [05:36:45]OFD Sender: No OFD packet to send [05:36:50]OFD Sender: No OFD packet to send [05:36:55]OFD Sender: No OFD packet to send [05:37:00]OFD Sender: No OFD packet to send [05:37:05]OFD Sender: No OFD packet to send [05:37:10]OFD Sender: No OFD packet to send [05:37:15]OFD Sender: No OFD packet to send [05:37:20]OFD Sender: No OFD packet to send [05:37:25]OFD Sender: No OFD packet to send [05:37:30]OFD Sender: No OFD packet to send [05:37:35]OFD Sender: No OFD packet to send [05:37:40]OFD Sender: No OFD packet to send [05:37:45]OFD Sender: No OFD packet to send [05:37:50]OFD Sender: No OFD packet to send [05:37:55]OFD Sender: No OFD packet to send [05:38:00]OFD Sender: No OFD packet to send [05:38:05]OFD Sender: No OFD packet to send [05:38:10]OFD Sender: No OFD packet to send [05:38:15]OFD Sender: No OFD packet to send [05:38:20]OFD Sender: No OFD packet to send [05:38:25]OFD Sender: No OFD packet to send [05:38:30]OFD Sender: No OFD packet to send [05:38:35]OFD Sender: No OFD packet to send [05:38:40]OFD Sender: No OFD packet to send [05:38:45]OFD Sender: No OFD packet to send [05:38:50]OFD Sender: No OFD packet to send [05:38:55]OFD Sender: No OFD packet to send [05:39:00]OFD Sender: No OFD packet to send [05:39:05]OFD Sender: No OFD packet to send [05:39:10]OFD Sender: No OFD packet to send [05:39:15]OFD Sender: No OFD packet to send [05:39:20]OFD Sender: No OFD packet to send [05:39:25]OFD Sender: No OFD packet to send [05:39:30]OFD Sender: No OFD packet to send [05:39:35]OFD Sender: No OFD packet to send [05:39:40]OFD Sender: No OFD packet to send [05:39:45]OFD Sender: No OFD packet to send [05:39:50]OFD Sender: No OFD packet to send [05:39:55]OFD Sender: No OFD packet to send [05:40:00]OFD Sender: No OFD packet to send [05:40:05]OFD Sender: No OFD packet to send [05:40:10]OFD Sender: No OFD packet to send [05:40:15]OFD Sender: No OFD packet to send [05:40:16]recv_with_timeout no data received [05:40:20]OFD Sender: No OFD packet to send [05:40:25]OFD Sender: No OFD packet to send [05:40:30]OFD Sender: No OFD packet to send [05:40:35]OFD Sender: No OFD packet to send [05:40:40]OFD Sender: No OFD packet to send [05:40:45]OFD Sender: No OFD packet to send [05:40:50]OFD Sender: No OFD packet to send [05:40:55]OFD Sender: No OFD packet to send [05:41:00]OFD Sender: No OFD packet to send [05:41:05]OFD Sender: No OFD packet to send [05:41:10]OFD Sender: No OFD packet to send [05:41:15]OFD Sender: No OFD packet to send [05:41:20]OFD Sender: No OFD packet to send [05:41:25]OFD Sender: No OFD packet to send [05:41:30]OFD Sender: No OFD packet to send [05:41:35]OFD Sender: No OFD packet to send [05:41:40]OFD Sender: No OFD packet to send [05:41:45]OFD Sender: No OFD packet to send [05:41:50]OFD Sender: No OFD packet to send [05:41:55]OFD Sender: No OFD packet to send [05:42:00]OFD Sender: No OFD packet to send [05:42:05]OFD Sender: No OFD packet to send [05:42:10]OFD Sender: No OFD packet to send [05:42:15]OFD Sender: No OFD packet to send [05:42:20]OFD Sender: No OFD packet to send [05:42:25]OFD Sender: No OFD packet to send [05:42:28]recv_with_timeout no data received [05:42:31]OFD Sender: No OFD packet to send [05:42:36]OFD Sender: No OFD packet to send [05:42:41]OFD Sender: No OFD packet to send [05:42:46]OFD Sender: No OFD packet to send [05:42:48]recv_with_timeout no data received [05:42:51]OFD Sender: No OFD packet to send [05:42:56]OFD Sender: No OFD packet to send [05:43:01]OFD Sender: No OFD packet to send [05:43:06]OFD Sender: No OFD packet to send [05:43:11]OFD Sender: No OFD packet to send [05:43:16]OFD Sender: No OFD packet to send [05:43:21]OFD Sender: No OFD packet to send [05:43:26]OFD Sender: No OFD packet to send [05:43:31]OFD Sender: No OFD packet to send [05:43:36]OFD Sender: No OFD packet to send [05:43:41]OFD Sender: No OFD packet to send [05:43:46]OFD Sender: No OFD packet to send [05:43:51]OFD Sender: No OFD packet to send [05:43:56]OFD Sender: No OFD packet to send [05:44:01]OFD Sender: No OFD packet to send [05:44:06]OFD Sender: No OFD packet to send [05:44:11]OFD Sender: No OFD packet to send [05:44:16]OFD Sender: No OFD packet to send [05:44:21]OFD Sender: No OFD packet to send [05:44:26]OFD Sender: No OFD packet to send [05:44:31]OFD Sender: No OFD packet to send [05:44:36]OFD Sender: No OFD packet to send [05:44:41]OFD Sender: No OFD packet to send [05:44:46]OFD Sender: No OFD packet to send [05:44:51]OFD Sender: No OFD packet to send [05:44:56]OFD Sender: No OFD packet to send [05:45:01]OFD Sender: No OFD packet to send [05:45:06]OFD Sender: No OFD packet to send [05:45:11]OFD Sender: No OFD packet to send [05:45:16]OFD Sender: No OFD packet to send [05:45:21]OFD Sender: No OFD packet to send [05:45:26]OFD Sender: No OFD packet to send [05:45:31]OFD Sender: No OFD packet to send [05:45:36]OFD Sender: No OFD packet to send [05:45:41]OFD Sender: No OFD packet to send [05:45:46]OFD Sender: No OFD packet to send [05:45:51]OFD Sender: No OFD packet to send [05:45:56]OFD Sender: No OFD packet to send [05:46:01]OFD Sender: No OFD packet to send [05:46:06]OFD Sender: No OFD packet to send [05:46:11]OFD Sender: No OFD packet to send [05:46:16]OFD Sender: No OFD packet to send [05:46:21]OFD Sender: No OFD packet to send [05:46:26]OFD Sender: No OFD packet to send [05:46:31]OFD Sender: No OFD packet to send [05:46:36]OFD Sender: No OFD packet to send [05:46:41]OFD Sender: No OFD packet to send [05:46:46]OFD Sender: No OFD packet to send [05:46:51]OFD Sender: No OFD packet to send [05:46:56]OFD Sender: No OFD packet to send [05:47:01]OFD Sender: No OFD packet to send [05:47:06]OFD Sender: No OFD packet to send [05:47:11]OFD Sender: No OFD packet to send [05:47:16]OFD Sender: No OFD packet to send [05:47:21]OFD Sender: No OFD packet to send [05:47:26]OFD Sender: No OFD packet to send [05:47:31]OFD Sender: No OFD packet to send [05:47:36]OFD Sender: No OFD packet to send [05:47:41]OFD Sender: No OFD packet to send [05:47:42]recv_with_timeout no data received [05:47:46]OFD Sender: No OFD packet to send [05:47:51]OFD Sender: No OFD packet to send [05:47:56]OFD Sender: No OFD packet to send [05:47:57]recv_with_timeout no data received [05:48:01]OFD Sender: No OFD packet to send [05:48:06]OFD Sender: No OFD packet to send [05:48:11]OFD Sender: No OFD packet to send [05:48:16]OFD Sender: No OFD packet to send [05:48:21]OFD Sender: No OFD packet to send [05:48:26]OFD Sender: No OFD packet to send [05:48:31]OFD Sender: No OFD packet to send [05:48:36]OFD Sender: No OFD packet to send [05:48:41]OFD Sender: No OFD packet to send [05:48:46]OFD Sender: No OFD packet to send [05:48:51]OFD Sender: No OFD packet to send [05:48:56]OFD Sender: No OFD packet to send [05:49:01]OFD Sender: No OFD packet to send [05:49:06]OFD Sender: No OFD packet to send [05:49:11]OFD Sender: No OFD packet to send [05:49:16]OFD Sender: No OFD packet to send [05:49:21]OFD Sender: No OFD packet to send [05:49:26]OFD Sender: No OFD packet to send [05:49:31]OFD Sender: No OFD packet to send [05:49:36]OFD Sender: No OFD packet to send [05:49:41]OFD Sender: No OFD packet to send [05:49:46]OFD Sender: No OFD packet to send [05:49:51]OFD Sender: No OFD packet to send [05:49:56]OFD Sender: No OFD packet to send [05:50:01]OFD Sender: No OFD packet to send [05:50:06]OFD Sender: No OFD packet to send [05:50:11]OFD Sender: No OFD packet to send [05:50:16]OFD Sender: No OFD packet to send [05:50:21]OFD Sender: No OFD packet to send [05:50:26]OFD Sender: No OFD packet to send [05:50:29]recv_with_timeout no data received [05:50:31]OFD Sender: No OFD packet to send [05:50:36]OFD Sender: No OFD packet to send [05:50:41]OFD Sender: No OFD packet to send [05:50:46]OFD Sender: No OFD packet to send [05:50:51]OFD Sender: No OFD packet to send [05:50:56]OFD Sender: No OFD packet to send [05:51:01]OFD Sender: No OFD packet to send [05:51:06]OFD Sender: No OFD packet to send [05:51:11]OFD Sender: No OFD packet to send [05:51:16]OFD Sender: No OFD packet to send [05:51:21]OFD Sender: No OFD packet to send [05:51:26]OFD Sender: No OFD packet to send [05:51:31]OFD Sender: No OFD packet to send [05:51:36]OFD Sender: No OFD packet to send [05:51:41]OFD Sender: No OFD packet to send [05:51:46]OFD Sender: No OFD packet to send [05:51:51]OFD Sender: No OFD packet to send [05:51:56]OFD Sender: No OFD packet to send [05:52:01]OFD Sender: No OFD packet to send [05:52:06]OFD Sender: No OFD packet to send [05:52:11]OFD Sender: No OFD packet to send [05:52:16]OFD Sender: No OFD packet to send [05:52:21]OFD Sender: No OFD packet to send [05:52:26]OFD Sender: No OFD packet to send [05:52:31]OFD Sender: No OFD packet to send [05:52:36]recv_with_timeout no data received [05:52:36]OFD Sender: No OFD packet to send [05:52:41]OFD Sender: No OFD packet to send [05:52:46]OFD Sender: No OFD packet to send [05:52:51]OFD Sender: No OFD packet to send [05:52:56]OFD Sender: No OFD packet to send [05:53:01]OFD Sender: No OFD packet to send [05:53:06]OFD Sender: No OFD packet to send [05:53:11]OFD Sender: No OFD packet to send [05:53:16]OFD Sender: No OFD packet to send [05:53:21]OFD Sender: No OFD packet to send [05:53:26]OFD Sender: No OFD packet to send [05:53:31]OFD Sender: No OFD packet to send [05:53:36]OFD Sender: No OFD packet to send [05:53:41]OFD Sender: No OFD packet to send [05:53:46]OFD Sender: No OFD packet to send [05:53:51]OFD Sender: No OFD packet to send [05:53:56]OFD Sender: No OFD packet to send [05:54:01]OFD Sender: No OFD packet to send [05:54:06]OFD Sender: No OFD packet to send [05:54:11]OFD Sender: No OFD packet to send [05:54:16]OFD Sender: No OFD packet to send [05:54:21]OFD Sender: No OFD packet to send [05:54:26]OFD Sender: No OFD packet to send [05:54:28]recv_with_timeout no data received [05:54:31]OFD Sender: No OFD packet to send [05:54:36]OFD Sender: No OFD packet to send [05:54:41]OFD Sender: No OFD packet to send [05:54:46]OFD Sender: No OFD packet to send [05:54:51]OFD Sender: No OFD packet to send [05:54:56]OFD Sender: No OFD packet to send [05:55:01]OFD Sender: No OFD packet to send [05:55:06]OFD Sender: No OFD packet to send [05:55:07]recv_with_timeout no data received [05:55:11]OFD Sender: No OFD packet to send [05:55:16]OFD Sender: No OFD packet to send [05:55:21]OFD Sender: No OFD packet to send [05:55:26]OFD Sender: No OFD packet to send [05:55:31]OFD Sender: No OFD packet to send [05:55:36]OFD Sender: No OFD packet to send [05:55:41]OFD Sender: No OFD packet to send [05:55:46]OFD Sender: No OFD packet to send [05:55:51]OFD Sender: No OFD packet to send [05:55:56]OFD Sender: No OFD packet to send [05:56:01]OFD Sender: No OFD packet to send [05:56:06]OFD Sender: No OFD packet to send [05:56:11]OFD Sender: No OFD packet to send [05:56:16]OFD Sender: No OFD packet to send [05:56:21]OFD Sender: No OFD packet to send [05:56:26]OFD Sender: No OFD packet to send [05:56:29]accept exits with 9 [05:56:29]New connection [05:56:29]New thread 3067632996 created [05:56:29]Thread 3067489636 joined [05:56:29]Waiting for new connection... [05:56:29] Sock 9.Parse request [05:56:29]Sock 9.Check first char [05:56:29]Sock 9.First char is OK [05:56:29]request: POST /json_proto HTTP/1.0 [05:56:29]Method: POST [05:56:29]URL: /json_proto [05:56:29]Method is POST - this is cgi request [05:56:29]url: /json_proto [05:56:29]query_string will be loaded in cgi processing [05:56:29]execute_cgi json_proto POST (null) [05:56:29]execute_cgi path=json_proto method=POST [05:56:29]POST find Content-Length [05:56:29]Host: 172.17.47.195:8080 [05:56:29]Content-Length: 984 [05:56:29]Content-Type: application/json [05:56:29] [05:56:29]POST finish read [05:56:29]Found Content-Length = 984 [05:56:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872493", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.80, "quantity" : 22.460, "sum" : 1500.33, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u000A\u0414\u0438\u0441\u043A\u043E\u043D\u0442\u043D\u0430\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430\u000A\u0410\u0418-92\u000A\u043D\u043E\u043C\u0435\u0440 137\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 22.46 \u0441\u043E\u043C", "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:56:29]execute_script... [05:56:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872493", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.80, "quantity" : 22.460, "sum" : 1500.33, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u000A\u0414\u0438\u0441\u043A\u043E\u043D\u0442\u043D\u0430\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430\u000A\u0410\u0418-92\u000A\u043D\u043E\u043C\u0435\u0440 137\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 22.46 \u0441\u043E\u043C", "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:56:29]POST & json_proto [05:56:29]process_json_proto [05:56:29]json parsed OK: [05:56:29]protocol is kg_v1.0 [05:56:29]action value=close_receipt [05:56:29]process_action close_receipt [05:56:29]cmd_close_receipt [05:56:29]MH_GetDate [05:56:29]Write to MH i2c: F0 00 00 49 01 39 [05:56:29]Write i2c OK [05:56:29]MH_I2C_Read... [05:56:29]Read from MH i2c: F0 [05:56:29]MH_I2C_Read... [05:56:29]Read from MH i2c: F0 09 00 [05:56:29]MH_I2C_Read... [05:56:29]Read from MH i2c: F0 09 00 49 01 00 8E 54 F2 66 96 2E 95 66 3B [05:56:29]GetLastDocTimeStamp 1727152960 [05:56:29]current date 1727157390 [05:56:29]FM_GetShiftState [05:56:29]SAM_PROTO_GetShiftState [05:56:29]wFMCommunicate request_size=4 [05:56:29]MH_SAM_APDU [05:56:29]CAPDU: 80 13 01 00 [05:56:29]Write to MH i2c: E2 08 00 4A 01 80 13 01 00 00 00 00 00 C8 [05:56:29]Write i2c OK [05:56:29]MH_I2C_Read... [05:56:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:56:29]Read from MH i2c: E2 [05:56:29]MH_I2C_Read... [05:56:29]Read from MH i2c: E2 0E 00 [05:56:29]MH_I2C_Read... [05:56:29]Read from MH i2c: E2 0E 00 4A 01 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 6E [05:56:29]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [05:56:29]wFMCommunicate OK [05:56:29]SAM_PROTO_GetShiftState done [05:56:29]FM_GetShiftState done [05:56:29]opened in 1727137340 [05:56:29]opened+sec_in_day 1727223740 [05:56:29]quantity*price = 150032 [05:56:29]sum+1 = 150034 [05:56:29]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.33 ИТОГО: 1500.00 Внесено: 1500.00 СДАЧА: 0.00 НСП 1% : 13.28 НДС 12% : 159.33 Наличными: 1500.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 20 24.09.2024 05:56 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 Дисконтная программа АИ-92 номер 137 сэкономлено 22.46 сом ФМ: 0000000002094258 ФД: 7884 ФПД: 233364103953667 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T055630&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7884&fm=233364103953667&tin=02508201610067®Number=0000000000190446&sum=150000 [05:56:30]StoreToDocumentArchive [05:56:30]shift 72 fd 7884 [05:56:30]save to /storage/0072/doc_00007884 [05:56:30]save last doc name /storage/0072/doc_00007884 to /storage/kkm_last_doc_name [05:56:30]save OK [05:56:30]Clear old archive folders... [05:56:30]ProcessDocumentItem done err = 0, tmpTLVsize=251 [05:56:30]tlvbuf is 010605E0 [05:56:30]SAM_PROTO_ClearQueue [05:56:30]wFMCommunicate request_size=4 [05:56:30]MH_SAM_APDU [05:56:30]CAPDU: 80 09 00 00 [05:56:30]Write to MH i2c: E2 08 00 57 01 80 09 00 00 00 00 00 00 CA [05:56:30]Write i2c OK [05:56:30]MH_I2C_Read... [05:56:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:56:30]Read from MH i2c: E2 [05:56:30]MH_I2C_Read... [05:56:30]Read from MH i2c: E2 03 00 [05:56:30]MH_I2C_Read... [05:56:30]Read from MH i2c: E2 03 00 57 01 00 90 00 CC [05:56:30]RAPDU: 90 00 [05:56:30]wFMCommunicate OK [05:56:30]SAM_PROTO_ClearQueue done [05:56:30]KKMCreateOFDPacket [05:56:30]OFDProtocolAddRootSTLVToBuf [05:56:30]FM_MakeSignedData [05:56:30]FM_MakeSignedData [05:56:30]SAM_PROTO_SignData [05:56:30]wFMCommunicate request_size=4 [05:56:30]MH_SAM_APDU [05:56:30]CAPDU: 80 0D 01 02 [05:56:30]Write to MH i2c: E2 08 00 58 01 80 0D 01 02 00 00 00 00 D2 [05:56:30]Write i2c OK [05:56:30]MH_I2C_Read... [05:56:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:56:30]Read from MH i2c: E2 [05:56:30]MH_I2C_Read... [05:56:30]Read from MH i2c: E2 03 00 [05:56:30]MH_I2C_Read... [05:56:30]Read from MH i2c: E2 03 00 58 01 00 90 00 CD [05:56:30]RAPDU: 90 00 [05:56:30]wFMCommunicate OK [05:56:30]wFMCommunicate request_size=255 [05:56:30]MH_SAM_APDU [05:56:30]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 BC 57 00 00 00 00 00 37 04 06 00 18 1A 00 00 00 00 13 04 06 00 11 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 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 8E 54 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CC 1E 00 00 35 04 06 00 D4 [05:56:30]Write to MH i2c: E2 02 01 59 01 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 BC 57 00 00 00 00 00 37 04 06 00 18 1A 00 00 00 00 13 04 06 00 11 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 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 8E 54 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CC 1E 00 00 35 04 06 00 D4 00 00 F5 [05:56:30]Write i2c OK [05:56:30]MH_I2C_Read... [05:56:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:56:30]Read from MH i2c: E2 [05:56:30]MH_I2C_Read... [05:56:30]Read from MH i2c: E2 03 00 [05:56:30]MH_I2C_Read... [05:56:30]Read from MH i2c: E2 03 00 59 01 00 90 00 CE [05:56:30]RAPDU: 90 00 [05:56:30]wFMCommunicate OK [05:56:30]wFMCommunicate request_size=10 [05:56:30]MH_SAM_APDU [05:56:30]CAPDU: 80 0D 02 02 05 3E 50 84 FD 03 [05:56:30]Write to MH i2c: E2 0D 00 5A 01 80 0D 02 02 05 00 3E 50 84 FD 03 00 00 F1 [05:56:30]Write i2c OK [05:56:30]MH_I2C_Read... [05:56:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:56:30]Read from MH i2c: E2 [05:56:30]MH_I2C_Read... [05:56:30]Read from MH i2c: E2 03 00 [05:56:30]MH_I2C_Read... [05:56:30]Read from MH i2c: E2 03 00 5A 01 00 90 00 CF [05:56:30]RAPDU: 90 00 [05:56:30]wFMCommunicate OK [05:56:30]wFMCommunicate request_size=4 [05:56:30]MH_SAM_APDU [05:56:30]CAPDU: 80 0D 03 02 [05:56:30]Write to MH i2c: E2 08 00 5B 01 80 0D 03 02 00 00 00 00 D7 [05:56:30]Write i2c OK [05:56:30]MH_I2C_Read... [05:56:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:56:30]Read from MH i2c: E2 [05:56:30]MH_I2C_Read... [05:56:30]Read from MH i2c: E2 0B 00 [05:56:30]MH_I2C_Read... [05:56:30]Read from MH i2c: E2 0B 00 5B 01 00 E3 39 90 8E A6 12 B6 73 90 00 F3 [05:56:30]RAPDU: E3 39 90 8E A6 12 B6 73 90 00 [05:56:30]wFMCommunicate OK [05:56:30]SAM_PROTO_SignData done [05:56:30]FM_MakeSignedData done [05:56:30]CreateOFDProtocolMessage [05:56:30]wFMCommunicate request_size=4 [05:56:30]MH_SAM_APDU [05:56:30]CAPDU: 80 11 00 00 [05:56:30]Write to MH i2c: E2 08 00 5C 01 80 11 00 00 00 00 00 00 D7 [05:56:30]Write i2c OK [05:56:30]MH_I2C_Read... [05:56:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:56:30]Read from MH i2c: E2 [05:56:30]MH_I2C_Read... [05:56:30]Read from MH i2c: E2 17 00 [05:56:30]MH_I2C_Read... [05:56:30]Read from MH i2c: E2 17 00 5C 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 28 [05:56:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [05:56:30]wFMCommunicate OK [05:56:30]CreateOFDProtocolMessage done [05:56:30]OFDSenderStorePacket 7884 [05:56:30]StoreOFDPacket docnum=7884 [05:56:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 97 04 07 01 99 29 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 BC 57 00 00 00 00 00 37 04 06 00 18 1A 00 00 00 00 13 04 06 00 11 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 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 8E 54 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CC 1E 00 00 35 04 06 00 D4 3E 50 84 FD 03 E3 39 90 8E A6 12 B6 73 [05:56:30]CheckFolder [05:56:30]dirname=/storage/ofd_packets [05:56:30]CheckFolder done [05:56:30]ProducePacketName [05:56:30]name=ofd_packets/00007884 [05:56:30]NVStorageSaveData ofd_packets/00007884 [05:56:30]File name is /storage/ofd_packets/00007884 [05:56:30]Write 301 bytes [05:56:30]NVStorageSaveData done [05:56:30]OFDSenderStorePacket done [05:56:30]KKMCreateOFDPacket done [05:56:30]NVStorageSaveData kkm_last_timestamp [05:56:30]File name is /storage/kkm_last_timestamp [05:56:30]Write 4 bytes [05:56:30]NVStorageSaveData done [05:56:30]ExternCall_PrintAddStr [05:56:30]wPrintStart [05:56:30]Write to MH i2c: 01 00 00 5D 01 5E [05:56:30]Write i2c OK [05:56:30]MH_I2C_Read... [05:56:30]Read from MH i2c: 01 [05:56:30]MH_I2C_Read... [05:56:30]Read from MH i2c: 01 07 00 [05:56:30]MH_I2C_Read... [05:56:30]Read from MH i2c: 01 07 00 5D 01 00 00 00 00 00 FF 0F 73 [05:56:30]RasterBufferAndPrint [05:56:30]line Счет N : (1)872493 [05:56:30]line ИНН: 02508201610067 [05:56:30]line Контрольно-Кассовый Чек [05:56:30]line ПРОДАЖА [05:56:30]line ТРК (МРК, ГНК) : 33 [05:56:30]line Товар: 2710124130 [05:56:30]line Аи-92-К-5 [05:56:30]line 22.460 * 66.80 [05:56:30]line = 1500.33 [05:56:30]line НДС 12% НСП 1% [05:56:30]line > о реализуемом товаре [05:56:30]line ОКРУГЛЕНИЕ: -0.33 [05:56:30]line ИТОГО: 1500.00 [05:56:30]line Внесено: 1500.00 [05:56:30]line СДАЧА: 0.00 [05:56:30]line НСП 1% : 13.28 [05:56:30]line НДС 12% : 159.33 [05:56:30]line Наличными: 1500.00 [05:56:30]line Безнал.: 0.00 [05:56:30]line Место: АЗС № 137 "Партнер Нефть" [05:56:30]line Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 [05:56:30]line СНО: Общий режим [05:56:30]line Чек 20 24.09.2024 05:56 [05:56:30]line Смена: 72 ФФД: 1.0 [05:56:30]line ЗНМ: 0300000041 [05:56:30]line РНМ: 0000000000190446 [05:56:30]line Версия ККМ: v1.0 [05:56:30]line [05:56:30]line Дисконтная программа [05:56:30]line АИ-92 [05:56:30]line номер 137 [05:56:30]line сэкономлено 22.46 сом [05:56:30]line ФМ: 0000000002094258 [05:56:30]line ФД: 7884 [05:56:30]line ФПД: 233364103953667 [05:56:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T055630&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7884&fm=233364103953667&tin=02508201610067®Number=0000000000190446&sum=150000 [05:56:31]OFD Sender: Processing packet 7884 [packets to send 51, broken 50] [05:56:31]ProducePacketName [05:56:31]name=ofd_packets/00007884 [05:56:31]OFD Sender: To server: pG, [05:56:31]CommunicateWithHost lk.salyk.kg:30040 [05:56:31]ConnectInit lk.salyk.kg [05:56:31]written 0, free lines is 4095 [05:56:31]Write to MH i2c: 01 00 00 8D 01 8E [05:56:31]Write i2c OK [05:56:31]MH_I2C_Read... [05:56:31]Read from MH i2c: 01 [05:56:31]MH_I2C_Read... [05:56:31]Read from MH i2c: 01 07 00 [05:56:31]MH_I2C_Read... [05:56:31]Read from MH i2c: 01 07 00 8D 01 00 00 00 00 00 A7 0C 48 [05:56:31]RasterBufferAndPrint [05:56:31]line [05:56:31]line [05:56:31]line [05:56:31]line [05:56:31]line [05:56:31]written 0, free lines is 3245 [05:56:31]MH_Cut [05:56:31]Write to MH i2c: D1 01 00 94 01 01 67 [05:56:31]Write i2c OK [05:56:31]MH_I2C_Read... [05:56:31]Read from MH i2c: D1 [05:56:31]MH_I2C_Read... [05:56:31]Read from MH i2c: D1 01 00 [05:56:31]MH_I2C_Read... [05:56:31]Read from MH i2c: D1 01 00 94 01 00 66 [05:56:31]Write to MH i2c: 01 00 00 95 01 96 [05:56:31]Write i2c OK [05:56:31]MH_I2C_Read... [05:56:32]*** Cut start [05:56:32]*** Purtial cut [05:56:32]*** Stage 1: CUTSNS_PIN = 1 [05:56:32]Read from MH i2c: 01 [05:56:32]MH_I2C_Read... [05:56:32]*** Stop cut motor [05:56:32]*** Cut end [05:56:32]Read from MH i2c: 01 07 00 [05:56:32]MH_I2C_Read... [05:56:32]Read from MH i2c: 01 07 00 95 01 00 00 00 00 00 FF 0F AB [05:56:32]process_action close_receipt done [05:56:32]requested_data is exist [05:56:32]produce_requested_data [05:56:32]requested_item fm.sn is exist - process it [05:56:32]wFMCommunicate request_size=4 [05:56:32]MH_SAM_APDU [05:56:32]CAPDU: 80 11 00 00 [05:56:32]Write to MH i2c: E2 08 00 96 01 80 11 00 00 00 00 00 00 11 [05:56:32]Write i2c OK [05:56:32]MH_I2C_Read... [05:56:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:56:32]Read from MH i2c: E2 [05:56:32]MH_I2C_Read... [05:56:32]Read from MH i2c: E2 17 00 [05:56:32]MH_I2C_Read... [05:56:32]Read from MH i2c: E2 17 00 96 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 62 [05:56:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [05:56:32]wFMCommunicate OK [05:56:32]requested_item fd.num is exist - process it [05:56:32]SAM_PROTO_GetFieldsCounters [05:56:32]wFMCommunicate request_size=4 [05:56:32]MH_SAM_APDU [05:56:32]CAPDU: 80 13 00 00 [05:56:32]Write to MH i2c: E2 08 00 97 01 80 13 00 00 00 00 00 00 14 [05:56:32]Write i2c OK [05:56:32]MH_I2C_Read... [05:56:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:56:32]Read from MH i2c: E2 [05:56:32]MH_I2C_Read... [05:56:32]Read from MH i2c: E2 62 00 [05:56:32]MH_I2C_Read... [05:56:32]Read from MH i2c: E2 62 00 97 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 CC 1E 00 00 0E 04 04 00 48 00 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 A0 [05:56:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 CC 1E 00 00 0E 04 04 00 48 00 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 [05:56:32]wFMCommunicate OK [05:56:32]SAM_PROTO_GetFieldsCounters done [05:56:32]requested_item shift.num is exist - process it [05:56:32]requested_item shift.opened is exist - process it [05:56:32]req_shift_opened [05:56:32]FM_GetShiftState [05:56:32]SAM_PROTO_GetShiftState [05:56:32]wFMCommunicate request_size=4 [05:56:32]MH_SAM_APDU [05:56:32]CAPDU: 80 13 01 00 [05:56:32]Write to MH i2c: E2 08 00 98 01 80 13 01 00 00 00 00 00 16 [05:56:32]Write i2c OK [05:56:32]MH_I2C_Read... [05:56:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:56:33]Read from MH i2c: E2 [05:56:33]MH_I2C_Read... [05:56:33]Read from MH i2c: E2 0E 00 [05:56:33]MH_I2C_Read... [05:56:33]Read from MH i2c: E2 0E 00 98 01 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 BC [05:56:33]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [05:56:33]wFMCommunicate OK [05:56:33]SAM_PROTO_GetShiftState done [05:56:33]FM_GetShiftState done [05:56:33]req_shift_opened done [05:56:33]requested_item shift.open_date is exist - process it [05:56:33]req_shift_open_date [05:56:33]req_shift_open_date done [05:56:33]produce_requested_data done [05:56:33]produce_requested_data return {"fm.sn":"0000000002094258","fd.num":7884,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [05:56:33]process_action_free close_receipt [05:56:33]json_value_free [05:56:33]json_value_free done [05:56:33]process_json_proto returns [05:56:33]Send response to host [05:56:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002094258","fd.num":7884,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [05:56:33]free response buf [05:56:33]execute_script done [05:56:33]execute_script returns [05:56:33]free content buf [05:56:33]Sock 9.Close socket [05:56:33]Sock 9.Thread stoped [05:56:33]Connected sock=11 [05:56:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 97 04 07 01 99 29 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 BC 57 00 00 00 00 00 37 04 06 00 18 1A 00 00 00 00 13 04 06 00 11 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 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 8E 54 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CC 1E 00 00 35 04 06 00 D4 3E 50 84 FD 03 E3 39 90 8E A6 12 B6 73 [05:56:38]recv_with_timeout no data received [05:56:38]CommunicateWithHost answer receiving error [05:56:38]CommunicateWithHost err = -3 [05:56:38]OFD Sender: Server communicate error [05:56:43]OFD Sender: Processing packet 7884 [packets to send 51, broken 50] [05:56:43]ProducePacketName [05:56:43]name=ofd_packets/00007884 [05:56:43]OFD Sender: To server: pG, [05:56:43]CommunicateWithHost lk.salyk.kg:30040 [05:56:43]ConnectInit lk.salyk.kg [05:56:47]recv_with_timeout no data received [05:56:48]ConnectInit Can't take IP for lk.salyk.kg [05:56:48]CommunicateWithHost connect error [05:56:48]CommunicateWithHost err = -1 [05:56:48]OFD Sender: Server communicate error [05:56:53]OFD Sender: Processing packet 7884 [packets to send 51, broken 50] [05:56:53]ProducePacketName [05:56:53]name=ofd_packets/00007884 [05:56:53]OFD Sender: To server: pG, [05:56:53]CommunicateWithHost lk.salyk.kg:30040 [05:56:53]ConnectInit lk.salyk.kg [05:56:58]recv_with_timeout no data received [05:56:58]Connected sock=9 [05:56:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 97 04 07 01 99 29 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 BC 57 00 00 00 00 00 37 04 06 00 18 1A 00 00 00 00 13 04 06 00 11 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 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 8E 54 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CC 1E 00 00 35 04 06 00 D4 3E 50 84 FD 03 E3 39 90 8E A6 12 B6 73 [05:57:03]recv_with_timeout no data received [05:57:03]CommunicateWithHost answer receiving error [05:57:03]CommunicateWithHost err = -3 [05:57:03]OFD Sender: Server communicate error [05:57:08]OFD Sender: Processing packet 7884 [packets to send 51, broken 50] [05:57:08]ProducePacketName [05:57:08]name=ofd_packets/00007884 [05:57:08]OFD Sender: To server: pG, [05:57:08]CommunicateWithHost lk.salyk.kg:30040 [05:57:08]ConnectInit lk.salyk.kg [05:57:14]Connected sock=9 [05:57:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 97 04 07 01 99 29 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 BC 57 00 00 00 00 00 37 04 06 00 18 1A 00 00 00 00 13 04 06 00 11 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 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 8E 54 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CC 1E 00 00 35 04 06 00 D4 3E 50 84 FD 03 E3 39 90 8E A6 12 B6 73 [05:57:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 B7 F9 47 00 83 31 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CC 1E 00 00 F4 03 04 00 72 FF F1 66 B6 04 01 00 00 A1 3D 25 50 34 CB 76 25 [05:57:14]CommunicateWithHost err = 0 [05:57:14]CheckOFDResponse [05:57:14]1017 (14) - 77093643461234 [05:57:14]1041 (16) - 0000000002094258 [05:57:14]1040 (4) - 7884 [05:57:14]1012 (4) - 23.09.2024 23:53 [05:57:14]1206 (1) - 0 [05:57:14]OFD Sender: Remove packet 7884 [05:57:14]ProducePacketName [05:57:14]name=ofd_packets/00007884 [05:57:14]NVStorageDeleteData [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:47]recv_with_timeout no data received [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:17]recv_with_timeout no data received [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:38]recv_with_timeout no data received [05:58:40]OFD Sender: No OFD packet to send [05:58:45]OFD Sender: No OFD packet to send [05:58:50]OFD Sender: No OFD packet to send [05:58:55]OFD Sender: No OFD packet to send [05:59:00]OFD Sender: No OFD packet to send [05:59:05]OFD Sender: No OFD packet to send [05:59:10]OFD Sender: No OFD packet to send [05:59:15]OFD Sender: No OFD packet to send [05:59:20]OFD Sender: No OFD packet to send [05:59:25]OFD Sender: No OFD packet to send [05:59:30]OFD Sender: No OFD packet to send [05:59:35]OFD Sender: No OFD packet to send [05:59:40]OFD Sender: No OFD packet to send [05:59:45]OFD Sender: No OFD packet to send [05:59:50]OFD Sender: No OFD packet to send [05:59:55]OFD Sender: No OFD packet to send [06:00:00]OFD Sender: No OFD packet to send [06:00:05]OFD Sender: No OFD packet to send [06:00:10]OFD Sender: No OFD packet to send [06:00:15]OFD Sender: No OFD packet to send [06:00:20]OFD Sender: No OFD packet to send [06:00:25]OFD Sender: No OFD packet to send [06:00:30]OFD Sender: No OFD packet to send [06:00:35]OFD Sender: No OFD packet to send [06:00:40]OFD Sender: No OFD packet to send [06:00:45]OFD Sender: No OFD packet to send [06:00:50]OFD Sender: No OFD packet to send [06:00:55]OFD Sender: No OFD packet to send [06:01:00]OFD Sender: No OFD packet to send [06:01:05]OFD Sender: No OFD packet to send [06:01:10]OFD Sender: No OFD packet to send [06:01:15]OFD Sender: No OFD packet to send [06:01:20]OFD Sender: No OFD packet to send [06:01:25]OFD Sender: No OFD packet to send [06:01:30]OFD Sender: No OFD packet to send [06:01:35]OFD Sender: No OFD packet to send [06:01:40]OFD Sender: No OFD packet to send [06:01:45]OFD Sender: No OFD packet to send [06:01:50]OFD Sender: No OFD packet to send [06:01:55]OFD Sender: No OFD packet to send [06:02:00]OFD Sender: No OFD packet to send [06:02:05]OFD Sender: No OFD packet to send [06:02:10]OFD Sender: No OFD packet to send [06:02:15]OFD Sender: No OFD packet to send [06:02:20]OFD Sender: No OFD packet to send [06:02:25]OFD Sender: No OFD packet to send [06:02:30]OFD Sender: No OFD packet to send [06:02:35]OFD Sender: No OFD packet to send [06:02:40]OFD Sender: No OFD packet to send [06:02:45]OFD Sender: No OFD packet to send [06:02:50]OFD Sender: No OFD packet to send [06:02:55]OFD Sender: No OFD packet to send [06:03:00]OFD Sender: No OFD packet to send [06:03:05]OFD Sender: No OFD packet to send [06:03:10]OFD Sender: No OFD packet to send [06:03:15]OFD Sender: No OFD packet to send [06:03:20]OFD Sender: No OFD packet to send [06:03:23]recv_with_timeout no data received [06:03:25]OFD Sender: No OFD packet to send [06:03:30]OFD Sender: No OFD packet to send [06:03:35]OFD Sender: No OFD packet to send [06:03:40]OFD Sender: No OFD packet to send [06:03:45]OFD Sender: No OFD packet to send [06:03:50]OFD Sender: No OFD packet to send [06:03:51]recv_with_timeout no data received [06:03:55]OFD Sender: No OFD packet to send [06:04:00]OFD Sender: No OFD packet to send [06:04:05]OFD Sender: No OFD packet to send [06:04:07]recv_with_timeout no data received [06:04:10]OFD Sender: No OFD packet to send [06:04:15]OFD Sender: No OFD packet to send [06:04:20]OFD Sender: No OFD packet to send [06:04:25]OFD Sender: No OFD packet to send [06:04:30]OFD Sender: No OFD packet to send [06:04:35]OFD Sender: No OFD packet to send [06:04:40]OFD Sender: No OFD packet to send [06:04:45]OFD Sender: No OFD packet to send [06:04:50]OFD Sender: No OFD packet to send [06:04:55]OFD Sender: No OFD packet to send [06:05:00]OFD Sender: No OFD packet to send [06:05:05]OFD Sender: No OFD packet to send [06:05:10]OFD Sender: No OFD packet to send [06:05:15]OFD Sender: No OFD packet to send [06:05:20]OFD Sender: No OFD packet to send [06:05:25]OFD Sender: No OFD packet to send [06:05:30]OFD Sender: No OFD packet to send [06:05:35]OFD Sender: No OFD packet to send [06:05:40]OFD Sender: No OFD packet to send [06:05:45]OFD Sender: No OFD packet to send [06:05:50]OFD Sender: No OFD packet to send [06:05:55]OFD Sender: No OFD packet to send [06:06:00]OFD Sender: No OFD packet to send [06:06:05]OFD Sender: No OFD packet to send [06:06:10]OFD Sender: No OFD packet to send [06:06:15]OFD Sender: No OFD packet to send [06:06:20]OFD Sender: No OFD packet to send [06:06:25]OFD Sender: No OFD packet to send [06:06:30]OFD Sender: No OFD packet to send [06:06:35]OFD Sender: No OFD packet to send [06:06:40]OFD Sender: No OFD packet to send [06:06:45]OFD Sender: No OFD packet to send [06:06:50]OFD Sender: No OFD packet to send [06:06:55]OFD Sender: No OFD packet to send [06:07:00]OFD Sender: No OFD packet to send [06:07:05]OFD Sender: No OFD packet to send [06:07:10]OFD Sender: No OFD packet to send [06:07:15]OFD Sender: No OFD packet to send [06:07:20]OFD Sender: No OFD packet to send [06:07:25]recv_with_timeout no data received [06:07:25]OFD Sender: No OFD packet to send [06:07:30]OFD Sender: No OFD packet to send [06:07:35]OFD Sender: No OFD packet to send [06:07:40]OFD Sender: No OFD packet to send [06:07:45]OFD Sender: No OFD packet to send [06:07:50]OFD Sender: No OFD packet to send [06:07:54]recv_with_timeout no data received [06:07:55]OFD Sender: No OFD packet to send [06:08:00]OFD Sender: No OFD packet to send [06:08:05]OFD Sender: No OFD packet to send [06:08:10]OFD Sender: No OFD packet to send [06:08:15]OFD Sender: No OFD packet to send [06:08:20]OFD Sender: No OFD packet to send [06:08:25]OFD Sender: No OFD packet to send [06:08:30]OFD Sender: No OFD packet to send [06:08:35]OFD Sender: No OFD packet to send [06:08:40]OFD Sender: No OFD packet to send [06:08:45]OFD Sender: No OFD packet to send [06:08:50]OFD Sender: No OFD packet to send [06:08:55]OFD Sender: No OFD packet to send [06:09:00]OFD Sender: No OFD packet to send [06:09:05]OFD Sender: No OFD packet to send [06:09:10]OFD Sender: No OFD packet to send [06:09:15]OFD Sender: No OFD packet to send [06:09:17]recv_with_timeout no data received [06:09:20]OFD Sender: No OFD packet to send [06:09:25]OFD Sender: No OFD packet to send [06:09:30]OFD Sender: No OFD packet to send [06:09:35]OFD Sender: No OFD packet to send [06:09:40]OFD Sender: No OFD packet to send [06:09:45]OFD Sender: No OFD packet to send [06:09:50]OFD Sender: No OFD packet to send [06:09:55]OFD Sender: No OFD packet to send [06:10:00]OFD Sender: No OFD packet to send [06:10:05]OFD Sender: No OFD packet to send [06:10:10]OFD Sender: No OFD packet to send [06:10:15]OFD Sender: No OFD packet to send [06:10:20]OFD Sender: No OFD packet to send [06:10:25]OFD Sender: No OFD packet to send [06:10:30]OFD Sender: No OFD packet to send [06:10:35]OFD Sender: No OFD packet to send [06:10:40]OFD Sender: No OFD packet to send [06:10:45]OFD Sender: No OFD packet to send [06:10:50]OFD Sender: No OFD packet to send [06:10:55]OFD Sender: No OFD packet to send [06:10:59]recv_with_timeout no data received [06:11:00]OFD Sender: No OFD packet to send [06:11:05]OFD Sender: No OFD packet to send [06:11:10]OFD Sender: No OFD packet to send [06:11:11]recv_with_timeout no data received [06:11:15]OFD Sender: No OFD packet to send [06:11:20]OFD Sender: No OFD packet to send [06:11:25]OFD Sender: No OFD packet to send [06:11:30]OFD Sender: No OFD packet to send [06:11:35]OFD Sender: No OFD packet to send [06:11:40]OFD Sender: No OFD packet to send [06:11: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:28]recv_with_timeout no data received [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:30]recv_with_timeout no data received [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:14]recv_with_timeout no data received [06:18:16]OFD Sender: No OFD packet to send [06:18:21]OFD Sender: No OFD packet to send [06:18:26]OFD Sender: No OFD packet to send [06:18:31]OFD Sender: No OFD packet to send [06:18:36]OFD Sender: No OFD packet to send [06:18:41]OFD Sender: No OFD packet to send [06:18:46]OFD Sender: No OFD packet to send [06:18:51]OFD Sender: No OFD packet to send [06:18:56]OFD Sender: No OFD packet to send [06:19:01]OFD Sender: No OFD packet to send [06:19:06]OFD Sender: No OFD packet to send [06:19:11]OFD Sender: No OFD packet to send [06:19:16]OFD Sender: No OFD packet to send [06:19:21]OFD Sender: No OFD packet to send [06:19:26]OFD Sender: No OFD packet to send [06:19:31]OFD Sender: No OFD packet to send [06:19:36]OFD Sender: No OFD packet to send [06:19:41]OFD Sender: No OFD packet to send [06:19:46]OFD Sender: No OFD packet to send [06:19:51]OFD Sender: No OFD packet to send [06:19:56]OFD Sender: No OFD packet to send [06:20:01]OFD Sender: No OFD packet to send [06:20:06]OFD Sender: No OFD packet to send [06:20:11]OFD Sender: No OFD packet to send [06:20:16]OFD Sender: No OFD packet to send [06:20:21]OFD Sender: No OFD packet to send [06:20:26]OFD Sender: No OFD packet to send [06:20:31]OFD Sender: No OFD packet to send [06:20:36]OFD Sender: No OFD packet to send [06:20:41]OFD Sender: No OFD packet to send [06:20:46]OFD Sender: No OFD packet to send [06:20:51]OFD Sender: No OFD packet to send [06:20:56]OFD Sender: No OFD packet to send [06:21:01]OFD Sender: No OFD packet to send [06:21:06]OFD Sender: No OFD packet to send [06:21:11]OFD Sender: No OFD packet to send [06:21:16]OFD Sender: No OFD packet to send [06:21:21]OFD Sender: No OFD packet to send [06:21:26]OFD Sender: No OFD packet to send [06:21:31]OFD Sender: No OFD packet to send [06:21:31]recv_with_timeout no data received [06:21:36]OFD Sender: No OFD packet to send [06:21:41]OFD Sender: No OFD packet to send [06:21:46]OFD Sender: No OFD packet to send [06:21:51]OFD Sender: No OFD packet to send [06:21:56]OFD Sender: No OFD packet to send [06:22:01]OFD Sender: No OFD packet to send [06:22:06]OFD Sender: No OFD packet to send [06:22:11]OFD Sender: No OFD packet to send [06:22:16]OFD Sender: No OFD packet to send [06:22:21]OFD Sender: No OFD packet to send [06:22:26]OFD Sender: No OFD packet to send [06:22:31]OFD Sender: No OFD packet to send [06:22:36]OFD Sender: No OFD packet to send [06:22:41]OFD Sender: No OFD packet to send [06:22:46]OFD Sender: No OFD packet to send [06:22:51]OFD Sender: No OFD packet to send [06:22:56]OFD Sender: No OFD packet to send [06:23:01]OFD Sender: No OFD packet to send [06:23:06]OFD Sender: No OFD packet to send [06:23:11]OFD Sender: No OFD packet to send [06:23:16]OFD Sender: No OFD packet to send [06:23:21]OFD Sender: No OFD packet to send [06:23:26]OFD Sender: No OFD packet to send [06:23:29]recv_with_timeout no data received [06:23:31]OFD Sender: No OFD packet to send [06:23:36]OFD Sender: No OFD packet to send [06:23:41]OFD Sender: No OFD packet to send [06:23:46]OFD Sender: No OFD packet to send [06:23:51]OFD Sender: No OFD packet to send [06:23:56]OFD Sender: No OFD packet to send [06:24:01]OFD Sender: No OFD packet to send [06:24:06]OFD Sender: No OFD packet to send [06:24:11]OFD Sender: No OFD packet to send [06:24:16]OFD Sender: No OFD packet to send [06:24:21]OFD Sender: No OFD packet to send [06:24:26]OFD Sender: No OFD packet to send [06:24:31]OFD Sender: No OFD packet to send [06:24:36]OFD Sender: No OFD packet to send [06:24:41]OFD Sender: No OFD packet to send [06:24:46]OFD Sender: No OFD packet to send [06:24:51]OFD Sender: No OFD packet to send [06:24:56]OFD Sender: No OFD packet to send [06:25:01]OFD Sender: No OFD packet to send [06:25:06]OFD Sender: No OFD packet to send [06:25:11]OFD Sender: No OFD packet to send [06:25:16]OFD Sender: No OFD packet to send [06:25:21]OFD Sender: No OFD packet to send [06:25:26]OFD Sender: No OFD packet to send [06:25:31]OFD Sender: No OFD packet to send [06:25:36]OFD Sender: No OFD packet to send [06:25:41]OFD Sender: No OFD packet to send [06:25:46]OFD Sender: No OFD packet to send [06:25:51]OFD Sender: No OFD packet to send [06:25:56]OFD Sender: No OFD packet to send [06:26:01]OFD Sender: No OFD packet to send [06:26:06]OFD Sender: No OFD packet to send [06:26:11]OFD Sender: No OFD packet to send [06:26:16]OFD Sender: No OFD packet to send [06:26:21]OFD Sender: No OFD packet to send [06:26:26]OFD Sender: No OFD packet to send [06:26:31]OFD Sender: No OFD packet to send [06:26:36]OFD Sender: No OFD packet to send [06:26:41]OFD Sender: No OFD packet to send [06:26:46]OFD Sender: No OFD packet to send [06:26:51]OFD Sender: No OFD packet to send [06:26:56]OFD Sender: No OFD packet to send [06:27:01]OFD Sender: No OFD packet to send [06:27:06]OFD Sender: No OFD packet to send [06:27:11]OFD Sender: No OFD packet to send [06:27:16]OFD Sender: No OFD packet to send [06:27:21]OFD Sender: No OFD packet to send [06:27:26]OFD Sender: No OFD packet to send [06:27:31]OFD Sender: No OFD packet to send [06:27:36]OFD Sender: No OFD packet to send [06:27:41]OFD Sender: No OFD packet to send [06:27:46]OFD Sender: No OFD packet to send [06:27:51]OFD Sender: No OFD packet to send [06:27:56]OFD Sender: No OFD packet to send [06:28:01]OFD Sender: No OFD packet to send [06:28:06]OFD Sender: No OFD packet to send [06:28:11]OFD Sender: No OFD packet to send [06:28:16]OFD Sender: No OFD packet to send [06:28:21]OFD Sender: No OFD packet to send [06:28:26]OFD Sender: No OFD packet to send [06:28:31]OFD Sender: No OFD packet to send [06:28:36]OFD Sender: No OFD packet to send [06:28:41]OFD Sender: No OFD packet to send [06:28:46]OFD Sender: No OFD packet to send [06:28:51]OFD Sender: No OFD packet to send [06:28:56]OFD Sender: No OFD packet to send [06:29:01]OFD Sender: No OFD packet to send [06:29:06]OFD Sender: No OFD packet to send [06:29:11]OFD Sender: No OFD packet to send [06:29:16]OFD Sender: No OFD packet to send [06:29:21]OFD Sender: No OFD packet to send [06:29:26]OFD Sender: No OFD packet to send [06:29:31]OFD Sender: No OFD packet to send [06:29:36]OFD Sender: No OFD packet to send [06:29:41]OFD Sender: No OFD packet to send [06:29:46]OFD Sender: No OFD packet to send [06:29:49]accept exits with 10 [06:29:49]New connection [06:29:49]New thread 3067489636 created [06:29:49]Thread 3067632996 joined [06:29:49]Waiting for new connection... [06:29:49] Sock 10.Parse request [06:29:49]Sock 10.Check first char [06:29:49]Sock 10.First char is OK [06:29:49]request: POST /json_proto HTTP/1.0 [06:29:49]Method: POST [06:29:49]URL: /json_proto [06:29:49]Method is POST - this is cgi request [06:29:49]url: /json_proto [06:29:49]query_string will be loaded in cgi processing [06:29:49]execute_cgi json_proto POST (null) [06:29:49]execute_cgi path=json_proto method=POST [06:29:49]POST find Content-Length [06:29:49]Host: 172.17.47.195:8080 [06:29:49]Content-Length: 682 [06:29:49]Content-Type: application/json [06:29:49] [06:29:49]POST finish read [06:29:49]Found Content-Length = 682 [06:29:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872494", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 34", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 76.20, "quantity" : 4.600, "sum" : 350.52, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 350.00, "total" : 350.00, "payments": [ { "type": 0, "sum" : 350.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:29:49]execute_script... [06:29: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 : (1)872494", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 34", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 76.20, "quantity" : 4.600, "sum" : 350.52, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 350.00, "total" : 350.00, "payments": [ { "type": 0, "sum" : 350.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:29:49]POST & json_proto [06:29:49]process_json_proto [06:29:49]json parsed OK: [06:29:49]protocol is kg_v1.0 [06:29:49]action value=close_receipt [06:29:49]process_action close_receipt [06:29:49]cmd_close_receipt [06:29:49]MH_GetDate [06:29:49]Write to MH i2c: F0 00 00 99 01 89 [06:29:49]Write i2c OK [06:29:49]MH_I2C_Read... [06:29:49]Read from MH i2c: F0 [06:29:49]MH_I2C_Read... [06:29:49]Read from MH i2c: F0 09 00 [06:29:49]MH_I2C_Read... [06:29:49]Read from MH i2c: F0 09 00 99 01 00 5F 5C F2 66 96 2E 95 66 64 [06:29:49]GetLastDocTimeStamp 1727157390 [06:29:49]current date 1727159391 [06:29:49]FM_GetShiftState [06:29:49]SAM_PROTO_GetShiftState [06:29:49]wFMCommunicate request_size=4 [06:29:49]MH_SAM_APDU [06:29:49]CAPDU: 80 13 01 00 [06:29:49]Write to MH i2c: E2 08 00 9A 01 80 13 01 00 00 00 00 00 18 [06:29:49]Write i2c OK [06:29:49]MH_I2C_Read... [06:29:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:29:49]Read from MH i2c: E2 [06:29:49]MH_I2C_Read... [06:29:49]Read from MH i2c: E2 0E 00 [06:29:49]MH_I2C_Read... [06:29:49]Read from MH i2c: E2 0E 00 9A 01 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 BE [06:29:49]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [06:29:49]wFMCommunicate OK [06:29:49]SAM_PROTO_GetShiftState done [06:29:49]FM_GetShiftState done [06:29:49]opened in 1727137340 [06:29:49]opened+sec_in_day 1727223740 [06:29:49]quantity*price = 35052 [06:29:49]sum+1 = 35053 [06:29:49]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.52 ИТОГО: 350.00 Внесено: 350.00 СДАЧА: 0.00 НСП 1% : 3.10 НДС 12% : 37.22 Наличными: 350.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 21 24.09.2024 06:29 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 ФМ: 0000000002094258 ФД: 7885 ФПД: 225936290753918 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T062951&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7885&fm=225936290753918&tin=02508201610067®Number=0000000000190446&sum=35000 [06:29:50]StoreToDocumentArchive [06:29:50]shift 72 fd 7885 [06:29:50]save to /storage/0072/doc_00007885 [06:29:50]save last doc name /storage/0072/doc_00007885 to /storage/kkm_last_doc_name [06:29:50]save OK [06:29:50]Clear old archive folders... [06:29:50]ProcessDocumentItem done err = 0, tmpTLVsize=252 [06:29:50]tlvbuf is 00FDBCB0 [06:29:50]SAM_PROTO_ClearQueue [06:29:50]wFMCommunicate request_size=4 [06:29:50]MH_SAM_APDU [06:29:50]CAPDU: 80 09 00 00 [06:29:50]Write to MH i2c: E2 08 00 A7 01 80 09 00 00 00 00 00 00 1A [06:29:50]Write i2c OK [06:29:50]MH_I2C_Read... [06:29:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:29:50]Read from MH i2c: E2 [06:29:50]MH_I2C_Read... [06:29:50]Read from MH i2c: E2 03 00 [06:29:50]MH_I2C_Read... [06:29:50]Read from MH i2c: E2 03 00 A7 01 00 90 00 1C [06:29:50]RAPDU: 90 00 [06:29:50]wFMCommunicate OK [06:29:50]SAM_PROTO_ClearQueue done [06:29:50]KKMCreateOFDPacket [06:29:50]OFDProtocolAddRootSTLVToBuf [06:29:50]FM_MakeSignedData [06:29:50]FM_MakeSignedData [06:29:50]SAM_PROTO_SignData [06:29:50]wFMCommunicate request_size=4 [06:29:50]MH_SAM_APDU [06:29:50]CAPDU: 80 0D 01 02 [06:29:50]Write to MH i2c: E2 08 00 A8 01 80 0D 01 02 00 00 00 00 22 [06:29:50]Write i2c OK [06:29:50]MH_I2C_Read... [06:29:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:29:51]Read from MH i2c: E2 [06:29:51]MH_I2C_Read... [06:29:51]Read from MH i2c: E2 03 00 [06:29:51]MH_I2C_Read... [06:29:51]Read from MH i2c: E2 03 00 A8 01 00 90 00 1D [06:29:51]RAPDU: 90 00 [06:29:51]wFMCommunicate OK [06:29:51]wFMCommunicate request_size=255 [06:29:51]MH_SAM_APDU [06:29:51]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 F8 11 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 EC 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 5F 5C F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CD 1E 00 00 35 04 06 00 [06:29:51]Write to MH i2c: E2 02 01 A9 01 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 F8 11 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 EC 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 5F 5C F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CD 1E 00 00 35 04 06 00 00 00 6B [06:29:51]Write i2c OK [06:29:51]MH_I2C_Read... [06:29:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:29:51]Read from MH i2c: E2 [06:29:51]MH_I2C_Read... [06:29:51]Read from MH i2c: E2 03 00 [06:29:51]MH_I2C_Read... [06:29:51]Read from MH i2c: E2 03 00 A9 01 00 90 00 1E [06:29:51]RAPDU: 90 00 [06:29:51]wFMCommunicate OK [06:29:51]wFMCommunicate request_size=11 [06:29:51]MH_SAM_APDU [06:29:51]CAPDU: 80 0D 02 02 06 CD 7C E4 5A 2D 7E [06:29:51]Write to MH i2c: E2 0E 00 AA 01 80 0D 02 02 06 00 CD 7C E4 5A 2D 7E 00 00 63 [06:29:51]Write i2c OK [06:29:51]MH_I2C_Read... [06:29:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:29:51]Read from MH i2c: E2 [06:29:51]MH_I2C_Read... [06:29:51]Read from MH i2c: E2 03 00 [06:29:51]MH_I2C_Read... [06:29:51]Read from MH i2c: E2 03 00 AA 01 00 90 00 1F [06:29:51]RAPDU: 90 00 [06:29:51]wFMCommunicate OK [06:29:51]wFMCommunicate request_size=4 [06:29:51]MH_SAM_APDU [06:29:51]CAPDU: 80 0D 03 02 [06:29:51]Write to MH i2c: E2 08 00 AB 01 80 0D 03 02 00 00 00 00 27 [06:29:51]Write i2c OK [06:29:51]MH_I2C_Read... [06:29:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:29:51]Read from MH i2c: E2 [06:29:51]MH_I2C_Read... [06:29:51]Read from MH i2c: E2 0B 00 [06:29:51]MH_I2C_Read... [06:29:51]Read from MH i2c: E2 0B 00 AB 01 00 1B F5 5E 58 10 5A 8F 1B 90 00 02 [06:29:51]RAPDU: 1B F5 5E 58 10 5A 8F 1B 90 00 [06:29:51]wFMCommunicate OK [06:29:51]SAM_PROTO_SignData done [06:29:51]FM_MakeSignedData done [06:29:51]CreateOFDProtocolMessage [06:29:51]wFMCommunicate request_size=4 [06:29:51]MH_SAM_APDU [06:29:51]CAPDU: 80 11 00 00 [06:29:51]Write to MH i2c: E2 08 00 AC 01 80 11 00 00 00 00 00 00 27 [06:29:51]Write i2c OK [06:29:51]MH_I2C_Read... [06:29:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:29:51]Read from MH i2c: E2 [06:29:51]MH_I2C_Read... [06:29:51]Read from MH i2c: E2 17 00 [06:29:51]MH_I2C_Read... [06:29:51]Read from MH i2c: E2 17 00 AC 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 78 [06:29:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [06:29:51]wFMCommunicate OK [06:29:51]CreateOFDProtocolMessage done [06:29:51]OFDSenderStorePacket 7885 [06:29:51]StoreOFDPacket docnum=7885 [06:29:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 01 00 00 92 D8 08 01 44 E8 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 F8 11 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 EC 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 5F 5C F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CD 1E 00 00 35 04 06 00 CD 7C E4 5A 2D 7E 1B F5 5E 58 10 5A 8F 1B [06:29:51]CheckFolder [06:29:51]dirname=/storage/ofd_packets [06:29:51]CheckFolder done [06:29:51]ProducePacketName [06:29:51]name=ofd_packets/00007885 [06:29:51]NVStorageSaveData ofd_packets/00007885 [06:29:51]File name is /storage/ofd_packets/00007885 [06:29:51]Write 302 bytes [06:29:51]NVStorageSaveData done [06:29:51]OFDSenderStorePacket done [06:29:51]KKMCreateOFDPacket done [06:29:51]NVStorageSaveData kkm_last_timestamp [06:29:51]File name is /storage/kkm_last_timestamp [06:29:51]Write 4 bytes [06:29:51]NVStorageSaveData done [06:29:51]OFD Sender: Processing packet 7885 [packets to send 51, broken 50] [06:29:51]ProducePacketName [06:29:51]name=ofd_packets/00007885 [06:29:51]OFD Sender: To server: pG, [06:29:51]CommunicateWithHost lk.salyk.kg:30040 [06:29:51]ConnectInit lk.salyk.kg [06:29:51]ExternCall_PrintAddStr [06:29:51]wPrintStart [06:29:51]Write to MH i2c: 01 00 00 AD 01 AE [06:29:51]Write i2c OK [06:29:51]MH_I2C_Read... [06:29:51]Read from MH i2c: 01 [06:29:51]MH_I2C_Read... [06:29:51]Read from MH i2c: 01 07 00 [06:29:51]MH_I2C_Read... [06:29:51]Read from MH i2c: 01 07 00 AD 01 00 00 00 00 00 FF 0F C3 [06:29:51]RasterBufferAndPrint [06:29:51]line Счет N : (1)872494 [06:29:51]line ИНН: 02508201610067 [06:29:51]line Контрольно-Кассовый Чек [06:29:51]line ПРОДАЖА [06:29:51]line ТРК (МРК, ГНК) : 34 [06:29:51]line Товар: 2710194210 [06:29:51]line ДТ(л)-К-4 [06:29:51]line 4.600 * 76.20 [06:29:51]line = 350.52 [06:29:51]line НДС 12% НСП 1% [06:29:51]line > о реализуемом товаре [06:29:51]line ОКРУГЛЕНИЕ: -0.52 [06:29:51]line ИТОГО: 350.00 [06:29:51]line Внесено: 350.00 [06:29:51]line СДАЧА: 0.00 [06:29:51]line НСП 1% : 3.10 [06:29:51]line НДС 12% : 37.22 [06:29:51]line Наличными: 350.00 [06:29:51]line Безнал.: 0.00 [06:29:51]line Место: АЗС № 137 "Партнер Нефть" [06:29:51]line Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 [06:29:51]line СНО: Общий режим [06:29:51]line Чек 21 24.09.2024 06:29 [06:29:51]line Смена: 72 ФФД: 1.0 [06:29:51]line ЗНМ: 0300000041 [06:29:51]line РНМ: 0000000000190446 [06:29:51]line Версия ККМ: v1.0 [06:29:51]line ФМ: 0000000002094258 [06:29:51]line ФД: 7885 [06:29:51]line ФПД: 225936290753918 [06:29:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T062951&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7885&fm=225936290753918&tin=02508201610067®Number=0000000000190446&sum=35000 [06:29:51]written 0, free lines is 4095 [06:29:52]Write to MH i2c: 01 00 00 D8 01 D9 [06:29:52]Write i2c OK [06:29:52]MH_I2C_Read... [06:29:52]Read from MH i2c: 01 [06:29:52]MH_I2C_Read... [06:29:52]Read from MH i2c: 01 07 00 [06:29:52]MH_I2C_Read... [06:29:52]Read from MH i2c: 01 07 00 D8 01 00 00 00 00 00 E7 0C D3 [06:29:52]RasterBufferAndPrint [06:29:52]line [06:29:52]line [06:29:52]line [06:29:52]line [06:29:52]line [06:29:52]written 0, free lines is 3309 [06:29:52]MH_Cut [06:29:52]Write to MH i2c: D1 01 00 DF 01 01 B2 [06:29:52]Write i2c OK [06:29:52]MH_I2C_Read... [06:29:52]Read from MH i2c: D1 [06:29:52]MH_I2C_Read... [06:29:52]Read from MH i2c: D1 01 00 [06:29:52]MH_I2C_Read... [06:29:52]Read from MH i2c: D1 01 00 DF 01 00 B1 [06:29:52]Write to MH i2c: 01 00 00 E0 01 E1 [06:29:52]Write i2c OK [06:29:52]MH_I2C_Read... [06:29:52]*** Cut start [06:29:52]*** Purtial cut [06:29:52]*** Stage 1: CUTSNS_PIN = 1 [06:29:53]Read from MH i2c: 01 [06:29:53]MH_I2C_Read... [06:29:53]*** Stop cut motor [06:29:53]*** Cut end [06:29:53]Read from MH i2c: 01 07 00 [06:29:53]MH_I2C_Read... [06:29:53]Read from MH i2c: 01 07 00 E0 01 00 00 00 00 00 FF 0F F6 [06:29:53]process_action close_receipt done [06:29:53]requested_data is exist [06:29:53]produce_requested_data [06:29:53]requested_item fm.sn is exist - process it [06:29:53]wFMCommunicate request_size=4 [06:29:53]MH_SAM_APDU [06:29:53]CAPDU: 80 11 00 00 [06:29:53]Write to MH i2c: E2 08 00 E1 01 80 11 00 00 00 00 00 00 5C [06:29:53]Write i2c OK [06:29:53]MH_I2C_Read... [06:29:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:29:53]Read from MH i2c: E2 [06:29:53]MH_I2C_Read... [06:29:53]Read from MH i2c: E2 17 00 [06:29:53]MH_I2C_Read... [06:29:53]Read from MH i2c: E2 17 00 E1 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 AD [06:29:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [06:29:53]wFMCommunicate OK [06:29:53]requested_item fd.num is exist - process it [06:29:53]SAM_PROTO_GetFieldsCounters [06:29:53]wFMCommunicate request_size=4 [06:29:53]MH_SAM_APDU [06:29:53]CAPDU: 80 13 00 00 [06:29:53]Write to MH i2c: E2 08 00 E2 01 80 13 00 00 00 00 00 00 5F [06:29:53]Write i2c OK [06:29:53]MH_I2C_Read... [06:29:53]Connected sock=11 [06:29:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 01 00 00 92 D8 08 01 44 E8 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 F8 11 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 EC 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 5F 5C F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CD 1E 00 00 35 04 06 00 CD 7C E4 5A 2D 7E 1B F5 5E 58 10 5A 8F 1B [06:29:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:29:53]Read from MH i2c: E2 [06:29:53]MH_I2C_Read... [06:29:53]Read from MH i2c: E2 62 00 [06:29:53]MH_I2C_Read... [06:29:53]Read from MH i2c: E2 62 00 E2 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 CD 1E 00 00 0E 04 04 00 48 00 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 EF [06:29:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 CD 1E 00 00 0E 04 04 00 48 00 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 [06:29:53]wFMCommunicate OK [06:29:53]SAM_PROTO_GetFieldsCounters done [06:29:53]requested_item shift.num is exist - process it [06:29:53]requested_item shift.opened is exist - process it [06:29:53]req_shift_opened [06:29:53]FM_GetShiftState [06:29:53]SAM_PROTO_GetShiftState [06:29:53]wFMCommunicate request_size=4 [06:29:53]MH_SAM_APDU [06:29:53]CAPDU: 80 13 01 00 [06:29:53]Write to MH i2c: E2 08 00 E3 01 80 13 01 00 00 00 00 00 61 [06:29:53]Write i2c OK [06:29:53]MH_I2C_Read... [06:29:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:29:53]Read from MH i2c: E2 [06:29:53]MH_I2C_Read... [06:29:53]Read from MH i2c: E2 0E 00 [06:29:53]MH_I2C_Read... [06:29:53]Read from MH i2c: E2 0E 00 E3 01 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 07 [06:29:53]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [06:29:53]wFMCommunicate OK [06:29:53]SAM_PROTO_GetShiftState done [06:29:53]FM_GetShiftState done [06:29:53]req_shift_opened done [06:29:53]requested_item shift.open_date is exist - process it [06:29:53]req_shift_open_date [06:29:53]req_shift_open_date done [06:29:53]produce_requested_data done [06:29:53]produce_requested_data return {"fm.sn":"0000000002094258","fd.num":7885,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [06:29:53]process_action_free close_receipt [06:29:53]json_value_free [06:29:53]json_value_free done [06:29:53]process_json_proto returns [06:29:53]Send response to host [06:29:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002094258","fd.num":7885,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [06:29:53]free response buf [06:29:53]execute_script done [06:29:53]execute_script returns [06:29:53]free content buf [06:29:53]Sock 10.Close socket [06:29:53]Sock 10.Thread stoped [06:29:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 16 8A 47 00 0D 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 32 30 39 34 32 35 38 10 04 04 00 CD 1E 00 00 F4 03 04 00 1A 07 F2 66 B6 04 01 00 00 A0 1E ED 4B C5 6E E8 A7 [06:29:55]CommunicateWithHost err = 0 [06:29:55]CheckOFDResponse [06:29:55]1017 (14) - 77093643461234 [06:29:55]1041 (16) - 0000000002094258 [06:29:55]1040 (4) - 7885 [06:29:55]1012 (4) - 24.09.2024 00:26 [06:29:55]1206 (1) - 0 [06:29:55]OFD Sender: Remove packet 7885 [06:29:55]ProducePacketName [06:29:55]name=ofd_packets/00007885 [06:29:55]NVStorageDeleteData [06:29:55]OFD Sender: No OFD packet to send [06:30:00]recv_with_timeout no data received [06:30:00]OFD Sender: No OFD packet to send [06:30:05]OFD Sender: No OFD packet to send [06:30:10]OFD Sender: No OFD packet to send [06:30:15]OFD Sender: No OFD packet to send [06:30:16]recv_with_timeout no data received [06:30:20]OFD Sender: No OFD packet to send [06:30:25]OFD Sender: No OFD packet to send [06:30:30]OFD Sender: No OFD packet to send [06:30:32]recv_with_timeout no data received [06:30:35]OFD Sender: No OFD packet to send [06:30:40]OFD Sender: No OFD packet to send [06:30:45]OFD Sender: No OFD packet to send [06:30:50]OFD Sender: No OFD packet to send [06:30:55]OFD Sender: No OFD packet to send [06:31:00]OFD Sender: No OFD packet to send [06:31:05]OFD Sender: No OFD packet to send [06:31:10]OFD Sender: No OFD packet to send [06:31:15]OFD Sender: No OFD packet to send [06:31:20]OFD Sender: No OFD packet to send [06:31:25]OFD Sender: No OFD packet to send [06:31:30]OFD Sender: No OFD packet to send [06:31:35]OFD Sender: No OFD packet to send [06:31:40]OFD Sender: No OFD packet to send [06:31:45]OFD Sender: No OFD packet to send [06:31:50]OFD Sender: No OFD packet to send [06:31:55]OFD Sender: No OFD packet to send [06:32:00]OFD Sender: No OFD packet to send [06:32:05]OFD Sender: No OFD packet to send [06:32:10]OFD Sender: No OFD packet to send [06:32:15]OFD Sender: No OFD packet to send [06:32:20]OFD Sender: No OFD packet to send [06:32:25]OFD Sender: No OFD packet to send [06:32:30]OFD Sender: No OFD packet to send [06:32:35]OFD Sender: No OFD packet to send [06:32:40]OFD Sender: No OFD packet to send [06:32:45]OFD Sender: No OFD packet to send [06:32:50]OFD Sender: No OFD packet to send [06:32:55]OFD Sender: No OFD packet to send [06:33:00]OFD Sender: No OFD packet to send [06:33:05]OFD Sender: No OFD packet to send [06:33:10]OFD Sender: No OFD packet to send [06:33:15]OFD Sender: No OFD packet to send [06:33:20]OFD Sender: No OFD packet to send [06:33:25]OFD Sender: No OFD packet to send [06:33:30]OFD Sender: No OFD packet to send [06:33:35]OFD Sender: No OFD packet to send [06:33:40]OFD Sender: No OFD packet to send [06:33:45]OFD Sender: No OFD packet to send [06:33:50]OFD Sender: No OFD packet to send [06:33:55]OFD Sender: No OFD packet to send [06:34:00]OFD Sender: No OFD packet to send [06:34:05]OFD Sender: No OFD packet to send [06:34:10]OFD Sender: No OFD packet to send [06:34:15]OFD Sender: No OFD packet to send [06:34:20]OFD Sender: No OFD packet to send [06:34:25]OFD Sender: No OFD packet to send [06:34:30]OFD Sender: No OFD packet to send [06:34:35]OFD Sender: No OFD packet to send [06:34:40]OFD Sender: No OFD packet to send [06:34:45]OFD Sender: No OFD packet to send [06:34:50]OFD Sender: No OFD packet to send [06:34:55]OFD Sender: No OFD packet to send [06:35:00]OFD Sender: No OFD packet to send [06:35:05]OFD Sender: No OFD packet to send [06:35:10]OFD Sender: No OFD packet to send [06:35:15]OFD Sender: No OFD packet to send [06:35:20]OFD Sender: No OFD packet to send [06:35:25]OFD Sender: No OFD packet to send [06:35:30]OFD Sender: No OFD packet to send [06:35:35]OFD Sender: No OFD packet to send [06:35:40]OFD Sender: No OFD packet to send [06:35:45]OFD Sender: No OFD packet to send [06:35:50]OFD Sender: No OFD packet to send [06:35:55]OFD Sender: No OFD packet to send [06:36:00]OFD Sender: No OFD packet to send [06:36:05]OFD Sender: No OFD packet to send [06:36:10]OFD Sender: No OFD packet to send [06:36:15]OFD Sender: No OFD packet to send [06:36:20]OFD Sender: No OFD packet to send [06:36:25]OFD Sender: No OFD packet to send [06:36:30]OFD Sender: No OFD packet to send [06:36:35]OFD Sender: No OFD packet to send [06:36:40]OFD Sender: No OFD packet to send [06:36:45]OFD Sender: No OFD packet to send [06:36:50]OFD Sender: No OFD packet to send [06:36:55]OFD Sender: No OFD packet to send [06:37:00]OFD Sender: No OFD packet to send [06:37:05]OFD Sender: No OFD packet to send [06:37:10]OFD Sender: No OFD packet to send [06:37:15]OFD Sender: No OFD packet to send [06:37:21]OFD Sender: No OFD packet to send [06:37:26]OFD Sender: No OFD packet to send [06:37:31]OFD Sender: No OFD packet to send [06:37:36]OFD Sender: No OFD packet to send [06:37:41]OFD Sender: No OFD packet to send [06:37:46]OFD Sender: No OFD packet to send [06:37:51]OFD Sender: No OFD packet to send [06:37:53]recv_with_timeout no data received [06:37:56]OFD Sender: No OFD packet to send [06:38:01]OFD Sender: No OFD packet to send [06:38:06]OFD Sender: No OFD packet to send [06:38:11]OFD Sender: No OFD packet to send [06:38:16]OFD Sender: No OFD packet to send [06:38:21]OFD Sender: No OFD packet to send [06:38:26]OFD Sender: No OFD packet to send [06:38:31]OFD Sender: No OFD packet to send [06:38:36]OFD Sender: No OFD packet to send [06:38:41]OFD Sender: No OFD packet to send [06:38:46]OFD Sender: No OFD packet to send [06:38:51]OFD Sender: No OFD packet to send [06:38:56]OFD Sender: No OFD packet to send [06:39:01]OFD Sender: No OFD packet to send [06:39:06]OFD Sender: No OFD packet to send [06:39:11]OFD Sender: No OFD packet to send [06:39:16]OFD Sender: No OFD packet to send [06:39:21]OFD Sender: No OFD packet to send [06:39:26]OFD Sender: No OFD packet to send [06:39:31]OFD Sender: No OFD packet to send [06:39:36]OFD Sender: No OFD packet to send [06:39:41]OFD Sender: No OFD packet to send [06:39:46]OFD Sender: No OFD packet to send [06:39:51]OFD Sender: No OFD packet to send [06:39:56]OFD Sender: No OFD packet to send [06:40:01]OFD Sender: No OFD packet to send [06:40:06]OFD Sender: No OFD packet to send [06:40:11]OFD Sender: No OFD packet to send [06:40:16]OFD Sender: No OFD packet to send [06:40:21]OFD Sender: No OFD packet to send [06:40:26]OFD Sender: No OFD packet to send [06:40:31]OFD Sender: No OFD packet to send [06:40:36]OFD Sender: No OFD packet to send [06:40:41]OFD Sender: No OFD packet to send [06:40:46]OFD Sender: No OFD packet to send [06:40:51]OFD Sender: No OFD packet to send [06:40:56]OFD Sender: No OFD packet to send [06:41:01]OFD Sender: No OFD packet to send [06:41:06]OFD Sender: No OFD packet to send [06:41:10]recv_with_timeout no data received [06:41:11]OFD Sender: No OFD packet to send [06:41:16]OFD Sender: No OFD packet to send [06:41:21]OFD Sender: No OFD packet to send [06:41:26]OFD Sender: No OFD packet to send [06:41:31]OFD Sender: No OFD packet to send [06:41:36]OFD Sender: No OFD packet to send [06:41:41]OFD Sender: No OFD packet to send [06:41:46]OFD Sender: No OFD packet to send [06:41:51]OFD Sender: No OFD packet to send [06:41:56]OFD Sender: No OFD packet to send [06:42:01]OFD Sender: No OFD packet to send [06:42:06]OFD Sender: No OFD packet to send [06:42:11]OFD Sender: No OFD packet to send [06:42:16]OFD Sender: No OFD packet to send [06:42:21]OFD Sender: No OFD packet to send [06:42:26]OFD Sender: No OFD packet to send [06:42:31]OFD Sender: No OFD packet to send [06:42:36]OFD Sender: No OFD packet to send [06:42:41]OFD Sender: No OFD packet to send [06:42:46]OFD Sender: No OFD packet to send [06:42:51]OFD Sender: No OFD packet to send [06:42:56]OFD Sender: No OFD packet to send [06:43:01]OFD Sender: No OFD packet to send [06:43:06]OFD Sender: No OFD packet to send [06:43:11]OFD Sender: No OFD packet to send [06:43:16]OFD Sender: No OFD packet to send [06:43:21]OFD Sender: No OFD packet to send [06:43:26]OFD Sender: No OFD packet to send [06:43:31]OFD Sender: No OFD packet to send [06:43:36]OFD Sender: No OFD packet to send [06:43:41]OFD Sender: No OFD packet to send [06:43:46]OFD Sender: No OFD packet to send [06:43:51]OFD Sender: No OFD packet to send [06:43:56]OFD Sender: No OFD packet to send [06:44:01]OFD Sender: No OFD packet to send [06:44:06]OFD Sender: No OFD packet to send [06:44:11]OFD Sender: No OFD packet to send [06:44:16]OFD Sender: No OFD packet to send [06:44:21]OFD Sender: No OFD packet to send [06:44:21]recv_with_timeout no data received [06:44:26]OFD Sender: No OFD packet to send [06:44:31]OFD Sender: No OFD packet to send [06:44:36]OFD Sender: No OFD packet to send [06:44:41]OFD Sender: No OFD packet to send [06:44:46]OFD Sender: No OFD packet to send [06:44:51]OFD Sender: No OFD packet to send [06:44:56]OFD Sender: No OFD packet to send [06:45:01]OFD Sender: No OFD packet to send [06:45:06]OFD Sender: No OFD packet to send [06:45:11]OFD Sender: No OFD packet to send [06:45:16]OFD Sender: No OFD packet to send [06:45:21]OFD Sender: No OFD packet to send [06:45:26]OFD Sender: No OFD packet to send [06:45:31]OFD Sender: No OFD packet to send [06:45:36]OFD Sender: No OFD packet to send [06:45:41]OFD Sender: No OFD packet to send [06:45:46]OFD Sender: No OFD packet to send [06:45:51]OFD Sender: No OFD packet to send [06:45:56]OFD Sender: No OFD packet to send [06:46:01]OFD Sender: No OFD packet to send [06:46:06]OFD Sender: No OFD packet to send [06:46:11]OFD Sender: No OFD packet to send [06:46:16]OFD Sender: No OFD packet to send [06:46:21]OFD Sender: No OFD packet to send [06:46:26]accept exits with 9 [06:46:26]New connection [06:46:26]New thread 3067632996 created [06:46:26]Thread 3067489636 joined [06:46:26]Waiting for new connection... [06:46:26] Sock 9.Parse request [06:46:26]Sock 9.Check first char [06:46:26]Sock 9.First char is OK [06:46:26]request: POST /json_proto HTTP/1.0 [06:46:26]Method: POST [06:46:26]URL: /json_proto [06:46:26]Method is POST - this is cgi request [06:46:26]url: /json_proto [06:46:26]query_string will be loaded in cgi processing [06:46:26]execute_cgi json_proto POST (null) [06:46:26]execute_cgi path=json_proto method=POST [06:46:26]POST find Content-Length [06:46:26]Host: 172.17.47.195:8080 [06:46:26]Content-Length: 678 [06:46:26]Content-Type: application/json [06:46:26] [06:46:26]POST finish read [06:46:26]Found Content-Length = 678 [06:46:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872495", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 11.800, "sum" : 800.04, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 800.00, "total" : 800.00, "payments": [ { "type": 0, "sum" : 800.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:46:26]execute_script... [06:46:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872495", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 11.800, "sum" : 800.04, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 800.00, "total" : 800.00, "payments": [ { "type": 0, "sum" : 800.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:46:26]POST & json_proto [06:46:26]process_json_proto [06:46:26]json parsed OK: [06:46:26]protocol is kg_v1.0 [06:46:26]action value=close_receipt [06:46:26]process_action close_receipt [06:46:26]cmd_close_receipt [06:46:26]MH_GetDate [06:46:26]Write to MH i2c: F0 00 00 E4 01 D4 [06:46:26]Write i2c OK [06:46:26]MH_I2C_Read... [06:46:26]Read from MH i2c: F0 [06:46:26]MH_I2C_Read... [06:46:26]Read from MH i2c: F0 09 00 [06:46:26]MH_I2C_Read... [06:46:26]Read from MH i2c: F0 09 00 E4 01 00 43 60 F2 66 96 2E 95 66 97 [06:46:26]GetLastDocTimeStamp 1727159391 [06:46:26]current date 1727160387 [06:46:26]FM_GetShiftState [06:46:26]SAM_PROTO_GetShiftState [06:46:26]wFMCommunicate request_size=4 [06:46:26]MH_SAM_APDU [06:46:26]CAPDU: 80 13 01 00 [06:46:26]Write to MH i2c: E2 08 00 E5 01 80 13 01 00 00 00 00 00 63 [06:46:26]Write i2c OK [06:46:26]MH_I2C_Read... [06:46:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:46:26]Read from MH i2c: E2 [06:46:26]MH_I2C_Read... [06:46:26]Read from MH i2c: E2 0E 00 [06:46:26]MH_I2C_Read... [06:46:26]Read from MH i2c: E2 0E 00 E5 01 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 09 [06:46:26]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [06:46:26]wFMCommunicate OK [06:46:26]SAM_PROTO_GetShiftState done [06:46:26]FM_GetShiftState done [06:46:26]opened in 1727137340 [06:46:26]opened+sec_in_day 1727223740 [06:46:26]quantity*price = 80004 [06:46:26]sum+1 = 80005 [06:46:26]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.04 ИТОГО: 800.00 Внесено: 800.00 СДАЧА: 0.00 НСП 1% : 7.08 НДС 12% : 84.96 Наличными: 800.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 22 24.09.2024 06:46 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 ФМ: 0000000002094258 ФД: 7886 ФПД: 81311385089867 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T064627&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7886&fm=81311385089867&tin=02508201610067®Number=0000000000190446&sum=80000 [06:46:27]StoreToDocumentArchive [06:46:27]shift 72 fd 7886 [06:46:27]save to /storage/0072/doc_00007886 [06:46:27]save last doc name /storage/0072/doc_00007886 to /storage/kkm_last_doc_name [06:46:27]save OK [06:46:27]Clear old archive folders... [06:46:27]ProcessDocumentItem done err = 0, tmpTLVsize=251 [06:46:27]tlvbuf is 00FDD020 [06:46:27]SAM_PROTO_ClearQueue [06:46:27]wFMCommunicate request_size=4 [06:46:27]MH_SAM_APDU [06:46:27]CAPDU: 80 09 00 00 [06:46:27]Write to MH i2c: E2 08 00 F2 01 80 09 00 00 00 00 00 00 65 [06:46:27]Write i2c OK [06:46:27]MH_I2C_Read... [06:46:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:46:27]Read from MH i2c: E2 [06:46:27]MH_I2C_Read... [06:46:27]Read from MH i2c: E2 03 00 [06:46:27]MH_I2C_Read... [06:46:27]Read from MH i2c: E2 03 00 F2 01 00 90 00 67 [06:46:27]RAPDU: 90 00 [06:46:27]wFMCommunicate OK [06:46:27]SAM_PROTO_ClearQueue done [06:46:27]KKMCreateOFDPacket [06:46:27]OFDProtocolAddRootSTLVToBuf [06:46:27]FM_MakeSignedData [06:46:27]FM_MakeSignedData [06:46:27]SAM_PROTO_SignData [06:46:27]wFMCommunicate request_size=4 [06:46:27]MH_SAM_APDU [06:46:27]CAPDU: 80 0D 01 02 [06:46:27]Write to MH i2c: E2 08 00 F3 01 80 0D 01 02 00 00 00 00 6D [06:46:27]Write i2c OK [06:46:27]MH_I2C_Read... [06:46:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:46:27]Read from MH i2c: E2 [06:46:27]MH_I2C_Read... [06:46:27]Read from MH i2c: E2 03 00 [06:46:27]MH_I2C_Read... [06:46:27]Read from MH i2c: E2 03 00 F3 01 00 90 00 68 [06:46:27]RAPDU: 90 00 [06:46:27]wFMCommunicate OK [06:46:27]wFMCommunicate request_size=255 [06:46:27]MH_SAM_APDU [06:46:27]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 18 2E 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 84 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 30 21 00 00 00 00 07 04 06 00 80 38 01 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 43 60 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CE 1E 00 00 35 04 06 00 49 [06:46:27]Write to MH i2c: E2 02 01 F4 01 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 18 2E 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 84 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 30 21 00 00 00 00 07 04 06 00 80 38 01 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 43 60 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CE 1E 00 00 35 04 06 00 49 00 00 24 [06:46:27]Write i2c OK [06:46:27]MH_I2C_Read... [06:46:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:46:27]Read from MH i2c: E2 [06:46:27]MH_I2C_Read... [06:46:27]Read from MH i2c: E2 03 00 [06:46:27]MH_I2C_Read... [06:46:27]Read from MH i2c: E2 03 00 F4 01 00 90 00 69 [06:46:27]RAPDU: 90 00 [06:46:27]wFMCommunicate OK [06:46:27]wFMCommunicate request_size=10 [06:46:27]MH_SAM_APDU [06:46:27]CAPDU: 80 0D 02 02 05 F3 C8 39 77 4B [06:46:27]Write to MH i2c: E2 0D 00 F5 01 80 0D 02 02 05 00 F3 C8 39 77 4B 00 00 30 [06:46:27]Write i2c OK [06:46:27]MH_I2C_Read... [06:46:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:46:27]Read from MH i2c: E2 [06:46:27]MH_I2C_Read... [06:46:27]Read from MH i2c: E2 03 00 [06:46:27]MH_I2C_Read... [06:46:27]Read from MH i2c: E2 03 00 F5 01 00 90 00 6A [06:46:27]RAPDU: 90 00 [06:46:27]wFMCommunicate OK [06:46:27]wFMCommunicate request_size=4 [06:46:27]MH_SAM_APDU [06:46:27]CAPDU: 80 0D 03 02 [06:46:27]Write to MH i2c: E2 08 00 F6 01 80 0D 03 02 00 00 00 00 72 [06:46:27]Write i2c OK [06:46:27]MH_I2C_Read... [06:46:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:46:27]Read from MH i2c: E2 [06:46:27]MH_I2C_Read... [06:46:27]Read from MH i2c: E2 0B 00 [06:46:27]MH_I2C_Read... [06:46:27]Read from MH i2c: E2 0B 00 F6 01 00 5C 55 59 50 97 FE EB 79 90 00 C6 [06:46:27]RAPDU: 5C 55 59 50 97 FE EB 79 90 00 [06:46:27]wFMCommunicate OK [06:46:27]SAM_PROTO_SignData done [06:46:27]FM_MakeSignedData done [06:46:27]CreateOFDProtocolMessage [06:46:27]wFMCommunicate request_size=4 [06:46:27]MH_SAM_APDU [06:46:27]CAPDU: 80 11 00 00 [06:46:27]Write to MH i2c: E2 08 00 F7 01 80 11 00 00 00 00 00 00 72 [06:46:27]Write i2c OK [06:46:27]MH_I2C_Read... [06:46:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:46:27]Read from MH i2c: E2 [06:46:27]MH_I2C_Read... [06:46:27]Read from MH i2c: E2 17 00 [06:46:27]MH_I2C_Read... [06:46:27]Read from MH i2c: E2 17 00 F7 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 C3 [06:46:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [06:46:27]wFMCommunicate OK [06:46:27]CreateOFDProtocolMessage done [06:46:27]OFDSenderStorePacket 7886 [06:46:27]StoreOFDPacket docnum=7886 [06:46:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 9D 38 07 01 3E F7 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 18 2E 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 84 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 30 21 00 00 00 00 07 04 06 00 80 38 01 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 43 60 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CE 1E 00 00 35 04 06 00 49 F3 C8 39 77 4B 5C 55 59 50 97 FE EB 79 [06:46:27]CheckFolder [06:46:27]dirname=/storage/ofd_packets [06:46:27]CheckFolder done [06:46:27]ProducePacketName [06:46:27]name=ofd_packets/00007886 [06:46:27]NVStorageSaveData ofd_packets/00007886 [06:46:27]File name is /storage/ofd_packets/00007886 [06:46:27]Write 301 bytes [06:46:27]NVStorageSaveData done [06:46:27]OFDSenderStorePacket done [06:46:27]KKMCreateOFDPacket done [06:46:27]NVStorageSaveData kkm_last_timestamp [06:46:27]File name is /storage/kkm_last_timestamp [06:46:27]Write 4 bytes [06:46:27]NVStorageSaveData done [06:46:27]ExternCall_PrintAddStr [06:46:27]wPrintStart [06:46:27]Write to MH i2c: 01 00 00 F8 01 F9 [06:46:27]Write i2c OK [06:46:27]MH_I2C_Read... [06:46:27]Read from MH i2c: 01 [06:46:27]MH_I2C_Read... [06:46:27]Read from MH i2c: 01 07 00 [06:46:27]MH_I2C_Read... [06:46:27]Read from MH i2c: 01 07 00 F8 01 00 00 00 00 00 FF 0F 0E [06:46:27]RasterBufferAndPrint [06:46:27]line Счет N : (1)872495 [06:46:27]line ИНН: 02508201610067 [06:46:27]line Контрольно-Кассовый Чек [06:46:27]line ПРОДАЖА [06:46:27]line ТРК (МРК, ГНК) : 53 [06:46:27]line Товар: 2710124130 [06:46:27]line Аи-92-К-5 [06:46:27]line 11.800 * 67.80 [06:46:27]line = 800.04 [06:46:27]line НДС 12% НСП 1% [06:46:27]line > о реализуемом товаре [06:46:27]line ОКРУГЛЕНИЕ: -0.04 [06:46:27]line ИТОГО: 800.00 [06:46:27]line Внесено: 800.00 [06:46:27]line СДАЧА: 0.00 [06:46:27]line НСП 1% : 7.08 [06:46:27]line НДС 12% : 84.96 [06:46:27]line Наличными: 800.00 [06:46:27]line Безнал.: 0.00 [06:46:27]line Место: АЗС № 137 "Партнер Нефть" [06:46:27]line Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 [06:46:27]line СНО: Общий режим [06:46:27]line Чек 22 24.09.2024 06:46 [06:46:27]line Смена: 72 ФФД: 1.0 [06:46:27]line ЗНМ: 0300000041 [06:46:27]line РНМ: 0000000000190446 [06:46:27]line Версия ККМ: v1.0 [06:46:27]line ФМ: 0000000002094258 [06:46:27]line ФД: 7886 [06:46:27]line ФПД: 81311385089867 [06:46:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T064627&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7886&fm=81311385089867&tin=02508201610067®Number=0000000000190446&sum=80000 [06:46:27]OFD Sender: Processing packet 7886 [packets to send 51, broken 50] [06:46:27]ProducePacketName [06:46:27]name=ofd_packets/00007886 [06:46:27]OFD Sender: To server: pG, [06:46:27]CommunicateWithHost lk.salyk.kg:30040 [06:46:27]ConnectInit lk.salyk.kg [06:46:27]written 0, free lines is 4095 [06:46:28]Write to MH i2c: 01 00 00 23 02 25 [06:46:28]Write i2c OK [06:46:28]MH_I2C_Read... [06:46:28]Read from MH i2c: 01 [06:46:28]MH_I2C_Read... [06:46:28]Read from MH i2c: 01 07 00 [06:46:28]MH_I2C_Read... [06:46:28]Read from MH i2c: 01 07 00 23 02 00 00 00 00 00 F2 0C 2A [06:46:28]RasterBufferAndPrint [06:46:28]line [06:46:28]line [06:46:28]line [06:46:28]line [06:46:28]line [06:46:28]written 0, free lines is 3320 [06:46:28]MH_Cut [06:46:28]Write to MH i2c: D1 01 00 2A 02 01 FE [06:46:28]Write i2c OK [06:46:28]MH_I2C_Read... [06:46:28]Read from MH i2c: D1 [06:46:28]MH_I2C_Read... [06:46:28]Read from MH i2c: D1 01 00 [06:46:28]MH_I2C_Read... [06:46:28]Read from MH i2c: D1 01 00 2A 02 00 FD [06:46:28]Write to MH i2c: 01 00 00 2B 02 2D [06:46:28]Write i2c OK [06:46:28]MH_I2C_Read... [06:46:29]*** Cut start [06:46:29]*** Purtial cut [06:46:29]*** Stage 1: CUTSNS_PIN = 1 [06:46:29]Read from MH i2c: 01 [06:46:29]MH_I2C_Read... [06:46:29]*** Stop cut motor [06:46:29]*** Cut end [06:46:29]Read from MH i2c: 01 07 00 [06:46:29]MH_I2C_Read... [06:46:29]Read from MH i2c: 01 07 00 2B 02 00 00 00 00 00 FF 0F 42 [06:46:29]process_action close_receipt done [06:46:29]requested_data is exist [06:46:29]produce_requested_data [06:46:29]requested_item fm.sn is exist - process it [06:46:29]wFMCommunicate request_size=4 [06:46:29]MH_SAM_APDU [06:46:29]CAPDU: 80 11 00 00 [06:46:29]Write to MH i2c: E2 08 00 2C 02 80 11 00 00 00 00 00 00 A8 [06:46:29]Write i2c OK [06:46:29]MH_I2C_Read... [06:46:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:46:29]Read from MH i2c: E2 [06:46:29]MH_I2C_Read... [06:46:29]Read from MH i2c: E2 17 00 [06:46:29]MH_I2C_Read... [06:46:29]Read from MH i2c: E2 17 00 2C 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 F9 [06:46:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [06:46:29]wFMCommunicate OK [06:46:29]requested_item fd.num is exist - process it [06:46:29]SAM_PROTO_GetFieldsCounters [06:46:29]wFMCommunicate request_size=4 [06:46:29]MH_SAM_APDU [06:46:29]CAPDU: 80 13 00 00 [06:46:29]Write to MH i2c: E2 08 00 2D 02 80 13 00 00 00 00 00 00 AB [06:46:29]Write i2c OK [06:46:29]MH_I2C_Read... [06:46:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:46:29]Read from MH i2c: E2 [06:46:29]MH_I2C_Read... [06:46:29]Read from MH i2c: E2 62 00 [06:46:29]MH_I2C_Read... [06:46:29]Read from MH i2c: E2 62 00 2D 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 CE 1E 00 00 0E 04 04 00 48 00 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 3F [06:46:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 CE 1E 00 00 0E 04 04 00 48 00 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 [06:46:29]wFMCommunicate OK [06:46:29]SAM_PROTO_GetFieldsCounters done [06:46:29]requested_item shift.num is exist - process it [06:46:29]requested_item shift.opened is exist - process it [06:46:29]req_shift_opened [06:46:29]FM_GetShiftState [06:46:29]SAM_PROTO_GetShiftState [06:46:29]wFMCommunicate request_size=4 [06:46:29]MH_SAM_APDU [06:46:29]CAPDU: 80 13 01 00 [06:46:29]Write to MH i2c: E2 08 00 2E 02 80 13 01 00 00 00 00 00 AD [06:46:29]Write i2c OK [06:46:29]MH_I2C_Read... [06:46:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:46:29]Read from MH i2c: E2 [06:46:29]MH_I2C_Read... [06:46:29]Read from MH i2c: E2 0E 00 [06:46:29]MH_I2C_Read... [06:46:29]Read from MH i2c: E2 0E 00 2E 02 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 53 [06:46:29]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [06:46:29]wFMCommunicate OK [06:46:29]SAM_PROTO_GetShiftState done [06:46:29]FM_GetShiftState done [06:46:29]req_shift_opened done [06:46:29]requested_item shift.open_date is exist - process it [06:46:29]req_shift_open_date [06:46:29]req_shift_open_date done [06:46:29]produce_requested_data done [06:46:29]produce_requested_data return {"fm.sn":"0000000002094258","fd.num":7886,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [06:46:29]process_action_free close_receipt [06:46:29]json_value_free [06:46:29]json_value_free done [06:46:29]process_json_proto returns [06:46:29]Send response to host [06:46:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002094258","fd.num":7886,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [06:46:29]free response buf [06:46:29]execute_script done [06:46:29]execute_script returns [06:46:29]free content buf [06:46:29]Sock 9.Close socket [06:46:29]Sock 9.Thread stoped [06:46:30]Connected sock=10 [06:46:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 9D 38 07 01 3E F7 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 18 2E 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 84 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 30 21 00 00 00 00 07 04 06 00 80 38 01 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 43 60 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CE 1E 00 00 35 04 06 00 49 F3 C8 39 77 4B 5C 55 59 50 97 FE EB 79 [06:46:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 B6 46 47 00 26 A5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CE 1E 00 00 F4 03 04 00 00 0B F2 66 B6 04 01 00 00 13 9D DA F2 DB B4 10 EA [06:46:32]CommunicateWithHost err = 0 [06:46:32]CheckOFDResponse [06:46:32]1017 (14) - 77093643461234 [06:46:32]1041 (16) - 0000000002094258 [06:46:32]1040 (4) - 7886 [06:46:32]1012 (4) - 24.09.2024 00:42 [06:46:32]1206 (1) - 0 [06:46:32]OFD Sender: Remove packet 7886 [06:46:32]ProducePacketName [06:46:32]name=ofd_packets/00007886 [06:46:32]NVStorageDeleteData [06:46:32]OFD Sender: No OFD packet to send [06:46:37]OFD Sender: No OFD packet to send [06:46:42]OFD Sender: No OFD packet to send [06:46:43]recv_with_timeout no data received [06:46:47]OFD Sender: No OFD packet to send [06:46:52]OFD Sender: No OFD packet to send [06:46:57]OFD Sender: No OFD packet to send [06:47:02]OFD Sender: No OFD packet to send [06:47:07]OFD Sender: No OFD packet to send [06:47:12]OFD Sender: No OFD packet to send [06:47:17]OFD Sender: No OFD packet to send [06:47:22]OFD Sender: No OFD packet to send [06:47:27]OFD Sender: No OFD packet to send [06:47:32]OFD Sender: No OFD packet to send [06:47:38]OFD Sender: No OFD packet to send [06:47:43]OFD Sender: No OFD packet to send [06:47:48]OFD Sender: No OFD packet to send [06:47:53]OFD Sender: No OFD packet to send [06:47:58]OFD Sender: No OFD packet to send [06:48:03]OFD Sender: No OFD packet to send [06:48:08]OFD Sender: No OFD packet to send [06:48:08]accept exits with 7 [06:48:08]New connection [06:48:08]New thread 3067489636 created [06:48:08]Thread 3067632996 joined [06:48:08]Waiting for new connection... [06:48:08] Sock 7.Parse request [06:48:08]Sock 7.Check first char [06:48:08]Sock 7.First char is OK [06:48:08]request: POST /json_proto HTTP/1.0 [06:48:08]Method: POST [06:48:08]URL: /json_proto [06:48:08]Method is POST - this is cgi request [06:48:08]url: /json_proto [06:48:08]query_string will be loaded in cgi processing [06:48:08]execute_cgi json_proto POST (null) [06:48:08]execute_cgi path=json_proto method=POST [06:48:08]POST find Content-Length [06:48:08]Host: 172.17.47.195:8080 [06:48:08]Content-Length: 687 [06:48:08]Content-Type: application/json [06:48:08] [06:48:08]POST finish read [06:48:08]Found Content-Length = 687 [06:48:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872497", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 34", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 76.20, "quantity" : 13.130, "sum" : 1000.51, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:48:08]execute_script... [06:48:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872497", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 34", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 76.20, "quantity" : 13.130, "sum" : 1000.51, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:48:08]POST & json_proto [06:48:08]process_json_proto [06:48:08]json parsed OK: [06:48:08]protocol is kg_v1.0 [06:48:08]action value=close_receipt [06:48:08]process_action close_receipt [06:48:08]cmd_close_receipt [06:48:08]MH_GetDate [06:48:08]Write to MH i2c: F0 00 00 2F 02 20 [06:48:08]Write i2c OK [06:48:08]MH_I2C_Read... [06:48:08]Read from MH i2c: F0 [06:48:08]MH_I2C_Read... [06:48:08]Read from MH i2c: F0 09 00 [06:48:08]MH_I2C_Read... [06:48:08]Read from MH i2c: F0 09 00 2F 02 00 AA 60 F2 66 96 2E 95 66 4A [06:48:08]GetLastDocTimeStamp 1727160387 [06:48:08]current date 1727160490 [06:48:08]FM_GetShiftState [06:48:08]SAM_PROTO_GetShiftState [06:48:08]wFMCommunicate request_size=4 [06:48:08]MH_SAM_APDU [06:48:08]CAPDU: 80 13 01 00 [06:48:08]Write to MH i2c: E2 08 00 30 02 80 13 01 00 00 00 00 00 AF [06:48:08]Write i2c OK [06:48:08]MH_I2C_Read... [06:48:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:48:08]Read from MH i2c: E2 [06:48:08]MH_I2C_Read... [06:48:08]Read from MH i2c: E2 0E 00 [06:48:08]MH_I2C_Read... [06:48:08]Read from MH i2c: E2 0E 00 30 02 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 55 [06:48:08]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [06:48:08]wFMCommunicate OK [06:48:08]SAM_PROTO_GetShiftState done [06:48:08]FM_GetShiftState done [06:48:08]opened in 1727137340 [06:48:08]opened+sec_in_day 1727223740 [06:48:08]quantity*price = 100050 [06:48:08]sum+1 = 100052 [06:48:08]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.51 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.25 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 23 24.09.2024 06:48 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 ФМ: 0000000002094258 ФД: 7887 ФПД: 176703256399654 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T064810&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7887&fm=176703256399654&tin=02508201610067®Number=0000000000190446&sum=100000 [06:48:10]StoreToDocumentArchive [06:48:10]shift 72 fd 7887 [06:48:10]save to /storage/0072/doc_00007887 [06:48:10]save last doc name /storage/0072/doc_00007887 to /storage/kkm_last_doc_name [06:48:10]save OK [06:48:10]Clear old archive folders... [06:48:10]ProcessDocumentItem done err = 0, tmpTLVsize=252 [06:48:10]tlvbuf is 0105BD60 [06:48:10]SAM_PROTO_ClearQueue [06:48:10]wFMCommunicate request_size=4 [06:48:10]MH_SAM_APDU [06:48:10]CAPDU: 80 09 00 00 [06:48:10]Write to MH i2c: E2 08 00 3D 02 80 09 00 00 00 00 00 00 B1 [06:48:10]Write i2c OK [06:48:10]MH_I2C_Read... [06:48:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:48:10]Read from MH i2c: E2 [06:48:10]MH_I2C_Read... [06:48:10]Read from MH i2c: E2 03 00 [06:48:10]MH_I2C_Read... [06:48:10]Read from MH i2c: E2 03 00 3D 02 00 90 00 B3 [06:48:10]RAPDU: 90 00 [06:48:10]wFMCommunicate OK [06:48:10]SAM_PROTO_ClearQueue done [06:48:10]KKMCreateOFDPacket [06:48:10]OFDProtocolAddRootSTLVToBuf [06:48:10]FM_MakeSignedData [06:48:10]FM_MakeSignedData [06:48:10]SAM_PROTO_SignData [06:48:10]wFMCommunicate request_size=4 [06:48:10]MH_SAM_APDU [06:48:10]CAPDU: 80 0D 01 02 [06:48:10]Write to MH i2c: E2 08 00 3E 02 80 0D 01 02 00 00 00 00 B9 [06:48:10]Write i2c OK [06:48:10]MH_I2C_Read... [06:48:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:48:10]Read from MH i2c: E2 [06:48:10]MH_I2C_Read... [06:48:10]Read from MH i2c: E2 03 00 [06:48:10]MH_I2C_Read... [06:48:10]Read from MH i2c: E2 03 00 3E 02 00 90 00 B4 [06:48:10]RAPDU: 90 00 [06:48:10]wFMCommunicate OK [06:48:10]wFMCommunicate request_size=255 [06:48:10]MH_SAM_APDU [06:48:10]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 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 AA 60 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CF 1E 00 00 35 04 06 00 [06:48:10]Write to MH i2c: E2 02 01 3F 02 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 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 AA 60 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CF 1E 00 00 35 04 06 00 00 00 D0 [06:48:10]Write i2c OK [06:48:10]MH_I2C_Read... [06:48:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:48:10]Read from MH i2c: E2 [06:48:10]MH_I2C_Read... [06:48:10]Read from MH i2c: E2 03 00 [06:48:10]MH_I2C_Read... [06:48:10]Read from MH i2c: E2 03 00 3F 02 00 90 00 B5 [06:48:10]RAPDU: 90 00 [06:48:10]wFMCommunicate OK [06:48:10]wFMCommunicate request_size=11 [06:48:10]MH_SAM_APDU [06:48:10]CAPDU: 80 0D 02 02 06 A0 B5 EE D4 0F 26 [06:48:10]Write to MH i2c: E2 0E 00 40 02 80 0D 02 02 06 00 A0 B5 EE D4 0F 26 00 00 14 [06:48:10]Write i2c OK [06:48:10]MH_I2C_Read... [06:48:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:48:10]Read from MH i2c: E2 [06:48:10]MH_I2C_Read... [06:48:10]Read from MH i2c: E2 03 00 [06:48:10]MH_I2C_Read... [06:48:10]Read from MH i2c: E2 03 00 40 02 00 90 00 B6 [06:48:10]RAPDU: 90 00 [06:48:10]wFMCommunicate OK [06:48:10]wFMCommunicate request_size=4 [06:48:10]MH_SAM_APDU [06:48:10]CAPDU: 80 0D 03 02 [06:48:10]Write to MH i2c: E2 08 00 41 02 80 0D 03 02 00 00 00 00 BE [06:48:10]Write i2c OK [06:48:10]MH_I2C_Read... [06:48:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:48:10]Read from MH i2c: E2 [06:48:10]MH_I2C_Read... [06:48:10]Read from MH i2c: E2 0B 00 [06:48:10]MH_I2C_Read... [06:48:10]Read from MH i2c: E2 0B 00 41 02 00 DF 2C 6C 4C 47 AB FE EC 90 00 5E [06:48:10]RAPDU: DF 2C 6C 4C 47 AB FE EC 90 00 [06:48:10]wFMCommunicate OK [06:48:10]SAM_PROTO_SignData done [06:48:10]FM_MakeSignedData done [06:48:10]CreateOFDProtocolMessage [06:48:10]wFMCommunicate request_size=4 [06:48:10]MH_SAM_APDU [06:48:10]CAPDU: 80 11 00 00 [06:48:10]Write to MH i2c: E2 08 00 42 02 80 11 00 00 00 00 00 00 BE [06:48:10]Write i2c OK [06:48:10]MH_I2C_Read... [06:48:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:48:10]Read from MH i2c: E2 [06:48:10]MH_I2C_Read... [06:48:10]Read from MH i2c: E2 17 00 [06:48:10]MH_I2C_Read... [06:48:10]Read from MH i2c: E2 17 00 42 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 0F [06:48:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [06:48:10]wFMCommunicate OK [06:48:10]CreateOFDProtocolMessage done [06:48:10]OFDSenderStorePacket 7887 [06:48:10]StoreOFDPacket docnum=7887 [06:48:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 01 00 00 78 64 08 01 85 A9 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 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 AA 60 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CF 1E 00 00 35 04 06 00 A0 B5 EE D4 0F 26 DF 2C 6C 4C 47 AB FE EC [06:48:10]CheckFolder [06:48:10]dirname=/storage/ofd_packets [06:48:10]CheckFolder done [06:48:10]ProducePacketName [06:48:10]name=ofd_packets/00007887 [06:48:10]NVStorageSaveData ofd_packets/00007887 [06:48:10]File name is /storage/ofd_packets/00007887 [06:48:10]Write 302 bytes [06:48:10]NVStorageSaveData done [06:48:10]OFDSenderStorePacket done [06:48:10]KKMCreateOFDPacket done [06:48:10]NVStorageSaveData kkm_last_timestamp [06:48:10]File name is /storage/kkm_last_timestamp [06:48:10]Write 4 bytes [06:48:10]NVStorageSaveData done [06:48:10]ExternCall_PrintAddStr [06:48:10]wPrintStart [06:48:10]Write to MH i2c: 01 00 00 43 02 45 [06:48:10]Write i2c OK [06:48:10]MH_I2C_Read... [06:48:10]Read from MH i2c: 01 [06:48:10]MH_I2C_Read... [06:48:10]Read from MH i2c: 01 07 00 [06:48:10]MH_I2C_Read... [06:48:10]Read from MH i2c: 01 07 00 43 02 00 00 00 00 00 FF 0F 5A [06:48:10]RasterBufferAndPrint [06:48:10]line Счет N : (1)872497 [06:48:10]line ИНН: 02508201610067 [06:48:10]line Контрольно-Кассовый Чек [06:48:10]line ПРОДАЖА [06:48:10]line ТРК (МРК, ГНК) : 34 [06:48:10]line Товар: 2710194210 [06:48:10]line ДТ(л)-К-4 [06:48:10]line 13.130 * 76.20 [06:48:10]line = 1000.51 [06:48:10]line НДС 12% НСП 1% [06:48:10]line > о реализуемом товаре [06:48:10]line ОКРУГЛЕНИЕ: -0.51 [06:48:10]line ИТОГО: 1000.00 [06:48:10]line Внесено: 1000.00 [06:48:10]line СДАЧА: 0.00 [06:48:10]line НСП 1% : 8.85 [06:48:10]line НДС 12% : 106.25 [06:48:10]line Наличными: 1000.00 [06:48:10]line Безнал.: 0.00 [06:48:10]line Место: АЗС № 137 "Партнер Нефть" [06:48:10]line Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 [06:48:10]line СНО: Общий режим [06:48:10]line Чек 23 24.09.2024 06:48 [06:48:10]line Смена: 72 ФФД: 1.0 [06:48:10]line ЗНМ: 0300000041 [06:48:10]line РНМ: 0000000000190446 [06:48:10]line Версия ККМ: v1.0 [06:48:10]line ФМ: 0000000002094258 [06:48:10]line ФД: 7887 [06:48:10]line ФПД: 176703256399654 [06:48:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T064810&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7887&fm=176703256399654&tin=02508201610067®Number=0000000000190446&sum=100000 [06:48:10]OFD Sender: Processing packet 7887 [packets to send 51, broken 50] [06:48:10]ProducePacketName [06:48:10]name=ofd_packets/00007887 [06:48:10]OFD Sender: To server: pG, [06:48:10]CommunicateWithHost lk.salyk.kg:30040 [06:48:10]ConnectInit lk.salyk.kg [06:48:10]written 0, free lines is 4095 [06:48:11]Write to MH i2c: 01 00 00 6E 02 70 [06:48:11]Write i2c OK [06:48:11]MH_I2C_Read... [06:48:11]Read from MH i2c: 01 [06:48:11]MH_I2C_Read... [06:48:11]Read from MH i2c: 01 07 00 [06:48:11]MH_I2C_Read... [06:48:11]Read from MH i2c: 01 07 00 6E 02 00 00 00 00 00 F8 0C 7B [06:48:11]RasterBufferAndPrint [06:48:11]line [06:48:11]line [06:48:11]line [06:48:11]line [06:48:11]line [06:48:11]written 0, free lines is 3326 [06:48:11]MH_Cut [06:48:11]Write to MH i2c: D1 01 00 75 02 01 49 [06:48:11]Write i2c OK [06:48:11]MH_I2C_Read... [06:48:11]Read from MH i2c: D1 [06:48:11]MH_I2C_Read... [06:48:11]Read from MH i2c: D1 01 00 [06:48:11]MH_I2C_Read... [06:48:11]Read from MH i2c: D1 01 00 75 02 00 48 [06:48:11]Write to MH i2c: 01 00 00 76 02 78 [06:48:11]Write i2c OK [06:48:11]MH_I2C_Read... [06:48:11]Connected sock=11 [06:48:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 01 00 00 78 64 08 01 85 A9 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 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 AA 60 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CF 1E 00 00 35 04 06 00 A0 B5 EE D4 0F 26 DF 2C 6C 4C 47 AB FE EC [06:48:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 F5 ED 47 00 18 4C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 CF 1E 00 00 F4 03 04 00 63 0B F2 66 B6 04 01 00 00 75 6A 77 EC B7 3F 95 1F [06:48:11]CommunicateWithHost err = 0 [06:48:11]CheckOFDResponse [06:48:11]1017 (14) - 77093643461234 [06:48:11]1041 (16) - 0000000002094258 [06:48:11]1040 (4) - 7887 [06:48:11]1012 (4) - 24.09.2024 00:44 [06:48:11]1206 (1) - 0 [06:48:11]OFD Sender: Remove packet 7887 [06:48:11]ProducePacketName [06:48:11]name=ofd_packets/00007887 [06:48:11]NVStorageDeleteData [06:48:12]*** Cut start [06:48:12]*** Purtial cut [06:48:12]*** Stage 1: CUTSNS_PIN = 1 [06:48:12]Read from MH i2c: 01 [06:48:12]MH_I2C_Read... [06:48:12]*** Stop cut motor [06:48:12]*** Cut end [06:48:12]Read from MH i2c: 01 07 00 [06:48:12]MH_I2C_Read... [06:48:12]Read from MH i2c: 01 07 00 76 02 00 00 00 00 00 FF 0F 8D [06:48:12]process_action close_receipt done [06:48:12]requested_data is exist [06:48:12]produce_requested_data [06:48:12]requested_item fm.sn is exist - process it [06:48:12]wFMCommunicate request_size=4 [06:48:12]MH_SAM_APDU [06:48:12]CAPDU: 80 11 00 00 [06:48:12]Write to MH i2c: E2 08 00 77 02 80 11 00 00 00 00 00 00 F3 [06:48:12]Write i2c OK [06:48:12]MH_I2C_Read... [06:48:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:48:12]Read from MH i2c: E2 [06:48:12]MH_I2C_Read... [06:48:12]Read from MH i2c: E2 17 00 [06:48:12]MH_I2C_Read... [06:48:12]Read from MH i2c: E2 17 00 77 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 44 [06:48:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [06:48:12]wFMCommunicate OK [06:48:12]requested_item fd.num is exist - process it [06:48:12]SAM_PROTO_GetFieldsCounters [06:48:12]wFMCommunicate request_size=4 [06:48:12]MH_SAM_APDU [06:48:12]CAPDU: 80 13 00 00 [06:48:12]Write to MH i2c: E2 08 00 78 02 80 13 00 00 00 00 00 00 F6 [06:48:12]Write i2c OK [06:48:12]MH_I2C_Read... [06:48:12]OFD Sender: No OFD packet to send [06:48:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:48:12]Read from MH i2c: E2 [06:48:12]MH_I2C_Read... [06:48:12]Read from MH i2c: E2 62 00 [06:48:12]MH_I2C_Read... [06:48:12]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 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 CF 1E 00 00 0E 04 04 00 48 00 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 8E [06:48:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 CF 1E 00 00 0E 04 04 00 48 00 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 [06:48:12]wFMCommunicate OK [06:48:12]SAM_PROTO_GetFieldsCounters done [06:48:12]requested_item shift.num is exist - process it [06:48:12]requested_item shift.opened is exist - process it [06:48:12]req_shift_opened [06:48:12]FM_GetShiftState [06:48:12]SAM_PROTO_GetShiftState [06:48:12]wFMCommunicate request_size=4 [06:48:12]MH_SAM_APDU [06:48:12]CAPDU: 80 13 01 00 [06:48:12]Write to MH i2c: E2 08 00 79 02 80 13 01 00 00 00 00 00 F8 [06:48:12]Write i2c OK [06:48:12]MH_I2C_Read... [06:48:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:48:12]Read from MH i2c: E2 [06:48:12]MH_I2C_Read... [06:48:12]Read from MH i2c: E2 0E 00 [06:48:12]MH_I2C_Read... [06:48:12]Read from MH i2c: E2 0E 00 79 02 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 9E [06:48:12]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [06:48:12]wFMCommunicate OK [06:48:12]SAM_PROTO_GetShiftState done [06:48:12]FM_GetShiftState done [06:48:12]req_shift_opened done [06:48:12]requested_item shift.open_date is exist - process it [06:48:12]req_shift_open_date [06:48:12]req_shift_open_date done [06:48:12]produce_requested_data done [06:48:12]produce_requested_data return {"fm.sn":"0000000002094258","fd.num":7887,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [06:48:12]process_action_free close_receipt [06:48:12]json_value_free [06:48:12]json_value_free done [06:48:12]process_json_proto returns [06:48:12]Send response to host [06:48:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002094258","fd.num":7887,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [06:48:12]free response buf [06:48:12]execute_script done [06:48:12]execute_script returns [06:48:12]free content buf [06:48:12]Sock 7.Close socket [06:48:12]Sock 7.Thread stoped [06:48:17]OFD Sender: No OFD packet to send [06:48:22]OFD Sender: No OFD packet to send [06:48:27]OFD Sender: No OFD packet to send [06:48:32]OFD Sender: No OFD packet to send [06:48:37]OFD Sender: No OFD packet to send [06:48:42]OFD Sender: No OFD packet to send [06:48:47]OFD Sender: No OFD packet to send [06:48:52]OFD Sender: No OFD packet to send [06:48:57]OFD Sender: No OFD packet to send [06:49:02]OFD Sender: No OFD packet to send [06:49:07]OFD Sender: No OFD packet to send [06:49:12]OFD Sender: No OFD packet to send [06:49:17]OFD Sender: No OFD packet to send [06:49:22]OFD Sender: No OFD packet to send [06:49:27]OFD Sender: No OFD packet to send [06:49:32]OFD Sender: No OFD packet to send [06:49:36]recv_with_timeout no data received [06:49:37]OFD Sender: No OFD packet to send [06:49:42]OFD Sender: No OFD packet to send [06:49:47]OFD Sender: No OFD packet to send [06:49:52]OFD Sender: No OFD packet to send [06:49:57]OFD Sender: No OFD packet to send [06:50:02]OFD Sender: No OFD packet to send [06:50:07]OFD Sender: No OFD packet to send [06:50:12]OFD Sender: No OFD packet to send [06:50:16]recv_with_timeout no data received [06:50:17]OFD Sender: No OFD packet to send [06:50:22]OFD Sender: No OFD packet to send [06:50:27]OFD Sender: No OFD packet to send [06:50:32]OFD Sender: No OFD packet to send [06:50:37]OFD Sender: No OFD packet to send [06:50:42]OFD Sender: No OFD packet to send [06:50:47]OFD Sender: No OFD packet to send [06:50:52]OFD Sender: No OFD packet to send [06:50:57]OFD Sender: No OFD packet to send [06:51:02]OFD Sender: No OFD packet to send [06:51:07]OFD Sender: No OFD packet to send [06:51:12]OFD Sender: No OFD packet to send [06:51:17]OFD Sender: No OFD packet to send [06:51:22]OFD Sender: No OFD packet to send [06:51:27]OFD Sender: No OFD packet to send [06:51:32]OFD Sender: No OFD packet to send [06:51:37]OFD Sender: No OFD packet to send [06:51:42]OFD Sender: No OFD packet to send [06:51:47]OFD Sender: No OFD packet to send [06:51:52]OFD Sender: No OFD packet to send [06:51:57]OFD Sender: No OFD packet to send [06:52:02]OFD Sender: No OFD packet to send [06:52:07]OFD Sender: No OFD packet to send [06:52:12]OFD Sender: No OFD packet to send [06:52:17]OFD Sender: No OFD packet to send [06:52:22]OFD Sender: No OFD packet to send [06:52:27]OFD Sender: No OFD packet to send [06:52:32]OFD Sender: No OFD packet to send [06:52:37]OFD Sender: No OFD packet to send [06:52:42]OFD Sender: No OFD packet to send [06:52:47]OFD Sender: No OFD packet to send [06:52:52]OFD Sender: No OFD packet to send [06:52:57]OFD Sender: No OFD packet to send [06:53:02]OFD Sender: No OFD packet to send [06:53:07]OFD Sender: No OFD packet to send [06:53:12]OFD Sender: No OFD packet to send [06:53:17]OFD Sender: No OFD packet to send [06:53:21]accept exits with 10 [06:53:21]New connection [06:53:21]New thread 3067632996 created [06:53:21]Thread 3067489636 joined [06:53:21]Waiting for new connection... [06:53:21] Sock 10.Parse request [06:53:21]Sock 10.Check first char [06:53:21]Sock 10.First char is OK [06:53:21]request: POST /json_proto HTTP/1.0 [06:53:21]Method: POST [06:53:21]URL: /json_proto [06:53:21]Method is POST - this is cgi request [06:53:21]url: /json_proto [06:53:21]query_string will be loaded in cgi processing [06:53:21]execute_cgi json_proto POST (null) [06:53:21]execute_cgi path=json_proto method=POST [06:53:21]POST find Content-Length [06:53:21]Host: 172.17.47.195:8080 [06:53:21]Content-Length: 677 [06:53:21]Content-Type: application/json [06:53:21] [06:53:21]POST finish read [06:53:21]Found Content-Length = 677 [06:53:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872498", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 7.380, "sum" : 500.36, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:53:21]execute_script... [06:53: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 : (1)872498", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 7.380, "sum" : 500.36, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:53:21]POST & json_proto [06:53:21]process_json_proto [06:53:21]json parsed OK: [06:53:21]protocol is kg_v1.0 [06:53:21]action value=close_receipt [06:53:21]process_action close_receipt [06:53:21]cmd_close_receipt [06:53:21]MH_GetDate [06:53:21]Write to MH i2c: F0 00 00 7A 02 6B [06:53:21]Write i2c OK [06:53:21]MH_I2C_Read... [06:53:21]Read from MH i2c: F0 [06:53:21]MH_I2C_Read... [06:53:21]Read from MH i2c: F0 09 00 [06:53:21]MH_I2C_Read... [06:53:21]Read from MH i2c: F0 09 00 7A 02 00 E3 61 F2 66 96 2E 95 66 CF [06:53:21]GetLastDocTimeStamp 1727160490 [06:53:21]current date 1727160803 [06:53:21]FM_GetShiftState [06:53:21]SAM_PROTO_GetShiftState [06:53:21]wFMCommunicate request_size=4 [06:53:21]MH_SAM_APDU [06:53:21]CAPDU: 80 13 01 00 [06:53:21]Write to MH i2c: E2 08 00 7B 02 80 13 01 00 00 00 00 00 FA [06:53:21]Write i2c OK [06:53:21]MH_I2C_Read... [06:53:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:53:21]Read from MH i2c: E2 [06:53:21]MH_I2C_Read... [06:53:21]Read from MH i2c: E2 0E 00 [06:53:21]MH_I2C_Read... [06:53:21]Read from MH i2c: E2 0E 00 7B 02 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 A0 [06:53:21]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [06:53:21]wFMCommunicate OK [06:53:21]SAM_PROTO_GetShiftState done [06:53:21]FM_GetShiftState done [06:53:21]opened in 1727137340 [06:53:21]opened+sec_in_day 1727223740 [06:53:21]quantity*price = 50036 [06:53:21]sum+1 = 50037 [06:53:21]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.36 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.14 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 24 24.09.2024 06:53 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 ФМ: 0000000002094258 ФД: 7888 ФПД: 30709401670506 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T065323&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7888&fm=30709401670506&tin=02508201610067®Number=0000000000190446&sum=50000 [06:53:22]StoreToDocumentArchive [06:53:22]shift 72 fd 7888 [06:53:22]save to /storage/0072/doc_00007888 [06:53:22]save last doc name /storage/0072/doc_00007888 to /storage/kkm_last_doc_name [06:53:22]save OK [06:53:22]Clear old archive folders... [06:53:22]ProcessDocumentItem done err = 0, tmpTLVsize=251 [06:53:22]tlvbuf is 00FDD0E0 [06:53:22]SAM_PROTO_ClearQueue [06:53:22]wFMCommunicate request_size=4 [06:53:22]MH_SAM_APDU [06:53:22]CAPDU: 80 09 00 00 [06:53:22]Write to MH i2c: E2 08 00 88 02 80 09 00 00 00 00 00 00 FC [06:53:22]Write i2c OK [06:53:22]MH_I2C_Read... [06:53:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:53:22]Read from MH i2c: E2 [06:53:22]MH_I2C_Read... [06:53:22]Read from MH i2c: E2 03 00 [06:53:22]MH_I2C_Read... [06:53:22]Read from MH i2c: E2 03 00 88 02 00 90 00 FE [06:53:22]RAPDU: 90 00 [06:53:22]wFMCommunicate OK [06:53:22]SAM_PROTO_ClearQueue done [06:53:22]KKMCreateOFDPacket [06:53:22]OFDProtocolAddRootSTLVToBuf [06:53:22]FM_MakeSignedData [06:53:22]FM_MakeSignedData [06:53:22]SAM_PROTO_SignData [06:53:22]wFMCommunicate request_size=4 [06:53:22]MH_SAM_APDU [06:53:22]CAPDU: 80 0D 01 02 [06:53:22]Write to MH i2c: E2 08 00 89 02 80 0D 01 02 00 00 00 00 04 [06:53:22]Write i2c OK [06:53:22]MH_I2C_Read... [06:53:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:53:22]Read from MH i2c: E2 [06:53:22]MH_I2C_Read... [06:53:22]Read from MH i2c: E2 03 00 [06:53:22]MH_I2C_Read... [06:53:22]Read from MH i2c: E2 03 00 89 02 00 90 00 FF [06:53:22]RAPDU: 90 00 [06:53:22]wFMCommunicate OK [06:53:22]wFMCommunicate request_size=255 [06:53:22]MH_SAM_APDU [06:53:22]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 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 E3 61 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D0 1E 00 00 35 04 06 00 1B [06:53:22]Write to MH i2c: E2 02 01 8A 02 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 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 E3 61 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D0 1E 00 00 35 04 06 00 1B 00 00 85 [06:53:22]Write i2c OK [06:53:22]MH_I2C_Read... [06:53:22]OFD Sender: No OFD packet to send [06:53:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:53:22]Read from MH i2c: E2 [06:53:22]MH_I2C_Read... [06:53:22]Read from MH i2c: E2 03 00 [06:53:22]MH_I2C_Read... [06:53:22]Read from MH i2c: E2 03 00 8A 02 00 90 00 00 [06:53:22]RAPDU: 90 00 [06:53:22]wFMCommunicate OK [06:53:22]wFMCommunicate request_size=10 [06:53:22]MH_SAM_APDU [06:53:22]CAPDU: 80 0D 02 02 05 EE 16 FA 53 6A [06:53:22]Write to MH i2c: E2 0D 00 8B 02 80 0D 02 02 05 00 EE 16 FA 53 6A 00 00 CC [06:53:22]Write i2c OK [06:53:22]MH_I2C_Read... [06:53:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:53:23]Read from MH i2c: E2 [06:53:23]MH_I2C_Read... [06:53:23]Read from MH i2c: E2 03 00 [06:53:23]MH_I2C_Read... [06:53:23]Read from MH i2c: E2 03 00 8B 02 00 90 00 01 [06:53:23]RAPDU: 90 00 [06:53:23]wFMCommunicate OK [06:53:23]wFMCommunicate request_size=4 [06:53:23]MH_SAM_APDU [06:53:23]CAPDU: 80 0D 03 02 [06:53:23]Write to MH i2c: E2 08 00 8C 02 80 0D 03 02 00 00 00 00 09 [06:53:23]Write i2c OK [06:53:23]MH_I2C_Read... [06:53:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:53:23]Read from MH i2c: E2 [06:53:23]MH_I2C_Read... [06:53:23]Read from MH i2c: E2 0B 00 [06:53:23]MH_I2C_Read... [06:53:23]Read from MH i2c: E2 0B 00 8C 02 00 C8 4A 47 CD 76 F4 27 5A 90 00 1B [06:53:23]RAPDU: C8 4A 47 CD 76 F4 27 5A 90 00 [06:53:23]wFMCommunicate OK [06:53:23]SAM_PROTO_SignData done [06:53:23]FM_MakeSignedData done [06:53:23]CreateOFDProtocolMessage [06:53:23]wFMCommunicate request_size=4 [06:53:23]MH_SAM_APDU [06:53:23]CAPDU: 80 11 00 00 [06:53:23]Write to MH i2c: E2 08 00 8D 02 80 11 00 00 00 00 00 00 09 [06:53:23]Write i2c OK [06:53:23]MH_I2C_Read... [06:53:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:53:23]Read from MH i2c: E2 [06:53:23]MH_I2C_Read... [06:53:23]Read from MH i2c: E2 17 00 [06:53:23]MH_I2C_Read... [06:53:23]Read from MH i2c: E2 17 00 8D 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 5A [06:53:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [06:53:23]wFMCommunicate OK [06:53:23]CreateOFDProtocolMessage done [06:53:23]OFDSenderStorePacket 7888 [06:53:23]StoreOFDPacket docnum=7888 [06:53:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 20 31 07 01 45 1A 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 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 E3 61 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D0 1E 00 00 35 04 06 00 1B EE 16 FA 53 6A C8 4A 47 CD 76 F4 27 5A [06:53:23]CheckFolder [06:53:23]dirname=/storage/ofd_packets [06:53:23]CheckFolder done [06:53:23]ProducePacketName [06:53:23]name=ofd_packets/00007888 [06:53:23]NVStorageSaveData ofd_packets/00007888 [06:53:23]File name is /storage/ofd_packets/00007888 [06:53:23]Write 301 bytes [06:53:23]NVStorageSaveData done [06:53:23]OFDSenderStorePacket done [06:53:23]KKMCreateOFDPacket done [06:53:23]NVStorageSaveData kkm_last_timestamp [06:53:23]File name is /storage/kkm_last_timestamp [06:53:23]Write 4 bytes [06:53:23]NVStorageSaveData done [06:53:23]ExternCall_PrintAddStr [06:53:23]wPrintStart [06:53:23]Write to MH i2c: 01 00 00 8E 02 90 [06:53:23]Write i2c OK [06:53:23]MH_I2C_Read... [06:53:23]Read from MH i2c: 01 [06:53:23]MH_I2C_Read... [06:53:23]Read from MH i2c: 01 07 00 [06:53:23]MH_I2C_Read... [06:53:23]Read from MH i2c: 01 07 00 8E 02 00 00 00 00 00 FF 0F A5 [06:53:23]RasterBufferAndPrint [06:53:23]line Счет N : (1)872498 [06:53:23]line ИНН: 02508201610067 [06:53:23]line Контрольно-Кассовый Чек [06:53:23]line ПРОДАЖА [06:53:23]line ТРК (МРК, ГНК) : 33 [06:53:23]line Товар: 2710124130 [06:53:23]line Аи-92-К-5 [06:53:23]line 7.380 * 67.80 [06:53:23]line = 500.36 [06:53:23]line НДС 12% НСП 1% [06:53:23]line > о реализуемом товаре [06:53:23]line ОКРУГЛЕНИЕ: -0.36 [06:53:23]line ИТОГО: 500.00 [06:53:23]line Внесено: 500.00 [06:53:23]line СДАЧА: 0.00 [06:53:23]line НСП 1% : 4.43 [06:53:23]line НДС 12% : 53.14 [06:53:23]line Наличными: 500.00 [06:53:23]line Безнал.: 0.00 [06:53:23]line Место: АЗС № 137 "Партнер Нефть" [06:53:23]line Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 [06:53:23]line СНО: Общий режим [06:53:23]line Чек 24 24.09.2024 06:53 [06:53:23]line Смена: 72 ФФД: 1.0 [06:53:23]line ЗНМ: 0300000041 [06:53:23]line РНМ: 0000000000190446 [06:53:23]line Версия ККМ: v1.0 [06:53:23]line ФМ: 0000000002094258 [06:53:23]line ФД: 7888 [06:53:23]line ФПД: 30709401670506 [06:53:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T065323&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7888&fm=30709401670506&tin=02508201610067®Number=0000000000190446&sum=50000 [06:53:23]OFD Sender: Processing packet 7888 [packets to send 51, broken 50] [06:53:23]ProducePacketName [06:53:23]name=ofd_packets/00007888 [06:53:23]OFD Sender: To server: pG, [06:53:23]CommunicateWithHost lk.salyk.kg:30040 [06:53:23]ConnectInit lk.salyk.kg [06:53:23]written 0, free lines is 4095 [06:53:23]Write to MH i2c: 01 00 00 B9 02 BB [06:53:23]Write i2c OK [06:53:23]MH_I2C_Read... [06:53:23]Read from MH i2c: 01 [06:53:23]MH_I2C_Read... [06:53:23]Read from MH i2c: 01 07 00 [06:53:23]MH_I2C_Read... [06:53:23]Read from MH i2c: 01 07 00 B9 02 00 00 00 00 00 EA 0C B8 [06:53:23]RasterBufferAndPrint [06:53:23]line [06:53:23]line [06:53:23]line [06:53:23]line [06:53:23]line [06:53:23]written 0, free lines is 3312 [06:53:23]MH_Cut [06:53:23]Write to MH i2c: D1 01 00 C0 02 01 94 [06:53:23]Write i2c OK [06:53:23]MH_I2C_Read... [06:53:23]Read from MH i2c: D1 [06:53:23]MH_I2C_Read... [06:53:23]Read from MH i2c: D1 01 00 [06:53:23]MH_I2C_Read... [06:53:23]Read from MH i2c: D1 01 00 C0 02 00 93 [06:53:23]Write to MH i2c: 01 00 00 C1 02 C3 [06:53:23]Write i2c OK [06:53:23]MH_I2C_Read... [06:53:24]Connected sock=7 [06:53:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 20 31 07 01 45 1A 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 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 E3 61 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D0 1E 00 00 35 04 06 00 1B EE 16 FA 53 6A C8 4A 47 CD 76 F4 27 5A [06:53:24]*** Cut start [06:53:24]*** Purtial cut [06:53:24]*** Stage 1: CUTSNS_PIN = 1 [06:53:24]Read from MH i2c: 01 [06:53:24]MH_I2C_Read... [06:53:24]*** Stop cut motor [06:53:24]*** Cut end [06:53:24]Read from MH i2c: 01 07 00 [06:53:24]MH_I2C_Read... [06:53:24]Read from MH i2c: 01 07 00 C1 02 00 00 00 00 00 FF 0F D8 [06:53:24]process_action close_receipt done [06:53:24]requested_data is exist [06:53:24]produce_requested_data [06:53:24]requested_item fm.sn is exist - process it [06:53:24]wFMCommunicate request_size=4 [06:53:24]MH_SAM_APDU [06:53:24]CAPDU: 80 11 00 00 [06:53:24]Write to MH i2c: E2 08 00 C2 02 80 11 00 00 00 00 00 00 3E [06:53:24]Write i2c OK [06:53:24]MH_I2C_Read... [06:53:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:53:24]Read from MH i2c: E2 [06:53:24]MH_I2C_Read... [06:53:24]Read from MH i2c: E2 17 00 [06:53:24]MH_I2C_Read... [06:53:24]Read from MH i2c: E2 17 00 C2 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 8F [06:53:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [06:53:24]wFMCommunicate OK [06:53:24]requested_item fd.num is exist - process it [06:53:24]SAM_PROTO_GetFieldsCounters [06:53:24]wFMCommunicate request_size=4 [06:53:24]MH_SAM_APDU [06:53:24]CAPDU: 80 13 00 00 [06:53:24]Write to MH i2c: E2 08 00 C3 02 80 13 00 00 00 00 00 00 41 [06:53:24]Write i2c OK [06:53:24]MH_I2C_Read... [06:53:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 6F 8D 47 00 81 A0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D0 1E 00 00 F4 03 04 00 9C 0C F2 66 B6 04 01 00 00 CD 5D D1 AC 8A 59 2D 2F [06:53:24]CommunicateWithHost err = 0 [06:53:24]CheckOFDResponse [06:53:24]1017 (14) - 77093643461234 [06:53:24]1041 (16) - 0000000002094258 [06:53:24]1040 (4) - 7888 [06:53:24]1012 (4) - 24.09.2024 00:49 [06:53:24]1206 (1) - 0 [06:53:24]OFD Sender: Remove packet 7888 [06:53:24]ProducePacketName [06:53:24]name=ofd_packets/00007888 [06:53:24]NVStorageDeleteData [06:53:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:53:25]Read from MH i2c: E2 [06:53:25]MH_I2C_Read... [06:53:25]Read from MH i2c: E2 62 00 [06:53:25]MH_I2C_Read... [06:53:25]Read from MH i2c: E2 62 00 C3 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 D0 1E 00 00 0E 04 04 00 48 00 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 DD [06:53:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 D0 1E 00 00 0E 04 04 00 48 00 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 [06:53:25]wFMCommunicate OK [06:53:25]SAM_PROTO_GetFieldsCounters done [06:53:25]requested_item shift.num is exist - process it [06:53:25]requested_item shift.opened is exist - process it [06:53:25]req_shift_opened [06:53:25]FM_GetShiftState [06:53:25]SAM_PROTO_GetShiftState [06:53:25]wFMCommunicate request_size=4 [06:53:25]MH_SAM_APDU [06:53:25]CAPDU: 80 13 01 00 [06:53:25]Write to MH i2c: E2 08 00 C4 02 80 13 01 00 00 00 00 00 43 [06:53:25]Write i2c OK [06:53:25]MH_I2C_Read... [06:53:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:53:25]Read from MH i2c: E2 [06:53:25]MH_I2C_Read... [06:53:25]Read from MH i2c: E2 0E 00 [06:53:25]MH_I2C_Read... [06:53:25]Read from MH i2c: E2 0E 00 C4 02 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 E9 [06:53:25]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [06:53:25]wFMCommunicate OK [06:53:25]SAM_PROTO_GetShiftState done [06:53:25]FM_GetShiftState done [06:53:25]req_shift_opened done [06:53:25]requested_item shift.open_date is exist - process it [06:53:25]req_shift_open_date [06:53:25]req_shift_open_date done [06:53:25]produce_requested_data done [06:53:25]produce_requested_data return {"fm.sn":"0000000002094258","fd.num":7888,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [06:53:25]process_action_free close_receipt [06:53:25]json_value_free [06:53:25]json_value_free done [06:53:25]process_json_proto returns [06:53:25]Send response to host [06:53:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002094258","fd.num":7888,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [06:53:25]free response buf [06:53:25]execute_script done [06:53:25]execute_script returns [06:53:25]free content buf [06:53:25]Sock 10.Close socket [06:53:25]Sock 10.Thread stoped [06:53:25]OFD Sender: No OFD packet to send [06:53:30]OFD Sender: No OFD packet to send [06:53:35]OFD Sender: No OFD packet to send [06:53:40]OFD Sender: No OFD packet to send [06:53:45]OFD Sender: No OFD packet to send [06:53:50]OFD Sender: No OFD packet to send [06:53:55]OFD Sender: No OFD packet to send [06:53:58]recv_with_timeout no data received [06:54:00]OFD Sender: No OFD packet to send [06:54:05]OFD Sender: No OFD packet to send [06:54:10]OFD Sender: No OFD packet to send [06:54:15]OFD Sender: No OFD packet to send [06:54:20]OFD Sender: No OFD packet to send [06:54:25]OFD Sender: No OFD packet to send [06:54:30]OFD Sender: No OFD packet to send [06:54:35]OFD Sender: No OFD packet to send [06:54:40]OFD Sender: No OFD packet to send [06:54:45]OFD Sender: No OFD packet to send [06:54:50]OFD Sender: No OFD packet to send [06:54:55]OFD Sender: No OFD packet to send [06:55:00]OFD Sender: No OFD packet to send [06:55:05]OFD Sender: No OFD packet to send [06:55:10]OFD Sender: No OFD packet to send [06:55:15]OFD Sender: No OFD packet to send [06:55:20]OFD Sender: No OFD packet to send [06:55:25]OFD Sender: No OFD packet to send [06:55:30]OFD Sender: No OFD packet to send [06:55:35]OFD Sender: No OFD packet to send [06:55:40]OFD Sender: No OFD packet to send [06:55:45]OFD Sender: No OFD packet to send [06:55:50]OFD Sender: No OFD packet to send [06:55:55]OFD Sender: No OFD packet to send [06:56:00]OFD Sender: No OFD packet to send [06:56:05]OFD Sender: No OFD packet to send [06:56:10]OFD Sender: No OFD packet to send [06:56:15]recv_with_timeout no data received [06:56:15]OFD Sender: No OFD packet to send [06:56:20]OFD Sender: No OFD packet to send [06:56:25]OFD Sender: No OFD packet to send [06:56:30]OFD Sender: No OFD packet to send [06:56:35]OFD Sender: No OFD packet to send [06:56:40]OFD Sender: No OFD packet to send [06:56:45]OFD Sender: No OFD packet to send [06:56:50]OFD Sender: No OFD packet to send [06:56:55]OFD Sender: No OFD packet to send [06:57:00]OFD Sender: No OFD packet to send [06:57:05]OFD Sender: No OFD packet to send [06:57:10]OFD Sender: No OFD packet to send [06:57:15]OFD Sender: No OFD packet to send [06:57:20]OFD Sender: No OFD packet to send [06:57:25]OFD Sender: No OFD packet to send [06:57:30]OFD Sender: No OFD packet to send [06:57:35]OFD Sender: No OFD packet to send [06:57:40]OFD Sender: No OFD packet to send [06:57:45]OFD Sender: No OFD packet to send [06:57:50]OFD Sender: No OFD packet to send [06:57:55]OFD Sender: No OFD packet to send [06:58:00]OFD Sender: No OFD packet to send [06:58:05]OFD Sender: No OFD packet to send [06:58:10]OFD Sender: No OFD packet to send [06:58:15]OFD Sender: No OFD packet to send [06:58:20]OFD Sender: No OFD packet to send [06:58:25]OFD Sender: No OFD packet to send [06:58:30]OFD Sender: No OFD packet to send [06:58:35]OFD Sender: No OFD packet to send [06:58:40]OFD Sender: No OFD packet to send [06:58:45]OFD Sender: No OFD packet to send [06:58:50]OFD Sender: No OFD packet to send [06:58:55]OFD Sender: No OFD packet to send [06:59:00]OFD Sender: No OFD packet to send [06:59:05]OFD Sender: No OFD packet to send [06:59:10]OFD Sender: No OFD packet to send [06:59:14]recv_with_timeout no data received [06:59:15]OFD Sender: No OFD packet to send [06:59:20]OFD Sender: No OFD packet to send [06:59:25]OFD Sender: No OFD packet to send [06:59:30]OFD Sender: No OFD packet to send [06:59:35]OFD Sender: No OFD packet to send [06:59:40]OFD Sender: No OFD packet to send [06:59:45]OFD Sender: No OFD packet to send [06:59:50]OFD Sender: No OFD packet to send [06:59:55]OFD Sender: No OFD packet to send [07:00:00]OFD Sender: No OFD packet to send [07:00:05]OFD Sender: No OFD packet to send [07:00:06]recv_with_timeout no data received [07:00:10]OFD Sender: No OFD packet to send [07:00:15]OFD Sender: No OFD packet to send [07:00:20]OFD Sender: No OFD packet to send [07:00:25]OFD Sender: No OFD packet to send [07:00:30]OFD Sender: No OFD packet to send [07:00:35]OFD Sender: No OFD packet to send [07:00:40]OFD Sender: No OFD packet to send [07:00:45]OFD Sender: No OFD packet to send [07:00:50]OFD Sender: No OFD packet to send [07:00:55]OFD Sender: No OFD packet to send [07:01:00]OFD Sender: No OFD packet to send [07:01:05]OFD Sender: No OFD packet to send [07:01:10]OFD Sender: No OFD packet to send [07:01:15]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:36]OFD Sender: No OFD packet to send [07:02:41]OFD Sender: No OFD packet to send [07:02:44]recv_with_timeout no data received [07:02:46]OFD Sender: No OFD packet to send [07:02:51]OFD Sender: No OFD packet to send [07:02:56]OFD Sender: No OFD packet to send [07:03:01]OFD Sender: No OFD packet to send [07:03:06]OFD Sender: No OFD packet to send [07:03:11]OFD Sender: No OFD packet to send [07:03:16]OFD Sender: No OFD packet to send [07:03:21]OFD Sender: No OFD packet to send [07:03:26]OFD Sender: No OFD packet to send [07:03:31]OFD Sender: No OFD packet to send [07:03:36]OFD Sender: No OFD packet to send [07:03:41]OFD Sender: No OFD packet to send [07:03:46]OFD Sender: No OFD packet to send [07:03:51]OFD Sender: No OFD packet to send [07:03:56]OFD Sender: No OFD packet to send [07:04:01]OFD Sender: No OFD packet to send [07:04:06]OFD Sender: No OFD packet to send [07:04:11]OFD Sender: No OFD packet to send [07:04:16]OFD Sender: No OFD packet to send [07:04:21]OFD Sender: No OFD packet to send [07:04:26]OFD Sender: No OFD packet to send [07:04:31]OFD Sender: No OFD packet to send [07:04:36]OFD Sender: No OFD packet to send [07:04:41]OFD Sender: No OFD packet to send [07:04:46]OFD Sender: No OFD packet to send [07:04:51]OFD Sender: No OFD packet to send [07:04:56]OFD Sender: No OFD packet to send [07:05:01]OFD Sender: No OFD packet to send [07:05:06]OFD Sender: No OFD packet to send [07:05:11]OFD Sender: No OFD packet to send [07:05:16]OFD Sender: No OFD packet to send [07:05:21]OFD Sender: No OFD packet to send [07:05:26]OFD Sender: No OFD packet to send [07:05:31]OFD Sender: No OFD packet to send [07:05:36]OFD Sender: No OFD packet to send [07:05:41]OFD Sender: No OFD packet to send [07:05:46]OFD Sender: No OFD packet to send [07:05:51]OFD Sender: No OFD packet to send [07:05:56]OFD Sender: No OFD packet to send [07:06:01]OFD Sender: No OFD packet to send [07:06:06]OFD Sender: No OFD packet to send [07:06:11]OFD Sender: No OFD packet to send [07:06:14]recv_with_timeout no data received [07:06:16]OFD Sender: No OFD packet to send [07:06:21]OFD Sender: No OFD packet to send [07:06:26]OFD Sender: No OFD packet to send [07:06:26]recv_with_timeout no data received [07:06:31]OFD Sender: No OFD packet to send [07:06:36]OFD Sender: No OFD packet to send [07:06:41]OFD Sender: No OFD packet to send [07:06:46]OFD Sender: No OFD packet to send [07:06:51]OFD Sender: No OFD packet to send [07:06:56]OFD Sender: No OFD packet to send [07:07:01]OFD Sender: No OFD packet to send [07:07:06]OFD Sender: No OFD packet to send [07:07:11]OFD Sender: No OFD packet to send [07:07:16]OFD Sender: No OFD packet to send [07:07:21]OFD Sender: No OFD packet to send [07:07:26]OFD Sender: No OFD packet to send [07:07:31]OFD Sender: No OFD packet to send [07:07:36]OFD Sender: No OFD packet to send [07:07:41]OFD Sender: No OFD packet to send [07:07:46]OFD Sender: No OFD packet to send [07:07:51]OFD Sender: No OFD packet to send [07:07:56]OFD Sender: No OFD packet to send [07:08:01]OFD Sender: No OFD packet to send [07:08:03]recv_with_timeout no data received [07:08:06]OFD Sender: No OFD packet to send [07:08:11]OFD Sender: No OFD packet to send [07:08:16]OFD Sender: No OFD packet to send [07:08:21]OFD Sender: No OFD packet to send [07:08:26]OFD Sender: No OFD packet to send [07:08:31]OFD Sender: No OFD packet to send [07:08:36]OFD Sender: No OFD packet to send [07:08:41]OFD Sender: No OFD packet to send [07:08:43]recv_with_timeout no data received [07:08:46]OFD Sender: No OFD packet to send [07:08:51]OFD Sender: No OFD packet to send [07:08:56]OFD Sender: No OFD packet to send [07:09:01]OFD Sender: No OFD packet to send [07:09:06]OFD Sender: No OFD packet to send [07:09:11]OFD Sender: No OFD packet to send [07:09:16]OFD Sender: No OFD packet to send [07:09:21]OFD Sender: No OFD packet to send [07:09:26]OFD Sender: No OFD packet to send [07:09:31]OFD Sender: No OFD packet to send [07:09:36]OFD Sender: No OFD packet to send [07:09:41]OFD Sender: No OFD packet to send [07:09:46]OFD Sender: No OFD packet to send [07:09:51]OFD Sender: No OFD packet to send [07:09:56]OFD Sender: No OFD packet to send [07:10:01]OFD Sender: No OFD packet to send [07:10:06]OFD Sender: No OFD packet to send [07:10:11]OFD Sender: No OFD packet to send [07:10:16]OFD Sender: No OFD packet to send [07:10:21]OFD Sender: No OFD packet to send [07:10:26]OFD Sender: No OFD packet to send [07:10:31]OFD Sender: No OFD packet to send [07:10:36]OFD Sender: No OFD packet to send [07:10:41]OFD Sender: No OFD packet to send [07:10:46]OFD Sender: No OFD packet to send [07:10:51]OFD Sender: No OFD packet to send [07:10:56]OFD Sender: No OFD packet to send [07:11:01]OFD Sender: No OFD packet to send [07:11:06]OFD Sender: No OFD packet to send [07:11:11]OFD Sender: No OFD packet to send [07:11:16]OFD Sender: No OFD packet to send [07:11:21]OFD Sender: No OFD packet to send [07:11:26]OFD Sender: No OFD packet to send [07:11:31]OFD Sender: No OFD packet to send [07:11:36]OFD Sender: No OFD packet to send [07:11:41]OFD Sender: No OFD packet to send [07:11:46]OFD Sender: No OFD packet to send [07:11:51]OFD Sender: No OFD packet to send [07:11:56]OFD Sender: No OFD packet to send [07:12:01]OFD Sender: No OFD packet to send [07:12:06]OFD Sender: No OFD packet to send [07:12:11]OFD Sender: No OFD packet to send [07:12:16]OFD Sender: No OFD packet to send [07:12:21]OFD Sender: No OFD packet to send [07:12:26]OFD Sender: No OFD packet to send [07:12:31]OFD Sender: No OFD packet to send [07:12:36]OFD Sender: No OFD packet to send [07:12:41]OFD Sender: No OFD packet to send [07:12:46]OFD Sender: No OFD packet to send [07:12:51]OFD Sender: No OFD packet to send [07:12:56]OFD Sender: No OFD packet to send [07:13:01]OFD Sender: No OFD packet to send [07:13:06]OFD Sender: No OFD packet to send [07:13:11]OFD Sender: No OFD packet to send [07:13:16]OFD Sender: No OFD packet to send [07:13:21]OFD Sender: No OFD packet to send [07:13:26]OFD Sender: No OFD packet to send [07:13:31]OFD Sender: No OFD packet to send [07:13:36]OFD Sender: No OFD packet to send [07:13:41]OFD Sender: No OFD packet to send [07:13:46]OFD Sender: No OFD packet to send [07:13:51]OFD Sender: No OFD packet to send [07:13:56]OFD Sender: No OFD packet to send [07:14:01]OFD Sender: No OFD packet to send [07:14:06]OFD Sender: No OFD packet to send [07:14:11]OFD Sender: No OFD packet to send [07:14:16]OFD Sender: No OFD packet to send [07:14:21]OFD Sender: No OFD packet to send [07:14:26]OFD Sender: No OFD packet to send [07:14:31]OFD Sender: No OFD packet to send [07:14:36]OFD Sender: No OFD packet to send [07:14:41]OFD Sender: No OFD packet to send [07:14:46]OFD Sender: No OFD packet to send [07:14:51]OFD Sender: No OFD packet to send [07:14:56]OFD Sender: No OFD packet to send [07:15:01]OFD Sender: No OFD packet to send [07:15:03]recv_with_timeout no data received [07:15:06]OFD Sender: No OFD packet to send [07:15:11]OFD Sender: No OFD packet to send [07:15:16]OFD Sender: No OFD packet to send [07:15:21]OFD Sender: No OFD packet to send [07:15:26]OFD Sender: No OFD packet to send [07:15:31]OFD Sender: No OFD packet to send [07:15:36]OFD Sender: No OFD packet to send [07:15:41]OFD Sender: No OFD packet to send [07:15:46]OFD Sender: No OFD packet to send [07:15:51]OFD Sender: No OFD packet to send [07:15:56]OFD Sender: No OFD packet to send [07:16:01]OFD Sender: No OFD packet to send [07:16:06]OFD Sender: No OFD packet to send [07:16:11]OFD Sender: No OFD packet to send [07:16:16]OFD Sender: No OFD packet to send [07:16:21]OFD Sender: No OFD packet to send [07:16:26]OFD Sender: No OFD packet to send [07:16:31]OFD Sender: No OFD packet to send [07:16:36]OFD Sender: No OFD packet to send [07:16:41]recv_with_timeout no data received [07:16:41]OFD Sender: No OFD packet to send [07:16:46]OFD Sender: No OFD packet to send [07:16:51]OFD Sender: No OFD packet to send [07:16:56]OFD Sender: No OFD packet to send [07:17:01]OFD Sender: No OFD packet to send [07:17:06]OFD Sender: No OFD packet to send [07:17:11]OFD Sender: No OFD packet to send [07:17:16]OFD Sender: No OFD packet to send [07:17:21]OFD Sender: No OFD packet to send [07:17:26]OFD Sender: No OFD packet to send [07:17:31]OFD Sender: No OFD packet to send [07:17:36]OFD Sender: No OFD packet to send [07:17:41]OFD Sender: No OFD packet to send [07:17:46]OFD Sender: No OFD packet to send [07:17:51]OFD Sender: No OFD packet to send [07:17:56]OFD Sender: No OFD packet to send [07:18:01]OFD Sender: No OFD packet to send [07:18:06]OFD Sender: No OFD packet to send [07:18:11]OFD Sender: No OFD packet to send [07:18:16]OFD Sender: No OFD packet to send [07:18:21]OFD Sender: No OFD packet to send [07:18:26]OFD Sender: No OFD packet to send [07:18:31]OFD Sender: No OFD packet to send [07:18:36]OFD Sender: No OFD packet to send [07:18:41]OFD Sender: No OFD packet to send [07:18:46]OFD Sender: No OFD packet to send [07:18:51]OFD Sender: No OFD packet to send [07:18:56]OFD Sender: No OFD packet to send [07:19:01]OFD Sender: No OFD packet to send [07:19:06]OFD Sender: No OFD packet to send [07:19:11]OFD Sender: No OFD packet to send [07:19:16]OFD Sender: No OFD packet to send [07:19:21]OFD Sender: No OFD packet to send [07:19:26]OFD Sender: No OFD packet to send [07:19:31]OFD Sender: No OFD packet to send [07:19:36]OFD Sender: No OFD packet to send [07:19:41]OFD Sender: No OFD packet to send [07:19:46]OFD Sender: No OFD packet to send [07:19:51]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:37]OFD Sender: No OFD packet to send [07:20:42]OFD Sender: No OFD packet to send [07:20:47]OFD Sender: No OFD packet to send [07:20:52]OFD Sender: No OFD packet to send [07:20:57]OFD Sender: No OFD packet to send [07:21:02]OFD Sender: No OFD packet to send [07:21:07]OFD Sender: No OFD packet to send [07:21:12]OFD Sender: No OFD packet to send [07:21:17]OFD Sender: No OFD packet to send [07:21:22]OFD Sender: No OFD packet to send [07:21:27]OFD Sender: No OFD packet to send [07:21:32]OFD Sender: No OFD packet to send [07:21:37]OFD Sender: No OFD packet to send [07:21:42]OFD Sender: No OFD packet to send [07:21:47]OFD Sender: No OFD packet to send [07:21:52]OFD Sender: No OFD packet to send [07:21:57]OFD Sender: No OFD packet to send [07:22:02]OFD Sender: No OFD packet to send [07:22:07]OFD Sender: No OFD packet to send [07:22:12]OFD Sender: No OFD packet to send [07:22:17]OFD Sender: No OFD packet to send [07:22:22]OFD Sender: No OFD packet to send [07:22:27]OFD Sender: No OFD packet to send [07:22:32]OFD Sender: No OFD packet to send [07:22:37]OFD Sender: No OFD packet to send [07:22:42]OFD Sender: No OFD packet to send [07:22:47]OFD Sender: No OFD packet to send [07:22:52]OFD Sender: No OFD packet to send [07:22:57]OFD Sender: No OFD packet to send [07:23:02]OFD Sender: No OFD packet to send [07:23:07]OFD Sender: No OFD packet to send [07:23:12]OFD Sender: No OFD packet to send [07:23:17]OFD Sender: No OFD packet to send [07:23:22]OFD Sender: No OFD packet to send [07:23:27]OFD Sender: No OFD packet to send [07:23:32]OFD Sender: No OFD packet to send [07:23:37]OFD Sender: No OFD packet to send [07:23:42]OFD Sender: No OFD packet to send [07:23:47]OFD Sender: No OFD packet to send [07:23:52]OFD Sender: No OFD packet to send [07:23:57]OFD Sender: No OFD packet to send [07:24:02]OFD Sender: No OFD packet to send [07:24:07]OFD Sender: No OFD packet to send [07:24:12]OFD Sender: No OFD packet to send [07:24:17]OFD Sender: No OFD packet to send [07:24:22]OFD Sender: No OFD packet to send [07:24:27]OFD Sender: No OFD packet to send [07:24:32]OFD Sender: No OFD packet to send [07:24:37]OFD Sender: No OFD packet to send [07:24:42]OFD Sender: No OFD packet to send [07:24:47]OFD Sender: No OFD packet to send [07:24:52]OFD Sender: No OFD packet to send [07:24:57]OFD Sender: No OFD packet to send [07:25:02]OFD Sender: No OFD packet to send [07:25:07]OFD Sender: No OFD packet to send [07:25:12]OFD Sender: No OFD packet to send [07:25:17]OFD Sender: No OFD packet to send [07:25:22]OFD Sender: No OFD packet to send [07:25:27]OFD Sender: No OFD packet to send [07:25:32]OFD Sender: No OFD packet to send [07:25:37]OFD Sender: No OFD packet to send [07:25:42]OFD Sender: No OFD packet to send [07:25:47]OFD Sender: No OFD packet to send [07:25:52]OFD Sender: No OFD packet to send [07:25:57]OFD Sender: No OFD packet to send [07:26:02]OFD Sender: No OFD packet to send [07:26:07]OFD Sender: No OFD packet to send [07:26:12]OFD Sender: No OFD packet to send [07:26:17]OFD Sender: No OFD packet to send [07:26:22]OFD Sender: No OFD packet to send [07:26:27]OFD Sender: No OFD packet to send [07:26:32]OFD Sender: No OFD packet to send [07:26:37]OFD Sender: No OFD packet to send [07:26:42]OFD Sender: No OFD packet to send [07:26:47]OFD Sender: No OFD packet to send [07:26:52]OFD Sender: No OFD packet to send [07:26:57]OFD Sender: No OFD packet to send [07:27:02]OFD Sender: No OFD packet to send [07:27:07]OFD Sender: No OFD packet to send [07:27:12]OFD Sender: No OFD packet to send [07:27:17]OFD Sender: No OFD packet to send [07:27:22]OFD Sender: No OFD packet to send [07:27:24]recv_with_timeout no data received [07:27:27]OFD Sender: No OFD packet to send [07:27:32]OFD Sender: No OFD packet to send [07:27:37]OFD Sender: No OFD packet to send [07:27:42]OFD Sender: No OFD packet to send [07:27:47]OFD Sender: No OFD packet to send [07:27:52]OFD Sender: No OFD packet to send [07:27:57]OFD Sender: No OFD packet to send [07:28:02]OFD Sender: No OFD packet to send [07:28:07]OFD Sender: No OFD packet to send [07:28:12]OFD Sender: No OFD packet to send [07:28:17]OFD Sender: No OFD packet to send [07:28:17]recv_with_timeout no data received [07:28:22]OFD Sender: No OFD packet to send [07:28:27]OFD Sender: No OFD packet to send [07:28:32]OFD Sender: No OFD packet to send [07:28:37]OFD Sender: No OFD packet to send [07:28:42]OFD Sender: No OFD packet to send [07:28:47]OFD Sender: No OFD packet to send [07:28:52]OFD Sender: No OFD packet to send [07:28:57]OFD Sender: No OFD packet to send [07:29:02]OFD Sender: No OFD packet to send [07:29:07]OFD Sender: No OFD packet to send [07:29:12]OFD Sender: No OFD packet to send [07:29:17]OFD Sender: No OFD packet to send [07:29:22]OFD Sender: No OFD packet to send [07:29:27]OFD Sender: No OFD packet to send [07:29:32]OFD Sender: No OFD packet to send [07:29:37]OFD Sender: No OFD packet to send [07:29:42]OFD Sender: No OFD packet to send [07:29:47]OFD Sender: No OFD packet to send [07:29:52]OFD Sender: No OFD packet to send [07:29:57]OFD Sender: No OFD packet to send [07:30:02]OFD Sender: No OFD packet to send [07:30:07]OFD Sender: No OFD packet to send [07:30:12]OFD Sender: No OFD packet to send [07:30:17]OFD Sender: No OFD packet to send [07:30:22]OFD Sender: No OFD packet to send [07:30:27]OFD Sender: No OFD packet to send [07:30:32]OFD Sender: No OFD packet to send [07:30:37]OFD Sender: No OFD packet to send [07:30:42]OFD Sender: No OFD packet to send [07:30:47]OFD Sender: No OFD packet to send [07:30:52]OFD Sender: No OFD packet to send [07:30:57]OFD Sender: No OFD packet to send [07:31:02]OFD Sender: No OFD packet to send [07:31:07]OFD Sender: No OFD packet to send [07:31:12]OFD Sender: No OFD packet to send [07:31:17]OFD Sender: No OFD packet to send [07:31:22]OFD Sender: No OFD packet to send [07:31:27]OFD Sender: No OFD packet to send [07:31:32]OFD Sender: No OFD packet to send [07:31:37]OFD Sender: No OFD packet to send [07:31:42]OFD Sender: No OFD packet to send [07:31:47]OFD Sender: No OFD packet to send [07:31:52]OFD Sender: No OFD packet to send [07:31:57]OFD Sender: No OFD packet to send [07:32:02]OFD Sender: No OFD packet to send [07:32:07]OFD Sender: No OFD packet to send [07:32:12]OFD Sender: No OFD packet to send [07:32:17]OFD Sender: No OFD packet to send [07:32:22]OFD Sender: No OFD packet to send [07:32:27]OFD Sender: No OFD packet to send [07:32:30]accept exits with 9 [07:32:30]New connection [07:32:30]New thread 3067489636 created [07:32:30]Thread 3067632996 joined [07:32:30]Waiting for new connection... [07:32:30] Sock 9.Parse request [07:32:30]Sock 9.Check first char [07:32:30]Sock 9.First char is OK [07:32:30]request: POST /json_proto HTTP/1.0 [07:32:30]Method: POST [07:32:30]URL: /json_proto [07:32:30]Method is POST - this is cgi request [07:32:30]url: /json_proto [07:32:30]query_string will be loaded in cgi processing [07:32:30]execute_cgi json_proto POST (null) [07:32:30]execute_cgi path=json_proto method=POST [07:32:30]POST find Content-Length [07:32:30]Host: 172.17.47.195:8080 [07:32:30]Content-Length: 677 [07:32:30]Content-Type: application/json [07:32:30] [07:32:30]POST finish read [07:32:30]Found Content-Length = 677 [07:32:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872499", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 8.850, "sum" : 600.03, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:32:30]execute_script... [07:32:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872499", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 8.850, "sum" : 600.03, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:32:30]POST & json_proto [07:32:30]process_json_proto [07:32:30]json parsed OK: [07:32:30]protocol is kg_v1.0 [07:32:30]action value=close_receipt [07:32:30]process_action close_receipt [07:32:30]cmd_close_receipt [07:32:30]MH_GetDate [07:32:30]Write to MH i2c: F0 00 00 C5 02 B6 [07:32:30]Write i2c OK [07:32:30]MH_I2C_Read... [07:32:30]Read from MH i2c: F0 [07:32:30]MH_I2C_Read... [07:32:30]Read from MH i2c: F0 09 00 [07:32:30]MH_I2C_Read... [07:32:30]Read from MH i2c: F0 09 00 C5 02 00 10 6B F2 66 96 2E 95 66 51 [07:32:30]GetLastDocTimeStamp 1727160803 [07:32:30]current date 1727163152 [07:32:30]FM_GetShiftState [07:32:30]SAM_PROTO_GetShiftState [07:32:30]wFMCommunicate request_size=4 [07:32:30]MH_SAM_APDU [07:32:30]CAPDU: 80 13 01 00 [07:32:30]Write to MH i2c: E2 08 00 C6 02 80 13 01 00 00 00 00 00 45 [07:32:30]Write i2c OK [07:32:30]MH_I2C_Read... [07:32:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:32:30]Read from MH i2c: E2 [07:32:30]MH_I2C_Read... [07:32:30]Read from MH i2c: E2 0E 00 [07:32:30]MH_I2C_Read... [07:32:30]Read from MH i2c: E2 0E 00 C6 02 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 EB [07:32:30]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [07:32:30]wFMCommunicate OK [07:32:30]SAM_PROTO_GetShiftState done [07:32:30]FM_GetShiftState done [07:32:30]opened in 1727137340 [07:32:30]opened+sec_in_day 1727223740 [07:32:30]quantity*price = 60003 [07:32:30]sum+1 = 60004 [07:32:30]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.03 ИТОГО: 600.00 Внесено: 600.00 СДАЧА: 0.00 НСП 1% : 5.31 НДС 12% : 63.72 Наличными: 600.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 25 24.09.2024 07:32 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 ФМ: 0000000002094258 ФД: 7889 ФПД: 14125375781803 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T073232&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7889&fm=14125375781803&tin=02508201610067®Number=0000000000190446&sum=60000 [07:32:32]StoreToDocumentArchive [07:32:32]shift 72 fd 7889 [07:32:32]save to /storage/0072/doc_00007889 [07:32:32]save last doc name /storage/0072/doc_00007889 to /storage/kkm_last_doc_name [07:32:32]save OK [07:32:32]Clear old archive folders... [07:32:32]ProcessDocumentItem done err = 0, tmpTLVsize=251 [07:32:32]tlvbuf is 0105B870 [07:32:32]SAM_PROTO_ClearQueue [07:32:32]wFMCommunicate request_size=4 [07:32:32]MH_SAM_APDU [07:32:32]CAPDU: 80 09 00 00 [07:32:32]Write to MH i2c: E2 08 00 D3 02 80 09 00 00 00 00 00 00 47 [07:32:32]Write i2c OK [07:32:32]MH_I2C_Read... [07:32:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:32:32]Read from MH i2c: E2 [07:32:32]MH_I2C_Read... [07:32:32]Read from MH i2c: E2 03 00 [07:32:32]MH_I2C_Read... [07:32:32]Read from MH i2c: E2 03 00 D3 02 00 90 00 49 [07:32:32]RAPDU: 90 00 [07:32:32]wFMCommunicate OK [07:32:32]SAM_PROTO_ClearQueue done [07:32:32]KKMCreateOFDPacket [07:32:32]OFDProtocolAddRootSTLVToBuf [07:32:32]FM_MakeSignedData [07:32:32]FM_MakeSignedData [07:32:32]SAM_PROTO_SignData [07:32:32]wFMCommunicate request_size=4 [07:32:32]MH_SAM_APDU [07:32:32]CAPDU: 80 0D 01 02 [07:32:32]Write to MH i2c: E2 08 00 D4 02 80 0D 01 02 00 00 00 00 4F [07:32:32]Write i2c OK [07:32:32]MH_I2C_Read... [07:32:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:32:32]Read from MH i2c: E2 [07:32:32]MH_I2C_Read... [07:32:32]Read from MH i2c: E2 03 00 [07:32:32]MH_I2C_Read... [07:32:32]Read from MH i2c: E2 03 00 D4 02 00 90 00 4A [07:32:32]RAPDU: 90 00 [07:32:32]wFMCommunicate OK [07:32:32]wFMCommunicate request_size=255 [07:32:32]MH_SAM_APDU [07:32:32]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 92 22 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 63 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E4 18 00 00 00 00 07 04 06 00 60 EA 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 10 6B F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D1 1E 00 00 35 04 06 00 0C [07:32:32]Write to MH i2c: E2 02 01 D5 02 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 92 22 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 63 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E4 18 00 00 00 00 07 04 06 00 60 EA 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 10 6B F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D1 1E 00 00 35 04 06 00 0C 00 00 C1 [07:32:32]Write i2c OK [07:32:32]MH_I2C_Read... [07:32:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:32:32]Read from MH i2c: E2 [07:32:32]MH_I2C_Read... [07:32:32]Read from MH i2c: E2 03 00 [07:32:32]MH_I2C_Read... [07:32:32]Read from MH i2c: E2 03 00 D5 02 00 90 00 4B [07:32:32]RAPDU: 90 00 [07:32:32]wFMCommunicate OK [07:32:32]wFMCommunicate request_size=10 [07:32:32]MH_SAM_APDU [07:32:32]CAPDU: 80 0D 02 02 05 D8 D2 01 7B AB [07:32:32]Write to MH i2c: E2 0D 00 D6 02 80 0D 02 02 05 00 D8 D2 01 7B AB 00 00 2D [07:32:32]Write i2c OK [07:32:32]MH_I2C_Read... [07:32:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:32:32]Read from MH i2c: E2 [07:32:32]MH_I2C_Read... [07:32:32]Read from MH i2c: E2 03 00 [07:32:32]MH_I2C_Read... [07:32:32]Read from MH i2c: E2 03 00 D6 02 00 90 00 4C [07:32:32]RAPDU: 90 00 [07:32:32]wFMCommunicate OK [07:32:32]wFMCommunicate request_size=4 [07:32:32]MH_SAM_APDU [07:32:32]CAPDU: 80 0D 03 02 [07:32:32]Write to MH i2c: E2 08 00 D7 02 80 0D 03 02 00 00 00 00 54 [07:32:32]Write i2c OK [07:32:32]MH_I2C_Read... [07:32:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:32:32]Read from MH i2c: E2 [07:32:32]MH_I2C_Read... [07:32:32]Read from MH i2c: E2 0B 00 [07:32:32]MH_I2C_Read... [07:32:32]Read from MH i2c: E2 0B 00 D7 02 00 22 72 3A FF 44 93 A8 A8 90 00 49 [07:32:32]RAPDU: 22 72 3A FF 44 93 A8 A8 90 00 [07:32:32]wFMCommunicate OK [07:32:32]SAM_PROTO_SignData done [07:32:32]FM_MakeSignedData done [07:32:32]CreateOFDProtocolMessage [07:32:32]wFMCommunicate request_size=4 [07:32:32]MH_SAM_APDU [07:32:32]CAPDU: 80 11 00 00 [07:32:32]Write to MH i2c: E2 08 00 D8 02 80 11 00 00 00 00 00 00 54 [07:32:32]Write i2c OK [07:32:32]MH_I2C_Read... [07:32:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:32:32]Read from MH i2c: E2 [07:32:32]MH_I2C_Read... [07:32:32]Read from MH i2c: E2 17 00 [07:32:32]MH_I2C_Read... [07:32:32]Read from MH i2c: E2 17 00 D8 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 A5 [07:32:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [07:32:32]wFMCommunicate OK [07:32:32]CreateOFDProtocolMessage done [07:32:32]OFDSenderStorePacket 7889 [07:32:32]StoreOFDPacket docnum=7889 [07:32:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 1D 5C 07 01 DB B3 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 92 22 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 63 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E4 18 00 00 00 00 07 04 06 00 60 EA 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 10 6B F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D1 1E 00 00 35 04 06 00 0C D8 D2 01 7B AB 22 72 3A FF 44 93 A8 A8 [07:32:32]CheckFolder [07:32:32]dirname=/storage/ofd_packets [07:32:32]CheckFolder done [07:32:32]ProducePacketName [07:32:32]name=ofd_packets/00007889 [07:32:32]NVStorageSaveData ofd_packets/00007889 [07:32:32]File name is /storage/ofd_packets/00007889 [07:32:32]Write 301 bytes [07:32:32]NVStorageSaveData done [07:32:32]OFDSenderStorePacket done [07:32:32]KKMCreateOFDPacket done [07:32:32]NVStorageSaveData kkm_last_timestamp [07:32:32]File name is /storage/kkm_last_timestamp [07:32:32]Write 4 bytes [07:32:32]NVStorageSaveData done [07:32:32]ExternCall_PrintAddStr [07:32:32]wPrintStart [07:32:32]Write to MH i2c: 01 00 00 D9 02 DB [07:32:32]Write i2c OK [07:32:32]MH_I2C_Read... [07:32:32]Read from MH i2c: 01 [07:32:32]MH_I2C_Read... [07:32:32]Read from MH i2c: 01 07 00 [07:32:32]MH_I2C_Read... [07:32:32]Read from MH i2c: 01 07 00 D9 02 00 00 00 00 00 FF 0F F0 [07:32:32]RasterBufferAndPrint [07:32:32]line Счет N : (1)872499 [07:32:32]line ИНН: 02508201610067 [07:32:32]line Контрольно-Кассовый Чек [07:32:32]line ПРОДАЖА [07:32:32]line ТРК (МРК, ГНК) : 43 [07:32:32]line Товар: 2710124130 [07:32:32]line Аи-92-К-5 [07:32:32]line 8.850 * 67.80 [07:32:32]line = 600.03 [07:32:32]line НДС 12% НСП 1% [07:32:32]line > о реализуемом товаре [07:32:32]line ОКРУГЛЕНИЕ: -0.03 [07:32:32]line ИТОГО: 600.00 [07:32:32]line Внесено: 600.00 [07:32:32]line СДАЧА: 0.00 [07:32:32]line НСП 1% : 5.31 [07:32:32]line НДС 12% : 63.72 [07:32:32]line Наличными: 600.00 [07:32:32]line Безнал.: 0.00 [07:32:32]line Место: АЗС № 137 "Партнер Нефть" [07:32:32]line Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 [07:32:32]line СНО: Общий режим [07:32:32]line Чек 25 24.09.2024 07:32 [07:32:32]line Смена: 72 ФФД: 1.0 [07:32:32]line ЗНМ: 0300000041 [07:32:32]line РНМ: 0000000000190446 [07:32:32]line Версия ККМ: v1.0 [07:32:32]line ФМ: 0000000002094258 [07:32:32]line ФД: 7889 [07:32:32]line ФПД: 14125375781803 [07:32:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T073232&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7889&fm=14125375781803&tin=02508201610067®Number=0000000000190446&sum=60000 [07:32:32]OFD Sender: Processing packet 7889 [packets to send 51, broken 50] [07:32:32]ProducePacketName [07:32:32]name=ofd_packets/00007889 [07:32:32]OFD Sender: To server: pG, [07:32:32]CommunicateWithHost lk.salyk.kg:30040 [07:32:32]ConnectInit lk.salyk.kg [07:32:32]written 0, free lines is 4095 [07:32:33]Write to MH i2c: 01 00 00 04 03 07 [07:32:33]Write i2c OK [07:32:33]MH_I2C_Read... [07:32:33]Read from MH i2c: 01 [07:32:33]MH_I2C_Read... [07:32:33]Read from MH i2c: 01 07 00 [07:32:33]MH_I2C_Read... [07:32:33]Read from MH i2c: 01 07 00 04 03 00 00 00 00 00 E6 0C 00 [07:32:33]RasterBufferAndPrint [07:32:33]line [07:32:33]line [07:32:33]line [07:32:33]line [07:32:33]line [07:32:33]written 0, free lines is 3308 [07:32:33]MH_Cut [07:32:33]Write to MH i2c: D1 01 00 0B 03 01 E0 [07:32:33]Write i2c OK [07:32:33]MH_I2C_Read... [07:32:33]Read from MH i2c: D1 [07:32:33]MH_I2C_Read... [07:32:33]Read from MH i2c: D1 01 00 [07:32:33]MH_I2C_Read... [07:32:33]Read from MH i2c: D1 01 00 0B 03 00 DF [07:32:33]Write to MH i2c: 01 00 00 0C 03 0F [07:32:33]Write i2c OK [07:32:33]MH_I2C_Read... [07:32:34]*** Cut start [07:32:34]*** Purtial cut [07:32:34]*** Stage 1: CUTSNS_PIN = 1 [07:32:34]Read from MH i2c: 01 [07:32:34]MH_I2C_Read... [07:32:34]*** Stop cut motor [07:32:34]*** Cut end [07:32:34]Read from MH i2c: 01 07 00 [07:32:34]MH_I2C_Read... [07:32:34]Read from MH i2c: 01 07 00 0C 03 00 00 00 00 00 FF 0F 24 [07:32:34]process_action close_receipt done [07:32:34]requested_data is exist [07:32:34]produce_requested_data [07:32:34]requested_item fm.sn is exist - process it [07:32:34]wFMCommunicate request_size=4 [07:32:34]MH_SAM_APDU [07:32:34]CAPDU: 80 11 00 00 [07:32:34]Write to MH i2c: E2 08 00 0D 03 80 11 00 00 00 00 00 00 8A [07:32:34]Write i2c OK [07:32:34]MH_I2C_Read... [07:32:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:32:34]Read from MH i2c: E2 [07:32:34]MH_I2C_Read... [07:32:34]Read from MH i2c: E2 17 00 [07:32:34]MH_I2C_Read... [07:32:34]Read from MH i2c: E2 17 00 0D 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 DB [07:32:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [07:32:34]wFMCommunicate OK [07:32:34]requested_item fd.num is exist - process it [07:32:34]SAM_PROTO_GetFieldsCounters [07:32:34]wFMCommunicate request_size=4 [07:32:34]MH_SAM_APDU [07:32:34]CAPDU: 80 13 00 00 [07:32:34]Write to MH i2c: E2 08 00 0E 03 80 13 00 00 00 00 00 00 8D [07:32:34]Write i2c OK [07:32:34]MH_I2C_Read... [07:32:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:32:34]Read from MH i2c: E2 [07:32:34]MH_I2C_Read... [07:32:34]Read from MH i2c: E2 62 00 [07:32:34]MH_I2C_Read... [07:32:34]Read from MH i2c: E2 62 00 0E 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 D1 1E 00 00 0E 04 04 00 48 00 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 2D [07:32:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 D1 1E 00 00 0E 04 04 00 48 00 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 [07:32:34]wFMCommunicate OK [07:32:34]SAM_PROTO_GetFieldsCounters done [07:32:34]requested_item shift.num is exist - process it [07:32:34]requested_item shift.opened is exist - process it [07:32:34]req_shift_opened [07:32:34]FM_GetShiftState [07:32:34]SAM_PROTO_GetShiftState [07:32:34]wFMCommunicate request_size=4 [07:32:34]MH_SAM_APDU [07:32:34]CAPDU: 80 13 01 00 [07:32:34]Write to MH i2c: E2 08 00 0F 03 80 13 01 00 00 00 00 00 8F [07:32:34]Write i2c OK [07:32:34]MH_I2C_Read... [07:32:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:32:34]Read from MH i2c: E2 [07:32:34]MH_I2C_Read... [07:32:34]Read from MH i2c: E2 0E 00 [07:32:34]MH_I2C_Read... [07:32:34]Read from MH i2c: E2 0E 00 0F 03 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 35 [07:32:34]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [07:32:34]wFMCommunicate OK [07:32:34]SAM_PROTO_GetShiftState done [07:32:34]FM_GetShiftState done [07:32:34]req_shift_opened done [07:32:34]requested_item shift.open_date is exist - process it [07:32:34]req_shift_open_date [07:32:34]req_shift_open_date done [07:32:34]produce_requested_data done [07:32:34]produce_requested_data return {"fm.sn":"0000000002094258","fd.num":7889,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [07:32:34]process_action_free close_receipt [07:32:34]json_value_free [07:32:34]json_value_free done [07:32:34]process_json_proto returns [07:32:34]Send response to host [07:32:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002094258","fd.num":7889,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [07:32:34]free response buf [07:32:34]execute_script done [07:32:34]execute_script returns [07:32:34]free content buf [07:32:34]Sock 9.Close socket [07:32:34]Sock 9.Thread stoped [07:32:34]Connected sock=7 [07:32:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 1D 5C 07 01 DB B3 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 92 22 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 63 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 EA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 13 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E4 18 00 00 00 00 07 04 06 00 60 EA 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 10 6B F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D1 1E 00 00 35 04 06 00 0C D8 D2 01 7B AB 22 72 3A FF 44 93 A8 A8 [07:32:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 1B 0C 47 00 52 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 32 30 39 34 32 35 38 10 04 04 00 D1 1E 00 00 F4 03 04 00 CB 15 F2 66 B6 04 01 00 00 EF 25 E6 0F 69 F6 B8 DB [07:32:36]CommunicateWithHost err = 0 [07:32:36]CheckOFDResponse [07:32:36]1017 (14) - 77093643461234 [07:32:36]1041 (16) - 0000000002094258 [07:32:36]1040 (4) - 7889 [07:32:36]1012 (4) - 24.09.2024 01:28 [07:32:36]1206 (1) - 0 [07:32:36]OFD Sender: Remove packet 7889 [07:32:36]ProducePacketName [07:32:36]name=ofd_packets/00007889 [07:32:36]NVStorageDeleteData [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:15]recv_with_timeout no data received [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:40]recv_with_timeout no data received [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]recv_with_timeout no data received [07:35:01]OFD Sender: No OFD packet to send [07:35:06]OFD Sender: No OFD packet to send [07:35:11]OFD Sender: No OFD packet to send [07:35:16]OFD Sender: No OFD packet to send [07:35:21]OFD Sender: No OFD packet to send [07:35:26]OFD Sender: No OFD packet to send [07:35:31]OFD Sender: No OFD packet to send [07:35:36]OFD Sender: No OFD packet to send [07:35:41]OFD Sender: No OFD packet to send [07:35:46]OFD Sender: No OFD packet to send [07:35:51]OFD Sender: No OFD packet to send [07:35:56]OFD Sender: No OFD packet to send [07:36:01]OFD Sender: No OFD packet to send [07:36:06]OFD Sender: No OFD packet to send [07:36:11]OFD Sender: No OFD packet to send [07:36:16]OFD Sender: No OFD packet to send [07:36:21]OFD Sender: No OFD packet to send [07:36:26]OFD Sender: No OFD packet to send [07:36:31]OFD Sender: No OFD packet to send [07:36:36]OFD Sender: No OFD packet to send [07:36:41]OFD Sender: No OFD packet to send [07:36:46]OFD Sender: No OFD packet to send [07:36:51]OFD Sender: No OFD packet to send [07:36:56]OFD Sender: No OFD packet to send [07:37:01]OFD Sender: No OFD packet to send [07:37:06]OFD Sender: No OFD packet to send [07:37:11]OFD Sender: No OFD packet to send [07:37:16]OFD Sender: No OFD packet to send [07:37:21]OFD Sender: No OFD packet to send [07:37:26]OFD Sender: No OFD packet to send [07:37:31]OFD Sender: No OFD packet to send [07:37:36]OFD Sender: No OFD packet to send [07:37:41]OFD Sender: No OFD packet to send [07:37:46]OFD Sender: No OFD packet to send [07:37:51]OFD Sender: No OFD packet to send [07:37:56]OFD Sender: No OFD packet to send [07:38:01]OFD Sender: No OFD packet to send [07:38:06]OFD Sender: No OFD packet to send [07:38:11]OFD Sender: No OFD packet to send [07:38:16]OFD Sender: No OFD packet to send [07:38:21]OFD Sender: No OFD packet to send [07:38:26]OFD Sender: No OFD packet to send [07:38:31]OFD Sender: No OFD packet to send [07:38:36]OFD Sender: No OFD packet to send [07:38:41]OFD Sender: No OFD packet to send [07:38:46]OFD Sender: No OFD packet to send [07:38:51]OFD Sender: No OFD packet to send [07:38:56]OFD Sender: No OFD packet to send [07:39:01]OFD Sender: No OFD packet to send [07:39:06]OFD Sender: No OFD packet to send [07:39:11]OFD Sender: No OFD packet to send [07:39:16]OFD Sender: No OFD packet to send [07:39:21]OFD Sender: No OFD packet to send [07:39:26]OFD Sender: No OFD packet to send [07:39:31]OFD Sender: No OFD packet to send [07:39:36]OFD Sender: No OFD packet to send [07:39:41]OFD Sender: No OFD packet to send [07:39:46]OFD Sender: No OFD packet to send [07:39:51]OFD Sender: No OFD packet to send [07:39:56]OFD Sender: No OFD packet to send [07:40:01]OFD Sender: No OFD packet to send [07:40:06]OFD Sender: No OFD packet to send [07:40:11]OFD Sender: No OFD packet to send [07:40:16]OFD Sender: No OFD packet to send [07:40:21]OFD Sender: No OFD packet to send [07:40:26]OFD Sender: No OFD packet to send [07:40:31]OFD Sender: No OFD packet to send [07:40:36]OFD Sender: No OFD packet to send [07:40:41]OFD Sender: No OFD packet to send [07:40:46]OFD Sender: No OFD packet to send [07:40:51]OFD Sender: No OFD packet to send [07:40:56]OFD Sender: No OFD packet to send [07:41:01]OFD Sender: No OFD packet to send [07:41:06]OFD Sender: No OFD packet to send [07:41:11]OFD Sender: No OFD packet to send [07:41:16]OFD Sender: No OFD packet to send [07:41:21]OFD Sender: No OFD packet to send [07:41:26]OFD Sender: No OFD packet to send [07:41: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:21]recv_with_timeout no data received [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: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:43:47]OFD Sender: No OFD packet to send [07:43:52]OFD Sender: No OFD packet to send [07:43:53]recv_with_timeout no data received [07:43:57]OFD Sender: No OFD packet to send [07:44:02]OFD Sender: No OFD packet to send [07:44:07]OFD Sender: No OFD packet to send [07:44:12]OFD Sender: No OFD packet to send [07:44:17]OFD Sender: No OFD packet to send [07:44:22]OFD Sender: No OFD packet to send [07:44:27]OFD Sender: No OFD packet to send [07:44:32]OFD Sender: No OFD packet to send [07:44:37]OFD Sender: No OFD packet to send [07:44:42]OFD Sender: No OFD packet to send [07:44:47]OFD Sender: No OFD packet to send [07:44:52]OFD Sender: No OFD packet to send [07:44:57]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: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:29]accept exits with 10 [07:47:29]New connection [07:47:29]New thread 3067632996 created [07:47:29]Thread 3067489636 joined [07:47:29]Waiting for new connection... [07:47:29] Sock 10.Parse request [07:47:29]Sock 10.Check first char [07:47:29]Sock 10.First char is OK [07:47:29]request: POST /json_proto HTTP/1.0 [07:47:29]Method: POST [07:47:29]URL: /json_proto [07:47:29]Method is POST - this is cgi request [07:47:29]url: /json_proto [07:47:29]query_string will be loaded in cgi processing [07:47:29]execute_cgi json_proto POST (null) [07:47:29]execute_cgi path=json_proto method=POST [07:47:29]POST find Content-Length [07:47:29]Host: 172.17.47.195:8080 [07:47:29]Content-Length: 687 [07:47:29]Content-Type: application/json [07:47:29] [07:47:29]POST finish read [07:47:29]Found Content-Length = 687 [07:47:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872503", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 34", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 76.20, "quantity" : 17.070, "sum" : 1300.73, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1300.00, "total" : 1300.00, "payments": [ { "type": 0, "sum" : 1300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:47:29]execute_script... [07:47:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872503", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 34", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 76.20, "quantity" : 17.070, "sum" : 1300.73, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1300.00, "total" : 1300.00, "payments": [ { "type": 0, "sum" : 1300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:47:29]POST & json_proto [07:47:29]process_json_proto [07:47:29]json parsed OK: [07:47:29]protocol is kg_v1.0 [07:47:29]action value=close_receipt [07:47:29]process_action close_receipt [07:47:29]cmd_close_receipt [07:47:29]MH_GetDate [07:47:29]Write to MH i2c: F0 00 00 10 03 02 [07:47:29]Write i2c OK [07:47:29]MH_I2C_Read... [07:47:29]Read from MH i2c: F0 [07:47:29]MH_I2C_Read... [07:47:29]Read from MH i2c: F0 09 00 [07:47:29]MH_I2C_Read... [07:47:29]Read from MH i2c: F0 09 00 10 03 00 93 6E F2 66 96 2E 95 66 23 [07:47:29]GetLastDocTimeStamp 1727163152 [07:47:29]current date 1727164051 [07:47:29]FM_GetShiftState [07:47:29]SAM_PROTO_GetShiftState [07:47:29]wFMCommunicate request_size=4 [07:47:29]MH_SAM_APDU [07:47:29]CAPDU: 80 13 01 00 [07:47:29]Write to MH i2c: E2 08 00 11 03 80 13 01 00 00 00 00 00 91 [07:47:29]Write i2c OK [07:47:29]MH_I2C_Read... [07:47:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:47:29]Read from MH i2c: E2 [07:47:29]MH_I2C_Read... [07:47:29]Read from MH i2c: E2 0E 00 [07:47:29]MH_I2C_Read... [07:47:29]Read from MH i2c: E2 0E 00 11 03 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 37 [07:47:29]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [07:47:29]wFMCommunicate OK [07:47:29]SAM_PROTO_GetShiftState done [07:47:29]FM_GetShiftState done [07:47:29]opened in 1727137340 [07:47:29]opened+sec_in_day 1727223740 [07:47:29]quantity*price = 130073 [07:47:29]sum+1 = 130074 [07:47:29]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.73 ИТОГО: 1300.00 Внесено: 1300.00 СДАЧА: 0.00 НСП 1% : 11.51 НДС 12% : 138.13 Наличными: 1300.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 26 24.09.2024 07:47 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 ФМ: 0000000002094258 ФД: 7890 ФПД: 178210684607237 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T074731&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7890&fm=178210684607237&tin=02508201610067®Number=0000000000190446&sum=130000 [07:47:30]StoreToDocumentArchive [07:47:30]shift 72 fd 7890 [07:47:30]save to /storage/0072/doc_00007890 [07:47:30]save last doc name /storage/0072/doc_00007890 to /storage/kkm_last_doc_name [07:47:30]save OK [07:47:30]Clear old archive folders... [07:47:30]ProcessDocumentItem done err = 0, tmpTLVsize=252 [07:47:30]tlvbuf is 010608C0 [07:47:30]SAM_PROTO_ClearQueue [07:47:30]wFMCommunicate request_size=4 [07:47:30]MH_SAM_APDU [07:47:30]CAPDU: 80 09 00 00 [07:47:30]Write to MH i2c: E2 08 00 1E 03 80 09 00 00 00 00 00 00 93 [07:47:30]Write i2c OK [07:47:30]MH_I2C_Read... [07:47:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:47:30]Read from MH i2c: E2 [07:47:30]MH_I2C_Read... [07:47:30]Read from MH i2c: E2 03 00 [07:47:30]MH_I2C_Read... [07:47:30]Read from MH i2c: E2 03 00 1E 03 00 90 00 95 [07:47:30]RAPDU: 90 00 [07:47:30]wFMCommunicate OK [07:47:30]SAM_PROTO_ClearQueue done [07:47:30]KKMCreateOFDPacket [07:47:30]OFDProtocolAddRootSTLVToBuf [07:47:30]FM_MakeSignedData [07:47:30]FM_MakeSignedData [07:47:30]SAM_PROTO_SignData [07:47:30]wFMCommunicate request_size=4 [07:47:30]MH_SAM_APDU [07:47:30]CAPDU: 80 0D 01 02 [07:47:30]Write to MH i2c: E2 08 00 1F 03 80 0D 01 02 00 00 00 00 9B [07:47:30]Write i2c OK [07:47:30]MH_I2C_Read... [07:47:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:47:30]Read from MH i2c: E2 [07:47:30]MH_I2C_Read... [07:47:30]Read from MH i2c: E2 03 00 [07:47:30]MH_I2C_Read... [07:47:30]Read from MH i2c: E2 03 00 1F 03 00 90 00 96 [07:47:30]RAPDU: 90 00 [07:47:30]wFMCommunicate OK [07:47:30]wFMCommunicate request_size=255 [07:47:30]MH_SAM_APDU [07:47:30]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 AE 42 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 19 FC 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 FB 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 35 00 00 00 00 07 04 06 00 D0 FB 01 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 93 6E F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D2 1E 00 00 35 04 06 00 [07:47:30]Write to MH i2c: E2 02 01 20 03 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 AE 42 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 19 FC 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 FB 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 35 00 00 00 00 07 04 06 00 D0 FB 01 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 93 6E F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D2 1E 00 00 35 04 06 00 00 00 B3 [07:47:30]Write i2c OK [07:47:30]MH_I2C_Read... [07:47:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:47:30]Read from MH i2c: E2 [07:47:30]MH_I2C_Read... [07:47:30]Read from MH i2c: E2 03 00 [07:47:30]MH_I2C_Read... [07:47:30]Read from MH i2c: E2 03 00 20 03 00 90 00 97 [07:47:30]RAPDU: 90 00 [07:47:30]wFMCommunicate OK [07:47:30]wFMCommunicate request_size=11 [07:47:30]MH_SAM_APDU [07:47:30]CAPDU: 80 0D 02 02 06 A2 14 E8 8D 1B 05 [07:47:30]Write to MH i2c: E2 0E 00 21 03 80 0D 02 02 06 00 A2 14 E8 8D 1B 05 00 00 F5 [07:47:30]Write i2c OK [07:47:30]MH_I2C_Read... [07:47:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:47:31]Read from MH i2c: E2 [07:47:31]MH_I2C_Read... [07:47:31]Read from MH i2c: E2 03 00 [07:47:31]MH_I2C_Read... [07:47:31]Read from MH i2c: E2 03 00 21 03 00 90 00 98 [07:47:31]RAPDU: 90 00 [07:47:31]wFMCommunicate OK [07:47:31]wFMCommunicate request_size=4 [07:47:31]MH_SAM_APDU [07:47:31]CAPDU: 80 0D 03 02 [07:47:31]Write to MH i2c: E2 08 00 22 03 80 0D 03 02 00 00 00 00 A0 [07:47:31]Write i2c OK [07:47:31]MH_I2C_Read... [07:47:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:47:31]Read from MH i2c: E2 [07:47:31]MH_I2C_Read... [07:47:31]Read from MH i2c: E2 0B 00 [07:47:31]MH_I2C_Read... [07:47:31]Read from MH i2c: E2 0B 00 22 03 00 27 71 69 A6 D9 68 F6 C5 90 00 44 [07:47:31]RAPDU: 27 71 69 A6 D9 68 F6 C5 90 00 [07:47:31]wFMCommunicate OK [07:47:31]SAM_PROTO_SignData done [07:47:31]FM_MakeSignedData done [07:47:31]CreateOFDProtocolMessage [07:47:31]wFMCommunicate request_size=4 [07:47:31]MH_SAM_APDU [07:47:31]CAPDU: 80 11 00 00 [07:47:31]Write to MH i2c: E2 08 00 23 03 80 11 00 00 00 00 00 00 A0 [07:47:31]Write i2c OK [07:47:31]MH_I2C_Read... [07:47:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:47:31]Read from MH i2c: E2 [07:47:31]MH_I2C_Read... [07:47:31]Read from MH i2c: E2 17 00 [07:47:31]MH_I2C_Read... [07:47:31]Read from MH i2c: E2 17 00 23 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 F1 [07:47:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [07:47:31]wFMCommunicate OK [07:47:31]CreateOFDProtocolMessage done [07:47:31]OFDSenderStorePacket 7890 [07:47:31]StoreOFDPacket docnum=7890 [00:00:10] *** EcrCore started. Build 196 *** [00:00:10]/dev/ttyS4 opened [00:00:10]MH_InterfaceInit /dev/i2c-1 [00:00:10]Malloc ok [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 01 00 00 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 01 00 00 03 33 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 24 E0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 1B [00:00:10]Are we in boot? [00:00:10]We are in boot - try to switch [00:00:10]Write to MH i2c: A0 00 00 02 00 A1 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]*** Check firmware version 30515, crc_r 5823D75D, crc_c: 5823D75D, size: 52480 [00:00:10]*** [00:00:10]Read from MH i2c: A0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:10]*** Starting fw at address 01020100 (2007E318 010246F9) [00:00:10]*** Waiting for read because exit forced [00:00:10]*** 10 ms more... [00:00:10]*** MH1903 init start (LINUX_LIGHT) [00:00:10]*** Serial: 3139303353513838 54000000005724E0 (1903SQ88T) [00:00:10]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:10]*** step 0: 5000 (2650, 2350 REF) [00:00:10]*** step 1: 4835 (2500, 2335 REF) [00:00:10]*** step 2: 4676 (2440, 2236 REF) [00:00:10]*** step 3: 42160, 2216 REF) [00:00:10]*** step 5: 4235 (2050, 2185 REF) [00:00:10]*** step 6: 4098 (1950, 2148 REF) [00:00:10]*** step 7: 3967 (1870, 2097 REF) [00:00:10]*** step 8: 3840 (1828, 2012 REF) [00:00:10]*** step 9: 3719 (1728, 1991 REF) [00:00:10]*** step 10: 3601 (1675, 1926 REF) [00:00:10]*** step 11: 3488 (1635, 1853 REF) [00:00:10]*** step 12: 3379 (1595, 1784 REF) [00:00:10]*** step 13: 3275 (1565, 1710 REF) [00:00:10]*** step 14: 3174 (1543, 1631 REF) [00:00:10]*** step 15: 3077 (1523, 1554 REF) [00:00:10]*** step 16: 2983 (1503, 1480 REF) [00:00:10]*** step 17: 2893 (1486, 1407 REF) [00:00:10]*** step 18: 2806 (1466, 1340 REF) [00:00:10]*** step 19: 2723 (1426, 1297 REF) [00:00:10]*** step 20: 2642 (1406, 1236 REF) [00:00:10]*** step 21: 2565 (1384, 1181 REF) [00:00:10]*** step 22: 2490 (1364, 1126 REF) [00:00:10]*** step 23: 2418 (1344, 1074 REF) [00:00:10]*** step 24: 2349 (1322, 1027 REF) [00:00:10]*** step 25: 2283 (1302, 981 REF) [00:00:10]*** step 26: 2218 (1282, 936 REF) [00:00:10]*** step 27: 2157 (1262, 895 REF) [00:00:10]*** step 28: 2097 (1242, 855 REF) [00:00:10]*** step 29: 2040 (1222, 818 REF) [00:00:10]*** step 30: 1985 (1202, 783 REF) [00:00:10]*** step 31: 1932 (1191, 741 REF) [00:00:10]*** step 32: 1880 (1181, 699 REF) [00:00:10]*** step 33: 1831 (1171, 660 REF) [00:00:10]*** step 34: 1784 (1161, 623 REF) [00:00:10]*** step 35: 1738 (1151, 587 REF) [00:00:10]*** step 36: 1694 (1141, 553 REF) [00:00:10]*** step 37: 1652 (1131, 521 REF) [00:00:10]*** step 38: 1611 (1121, 490 REF) [00:00:10]*** step 39: 1572 (1111, 461 REF) [00:00:10]*** step 40: 1534 (1103, 431 REF) [00:00:10]*** step 41: 1497 (1093, 404 REF) [00:00:10]*** step 42: 1462 (1083, 379 REF) [00:00:10]*** step 43: 1428 (1073, 355 REF) [00:00:10]*** step 44: 1396 (1063, 333 REF) [00:00:10]*** step 45: 1365 (1053, 312 REF) [00:00:10]*** step 46: 1334 (1043, 291 REF) [00:00:10]*** step 47: 1305 (1033, 272 REF) [00:00:10]*** step 48: 1277 (1023, 254 REF) [00:00:10]*** step 49: 1250 (1013, 237 REF) [00:00:10]*** step 50: 1224 (990, 234 REF) [00:00:10]*** step 51: 1199 (980, 219 REF) [00:00:10]*** step 52: 1175 (970, 205 REF) [00:00:10]*** step 53: 1152 (960, 192 REF) [00:00:10]*** step 54: 1130 (950, 180 REF) [00:00:10]*** step 55: 1108 (940, 168 REF) [00:00:10]*** step 56: 1088 (930, 158 REF) [00:00:10]*** step 57: 1068 (920, 148 REF) [00:00:10]*** step 58: 1049 (910, 139 REF) [00:00:10]*** step 59: 1030 (900, 130 REF) [00:00:10]*** step 60: 1012 (890, 122 REF) [00:00:10]*** step 61: 995 (880, 115 REF) [00:00:10]*** step 62: 979 (870, 109 REF) [00:00:10]*** step 63: 963 (860, 103 REF) [00:00:10]*** step 64: 948 (850, 98 REF) [00:00:10]*** step 65: 933 (840, 93 REF) [00:00:10]*** step 66: 919 (830, 89 REF) [00:00:10]*** step 67: 905 (820, 85 REF) [00:00:10]*** step 68: 892 (810, 82 REF) [00:00:10]*** step 69: 879 (800, 79 REF) [00:00:10]*** step 70: 867 (790, 77 REF) [00:00:10]*** step 71: 855 (780, 75 REF) [00:00:10]*** step 72: 844 (770, 74 REF) [00:00:10]*** step 73: 833 (760, 73 REF) [00:00:10]*** step 74: 822 (750, 72 REF) [00:00:10]*** step 75: 812 (740, 72 REF) [00:00:10]*** step 76: 803 (730, 73 REF) [00:00:10]*** step 77: 793 (720, 73 REF) [00:00:10]*** step 78: 784 (710, 74 REF) [00:00:10]*** step 79: 776 (700, 76 REF) [00:00:10]*** step 80: 767 (690, 77 REF) [00:00:10]*** step 81: 759 (680, 79 REF) [00:00:10]*** step 82: 751 (670, 81 REF) [00:00:10]*** step 83: 744 (660, 84 REF) [00:00:10]*** step 84: 737 (650, 87 REF) [00:00:10]*** step 85: 730 (640, 90 REF) [00:00:10]*** step 86: 723 (630, 93 REF) [00:00:10]*** step 87: 717 (620, 97 REF) [00:00:10]*** step 88: 710 (610, 100 REF) [00:00:10]*** step 89: 705 (600, 105 REF) [00:00:10]*** step 90: 699 [00:00:10]*** step 91: 693 [00:00:10]*** step 92: 688 [00:00:10]*** step 93: 683 [00:00:10]*** step 94: 678 [00:00:10]*** step 95: 673 [00:00:10]*** step 96: 669 [00:00:10]*** step 97: 664 [00:00:10]*** step 98: 660 [00:00:10]*** step 99: 656 [00:00:10]*** step 100: 652 [00:00:10]*** step 101: 648 [00:00:10]*** step 102: 644 [00:00:10]*** step 103: 641 [00:00:10]*** step 104: 638 [00:00:10]*** step 105: 634 [00:00:10]*** step 106: 631 [00:00:10]*** step 107: 628 [00:00:10]*** step 108: 625 [00:00:10]*** step 109: 622 [00:00:10]*** step 110: 620 [00:00:10]*** step 111: 617 [00:00:10]*** step 112: 615 [00:00:10]*** step 113: 612 [00:00:10]*** step 114: 610 [00:00:10]*** step 115: 608 [00:00:10]*** step 116: 605 [00:00:10]*** step 117: 603 [00:00:10]*** step 118: 601 [00:00:10]*** step 119: 599 [00:00:10]*** printer: Printer HW initialized [00:00:10]*** initSamCard finished [00:00:10]*** RTC: 6114574+1721052822=1727167396 [00:00:10]*** BPK Status Register BPK_RDY = 0x0 [00:00:10]*** SEN State Register SEN_STATE = 0x200ff [00:00:10]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:10]*** Analog Control Register 0 SEN_ANA0 = 0x33510623 [00:00:11]MH_GetMetrics [00:00:11]Write to MH i2c: 00 00 00 03 00 02 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 03 00 00 03 33 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 24 E0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 1C [00:00:11]Are we in boot? [00:00:11]We are not in boot now [00:00:11]Write to MH i2c: 01 00 00 04 00 04 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:11]Model is 3 [00:00:11]MH firmware is 30515 [00:00:11]MH boot firmware is 3 [00:00:11]MH_SetPrinterDots 448 [00:00:11]HeadWidthInBytes 56 [00:00:11]maxmasksize 7 [00:00:11]Write to MH i2c: D6 06 00 05 00 41 00 60 00 FF FF 7F [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:11]Write to MH i2c: D5 00 00 06 00 DA [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]ExternCall_SetCallbacks [00:00:11]NVStorageInit [00:00:11]MH_GetDate [00:00:11]Write to MH i2c: F0 00 00 07 00 F6 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 07 00 00 A5 7B F2 66 96 2E 95 66 36 [08:43:17]Current date/time: 24.09.2024 08:43 [08:43:17]FM_Init [08:43:17]wFMConnect [08:43:17]MH_SAM_On [08:43:17]Write to MH i2c: E0 00 00 08 00 E7 [08:43:17]Write i2c OK [08:43:17]MH_I2C_Read... [08:43:17]*** iso7816_init finished! [08:43:17]*** atr: [08:43:17]*** 0F 3B D5 18 FF 81 91 FE [08:43:17]*** 1F C3 80 73 C8 21 10 0A [08:43:17]*** 00 00 00 00 00 00 00 00 [08:43:17]*** 00 00 00 00 00 00 00 00 [08:43:17]*** 00 00 00 00 00 00 00 00 [08:43:17]*** 00 00 00 00 00 00 00 00 [08:43:17]*** 00 00 00 00 00 00 00 00 [08:43:17]*** 00 00 00 00 00 00 00 00 [08:43:17]Read from MH i2c: E0 [08:43:17]MH_I2C_Read... [08:43:17]Read from MH i2c: E0 10 00 [08:43:17]MH_I2C_Read... [08:43:17]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [08:43:17]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [08:43:17]wFMCommunicate request_size=10 [08:43:17]MH_SAM_APDU [08:43:17]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [08:43:17]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [08:43:17]Write i2c OK [08:43:17]MH_I2C_Read... [08:43:17]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [08:43:17]Read from MH i2c: E2 [08:43:17]MH_I2C_Read... [08:43:17]Read from MH i2c: E2 03 00 [08:43:17]MH_I2C_Read... [08:43:17]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [08:43:17]RAPDU: 90 00 [08:43:17]wFMCommunicate OK [08:43:17]wFMCommunicate request_size=4 [08:43:17]MH_SAM_APDU [08:43:17]CAPDU: 80 11 00 00 [08:43:17]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [08:43:17]Write i2c OK [08:43:17]MH_I2C_Read... [08:43:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:43:17]Read from MH i2c: E2 [08:43:17]MH_I2C_Read... [08:43:17]Read from MH i2c: E2 17 00 [08:43:17]MH_I2C_Read... [08:43:17]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 D5 [08:43:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [08:43:17]wFMCommunicate OK [08:43:17]Detected FM SN is 0000000002094258 [08:43:17]Stored FM SN is 0000000002094258 [08:43:17]wFMCommunicate request_size=9 [08:43:17]MH_SAM_APDU [08:43:17]CAPDU: 80 16 00 00 04 BC C2 00 00 [08:43:17]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 BC C2 00 00 00 00 10 [08:43:17]Write i2c OK [08:43:17]MH_I2C_Read... [08:43:17]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [08:43:17]Read from MH i2c: E2 [08:43:17]MH_I2C_Read... [08:43:17]Read from MH i2c: E2 03 00 [08:43:17]MH_I2C_Read... [08:43:17]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [08:43:17]RAPDU: 90 00 [08:43:17]wFMCommunicate OK [08:43:17]FM PIN OK [08:43:17]wFMCommunicate request_size=8 [08:43:17]MH_SAM_APDU [08:43:17]CAPDU: 80 14 04 00 03 02 00 01 [08:43:17]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [08:43:17]Write i2c OK [08:43:17]MH_I2C_Read... [08:43:17]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [08:43:17]Read from MH i2c: E2 [08:43:17]MH_I2C_Read... [08:43:17]Read from MH i2c: E2 03 00 [08:43:17]MH_I2C_Read... [08:43:17]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [08:43:17]RAPDU: 90 00 [08:43:17]wFMCommunicate OK [08:43:17]wFMCommunicate request_size=13 [08:43:17]MH_SAM_APDU [08:43:17]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [08:43:17]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [08:43:17]Write i2c OK [08:43:17]MH_I2C_Read... [08:43:17]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [08:43:17]Read from MH i2c: E2 [08:43:17]MH_I2C_Read... [08:43:17]Read from MH i2c: E2 03 00 [08:43:17]MH_I2C_Read... [08:43:17]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [08:43:17]RAPDU: 90 00 [08:43:17]wFMCommunicate OK [08:43:17]wFMCommunicate request_size=4 [08:43:17]MH_SAM_APDU [08:43:17]CAPDU: 80 11 00 00 [08:43:17]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [08:43:17]Write i2c OK [08:43:17]MH_I2C_Read... [08:43:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:43:17]Read from MH i2c: E2 [08:43:17]MH_I2C_Read... [08:43:17]Read from MH i2c: E2 17 00 [08:43:17]MH_I2C_Read... [08:43:17]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 D9 [08:43:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [08:43:17]wFMCommunicate OK [08:43:17]DocumentArchiveInit [08:43:17]Start Httpd... [08:43:17]Httpd thread 3067358564 created [08:43:17]Write to MH i2c: 01 00 00 0F 00 0F [08:43:17]Write i2c OK [08:43:17]MH_I2C_Read... [08:43:17]Read from MH i2c: 01 [08:43:17]MH_I2C_Read... [08:43:17]Read from MH i2c: 01 07 00 [08:43:17]MH_I2C_Read... [08:43:17]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [08:43:17]Allocated Socket 6 [08:43:17]Bind OK [08:43:17]Listen OK [08:43:17]httpd running on port 8080 [08:43:17]Waiting for new connection... [08:43:17]MH Int Process started [08:43:17]OFD Sender: Processing packet 7890 [packets to send 51, broken 50] [08:43:17]ProducePacketName [08:43:17]name=ofd_packets/00007890 [08:43:17]OFD Sender: To server: pG, [08:43:17]CommunicateWithHost lk.salyk.kg:30040 [08:43:17]ConnectInit lk.salyk.kg [08:43:18]Connected sock=5 [08:43:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 01 00 00 7B 8A 08 01 92 A0 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 AE 42 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 19 FC 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 FB 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 35 00 00 00 00 07 04 06 00 D0 FB 01 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 93 6E F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D2 1E 00 00 35 04 06 00 A2 14 E8 8D 1B 05 27 71 69 A6 D9 68 F6 C5 [08:43:20]accept exits with 7 [08:43:20]New connection [08:43:20]New thread 3067071844 created [08:43:20]Waiting for new connection... [08:43:20] Sock 7.Parse request [08:43:20]Sock 7.Check first char [08:43:20]Sock 7.First char is OK [08:43:20]request: POST /json_proto HTTP/1.0 [08:43:20]Method: POST [08:43:20]URL: /json_proto [08:43:20]Method is POST - this is cgi request [08:43:20]url: /json_proto [08:43:20]query_string will be loaded in cgi processing [08:43:20]execute_cgi json_proto POST (null) [08:43:20]execute_cgi path=json_proto method=POST [08:43:20]POST find Content-Length [08:43:20]Host: 172.17.47.195:8080 [08:43:20]Content-Length: 215 [08:43:20]Content-Type: application/json [08:43:20] [08:43:20]POST finish read [08:43:20]Found Content-Length = 215 [08:43:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:43:20]execute_script... [08:43:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:43:20]POST & json_proto [08:43:20]process_json_proto [08:43:20]json parsed OK: [08:43:20]protocol is kg_v1.0 [08:43:20]action value=get_value [08:43:20]process_action get_value [08:43:20]cmd_get_value [08:43:20]process_action get_value done [08:43:20]requested_data is exist [08:43:20]produce_requested_data [08:43:20]requested_item kkm.sn is exist - process it [08:43:20]requested_item kkm.ver is exist - process it [08:43:20]requested_item fm.sn is exist - process it [08:43:20]wFMCommunicate request_size=4 [08:43:20]MH_SAM_APDU [08:43:20]CAPDU: 80 11 00 00 [08:43:20]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [08:43:20]Write i2c OK [08:43:20]MH_I2C_Read... [08:43:20]Read from MH i2c: E2 [08:43:20]MH_I2C_Read... [08:43:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:43:20]Read from MH i2c: E2 17 00 [08:43:20]MH_I2C_Read... [08:43:20]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 DB [08:43:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [08:43:20]wFMCommunicate OK [08:43:20]requested_item fd.num is exist - process it [08:43:20]SAM_PROTO_GetFieldsCounters [08:43:20]wFMCommunicate request_size=4 [08:43:20]MH_SAM_APDU [08:43:20]CAPDU: 80 13 00 00 [08:43:20]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [08:43:20]Write i2c OK [08:43:20]MH_I2C_Read... [08:43:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:43:21]Read from MH i2c: E2 [08:43:21]MH_I2C_Read... [08:43:21]Read from MH i2c: E2 62 00 [08:43:21]MH_I2C_Read... [08:43:21]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 D2 1E 00 00 0E 04 04 00 48 00 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 31 [08:43:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 D2 1E 00 00 0E 04 04 00 48 00 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 [08:43:21]wFMCommunicate OK [08:43:21]SAM_PROTO_GetFieldsCounters done [08:43:21]requested_item shift.num is exist - process it [08:43:21]requested_item shift.opened is exist - process it [08:43:21]req_shift_opened [08:43:21]FM_GetShiftState [08:43:21]SAM_PROTO_GetShiftState [08:43:21]wFMCommunicate request_size=4 [08:43:21]MH_SAM_APDU [08:43:21]CAPDU: 80 13 01 00 [08:43:21]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [08:43:21]Write i2c OK [08:43:21]MH_I2C_Read... [08:43:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:43:21]Read from MH i2c: E2 [08:43:21]MH_I2C_Read... [08:43:21]Read from MH i2c: E2 0E 00 [08:43:21]MH_I2C_Read... [08:43:21]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 35 [08:43:21]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [08:43:21]wFMCommunicate OK [08:43:21]SAM_PROTO_GetShiftState done [08:43:21]FM_GetShiftState done [08:43:21]req_shift_opened done [08:43:21]requested_item shift.open_date is exist - process it [08:43:21]req_shift_open_date [08:43:21]req_shift_open_date done [08:43:21]produce_requested_data done [08:43:21]produce_requested_data return {"kkm.sn":"0300000041","kkm.ver":"v1.0","fm.sn":"0000000002094258","fd.num":7890,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [08:43:21]process_action_free get_value [08:43:21]json_value_free [08:43:21]json_value_free done [08:43:21]process_json_proto returns [08:43:21]Send response to host [08:43:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000041","kkm.ver":"v1.0","fm.sn":"0000000002094258","fd.num":7890,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [08:43:21]free response buf [08:43:21]execute_script done [08:43:21]execute_script returns [08:43:21]free content buf [08:43:21]Sock 7.Close socket [08:43:21]Sock 7.Thread stoped [08:43:21]accept exits with 10 [08:43:21]New connection [08:43:21]New thread 3066928484 created [08:43:21]Thread 3067071844 joined [08:43:21]Waiting for new connection... [08:43:21] Sock 10.Parse request [08:43:21]Sock 10.Check first char [08:43:21]Sock 10.First char is OK [08:43:21]request: POST /json_proto HTTP/1.0 [08:43:21]Method: POST [08:43:21]URL: /json_proto [08:43:21]Method is POST - this is cgi request [08:43:21]url: /json_proto [08:43:21]query_string will be loaded in cgi processing [08:43:21]execute_cgi json_proto POST (null) [08:43:21]execute_cgi path=json_proto method=POST [08:43:21]POST find Content-Length [08:43:21]Host: 172.17.47.195:8080 [08:43:21]Content-Length: 331 [08:43:21]Content-Type: application/json [08:43:21] [08:43:21]POST finish read [08:43:21]Found Content-Length = 331 [08:43:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:43:21]execute_script... [08:43:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:43:21]POST & json_proto [08:43:21]process_json_proto [08:43:21]json parsed OK: [08:43:21]protocol is kg_v1.0 [08:43:21]action value=get_value [08:43:21]process_action get_value [08:43:21]cmd_get_value [08:43:21]process_action get_value done [08:43:21]requested_data is exist [08:43:21]produce_requested_data [08:43:21]requested_item fm.sale.total is exist - process it [08:43:21]SAM_PROTO_GetFMData [08:43:21]wFMCommunicate request_size=4 [08:43:21]MH_SAM_APDU [08:43:21]CAPDU: 80 13 03 00 [08:43:21]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [08:43:21]Write i2c OK [08:43:21]MH_I2C_Read... [08:43:21]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [08:43:21]Read from MH i2c: E2 [08:43:21]MH_I2C_Read... [08:43:21]Read from MH i2c: E2 FD 00 [08:43:21]MH_I2C_Read... [08:43:21]Read from MH i2c: E2 FD 00 13 00 00 C1 04 85 04 BD 04 6E 04 04 00 42 1E 00 00 69 04 A0 00 6F 04 04 00 15 1E 00 00 B1 04 04 00 EB BC F5 31 70 04 04 00 B0 F7 FB 29 72 04 04 00 3B C5 F9 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 79 82 4E 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 0E 35 71 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2D 00 00 00 B1 04 04 00 3C 5C 66 01 70 04 04 00 3C 5C 66 01 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A2 0E 26 EF 03 09 00 F6 03 01 90 00 CA [08:43:21]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 42 1E 00 00 69 04 A0 00 6F 04 04 00 15 1E 00 00 B1 04 04 00 EB BC F5 31 70 04 04 00 B0 F7 FB 29 72 04 04 00 3B C5 F9 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 79 82 4E 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 0E 35 71 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2D 00 00 00 B1 04 04 00 3C 5C 66 01 70 04 04 00 3C 5C 66 01 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A2 0E 26 EF 03 09 00 F6 03 01 90 00 [08:43:21]wFMCommunicate OK [08:43:21]wFMCommunicate request_size=4 [08:43:21]MH_SAM_APDU [08:43:21]CAPDU: 80 17 00 00 [08:43:21]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [08:43:21]Write i2c OK [08:43:21]MH_I2C_Read... [08:43:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:43:21]Read from MH i2c: E2 [08:43:21]MH_I2C_Read... [08:43:21]Read from MH i2c: E2 FD 00 [08:43:21]MH_I2C_Read... [08:43:21]Read from MH i2c: E2 FD 00 14 00 00 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E7 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 D9 [08:43:21]RAPDU: 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E7 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [08:43:21]wFMCommunicate OK [08:43:21]wFMCommunicate request_size=4 [08:43:21]MH_SAM_APDU [08:43:21]CAPDU: 80 17 00 00 [08:43:21]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [08:43:21]Write i2c OK [08:43:21]MH_I2C_Read... [08:43:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:43:22]Read from MH i2c: E2 [08:43:22]MH_I2C_Read... [08:43:22]Read from MH i2c: E2 FD 00 [08:43:22]MH_I2C_Read... [08:43:22]Read from MH i2c: E2 FD 00 15 00 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 35 [08:43:22]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:43:22]wFMCommunicate OK [08:43:22]wFMCommunicate request_size=4 [08:43:22]MH_SAM_APDU [08:43:22]CAPDU: 80 17 00 00 [08:43:22]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [08:43:22]Write i2c OK [08:43:22]MH_I2C_Read... [08:43:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:43:22]Read from MH i2c: E2 [08:43:22]MH_I2C_Read... [08:43:22]Read from MH i2c: E2 FD 00 [08:43:22]MH_I2C_Read... [08:43:22]Read from MH i2c: E2 FD 00 16 00 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1B [08:43:22]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:43:22]wFMCommunicate OK [08:43:22]wFMCommunicate request_size=4 [08:43:22]MH_SAM_APDU [08:43:22]CAPDU: 80 17 00 00 [08:43:22]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [08:43:22]Write i2c OK [08:43:22]MH_I2C_Read... [08:43:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [08:43:22]Read from MH i2c: E2 [08:43:22]MH_I2C_Read... [08:43:22]Read from MH i2c: E2 DE 00 [08:43:22]MH_I2C_Read... [08:43:22]Read from MH i2c: E2 DE 00 17 00 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 76 [08:43:22]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:43:22]wFMCommunicate OK [08:43:22]SAM_PROTO_GetFMData done [08:43:22]requested_item fm.sale_refund.total is exist - process it [08:43:22]requested_item fm.buy.total is exist - process it [08:43:22]requested_item shift.sale.total is exist - process it [08:43:22]SAM_PROTO_GetShiftData [08:43:22]wFMCommunicate request_size=4 [08:43:22]MH_SAM_APDU [08:43:22]CAPDU: 80 13 02 00 [08:43:22]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [08:43:22]Write i2c OK [08:43:22]MH_I2C_Read... [08:43:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 86 68 47 00 E9 E4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D2 1E 00 00 F4 03 04 00 61 26 F2 66 B6 04 01 00 00 76 81 0A EE 07 48 11 F0 [08:43:22]CommunicateWithHost err = 0 [08:43:22]CheckOFDResponse [08:43:22]1017 (14) - 77093643461234 [08:43:22]1041 (16) - 0000000002094258 [08:43:22]1040 (4) - 7890 [08:43:22]1012 (4) - 24.09.2024 02:39 [08:43:22]1206 (1) - 0 [08:43:22]OFD Sender: Remove packet 7890 [08:43:22]ProducePacketName [08:43:22]name=ofd_packets/00007890 [08:43:22]NVStorageDeleteData [08:43:23]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:43:23]Read from MH i2c: E2 [08:43:23]MH_I2C_Read... [08:43:23]Read from MH i2c: E2 FD 00 [08:43:23]MH_I2C_Read... [08:43:23]Read from MH i2c: E2 FD 00 18 00 00 AB 04 AA 04 A7 04 6E 04 04 00 1A 00 00 00 69 04 98 00 6F 04 04 00 1A 00 00 00 B1 04 03 00 90 0A 24 70 04 03 00 90 0A 24 72 04 00 00 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 25 D4 03 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 AD 51 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F8 [08:43:23]RAPDU: AB 04 AA 04 A7 04 6E 04 04 00 1A 00 00 00 69 04 98 00 6F 04 04 00 1A 00 00 00 B1 04 03 00 90 0A 24 70 04 03 00 90 0A 24 72 04 00 00 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 25 D4 03 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 AD 51 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:43:23]wFMCommunicate OK [08:43:23]wFMCommunicate request_size=4 [08:43:23]MH_SAM_APDU [08:43:23]CAPDU: 80 17 00 00 [08:43:23]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [08:43:23]Write i2c OK [08:43:23]MH_I2C_Read... [08:43:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:43:23]Read from MH i2c: E2 [08:43:23]MH_I2C_Read... [08:43:23]Read from MH i2c: E2 FD 00 [08:43:23]MH_I2C_Read... [08:43:23]Read from MH i2c: E2 FD 00 19 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 AE [08:43:23]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [08:43:23]wFMCommunicate OK [08:43:23]wFMCommunicate request_size=4 [08:43:23]MH_SAM_APDU [08:43:23]CAPDU: 80 17 00 00 [08:43:23]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [08:43:23]Write i2c OK [08:43:23]MH_I2C_Read... [08:43:23]OFD Sender: No OFD packet to send [08:43:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:43:23]Read from MH i2c: E2 [08:43:23]MH_I2C_Read... [08:43:23]Read from MH i2c: E2 FD 00 [08:43:23]MH_I2C_Read... [08:43:23]Read from MH i2c: E2 FD 00 1A 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 EF 90 00 4A [08:43:23]RAPDU: 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:43:23]wFMCommunicate OK [08:43:23]wFMCommunicate request_size=4 [08:43:23]MH_SAM_APDU [08:43:23]CAPDU: 80 17 00 00 [08:43:23]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [08:43:23]Write i2c OK [08:43:23]MH_I2C_Read... [08:43:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:43:24]Read from MH i2c: E2 [08:43:24]MH_I2C_Read... [08:43:24]Read from MH i2c: E2 FD 00 [08:43:24]MH_I2C_Read... [08:43:24]Read from MH i2c: E2 FD 00 1B 00 00 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 90 00 21 [08:43:24]RAPDU: 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 90 00 [08:43:24]wFMCommunicate OK [08:43:24]wFMCommunicate request_size=4 [08:43:24]MH_SAM_APDU [08:43:24]CAPDU: 80 17 00 00 [08:43:24]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [08:43:24]Write i2c OK [08:43:24]MH_I2C_Read... [08:43:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 197! [08:43:24]Read from MH i2c: E2 [08:43:24]MH_I2C_Read... [08:43:24]Read from MH i2c: E2 C8 00 [08:43:24]MH_I2C_Read... [08:43:24]Read from MH i2c: E2 C8 00 1C 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [08:43:24]RAPDU: EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:43:24]wFMCommunicate OK [08:43:24]SAM_PROTO_GetShiftData done [08:43:24]requested_item shift.sale.total_cash is exist - process it [08:43:24]requested_item shift.sale_refund.total is exist - process it [08:43:24]requested_item shift.sale_refund.total_cash is exist - process it [08:43:24]requested_item shift.buy.total is exist - process it [08:43:24]requested_item shift.buy.total_cash is exist - process it [08:43:24]produce_requested_data done [08:43:24]produce_requested_data return {"fm.sale.total":8381882.67,"fm.sale_refund.total":234855.00,"fm.buy.total":0.00,"shift.sale.total":23620.00,"shift.sale.total_cash":23620.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [08:43:24]process_action_free get_value [08:43:24]json_value_free [08:43:24]json_value_free done [08:43:24]process_json_proto returns [08:43:24]Send response to host [08:43:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8381882.67,"fm.sale_refund.total":234855.00,"fm.buy.total":0.00,"shift.sale.total":23620.00,"shift.sale.total_cash":23620.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [08:43:24]free response buf [08:43:24]execute_script done [08:43:24]execute_script returns [08:43:24]free content buf [08:43:24]Sock 10.Close socket [08:43:24]Sock 10.Thread stoped [08:43:28]OFD Sender: No OFD packet to send [08:43:33]OFD Sender: No OFD packet to send [08:43:38]OFD Sender: No OFD packet to send [08:43:43]OFD Sender: No OFD packet to send [08:43:48]OFD Sender: No OFD packet to send [08:43:53]OFD Sender: No OFD packet to send [08:43:58]OFD Sender: No OFD packet to send [08:44:03]OFD Sender: No OFD packet to send [08:44:08]OFD Sender: No OFD packet to send [08:44:13]OFD Sender: No OFD packet to send [08:44:18]OFD Sender: No OFD packet to send [08:44:23]OFD Sender: No OFD packet to send [08:44:28]OFD Sender: No OFD packet to send [08:44:33]OFD Sender: No OFD packet to send [08:44:38]OFD Sender: No OFD packet to send [08:44:43]OFD Sender: No OFD packet to send [08:44:48]OFD Sender: No OFD packet to send [08:44:53]OFD Sender: No OFD packet to send [08:44:58]OFD Sender: No OFD packet to send [08:45:03]OFD Sender: No OFD packet to send [08:45:08]OFD Sender: No OFD packet to send [08:45:13]OFD Sender: No OFD packet to send [08:45:18]OFD Sender: No OFD packet to send [08:45:23]OFD Sender: No OFD packet to send [08:45:28]OFD Sender: No OFD packet to send [08:45:33]OFD Sender: No OFD packet to send [08:45:38]OFD Sender: No OFD packet to send [08:45:43]OFD Sender: No OFD packet to send [08:45:48]OFD Sender: No OFD packet to send [08:45:53]OFD Sender: No OFD packet to send [08:45:58]OFD Sender: No OFD packet to send [08:46:03]OFD Sender: No OFD packet to send [08:46:08]OFD Sender: No OFD packet to send [08:46:13]OFD Sender: No OFD packet to send [08:46:18]OFD Sender: No OFD packet to send [08:46:23]OFD Sender: No OFD packet to send [08:46:28]OFD Sender: No OFD packet to send [08:46:33]OFD Sender: No OFD packet to send [08:46:38]OFD Sender: No OFD packet to send [08:46:43]OFD Sender: No OFD packet to send [08:46:46]recv_with_timeout no data received [08:46:48]OFD Sender: No OFD packet to send [08:46:53]OFD Sender: No OFD packet to send [08:46:58]OFD Sender: No OFD packet to send [08:47:03]OFD Sender: No OFD packet to send [08:47:08]OFD Sender: No OFD packet to send [08:47:13]OFD Sender: No OFD packet to send [08:47:18]OFD Sender: No OFD packet to send [08:47:23]OFD Sender: No OFD packet to send [08:47:28]OFD Sender: No OFD packet to send [08:47:33]OFD Sender: No OFD packet to send [08:47:38]OFD Sender: No OFD packet to send [08:47:43]OFD Sender: No OFD packet to send [08:47:48]OFD Sender: No OFD packet to send [08:47:53]OFD Sender: No OFD packet to send [08:47:58]OFD Sender: No OFD packet to send [08:48:03]OFD Sender: No OFD packet to send [08:48:08]OFD Sender: No OFD packet to send [08:48:13]OFD Sender: No OFD packet to send [08:48:18]OFD Sender: No OFD packet to send [08:48:22]recv_with_timeout no data received [08:48:23]OFD Sender: No OFD packet to send [08:48:28]OFD Sender: No OFD packet to send [08:48:33]OFD Sender: No OFD packet to send [08:48:38]OFD Sender: No OFD packet to send [08:48:43]OFD Sender: No OFD packet to send [08:48:48]OFD Sender: No OFD packet to send [08:48:53]OFD Sender: No OFD packet to send [08:48:58]OFD Sender: No OFD packet to send [08:48:59]recv_with_timeout no data received [08:49:03]OFD Sender: No OFD packet to send [08:49:08]OFD Sender: No OFD packet to send [08:49:13]OFD Sender: No OFD packet to send [08:49:18]OFD Sender: No OFD packet to send [08:49:23]OFD Sender: No OFD packet to send [08:49:28]OFD Sender: No OFD packet to send [00:00:10] *** EcrCore started. Build 196 *** [00:00:10]/dev/ttyS4 opened [00:00:10]MH_InterfaceInit /dev/i2c-1 [00:00:10]Malloc ok [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 01 00 00 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 01 00 00 03 33 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 24 E0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 1B [00:00:10]Are we in boot? [00:00:10]We are in boot - try to switch [00:00:10]Write to MH i2c: A0 00 00 02 00 A1 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 [00:00:10]MH_I2C_Read... [00:00:10]*** Check firmware version 30515, crc_r 5823D75D, crc_c: 5823D75D, size: 52480 [00:00:10]*** [00:00:10]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:10]*** Starting fw at address 01020100 (2007E318 010246F9) [00:00:10]*** Waiting for read because exit forced [00:00:10]*** 10 ms more... [00:00:10]*** MH1903 init start (LINUX_LIGHT) [00:00:10]*** Serial: 3139303353513838 54000000005724E0 (1903SQ88T) [00:00:10]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:10]*** step 0: 5000 (2650, 2350 REF) [00:00:10]*** step 1: 4835 (2500, 2335 REF) [00:00:10]*** step 2: 4676 (2440, 2236 REF) [00:00:10]*** step 3: 4523 (2280, 2243 REF) [00:00:10]*** step 4: 4376 (2160, 2216 REF) [00:00:10]*** step 5: 4235 (2050, 2185 REF) [00:00:10]*** step 6: 4098 (1950, 2148 REF) [00:00:10]*** step 7: 3967 (1870, 2097 REF) [00:00:10]*** step 8: 3840 (1828, 2012 REF) [00:00:10]*** step 9: 3719 (1728, 1991 REF) [00:00:10]*** step 10: 3601 (1675, 1926 REF) [00:00:10]*** step 11: 3488 (1635, 1853 REF) [00:00:10]*** step 12: 3379 (1595, 1784 REF) [00:00:10]*** step 13: 3275 (1565, 1710 REF) [00:00:10]*** step 14: 3174 (1543, 1631 REF) [00:00:10]*** step 15: 3077 (1523, 1554 REF) [00:00:10]*** step 16: 2983 (1503, 1480 REF) [00:00:10]*** step 17: 2893 (1486, 1407 REF) [00:00:10]*** step 18: 2806 (1466, 1340 REF) [00:00:10]*** step 19: 2723 (1426, 1297 REF) [00:00:10]*** step 20: 2642 (1406, 1236 REF) [00:00:10]*** step 21: 2565 (1384, 1181 REF) [00:00:10]*** step 22: 2490 (1364, 1126 REF) [00:00:10]*** step 23: 2418 (1344, 1074 REF) [00:00:10]*** step 24: 2349 (1322, 1027 REF) [00:00:10]*** step 25: 2283 (1302, 981 REF) [00:00:10]*** step 26: 2218 (1282, 936 REF) [00:00:10]*** step 27: 2157 (1262, 895 REF) [00:00:10]*** step 28: 2097 (1242, 855 REF) [00:00:10]*** step 29: 2040 (1222, 818 REF) [00:00:10]*** step 30: 1985 (1202, 783 REF) [00:00:10]*** step 31: 1932 (1191, 741 REF) [00:00:10]*** step 32: 1880 (1181, 699 REF) [00:00:10]*** step 33: 1831 (1171, 660 REF) [00:00:10]*** step 34: 1784 (1161, 623 REF) [00:00:10]*** step 35: 1738 (1151, 587 REF) [00:00:10]*** step 36: 1694 (1141, 553 REF) [00:00:10]*** step 37: 1652 (1131, 521 REF) [00:00:10]*** step 38: 1611 (1121, 490 REF) [00:00:10]*** step 39: 1572 (1111, 461 REF) [00:00:10]*** step 40: 1534 (1103, 431 REF) [00:00:10]*** step 41: 1497 (1093, 404 REF) [00:00:10]*** step 42: 1462 (1083, 379 REF) [00:00:10]*** step 43: 1428 (1073, 355 REF) [00:00:10]*** step 44: 1396 (1063, 333 REF) [00:00:10]*** step 45: 1365 (1053, 312 REF) [00:00:10]*** step 46: 1334 (1043, 291 REF) [00:00:10]*** step 47: 1305 (1033, 272 REF) [00:00:10]*** step 48: 1277 (1023, 254 REF) [00:00:10]*** step 49: 1250 (1013, 237 REF) [00:00:10]*** step 50: 1224 (990, 234 REF) [00:00:10]*** step 51: 1199 (980, 219 REF) [00:00:10]*** step 52: 1175 (970, 205 REF) [00:00:10]*** step 53: 1152 (960, 192 REF) [00:00:10]*** step 54: 1130 (950, 180 REF) [00:00:10]*** step 55: 1108 (940, 168 REF) [00:00:10]*** step 56: 1088 (930, 158 REF) [00:00:10]*** step 57: 1068 (920, 148 REF) [00:00:10]*** step 58: 1049 (910, 139 REF) [00:00:10]*** step 59: 1030 (900, 130 REF) [00:00:10]*** step 60: 1012 (890, 122 REF) [00:00:10]*** step 61: 995 (880, 115 REF) [00:00:10]*** step 62: 979 (870, 109 REF) [00:00:10]*** step 63: 963 (860, 103 REF) [00:00:10]*** step 64: 948 (850, 98 REF) [00:00:10]*** step 65: 933 (840, 93 REF) [00:00:10]*** step 66: 919 (830, 89 REF) [00:00:10]*** step 67: 905 (820, 85 REF) [00:00:10]*** step 68: 892 (810, 82 REF) [00:00:10]*** step 69: 879 (800, 79 REF) [00:00:10]*** step 70: 867 (790, 77 REF) [00:00:10]*** step 71: 855 (780, 75 REF) [00:00:10]*** step 72: 844 (770, 74 REF) [00:00:10]*** step 73: 833 (760, 73 REF) [00:00:10]*** step 74: 822 (750, 72 REF) [00:00:10]*** step 75: 812 (740, 72 REF) [00:00:10]*** step 76: 803 (730, 73 REF) [00:00:10]*** step 77: 793 (720, 73 REF) [00:00:10]*** step 78: 784 (710, 74 REF) [00:00:10]*** step 79: 776 (700, 76 REF) [00:00:10]*** step 80: 767 (690, 77 REF) [00:00:10]*** step 81: 759 (680, 79 REF) [00:00:10]*** step 82: 751 (670, 81 REF) [00:00:10]*** step 83: 744 (660, 84 REF) [00:00:10]*** step 84: 737 (650, 87 REF) [00:00:10]*** step 85: 730 (640, 90 REF) [00:00:10]*** step 86: 723 (630, 93 REF) [00:00:10]*** step 87: 717 (620, 97 REF) [00:00:10]*** step 88: 710 (610, 100 REF) [00:00:10]*** step 89: 705 (600, 105 REF) [00:00:10]*** step 90: 699 [00:00:10]*** step 91: 693 [00:00:10]*** step 92: 688 [00:00:10]*** step 93: 683 [00:00:10]*** step 94: 678 [00:00:10]*** step 95: 673 [00:00:10]*** step 96: 669 [00:00:10]*** step 97: 664 [00:00:10]*** step 98: 660 [00:00:10]*** step 99: 656 [00:00:10]*** step 100: 652 [00:00:10]*** step 101: 648 [00:00:10]*** step 102: 644 [00:00:10]*** step 103: 641 [00:00:10]*** step 104: 638 [00:00:10]*** step 105: 634 [00:00:10]*** step 106: 631 [00:00:10]*** step 107: 628 [00:00:10]*** step 108: 625 [00:00:10]*** step 109: 622 [00:00:10]*** step 110: 620 [00:00:10]*** step 111: 617 [00:00:10]*** step 112: 615 [00:00:10]*** step 113: 612 [00:00:10]*** step 114: 610 [00:00:10]*** step 115: 608 [00:00:10]*** step 116: 605 [00:00:10]*** step 117: 603 [00:00:10]*** step 118: 601 [00:00:10]*** step 119: 599 [00:00:10]*** printer: Printer HW initialized [00:00:10]*** initSamCard finished [00:00:10]*** RTC: 6114965+1721052822=1727167787 [00:00:10]*** BPK Status Register BPK_RDY = 0x0 [00:00:10]*** SEN State Register SEN_STATE = 0x200ff [00:00:10]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:10]*** Analog Control Register 0 SEN_ANA0 = 0x33510623 [00:00:11]MH_GetMetrics [00:00:11]Write to MH i2c: 00 00 00 03 00 02 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 03 00 00 03 33 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 24 E0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 1C [00:00:11]Are we in boot? [00:00:11]We are not in boot now [00:00:11]Write to MH i2c: 01 00 00 04 00 04 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:11]Model is 3 [00:00:11]MH firmware is 30515 [00:00:11]MH boot firmware is 3 [00:00:11]MH_SetPrinterDots 448 [00:00:11]HeadWidthInBytes 56 [00:00:11]maxmasksize 7 [00:00:11]Write to MH i2c: D6 06 00 05 00 41 00 60 00 FF FF 7F [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:11]Write to MH i2c: D5 00 00 06 00 DA [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]ExternCall_SetCallbacks [00:00:11]NVStorageInit [00:00:11]MH_GetDate [00:00:11]Write to MH i2c: F0 00 00 07 00 F6 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 07 00 00 2C 7D F2 66 96 2E 95 66 BF [08:49:48]Current date/time: 24.09.2024 08:49 [08:49:48]FM_Init [08:49:48]wFMConnect [08:49:48]MH_SAM_On [08:49:48]Write to MH i2c: E0 00 00 08 00 E7 [08:49:48]Write i2c OK [08:49:48]MH_I2C_Read... [08:49:48]*** iso7816_init finished! [08:49:48]*** atr: [08:49:48]*** 0F 3B D5 18 FF 81 91 FE [08:49:48]*** 1F C3 80 73 C8 21 10 0A [08:49:48]*** 00 00 00 00 00 00 00 00 [08:49:48]*** 00 00 00 00 00 00 00 00 [08:49:48]*** 00 00 00 00 00 00 00 00 [08:49:48]*** 00 00 00 00 00 00 00 00 [08:49:48]*** 00 00 00 00 00 00 00 00 [08:49:48]*** 00 00 00 00 00 00 00 00 [08:49:48]Read from MH i2c: E0 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: E0 10 00 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [08:49:48]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [08:49:48]wFMCommunicate request_size=10 [08:49:48]MH_SAM_APDU [08:49:48]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [08:49:48]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [08:49:48]Write i2c OK [08:49:48]MH_I2C_Read... [08:49:48]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [08:49:48]Read from MH i2c: E2 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: E2 03 00 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [08:49:48]RAPDU: 90 00 [08:49:48]wFMCommunicate OK [08:49:48]wFMCommunicate request_size=4 [08:49:48]MH_SAM_APDU [08:49:48]CAPDU: 80 11 00 00 [08:49:48]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [08:49:48]Write i2c OK [08:49:48]MH_I2C_Read... [08:49:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:49:48]Read from MH i2c: E2 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: E2 17 00 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 D5 [08:49:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [08:49:48]wFMCommunicate OK [08:49:48]Detected FM SN is 0000000002094258 [08:49:48]Stored FM SN is 0000000002094258 [08:49:48]wFMCommunicate request_size=9 [08:49:48]MH_SAM_APDU [08:49:48]CAPDU: 80 16 00 00 04 BC C2 00 00 [08:49:48]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 BC C2 00 00 00 00 10 [08:49:48]Write i2c OK [08:49:48]MH_I2C_Read... [08:49:48]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [08:49:48]Read from MH i2c: E2 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: E2 03 00 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [08:49:48]RAPDU: 90 00 [08:49:48]wFMCommunicate OK [08:49:48]FM PIN OK [08:49:48]wFMCommunicate request_size=8 [08:49:48]MH_SAM_APDU [08:49:48]CAPDU: 80 14 04 00 03 02 00 01 [08:49:48]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [08:49:48]Write i2c OK [08:49:48]MH_I2C_Read... [08:49:48]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [08:49:48]Read from MH i2c: E2 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: E2 03 00 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [08:49:48]RAPDU: 90 00 [08:49:48]wFMCommunicate OK [08:49:48]wFMCommunicate request_size=13 [08:49:48]MH_SAM_APDU [08:49:48]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [08:49:48]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [08:49:48]Write i2c OK [08:49:48]MH_I2C_Read... [08:49:48]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [08:49:48]Read from MH i2c: E2 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: E2 03 00 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [08:49:48]RAPDU: 90 00 [08:49:48]wFMCommunicate OK [08:49:48]wFMCommunicate request_size=4 [08:49:48]MH_SAM_APDU [08:49:48]CAPDU: 80 11 00 00 [08:49:48]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [08:49:48]Write i2c OK [08:49:48]MH_I2C_Read... [08:49:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:49:48]Read from MH i2c: E2 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: E2 17 00 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 D9 [08:49:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [08:49:48]wFMCommunicate OK [08:49:48]DocumentArchiveInit [08:49:48]Start Httpd... [08:49:48]Httpd thread 3067559268 created [08:49:48]Write to MH i2c: 01 00 00 0F 00 0F [08:49:48]Write i2c OK [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: 01 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: 01 07 00 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [08:49:48]MH Int Process started [08:49:48]Allocated Socket 8 [08:49:48]Bind OK [08:49:48]Listen OK [08:49:48]httpd running on port 8080 [08:49:48]Waiting for new connection... [08:49:48]OFD Sender: No OFD packet to send [08:49:51]accept exits with 9 [08:49:51]New connection [08:49:51]New thread 3067272548 created [08:49:51]Waiting for new connection... [08:49:51] Sock 9.Parse request [08:49:51]Sock 9.Check first char [08:49:51]Sock 9.First char is OK [08:49:51]request: POST /json_proto HTTP/1.0 [08:49:51]Method: POST [08:49:51]URL: /json_proto [08:49:51]Method is POST - this is cgi request [08:49:51]url: /json_proto [08:49:51]query_string will be loaded in cgi processing [08:49:51]execute_cgi json_proto POST (null) [08:49:51]execute_cgi path=json_proto method=POST [08:49:51]POST find Content-Length [08:49:51]Host: 172.17.47.195:8080 [08:49:51]Content-Length: 215 [08:49:51]Content-Type: application/json [08:49:51] [08:49:51]POST finish read [08:49:51]Found Content-Length = 215 [08:49:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:49:51]execute_script... [08:49:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:49:51]POST & json_proto [08:49:51]process_json_proto [08:49:51]json parsed OK: [08:49:51]protocol is kg_v1.0 [08:49:51]action value=get_value [08:49:51]process_action get_value [08:49:51]cmd_get_value [08:49:51]process_action get_value done [08:49:51]requested_data is exist [08:49:51]produce_requested_data [08:49:51]requested_item kkm.sn is exist - process it [08:49:51]requested_item kkm.ver is exist - process it [08:49:51]requested_item fm.sn is exist - process it [08:49:51]wFMCommunicate request_size=4 [08:49:51]MH_SAM_APDU [08:49:51]CAPDU: 80 11 00 00 [08:49:51]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [08:49:51]Write i2c OK [08:49:51]MH_I2C_Read... [08:49:51]Read from MH i2c: E2 [08:49:51]MH_I2C_Read... [08:49:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:49:51]Read from MH i2c: E2 17 00 [08:49:51]MH_I2C_Read... [08:49:51]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 DB [08:49:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [08:49:51]wFMCommunicate OK [08:49:51]requested_item fd.num is exist - process it [08:49:51]SAM_PROTO_GetFieldsCounters [08:49:51]wFMCommunicate request_size=4 [08:49:51]MH_SAM_APDU [08:49:51]CAPDU: 80 13 00 00 [08:49:51]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [08:49:51]Write i2c OK [08:49:51]MH_I2C_Read... [08:49:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:49:51]Read from MH i2c: E2 [08:49:51]MH_I2C_Read... [08:49:51]Read from MH i2c: E2 62 00 [08:49:51]MH_I2C_Read... [08:49:51]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 D2 1E 00 00 0E 04 04 00 48 00 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 31 [08:49:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 D2 1E 00 00 0E 04 04 00 48 00 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 [08:49:51]wFMCommunicate OK [08:49:51]SAM_PROTO_GetFieldsCounters done [08:49:51]requested_item shift.num is exist - process it [08:49:51]requested_item shift.opened is exist - process it [08:49:51]req_shift_opened [08:49:51]FM_GetShiftState [08:49:51]SAM_PROTO_GetShiftState [08:49:51]wFMCommunicate request_size=4 [08:49:51]MH_SAM_APDU [08:49:51]CAPDU: 80 13 01 00 [08:49:51]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [08:49:51]Write i2c OK [08:49:51]MH_I2C_Read... [08:49:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:49:51]Read from MH i2c: E2 [08:49:51]MH_I2C_Read... [08:49:51]Read from MH i2c: E2 0E 00 [08:49:51]MH_I2C_Read... [08:49:51]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 35 [08:49:51]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [08:49:51]wFMCommunicate OK [08:49:51]SAM_PROTO_GetShiftState done [08:49:51]FM_GetShiftState done [08:49:51]req_shift_opened done [08:49:51]requested_item shift.open_date is exist - process it [08:49:51]req_shift_open_date [08:49:51]req_shift_open_date done [08:49:51]produce_requested_data done [08:49:51]produce_requested_data return {"kkm.sn":"0300000041","kkm.ver":"v1.0","fm.sn":"0000000002094258","fd.num":7890,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [08:49:51]process_action_free get_value [08:49:51]json_value_free [08:49:51]json_value_free done [08:49:51]process_json_proto returns [08:49:51]Send response to host [08:49:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000041","kkm.ver":"v1.0","fm.sn":"0000000002094258","fd.num":7890,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [08:49:51]free response buf [08:49:51]execute_script done [08:49:51]execute_script returns [08:49:51]free content buf [08:49:51]Sock 9.Close socket [08:49:51]Sock 9.Thread stoped [08:49:51]accept exits with 6 [08:49:51]New connection [08:49:51]New thread 3067129188 created [08:49:51]Thread 3067272548 joined [08:49:51]Waiting for new connection... [08:49:51] Sock 6.Parse request [08:49:51]Sock 6.Check first char [08:49:51]Sock 6.First char is OK [08:49:51]request: POST /json_proto HTTP/1.0 [08:49:51]Method: POST [08:49:51]URL: /json_proto [08:49:51]Method is POST - this is cgi request [08:49:51]url: /json_proto [08:49:51]query_string will be loaded in cgi processing [08:49:51]execute_cgi json_proto POST (null) [08:49:51]execute_cgi path=json_proto method=POST [08:49:51]POST find Content-Length [08:49:51]Host: 172.17.47.195:8080 [08:49:51]Content-Length: 331 [08:49:51]Content-Type: application/json [08:49:51] [08:49:51]POST finish read [08:49:51]Found Content-Length = 331 [08:49:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:49:51]execute_script... [08:49:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:49:51]POST & json_proto [08:49:51]process_json_proto [08:49:51]json parsed OK: [08:49:51]protocol is kg_v1.0 [08:49:51]action value=get_value [08:49:51]process_action get_value [08:49:51]cmd_get_value [08:49:51]process_action get_value done [08:49:51]requested_data is exist [08:49:51]produce_requested_data [08:49:51]requested_item fm.sale.total is exist - process it [08:49:51]SAM_PROTO_GetFMData [08:49:51]wFMCommunicate request_size=4 [08:49:51]MH_SAM_APDU [08:49:51]CAPDU: 80 13 03 00 [08:49:51]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [08:49:51]Write i2c OK [08:49:51]MH_I2C_Read... [08:49:52]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [08:49:52]Read from MH i2c: E2 [08:49:52]MH_I2C_Read... [08:49:52]Read from MH i2c: E2 FD 00 [08:49:52]MH_I2C_Read... [08:49:52]Read from MH i2c: E2 FD 00 13 00 00 C1 04 85 04 BD 04 6E 04 04 00 42 1E 00 00 69 04 A0 00 6F 04 04 00 15 1E 00 00 B1 04 04 00 EB BC F5 31 70 04 04 00 B0 F7 FB 29 72 04 04 00 3B C5 F9 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 79 82 4E 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 0E 35 71 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2D 00 00 00 B1 04 04 00 3C 5C 66 01 70 04 04 00 3C 5C 66 01 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A2 0E 26 EF 03 09 00 F6 03 01 90 00 CA [08:49:52]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 42 1E 00 00 69 04 A0 00 6F 04 04 00 15 1E 00 00 B1 04 04 00 EB BC F5 31 70 04 04 00 B0 F7 FB 29 72 04 04 00 3B C5 F9 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 79 82 4E 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 0E 35 71 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2D 00 00 00 B1 04 04 00 3C 5C 66 01 70 04 04 00 3C 5C 66 01 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A2 0E 26 EF 03 09 00 F6 03 01 90 00 [08:49:52]wFMCommunicate OK [08:49:52]wFMCommunicate request_size=4 [08:49:52]MH_SAM_APDU [08:49:52]CAPDU: 80 17 00 00 [08:49:52]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [08:49:52]Write i2c OK [08:49:52]MH_I2C_Read... [08:49:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:49:52]Read from MH i2c: E2 [08:49:52]MH_I2C_Read... [08:49:52]Read from MH i2c: E2 FD 00 [08:49:52]MH_I2C_Read... [08:49:52]Read from MH i2c: E2 FD 00 14 00 00 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E7 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 D9 [08:49:52]RAPDU: 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E7 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [08:49:52]wFMCommunicate OK [08:49:52]wFMCommunicate request_size=4 [08:49:52]MH_SAM_APDU [08:49:52]CAPDU: 80 17 00 00 [08:49:52]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [08:49:52]Write i2c OK [08:49:52]MH_I2C_Read... [08:49:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:49:52]Read from MH i2c: E2 [08:49:52]MH_I2C_Read... [08:49:52]Read from MH i2c: E2 FD 00 [08:49:52]MH_I2C_Read... [08:49:52]Read from MH i2c: E2 FD 00 15 00 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 35 [08:49:52]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:49:52]wFMCommunicate OK [08:49:52]wFMCommunicate request_size=4 [08:49:52]MH_SAM_APDU [08:49:52]CAPDU: 80 17 00 00 [08:49:52]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [08:49:52]Write i2c OK [08:49:52]MH_I2C_Read... [08:49:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:49:52]Read from MH i2c: E2 [08:49:52]MH_I2C_Read... [08:49:52]Read from MH i2c: E2 FD 00 [08:49:52]MH_I2C_Read... [08:49:52]Read from MH i2c: E2 FD 00 16 00 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1B [08:49:52]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:49:52]wFMCommunicate OK [08:49:52]wFMCommunicate request_size=4 [08:49:52]MH_SAM_APDU [08:49:52]CAPDU: 80 17 00 00 [08:49:52]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [08:49:52]Write i2c OK [08:49:52]MH_I2C_Read... [08:49:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [08:49:53]Read from MH i2c: E2 [08:49:53]MH_I2C_Read... [08:49:53]Read from MH i2c: E2 DE 00 [08:49:53]MH_I2C_Read... [08:49:53]Read from MH i2c: E2 DE 00 17 00 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 76 [08:49:53]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:49:53]wFMCommunicate OK [08:49:53]SAM_PROTO_GetFMData done [08:49:53]requested_item fm.sale_refund.total is exist - process it [08:49:53]requested_item fm.buy.total is exist - process it [08:49:53]requested_item shift.sale.total is exist - process it [08:49:53]SAM_PROTO_GetShiftData [08:49:53]wFMCommunicate request_size=4 [08:49:53]MH_SAM_APDU [08:49:53]CAPDU: 80 13 02 00 [08:49:53]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [08:49:53]Write i2c OK [08:49:53]MH_I2C_Read... [08:49:53]OFD Sender: No OFD packet to send [08:49:53]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:49:53]Read from MH i2c: E2 [08:49:53]MH_I2C_Read... [08:49:53]Read from MH i2c: E2 FD 00 [08:49:53]MH_I2C_Read... [08:49:53]Read from MH i2c: E2 FD 00 18 00 00 AB 04 AA 04 A7 04 6E 04 04 00 1A 00 00 00 69 04 98 00 6F 04 04 00 1A 00 00 00 B1 04 03 00 90 0A 24 70 04 03 00 90 0A 24 72 04 00 00 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 25 D4 03 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 AD 51 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F8 [08:49:53]RAPDU: AB 04 AA 04 A7 04 6E 04 04 00 1A 00 00 00 69 04 98 00 6F 04 04 00 1A 00 00 00 B1 04 03 00 90 0A 24 70 04 03 00 90 0A 24 72 04 00 00 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 25 D4 03 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 AD 51 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:49:53]wFMCommunicate OK [08:49:53]wFMCommunicate request_size=4 [08:49:53]MH_SAM_APDU [08:49:53]CAPDU: 80 17 00 00 [08:49:53]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [08:49:53]Write i2c OK [08:49:53]MH_I2C_Read... [08:49:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:49:53]Read from MH i2c: E2 [08:49:53]MH_I2C_Read... [08:49:53]Read from MH i2c: E2 FD 00 [08:49:53]MH_I2C_Read... [08:49:53]Read from MH i2c: E2 FD 00 19 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 AE [08:49:53]RAPDU: EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [08:49:53]wFMCommunicate OK [08:49:53]wFMCommunicate request_size=4 [08:49:53]MH_SAM_APDU [08:49:53]CAPDU: 80 17 00 00 [08:49:53]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [08:49:53]Write i2c OK [08:49:53]MH_I2C_Read... [08:49:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:49:54]Read from MH i2c: E2 [08:49:54]MH_I2C_Read... [08:49:54]Read from MH i2c: E2 FD 00 [08:49:54]MH_I2C_Read... [08:49:54]Read from MH i2c: E2 FD 00 1A 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 EF 90 00 4A [08:49:54]RAPDU: 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:49:54]wFMCommunicate OK [08:49:54]wFMCommunicate request_size=4 [08:49:54]MH_SAM_APDU [08:49:54]CAPDU: 80 17 00 00 [08:49:54]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [08:49:54]Write i2c OK [08:49:54]MH_I2C_Read... [08:49:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:49:54]Read from MH i2c: E2 [08:49:54]MH_I2C_Read... [08:49:54]Read from MH i2c: E2 FD 00 [08:49:54]MH_I2C_Read... [08:49:54]Read from MH i2c: E2 FD 00 1B 00 00 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 90 00 21 [08:49:54]RAPDU: 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 90 00 [08:49:54]wFMCommunicate OK [08:49:54]wFMCommunicate request_size=4 [08:49:54]MH_SAM_APDU [08:49:54]CAPDU: 80 17 00 00 [08:49:54]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [08:49:54]Write i2c OK [08:49:54]MH_I2C_Read... [08:49:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 197! [08:49:54]Read from MH i2c: E2 [08:49:54]MH_I2C_Read... [08:49:54]Read from MH i2c: E2 C8 00 [08:49:54]MH_I2C_Read... [08:49:54]Read from MH i2c: E2 C8 00 1C 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [08:49:54]RAPDU: EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:49:54]wFMCommunicate OK [08:49:54]SAM_PROTO_GetShiftData done [08:49:54]requested_item shift.sale.total_cash is exist - process it [08:49:54]requested_item shift.sale_refund.total is exist - process it [08:49:54]requested_item shift.sale_refund.total_cash is exist - process it [08:49:54]requested_item shift.buy.total is exist - process it [08:49:54]requested_item shift.buy.total_cash is exist - process it [08:49:54]produce_requested_data done [08:49:54]produce_requested_data return {"fm.sale.total":8381882.67,"fm.sale_refund.total":234855.00,"fm.buy.total":0.00,"shift.sale.total":23620.00,"shift.sale.total_cash":23620.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [08:49:54]process_action_free get_value [08:49:54]json_value_free [08:49:54]json_value_free done [08:49:54]process_json_proto returns [08:49:54]Send response to host [08:49:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8381882.67,"fm.sale_refund.total":234855.00,"fm.buy.total":0.00,"shift.sale.total":23620.00,"shift.sale.total_cash":23620.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [08:49:54]free response buf [08:49:54]execute_script done [08:49:54]execute_script returns [08:49:54]free content buf [08:49:54]Sock 6.Close socket [08:49:54]Sock 6.Thread stoped [08:49:58]OFD Sender: No OFD packet to send [08:50:03]OFD Sender: No OFD packet to send [08:50:08]OFD Sender: No OFD packet to send [08:50:13]OFD Sender: No OFD packet to send [08:50:18]OFD Sender: No OFD packet to send [08:50:23]OFD Sender: No OFD packet to send [08:50:28]OFD Sender: No OFD packet to send [08:50:33]OFD Sender: No OFD packet to send [08:50:35]recv_with_timeout no data received [08:50:38]OFD Sender: No OFD packet to send [08:50:43]OFD Sender: No OFD packet to send [08:50:48]OFD Sender: No OFD packet to send [08:50:53]OFD Sender: No OFD packet to send [08:50:58]OFD Sender: No OFD packet to send [08:51:03]OFD Sender: No OFD packet to send [08:51:08]OFD Sender: No OFD packet to send [08:51:13]OFD Sender: No OFD packet to send [08:51:15]accept exits with 9 [08:51:15]New connection [08:51:15]New thread 3067272548 created [08:51:15]Thread 3067129188 joined [08:51:15]Waiting for new connection... [08:51:15] Sock 9.Parse request [08:51:15]Sock 9.Check first char [08:51:15]Sock 9.First char is OK [08:51:15]request: POST /json_proto HTTP/1.0 [08:51:15]Method: POST [08:51:15]URL: /json_proto [08:51:15]Method is POST - this is cgi request [08:51:15]url: /json_proto [08:51:15]query_string will be loaded in cgi processing [08:51:15]execute_cgi json_proto POST (null) [08:51:15]execute_cgi path=json_proto method=POST [08:51:15]POST find Content-Length [08:51:15]Host: 172.17.47.195:8080 [08:51:15]Content-Length: 677 [08:51:15]Content-Type: application/json [08:51:15] [08:51:15]POST finish read [08:51:15]Found Content-Length = 677 [08:51:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872525", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 7.380, "sum" : 500.36, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:51:15]execute_script... [08:51: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 : (1)872525", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 7.380, "sum" : 500.36, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:51:15]POST & json_proto [08:51:15]process_json_proto [08:51:15]json parsed OK: [08:51:15]protocol is kg_v1.0 [08:51:15]action value=close_receipt [08:51:15]process_action close_receipt [08:51:15]cmd_close_receipt [08:51:15]MH_GetDate [08:51:15]Write to MH i2c: F0 00 00 1D 00 0C [08:51:15]Write i2c OK [08:51:15]MH_I2C_Read... [08:51:15]Read from MH i2c: F0 [08:51:15]MH_I2C_Read... [08:51:15]Read from MH i2c: F0 09 00 [08:51:15]MH_I2C_Read... [08:51:15]Read from MH i2c: F0 09 00 1D 00 00 83 7D F2 66 96 2E 95 66 2C [08:51:15]GetLastDocTimeStamp 1727164051 [08:51:15]current date 1727167875 [08:51:15]FM_GetShiftState [08:51:15]SAM_PROTO_GetShiftState [08:51:15]wFMCommunicate request_size=4 [08:51:15]MH_SAM_APDU [08:51:15]CAPDU: 80 13 01 00 [08:51:15]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [08:51:15]Write i2c OK [08:51:15]MH_I2C_Read... [08:51:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:51:15]Read from MH i2c: E2 [08:51:15]MH_I2C_Read... [08:51:15]Read from MH i2c: E2 0E 00 [08:51:15]MH_I2C_Read... [08:51:15]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 41 [08:51:15]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [08:51:15]wFMCommunicate OK [08:51:15]SAM_PROTO_GetShiftState done [08:51:15]FM_GetShiftState done [08:51:15]opened in 1727137340 [08:51:15]opened+sec_in_day 1727223740 [08:51:15]quantity*price = 50036 [08:51:15]sum+1 = 50037 [08:51:15]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.36 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.14 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 27 24.09.2024 08:51 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 ФМ: 0000000002094258 ФД: 7891 ФПД: 157533142308810 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T085115&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7891&fm=157533142308810&tin=02508201610067®Number=0000000000190446&sum=50000 [08:51:16]StoreToDocumentArchive [08:51:16]shift 72 fd 7891 [08:51:16]save to /storage/0072/doc_00007891 [08:51:16]save last doc name /storage/0072/doc_00007891 to /storage/kkm_last_doc_name [08:51:16]save OK [08:51:16]Clear old archive folders... [08:51:16]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:51:16]tlvbuf is 015B2F50 [08:51:16]SAM_PROTO_ClearQueue [08:51:16]wFMCommunicate request_size=4 [08:51:16]MH_SAM_APDU [08:51:16]CAPDU: 80 09 00 00 [08:51:16]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [08:51:16]Write i2c OK [08:51:16]MH_I2C_Read... [08:51:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:51:16]Read from MH i2c: E2 [08:51:16]MH_I2C_Read... [08:51:16]Read from MH i2c: E2 03 00 [08:51:16]MH_I2C_Read... [08:51:16]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [08:51:16]RAPDU: 90 00 [08:51:16]wFMCommunicate OK [08:51:16]SAM_PROTO_ClearQueue done [08:51:16]KKMCreateOFDPacket [08:51:16]OFDProtocolAddRootSTLVToBuf [08:51:16]FM_MakeSignedData [08:51:16]FM_MakeSignedData [08:51:16]SAM_PROTO_SignData [08:51:16]wFMCommunicate request_size=4 [08:51:16]MH_SAM_APDU [08:51:16]CAPDU: 80 0D 01 02 [08:51:16]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [08:51:16]Write i2c OK [08:51:16]MH_I2C_Read... [08:51:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:51:16]Read from MH i2c: E2 [08:51:16]MH_I2C_Read... [08:51:16]Read from MH i2c: E2 03 00 [08:51:16]MH_I2C_Read... [08:51:16]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [08:51:16]RAPDU: 90 00 [08:51:16]wFMCommunicate OK [08:51:16]wFMCommunicate request_size=255 [08:51:16]MH_SAM_APDU [08:51:16]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 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 83 7D F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D3 1E 00 00 35 04 06 00 8F [08:51:16]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 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 83 7D F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D3 1E 00 00 35 04 06 00 8F 00 00 5C [08:51:16]Write i2c OK [08:51:16]MH_I2C_Read... [08:51:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:51:16]Read from MH i2c: E2 [08:51:16]MH_I2C_Read... [08:51:16]Read from MH i2c: E2 03 00 [08:51:16]MH_I2C_Read... [08:51:16]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [08:51:16]RAPDU: 90 00 [08:51:16]wFMCommunicate OK [08:51:16]wFMCommunicate request_size=10 [08:51:16]MH_SAM_APDU [08:51:16]CAPDU: 80 0D 02 02 05 46 8A FC D7 CA [08:51:16]Write to MH i2c: E2 0D 00 2E 00 80 0D 02 02 05 00 46 8A FC D7 CA 00 00 1F [08:51:16]Write i2c OK [08:51:16]MH_I2C_Read... [08:51:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:51:16]Read from MH i2c: E2 [08:51:16]MH_I2C_Read... [08:51:16]Read from MH i2c: E2 03 00 [08:51:16]MH_I2C_Read... [08:51:16]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [08:51:16]RAPDU: 90 00 [08:51:16]wFMCommunicate OK [08:51:16]wFMCommunicate request_size=4 [08:51:16]MH_SAM_APDU [08:51:16]CAPDU: 80 0D 03 02 [08:51:16]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [08:51:16]Write i2c OK [08:51:16]MH_I2C_Read... [08:51:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:51:16]Read from MH i2c: E2 [08:51:16]MH_I2C_Read... [08:51:16]Read from MH i2c: E2 0B 00 [08:51:16]MH_I2C_Read... [08:51:16]Read from MH i2c: E2 0B 00 2F 00 00 2D 76 18 DE 02 CB A2 28 90 00 DB [08:51:16]RAPDU: 2D 76 18 DE 02 CB A2 28 90 00 [08:51:16]wFMCommunicate OK [08:51:16]SAM_PROTO_SignData done [08:51:16]FM_MakeSignedData done [08:51:16]CreateOFDProtocolMessage [08:51:16]wFMCommunicate request_size=4 [08:51:16]MH_SAM_APDU [08:51:16]CAPDU: 80 11 00 00 [08:51:16]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [08:51:16]Write i2c OK [08:51:16]MH_I2C_Read... [08:51:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:51:16]Read from MH i2c: E2 [08:51:16]MH_I2C_Read... [08:51:16]Read from MH i2c: E2 17 00 [08:51:16]MH_I2C_Read... [08:51:16]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 FB [08:51:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [08:51:16]wFMCommunicate OK [08:51:16]CreateOFDProtocolMessage done [08:51:16]OFDSenderStorePacket 7891 [08:51:16]StoreOFDPacket docnum=7891 [08:51:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 04 5D 07 01 13 D5 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 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 83 7D F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D3 1E 00 00 35 04 06 00 8F 46 8A FC D7 CA 2D 76 18 DE 02 CB A2 28 [08:51:16]CheckFolder [08:51:16]dirname=/storage/ofd_packets [08:51:16]CheckFolder done [08:51:16]ProducePacketName [08:51:16]name=ofd_packets/00007891 [08:51:16]NVStorageSaveData ofd_packets/00007891 [08:51:16]File name is /storage/ofd_packets/00007891 [08:51:16]Write 301 bytes [08:51:16]NVStorageSaveData done [08:51:16]OFDSenderStorePacket done [08:51:16]KKMCreateOFDPacket done [08:51:16]NVStorageSaveData kkm_last_timestamp [08:51:16]File name is /storage/kkm_last_timestamp [08:51:16]Write 4 bytes [08:51:16]NVStorageSaveData done [08:51:16]ExternCall_PrintAddStr [08:51:16]wPrintStart [08:51:16]Write to MH i2c: 01 00 00 31 00 31 [08:51:16]Write i2c OK [08:51:16]MH_I2C_Read... [08:51:16]Read from MH i2c: 01 [08:51:16]MH_I2C_Read... [08:51:16]Read from MH i2c: 01 07 00 [08:51:16]MH_I2C_Read... [08:51:16]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [08:51:16]RasterBufferAndPrint [08:51:16]line Счет N : (1)872525 [08:51:16]line ИНН: 02508201610067 [08:51:16]line Контрольно-Кассовый Чек [08:51:16]line ПРОДАЖА [08:51:16]line ТРК (МРК, ГНК) : 33 [08:51:16]line Товар: 2710124130 [08:51:16]line Аи-92-К-5 [08:51:16]line 7.380 * 67.80 [08:51:16]line = 500.36 [08:51:16]line НДС 12% НСП 1% [08:51:16]line > о реализуемом товаре [08:51:16]line ОКРУГЛЕНИЕ: -0.36 [08:51:16]line ИТОГО: 500.00 [08:51:16]line Внесено: 500.00 [08:51:16]line СДАЧА: 0.00 [08:51:16]line НСП 1% : 4.43 [08:51:16]line НДС 12% : 53.14 [08:51:16]line Наличными: 500.00 [08:51:16]line Безнал.: 0.00 [08:51:16]line Место: АЗС № 137 "Партнер Нефть" [08:51:16]line Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 [08:51:16]line СНО: Общий режим [08:51:16]line Чек 27 24.09.2024 08:51 [08:51:16]line Смена: 72 ФФД: 1.0 [08:51:16]line ЗНМ: 0300000041 [08:51:16]line РНМ: 0000000000190446 [08:51:16]line Версия ККМ: v1.0 [08:51:16]line ФМ: 0000000002094258 [08:51:16]line ФД: 7891 [08:51:17]line ФПД: 157533142308810 [08:51:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T085115&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7891&fm=157533142308810&tin=02508201610067®Number=0000000000190446&sum=50000 [08:51:17]OFD Sender: Processing packet 7891 [packets to send 51, broken 50] [08:51:17]ProducePacketName [08:51:17]name=ofd_packets/00007891 [08:51:17]OFD Sender: To server: pG, [08:51:17]CommunicateWithHost lk.salyk.kg:30040 [08:51:17]ConnectInit lk.salyk.kg [08:51:17]written 0, free lines is 4095 [08:51:17]Write to MH i2c: 01 00 00 5C 00 5C [08:51:17]Write i2c OK [08:51:17]MH_I2C_Read... [08:51:17]Read from MH i2c: 01 [08:51:17]MH_I2C_Read... [08:51:17]Read from MH i2c: 01 07 00 [08:51:17]MH_I2C_Read... [08:51:17]Read from MH i2c: 01 07 00 5C 00 00 00 00 00 00 F5 0C 64 [08:51:17]RasterBufferAndPrint [08:51:17]line [08:51:17]line [08:51:17]line [08:51:17]line [08:51:17]line [08:51:17]written 0, free lines is 3323 [08:51:17]MH_Cut [08:51:17]Write to MH i2c: D1 01 00 63 00 01 35 [08:51:17]Write i2c OK [08:51:17]MH_I2C_Read... [08:51:17]Read from MH i2c: D1 [08:51:17]MH_I2C_Read... [08:51:17]Read from MH i2c: D1 01 00 [08:51:17]MH_I2C_Read... [08:51:17]Read from MH i2c: D1 01 00 63 00 00 34 [08:51:17]Write to MH i2c: 01 00 00 64 00 64 [08:51:17]Write i2c OK [08:51:17]MH_I2C_Read... [08:51:18]*** Cut start [08:51:18]*** Purtial cut [08:51:18]*** Stage 1: CUTSNS_PIN = 1 [08:51:18]Read from MH i2c: 01 [08:51:18]MH_I2C_Read... [08:51:18]*** Stop cut motor [08:51:18]*** Cut end [08:51:18]Read from MH i2c: 01 07 00 [08:51:18]MH_I2C_Read... [08:51:18]Read from MH i2c: 01 07 00 64 00 00 00 00 00 00 FF 0F 79 [08:51:18]process_action close_receipt done [08:51:18]requested_data is exist [08:51:18]produce_requested_data [08:51:18]requested_item fm.sn is exist - process it [08:51:18]wFMCommunicate request_size=4 [08:51:18]MH_SAM_APDU [08:51:18]CAPDU: 80 11 00 00 [08:51:18]Write to MH i2c: E2 08 00 65 00 80 11 00 00 00 00 00 00 DF [08:51:18]Write i2c OK [08:51:18]MH_I2C_Read... [08:51:18]Connected sock=11 [08:51:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 04 5D 07 01 13 D5 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 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 83 7D F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D3 1E 00 00 35 04 06 00 8F 46 8A FC D7 CA 2D 76 18 DE 02 CB A2 28 [08:51:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:51:18]Read from MH i2c: E2 [08:51:18]MH_I2C_Read... [08:51:18]Read from MH i2c: E2 17 00 [08:51:18]MH_I2C_Read... [08:51:18]Read from MH i2c: E2 17 00 65 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 30 [08:51:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [08:51:18]wFMCommunicate OK [08:51:18]requested_item fd.num is exist - process it [08:51:18]SAM_PROTO_GetFieldsCounters [08:51:18]wFMCommunicate request_size=4 [08:51:18]MH_SAM_APDU [08:51:18]CAPDU: 80 13 00 00 [08:51:18]Write to MH i2c: E2 08 00 66 00 80 13 00 00 00 00 00 00 E2 [08:51:18]Write i2c OK [08:51:18]MH_I2C_Read... [08:51:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:51:18]Read from MH i2c: E2 [08:51:18]MH_I2C_Read... [08:51:18]Read from MH i2c: E2 62 00 [08:51:18]MH_I2C_Read... [08:51:18]Read from MH i2c: E2 62 00 66 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 D3 1E 00 00 0E 04 04 00 48 00 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 8A [08:51:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 D3 1E 00 00 0E 04 04 00 48 00 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 [08:51:18]wFMCommunicate OK [08:51:18]SAM_PROTO_GetFieldsCounters done [08:51:18]requested_item shift.num is exist - process it [08:51:18]requested_item shift.opened is exist - process it [08:51:18]req_shift_opened [08:51:18]FM_GetShiftState [08:51:18]SAM_PROTO_GetShiftState [08:51:18]wFMCommunicate request_size=4 [08:51:18]MH_SAM_APDU [08:51:18]CAPDU: 80 13 01 00 [08:51:18]Write to MH i2c: E2 08 00 67 00 80 13 01 00 00 00 00 00 E4 [08:51:18]Write i2c OK [08:51:18]MH_I2C_Read... [08:51:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:51:18]Read from MH i2c: E2 [08:51:18]MH_I2C_Read... [08:51:18]Read from MH i2c: E2 0E 00 [08:51:18]MH_I2C_Read... [08:51:18]Read from MH i2c: E2 0E 00 67 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 8A [08:51:18]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [08:51:18]wFMCommunicate OK [08:51:18]SAM_PROTO_GetShiftState done [08:51:18]FM_GetShiftState done [08:51:18]req_shift_opened done [08:51:18]requested_item shift.open_date is exist - process it [08:51:18]req_shift_open_date [08:51:18]req_shift_open_date done [08:51:18]produce_requested_data done [08:51:18]produce_requested_data return {"fm.sn":"0000000002094258","fd.num":7891,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [08:51:18]process_action_free close_receipt [08:51:18]json_value_free [08:51:18]json_value_free done [08:51:18]process_json_proto returns [08:51:18]Send response to host [08:51:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002094258","fd.num":7891,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [08:51:18]free response buf [08:51:18]execute_script done [08:51:18]execute_script returns [08:51:18]free content buf [08:51:18]Sock 9.Close socket [08:51:18]Sock 9.Thread stoped [08:51:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 D8 0C 47 00 CB FE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D3 1E 00 00 F4 03 04 00 3D 28 F2 66 B6 04 01 00 00 BF DE E0 58 73 D0 55 B2 [08:51:18]CommunicateWithHost err = 0 [08:51:18]CheckOFDResponse [08:51:18]1017 (14) - 77093643461234 [08:51:18]1041 (16) - 0000000002094258 [08:51:18]1040 (4) - 7891 [08:51:18]1012 (4) - 24.09.2024 02:47 [08:51:18]1206 (1) - 0 [08:51:18]OFD Sender: Remove packet 7891 [08:51:18]ProducePacketName [08:51:18]name=ofd_packets/00007891 [08:51:18]NVStorageDeleteData [08:51:19]OFD Sender: No OFD packet to send [08:51:24]OFD Sender: No OFD packet to send [08:51:29]OFD Sender: No OFD packet to send [08:51:34]OFD Sender: No OFD packet to send [08:51:39]OFD Sender: No OFD packet to send [08:51:44]OFD Sender: No OFD packet to send [08:51:49]OFD Sender: No OFD packet to send [08:51:52]recv_with_timeout no data received [08:51:54]OFD Sender: No OFD packet to send [08:51:59]OFD Sender: No OFD packet to send [08:52:04]OFD Sender: No OFD packet to send [08:52:09]OFD Sender: No OFD packet to send [08:52:14]OFD Sender: No OFD packet to send [08:52:19]OFD Sender: No OFD packet to send [08:52:24]OFD Sender: No OFD packet to send [08:52:29]OFD Sender: No OFD packet to send [08:52:34]OFD Sender: No OFD packet to send [08:52:39]OFD Sender: No OFD packet to send [08:52:44]OFD Sender: No OFD packet to send [08:52:49]OFD Sender: No OFD packet to send [08:52:54]OFD Sender: No OFD packet to send [08:52:59]OFD Sender: No OFD packet to send [08:53:04]OFD Sender: No OFD packet to send [08:53:09]OFD Sender: No OFD packet to send [08:53:14]OFD Sender: No OFD packet to send [08:53:19]OFD Sender: No OFD packet to send [08:53:24]OFD Sender: No OFD packet to send [08:53:29]OFD Sender: No OFD packet to send [08:53:34]OFD Sender: No OFD packet to send [08:53:39]OFD Sender: No OFD packet to send [08:53:44]OFD Sender: No OFD packet to send [08:53:49]OFD Sender: No OFD packet to send [08:53:54]OFD Sender: No OFD packet to send [08:53:59]OFD Sender: No OFD packet to send [08:54:04]OFD Sender: No OFD packet to send [08:54:09]OFD Sender: No OFD packet to send [08:54:14]OFD Sender: No OFD packet to send [08:54:18]recv_with_timeout no data received [08:54:19]OFD Sender: No OFD packet to send [08:54:24]OFD Sender: No OFD packet to send [08:54:29]OFD Sender: No OFD packet to send [08:54:34]OFD Sender: No OFD packet to send [08:54:39]OFD Sender: No OFD packet to send [08:54:44]OFD Sender: No OFD packet to send [08:54:49]OFD Sender: No OFD packet to send [08:54:54]OFD Sender: No OFD packet to send [08:54:59]OFD Sender: No OFD packet to send [08:55:04]OFD Sender: No OFD packet to send [08:55:09]OFD Sender: No OFD packet to send [08:55:14]OFD Sender: No OFD packet to send [08:55:19]OFD Sender: No OFD packet to send [08:55:24]OFD Sender: No OFD packet to send [08:55:29]OFD Sender: No OFD packet to send [08:55:34]OFD Sender: No OFD packet to send [08:55:39]OFD Sender: No OFD packet to send [08:55:44]OFD Sender: No OFD packet to send [08:55:49]OFD Sender: No OFD packet to send [08:55:54]OFD Sender: No OFD packet to send [08:55:59]OFD Sender: No OFD packet to send [08:56:04]OFD Sender: No OFD packet to send [08:56:09]OFD Sender: No OFD packet to send [08:56:14]OFD Sender: No OFD packet to send [08:56:19]OFD Sender: No OFD packet to send [08:56:24]OFD Sender: No OFD packet to send [08:56:29]OFD Sender: No OFD packet to send [08:56:34]OFD Sender: No OFD packet to send [08:56:39]OFD Sender: No OFD packet to send [08:56:44]OFD Sender: No OFD packet to send [08:56:49]OFD Sender: No OFD packet to send [08:56:54]OFD Sender: No OFD packet to send [08:56:59]OFD Sender: No OFD packet to send [08:57:04]OFD Sender: No OFD packet to send [08:57:09]OFD Sender: No OFD packet to send [08:57:14]OFD Sender: No OFD packet to send [08:57:19]OFD Sender: No OFD packet to send [08:57:23]recv_with_timeout no data received [08:57:24]OFD Sender: No OFD packet to send [08:57:29]OFD Sender: No OFD packet to send [08:57:34]OFD Sender: No OFD packet to send [08:57:39]OFD Sender: No OFD packet to send [08:57:42]recv_with_timeout no data received [08:57:44]OFD Sender: No OFD packet to send [08:57:49]OFD Sender: No OFD packet to send [08:57:54]OFD Sender: No OFD packet to send [08:57:59]OFD Sender: No OFD packet to send [08:58:04]OFD Sender: No OFD packet to send [08:58:09]OFD Sender: No OFD packet to send [08:58:14]OFD Sender: No OFD packet to send [08:58:19]OFD Sender: No OFD packet to send [08:58:24]OFD Sender: No OFD packet to send [08:58:29]OFD Sender: No OFD packet to send [08:58:34]OFD Sender: No OFD packet to send [08:58:39]OFD Sender: No OFD packet to send [08:58:44]OFD Sender: No OFD packet to send [08:58:49]OFD Sender: No OFD packet to send [08:58:54]OFD Sender: No OFD packet to send [08:58:58]recv_with_timeout no data received [08:58:59]OFD Sender: No OFD packet to send [08:59:04]OFD Sender: No OFD packet to send [08:59:09]OFD Sender: No OFD packet to send [08:59:14]OFD Sender: No OFD packet to send [08:59:19]OFD Sender: No OFD packet to send [08:59:24]OFD Sender: No OFD packet to send [08:59:29]OFD Sender: No OFD packet to send [08:59:34]OFD Sender: No OFD packet to send [08:59:39]OFD Sender: No OFD packet to send [08:59:44]OFD Sender: No OFD packet to send [08:59:49]OFD Sender: No OFD packet to send [08:59:54]OFD Sender: No OFD packet to send [08:59:59]OFD Sender: No OFD packet to send [09:00:04]OFD Sender: No OFD packet to send [09:00:09]OFD Sender: No OFD packet to send [09:00:14]OFD Sender: No OFD packet to send [09:00:19]OFD Sender: No OFD packet to send [09:00:24]OFD Sender: No OFD packet to send [09:00:29]OFD Sender: No OFD packet to send [09:00:34]OFD Sender: No OFD packet to send [09:00:39]OFD Sender: No OFD packet to send [09:00:44]OFD Sender: No OFD packet to send [09:00:49]OFD Sender: No OFD packet to send [09:00:54]OFD Sender: No OFD packet to send [09:00:59]OFD Sender: No OFD packet to send [09:01:05]OFD Sender: No OFD packet to send [09:01:10]OFD Sender: No OFD packet to send [09:01:15]OFD Sender: No OFD packet to send [09:01:20]OFD Sender: No OFD packet to send [09:01:25]OFD Sender: No OFD packet to send [09:01:30]OFD Sender: No OFD packet to send [09:01:35]OFD Sender: No OFD packet to send [09:01:40]OFD Sender: No OFD packet to send [09:01:45]OFD Sender: No OFD packet to send [09:01:50]OFD Sender: No OFD packet to send [09:01:55]OFD Sender: No OFD packet to send [09:02:00]OFD Sender: No OFD packet to send [09:02:05]OFD Sender: No OFD packet to send [09:02:10]OFD Sender: No OFD packet to send [09:02:15]OFD Sender: No OFD packet to send [09:02:20]OFD Sender: No OFD packet to send [09:02:25]OFD Sender: No OFD packet to send [09:02:30]OFD Sender: No OFD packet to send [09:02:35]OFD Sender: No OFD packet to send [09:02:40]OFD Sender: No OFD packet to send [09:02:45]OFD Sender: No OFD packet to send [09:02:50]OFD Sender: No OFD packet to send [09:02:55]OFD Sender: No OFD packet to send [09:03:00]OFD Sender: No OFD packet to send [09:03:05]OFD Sender: No OFD packet to send [09:03:10]OFD Sender: No OFD packet to send [09:03:15]OFD Sender: No OFD packet to send [09:03:15]recv_with_timeout no data received [09:03:20]OFD Sender: No OFD packet to send [09:03:25]OFD Sender: No OFD packet to send [09:03:30]OFD Sender: No OFD packet to send [09:03:35]OFD Sender: No OFD packet to send [09:03:40]OFD Sender: No OFD packet to send [09:03:45]OFD Sender: No OFD packet to send [09:03:50]OFD Sender: No OFD packet to send [09:03:55]OFD Sender: No OFD packet to send [09:04:00]OFD Sender: No OFD packet to send [09:04:05]OFD Sender: No OFD packet to send [09:04:10]OFD Sender: No OFD packet to send [09:04:15]OFD Sender: No OFD packet to send [09:04:20]OFD Sender: No OFD packet to send [09:04:25]OFD Sender: No OFD packet to send [09:04:30]OFD Sender: No OFD packet to send [09:04:35]OFD Sender: No OFD packet to send [09:04:40]OFD Sender: No OFD packet to send [09:04:45]OFD Sender: No OFD packet to send [09:04:50]OFD Sender: No OFD packet to send [09:04:55]OFD Sender: No OFD packet to send [09:04:58]recv_with_timeout no data received [09:05:00]OFD Sender: No OFD packet to send [09:05:05]OFD Sender: No OFD packet to send [09:05:10]OFD Sender: No OFD packet to send [09:05:15]OFD Sender: No OFD packet to send [09:05:20]OFD Sender: No OFD packet to send [09:05:25]OFD Sender: No OFD packet to send [09:05:30]OFD Sender: No OFD packet to send [09:05:35]OFD Sender: No OFD packet to send [09:05:40]OFD Sender: No OFD packet to send [09:05:45]OFD Sender: No OFD packet to send [09:05:50]OFD Sender: No OFD packet to send [09:05:55]OFD Sender: No OFD packet to send [09:06:00]OFD Sender: No OFD packet to send [09:06:02]recv_with_timeout no data received [09:06:05]OFD Sender: No OFD packet to send [09:06:10]OFD Sender: No OFD packet to send [09:06:15]OFD Sender: No OFD packet to send [09:06:20]OFD Sender: No OFD packet to send [09:06:25]OFD Sender: No OFD packet to send [09:06:30]OFD Sender: No OFD packet to send [09:06:35]OFD Sender: No OFD packet to send [09:06:40]OFD Sender: No OFD packet to send [09:06:45]OFD Sender: No OFD packet to send [09:06:50]OFD Sender: No OFD packet to send [09:06:55]OFD Sender: No OFD packet to send [09:07:00]OFD Sender: No OFD packet to send [09:07:05]OFD Sender: No OFD packet to send [09:07:10]OFD Sender: No OFD packet to send [09:07:15]OFD Sender: No OFD packet to send [09:07:20]OFD Sender: No OFD packet to send [09:07:25]OFD Sender: No OFD packet to send [09:07:30]OFD Sender: No OFD packet to send [09:07:35]OFD Sender: No OFD packet to send [09:07:40]OFD Sender: No OFD packet to send [09:07:45]OFD Sender: No OFD packet to send [09:07:50]OFD Sender: No OFD packet to send [09:07:55]OFD Sender: No OFD packet to send [09:08:00]OFD Sender: No OFD packet to send [09:08:05]OFD Sender: No OFD packet to send [09:08:10]OFD Sender: No OFD packet to send [09:08:15]OFD Sender: No OFD packet to send [09:08:19]accept exits with 7 [09:08:19]New connection [09:08:19]New thread 3067129188 created [09:08:19]Thread 3067272548 joined [09:08:19]Waiting for new connection... [09:08:19] Sock 7.Parse request [09:08:19]Sock 7.Check first char [09:08:19]Sock 7.First char is OK [09:08:19]request: POST /json_proto HTTP/1.0 [09:08:19]Method: POST [09:08:19]URL: /json_proto [09:08:19]Method is POST - this is cgi request [09:08:19]url: /json_proto [09:08:19]query_string will be loaded in cgi processing [09:08:19]execute_cgi json_proto POST (null) [09:08:19]execute_cgi path=json_proto method=POST [09:08:19]POST find Content-Length [09:08:19]Host: 172.17.47.195:8080 [09:08:19]Content-Length: 687 [09:08:19]Content-Type: application/json [09:08:19] [09:08:19]POST finish read [09:08:19]Found Content-Length = 687 [09:08:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872532", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 34", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 76.20, "quantity" : 21.000, "sum" : 1600.20, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1600.00, "total" : 1600.00, "payments": [ { "type": 0, "sum" : 1600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:08:19]execute_script... [09:08: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 : (1)872532", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 34", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 76.20, "quantity" : 21.000, "sum" : 1600.20, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1600.00, "total" : 1600.00, "payments": [ { "type": 0, "sum" : 1600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:08:19]POST & json_proto [09:08:19]process_json_proto [09:08:19]json parsed OK: [09:08:19]protocol is kg_v1.0 [09:08:19]action value=close_receipt [09:08:19]process_action close_receipt [09:08:19]cmd_close_receipt [09:08:19]MH_GetDate [09:08:19]Write to MH i2c: F0 00 00 68 00 57 [09:08:19]Write i2c OK [09:08:19]MH_I2C_Read... [09:08:19]Read from MH i2c: F0 [09:08:19]MH_I2C_Read... [09:08:19]Read from MH i2c: F0 09 00 [09:08:19]MH_I2C_Read... [09:08:19]Read from MH i2c: F0 09 00 68 00 00 84 81 F2 66 96 2E 95 66 7C [09:08:19]GetLastDocTimeStamp 1727167875 [09:08:19]current date 1727168900 [09:08:19]FM_GetShiftState [09:08:19]SAM_PROTO_GetShiftState [09:08:19]wFMCommunicate request_size=4 [09:08:19]MH_SAM_APDU [09:08:19]CAPDU: 80 13 01 00 [09:08:19]Write to MH i2c: E2 08 00 69 00 80 13 01 00 00 00 00 00 E6 [09:08:19]Write i2c OK [09:08:19]MH_I2C_Read... [09:08:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:08:19]Read from MH i2c: E2 [09:08:19]MH_I2C_Read... [09:08:19]Read from MH i2c: E2 0E 00 [09:08:19]MH_I2C_Read... [09:08:19]Read from MH i2c: E2 0E 00 69 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 8C [09:08:19]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [09:08:19]wFMCommunicate OK [09:08:19]SAM_PROTO_GetShiftState done [09:08:19]FM_GetShiftState done [09:08:19]opened in 1727137340 [09:08:19]opened+sec_in_day 1727223740 [09:08:19]quantity*price = 160020 [09:08:19]sum+1 = 160021 [09:08:19]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.20 ИТОГО: 1600.00 Внесено: 1600.00 СДАЧА: 0.00 НСП 1% : 14.16 НДС 12% : 169.93 Наличными: 1600.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 28 24.09.2024 09:08 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 ФМ: 0000000002094258 ФД: 7892 ФПД: 1452205698201 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T090820&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7892&fm=1452205698201&tin=02508201610067®Number=0000000000190446&sum=160000 [09:08:20]StoreToDocumentArchive [09:08:20]shift 72 fd 7892 [09:08:20]save to /storage/0072/doc_00007892 [09:08:20]save last doc name /storage/0072/doc_00007892 to /storage/kkm_last_doc_name [09:08:20]save OK [09:08:20]Clear old archive folders... [09:08:20]ProcessDocumentItem done err = 0, tmpTLVsize=252 [09:08:20]tlvbuf is 015DEA50 [09:08:20]SAM_PROTO_ClearQueue [09:08:20]wFMCommunicate request_size=4 [09:08:20]MH_SAM_APDU [09:08:20]CAPDU: 80 09 00 00 [09:08:20]Write to MH i2c: E2 08 00 76 00 80 09 00 00 00 00 00 00 E8 [09:08:20]Write i2c OK [09:08:20]MH_I2C_Read... [09:08:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:08:20]Read from MH i2c: E2 [09:08:20]MH_I2C_Read... [09:08:20]Read from MH i2c: E2 03 00 [09:08:20]MH_I2C_Read... [09:08:20]Read from MH i2c: E2 03 00 76 00 00 90 00 EA [09:08:20]RAPDU: 90 00 [09:08:20]wFMCommunicate OK [09:08:20]SAM_PROTO_ClearQueue done [09:08:20]KKMCreateOFDPacket [09:08:20]OFDProtocolAddRootSTLVToBuf [09:08:20]FM_MakeSignedData [09:08:20]FM_MakeSignedData [09:08:20]SAM_PROTO_SignData [09:08:20]wFMCommunicate request_size=4 [09:08:20]MH_SAM_APDU [09:08:20]CAPDU: 80 0D 01 02 [09:08:20]Write to MH i2c: E2 08 00 77 00 80 0D 01 02 00 00 00 00 F0 [09:08:20]Write i2c OK [09:08:20]MH_I2C_Read... [09:08:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:08:20]Read from MH i2c: E2 [09:08:20]MH_I2C_Read... [09:08:20]Read from MH i2c: E2 03 00 [09:08:20]MH_I2C_Read... [09:08:20]Read from MH i2c: E2 03 00 77 00 00 90 00 EB [09:08:20]RAPDU: 90 00 [09:08:20]wFMCommunicate OK [09:08:20]wFMCommunicate request_size=255 [09:08:20]MH_SAM_APDU [09:08:20]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 08 52 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 14 71 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 71 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 42 00 00 00 00 07 04 06 00 00 71 02 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 84 81 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D4 1E 00 00 35 04 06 00 [09:08:20]Write to MH i2c: E2 02 01 78 00 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 08 52 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 14 71 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 71 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 42 00 00 00 00 07 04 06 00 00 71 02 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 84 81 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D4 1E 00 00 35 04 06 00 00 00 BC [09:08:20]Write i2c OK [09:08:20]MH_I2C_Read... [09:08:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:08:21]Read from MH i2c: E2 [09:08:21]MH_I2C_Read... [09:08:21]Read from MH i2c: E2 03 00 [09:08:21]MH_I2C_Read... [09:08:21]Read from MH i2c: E2 03 00 78 00 00 90 00 EC [09:08:21]RAPDU: 90 00 [09:08:21]wFMCommunicate OK [09:08:21]wFMCommunicate request_size=11 [09:08:21]MH_SAM_APDU [09:08:21]CAPDU: 80 0D 02 02 06 01 52 1E 34 6C 99 [09:08:21]Write to MH i2c: E2 0E 00 79 00 80 0D 02 02 06 00 01 52 1E 34 6C 99 00 00 A9 [09:08:21]Write i2c OK [09:08:21]MH_I2C_Read... [09:08:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:08:21]Read from MH i2c: E2 [09:08:21]MH_I2C_Read... [09:08:21]Read from MH i2c: E2 03 00 [09:08:21]MH_I2C_Read... [09:08:21]Read from MH i2c: E2 03 00 79 00 00 90 00 ED [09:08:21]RAPDU: 90 00 [09:08:21]wFMCommunicate OK [09:08:21]wFMCommunicate request_size=4 [09:08:21]MH_SAM_APDU [09:08:21]CAPDU: 80 0D 03 02 [09:08:21]Write to MH i2c: E2 08 00 7A 00 80 0D 03 02 00 00 00 00 F5 [09:08:21]Write i2c OK [09:08:21]MH_I2C_Read... [09:08:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:08:21]Read from MH i2c: E2 [09:08:21]MH_I2C_Read... [09:08:21]Read from MH i2c: E2 0B 00 [09:08:21]MH_I2C_Read... [09:08:21]Read from MH i2c: E2 0B 00 7A 00 00 C7 06 C9 95 52 40 5B 39 90 00 47 [09:08:21]RAPDU: C7 06 C9 95 52 40 5B 39 90 00 [09:08:21]wFMCommunicate OK [09:08:21]SAM_PROTO_SignData done [09:08:21]FM_MakeSignedData done [09:08:21]CreateOFDProtocolMessage [09:08:21]wFMCommunicate request_size=4 [09:08:21]MH_SAM_APDU [09:08:21]CAPDU: 80 11 00 00 [09:08:21]Write to MH i2c: E2 08 00 7B 00 80 11 00 00 00 00 00 00 F5 [09:08:21]Write i2c OK [09:08:21]MH_I2C_Read... [09:08:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:08:21]Read from MH i2c: E2 [09:08:21]MH_I2C_Read... [09:08:21]Read from MH i2c: E2 17 00 [09:08:21]MH_I2C_Read... [09:08:21]Read from MH i2c: E2 17 00 7B 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 46 [09:08:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [09:08:21]wFMCommunicate OK [09:08:21]CreateOFDProtocolMessage done [09:08:21]OFDSenderStorePacket 7892 [09:08:21]StoreOFDPacket docnum=7892 [09:08:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 01 00 00 17 61 08 01 84 64 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 08 52 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 14 71 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 71 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 42 00 00 00 00 07 04 06 00 00 71 02 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 84 81 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D4 1E 00 00 35 04 06 00 01 52 1E 34 6C 99 C7 06 C9 95 52 40 5B 39 [09:08:21]CheckFolder [09:08:21]dirname=/storage/ofd_packets [09:08:21]CheckFolder done [09:08:21]ProducePacketName [09:08:21]name=ofd_packets/00007892 [09:08:21]NVStorageSaveData ofd_packets/00007892 [09:08:21]File name is /storage/ofd_packets/00007892 [09:08:21]Write 302 bytes [09:08:21]NVStorageSaveData done [09:08:21]OFDSenderStorePacket done [09:08:21]KKMCreateOFDPacket done [09:08:21]NVStorageSaveData kkm_last_timestamp [09:08:21]File name is /storage/kkm_last_timestamp [09:08:21]Write 4 bytes [09:08:21]NVStorageSaveData done [09:08:21]ExternCall_PrintAddStr [09:08:21]wPrintStart [09:08:21]Write to MH i2c: 01 00 00 7C 00 7C [09:08:21]Write i2c OK [09:08:21]MH_I2C_Read... [09:08:21]Read from MH i2c: 01 [09:08:21]MH_I2C_Read... [09:08:21]Read from MH i2c: 01 07 00 [09:08:21]MH_I2C_Read... [09:08:21]Read from MH i2c: 01 07 00 7C 00 00 00 00 00 00 FF 0F 91 [09:08:21]RasterBufferAndPrint [09:08:21]line Счет N : (1)872532 [09:08:21]line ИНН: 02508201610067 [09:08:21]line Контрольно-Кассовый Чек [09:08:21]line ПРОДАЖА [09:08:21]line ТРК (МРК, ГНК) : 34 [09:08:21]line Товар: 2710194210 [09:08:21]line ДТ(л)-К-4 [09:08:21]line 21.000 * 76.20 [09:08:21]line = 1600.20 [09:08:21]line НДС 12% НСП 1% [09:08:21]line > о реализуемом товаре [09:08:21]line ОКРУГЛЕНИЕ: -0.20 [09:08:21]line ИТОГО: 1600.00 [09:08:21]line Внесено: 1600.00 [09:08:21]line СДАЧА: 0.00 [09:08:21]line НСП 1% : 14.16 [09:08:21]line НДС 12% : 169.93 [09:08:21]line Наличными: 1600.00 [09:08:21]line Безнал.: 0.00 [09:08:21]line Место: АЗС № 137 "Партнер Нефть" [09:08:21]line Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 [09:08:21]line СНО: Общий режим [09:08:21]line Чек 28 24.09.2024 09:08 [09:08:21]line Смена: 72 ФФД: 1.0 [09:08:21]line ЗНМ: 0300000041 [09:08:21]line РНМ: 0000000000190446 [09:08:21]line Версия ККМ: v1.0 [09:08:21]line ФМ: 0000000002094258 [09:08:21]line ФД: 7892 [09:08:21]line ФПД: 1452205698201 [09:08:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T090820&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7892&fm=1452205698201&tin=02508201610067®Number=0000000000190446&sum=160000 [09:08:21]OFD Sender: Processing packet 7892 [packets to send 51, broken 50] [09:08:21]ProducePacketName [09:08:21]name=ofd_packets/00007892 [09:08:21]OFD Sender: To server: pG, [09:08:21]CommunicateWithHost lk.salyk.kg:30040 [09:08:21]ConnectInit lk.salyk.kg [09:08:21]written 0, free lines is 4095 [09:08:21]Write to MH i2c: 01 00 00 A7 00 A7 [09:08:21]Write i2c OK [09:08:21]MH_I2C_Read... [09:08:21]Read from MH i2c: 01 [09:08:21]MH_I2C_Read... [09:08:21]Read from MH i2c: 01 07 00 [09:08:21]MH_I2C_Read... [09:08:21]Read from MH i2c: 01 07 00 A7 00 00 00 00 00 00 F3 0C AD [09:08:21]RasterBufferAndPrint [09:08:21]line [09:08:21]line [09:08:21]line [09:08:21]line [09:08:21]line [09:08:21]written 0, free lines is 3321 [09:08:21]MH_Cut [09:08:21]Write to MH i2c: D1 01 00 AE 00 01 80 [09:08:21]Write i2c OK [09:08:21]MH_I2C_Read... [09:08:21]Read from MH i2c: D1 [09:08:22]MH_I2C_Read... [09:08:22]Read from MH i2c: D1 01 00 [09:08:22]MH_I2C_Read... [09:08:22]Read from MH i2c: D1 01 00 AE 00 00 7F [09:08:22]Write to MH i2c: 01 00 00 AF 00 AF [09:08:22]Write i2c OK [09:08:22]MH_I2C_Read... [09:08:22]*** Cut start [09:08:22]*** Purtial cut [09:08:22]*** Stage 1: CUTSNS_PIN = 1 [09:08:22]Read from MH i2c: 01 [09:08:22]MH_I2C_Read... [09:08:22]*** Stop cut motor [09:08:22]*** Cut end [09:08:22]Read from MH i2c: 01 07 00 [09:08:22]MH_I2C_Read... [09:08:22]Read from MH i2c: 01 07 00 AF 00 00 00 00 00 00 FF 0F C4 [09:08:22]process_action close_receipt done [09:08:22]requested_data is exist [09:08:22]produce_requested_data [09:08:22]requested_item fm.sn is exist - process it [09:08:22]wFMCommunicate request_size=4 [09:08:22]MH_SAM_APDU [09:08:22]CAPDU: 80 11 00 00 [09:08:22]Write to MH i2c: E2 08 00 B0 00 80 11 00 00 00 00 00 00 2A [09:08:22]Write i2c OK [09:08:22]MH_I2C_Read... [09:08:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:08:23]Read from MH i2c: E2 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: E2 17 00 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: E2 17 00 B0 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 7B [09:08:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [09:08:23]wFMCommunicate OK [09:08:23]requested_item fd.num is exist - process it [09:08:23]SAM_PROTO_GetFieldsCounters [09:08:23]wFMCommunicate request_size=4 [09:08:23]MH_SAM_APDU [09:08:23]CAPDU: 80 13 00 00 [09:08:23]Write to MH i2c: E2 08 00 B1 00 80 13 00 00 00 00 00 00 2D [09:08:23]Write i2c OK [09:08:23]MH_I2C_Read... [09:08:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:08:23]Read from MH i2c: E2 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: E2 62 00 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: E2 62 00 B1 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 D4 1E 00 00 0E 04 04 00 48 00 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 D9 [09:08:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 D4 1E 00 00 0E 04 04 00 48 00 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:08:23]wFMCommunicate OK [09:08:23]SAM_PROTO_GetFieldsCounters done [09:08:23]requested_item shift.num is exist - process it [09:08:23]requested_item shift.opened is exist - process it [09:08:23]req_shift_opened [09:08:23]FM_GetShiftState [09:08:23]SAM_PROTO_GetShiftState [09:08:23]wFMCommunicate request_size=4 [09:08:23]MH_SAM_APDU [09:08:23]CAPDU: 80 13 01 00 [09:08:23]Write to MH i2c: E2 08 00 B2 00 80 13 01 00 00 00 00 00 2F [09:08:23]Write i2c OK [09:08:23]MH_I2C_Read... [09:08:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:08:23]Read from MH i2c: E2 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: E2 0E 00 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: E2 0E 00 B2 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 D5 [09:08:23]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [09:08:23]wFMCommunicate OK [09:08:23]SAM_PROTO_GetShiftState done [09:08:23]FM_GetShiftState done [09:08:23]req_shift_opened done [09:08:23]requested_item shift.open_date is exist - process it [09:08:23]req_shift_open_date [09:08:23]req_shift_open_date done [09:08:23]produce_requested_data done [09:08:23]produce_requested_data return {"fm.sn":"0000000002094258","fd.num":7892,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [09:08:23]process_action_free close_receipt [09:08:23]json_value_free [09:08:23]json_value_free done [09:08:23]process_json_proto returns [09:08:23]Send response to host [09:08:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002094258","fd.num":7892,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [09:08:23]free response buf [09:08:23]execute_script done [09:08:23]execute_script returns [09:08:23]free content buf [09:08:23]Sock 7.Close socket [09:08:23]Sock 7.Thread stoped [09:08:24]Connected sock=11 [09:08:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 01 00 00 17 61 08 01 84 64 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 08 52 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 14 71 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 71 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 42 00 00 00 00 07 04 06 00 00 71 02 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 84 81 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D4 1E 00 00 35 04 06 00 01 52 1E 34 6C 99 C7 06 C9 95 52 40 5B 39 [09:08:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 4A F7 47 00 CB 49 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D4 1E 00 00 F4 03 04 00 3F 2C F2 66 B6 04 01 00 00 8D 4F D8 6C DC DD D8 11 [09:08:27]CommunicateWithHost err = 0 [09:08:27]CheckOFDResponse [09:08:27]1017 (14) - 77093643461234 [09:08:27]1041 (16) - 0000000002094258 [09:08:27]1040 (4) - 7892 [09:08:27]1012 (4) - 24.09.2024 03:04 [09:08:27]1206 (1) - 0 [09:08:27]OFD Sender: Remove packet 7892 [09:08:27]ProducePacketName [09:08:27]name=ofd_packets/00007892 [09:08:27]NVStorageDeleteData [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:38]OFD Sender: No OFD packet to send [09:09:43]OFD Sender: No OFD packet to send [09:09:48]OFD Sender: No OFD packet to send [09:09:53]OFD Sender: No OFD packet to send [09:09:58]OFD Sender: No OFD packet to send [09:10:03]OFD Sender: No OFD packet to send [09:10:08]OFD Sender: No OFD packet to send [09:10:13]OFD Sender: No OFD packet to send [09:10:18]OFD Sender: No OFD packet to send [09:10:23]OFD Sender: No OFD packet to send [09:10:28]OFD Sender: No OFD packet to send [09:10:33]OFD Sender: No OFD packet to send [09:10:38]OFD Sender: No OFD packet to send [09:10:43]OFD Sender: No OFD packet to send [09:10:48]OFD Sender: No OFD packet to send [09:10:53]OFD Sender: No OFD packet to send [09:10:58]OFD Sender: No OFD packet to send [09:11:03]OFD Sender: No OFD packet to send [09:11:08]OFD Sender: No OFD packet to send [09:11:13]OFD Sender: No OFD packet to send [09:11:18]OFD Sender: No OFD packet to send [09:11:23]OFD Sender: No OFD packet to send [09:11:28]OFD Sender: No OFD packet to send [09:11:33]OFD Sender: No OFD packet to send [09:11:38]OFD Sender: No OFD packet to send [09:11:43]OFD Sender: No OFD packet to send [09:11:48]OFD Sender: No OFD packet to send [09:11:53]OFD Sender: No OFD packet to send [09:11:58]OFD Sender: No OFD packet to send [09:12:03]OFD Sender: No OFD packet to send [09:12:08]OFD Sender: No OFD packet to send [09:12:13]OFD Sender: No OFD packet to send [09:12:18]OFD Sender: No OFD packet to send [09:12:23]OFD Sender: No OFD packet to send [09:12:28]OFD Sender: No OFD packet to send [09:12:33]OFD Sender: No OFD packet to send [09:12:38]OFD Sender: No OFD packet to send [09:12:43]OFD Sender: No OFD packet to send [09:12:48]OFD Sender: No OFD packet to send [09:12:53]OFD Sender: No OFD packet to send [09:12:58]OFD Sender: No OFD packet to send [09:13:03]OFD Sender: No OFD packet to send [09:13:08]OFD Sender: No OFD packet to send [09:13:13]OFD Sender: No OFD packet to send [09:13:18]OFD Sender: No OFD packet to send [09:13:23]OFD Sender: No OFD packet to send [09:13:26]recv_with_timeout no data received [09:13:28]OFD Sender: No OFD packet to send [09:13:33]OFD Sender: No OFD packet to send [09:13:38]OFD Sender: No OFD packet to send [09:13:43]OFD Sender: No OFD packet to send [09:13:48]OFD Sender: No OFD packet to send [09:13:53]OFD Sender: No OFD packet to send [09:13:58]OFD Sender: No OFD packet to send [09:14:03]OFD Sender: No OFD packet to send [09:14:05]recv_with_timeout no data received [09:14:08]OFD Sender: No OFD packet to send [09:14:13]OFD Sender: No OFD packet to send [09:14:18]OFD Sender: No OFD packet to send [09:14:23]OFD Sender: No OFD packet to send [09:14:28]OFD Sender: No OFD packet to send [09:14:33]OFD Sender: No OFD packet to send [09:14:38]OFD Sender: No OFD packet to send [09:14:43]OFD Sender: No OFD packet to send [09:14:48]OFD Sender: No OFD packet to send [09:14:53]OFD Sender: No OFD packet to send [09:14:58]OFD Sender: No OFD packet to send [09:15:03]OFD Sender: No OFD packet to send [09:15:08]OFD Sender: No OFD packet to send [09:15:13]OFD Sender: No OFD packet to send [09:15:18]OFD Sender: No OFD packet to send [09:15:23]OFD Sender: No OFD packet to send [09:15:28]OFD Sender: No OFD packet to send [09:15:33]OFD Sender: No OFD packet to send [09:15:38]OFD Sender: No OFD packet to send [09:15:43]OFD Sender: No OFD packet to send [09:15:48]OFD Sender: No OFD packet to send [09:15:53]OFD Sender: No OFD packet to send [09:15:58]OFD Sender: No OFD packet to send [09:16:03]OFD Sender: No OFD packet to send [09:16:08]OFD Sender: No OFD packet to send [09:16:13]OFD Sender: No OFD packet to send [09:16:18]OFD Sender: No OFD packet to send [09:16:23]OFD Sender: No OFD packet to send [09:16:28]OFD Sender: No OFD packet to send [09:16:33]OFD Sender: No OFD packet to send [09:16:38]OFD Sender: No OFD packet to send [09:16:43]OFD Sender: No OFD packet to send [09:16:44]recv_with_timeout no data received [09:16:48]OFD Sender: No OFD packet to send [09:16:53]OFD Sender: No OFD packet to send [09:16:58]OFD Sender: No OFD packet to send [09:17:03]OFD Sender: No OFD packet to send [09:17:08]OFD Sender: No OFD packet to send [09:17:13]OFD Sender: No OFD packet to send [09:17:18]OFD Sender: No OFD packet to send [09:17:23]OFD Sender: No OFD packet to send [09:17:28]OFD Sender: No OFD packet to send [09:17:33]OFD Sender: No OFD packet to send [09:17:38]OFD Sender: No OFD packet to send [09:17:43]OFD Sender: No OFD packet to send [09:17:48]OFD Sender: No OFD packet to send [09:17:53]OFD Sender: No OFD packet to send [09:17:56]recv_with_timeout no data received [09:17:58]OFD Sender: No OFD packet to send [09:18:03]OFD Sender: No OFD packet to send [09:18:08]OFD Sender: No OFD packet to send [09:18:13]OFD Sender: No OFD packet to send [09:18:18]OFD Sender: No OFD packet to send [09:18:23]OFD Sender: No OFD packet to send [09:18:28]OFD Sender: No OFD packet to send [09:18:33]OFD Sender: No OFD packet to send [09:18:38]OFD Sender: No OFD packet to send [09:18:43]OFD Sender: No OFD packet to send [09:18:48]OFD Sender: No OFD packet to send [09:18:53]OFD Sender: No OFD packet to send [09:18:58]OFD Sender: No OFD packet to send [09:19:03]OFD Sender: No OFD packet to send [09:19:08]OFD Sender: No OFD packet to send [09:19:13]OFD Sender: No OFD packet to send [09:19:18]OFD Sender: No OFD packet to send [09:19:23]OFD Sender: No OFD packet to send [09:19:28]OFD Sender: No OFD packet to send [09:19:33]OFD Sender: No OFD packet to send [09:19:38]OFD Sender: No OFD packet to send [09:19:43]OFD Sender: No OFD packet to send [09:19:48]OFD Sender: No OFD packet to send [09:19:53]OFD Sender: No OFD packet to send [09:19:58]OFD Sender: No OFD packet to send [09:20:03]OFD Sender: No OFD packet to send [09:20:08]OFD Sender: No OFD packet to send [09:20:13]OFD Sender: No OFD packet to send [09:20:18]OFD Sender: No OFD packet to send [09:20:23]OFD Sender: No OFD packet to send [09:20:28]OFD Sender: No OFD packet to send [09:20:33]OFD Sender: No OFD packet to send [09:20:38]OFD Sender: No OFD packet to send [09:20:38]recv_with_timeout no data received [09:20:43]OFD Sender: No OFD packet to send [09:20:48]OFD Sender: No OFD packet to send [09:20:53]OFD Sender: No OFD packet to send [09:20:58]OFD Sender: No OFD packet to send [09:20:59]recv_with_timeout no data received [09:21:03]OFD Sender: No OFD packet to send [09:21:08]OFD Sender: No OFD packet to send [09:21:13]OFD Sender: No OFD packet to send [09:21:18]OFD Sender: No OFD packet to send [09:21:23]OFD Sender: No OFD packet to send [09:21:28]OFD Sender: No OFD packet to send [09:21:33]OFD Sender: No OFD packet to send [09:21:33]recv_with_timeout no data received [09:21:38]OFD Sender: No OFD packet to send [09:21:43]OFD Sender: No OFD packet to send [09:21:48]OFD Sender: No OFD packet to send [09:21:53]OFD Sender: No OFD packet to send [09:21:58]OFD Sender: No OFD packet to send [09:22:03]OFD Sender: No OFD packet to send [09:22:08]OFD Sender: No OFD packet to send [09:22:13]OFD Sender: No OFD packet to send [09:22:18]OFD Sender: No OFD packet to send [09:22:23]OFD Sender: No OFD packet to send [09:22:28]OFD Sender: No OFD packet to send [09:22:33]OFD Sender: No OFD packet to send [09:22:38]accept exits with 9 [09:22:38]New connection [09:22:38]New thread 3067272548 created [09:22:38]Thread 3067129188 joined [09:22:38]Waiting for new connection... [09:22:38] Sock 9.Parse request [09:22:38]Sock 9.Check first char [09:22:38]Sock 9.First char is OK [09:22:38]request: POST /json_proto HTTP/1.0 [09:22:38]Method: POST [09:22:38]URL: /json_proto [09:22:38]Method is POST - this is cgi request [09:22:38]url: /json_proto [09:22:38]query_string will be loaded in cgi processing [09:22:38]execute_cgi json_proto POST (null) [09:22:38]execute_cgi path=json_proto method=POST [09:22:38]POST find Content-Length [09:22:38]Host: 172.17.47.195:8080 [09:22:38]Content-Length: 677 [09:22:38]Content-Type: application/json [09:22:38] [09:22:38]POST finish read [09:22:38]Found Content-Length = 677 [09:22:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872536", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 7.380, "sum" : 500.36, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:22:38]execute_script... [09:22: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 : (1)872536", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 7.380, "sum" : 500.36, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:22:38]POST & json_proto [09:22:38]process_json_proto [09:22:38]json parsed OK: [09:22:38]protocol is kg_v1.0 [09:22:38]action value=close_receipt [09:22:38]process_action close_receipt [09:22:38]cmd_close_receipt [09:22:38]MH_GetDate [09:22:38]Write to MH i2c: F0 00 00 B3 00 A2 [09:22:38]Write i2c OK [09:22:38]MH_I2C_Read... [09:22:38]Read from MH i2c: F0 [09:22:38]MH_I2C_Read... [09:22:38]Read from MH i2c: F0 09 00 [09:22:38]MH_I2C_Read... [09:22:38]Read from MH i2c: F0 09 00 B3 00 00 DF 84 F2 66 96 2E 95 66 25 [09:22:38]GetLastDocTimeStamp 1727168900 [09:22:38]current date 1727169759 [09:22:38]FM_GetShiftState [09:22:38]SAM_PROTO_GetShiftState [09:22:38]wFMCommunicate request_size=4 [09:22:38]MH_SAM_APDU [09:22:38]CAPDU: 80 13 01 00 [09:22:38]Write to MH i2c: E2 08 00 B4 00 80 13 01 00 00 00 00 00 31 [09:22:38]Write i2c OK [09:22:38]MH_I2C_Read... [09:22:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:22:38]Read from MH i2c: E2 [09:22:38]MH_I2C_Read... [09:22:38]Read from MH i2c: E2 0E 00 [09:22:38]MH_I2C_Read... [09:22:38]Read from MH i2c: E2 0E 00 B4 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 D7 [09:22:38]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [09:22:38]wFMCommunicate OK [09:22:38]SAM_PROTO_GetShiftState done [09:22:38]FM_GetShiftState done [09:22:38]opened in 1727137340 [09:22:38]opened+sec_in_day 1727223740 [09:22:38]quantity*price = 50036 [09:22:38]sum+1 = 50037 [09:22:38]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.36 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.14 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 29 24.09.2024 09:22 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 ФМ: 0000000002094258 ФД: 7893 ФПД: 172042620688362 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T092239&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7893&fm=172042620688362&tin=02508201610067®Number=0000000000190446&sum=50000 [09:22:39]StoreToDocumentArchive [09:22:39]shift 72 fd 7893 [09:22:39]save to /storage/0072/doc_00007893 [09:22:39]save last doc name /storage/0072/doc_00007893 to /storage/kkm_last_doc_name [09:22:39]save OK [09:22:39]Clear old archive folders... [09:22:39]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:22:39]tlvbuf is 015EB360 [09:22:39]SAM_PROTO_ClearQueue [09:22:39]wFMCommunicate request_size=4 [09:22:39]MH_SAM_APDU [09:22:39]CAPDU: 80 09 00 00 [09:22:39]Write to MH i2c: E2 08 00 C1 00 80 09 00 00 00 00 00 00 33 [09:22:39]Write i2c OK [09:22:39]MH_I2C_Read... [09:22:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:22:39]Read from MH i2c: E2 [09:22:39]MH_I2C_Read... [09:22:39]Read from MH i2c: E2 03 00 [09:22:39]MH_I2C_Read... [09:22:39]Read from MH i2c: E2 03 00 C1 00 00 90 00 35 [09:22:39]RAPDU: 90 00 [09:22:39]wFMCommunicate OK [09:22:39]SAM_PROTO_ClearQueue done [09:22:39]KKMCreateOFDPacket [09:22:39]OFDProtocolAddRootSTLVToBuf [09:22:39]FM_MakeSignedData [09:22:39]FM_MakeSignedData [09:22:39]SAM_PROTO_SignData [09:22:39]wFMCommunicate request_size=4 [09:22:39]MH_SAM_APDU [09:22:39]CAPDU: 80 0D 01 02 [09:22:39]Write to MH i2c: E2 08 00 C2 00 80 0D 01 02 00 00 00 00 3B [09:22:39]Write i2c OK [09:22:39]MH_I2C_Read... [09:22:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:22:39]Read from MH i2c: E2 [09:22:39]MH_I2C_Read... [09:22:39]Read from MH i2c: E2 03 00 [09:22:39]MH_I2C_Read... [09:22:39]Read from MH i2c: E2 03 00 C2 00 00 90 00 36 [09:22:39]RAPDU: 90 00 [09:22:39]wFMCommunicate OK [09:22:39]wFMCommunicate request_size=255 [09:22:39]MH_SAM_APDU [09:22:39]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 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 DF 84 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D5 1E 00 00 35 04 06 00 9C [09:22:39]Write to MH i2c: E2 02 01 C3 00 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 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 DF 84 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D5 1E 00 00 35 04 06 00 9C 00 00 66 [09:22:39]Write i2c OK [09:22:39]MH_I2C_Read... [09:22:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:22:40]Read from MH i2c: E2 [09:22:40]MH_I2C_Read... [09:22:40]Read from MH i2c: E2 03 00 [09:22:40]MH_I2C_Read... [09:22:40]Read from MH i2c: E2 03 00 C3 00 00 90 00 37 [09:22:40]RAPDU: 90 00 [09:22:40]wFMCommunicate OK [09:22:40]wFMCommunicate request_size=10 [09:22:40]MH_SAM_APDU [09:22:40]CAPDU: 80 0D 02 02 05 78 CB 4A D7 EA [09:22:40]Write to MH i2c: E2 0D 00 C4 00 80 0D 02 02 05 00 78 CB 4A D7 EA 00 00 96 [09:22:40]Write i2c OK [09:22:40]MH_I2C_Read... [09:22:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:22:40]Read from MH i2c: E2 [09:22:40]MH_I2C_Read... [09:22:40]Read from MH i2c: E2 03 00 [09:22:40]MH_I2C_Read... [09:22:40]Read from MH i2c: E2 03 00 C4 00 00 90 00 38 [09:22:40]RAPDU: 90 00 [09:22:40]wFMCommunicate OK [09:22:40]wFMCommunicate request_size=4 [09:22:40]MH_SAM_APDU [09:22:40]CAPDU: 80 0D 03 02 [09:22:40]Write to MH i2c: E2 08 00 C5 00 80 0D 03 02 00 00 00 00 40 [09:22:40]Write i2c OK [09:22:40]MH_I2C_Read... [09:22:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:22:40]Read from MH i2c: E2 [09:22:40]MH_I2C_Read... [09:22:40]Read from MH i2c: E2 0B 00 [09:22:40]MH_I2C_Read... [09:22:40]Read from MH i2c: E2 0B 00 C5 00 00 47 8D F8 70 70 8C C2 5F 90 00 9A [09:22:40]RAPDU: 47 8D F8 70 70 8C C2 5F 90 00 [09:22:40]wFMCommunicate OK [09:22:40]SAM_PROTO_SignData done [09:22:40]FM_MakeSignedData done [09:22:40]CreateOFDProtocolMessage [09:22:40]wFMCommunicate request_size=4 [09:22:40]MH_SAM_APDU [09:22:40]CAPDU: 80 11 00 00 [09:22:40]Write to MH i2c: E2 08 00 C6 00 80 11 00 00 00 00 00 00 40 [09:22:40]Write i2c OK [09:22:40]MH_I2C_Read... [09:22:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:22:40]Read from MH i2c: E2 [09:22:40]MH_I2C_Read... [09:22:40]Read from MH i2c: E2 17 00 [09:22:40]MH_I2C_Read... [09:22:40]Read from MH i2c: E2 17 00 C6 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 91 [09:22:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [09:22:40]wFMCommunicate OK [09:22:40]CreateOFDProtocolMessage done [09:22:40]OFDSenderStorePacket 7893 [09:22:40]StoreOFDPacket docnum=7893 [09:24:25]ConnectInit Can't connect to host [09:24:25]ConnectInit Can't take IP for lk.salyk.kg [09:24:25]CommunicateWithHost connect error [09:24:25]CommunicateWithHost err = -1 [09:24:25]OFD Sender: Server communicate error [09:24:30]OFD Sender: Processing packet 7893 [packets to send 51, broken 50] [09:24:30]ProducePacketName [09:24:30]name=ofd_packets/00007893 [09:24:30]OFD Sender: To server: pG, [09:24:30]CommunicateWithHost lk.salyk.kg:30040 [09:24:30]ConnectInit lk.salyk.kg [09:24:32]Connected sock=9 [09:24:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 6B 43 07 01 2C 99 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D4 1C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 74 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 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 DF 84 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D5 1E 00 00 35 04 06 00 9C 78 CB 4A D7 EA 47 8D F8 70 70 8C C2 5F [09:24:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 B9 89 47 00 29 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 32 30 39 34 32 35 38 10 04 04 00 D5 1E 00 00 F4 03 04 00 08 30 F2 66 B6 04 01 00 00 93 A9 8E 27 50 7C 06 90 [09:24:33]CommunicateWithHost err = 0 [09:24:33]CheckOFDResponse [09:24:33]1017 (14) - 77093643461234 [09:24:33]1041 (16) - 0000000002094258 [09:24:33]1040 (4) - 7893 [09:24:33]1012 (4) - 24.09.2024 03:20 [09:24:33]1206 (1) - 0 [09:24:33]OFD Sender: Remove packet 7893 [09:24:33]ProducePacketName [09:24:33]name=ofd_packets/00007893 [09:24:33]NVStorageDeleteData [09:24:33]OFD Sender: No OFD packet to send [09:24:38]OFD Sender: No OFD packet to send [09:24:43]OFD Sender: No OFD packet to send [09:24:48]OFD Sender: No OFD packet to send [09:24:53]OFD Sender: No OFD packet to send [09:24:58]OFD Sender: No OFD packet to send [09:25:03]OFD Sender: No OFD packet to send [09:25:08]OFD Sender: No OFD packet to send [09:25:13]OFD Sender: No OFD packet to send [09:25:18]OFD Sender: No OFD packet to send [09:25:23]OFD Sender: No OFD packet to send [09:25:28]OFD Sender: No OFD packet to send [09:25:33]OFD Sender: No OFD packet to send [09:25:38]OFD Sender: No OFD packet to send [09:25:43]OFD Sender: No OFD packet to send [09:25:48]OFD Sender: No OFD packet to send [09:25:53]OFD Sender: No OFD packet to send [09:25:58]OFD Sender: No OFD packet to send [09:26:03]OFD Sender: No OFD packet to send [09:26:08]OFD Sender: No OFD packet to send [09:26:12]recv_with_timeout no data received [09:26:13]OFD Sender: No OFD packet to send [09:26:19]OFD Sender: No OFD packet to send [09:26:24]OFD Sender: No OFD packet to send [09:26:29]OFD Sender: No OFD packet to send [09:26:34]OFD Sender: No OFD packet to send [09:26:39]OFD Sender: No OFD packet to send [09:26:44]OFD Sender: No OFD packet to send [09:26:49]OFD Sender: No OFD packet to send [09:26:54]OFD Sender: No OFD packet to send [09:26:55]recv_with_timeout no data received [09:26:59]OFD Sender: No OFD packet to send [09:27:04]OFD Sender: No OFD packet to send [09:27:09]OFD Sender: No OFD packet to send [09:27:14]OFD Sender: No OFD packet to send [09:27:19]OFD Sender: No OFD packet to send [09:27:20]recv_with_timeout no data received [09:27:24]OFD Sender: No OFD packet to send [09:27:29]OFD Sender: No OFD packet to send [09:27:34]OFD Sender: No OFD packet to send [09:27:39]OFD Sender: No OFD packet to send [09:27:44]OFD Sender: No OFD packet to send [09:27:49]OFD Sender: No OFD packet to send [09:27:54]OFD Sender: No OFD packet to send [09:27:59]OFD Sender: No OFD packet to send [09:28:04]OFD Sender: No OFD packet to send [09:28:09]OFD Sender: No OFD packet to send [09:28:14]OFD Sender: No OFD packet to send [09:28:19]OFD Sender: No OFD packet to send [09:28:24]OFD Sender: No OFD packet to send [09:28:29]OFD Sender: No OFD packet to send [09:28:34]OFD Sender: No OFD packet to send [09:28:39]OFD Sender: No OFD packet to send [09:28:39]recv_with_timeout no data received [09:28:44]OFD Sender: No OFD packet to send [09:28:49]OFD Sender: No OFD packet to send [09:28:54]OFD Sender: No OFD packet to send [09:28:59]OFD Sender: No OFD packet to send [09:29:04]OFD Sender: No OFD packet to send [09:29:09]OFD Sender: No OFD packet to send [09:29:14]OFD Sender: No OFD packet to send [09:29:19]OFD Sender: No OFD packet to send [09:29:24]OFD Sender: No OFD packet to send [09:29:28]recv_with_timeout no data received [09:29:29]OFD Sender: No OFD packet to send [09:29:34]OFD Sender: No OFD packet to send [09:29:39]OFD Sender: No OFD packet to send [09:29:44]OFD Sender: No OFD packet to send [09:29:49]OFD Sender: No OFD packet to send [09:29:54]OFD Sender: No OFD packet to send [09:29:59]OFD Sender: No OFD packet to send [09:30:04]OFD Sender: No OFD packet to send [09:30:09]OFD Sender: No OFD packet to send [09:30:14]OFD Sender: No OFD packet to send [09:30:19]OFD Sender: No OFD packet to send [09:30:24]OFD Sender: No OFD packet to send [09:30:29]OFD Sender: No OFD packet to send [09:30:34]OFD Sender: No OFD packet to send [09:30:39]OFD Sender: No OFD packet to send [09:30:44]OFD Sender: No OFD packet to send [09:30:49]OFD Sender: No OFD packet to send [09:30:54]OFD Sender: No OFD packet to send [09:30:59]OFD Sender: No OFD packet to send [09:31:04]OFD Sender: No OFD packet to send [09:31:09]OFD Sender: No OFD packet to send [09:31:14]OFD Sender: No OFD packet to send [09:31:19]OFD Sender: No OFD packet to send [09:31:24]OFD Sender: No OFD packet to send [09:31:29]OFD Sender: No OFD packet to send [09:31:34]OFD Sender: No OFD packet to send [09:31:39]OFD Sender: No OFD packet to send [09:31:44]OFD Sender: No OFD packet to send [09:31:49]OFD Sender: No OFD packet to send [09:31:54]OFD Sender: No OFD packet to send [09:31:59]OFD Sender: No OFD packet to send [09:32:04]OFD Sender: No OFD packet to send [09:32:09]OFD Sender: No OFD packet to send [09:32:14]OFD Sender: No OFD packet to send [09:32:19]OFD Sender: No OFD packet to send [09:32:24]OFD Sender: No OFD packet to send [09:32:29]OFD Sender: No OFD packet to send [09:32:34]OFD Sender: No OFD packet to send [09:32:39]OFD Sender: No OFD packet to send [09:32:44]OFD Sender: No OFD packet to send [09:32:49]OFD Sender: No OFD packet to send [09:32:54]OFD Sender: No OFD packet to send [09:32:59]OFD Sender: No OFD packet to send [09:33:04]OFD Sender: No OFD packet to send [09:33:09]OFD Sender: No OFD packet to send [09:33:14]OFD Sender: No OFD packet to send [09:33:19]OFD Sender: No OFD packet to send [09:33:24]OFD Sender: No OFD packet to send [09:33:28]recv_with_timeout no data received [09:33:29]OFD Sender: No OFD packet to send [09:33:34]OFD Sender: No OFD packet to send [09:33:39]OFD Sender: No OFD packet to send [09:33:44]OFD Sender: No OFD packet to send [09:33:49]OFD Sender: No OFD packet to send [09:33:54]OFD Sender: No OFD packet to send [09:33:59]OFD Sender: No OFD packet to send [09:34:04]OFD Sender: No OFD packet to send [09:34:09]OFD Sender: No OFD packet to send [09:34:14]OFD Sender: No OFD packet to send [09:34:19]OFD Sender: No OFD packet to send [09:34:24]OFD Sender: No OFD packet to send [09:34:29]OFD Sender: No OFD packet to send [09:34:34]OFD Sender: No OFD packet to send [09:34:39]OFD Sender: No OFD packet to send [09:34:44]OFD Sender: No OFD packet to send [09:34:49]OFD Sender: No OFD packet to send [09:34:54]OFD Sender: No OFD packet to send [09:34:59]OFD Sender: No OFD packet to send [09:35:04]OFD Sender: No OFD packet to send [09:35:09]OFD Sender: No OFD packet to send [09:35:14]OFD Sender: No OFD packet to send [09:35:19]OFD Sender: No OFD packet to send [09:35:24]OFD Sender: No OFD packet to send [09:35:29]OFD Sender: No OFD packet to send [09:35:34]OFD Sender: No OFD packet to send [09:35:39]OFD Sender: No OFD packet to send [09:35:44]OFD Sender: No OFD packet to send [09:35:49]OFD Sender: No OFD packet to send [09:35:54]OFD Sender: No OFD packet to send [09:35:59]OFD Sender: No OFD packet to send [09:36:04]OFD Sender: No OFD packet to send [09:36:09]OFD Sender: No OFD packet to send [09:36:14]OFD Sender: No OFD packet to send [09:36:19]OFD Sender: No OFD packet to send [09:36:24]OFD Sender: No OFD packet to send [09:36:29]OFD Sender: No OFD packet to send [09:36:34]OFD Sender: No OFD packet to send [09:36:39]OFD Sender: No OFD packet to send [09:36:44]OFD Sender: No OFD packet to send [09:36:49]OFD Sender: No OFD packet to send [09:36:54]recv_with_timeout no data received [09:36:54]OFD Sender: No OFD packet to send [09:38:14]OFD Sender: No OFD packet to send [09:38:15]ConnectInit Can't connect to host [09:38:19]OFD Sender: No OFD packet to send [09:38:24]OFD Sender: No OFD packet to send [09:38:29]OFD Sender: No OFD packet to send [09:38:34]OFD Sender: No OFD packet to send [09:38:39]OFD Sender: No OFD packet to send [09:38:44]OFD Sender: No OFD packet to send [09:38:49]OFD Sender: No OFD packet to send [09:38:54]OFD Sender: No OFD packet to send [09:38:59]OFD Sender: No OFD packet to send [09:39:04]OFD Sender: No OFD packet to send [09:39:09]OFD Sender: No OFD packet to send [09:39:14]OFD Sender: No OFD packet to send [09:39:19]OFD Sender: No OFD packet to send [09:39:24]OFD Sender: No OFD packet to send [09:39:29]OFD Sender: No OFD packet to send [09:39:34]OFD Sender: No OFD packet to send [09:39:39]OFD Sender: No OFD packet to send [09:39:44]OFD Sender: No OFD packet to send [09:39:49]OFD Sender: No OFD packet to send [09:39:54]OFD Sender: No OFD packet to send [09:39:59]OFD Sender: No OFD packet to send [09:40:04]OFD Sender: No OFD packet to send [09:40:09]OFD Sender: No OFD packet to send [09:40:14]OFD Sender: No OFD packet to send [09:40:19]OFD Sender: No OFD packet to send [09:40:24]OFD Sender: No OFD packet to send [09:40:29]OFD Sender: No OFD packet to send [09:40:34]OFD Sender: No OFD packet to send [09:40:39]OFD Sender: No OFD packet to send [09:40:44]OFD Sender: No OFD packet to send [09:40:49]OFD Sender: No OFD packet to send [09:40:54]OFD Sender: No OFD packet to send [09:40:59]OFD Sender: No OFD packet to send [09:41:04]OFD Sender: No OFD packet to send [09:41:09]OFD Sender: No OFD packet to send [09:41:14]OFD Sender: No OFD packet to send [09:41:19]OFD Sender: No OFD packet to send [09:41:24]OFD Sender: No OFD packet to send [09:41:29]OFD Sender: No OFD packet to send [09:41:34]OFD Sender: No OFD packet to send [09:41:38]recv_with_timeout no data received [09:41:39]OFD Sender: No OFD packet to send [09:41:44]OFD Sender: No OFD packet to send [09:41:49]OFD Sender: No OFD packet to send [09:41:52]recv_with_timeout no data received [09:41:54]OFD Sender: No OFD packet to send [09:41:59]OFD Sender: No OFD packet to send [09:42:04]OFD Sender: No OFD packet to send [09:42:09]OFD Sender: No OFD packet to send [09:42:14]OFD Sender: No OFD packet to send [09:42:19]OFD Sender: No OFD packet to send [09:42:24]OFD Sender: No OFD packet to send [09:42:29]OFD Sender: No OFD packet to send [09:42:34]OFD Sender: No OFD packet to send [09:42:39]OFD Sender: No OFD packet to send [09:42:44]OFD Sender: No OFD packet to send [09:42:49]OFD Sender: No OFD packet to send [09:42:54]OFD Sender: No OFD packet to send [09:42:59]OFD Sender: No OFD packet to send [09:43:04]OFD Sender: No OFD packet to send [09:43:09]OFD Sender: No OFD packet to send [09:43:14]OFD Sender: No OFD packet to send [09:43:19]OFD Sender: No OFD packet to send [09:43:24]OFD Sender: No OFD packet to send [09:43:26]accept exits with 10 [09:43:26]New connection [09:43:26]New thread 3067129188 created [09:43:26]Thread 3067272548 joined [09:43:26]Waiting for new connection... [09:43:26] Sock 10.Parse request [09:43:26]Sock 10.Check first char [09:43:26]Sock 10.First char is OK [09:43:26]request: POST /json_proto HTTP/1.0 [09:43:26]Method: POST [09:43:26]URL: /json_proto [09:43:26]Method is POST - this is cgi request [09:43:26]url: /json_proto [09:43:26]query_string will be loaded in cgi processing [09:43:26]execute_cgi json_proto POST (null) [09:43:26]execute_cgi path=json_proto method=POST [09:43:26]POST find Content-Length [09:43:26]Host: 172.17.47.195:8080 [09:43:26]Content-Length: 803 [09:43:26]Content-Type: application/json [09:43:26] [09:43:26]POST finish read [09:43:26]Found Content-Length = 803 [09:43:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872550", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 22.130, "sum" : 1500.41, "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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1500.41 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:43:26]execute_script... [09:43:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872550", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 22.130, "sum" : 1500.41, "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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1500.41 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:43:26]POST & json_proto [09:43:26]process_json_proto [09:43:26]json parsed OK: [09:43:26]protocol is kg_v1.0 [09:43:26]action value=close_receipt [09:43:26]process_action close_receipt [09:43:26]cmd_close_receipt [09:43:26]MH_GetDate [09:43:26]Write to MH i2c: F0 00 00 FE 00 ED [09:43:26]Write i2c OK [09:43:26]MH_I2C_Read... [09:43:26]Read from MH i2c: F0 [09:43:26]MH_I2C_Read... [09:43:26]Read from MH i2c: F0 09 00 [09:43:26]MH_I2C_Read... [09:43:26]Read from MH i2c: F0 09 00 FE 00 00 BF 89 F2 66 96 2E 95 66 55 [09:43:26]GetLastDocTimeStamp 1727169759 [09:43:26]current date 1727171007 [09:43:26]FM_GetShiftState [09:43:26]SAM_PROTO_GetShiftState [09:43:26]wFMCommunicate request_size=4 [09:43:26]MH_SAM_APDU [09:43:26]CAPDU: 80 13 01 00 [09:43:26]Write to MH i2c: E2 08 00 FF 00 80 13 01 00 00 00 00 00 7C [09:43:26]Write i2c OK [09:43:26]MH_I2C_Read... [09:43:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:43:26]Read from MH i2c: E2 [09:43:26]MH_I2C_Read... [09:43:26]Read from MH i2c: E2 0E 00 [09:43:26]MH_I2C_Read... [09:43:26]Read from MH i2c: E2 0E 00 FF 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 22 [09:43:26]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [09:43:26]wFMCommunicate OK [09:43:26]SAM_PROTO_GetShiftState done [09:43:26]FM_GetShiftState done [09:43:26]opened in 1727137340 [09:43:26]opened+sec_in_day 1727223740 [09:43:26]quantity*price = 150041 [09:43:26]sum+1 = 150042 [09:43:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1500.41 НСП 1% : 13.28 НДС 12% : 159.34 Наличными: 0.00 Безнал.: 1500.41 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 30 24.09.2024 09:43 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000002094258 ФД: 7894 ФПД: 60066001543213 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T094327&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7894&fm=60066001543213&tin=02508201610067®Number=0000000000190446&sum=150041 [09:43:28]StoreToDocumentArchive [09:43:28]shift 72 fd 7894 [09:43:28]save to /storage/0072/doc_00007894 [09:43:28]save last doc name /storage/0072/doc_00007894 to /storage/kkm_last_doc_name [09:43:28]save OK [09:43:28]Clear old archive folders... [09:43:28]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:43:28]tlvbuf is 015EAF10 [09:43:28]SAM_PROTO_ClearQueue [09:43:28]wFMCommunicate request_size=4 [09:43:28]MH_SAM_APDU [09:43:28]CAPDU: 80 09 00 00 [09:43:28]Write to MH i2c: E2 08 00 0C 01 80 09 00 00 00 00 00 00 7F [09:43:28]Write i2c OK [09:43:28]MH_I2C_Read... [09:43:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:43:28]Read from MH i2c: E2 [09:43:28]MH_I2C_Read... [09:43:28]Read from MH i2c: E2 03 00 [09:43:28]MH_I2C_Read... [09:43:28]Read from MH i2c: E2 03 00 0C 01 00 90 00 81 [09:43:28]RAPDU: 90 00 [09:43:28]wFMCommunicate OK [09:43:28]SAM_PROTO_ClearQueue done [09:43:28]KKMCreateOFDPacket [09:43:28]OFDProtocolAddRootSTLVToBuf [09:43:28]FM_MakeSignedData [09:43:28]FM_MakeSignedData [09:43:28]SAM_PROTO_SignData [09:43:28]wFMCommunicate request_size=4 [09:43:28]MH_SAM_APDU [09:43:28]CAPDU: 80 0D 01 02 [09:43:28]Write to MH i2c: E2 08 00 0D 01 80 0D 01 02 00 00 00 00 87 [09:43:28]Write i2c OK [09:43:28]MH_I2C_Read... [09:43:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:43:28]Read from MH i2c: E2 [09:43:28]MH_I2C_Read... [09:43:28]Read from MH i2c: E2 03 00 [09:43:28]MH_I2C_Read... [09:43:28]Read from MH i2c: E2 03 00 0D 01 00 90 00 82 [09:43:28]RAPDU: 90 00 [09:43:28]wFMCommunicate OK [09:43:28]wFMCommunicate request_size=255 [09:43:28]MH_SAM_APDU [09:43:28]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 72 56 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 19 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 19 4A 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 19 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 BF 89 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D6 1E 00 00 35 04 06 00 36 [09:43:28]Write to MH i2c: E2 02 01 0E 01 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 72 56 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 19 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 19 4A 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 19 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 BF 89 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D6 1E 00 00 35 04 06 00 36 00 00 FC [09:43:28]Write i2c OK [09:43:28]MH_I2C_Read... [09:43:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:43:28]Read from MH i2c: E2 [09:43:28]MH_I2C_Read... [09:43:28]Read from MH i2c: E2 03 00 [09:43:28]MH_I2C_Read... [09:43:28]Read from MH i2c: E2 03 00 0E 01 00 90 00 83 [09:43:28]RAPDU: 90 00 [09:43:28]wFMCommunicate OK [09:43:28]wFMCommunicate request_size=10 [09:43:28]MH_SAM_APDU [09:43:28]CAPDU: 80 0D 02 02 05 A1 34 AF 60 2D [09:43:28]Write to MH i2c: E2 0D 00 0F 01 80 0D 02 02 05 00 A1 34 AF 60 2D 00 00 A5 [09:43:28]Write i2c OK [09:43:28]MH_I2C_Read... [09:43:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:43:28]Read from MH i2c: E2 [09:43:28]MH_I2C_Read... [09:43:28]Read from MH i2c: E2 03 00 [09:43:28]MH_I2C_Read... [09:43:28]Read from MH i2c: E2 03 00 0F 01 00 90 00 84 [09:43:28]RAPDU: 90 00 [09:43:28]wFMCommunicate OK [09:43:28]wFMCommunicate request_size=4 [09:43:28]MH_SAM_APDU [09:43:28]CAPDU: 80 0D 03 02 [09:43:28]Write to MH i2c: E2 08 00 10 01 80 0D 03 02 00 00 00 00 8C [09:43:28]Write i2c OK [09:43:28]MH_I2C_Read... [09:43:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:43:28]Read from MH i2c: E2 [09:43:28]MH_I2C_Read... [09:43:28]Read from MH i2c: E2 0B 00 [09:43:28]MH_I2C_Read... [09:43:28]Read from MH i2c: E2 0B 00 10 01 00 A2 56 67 04 4F C1 C9 14 90 00 DD [09:43:28]RAPDU: A2 56 67 04 4F C1 C9 14 90 00 [09:43:28]wFMCommunicate OK [09:43:28]SAM_PROTO_SignData done [09:43:28]FM_MakeSignedData done [09:43:28]CreateOFDProtocolMessage [09:43:28]wFMCommunicate request_size=4 [09:43:28]MH_SAM_APDU [09:43:28]CAPDU: 80 11 00 00 [09:43:28]Write to MH i2c: E2 08 00 11 01 80 11 00 00 00 00 00 00 8C [09:43:28]Write i2c OK [09:43:28]MH_I2C_Read... [09:43:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:43:28]Read from MH i2c: E2 [09:43:28]MH_I2C_Read... [09:43:28]Read from MH i2c: E2 17 00 [09:43:28]MH_I2C_Read... [09:43:28]Read from MH i2c: E2 17 00 11 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 DD [09:43:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [09:43:28]wFMCommunicate OK [09:43:28]CreateOFDProtocolMessage done [09:43:28]OFDSenderStorePacket 7894 [00:00:09] *** EcrCore started. Build 196 *** [00:00:09]/dev/ttyS4 opened [00:00:09]MH_InterfaceInit /dev/i2c-1 [00:00:09]Malloc ok [00:00:09]MH_GetMetrics [00:00:09]Write to MH i2c: 00 00 00 01 00 00 [00:00:09]Write i2c OK [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 00 29 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 00 29 00 01 00 00 03 33 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 24 E0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 1B [00:00:09]Are we in boot? [00:00:09]We are in boot - try to switch [00:00:09]Write to MH i2c: A0 00 00 02 00 A1 [00:00:09]Write i2c OK [00:00:09]MH_I2C_Read... [00:00:09]*** Check firmware version 30515, crc_r 5823D75D, crc_c: 5823D75D, size: 52480 [00:00:09]*** [00:00:09]Read from MH i2c: A0 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: A0 01 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:09]*** Starting fw at address 01020100 (2007E318 010246F9) [00:00:09]*** Waiting for read because exit forced [00:00:09]*** 10 ms more... [00:00:10]*** MH1903 init start (LINUX_LIGHT) [00:00:10]*** Serial: 3139303353513838 54000000005724E0 (1903SQ88T) [00:00:10]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:10]*** step 0: 5000 (2650, 2350 REF) [00:00:10]*** step 1: 4835 (2500, 2335 REF) [00:00:10]*** step 2: 4676 (2440, 2236 REF) [00:00:10]*** step 3: 4523 (2280, 2243 REF) [00:00:10]*** step 4: 4376 (2160, 2216 REF) [00:00:10]*** step 5: 4235 (2050, 2185 REF) [00:00:10]*** step 6: 4098 (1950, 2148 REF) [00:00:10]*** step 7: 3967 (1870, 2097 REF) [00:00:10]*** step 8: 3840 (1828, 2012 REF) [00:00:10]*** step 9: 3719 (1728, 1991 REF) [00:00:10]*** step 10: 3601 (1675, 1926 REF) [00:00:10]*** step 11: 3488 (1635, 1853 REF) [00:00:10]*** step 12: 3379 (1595, 1784 REF) [00:00:10]*** step 13: 3275 (1565, 1710 REF) [00:00:10]*** step 14: 3174 (1543, 1631 REF) [00:00:10]*** step 15: 3077 (1523, 1554 REF) [00:00:10]*** step 16: 2983 (1503, 1480 REF) [00:00:10]*** step 17: 2893 (1486, 1407 REF) [00:00:10]*** step 18: 2806 (1466, 1340 REF) [00:00:10]*** step 19: 2723 (1426, 1297 REF) [00:00:10]*** step 20: 2642 (1406, 1236 REF) [00:00:10]*** step 21: 2565 (1384, 1181 REF) [00:00:10]*** step 22: 2490 (1364, 1126 REF) [00:00:10]*** step 23: 2418 (1344, 1074 REF) [00:00:10]*** step 24: 2349 (1322, 1027 REF) [00:00:10]*** step 25: 2283 (1302, 981 REF) [00:00:10]*** step 26: 2218 (1282, 936 REF) [00:00:10]*** step 27: 2157 (1262, 895 REF) [00:00:10]*** step 28: 2097 (1242, 855 REF) [00:00:10]*** step 29: 2040 (1222, 818 REF) [00:00:10]*** step 30: 1985 (1202, 783 REF) [00:00:10]*** step 31: 1932 (1191, 741 REF) [00:00:10]*** step 32: 1880 (1181, 699 REF) [00:00:10]*** step 33: 1831 (1171, 660 REF) [00:00:10]*** step 34: 1784 (1161, 623 REF) [00:00:10]*** step 35: 1738 (1151, 587 REF) [00:00:10]*** step 36: 1694 (1141, 553 REF) [00:00:10]*** step 37: 1652 (1131, 521 REF) [00:00:10]*** step 38: 1611 (1121, 490 REF) [00:00:10]*** step 39: 1572 (1111, 461 REF) [00:00:10]*** step 40: 1534 (1103, 431 REF) [00:00:10]*** step 41: 1497 (1093, 404 REF) [00:00:10]*** step 42: 1462 (1083, 379 REF) [00:00:10]*** step 43: 1428 (1073, 355 REF) [00:00:10]*** step 44: 1396 (1063, 333 REF) [00:00:10]*** step 45: 1365 (1053, 312 REF) [00:00:10]*** step 46: 1334 (1043, 291 REF) [00:00:10]*** step 47: 1305 (1033, 272 REF) [00:00:10]*** step 48: 1277 (1023, 254 REF) [00:00:10]*** step 49: 1250 (1013, 237 REF) [00:00:10]*** step 50: 1224 (990, 234 REF) [00:00:10]*** step 51: 1199 (980, 219 REF) [00:00:10]*** step 52: 1175 (970, 205 REF) [00:00:10]*** step 53: 1152 (960, 192 REF) [00:00:10]*** step 54: 1130 (950, 180 REF) [00:00:10]*** step 55: 1108 (940, 168 REF) [00:00:10]*** step 56: 1088 (930, 158 REF) [00:00:10]*** step 57: 1068 (920, 148 REF) [00:00:10]*** step 58: 1049 (910, 139 REF) [00:00:10]*** step 59: 1030 (900, 130 REF) [00:00:10]*** step 60: 1012 (890, 122 REF) [00:00:10]*** step 61: 995 (880, 115 REF) [00:00:10]*** step 62: 979 (870, 109 REF) [00:00:10]*** step 63: 963 (860, 103 REF) [00:00:10]*** step 64: 948 (850, 98 REF) [00:00:10]*** step 65: 933 (840, 93 REF) [00:00:10]*** step 66: 919 (830, 89 REF) [00:00:10]*** step 67: 905 (820, 85 REF) [00:00:10]*** step 68: 892 (810, 82 REF) [00:00:10]*** step 69: 879 (800, 79 REF) [00:00:10]*** step 70: 867 (790, 77 REF) [00:00:10]*** step 71: 855 (780, 75 REF) [00:00:10]*** step 72: 844 (770, 74 REF) [00:00:10]*** step 73: 833 (760, 73 REF) [00:00:10]*** step 74: 822 (750, 72 REF) [00:00:10]*** step 75: 812 (740, 72 REF) [00:00:10]*** step 76: 803 (730, 73 REF) [00:00:10]*** step 77: 793 (720, 73 REF) [00:00:10]*** step 78: 784 (710, 74 REF) [00:00:10]*** step 79: 776 (700, 76 REF) [00:00:10]*** step 80: 767 (690, 77 REF) [00:00:10]*** step 81: 759 (680, 79 REF) [00:00:10]*** step 82: 751 (670, 81 REF) [00:00:10]*** step 83: 744 (660, 84 REF) [00:00:10]*** step 84: 737 (650, 87 REF) [00:00:10]*** step 85: 730 (640, 90 REF) [00:00:10]*** step 86: 723 (630, 93 REF) [00:00:10]*** step 87: 717 (620, 97 REF) [00:00:10]*** step 88: 710 (610, 100 REF) [00:00:10]*** step 89: 705 (600, 105 REF) [00:00:10]*** step 90: 699 [00:00:10]*** step 91: 693 [00:00:10]*** step 92: 688 [00:00:10]*** step 93: 683 [00:00:10]*** step 94: 678 [00:00:10]*** step 95: 673 [00:00:10]*** step 96: 669 [00:00:10]*** step 97: 664 [00:00:10]*** step 98: 660 [00:00:10]*** step 99: 656 [00:00:10]*** step 100: 652 [00:00:10]*** step 101: 648 [00:00:10]*** step 102: 644 [00:00:10]*** step 103: 641 [00:00:10]*** step 104: 638 [00:00:10]*** step 105: 634 [00:00:10]*** step 106: 631 [00:00:10]*** step 107: 628 [00:00:10]*** step 108: 625 [00:00:10]*** step 109: 622 [00:00:10]*** step 110: 620 [00:00:10]*** step 111: 617 [00:00:10]*** step 112: 615 [00:00:10]*** step 113: 612 [00:00:10]*** step 114: 610 [00:00:10]*** step 115: 608 [00:00:10]*** step 116: 605 [00:00:10]*** step 117: 603 [00:00:10]*** step 118: 601 [00:00:10]*** step 119: 599 [00:00:10]*** printer: Printer HW initialized [00:00:10]*** initSamCard finished [00:00:10]*** RTC: 6118267+1721052822=1727171089 [00:00:10]*** BPK Status Register BPK_RDY = 0x0 [00:00:10]*** SEN State Register SEN_STATE = 0x200ff [00:00:10]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:10]*** Analog Control Register 0 SEN_ANA0 = 0x33510623 [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 03 00 02 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 03 00 00 03 33 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 24 E0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 1C [00:00:10]Are we in boot? [00:00:10]We are not in boot now [00:00:10]Write to MH i2c: 01 00 00 04 00 04 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 01 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 01 07 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:10]Model is 3 [00:00:10]MH firmware is 30515 [00:00:10]MH boot firmware is 3 [00:00:10]MH_SetPrinterDots 448 [00:00:10]HeadWidthInBytes 56 [00:00:10]maxmasksize 7 [00:00:10]Write to MH i2c: D6 06 00 05 00 41 00 60 00 FF FF 7F [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D6 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D6 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:10]Write to MH i2c: D5 00 00 06 00 DA [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D5 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D5 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]ExternCall_SetCallbacks [00:00:10]NVStorageInit [00:00:11]MH_GetDate [00:00:11]Write to MH i2c: F0 00 00 07 00 F6 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 07 00 00 11 8A F2 66 96 2E 95 66 B1 [09:44:49]Current date/time: 24.09.2024 09:44 [09:44:49]FM_Init [09:44:49]wFMConnect [09:44:49]MH_SAM_On [09:44:49]Write to MH i2c: E0 00 00 08 00 E7 [09:44:49]Write i2c OK [09:44:49]MH_I2C_Read... [09:44:49]*** iso7816_init finished! [09:44:49]*** atr: [09:44:49]*** 0F 3B D5 18 FF 81 91 FE [09:44:49]*** 1F C3 80 73 C8 21 10 0A [09:44:49]*** 00 00 00 00 00 00 00 00 [09:44:49]*** 00 00 00 00 00 00 00 00 [09:44:49]*** 00 00 00 00 00 00 00 00 [09:44:49]*** 00 00 00 00 00 00 00 00 [09:44:49]*** 00 00 00 00 00 00 00 00 [09:44:49]*** 00 00 00 00 00 00 00 00 [09:44:49]Read from MH i2c: E0 [09:44:49]MH_I2C_Read... [09:44:49]Read from MH i2c: E0 10 00 [09:44:49]MH_I2C_Read... [09:44:49]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [09:44:49]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [09:44:49]wFMCommunicate request_size=10 [09:44:49]MH_SAM_APDU [09:44:49]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [09:44:49]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [09:44:49]Write i2c OK [09:44:49]MH_I2C_Read... [09:44:49]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [09:44:49]Read from MH i2c: E2 [09:44:49]MH_I2C_Read... [09:44:49]Read from MH i2c: E2 03 00 [09:44:49]MH_I2C_Read... [09:44:49]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [09:44:49]RAPDU: 90 00 [09:44:49]wFMCommunicate OK [09:44:49]wFMCommunicate request_size=4 [09:44:49]MH_SAM_APDU [09:44:49]CAPDU: 80 11 00 00 [09:44:49]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [09:44:49]Write i2c OK [09:44:49]MH_I2C_Read... [09:44:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:44:49]Read from MH i2c: E2 [09:44:49]MH_I2C_Read... [09:44:49]Read from MH i2c: E2 17 00 [09:44:49]MH_I2C_Read... [09:44:49]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 D5 [09:44:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [09:44:49]wFMCommunicate OK [09:44:49]Detected FM SN is 0000000002094258 [09:44:49]Stored FM SN is 0000000002094258 [09:44:49]wFMCommunicate request_size=9 [09:44:49]MH_SAM_APDU [09:44:49]CAPDU: 80 16 00 00 04 BC C2 00 00 [09:44:49]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 BC C2 00 00 00 00 10 [09:44:49]Write i2c OK [09:44:49]MH_I2C_Read... [09:44:49]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [09:44:49]Read from MH i2c: E2 [09:44:49]MH_I2C_Read... [09:44:49]Read from MH i2c: E2 03 00 [09:44:49]MH_I2C_Read... [09:44:49]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [09:44:49]RAPDU: 90 00 [09:44:49]wFMCommunicate OK [09:44:49]FM PIN OK [09:44:49]wFMCommunicate request_size=8 [09:44:49]MH_SAM_APDU [09:44:49]CAPDU: 80 14 04 00 03 02 00 01 [09:44:49]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [09:44:49]Write i2c OK [09:44:49]MH_I2C_Read... [09:44:49]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [09:44:49]Read from MH i2c: E2 [09:44:49]MH_I2C_Read... [09:44:49]Read from MH i2c: E2 03 00 [09:44:49]MH_I2C_Read... [09:44:49]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [09:44:49]RAPDU: 90 00 [09:44:49]wFMCommunicate OK [09:44:49]wFMCommunicate request_size=13 [09:44:49]MH_SAM_APDU [09:44:49]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [09:44:49]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [09:44:49]Write i2c OK [09:44:49]MH_I2C_Read... [09:44:49]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [09:44:49]Read from MH i2c: E2 [09:44:49]MH_I2C_Read... [09:44:49]Read from MH i2c: E2 03 00 [09:44:49]MH_I2C_Read... [09:44:49]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [09:44:49]RAPDU: 90 00 [09:44:49]wFMCommunicate OK [09:44:49]wFMCommunicate request_size=4 [09:44:49]MH_SAM_APDU [09:44:49]CAPDU: 80 11 00 00 [09:44:49]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [09:44:49]Write i2c OK [09:44:49]MH_I2C_Read... [09:44:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:44:49]Read from MH i2c: E2 [09:44:49]MH_I2C_Read... [09:44:49]Read from MH i2c: E2 17 00 [09:44:49]MH_I2C_Read... [09:44:49]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 D9 [09:44:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [09:44:49]wFMCommunicate OK [09:44:49]DocumentArchiveInit [09:44:49]Start Httpd... [09:44:49]Httpd thread 3067473252 created [09:44:49]Write to MH i2c: 01 00 00 0F 00 0F [09:44:49]Write i2c OK [09:44:49]MH_I2C_Read... [09:44:49]Read from MH i2c: 01 [09:44:49]MH_I2C_Read... [09:44:49]Read from MH i2c: 01 07 00 [09:44:49]MH_I2C_Read... [09:44:49]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [09:44:49]MH Int Process started [09:44:49]Allocated Socket 8 [09:44:49]Bind OK [09:44:49]Listen OK [09:44:49]httpd running on port 8080 [09:44:49]Waiting for new connection... [09:44:49]OFD Sender: Processing packet 7894 [packets to send 51, broken 50] [09:44:49]ProducePacketName [09:44:49]name=ofd_packets/00007894 [09:44:49]OFD Sender: To server: pG, [09:44:49]CommunicateWithHost lk.salyk.kg:30040 [09:44:49]ConnectInit lk.salyk.kg [09:44:50]Connected sock=6 [09:44:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 6B B3 07 01 6B AF 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 72 56 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 19 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 19 4A 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 19 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 BF 89 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D6 1E 00 00 35 04 06 00 36 A1 34 AF 60 2D A2 56 67 04 4F C1 C9 14 [09:44:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 59 DE 47 00 B2 2D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D6 1E 00 00 F4 03 04 00 C9 34 F2 66 B6 04 01 00 00 AC 7B 1E C7 89 2B 08 59 [09:44:53]CommunicateWithHost err = 0 [09:44:53]CheckOFDResponse [09:44:53]1017 (14) - 77093643461234 [09:44:53]1041 (16) - 0000000002094258 [09:44:53]1040 (4) - 7894 [09:44:53]1012 (4) - 24.09.2024 03:40 [09:44:53]1206 (1) - 0 [09:44:53]OFD Sender: Remove packet 7894 [09:44:53]ProducePacketName [09:44:53]name=ofd_packets/00007894 [09:44:53]NVStorageDeleteData [09:44:53]OFD Sender: No OFD packet to send [09:44:58]OFD Sender: No OFD packet to send [09:45:00]accept exits with 9 [09:45:00]New connection [09:45:00]New thread 3067186532 created [09:45:00]Waiting for new connection... [09:45:00] Sock 9.Parse request [09:45:00]Sock 9.Check first char [09:45:00]Sock 9.First char is OK [09:45:00]request: POST /json_proto HTTP/1.0 [09:45:00]Method: POST [09:45:00]URL: /json_proto [09:45:00]Method is POST - this is cgi request [09:45:00]url: /json_proto [09:45:00]query_string will be loaded in cgi processing [09:45:00]execute_cgi json_proto POST (null) [09:45:00]execute_cgi path=json_proto method=POST [09:45:00]POST find Content-Length [09:45:00]Host: 172.17.47.195:8080 [09:45:00]Content-Length: 215 [09:45:00]Content-Type: application/json [09:45:00] [09:45:00]POST finish read [09:45:00]Found Content-Length = 215 [09:45:00]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:45:00]execute_script... [09:45:00]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:45:00]POST & json_proto [09:45:00]process_json_proto [09:45:00]json parsed OK: [09:45:00]protocol is kg_v1.0 [09:45:00]action value=get_value [09:45:00]process_action get_value [09:45:00]cmd_get_value [09:45:00]process_action get_value done [09:45:00]requested_data is exist [09:45:00]produce_requested_data [09:45:00]requested_item kkm.sn is exist - process it [09:45:00]requested_item kkm.ver is exist - process it [09:45:00]requested_item fm.sn is exist - process it [09:45:00]wFMCommunicate request_size=4 [09:45:00]MH_SAM_APDU [09:45:00]CAPDU: 80 11 00 00 [09:45:00]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [09:45:00]Write i2c OK [09:45:00]MH_I2C_Read... [09:45:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:45:00]Read from MH i2c: E2 [09:45:00]MH_I2C_Read... [09:45:00]Read from MH i2c: E2 17 00 [09:45:00]MH_I2C_Read... [09:45:00]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 DB [09:45:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [09:45:00]wFMCommunicate OK [09:45:00]requested_item fd.num is exist - process it [09:45:00]SAM_PROTO_GetFieldsCounters [09:45:00]wFMCommunicate request_size=4 [09:45:00]MH_SAM_APDU [09:45:00]CAPDU: 80 13 00 00 [09:45:00]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [09:45:00]Write i2c OK [09:45:00]MH_I2C_Read... [09:45:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:45:00]Read from MH i2c: E2 [09:45:00]MH_I2C_Read... [09:45:00]Read from MH i2c: E2 62 00 [09:45:00]MH_I2C_Read... [09:45:00]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 D6 1E 00 00 0E 04 04 00 48 00 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 41 [09:45:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 D6 1E 00 00 0E 04 04 00 48 00 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 [09:45:00]wFMCommunicate OK [09:45:00]SAM_PROTO_GetFieldsCounters done [09:45:00]requested_item shift.num is exist - process it [09:45:00]requested_item shift.opened is exist - process it [09:45:00]req_shift_opened [09:45:00]FM_GetShiftState [09:45:00]SAM_PROTO_GetShiftState [09:45:00]wFMCommunicate request_size=4 [09:45:00]MH_SAM_APDU [09:45:00]CAPDU: 80 13 01 00 [09:45:00]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [09:45:00]Write i2c OK [09:45:00]MH_I2C_Read... [09:45:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:45:00]Read from MH i2c: E2 [09:45:00]MH_I2C_Read... [09:45:00]Read from MH i2c: E2 0E 00 [09:45:00]MH_I2C_Read... [09:45:00]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 35 [09:45:00]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [09:45:00]wFMCommunicate OK [09:45:00]SAM_PROTO_GetShiftState done [09:45:00]FM_GetShiftState done [09:45:00]req_shift_opened done [09:45:00]requested_item shift.open_date is exist - process it [09:45:00]req_shift_open_date [09:45:00]req_shift_open_date done [09:45:00]produce_requested_data done [09:45:00]produce_requested_data return {"kkm.sn":"0300000041","kkm.ver":"v1.0","fm.sn":"0000000002094258","fd.num":7894,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [09:45:00]process_action_free get_value [09:45:00]json_value_free [09:45:00]json_value_free done [09:45:00]process_json_proto returns [09:45:00]Send response to host [09:45:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000041","kkm.ver":"v1.0","fm.sn":"0000000002094258","fd.num":7894,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [09:45:00]free response buf [09:45:00]execute_script done [09:45:00]execute_script returns [09:45:00]free content buf [09:45:00]Sock 9.Close socket [09:45:00]Sock 9.Thread stoped [09:45:00]accept exits with 10 [09:45:00]New connection [09:45:00]New thread 3067043172 created [09:45:00]Thread 3067186532 joined [09:45:00]Waiting for new connection... [09:45:00] Sock 10.Parse request [09:45:00]Sock 10.Check first char [09:45:00]Sock 10.First char is OK [09:45:00]request: POST /json_proto HTTP/1.0 [09:45:00]Method: POST [09:45:00]URL: /json_proto [09:45:00]Method is POST - this is cgi request [09:45:00]url: /json_proto [09:45:00]query_string will be loaded in cgi processing [09:45:00]execute_cgi json_proto POST (null) [09:45:00]execute_cgi path=json_proto method=POST [09:45:00]POST find Content-Length [09:45:00]Host: 172.17.47.195:8080 [09:45:00]Content-Length: 331 [09:45:00]Content-Type: application/json [09:45:00] [09:45:00]POST finish read [09:45:00]Found Content-Length = 331 [09:45:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [09:45:00]execute_script... [09:45:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [09:45:00]POST & json_proto [09:45:00]process_json_proto [09:45:00]json parsed OK: [09:45:00]protocol is kg_v1.0 [09:45:00]action value=get_value [09:45:00]process_action get_value [09:45:00]cmd_get_value [09:45:00]process_action get_value done [09:45:00]requested_data is exist [09:45:00]produce_requested_data [09:45:00]requested_item fm.sale.total is exist - process it [09:45:00]SAM_PROTO_GetFMData [09:45:00]wFMCommunicate request_size=4 [09:45:00]MH_SAM_APDU [09:45:00]CAPDU: 80 13 03 00 [09:45:00]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [09:45:00]Write i2c OK [09:45:00]MH_I2C_Read... [09:45:00]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [09:45:01]Read from MH i2c: E2 [09:45:01]MH_I2C_Read... [09:45:01]Read from MH i2c: E2 FD 00 [09:45:01]MH_I2C_Read... [09:45:01]Read from MH i2c: E2 FD 00 13 00 00 C1 04 85 04 BD 04 6E 04 04 00 46 1E 00 00 69 04 A0 00 6F 04 04 00 19 1E 00 00 B1 04 04 00 A4 FE FB 31 70 04 04 00 50 EF FF 29 72 04 04 00 54 0F FC 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 9C 2C 4F 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 3C 43 71 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2D 00 00 00 B1 04 04 00 3C 5C 66 01 70 04 04 00 3C 5C 66 01 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A2 0E 26 EF 03 09 00 F6 03 01 90 00 DF [09:45:01]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 46 1E 00 00 69 04 A0 00 6F 04 04 00 19 1E 00 00 B1 04 04 00 A4 FE FB 31 70 04 04 00 50 EF FF 29 72 04 04 00 54 0F FC 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 9C 2C 4F 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 3C 43 71 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2D 00 00 00 B1 04 04 00 3C 5C 66 01 70 04 04 00 3C 5C 66 01 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A2 0E 26 EF 03 09 00 F6 03 01 90 00 [09:45:01]wFMCommunicate OK [09:45:01]wFMCommunicate request_size=4 [09:45:01]MH_SAM_APDU [09:45:01]CAPDU: 80 17 00 00 [09:45:01]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [09:45:01]Write i2c OK [09:45:01]MH_I2C_Read... [09:45:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:45:01]Read from MH i2c: E2 [09:45:01]MH_I2C_Read... [09:45:01]Read from MH i2c: E2 FD 00 [09:45:01]MH_I2C_Read... [09:45:01]Read from MH i2c: E2 FD 00 14 00 00 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E7 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 D9 [09:45:01]RAPDU: 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E7 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [09:45:01]wFMCommunicate OK [09:45:01]wFMCommunicate request_size=4 [09:45:01]MH_SAM_APDU [09:45:01]CAPDU: 80 17 00 00 [09:45:01]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [09:45:01]Write i2c OK [09:45:01]MH_I2C_Read... [09:45:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:45:01]Read from MH i2c: E2 [09:45:01]MH_I2C_Read... [09:45:01]Read from MH i2c: E2 FD 00 [09:45:01]MH_I2C_Read... [09:45:01]Read from MH i2c: E2 FD 00 15 00 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 35 [09:45:01]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:45:01]wFMCommunicate OK [09:45:01]wFMCommunicate request_size=4 [09:45:01]MH_SAM_APDU [09:45:01]CAPDU: 80 17 00 00 [09:45:01]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [09:45:01]Write i2c OK [09:45:01]MH_I2C_Read... [09:45:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:45:01]Read from MH i2c: E2 [09:45:01]MH_I2C_Read... [09:45:01]Read from MH i2c: E2 FD 00 [09:45:01]MH_I2C_Read... [09:45:01]Read from MH i2c: E2 FD 00 16 00 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1B [09:45:01]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:45:01]wFMCommunicate OK [09:45:01]wFMCommunicate request_size=4 [09:45:01]MH_SAM_APDU [09:45:01]CAPDU: 80 17 00 00 [09:45:01]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [09:45:01]Write i2c OK [09:45:01]MH_I2C_Read... [09:45:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [09:45:02]Read from MH i2c: E2 [09:45:02]MH_I2C_Read... [09:45:02]Read from MH i2c: E2 DE 00 [09:45:02]MH_I2C_Read... [09:45:02]Read from MH i2c: E2 DE 00 17 00 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 76 [09:45:02]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:45:02]wFMCommunicate OK [09:45:02]SAM_PROTO_GetFMData done [09:45:02]requested_item fm.sale_refund.total is exist - process it [09:45:02]requested_item fm.buy.total is exist - process it [09:45:02]requested_item shift.sale.total is exist - process it [09:45:02]SAM_PROTO_GetShiftData [09:45:02]wFMCommunicate request_size=4 [09:45:02]MH_SAM_APDU [09:45:02]CAPDU: 80 13 02 00 [09:45:02]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [09:45:02]Write i2c OK [09:45:02]MH_I2C_Read... [09:45:02]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:45:02]Read from MH i2c: E2 [09:45:02]MH_I2C_Read... [09:45:02]Read from MH i2c: E2 FD 00 [09:45:02]MH_I2C_Read... [09:45:02]Read from MH i2c: E2 FD 00 18 00 00 AE 04 AA 04 AA 04 6E 04 04 00 1E 00 00 00 69 04 9B 00 6F 04 04 00 1E 00 00 00 B1 04 03 00 49 4C 2A 70 04 03 00 30 02 28 72 04 03 00 19 4A 02 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 48 7E 04 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 DB 5F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 15 [09:45:02]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 1E 00 00 00 69 04 9B 00 6F 04 04 00 1E 00 00 00 B1 04 03 00 49 4C 2A 70 04 03 00 30 02 28 72 04 03 00 19 4A 02 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 48 7E 04 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 DB 5F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [09:45:02]wFMCommunicate OK [09:45:02]wFMCommunicate request_size=4 [09:45:02]MH_SAM_APDU [09:45:02]CAPDU: 80 17 00 00 [09:45:02]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [09:45:02]Write i2c OK [09:45:02]MH_I2C_Read... [09:45:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:45:02]Read from MH i2c: E2 [09:45:02]MH_I2C_Read... [09:45:02]Read from MH i2c: E2 FD 00 [09:45:02]MH_I2C_Read... [09:45:02]Read from MH i2c: E2 FD 00 19 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 BB [09:45:02]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [09:45:02]wFMCommunicate OK [09:45:02]wFMCommunicate request_size=4 [09:45:02]MH_SAM_APDU [09:45:02]CAPDU: 80 17 00 00 [09:45:02]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [09:45:02]Write i2c OK [09:45:02]MH_I2C_Read... [09:45:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:45:03]Read from MH i2c: E2 [09:45:03]MH_I2C_Read... [09:45:03]Read from MH i2c: E2 FD 00 [09:45:03]MH_I2C_Read... [09:45:03]Read from MH i2c: E2 FD 00 1A 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 51 [09:45:03]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 [09:45:03]wFMCommunicate OK [09:45:03]wFMCommunicate request_size=4 [09:45:03]MH_SAM_APDU [09:45:03]CAPDU: 80 17 00 00 [09:45:03]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [09:45:03]Write i2c OK [09:45:03]MH_I2C_Read... [09:45:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:45:03]Read from MH i2c: E2 [09:45:03]MH_I2C_Read... [09:45:03]Read from MH i2c: E2 FD 00 [09:45:03]MH_I2C_Read... [09:45:03]Read from MH i2c: E2 FD 00 1B 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 0D [09:45:03]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [09:45:03]wFMCommunicate OK [09:45:03]wFMCommunicate request_size=4 [09:45:03]MH_SAM_APDU [09:45:03]CAPDU: 80 17 00 00 [09:45:03]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [09:45:03]Write i2c OK [09:45:03]MH_I2C_Read... [09:45:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [09:45:03]Read from MH i2c: E2 [09:45:03]MH_I2C_Read... [09:45:03]Read from MH i2c: E2 CB 00 [09:45:03]MH_I2C_Read... [09:45:03]Read from MH i2c: E2 CB 00 1C 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [09:45:03]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:45:03]wFMCommunicate OK [09:45:03]SAM_PROTO_GetShiftData done [09:45:03]requested_item shift.sale.total_cash is exist - process it [09:45:03]requested_item shift.sale_refund.total is exist - process it [09:45:03]requested_item shift.sale_refund.total_cash is exist - process it [09:45:03]requested_item shift.buy.total is exist - process it [09:45:03]requested_item shift.buy.total_cash is exist - process it [09:45:03]produce_requested_data done [09:45:03]produce_requested_data return {"fm.sale.total":8385983.08,"fm.sale_refund.total":234855.00,"fm.buy.total":0.00,"shift.sale.total":27720.41,"shift.sale.total_cash":26220.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:45:03]process_action_free get_value [09:45:03]json_value_free [09:45:03]json_value_free done [09:45:03]process_json_proto returns [09:45:03]Send response to host [09:45:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8385983.08,"fm.sale_refund.total":234855.00,"fm.buy.total":0.00,"shift.sale.total":27720.41,"shift.sale.total_cash":26220.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:45:03]free response buf [09:45:03]execute_script done [09:45:03]execute_script returns [09:45:03]free content buf [09:45:03]Sock 10.Close socket [09:45:03]Sock 10.Thread stoped [09:45:03]OFD Sender: No OFD packet to send [09:45:07]accept exits with 9 [09:45:07]New connection [09:45:07]New thread 3067186532 created [09:45:07]Thread 3067043172 joined [09:45:07]Waiting for new connection... [09:45:07] Sock 9.Parse request [09:45:07]Sock 9.Check first char [09:45:07]Sock 9.First char is OK [09:45:07]request: POST /json_proto HTTP/1.0 [09:45:07]Method: POST [09:45:07]URL: /json_proto [09:45:07]Method is POST - this is cgi request [09:45:07]url: /json_proto [09:45:07]query_string will be loaded in cgi processing [09:45:07]execute_cgi json_proto POST (null) [09:45:07]execute_cgi path=json_proto method=POST [09:45:07]POST find Content-Length [09:45:07]Host: 172.17.47.195:8080 [09:45:07]Content-Length: 800 [09:45:07]Content-Type: application/json [09:45:07] [09:45:07]POST finish read [09:45:07]Found Content-Length = 800 [09:45:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872548", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 34", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 0.00, "quantity" : 100.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u044B\u0435 \u0422\u0430\u043B\u043E\u043D\u044B\u000A1", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:45:07]execute_script... [09:45:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872548", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 34", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 0.00, "quantity" : 100.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u044B\u0435 \u0422\u0430\u043B\u043E\u043D\u044B\u000A1", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:45:07]POST & json_proto [09:45:07]process_json_proto [09:45:07]json parsed OK: [09:45:07]protocol is kg_v1.0 [09:45:07]action value=close_receipt [09:45:07]process_action close_receipt [09:45:07]cmd_close_receipt [09:45:07]MH_GetDate [09:45:07]Write to MH i2c: F0 00 00 1D 00 0C [09:45:07]Write i2c OK [09:45:07]MH_I2C_Read... [09:45:07]Read from MH i2c: F0 [09:45:07]MH_I2C_Read... [09:45:07]Read from MH i2c: F0 09 00 [09:45:07]MH_I2C_Read... [09:45:07]Read from MH i2c: F0 09 00 1D 00 00 24 8A F2 66 96 2E 95 66 DA [09:45:07]GetLastDocTimeStamp 1727171007 [09:45:07]current date 1727171108 [09:45:07]FM_GetShiftState [09:45:07]SAM_PROTO_GetShiftState [09:45:07]wFMCommunicate request_size=4 [09:45:07]MH_SAM_APDU [09:45:07]CAPDU: 80 13 01 00 [09:45:07]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [09:45:07]Write i2c OK [09:45:07]MH_I2C_Read... [09:45:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:45:07]Read from MH i2c: E2 [09:45:07]MH_I2C_Read... [09:45:07]Read from MH i2c: E2 0E 00 [09:45:07]MH_I2C_Read... [09:45:07]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 41 [09:45:07]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [09:45:07]wFMCommunicate OK [09:45:07]SAM_PROTO_GetShiftState done [09:45:07]FM_GetShiftState done [09:45:07]opened in 1727137340 [09:45:07]opened+sec_in_day 1727223740 [09:45:07]quantity*price = 0 [09:45:07]sum+1 = 1 [09:45:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 31 24.09.2024 09:45 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 Талоны: Топливные Талоны 1 ФМ: 0000000002094258 ФД: 7895 ФПД: 48439662075822 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T094508&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7895&fm=48439662075822&tin=02508201610067®Number=0000000000190446&sum=0 [09:45:08]StoreToDocumentArchive [09:45:08]shift 72 fd 7895 [09:45:08]save to /storage/0072/doc_00007895 [09:45:08]save last doc name /storage/0072/doc_00007895 to /storage/kkm_last_doc_name [09:45:08]save OK [09:45:08]Clear old archive folders... [09:45:08]ProcessDocumentItem done err = 0, tmpTLVsize=252 [09:45:08]tlvbuf is 01B44BC0 [09:45:08]SAM_PROTO_ClearQueue [09:45:08]wFMCommunicate request_size=4 [09:45:08]MH_SAM_APDU [09:45:08]CAPDU: 80 09 00 00 [09:45:08]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [09:45:08]Write i2c OK [09:45:08]MH_I2C_Read... [09:45:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:45:08]Read from MH i2c: E2 [09:45:08]MH_I2C_Read... [09:45:08]Read from MH i2c: E2 03 00 [09:45:08]MH_I2C_Read... [09:45:08]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [09:45:08]RAPDU: 90 00 [09:45:08]wFMCommunicate OK [09:45:08]SAM_PROTO_ClearQueue done [09:45:08]KKMCreateOFDPacket [09:45:08]OFDProtocolAddRootSTLVToBuf [09:45:08]FM_MakeSignedData [09:45:08]FM_MakeSignedData [09:45:08]SAM_PROTO_SignData [09:45:08]wFMCommunicate request_size=4 [09:45:08]MH_SAM_APDU [09:45:08]CAPDU: 80 0D 01 02 [09:45:08]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [09:45:08]Write i2c OK [09:45:08]MH_I2C_Read... [09:45:08]OFD Sender: No OFD packet to send [09:45:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:45:08]Read from MH i2c: E2 [09:45:08]MH_I2C_Read... [09:45:08]Read from MH i2c: E2 03 00 [09:45:08]MH_I2C_Read... [09:45:08]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [09:45:08]RAPDU: 90 00 [09:45:08]wFMCommunicate OK [09:45:08]wFMCommunicate request_size=255 [09:45:08]MH_SAM_APDU [09:45:08]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 A0 86 01 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 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 24 8A F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D7 1E 00 00 35 04 06 00 [09:45:08]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 A0 86 01 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 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 24 8A F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D7 1E 00 00 35 04 06 00 00 00 6F [09:45:08]Write i2c OK [09:45:08]MH_I2C_Read... [09:45:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:45:09]Read from MH i2c: E2 [09:45:09]MH_I2C_Read... [09:45:09]Read from MH i2c: E2 03 00 [09:45:09]MH_I2C_Read... [09:45:09]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [09:45:09]RAPDU: 90 00 [09:45:09]wFMCommunicate OK [09:45:09]wFMCommunicate request_size=11 [09:45:09]MH_SAM_APDU [09:45:09]CAPDU: 80 0D 02 02 06 2C 0E 3C D9 DF AE [09:45:09]Write to MH i2c: E2 0E 00 2E 00 80 0D 02 02 06 00 2C 0E 3C D9 DF AE 00 00 90 [09:45:09]Write i2c OK [09:45:09]MH_I2C_Read... [09:45:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:45:09]Read from MH i2c: E2 [09:45:09]MH_I2C_Read... [09:45:09]Read from MH i2c: E2 03 00 [09:45:09]MH_I2C_Read... [09:45:09]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [09:45:09]RAPDU: 90 00 [09:45:09]wFMCommunicate OK [09:45:09]wFMCommunicate request_size=4 [09:45:09]MH_SAM_APDU [09:45:09]CAPDU: 80 0D 03 02 [09:45:09]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [09:45:09]Write i2c OK [09:45:09]MH_I2C_Read... [09:45:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:45:09]Read from MH i2c: E2 [09:45:09]MH_I2C_Read... [09:45:09]Read from MH i2c: E2 0B 00 [09:45:09]MH_I2C_Read... [09:45:09]Read from MH i2c: E2 0B 00 2F 00 00 F9 46 CE 74 02 D7 8E 02 90 00 95 [09:45:09]RAPDU: F9 46 CE 74 02 D7 8E 02 90 00 [09:45:09]wFMCommunicate OK [09:45:09]SAM_PROTO_SignData done [09:45:09]FM_MakeSignedData done [09:45:09]CreateOFDProtocolMessage [09:45:09]wFMCommunicate request_size=4 [09:45:09]MH_SAM_APDU [09:45:09]CAPDU: 80 11 00 00 [09:45:09]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [09:45:09]Write i2c OK [09:45:09]MH_I2C_Read... [09:45:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:45:09]Read from MH i2c: E2 [09:45:09]MH_I2C_Read... [09:45:09]Read from MH i2c: E2 17 00 [09:45:09]MH_I2C_Read... [09:45:09]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 FB [09:45:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [09:45:09]wFMCommunicate OK [09:45:09]CreateOFDProtocolMessage done [09:45:09]OFDSenderStorePacket 7895 [09:45:09]StoreOFDPacket docnum=7895 [09:45:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 01 00 00 3B B1 08 01 68 FA 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 A0 86 01 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 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 24 8A F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D7 1E 00 00 35 04 06 00 2C 0E 3C D9 DF AE F9 46 CE 74 02 D7 8E 02 [09:45:09]CheckFolder [09:45:09]dirname=/storage/ofd_packets [09:45:09]CheckFolder done [09:45:09]ProducePacketName [09:45:09]name=ofd_packets/00007895 [09:45:09]NVStorageSaveData ofd_packets/00007895 [09:45:09]File name is /storage/ofd_packets/00007895 [09:45:09]Write 302 bytes [09:45:09]NVStorageSaveData done [09:45:09]OFDSenderStorePacket done [09:45:09]KKMCreateOFDPacket done [09:45:09]NVStorageSaveData kkm_last_timestamp [09:45:09]File name is /storage/kkm_last_timestamp [09:45:09]Write 4 bytes [09:45:09]NVStorageSaveData done [09:45:09]ExternCall_PrintAddStr [09:45:09]wPrintStart [09:45:09]Write to MH i2c: 01 00 00 31 00 31 [09:45:09]Write i2c OK [09:45:09]MH_I2C_Read... [09:45:09]Read from MH i2c: 01 [09:45:09]MH_I2C_Read... [09:45:09]Read from MH i2c: 01 07 00 [09:45:09]MH_I2C_Read... [09:45:09]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [09:45:09]RasterBufferAndPrint [09:45:09]line Счет N : (1)872548 [09:45:09]line ИНН: 02508201610067 [09:45:09]line Контрольно-Кассовый Чек [09:45:09]line ПРОДАЖА [09:45:09]line ТРК (МРК, ГНК) : 34 [09:45:09]line Товар: 2710194210 [09:45:09]line ДТ(л)-К-4 [09:45:09]line 100.000 * 0.00 [09:45:09]line = 0.00 [09:45:09]line НДС 12% НСП 1% [09:45:09]line > о реализуемом товаре [09:45:09]line ИТОГО: 0.00 [09:45:09]line НСП 1% : 0.00 [09:45:09]line НДС 12% : 0.00 [09:45:09]line Наличными: 0.00 [09:45:09]line Безнал.: 0.00 [09:45:09]line Место: АЗС № 137 "Партнер Нефть" [09:45:09]line Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 [09:45:09]line СНО: Общий режим [09:45:09]line Чек 31 24.09.2024 09:45 [09:45:09]line Смена: 72 ФФД: 1.0 [09:45:09]line ЗНМ: 0300000041 [09:45:09]line РНМ: 0000000000190446 [09:45:09]line Версия ККМ: v1.0 [09:45:09]line Талоны: Топливные Талоны [09:45:09]line 1 [09:45:09]line ФМ: 0000000002094258 [09:45:09]line ФД: 7895 [09:45:09]line ФПД: 48439662075822 [09:45:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T094508&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7895&fm=48439662075822&tin=02508201610067®Number=0000000000190446&sum=0 [09:45:09]OFD Sender: Processing packet 7895 [packets to send 51, broken 50] [09:45:09]ProducePacketName [09:45:09]name=ofd_packets/00007895 [09:45:09]OFD Sender: To server: pG, [09:45:09]CommunicateWithHost lk.salyk.kg:30040 [09:45:09]ConnectInit lk.salyk.kg [09:45:09]written 0, free lines is 4095 [09:45:09]Write to MH i2c: 01 00 00 5B 00 5B [09:45:09]Write i2c OK [09:45:09]MH_I2C_Read... [09:45:09]Read from MH i2c: 01 [09:45:09]MH_I2C_Read... [09:45:09]Read from MH i2c: 01 07 00 [09:45:09]MH_I2C_Read... [09:45:09]Read from MH i2c: 01 07 00 5B 00 00 00 00 00 00 00 0D 6F [09:45:09]RasterBufferAndPrint [09:45:09]line [09:45:09]line [09:45:09]line [09:45:09]line [09:45:09]line [09:45:09]written 0, free lines is 3346 [09:45:09]MH_Cut [09:45:09]Write to MH i2c: D1 01 00 62 00 01 34 [09:45:09]Write i2c OK [09:45:09]MH_I2C_Read... [09:45:09]Read from MH i2c: D1 [09:45:09]MH_I2C_Read... [09:45:09]Read from MH i2c: D1 01 00 [09:45:09]MH_I2C_Read... [09:45:09]Read from MH i2c: D1 01 00 62 00 00 33 [09:45:09]Write to MH i2c: 01 00 00 63 00 63 [09:45:09]Write i2c OK [09:45:09]MH_I2C_Read... [09:45:10]*** Cut start [09:45:10]*** Purtial cut [09:45:10]*** Stage 1: CUTSNS_PIN = 1 [09:45:10]Connected sock=7 [09:45:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 01 00 00 3B B1 08 01 68 FA 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 A0 86 01 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 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 Read from MH i2c: 04 01 00 [09:45:10]24 MH_I2C_Read... [09:45:10]8A *** Stop cut motor [09:45:10]F2 *** Cut end [09:45:10]66 Read from MH i2c: 0E 01 04 07 04 00 00 [09:45:10]48 MH_I2C_Read... [09:45:10]00 00 Read from MH i2c: 00 B9 01 04 07 01 00 00 63 01 00 0D 00 00 00 00 00 FF 0F 78 [09:45:10]process_action close_receipt done [09:45:10]requested_data is exist [09:45:10]produce_requested_data [09:45:10]requested_item fm.sn is exist - process it [09:45:10]wFMCommunicate request_size=4 [09:45:10]MH_SAM_APDU [09:45:10]CAPDU: 80 11 00 00 [09:45:10]Write to MH i2c: E2 08 00 64 00 80 11 00 00 00 00 00 00 DE [09:45:10]04 10 00 Write i2c OK [09:45:10]30 MH_I2C_Read... [09:45:10]30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D7 1E 00 00 35 04 06 00 2C 0E 3C D9 DF AE F9 46 CE 74 02 D7 8E 02 [09:45:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:45:10]Read from MH i2c: E2 [09:45:10]MH_I2C_Read... [09:45:10]Read from MH i2c: E2 17 00 [09:45:10]MH_I2C_Read... [09:45:10]Read from MH i2c: E2 17 00 64 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 2F [09:45:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [09:45:10]wFMCommunicate OK [09:45:10]requested_item fd.num is exist - process it [09:45:10]SAM_PROTO_GetFieldsCounters [09:45:10]wFMCommunicate request_size=4 [09:45:10]MH_SAM_APDU [09:45:10]CAPDU: 80 13 00 00 [09:45:10]Write to MH i2c: E2 08 00 65 00 80 13 00 00 00 00 00 00 E1 [09:45:10]Write i2c OK [09:45:10]MH_I2C_Read... [09:45:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:45:11]Read from MH i2c: E2 [09:45:11]MH_I2C_Read... [09:45:11]Read from MH i2c: E2 62 00 [09:45:11]MH_I2C_Read... [09:45:11]Read from MH i2c: E2 62 00 65 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 D7 1E 00 00 0E 04 04 00 48 00 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 99 [09:45:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 D7 1E 00 00 0E 04 04 00 48 00 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 [09:45:11]wFMCommunicate OK [09:45:11]SAM_PROTO_GetFieldsCounters done [09:45:11]requested_item shift.num is exist - process it [09:45:11]requested_item shift.opened is exist - process it [09:45:11]req_shift_opened [09:45:11]FM_GetShiftState [09:45:11]SAM_PROTO_GetShiftState [09:45:11]wFMCommunicate request_size=4 [09:45:11]MH_SAM_APDU [09:45:11]CAPDU: 80 13 01 00 [09:45:11]Write to MH i2c: E2 08 00 66 00 80 13 01 00 00 00 00 00 E3 [09:45:11]Write i2c OK [09:45:11]MH_I2C_Read... [09:45:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 A8 FD 47 00 0E DA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D7 1E 00 00 F4 03 04 00 DE 34 F2 66 B6 04 01 00 00 15 7E AB 94 65 21 46 F0 [09:45:11]CommunicateWithHost err = 0 [09:45:11]CheckOFDResponse [09:45:11]1017 (14) - 77093643461234 [09:45:11]1041 (16) - 0000000002094258 [09:45:11]1040 (4) - 7895 [09:45:11]1012 (4) - 24.09.2024 03:41 [09:45:11]1206 (1) - 0 [09:45:11]OFD Sender: Remove packet 7895 [09:45:11]ProducePacketName [09:45:11]name=ofd_packets/00007895 [09:45:11]NVStorageDeleteData [09:45:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:45:11]Read from MH i2c: E2 [09:45:11]MH_I2C_Read... [09:45:11]Read from MH i2c: E2 0E 00 [09:45:11]MH_I2C_Read... [09:45:11]Read from MH i2c: E2 0E 00 66 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 89 [09:45:11]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [09:45:11]wFMCommunicate OK [09:45:11]SAM_PROTO_GetShiftState done [09:45:11]FM_GetShiftState done [09:45:11]req_shift_opened done [09:45:11]requested_item shift.open_date is exist - process it [09:45:11]req_shift_open_date [09:45:11]req_shift_open_date done [09:45:11]produce_requested_data done [09:45:11]produce_requested_data return {"fm.sn":"0000000002094258","fd.num":7895,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [09:45:11]process_action_free close_receipt [09:45:11]json_value_free [09:45:11]json_value_free done [09:45:11]process_json_proto returns [09:45:11]Send response to host [09:45:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002094258","fd.num":7895,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [09:45:11]free response buf [09:45:11]execute_script done [09:45:11]execute_script returns [09:45:11]free content buf [09:45:11]Sock 9.Close socket [09:45:11]Sock 9.Thread stoped [09:45:11]accept exits with 10 [09:45:11]New connection [09:45:11]New thread 3067043172 created [09:45:11]Thread 3067186532 joined [09:45:11]Waiting for new connection... [09:45:11] Sock 10.Parse request [09:45:11]Sock 10.Check first char [09:45:11]Sock 10.First char is OK [09:45:11]request: POST /json_proto HTTP/1.0 [09:45:11]Method: POST [09:45:11]URL: /json_proto [09:45:11]Method is POST - this is cgi request [09:45:11]url: /json_proto [09:45:11]query_string will be loaded in cgi processing [09:45:11]execute_cgi json_proto POST (null) [09:45:11]execute_cgi path=json_proto method=POST [09:45:11]POST find Content-Length [09:45:11]Host: 172.17.47.195:8080 [09:45:11]Content-Length: 984 [09:45:11]Content-Type: application/json [09:45:11] [09:45:11]POST finish read [09:45:11]Found Content-Length = 984 [09:45:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872552", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.80, "quantity" : 29.950, "sum" : 2000.66, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u000A\u0414\u0438\u0441\u043A\u043E\u043D\u0442\u043D\u0430\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430\u000A\u0410\u0418-92\u000A\u043D\u043E\u043C\u0435\u0440 137\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 29.95 \u0441\u043E\u043C", "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:45:11]execute_script... [09:45: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 : (1)872552", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.80, "quantity" : 29.950, "sum" : 2000.66, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u000A\u0414\u0438\u0441\u043A\u043E\u043D\u0442\u043D\u0430\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430\u000A\u0410\u0418-92\u000A\u043D\u043E\u043C\u0435\u0440 137\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 29.95 \u0441\u043E\u043C", "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:45:11]POST & json_proto [09:45:11]process_json_proto [09:45:11]json parsed OK: [09:45:11]protocol is kg_v1.0 [09:45:11]action value=close_receipt [09:45:11]process_action close_receipt [09:45:11]cmd_close_receipt [09:45:11]MH_GetDate [09:45:11]Write to MH i2c: F0 00 00 67 00 56 [09:45:11]Write i2c OK [09:45:11]MH_I2C_Read... [09:45:11]Read from MH i2c: F0 [09:45:11]MH_I2C_Read... [09:45:11]Read from MH i2c: F0 09 00 [09:45:11]MH_I2C_Read... [09:45:11]Read from MH i2c: F0 09 00 67 00 00 28 8A F2 66 96 2E 95 66 28 [09:45:11]GetLastDocTimeStamp 1727171108 [09:45:11]current date 1727171112 [09:45:11]FM_GetShiftState [09:45:11]SAM_PROTO_GetShiftState [09:45:11]wFMCommunicate request_size=4 [09:45:11]MH_SAM_APDU [09:45:11]CAPDU: 80 13 01 00 [09:45:11]Write to MH i2c: E2 08 00 68 00 80 13 01 00 00 00 00 00 E5 [09:45:11]Write i2c OK [09:45:11]MH_I2C_Read... [09:45:11]OFD Sender: No OFD packet to send [09:45:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:45:11]Read from MH i2c: E2 [09:45:11]MH_I2C_Read... [09:45:11]Read from MH i2c: E2 0E 00 [09:45:11]MH_I2C_Read... [09:45:11]Read from MH i2c: E2 0E 00 68 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 8B [09:45:11]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [09:45:11]wFMCommunicate OK [09:45:11]SAM_PROTO_GetShiftState done [09:45:11]FM_GetShiftState done [09:45:11]opened in 1727137340 [09:45:11]opened+sec_in_day 1727223740 [09:45:11]quantity*price = 200066 [09:45:11]sum+1 = 200067 [09:45:11]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.66 ИТОГО: 2000.00 Внесено: 2000.00 СДАЧА: 0.00 НСП 1% : 17.70 НДС 12% : 212.46 Наличными: 2000.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 32 24.09.2024 09:45 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 Дисконтная программа АИ-92 номер 137 сэкономлено 29.95 сом ФМ: 0000000002094258 ФД: 7896 ФПД: 10213027510469 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T094512&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7896&fm=10213027510469&tin=02508201610067®Number=0000000000190446&sum=200000 [09:45:13]StoreToDocumentArchive [09:45:13]shift 72 fd 7896 [09:45:13]save to /storage/0072/doc_00007896 [09:45:13]save last doc name /storage/0072/doc_00007896 to /storage/kkm_last_doc_name [09:45:13]save OK [09:45:13]Clear old archive folders... [09:45:13]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:45:13]tlvbuf is 01B44A80 [09:45:13]SAM_PROTO_ClearQueue [09:45:13]wFMCommunicate request_size=4 [09:45:13]MH_SAM_APDU [09:45:13]CAPDU: 80 09 00 00 [09:45:13]Write to MH i2c: E2 08 00 75 00 80 09 00 00 00 00 00 00 E7 [09:45:13]Write i2c OK [09:45:13]MH_I2C_Read... [09:45:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:45:13]Read from MH i2c: E2 [09:45:13]MH_I2C_Read... [09:45:13]Read from MH i2c: E2 03 00 [09:45:13]MH_I2C_Read... [09:45:13]Read from MH i2c: E2 03 00 75 00 00 90 00 E9 [09:45:13]RAPDU: 90 00 [09:45:13]wFMCommunicate OK [09:45:13]SAM_PROTO_ClearQueue done [09:45:13]KKMCreateOFDPacket [09:45:13]OFDProtocolAddRootSTLVToBuf [09:45:13]FM_MakeSignedData [09:45:13]FM_MakeSignedData [09:45:13]SAM_PROTO_SignData [09:45:13]wFMCommunicate request_size=4 [09:45:13]MH_SAM_APDU [09:45:13]CAPDU: 80 0D 01 02 [09:45:13]Write to MH i2c: E2 08 00 76 00 80 0D 01 02 00 00 00 00 EF [09:45:13]Write i2c OK [09:45:13]MH_I2C_Read... [09:45:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:45:13]Read from MH i2c: E2 [09:45:13]MH_I2C_Read... [09:45:13]Read from MH i2c: E2 03 00 [09:45:13]MH_I2C_Read... [09:45:13]Read from MH i2c: E2 03 00 76 00 00 90 00 EA [09:45:13]RAPDU: 90 00 [09:45:13]wFMCommunicate OK [09:45:13]wFMCommunicate request_size=255 [09:45:13]MH_SAM_APDU [09:45:13]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 FE 74 00 00 00 00 00 37 04 06 00 18 1A 00 00 00 00 13 04 06 00 82 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 52 00 00 00 00 07 04 06 00 40 0D 03 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 28 8A F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D8 1E 00 00 35 04 06 00 09 [09:45:13]Write to MH i2c: E2 02 01 77 00 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 FE 74 00 00 00 00 00 37 04 06 00 18 1A 00 00 00 00 13 04 06 00 82 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 52 00 00 00 00 07 04 06 00 40 0D 03 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 28 8A F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D8 1E 00 00 35 04 06 00 09 00 00 7D [09:45:13]Write i2c OK [09:45:13]MH_I2C_Read... [09:45:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:45:13]Read from MH i2c: E2 [09:45:13]MH_I2C_Read... [09:45:13]Read from MH i2c: E2 03 00 [09:45:13]MH_I2C_Read... [09:45:13]Read from MH i2c: E2 03 00 77 00 00 90 00 EB [09:45:13]RAPDU: 90 00 [09:45:13]wFMCommunicate OK [09:45:13]wFMCommunicate request_size=10 [09:45:13]MH_SAM_APDU [09:45:13]CAPDU: 80 0D 02 02 05 49 E7 E0 78 C5 [09:45:13]Write to MH i2c: E2 0D 00 78 00 80 0D 02 02 05 00 49 E7 E0 78 C5 00 00 49 [09:45:13]Write i2c OK [09:45:13]MH_I2C_Read... [09:45:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:45:13]Read from MH i2c: E2 [09:45:13]MH_I2C_Read... [09:45:13]Read from MH i2c: E2 03 00 [09:45:13]MH_I2C_Read... [09:45:13]Read from MH i2c: E2 03 00 78 00 00 90 00 EC [09:45:13]RAPDU: 90 00 [09:45:13]wFMCommunicate OK [09:45:13]wFMCommunicate request_size=4 [09:45:13]MH_SAM_APDU [09:45:13]CAPDU: 80 0D 03 02 [09:45:13]Write to MH i2c: E2 08 00 79 00 80 0D 03 02 00 00 00 00 F4 [09:45:13]Write i2c OK [09:45:13]MH_I2C_Read... [09:45:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:45:13]Read from MH i2c: E2 [09:45:13]MH_I2C_Read... [09:45:13]Read from MH i2c: E2 0B 00 [09:45:13]MH_I2C_Read... [09:45:13]Read from MH i2c: E2 0B 00 79 00 00 94 9F 95 24 4B 4B 12 6E 90 00 F7 [09:45:13]RAPDU: 94 9F 95 24 4B 4B 12 6E 90 00 [09:45:13]wFMCommunicate OK [09:45:13]SAM_PROTO_SignData done [00:00:09] *** EcrCore started. Build 196 *** [00:00:09]/dev/ttyS4 opened [00:00:09]MH_InterfaceInit /dev/i2c-1 [00:00:09]Malloc ok [00:00:09]MH_GetMetrics [00:00:09]Write to MH i2c: 00 00 00 01 00 00 [00:00:09]Write i2c OK [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 00 29 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 00 29 00 01 00 00 03 33 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 24 E0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 1B [00:00:09]Are we in boot? [00:00:09]We are in boot - try to switch [00:00:09]Write to MH i2c: A0 00 00 02 00 A1 [00:00:09]Write i2c OK [00:00:09]MH_I2C_Read... [00:00:09]*** Check firmware version 30515, crc_r 5823D75D, crc_c: 5823D75D, size: 52480 [00:00:09]*** [00:00:09]Read from MH i2c: A0 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: A0 01 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:09]*** Starting fw at address 01020100 (2007E318 010246F9) [00:00:09]*** Waiting for read because exit forced [00:00:09]*** 10 ms more... [00:00:09]*** MH1903 init start (LINUX_LIGHT) [00:00:09]*** Serial: 3139303353513838 54000000005724E0 (1903SQ88T) [00:00:09]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:09]*** step 0: 5000 (2650, 2350 REF) [00:00:09]*** step 1: 4835 (2500, 2335 REF) [00:00:09]*** step 2: 4676 (2440, 2236 REF) [00:00:09]*** step 3: 4523 (2280, 2243 REF) [00:00:09]*** step 4: 4376 (2160, 2216 REF) [00:00:09]*** step 5: 4235 (2050, 2185 REF) [00:00:09]*** step 6: 4098 (1950, 2148 REF) [00:00:09]*** step 7: 3967 (1870, 2097 REF) [00:00:09]*** step 8: 3840 (1828, 2012 REF) [00:00:09]*** step 9: 3719 (1728, 1991 REF) [00:00:09]*** step 10: 3601 (1675, 1926 REF) [00:00:09]*** step 11: 3488 (1635, 1853 REF) [00:00:09]*** step 12: 3379 (1595, 1784 REF) [00:00:09]*** step 13: 3275 (1565, 1710 REF) [00:00:09]*** step 14: 3174 (1543, 1631 REF) [00:00:09]*** step 15: 3077 (1523, 1554 REF) [00:00:09]*** step 16: 2983 (1503, 1480 REF) [00:00:09]*** step 17: 2893 (1486, 1407 REF) [00:00:09]*** step 18: 2806 (1466, 1340 REF) [00:00:09]*** step 19: 2723 (1426, 1297 REF) [00:00:09]*** step 20: 2642 (1406, 1236 REF) [00:00:09]*** step 21: 2565 (1384, 1181 REF) [00:00:09]*** step 22: 2490 (1364, 1126 REF) [00:00:09]*** step 23: 2418 (1344, 1074 REF) [00:00:09]*** step 24: 2349 (1322, 1027 REF) [00:00:09]*** step 25: 2283 (1302, 981 REF) [00:00:09]*** step 26: 2218 (1282, 936 REF) [00:00:09]*** step 27: 2157 (1262, 895 REF) [00:00:09]*** step 28: 2097 (1242, 855 REF) [00:00:09]*** step 29: 2040 (1222, 818 REF) [00:00:09]*** step 30: 1985 (1202, 783 REF) [00:00:09]*** step 31: 1932 (1191, 741 REF) [00:00:09]*** step 32: 1880 (1181, 699 REF) [00:00:09]*** step 33: 1831 (1171, 660 REF) [00:00:09]*** step 34: 1784 (1161, 623 REF) [00:00:09]*** step 35: 1738 (1151, 587 REF) [00:00:09]*** step 36: 1694 (1141, 553 REF) [00:00:09]*** step 37: 1652 (1131, 521 REF) [00:00:09]*** step 38: 1611 (1121, 490 REF) [00:00:09]*** step 39: 1572 (1111, 461 REF) [00:00:09]*** step 40: 1534 (1103, 431 REF) [00:00:09]*** step 41: 1497 (1093, 404 REF) [00:00:09]*** step 42: 1462 (1083, 379 REF) [00:00:09]*** step 43: 1428 (1073, 355 REF) [00:00:09]*** step 44: 1396 (1063, 333 REF) [00:00:09]*** step 45: 1365 (1053, 312 REF) [00:00:09]*** step 46: 1334 (1043, 291 REF) [00:00:09]*** step 47: 1305 (1033, 272 REF) [00:00:09]*** step 48: 1277 (1023, 254 REF) [00:00:09]*** step 49: 1250 (1013, 237 REF) [00:00:09]*** step 50: 1224 (990, 234 REF) [00:00:09]*** step 51: 1199 (980, 219 REF) [00:00:09]*** step 52: 1175 (970, 205 REF) [00:00:09]*** step 53: 1152 (960, 192 REF) [00:00:09]*** step 54: 1130 (950, 180 REF) [00:00:09]*** step 55: 1108 (940, 168 REF) [00:00:09]*** step 56: 1088 (930, 158 REF) [00:00:09]*** step 57: 1068 (920, 148 REF) [00:00:09]*** step 58: 1049 (910, 139 REF) [00:00:09]*** step 59: 1030 (900, 130 REF) [00:00:09]*** step 60: 1012 (890, 122 REF) [00:00:09]*** step 61: 995 (880, 115 REF) [00:00:09]*** step 62: 979 (870, 109 REF) [00:00:09]*** step 63: 963 (860, 103 REF) [00:00:09]*** step 64: 948 (850, 98 REF) [00:00:09]*** step 65: 933 (840, 93 REF) [00:00:09]*** step 66: 919 (830, 89 REF) [00:00:09]*** step 67: 905 (820, 85 REF) [00:00:09]*** step 68: 892 (810, 82 REF) [00:00:09]*** step 69: 879 (800, 79 REF) [00:00:09]*** step 70: 867 (790, 77 REF) [00:00:09]*** step 71: 855 (780, 75 REF) [00:00:09]*** step 72: 844 (770, 74 REF) [00:00:09]*** step 73: 833 (760, 73 REF) [00:00:09]*** step 74: 822 (750, 72 REF) [00:00:09]*** step 75: 812 (740, 72 REF) [00:00:09]*** step 76: 803 (730, 73 REF) [00:00:09]*** step 77: 793 (720, 73 REF) [00:00:09]*** step 78: 784 (710, 74 REF) [00:00:09]*** step 79: 776 (700, 76 REF) [00:00:09]*** step 80: 767 (690, 77 REF) [00:00:09]*** step 81: 759 (680, 79 REF) [00:00:09]*** step 82: 751 (670, 81 REF) [00:00:09]*** step 83: 744 (660, 84 REF) [00:00:09]*** step 84: 737 (650, 87 REF) [00:00:09]*** step 85: 730 (640, 90 REF) [00:00:09]*** step 86: 723 (630, 93 REF) [00:00:09]*** step 87: 717 (620, 97 REF) [00:00:09]*** step 88: 710 (610, 100 REF) [00:00:09]*** step 89: 705 (600, 105 REF) [00:00:09]*** step 90: 699 [00:00:09]*** step 91: 693 [00:00:09]*** step 92: 688 [00:00:09]*** step 93: 683 [00:00:09]*** step 94: 678 [00:00:09]*** step 95: 673 [00:00:09]*** step 96: 669 [00:00:09]*** step 97: 664 [00:00:09]*** step 98: 660 [00:00:09]*** step 99: 656 [00:00:09]*** step 100: 652 [00:00:09]*** step 101: 648 [00:00:09]*** step 102: 644 [00:00:09]*** step 103: 641 [00:00:09]*** step 104: 638 [00:00:09]*** step 105: 634 [00:00:09]*** step 106: 631 [00:00:09]*** step 107: 628 [00:00:09]*** step 108: 625 [00:00:09]*** step 109: 622 [00:00:09]*** step 110: 620 [00:00:09]*** step 111: 617 [00:00:09]*** step 112: 615 [00:00:09]*** step 113: 612 [00:00:09]*** step 114: 610 [00:00:09]*** step 115: 608 [00:00:09]*** step 116: 605 [00:00:09]*** step 117: 603 [00:00:09]*** step 118: 601 [00:00:09]*** step 119: 599 [00:00:09]*** printer: Printer HW initialized [00:00:09]*** initSamCard finished [00:00:09]*** RTC: 6118962+1721052822=1727171784 [00:00:09]*** BPK Status Register BPK_RDY = 0x0 [00:00:09]*** SEN State Register SEN_STATE = 0x200ff [00:00:09]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:09]*** Analog Control Register 0 SEN_ANA0 = 0x33510623 [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 03 00 02 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 03 00 00 03 33 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 24 E0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 1C [00:00:10]Are we in boot? [00:00:10]We are not in boot now [00:00:10]Write to MH i2c: 01 00 00 04 00 04 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 01 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 01 07 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:10]Model is 3 [00:00:10]MH firmware is 30515 [00:00:10]MH boot firmware is 3 [00:00:10]MH_SetPrinterDots 448 [00:00:10]HeadWidthInBytes 56 [00:00:10]maxmasksize 7 [00:00:10]Write to MH i2c: D6 06 00 05 00 41 00 60 00 FF FF 7F [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D6 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D6 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:10]Write to MH i2c: D5 00 00 06 00 DA [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D5 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D5 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]ExternCall_SetCallbacks [00:00:10]NVStorageInit [00:00:10]MH_GetDate [00:00:10]Write to MH i2c: F0 00 00 07 00 F6 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: F0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: F0 09 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: F0 09 00 07 00 00 C9 8C F2 66 96 2E 95 66 6B [09:56:25]Current date/time: 24.09.2024 09:56 [09:56:25]FM_Init [09:56:25]wFMConnect [09:56:25]MH_SAM_On [09:56:25]Write to MH i2c: E0 00 00 08 00 E7 [09:56:25]Write i2c OK [09:56:25]MH_I2C_Read... [09:56:25]*** iso7816_init finished! [09:56:25]*** atr: [09:56:25]*** 0F 3B D5 18 FF 81 91 FE [09:56:25]*** 1F C3 80 73 C8 21 10 0A [09:56:25]*** 00 00 00 00 00 00 00 00 [09:56:25]*** 00 00 00 00 00 00 00 00 [09:56:25]*** 00 00 00 00 00 00 00 00 [09:56:25]*** 00 00 00 00 00 00 00 00 [09:56:25]*** 00 00 00 00 00 00 00 00 [09:56:25]*** 00 00 00 00 00 00 00 00 [09:56:25]Read from MH i2c: E0 [09:56:25]MH_I2C_Read... [09:56:25]Read from MH i2c: E0 10 00 [09:56:25]MH_I2C_Read... [09:56:25]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [09:56:25]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [09:56:25]wFMCommunicate request_size=10 [09:56:25]MH_SAM_APDU [09:56:25]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [09:56:25]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [09:56:25]Write i2c OK [09:56:25]MH_I2C_Read... [09:56:25]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [09:56:25]Read from MH i2c: E2 [09:56:25]MH_I2C_Read... [09:56:25]Read from MH i2c: E2 03 00 [09:56:25]MH_I2C_Read... [09:56:25]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [09:56:25]RAPDU: 90 00 [09:56:25]wFMCommunicate OK [09:56:25]wFMCommunicate request_size=4 [09:56:25]MH_SAM_APDU [09:56:25]CAPDU: 80 11 00 00 [09:56:25]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [09:56:25]Write i2c OK [09:56:25]MH_I2C_Read... [09:56:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:56:25]Read from MH i2c: E2 [09:56:25]MH_I2C_Read... [09:56:25]Read from MH i2c: E2 17 00 [09:56:25]MH_I2C_Read... [09:56:25]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 D5 [09:56:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [09:56:25]wFMCommunicate OK [09:56:25]Detected FM SN is 0000000002094258 [09:56:25]Stored FM SN is 0000000002094258 [09:56:25]wFMCommunicate request_size=9 [09:56:25]MH_SAM_APDU [09:56:25]CAPDU: 80 16 00 00 04 BC C2 00 00 [09:56:25]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 BC C2 00 00 00 00 10 [09:56:25]Write i2c OK [09:56:25]MH_I2C_Read... [09:56:25]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [09:56:25]Read from MH i2c: E2 [09:56:25]MH_I2C_Read... [09:56:25]Read from MH i2c: E2 03 00 [09:56:25]MH_I2C_Read... [09:56:25]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [09:56:25]RAPDU: 90 00 [09:56:25]wFMCommunicate OK [09:56:25]FM PIN OK [09:56:25]wFMCommunicate request_size=8 [09:56:25]MH_SAM_APDU [09:56:25]CAPDU: 80 14 04 00 03 02 00 01 [09:56:25]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [09:56:25]Write i2c OK [09:56:25]MH_I2C_Read... [09:56:25]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [09:56:25]Read from MH i2c: E2 [09:56:25]MH_I2C_Read... [09:56:25]Read from MH i2c: E2 03 00 [09:56:25]MH_I2C_Read... [09:56:25]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [09:56:25]RAPDU: 90 00 [09:56:25]wFMCommunicate OK [09:56:25]wFMCommunicate request_size=13 [09:56:25]MH_SAM_APDU [09:56:25]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [09:56:25]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [09:56:25]Write i2c OK [09:56:25]MH_I2C_Read... [09:56:25]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [09:56:25]Read from MH i2c: E2 [09:56:25]MH_I2C_Read... [09:56:25]Read from MH i2c: E2 03 00 [09:56:25]MH_I2C_Read... [09:56:25]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [09:56:25]RAPDU: 90 00 [09:56:25]wFMCommunicate OK [09:56:25]wFMCommunicate request_size=4 [09:56:25]MH_SAM_APDU [09:56:25]CAPDU: 80 11 00 00 [09:56:25]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [09:56:25]Write i2c OK [09:56:25]MH_I2C_Read... [09:56:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:56:25]Read from MH i2c: E2 [09:56:25]MH_I2C_Read... [09:56:25]Read from MH i2c: E2 17 00 [09:56:25]MH_I2C_Read... [09:56:25]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 D9 [09:56:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [09:56:25]wFMCommunicate OK [09:56:25]DocumentArchiveInit [09:56:25]Start Httpd... [09:56:25]Httpd thread 3067342180 created [09:56:25]Write to MH i2c: 01 00 00 0F 00 0F [09:56:25]Write i2c OK [09:56:25]MH_I2C_Read... [09:56:25]Read from MH i2c: 01 [09:56:25]MH_I2C_Read... [09:56:25]Read from MH i2c: 01 07 00 [09:56:25]MH_I2C_Read... [09:56:25]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [09:56:25]MH Int Process started [09:56:25]Allocated Socket 8 [09:56:25]Bind OK [09:56:25]Listen OK [09:56:25]httpd running on port 8080 [09:56:25]Waiting for new connection... [09:56:25]OFD Sender: Processing packet 7896 [packets to send 51, broken 50] [09:56:25]ProducePacketName [09:56:25]name=ofd_packets/00007896 [09:56:25]OFD Sender: To server: pG, [09:56:25]CommunicateWithHost lk.salyk.kg:30040 [09:56:25]ConnectInit lk.salyk.kg [09:56:26]accept exits with 9 [09:56:26]New connection [09:56:26]New thread 3067055460 created [09:56:26]Waiting for new connection... [09:56:26] Sock 9.Parse request [09:56:26]Sock 9.Check first char [09:56:26]Sock 9.First char is OK [09:56:26]request: POST /json_proto HTTP/1.0 [09:56:26]Method: POST [09:56:26]URL: /json_proto [09:56:26]Method is POST - this is cgi request [09:56:26]url: /json_proto [09:56:26]query_string will be loaded in cgi processing [09:56:26]execute_cgi json_proto POST (null) [09:56:26]execute_cgi path=json_proto method=POST [09:56:26]POST find Content-Length [09:56:26]Host: 172.17.47.195:8080 [09:56:26]Content-Length: 215 [09:56:26]Content-Type: application/json [09:56:26] [09:56:26]POST finish read [09:56:26]Found Content-Length = 215 [09:56:26]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:56:26]execute_script... [09:56:26]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:56:26]POST & json_proto [09:56:26]process_json_proto [09:56:26]json parsed OK: [09:56:26]protocol is kg_v1.0 [09:56:26]action value=get_value [09:56:26]process_action get_value [09:56:26]cmd_get_value [09:56:26]process_action get_value done [09:56:26]requested_data is exist [09:56:26]produce_requested_data [09:56:26]requested_item kkm.sn is exist - process it [09:56:26]requested_item kkm.ver is exist - process it [09:56:26]requested_item fm.sn is exist - process it [09:56:26]wFMCommunicate request_size=4 [09:56:26]MH_SAM_APDU [09:56:26]CAPDU: 80 11 00 00 [09:56:26]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [09:56:26]Write i2c OK [09:56:26]MH_I2C_Read... [09:56:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:56:26]Read from MH i2c: E2 [09:56:26]MH_I2C_Read... [09:56:26]Read from MH i2c: E2 17 00 [09:56:26]MH_I2C_Read... [09:56:26]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 DB [09:56:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [09:56:26]wFMCommunicate OK [09:56:26]requested_item fd.num is exist - process it [09:56:26]SAM_PROTO_GetFieldsCounters [09:56:26]wFMCommunicate request_size=4 [09:56:26]MH_SAM_APDU [09:56:26]CAPDU: 80 13 00 00 [09:56:26]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [09:56:26]Write i2c OK [09:56:26]MH_I2C_Read... [09:56:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:56:26]Read from MH i2c: E2 [09:56:26]MH_I2C_Read... [09:56:26]Read from MH i2c: E2 62 00 [09:56:26]MH_I2C_Read... [09:56:26]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 D8 1E 00 00 0E 04 04 00 48 00 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 49 [09:56:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 D8 1E 00 00 0E 04 04 00 48 00 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 [09:56:26]wFMCommunicate OK [09:56:26]SAM_PROTO_GetFieldsCounters done [09:56:26]requested_item shift.num is exist - process it [09:56:26]requested_item shift.opened is exist - process it [09:56:26]req_shift_opened [09:56:26]FM_GetShiftState [09:56:26]SAM_PROTO_GetShiftState [09:56:26]wFMCommunicate request_size=4 [09:56:26]MH_SAM_APDU [09:56:26]CAPDU: 80 13 01 00 [09:56:26]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [09:56:26]Write i2c OK [09:56:26]MH_I2C_Read... [09:56:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:56:26]Read from MH i2c: E2 [09:56:26]MH_I2C_Read... [09:56:26]Read from MH i2c: E2 0E 00 [09:56:26]MH_I2C_Read... [09:56:26]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 35 [09:56:26]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [09:56:26]wFMCommunicate OK [09:56:26]SAM_PROTO_GetShiftState done [09:56:26]FM_GetShiftState done [09:56:26]req_shift_opened done [09:56:26]requested_item shift.open_date is exist - process it [09:56:26]req_shift_open_date [09:56:26]req_shift_open_date done [09:56:26]produce_requested_data done [09:56:26]produce_requested_data return {"kkm.sn":"0300000041","kkm.ver":"v1.0","fm.sn":"0000000002094258","fd.num":7896,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [09:56:26]process_action_free get_value [09:56:26]json_value_free [09:56:26]json_value_free done [09:56:26]process_json_proto returns [09:56:26]Send response to host [09:56:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000041","kkm.ver":"v1.0","fm.sn":"0000000002094258","fd.num":7896,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [09:56:26]free response buf [09:56:26]execute_script done [09:56:26]execute_script returns [09:56:26]free content buf [09:56:26]Sock 9.Close socket [09:56:26]Sock 9.Thread stoped [09:56:26]accept exits with 11 [09:56:26]New connection [09:56:26]New thread 3066912100 created [09:56:26]Thread 3067055460 joined [09:56:26]Waiting for new connection... [09:56:26] Sock 11.Parse request [09:56:26]Sock 11.Check first char [09:56:26]Sock 11.First char is OK [09:56:26]request: POST /json_proto HTTP/1.0 [09:56:26]Method: POST [09:56:26]URL: /json_proto [09:56:26]Method is POST - this is cgi request 30 30 30 30 32 30 39 34 32 35 38 90 00 [09:56:34]wFMCommunicate OK [09:56:34]requested_item fd.num is exist - process it [09:56:34]SAM_PROTO_GetFieldsCounters [09:56:34]wFMCommunicate request_size=4 [09:56:34]MH_SAM_APDU [09:56:34]CAPDU: 80 13 00 00 [09:56:34]Write to MH i2c: E2 08 00 65 00 80 13 00 00 00 00 00 00 E1 [09:56:34]Write i2c OK [09:56:34]MH_I2C_Read... [09:56:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:56:34]Read from MH i2c: E2 [09:56:34]MH_I2C_Read... [09:56:34]Read from MH i2c: E2 62 00 [09:56:34]MH_I2C_Read... [09:56:34]Read from MH i2c: E2 62 00 65 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 D9 1E 00 00 0E 04 04 00 48 00 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 A1 [09:56:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 D9 1E 00 00 0E 04 04 00 48 00 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 [09:56:34]wFMCommunicate OK [09:56:34]SAM_PROTO_GetFieldsCounters done [09:56:34]requested_item shift.num is exist - process it [09:56:34]requested_item shift.opened is exist - process it [09:56:34]req_shift_opened [09:56:34]FM_GetShiftState [09:56:34]SAM_PROTO_GetShiftState [09:56:34]wFMCommunicate request_size=4 [09:56:34]MH_SAM_APDU [09:56:34]CAPDU: 80 13 01 00 [09:56:34]Write to MH i2c: E2 08 00 66 00 80 13 01 00 00 00 00 00 E3 [09:56:34]Write i2c OK [09:56:34]MH_I2C_Read... [09:56:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:56:34]Read from MH i2c: E2 [09:56:34]MH_I2C_Read... [09:56:34]Read from MH i2c: E2 0E 00 [09:56:34]MH_I2C_Read... [09:56:34]Read from MH i2c: E2 0E 00 66 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 89 [09:56:34]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [09:56:34]wFMCommunicate OK [09:56:34]SAM_PROTO_GetShiftState done [09:56:34]FM_GetShiftState done [09:56:34]req_shift_opened done [09:56:34]requested_item shift.open_date is exist - process it [09:56:34]req_shift_open_date [09:56:34]req_shift_open_date done [09:56:34]produce_requested_data done [09:56:34]produce_requested_data return {"fm.sn":"0000000002094258","fd.num":7897,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [09:56:34]process_action_free close_receipt [09:56:34]json_value_free [09:56:34]json_value_free done [09:56:34]process_json_proto returns [09:56:34]Send response to host [09:56:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002094258","fd.num":7897,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [09:56:34]free response buf [09:56:34]execute_script done [09:56:34]execute_script returns [09:56:34]free content buf [09:56:34]Sock 9.Close socket [09:56:34]Sock 9.Thread stoped [09:56:35]recv_with_timeout no data received [09:56:37]ConnectInit Can't take IP for lk.salyk.kg [09:56:37]CommunicateWithHost connect error [09:56:37]CommunicateWithHost err = -1 [09:56:37]OFD Sender: Server communicate error [09:56:42]OFD Sender: Processing packet 7897 [packets to send 51, broken 50] [09:56:42]ProducePacketName [09:56:42]name=ofd_packets/00007897 [09:56:42]OFD Sender: To server: pG, [09:56:42]CommunicateWithHost lk.salyk.kg:30040 [09:56:42]ConnectInit lk.salyk.kg [09:56:52]recv_with_timeout no data received [09:57:11]accept exits with 11 [09:57:11]New connection [09:57:11]New thread 3066912100 created [09:57:11]Thread 3067055460 joined [09:57:11]Waiting for new connection... [09:57:11] Sock 11.Parse request [09:57:11]Sock 11.Check first char [09:57:11]Sock 11.First char is OK [09:57:11]request: POST /json_proto HTTP/1.0 [09:57:11]Method: POST [09:57:11]URL: /json_proto [09:57:11]Method is POST - this is cgi request [09:57:11]url: /json_proto [09:57:11]query_string will be loaded in cgi processing [09:57:11]execute_cgi json_proto POST (null) [09:57:11]execute_cgi path=json_proto method=POST [09:57:11]POST find Content-Length [09:57:11]Host: 172.17.47.195:8080 [09:57:11]Content-Length: 678 [09:57:11]Content-Type: application/json [09:57:11] [09:57:11]POST finish read [09:57:11]Found Content-Length = 678 [09:57:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872560", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 10.330, "sum" : 700.37, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:57:11]execute_script... [09:57: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 : (1)872560", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 10.330, "sum" : 700.37, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 700.00, "total" : 700.00, "payments": [ { "type": 0, "sum" : 700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:57:11]POST & json_proto [09:57:11]process_json_proto [09:57:11]json parsed OK: [09:57:11]protocol is kg_v1.0 [09:57:11]action value=close_receipt [09:57:11]process_action close_receipt [09:57:11]cmd_close_receipt [09:57:11]MH_GetDate [09:57:11]Write to MH i2c: F0 00 00 67 00 56 [09:57:11]Write i2c OK [09:57:11]MH_I2C_Read... [09:57:11]Read from MH i2c: F0 [09:57:11]MH_I2C_Read... [09:57:11]Read from MH i2c: F0 09 00 [09:57:11]MH_I2C_Read... [09:57:11]Read from MH i2c: F0 09 00 67 00 00 F7 8C F2 66 96 2E 95 66 F9 [09:57:11]GetLastDocTimeStamp 1727171790 [09:57:11]current date 1727171831 [09:57:11]FM_GetShiftState [09:57:11]SAM_PROTO_GetShiftState [09:57:11]wFMCommunicate request_size=4 [09:57:11]MH_SAM_APDU [09:57:11]CAPDU: 80 13 01 00 [09:57:11]Write to MH i2c: E2 08 00 68 00 80 13 01 00 00 00 00 00 E5 [09:57:11]Write i2c OK [09:57:11]MH_I2C_Read... [09:57:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:57:11]Read from MH i2c: E2 [09:57:11]MH_I2C_Read... [09:57:11]Read from MH i2c: E2 0E 00 [09:57:11]MH_I2C_Read... [09:57:11]Read from MH i2c: E2 0E 00 68 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 8B [09:57:11]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [09:57:12]wFMCommunicate OK [09:57:12]SAM_PROTO_GetShiftState done [09:57:12]FM_GetShiftState done [09:57:12]opened in 1727137340 [09:57:12]opened+sec_in_day 1727223740 [09:57:12]quantity*price = 70037 [09:57:12]sum+1 = 70038 [09:57:12]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.37 ИТОГО: 700.00 Внесено: 700.00 СДАЧА: 0.00 НСП 1% : 6.20 НДС 12% : 74.38 Наличными: 700.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 34 24.09.2024 09:57 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 ФМ: 0000000002094258 ФД: 7898 ФПД: 215254109637258 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T095712&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7898&fm=215254109637258&tin=02508201610067®Number=0000000000190446&sum=70000 [09:57:13]StoreToDocumentArchive [09:57:13]shift 72 fd 7898 [09:57:13]save to /storage/0072/doc_00007898 [09:57:13]save last doc name /storage/0072/doc_00007898 to /storage/kkm_last_doc_name [09:57:13]save OK [09:57:13]Clear old archive folders... [09:57:13]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:57:13]tlvbuf is 00EEB100 [09:57:13]SAM_PROTO_ClearQueue [09:57:13]wFMCommunicate request_size=4 [09:57:13]MH_SAM_APDU [09:57:13]CAPDU: 80 09 00 00 [09:57:13]Write to MH i2c: E2 08 00 75 00 80 09 00 00 00 00 00 00 E7 [09:57:13]Write i2c OK [09:57:13]MH_I2C_Read... [09:57:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:57:13]Read from MH i2c: E2 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: E2 03 00 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: E2 03 00 75 00 00 90 00 E9 [09:57:13]RAPDU: 90 00 [09:57:13]wFMCommunicate OK [09:57:13]SAM_PROTO_ClearQueue done [09:57:13]KKMCreateOFDPacket [09:57:13]OFDProtocolAddRootSTLVToBuf [09:57:13]FM_MakeSignedData [09:57:13]FM_MakeSignedData [09:57:13]SAM_PROTO_SignData [09:57:13]wFMCommunicate request_size=4 [09:57:13]MH_SAM_APDU [09:57:13]CAPDU: 80 0D 01 02 [09:57:13]Write to MH i2c: E2 08 00 76 00 80 0D 01 02 00 00 00 00 EF [09:57:13]Write i2c OK [09:57:13]MH_I2C_Read... [09:57:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:57:13]Read from MH i2c: E2 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: E2 03 00 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: E2 03 00 76 00 00 90 00 EA [09:57:13]RAPDU: 90 00 [09:57:13]wFMCommunicate OK [09:57:13]wFMCommunicate request_size=255 [09:57:13]MH_SAM_APDU [09:57:13]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5A 28 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 95 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 F8 8C F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DA 1E 00 00 35 04 06 00 C3 [09:57:13]Write to MH i2c: E2 02 01 77 00 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5A 28 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 95 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 F8 8C F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DA 1E 00 00 35 04 06 00 C3 00 00 53 [09:57:13]Write i2c OK [09:57:13]MH_I2C_Read... [09:57:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:57:13]Read from MH i2c: E2 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: E2 03 00 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: E2 03 00 77 00 00 90 00 EB [09:57:13]RAPDU: 90 00 [09:57:13]wFMCommunicate OK [09:57:13]wFMCommunicate request_size=10 [09:57:13]MH_SAM_APDU [09:57:13]CAPDU: 80 0D 02 02 05 C5 C0 BD CA 8A [09:57:13]Write to MH i2c: E2 0D 00 78 00 80 0D 02 02 05 00 C5 C0 BD CA 8A 00 00 92 [09:57:13]Write i2c OK [09:57:13]MH_I2C_Read... [09:57:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:57:13]Read from MH i2c: E2 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: E2 03 00 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: E2 03 00 78 00 00 90 00 EC [09:57:13]RAPDU: 90 00 [09:57:13]wFMCommunicate OK [09:57:13]wFMCommunicate request_size=4 [09:57:13]MH_SAM_APDU [09:57:13]CAPDU: 80 0D 03 02 [09:57:13]Write to MH i2c: E2 08 00 79 00 80 0D 03 02 00 00 00 00 F4 [09:57:13]Write i2c OK [09:57:13]MH_I2C_Read... [09:57:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:57:13]Read from MH i2c: E2 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: E2 0B 00 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: E2 0B 00 79 00 00 79 7F 36 FE C5 25 D3 FE 90 00 DC [09:57:13]RAPDU: 79 7F 36 FE C5 25 D3 FE 90 00 [09:57:13]wFMCommunicate OK [09:57:13]SAM_PROTO_SignData done [09:57:13]FM_MakeSignedData done [09:57:13]CreateOFDProtocolMessage [09:57:13]wFMCommunicate request_size=4 [09:57:13]MH_SAM_APDU [09:57:13]CAPDU: 80 11 00 00 [09:57:13]Write to MH i2c: E2 08 00 7A 00 80 11 00 00 00 00 00 00 F4 [09:57:13]Write i2c OK [09:57:13]MH_I2C_Read... [09:57:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:57:13]Read from MH i2c: E2 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: E2 17 00 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: E2 17 00 7A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 45 [09:57:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [09:57:13]wFMCommunicate OK [09:57:13]CreateOFDProtocolMessage done [09:57:13]OFDSenderStorePacket 7898 [09:57:13]StoreOFDPacket docnum=7898 [09:57:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 5B 92 07 01 01 BE 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5A 28 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 95 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 F8 8C F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DA 1E 00 00 35 04 06 00 C3 C5 C0 BD CA 8A 79 7F 36 FE C5 25 D3 FE [09:57:13]CheckFolder [09:57:13]dirname=/storage/ofd_packets [09:57:13]CheckFolder done [09:57:13]ProducePacketName [09:57:13]name=ofd_packets/00007898 [09:57:13]NVStorageSaveData ofd_packets/00007898 [09:57:13]File name is /storage/ofd_packets/00007898 [09:57:13]Write 301 bytes [09:57:13]NVStorageSaveData done [09:57:13]OFDSenderStorePacket done [09:57:13]KKMCreateOFDPacket done [09:57:13]NVStorageSaveData kkm_last_timestamp [09:57:13]File name is /storage/kkm_last_timestamp [09:57:13]Write 4 bytes [09:57:13]NVStorageSaveData done [09:57:13]ExternCall_PrintAddStr [09:57:13]wPrintStart [09:57:13]Write to MH i2c: 01 00 00 7B 00 7B [09:57:13]Write i2c OK [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: 01 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: 01 07 00 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: 01 07 00 7B 00 00 00 00 00 00 FF 0F 90 [09:57:13]RasterBufferAndPrint [09:57:13]line Счет N : (1)872560 [09:57:13]line ИНН: 02508201610067 [09:57:13]line Контрольно-Кассовый Чек [09:57:13]line ПРОДАЖА [09:57:13]line ТРК (МРК, ГНК) : 43 [09:57:13]line Товар: 2710124130 [09:57:13]line Аи-92-К-5 [09:57:13]line 10.330 * 67.80 [09:57:13]line = 700.37 [09:57:13]line НДС 12% НСП 1% [09:57:13]line > о реализуемом товаре [09:57:13]line ОКРУГЛЕНИЕ: -0.37 [09:57:13]line ИТОГО: 700.00 [09:57:13]line Внесено: 700.00 [09:57:13]line СДАЧА: 0.00 [09:57:13]line НСП 1% : 6.20 [09:57:13]line НДС 12% : 74.38 [09:57:13]line Наличными: 700.00 [09:57:13]line Безнал.: 0.00 [09:57:13]line Место: АЗС № 137 "Партнер Нефть" [09:57:13]line Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 [09:57:13]line СНО: Общий режим [09:57:13]line Чек 34 24.09.2024 09:57 [09:57:13]line Смена: 72 ФФД: 1.0 [09:57:13]line ЗНМ: 0300000041 [09:57:13]line РНМ: 0000000000190446 [09:57:13]line Версия ККМ: v1.0 [09:57:13]line ФМ: 0000000002094258 [09:57:13]line ФД: 7898 [09:57:13]line ФПД: 215254109637258 [09:57:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T095712&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7898&fm=215254109637258&tin=02508201610067®Number=0000000000190446&sum=70000 [09:57:13]written 0, free lines is 4095 [09:57:14]Write to MH i2c: 01 00 00 A6 00 A6 [09:57:14]Write i2c OK [09:57:14]MH_I2C_Read... [09:57:14]Read from MH i2c: 01 [09:57:14]MH_I2C_Read... [09:57:14]Read from MH i2c: 01 07 00 [09:57:14]MH_I2C_Read... [09:57:14]Read from MH i2c: 01 07 00 A6 00 00 00 00 00 00 EE 0C A7 [09:57:14]RasterBufferAndPrint [09:57:14]line [09:57:14]line [09:57:14]line [09:57:14]line [09:57:14]line [09:57:14]written 0, free lines is 3334 [09:57:14]MH_Cut [09:57:14]Write to MH i2c: D1 01 00 AD 00 01 7F [09:57:14]Write i2c OK [09:57:14]MH_I2C_Read... [09:57:14]Read from MH i2c: D1 [09:57:14]MH_I2C_Read... [09:57:14]Read from MH i2c: D1 01 00 [09:57:14]MH_I2C_Read... [09:57:14]Read from MH i2c: D1 01 00 AD 00 00 7E [09:57:14]Write to MH i2c: 01 00 00 AE 00 AE [09:57:14]Write i2c OK [09:57:14]MH_I2C_Read... [09:57:15]*** Cut start [09:57:15]*** Purtial cut [09:57:15]*** Stage 1: CUTSNS_PIN = 1 [09:57:15]Read from MH i2c: 01 [09:57:15]MH_I2C_Read... [09:57:15]*** Stop cut motor [09:57:15]*** Cut end [09:57:15]Read from MH i2c: 01 07 00 [09:57:15]MH_I2C_Read... [09:57:15]Read from MH i2c: 01 07 00 AE 00 00 00 00 00 00 FF 0F C3 [09:57:15]process_action close_receipt done [09:57:15]requested_data is exist [09:57:15]produce_requested_data [09:57:15]requested_item fm.sn is exist - process it [09:57:15]wFMCommunicate request_size=4 [09:57:15]MH_SAM_APDU [09:57:15]CAPDU: 80 11 00 00 [09:57:15]Write to MH i2c: E2 08 00 AF 00 80 11 00 00 00 00 00 00 29 [09:57:15]Write i2c OK [09:57:15]MH_I2C_Read... [09:57:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:57:15]Read from MH i2c: E2 [09:57:15]MH_I2C_Read... [09:57:15]Read from MH i2c: E2 17 00 [09:57:15]MH_I2C_Read... [09:57:15]Read from MH i2c: E2 17 00 AF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 7A [09:57:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [09:57:15]wFMCommunicate OK [09:57:15]requested_item fd.num is exist - process it [09:57:15]SAM_PROTO_GetFieldsCounters [09:57:15]wFMCommunicate request_size=4 [09:57:15]MH_SAM_APDU [09:57:15]CAPDU: 80 13 00 00 [09:57:15]Write to MH i2c: E2 08 00 B0 00 80 13 00 00 00 00 00 00 2C [09:57:15]Write i2c OK [09:57:15]MH_I2C_Read... [09:57:15]Connected sock=9 [09:57:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 01 00 00 CB D7 08 01 51 FB 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 30 75 00 *** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:57:15]00 Read from MH i2c: 00 E2 00 [09:57:15]00 MH_I2C_Read... [09:57:15]37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 Read from MH i2c: 00 E2 F2 62 03 00 01 [09:57:15]00 MH_I2C_Read... [09:57:15]01 F6 03 01 00 01 BC Read from MH i2c: 04 E2 01 62 00 00 01 B0 FC 00 03 00 06 5D 00 00 00 B9 00 04 00 01 00 00 00 01 00 11 EB 04 03 10 26 00 00 30 EF 30 03 30 0F 30 00 30 F6 30 03 30 01 30 00 30 01 32 F7 30 03 39 06 34 00 32 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 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 CE 8C F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D9 1E 00 00 35 04 06 00 AB 3B 19 12 D1 E1 36 D8 01 E4 A1 DC 25 9D [09:57:15]38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 DA 1E 00 00 0E 04 04 00 48 00 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 F0 [09:57:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 DA 1E 00 00 0E 04 04 00 48 00 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 [09:57:15]wFMCommunicate OK [09:57:15]SAM_PROTO_GetFieldsCounters done [09:57:15]requested_item shift.num is exist - process it [09:57:15]requested_item shift.opened is exist - process it [09:57:15]req_shift_opened [09:57:15]FM_GetShiftState [09:57:15]SAM_PROTO_GetShiftState [09:57:15]wFMCommunicate request_size=4 [09:57:15]MH_SAM_APDU [09:57:15]CAPDU: 80 13 01 00 [09:57:15]Write to MH i2c: E2 08 00 B1 00 80 13 01 00 00 00 00 00 2E [09:57:15]Write i2c OK [09:57:15]MH_I2C_Read... [09:57:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:57:15]Read from MH i2c: E2 [09:57:15]MH_I2C_Read... [09:57:15]Read from MH i2c: E2 0E 00 [09:57:15]MH_I2C_Read... [09:57:15]Read from MH i2c: E2 0E 00 B1 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 D4 [09:57:15]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [09:57:15]wFMCommunicate OK [09:57:15]SAM_PROTO_GetShiftState done [09:57:15]FM_GetShiftState done [09:57:15]req_shift_opened done [09:57:15]requested_item shift.open_date is exist - process it [09:57:15]req_shift_open_date [09:57:15]req_shift_open_date done [09:57:15]produce_requested_data done [09:57:15]produce_requested_data return {"fm.sn":"0000000002094258","fd.num":7898,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [09:57:15]process_action_free close_receipt [09:57:15]json_value_free [09:57:15]json_value_free done [09:57:15]process_json_proto returns [09:57:15]Send response to host [09:57:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002094258","fd.num":7898,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [09:57:15]free response buf [09:57:15]execute_script done [09:57:15]execute_script returns [09:57:15]free content buf [09:57:15]Sock 11.Close socket [09:57:15]Sock 11.Thread stoped [09:57:20]recv_with_timeout no data received [09:57:20]CommunicateWithHost answer receiving error [09:57:20]CommunicateWithHost err = -3 [09:57:20]OFD Sender: Server communicate error [09:57:20]OFD Sender: Processing packet 7897 [packets to send 52, broken 50] [09:57:20]ProducePacketName [09:57:20]name=ofd_packets/00007897 [09:57:20]OFD Sender: To server: pG, [09:57:20]CommunicateWithHost lk.salyk.kg:30040 [09:57:20]ConnectInit lk.salyk.kg [09:57:23]recv_with_timeout no data received [09:57:25]ConnectInit Can't take IP for lk.salyk.kg [09:57:25]CommunicateWithHost connect error [09:57:25]CommunicateWithHost err = -1 [09:57:25]OFD Sender: Server communicate error [09:57:30]OFD Sender: Processing packet 7897 [packets to send 52, broken 50] [09:57:30]ProducePacketName [09:57:30]name=ofd_packets/00007897 [09:57:30]OFD Sender: To server: pG, [09:57:30]CommunicateWithHost lk.salyk.kg:30040 [09:57:30]ConnectInit lk.salyk.kg [09:57:35]ConnectInit Can't take IP for lk.salyk.kg [09:57:35]CommunicateWithHost connect error [09:57:35]CommunicateWithHost err = -1 [09:57:35]OFD Sender: Server communicate error [09:57:40]OFD Sender: Processing packet 7897 [packets to send 52, broken 50] [09:57:40]ProducePacketName [09:57:40]name=ofd_packets/00007897 [09:57:40]OFD Sender: To server: pG, [09:57:40]CommunicateWithHost lk.salyk.kg:30040 [09:57:40]ConnectInit lk.salyk.kg [09:57:44]ConnectInit Can't connect to host [09:57:45]ConnectInit Can't take IP for lk.salyk.kg [09:57:45]CommunicateWithHost connect error [09:57:45]CommunicateWithHost err = -1 [09:57:45]OFD Sender: Server communicate error [09:57:50]ConnectInit Can't connect to host [09:57:50]OFD Sender: Processing packet 7897 [packets to send 52, broken 50] [09:57:50]ProducePacketName [09:57:50]name=ofd_packets/00007897 [09:57:50]OFD Sender: To server: pG, [09:57:50]CommunicateWithHost lk.salyk.kg:30040 [09:57:50]ConnectInit lk.salyk.kg [09:57:55]ConnectInit Can't connect to host [09:57:55]ConnectInit Can't take IP for lk.salyk.kg [09:57:55]CommunicateWithHost connect error [09:57:55]CommunicateWithHost err = -1 [09:57:55]OFD Sender: Server communicate error [09:58:00]OFD Sender: Processing packet 7897 [packets to send 52, broken 50] [09:58:00]ProducePacketName [09:58:00]name=ofd_packets/00007897 [09:58:00]OFD Sender: To server: pG, [09:58:00]CommunicateWithHost lk.salyk.kg:30040 [09:58:00]ConnectInit lk.salyk.kg [09:58:05]ConnectInit Can't take IP for lk.salyk.kg [09:58:05]CommunicateWithHost connect error [09:58:05]CommunicateWithHost err = -1 [09:58:05]OFD Sender: Server communicate error [09:58:07]ConnectInit Can't connect to host [09:58:10]OFD Sender: Processing packet 7897 [packets to send 52, broken 50] [09:58:10]ProducePacketName [09:58:10]name=ofd_packets/00007897 [09:58:10]OFD Sender: To server: pG, [09:58:10]CommunicateWithHost lk.salyk.kg:30040 [09:58:10]ConnectInit lk.salyk.kg [09:58:18]recv_with_timeout no data received [09:58:49]recv_with_timeout no data received [09:59:05]accept exits with 10 [09:59:05]New connection [09:59:05]New thread 3067055460 created [09:59:05]Thread 3066912100 joined [09:59:05]Waiting for new connection... [09:59:05] Sock 10.Parse request [09:59:05]Sock 10.Check first char [09:59:05]Sock 10.First char is OK [09:59:05]request: POST /json_proto HTTP/1.0 [09:59:05]Method: POST [09:59:05]URL: /json_proto [09:59:05]Method is POST - this is cgi request [09:59:05]url: /json_proto [09:59:05]query_string will be loaded in cgi processing [09:59:05]execute_cgi json_proto POST (null) [09:59:05]execute_cgi path=json_proto method=POST [09:59:05]POST find Content-Length [09:59:05]Host: 172.17.47.195:8080 [09:59:05]Content-Length: 797 [09:59:05]Content-Type: application/json [09:59:05] [09:59:05]POST finish read [09:59:05]Found Content-Length = 797 [09:59:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872561", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 64", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 0.00, "quantity" : 50.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A03890", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:59:05]execute_script... [09:59: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 : (1)872561", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 64", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 0.00, "quantity" : 50.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A03890", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:59:05]POST & json_proto [09:59:05]process_json_proto [09:59:05]json parsed OK: [09:59:05]protocol is kg_v1.0 [09:59:05]action value=close_receipt [09:59:05]process_action close_receipt [09:59:05]cmd_close_receipt [09:59:05]MH_GetDate [09:59:05]Write to MH i2c: F0 00 00 B2 00 A1 [09:59:05]Write i2c OK [09:59:05]MH_I2C_Read... [09:59:05]Read from MH i2c: F0 [09:59:05]MH_I2C_Read... [09:59:05]Read from MH i2c: F0 09 00 [09:59:05]MH_I2C_Read... [09:59:05]Read from MH i2c: F0 09 00 B2 00 00 69 8D F2 66 96 2E 95 66 B7 [09:59:05]GetLastDocTimeStamp 1727171832 [09:59:05]current date 1727171945 [09:59:05]FM_GetShiftState [09:59:05]SAM_PROTO_GetShiftState [09:59:05]wFMCommunicate request_size=4 [09:59:05]MH_SAM_APDU [09:59:05]CAPDU: 80 13 01 00 [09:59:05]Write to MH i2c: E2 08 00 B3 00 80 13 01 00 00 00 00 00 30 [09:59:05]Write i2c OK [09:59:05]MH_I2C_Read... [09:59:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:59:05]Read from MH i2c: E2 [09:59:05]MH_I2C_Read... [09:59:05]Read from MH i2c: E2 0E 00 [09:59:05]MH_I2C_Read... [09:59:05]Read from MH i2c: E2 0E 00 B3 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 D6 [09:59:05]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [09:59:05]wFMCommunicate OK [09:59:05]SAM_PROTO_GetShiftState done [09:59:05]FM_GetShiftState done [09:59:05]opened in 1727137340 [09:59:05]opened+sec_in_day 1727223740 [09:59:05]quantity*price = 0 [09:59:05]sum+1 = 1 [09:59:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 35 24.09.2024 09:59 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 Талоны: Топливная Карта 03890 ФМ: 0000000002094258 ФД: 7899 ФПД: 34100529536143 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T095906&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7899&fm=34100529536143&tin=02508201610067®Number=0000000000190446&sum=0 [09:59:07]StoreToDocumentArchive [09:59:07]shift 72 fd 7899 [09:59:07]save to /storage/0072/doc_00007899 [09:59:07]save last doc name /storage/0072/doc_00007899 to /storage/kkm_last_doc_name [09:59:07]save OK [09:59:07]Clear old archive folders... [09:59:07]ProcessDocumentItem done err = 0, tmpTLVsize=252 [09:59:07]tlvbuf is 00ECC1E0 [09:59:07]SAM_PROTO_ClearQueue [09:59:07]wFMCommunicate request_size=4 [09:59:07]MH_SAM_APDU [09:59:07]CAPDU: 80 09 00 00 [09:59:07]Write to MH i2c: E2 08 00 C0 00 80 09 00 00 00 00 00 00 32 [09:59:07]Write i2c OK [09:59:07]MH_I2C_Read... [09:59:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:59:07]Read from MH i2c: E2 [09:59:07]MH_I2C_Read... [09:59:07]Read from MH i2c: E2 03 00 [09:59:07]MH_I2C_Read... [09:59:07]Read from MH i2c: E2 03 00 C0 00 00 90 00 34 [09:59:07]RAPDU: 90 00 [09:59:07]wFMCommunicate OK [09:59:07]SAM_PROTO_ClearQueue done [09:59:07]KKMCreateOFDPacket [09:59:07]OFDProtocolAddRootSTLVToBuf [09:59:07]FM_MakeSignedData [09:59:07]FM_MakeSignedData [09:59:07]SAM_PROTO_SignData [09:59:07]wFMCommunicate request_size=4 [09:59:07]MH_SAM_APDU [09:59:07]CAPDU: 80 0D 01 02 [09:59:07]Write to MH i2c: E2 08 00 C1 00 80 0D 01 02 00 00 00 00 3A [09:59:07]Write i2c OK [09:59:07]MH_I2C_Read... [09:59:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:59:07]Read from MH i2c: E2 [09:59:07]MH_I2C_Read... [09:59:07]Read from MH i2c: E2 03 00 [09:59:07]MH_I2C_Read... [09:59:07]Read from MH i2c: E2 03 00 C1 00 00 90 00 35 [09:59:07]RAPDU: 90 00 [09:59:07]wFMCommunicate OK [09:59:07]wFMCommunicate request_size=255 [09:59:07]MH_SAM_APDU [09:59:07]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 50 C3 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 6A 8D F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DB 1E 00 00 35 04 06 00 [09:59:07]Write to MH i2c: E2 02 01 C2 00 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 50 C3 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 6A 8D F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DB 1E 00 00 35 04 06 00 00 00 41 [09:59:07]Write i2c OK [09:59:07]MH_I2C_Read... [09:59:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:59:07]Read from MH i2c: E2 [09:59:07]MH_I2C_Read... [09:59:07]Read from MH i2c: E2 03 00 [09:59:07]MH_I2C_Read... [09:59:07]Read from MH i2c: E2 03 00 C2 00 00 90 00 36 [09:59:07]RAPDU: 90 00 [09:59:07]wFMCommunicate OK [09:59:07]wFMCommunicate request_size=11 [09:59:07]MH_SAM_APDU [09:59:07]CAPDU: 80 0D 02 02 06 1F 03 A5 F3 1C 8F [09:59:07]Write to MH i2c: E2 0E 00 C3 00 80 0D 02 02 06 00 1F 03 A5 F3 1C 8F 00 00 AE [09:59:07]Write i2c OK [09:59:07]MH_I2C_Read... [09:59:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:59:07]Read from MH i2c: E2 [09:59:07]MH_I2C_Read... [09:59:07]Read from MH i2c: E2 03 00 [09:59:07]MH_I2C_Read... [09:59:07]Read from MH i2c: E2 03 00 C3 00 00 90 00 37 [09:59:07]RAPDU: 90 00 [09:59:07]wFMCommunicate OK [09:59:07]wFMCommunicate request_size=4 [09:59:07]MH_SAM_APDU [09:59:07]CAPDU: 80 0D 03 02 [09:59:07]Write to MH i2c: E2 08 00 C4 00 80 0D 03 02 00 00 00 00 3F [09:59:07]Write i2c OK [09:59:07]MH_I2C_Read... [09:59:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:59:07]Read from MH i2c: E2 [09:59:07]MH_I2C_Read... [09:59:07]Read from MH i2c: E2 0B 00 [09:59:07]MH_I2C_Read... [09:59:07]Read from MH i2c: E2 0B 00 C4 00 00 E1 0A D7 90 7A 87 EB B4 90 00 32 [09:59:07]RAPDU: E1 0A D7 90 7A 87 EB B4 90 00 [09:59:07]wFMCommunicate OK [09:59:07]SAM_PROTO_SignData done [09:59:07]FM_MakeSignedData done [09:59:07]CreateOFDProtocolMessage [09:59:07]wFMCommunicate request_size=4 [09:59:07]MH_SAM_APDU [09:59:07]CAPDU: 80 11 00 00 [09:59:07]Write to MH i2c: E2 08 00 C5 00 80 11 00 00 00 00 00 00 3F [09:59:07]Write i2c OK [09:59:07]MH_I2C_Read... [09:59:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:59:07]Read from MH i2c: E2 [09:59:07]MH_I2C_Read... [09:59:07]Read from MH i2c: E2 17 00 [09:59:07]MH_I2C_Read... [09:59:07]Read from MH i2c: E2 17 00 C5 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 90 [09:59:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [09:59:07]wFMCommunicate OK [09:59:07]CreateOFDProtocolMessage done [09:59:07]OFDSenderStorePacket 7899 [09:59:07]StoreOFDPacket docnum=7899 [09:59:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 01 00 00 83 A9 08 01 3B 82 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 50 C3 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 6A 8D F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DB 1E 00 00 35 04 06 00 1F 03 A5 F3 1C 8F E1 0A D7 90 7A 87 EB B4 [09:59:07]CheckFolder [09:59:07]dirname=/storage/ofd_packets [09:59:07]CheckFolder done [09:59:07]ProducePacketName [09:59:07]name=ofd_packets/00007899 [09:59:07]NVStorageSaveData ofd_packets/00007899 [09:59:07]File name is /storage/ofd_packets/00007899 [09:59:07]Write 302 bytes [09:59:07]NVStorageSaveData done [09:59:07]OFDSenderStorePacket done [09:59:07]KKMCreateOFDPacket done [09:59:07]NVStorageSaveData kkm_last_timestamp [09:59:07]File name is /storage/kkm_last_timestamp [09:59:07]Write 4 bytes [09:59:07]NVStorageSaveData done [09:59:07]ExternCall_PrintAddStr [09:59:07]wPrintStart [09:59:07]Write to MH i2c: 01 00 00 C6 00 C6 [09:59:07]Write i2c OK [09:59:07]MH_I2C_Read... [09:59:07]Read from MH i2c: 01 [09:59:07]MH_I2C_Read... [09:59:07]Read from MH i2c: 01 07 00 [09:59:07]MH_I2C_Read... [09:59:07]Read from MH i2c: 01 07 00 C6 00 00 00 00 00 00 FF 0F DB [09:59:07]RasterBufferAndPrint [09:59:07]line Счет N : (1)872561 [09:59:07]line ИНН: 02508201610067 [09:59:07]line Контрольно-Кассовый Чек [09:59:07]line ПРОДАЖА [09:59:07]line ТРК (МРК, ГНК) : 64 [09:59:07]line Товар: 2710194210 [09:59:07]line ДТ(л)-К-4 [09:59:07]line 50.000 * 0.00 [09:59:07]line = 0.00 [09:59:07]line НДС 12% НСП 1% [09:59:07]line > о реализуемом товаре [09:59:07]line ИТОГО: 0.00 [09:59:07]line НСП 1% : 0.00 [09:59:07]line НДС 12% : 0.00 [09:59:07]line Наличными: 0.00 [09:59:07]line Безнал.: 0.00 [09:59:07]line Место: АЗС № 137 "Партнер Нефть" [09:59:07]line Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 [09:59:07]line СНО: Общий режим [09:59:07]line Чек 35 24.09.2024 09:59 [09:59:07]line Смена: 72 ФФД: 1.0 [09:59:07]line ЗНМ: 0300000041 [09:59:07]line РНМ: 0000000000190446 [09:59:07]line Версия ККМ: v1.0 [09:59:07]line Талоны: Топливная Карта [09:59:07]line 03890 [09:59:07]line ФМ: 0000000002094258 [09:59:07]line ФД: 7899 [09:59:07]line ФПД: 34100529536143 [09:59:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T095906&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7899&fm=34100529536143&tin=02508201610067®Number=0000000000190446&sum=0 [09:59:07]written 0, free lines is 4095 [09:59:08]Write to MH i2c: 01 00 00 F0 00 F0 [09:59:08]Write i2c OK [09:59:08]MH_I2C_Read... [09:59:08]Read from MH i2c: 01 [09:59:08]MH_I2C_Read... [09:59:08]Read from MH i2c: 01 07 00 [09:59:08]MH_I2C_Read... [09:59:08]Read from MH i2c: 01 07 00 F0 00 00 00 00 00 00 03 0D 07 [09:59:08]RasterBufferAndPrint [09:59:08]line [09:59:08]line [09:59:08]line [09:59:08]line [09:59:08]line [09:59:08]written 0, free lines is 3337 [09:59:08]MH_Cut [09:59:08]Write to MH i2c: D1 01 00 F7 00 01 C9 [09:59:08]Write i2c OK [09:59:08]MH_I2C_Read... [09:59:08]Read from MH i2c: D1 [09:59:08]MH_I2C_Read... [09:59:08]Read from MH i2c: D1 01 00 [09:59:08]MH_I2C_Read... [09:59:08]Read from MH i2c: D1 01 00 F7 00 00 C8 [09:59:08]Write to MH i2c: 01 00 00 F8 00 F8 [09:59:08]Write i2c OK [09:59:08]MH_I2C_Read... [09:59:09]*** Cut start [09:59:09]*** Purtial cut [09:59:09]*** Stage 1: CUTSNS_PIN = 1 [09:59:09]Read from MH i2c: 01 [09:59:09]MH_I2C_Read... [09:59:09]*** Stop cut motor [09:59:09]*** Cut end [09:59:09]Read from MH i2c: 01 07 00 [09:59:09]MH_I2C_Read... [09:59:09]Read from MH i2c: 01 07 00 F8 00 00 00 00 00 00 FF 0F 0D [09:59:09]process_action close_receipt done [09:59:09]requested_data is exist [09:59:09]produce_requested_data [09:59:09]requested_item fm.sn is exist - process it [09:59:09]wFMCommunicate request_size=4 [09:59:09]MH_SAM_APDU [09:59:09]CAPDU: 80 11 00 00 [09:59:09]Write to MH i2c: E2 08 00 F9 00 80 11 00 00 00 00 00 00 73 [09:59:09]Write i2c OK [09:59:09]MH_I2C_Read... [09:59:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:59:09]Read from MH i2c: E2 [09:59:09]MH_I2C_Read... [09:59:09]Read from MH i2c: E2 17 00 [09:59:09]MH_I2C_Read... [09:59:09]Read from MH i2c: E2 17 00 F9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 C4 [09:59:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [09:59:09]wFMCommunicate OK [09:59:09]requested_item fd.num is exist - process it [09:59:09]SAM_PROTO_GetFieldsCounters [09:59:09]wFMCommunicate request_size=4 [09:59:09]MH_SAM_APDU [09:59:09]CAPDU: 80 13 00 00 [09:59:09]Write to MH i2c: E2 08 00 FA 00 80 13 00 00 00 00 00 00 76 [09:59:09]Write i2c OK [09:59:09]MH_I2C_Read... [09:59:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:59:09]Read from MH i2c: E2 [09:59:09]MH_I2C_Read... [09:59:09]Read from MH i2c: E2 62 00 [09:59:09]MH_I2C_Read... [09:59:09]Read from MH i2c: E2 62 00 FA 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 DB 1E 00 00 0E 04 04 00 48 00 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 3E [09:59:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 DB 1E 00 00 0E 04 04 00 48 00 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 [09:59:09]wFMCommunicate OK [09:59:09]SAM_PROTO_GetFieldsCounters done [09:59:09]requested_item shift.num is exist - process it [09:59:09]requested_item shift.opened is exist - process it [09:59:09]req_shift_opened [09:59:09]FM_GetShiftState [09:59:09]SAM_PROTO_GetShiftState [09:59:09]wFMCommunicate request_size=4 [09:59:09]MH_SAM_APDU [09:59:09]CAPDU: 80 13 01 00 [09:59:09]Write to MH i2c: E2 08 00 FB 00 80 13 01 00 00 00 00 00 78 [09:59:09]Write i2c OK [09:59:09]MH_I2C_Read... [09:59:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:59:09]Read from MH i2c: E2 [09:59:09]MH_I2C_Read... [09:59:09]Read from MH i2c: E2 0E 00 [09:59:09]MH_I2C_Read... [09:59:09]Read from MH i2c: E2 0E 00 FB 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 1E [09:59:09]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [09:59:09]wFMCommunicate OK [09:59:09]SAM_PROTO_GetShiftState done [09:59:09]FM_GetShiftState done [09:59:09]req_shift_opened done [09:59:09]requested_item shift.open_date is exist - process it [09:59:09]req_shift_open_date [09:59:09]req_shift_open_date done [09:59:09]produce_requested_data done [09:59:09]produce_requested_data return {"fm.sn":"0000000002094258","fd.num":7899,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [09:59:09]process_action_free close_receipt [09:59:09]json_value_free [09:59:09]json_value_free done [09:59:09]process_json_proto returns [09:59:09]Send response to host [09:59:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002094258","fd.num":7899,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [09:59:09]free response buf [09:59:09]execute_script done [09:59:09]execute_script returns [09:59:09]free content buf [09:59:09]Sock 10.Close socket [09:59:09]Sock 10.Thread stoped [09:59:17]recv_with_timeout no data received [09:59:28]int [09:59:28]Write to MH i2c: 01 00 00 FC 00 FC [09:59:28]*** FLAG_PRN_KEY set [09:59:28]Write i2c OK [09:59:28]MH_I2C_Read... [09:59:28]Read from MH i2c: 01 [09:59:28]MH_I2C_Read... [09:59:28]Read from MH i2c: 01 07 00 [09:59:28]MH_I2C_Read... [09:59:28]Read from MH i2c: 01 07 00 FC 00 00 08 00 00 00 FF 0F 19 [09:59:28]state=0 [09:59:28]Key pressed [09:59:28]Feed [09:59:28]Write to MH i2c: D8 00 00 FD 00 D4 [09:59:28]Write i2c OK [09:59:28]MH_I2C_Read... [09:59:28]Read from MH i2c: D8 [09:59:28]MH_I2C_Read... [09:59:28]Read from MH i2c: D8 01 00 [09:59:28]MH_I2C_Read... [09:59:28]Read from MH i2c: D8 01 00 FD 00 00 D5 [09:59:28]int [09:59:28]Write to MH i2c: 01 00 00 FE 00 FE [09:59:28]Write i2c OK [09:59:28]MH_I2C_Read... [09:59:28]Read from MH i2c: 01 [09:59:28]MH_I2C_Read... [09:59:28]Read from MH i2c: 01 07 00 [09:59:28]MH_I2C_Read... [09:59:28]Read from MH i2c: 01 07 00 FE 00 00 48 00 00 00 3C 00 89 [09:59:28]state=2 [09:59:28]Key pressed [09:59:28]int [09:59:28]Write to MH i2c: 01 00 00 FF 00 FF [09:59:28]*** FLAG_PRN_KEY reset [09:59:28]Write i2c OK [09:59:28]MH_I2C_Read... [09:59:28]Read from MH i2c: 01 [09:59:28]MH_I2C_Read... [09:59:28]Read from MH i2c: 01 07 00 [09:59:28]MH_I2C_Read... [09:59:28]Read from MH i2c: 01 07 00 FF 00 00 00 00 00 00 FF 0F 14 [09:59:28]state=2 [09:59:28]Stop feed [09:59:34]recv_with_timeout no data received [10:00:26]ConnectInit Can't connect to host [10:00:26]CommunicateWithHost connect error [10:00:26]CommunicateWithHost err = -1 [10:00:26]OFD Sender: Server communicate error [10:00:26]OFD Sender: Processing packet 7897 [packets to send 53, broken 50] [10:00:26]ProducePacketName [10:00:26]name=ofd_packets/00007897 [10:00:26]OFD Sender: To server: pG, [10:00:26]CommunicateWithHost lk.salyk.kg:30040 [10:00:26]ConnectInit lk.salyk.kg [10:00:28]Connected sock=7 [10:00:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 01 00 00 CB D7 08 01 51 FB 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 30 75 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 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 CE 8C F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D9 1E 00 00 35 04 06 00 AB 3B 19 12 D1 E1 36 D8 01 E4 A1 DC 25 9D [10:00:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 F2 07 47 00 38 09 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 D9 1E 00 00 F4 03 04 00 74 38 F2 66 B6 04 01 00 00 56 AC F8 1A C6 AF 89 EA [10:00:33]CommunicateWithHost err = 0 [10:00:33]CheckOFDResponse [10:00:33]1017 (14) - 77093643461234 [10:00:33]1041 (16) - 0000000002094258 [10:00:33]1040 (4) - 7897 [10:00:33]1012 (4) - 24.09.2024 03:56 [10:00:33]1206 (1) - 0 [10:00:33]OFD Sender: Remove packet 7897 [10:00:33]ProducePacketName [10:00:33]name=ofd_packets/00007897 [10:00:33]NVStorageDeleteData [10:00:33]OFD Sender: Processing packet 7898 [packets to send 52, broken 50] [10:00:33]ProducePacketName [10:00:33]name=ofd_packets/00007898 [10:00:33]OFD Sender: To server: pG, [10:00:33]CommunicateWithHost lk.salyk.kg:30040 [10:00:33]ConnectInit lk.salyk.kg [10:00:35]Connected sock=7 [10:00:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 5B 92 07 01 01 BE 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5A 28 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 95 11 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 11 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6C 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 1D 00 00 00 00 07 04 06 00 70 11 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 F8 8C F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DA 1E 00 00 35 04 06 00 C3 C5 C0 BD CA 8A 79 7F 36 FE C5 25 D3 FE [10:00:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 88 0F 47 00 FF 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 32 30 39 34 32 35 38 10 04 04 00 DA 1E 00 00 F4 03 04 00 79 38 F2 66 B6 04 01 00 00 D1 CE 22 43 F5 F4 AC 04 [10:00:35]CommunicateWithHost err = 0 [10:00:35]CheckOFDResponse [10:00:35]1017 (14) - 77093643461234 [10:00:35]1041 (16) - 0000000002094258 [10:00:35]1040 (4) - 7898 [10:00:35]1012 (4) - 24.09.2024 03:56 [10:00:35]1206 (1) - 0 [10:00:35]OFD Sender: Remove packet 7898 [10:00:35]ProducePacketName [10:00:35]name=ofd_packets/00007898 [10:00:35]NVStorageDeleteData [10:00:36]OFD Sender: Processing packet 7899 [packets to send 51, broken 50] [10:00:36]ProducePacketName [10:00:36]name=ofd_packets/00007899 [10:00:36]OFD Sender: To server: pG, [10:00:36]CommunicateWithHost lk.salyk.kg:30040 [10:00:36]ConnectInit lk.salyk.kg [10:00:36]Connected sock=7 [10:00:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 01 00 00 83 A9 08 01 3B 82 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 50 C3 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 6A 8D F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DB 1E 00 00 35 04 06 00 1F 03 A5 F3 1C 8F E1 0A D7 90 7A 87 EB B4 [10:00:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 D6 08 47 00 F1 A3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DB 1E 00 00 F4 03 04 00 7A 38 F2 66 B6 04 01 00 00 B7 8A 42 4F F6 B6 D8 3D [10:00:36]CommunicateWithHost err = 0 [10:00:36]CheckOFDResponse [10:00:36]1017 (14) - 77093643461234 [10:00:36]1041 (16) - 0000000002094258 [10:00:36]1040 (4) - 7899 [10:00:36]1012 (4) - 24.09.2024 03:56 [10:00:36]1206 (1) - 0 [10:00:36]OFD Sender: Remove packet 7899 [10:00:36]ProducePacketName [10:00:36]name=ofd_packets/00007899 [10:00:36]NVStorageDeleteData [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:18]recv_with_timeout no data received [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:40]recv_with_timeout no data received [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:14]recv_with_timeout no data received [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:31]recv_with_timeout no data received [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:46]recv_with_timeout no data received [10:04:47]OFD Sender: No OFD packet to send [10:04:52]OFD Sender: No OFD packet to send [10:04:57]OFD Sender: No OFD packet to send [10:05:02]OFD Sender: No OFD packet to send [10:05:07]OFD Sender: No OFD packet to send [10:05:12]OFD Sender: No OFD packet to send [10:05:17]OFD Sender: No OFD packet to send [10:05:22]OFD Sender: No OFD packet to send [10:05:27]OFD Sender: No OFD packet to send [10:05:32]OFD Sender: No OFD packet to send [10:05:37]OFD Sender: No OFD packet to send [10:05:42]OFD Sender: No OFD packet to send [10:05:47]OFD Sender: No OFD packet to send [10:05:52]OFD Sender: No OFD packet to send [10:05:57]OFD Sender: No OFD packet to send [10:06:02]OFD Sender: No OFD packet to send [10:06:07]OFD Sender: No OFD packet to send [10:06:12]OFD Sender: No OFD packet to send [10:06:17]OFD Sender: No OFD packet to send [10:06:22]OFD Sender: No OFD packet to send [10:06:27]OFD Sender: No OFD packet to send [10:06:32]recv_with_timeout no data received [10:06:32]OFD Sender: No OFD packet to send [10:06:37]OFD Sender: No OFD packet to send [10:06:42]OFD Sender: No OFD packet to send [10:06:47]OFD Sender: No OFD packet to send [10:06:52]OFD Sender: No OFD packet to send [10:06:57]OFD Sender: No OFD packet to send [10:07:02]OFD Sender: No OFD packet to send [10:07:07]OFD Sender: No OFD packet to send [10:07:12]OFD Sender: No OFD packet to send [10:07:17]OFD Sender: No OFD packet to send [10:07:22]OFD Sender: No OFD packet to send [10:07:27]OFD Sender: No OFD packet to send [10:07:32]OFD Sender: No OFD packet to send [10:07:37]OFD Sender: No OFD packet to send [10:07:42]OFD Sender: No OFD packet to send [10:07: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:28]recv_with_timeout no data received [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:42]recv_with_timeout no data received [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:01]recv_with_timeout no data received [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:20]recv_with_timeout no data received [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:36]recv_with_timeout no data received [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:06]recv_with_timeout no data received [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:10:59]recv_with_timeout no data received [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:28]OFD Sender: No OFD packet to send [10:11:30]recv_with_timeout no data received [10:11:33]OFD Sender: No OFD packet to send [10:11:38]OFD Sender: No OFD packet to send [10:11:43]OFD Sender: No OFD packet to send [10:11:48]OFD Sender: No OFD packet to send [10:11:53]OFD Sender: No OFD packet to send [10:11:58]OFD Sender: No OFD packet to send [10:12:03]OFD Sender: No OFD packet to send [10:12:08]OFD Sender: No OFD packet to send [10:12:13]OFD Sender: No OFD packet to send [10:12:18]OFD Sender: No OFD packet to send [10:12:23]OFD Sender: No OFD packet to send [10:12:28]OFD Sender: No OFD packet to send [10:12:33]OFD Sender: No OFD packet to send [10:12:38]OFD Sender: No OFD packet to send [10:12:43]OFD Sender: No OFD packet to send [10:12:48]OFD Sender: No OFD packet to send [10:12:53]OFD Sender: No OFD packet to send [10:12:58]OFD Sender: No OFD packet to send [10:13:03]OFD Sender: No OFD packet to send [10:13:08]OFD Sender: No OFD packet to send [10:13:13]OFD Sender: No OFD packet to send [10:13:18]OFD Sender: No OFD packet to send [10:13:23]OFD Sender: No OFD packet to send [10:13:28]OFD Sender: No OFD packet to send [10:13:33]OFD Sender: No OFD packet to send [10:13:38]OFD Sender: No OFD packet to send [10:13:43]OFD Sender: No OFD packet to send [10:13:48]OFD Sender: No OFD packet to send [10:13:53]OFD Sender: No OFD packet to send [10:13:58]OFD Sender: No OFD packet to send [10:14:03]OFD Sender: No OFD packet to send [10:14:08]OFD Sender: No OFD packet to send [10:14:13]OFD Sender: No OFD packet to send [10:14:18]OFD Sender: No OFD packet to send [10:14:23]OFD Sender: No OFD packet to send [10:14:28]OFD Sender: No OFD packet to send [10:14:33]OFD Sender: No OFD packet to send [10:14:38]OFD Sender: No OFD packet to send [10:14:43]OFD Sender: No OFD packet to send [10:14:48]OFD Sender: No OFD packet to send [10:14:53]OFD Sender: No OFD packet to send [10:14:55]recv_with_timeout no data received [10:14:58]OFD Sender: No OFD packet to send [10:15:03]OFD Sender: No OFD packet to send [10:15:08]OFD Sender: No OFD packet to send [10:15:13]OFD Sender: No OFD packet to send [10:15:18]OFD Sender: No OFD packet to send [10:15:23]OFD Sender: No OFD packet to send [10:15:28]OFD Sender: No OFD packet to send [10:15:33]OFD Sender: No OFD packet to send [10:15:38]OFD Sender: No OFD packet to send [10:15:43]OFD Sender: No OFD packet to send [10:15:44]recv_with_timeout no data received [10:15:48]OFD Sender: No OFD packet to send [10:15:53]OFD Sender: No OFD packet to send [10:15:58]OFD Sender: No OFD packet to send [10:16:03]OFD Sender: No OFD packet to send [10:16:08]OFD Sender: No OFD packet to send [10:16:09]recv_with_timeout no data received [10:16:13]OFD Sender: No OFD packet to send [10:16:18]OFD Sender: No OFD packet to send [10:16:23]OFD Sender: No OFD packet to send [10:16:28]OFD Sender: No OFD packet to send [10:16:33]OFD Sender: No OFD packet to send [10:16:38]OFD Sender: No OFD packet to send [10:16:43]OFD Sender: No OFD packet to send [10:16:48]OFD Sender: No OFD packet to send [10:16:53]OFD Sender: No OFD packet to send [10:16:58]OFD Sender: No OFD packet to send [10:17:03]OFD Sender: No OFD packet to send [10:17:08]OFD Sender: No OFD packet to send [10:17:13]OFD Sender: No OFD packet to send [10:17:13]recv_with_timeout no data received [10:17:18]OFD Sender: No OFD packet to send [10:17:23]OFD Sender: No OFD packet to send [10:17:28]OFD Sender: No OFD packet to send [10:17:33]OFD Sender: No OFD packet to send [10:17:38]OFD Sender: No OFD packet to send [10:17:43]OFD Sender: No OFD packet to send [10:17:48]OFD Sender: No OFD packet to send [10:17:53]OFD Sender: No OFD packet to send [10:17:58]OFD Sender: No OFD packet to send [10:18:03]OFD Sender: No OFD packet to send [10:18:08]OFD Sender: No OFD packet to send [10:18:13]OFD Sender: No OFD packet to send [10:18:18]OFD Sender: No OFD packet to send [10:18:23]OFD Sender: No OFD packet to send [10:18:28]OFD Sender: No OFD packet to send [10:18:33]OFD Sender: No OFD packet to send [10:18:38]OFD Sender: No OFD packet to send [10:18:43]OFD Sender: No OFD packet to send [10:18:48]OFD Sender: No OFD packet to send [10:18:53]OFD Sender: No OFD packet to send [10:18:58]OFD Sender: No OFD packet to send [10:19:03]OFD Sender: No OFD packet to send [10:19:08]OFD Sender: No OFD packet to send [10:19:13]OFD Sender: No OFD packet to send [10:19:18]OFD Sender: No OFD packet to send [10:19:23]OFD Sender: No OFD packet to send [10:19:28]OFD Sender: No OFD packet to send [10:19:33]OFD Sender: No OFD packet to send [10:19:38]OFD Sender: No OFD packet to send [10:19:43]OFD Sender: No OFD packet to send [10:19:48]OFD Sender: No OFD packet to send [10:19:53]OFD Sender: No OFD packet to send [10:19:58]OFD Sender: No OFD packet to send [10:20:03]OFD Sender: No OFD packet to send [10:20:08]OFD Sender: No OFD packet to send [10:20:13]OFD Sender: No OFD packet to send [10:20:18]OFD Sender: No OFD packet to send [10:20:23]OFD Sender: No OFD packet to send [10:20:28]OFD Sender: No OFD packet to send [10:20:33]OFD Sender: No OFD packet to send [10:20:36]recv_with_timeout no data received [10:20:38]OFD Sender: No OFD packet to send [10:20:43]OFD Sender: No OFD packet to send [10:20:48]OFD Sender: No OFD packet to send [10:20:53]OFD Sender: No OFD packet to send [10:20:58]OFD Sender: No OFD packet to send [10:21:03]OFD Sender: No OFD packet to send [10:21:08]OFD Sender: No OFD packet to send [10:21:13]OFD Sender: No OFD packet to send [10:21:18]OFD Sender: No OFD packet to send [10:21:23]OFD Sender: No OFD packet to send [10:21:28]OFD Sender: No OFD packet to send [10:21:33]recv_with_timeout no data received [10:21:33]OFD Sender: No OFD packet to send [10:21:38]OFD Sender: No OFD packet to send [10:21:43]OFD Sender: No OFD packet to send [10:21:48]OFD Sender: No OFD packet to send [10:21:53]OFD Sender: No OFD packet to send [10:21:58]OFD Sender: No OFD packet to send [10:22:03]OFD Sender: No OFD packet to send [10:22:08]OFD Sender: No OFD packet to send [10:22:13]OFD Sender: No OFD packet to send [10:22:18]OFD Sender: No OFD packet to send [10:22:23]OFD Sender: No OFD packet to send [10:22:28]OFD Sender: No OFD packet to send [10:22:33]OFD Sender: No OFD packet to send [10:22:38]OFD Sender: No OFD packet to send [10:22:43]OFD Sender: No OFD packet to send [10:22:48]OFD Sender: No OFD packet to send [10:22:53]OFD Sender: No OFD packet to send [10:22:54]recv_with_timeout no data received [10:22:58]OFD Sender: No OFD packet to send [10:23:03]OFD Sender: No OFD packet to send [10:23:08]OFD Sender: No OFD packet to send [10:23:13]OFD Sender: No OFD packet to send [10:23:18]OFD Sender: No OFD packet to send [10:23:23]OFD Sender: No OFD packet to send [10:23:28]OFD Sender: No OFD packet to send [10:23:33]OFD Sender: No OFD packet to send [10:23:38]OFD Sender: No OFD packet to send [10:23:43]OFD Sender: No OFD packet to send [10:23:48]OFD Sender: No OFD packet to send [10:23:53]OFD Sender: No OFD packet to send [10:23:58]OFD Sender: No OFD packet to send [10:23:59]recv_with_timeout no data received [10:24:03]OFD Sender: No OFD packet to send [10:24:08]OFD Sender: No OFD packet to send [10:24:13]OFD Sender: No OFD packet to send [10:24:18]OFD Sender: No OFD packet to send [10:24:23]OFD Sender: No OFD packet to send [10:24:28]OFD Sender: No OFD packet to send [10:24:33]OFD Sender: No OFD packet to send [10:24:38]OFD Sender: No OFD packet to send [10:24:43]OFD Sender: No OFD packet to send [10:24:48]OFD Sender: No OFD packet to send [10:24:53]OFD Sender: No OFD packet to send [10:24:58]OFD Sender: No OFD packet to send [10:25:03]OFD Sender: No OFD packet to send [10:25:08]OFD Sender: No OFD packet to send [10:25:13]OFD Sender: No OFD packet to send [10:25:18]OFD Sender: No OFD packet to send [10:25:23]OFD Sender: No OFD packet to send [10:25:28]OFD Sender: No OFD packet to send [10:25:33]OFD Sender: No OFD packet to send [10:25:38]OFD Sender: No OFD packet to send [10:25:43]OFD Sender: No OFD packet to send [10:25:48]OFD Sender: No OFD packet to send [10:25:53]OFD Sender: No OFD packet to send [10:25:58]OFD Sender: No OFD packet to send [10:26:03]OFD Sender: No OFD packet to send [10:26:08]OFD Sender: No OFD packet to send [10:26:13]OFD Sender: No OFD packet to send [10:26:18]OFD Sender: No OFD packet to send [10:26:23]OFD Sender: No OFD packet to send [10:26:28]OFD Sender: No OFD packet to send [10:26:33]OFD Sender: No OFD packet to send [10:26:38]OFD Sender: No OFD packet to send [10:26:43]OFD Sender: No OFD packet to send [10:26:48]OFD Sender: No OFD packet to send [10:26:53]OFD Sender: No OFD packet to send [10:26:58]OFD Sender: No OFD packet to send [10:27:03]OFD Sender: No OFD packet to send [10:27:08]OFD Sender: No OFD packet to send [10:27:13]OFD Sender: No OFD packet to send [10:27:18]OFD Sender: No OFD packet to send [10:27:23]OFD Sender: No OFD packet to send [10:27:28]OFD Sender: No OFD packet to send [10:27:33]OFD Sender: No OFD packet to send [10:27:38]OFD Sender: No OFD packet to send [10:27:43]OFD Sender: No OFD packet to send [10:27:48]OFD Sender: No OFD packet to send [10:27:49]recv_with_timeout no data received [10:27:53]OFD Sender: No OFD packet to send [10:27:58]OFD Sender: No OFD packet to send [10:28:03]OFD Sender: No OFD packet to send [10:28:06]recv_with_timeout no data received [10:28:08]OFD Sender: No OFD packet to send [10:28:13]OFD Sender: No OFD packet to send [10:28:18]OFD Sender: No OFD packet to send [10:28:23]OFD Sender: No OFD packet to send [10:28:28]OFD Sender: No OFD packet to send [10:28:33]OFD Sender: No OFD packet to send [10:28:38]OFD Sender: No OFD packet to send [10:28:43]OFD Sender: No OFD packet to send [10:28:48]OFD Sender: No OFD packet to send [10:28:53]OFD Sender: No OFD packet to send [10:28:58]OFD Sender: No OFD packet to send [10:29:03]OFD Sender: No OFD packet to send [10:29:08]OFD Sender: No OFD packet to send [10:29:13]OFD Sender: No OFD packet to send [10:29:18]OFD Sender: No OFD packet to send [10:29:23]OFD Sender: No OFD packet to send [10:29:28]OFD Sender: No OFD packet to send [10:29:33]OFD Sender: No OFD packet to send [10:29:38]OFD Sender: No OFD packet to send [10:29:44]OFD Sender: No OFD packet to send [10:29:49]OFD Sender: No OFD packet to send [10:29:54]OFD Sender: No OFD packet to send [10:29:59]OFD Sender: No OFD packet to send [10:30:04]OFD Sender: No OFD packet to send [10:30:09]OFD Sender: No OFD packet to send [10:30:14]OFD Sender: No OFD packet to send [10:30:19]OFD Sender: No OFD packet to send [10:30:24]OFD Sender: No OFD packet to send [10:30:29]OFD Sender: No OFD packet to send [10:30:34]OFD Sender: No OFD packet to send [10:30:39]OFD Sender: No OFD packet to send [10:30:44]OFD Sender: No OFD packet to send [10:30:49]OFD Sender: No OFD packet to send [10:30:54]OFD Sender: No OFD packet to send [10:30:59]OFD Sender: No OFD packet to send [10:31:04]OFD Sender: No OFD packet to send [10:31:09]OFD Sender: No OFD packet to send [10:31:09]recv_with_timeout no data received [10:31:14]OFD Sender: No OFD packet to send [10:31:19]OFD Sender: No OFD packet to send [10:31:24]OFD Sender: No OFD packet to send [10:31:29]OFD Sender: No OFD packet to send [10:31:34]OFD Sender: No OFD packet to send [10:31:39]OFD Sender: No OFD packet to send [10:31:44]OFD Sender: No OFD packet to send [10:31:49]OFD Sender: No OFD packet to send [10:31:54]OFD Sender: No OFD packet to send [10:31:59]OFD Sender: No OFD packet to send [10:32:04]OFD Sender: No OFD packet to send [10:32:09]OFD Sender: No OFD packet to send [10:32:14]OFD Sender: No OFD packet to send [10:32:19]OFD Sender: No OFD packet to send [10:32:24]OFD Sender: No OFD packet to send [10:32:29]OFD Sender: No OFD packet to send [10:32:33]recv_with_timeout no data received [10:32:34]OFD Sender: No OFD packet to send [10:32:39]OFD Sender: No OFD packet to send [10:32:44]OFD Sender: No OFD packet to send [10:32:49]OFD Sender: No OFD packet to send [10:32:54]OFD Sender: No OFD packet to send [10:32:59]OFD Sender: No OFD packet to send [10:33:04]OFD Sender: No OFD packet to send [10:33:09]OFD Sender: No OFD packet to send [10:33:14]OFD Sender: No OFD packet to send [10:33:19]OFD Sender: No OFD packet to send [10:33:24]OFD Sender: No OFD packet to send [10:33:29]OFD Sender: No OFD packet to send [10:33:34]OFD Sender: No OFD packet to send [10:33:39]OFD Sender: No OFD packet to send [10:33:44]OFD Sender: No OFD packet to send [10:33:49]OFD Sender: No OFD packet to send [10:33:54]OFD Sender: No OFD packet to send [10:33:59]OFD Sender: No OFD packet to send [10:34:04]OFD Sender: No OFD packet to send [10:34:09]OFD Sender: No OFD packet to send [10:34:14]OFD Sender: No OFD packet to send [10:34:19]OFD Sender: No OFD packet to send [10:34:24]OFD Sender: No OFD packet to send [10:34:29]OFD Sender: No OFD packet to send [10:34:34]OFD Sender: No OFD packet to send [10:34:39]OFD Sender: No OFD packet to send [10:34:44]OFD Sender: No OFD packet to send [10:34:49]OFD Sender: No OFD packet to send [10:34:54]OFD Sender: No OFD packet to send [10:34:59]OFD Sender: No OFD packet to send [10:35:04]OFD Sender: No OFD packet to send [10:35:09]OFD Sender: No OFD packet to send [10:35:14]OFD Sender: No OFD packet to send [10:35:19]OFD Sender: No OFD packet to send [10:35:24]OFD Sender: No OFD packet to send [10:35:29]OFD Sender: No OFD packet to send [10:35:34]OFD Sender: No OFD packet to send [10:35:39]OFD Sender: No OFD packet to send [10:35:44]OFD Sender: No OFD packet to send [10:35:49]OFD Sender: No OFD packet to send [10:35:54]OFD Sender: No OFD packet to send [10:35:59]OFD Sender: No OFD packet to send [10:36:04]OFD Sender: No OFD packet to send [10:36:09]OFD Sender: No OFD packet to send [10:36:14]OFD Sender: No OFD packet to send [10:36:19]OFD Sender: No OFD packet to send [10:36:24]OFD Sender: No OFD packet to send [10:36:29]OFD Sender: No OFD packet to send [10:36:34]OFD Sender: No OFD packet to send [10:36:39]OFD Sender: No OFD packet to send [10:36:44]OFD Sender: No OFD packet to send [10:36:49]OFD Sender: No OFD packet to send [10:36:54]OFD Sender: No OFD packet to send [10:36:59]OFD Sender: No OFD packet to send [10:37:00]int [10:37:00]Write to MH i2c: 01 00 00 00 01 01 [10:37:00]*** FLAG_PRN_KEY set [10:37:00]Write i2c OK [10:37:00]MH_I2C_Read... [10:37:00]Read from MH i2c: 01 [10:37:00]MH_I2C_Read... [10:37:00]Read from MH i2c: 01 07 00 [10:37:00]MH_I2C_Read... [10:37:00]Read from MH i2c: 01 07 00 00 01 00 08 00 00 00 FF 0F 1E [10:37:00]state=0 [10:37:00]Key pressed [10:37:00]Feed [10:37:00]Write to MH i2c: D8 00 00 01 01 D9 [10:37:00]Write i2c OK [10:37:00]MH_I2C_Read... [10:37:00]Read from MH i2c: D8 [10:37:00]MH_I2C_Read... [10:37:00]Read from MH i2c: D8 01 00 [10:37:00]MH_I2C_Read... [10:37:00]Read from MH i2c: D8 01 00 01 01 00 DA [10:37:00]int [10:37:00]Write to MH i2c: 01 00 00 02 01 03 [10:37:00]Write i2c OK [10:37:00]MH_I2C_Read... [10:37:00]Read from MH i2c: 01 [10:37:00]MH_I2C_Read... [10:37:00]Read from MH i2c: 01 07 00 [10:37:00]MH_I2C_Read... [10:37:00]Read from MH i2c: 01 07 00 02 01 00 48 00 00 00 3D 00 8F [10:37:00]state=2 [10:37:00]Key pressed [10:37:01]int [10:37:01]Write to MH i2c: 01 00 00 03 01 04 [10:37:01]*** FLAG_PRN_KEY reset [10:37:01]Write i2c OK [10:37:01]MH_I2C_Read... [10:37:01]Read from MH i2c: 01 [10:37:01]MH_I2C_Read... [10:37:01]Read from MH i2c: 01 07 00 [10:37:01]MH_I2C_Read... [10:37:01]Read from MH i2c: 01 07 00 03 01 00 00 00 00 00 FF 0F 19 [10:37:01]state=2 [10:37:01]Stop feed [10:37:04]OFD Sender: No OFD packet to send [10:37:09]OFD Sender: No OFD packet to send [10:37:14]OFD Sender: No OFD packet to send [10:37:24]OFD Sender: No OFD packet to send [10:37:29]OFD Sender: No OFD packet to send [10:37:34]OFD Sender: No OFD packet to send [10:37:39]OFD Sender: No OFD packet to send [10:37:44]OFD Sender: No OFD packet to send [10:37:49]OFD Sender: No OFD packet to send [10:37:54]OFD Sender: No OFD packet to send [10:37:59]OFD Sender: No OFD packet to send [10:38:04]OFD Sender: No OFD packet to send [10:38:09]OFD Sender: No OFD packet to send [10:38:14]OFD Sender: No OFD packet to send [10:38:19]OFD Sender: No OFD packet to send [10:38:24]OFD Sender: No OFD packet to send [10:38:29]OFD Sender: No OFD packet to send [10:38:34]OFD Sender: No OFD packet to send [10:38:39]OFD Sender: No OFD packet to send [10:38:44]OFD Sender: No OFD packet to send [10:38:49]OFD Sender: No OFD packet to send [10:38:54]OFD Sender: No OFD packet to send [10:38:59]OFD Sender: No OFD packet to send [10:39:04]OFD Sender: No OFD packet to send [10:39:09]OFD Sender: No OFD packet to send [10:39:14]OFD Sender: No OFD packet to send [10:39:19]OFD Sender: No OFD packet to send [10:39:24]OFD Sender: No OFD packet to send [10:39:29]OFD Sender: No OFD packet to send [10:39:34]OFD Sender: No OFD packet to send [10:39:36]ConnectInit Can't connect to host [10:39:39]OFD Sender: No OFD packet to send [00:00:09] *** EcrCore started. Build 196 *** [00:00:09]MH_InterfaceInit /dev/i2c-1 [00:00:09]/dev/ttyS4 opened [00:00:09]Malloc ok [00:00:09]MH_GetMetrics [00:00:09]Write to MH i2c: 00 00 00 01 00 00 [00:00:09]Write i2c OK [00:00:09]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 01 00 00 03 33 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 24 E0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 1B [00:00:10]Are we in boot? [00:00:10]We are in boot - try to switch [00:00:10]Write to MH i2c: A0 00 00 02 00 A1 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 [00:00:10]MH_I2C_Read... [00:00:10]*** Check firmware version 30515, crc_r 5823D75D, crc_c: 5823D75D, size: 52480 [00:00:10]*** [00:00:10]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:10]*** Starting fw at address 01020100 (2007E318 010246F9) [00:00:10]*** Waiting for read because exit forced [00:00:10]*** 10 ms more... [00:00:10]*** MH1903 init start (LINUX_LIGHT) [00:00:10]*** Serial: 3139303353513838 54000000005724E0 (1903SQ88T) [00:00:10]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:10]*** step 0: 5000 (2650, 2350 REF) [00:00:10]*** step 1: 4835 (2500, 2335 REF) [00:00:10]*** step 2: 4676 (2440, 2236 REF) [00:00:10]*** step 3: 4523 (2280, 2243 REF) [00:00:10]*** step 4: 4376 (2160, 2216 REF) [00:00:10]*** step 5: 4235 (2050, 2185 REF) [00:00:10]*** step 6: 4098 (1950, 2148 REF) [00:00:10]*** step 7: 3967 (1870, 2097 REF) [00:00:10]*** step 8: 3840 (1828, 2012 REF) [00:00:10]*** step 9: 3719 (1728, 1991 REF) [00:00:10]*** step 10: 3601 (1675, 1926 REF) [00:00:10]*** step 11: 3488 (1635, 1853 REF) [00:00:10]*** step 12: 3379 (1595, 1784 REF) [00:00:10]*** step 13: 3275 (1565, 1710 REF) [00:00:10]*** step 14: 3174 (1543, 1631 REF) [00:00:10]*** step 15: 3077 (1523, 1554 REF) [00:00:10]*** step 16: 2983 (1503, 1480 REF) [00:00:10]*** step 17: 2893 (1486, 1407 REF) [00:00:10]*** step 18: 2806 (1466, 1340 REF) [00:00:10]*** step 19: 2723 (1426, 1297 REF) [00:00:10]*** step 20: 2642 (1406, 1236 REF) [00:00:10]*** step 21: 2565 (1384, 1181 REF) [00:00:10]*** step 22: 2490 (1364, 1126 REF) [00:00:10]*** step 23: 2418 (1344, 1074 REF) [00:00:10]*** step 24: 2349 (1322, 1027 REF) [00:00:10]*** step 25: 2283 (1302, 981 REF) [00:00:10]*** step 26: 2218 (1282, 936 REF) [00:00:10]*** step 27: 2157 (1262, 895 REF) [00:00:10]*** step 28: 2097 (1242, 855 REF) [00:00:10]*** step 29: 2040 (1222, 818 REF) [00:00:10]*** step 30: 1985 (1202, 783 REF) [00:00:10]*** step 31: 1932 (1191, 741 REF) [00:00:10]*** step 32: 1880 (1181, 699 REF) [00:00:10]*** step 33: 1831 (1171, 660 REF) [00:00:10]*** step 34: 1784 (1161, 623 REF) [00:00:10]*** step 35: 1738 (1151, 587 REF) [00:00:10]*** step 36: 1694 (1141, 553 REF) [00:00:10]*** step 37: 1652 (1131, 521 REF) [00:00:10]*** step 38: 1611 (1121, 490 REF) [00:00:10]*** step 39: 1572 (1111, 461 REF) [00:00:10]*** step 40: 1534 (1103, 431 REF) [00:00:10]*** step 41: 1497 (1093, 404 REF) [00:00:10]*** step 42: 1462 (1083, 379 REF) [00:00:10]*** step 43: 1428 (1073, 355 REF) [00:00:10]*** step 44: 1396 (1063, 333 REF) [00:00:10]*** step 45: 1365 (1053, 312 REF) [00:00:10]*** step 46: 1334 (1043, 291 REF) [00:00:10]*** step 47: 1305 (1033, 272 REF) [00:00:10]*** step 48: 1277 (1023, 254 REF) [00:00:10]*** step 49: 1250 (1013, 237 REF) [00:00:10]*** step 50: 1224 (990, 234 REF) [00:00:10]*** step 51: 1199 (980, 219 REF) [00:00:10]*** step 52: 1175 (970, 205 REF) [00:00:10]*** step 53: 1152 (960, 192 REF) [00:00:10]*** step 54: 1130 (950, 180 REF) [00:00:10]*** step 55: 1108 (940, 168 REF) [00:00:10]*** step 56: 1088 (930, 158 REF) [00:00:10]*** step 57: 1068 (920, 148 REF) [00:00:10]*** step 58: 1049 (910, 139 REF) [00:00:10]*** step 59: 1030 (900, 130 REF) [00:00:10]*** step 60: 1012 (890, 122 REF) [00:00:10]*** step 61: 995 (880, 115 REF) [00:00:10]*** step 62: 979 (870, 109 REF) [00:00:10]*** step 63: 963 (860, 103 REF) [00:00:10]*** step 64: 948 (850, 98 REF) [00:00:10]*** step 65: 933 (840, 93 REF) [00:00:10]*** step 66: 919 (830, 89 REF) [00:00:10]*** step 67: 905 (820, 85 REF) [00:00:10]*** step 68: 892 (810, 82 REF) [00:00:10]*** step 69: 879 (800, 79 REF) [00:00:10]*** step 70: 867 (790, 77 REF) [00:00:10]*** step 71: 855 (780, 75 REF) [00:00:10]*** step 72: 844 (770, 74 REF) [00:00:10]*** step 73: 833 (760, 73 REF) [00:00:10]*** step 74: 822 (750, 72 REF) [00:00:10]*** step 75: 812 (740, 72 REF) [00:00:10]*** step 76: 803 (730, 73 REF) [00:00:10]*** step 77: 793 (720, 73 REF) [00:00:10]*** step 78: 784 (710, 74 REF) [00:00:10]*** step 79: 776 (700, 76 REF) [00:00:10]*** step 80: 767 (690, 77 REF) [00:00:10]*** step 81: 759 (680, 79 REF) [00:00:10]*** step 82: 751 (670, 81 REF) [00:00:10]*** step 83: 744 (660, 84 REF) [00:00:10]*** step 84: 737 (650, 87 REF) [00:00:10]*** step 85: 730 (640, 90 REF) [00:00:10]*** step 86: 723 (630, 93 REF) [00:00:10]*** step 87: 717 (620, 97 REF) [00:00:10]*** step 88: 710 (610, 100 REF) [00:00:10]*** step 89: 705 (600, 105 REF) [00:00:10]*** step 90: 699 [00:00:10]*** step 91: 693 [00:00:10]*** step 92: 688 [00:00:10]*** step 93: 683 [00:00:10]*** step 94: 678 [00:00:10]*** step 95: 673 [00:00:10]*** step 96: 669 [00:00:10]*** step 97: 664 [00:00:10]*** step 98: 660 [00:00:10]*** step 99: 656 [00:00:10]*** step 100: 652 [00:00:10]*** step 101: 648 [00:00:10]*** step 102: 644 [00:00:10]*** step 103: 641 [00:00:10]*** step 104: 638 [00:00:10]*** step 105: 634 [00:00:10]*** step 106: 631 [00:00:10]*** step 107: 628 [00:00:10]*** step 108: 625 [00:00:10]*** step 109: 622 [00:00:10]*** step 110: 620 [00:00:10]*** step 111: 617 [00:00:10]*** step 112: 615 [00:00:10]*** step 113: 612 [00:00:10]*** step 114: 610 [00:00:10]*** step 115: 608 [00:00:10]*** step 116: 605 [00:00:10]*** step 117: 603 [00:00:10]*** step 118: 601 [00:00:10]*** step 119: 599 [00:00:10]*** printer: Printer HW initialized [00:00:10]*** initSamCard finished [00:00:10]*** RTC: 6121588+1721052822=1727174410 [00:00:10]*** BPK Status Register BPK_RDY = 0x0 [00:00:10]*** SEN State Register SEN_STATE = 0x200ff [00:00:10]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:10]*** Analog Control Register 0 SEN_ANA0 = 0x33510623 [00:00:11]MH_GetMetrics [00:00:11]Write to MH i2c: 00 00 00 03 00 02 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 03 00 00 03 33 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 24 E0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 1C [00:00:11]Are we in boot? [00:00:11]We are not in boot now [00:00:11]Write to MH i2c: 01 00 00 04 00 04 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:11]Model is 3 [00:00:11]MH firmware is 30515 [00:00:11]MH boot firmware is 3 [00:00:11]MH_SetPrinterDots 448 [00:00:11]HeadWidthInBytes 56 [00:00:11]maxmasksize 7 [00:00:11]Write to MH i2c: D6 06 00 05 00 41 00 60 00 FF FF 7F [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:11]Write to MH i2c: D5 00 00 06 00 DA [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]ExternCall_SetCallbacks [00:00:11]NVStorageInit [00:00:11]MH_GetDate [00:00:11]Write to MH i2c: F0 00 00 07 00 F6 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 07 00 00 0A 97 F2 66 96 2E 95 66 B7 [10:40:10]Current date/time: 24.09.2024 10:40 [10:40:10]FM_Init [10:40:10]wFMConnect [10:40:10]MH_SAM_On [10:40:10]Write to MH i2c: E0 00 00 08 00 E7 [10:40:10]Write i2c OK [10:40:10]MH_I2C_Read... [10:40:10]*** iso7816_init finished! [10:40:10]*** atr: [10:40:10]*** 0F 3B D5 18 FF 81 91 FE [10:40:10]*** 1F C3 80 73 C8 21 10 0A [10:40:10]*** 00 00 00 00 00 00 00 00 [10:40:10]*** 00 00 00 00 00 00 00 00 [10:40:10]*** 00 00 00 00 00 00 00 00 [10:40:10]*** 00 00 00 00 00 00 00 00 [10:40:10]*** 00 00 00 00 00 00 00 00 [10:40:10]*** 00 00 00 00 00 00 00 00 [10:40:10]Read from MH i2c: E0 [10:40:10]MH_I2C_Read... [10:40:10]Read from MH i2c: E0 10 00 [10:40:10]MH_I2C_Read... [10:40:10]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [10:40:10]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [10:40:10]wFMCommunicate request_size=10 [10:40:10]MH_SAM_APDU [10:40:10]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [10:40:10]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [10:40:10]Write i2c OK [10:40:10]MH_I2C_Read... [10:40:10]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [10:40:10]Read from MH i2c: E2 [10:40:10]MH_I2C_Read... [10:40:10]Read from MH i2c: E2 03 00 [10:40:10]MH_I2C_Read... [10:40:10]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [10:40:10]RAPDU: 90 00 [10:40:10]wFMCommunicate OK [10:40:10]wFMCommunicate request_size=4 [10:40:10]MH_SAM_APDU [10:40:10]CAPDU: 80 11 00 00 [10:40:10]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [10:40:10]Write i2c OK [10:40:10]MH_I2C_Read... [10:40:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:40:10]Read from MH i2c: E2 [10:40:10]MH_I2C_Read... [10:40:10]Read from MH i2c: E2 17 00 [10:40:10]MH_I2C_Read... [10:40:10]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 D5 [10:40:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [10:40:10]wFMCommunicate OK [10:40:10]Detected FM SN is 0000000002094258 [10:40:10]Stored FM SN is 0000000002094258 [10:40:10]wFMCommunicate request_size=9 [10:40:10]MH_SAM_APDU [10:40:10]CAPDU: 80 16 00 00 04 BC C2 00 00 [10:40:10]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 BC C2 00 00 00 00 10 [10:40:10]Write i2c OK [10:40:10]MH_I2C_Read... [10:40:10]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [10:40:10]Read from MH i2c: E2 [10:40:10]MH_I2C_Read... [10:40:10]Read from MH i2c: E2 03 00 [10:40:10]MH_I2C_Read... [10:40:10]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [10:40:10]RAPDU: 90 00 [10:40:10]wFMCommunicate OK [10:40:10]FM PIN OK [10:40:10]wFMCommunicate request_size=8 [10:40:10]MH_SAM_APDU [10:40:10]CAPDU: 80 14 04 00 03 02 00 01 [10:40:10]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [10:40:10]Write i2c OK [10:40:10]MH_I2C_Read... [10:40:10]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [10:40:10]Read from MH i2c: E2 [10:40:10]MH_I2C_Read... [10:40:10]Read from MH i2c: E2 03 00 [10:40:10]MH_I2C_Read... [10:40:10]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [10:40:10]RAPDU: 90 00 [10:40:10]wFMCommunicate OK [10:40:10]wFMCommunicate request_size=13 [10:40:10]MH_SAM_APDU [10:40:10]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [10:40:10]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [10:40:10]Write i2c OK [10:40:10]MH_I2C_Read... [10:40:10]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [10:40:10]Read from MH i2c: E2 [10:40:10]MH_I2C_Read... [10:40:10]Read from MH i2c: E2 03 00 [10:40:10]MH_I2C_Read... [10:40:10]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [10:40:10]RAPDU: 90 00 [10:40:10]wFMCommunicate OK [10:40:10]wFMCommunicate request_size=4 [10:40:10]MH_SAM_APDU [10:40:10]CAPDU: 80 11 00 00 [10:40:10]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [10:40:10]Write i2c OK [10:40:10]MH_I2C_Read... [10:40:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:40:10]Read from MH i2c: E2 [10:40:10]MH_I2C_Read... [10:40:10]Read from MH i2c: E2 17 00 [10:40:10]MH_I2C_Read... [10:40:10]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 D9 [10:40:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [10:40:10]wFMCommunicate OK [10:40:10]DocumentArchiveInit [10:40:10]Start Httpd... [10:40:10]Httpd thread 3067034980 created [10:40:10]Write to MH i2c: 01 00 00 0F 00 0F [10:40:10]Write i2c OK [10:40:10]MH_I2C_Read... [10:40:10]Read from MH i2c: 01 [10:40:10]MH_I2C_Read... [10:40:10]Read from MH i2c: 01 07 00 [10:40:10]MH_I2C_Read... [10:40:10]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [10:40:10]MH Int Process started [10:40:10]Allocated Socket 8 [10:40:10]Bind OK [10:40:10]Listen OK [10:40:10]httpd running on port 8080 [10:40:10]Waiting for new connection... [10:40:10]OFD Sender: No OFD packet to send [10:40:13]accept exits with 9 [10:40:13]New connection [10:40:13]New thread 3066748260 created [10:40:13]Waiting for new connection... [10:40:13] Sock 9.Parse request [10:40:13]Sock 9.Check first char [10:40:13]Sock 9.First char is OK [10:40:13]request: POST /json_proto HTTP/1.0 [10:40:13]Method: POST [10:40:13]URL: /json_proto [10:40:13]Method is POST - this is cgi request [10:40:13]url: /json_proto [10:40:13]query_string will be loaded in cgi processing [10:40:13]execute_cgi json_proto POST (null) [10:40:13]execute_cgi path=json_proto method=POST [10:40:13]POST find Content-Length [10:40:13]Host: 172.17.47.195:8080 [10:40:13]Content-Length: 215 [10:40:13]Content-Type: application/json [10:40:13] [10:40:13]POST finish read [10:40:13]Found Content-Length = 215 [10:40:13]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" ] } } [10:40:13]execute_script... [10:40:13]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" ] } } [10:40:13]POST & json_proto [10:40:13]process_json_proto [10:40:13]json parsed OK: [10:40:13]protocol is kg_v1.0 [10:40:13]action value=get_value [10:40:13]process_action get_value [10:40:13]cmd_get_value [10:40:13]process_action get_value done [10:40:13]requested_data is exist [10:40:13]produce_requested_data [10:40:13]requested_item kkm.sn is exist - process it [10:40:13]requested_item kkm.ver is exist - process it [10:40:13]requested_item fm.sn is exist - process it [10:40:13]wFMCommunicate request_size=4 [10:40:13]MH_SAM_APDU [10:40:13]CAPDU: 80 11 00 00 [10:40:13]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [10:40:13]Write i2c OK [10:40:13]MH_I2C_Read... [10:40:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:40:13]Read from MH i2c: E2 [10:40:13]MH_I2C_Read... [10:40:13]Read from MH i2c: E2 17 00 [10:40:13]MH_I2C_Read... [10:40:13]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 DB [10:40:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [10:40:13]wFMCommunicate OK [10:40:13]requested_item fd.num is exist - process it [10:40:13]SAM_PROTO_GetFieldsCounters [10:40:13]wFMCommunicate request_size=4 [10:40:13]MH_SAM_APDU [10:40:13]CAPDU: 80 13 00 00 [10:40:13]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [10:40:13]Write i2c OK [10:40:13]MH_I2C_Read... [10:40:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:40:13]Read from MH i2c: E2 [10:40:13]MH_I2C_Read... [10:40:13]Read from MH i2c: E2 62 00 [10:40:13]MH_I2C_Read... [10:40:13]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 DB 1E 00 00 0E 04 04 00 48 00 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 55 [10:40:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 DB 1E 00 00 0E 04 04 00 48 00 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:40:13]wFMCommunicate OK [10:40:13]SAM_PROTO_GetFieldsCounters done [10:40:13]requested_item shift.num is exist - process it [10:40:13]requested_item shift.opened is exist - process it [10:40:13]req_shift_opened [10:40:13]FM_GetShiftState [10:40:13]SAM_PROTO_GetShiftState [10:40:13]wFMCommunicate request_size=4 [10:40:13]MH_SAM_APDU [10:40:13]CAPDU: 80 13 01 00 [10:40:13]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [10:40:13]Write i2c OK [10:40:13]MH_I2C_Read... [10:40:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:40:13]Read from MH i2c: E2 [10:40:13]MH_I2C_Read... [10:40:13]Read from MH i2c: E2 0E 00 [10:40:13]MH_I2C_Read... [10:40:13]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 35 [10:40:13]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [10:40:13]wFMCommunicate OK [10:40:13]SAM_PROTO_GetShiftState done [10:40:13]FM_GetShiftState done [10:40:13]req_shift_opened done [10:40:13]requested_item shift.open_date is exist - process it [10:40:13]req_shift_open_date [10:40:13]req_shift_open_date done [10:40:13]produce_requested_data done [10:40:13]produce_requested_data return {"kkm.sn":"0300000041","kkm.ver":"v1.0","fm.sn":"0000000002094258","fd.num":7899,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [10:40:13]process_action_free get_value [10:40:13]json_value_free [10:40:13]json_value_free done [10:40:13]process_json_proto returns [10:40:13]Send response to host [10:40:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000041","kkm.ver":"v1.0","fm.sn":"0000000002094258","fd.num":7899,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [10:40:13]free response buf [10:40:13]execute_script done [10:40:13]execute_script returns [10:40:13]free content buf [10:40:13]Sock 9.Close socket [10:40:13]Sock 9.Thread stoped [10:40:13]accept exits with 6 [10:40:13]New connection [10:40:13]New thread 3066604900 created [10:40:13]Thread 3066748260 joined [10:40:13]Waiting for new connection... [10:40:13] Sock 6.Parse request [10:40:13]Sock 6.Check first char [10:40:13]Sock 6.First char is OK [10:40:13]request: POST /json_proto HTTP/1.0 [10:40:13]Method: POST [10:40:13]URL: /json_proto [10:40:13]Method is POST - this is cgi request [10:40:13]url: /json_proto [10:40:13]query_string will be loaded in cgi processing [10:40:13]execute_cgi json_proto POST (null) [10:40:13]execute_cgi path=json_proto method=POST [10:40:13]POST find Content-Length [10:40:13]Host: 172.17.47.195:8080 [10:40:13]Content-Length: 331 [10:40:13]Content-Type: application/json [10:40:13] [10:40:13]POST finish read [10:40:13]Found Content-Length = 331 [10:40:13]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" ] } } [10:40:13]execute_script... [10:40:13]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" ] } } [10:40:13]POST & json_proto [10:40:13]process_json_proto [10:40:13]json parsed OK: [10:40:13]protocol is kg_v1.0 [10:40:13]action value=get_value [10:40:13]process_action get_value [10:40:13]cmd_get_value [10:40:13]process_action get_value done [10:40:13]requested_data is exist [10:40:13]produce_requested_data [10:40:14]requested_item fm.sale.total is exist - process it [10:40:14]SAM_PROTO_GetFMData [10:40:14]wFMCommunicate request_size=4 [10:40:14]MH_SAM_APDU [10:40:14]CAPDU: 80 13 03 00 [10:40:14]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [10:40:14]Write i2c OK [10:40:14]MH_I2C_Read... [10:40:14]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [10:40:14]Read from MH i2c: E2 [10:40:14]MH_I2C_Read... [10:40:14]Read from MH i2c: E2 FD 00 [10:40:14]MH_I2C_Read... [10:40:14]Read from MH i2c: E2 FD 00 13 00 00 C1 04 85 04 BD 04 6E 04 04 00 4B 1E 00 00 69 04 A0 00 6F 04 04 00 1E 1E 00 00 B1 04 04 00 54 1D 00 32 70 04 04 00 00 0E 04 2A 72 04 04 00 54 0F FC 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A8 9C 4F 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 92 4C 71 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2D 00 00 00 B1 04 04 00 3C 5C 66 01 70 04 04 00 3C 5C 66 01 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A2 0E 26 EF 03 09 00 F6 03 01 90 00 6E [10:40:14]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 4B 1E 00 00 69 04 A0 00 6F 04 04 00 1E 1E 00 00 B1 04 04 00 54 1D 00 32 70 04 04 00 00 0E 04 2A 72 04 04 00 54 0F FC 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A8 9C 4F 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 92 4C 71 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2D 00 00 00 B1 04 04 00 3C 5C 66 01 70 04 04 00 3C 5C 66 01 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A2 0E 26 EF 03 09 00 F6 03 01 90 00 [10:40:14]wFMCommunicate OK [10:40:14]wFMCommunicate request_size=4 [10:40:14]MH_SAM_APDU [10:40:14]CAPDU: 80 17 00 00 [10:40:14]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [10:40:14]Write i2c OK [10:40:14]MH_I2C_Read... [10:40:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:40:14]Read from MH i2c: E2 [10:40:14]MH_I2C_Read... [10:40:14]Read from MH i2c: E2 FD 00 [10:40:14]MH_I2C_Read... [10:40:14]Read from MH i2c: E2 FD 00 14 00 00 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E7 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 D9 [10:40:14]RAPDU: 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E7 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [10:40:14]wFMCommunicate OK [10:40:14]wFMCommunicate request_size=4 [10:40:14]MH_SAM_APDU [10:40:14]CAPDU: 80 17 00 00 [10:40:14]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [10:40:14]Write i2c OK [10:40:14]MH_I2C_Read... [10:40:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:40:15]Read from MH i2c: E2 [10:40:15]MH_I2C_Read... [10:40:15]Read from MH i2c: E2 FD 00 [10:40:15]MH_I2C_Read... [10:40:15]Read from MH i2c: E2 FD 00 15 00 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 35 [10:40:15]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:40:15]wFMCommunicate OK [10:40:15]wFMCommunicate request_size=4 [10:40:15]MH_SAM_APDU [10:40:15]CAPDU: 80 17 00 00 [10:40:15]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [10:40:15]Write i2c OK [10:40:15]MH_I2C_Read... [10:40:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:40:15]Read from MH i2c: E2 [10:40:15]MH_I2C_Read... [10:40:15]Read from MH i2c: E2 FD 00 [10:40:15]MH_I2C_Read... [10:40:15]Read from MH i2c: E2 FD 00 16 00 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1B [10:40:15]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:40:15]wFMCommunicate OK [10:40:15]wFMCommunicate request_size=4 [10:40:15]MH_SAM_APDU [10:40:15]CAPDU: 80 17 00 00 [10:40:15]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [10:40:15]Write i2c OK [10:40:15]MH_I2C_Read... [10:40:15]OFD Sender: No OFD packet to send [10:40:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [10:40:15]Read from MH i2c: E2 [10:40:15]MH_I2C_Read... [10:40:15]Read from MH i2c: E2 DE 00 [10:40:15]MH_I2C_Read... [10:40:15]Read from MH i2c: E2 DE 00 17 00 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 76 [10:40:15]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [10:40:15]wFMCommunicate OK [10:40:15]SAM_PROTO_GetFMData done [10:40:15]requested_item fm.sale_refund.total is exist - process it [10:40:15]requested_item fm.buy.total is exist - process it [10:40:15]requested_item shift.sale.total is exist - process it [10:40:15]SAM_PROTO_GetShiftData [10:40:15]wFMCommunicate request_size=4 [10:40:15]MH_SAM_APDU [10:40:15]CAPDU: 80 13 02 00 [10:40:15]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [10:40:15]Write i2c OK [10:40:15]MH_I2C_Read... [10:40:16]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:40:16]Read from MH i2c: E2 [10:40:16]MH_I2C_Read... [10:40:16]Read from MH i2c: E2 FD 00 [10:40:16]MH_I2C_Read... [10:40:16]Read from MH i2c: E2 FD 00 18 00 00 AE 04 AA 04 AA 04 6E 04 04 00 23 00 00 00 69 04 9B 00 6F 04 04 00 23 00 00 00 B1 04 03 00 F9 6A 2E 70 04 03 00 E0 20 2C 72 04 03 00 19 4A 02 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 54 EE 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 31 69 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9F [10:40:16]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 23 00 00 00 69 04 9B 00 6F 04 04 00 23 00 00 00 B1 04 03 00 F9 6A 2E 70 04 03 00 E0 20 2C 72 04 03 00 19 4A 02 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 54 EE 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 31 69 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [10:40:16]wFMCommunicate OK [10:40:16]wFMCommunicate request_size=4 [10:40:16]MH_SAM_APDU [10:40:16]CAPDU: 80 17 00 00 [10:40:16]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [10:40:16]Write i2c OK [10:40:16]MH_I2C_Read... [10:40:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:40:16]Read from MH i2c: E2 [10:40:16]MH_I2C_Read... [10:40:16]Read from MH i2c: E2 FD 00 [10:40:16]MH_I2C_Read... [10:40:16]Read from MH i2c: E2 FD 00 19 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 BB [10:40:16]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 [10:40:16]wFMCommunicate OK [10:40:16]wFMCommunicate request_size=4 [10:40:16]MH_SAM_APDU [10:40:16]CAPDU: 80 17 00 00 [10:40:16]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [10:40:16]Write i2c OK [10:40:16]MH_I2C_Read... [10:40:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:40:16]Read from MH i2c: E2 [10:40:16]MH_I2C_Read... [10:40:16]Read from MH i2c: E2 FD 00 [10:40:16]MH_I2C_Read... [10:40:16]Read from MH i2c: E2 FD 00 1A 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 51 [10:40:16]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 [10:40:16]wFMCommunicate OK [10:40:16]wFMCommunicate request_size=4 [10:40:16]MH_SAM_APDU [10:40:16]CAPDU: 80 17 00 00 [10:40:16]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [10:40:16]Write i2c OK [10:40:16]MH_I2C_Read... [10:40:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:40:17]Read from MH i2c: E2 [10:40:17]MH_I2C_Read... [10:40:17]Read from MH i2c: E2 FD 00 [10:40:17]MH_I2C_Read... [10:40:17]Read from MH i2c: E2 FD 00 1B 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 0D [10:40:17]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 [10:40:17]wFMCommunicate OK [10:40:17]wFMCommunicate request_size=4 [10:40:17]MH_SAM_APDU [10:40:17]CAPDU: 80 17 00 00 [10:40:17]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [10:40:17]Write i2c OK [10:40:17]MH_I2C_Read... [10:40:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [10:40:17]Read from MH i2c: E2 [10:40:17]MH_I2C_Read... [10:40:17]Read from MH i2c: E2 CB 00 [10:40:17]MH_I2C_Read... [10:40:17]Read from MH i2c: E2 CB 00 1C 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [10:40:17]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 [10:40:17]wFMCommunicate OK [10:40:17]SAM_PROTO_GetShiftData done [10:40:17]requested_item shift.sale.total_cash is exist - process it [10:40:17]requested_item shift.sale_refund.total is exist - process it [10:40:17]requested_item shift.sale_refund.total_cash is exist - process it [10:40:17]requested_item shift.buy.total is exist - process it [10:40:17]requested_item shift.buy.total_cash is exist - process it [10:40:17]produce_requested_data done [10:40:17]produce_requested_data return {"fm.sale.total":8388683.08,"fm.sale_refund.total":234855.00,"fm.buy.total":0.00,"shift.sale.total":30420.41,"shift.sale.total_cash":28920.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} [10:40:17]process_action_free get_value [10:40:17]json_value_free [10:40:17]json_value_free done [10:40:17]process_json_proto returns [10:40:17]Send response to host [10:40:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8388683.08,"fm.sale_refund.total":234855.00,"fm.buy.total":0.00,"shift.sale.total":30420.41,"shift.sale.total_cash":28920.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}}} [10:40:17]free response buf [10:40:17]execute_script done [10:40:17]execute_script returns [10:40:17]free content buf [10:40:17]Sock 6.Close socket [10:40:17]Sock 6.Thread stoped [10:40:20]OFD Sender: No OFD packet to send [10:40:25]OFD Sender: No OFD packet to send [10:40:30]OFD Sender: No OFD packet to send [10:40:35]OFD Sender: No OFD packet to send [10:40:40]OFD Sender: No OFD packet to send [10:40:45]OFD Sender: No OFD packet to send [10:40:50]recv_with_timeout no data received [10:40:50]OFD Sender: No OFD packet to send [10:40:55]OFD Sender: No OFD packet to send [10:41:00]OFD Sender: No OFD packet to send [10:41:05]OFD Sender: No OFD packet to send [10:41:10]OFD Sender: No OFD packet to send [10:41:15]OFD Sender: No OFD packet to send [10:41:20]OFD Sender: No OFD packet to send [10:41:25]OFD Sender: No OFD packet to send [10:41:30]OFD Sender: No OFD packet to send [10:41:35]OFD Sender: No OFD packet to send [10:41:40]OFD Sender: No OFD packet to send [10:41:45]OFD Sender: No OFD packet to send [10:41:50]OFD Sender: No OFD packet to send [10:41:55]OFD Sender: No OFD packet to send [10:42:00]OFD Sender: No OFD packet to send [10:42:05]OFD Sender: No OFD packet to send [10:42:10]OFD Sender: No OFD packet to send [10:42:15]OFD Sender: No OFD packet to send [10:42:20]OFD Sender: No OFD packet to send [10:42:25]OFD Sender: No OFD packet to send [10:42:30]OFD Sender: No OFD packet to send [10:42:35]OFD Sender: No OFD packet to send [10:42:40]OFD Sender: No OFD packet to send [10:42:45]OFD Sender: No OFD packet to send [10:42:50]OFD Sender: No OFD packet to send [10:42:55]OFD Sender: No OFD packet to send [10:43:00]OFD Sender: No OFD packet to send [10:43:05]OFD Sender: No OFD packet to send [10:43:10]OFD Sender: No OFD packet to send [10:43:15]OFD Sender: No OFD packet to send [10:43:20]OFD Sender: No OFD packet to send [10:43:25]OFD Sender: No OFD packet to send [10:43:30]OFD Sender: No OFD packet to send [10:43:35]OFD Sender: No OFD packet to send [10:43:40]OFD Sender: No OFD packet to send [10:43:45]OFD Sender: No OFD packet to send [10:43:50]OFD Sender: No OFD packet to send [10:43:55]OFD Sender: No OFD packet to send [10:44:00]OFD Sender: No OFD packet to send [10:44:05]OFD Sender: No OFD packet to send [10:44:10]OFD Sender: No OFD packet to send [10:44:15]OFD Sender: No OFD packet to send [10:44:20]OFD Sender: No OFD packet to send [10:44:25]OFD Sender: No OFD packet to send [10:44:30]OFD Sender: No OFD packet to send [10:44:35]OFD Sender: No OFD packet to send [10:44:40]OFD Sender: No OFD packet to send [10:44:45]OFD Sender: No OFD packet to send [10:44:50]OFD Sender: No OFD packet to send [10:44:55]OFD Sender: No OFD packet to send [10:45:00]OFD Sender: No OFD packet to send [10:45:05]OFD Sender: No OFD packet to send [10:45:10]OFD Sender: No OFD packet to send [10:45:15]OFD Sender: No OFD packet to send [10:45:20]OFD Sender: No OFD packet to send [10:45:25]OFD Sender: No OFD packet to send [10:45:30]OFD Sender: No OFD packet to send [10:45:35]OFD Sender: No OFD packet to send [10:45:40]OFD Sender: No OFD packet to send [10:45:45]OFD Sender: No OFD packet to send [10:45:50]OFD Sender: No OFD packet to send [10:45:55]OFD Sender: No OFD packet to send [10:46:00]OFD Sender: No OFD packet to send [10:46:05]OFD Sender: No OFD packet to send [10:46:10]OFD Sender: No OFD packet to send [10:46:15]OFD Sender: No OFD packet to send [10:46:20]OFD Sender: No OFD packet to send [10:46:25]OFD Sender: No OFD packet to send [10:46:30]OFD Sender: No OFD packet to send [10:46:35]OFD Sender: No OFD packet to send [10:46:40]OFD Sender: No OFD packet to send [10:46:45]OFD Sender: No OFD packet to send [10:46:50]OFD Sender: No OFD packet to send [10:46:55]OFD Sender: No OFD packet to send [10:47:00]OFD Sender: No OFD packet to send [10:47:05]OFD Sender: No OFD packet to send [10:47:10]OFD Sender: No OFD packet to send [10:47:15]OFD Sender: No OFD packet to send [10:47:20]OFD Sender: No OFD packet to send [10:47:25]OFD Sender: No OFD packet to send [10:47:30]OFD Sender: No OFD packet to send [10:47:35]OFD Sender: No OFD packet to send [10:47:40]OFD Sender: No OFD packet to send [10:47:45]OFD Sender: No OFD packet to send [10:47:50]OFD Sender: No OFD packet to send [10:47:55]OFD Sender: No OFD packet to send [10:48:01]OFD Sender: No OFD packet to send [10:48:06]OFD Sender: No OFD packet to send [10:48:11]OFD Sender: No OFD packet to send [10:48:16]OFD Sender: No OFD packet to send [10:48:21]OFD Sender: No OFD packet to send [10:48:26]OFD Sender: No OFD packet to send [10:48:31]OFD Sender: No OFD packet to send [10:48:36]OFD Sender: No OFD packet to send [10:48:41]OFD Sender: No OFD packet to send [10:48:46]OFD Sender: No OFD packet to send [10:48:51]OFD Sender: No OFD packet to send [10:48:56]OFD Sender: No OFD packet to send [10:49:01]OFD Sender: No OFD packet to send [10:49:06]OFD Sender: No OFD packet to send [10:49:11]OFD Sender: No OFD packet to send [10:49:16]OFD Sender: No OFD packet to send [10:49:21]OFD Sender: No OFD packet to send [10:49:26]OFD Sender: No OFD packet to send [10:49:27]recv_with_timeout no data received [10:49:31]OFD Sender: No OFD packet to send [10:49:36]OFD Sender: No OFD packet to send [10:49:41]OFD Sender: No OFD packet to send [10:49:42]recv_with_timeout no data received [10:49:46]OFD Sender: No OFD packet to send [10:49:51]OFD Sender: No OFD packet to send [10:49:56]OFD Sender: No OFD packet to send [10:50:01]OFD Sender: No OFD packet to send [10:50:06]OFD Sender: No OFD packet to send [10:50:11]OFD Sender: No OFD packet to send [10:50:16]OFD Sender: No OFD packet to send [10:50:21]OFD Sender: No OFD packet to send [10:50:26]OFD Sender: No OFD packet to send [10:50:31]OFD Sender: No OFD packet to send [10:50:36]OFD Sender: No OFD packet to send [10:50:41]OFD Sender: No OFD packet to send [10:50:46]OFD Sender: No OFD packet to send [10:50:51]OFD Sender: No OFD packet to send [10:50:56]OFD Sender: No OFD packet to send [10:51:01]OFD Sender: No OFD packet to send [10:51:06]OFD Sender: No OFD packet to send [10:51:11]OFD Sender: No OFD packet to send [10:51:16]OFD Sender: No OFD packet to send [10:51:21]OFD Sender: No OFD packet to send [10:51:26]OFD Sender: No OFD packet to send [10:51:31]OFD Sender: No OFD packet to send [10:51:36]OFD Sender: No OFD packet to send [10:51:41]OFD Sender: No OFD packet to send [10:51:46]OFD Sender: No OFD packet to send [10:51:51]OFD Sender: No OFD packet to send [10:51:56]OFD Sender: No OFD packet to send [10:52:01]OFD Sender: No OFD packet to send [10:52:06]OFD Sender: No OFD packet to send [10:52:11]OFD Sender: No OFD packet to send [10:52:16]OFD Sender: No OFD packet to send [10:52:21]OFD Sender: No OFD packet to send [10:52:26]OFD Sender: No OFD packet to send [10:52:31]OFD Sender: No OFD packet to send [10:52:36]OFD Sender: No OFD packet to send [10:52:41]OFD Sender: No OFD packet to send [10:52:46]OFD Sender: No OFD packet to send [10:52:51]OFD Sender: No OFD packet to send [10:52:56]OFD Sender: No OFD packet to send [10:53:01]OFD Sender: No OFD packet to send [10:53:06]OFD Sender: No OFD packet to send [10:53:11]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:00]recv_with_timeout no data received [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:35]accept exits with 9 [10:59:35]New connection [10:59:35]New thread 3066748260 created [10:59:35]Thread 3066604900 joined [10:59:35]Waiting for new connection... [10:59:35] Sock 9.Parse request [10:59:35]Sock 9.Check first char [10:59:35]Sock 9.First char is OK [10:59:35]request: POST /json_proto HTTP/1.0 [10:59:35]Method: POST [10:59:35]URL: /json_proto [10:59:35]Method is POST - this is cgi request [10:59:35]url: /json_proto [10:59:35]query_string will be loaded in cgi processing [10:59:35]execute_cgi json_proto POST (null) [10:59:35]execute_cgi path=json_proto method=POST [10:59:35]POST find Content-Length [10:59:35]Host: 172.17.47.195:8080 [10:59:35]Content-Length: 678 [10:59:35]Content-Type: application/json [10:59:35] [10:59:35]POST finish read [10:59:35]Found Content-Length = 678 [10:59:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872587", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 13.280, "sum" : 900.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 900.00, "total" : 900.00, "payments": [ { "type": 0, "sum" : 900.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:59:35]execute_script... [10:59: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 : (1)872587", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 13.280, "sum" : 900.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 900.00, "total" : 900.00, "payments": [ { "type": 0, "sum" : 900.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:59:35]POST & json_proto [10:59:35]process_json_proto [10:59:35]json parsed OK: [10:59:35]protocol is kg_v1.0 [10:59:35]action value=close_receipt [10:59:35]process_action close_receipt [10:59:35]cmd_close_receipt [10:59:35]MH_GetDate [10:59:35]Write to MH i2c: F0 00 00 1D 00 0C [10:59:35]Write i2c OK [10:59:35]MH_I2C_Read... [10:59:35]Read from MH i2c: F0 [10:59:35]MH_I2C_Read... [10:59:35]Read from MH i2c: F0 09 00 [10:59:35]MH_I2C_Read... [10:59:35]Read from MH i2c: F0 09 00 1D 00 00 98 9B F2 66 96 2E 95 66 5F [10:59:35]GetLastDocTimeStamp 1727171946 [10:59:35]current date 1727175576 [10:59:35]FM_GetShiftState [10:59:35]SAM_PROTO_GetShiftState [10:59:35]wFMCommunicate request_size=4 [10:59:35]MH_SAM_APDU [10:59:35]CAPDU: 80 13 01 00 [10:59:35]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [10:59:35]Write i2c OK [10:59:35]MH_I2C_Read... [10:59:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:59:35]Read from MH i2c: E2 [10:59:35]MH_I2C_Read... [10:59:35]Read from MH i2c: E2 0E 00 [10:59:35]MH_I2C_Read... [10:59:35]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 41 [10:59:35]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [10:59:35]wFMCommunicate OK [10:59:35]SAM_PROTO_GetShiftState done [10:59:35]FM_GetShiftState done [10:59:35]opened in 1727137340 [10:59:35]opened+sec_in_day 1727223740 [10:59:35]quantity*price = 90038 [10:59:35]sum+1 = 90039 [10:59:35]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.38 ИТОГО: 900.00 Внесено: 900.00 СДАЧА: 0.00 НСП 1% : 7.97 НДС 12% : 95.62 Наличными: 900.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 36 24.09.2024 10:59 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 ФМ: 0000000002094258 ФД: 7900 ФПД: 269426960176475 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T105936&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7900&fm=269426960176475&tin=02508201610067®Number=0000000000190446&sum=90000 [10:59:36]StoreToDocumentArchive [10:59:36]shift 72 fd 7900 [10:59:36]save to /storage/0072/doc_00007900 [10:59:36]save last doc name /storage/0072/doc_00007900 to /storage/kkm_last_doc_name [10:59:36]save OK [10:59:36]Clear old archive folders... [10:59:36]ProcessDocumentItem done err = 0, tmpTLVsize=251 [10:59:36]tlvbuf is 01079B30 [10:59:36]SAM_PROTO_ClearQueue [10:59:36]wFMCommunicate request_size=4 [10:59:36]MH_SAM_APDU [10:59:36]CAPDU: 80 09 00 00 [10:59:36]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [10:59:36]Write i2c OK [10:59:36]MH_I2C_Read... [10:59:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:59:36]Read from MH i2c: E2 [10:59:36]MH_I2C_Read... [10:59:36]Read from MH i2c: E2 03 00 [10:59:36]MH_I2C_Read... [10:59:36]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [10:59:36]RAPDU: 90 00 [10:59:36]wFMCommunicate OK [10:59:36]SAM_PROTO_ClearQueue done [10:59:36]KKMCreateOFDPacket [10:59:36]OFDProtocolAddRootSTLVToBuf [10:59:36]FM_MakeSignedData [10:59:36]FM_MakeSignedData [10:59:36]SAM_PROTO_SignData [10:59:36]wFMCommunicate request_size=4 [10:59:36]MH_SAM_APDU [10:59:36]CAPDU: 80 0D 01 02 [10:59:36]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [10:59:36]Write i2c OK [10:59:36]MH_I2C_Read... [10:59:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:59:36]Read from MH i2c: E2 [10:59:36]MH_I2C_Read... [10:59:36]Read from MH i2c: E2 03 00 [10:59:36]MH_I2C_Read... [10:59:36]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [10:59:36]RAPDU: 90 00 [10:59:36]wFMCommunicate OK [10:59:36]wFMCommunicate request_size=255 [10:59:36]MH_SAM_APDU [10:59:36]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 E0 33 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 B6 5F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 5F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 25 00 00 00 00 07 04 06 00 90 5F 01 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 98 9B F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DC 1E 00 00 35 04 06 00 F5 [10:59:36]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 E0 33 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 B6 5F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 5F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 25 00 00 00 00 07 04 06 00 90 5F 01 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 98 9B F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DC 1E 00 00 35 04 06 00 F5 00 00 D0 [10:59:36]Write i2c OK [10:59:36]MH_I2C_Read... [10:59:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:59:37]Read from MH i2c: E2 [10:59:37]MH_I2C_Read... [10:59:37]Read from MH i2c: E2 03 00 [10:59:37]MH_I2C_Read... [10:59:37]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [10:59:37]RAPDU: 90 00 [10:59:37]wFMCommunicate OK [10:59:37]wFMCommunicate request_size=10 [10:59:37]MH_SAM_APDU [10:59:37]CAPDU: 80 0D 02 02 05 0A DA 41 15 5B [10:59:37]Write to MH i2c: E2 0D 00 2E 00 80 0D 02 02 05 00 0A DA 41 15 5B 00 00 47 [10:59:37]Write i2c OK [10:59:37]MH_I2C_Read... [10:59:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:59:37]Read from MH i2c: E2 [10:59:37]MH_I2C_Read... [10:59:37]Read from MH i2c: E2 03 00 [10:59:37]MH_I2C_Read... [10:59:37]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [10:59:37]RAPDU: 90 00 [10:59:37]wFMCommunicate OK [10:59:37]wFMCommunicate request_size=4 [10:59:37]MH_SAM_APDU [10:59:37]CAPDU: 80 0D 03 02 [10:59:37]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [10:59:37]Write i2c OK [10:59:37]MH_I2C_Read... [10:59:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:59:37]Read from MH i2c: E2 [10:59:37]MH_I2C_Read... [10:59:37]Read from MH i2c: E2 0B 00 [10:59:37]MH_I2C_Read... [10:59:37]Read from MH i2c: E2 0B 00 2F 00 00 7E 04 3E C8 E8 9A 0F 15 90 00 D9 [10:59:37]RAPDU: 7E 04 3E C8 E8 9A 0F 15 90 00 [10:59:37]wFMCommunicate OK [10:59:37]SAM_PROTO_SignData done [10:59:37]FM_MakeSignedData done [10:59:37]CreateOFDProtocolMessage [10:59:37]wFMCommunicate request_size=4 [10:59:37]MH_SAM_APDU [10:59:37]CAPDU: 80 11 00 00 [10:59:37]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [10:59:37]Write i2c OK [10:59:37]MH_I2C_Read... [10:59:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:59:37]Read from MH i2c: E2 [10:59:37]MH_I2C_Read... [10:59:37]Read from MH i2c: E2 17 00 [10:59:37]MH_I2C_Read... [10:59:37]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 FB [10:59:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [10:59:37]wFMCommunicate OK [10:59:37]CreateOFDProtocolMessage done [10:59:37]OFDSenderStorePacket 7900 [10:59:37]StoreOFDPacket docnum=7900 [10:59:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 84 B8 07 01 20 15 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 E0 33 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 B6 5F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 5F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 25 00 00 00 00 07 04 06 00 90 5F 01 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 98 9B F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DC 1E 00 00 35 04 06 00 F5 0A DA 41 15 5B 7E 04 3E C8 E8 9A 0F 15 [10:59:37]CheckFolder [10:59:37]dirname=/storage/ofd_packets [10:59:37]CheckFolder done [10:59:37]ProducePacketName [10:59:37]name=ofd_packets/00007900 [10:59:37]NVStorageSaveData ofd_packets/00007900 [10:59:37]File name is /storage/ofd_packets/00007900 [10:59:37]Write 301 bytes [10:59:37]NVStorageSaveData done [10:59:37]OFDSenderStorePacket done [10:59:37]KKMCreateOFDPacket done [10:59:37]NVStorageSaveData kkm_last_timestamp [10:59:37]File name is /storage/kkm_last_timestamp [10:59:37]Write 4 bytes [10:59:37]NVStorageSaveData done [10:59:37]ExternCall_PrintAddStr [10:59:37]wPrintStart [10:59:37]Write to MH i2c: 01 00 00 31 00 31 [10:59:37]Write i2c OK [10:59:37]MH_I2C_Read... [10:59:37]Read from MH i2c: 01 [10:59:37]MH_I2C_Read... [10:59:37]Read from MH i2c: 01 07 00 [10:59:37]MH_I2C_Read... [10:59:37]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [10:59:37]RasterBufferAndPrint [10:59:37]line Счет N : (1)872587 [10:59:37]line ИНН: 02508201610067 [10:59:37]line Контрольно-Кассовый Чек [10:59:37]line ПРОДАЖА [10:59:37]line ТРК (МРК, ГНК) : 43 [10:59:37]line Товар: 2710124130 [10:59:37]line Аи-92-К-5 [10:59:37]line 13.280 * 67.80 [10:59:37]line = 900.38 [10:59:37]line НДС 12% НСП 1% [10:59:37]line > о реализуемом товаре [10:59:37]line ОКРУГЛЕНИЕ: -0.38 [10:59:37]line ИТОГО: 900.00 [10:59:37]line Внесено: 900.00 [10:59:37]line СДАЧА: 0.00 [10:59:37]line НСП 1% : 7.97 [10:59:37]line НДС 12% : 95.62 [10:59:37]line Наличными: 900.00 [10:59:37]line Безнал.: 0.00 [10:59:37]line Место: АЗС № 137 "Партнер Нефть" [10:59:37]line Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 [10:59:37]line СНО: Общий режим [10:59:37]line Чек 36 24.09.2024 10:59 [10:59:37]line Смена: 72 ФФД: 1.0 [10:59:37]line ЗНМ: 0300000041 [10:59:37]line РНМ: 0000000000190446 [10:59:37]line Версия ККМ: v1.0 [10:59:37]line ФМ: 0000000002094258 [10:59:37]line ФД: 7900 [10:59:37]line ФПД: 269426960176475 [10:59:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T105936&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7900&fm=269426960176475&tin=02508201610067®Number=0000000000190446&sum=90000 [10:59:37]OFD Sender: Processing packet 7900 [packets to send 51, broken 50] [10:59:37]ProducePacketName [10:59:37]name=ofd_packets/00007900 [10:59:37]OFD Sender: To server: pG, [10:59:37]CommunicateWithHost lk.salyk.kg:30040 [10:59:37]ConnectInit lk.salyk.kg [10:59:37]written 0, free lines is 4095 [10:59:38]Write to MH i2c: 01 00 00 5C 00 5C [10:59:38]Write i2c OK [10:59:38]MH_I2C_Read... [10:59:38]Read from MH i2c: 01 [10:59:38]MH_I2C_Read... [10:59:38]Read from MH i2c: 01 07 00 [10:59:38]MH_I2C_Read... [10:59:38]Read from MH i2c: 01 07 00 5C 00 00 00 00 00 00 F0 0C 5F [10:59:38]RasterBufferAndPrint [10:59:38]line [10:59:38]line [10:59:38]line [10:59:38]line [10:59:38]line [10:59:38]written 0, free lines is 3318 [10:59:38]MH_Cut [10:59:38]Write to MH i2c: D1 01 00 63 00 01 35 [10:59:38]Write i2c OK [10:59:38]MH_I2C_Read... [10:59:38]Read from MH i2c: D1 [10:59:38]MH_I2C_Read... [10:59:38]Read from MH i2c: D1 01 00 [10:59:38]MH_I2C_Read... [10:59:38]Read from MH i2c: D1 01 00 63 00 00 34 [10:59:38]Write to MH i2c: 01 00 00 64 00 64 [10:59:38]Write i2c OK [10:59:38]MH_I2C_Read... [10:59:38]Connected sock=10 [10:59:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 84 B8 07 01 20 15 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 E0 33 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 B6 5F 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 5F 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 25 00 00 00 00 07 04 06 00 90 5F 01 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 98 9B F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DC 1E 00 00 35 04 06 00 F5 0A DA 41 15 5B 7E 04 3E C8 E8 9A 0F 15 [10:59:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 5A 60 47 00 A0 76 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DC 1E 00 00 F4 03 04 00 51 46 F2 66 B6 04 01 00 00 87 96 21 8A 39 64 D9 A0 [10:59:38]CommunicateWithHost err = 0 [10:59:38]CheckOFDResponse [10:59:38]1017 (14) - 77093643461234 [10:59:38]1041 (16) - 0000000002094258 [10:59:38]1040 (4) - 7900 [10:59:38]1012 (4) - 24.09.2024 04:55 [10:59:38]1206 (1) - 0 [10:59:38]OFD Sender: Remove packet 7900 [10:59:38]ProducePacketName [10:59:38]name=ofd_packets/00007900 [10:59:38]NVStorageDeleteData [10:59:38]*** Cut start [10:59:38]*** Purtial cut [10:59:38]*** Stage 1: CUTSNS_PIN = 1 [10:59:39]Read from MH i2c: 01 [10:59:39]MH_I2C_Read... [10:59:39]*** Stop cut motor [10:59:39]*** Cut end [10:59:39]Read from MH i2c: 01 07 00 [10:59:39]MH_I2C_Read... [10:59:39]Read from MH i2c: 01 07 00 64 00 00 00 00 00 00 FF 0F 79 [10:59:39]process_action close_receipt done [10:59:39]requested_data is exist [10:59:39]produce_requested_data [10:59:39]requested_item fm.sn is exist - process it [10:59:39]wFMCommunicate request_size=4 [10:59:39]MH_SAM_APDU [10:59:39]CAPDU: 80 11 00 00 [10:59:39]Write to MH i2c: E2 08 00 65 00 80 11 00 00 00 00 00 00 DF [10:59:39]Write i2c OK [10:59:39]MH_I2C_Read... [10:59:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:59:39]Read from MH i2c: E2 [10:59:39]MH_I2C_Read... [10:59:39]Read from MH i2c: E2 17 00 [10:59:39]MH_I2C_Read... [10:59:39]Read from MH i2c: E2 17 00 65 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 30 [10:59:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [10:59:39]wFMCommunicate OK [10:59:39]requested_item fd.num is exist - process it [10:59:39]SAM_PROTO_GetFieldsCounters [10:59:39]wFMCommunicate request_size=4 [10:59:39]MH_SAM_APDU [10:59:39]CAPDU: 80 13 00 00 [10:59:39]Write to MH i2c: E2 08 00 66 00 80 13 00 00 00 00 00 00 E2 [10:59:39]Write i2c OK [10:59:39]MH_I2C_Read... [10:59:39]OFD Sender: No OFD packet to send [10:59:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:59:39]Read from MH i2c: E2 [10:59:39]MH_I2C_Read... [10:59:39]Read from MH i2c: E2 62 00 [10:59:39]MH_I2C_Read... [10:59:39]Read from MH i2c: E2 62 00 66 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 DC 1E 00 00 0E 04 04 00 48 00 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 AE [10:59:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 DC 1E 00 00 0E 04 04 00 48 00 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:59:39]wFMCommunicate OK [10:59:39]SAM_PROTO_GetFieldsCounters done [10:59:39]requested_item shift.num is exist - process it [10:59:39]requested_item shift.opened is exist - process it [10:59:39]req_shift_opened [10:59:39]FM_GetShiftState [10:59:39]SAM_PROTO_GetShiftState [10:59:39]wFMCommunicate request_size=4 [10:59:39]MH_SAM_APDU [10:59:39]CAPDU: 80 13 01 00 [10:59:39]Write to MH i2c: E2 08 00 67 00 80 13 01 00 00 00 00 00 E4 [10:59:39]Write i2c OK [10:59:39]MH_I2C_Read... [10:59:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:59:39]Read from MH i2c: E2 [10:59:39]MH_I2C_Read... [10:59:39]Read from MH i2c: E2 0E 00 [10:59:39]MH_I2C_Read... [10:59:39]Read from MH i2c: E2 0E 00 67 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 8A [10:59:39]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [10:59:39]wFMCommunicate OK [10:59:39]SAM_PROTO_GetShiftState done [10:59:39]FM_GetShiftState done [10:59:39]req_shift_opened done [10:59:39]requested_item shift.open_date is exist - process it [10:59:39]req_shift_open_date [10:59:39]req_shift_open_date done [10:59:39]produce_requested_data done [10:59:39]produce_requested_data return {"fm.sn":"0000000002094258","fd.num":7900,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [10:59:39]process_action_free close_receipt [10:59:39]json_value_free [10:59:39]json_value_free done [10:59:39]process_json_proto returns [10:59:39]Send response to host [10:59:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002094258","fd.num":7900,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [10:59:39]free response buf [10:59:39]execute_script done [10:59:39]execute_script returns [10:59:39]free content buf [10:59:39]Sock 9.Close socket [10:59:39]Sock 9.Thread stoped [10:59:44]OFD Sender: No OFD packet to send [10:59:49]OFD Sender: No OFD packet to send [10:59:54]OFD Sender: No OFD packet to send [10:59:59]OFD Sender: No OFD packet to send [11:00:04]OFD Sender: No OFD packet to send [11:00:09]OFD Sender: No OFD packet to send [11:00:14]OFD Sender: No OFD packet to send [11:00:19]OFD Sender: No OFD packet to send [11:00:24]OFD Sender: No OFD packet to send [11:00:29]OFD Sender: No OFD packet to send [11:00:32]recv_with_timeout no data received [11:00:34]OFD Sender: No OFD packet to send [11:00:39]OFD Sender: No OFD packet to send [11:00:44]OFD Sender: No OFD packet to send [11:00:49]OFD Sender: No OFD packet to send [11:00:54]OFD Sender: No OFD packet to send [11:00:59]OFD Sender: No OFD packet to send [11:01:04]OFD Sender: No OFD packet to send [11:01:09]OFD Sender: No OFD packet to send [11:01:14]OFD Sender: No OFD packet to send [11:01:19]OFD Sender: No OFD packet to send [11:01:24]OFD Sender: No OFD packet to send [11:01:29]OFD Sender: No OFD packet to send [11:01:34]OFD Sender: No OFD packet to send [11:01:39]OFD Sender: No OFD packet to send [11:01:44]OFD Sender: No OFD packet to send [11:01:49]OFD Sender: No OFD packet to send [11:01:54]OFD Sender: No OFD packet to send [11:01:59]OFD Sender: No OFD packet to send [11:02:04]OFD Sender: No OFD packet to send [11:02:09]OFD Sender: No OFD packet to send [11:02:14]OFD Sender: No OFD packet to send [11:02:19]OFD Sender: No OFD packet to send [11:02:24]OFD Sender: No OFD packet to send [11:02:29]OFD Sender: No OFD packet to send [11:02:34]OFD Sender: No OFD packet to send [11:02:39]OFD Sender: No OFD packet to send [11:02:44]OFD Sender: No OFD packet to send [11:02:49]OFD Sender: No OFD packet to send [11:02:54]OFD Sender: No OFD packet to send [11:02:59]OFD Sender: No OFD packet to send [11:03:04]OFD Sender: No OFD packet to send [11:03:09]OFD Sender: No OFD packet to send [11:03:14]recv_with_timeout no data received [11:03:14]OFD Sender: No OFD packet to send [11:03:19]OFD Sender: No OFD packet to send [11:03:24]OFD Sender: No OFD packet to send [11:03:29]OFD Sender: No OFD packet to send [11:03:34]OFD Sender: No OFD packet to send [11:03:39]OFD Sender: No OFD packet to send [11:03:44]OFD Sender: No OFD packet to send [11:03:49]OFD Sender: No OFD packet to send [11:03:54]OFD Sender: No OFD packet to send [11:03:59]OFD Sender: No OFD packet to send [11:04:04]OFD Sender: No OFD packet to send [11:04:09]OFD Sender: No OFD packet to send [11:04:14]OFD Sender: No OFD packet to send [11:04:19]OFD Sender: No OFD packet to send [11:04:24]OFD Sender: No OFD packet to send [11:04:29]OFD Sender: No OFD packet to send [11:04:34]OFD Sender: No OFD packet to send [11:04:39]OFD Sender: No OFD packet to send [11:04:44]OFD Sender: No OFD packet to send [11:04:49]OFD Sender: No OFD packet to send [11:04:54]OFD Sender: No OFD packet to send [11:04:59]OFD Sender: No OFD packet to send [11:05:04]OFD Sender: No OFD packet to send [11:05:09]OFD Sender: No OFD packet to send [11:05:14]OFD Sender: No OFD packet to send [11:05:19]OFD Sender: No OFD packet to send [11:05:24]OFD Sender: No OFD packet to send [11:05:29]OFD Sender: No OFD packet to send [11:05:34]OFD Sender: No OFD packet to send [11:05:39]OFD Sender: No OFD packet to send [11:05:44]OFD Sender: No OFD packet to send [11:05:49]OFD Sender: No OFD packet to send [11:05:54]OFD Sender: No OFD packet to send [11:05:59]OFD Sender: No OFD packet to send [11:06:04]OFD Sender: No OFD packet to send [11:06:09]OFD Sender: No OFD packet to send [11:06:14]OFD Sender: No OFD packet to send [11:06:19]OFD Sender: No OFD packet to send [11:06:24]OFD Sender: No OFD packet to send [00:00:10] *** EcrCore started. Build 196 *** [00:00:10]/dev/ttyS4 opened [00:00:10]MH_InterfaceInit /dev/i2c-1 [00:00:10]Malloc ok [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 01 00 00 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 01 00 00 03 33 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 24 E0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 1B [00:00:10]Are we in boot? [00:00:10]We are in boot - try to switch [00:00:10]Write to MH i2c: A0 00 00 02 00 A1 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 [00:00:10]MH_I2C_Read... [00:00:10]*** Check firmware version 30515, crc_r 5823D75D, crc_c: 5823D75D, size: 52480 [00:00:10]*** [00:00:10]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:10]*** Starting fw at address 01020100 (2007E318 010246F9) [00:00:10]*** Waiting for read because exit forced [00:00:10]*** 10 ms more... [00:00:10]*** MH1903 init start (LINUX_LIGHT) [00:00:10]*** Serial: 3139303353513838 54000000005724E0 (1903SQ88T) [00:00:10]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:10]*** step 0: 5000 (2650, 2350 REF) [00:00:10]*** step 1: 4835 (2500, 2335 REF) [00:00:10]*** step 2: 4676 (2440, 2236 REF) [00:00:10]*** step 3: 4523 (2280, 2243 REF) [00:00:10]*** step 4: 4376 (2160, 2216 REF) [00:00:10]*** step 5: 4235 (2050, 2185 REF) [00:00:10]*** step 6: 4098 (1950, 2148 REF) [00:00:10]*** step 7: 3967 (1870, 2097 REF) [00:00:10]*** step 8: 3840 (1828, 2012 REF) [00:00:10]*** step 9: 3719 (1728, 1991 REF) [00:00:10]*** step 10: 3601 (1675, 1926 REF) [00:00:10]*** step 11: 3488 (1635, 1853 REF) [00:00:10]*** step 12: 3379 (1595, 1784 REF) [00:00:10]*** step 13: 3275 (1565, 1710 REF) [00:00:10]*** step 14: 3174 (1543, 1631 REF) [00:00:10]*** step 15: 3077 (1523, 1554 REF) [00:00:10]*** step 16: 2983 (1503, 1480 REF) [00:00:10]*** step 17: 2893 (1486, 1407 REF) [00:00:10]*** step 18: 2806 (1466, 1340 REF) [00:00:10]*** step 19: 2723 (1426, 1297 REF) [00:00:10]*** step 20: 2642 (1406, 1236 REF) [00:00:10]*** step 21: 2565 (1384, 1181 REF) [00:00:10]*** step 22: 2490 (1364, 1126 REF) [00:00:10]*** step 23: 2418 (1344, 1074 REF) [00:00:10]*** step 24: 2349 (1322, 1027 REF) [00:00:10]*** step 25: 2283 (1302, 981 REF) [00:00:10]*** step 26: 2218 (1282, 936 REF) [00:00:10]*** step 27: 2157 (1262, 895 REF) [00:00:10]*** step 28: 2097 (1242, 855 REF) [00:00:10]*** step 29: 2040 (1222, 818 REF) [00:00:10]*** step 30: 1985 (1202, 783 REF) [00:00:10]*** step 31: 1932 (1191, 741 REF) [00:00:10]*** step 32: 1880 (1181, 699 REF) [00:00:10]*** step 33: 1831 (1171, 660 REF) [00:00:10]*** step 34: 1784 (1161, 623 REF) [00:00:10]*** step 35: 1738 (1151, 587 REF) [00:00:10]*** step 36: 1694 (1141, 553 REF) [00:00:10]*** step 37: 1652 (1131, 521 REF) [00:00:10]*** step 38: 1611 (1121, 490 REF) [00:00:10]*** step 39: 1572 (1111, 461 REF) [00:00:10]*** step 40: 1534 (1103, 431 REF) [00:00:10]*** step 41: 1497 (1093, 404 REF) [00:00:10]*** step 42: 1462 (1083, 379 REF) [00:00:10]*** step 43: 1428 (1073, 355 REF) [00:00:10]*** step 44: 1396 (1063, 333 REF) [00:00:10]*** step 45: 1365 (1053, 312 REF) [00:00:10]*** step 46: 1334 (1043, 291 REF) [00:00:10]*** step 47: 1305 (1033, 272 REF) [00:00:10]*** step 48: 1277 (1023, 254 REF) [00:00:10]*** step 49: 1250 (1013, 237 REF) [00:00:10]*** step 50: 1224 (990, 234 REF) [00:00:10]*** step 51: 1199 (980, 219 REF) [00:00:10]*** step 52: 1175 (970, 205 REF) [00:00:10]*** step 53: 1152 (960, 192 REF) [00:00:10]*** step 54: 1130 (950, 180 REF) [00:00:10]*** step 55: 1108 (940, 168 REF) [00:00:10]*** step 56: 1088 (930, 158 REF) [00:00:10]*** step 57: 1068 (920, 148 REF) [00:00:10]*** step 58: 1049 (910, 139 REF) [00:00:10]*** step 59: 1030 (900, 130 REF) [00:00:10]*** step 60: 1012 (890, 122 REF) [00:00:10]*** step 61: 995 (880, 115 REF) [00:00:10]*** step 62: 979 (870, 109 REF) [00:00:10]*** step 63: 963 (860, 103 REF) [00:00:10]*** step 64: 948 (850, 98 REF) [00:00:10]*** step 65: 933 (840, 93 REF) [00:00:10]*** step 66: 919 (830, 89 REF) [00:00:10]*** step 67: 905 (820, 85 REF) [00:00:10]*** step 68: 892 (810, 82 REF) [00:00:10]*** step 69: 879 (800, 79 REF) [00:00:10]*** step 70: 867 (790, 77 REF) [00:00:10]*** step 71: 855 (780, 75 REF) [00:00:10]*** step 72: 844 (770, 74 REF) [00:00:10]*** step 73: 833 (760, 73 REF) [00:00:10]*** step 74: 822 (750, 72 REF) [00:00:10]*** step 75: 812 (740, 72 REF) [00:00:10]*** step 76: 803 (730, 73 REF) [00:00:10]*** step 77: 793 (720, 73 REF) [00:00:10]*** step 78: 784 (710, 74 REF) [00:00:10]*** step 79: 776 (700, 76 REF) [00:00:10]*** step 80: 767 (690, 77 REF) [00:00:10]*** step 81: 759 (680, 79 REF) [00:00:10]*** step 82: 751 (670, 81 REF) [00:00:10]*** step 83: 744 (660, 84 REF) [00:00:10]*** step 84: 737 (650, 87 REF) [00:00:10]*** step 85: 730 (640, 90 REF) [00:00:10]*** step 86: 723 (630, 93 REF) [00:00:10]*** step 87: 717 (620, 97 REF) [00:00:10]*** step 88: 710 (610, 100 REF) [00:00:10]*** step 89: 705 (600, 105 REF) [00:00:10]*** step 90: 699 [00:00:10]*** step 91: 693 [00:00:10]*** step 92: 688 [00:00:10]*** step 93: 683 [00:00:10]*** step 94: 678 [00:00:10]*** step 95: 673 [00:00:10]*** step 96: 669 [00:00:10]*** step 97: 664 [00:00:10]*** step 98: 660 [00:00:10]*** step 99: 656 [00:00:10]*** step 100: 652 [00:00:10]*** step 101: 648 [00:00:10]*** step 102: 644 [00:00:10]*** step 103: 641 [00:00:10]*** step 104: 638 [00:00:10]*** step 105: 634 [00:00:10]*** step 106: 631 [00:00:10]*** step 107: 628 [00:00:10]*** step 108: 625 [00:00:10]*** step 109: 622 [00:00:10]*** step 110: 620 [00:00:10]*** step 111: 617 [00:00:10]*** step 112: 615 [00:00:10]*** step 113: 612 [00:00:10]*** step 114: 610 [00:00:10]*** step 115: 608 [00:00:10]*** step 116: 605 [00:00:10]*** step 117: 603 [00:00:10]*** step 118: 601 [00:00:10]*** step 119: 599 [00:00:10]*** printer: Printer HW initialized [00:00:10]*** initSamCard finished [00:00:10]*** RTC: 6123186+1721052822=1727176008 [00:00:10]*** BPK Status Register BPK_RDY = 0x0 [00:00:10]*** SEN State Register SEN_STATE = 0x200ff [00:00:10]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:10]*** Analog Control Register 0 SEN_ANA0 = 0x33510623 [00:00:11]MH_GetMetrics [00:00:11]Write to MH i2c: 00 00 00 03 00 02 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 03 00 00 03 33 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 24 E0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 1C [00:00:11]Are we in boot? [00:00:11]We are not in boot now [00:00:11]Write to MH i2c: 01 00 00 04 00 04 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:11]Model is 3 [00:00:11]MH firmware is 30515 [00:00:11]MH boot firmware is 3 [00:00:11]MH_SetPrinterDots 448 [00:00:11]HeadWidthInBytes 56 [00:00:11]maxmasksize 7 [00:00:11]Write to MH i2c: D6 06 00 05 00 41 00 60 00 FF FF 7F [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:11]Write to MH i2c: D5 00 00 06 00 DA [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]ExternCall_SetCallbacks [00:00:11]NVStorageInit [00:00:11]MH_GetDate [00:00:11]Write to MH i2c: F0 00 00 07 00 F6 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 07 00 00 49 9D F2 66 96 2E 95 66 FC [11:06:49]Current date/time: 24.09.2024 11:06 [11:06:49]FM_Init [11:06:49]wFMConnect [11:06:49]MH_SAM_On [11:06:49]Write to MH i2c: E0 00 00 08 00 E7 [11:06:49]Write i2c OK [11:06:49]MH_I2C_Read... [11:06:49]*** iso7816_init finished! [11:06:49]*** atr: [11:06:49]*** 0F 3B D5 18 FF 81 91 FE [11:06:49]*** 1F C3 80 73 C8 21 10 0A [11:06:49]*** 00 00 00 00 00 00 00 00 [11:06:49]*** 00 00 00 00 00 00 00 00 [11:06:49]*** 00 00 00 00 00 00 00 00 [11:06:49]*** 00 00 00 00 00 00 00 00 [11:06:49]*** 00 00 00 00 00 00 00 00 [11:06:49]*** 00 00 00 00 00 00 00 00 [11:06:49]Read from MH i2c: E0 [11:06:49]MH_I2C_Read... [11:06:49]Read from MH i2c: E0 10 00 [11:06:49]MH_I2C_Read... [11:06:49]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [11:06:49]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [11:06:49]wFMCommunicate request_size=10 [11:06:49]MH_SAM_APDU [11:06:49]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [11:06:49]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [11:06:49]Write i2c OK [11:06:49]MH_I2C_Read... [11:06:49]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [11:06:49]Read from MH i2c: E2 [11:06:49]MH_I2C_Read... [11:06:49]Read from MH i2c: E2 03 00 [11:06:49]MH_I2C_Read... [11:06:49]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [11:06:49]RAPDU: 90 00 [11:06:49]wFMCommunicate OK [11:06:49]wFMCommunicate request_size=4 [11:06:49]MH_SAM_APDU [11:06:49]CAPDU: 80 11 00 00 [11:06:49]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [11:06:49]Write i2c OK [11:06:49]MH_I2C_Read... [11:06:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:06:49]Read from MH i2c: E2 [11:06:49]MH_I2C_Read... [11:06:49]Read from MH i2c: E2 17 00 [11:06:49]MH_I2C_Read... [11:06:49]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 D5 [11:06:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [11:06:49]wFMCommunicate OK [11:06:49]Detected FM SN is 0000000002094258 [11:06:49]Stored FM SN is 0000000002094258 [11:06:49]wFMCommunicate request_size=9 [11:06:49]MH_SAM_APDU [11:06:49]CAPDU: 80 16 00 00 04 BC C2 00 00 [11:06:49]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 BC C2 00 00 00 00 10 [11:06:49]Write i2c OK [11:06:49]MH_I2C_Read... [11:06:49]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [11:06:49]Read from MH i2c: E2 [11:06:49]MH_I2C_Read... [11:06:49]Read from MH i2c: E2 03 00 [11:06:49]MH_I2C_Read... [11:06:49]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [11:06:49]RAPDU: 90 00 [11:06:49]wFMCommunicate OK [11:06:49]FM PIN OK [11:06:49]wFMCommunicate request_size=8 [11:06:49]MH_SAM_APDU [11:06:49]CAPDU: 80 14 04 00 03 02 00 01 [11:06:49]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [11:06:49]Write i2c OK [11:06:49]MH_I2C_Read... [11:06:49]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [11:06:49]Read from MH i2c: E2 [11:06:49]MH_I2C_Read... [11:06:49]Read from MH i2c: E2 03 00 [11:06:49]MH_I2C_Read... [11:06:49]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [11:06:49]RAPDU: 90 00 [11:06:49]wFMCommunicate OK [11:06:49]wFMCommunicate request_size=13 [11:06:49]MH_SAM_APDU [11:06:49]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [11:06:49]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [11:06:49]Write i2c OK [11:06:49]MH_I2C_Read... [11:06:49]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [11:06:49]Read from MH i2c: E2 [11:06:49]MH_I2C_Read... [11:06:49]Read from MH i2c: E2 03 00 [11:06:49]MH_I2C_Read... [11:06:49]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [11:06:49]RAPDU: 90 00 [11:06:49]wFMCommunicate OK [11:06:49]wFMCommunicate request_size=4 [11:06:49]MH_SAM_APDU [11:06:49]CAPDU: 80 11 00 00 [11:06:49]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [11:06:49]Write i2c OK [11:06:49]MH_I2C_Read... [11:06:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:06:49]Read from MH i2c: E2 [11:06:49]MH_I2C_Read... [11:06:49]Read from MH i2c: E2 17 00 [11:06:49]MH_I2C_Read... [11:06:49]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 D9 [11:06:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [11:06:49]wFMCommunicate OK [11:06:49]DocumentArchiveInit [11:06:49]Start Httpd... [11:06:49]Httpd thread 3067747684 created [11:06:49]Write to MH i2c: 01 00 00 0F 00 0F [11:06:49]Write i2c OK [11:06:49]MH_I2C_Read... [11:06:49]Read from MH i2c: 01 [11:06:49]MH_I2C_Read... [11:06:49]Read from MH i2c: 01 07 00 [11:06:49]MH_I2C_Read... [11:06:49]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [11:06:49]MH Int Process started [11:06:49]Allocated Socket 6 [11:06:49]Bind OK [11:06:49]Listen OK [11:06:49]httpd running on port 8080 [11:06:49]Waiting for new connection... [11:06:49]OFD Sender: No OFD packet to send [11:06:50]accept exits with 8 [11:06:50]New connection [11:06:50]New thread 3067460964 created [11:06:50]Waiting for new connection... [11:06:50] Sock 8.Parse request [11:06:50]Sock 8.Check first char [11:06:50]Sock 8.First char is OK [11:06:50]request: POST /json_proto HTTP/1.0 [11:06:50]Method: POST [11:06:50]URL: /json_proto [11:06:50]Method is POST - this is cgi request [11:06:50]url: /json_proto [11:06:50]query_string will be loaded in cgi processing [11:06:50]execute_cgi json_proto POST (null) [11:06:50]execute_cgi path=json_proto method=POST [11:06:50]POST find Content-Length [11:06:50]Host: 172.17.47.195:8080 [11:06:50]Content-Length: 215 [11:06:50]Content-Type: application/json [11:06:50] [11:06:50]POST finish read [11:06:50]Found Content-Length = 215 [11:06:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:06:50]execute_script... [11:06:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:06:50]POST & json_proto [11:06:50]process_json_proto [11:06:50]json parsed OK: [11:06:50]protocol is kg_v1.0 [11:06:50]action value=get_value [11:06:50]process_action get_value [11:06:50]cmd_get_value [11:06:50]process_action get_value done [11:06:50]requested_data is exist [11:06:50]produce_requested_data [11:06:50]requested_item kkm.sn is exist - process it [11:06:50]requested_item kkm.ver is exist - process it [11:06:50]requested_item fm.sn is exist - process it [11:06:50]wFMCommunicate request_size=4 [11:06:50]MH_SAM_APDU [11:06:50]CAPDU: 80 11 00 00 [11:06:50]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [11:06:50]Write i2c OK [11:06:50]MH_I2C_Read... [11:06:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:06:50]Read from MH i2c: E2 [11:06:50]MH_I2C_Read... [11:06:50]Read from MH i2c: E2 17 00 [11:06:50]MH_I2C_Read... [11:06:50]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 DB [11:06:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [11:06:50]wFMCommunicate OK [11:06:50]requested_item fd.num is exist - process it [11:06:50]SAM_PROTO_GetFieldsCounters [11:06:50]wFMCommunicate request_size=4 [11:06:50]MH_SAM_APDU [11:06:50]CAPDU: 80 13 00 00 [11:06:50]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [11:06:50]Write i2c OK [11:06:50]MH_I2C_Read... [11:06:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:06:50]Read from MH i2c: E2 [11:06:50]MH_I2C_Read... [11:06:50]Read from MH i2c: E2 62 00 [11:06:50]MH_I2C_Read... [11:06:50]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 DC 1E 00 00 0E 04 04 00 48 00 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 59 [11:06:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 DC 1E 00 00 0E 04 04 00 48 00 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 [11:06:50]wFMCommunicate OK [11:06:50]SAM_PROTO_GetFieldsCounters done [11:06:50]requested_item shift.num is exist - process it [11:06:50]requested_item shift.opened is exist - process it [11:06:50]req_shift_opened [11:06:50]FM_GetShiftState [11:06:50]SAM_PROTO_GetShiftState [11:06:50]wFMCommunicate request_size=4 [11:06:50]MH_SAM_APDU [11:06:50]CAPDU: 80 13 01 00 [11:06:50]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [11:06:50]Write i2c OK [11:06:50]MH_I2C_Read... [11:06:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:06:50]Read from MH i2c: E2 [11:06:50]MH_I2C_Read... [11:06:50]Read from MH i2c: E2 0E 00 [11:06:50]MH_I2C_Read... [11:06:50]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 35 [11:06:50]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [11:06:50]wFMCommunicate OK [11:06:50]SAM_PROTO_GetShiftState done [11:06:50]FM_GetShiftState done [11:06:50]req_shift_opened done [11:06:50]requested_item shift.open_date is exist - process it [11:06:50]req_shift_open_date [11:06:50]req_shift_open_date done [11:06:50]produce_requested_data done [11:06:50]produce_requested_data return {"kkm.sn":"0300000041","kkm.ver":"v1.0","fm.sn":"0000000002094258","fd.num":7900,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [11:06:50]process_action_free get_value [11:06:50]json_value_free [11:06:50]json_value_free done [11:06:50]process_json_proto returns [11:06:50]Send response to host [11:06:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000041","kkm.ver":"v1.0","fm.sn":"0000000002094258","fd.num":7900,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [11:06:50]free response buf [11:06:50]execute_script done [11:06:50]execute_script returns [11:06:50]free content buf [11:06:50]Sock 8.Close socket [11:06:50]Sock 8.Thread stoped [11:06:50]accept exits with 7 [11:06:50]New connection [11:06:50]New thread 3067317604 created [11:06:50]Thread 3067460964 joined [11:06:50]Waiting for new connection... [11:06:50] Sock 7.Parse request [11:06:50]Sock 7.Check first char [11:06:50]Sock 7.First char is OK [11:06:50]request: POST /json_proto HTTP/1.0 [11:06:50]Method: POST [11:06:50]URL: /json_proto [11:06:50]Method is POST - this is cgi request [11:06:50]url: /json_proto [11:06:50]query_string will be loaded in cgi processing [11:06:50]execute_cgi json_proto POST (null) [11:06:50]execute_cgi path=json_proto method=POST [11:06:50]POST find Content-Length [11:06:50]Host: 172.17.47.195:8080 [11:06:50]Content-Length: 331 [11:06:50]Content-Type: application/json [11:06:50] [11:06:50]POST finish read [11:06:50]Found Content-Length = 331 [11:06:50]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" ] } } [11:06:50]execute_script... [11:06:50]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" ] } } [11:06:50]POST & json_proto [11:06:50]process_json_proto [11:06:50]json parsed OK: [11:06:50]protocol is kg_v1.0 [11:06:50]action value=get_value [11:06:50]process_action get_value [11:06:50]cmd_get_value [11:06:50]process_action get_value done [11:06:50]requested_data is exist [11:06:50]produce_requested_data [11:06:51]requested_item fm.sale.total is exist - process it [11:06:51]SAM_PROTO_GetFMData [11:06:51]wFMCommunicate request_size=4 [11:06:51]MH_SAM_APDU [11:06:51]CAPDU: 80 13 03 00 [11:06:51]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [11:06:51]Write i2c OK [11:06:51]MH_I2C_Read... [11:06:51]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [11:06:51]Read from MH i2c: E2 [11:06:51]MH_I2C_Read... [11:06:51]Read from MH i2c: E2 FD 00 [11:06:51]MH_I2C_Read... [11:06:51]Read from MH i2c: E2 FD 00 13 00 00 C1 04 85 04 BD 04 6E 04 04 00 4C 1E 00 00 69 04 A0 00 6F 04 04 00 1F 1E 00 00 B1 04 04 00 E4 7C 01 32 70 04 04 00 90 6D 05 2A 72 04 04 00 54 0F FC 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 02 C2 4F 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 AF 4F 71 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2D 00 00 00 B1 04 04 00 3C 5C 66 01 70 04 04 00 3C 5C 66 01 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A2 0E 26 EF 03 09 00 F6 03 01 90 00 F0 [11:06:51]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 4C 1E 00 00 69 04 A0 00 6F 04 04 00 1F 1E 00 00 B1 04 04 00 E4 7C 01 32 70 04 04 00 90 6D 05 2A 72 04 04 00 54 0F FC 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 02 C2 4F 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 AF 4F 71 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2D 00 00 00 B1 04 04 00 3C 5C 66 01 70 04 04 00 3C 5C 66 01 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A2 0E 26 EF 03 09 00 F6 03 01 90 00 [11:06:51]wFMCommunicate OK [11:06:51]wFMCommunicate request_size=4 [11:06:51]MH_SAM_APDU [11:06:51]CAPDU: 80 17 00 00 [11:06:51]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [11:06:51]Write i2c OK [11:06:51]MH_I2C_Read... [11:06:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:06:51]Read from MH i2c: E2 [11:06:51]MH_I2C_Read... [11:06:51]Read from MH i2c: E2 FD 00 [11:06:51]MH_I2C_Read... [11:06:51]Read from MH i2c: E2 FD 00 14 00 00 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E7 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 D9 [11:06:51]RAPDU: 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E7 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [11:06:51]wFMCommunicate OK [11:06:51]wFMCommunicate request_size=4 [11:06:51]MH_SAM_APDU [11:06:51]CAPDU: 80 17 00 00 [11:06:51]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [11:06:51]Write i2c OK [11:06:51]MH_I2C_Read... [11:06:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:06:52]Read from MH i2c: E2 [11:06:52]MH_I2C_Read... [11:06:52]Read from MH i2c: E2 FD 00 [11:06:52]MH_I2C_Read... [11:06:52]Read from MH i2c: E2 FD 00 15 00 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 35 [11:06:52]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [11:06:52]wFMCommunicate OK [11:06:52]wFMCommunicate request_size=4 [11:06:52]MH_SAM_APDU [11:06:52]CAPDU: 80 17 00 00 [11:06:52]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [11:06:52]Write i2c OK [11:06:52]MH_I2C_Read... [11:06:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:06:52]Read from MH i2c: E2 [11:06:52]MH_I2C_Read... [11:06:52]Read from MH i2c: E2 FD 00 [11:06:52]MH_I2C_Read... [11:06:52]Read from MH i2c: E2 FD 00 16 00 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1B [11:06:52]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [11:06:52]wFMCommunicate OK [11:06:52]wFMCommunicate request_size=4 [11:06:52]MH_SAM_APDU [11:06:52]CAPDU: 80 17 00 00 [11:06:52]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [11:06:52]Write i2c OK [11:06:52]MH_I2C_Read... [11:06:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [11:06:52]Read from MH i2c: E2 [11:06:52]MH_I2C_Read... [11:06:52]Read from MH i2c: E2 DE 00 [11:06:52]MH_I2C_Read... [11:06:52]Read from MH i2c: E2 DE 00 17 00 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 76 [11:06:52]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [11:06:52]wFMCommunicate OK [11:06:52]SAM_PROTO_GetFMData done [11:06:52]requested_item fm.sale_refund.total is exist - process it [11:06:52]requested_item fm.buy.total is exist - process it [11:06:52]requested_item shift.sale.total is exist - process it [11:06:52]SAM_PROTO_GetShiftData [11:06:52]wFMCommunicate request_size=4 [11:06:52]MH_SAM_APDU [11:06:52]CAPDU: 80 13 02 00 [11:06:52]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [11:06:52]Write i2c OK [11:06:52]MH_I2C_Read... [11:06:53]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:06:53]Read from MH i2c: E2 [11:06:53]MH_I2C_Read... [11:06:53]Read from MH i2c: E2 FD 00 [11:06:53]MH_I2C_Read... [11:06:53]Read from MH i2c: E2 FD 00 18 00 00 AE 04 AA 04 AA 04 6E 04 04 00 24 00 00 00 69 04 9B 00 6F 04 04 00 24 00 00 00 B1 04 03 00 89 CA 2F 70 04 03 00 70 80 2D 72 04 03 00 19 4A 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AE 13 05 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 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 23 [11:06:53]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 24 00 00 00 69 04 9B 00 6F 04 04 00 24 00 00 00 B1 04 03 00 89 CA 2F 70 04 03 00 70 80 2D 72 04 03 00 19 4A 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AE 13 05 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 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [11:06:53]wFMCommunicate OK [11:06:53]wFMCommunicate request_size=4 [11:06:53]MH_SAM_APDU [11:06:53]CAPDU: 80 17 00 00 [11:06:53]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [11:06:53]Write i2c OK [11:06:53]MH_I2C_Read... [11:06:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:06:53]Read from MH i2c: E2 [11:06:53]MH_I2C_Read... [11:06:53]Read from MH i2c: E2 FD 00 [11:06:53]MH_I2C_Read... [11:06:53]Read from MH i2c: E2 FD 00 19 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 BB [11:06:53]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 [11:06:53]wFMCommunicate OK [11:06:53]wFMCommunicate request_size=4 [11:06:53]MH_SAM_APDU [11:06:53]CAPDU: 80 17 00 00 [11:06:53]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [11:06:53]Write i2c OK [11:06:53]MH_I2C_Read... [11:06:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:06:53]Read from MH i2c: E2 [11:06:53]MH_I2C_Read... [11:06:53]Read from MH i2c: E2 FD 00 [11:06:53]MH_I2C_Read... [11:06:53]Read from MH i2c: E2 FD 00 1A 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 51 [11:06:53]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 [11:06:53]wFMCommunicate OK [11:06:53]wFMCommunicate request_size=4 [11:06:53]MH_SAM_APDU [11:06:53]CAPDU: 80 17 00 00 [11:06:53]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [11:06:53]Write i2c OK [11:06:53]MH_I2C_Read... [11:06:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:06:53]Read from MH i2c: E2 [11:06:53]MH_I2C_Read... [11:06:53]Read from MH i2c: E2 FD 00 [11:06:53]MH_I2C_Read... [11:06:53]Read from MH i2c: E2 FD 00 1B 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 0D [11:06:53]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 [11:06:54]wFMCommunicate OK [11:06:54]wFMCommunicate request_size=4 [11:06:54]MH_SAM_APDU [11:06:54]CAPDU: 80 17 00 00 [11:06:54]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [11:06:54]Write i2c OK [11:06:54]MH_I2C_Read... [11:06:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [11:06:54]Read from MH i2c: E2 [11:06:54]MH_I2C_Read... [11:06:54]Read from MH i2c: E2 CB 00 [11:06:54]MH_I2C_Read... [11:06:54]Read from MH i2c: E2 CB 00 1C 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [11:06:54]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 [11:06:54]wFMCommunicate OK [11:06:54]SAM_PROTO_GetShiftData done [11:06:54]requested_item shift.sale.total_cash is exist - process it [11:06:54]requested_item shift.sale_refund.total is exist - process it [11:06:54]requested_item shift.sale_refund.total_cash is exist - process it [11:06:54]requested_item shift.buy.total is exist - process it [11:06:54]requested_item shift.buy.total_cash is exist - process it [11:06:54]produce_requested_data done [11:06:54]produce_requested_data return {"fm.sale.total":8389583.08,"fm.sale_refund.total":234855.00,"fm.buy.total":0.00,"shift.sale.total":31320.41,"shift.sale.total_cash":29820.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} [11:06:54]process_action_free get_value [11:06:54]json_value_free [11:06:54]json_value_free done [11:06:54]process_json_proto returns [11:06:54]Send response to host [11:06:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8389583.08,"fm.sale_refund.total":234855.00,"fm.buy.total":0.00,"shift.sale.total":31320.41,"shift.sale.total_cash":29820.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}}} [11:06:54]free response buf [11:06:54]execute_script done [11:06:54]execute_script returns [11:06:54]free content buf [11:06:54]Sock 7.Close socket [11:06:54]Sock 7.Thread stoped [11:06:54]OFD Sender: No OFD packet to send [11:06:59]OFD Sender: No OFD packet to send [11:07:04]OFD Sender: No OFD packet to send [11:07:09]OFD Sender: No OFD packet to send [11:07:14]OFD Sender: No OFD packet to send [11:07:19]OFD Sender: No OFD packet to send [11:07:24]OFD Sender: No OFD packet to send [11:07:29]OFD Sender: No OFD packet to send [11:07:34]OFD Sender: No OFD packet to send [11:07:39]OFD Sender: No OFD packet to send [11:07:44]OFD Sender: No OFD packet to send [11:07:49]OFD Sender: No OFD packet to send [11:07:54]OFD Sender: No OFD packet to send [11:07:57]recv_with_timeout no data received [11:07:59]OFD Sender: No OFD packet to send [11:08:04]OFD Sender: No OFD packet to send [11:08:09]OFD Sender: No OFD packet to send [11:08:14]OFD Sender: No OFD packet to send [11:08:19]OFD Sender: No OFD packet to send [11:08:24]OFD Sender: No OFD packet to send [11:08:29]OFD Sender: No OFD packet to send [11:08:34]OFD Sender: No OFD packet to send [11:08:39]OFD Sender: No OFD packet to send [11:08:44]OFD Sender: No OFD packet to send [11:08:49]OFD Sender: No OFD packet to send [11:08:54]OFD Sender: No OFD packet to send [11:08:59]OFD Sender: No OFD packet to send [11:09:04]OFD Sender: No OFD packet to send [11:09:09]OFD Sender: No OFD packet to send [11:09:09]recv_with_timeout no data received [11:09:14]OFD Sender: No OFD packet to send [11:09:19]OFD Sender: No OFD packet to send [11:09:24]OFD Sender: No OFD packet to send [11:09:29]OFD Sender: No OFD packet to send [11:09:34]OFD Sender: No OFD packet to send [11:09:39]OFD Sender: No OFD packet to send [11:09:44]OFD Sender: No OFD packet to send [11:09:49]OFD Sender: No OFD packet to send [11:09:54]OFD Sender: No OFD packet to send [11:09:59]OFD Sender: No OFD packet to send [11:10:04]OFD Sender: No OFD packet to send [11:10:09]OFD Sender: No OFD packet to send [11:10:14]OFD Sender: No OFD packet to send [11:10:18]recv_with_timeout no data received [11:10:19]OFD Sender: No OFD packet to send [11:10:24]OFD Sender: No OFD packet to send [11:10:29]OFD Sender: No OFD packet to send [11:10:34]OFD Sender: No OFD packet to send [11:10:36]recv_with_timeout no data received [11:10:39]OFD Sender: No OFD packet to send [11:10:44]OFD Sender: No OFD packet to send [11:10:49]OFD Sender: No OFD packet to send [11:10:54]OFD Sender: No OFD packet to send [11:10:59]OFD Sender: No OFD packet to send [11:11:04]OFD Sender: No OFD packet to send [11:11:09]OFD Sender: No OFD packet to send [11:11:14]OFD Sender: No OFD packet to send [11:11:19]OFD Sender: No OFD packet to send [11:11:23]recv_with_timeout no data received [11:11:24]OFD Sender: No OFD packet to send [11:11:29]OFD Sender: No OFD packet to send [11:11:34]OFD Sender: No OFD packet to send [11:11:39]OFD Sender: No OFD packet to send [11:11:44]OFD Sender: No OFD packet to send [11:11:49]OFD Sender: No OFD packet to send [11:11:54]OFD Sender: No OFD packet to send [11:11:59]OFD Sender: No OFD packet to send [11:12:04]OFD Sender: No OFD packet to send [11:12:09]OFD Sender: No OFD packet to send [11:12:14]OFD Sender: No OFD packet to send [11:12:19]OFD Sender: No OFD packet to send [11:12:24]OFD Sender: No OFD packet to send [11:12:29]OFD Sender: No OFD packet to send [11:12:34]OFD Sender: No OFD packet to send [11:12:39]OFD Sender: No OFD packet to send [11:12:44]OFD Sender: No OFD packet to send [11:12:49]OFD Sender: No OFD packet to send [11:12:54]recv_with_timeout no data received [11:12:54]OFD Sender: No OFD packet to send [11:12:59]OFD Sender: No OFD packet to send [11:13:04]OFD Sender: No OFD packet to send [11:13:09]OFD Sender: No OFD packet to send [11:13:14]OFD Sender: No OFD packet to send [11:13:19]recv_with_timeout no data received [11:13:19]OFD Sender: No OFD packet to send [11:13:24]OFD Sender: No OFD packet to send [11:13:29]OFD Sender: No OFD packet to send [11:13:34]OFD Sender: No OFD packet to send [11:13:39]OFD Sender: No OFD packet to send [11:13:44]OFD Sender: No OFD packet to send [11:13:49]OFD Sender: No OFD packet to send [11:13:54]recv_with_timeout no data received [11:13:54]OFD Sender: No OFD packet to send [11:13:59]OFD Sender: No OFD packet to send [11:14:04]OFD Sender: No OFD packet to send [11:14:09]OFD Sender: No OFD packet to send [11:14:14]OFD Sender: No OFD packet to send [11:14:19]OFD Sender: No OFD packet to send [11:14:24]recv_with_timeout no data received [11:14:24]OFD Sender: No OFD packet to send [11:14:29]OFD Sender: No OFD packet to send [11:14:34]OFD Sender: No OFD packet to send [11:14:39]OFD Sender: No OFD packet to send [11:14:44]OFD Sender: No OFD packet to send [11:14:49]OFD Sender: No OFD packet to send [11:14:54]OFD Sender: No OFD packet to send [11:15:00]OFD Sender: No OFD packet to send [11:15:05]OFD Sender: No OFD packet to send [11:15:10]OFD Sender: No OFD packet to send [11:15:15]OFD Sender: No OFD packet to send [11:15:20]OFD Sender: No OFD packet to send [11:15:25]OFD Sender: No OFD packet to send [11:15:30]OFD Sender: No OFD packet to send [11:15:35]OFD Sender: No OFD packet to send [11:15:40]OFD Sender: No OFD packet to send [11:15:45]OFD Sender: No OFD packet to send [11:15:50]OFD Sender: No OFD packet to send [11:15:55]OFD Sender: No OFD packet to send [11:16:00]OFD Sender: No OFD packet to send [11:16:05]OFD Sender: No OFD packet to send [11:16:10]OFD Sender: No OFD packet to send [11:16:13]recv_with_timeout no data received [11:16:15]OFD Sender: No OFD packet to send [11:16:20]OFD Sender: No OFD packet to send [11:16:25]OFD Sender: No OFD packet to send [11:16:30]OFD Sender: No OFD packet to send [11:16:35]OFD Sender: No OFD packet to send [11:16:40]OFD Sender: No OFD packet to send [11:16:45]OFD Sender: No OFD packet to send [11:16:50]OFD Sender: No OFD packet to send [11:16:55]OFD Sender: No OFD packet to send [11:17:00]OFD Sender: No OFD packet to send [11:17:05]OFD Sender: No OFD packet to send [11:17:10]OFD Sender: No OFD packet to send [11:17:10]recv_with_timeout no data received [11:17:15]OFD Sender: No OFD packet to send [11:17:20]OFD Sender: No OFD packet to send [11:17:25]OFD Sender: No OFD packet to send [11:17:30]OFD Sender: No OFD packet to send [11:17:35]OFD Sender: No OFD packet to send [11:17:40]OFD Sender: No OFD packet to send [11:17:45]OFD Sender: No OFD packet to send [11:17:50]OFD Sender: No OFD packet to send [11:17:55]OFD Sender: No OFD packet to send [11:18:00]OFD Sender: No OFD packet to send [11:18:05]OFD Sender: No OFD packet to send [11:18:10]OFD Sender: No OFD packet to send [11:18:15]OFD Sender: No OFD packet to send [11:18:20]OFD Sender: No OFD packet to send [11:18:25]OFD Sender: No OFD packet to send [11:18:30]OFD Sender: No OFD packet to send [11:18:35]OFD Sender: No OFD packet to send [11:18:40]OFD Sender: No OFD packet to send [11:18:45]OFD Sender: No OFD packet to send [11:18:50]OFD Sender: No OFD packet to send [11:18:55]OFD Sender: No OFD packet to send [11:19:00]OFD Sender: No OFD packet to send [11:19:05]OFD Sender: No OFD packet to send [11:19:10]OFD Sender: No OFD packet to send [11:19:15]OFD Sender: No OFD packet to send [11:19:20]OFD Sender: No OFD packet to send [11:19:22]recv_with_timeout no data received [11:19:25]OFD Sender: No OFD packet to send [11:19:30]OFD Sender: No OFD packet to send [11:19:35]OFD Sender: No OFD packet to send [11:19:40]OFD Sender: No OFD packet to send [11:19:45]OFD Sender: No OFD packet to send [11:19:50]OFD Sender: No OFD packet to send [11:19:55]OFD Sender: No OFD packet to send [11:20:00]OFD Sender: No OFD packet to send [11:20:05]OFD Sender: No OFD packet to send [11:20:10]OFD Sender: No OFD packet to send [11:20:15]OFD Sender: No OFD packet to send [11:20:20]OFD Sender: No OFD packet to send [11:20:25]OFD Sender: No OFD packet to send [11:20:30]OFD Sender: No OFD packet to send [11:20:35]OFD Sender: No OFD packet to send [11:20:40]OFD Sender: No OFD packet to send [11:20:45]OFD Sender: No OFD packet to send [11:20:50]OFD Sender: No OFD packet to send [11:20:55]OFD Sender: No OFD packet to send [11:21:00]OFD Sender: No OFD packet to send [11:21:05]OFD Sender: No OFD packet to send [11:21:10]OFD Sender: No OFD packet to send [11:21:15]OFD Sender: No OFD packet to send [11:21:20]OFD Sender: No OFD packet to send [11:21:25]OFD Sender: No OFD packet to send [11:21:30]OFD Sender: No OFD packet to send [11:21:35]OFD Sender: No OFD packet to send [11:21:40]OFD Sender: No OFD packet to send [11:21:45]OFD Sender: No OFD packet to send [11:21:50]OFD Sender: No OFD packet to send [11:21:55]OFD Sender: No OFD packet to send [11:22:00]OFD Sender: No OFD packet to send [11:22:05]OFD Sender: No OFD packet to send [11:22:10]OFD Sender: No OFD packet to send [11:22:15]OFD Sender: No OFD packet to send [11:22:20]OFD Sender: No OFD packet to send [11:22:25]OFD Sender: No OFD packet to send [11:22:30]OFD Sender: No OFD packet to send [11:22:35]OFD Sender: No OFD packet to send [11:22:40]OFD Sender: No OFD packet to send [11:22:45]OFD Sender: No OFD packet to send [11:22:50]OFD Sender: No OFD packet to send [11:22:55]OFD Sender: No OFD packet to send [11:23:00]OFD Sender: No OFD packet to send [11:23:05]OFD Sender: No OFD packet to send [11:23:10]OFD Sender: No OFD packet to send [11:23:15]OFD Sender: No OFD packet to send [11:23:20]OFD Sender: No OFD packet to send [11:23:25]OFD Sender: No OFD packet to send [11:23:30]OFD Sender: No OFD packet to send [11:23:35]OFD Sender: No OFD packet to send [11:23:40]OFD Sender: No OFD packet to send [11:23:45]OFD Sender: No OFD packet to send [11:23:50]OFD Sender: No OFD packet to send [11:23:55]OFD Sender: No OFD packet to send [11:24:00]OFD Sender: No OFD packet to send [11:24:05]OFD Sender: No OFD packet to send [11:24:10]OFD Sender: No OFD packet to send [11:24:15]OFD Sender: No OFD packet to send [11:24:20]OFD Sender: No OFD packet to send [11:24:25]OFD Sender: No OFD packet to send [11:24:30]OFD Sender: No OFD packet to send [11:24:32]recv_with_timeout no data received [11:24:35]OFD Sender: No OFD packet to send [11:24:40]OFD Sender: No OFD packet to send [11:24:45]OFD Sender: No OFD packet to send [11:24:50]OFD Sender: No OFD packet to send [11:24:55]OFD Sender: No OFD packet to send [11:25:00]OFD Sender: No OFD packet to send [11:25:05]OFD Sender: No OFD packet to send [11:25:10]OFD Sender: No OFD packet to send [11:25:15]OFD Sender: No OFD packet to send [11:25:20]OFD Sender: No OFD packet to send [11:25:25]OFD Sender: No OFD packet to send [11:25:30]OFD Sender: No OFD packet to send [11:25:35]OFD Sender: No OFD packet to send [11:25:40]OFD Sender: No OFD packet to send [11:25:45]OFD Sender: No OFD packet to send [11:25:50]OFD Sender: No OFD packet to send [11:25:55]OFD Sender: No OFD packet to send [11:26:00]OFD Sender: No OFD packet to send [11:26:05]OFD Sender: No OFD packet to send [11:26:10]OFD Sender: No OFD packet to send [11:26:15]OFD Sender: No OFD packet to send [11:26:20]OFD Sender: No OFD packet to send [11:26:25]OFD Sender: No OFD packet to send [11:26:30]OFD Sender: No OFD packet to send [11:26:35]OFD Sender: No OFD packet to send [11:26:40]OFD Sender: No OFD packet to send [11:26:45]OFD Sender: No OFD packet to send [11:26:50]OFD Sender: No OFD packet to send [11:26:55]OFD Sender: No OFD packet to send [11:27:00]OFD Sender: No OFD packet to send [11:27:05]OFD Sender: No OFD packet to send [11:27:10]OFD Sender: No OFD packet to send [11:27:15]OFD Sender: No OFD packet to send [11:27:20]OFD Sender: No OFD packet to send [11:27:25]OFD Sender: No OFD packet to send [11:27:30]OFD Sender: No OFD packet to send [11:27:35]recv_with_timeout no data received [11:27:35]OFD Sender: No OFD packet to send [11:27:40]OFD Sender: No OFD packet to send [11:27:45]OFD Sender: No OFD packet to send [11:27:50]OFD Sender: No OFD packet to send [11:27:55]OFD Sender: No OFD packet to send [11:28:00]OFD Sender: No OFD packet to send [11:28:05]OFD Sender: No OFD packet to send [11:28:10]OFD Sender: No OFD packet to send [11:28:15]OFD Sender: No OFD packet to send [11:28:20]OFD Sender: No OFD packet to send [11:28:25]OFD Sender: No OFD packet to send [11:28:30]OFD Sender: No OFD packet to send [11:28:35]OFD Sender: No OFD packet to send [11:28:40]OFD Sender: No OFD packet to send [11:28:45]OFD Sender: No OFD packet to send [11:28:50]OFD Sender: No OFD packet to send [11:28:55]OFD Sender: No OFD packet to send [11:29:00]OFD Sender: No OFD packet to send [11:29:05]OFD Sender: No OFD packet to send [11:29:10]OFD Sender: No OFD packet to send [11:29:15]OFD Sender: No OFD packet to send [11:29:20]OFD Sender: No OFD packet to send [11:29:25]OFD Sender: No OFD packet to send [11:29:30]OFD Sender: No OFD packet to send [11:29:35]OFD Sender: No OFD packet to send [11:29:40]OFD Sender: No OFD packet to send [11:29:45]OFD Sender: No OFD packet to send [11:29:50]OFD Sender: No OFD packet to send [11:29:55]recv_with_timeout no data received [11:29:55]OFD Sender: No OFD packet to send [11:30:00]OFD Sender: No OFD packet to send [11:30:05]OFD Sender: No OFD packet to send [11:30:10]OFD Sender: No OFD packet to send [11:30:15]OFD Sender: No OFD packet to send [11:30:20]OFD Sender: No OFD packet to send [11:30:25]OFD Sender: No OFD packet to send [11:30:30]OFD Sender: No OFD packet to send [11:30:35]OFD Sender: No OFD packet to send [11:30:40]OFD Sender: No OFD packet to send [11:30:45]OFD Sender: No OFD packet to send [11:30:50]OFD Sender: No OFD packet to send [11:30:55]OFD Sender: No OFD packet to send [11:31:00]OFD Sender: No OFD packet to send [11:31:05]OFD Sender: No OFD packet to send [11:31:10]OFD Sender: No OFD packet to send [11:31:14]recv_with_timeout no data received [11:31:15]OFD Sender: No OFD packet to send [11:31:20]OFD Sender: No OFD packet to send [11:31:25]OFD Sender: No OFD packet to send [11:31:30]OFD Sender: No OFD packet to send [11:31:35]OFD Sender: No OFD packet to send [11:31:40]OFD Sender: No OFD packet to send [11:31:44]recv_with_timeout no data received [11:31:45]OFD Sender: No OFD packet to send [11:31:50]OFD Sender: No OFD packet to send [11:31:55]OFD Sender: No OFD packet to send [11:32:00]OFD Sender: No OFD packet to send [11:32:03]recv_with_timeout no data received [11:32:05]OFD Sender: No OFD packet to send [11:32:10]OFD Sender: No OFD packet to send [11:32:15]OFD Sender: No OFD packet to send [11:32:20]OFD Sender: No OFD packet to send [11:32:25]OFD Sender: No OFD packet to send [11:32:30]OFD Sender: No OFD packet to send [11:32:35]OFD Sender: No OFD packet to send [11:32:40]OFD Sender: No OFD packet to send [11:32:45]OFD Sender: No OFD packet to send [11:32:50]OFD Sender: No OFD packet to send [11:32:55]OFD Sender: No OFD packet to send [11:33:00]OFD Sender: No OFD packet to send [11:33:05]OFD Sender: No OFD packet to send [11:33:10]OFD Sender: No OFD packet to send [11:33:16]OFD Sender: No OFD packet to send [11:33:19]recv_with_timeout no data received [11:33:21]OFD Sender: No OFD packet to send [11:33:26]OFD Sender: No OFD packet to send [11:33:31]OFD Sender: No OFD packet to send [11:33:36]OFD Sender: No OFD packet to send [11:33:41]OFD Sender: No OFD packet to send [11:33:46]OFD Sender: No OFD packet to send [11:33:51]OFD Sender: No OFD packet to send [11:33:56]OFD Sender: No OFD packet to send [11:33:58]accept exits with 8 [11:33:58]New connection [11:33:58]New thread 3067460964 created [11:33:58]Thread 3067317604 joined [11:33:58]Waiting for new connection... [11:33:58] Sock 8.Parse request [11:33:58]Sock 8.Check first char [11:33:58]Sock 8.First char is OK [11:33:58]request: POST /json_proto HTTP/1.0 [11:33:58]Method: POST [11:33:58]URL: /json_proto [11:33:58]Method is POST - this is cgi request [11:33:58]url: /json_proto [11:33:58]query_string will be loaded in cgi processing [11:33:58]execute_cgi json_proto POST (null) [11:33:58]execute_cgi path=json_proto method=POST [11:33:58]POST find Content-Length [11:33:58]Host: 172.17.47.195:8080 [11:33:58]Content-Length: 984 [11:33:58]Content-Type: application/json [11:33:58] [11:33:58]POST finish read [11:33:58]Found Content-Length = 984 [11:33:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872603", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.80, "quantity" : 22.460, "sum" : 1500.33, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u000A\u0414\u0438\u0441\u043A\u043E\u043D\u0442\u043D\u0430\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430\u000A\u0410\u0418-92\u000A\u043D\u043E\u043C\u0435\u0440 137\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 22.46 \u0441\u043E\u043C", "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:33:58]execute_script... [11:33:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872603", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.80, "quantity" : 22.460, "sum" : 1500.33, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u000A\u0414\u0438\u0441\u043A\u043E\u043D\u0442\u043D\u0430\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430\u000A\u0410\u0418-92\u000A\u043D\u043E\u043C\u0435\u0440 137\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 22.46 \u0441\u043E\u043C", "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:33:58]POST & json_proto [11:33:58]process_json_proto [11:33:58]json parsed OK: [11:33:58]protocol is kg_v1.0 [11:33:58]action value=close_receipt [11:33:58]process_action close_receipt [11:33:58]cmd_close_receipt [11:33:58]MH_GetDate [11:33:58]Write to MH i2c: F0 00 00 1D 00 0C [11:33:58]Write i2c OK [11:33:58]MH_I2C_Read... [11:33:58]Read from MH i2c: F0 [11:33:58]MH_I2C_Read... [11:33:58]Read from MH i2c: F0 09 00 [11:33:58]MH_I2C_Read... [11:33:58]Read from MH i2c: F0 09 00 1D 00 00 A6 A3 F2 66 96 2E 95 66 75 [11:33:58]GetLastDocTimeStamp 1727175576 [11:33:58]current date 1727177638 [11:33:58]FM_GetShiftState [11:33:58]SAM_PROTO_GetShiftState [11:33:58]wFMCommunicate request_size=4 [11:33:58]MH_SAM_APDU [11:33:58]CAPDU: 80 13 01 00 [11:33:58]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [11:33:58]Write i2c OK [11:33:58]MH_I2C_Read... [11:33:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:33:58]Read from MH i2c: E2 [11:33:58]MH_I2C_Read... [11:33:58]Read from MH i2c: E2 0E 00 [11:33:58]MH_I2C_Read... [11:33:58]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 41 [11:33:58]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [11:33:58]wFMCommunicate OK [11:33:58]SAM_PROTO_GetShiftState done [11:33:58]FM_GetShiftState done [11:33:58]opened in 1727137340 [11:33:58]opened+sec_in_day 1727223740 [11:33:58]quantity*price = 150032 [11:33:58]sum+1 = 150034 [11:33:58]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.33 ИТОГО: 1500.00 Внесено: 1500.00 СДАЧА: 0.00 НСП 1% : 13.28 НДС 12% : 159.33 Наличными: 1500.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 37 24.09.2024 11:33 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 Дисконтная программа АИ-92 номер 137 сэкономлено 22.46 сом ФМ: 0000000002094258 ФД: 7901 ФПД: 88261515591302 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T113359&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7901&fm=88261515591302&tin=02508201610067®Number=0000000000190446&sum=150000 [11:33:59]StoreToDocumentArchive [11:33:59]shift 72 fd 7901 [11:33:59]save to /storage/0072/doc_00007901 [11:33:59]save last doc name /storage/0072/doc_00007901 to /storage/kkm_last_doc_name [11:33:59]save OK [11:33:59]Clear old archive folders... [11:33:59]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:33:59]tlvbuf is 00F420D0 [11:33:59]SAM_PROTO_ClearQueue [11:33:59]wFMCommunicate request_size=4 [11:33:59]MH_SAM_APDU [11:33:59]CAPDU: 80 09 00 00 [11:33:59]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [11:33:59]Write i2c OK [11:33:59]MH_I2C_Read... [11:33:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:33:59]Read from MH i2c: E2 [11:33:59]MH_I2C_Read... [11:33:59]Read from MH i2c: E2 03 00 [11:33:59]MH_I2C_Read... [11:33:59]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [11:33:59]RAPDU: 90 00 [11:33:59]wFMCommunicate OK [11:33:59]SAM_PROTO_ClearQueue done [11:33:59]KKMCreateOFDPacket [11:33:59]OFDProtocolAddRootSTLVToBuf [11:33:59]FM_MakeSignedData [11:33:59]FM_MakeSignedData [11:33:59]SAM_PROTO_SignData [11:33:59]wFMCommunicate request_size=4 [11:33:59]MH_SAM_APDU [11:33:59]CAPDU: 80 0D 01 02 [11:33:59]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [11:33:59]Write i2c OK [11:33:59]MH_I2C_Read... [11:33:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:33:59]Read from MH i2c: E2 [11:33:59]MH_I2C_Read... [11:33:59]Read from MH i2c: E2 03 00 [11:33:59]MH_I2C_Read... [11:33:59]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [11:33:59]RAPDU: 90 00 [11:33:59]wFMCommunicate OK [11:33:59]wFMCommunicate request_size=255 [11:33:59]MH_SAM_APDU [11:33:59]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 BC 57 00 00 00 00 00 37 04 06 00 18 1A 00 00 00 00 13 04 06 00 11 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 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 A7 A3 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DD 1E 00 00 35 04 06 00 50 [11:33:59]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 BC 57 00 00 00 00 00 37 04 06 00 18 1A 00 00 00 00 13 04 06 00 11 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 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 A7 A3 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DD 1E 00 00 35 04 06 00 50 00 00 CE [11:33:59]Write i2c OK [11:33:59]MH_I2C_Read... [11:34:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:34:00]Read from MH i2c: E2 [11:34:00]MH_I2C_Read... [11:34:00]Read from MH i2c: E2 03 00 [11:34:00]MH_I2C_Read... [11:34:00]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [11:34:00]RAPDU: 90 00 [11:34:00]wFMCommunicate OK [11:34:00]wFMCommunicate request_size=10 [11:34:00]MH_SAM_APDU [11:34:00]CAPDU: 80 0D 02 02 05 45 FC 48 BE 86 [11:34:00]Write to MH i2c: E2 0D 00 2E 00 80 0D 02 02 05 00 45 FC 48 BE 86 00 00 7F [11:34:00]Write i2c OK [11:34:00]MH_I2C_Read... [11:34:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:34:00]Read from MH i2c: E2 [11:34:00]MH_I2C_Read... [11:34:00]Read from MH i2c: E2 03 00 [11:34:00]MH_I2C_Read... [11:34:00]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [11:34:00]RAPDU: 90 00 [11:34:00]wFMCommunicate OK [11:34:00]wFMCommunicate request_size=4 [11:34:00]MH_SAM_APDU [11:34:00]CAPDU: 80 0D 03 02 [11:34:00]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [11:34:00]Write i2c OK [11:34:00]MH_I2C_Read... [11:34:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:34:00]Read from MH i2c: E2 [11:34:00]MH_I2C_Read... [11:34:00]Read from MH i2c: E2 0B 00 [11:34:00]MH_I2C_Read... [11:34:00]Read from MH i2c: E2 0B 00 2F 00 00 80 97 51 7C 8A 6E FB D0 90 00 52 [11:34:00]RAPDU: 80 97 51 7C 8A 6E FB D0 90 00 [11:34:00]wFMCommunicate OK [11:34:00]SAM_PROTO_SignData done [11:34:00]FM_MakeSignedData done [11:34:00]CreateOFDProtocolMessage [11:34:00]wFMCommunicate request_size=4 [11:34:00]MH_SAM_APDU [11:34:00]CAPDU: 80 11 00 00 [11:34:00]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [11:34:00]Write i2c OK [11:34:00]MH_I2C_Read... [11:34:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:34:00]Read from MH i2c: E2 [11:34:00]MH_I2C_Read... [11:34:00]Read from MH i2c: E2 17 00 [11:34:00]MH_I2C_Read... [11:34:00]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 FB [11:34:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [11:34:00]wFMCommunicate OK [11:34:00]CreateOFDProtocolMessage done [11:34:00]OFDSenderStorePacket 7901 [11:34:00]StoreOFDPacket docnum=7901 [11:34:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 4B D7 07 01 72 16 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 BC 57 00 00 00 00 00 37 04 06 00 18 1A 00 00 00 00 13 04 06 00 11 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 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 A7 A3 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DD 1E 00 00 35 04 06 00 50 45 FC 48 BE 86 80 97 51 7C 8A 6E FB D0 [11:34:00]CheckFolder [11:34:00]dirname=/storage/ofd_packets [11:34:00]CheckFolder done [11:34:00]ProducePacketName [11:34:00]name=ofd_packets/00007901 [11:34:00]NVStorageSaveData ofd_packets/00007901 [11:34:00]File name is /storage/ofd_packets/00007901 [11:34:00]Write 301 bytes [11:34:00]NVStorageSaveData done [11:34:00]OFDSenderStorePacket done [11:34:00]KKMCreateOFDPacket done [11:34:00]NVStorageSaveData kkm_last_timestamp [11:34:00]File name is /storage/kkm_last_timestamp [11:34:00]Write 4 bytes [11:34:00]NVStorageSaveData done [11:34:00]ExternCall_PrintAddStr [11:34:00]wPrintStart [11:34:00]Write to MH i2c: 01 00 00 31 00 31 [11:34:00]Write i2c OK [11:34:00]MH_I2C_Read... [11:34:00]Read from MH i2c: 01 [11:34:00]MH_I2C_Read... [11:34:00]Read from MH i2c: 01 07 00 [11:34:00]MH_I2C_Read... [11:34:00]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [11:34:00]RasterBufferAndPrint [11:34:00]line Счет N : (1)872603 [11:34:00]line ИНН: 02508201610067 [11:34:00]line Контрольно-Кассовый Чек [11:34:00]line ПРОДАЖА [11:34:00]line ТРК (МРК, ГНК) : 43 [11:34:00]line Товар: 2710124130 [11:34:00]line Аи-92-К-5 [11:34:00]line 22.460 * 66.80 [11:34:00]line = 1500.33 [11:34:00]line НДС 12% НСП 1% [11:34:00]line > о реализуемом товаре [11:34:00]line ОКРУГЛЕНИЕ: -0.33 [11:34:00]line ИТОГО: 1500.00 [11:34:00]line Внесено: 1500.00 [11:34:00]line СДАЧА: 0.00 [11:34:00]line НСП 1% : 13.28 [11:34:00]line НДС 12% : 159.33 [11:34:00]line Наличными: 1500.00 [11:34:00]line Безнал.: 0.00 [11:34:00]line Место: АЗС № 137 "Партнер Нефть" [11:34:00]line Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 [11:34:00]line СНО: Общий режим [11:34:00]line Чек 37 24.09.2024 11:33 [11:34:00]line Смена: 72 ФФД: 1.0 [11:34:00]line ЗНМ: 0300000041 [11:34:00]line РНМ: 0000000000190446 [11:34:00]line Версия ККМ: v1.0 [11:34:00]line [11:34:00]line Дисконтная программа [11:34:00]line АИ-92 [11:34:00]line номер 137 [11:34:00]line сэкономлено 22.46 сом [11:34:00]line ФМ: 0000000002094258 [11:34:00]line ФД: 7901 [11:34:00]line ФПД: 88261515591302 [11:34:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T113359&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7901&fm=88261515591302&tin=02508201610067®Number=0000000000190446&sum=150000 [11:34:00]OFD Sender: Processing packet 7901 [packets to send 51, broken 50] [11:34:00]ProducePacketName [11:34:00]name=ofd_packets/00007901 [11:34:00]OFD Sender: To server: pG, [11:34:00]CommunicateWithHost lk.salyk.kg:30040 [11:34:00]ConnectInit lk.salyk.kg [11:34:00]written 0, free lines is 4095 [11:34:01]Write to MH i2c: 01 00 00 61 00 61 [11:34:01]Write i2c OK [11:34:01]MH_I2C_Read... [11:34:01]Read from MH i2c: 01 [11:34:01]MH_I2C_Read... [11:34:01]Read from MH i2c: 01 07 00 [11:34:01]MH_I2C_Read... [11:34:01]Read from MH i2c: 01 07 00 61 00 00 00 00 00 00 97 0C 0B [11:34:01]RasterBufferAndPrint [11:34:01]line [11:34:01]line [11:34:01]line [11:34:01]line [11:34:01]line [11:34:01]written 0, free lines is 3229 [11:34:01]MH_Cut [11:34:01]Write to MH i2c: D1 01 00 68 00 01 3A [11:34:01]Write i2c OK [11:34:01]MH_I2C_Read... [11:34:01]Read from MH i2c: D1 [11:34:01]MH_I2C_Read... [11:34:01]Read from MH i2c: D1 01 00 [11:34:01]MH_I2C_Read... [11:34:01]Read from MH i2c: D1 01 00 68 00 00 39 [11:34:01]Write to MH i2c: 01 00 00 69 00 69 [11:34:01]Write i2c OK [11:34:01]MH_I2C_Read... [11:34:01]*** Cut start [11:34:01]*** Purtial cut [11:34:01]*** Stage 1: CUTSNS_PIN = 1 [11:34:02]Read from MH i2c: 01 [11:34:02]MH_I2C_Read... [11:34:02]*** Stop cut motor [11:34:02]*** Cut end [11:34:02]Read from MH i2c: 01 07 00 [11:34:02]MH_I2C_Read... [11:34:02]Read from MH i2c: 01 07 00 69 00 00 00 00 00 00 FF 0F 7E [11:34:02]process_action close_receipt done [11:34:02]requested_data is exist [11:34:02]produce_requested_data [11:34:02]requested_item fm.sn is exist - process it [11:34:02]wFMCommunicate request_size=4 [11:34:02]MH_SAM_APDU [11:34:02]CAPDU: 80 11 00 00 [11:34:02]Write to MH i2c: E2 08 00 6A 00 80 11 00 00 00 00 00 00 E4 [11:34:02]Write i2c OK [11:34:02]MH_I2C_Read... [11:34:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:34:02]Read from MH i2c: E2 [11:34:02]MH_I2C_Read... [11:34:02]Read from MH i2c: E2 17 00 [11:34:02]MH_I2C_Read... [11:34:02]Read from MH i2c: E2 17 00 6A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 35 [11:34:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [11:34:02]wFMCommunicate OK [11:34:02]requested_item fd.num is exist - process it [11:34:02]SAM_PROTO_GetFieldsCounters [11:34:02]wFMCommunicate request_size=4 [11:34:02]MH_SAM_APDU [11:34:02]CAPDU: 80 13 00 00 [11:34:02]Write to MH i2c: E2 08 00 6B 00 80 13 00 00 00 00 00 00 E7 [11:34:02]Write i2c OK [11:34:02]MH_I2C_Read... [11:34:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:34:02]Read from MH i2c: E2 [11:34:02]MH_I2C_Read... [11:34:02]Read from MH i2c: E2 62 00 [11:34:02]MH_I2C_Read... [11:34:02]Read from MH i2c: E2 62 00 6B 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 DD 1E 00 00 0E 04 04 00 48 00 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 B7 [11:34:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 DD 1E 00 00 0E 04 04 00 48 00 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:34:02]wFMCommunicate OK [11:34:02]SAM_PROTO_GetFieldsCounters done [11:34:02]requested_item shift.num is exist - process it [11:34:02]requested_item shift.opened is exist - process it [11:34:02]req_shift_opened [11:34:02]FM_GetShiftState [11:34:02]SAM_PROTO_GetShiftState [11:34:02]wFMCommunicate request_size=4 [11:34:02]MH_SAM_APDU [11:34:02]CAPDU: 80 13 01 00 [11:34:02]Write to MH i2c: E2 08 00 6C 00 80 13 01 00 00 00 00 00 E9 [11:34:02]Write i2c OK [11:34:02]MH_I2C_Read... [11:34:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:34:02]Read from MH i2c: E2 [11:34:02]MH_I2C_Read... [11:34:02]Read from MH i2c: E2 0E 00 [11:34:02]MH_I2C_Read... [11:34:02]Read from MH i2c: E2 0E 00 6C 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 8F [11:34:02]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [11:34:02]wFMCommunicate OK [11:34:02]SAM_PROTO_GetShiftState done [11:34:02]FM_GetShiftState done [11:34:02]req_shift_opened done [11:34:02]requested_item shift.open_date is exist - process it [11:34:02]req_shift_open_date [11:34:02]req_shift_open_date done [11:34:02]produce_requested_data done [11:34:02]produce_requested_data return {"fm.sn":"0000000002094258","fd.num":7901,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [11:34:02]process_action_free close_receipt [11:34:02]json_value_free [11:34:02]json_value_free done [11:34:02]process_json_proto returns [11:34:02]Send response to host [11:34:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002094258","fd.num":7901,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [11:34:02]free response buf [11:34:02]execute_script done [11:34:02]execute_script returns [11:34:02]free content buf [11:34:02]Sock 8.Close socket [11:34:02]Sock 8.Thread stoped [11:34:04]Connected sock=9 [11:34:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 4B D7 07 01 72 16 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 BC 57 00 00 00 00 00 37 04 06 00 18 1A 00 00 00 00 13 04 06 00 11 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 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 A7 A3 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DD 1E 00 00 35 04 06 00 50 45 FC 48 BE 86 80 97 51 7C 8A 6E FB D0 [11:34:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 96 D4 47 00 0F 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 32 30 39 34 32 35 38 10 04 04 00 DD 1E 00 00 F4 03 04 00 63 4E F2 66 B6 04 01 00 00 18 66 60 CF D7 42 A1 D8 [11:34:07]CommunicateWithHost err = 0 [11:34:07]CheckOFDResponse [11:34:07]1017 (14) - 77093643461234 [11:34:07]1041 (16) - 0000000002094258 [11:34:07]1040 (4) - 7901 [11:34:07]1012 (4) - 24.09.2024 05:30 [11:34:07]1206 (1) - 0 [11:34:07]OFD Sender: Remove packet 7901 [11:34:07]ProducePacketName [11:34:07]name=ofd_packets/00007901 [11:34:07]NVStorageDeleteData [11:34:07]OFD Sender: No OFD packet to send [11:34:10]recv_with_timeout no data received [11:34:12]OFD Sender: No OFD packet to send [11:34:17]OFD Sender: No OFD packet to send [11:34:22]OFD Sender: No OFD packet to send [11:34:24]recv_with_timeout no data received [11:34:27]OFD Sender: No OFD packet to send [11:34:32]OFD Sender: No OFD packet to send [11:34:37]OFD Sender: No OFD packet to send [11:34:38]recv_with_timeout no data received [11:34:42]OFD Sender: No OFD packet to send [11:34:47]OFD Sender: No OFD packet to send [11:34:52]OFD Sender: No OFD packet to send [11:34:57]OFD Sender: No OFD packet to send [11:35:02]OFD Sender: No OFD packet to send [11:35:03]recv_with_timeout no data received [11:35:07]OFD Sender: No OFD packet to send [11:35:12]OFD Sender: No OFD packet to send [11:35:17]OFD Sender: No OFD packet to send [11:35:22]OFD Sender: No OFD packet to send [11:35:27]OFD Sender: No OFD packet to send [11:35:32]OFD Sender: No OFD packet to send [11:35:37]OFD Sender: No OFD packet to send [11:35:42]OFD Sender: No OFD packet to send [11:35:45]recv_with_timeout no data received [11:35:47]OFD Sender: No OFD packet to send [11:35:52]OFD Sender: No OFD packet to send [11:35:57]OFD Sender: No OFD packet to send [11:36:02]OFD Sender: No OFD packet to send [11:36:07]OFD Sender: No OFD packet to send [11:36:12]OFD Sender: No OFD packet to send [11:36:17]OFD Sender: No OFD packet to send [11:36:18]recv_with_timeout no data received [11:36:22]OFD Sender: No OFD packet to send [11:36:27]OFD Sender: No OFD packet to send [11:36:32]OFD Sender: No OFD packet to send [11:36:37]OFD Sender: No OFD packet to send [11:36:42]OFD Sender: No OFD packet to send [11:36:48]OFD Sender: No OFD packet to send [11:36:53]OFD Sender: No OFD packet to send [11:36:58]OFD Sender: No OFD packet to send [11:37:03]OFD Sender: No OFD packet to send [11:37:08]OFD Sender: No OFD packet to send [11:37:13]OFD Sender: No OFD packet to send [11:37:18]OFD Sender: No OFD packet to send [11:37:23]OFD Sender: No OFD packet to send [11:37:28]OFD Sender: No OFD packet to send [11:37:33]OFD Sender: No OFD packet to send [11:37:38]OFD Sender: No OFD packet to send [11:37:43]OFD Sender: No OFD packet to send [11:37:48]OFD Sender: No OFD packet to send [11:37:52]recv_with_timeout no data received [11:37:53]OFD Sender: No OFD packet to send [11:37:58]OFD Sender: No OFD packet to send [11:38:03]OFD Sender: No OFD packet to send [11:38:08]OFD Sender: No OFD packet to send [11:38:13]OFD Sender: No OFD packet to send [11:38:18]OFD Sender: No OFD packet to send [11:38:23]OFD Sender: No OFD packet to send [11:38:28]OFD Sender: No OFD packet to send [11:38:32]recv_with_timeout no data received [11:38:33]OFD Sender: No OFD packet to send [11:39:53]ConnectInit Can't connect to host [11:39:58]OFD Sender: No OFD packet to send [11:40:03]OFD Sender: No OFD packet to send [11:40:08]OFD Sender: No OFD packet to send [11:40:13]OFD Sender: No OFD packet to send [11:40:13]recv_with_timeout no data received [11:40:18]OFD Sender: No OFD packet to send [11:40:23]OFD Sender: No OFD packet to send [11:40:28]OFD Sender: No OFD packet to send [11:40:33]OFD Sender: No OFD packet to send [11:40:38]OFD Sender: No OFD packet to send [11:40:43]OFD Sender: No OFD packet to send [11:40:48]OFD Sender: No OFD packet to send [11:40:53]OFD Sender: No OFD packet to send [11:40:58]OFD Sender: No OFD packet to send [11:41:03]OFD Sender: No OFD packet to send [11:41:08]OFD Sender: No OFD packet to send [11:41:13]OFD Sender: No OFD packet to send [11:41:18]OFD Sender: No OFD packet to send [11:41:23]OFD Sender: No OFD packet to send [11:41:28]OFD Sender: No OFD packet to send [11:41:33]OFD Sender: No OFD packet to send [11:41:38]OFD Sender: No OFD packet to send [11:41:43]OFD Sender: No OFD packet to send [11:41:48]OFD Sender: No OFD packet to send [11:41:53]OFD Sender: No OFD packet to send [11:41:53]recv_with_timeout no data received [11:41:58]OFD Sender: No OFD packet to send [11:42:03]OFD Sender: No OFD packet to send [11:42:08]OFD Sender: No OFD packet to send [11:42:13]recv_with_timeout no data received [11:42:13]OFD Sender: No OFD packet to send [11:42:18]OFD Sender: No OFD packet to send [11:42:23]OFD Sender: No OFD packet to send [11:42:28]OFD Sender: No OFD packet to send [11:42:33]OFD Sender: No OFD packet to send [11:42:38]OFD Sender: No OFD packet to send [11:42:43]OFD Sender: No OFD packet to send [11:42:48]OFD Sender: No OFD packet to send [11:42:53]OFD Sender: No OFD packet to send [11:42:58]OFD Sender: No OFD packet to send [11:43:03]OFD Sender: No OFD packet to send [11:43:08]OFD Sender: No OFD packet to send [11:43:13]OFD Sender: No OFD packet to send [11:43:18]OFD Sender: No OFD packet to send [11:43:23]OFD Sender: No OFD packet to send [11:43:28]OFD Sender: No OFD packet to send [11:43:33]OFD Sender: No OFD packet to send [11:43:38]OFD Sender: No OFD packet to send [11:43:43]OFD Sender: No OFD packet to send [11:43:48]OFD Sender: No OFD packet to send [11:43:53]OFD Sender: No OFD packet to send [11:43:58]OFD Sender: No OFD packet to send [11:44:03]OFD Sender: No OFD packet to send [11:44:08]OFD Sender: No OFD packet to send [11:44:13]OFD Sender: No OFD packet to send [11:44:18]OFD Sender: No OFD packet to send [11:44:18]recv_with_timeout no data received [11:44:23]OFD Sender: No OFD packet to send [11:44:28]OFD Sender: No OFD packet to send [11:44:31]recv_with_timeout no data received [11:44:33]OFD Sender: No OFD packet to send [11:44:38]OFD Sender: No OFD packet to send [11:44:43]OFD Sender: No OFD packet to send [11:44:47]recv_with_timeout no data received [11:44:48]OFD Sender: No OFD packet to send [11:44:53]OFD Sender: No OFD packet to send [11:44:58]OFD Sender: No OFD packet to send [11:45:03]OFD Sender: No OFD packet to send [11:45:08]OFD Sender: No OFD packet to send [11:45:13]OFD Sender: No OFD packet to send [11:45:18]OFD Sender: No OFD packet to send [11:45:23]OFD Sender: No OFD packet to send [11:45:28]OFD Sender: No OFD packet to send [11:45:33]OFD Sender: No OFD packet to send [11:45:38]OFD Sender: No OFD packet to send [11:45:43]OFD Sender: No OFD packet to send [11:45:48]OFD Sender: No OFD packet to send [11:45:53]OFD Sender: No OFD packet to send [11:45:58]OFD Sender: No OFD packet to send [11:46:03]OFD Sender: No OFD packet to send [11:46:08]OFD Sender: No OFD packet to send [11:46:13]OFD Sender: No OFD packet to send [11:46:18]OFD Sender: No OFD packet to send [11:46:20]recv_with_timeout no data received [11:46:23]OFD Sender: No OFD packet to send [11:46:28]OFD Sender: No OFD packet to send [11:46:33]OFD Sender: No OFD packet to send [11:46:38]OFD Sender: No OFD packet to send [11:46:43]OFD Sender: No OFD packet to send [11:46:48]OFD Sender: No OFD packet to send [11:46:53]OFD Sender: No OFD packet to send [11:46:54]recv_with_timeout no data received [11:46:58]OFD Sender: No OFD packet to send [11:47:03]OFD Sender: No OFD packet to send [11:47:08]OFD Sender: No OFD packet to send [11:47:13]OFD Sender: No OFD packet to send [11:47:18]OFD Sender: No OFD packet to send [11:47:23]OFD Sender: No OFD packet to send [11:47:28]OFD Sender: No OFD packet to send [11:47:33]OFD Sender: No OFD packet to send [11:47:38]OFD Sender: No OFD packet to send [11:47:43]OFD Sender: No OFD packet to send [11:47:45]recv_with_timeout no data received [11:47:48]OFD Sender: No OFD packet to send [11:47:53]OFD Sender: No OFD packet to send [11:47:58]OFD Sender: No OFD packet to send [11:48:03]OFD Sender: No OFD packet to send [11:48:08]OFD Sender: No OFD packet to send [11:48:13]OFD Sender: No OFD packet to send [11:48:18]OFD Sender: No OFD packet to send [11:48:23]OFD Sender: No OFD packet to send [11:48:28]OFD Sender: No OFD packet to send [11:48:33]OFD Sender: No OFD packet to send [11:48:38]OFD Sender: No OFD packet to send [11:48:43]OFD Sender: No OFD packet to send [11:48:46]recv_with_timeout no data received [11:48:48]OFD Sender: No OFD packet to send [11:48:53]OFD Sender: No OFD packet to send [11:48:58]OFD Sender: No OFD packet to send [11:49:03]OFD Sender: No OFD packet to send [11:49:08]OFD Sender: No OFD packet to send [11:49:13]OFD Sender: No OFD packet to send [11:49:18]OFD Sender: No OFD packet to send [11:49:23]OFD Sender: No OFD packet to send [11:49:28]OFD Sender: No OFD packet to send [11:49:33]OFD Sender: No OFD packet to send [11:49:38]OFD Sender: No OFD packet to send [11:49:43]OFD Sender: No OFD packet to send [11:49:45]recv_with_timeout no data received [11:49:48]OFD Sender: No OFD packet to send [11:49:53]OFD Sender: No OFD packet to send [11:49:58]OFD Sender: No OFD packet to send [11:50:03]OFD Sender: No OFD packet to send [11:50:08]OFD Sender: No OFD packet to send [11:50:11]recv_with_timeout no data received [11:50:13]OFD Sender: No OFD packet to send [11:50:18]OFD Sender: No OFD packet to send [11:50:23]OFD Sender: No OFD packet to send [11:50:28]OFD Sender: No OFD packet to send [11:50:33]OFD Sender: No OFD packet to send [11:50:38]OFD Sender: No OFD packet to send [11:50:43]OFD Sender: No OFD packet to send [11:50:48]OFD Sender: No OFD packet to send [11:50:53]OFD Sender: No OFD packet to send [11:50:58]OFD Sender: No OFD packet to send [11:51:03]OFD Sender: No OFD packet to send [11:51:08]OFD Sender: No OFD packet to send [11:51:13]OFD Sender: No OFD packet to send [11:51:18]OFD Sender: No OFD packet to send [11:51:20]recv_with_timeout no data received [11:51:23]OFD Sender: No OFD packet to send [11:51:28]OFD Sender: No OFD packet to send [11:51:33]OFD Sender: No OFD packet to send [11:51:38]OFD Sender: No OFD packet to send [11:51:43]OFD Sender: No OFD packet to send [11:51:48]OFD Sender: No OFD packet to send [11:51:53]OFD Sender: No OFD packet to send [11:51:58]OFD Sender: No OFD packet to send [11:52:03]OFD Sender: No OFD packet to send [11:52:08]OFD Sender: No OFD packet to send [11:52:13]OFD Sender: No OFD packet to send [11:52:18]OFD Sender: No OFD packet to send [11:52:23]OFD Sender: No OFD packet to send [11:52:28]OFD Sender: No OFD packet to send [11:52:33]OFD Sender: No OFD packet to send [11:52:38]OFD Sender: No OFD packet to send [11:52:43]OFD Sender: No OFD packet to send [11:52:48]OFD Sender: No OFD packet to send [11:52:53]OFD Sender: No OFD packet to send [11:52:58]OFD Sender: No OFD packet to send [11:53:03]OFD Sender: No OFD packet to send [11:53:08]OFD Sender: No OFD packet to send [11:53:13]OFD Sender: No OFD packet to send [11:53:18]OFD Sender: No OFD packet to send [11:53:23]OFD Sender: No OFD packet to send [11:53:28]OFD Sender: No OFD packet to send [11:53:33]OFD Sender: No OFD packet to send [11:53:38]OFD Sender: No OFD packet to send [11:53:43]OFD Sender: No OFD packet to send [11:53:48]OFD Sender: No OFD packet to send [11:53:53]OFD Sender: No OFD packet to send [11:53:58]OFD Sender: No OFD packet to send [11:54:03]OFD Sender: No OFD packet to send [11:54:08]OFD Sender: No OFD packet to send [11:54:13]OFD Sender: No OFD packet to send [11:54:15]recv_with_timeout no data received [11:54:18]OFD Sender: No OFD packet to send [11:54:23]OFD Sender: No OFD packet to send [11:54:28]OFD Sender: No OFD packet to send [11:54:33]OFD Sender: No OFD packet to send [11:54:38]OFD Sender: No OFD packet to send [11:54:43]OFD Sender: No OFD packet to send [11:54:48]OFD Sender: No OFD packet to send [11:54:53]OFD Sender: No OFD packet to send [11:54:59]OFD Sender: No OFD packet to send [11:55:04]OFD Sender: No OFD packet to send [11:55:09]OFD Sender: No OFD packet to send [11:55:14]OFD Sender: No OFD packet to send [11:55:19]OFD Sender: No OFD packet to send [11:55:24]OFD Sender: No OFD packet to send [11:55:29]OFD Sender: No OFD packet to send [11:55:34]OFD Sender: No OFD packet to send [11:55:39]OFD Sender: No OFD packet to send [11:55:44]OFD Sender: No OFD packet to send [11:55:49]OFD Sender: No OFD packet to send [11:55:54]OFD Sender: No OFD packet to send [11:55:59]OFD Sender: No OFD packet to send [11:56:04]OFD Sender: No OFD packet to send [11:56:09]OFD Sender: No OFD packet to send [11:56:14]OFD Sender: No OFD packet to send [11:56:19]OFD Sender: No OFD packet to send [11:56:24]OFD Sender: No OFD packet to send [11:56:29]OFD Sender: No OFD packet to send [11:56:34]OFD Sender: No OFD packet to send [11:56:39]OFD Sender: No OFD packet to send [11:56:44]OFD Sender: No OFD packet to send [11:56:49]OFD Sender: No OFD packet to send [11:56:54]OFD Sender: No OFD packet to send [11:56:59]OFD Sender: No OFD packet to send [11:57:04]OFD Sender: No OFD packet to send [11:57:09]OFD Sender: No OFD packet to send [11:57:14]OFD Sender: No OFD packet to send [11:57:19]OFD Sender: No OFD packet to send [11:57:24]OFD Sender: No OFD packet to send [11:57:29]OFD Sender: No OFD packet to send [11:57:34]OFD Sender: No OFD packet to send [11:57:39]OFD Sender: No OFD packet to send [11:57:44]OFD Sender: No OFD packet to send [11:57:48]recv_with_timeout no data received [11:57:49]OFD Sender: No OFD packet to send [11:57:54]OFD Sender: No OFD packet to send [11:57:59]OFD Sender: No OFD packet to send [11:58:04]OFD Sender: No OFD packet to send [11:58:09]OFD Sender: No OFD packet to send [11:58:14]OFD Sender: No OFD packet to send [11:58:19]OFD Sender: No OFD packet to send [11:58:24]OFD Sender: No OFD packet to send [11:58:29]OFD Sender: No OFD packet to send [11:58:34]OFD Sender: No OFD packet to send [11:58:39]OFD Sender: No OFD packet to send [11:58:44]OFD Sender: No OFD packet to send [11:58:49]OFD Sender: No OFD packet to send [11:58:54]OFD Sender: No OFD packet to send [11:58:59]OFD Sender: No OFD packet to send [11:59:04]OFD Sender: No OFD packet to send [11:59:09]OFD Sender: No OFD packet to send [11:59:14]OFD Sender: No OFD packet to send [11:59:19]OFD Sender: No OFD packet to send [11:59:24]OFD Sender: No OFD packet to send [11:59:25]recv_with_timeout no data received [11:59:29]OFD Sender: No OFD packet to send [11:59:34]OFD Sender: No OFD packet to send [11:59:39]OFD Sender: No OFD packet to send [11:59:44]OFD Sender: No OFD packet to send [11:59:49]OFD Sender: No OFD packet to send [11:59:54]OFD Sender: No OFD packet to send [11:59:59]OFD Sender: No OFD packet to send [12:00:04]OFD Sender: No OFD packet to send [12:00:09]OFD Sender: No OFD packet to send [12:00:14]OFD Sender: No OFD packet to send [12:00:19]OFD Sender: No OFD packet to send [12:00:24]OFD Sender: No OFD packet to send [12:00:29]OFD Sender: No OFD packet to send [12:00:33]recv_with_timeout no data received [12:00:34]OFD Sender: No OFD packet to send [12:00:39]OFD Sender: No OFD packet to send [12:00:44]OFD Sender: No OFD packet to send [12:00:49]OFD Sender: No OFD packet to send [12:00:54]OFD Sender: No OFD packet to send [12:00:59]OFD Sender: No OFD packet to send [12:01:04]OFD Sender: No OFD packet to send [12:01:09]OFD Sender: No OFD packet to send [12:01:14]OFD Sender: No OFD packet to send [12:01:19]OFD Sender: No OFD packet to send [12:01:24]OFD Sender: No OFD packet to send [12:01:29]OFD Sender: No OFD packet to send [12:01:34]OFD Sender: No OFD packet to send [12:01:36]recv_with_timeout no data received [12:01:39]OFD Sender: No OFD packet to send [12:01:44]OFD Sender: No OFD packet to send [12:01:49]OFD Sender: No OFD packet to send [12:01:54]OFD Sender: No OFD packet to send [12:01:59]OFD Sender: No OFD packet to send [12:02:04]OFD Sender: No OFD packet to send [12:02:05]recv_with_timeout no data received [12:02:09]OFD Sender: No OFD packet to send [12:02:14]OFD Sender: No OFD packet to send [12:02:19]OFD Sender: No OFD packet to send [12:02:24]OFD Sender: No OFD packet to send [12:02:29]OFD Sender: No OFD packet to send [12:02:34]OFD Sender: No OFD packet to send [12:02:39]OFD Sender: No OFD packet to send [12:02:44]OFD Sender: No OFD packet to send [12:02:49]OFD Sender: No OFD packet to send [12:02:54]OFD Sender: No OFD packet to send [12:02:59]OFD Sender: No OFD packet to send [12:03:04]OFD Sender: No OFD packet to send [12:03:09]OFD Sender: No OFD packet to send [12:03:14]OFD Sender: No OFD packet to send [12:03:19]OFD Sender: No OFD packet to send [12:03:24]OFD Sender: No OFD packet to send [12:03:29]OFD Sender: No OFD packet to send [12:03:34]OFD Sender: No OFD packet to send [12:03:39]OFD Sender: No OFD packet to send [12:03:44]OFD Sender: No OFD packet to send [12:03:49]OFD Sender: No OFD packet to send [12:03:54]OFD Sender: No OFD packet to send [12:03:59]OFD Sender: No OFD packet to send [12:04:04]OFD Sender: No OFD packet to send [12:04:09]OFD Sender: No OFD packet to send [12:04:14]OFD Sender: No OFD packet to send [12:04:19]OFD Sender: No OFD packet to send [12:04:24]OFD Sender: No OFD packet to send [12:04:29]OFD Sender: No OFD packet to send [12:04:34]OFD Sender: No OFD packet to send [12:04:39]OFD Sender: No OFD packet to send [12:04:44]OFD Sender: No OFD packet to send [12:04:49]OFD Sender: No OFD packet to send [12:04:54]OFD Sender: No OFD packet to send [12:04:59]OFD Sender: No OFD packet to send [12:05:04]OFD Sender: No OFD packet to send [12:05:09]OFD Sender: No OFD packet to send [12:05:14]OFD Sender: No OFD packet to send [12:05:19]OFD Sender: No OFD packet to send [12:05:24]OFD Sender: No OFD packet to send [12:05:29]OFD Sender: No OFD packet to send [12:05:34]OFD Sender: No OFD packet to send [12:05:38]accept exits with 10 [12:05:38]New connection [12:05:38]New thread 3067317604 created [12:05:38]Thread 3067460964 joined [12:05:38]Waiting for new connection... [12:05:38] Sock 10.Parse request [12:05:38]Sock 10.Check first char [12:05:38]Sock 10.First char is OK [12:05:38]request: POST /json_proto HTTP/1.0 [12:05:38]Method: POST [12:05:38]URL: /json_proto [12:05:38]Method is POST - this is cgi request [12:05:38]url: /json_proto [12:05:38]query_string will be loaded in cgi processing [12:05:38]execute_cgi json_proto POST (null) [12:05:38]execute_cgi path=json_proto method=POST [12:05:38]POST find Content-Length [12:05:38]Host: 172.17.47.195:8080 [12:05:38]Content-Length: 677 [12:05:38]Content-Type: application/json [12:05:38] [12:05:38]POST finish read [12:05:38]Found Content-Length = 677 [12:05:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872611", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 5.900, "sum" : 400.02, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:05:38]execute_script... [12:05: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 : (1)872611", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 5.900, "sum" : 400.02, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:05:38]POST & json_proto [12:05:38]process_json_proto [12:05:38]json parsed OK: [12:05:38]protocol is kg_v1.0 [12:05:38]action value=close_receipt [12:05:38]process_action close_receipt [12:05:38]cmd_close_receipt [12:05:38]MH_GetDate [12:05:38]Write to MH i2c: F0 00 00 6D 00 5C [12:05:38]Write i2c OK [12:05:38]MH_I2C_Read... [12:05:38]Read from MH i2c: F0 [12:05:38]MH_I2C_Read... [12:05:38]Read from MH i2c: F0 09 00 [12:05:38]MH_I2C_Read... [12:05:38]Read from MH i2c: F0 09 00 6D 00 00 13 AB F2 66 96 2E 95 66 3A [12:05:38]GetLastDocTimeStamp 1727177639 [12:05:38]current date 1727179539 [12:05:38]FM_GetShiftState [12:05:38]SAM_PROTO_GetShiftState [12:05:38]wFMCommunicate request_size=4 [12:05:38]MH_SAM_APDU [12:05:38]CAPDU: 80 13 01 00 [12:05:38]Write to MH i2c: E2 08 00 6E 00 80 13 01 00 00 00 00 00 EB [12:05:38]Write i2c OK [12:05:38]MH_I2C_Read... [12:05:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:05:38]Read from MH i2c: E2 [12:05:38]MH_I2C_Read... [12:05:38]Read from MH i2c: E2 0E 00 [12:05:38]MH_I2C_Read... [12:05:38]Read from MH i2c: E2 0E 00 6E 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 91 [12:05:38]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [12:05:38]wFMCommunicate OK [12:05:38]SAM_PROTO_GetShiftState done [12:05:38]FM_GetShiftState done [12:05:38]opened in 1727137340 [12:05:38]opened+sec_in_day 1727223740 [12:05:38]quantity*price = 40002 [12:05:38]sum+1 = 40003 [12:05:38]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.02 ИТОГО: 400.00 Внесено: 400.00 СДАЧА: 0.00 НСП 1% : 3.54 НДС 12% : 42.48 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 38 24.09.2024 12:05 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 ФМ: 0000000002094258 ФД: 7902 ФПД: 2063890690888 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T120539&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7902&fm=2063890690888&tin=02508201610067®Number=0000000000190446&sum=40000 [12:05:39]StoreToDocumentArchive [12:05:39]shift 72 fd 7902 [12:05:39]save to /storage/0072/doc_00007902 [12:05:39]save last doc name /storage/0072/doc_00007902 to /storage/kkm_last_doc_name [12:05:39]save OK [12:05:39]Clear old archive folders... [12:05:39]ProcessDocumentItem done err = 0, tmpTLVsize=251 [12:05:39]tlvbuf is 00F32A50 [12:05:39]SAM_PROTO_ClearQueue [12:05:39]wFMCommunicate request_size=4 [12:05:39]MH_SAM_APDU [12:05:39]CAPDU: 80 09 00 00 [12:05:39]Write to MH i2c: E2 08 00 7B 00 80 09 00 00 00 00 00 00 ED [12:05:39]Write i2c OK [12:05:39]MH_I2C_Read... [12:05:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:05:39]Read from MH i2c: E2 [12:05:39]MH_I2C_Read... [12:05:39]Read from MH i2c: E2 03 00 [12:05:39]MH_I2C_Read... [12:05:39]Read from MH i2c: E2 03 00 7B 00 00 90 00 EF [12:05:39]RAPDU: 90 00 [12:05:39]wFMCommunicate OK [12:05:39]SAM_PROTO_ClearQueue done [12:05:39]KKMCreateOFDPacket [12:05:39]OFDProtocolAddRootSTLVToBuf [12:05:39]FM_MakeSignedData [12:05:39]FM_MakeSignedData [12:05:39]SAM_PROTO_SignData [12:05:39]wFMCommunicate request_size=4 [12:05:39]MH_SAM_APDU [12:05:39]CAPDU: 80 0D 01 02 [12:05:39]Write to MH i2c: E2 08 00 7C 00 80 0D 01 02 00 00 00 00 F5 [12:05:39]Write i2c OK [12:05:39]MH_I2C_Read... [12:05:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:05:39]Read from MH i2c: E2 [12:05:39]MH_I2C_Read... [12:05:39]Read from MH i2c: E2 03 00 [12:05:39]MH_I2C_Read... [12:05:39]Read from MH i2c: E2 03 00 7C 00 00 90 00 F0 [12:05:39]RAPDU: 90 00 [12:05:39]wFMCommunicate OK [12:05:39]wFMCommunicate request_size=255 [12:05:39]MH_SAM_APDU [12:05:39]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 13 AB F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DE 1E 00 00 35 04 06 00 01 [12:05:39]Write to MH i2c: E2 02 01 7D 00 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 13 AB F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DE 1E 00 00 35 04 06 00 01 00 00 D7 [12:05:39]Write i2c OK [12:05:39]MH_I2C_Read... [12:05:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:05:40]Read from MH i2c: E2 [12:05:40]MH_I2C_Read... [12:05:40]Read from MH i2c: E2 03 00 [12:05:40]MH_I2C_Read... [12:05:40]Read from MH i2c: E2 03 00 7D 00 00 90 00 F1 [12:05:40]RAPDU: 90 00 [12:05:40]wFMCommunicate OK [12:05:40]wFMCommunicate request_size=10 [12:05:40]MH_SAM_APDU [12:05:40]CAPDU: 80 0D 02 02 05 E0 89 78 B3 48 [12:05:40]Write to MH i2c: E2 0D 00 7E 00 80 0D 02 02 05 00 E0 89 78 B3 48 00 00 DE [12:05:40]Write i2c OK [12:05:40]MH_I2C_Read... [12:05:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:05:40]Read from MH i2c: E2 [12:05:40]MH_I2C_Read... [12:05:40]Read from MH i2c: E2 03 00 [12:05:40]MH_I2C_Read... [12:05:40]Read from MH i2c: E2 03 00 7E 00 00 90 00 F2 [12:05:40]RAPDU: 90 00 [12:05:40]wFMCommunicate OK [12:05:40]wFMCommunicate request_size=4 [12:05:40]MH_SAM_APDU [12:05:40]CAPDU: 80 0D 03 02 [12:05:40]Write to MH i2c: E2 08 00 7F 00 80 0D 03 02 00 00 00 00 FA [12:05:40]Write i2c OK [12:05:40]MH_I2C_Read... [12:05:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:05:40]Read from MH i2c: E2 [12:05:40]MH_I2C_Read... [12:05:40]Read from MH i2c: E2 0B 00 [12:05:40]MH_I2C_Read... [12:05:40]Read from MH i2c: E2 0B 00 7F 00 00 43 16 9E ED 98 71 30 DC 90 00 F4 [12:05:40]RAPDU: 43 16 9E ED 98 71 30 DC 90 00 [12:05:40]wFMCommunicate OK [12:05:40]SAM_PROTO_SignData done [12:05:40]FM_MakeSignedData done [12:05:40]CreateOFDProtocolMessage [12:05:40]wFMCommunicate request_size=4 [12:05:40]MH_SAM_APDU [12:05:40]CAPDU: 80 11 00 00 [12:05:40]Write to MH i2c: E2 08 00 80 00 80 11 00 00 00 00 00 00 FA [12:05:40]Write i2c OK [12:05:40]MH_I2C_Read... [12:05:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:05:40]Read from MH i2c: E2 [12:05:40]MH_I2C_Read... [12:05:40]Read from MH i2c: E2 17 00 [12:05:40]MH_I2C_Read... [12:05:40]Read from MH i2c: E2 17 00 80 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 4B [12:05:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [12:05:40]wFMCommunicate OK [12:05:40]CreateOFDProtocolMessage done [12:05:40]OFDSenderStorePacket 7902 [12:05:40]StoreOFDPacket docnum=7902 [12:05:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 3C E4 07 01 47 7B 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 13 AB F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DE 1E 00 00 35 04 06 00 01 E0 89 78 B3 48 43 16 9E ED 98 71 30 DC [12:05:40]CheckFolder [12:05:40]dirname=/storage/ofd_packets [12:05:40]CheckFolder done [12:05:40]ProducePacketName [12:05:40]name=ofd_packets/00007902 [12:05:40]NVStorageSaveData ofd_packets/00007902 [12:05:40]File name is /storage/ofd_packets/00007902 [12:05:40]Write 301 bytes [12:05:40]NVStorageSaveData done [12:05:40]OFDSenderStorePacket done [12:05:40]KKMCreateOFDPacket done [12:05:40]NVStorageSaveData kkm_last_timestamp [12:05:40]File name is /storage/kkm_last_timestamp [12:05:40]Write 4 bytes [12:05:40]NVStorageSaveData done [12:05:40]ExternCall_PrintAddStr [12:05:40]wPrintStart [12:05:40]Write to MH i2c: 01 00 00 81 00 81 [12:05:40]Write i2c OK [12:05:40]MH_I2C_Read... [12:05:40]Read from MH i2c: 01 [12:05:40]MH_I2C_Read... [12:05:40]Read from MH i2c: 01 07 00 [12:05:40]MH_I2C_Read... [12:05:40]Read from MH i2c: 01 07 00 81 00 00 00 00 00 00 FF 0F 96 [12:05:40]RasterBufferAndPrint [12:05:40]line Счет N : (1)872611 [12:05:40]line ИНН: 02508201610067 [12:05:40]line Контрольно-Кассовый Чек [12:05:40]line ПРОДАЖА [12:05:40]line ТРК (МРК, ГНК) : 43 [12:05:40]line Товар: 2710124130 [12:05:40]line Аи-92-К-5 [12:05:40]line 5.900 * 67.80 [12:05:40]line = 400.02 [12:05:40]line НДС 12% НСП 1% [12:05:40]line > о реализуемом товаре [12:05:40]line ОКРУГЛЕНИЕ: -0.02 [12:05:40]line ИТОГО: 400.00 [12:05:40]line Внесено: 400.00 [12:05:40]line СДАЧА: 0.00 [12:05:40]line НСП 1% : 3.54 [12:05:40]line НДС 12% : 42.48 [12:05:40]line Наличными: 400.00 [12:05:40]line Безнал.: 0.00 [12:05:40]line Место: АЗС № 137 "Партнер Нефть" [12:05:40]line Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 [12:05:40]line СНО: Общий режим [12:05:40]line Чек 38 24.09.2024 12:05 [12:05:40]line Смена: 72 ФФД: 1.0 [12:05:40]line ЗНМ: 0300000041 [12:05:40]line РНМ: 0000000000190446 [12:05:40]line Версия ККМ: v1.0 [12:05:40]line ФМ: 0000000002094258 [12:05:40]line ФД: 7902 [12:05:40]line ФПД: 2063890690888 [12:05:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T120539&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7902&fm=2063890690888&tin=02508201610067®Number=0000000000190446&sum=40000 [12:05:40]OFD Sender: Processing packet 7902 [packets to send 51, broken 50] [12:05:40]ProducePacketName [12:05:40]name=ofd_packets/00007902 [12:05:40]OFD Sender: To server: pG, [12:05:40]CommunicateWithHost lk.salyk.kg:30040 [12:05:40]ConnectInit lk.salyk.kg [12:05:40]written 0, free lines is 4095 [12:05:41]Write to MH i2c: 01 00 00 AC 00 AC [12:05:41]Write i2c OK [12:05:41]MH_I2C_Read... [12:05:41]Read from MH i2c: 01 [12:05:41]MH_I2C_Read... [12:05:41]Read from MH i2c: 01 07 00 [12:05:41]MH_I2C_Read... [12:05:41]Read from MH i2c: 01 07 00 AC 00 00 00 00 00 00 ED 0C AC [12:05:41]RasterBufferAndPrint [12:05:41]line [12:05:41]line [12:05:41]line [12:05:41]line [12:05:41]line [12:05:41]written 0, free lines is 3315 [12:05:41]MH_Cut [12:05:41]Write to MH i2c: D1 01 00 B3 00 01 85 [12:05:41]Write i2c OK [12:05:41]MH_I2C_Read... [12:05:41]Read from MH i2c: D1 [12:05:41]MH_I2C_Read... [12:05:41]Read from MH i2c: D1 01 00 [12:05:41]MH_I2C_Read... [12:05:41]Read from MH i2c: D1 01 00 B3 00 00 84 [12:05:41]Write to MH i2c: 01 00 00 B4 00 B4 [12:05:41]Write i2c OK [12:05:41]MH_I2C_Read... [12:05:41]Connected sock=11 [12:05:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 3C E4 07 01 47 7B 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 13 AB F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DE 1E 00 00 35 04 06 00 01 E0 89 78 B3 48 43 16 9E ED 98 71 30 DC [12:05:41]*** Cut start [12:05:41]*** Purtial cut [12:05:41]*** Stage 1: CUTSNS_PIN = 1 [12:05:41]Read from MH i2c: 01 [12:05:41]MH_I2C_Read... [12:05:41]*** Stop cut motor [12:05:41]*** Cut end [12:05:41]Read from MH i2c: 01 07 00 [12:05:41]MH_I2C_Read... [12:05:42]Read from MH i2c: 01 07 00 B4 00 00 00 00 00 00 FF 0F C9 [12:05:42]process_action close_receipt done [12:05:42]requested_data is exist [12:05:42]produce_requested_data [12:05:42]requested_item fm.sn is exist - process it [12:05:42]wFMCommunicate request_size=4 [12:05:42]MH_SAM_APDU [12:05:42]CAPDU: 80 11 00 00 [12:05:42]Write to MH i2c: E2 08 00 B5 00 80 11 00 00 00 00 00 00 2F [12:05:42]Write i2c OK [12:05:42]MH_I2C_Read... [12:05:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:05:42]Read from MH i2c: E2 [12:05:42]MH_I2C_Read... [12:05:42]Read from MH i2c: E2 17 00 [12:05:42]MH_I2C_Read... [12:05:42]Read from MH i2c: E2 17 00 B5 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 80 [12:05:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [12:05:42]wFMCommunicate OK [12:05:42]requested_item fd.num is exist - process it [12:05:42]SAM_PROTO_GetFieldsCounters [12:05:42]wFMCommunicate request_size=4 [12:05:42]MH_SAM_APDU [12:05:42]CAPDU: 80 13 00 00 [12:05:42]Write to MH i2c: E2 08 00 B6 00 80 13 00 00 00 00 00 00 32 [12:05:42]Write i2c OK [12:05:42]MH_I2C_Read... [12:05:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:05:42]Read from MH i2c: E2 [12:05:42]MH_I2C_Read... [12:05:42]Read from MH i2c: E2 62 00 [12:05:42]MH_I2C_Read... [12:05:42]Read from MH i2c: E2 62 00 B6 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 DE 1E 00 00 0E 04 04 00 48 00 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 06 [12:05:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 DE 1E 00 00 0E 04 04 00 48 00 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:05:42]wFMCommunicate OK [12:05:42]SAM_PROTO_GetFieldsCounters done [12:05:42]requested_item shift.num is exist - process it [12:05:42]requested_item shift.opened is exist - process it [12:05:42]req_shift_opened [12:05:42]FM_GetShiftState [12:05:42]SAM_PROTO_GetShiftState [12:05:42]wFMCommunicate request_size=4 [12:05:42]MH_SAM_APDU [12:05:42]CAPDU: 80 13 01 00 [12:05:42]Write to MH i2c: E2 08 00 B7 00 80 13 01 00 00 00 00 00 34 [12:05:42]Write i2c OK [12:05:42]MH_I2C_Read... [12:05:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:05:42]Read from MH i2c: E2 [12:05:42]MH_I2C_Read... [12:05:42]Read from MH i2c: E2 0E 00 [12:05:42]MH_I2C_Read... [12:05:42]Read from MH i2c: E2 0E 00 B7 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 DA [12:05:42]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [12:05:42]wFMCommunicate OK [12:05:42]SAM_PROTO_GetShiftState done [12:05:42]FM_GetShiftState done [12:05:42]req_shift_opened done [12:05:42]requested_item shift.open_date is exist - process it [12:05:42]req_shift_open_date [12:05:42]req_shift_open_date done [12:05:42]produce_requested_data done [12:05:42]produce_requested_data return {"fm.sn":"0000000002094258","fd.num":7902,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [12:05:42]process_action_free close_receipt [12:05:42]json_value_free [12:05:42]json_value_free done [12:05:42]process_json_proto returns [12:05:42]Send response to host [12:05:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002094258","fd.num":7902,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [12:05:42]free response buf [12:05:42]execute_script done [12:05:42]execute_script returns [12:05:42]free content buf [12:05:42]Sock 10.Close socket [12:05:42]Sock 10.Thread stoped [12:05:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 99 ED 47 00 51 1F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DE 1E 00 00 F4 03 04 00 CC 55 F2 66 B6 04 01 00 00 10 C1 A5 2B 95 6A 03 26 [12:05:42]CommunicateWithHost err = 0 [12:05:42]CheckOFDResponse [12:05:42]1017 (14) - 77093643461234 [12:05:42]1041 (16) - 0000000002094258 [12:05:42]1040 (4) - 7902 [12:05:42]1012 (4) - 24.09.2024 06:01 [12:05:42]1206 (1) - 0 [12:05:42]OFD Sender: Remove packet 7902 [12:05:42]ProducePacketName [12:05:42]name=ofd_packets/00007902 [12:05:42]NVStorageDeleteData [12:05:42]OFD Sender: No OFD packet to send [12:05:47]OFD Sender: No OFD packet to send [12:05:52]OFD Sender: No OFD packet to send [12:05:57]OFD Sender: No OFD packet to send [12:06:02]OFD Sender: No OFD packet to send [12:06:07]OFD Sender: No OFD packet to send [12:06:12]OFD Sender: No OFD packet to send [12:06:17]OFD Sender: No OFD packet to send [12:06:22]OFD Sender: No OFD packet to send [12:06:27]OFD Sender: No OFD packet to send [12:06:32]OFD Sender: No OFD packet to send [12:06:37]OFD Sender: No OFD packet to send [12:06:42]OFD Sender: No OFD packet to send [12:06:47]OFD Sender: No OFD packet to send [12:06:52]OFD Sender: No OFD packet to send [12:06:57]OFD Sender: No OFD packet to send [12:07:02]OFD Sender: No OFD packet to send [12:07:07]OFD Sender: No OFD packet to send [12:07:09]recv_with_timeout no data received [12:07:12]OFD Sender: No OFD packet to send [12:07:17]OFD Sender: No OFD packet to send [12:07:22]OFD Sender: No OFD packet to send [12:07:27]OFD Sender: No OFD packet to send [12:07:32]OFD Sender: No OFD packet to send [12:07:37]OFD Sender: No OFD packet to send [12:07:42]OFD Sender: No OFD packet to send [12:07:47]OFD Sender: No OFD packet to send [12:07:52]OFD Sender: No OFD packet to send [12:07:57]OFD Sender: No OFD packet to send [12:08:02]OFD Sender: No OFD packet to send [12:08:07]OFD Sender: No OFD packet to send [12:08:12]OFD Sender: No OFD packet to send [12:08:17]OFD Sender: No OFD packet to send [12:08:20]recv_with_timeout no data received [12:08:22]OFD Sender: No OFD packet to send [12:08:27]OFD Sender: No OFD packet to send [12:08:32]OFD Sender: No OFD packet to send [12:08:37]OFD Sender: No OFD packet to send [12:08:42]OFD Sender: No OFD packet to send [12:08:47]OFD Sender: No OFD packet to send [12:08:52]OFD Sender: No OFD packet to send [12:08:57]OFD Sender: No OFD packet to send [12:09:02]OFD Sender: No OFD packet to send [12:09:07]OFD Sender: No OFD packet to send [12:09:12]OFD Sender: No OFD packet to send [12:09:17]OFD Sender: No OFD packet to send [12:09:22]recv_with_timeout no data received [12:09:22]OFD Sender: No OFD packet to send [12:09:27]OFD Sender: No OFD packet to send [12:09:32]OFD Sender: No OFD packet to send [12:09:37]OFD Sender: No OFD packet to send [12:09:40]recv_with_timeout no data received [12:09:42]OFD Sender: No OFD packet to send [12:09:47]OFD Sender: No OFD packet to send [12:09:52]OFD Sender: No OFD packet to send [12:09:57]OFD Sender: No OFD packet to send [12:10:02]OFD Sender: No OFD packet to send [12:10:07]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:14]recv_with_timeout no data received [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:46]recv_with_timeout no data received [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:50]recv_with_timeout no data received [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:17]accept exits with 9 [12:13:17]New connection [12:13:17]New thread 3067460964 created [12:13:17]Thread 3067317604 joined [12:13:17]Waiting for new connection... [12:13:17] Sock 9.Parse request [12:13:17]Sock 9.Check first char [12:13:17]Sock 9.First char is OK [12:13:17]request: POST /json_proto HTTP/1.0 [12:13:17]Method: POST [12:13:17]URL: /json_proto [12:13:17]Method is POST - this is cgi request [12:13:17]url: /json_proto [12:13:17]query_string will be loaded in cgi processing [12:13:17]execute_cgi json_proto POST (null) [12:13:17]execute_cgi path=json_proto method=POST [12:13:17]POST find Content-Length [12:13:17]Host: 172.17.47.195:8080 [12:13:17]Content-Length: 678 [12:13:17]Content-Type: application/json [12:13:17] [12:13:17]POST finish read [12:13:17]Found Content-Length = 678 [12:13:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872612", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 11.800, "sum" : 800.04, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 800.00, "total" : 800.00, "payments": [ { "type": 0, "sum" : 800.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:13:17]execute_script... [12:13: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 : (1)872612", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 11.800, "sum" : 800.04, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 800.00, "total" : 800.00, "payments": [ { "type": 0, "sum" : 800.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:13:17]POST & json_proto [12:13:17]process_json_proto [12:13:17]json parsed OK: [12:13:17]protocol is kg_v1.0 [12:13:17]action value=close_receipt [12:13:17]process_action close_receipt [12:13:17]cmd_close_receipt [12:13:17]MH_GetDate [12:13:17]Write to MH i2c: F0 00 00 B8 00 A7 [12:13:17]Write i2c OK [12:13:17]MH_I2C_Read... [12:13:17]Read from MH i2c: F0 [12:13:17]MH_I2C_Read... [12:13:17]Read from MH i2c: F0 09 00 [12:13:17]MH_I2C_Read... [12:13:17]Read from MH i2c: F0 09 00 B8 00 00 DD AC F2 66 96 2E 95 66 50 [12:13:17]GetLastDocTimeStamp 1727179539 [12:13:17]current date 1727179997 [12:13:17]FM_GetShiftState [12:13:17]SAM_PROTO_GetShiftState [12:13:17]wFMCommunicate request_size=4 [12:13:17]MH_SAM_APDU [12:13:17]CAPDU: 80 13 01 00 [12:13:17]Write to MH i2c: E2 08 00 B9 00 80 13 01 00 00 00 00 00 36 [12:13:17]Write i2c OK [12:13:17]MH_I2C_Read... [12:13:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:13:17]Read from MH i2c: E2 [12:13:17]MH_I2C_Read... [12:13:17]Read from MH i2c: E2 0E 00 [12:13:17]MH_I2C_Read... [12:13:17]Read from MH i2c: E2 0E 00 B9 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 DC [12:13:17]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [12:13:17]wFMCommunicate OK [12:13:17]SAM_PROTO_GetShiftState done [12:13:17]FM_GetShiftState done [12:13:17]opened in 1727137340 [12:13:17]opened+sec_in_day 1727223740 [12:13:17]quantity*price = 80004 [12:13:17]sum+1 = 80005 [12:13:17]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.04 ИТОГО: 800.00 Внесено: 800.00 СДАЧА: 0.00 НСП 1% : 7.08 НДС 12% : 84.96 Наличными: 800.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 39 24.09.2024 12:13 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 ФМ: 0000000002094258 ФД: 7903 ФПД: 69089060360487 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T121317&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7903&fm=69089060360487&tin=02508201610067®Number=0000000000190446&sum=80000 [12:13:18]StoreToDocumentArchive [12:13:18]shift 72 fd 7903 [12:13:18]save to /storage/0072/doc_00007903 [12:13:18]save last doc name /storage/0072/doc_00007903 to /storage/kkm_last_doc_name [12:13:18]save OK [12:13:18]Clear old archive folders... [12:13:18]ProcessDocumentItem done err = 0, tmpTLVsize=251 [12:13:18]tlvbuf is 00F85B10 [12:13:18]SAM_PROTO_ClearQueue [12:13:18]wFMCommunicate request_size=4 [12:13:18]MH_SAM_APDU [12:13:18]CAPDU: 80 09 00 00 [12:13:18]Write to MH i2c: E2 08 00 C6 00 80 09 00 00 00 00 00 00 38 [12:13:18]Write i2c OK [12:13:18]MH_I2C_Read... [12:13:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:13:18]Read from MH i2c: E2 [12:13:18]MH_I2C_Read... [12:13:18]Read from MH i2c: E2 03 00 [12:13:18]MH_I2C_Read... [12:13:18]Read from MH i2c: E2 03 00 C6 00 00 90 00 3A [12:13:18]RAPDU: 90 00 [12:13:18]wFMCommunicate OK [12:13:18]SAM_PROTO_ClearQueue done [12:13:18]KKMCreateOFDPacket [12:13:18]OFDProtocolAddRootSTLVToBuf [12:13:18]FM_MakeSignedData [12:13:18]FM_MakeSignedData [12:13:18]SAM_PROTO_SignData [12:13:18]wFMCommunicate request_size=4 [12:13:18]MH_SAM_APDU [12:13:18]CAPDU: 80 0D 01 02 [12:13:18]Write to MH i2c: E2 08 00 C7 00 80 0D 01 02 00 00 00 00 40 [12:13:18]Write i2c OK [12:13:18]MH_I2C_Read... [12:13:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:13:18]Read from MH i2c: E2 [12:13:18]MH_I2C_Read... [12:13:18]Read from MH i2c: E2 03 00 [12:13:18]MH_I2C_Read... [12:13:18]Read from MH i2c: E2 03 00 C7 00 00 90 00 3B [12:13:18]RAPDU: 90 00 [12:13:18]wFMCommunicate OK [12:13:18]wFMCommunicate request_size=255 [12:13:18]MH_SAM_APDU [12:13:18]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 18 2E 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 84 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 30 21 00 00 00 00 07 04 06 00 80 38 01 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 DD AC F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DF 1E 00 00 35 04 06 00 3E [12:13:18]Write to MH i2c: E2 02 01 C8 00 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 18 2E 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 84 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 30 21 00 00 00 00 07 04 06 00 80 38 01 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 DD AC F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DF 1E 00 00 35 04 06 00 3E 00 00 F4 [12:13:18]Write i2c OK [12:13:18]MH_I2C_Read... [12:13:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:13:18]Read from MH i2c: E2 [12:13:18]MH_I2C_Read... [12:13:18]Read from MH i2c: E2 03 00 [12:13:18]MH_I2C_Read... [12:13:18]Read from MH i2c: E2 03 00 C8 00 00 90 00 3C [12:13:18]RAPDU: 90 00 [12:13:18]wFMCommunicate OK [12:13:18]wFMCommunicate request_size=10 [12:13:18]MH_SAM_APDU [12:13:18]CAPDU: 80 0D 02 02 05 D6 0C E6 91 27 [12:13:18]Write to MH i2c: E2 0D 00 C9 00 80 0D 02 02 05 00 D6 0C E6 91 27 00 00 CD [12:13:18]Write i2c OK [12:13:18]MH_I2C_Read... [12:13:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:13:18]Read from MH i2c: E2 [12:13:18]MH_I2C_Read... [12:13:18]Read from MH i2c: E2 03 00 [12:13:18]MH_I2C_Read... [12:13:18]Read from MH i2c: E2 03 00 C9 00 00 90 00 3D [12:13:18]RAPDU: 90 00 [12:13:18]wFMCommunicate OK [12:13:18]wFMCommunicate request_size=4 [12:13:18]MH_SAM_APDU [12:13:18]CAPDU: 80 0D 03 02 [12:13:18]Write to MH i2c: E2 08 00 CA 00 80 0D 03 02 00 00 00 00 45 [12:13:18]Write i2c OK [12:13:18]MH_I2C_Read... [12:13:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:13:18]Read from MH i2c: E2 [12:13:18]MH_I2C_Read... [12:13:18]Read from MH i2c: E2 0B 00 [12:13:18]MH_I2C_Read... [12:13:18]Read from MH i2c: E2 0B 00 CA 00 00 1A 2C 68 71 DF CB 37 5C 90 00 A2 [12:13:18]RAPDU: 1A 2C 68 71 DF CB 37 5C 90 00 [12:13:18]wFMCommunicate OK [12:13:18]SAM_PROTO_SignData done [12:13:18]FM_MakeSignedData done [12:13:18]CreateOFDProtocolMessage [12:13:18]wFMCommunicate request_size=4 [12:13:18]MH_SAM_APDU [12:13:18]CAPDU: 80 11 00 00 [12:13:18]Write to MH i2c: E2 08 00 CB 00 80 11 00 00 00 00 00 00 45 [12:13:18]Write i2c OK [12:13:18]MH_I2C_Read... [12:13:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:13:18]Read from MH i2c: E2 [12:13:18]MH_I2C_Read... [12:13:18]Read from MH i2c: E2 17 00 [12:13:18]MH_I2C_Read... [12:13:18]Read from MH i2c: E2 17 00 CB 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 96 [12:13:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [12:13:18]wFMCommunicate OK [12:13:18]CreateOFDProtocolMessage done [12:13:18]OFDSenderStorePacket 7903 [12:13:18]StoreOFDPacket docnum=7903 [12:13:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 70 6D 07 01 44 FB 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 18 2E 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 84 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 30 21 00 00 00 00 07 04 06 00 80 38 01 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 DD AC F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DF 1E 00 00 35 04 06 00 3E D6 0C E6 91 27 1A 2C 68 71 DF CB 37 5C [12:13:18]CheckFolder [12:13:18]dirname=/storage/ofd_packets [12:13:18]CheckFolder done [12:13:18]ProducePacketName [12:13:18]name=ofd_packets/00007903 [12:13:18]NVStorageSaveData ofd_packets/00007903 [12:13:18]File name is /storage/ofd_packets/00007903 [12:13:18]Write 301 bytes [12:13:18]NVStorageSaveData done [12:13:18]OFDSenderStorePacket done [12:13:18]KKMCreateOFDPacket done [12:13:18]NVStorageSaveData kkm_last_timestamp [12:13:18]File name is /storage/kkm_last_timestamp [12:13:18]Write 4 bytes [12:13:18]NVStorageSaveData done [12:13:18]ExternCall_PrintAddStr [12:13:18]wPrintStart [12:13:18]Write to MH i2c: 01 00 00 CC 00 CC [12:13:18]Write i2c OK [12:13:18]MH_I2C_Read... [12:13:18]Read from MH i2c: 01 [12:13:18]MH_I2C_Read... [12:13:18]Read from MH i2c: 01 07 00 [12:13:18]MH_I2C_Read... [12:13:18]Read from MH i2c: 01 07 00 CC 00 00 00 00 00 00 FF 0F E1 [12:13:18]RasterBufferAndPrint [12:13:18]line Счет N : (1)872612 [12:13:18]line ИНН: 02508201610067 [12:13:18]line Контрольно-Кассовый Чек [12:13:18]line ПРОДАЖА [12:13:18]line ТРК (МРК, ГНК) : 43 [12:13:18]line Товар: 2710124130 [12:13:18]line Аи-92-К-5 [12:13:18]line 11.800 * 67.80 [12:13:18]line = 800.04 [12:13:18]line НДС 12% НСП 1% [12:13:18]line > о реализуемом товаре [12:13:18]line ОКРУГЛЕНИЕ: -0.04 [12:13:18]line ИТОГО: 800.00 [12:13:18]line Внесено: 800.00 [12:13:18]line СДАЧА: 0.00 [12:13:18]line НСП 1% : 7.08 [12:13:18]line НДС 12% : 84.96 [12:13:18]line Наличными: 800.00 [12:13:18]line Безнал.: 0.00 [12:13:18]line Место: АЗС № 137 "Партнер Нефть" [12:13:18]line Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 [12:13:18]line СНО: Общий режим [12:13:18]line Чек 39 24.09.2024 12:13 [12:13:18]line Смена: 72 ФФД: 1.0 [12:13:18]line ЗНМ: 0300000041 [12:13:18]line РНМ: 0000000000190446 [12:13:18]line Версия ККМ: v1.0 [12:13:18]line ФМ: 0000000002094258 [12:13:18]line ФД: 7903 [12:13:18]line ФПД: 69089060360487 [12:13:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T121317&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7903&fm=69089060360487&tin=02508201610067®Number=0000000000190446&sum=80000 [12:13:19]OFD Sender: Processing packet 7903 [packets to send 51, broken 50] [12:13:19]ProducePacketName [12:13:19]name=ofd_packets/00007903 [12:13:19]OFD Sender: To server: pG, [12:13:19]CommunicateWithHost lk.salyk.kg:30040 [12:13:19]ConnectInit lk.salyk.kg [12:13:19]written 0, free lines is 4095 [12:13:19]Write to MH i2c: 01 00 00 F7 00 F7 [12:13:19]Write i2c OK [12:13:19]MH_I2C_Read... [12:13:19]Read from MH i2c: 01 [12:13:19]MH_I2C_Read... [12:13:19]Read from MH i2c: 01 07 00 [12:13:19]MH_I2C_Read... [12:13:19]Read from MH i2c: 01 07 00 F7 00 00 00 00 00 00 F2 0C FC [12:13:19]RasterBufferAndPrint [12:13:19]line [12:13:19]line [12:13:19]line [12:13:19]line [12:13:19]line [12:13:19]written 0, free lines is 3320 [12:13:19]MH_Cut [12:13:19]Write to MH i2c: D1 01 00 FE 00 01 D0 [12:13:19]Write i2c OK [12:13:19]MH_I2C_Read... [12:13:19]Read from MH i2c: D1 [12:13:19]MH_I2C_Read... [12:13:19]Read from MH i2c: D1 01 00 [12:13:19]MH_I2C_Read... [12:13:19]Read from MH i2c: D1 01 00 FE 00 00 CF [12:13:19]Write to MH i2c: 01 00 00 FF 00 FF [12:13:19]Write i2c OK [12:13:19]MH_I2C_Read... [12:13:20]*** Cut start [12:13:20]*** Purtial cut [12:13:20]*** Stage 1: CUTSNS_PIN = 1 [12:13:20]Read from MH i2c: 01 [12:13:20]MH_I2C_Read... [12:13:20]*** Stop cut motor [12:13:20]*** Cut end [12:13:20]Read from MH i2c: 01 07 00 [12:13:20]MH_I2C_Read... [12:13:20]Read from MH i2c: 01 07 00 FF 00 00 00 00 00 00 FF 0F 14 [12:13:20]process_action close_receipt done [12:13:20]requested_data is exist [12:13:20]produce_requested_data [12:13:20]requested_item fm.sn is exist - process it [12:13:20]wFMCommunicate request_size=4 [12:13:20]MH_SAM_APDU [12:13:20]CAPDU: 80 11 00 00 [12:13:20]Write to MH i2c: E2 08 00 00 01 80 11 00 00 00 00 00 00 7B [12:13:20]Write i2c OK [12:13:20]MH_I2C_Read... [12:13:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:13:20]Read from MH i2c: E2 [12:13:20]MH_I2C_Read... [12:13:20]Read from MH i2c: E2 17 00 [12:13:20]MH_I2C_Read... [12:13:20]Read from MH i2c: E2 17 00 00 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 CC [12:13:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [12:13:20]wFMCommunicate OK [12:13:20]requested_item fd.num is exist - process it [12:13:20]SAM_PROTO_GetFieldsCounters [12:13:20]wFMCommunicate request_size=4 [12:13:20]MH_SAM_APDU [12:13:20]CAPDU: 80 13 00 00 [12:13:20]Write to MH i2c: E2 08 00 01 01 80 13 00 00 00 00 00 00 7E [12:13:20]Write i2c OK [12:13:20]MH_I2C_Read... [12:13:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:13:20]Read from MH i2c: E2 [12:13:20]MH_I2C_Read... [12:13:20]Read from MH i2c: E2 62 00 [12:13:20]MH_I2C_Read... [12:13:20]Read from MH i2c: E2 62 00 01 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 DF 1E 00 00 0E 04 04 00 48 00 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 56 [12:13:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 DF 1E 00 00 0E 04 04 00 48 00 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 [12:13:20]wFMCommunicate OK [12:13:20]SAM_PROTO_GetFieldsCounters done [12:13:20]requested_item shift.num is exist - process it [12:13:20]requested_item shift.opened is exist - process it [12:13:20]req_shift_opened [12:13:20]FM_GetShiftState [12:13:20]SAM_PROTO_GetShiftState [12:13:20]wFMCommunicate request_size=4 [12:13:20]MH_SAM_APDU [12:13:20]CAPDU: 80 13 01 00 [12:13:20]Write to MH i2c: E2 08 00 02 01 80 13 01 00 00 00 00 00 80 [12:13:20]Write i2c OK [12:13:20]MH_I2C_Read... [12:13:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:13:20]Read from MH i2c: E2 [12:13:20]MH_I2C_Read... [12:13:20]Read from MH i2c: E2 0E 00 [12:13:20]MH_I2C_Read... [12:13:20]Read from MH i2c: E2 0E 00 02 01 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 26 [12:13:20]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [12:13:20]wFMCommunicate OK [12:13:20]SAM_PROTO_GetShiftState done [12:13:20]FM_GetShiftState done [12:13:20]req_shift_opened done [12:13:20]requested_item shift.open_date is exist - process it [12:13:20]req_shift_open_date [12:13:20]req_shift_open_date done [12:13:20]produce_requested_data done [12:13:20]produce_requested_data return {"fm.sn":"0000000002094258","fd.num":7903,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [12:13:20]process_action_free close_receipt [12:13:20]json_value_free [12:13:20]json_value_free done [12:13:20]process_json_proto returns [12:13:20]Send response to host [12:13:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002094258","fd.num":7903,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [12:13:20]free response buf [12:13:20]execute_script done [12:13:20]execute_script returns [12:13:20]free content buf [12:13:20]Sock 9.Close socket [12:13:20]Sock 9.Thread stoped [12:13:24]ConnectInit Can't take IP for lk.salyk.kg [12:13:24]CommunicateWithHost connect error [12:13:24]CommunicateWithHost err = -1 [12:13:24]OFD Sender: Server communicate error [12:13:29]OFD Sender: Processing packet 7903 [packets to send 51, broken 50] [12:13:29]ProducePacketName [12:13:29]name=ofd_packets/00007903 [12:13:29]OFD Sender: To server: pG, [12:13:29]CommunicateWithHost lk.salyk.kg:30040 [12:13:29]ConnectInit lk.salyk.kg [12:13:34]recv_with_timeout no data received [12:13:49]Connected sock=9 [12:13:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 70 6D 07 01 44 FB 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 18 2E 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 84 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 30 21 00 00 00 00 07 04 06 00 80 38 01 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 DD AC F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DF 1E 00 00 35 04 06 00 3E D6 0C E6 91 27 1A 2C 68 71 DF CB 37 5C [12:13:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 A1 2F 47 00 63 92 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 DF 1E 00 00 F4 03 04 00 B4 57 F2 66 B6 04 01 00 00 28 E6 3A 1C 1B A7 AE FC [12:13:50]CommunicateWithHost err = 0 [12:13:50]CheckOFDResponse [12:13:50]1017 (14) - 77093643461234 [12:13:50]1041 (16) - 0000000002094258 [12:13:50]1040 (4) - 7903 [12:13:50]1012 (4) - 24.09.2024 06:09 [12:13:50]1206 (1) - 0 [12:13:50]OFD Sender: Remove packet 7903 [12:13:50]ProducePacketName [12:13:50]name=ofd_packets/00007903 [12:13:50]NVStorageDeleteData [12:13:51]OFD Sender: No OFD packet to send [12:13:56]OFD Sender: No OFD packet to send [12:14:01]OFD Sender: No OFD packet to send [12:14:06]OFD Sender: No OFD packet to send [12:14:11]OFD Sender: No OFD packet to send [12:14:16]OFD Sender: No OFD packet to send [12:14:21]OFD Sender: No OFD packet to send [12:14:26]OFD Sender: No OFD packet to send [12:14:31]OFD Sender: No OFD packet to send [12:14:36]OFD Sender: No OFD packet to send [12:14:41]OFD Sender: No OFD packet to send [12:14:45]recv_with_timeout no data received [12:14:46]OFD Sender: No OFD packet to send [12:14:51]OFD Sender: No OFD packet to send [12:14:56]OFD Sender: No OFD packet to send [12:15:01]OFD Sender: No OFD packet to send [12:15:06]OFD Sender: No OFD packet to send [12:15:11]OFD Sender: No OFD packet to send [12:15:16]OFD Sender: No OFD packet to send [12:15:21]OFD Sender: No OFD packet to send [12:15:26]OFD Sender: No OFD packet to send [12:15:31]OFD Sender: No OFD packet to send [12:15:36]OFD Sender: No OFD packet to send [12:15:41]OFD Sender: No OFD packet to send [12:15:46]OFD Sender: No OFD packet to send [12:15:51]OFD Sender: No OFD packet to send [12:15:56]OFD Sender: No OFD packet to send [12:16:01]OFD Sender: No OFD packet to send [12:16:06]OFD Sender: No OFD packet to send [12:16:11]OFD Sender: No OFD packet to send [12:16:16]OFD Sender: No OFD packet to send [12:16:21]OFD Sender: No OFD packet to send [12:16:26]OFD Sender: No OFD packet to send [12:16:30]recv_with_timeout no data received [12:16:31]OFD Sender: No OFD packet to send [12:16:36]OFD Sender: No OFD packet to send [12:16:41]OFD Sender: No OFD packet to send [12:16:46]OFD Sender: No OFD packet to send [12:16:51]OFD Sender: No OFD packet to send [12:16:56]OFD Sender: No OFD packet to send [12:17:01]OFD Sender: No OFD packet to send [12:17:06]OFD Sender: No OFD packet to send [12:17:11]OFD Sender: No OFD packet to send [12:17:16]OFD Sender: No OFD packet to send [12:17:21]OFD Sender: No OFD packet to send [12:17:26]OFD Sender: No OFD packet to send [12:17:28]accept exits with 8 [12:17:28]New connection [12:17:28]New thread 3067317604 created [12:17:28]Thread 3067460964 joined [12:17:28]Waiting for new connection... [12:17:28] Sock 8.Parse request [12:17:28]Sock 8.Check first char [12:17:28]Sock 8.First char is OK [12:17:28]request: POST /json_proto HTTP/1.0 [12:17:28]Method: POST [12:17:28]URL: /json_proto [12:17:28]Method is POST - this is cgi request [12:17:28]url: /json_proto [12:17:28]query_string will be loaded in cgi processing [12:17:28]execute_cgi json_proto POST (null) [12:17:28]execute_cgi path=json_proto method=POST [12:17:28]POST find Content-Length [12:17:28]Host: 172.17.47.195:8080 [12:17:28]Content-Length: 682 [12:17:28]Content-Type: application/json [12:17:28] [12:17:28]POST finish read [12:17:28]Found Content-Length = 682 [12:17:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872615", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 14.750, "sum" : 1000.05, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:17:28]execute_script... [12:17: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 : (1)872615", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 14.750, "sum" : 1000.05, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:17:28]POST & json_proto [12:17:28]process_json_proto [12:17:28]json parsed OK: [12:17:28]protocol is kg_v1.0 [12:17:28]action value=close_receipt [12:17:28]process_action close_receipt [12:17:28]cmd_close_receipt [12:17:28]MH_GetDate [12:17:28]Write to MH i2c: F0 00 00 03 01 F3 [12:17:28]Write i2c OK [12:17:28]MH_I2C_Read... [12:17:28]Read from MH i2c: F0 [12:17:28]MH_I2C_Read... [12:17:28]Read from MH i2c: F0 09 00 [12:17:28]MH_I2C_Read... [12:17:28]Read from MH i2c: F0 09 00 03 01 00 D9 AD F2 66 96 2E 95 66 99 [12:17:28]GetLastDocTimeStamp 1727179997 [12:17:28]current date 1727180249 [12:17:28]FM_GetShiftState [12:17:28]SAM_PROTO_GetShiftState [12:17:28]wFMCommunicate request_size=4 [12:17:28]MH_SAM_APDU [12:17:28]CAPDU: 80 13 01 00 [12:17:28]Write to MH i2c: E2 08 00 04 01 80 13 01 00 00 00 00 00 82 [12:17:28]Write i2c OK [12:17:28]MH_I2C_Read... [12:17:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:17:28]Read from MH i2c: E2 [12:17:28]MH_I2C_Read... [12:17:28]Read from MH i2c: E2 0E 00 [12:17:28]MH_I2C_Read... [12:17:28]Read from MH i2c: E2 0E 00 04 01 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 28 [12:17:28]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [12:17:28]wFMCommunicate OK [12:17:28]SAM_PROTO_GetShiftState done [12:17:28]FM_GetShiftState done [12:17:28]opened in 1727137340 [12:17:28]opened+sec_in_day 1727223740 [12:17:28]quantity*price = 100005 [12:17:28]sum+1 = 100006 [12:17:28]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.05 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.20 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 40 24.09.2024 12:17 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 ФМ: 0000000002094258 ФД: 7904 ФПД: 250965886585717 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T121729&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7904&fm=250965886585717&tin=02508201610067®Number=0000000000190446&sum=100000 [12:17:29]StoreToDocumentArchive [12:17:29]shift 72 fd 7904 [12:17:29]save to /storage/0072/doc_00007904 [12:17:29]save last doc name /storage/0072/doc_00007904 to /storage/kkm_last_doc_name [12:17:29]save OK [12:17:29]Clear old archive folders... [12:17:29]ProcessDocumentItem done err = 0, tmpTLVsize=251 [12:17:29]tlvbuf is 00F2F2C0 [12:17:29]SAM_PROTO_ClearQueue [12:17:29]wFMCommunicate request_size=4 [12:17:29]MH_SAM_APDU [12:17:29]CAPDU: 80 09 00 00 [12:17:29]Write to MH i2c: E2 08 00 11 01 80 09 00 00 00 00 00 00 84 [12:17:29]Write i2c OK [12:17:29]MH_I2C_Read... [12:17:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:17:29]Read from MH i2c: E2 [12:17:29]MH_I2C_Read... [12:17:29]Read from MH i2c: E2 03 00 [12:17:29]MH_I2C_Read... [12:17:29]Read from MH i2c: E2 03 00 11 01 00 90 00 86 [12:17:29]RAPDU: 90 00 [12:17:29]wFMCommunicate OK [12:17:29]SAM_PROTO_ClearQueue done [12:17:29]KKMCreateOFDPacket [12:17:29]OFDProtocolAddRootSTLVToBuf [12:17:29]FM_MakeSignedData [12:17:29]FM_MakeSignedData [12:17:29]SAM_PROTO_SignData [12:17:29]wFMCommunicate request_size=4 [12:17:29]MH_SAM_APDU [12:17:29]CAPDU: 80 0D 01 02 [12:17:29]Write to MH i2c: E2 08 00 12 01 80 0D 01 02 00 00 00 00 8C [12:17:29]Write i2c OK [12:17:29]MH_I2C_Read... [12:17:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:17:29]Read from MH i2c: E2 [12:17:29]MH_I2C_Read... [12:17:29]Read from MH i2c: E2 03 00 [12:17:29]MH_I2C_Read... [12:17:29]Read from MH i2c: E2 03 00 12 01 00 90 00 87 [12:17:29]RAPDU: 90 00 [12:17:29]wFMCommunicate OK [12:17:29]wFMCommunicate request_size=255 [12:17:29]MH_SAM_APDU [12:17:29]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 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 D9 AD F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E0 1E 00 00 35 04 06 00 E4 [12:17:29]Write to MH i2c: E2 02 01 13 01 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 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 D9 AD F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E0 1E 00 00 35 04 06 00 E4 00 00 C7 [12:17:29]Write i2c OK [12:17:29]MH_I2C_Read... [12:17:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:17:30]Read from MH i2c: E2 [12:17:30]MH_I2C_Read... [12:17:30]Read from MH i2c: E2 03 00 [12:17:30]MH_I2C_Read... [12:17:30]Read from MH i2c: E2 03 00 13 01 00 90 00 88 [12:17:30]RAPDU: 90 00 [12:17:30]wFMCommunicate OK [12:17:30]wFMCommunicate request_size=10 [12:17:30]MH_SAM_APDU [12:17:30]CAPDU: 80 0D 02 02 05 40 8C 85 4B 75 [12:17:30]Write to MH i2c: E2 0D 00 14 01 80 0D 02 02 05 00 40 8C 85 4B 75 00 00 AA [12:17:30]Write i2c OK [12:17:30]MH_I2C_Read... [12:17:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:17:30]Read from MH i2c: E2 [12:17:30]MH_I2C_Read... [12:17:30]Read from MH i2c: E2 03 00 [12:17:30]MH_I2C_Read... [12:17:30]Read from MH i2c: E2 03 00 14 01 00 90 00 89 [12:17:30]RAPDU: 90 00 [12:17:30]wFMCommunicate OK [12:17:30]wFMCommunicate request_size=4 [12:17:30]MH_SAM_APDU [12:17:30]CAPDU: 80 0D 03 02 [12:17:30]Write to MH i2c: E2 08 00 15 01 80 0D 03 02 00 00 00 00 91 [12:17:30]Write i2c OK [12:17:30]MH_I2C_Read... [12:17:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:17:30]Read from MH i2c: E2 [12:17:30]MH_I2C_Read... [12:17:30]Read from MH i2c: E2 0B 00 [12:17:30]MH_I2C_Read... [12:17:30]Read from MH i2c: E2 0B 00 15 01 00 30 2A 01 89 C6 0A 8B 77 90 00 48 [12:17:30]RAPDU: 30 2A 01 89 C6 0A 8B 77 90 00 [12:17:30]wFMCommunicate OK [12:17:30]SAM_PROTO_SignData done [12:17:30]FM_MakeSignedData done [12:17:30]CreateOFDProtocolMessage [12:17:30]wFMCommunicate request_size=4 [12:17:30]MH_SAM_APDU [12:17:30]CAPDU: 80 11 00 00 [12:17:30]Write to MH i2c: E2 08 00 16 01 80 11 00 00 00 00 00 00 91 [12:17:30]Write i2c OK [12:17:30]MH_I2C_Read... [12:17:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:17:30]Read from MH i2c: E2 [12:17:30]MH_I2C_Read... [12:17:30]Read from MH i2c: E2 17 00 [12:17:30]MH_I2C_Read... [12:17:30]Read from MH i2c: E2 17 00 16 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 E2 [12:17:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [12:17:30]wFMCommunicate OK [12:17:30]CreateOFDProtocolMessage done [12:17:30]OFDSenderStorePacket 7904 [12:17:30]StoreOFDPacket docnum=7904 [00:00:09] *** EcrCore started. Build 196 *** [00:00:09]/dev/ttyS4 opened [00:00:09]MH_InterfaceInit /dev/i2c-1 [00:00:09]Malloc ok [00:00:09]MH_GetMetrics [00:00:09]Write to MH i2c: 00 00 00 01 00 00 [00:00:09]Write i2c OK [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 00 29 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 00 29 00 01 00 00 03 33 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 24 E0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 1B [00:00:09]Are we in boot? [00:00:09]We are in boot - try to switch [00:00:09]Write to MH i2c: A0 00 00 02 00 A1 [00:00:09]Write i2c OK [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: A0 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: A0 01 00 [00:00:09]MH_I2C_Read... [00:00:09]*** Check firmware version 30515, crc_r 5823D75D, crc_c: 5823D75D, size: 52480 [00:00:09]*** [00:00:09]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:09]*** Starting fw at address 01020100 (2007E318 010246F9) [00:00:09]*** Waiting for read because exit forced [00:00:09]*** 10 ms more... [00:00:09]*** MH1903 init start (LINUX_LIGHT) [00:00:09]*** Serial: 3139303353513838 54000000005724E0 (1903SQ88T) [00:00:09]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:09]*** step 0: 5000 (2650, 2350 REF) [00:00:09]*** step 1: 4835 (2500, 2335 REF) [00:00:09]*** step 2: 4676 (2440, 2236 REF) [00:00:09]*** step 3: 4523 (2280, 2243 REF) [00:00:09]*** step 4: 4376 (2160, 2216 REF) [00:00:09]*** step 5: 4235 (2050, 2185 REF) [00:00:09]*** step 6: 4098 (1950, 2148 REF) [00:00:09]*** step 7: 3967 (1870, 2097 REF) [00:00:09]*** step 8: 3840 (1828, 2012 REF) [00:00:09]*** step 9: 3719 (1728, 1991 REF) [00:00:09]*** step 10: 3601 (1675, 1926 REF) [00:00:09]*** step 11: 3488 (1635, 1853 REF) [00:00:09]*** step 12: 3379 (1595, 1784 REF) [00:00:09]*** step 13: 3275 (1565, 1710 REF) [00:00:09]*** step 14: 3174 (1543, 1631 REF) [00:00:09]*** step 15: 3077 (1523, 1554 REF) [00:00:09]*** step 16: 2983 (1503, 1480 REF) [00:00:09]*** step 17: 2893 (1486, 1407 REF) [00:00:09]*** step 18: 2806 (1466, 1340 REF) [00:00:09]*** step 19: 2723 (1426, 1297 REF) [00:00:09]*** step 20: 2642 (1406, 1236 REF) [00:00:09]*** step 21: 2565 (1384, 1181 REF) [00:00:09]*** step 22: 2490 (1364, 1126 REF) [00:00:09]*** step 23: 2418 (1344, 1074 REF) [00:00:09]*** step 24: 2349 (1322, 1027 REF) [00:00:09]*** step 25: 2283 (1302, 981 REF) [00:00:09]*** step 26: 2218 (1282, 936 REF) [00:00:09]*** step 27: 2157 (1262, 895 REF) [00:00:09]*** step 28: 2097 (1242, 855 REF) [00:00:09]*** step 29: 2040 (1222, 818 REF) [00:00:09]*** step 30: 1985 (1202, 783 REF) [00:00:09]*** step 31: 1932 (1191, 741 REF) [00:00:09]*** step 32: 1880 (1181, 699 REF) [00:00:09]*** step 33: 1831 (1171, 660 REF) [00:00:09]*** step 34: 1784 (1161, 623 REF) [00:00:09]*** step 35: 1738 (1151, 587 REF) [00:00:09]*** step 36: 1694 (1141, 553 REF) [00:00:09]*** step 37: 1652 (1131, 521 REF) [00:00:09]*** step 38: 1611 (1121, 490 REF) [00:00:09]*** step 39: 1572 (1111, 461 REF) [00:00:09]*** step 40: 1534 (1103, 431 REF) [00:00:09]*** step 41: 1497 (1093, 404 REF) [00:00:09]*** step 42: 1462 (1083, 379 REF) [00:00:09]*** step 43: 1428 (1073, 355 REF) [00:00:09]*** step 44: 1396 (1063, 333 REF) [00:00:09]*** step 45: 1365 (1053, 312 REF) [00:00:09]*** step 46: 1334 (1043, 291 REF) [00:00:09]*** step 47: 1305 (1033, 272 REF) [00:00:09]*** step 48: 1277 (1023, 254 REF) [00:00:09]*** step 49: 1250 (1013, 237 REF) [00:00:09]*** step 50: 1224 (990, 234 REF) [00:00:09]*** step 51: 1199 (980, 219 REF) [00:00:09]*** step 52: 1175 (970, 205 REF) [00:00:09]*** step 53: 1152 (960, 192 REF) [00:00:09]*** step 54: 1130 (950, 180 REF) [00:00:09]*** step 55: 1108 (940, 168 REF) [00:00:09]*** step 56: 1088 (930, 158 REF) [00:00:09]*** step 57: 1068 (920, 148 REF) [00:00:09]*** step 58: 1049 (910, 139 REF) [00:00:09]*** step 59: 1030 (900, 130 REF) [00:00:09]*** step 60: 1012 (890, 122 REF) [00:00:09]*** step 61: 995 (880, 115 REF) [00:00:09]*** step 62: 979 (870, 109 REF) [00:00:09]*** step 63: 963 (860, 103 REF) [00:00:09]*** step 64: 948 (850, 98 REF) [00:00:09]*** step 65: 933 (840, 93 REF) [00:00:09]*** step 66: 919 (830, 89 REF) [00:00:09]*** step 67: 905 (820, 85 REF) [00:00:09]*** step 68: 892 (810, 82 REF) [00:00:09]*** step 69: 879 (800, 79 REF) [00:00:09]*** step 70: 867 (790, 77 REF) [00:00:09]*** step 71: 855 (780, 75 REF) [00:00:09]*** step 72: 844 (770, 74 REF) [00:00:09]*** step 73: 833 (760, 73 REF) [00:00:09]*** step 74: 822 (750, 72 REF) [00:00:09]*** step 75: 812 (740, 72 REF) [00:00:09]*** step 76: 803 (730, 73 REF) [00:00:09]*** step 77: 793 (720, 73 REF) [00:00:09]*** step 78: 784 (710, 74 REF) [00:00:09]*** step 79: 776 (700, 76 REF) [00:00:09]*** step 80: 767 (690, 77 REF) [00:00:09]*** step 81: 759 (680, 79 REF) [00:00:09]*** step 82: 751 (670, 81 REF) [00:00:09]*** step 83: 744 (660, 84 REF) [00:00:09]*** step 84: 737 (650, 87 REF) [00:00:09]*** step 85: 730 (640, 90 REF) [00:00:09]*** step 86: 723 (630, 93 REF) [00:00:09]*** step 87: 717 (620, 97 REF) [00:00:09]*** step 88: 710 (610, 100 REF) [00:00:09]*** step 89: 705 (600, 105 REF) [00:00:09]*** step 90: 699 [00:00:09]*** step 91: 693 [00:00:09]*** step 92: 688 [00:00:09]*** step 93: 683 [00:00:09]*** step 94: 678 [00:00:09]*** step 95: 673 [00:00:09]*** step 96: 669 [00:00:09]*** step 97: 664 [00:00:09]*** step 98: 660 [00:00:09]*** step 99: 656 [00:00:09]*** step 100: 652 [00:00:09]*** step 101: 648 [00:00:09]*** step 102: 644 [00:00:09]*** step 103: 641 [00:00:09]*** step 104: 638 [00:00:09]*** step 105: 634 [00:00:09]*** step 106: 631 [00:00:09]*** step 107: 628 [00:00:09]*** step 108: 625 [00:00:09]*** step 109: 622 [00:00:09]*** step 110: 620 [00:00:09]*** step 111: 617 [00:00:09]*** step 112: 615 [00:00:09]*** step 113: 612 [00:00:09]*** step 114: 610 [00:00:09]*** step 115: 608 [00:00:09]*** step 116: 605 [00:00:09]*** step 117: 603 [00:00:09]*** step 118: 601 [00:00:09]*** step 119: 599 [00:00:09]*** printer: Printer HW initialized [00:00:09]*** initSamCard finished [00:00:09]*** RTC: 6127877+1721052822=1727180699 [00:00:09]*** BPK Status Register BPK_RDY = 0x0 [00:00:09]*** SEN State Register SEN_STATE = 0x200ff [00:00:09]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:09]*** Analog Control Register 0 SEN_ANA0 = 0x33510623 [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 03 00 02 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 03 00 00 03 33 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 24 E0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 1C [00:00:10]Are we in boot? [00:00:10]We are not in boot now [00:00:10]Write to MH i2c: 01 00 00 04 00 04 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 01 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 01 07 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:10]Model is 3 [00:00:10]MH firmware is 30515 [00:00:10]MH boot firmware is 3 [00:00:10]MH_SetPrinterDots 448 [00:00:10]HeadWidthInBytes 56 [00:00:10]maxmasksize 7 [00:00:10]Write to MH i2c: D6 06 00 05 00 41 00 60 00 FF FF 7F [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D6 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D6 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:10]Write to MH i2c: D5 00 00 06 00 DA [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D5 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D5 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]ExternCall_SetCallbacks [00:00:10]NVStorageInit [00:00:10]MH_GetDate [00:00:10]Write to MH i2c: F0 00 00 07 00 F6 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: F0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: F0 09 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: F0 09 00 07 00 00 9C AF F2 66 96 2E 95 66 61 [12:25:00]Current date/time: 24.09.2024 12:25 [12:25:00]FM_Init [12:25:00]wFMConnect [12:25:00]MH_SAM_On [12:25:00]Write to MH i2c: E0 00 00 08 00 E7 [12:25:00]Write i2c OK [12:25:00]MH_I2C_Read... [12:25:00]*** iso7816_init finished! [12:25:00]*** atr: [12:25:00]*** 0F 3B D5 18 FF 81 91 FE [12:25:00]*** 1F C3 80 73 C8 21 10 0A [12:25:00]*** 00 00 00 00 00 00 00 00 [12:25:00]*** 00 00 00 00 00 00 00 00 [12:25:00]*** 00 00 00 00 00 00 00 00 [12:25:00]*** 00 00 00 00 00 00 00 00 [12:25:00]*** 00 00 00 00 00 00 00 00 [12:25:00]*** 00 00 00 00 00 00 00 00 [12:25:00]Read from MH i2c: E0 [12:25:00]MH_I2C_Read... [12:25:00]Read from MH i2c: E0 10 00 [12:25:00]MH_I2C_Read... [12:25:00]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [12:25:00]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [12:25:00]wFMCommunicate request_size=10 [12:25:00]MH_SAM_APDU [12:25:00]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [12:25:00]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [12:25:00]Write i2c OK [12:25:00]MH_I2C_Read... [12:25:00]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [12:25:00]Read from MH i2c: E2 [12:25:00]MH_I2C_Read... [12:25:00]Read from MH i2c: E2 03 00 [12:25:00]MH_I2C_Read... [12:25:00]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [12:25:00]RAPDU: 90 00 [12:25:00]wFMCommunicate OK [12:25:00]wFMCommunicate request_size=4 [12:25:00]MH_SAM_APDU [12:25:00]CAPDU: 80 11 00 00 [12:25:00]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [12:25:00]Write i2c OK [12:25:00]MH_I2C_Read... [12:25:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:25:00]Read from MH i2c: E2 [12:25:00]MH_I2C_Read... [12:25:00]Read from MH i2c: E2 17 00 [12:25:00]MH_I2C_Read... [12:25:00]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 D5 [12:25:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [12:25:00]wFMCommunicate OK [12:25:00]Detected FM SN is 0000000002094258 [12:25:00]Stored FM SN is 0000000002094258 [12:25:00]wFMCommunicate request_size=9 [12:25:00]MH_SAM_APDU [12:25:00]CAPDU: 80 16 00 00 04 BC C2 00 00 [12:25:00]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 BC C2 00 00 00 00 10 [12:25:00]Write i2c OK [12:25:00]MH_I2C_Read... [12:25:00]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [12:25:00]Read from MH i2c: E2 [12:25:00]MH_I2C_Read... [12:25:00]Read from MH i2c: E2 03 00 [12:25:00]MH_I2C_Read... [12:25:00]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [12:25:00]RAPDU: 90 00 [12:25:00]wFMCommunicate OK [12:25:00]FM PIN OK [12:25:00]wFMCommunicate request_size=8 [12:25:00]MH_SAM_APDU [12:25:00]CAPDU: 80 14 04 00 03 02 00 01 [12:25:00]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [12:25:00]Write i2c OK [12:25:00]MH_I2C_Read... [12:25:00]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [12:25:00]Read from MH i2c: E2 [12:25:00]MH_I2C_Read... [12:25:00]Read from MH i2c: E2 03 00 [12:25:00]MH_I2C_Read... [12:25:00]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [12:25:00]RAPDU: 90 00 [12:25:00]wFMCommunicate OK [12:25:00]wFMCommunicate request_size=13 [12:25:00]MH_SAM_APDU [12:25:00]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [12:25:00]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [12:25:00]Write i2c OK [12:25:00]MH_I2C_Read... [12:25:00]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [12:25:00]Read from MH i2c: E2 [12:25:00]MH_I2C_Read... [12:25:00]Read from MH i2c: E2 03 00 [12:25:00]MH_I2C_Read... [12:25:00]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [12:25:00]RAPDU: 90 00 [12:25:00]wFMCommunicate OK [12:25:00]wFMCommunicate request_size=4 [12:25:00]MH_SAM_APDU [12:25:00]CAPDU: 80 11 00 00 [12:25:00]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [12:25:00]Write i2c OK [12:25:00]MH_I2C_Read... [12:25:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:25:00]Read from MH i2c: E2 [12:25:00]MH_I2C_Read... [12:25:00]Read from MH i2c: E2 17 00 [12:25:00]MH_I2C_Read... [12:25:00]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 D9 [12:25:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [12:25:00]wFMCommunicate OK [12:25:00]DocumentArchiveInit [12:25:00]Start Httpd... [12:25:00]Httpd thread 3067911524 created [12:25:00]Write to MH i2c: 01 00 00 0F 00 0F [12:25:00]Write i2c OK [12:25:00]MH_I2C_Read... [12:25:00]Read from MH i2c: 01 [12:25:00]MH_I2C_Read... [12:25:00]Read from MH i2c: 01 07 00 [12:25:00]MH_I2C_Read... [12:25:00]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [12:25:00]MH Int Process started [12:25:00]Allocated Socket 7 [12:25:00]Bind OK [12:25:00]Listen OK [12:25:00]httpd running on port 8080 [12:25:00]Waiting for new connection... [12:25:00]OFD Sender: Processing packet 7904 [packets to send 51, broken 50] [12:25:00]ProducePacketName [12:25:00]name=ofd_packets/00007904 [12:25:00]OFD Sender: To server: pG, [12:25:00]CommunicateWithHost lk.salyk.kg:30040 [12:25:00]ConnectInit lk.salyk.kg [12:25:01]accept exits with 8 [12:25:01]New connection [12:25:01]New thread 3067624804 created [12:25:01]Waiting for new connection... [12:25:01] Sock 8.Parse request [12:25:01]Sock 8.Check first char [12:25:01]Sock 8.First char is OK [12:25:01]request: POST /json_proto HTTP/1.0 [12:25:01]Method: POST [12:25:01]URL: /json_proto [12:25:01]Method is POST - this is cgi request [12:25:01]url: /json_proto [12:25:01]query_string will be loaded in cgi processing [12:25:01]execute_cgi json_proto POST (null) [12:25:01]execute_cgi path=json_proto method=POST [12:25:01]POST find Content-Length [12:25:01]Host: 172.17.47.195:8080 [12:25:01]Content-Length: 215 [12:25:01]Content-Type: application/json [12:25:01] [12:25:01]POST finish read [12:25:01]Found Content-Length = 215 [12:25:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:25:01]execute_script... [12:25:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:25:01]POST & json_proto [12:25:01]process_json_proto [12:25:01]json parsed OK: [12:25:01]protocol is kg_v1.0 [12:25:01]action value=get_value [12:25:01]process_action get_value [12:25:01]cmd_get_value [12:25:01]process_action get_value done [12:25:01]requested_data is exist [12:25:01]produce_requested_data [12:25:01]requested_item kkm.sn is exist - process it [12:25:01]requested_item kkm.ver is exist - process it [12:25:01]requested_item fm.sn is exist - process it [12:25:01]wFMCommunicate request_size=4 [12:25:01]MH_SAM_APDU [12:25:01]CAPDU: 80 11 00 00 [12:25:01]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [12:25:01]Write i2c OK [12:25:01]MH_I2C_Read... [12:25:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:25:01]Read from MH i2c: E2 [12:25:01]MH_I2C_Read... [12:25:01]Read from MH i2c: E2 17 00 [12:25:01]MH_I2C_Read... [12:25:01]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 DB [12:25:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [12:25:01]wFMCommunicate OK [12:25:01]requested_item fd.num is exist - process it [12:25:01]SAM_PROTO_GetFieldsCounters [12:25:01]wFMCommunicate request_size=4 [12:25:01]MH_SAM_APDU [12:25:01]CAPDU: 80 13 00 00 [12:25:01]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [12:25:01]Write i2c OK [12:25:01]MH_I2C_Read... [12:25:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:25:01]Read from MH i2c: E2 [12:25:01]MH_I2C_Read... [12:25:01]Read from MH i2c: E2 62 00 [12:25:01]MH_I2C_Read... [12:25:01]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 E0 1E 00 00 0E 04 04 00 48 00 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 69 [12:25:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 E0 1E 00 00 0E 04 04 00 48 00 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:25:01]wFMCommunicate OK [12:25:01]SAM_PROTO_GetFieldsCounters done [12:25:02]requested_item shift.num is exist - process it [12:25:02]requested_item shift.opened is exist - process it [12:25:02]req_shift_opened [12:25:02]FM_GetShiftState [12:25:02]SAM_PROTO_GetShiftState [12:25:02]wFMCommunicate request_size=4 [12:25:02]MH_SAM_APDU [12:25:02]CAPDU: 80 13 01 00 [12:25:02]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [12:25:02]Write i2c OK [12:25:02]MH_I2C_Read... [12:25:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:25:02]Read from MH i2c: E2 [12:25:02]MH_I2C_Read... [12:25:02]Read from MH i2c: E2 0E 00 [12:25:02]MH_I2C_Read... [12:25:02]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 35 [12:25:02]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [12:25:02]wFMCommunicate OK [12:25:02]SAM_PROTO_GetShiftState done [12:25:02]FM_GetShiftState done [12:25:02]req_shift_opened done [12:25:02]requested_item shift.open_date is exist - process it [12:25:02]req_shift_open_date [12:25:02]req_shift_open_date done [12:25:02]produce_requested_data done [12:25:02]produce_requested_data return {"kkm.sn":"0300000041","kkm.ver":"v1.0","fm.sn":"0000000002094258","fd.num":7904,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [12:25:02]process_action_free get_value [12:25:02]json_value_free [12:25:02]json_value_free done [12:25:02]process_json_proto returns [12:25:02]Send response to host [12:25:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000041","kkm.ver":"v1.0","fm.sn":"0000000002094258","fd.num":7904,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [12:25:02]free response buf [12:25:02]execute_script done [12:25:02]execute_script returns [12:25:02]free content buf [12:25:02]Sock 8.Close socket [12:25:02]Sock 8.Thread stoped [12:25:02]accept exits with 11 [12:25:02]New connection [12:25:02]New thread 3067481444 created [12:25:02]Thread 3067624804 joined [12:25:02]Waiting for new connection... [12:25:02] Sock 11.Parse request [12:25:02]Sock 11.Check first char [12:25:02]Sock 11.First char is OK [12:25:02]request: POST /json_proto HTTP/1.0 [12:25:02]Method: POST [12:25:02]URL: /json_proto [12:25:02]Method is POST - this is cgi request [12:25:02]url: /json_proto [12:25:02]query_string will be loaded in cgi processing [12:25:02]execute_cgi json_proto POST (null) [12:25:02]execute_cgi path=json_proto method=POST [12:25:02]POST find Content-Length [12:25:02]Host: 172.17.47.195:8080 [12:25:02]Content-Length: 331 [12:25:02]Content-Type: application/json [12:25:02] [12:25:02]POST finish read [12:25:02]Found Content-Length = 331 [12:25:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [12:25:02]execute_script... [12:25:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [12:25:02]POST & json_proto [12:25:02]process_json_proto [12:25:02]json parsed OK: [12:25:02]protocol is kg_v1.0 [12:25:02]action value=get_value [12:25:02]process_action get_value [12:25:02]cmd_get_value [12:25:02]process_action get_value done [12:25:02]requested_data is exist [12:25:02]produce_requested_data [12:25:02]requested_item fm.sale.total is exist - process it [12:25:02]SAM_PROTO_GetFMData [12:25:02]wFMCommunicate request_size=4 [12:25:02]MH_SAM_APDU [12:25:02]CAPDU: 80 13 03 00 [12:25:02]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [12:25:02]Write i2c OK [12:25:02]MH_I2C_Read... [12:25:02]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [12:25:02]Read from MH i2c: E2 [12:25:02]MH_I2C_Read... [12:25:02]Read from MH i2c: E2 FD 00 [12:25:02]MH_I2C_Read... [12:25:02]Read from MH i2c: E2 FD 00 13 00 00 C1 04 85 04 BD 04 6E 04 04 00 50 1E 00 00 69 04 A0 00 6F 04 04 00 23 1E 00 00 B1 04 04 00 34 22 07 32 70 04 04 00 E0 12 0B 2A 72 04 04 00 54 0F FC 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 83 5B 50 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 7A 5C 71 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2D 00 00 00 B1 04 04 00 3C 5C 66 01 70 04 04 00 3C 5C 66 01 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A2 0E 26 EF 03 09 00 F6 03 01 90 00 E2 [12:25:02]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 50 1E 00 00 69 04 A0 00 6F 04 04 00 23 1E 00 00 B1 04 04 00 34 22 07 32 70 04 04 00 E0 12 0B 2A 72 04 04 00 54 0F FC 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 83 5B 50 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 7A 5C 71 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2D 00 00 00 B1 04 04 00 3C 5C 66 01 70 04 04 00 3C 5C 66 01 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A2 0E 26 EF 03 09 00 F6 03 01 90 00 [12:25:02]wFMCommunicate OK [12:25:02]wFMCommunicate request_size=4 [12:25:02]MH_SAM_APDU [12:25:02]CAPDU: 80 17 00 00 [12:25:02]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [12:25:02]Write i2c OK [12:25:02]MH_I2C_Read... [12:25:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:25:03]Read from MH i2c: E2 [12:25:03]MH_I2C_Read... [12:25:03]Read from MH i2c: E2 FD 00 [12:25:03]MH_I2C_Read... [12:25:03]Read from MH i2c: E2 FD 00 14 00 00 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E7 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 D9 [12:25:03]RAPDU: 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E7 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [12:25:03]wFMCommunicate OK [12:25:03]wFMCommunicate request_size=4 [12:25:03]MH_SAM_APDU [12:25:03]CAPDU: 80 17 00 00 [12:25:03]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [12:25:03]Write i2c OK [12:25:03]MH_I2C_Read... [12:25:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:25:03]Read from MH i2c: E2 [12:25:03]MH_I2C_Read... [12:25:03]Read from MH i2c: E2 FD 00 [12:25:03]MH_I2C_Read... [12:25:03]Read from MH i2c: E2 FD 00 15 00 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 35 [12:25:03]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:25:03]wFMCommunicate OK [12:25:03]wFMCommunicate request_size=4 [12:25:03]MH_SAM_APDU [12:25:03]CAPDU: 80 17 00 00 [12:25:03]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [12:25:03]Write i2c OK [12:25:03]MH_I2C_Read... [12:25:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:25:03]Read from MH i2c: E2 [12:25:03]MH_I2C_Read... [12:25:03]Read from MH i2c: E2 FD 00 [12:25:03]MH_I2C_Read... [12:25:03]Read from MH i2c: E2 FD 00 16 00 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1B [12:25:03]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:25:03]wFMCommunicate OK [12:25:03]wFMCommunicate request_size=4 [12:25:03]MH_SAM_APDU [12:25:03]CAPDU: 80 17 00 00 [12:25:03]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [12:25:03]Write i2c OK [12:25:03]MH_I2C_Read... [12:25:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [12:25:03]Read from MH i2c: E2 [12:25:03]MH_I2C_Read... [12:25:03]Read from MH i2c: E2 DE 00 [12:25:03]MH_I2C_Read... [12:25:03]Read from MH i2c: E2 DE 00 17 00 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 76 [12:25:03]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:25:03]wFMCommunicate OK [12:25:03]SAM_PROTO_GetFMData done [12:25:03]requested_item fm.sale_refund.total is exist - process it [12:25:03]requested_item fm.buy.total is exist - process it [12:25:03]requested_item shift.sale.total is exist - process it [12:25:03]SAM_PROTO_GetShiftData [12:25:03]wFMCommunicate request_size=4 [12:25:03]MH_SAM_APDU [12:25:03]CAPDU: 80 13 02 00 [12:25:03]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [12:25:03]Write i2c OK [12:25:03]MH_I2C_Read... [12:25:04]Connected sock=6 [12:25:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 37 9E 07 01 82 84 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 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 D9 AD F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E0 1E 00 00 35 04 06 00 E4 40 8C 85 4B 75 30 2A 01 89 C6 0A 8B 77 [12:25:04]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:25:04]Read from MH i2c: E2 [12:25:04]MH_I2C_Read... [12:25:04]Read from MH i2c: E2 FD 00 [12:25:04]MH_I2C_Read... [12:25:04]Read from MH i2c: E2 FD 00 18 00 00 AE 04 AA 04 AA 04 6E 04 04 00 28 00 00 00 69 04 9B 00 6F 04 04 00 28 00 00 00 B1 04 03 00 D9 6F 35 70 04 03 00 C0 25 33 72 04 03 00 19 4A 02 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 2F AD 05 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 19 79 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 14 [12:25:04]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 28 00 00 00 69 04 9B 00 6F 04 04 00 28 00 00 00 B1 04 03 00 D9 6F 35 70 04 03 00 C0 25 33 72 04 03 00 19 4A 02 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 2F AD 05 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 19 79 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [12:25:04]wFMCommunicate OK [12:25:04]wFMCommunicate request_size=4 [12:25:04]MH_SAM_APDU [12:25:04]CAPDU: 80 17 00 00 [12:25:04]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [12:25:04]Write i2c OK [12:25:04]MH_I2C_Read... [12:25:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:25:04]Read from MH i2c: E2 [12:25:04]MH_I2C_Read... [12:25:04]Read from MH i2c: E2 FD 00 [12:25:04]MH_I2C_Read... [12:25:04]Read from MH i2c: E2 FD 00 19 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 BB [12:25:04]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [12:25:04]wFMCommunicate OK [12:25:04]wFMCommunicate request_size=4 [12:25:04]MH_SAM_APDU [12:25:04]CAPDU: 80 17 00 00 [12:25:04]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [12:25:04]Write i2c OK [12:25:04]MH_I2C_Read... [12:25:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:25:04]Read from MH i2c: E2 [12:25:04]MH_I2C_Read... [12:25:04]Read from MH i2c: E2 FD 00 [12:25:04]MH_I2C_Read... [12:25:04]Read from MH i2c: E2 FD 00 1A 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 51 [12:25:05]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 [12:25:05]wFMCommunicate OK [12:25:05]wFMCommunicate request_size=4 [12:25:05]MH_SAM_APDU [12:25:05]CAPDU: 80 17 00 00 [12:25:05]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [12:25:05]Write i2c OK [12:25:05]MH_I2C_Read... [12:25:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:25:05]Read from MH i2c: E2 [12:25:05]MH_I2C_Read... [12:25:05]Read from MH i2c: E2 FD 00 [12:25:05]MH_I2C_Read... [12:25:05]Read from MH i2c: E2 FD 00 1B 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 0D [12:25:05]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [12:25:05]wFMCommunicate OK [12:25:05]wFMCommunicate request_size=4 [12:25:05]MH_SAM_APDU [12:25:05]CAPDU: 80 17 00 00 [12:25:05]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [12:25:05]Write i2c OK [12:25:05]MH_I2C_Read... [12:25:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 DC 2C *** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [12:25:05]47 00 0C 50 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E0 1E 00 00 F4 03 04 00 57 5A F2 66 B6 04 01 00 00 90 0B 00 64 74 D6 4B A6 [12:25:05]CommunicateWithHost err = 0 [12:25:05]CheckOFDResponse [12:25:05]1017 (14) - 77093643461234 [12:25:05]1041 (16) - 0000000002094258 [12:25:05]1040 (4) - 7904 [12:25:05]1012 (4) - 24.09.2024 06:21 [12:25:05]1206 (1) - 0 [12:25:05]OFD Sender: Remove packet 7904 [12:25:05]ProducePacketName [12:25:05]name=ofd_packets/00007904 [12:25:05]NVStorageDeleteData [12:25:05]Read from MH i2c: E2 [12:25:05]MH_I2C_Read... [12:25:05]Read from MH i2c: E2 CB 00 [12:25:05]MH_I2C_Read... [12:25:05]Read from MH i2c: E2 CB 00 1C 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [12:25:05]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 [12:25:05]wFMCommunicate OK [12:25:05]SAM_PROTO_GetShiftData done [12:25:05]requested_item shift.sale.total_cash is exist - process it [12:25:05]requested_item shift.sale_refund.total is exist - process it [12:25:05]requested_item shift.sale_refund.total_cash is exist - process it [12:25:05]requested_item shift.buy.total is exist - process it [12:25:05]requested_item shift.buy.total_cash is exist - process it [12:25:05]produce_requested_data done [12:25:05]produce_requested_data return {"fm.sale.total":8393283.08,"fm.sale_refund.total":234855.00,"fm.buy.total":0.00,"shift.sale.total":35020.41,"shift.sale.total_cash":33520.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [12:25:05]process_action_free get_value [12:25:05]json_value_free [12:25:05]json_value_free done [12:25:05]process_json_proto returns [12:25:05]Send response to host [12:25:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8393283.08,"fm.sale_refund.total":234855.00,"fm.buy.total":0.00,"shift.sale.total":35020.41,"shift.sale.total_cash":33520.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [12:25:05]free response buf [12:25:05]execute_script done [12:25:05]execute_script returns [12:25:05]free content buf [12:25:05]Sock 11.Close socket [12:25:05]Sock 11.Thread stoped [12:25:06]accept exits with 8 [12:25:06]New connection [12:25:06]New thread 3067624804 created [12:25:06]Thread 3067481444 joined [12:25:06]Waiting for new connection... [12:25:06] Sock 8.Parse request [12:25:06]Sock 8.Check first char [12:25:06]Sock 8.First char is OK [12:25:06]request: POST /json_proto HTTP/1.0 [12:25:06]Method: POST [12:25:06]URL: /json_proto [12:25:06]Method is POST - this is cgi request [12:25:06]url: /json_proto [12:25:06]query_string will be loaded in cgi processing [12:25:06]execute_cgi json_proto POST (null) [12:25:06]execute_cgi path=json_proto method=POST [12:25:06]POST find Content-Length [12:25:06]Host: 172.17.47.195:8080 [12:25:06]Content-Length: 682 [12:25:06]Content-Type: application/json [12:25:06] [12:25:06]POST finish read [12:25:06]Found Content-Length = 682 [12:25:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872616", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 15.490, "sum" : 1050.22, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1050.00, "total" : 1050.00, "payments": [ { "type": 0, "sum" : 1050.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:25:06]execute_script... [12:25: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 : (1)872616", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 15.490, "sum" : 1050.22, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1050.00, "total" : 1050.00, "payments": [ { "type": 0, "sum" : 1050.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:25:06]POST & json_proto [12:25:06]process_json_proto [12:25:06]json parsed OK: [12:25:06]protocol is kg_v1.0 [12:25:06]action value=close_receipt [12:25:06]process_action close_receipt [12:25:06]cmd_close_receipt [12:25:06]MH_GetDate [12:25:06]Write to MH i2c: F0 00 00 1D 00 0C [12:25:06]Write i2c OK [12:25:06]MH_I2C_Read... [12:25:06]Read from MH i2c: F0 [12:25:06]MH_I2C_Read... [12:25:06]Read from MH i2c: F0 09 00 [12:25:06]MH_I2C_Read... [12:25:06]Read from MH i2c: F0 09 00 1D 00 00 A2 AF F2 66 96 2E 95 66 7D [12:25:06]GetLastDocTimeStamp 1727180249 [12:25:06]current date 1727180706 [12:25:06]FM_GetShiftState [12:25:06]SAM_PROTO_GetShiftState [12:25:06]wFMCommunicate request_size=4 [12:25:06]MH_SAM_APDU [12:25:06]CAPDU: 80 13 01 00 [12:25:06]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [12:25:06]Write i2c OK [12:25:06]MH_I2C_Read... [12:25:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:25:06]Read from MH i2c: E2 [12:25:06]MH_I2C_Read... [12:25:06]Read from MH i2c: E2 0E 00 [12:25:06]MH_I2C_Read... [12:25:06]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 41 [12:25:06]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [12:25:06]wFMCommunicate OK [12:25:06]SAM_PROTO_GetShiftState done [12:25:06]FM_GetShiftState done [12:25:06]opened in 1727137340 [12:25:06]opened+sec_in_day 1727223740 [12:25:06]quantity*price = 105022 [12:25:06]sum+1 = 105023 [12:25:06]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.22 ИТОГО: 1050.00 Внесено: 1050.00 СДАЧА: 0.00 НСП 1% : 9.29 НДС 12% : 111.53 Наличными: 1050.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 41 24.09.2024 12:25 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 ФМ: 0000000002094258 ФД: 7905 ФПД: 139052708211111 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T122506&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7905&fm=139052708211111&tin=02508201610067®Number=0000000000190446&sum=105000 [12:25:07]StoreToDocumentArchive [12:25:07]shift 72 fd 7905 [12:25:07]save to /storage/0072/doc_00007905 [12:25:07]save last doc name /storage/0072/doc_00007905 to /storage/kkm_last_doc_name [12:25:07]save OK [12:25:07]Clear old archive folders... [12:25:07]ProcessDocumentItem done err = 0, tmpTLVsize=251 [12:25:07]tlvbuf is 010493D0 [12:25:07]SAM_PROTO_ClearQueue [12:25:07]wFMCommunicate request_size=4 [12:25:07]MH_SAM_APDU [12:25:07]CAPDU: 80 09 00 00 [12:25:07]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [12:25:07]Write i2c OK [12:25:07]MH_I2C_Read... [12:25:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:25:07]Read from MH i2c: E2 [12:25:07]MH_I2C_Read... [12:25:07]Read from MH i2c: E2 03 00 [12:25:07]MH_I2C_Read... [12:25:07]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [12:25:07]RAPDU: 90 00 [12:25:07]wFMCommunicate OK [12:25:07]SAM_PROTO_ClearQueue done [12:25:07]KKMCreateOFDPacket [12:25:07]OFDProtocolAddRootSTLVToBuf [12:25:07]FM_MakeSignedData [12:25:07]FM_MakeSignedData [12:25:07]SAM_PROTO_SignData [12:25:07]wFMCommunicate request_size=4 [12:25:07]MH_SAM_APDU [12:25:07]CAPDU: 80 0D 01 02 [12:25:07]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [12:25:07]Write i2c OK [12:25:07]MH_I2C_Read... [12:25:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:25:07]Read from MH i2c: E2 [12:25:07]MH_I2C_Read... [12:25:07]Read from MH i2c: E2 03 00 [12:25:07]MH_I2C_Read... [12:25:07]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [12:25:07]RAPDU: 90 00 [12:25:07]wFMCommunicate OK [12:25:07]wFMCommunicate request_size=255 [12:25:07]MH_SAM_APDU [12:25:07]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 82 3C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 3E 9A 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 9A 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A1 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 91 2B 00 00 00 00 07 04 06 00 28 9A 01 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 A2 AF F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E1 1E 00 00 35 04 06 00 7E [12:25:07]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 82 3C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 3E 9A 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 9A 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A1 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 91 2B 00 00 00 00 07 04 06 00 28 9A 01 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 A2 AF F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E1 1E 00 00 35 04 06 00 7E 00 00 56 [12:25:07]Write i2c OK [12:25:07]MH_I2C_Read... [12:25:08]Read from MH i2c: E2 [12:25:08]MH_I2C_Read... [12:25:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:25:08]Read from MH i2c: E2 03 00 [12:25:08]MH_I2C_Read... [12:25:08]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [12:25:08]RAPDU: 90 00 [12:25:08]wFMCommunicate OK [12:25:08]wFMCommunicate request_size=10 [12:25:08]MH_SAM_APDU [12:25:08]CAPDU: 80 0D 02 02 05 77 BB 47 29 A7 [12:25:08]Write to MH i2c: E2 0D 00 2E 00 80 0D 02 02 05 00 77 BB 47 29 A7 00 00 FB [12:25:08]Write i2c OK [12:25:08]MH_I2C_Read... [12:25:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:25:08]Read from MH i2c: E2 [12:25:08]MH_I2C_Read... [12:25:08]Read from MH i2c: E2 03 00 [12:25:08]MH_I2C_Read... [12:25:08]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [12:25:08]RAPDU: 90 00 [12:25:08]wFMCommunicate OK [12:25:08]wFMCommunicate request_size=4 [12:25:08]MH_SAM_APDU [12:25:08]CAPDU: 80 0D 03 02 [12:25:08]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [12:25:08]Write i2c OK [12:25:08]MH_I2C_Read... [12:25:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:25:08]Read from MH i2c: E2 [12:25:08]MH_I2C_Read... [12:25:08]Read from MH i2c: E2 0B 00 [12:25:08]MH_I2C_Read... [12:25:08]Read from MH i2c: E2 0B 00 2F 00 00 EA FE 89 53 71 E9 8C CD 90 00 22 [12:25:08]RAPDU: EA FE 89 53 71 E9 8C CD 90 00 [12:25:08]wFMCommunicate OK [12:25:08]SAM_PROTO_SignData done [12:25:08]FM_MakeSignedData done [12:25:08]CreateOFDProtocolMessage [12:25:08]wFMCommunicate request_size=4 [12:25:08]MH_SAM_APDU [12:25:08]CAPDU: 80 11 00 00 [12:25:08]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [12:25:08]Write i2c OK [12:25:08]MH_I2C_Read... [12:25:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:25:08]Read from MH i2c: E2 [12:25:08]MH_I2C_Read... [12:25:08]Read from MH i2c: E2 17 00 [12:25:08]MH_I2C_Read... [12:25:08]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 FB [12:25:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [12:25:08]wFMCommunicate OK [12:25:08]CreateOFDProtocolMessage done [12:25:08]OFDSenderStorePacket 7905 [12:25:08]StoreOFDPacket docnum=7905 [12:25:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 32 BC 07 01 33 71 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 82 3C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 3E 9A 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 9A 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A1 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 91 2B 00 00 00 00 07 04 06 00 28 9A 01 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 A2 AF F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E1 1E 00 00 35 04 06 00 7E 77 BB 47 29 A7 EA FE 89 53 71 E9 8C CD [12:25:08]CheckFolder [12:25:08]dirname=/storage/ofd_packets [12:25:08]CheckFolder done [12:25:08]ProducePacketName [12:25:08]name=ofd_packets/00007905 [12:25:08]NVStorageSaveData ofd_packets/00007905 [12:25:08]File name is /storage/ofd_packets/00007905 [12:25:08]Write 301 bytes [12:25:08]NVStorageSaveData done [12:25:08]OFDSenderStorePacket done [12:25:08]KKMCreateOFDPacket done [12:25:08]NVStorageSaveData kkm_last_timestamp [12:25:08]File name is /storage/kkm_last_timestamp [12:25:08]Write 4 bytes [12:25:08]NVStorageSaveData done [12:25:08]ExternCall_PrintAddStr [12:25:08]wPrintStart [12:25:08]Write to MH i2c: 01 00 00 31 00 31 [12:25:08]Write i2c OK [12:25:08]MH_I2C_Read... [12:25:08]Read from MH i2c: 01 [12:25:08]MH_I2C_Read... [12:25:08]Read from MH i2c: 01 07 00 [12:25:08]MH_I2C_Read... [12:25:08]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [12:25:08]RasterBufferAndPrint [12:25:08]line Счет N : (1)872616 [12:25:08]line ИНН: 02508201610067 [12:25:08]line Контрольно-Кассовый Чек [12:25:08]line ПРОДАЖА [12:25:08]line ТРК (МРК, ГНК) : 43 [12:25:08]line Товар: 2710124130 [12:25:08]line Аи-92-К-5 [12:25:08]line 15.490 * 67.80 [12:25:08]line = 1050.22 [12:25:08]line НДС 12% НСП 1% [12:25:08]line > о реализуемом товаре [12:25:08]line ОКРУГЛЕНИЕ: -0.22 [12:25:08]line ИТОГО: 1050.00 [12:25:08]line Внесено: 1050.00 [12:25:08]line СДАЧА: 0.00 [12:25:08]line НСП 1% : 9.29 [12:25:08]line НДС 12% : 111.53 [12:25:08]line Наличными: 1050.00 [12:25:08]line Безнал.: 0.00 [12:25:08]line Место: АЗС № 137 "Партнер Нефть" [12:25:08]line Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 [12:25:08]line СНО: Общий режим [12:25:08]line Чек 41 24.09.2024 12:25 [12:25:08]line Смена: 72 ФФД: 1.0 [12:25:08]line ЗНМ: 0300000041 [12:25:08]line РНМ: 0000000000190446 [12:25:08]line Версия ККМ: v1.0 [12:25:08]line ФМ: 0000000002094258 [12:25:08]line ФД: 7905 [12:25:08]line ФПД: 139052708211111 [12:25:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T122506&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7905&fm=139052708211111&tin=02508201610067®Number=0000000000190446&sum=105000 [12:25:08]OFD Sender: Processing packet 7905 [packets to send 51, broken 50] [12:25:08]ProducePacketName [12:25:08]name=ofd_packets/00007905 [12:25:08]OFD Sender: To server: pG, [12:25:08]CommunicateWithHost lk.salyk.kg:30040 [12:25:08]ConnectInit lk.salyk.kg [12:25:08]written 0, free lines is 4095 [12:25:08]Write to MH i2c: 01 00 00 5C 00 5C [12:25:08]Write i2c OK [12:25:08]MH_I2C_Read... [12:25:08]Read from MH i2c: 01 [12:25:08]MH_I2C_Read... [12:25:08]Read from MH i2c: 01 07 00 [12:25:08]MH_I2C_Read... [12:25:08]Read from MH i2c: 01 07 00 5C 00 00 00 00 00 00 F5 0C 64 [12:25:08]RasterBufferAndPrint [12:25:08]line [12:25:08]line [12:25:08]line [12:25:08]line [12:25:08]line [12:25:08]written 0, free lines is 3338 [12:25:08]MH_Cut [12:25:08]Write to MH i2c: D1 01 00 63 00 01 35 [12:25:08]Write i2c OK [12:25:08]MH_I2C_Read... [12:25:08]Read from MH i2c: D1 [12:25:08]MH_I2C_Read... [12:25:08]Read from MH i2c: D1 01 00 [12:25:08]MH_I2C_Read... [12:25:08]Read from MH i2c: D1 01 00 63 00 00 34 [12:25:08]Write to MH i2c: 01 00 00 64 00 64 [12:25:08]Write i2c OK [12:25:08]MH_I2C_Read... [12:25:09]Connected sock=10 [12:25:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 32 BC 07 01 33 71 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 82 3C 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 3E 9A 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 9A 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A1 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 91 2B 00 00 00 00 07 04 06 00 28 9A 01 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 A2 AF F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E1 1E 00 00 35 04 06 00 7E 77 BB 47 29 A7 EA FE 89 53 71 E9 8C CD [12:25:09]*** Cut start [12:25:09]*** Purtial cut [12:25:09]*** Stage 1: CUTSNS_PIN = 1 [12:25:09]Read from MH i2c: 01 [12:25:09]MH_I2C_Read... [12:25:09]*** Stop cut motor [12:25:09]*** Cut end [12:25:09]Read from MH i2c: 01 07 00 [12:25:09]MH_I2C_Read... [12:25:09]Read from MH i2c: 01 07 00 64 00 00 00 00 00 00 FF 0F 79 [12:25:09]process_action close_receipt done [12:25:09]requested_data is exist [12:25:09]produce_requested_data [12:25:09]requested_item fm.sn is exist - process it [12:25:09]wFMCommunicate request_size=4 [12:25:09]MH_SAM_APDU [12:25:09]CAPDU: 80 11 00 00 [12:25:09]Write to MH i2c: E2 08 00 65 00 80 11 00 00 00 00 00 00 DF [12:25:09]Write i2c OK [12:25:09]MH_I2C_Read... [12:25:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:25:09]Read from MH i2c: E2 [12:25:09]MH_I2C_Read... [12:25:09]Read from MH i2c: E2 17 00 [12:25:09]MH_I2C_Read... [12:25:09]Read from MH i2c: E2 17 00 65 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 30 [12:25:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [12:25:09]wFMCommunicate OK [12:25:09]requested_item fd.num is exist - process it [12:25:09]SAM_PROTO_GetFieldsCounters [12:25:09]wFMCommunicate request_size=4 [12:25:09]MH_SAM_APDU [12:25:09]CAPDU: 80 13 00 00 [12:25:09]Write to MH i2c: E2 08 00 66 00 80 13 00 00 00 00 00 00 E2 [12:25:09]Write i2c OK [12:25:09]MH_I2C_Read... [12:25:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:25:09]Read from MH i2c: E2 [12:25:09]MH_I2C_Read... [12:25:09]Read from MH i2c: E2 62 00 [12:25:09]MH_I2C_Read... [12:25:09]Read from MH i2c: E2 62 00 66 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 E1 1E 00 00 0E 04 04 00 48 00 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 C2 [12:25:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 E1 1E 00 00 0E 04 04 00 48 00 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:25:10]wFMCommunicate OK [12:25:10]SAM_PROTO_GetFieldsCounters done [12:25:10]requested_item shift.num is exist - process it [12:25:10]requested_item shift.opened is exist - process it [12:25:10]req_shift_opened [12:25:10]FM_GetShiftState [12:25:10]SAM_PROTO_GetShiftState [12:25:10]wFMCommunicate request_size=4 [12:25:10]MH_SAM_APDU [12:25:10]CAPDU: 80 13 01 00 [12:25:10]Write to MH i2c: E2 08 00 67 00 80 13 01 00 00 00 00 00 E4 [12:25:10]Write i2c OK [12:25:10]MH_I2C_Read... [12:25:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:25:10]Read from MH i2c: E2 [12:25:10]MH_I2C_Read... [12:25:10]Read from MH i2c: E2 0E 00 [12:25:10]MH_I2C_Read... [12:25:10]Read from MH i2c: E2 0E 00 67 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 8A [12:25:10]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [12:25:10]wFMCommunicate OK [12:25:10]SAM_PROTO_GetShiftState done [12:25:10]FM_GetShiftState done [12:25:10]req_shift_opened done [12:25:10]requested_item shift.open_date is exist - process it [12:25:10]req_shift_open_date [12:25:10]req_shift_open_date done [12:25:10]produce_requested_data done [12:25:10]produce_requested_data return {"fm.sn":"0000000002094258","fd.num":7905,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [12:25:10]process_action_free close_receipt [12:25:10]json_value_free [12:25:10]json_value_free done [12:25:10]process_json_proto returns [12:25:10]Send response to host [12:25:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002094258","fd.num":7905,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [12:25:10]free response buf [12:25:10]execute_script done [12:25:10]execute_script returns [12:25:10]free content buf [12:25:10]Sock 8.Close socket [12:25:10]Sock 8.Thread stoped [12:25:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 1A 49 47 00 FB 94 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E1 1E 00 00 F4 03 04 00 5B 5A F2 66 B6 04 01 00 00 48 7A 3D C2 62 66 E9 5E [12:25:10]CommunicateWithHost err = 0 [12:25:10]CheckOFDResponse [12:25:10]1017 (14) - 77093643461234 [12:25:10]1041 (16) - 0000000002094258 [12:25:10]1040 (4) - 7905 [12:25:10]1012 (4) - 24.09.2024 06:21 [12:25:10]1206 (1) - 0 [12:25:10]OFD Sender: Remove packet 7905 [12:25:10]ProducePacketName [12:25:10]name=ofd_packets/00007905 [12:25:10]NVStorageDeleteData [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:42]accept exits with 6 [12:25:42]New connection [12:25:42]New thread 3067481444 created [12:25:42]Thread 3067624804 joined [12:25:42]Waiting for new connection... [12:25:42] Sock 6.Parse request [12:25:42]Sock 6.Check first char [12:25:42]Sock 6.First char is OK [12:25:42]request: POST /json_proto HTTP/1.0 [12:25:42]Method: POST [12:25:42]URL: /json_proto [12:25:42]Method is POST - this is cgi request [12:25:42]url: /json_proto [12:25:42]query_string will be loaded in cgi processing [12:25:42]execute_cgi json_proto POST (null) [12:25:42]execute_cgi path=json_proto method=POST [12:25:42]POST find Content-Length [12:25:42]Host: 172.17.47.195:8080 [12:25:42]Content-Length: 677 [12:25:42]Content-Type: application/json [12:25:42] [12:25:42]POST finish read [12:25:42]Found Content-Length = 677 [12:25:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872619", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 5.900, "sum" : 400.02, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:25:42]execute_script... [12:25: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 : (1)872619", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 5.900, "sum" : 400.02, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:25:42]POST & json_proto [12:25:42]process_json_proto [12:25:42]json parsed OK: [12:25:42]protocol is kg_v1.0 [12:25:42]action value=close_receipt [12:25:42]process_action close_receipt [12:25:42]cmd_close_receipt [12:25:42]MH_GetDate [12:25:42]Write to MH i2c: F0 00 00 68 00 57 [12:25:42]Write i2c OK [12:25:42]MH_I2C_Read... [12:25:42]Read from MH i2c: F0 [12:25:42]MH_I2C_Read... [12:25:42]Read from MH i2c: F0 09 00 [12:25:42]MH_I2C_Read... [12:25:42]Read from MH i2c: F0 09 00 68 00 00 C7 AF F2 66 96 2E 95 66 ED [12:25:42]GetLastDocTimeStamp 1727180706 [12:25:42]current date 1727180743 [12:25:42]FM_GetShiftState [12:25:42]SAM_PROTO_GetShiftState [12:25:42]wFMCommunicate request_size=4 [12:25:42]MH_SAM_APDU [12:25:42]CAPDU: 80 13 01 00 [12:25:42]Write to MH i2c: E2 08 00 69 00 80 13 01 00 00 00 00 00 E6 [12:25:42]Write i2c OK [12:25:42]MH_I2C_Read... [12:25:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:25:43]Read from MH i2c: E2 [12:25:43]MH_I2C_Read... [12:25:43]Read from MH i2c: E2 0E 00 [12:25:43]MH_I2C_Read... [12:25:43]Read from MH i2c: E2 0E 00 69 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 8C [12:25:43]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [12:25:43]wFMCommunicate OK [12:25:43]SAM_PROTO_GetShiftState done [12:25:43]FM_GetShiftState done [12:25:43]opened in 1727137340 [12:25:43]opened+sec_in_day 1727223740 [12:25:43]quantity*price = 40002 [12:25:43]sum+1 = 40003 [12:25:43]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.02 ИТОГО: 400.00 Внесено: 400.00 СДАЧА: 0.00 НСП 1% : 3.54 НДС 12% : 42.48 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 42 24.09.2024 12:25 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 ФМ: 0000000002094258 ФД: 7906 ФПД: 97034399235658 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T122543&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7906&fm=97034399235658&tin=02508201610067®Number=0000000000190446&sum=40000 [12:25:44]StoreToDocumentArchive [12:25:44]shift 72 fd 7906 [12:25:44]save to /storage/0072/doc_00007906 [12:25:44]save last doc name /storage/0072/doc_00007906 to /storage/kkm_last_doc_name [12:25:44]save OK [12:25:44]Clear old archive folders... [12:25:44]ProcessDocumentItem done err = 0, tmpTLVsize=251 [12:25:44]tlvbuf is 00FF28E0 [12:25:44]SAM_PROTO_ClearQueue [12:25:44]wFMCommunicate request_size=4 [12:25:44]MH_SAM_APDU [12:25:44]CAPDU: 80 09 00 00 [12:25:44]Write to MH i2c: E2 08 00 76 00 80 09 00 00 00 00 00 00 E8 [12:25:44]Write i2c OK [12:25:44]MH_I2C_Read... [12:25:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:25:44]Read from MH i2c: E2 [12:25:44]MH_I2C_Read... [12:25:44]Read from MH i2c: E2 03 00 [12:25:44]MH_I2C_Read... [12:25:44]Read from MH i2c: E2 03 00 76 00 00 90 00 EA [12:25:44]RAPDU: 90 00 [12:25:44]wFMCommunicate OK [12:25:44]SAM_PROTO_ClearQueue done [12:25:44]KKMCreateOFDPacket [12:25:44]OFDProtocolAddRootSTLVToBuf [12:25:44]FM_MakeSignedData [12:25:44]FM_MakeSignedData [12:25:44]SAM_PROTO_SignData [12:25:44]wFMCommunicate request_size=4 [12:25:44]MH_SAM_APDU [12:25:44]CAPDU: 80 0D 01 02 [12:25:44]Write to MH i2c: E2 08 00 77 00 80 0D 01 02 00 00 00 00 F0 [12:25:44]Write i2c OK [12:25:44]MH_I2C_Read... [12:25:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:25:44]Read from MH i2c: E2 [12:25:44]MH_I2C_Read... [12:25:44]Read from MH i2c: E2 03 00 [12:25:44]MH_I2C_Read... [12:25:44]Read from MH i2c: E2 03 00 77 00 00 90 00 EB [12:25:44]RAPDU: 90 00 [12:25:44]wFMCommunicate OK [12:25:44]wFMCommunicate request_size=255 [12:25:44]MH_SAM_APDU [12:25:44]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 C7 AF F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E2 1E 00 00 35 04 06 00 58 [12:25:44]Write to MH i2c: E2 02 01 78 00 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 C7 AF F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E2 1E 00 00 35 04 06 00 58 00 00 E9 [12:25:44]Write i2c OK [12:25:44]MH_I2C_Read... [12:25:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:25:44]Read from MH i2c: E2 [12:25:44]MH_I2C_Read... [12:25:44]Read from MH i2c: E2 03 00 [12:25:44]MH_I2C_Read... [12:25:44]Read from MH i2c: E2 03 00 78 00 00 90 00 EC [12:25:44]RAPDU: 90 00 [12:25:44]wFMCommunicate OK [12:25:44]wFMCommunicate request_size=10 [12:25:44]MH_SAM_APDU [12:25:44]CAPDU: 80 0D 02 02 05 40 94 E5 BE 4A [12:25:44]Write to MH i2c: E2 0D 00 79 00 80 0D 02 02 05 00 40 94 E5 BE 4A 00 00 BE [12:25:44]Write i2c OK [12:25:44]MH_I2C_Read... [12:25:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:25:44]Read from MH i2c: E2 [12:25:44]MH_I2C_Read... [12:25:44]Read from MH i2c: E2 03 00 [12:25:44]MH_I2C_Read... [12:25:44]Read from MH i2c: E2 03 00 79 00 00 90 00 ED [12:25:44]RAPDU: 90 00 [12:25:44]wFMCommunicate OK [12:25:44]wFMCommunicate request_size=4 [12:25:44]MH_SAM_APDU [12:25:44]CAPDU: 80 0D 03 02 [12:25:44]Write to MH i2c: E2 08 00 7A 00 80 0D 03 02 00 00 00 00 F5 [12:25:44]Write i2c OK [12:25:44]MH_I2C_Read... [12:25:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:25:44]Read from MH i2c: E2 [12:25:44]MH_I2C_Read... [12:25:44]Read from MH i2c: E2 0B 00 [12:25:44]MH_I2C_Read... [12:25:44]Read from MH i2c: E2 0B 00 7A 00 00 4A 21 B8 EF 24 0B 78 33 90 00 E2 [12:25:44]RAPDU: 4A 21 B8 EF 24 0B 78 33 90 00 [12:25:44]wFMCommunicate OK [12:25:44]SAM_PROTO_SignData done [12:25:44]FM_MakeSignedData done [12:25:44]CreateOFDProtocolMessage [12:25:44]wFMCommunicate request_size=4 [12:25:44]MH_SAM_APDU [12:25:44]CAPDU: 80 11 00 00 [12:25:44]Write to MH i2c: E2 08 00 7B 00 80 11 00 00 00 00 00 00 F5 [12:25:44]Write i2c OK [12:25:44]MH_I2C_Read... [12:25:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:25:44]Read from MH i2c: E2 [12:25:44]MH_I2C_Read... [12:25:44]Read from MH i2c: E2 17 00 [12:25:44]MH_I2C_Read... [12:25:44]Read from MH i2c: E2 17 00 7B 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 46 [12:25:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [12:25:44]wFMCommunicate OK [12:25:44]CreateOFDProtocolMessage done [12:25:44]OFDSenderStorePacket 7906 [12:25:44]StoreOFDPacket docnum=7906 [12:25:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 A0 88 07 01 1F B9 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 C7 AF F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E2 1E 00 00 35 04 06 00 58 40 94 E5 BE 4A 4A 21 B8 EF 24 0B 78 33 [12:25:44]CheckFolder [12:25:44]dirname=/storage/ofd_packets [12:25:44]CheckFolder done [12:25:44]ProducePacketName [12:25:44]name=ofd_packets/00007906 [12:25:44]NVStorageSaveData ofd_packets/00007906 [12:25:44]File name is /storage/ofd_packets/00007906 [12:25:44]Write 301 bytes [12:25:44]NVStorageSaveData done [12:25:44]OFDSenderStorePacket done [12:25:44]KKMCreateOFDPacket done [12:25:44]NVStorageSaveData kkm_last_timestamp [12:25:44]File name is /storage/kkm_last_timestamp [12:25:44]Write 4 bytes [12:25:44]NVStorageSaveData done [12:25:44]ExternCall_PrintAddStr [12:25:44]wPrintStart [12:25:44]Write to MH i2c: 01 00 00 7C 00 7C [12:25:44]Write i2c OK [12:25:44]MH_I2C_Read... [12:25:44]Read from MH i2c: 01 [12:25:44]MH_I2C_Read... [12:25:44]Read from MH i2c: 01 07 00 [12:25:44]MH_I2C_Read... [12:25:44]Read from MH i2c: 01 07 00 7C 00 00 00 00 00 00 FF 0F 91 [12:25:44]RasterBufferAndPrint [12:25:44]line Счет N : (1)872619 [12:25:44]line ИНН: 02508201610067 [12:25:44]line Контрольно-Кассовый Чек [12:25:44]line ПРОДАЖА [12:25:44]line ТРК (МРК, ГНК) : 63 [12:25:44]line Товар: 2710124130 [12:25:44]line Аи-92-К-5 [12:25:44]line 5.900 * 67.80 [12:25:44]line = 400.02 [12:25:44]line НДС 12% НСП 1% [12:25:44]line > о реализуемом товаре [12:25:44]line ОКРУГЛЕНИЕ: -0.02 [12:25:44]line ИТОГО: 400.00 [12:25:44]line Внесено: 400.00 [12:25:44]line СДАЧА: 0.00 [12:25:44]line НСП 1% : 3.54 [12:25:44]line НДС 12% : 42.48 [12:25:44]line Наличными: 400.00 [12:25:44]line Безнал.: 0.00 [12:25:44]line Место: АЗС № 137 "Партнер Нефть" [12:25:44]line Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 [12:25:44]line СНО: Общий режим [12:25:44]line Чек 42 24.09.2024 12:25 [12:25:44]line Смена: 72 ФФД: 1.0 [12:25:44]line ЗНМ: 0300000041 [12:25:44]line РНМ: 0000000000190446 [12:25:44]line Версия ККМ: v1.0 [12:25:44]line ФМ: 0000000002094258 [12:25:44]line ФД: 7906 [12:25:44]line ФПД: 97034399235658 [12:25:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T122543&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7906&fm=97034399235658&tin=02508201610067®Number=0000000000190446&sum=40000 [12:25:44]written 0, free lines is 4095 [12:25:44]OFD Sender: Processing packet 7906 [packets to send 51, broken 50] [12:25:44]ProducePacketName [12:25:44]name=ofd_packets/00007906 [12:25:44]OFD Sender: To server: pG, [12:25:44]CommunicateWithHost lk.salyk.kg:30040 [12:25:44]ConnectInit lk.salyk.kg [12:25:45]Write to MH i2c: 01 00 00 A7 00 A7 [12:25:45]Write i2c OK [12:25:45]MH_I2C_Read... [12:25:45]Read from MH i2c: 01 [12:25:45]MH_I2C_Read... [12:25:45]Read from MH i2c: 01 07 00 [12:25:45]MH_I2C_Read... [12:25:45]Read from MH i2c: 01 07 00 A7 00 00 00 00 00 00 F0 0C AA [12:25:45]RasterBufferAndPrint [12:25:45]line [12:25:45]line [12:25:45]line [12:25:45]line [12:25:45]line [12:25:45]written 0, free lines is 3342 [12:25:45]MH_Cut [12:25:45]Write to MH i2c: D1 01 00 AE 00 01 80 [12:25:45]Write i2c OK [12:25:45]MH_I2C_Read... [12:25:45]Read from MH i2c: D1 [12:25:45]MH_I2C_Read... [12:25:45]Read from MH i2c: D1 01 00 [12:25:45]MH_I2C_Read... [12:25:45]Read from MH i2c: D1 01 00 AE 00 00 7F [12:25:45]Write to MH i2c: 01 00 00 AF 00 AF [12:25:45]Write i2c OK [12:25:45]MH_I2C_Read... [12:25:45]*** Cut start [12:25:45]*** Purtial cut [12:25:45]*** Stage 1: CUTSNS_PIN = 1 [12:25:46]Connected sock=10 [12:25:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 A0 88 07 01 1F B9 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0C 17 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 42 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 C7 AF F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E2 1E 00 00 35 04 06 00 58 40 94 E5 BE 4A 4A 21 B8 EF 24 0B 78 33 [12:25:46]Read from MH i2c: 01 [12:25:46]MH_I2C_Read... [12:25:46]*** Stop cut motor [12:25:46]*** Cut end [12:25:46]Read from MH i2c: 01 07 00 [12:25:46]MH_I2C_Read... [12:25:46]Read from MH i2c: 01 07 00 AF 00 00 00 00 00 00 FF 0F C4 [12:25:46]process_action close_receipt done [12:25:46]requested_data is exist [12:25:46]produce_requested_data [12:25:46]requested_item fm.sn is exist - process it [12:25:46]wFMCommunicate request_size=4 [12:25:46]MH_SAM_APDU [12:25:46]CAPDU: 80 11 00 00 [12:25:46]Write to MH i2c: E2 08 00 B0 00 80 11 00 00 00 00 00 00 2A [12:25:46]Write i2c OK [12:25:46]MH_I2C_Read... [12:25:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:25:46]Read from MH i2c: E2 [12:25:46]MH_I2C_Read... [12:25:46]Read from MH i2c: E2 17 00 [12:25:46]MH_I2C_Read... [12:25:46]Read from MH i2c: E2 17 00 B0 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 7B [12:25:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [12:25:46]wFMCommunicate OK [12:25:46]requested_item fd.num is exist - process it [12:25:46]SAM_PROTO_GetFieldsCounters [12:25:46]wFMCommunicate request_size=4 [12:25:46]MH_SAM_APDU [12:25:46]CAPDU: 80 13 00 00 [12:25:46]Write to MH i2c: E2 08 00 B1 00 80 13 00 00 00 00 00 00 2D [12:25:46]Write i2c OK [12:25:46]MH_I2C_Read... [12:25:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:25:46]Read from MH i2c: E2 [12:25:46]MH_I2C_Read... [12:25:46]Read from MH i2c: E2 62 00 [12:25:46]MH_I2C_Read... [12:25:46]Read from MH i2c: E2 62 00 B1 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 E2 1E 00 00 0E 04 04 00 48 00 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 11 [12:25:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 E2 1E 00 00 0E 04 04 00 48 00 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:25:46]wFMCommunicate OK [12:25:46]SAM_PROTO_GetFieldsCounters done [12:25:46]requested_item shift.num is exist - process it [12:25:46]requested_item shift.opened is exist - process it [12:25:46]req_shift_opened [12:25:46]FM_GetShiftState [12:25:46]SAM_PROTO_GetShiftState [12:25:46]wFMCommunicate request_size=4 [12:25:46]MH_SAM_APDU [12:25:46]CAPDU: 80 13 01 00 [12:25:46]Write to MH i2c: E2 08 00 B2 00 80 13 01 00 00 00 00 00 2F [12:25:46]Write i2c OK [12:25:46]MH_I2C_Read... [12:25:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:25:46]Read from MH i2c: E2 [12:25:46]MH_I2C_Read... [12:25:46]Read from MH i2c: E2 0E 00 [12:25:46]MH_I2C_Read... [12:25:46]Read from MH i2c: E2 0E 00 B2 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 D5 [12:25:46]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [12:25:46]wFMCommunicate OK [12:25:46]SAM_PROTO_GetShiftState done [12:25:46]FM_GetShiftState done [12:25:46]req_shift_opened done [12:25:46]requested_item shift.open_date is exist - process it [12:25:46]req_shift_open_date [12:25:46]req_shift_open_date done [12:25:46]produce_requested_data done [12:25:46]produce_requested_data return {"fm.sn":"0000000002094258","fd.num":7906,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [12:25:46]process_action_free close_receipt [12:25:46]json_value_free [12:25:46]json_value_free done [12:25:46]process_json_proto returns [12:25:46]Send response to host [12:25:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002094258","fd.num":7906,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [12:25:46]free response buf [12:25:46]execute_script done [12:25:46]execute_script returns [12:25:46]free content buf [12:25:46]Sock 6.Close socket [12:25:46]Sock 6.Thread stoped [12:25:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 E1 D8 47 00 10 EA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E2 1E 00 00 F4 03 04 00 80 5A F2 66 B6 04 01 00 00 86 63 96 BE 35 A7 1B 36 [12:25:47]CommunicateWithHost err = 0 [12:25:47]CheckOFDResponse [12:25:47]1017 (14) - 77093643461234 [12:25:47]1041 (16) - 0000000002094258 [12:25:47]1040 (4) - 7906 [12:25:47]1012 (4) - 24.09.2024 06:21 [12:25:47]1206 (1) - 0 [12:25:47]OFD Sender: Remove packet 7906 [12:25:47]ProducePacketName [12:25:47]name=ofd_packets/00007906 [12:25:47]NVStorageDeleteData [12:25:47]OFD Sender: No OFD packet to send [12:25:52]OFD Sender: No OFD packet to send [12:25:57]OFD Sender: No OFD packet to send [12:26:02]OFD Sender: No OFD packet to send [12:26:06]recv_with_timeout no data received [12:26:07]OFD Sender: No OFD packet to send [12:26:12]OFD Sender: No OFD packet to send [12:26:17]OFD Sender: No OFD packet to send [12:26:22]OFD Sender: No OFD packet to send [12:26:23]recv_with_timeout no data received [12:26:27]OFD Sender: No OFD packet to send [12:26:32]OFD Sender: No OFD packet to send [12:26:37]OFD Sender: No OFD packet to send [12:26:42]OFD Sender: No OFD packet to send [12:26:47]OFD Sender: No OFD packet to send [12:26:52]OFD Sender: No OFD packet to send [12:26:57]OFD Sender: No OFD packet to send [12:27:02]OFD Sender: No OFD packet to send [12:27:07]OFD Sender: No OFD packet to send [12:27:12]OFD Sender: No OFD packet to send [12:27:17]OFD Sender: No OFD packet to send [12:27:22]OFD Sender: No OFD packet to send [12:27:27]OFD Sender: No OFD packet to send [12:27:32]OFD Sender: No OFD packet to send [12:27:37]OFD Sender: No OFD packet to send [12:27:42]OFD Sender: No OFD packet to send [12:27:47]OFD Sender: No OFD packet to send [12:27:52]OFD Sender: No OFD packet to send [12:27:57]OFD Sender: No OFD packet to send [12:28:02]OFD Sender: No OFD packet to send [12:28:07]OFD Sender: No OFD packet to send [12:28:12]OFD Sender: No OFD packet to send [12:28:17]OFD Sender: No OFD packet to send [12:28:22]OFD Sender: No OFD packet to send [12:28:27]OFD Sender: No OFD packet to send [12:28:32]OFD Sender: No OFD packet to send [12:28:37]OFD Sender: No OFD packet to send [12:28:42]OFD Sender: No OFD packet to send [12:28:47]OFD Sender: No OFD packet to send [12:28:52]OFD Sender: No OFD packet to send [12:28:52]recv_with_timeout no data received [12:28:57]OFD Sender: No OFD packet to send [12:29:02]OFD Sender: No OFD packet to send [12:29:08]OFD Sender: No OFD packet to send [12:29:13]OFD Sender: No OFD packet to send [12:29:18]OFD Sender: No OFD packet to send [12:29:23]OFD Sender: No OFD packet to send [12:29:28]OFD Sender: No OFD packet to send [12:29:33]OFD Sender: No OFD packet to send [12:29:38]OFD Sender: No OFD packet to send [12:29:43]OFD Sender: No OFD packet to send [12:29:48]OFD Sender: No OFD packet to send [12:29:53]OFD Sender: No OFD packet to send [12:29:58]OFD Sender: No OFD packet to send [12:30:03]OFD Sender: No OFD packet to send [12:30:08]OFD Sender: No OFD packet to send [12:30:13]OFD Sender: No OFD packet to send [12:30:18]OFD Sender: No OFD packet to send [12:30:23]OFD Sender: No OFD packet to send [12:30:28]OFD Sender: No OFD packet to send [12:30:33]OFD Sender: No OFD packet to send [12:30:38]OFD Sender: No OFD packet to send [12:30:43]OFD Sender: No OFD packet to send [12:30:48]OFD Sender: No OFD packet to send [12:30:53]OFD Sender: No OFD packet to send [12:30:58]OFD Sender: No OFD packet to send [12:31:03]OFD Sender: No OFD packet to send [12:31:08]OFD Sender: No OFD packet to send [12:31:13]OFD Sender: No OFD packet to send [12:31:18]OFD Sender: No OFD packet to send [12:31:23]OFD Sender: No OFD packet to send [12:31:28]OFD Sender: No OFD packet to send [12:31:33]OFD Sender: No OFD packet to send [12:31:38]OFD Sender: No OFD packet to send [12:31:43]OFD Sender: No OFD packet to send [12:31:48]OFD Sender: No OFD packet to send [12:31:53]OFD Sender: No OFD packet to send [12:31:58]OFD Sender: No OFD packet to send [12:32:03]OFD Sender: No OFD packet to send [12:32:08]OFD Sender: No OFD packet to send [12:32:13]OFD Sender: No OFD packet to send [12:32:18]OFD Sender: No OFD packet to send [12:32:23]OFD Sender: No OFD packet to send [12:32:28]OFD Sender: No OFD packet to send [12:32:33]OFD Sender: No OFD packet to send [12:32:38]OFD Sender: No OFD packet to send [12:32:43]OFD Sender: No OFD packet to send [12:32:48]OFD Sender: No OFD packet to send [12:32:53]OFD Sender: No OFD packet to send [12:32:58]OFD Sender: No OFD packet to send [12:33:03]OFD Sender: No OFD packet to send [12:33:08]OFD Sender: No OFD packet to send [12:33:13]OFD Sender: No OFD packet to send [12:33:18]OFD Sender: No OFD packet to send [12:33:23]OFD Sender: No OFD packet to send [12:33:28]OFD Sender: No OFD packet to send [12:33:33]OFD Sender: No OFD packet to send [12:33:38]OFD Sender: No OFD packet to send [12:33:43]OFD Sender: No OFD packet to send [12:33:48]OFD Sender: No OFD packet to send [12:33:53]OFD Sender: No OFD packet to send [12:33:58]OFD Sender: No OFD packet to send [12:34:03]OFD Sender: No OFD packet to send [12:34:08]OFD Sender: No OFD packet to send [12:34:13]OFD Sender: No OFD packet to send [12:34:18]OFD Sender: No OFD packet to send [12:34:23]OFD Sender: No OFD packet to send [12:34:28]OFD Sender: No OFD packet to send [12:34:30]recv_with_timeout no data received [12:34:33]OFD Sender: No OFD packet to send [12:34:38]OFD Sender: No OFD packet to send [12:34:43]OFD Sender: No OFD packet to send [12:34:48]OFD Sender: No OFD packet to send [12:34:53]OFD Sender: No OFD packet to send [12:34:58]OFD Sender: No OFD packet to send [12:35:03]OFD Sender: No OFD packet to send [12:35:08]OFD Sender: No OFD packet to send [12:35:13]OFD Sender: No OFD packet to send [12:35:18]OFD Sender: No OFD packet to send [12:35:23]OFD Sender: No OFD packet to send [12:35:28]OFD Sender: No OFD packet to send [12:35:33]OFD Sender: No OFD packet to send [12:35:38]OFD Sender: No OFD packet to send [12:35:43]OFD Sender: No OFD packet to send [12:35:48]OFD Sender: No OFD packet to send [12:35:53]OFD Sender: No OFD packet to send [12:35:58]OFD Sender: No OFD packet to send [12:36:03]OFD Sender: No OFD packet to send [12:36:08]OFD Sender: No OFD packet to send [12:36:13]OFD Sender: No OFD packet to send [12:36:18]OFD Sender: No OFD packet to send [12:36:23]OFD Sender: No OFD packet to send [12:36:28]OFD Sender: No OFD packet to send [12:36:33]OFD Sender: No OFD packet to send [12:36:38]OFD Sender: No OFD packet to send [12:36:43]OFD Sender: No OFD packet to send [12:36:48]OFD Sender: No OFD packet to send [12:36:53]OFD Sender: No OFD packet to send [12:36:58]OFD Sender: No OFD packet to send [12:37:03]OFD Sender: No OFD packet to send [12:37:08]OFD Sender: No OFD packet to send [12:37:13]OFD Sender: No OFD packet to send [12:37:16]recv_with_timeout no data received [12:37:18]OFD Sender: No OFD packet to send [12:37:23]OFD Sender: No OFD packet to send [12:37:28]OFD Sender: No OFD packet to send [12:37:33]OFD Sender: No OFD packet to send [12:37:38]OFD Sender: No OFD packet to send [12:37:43]OFD Sender: No OFD packet to send [12:37:48]OFD Sender: No OFD packet to send [12:37:51]recv_with_timeout no data received [12:37:53]OFD Sender: No OFD packet to send [12:37:58]OFD Sender: No OFD packet to send [12:38:03]OFD Sender: No OFD packet to send [12:38:08]OFD Sender: No OFD packet to send [12:38:13]OFD Sender: No OFD packet to send [12:38:18]OFD Sender: No OFD packet to send [12:38:23]OFD Sender: No OFD packet to send [12:38:28]OFD Sender: No OFD packet to send [12:38:33]OFD Sender: No OFD packet to send [12:38:38]OFD Sender: No OFD packet to send [12:38:43]OFD Sender: No OFD packet to send [12:38:48]OFD Sender: No OFD packet to send [12:38:53]OFD Sender: No OFD packet to send [12:38:54]recv_with_timeout no data received [12:38:58]OFD Sender: No OFD packet to send [12:39:03]OFD Sender: No OFD packet to send [12:39:08]OFD Sender: No OFD packet to send [12:39:13]OFD Sender: No OFD packet to send [12:39:18]OFD Sender: No OFD packet to send [12:39:23]OFD Sender: No OFD packet to send [12:39:28]OFD Sender: No OFD packet to send [12:39:33]OFD Sender: No OFD packet to send [12:39:38]OFD Sender: No OFD packet to send [12:39:43]OFD Sender: No OFD packet to send [12:39:48]OFD Sender: No OFD packet to send [12:39:53]OFD Sender: No OFD packet to send [12:39:58]OFD Sender: No OFD packet to send [12:40:03]OFD Sender: No OFD packet to send [12:40:08]OFD Sender: No OFD packet to send [12:40:13]OFD Sender: No OFD packet to send [12:40:18]OFD Sender: No OFD packet to send [12:40:23]OFD Sender: No OFD packet to send [12:40:28]OFD Sender: No OFD packet to send [12:40:33]OFD Sender: No OFD packet to send [12:40:38]OFD Sender: No OFD packet to send [12:40:43]OFD Sender: No OFD packet to send [12:40:48]OFD Sender: No OFD packet to send [12:40:53]OFD Sender: No OFD packet to send [12:40:58]OFD Sender: No OFD packet to send [12:41:03]OFD Sender: No OFD packet to send [12:41:08]OFD Sender: No OFD packet to send [12:41:13]OFD Sender: No OFD packet to send [12:41:18]OFD Sender: No OFD packet to send [12:41:23]OFD Sender: No OFD packet to send [12:41:28]OFD Sender: No OFD packet to send [12:41:33]OFD Sender: No OFD packet to send [12:41:38]OFD Sender: No OFD packet to send [12:41:43]OFD Sender: No OFD packet to send [12:41:48]OFD Sender: No OFD packet to send [12:41:51]recv_with_timeout no data received [12:41:53]OFD Sender: No OFD packet to send [12:41:58]OFD Sender: No OFD packet to send [12:42:03]OFD Sender: No OFD packet to send [12:42:08]OFD Sender: No OFD packet to send [12:42:13]OFD Sender: No OFD packet to send [12:42:15]recv_with_timeout no data received [12:42:18]OFD Sender: No OFD packet to send [12:42:23]OFD Sender: No OFD packet to send [12:42:28]OFD Sender: No OFD packet to send [12:42:33]OFD Sender: No OFD packet to send [12:42:38]OFD Sender: No OFD packet to send [12:42:43]OFD Sender: No OFD packet to send [12:42:48]OFD Sender: No OFD packet to send [12:42:53]OFD Sender: No OFD packet to send [12:42:58]OFD Sender: No OFD packet to send [12:43:03]OFD Sender: No OFD packet to send [12:43:08]OFD Sender: No OFD packet to send [12:43:13]OFD Sender: No OFD packet to send [12:43:18]OFD Sender: No OFD packet to send [12:43:23]OFD Sender: No OFD packet to send [12:43:28]OFD Sender: No OFD packet to send [12:43:33]OFD Sender: No OFD packet to send [12:43:38]OFD Sender: No OFD packet to send [12:43:43]OFD Sender: No OFD packet to send [12:43:48]OFD Sender: No OFD packet to send [12:43:53]OFD Sender: No OFD packet to send [12:43:58]OFD Sender: No OFD packet to send [12:44:03]OFD Sender: No OFD packet to send [12:44:08]OFD Sender: No OFD packet to send [12:44:13]OFD Sender: No OFD packet to send [12:44:18]OFD Sender: No OFD packet to send [12:44:23]OFD Sender: No OFD packet to send [12:44:28]OFD Sender: No OFD packet to send [12:44:33]OFD Sender: No OFD packet to send [12:44:38]OFD Sender: No OFD packet to send [12:44:43]OFD Sender: No OFD packet to send [12:44:48]OFD Sender: No OFD packet to send [12:44:53]OFD Sender: No OFD packet to send [12:44:58]OFD Sender: No OFD packet to send [12:45:03]OFD Sender: No OFD packet to send [12:45:08]OFD Sender: No OFD packet to send [12:45:13]OFD Sender: No OFD packet to send [12:45:18]OFD Sender: No OFD packet to send [12:45:21]recv_with_timeout no data received [12:45:23]OFD Sender: No OFD packet to send [12:45:28]OFD Sender: No OFD packet to send [12:45:33]OFD Sender: No OFD packet to send [12:45:38]OFD Sender: No OFD packet to send [12:45:43]OFD Sender: No OFD packet to send [12:45:48]OFD Sender: No OFD packet to send [12:45:53]OFD Sender: No OFD packet to send [12:45:58]OFD Sender: No OFD packet to send [12:46:03]OFD Sender: No OFD packet to send [12:46:08]OFD Sender: No OFD packet to send [12:46:13]OFD Sender: No OFD packet to send [12:46:18]OFD Sender: No OFD packet to send [12:46:23]OFD Sender: No OFD packet to send [12:46:28]OFD Sender: No OFD packet to send [12:46:33]OFD Sender: No OFD packet to send [12:46:38]OFD Sender: No OFD packet to send [12:46:43]OFD Sender: No OFD packet to send [12:46:48]OFD Sender: No OFD packet to send [12:46:53]OFD Sender: No OFD packet to send [12:46:58]OFD Sender: No OFD packet to send [12:47:03]OFD Sender: No OFD packet to send [12:47:08]OFD Sender: No OFD packet to send [12:47:13]recv_with_timeout no data received [12:47:13]OFD Sender: No OFD packet to send [12:47:19]OFD Sender: No OFD packet to send [12:47:24]OFD Sender: No OFD packet to send [12:47:29]OFD Sender: No OFD packet to send [12:47:34]OFD Sender: No OFD packet to send [12:47:39]OFD Sender: No OFD packet to send [12:47:44]OFD Sender: No OFD packet to send [12:47:49]OFD Sender: No OFD packet to send [12:47:54]OFD Sender: No OFD packet to send [12:47:59]OFD Sender: No OFD packet to send [12:48:04]OFD Sender: No OFD packet to send [12:48:09]OFD Sender: No OFD packet to send [12:48:14]OFD Sender: No OFD packet to send [12:48:19]OFD Sender: No OFD packet to send [12:48:24]OFD Sender: No OFD packet to send [12:48:29]OFD Sender: No OFD packet to send [12:48:34]OFD Sender: No OFD packet to send [12:48:39]OFD Sender: No OFD packet to send [12:48:44]OFD Sender: No OFD packet to send [12:48:45]recv_with_timeout no data received [12:48:49]OFD Sender: No OFD packet to send [12:48:54]OFD Sender: No OFD packet to send [12:48:59]OFD Sender: No OFD packet to send [12:49:04]OFD Sender: No OFD packet to send [12:49:09]OFD Sender: No OFD packet to send [12:49:14]OFD Sender: No OFD packet to send [12:49:19]OFD Sender: No OFD packet to send [12:49:24]OFD Sender: No OFD packet to send [12:49:29]OFD Sender: No OFD packet to send [12:49:34]OFD Sender: No OFD packet to send [12:49:39]OFD Sender: No OFD packet to send [12:49:44]OFD Sender: No OFD packet to send [12:49:49]OFD Sender: No OFD packet to send [12:49:54]OFD Sender: No OFD packet to send [12:49:59]OFD Sender: No OFD packet to send [12:50:04]OFD Sender: No OFD packet to send [12:50:09]OFD Sender: No OFD packet to send [12:50:14]OFD Sender: No OFD packet to send [12:50:19]OFD Sender: No OFD packet to send [12:50:24]OFD Sender: No OFD packet to send [12:50:29]OFD Sender: No OFD packet to send [12:50:34]OFD Sender: No OFD packet to send [12:50:39]OFD Sender: No OFD packet to send [12:50:44]OFD Sender: No OFD packet to send [12:50:49]OFD Sender: No OFD packet to send [12:50:54]OFD Sender: No OFD packet to send [12:50:59]OFD Sender: No OFD packet to send [12:51:01]recv_with_timeout no data received [12:51:04]OFD Sender: No OFD packet to send [12:51:09]OFD Sender: No OFD packet to send [12:51:14]OFD Sender: No OFD packet to send [12:51:19]OFD Sender: No OFD packet to send [12:51:24]OFD Sender: No OFD packet to send [12:51:29]OFD Sender: No OFD packet to send [12:51:34]OFD Sender: No OFD packet to send [12:51:39]OFD Sender: No OFD packet to send [12:51:44]OFD Sender: No OFD packet to send [12:51:49]OFD Sender: No OFD packet to send [12:51:54]OFD Sender: No OFD packet to send [12:51:57]recv_with_timeout no data received [12:51:59]OFD Sender: No OFD packet to send [12:52:04]OFD Sender: No OFD packet to send [12:52:09]OFD Sender: No OFD packet to send [12:52:14]OFD Sender: No OFD packet to send [12:52:19]OFD Sender: No OFD packet to send [12:52:24]OFD Sender: No OFD packet to send [12:52:29]OFD Sender: No OFD packet to send [12:52:34]OFD Sender: No OFD packet to send [12:52:39]OFD Sender: No OFD packet to send [12:52:44]OFD Sender: No OFD packet to send [12:52:49]OFD Sender: No OFD packet to send [12:52:54]OFD Sender: No OFD packet to send [12:52:59]OFD Sender: No OFD packet to send [12:53:04]OFD Sender: No OFD packet to send [12:53:09]OFD Sender: No OFD packet to send [12:53:14]OFD Sender: No OFD packet to send [12:53:19]OFD Sender: No OFD packet to send [12:53:24]OFD Sender: No OFD packet to send [12:53:29]OFD Sender: No OFD packet to send [12:53:34]OFD Sender: No OFD packet to send [12:53:39]OFD Sender: No OFD packet to send [12:53:44]OFD Sender: No OFD packet to send [12:53:49]OFD Sender: No OFD packet to send [12:53:54]OFD Sender: No OFD packet to send [12:53:59]OFD Sender: No OFD packet to send [12:54:04]OFD Sender: No OFD packet to send [12:54:09]OFD Sender: No OFD packet to send [12:54:14]OFD Sender: No OFD packet to send [12:54:19]OFD Sender: No OFD packet to send [12:54:24]OFD Sender: No OFD packet to send [12:54:29]OFD Sender: No OFD packet to send [12:54:34]OFD Sender: No OFD packet to send [12:54:39]OFD Sender: No OFD packet to send [12:54:44]OFD Sender: No OFD packet to send [12:54:49]OFD Sender: No OFD packet to send [12:54:54]OFD Sender: No OFD packet to send [12:54:59]OFD Sender: No OFD packet to send [12:55:04]OFD Sender: No OFD packet to send [12:55:08]recv_with_timeout no data received [12:55:09]OFD Sender: No OFD packet to send [12:55:14]OFD Sender: No OFD packet to send [12:55:19]OFD Sender: No OFD packet to send [12:55:24]OFD Sender: No OFD packet to send [12:55:29]OFD Sender: No OFD packet to send [12:55:34]OFD Sender: No OFD packet to send [12:55:39]OFD Sender: No OFD packet to send [12:55:44]OFD Sender: No OFD packet to send [12:55:49]OFD Sender: No OFD packet to send [12:55:54]OFD Sender: No OFD packet to send [12:55:59]OFD Sender: No OFD packet to send [12:56:04]OFD Sender: No OFD packet to send [12:56:09]OFD Sender: No OFD packet to send [12:56:14]OFD Sender: No OFD packet to send [12:56:19]OFD Sender: No OFD packet to send [12:56:24]OFD Sender: No OFD packet to send [12:56:29]OFD Sender: No OFD packet to send [12:56:34]OFD Sender: No OFD packet to send [12:56:37]accept exits with 9 [12:56:37]New connection [12:56:37]New thread 3067624804 created [12:56:37]Thread 3067481444 joined [12:56:37]Waiting for new connection... [12:56:37] Sock 9.Parse request [12:56:37]Sock 9.Check first char [12:56:37]Sock 9.First char is OK [12:56:37]request: POST /json_proto HTTP/1.0 [12:56:37]Method: POST [12:56:37]URL: /json_proto [12:56:37]Method is POST - this is cgi request [12:56:37]url: /json_proto [12:56:37]query_string will be loaded in cgi processing [12:56:37]execute_cgi json_proto POST (null) [12:56:37]execute_cgi path=json_proto method=POST [12:56:37]POST find Content-Length [12:56:37]Host: 172.17.47.195:8080 [12:56:37]Content-Length: 687 [12:56:37]Content-Type: application/json [12:56:37] [12:56:37]POST finish read [12:56:37]Found Content-Length = 687 [12:56:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872628", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 76.20, "quantity" : 13.130, "sum" : 1000.51, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:56:37]execute_script... [12:56: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 : (1)872628", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 76.20, "quantity" : 13.130, "sum" : 1000.51, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:56:37]POST & json_proto [12:56:37]process_json_proto [12:56:37]json parsed OK: [12:56:37]protocol is kg_v1.0 [12:56:37]action value=close_receipt [12:56:37]process_action close_receipt [12:56:37]cmd_close_receipt [12:56:37]MH_GetDate [12:56:37]Write to MH i2c: F0 00 00 B3 00 A2 [12:56:37]Write i2c OK [12:56:37]MH_I2C_Read... [12:56:37]Read from MH i2c: F0 [12:56:37]MH_I2C_Read... [12:56:37]Read from MH i2c: F0 09 00 [12:56:37]MH_I2C_Read... [12:56:37]Read from MH i2c: F0 09 00 B3 00 00 06 B7 F2 66 96 2E 95 66 7F [12:56:37]GetLastDocTimeStamp 1727180743 [12:56:37]current date 1727182598 [12:56:37]FM_GetShiftState [12:56:37]SAM_PROTO_GetShiftState [12:56:37]wFMCommunicate request_size=4 [12:56:37]MH_SAM_APDU [12:56:37]CAPDU: 80 13 01 00 [12:56:37]Write to MH i2c: E2 08 00 B4 00 80 13 01 00 00 00 00 00 31 [12:56:37]Write i2c OK [12:56:37]MH_I2C_Read... [12:56:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:56:37]Read from MH i2c: E2 [12:56:37]MH_I2C_Read... [12:56:37]Read from MH i2c: E2 0E 00 [12:56:37]MH_I2C_Read... [12:56:37]Read from MH i2c: E2 0E 00 B4 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 D7 [12:56:37]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [12:56:37]wFMCommunicate OK [12:56:37]SAM_PROTO_GetShiftState done [12:56:37]FM_GetShiftState done [12:56:37]opened in 1727137340 [12:56:37]opened+sec_in_day 1727223740 [12:56:37]quantity*price = 100050 [12:56:37]sum+1 = 100052 [12:56:37]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.51 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.25 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 43 24.09.2024 12:56 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 ФМ: 0000000002094258 ФД: 7907 ФПД: 71506935409840 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T125638&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7907&fm=71506935409840&tin=02508201610067®Number=0000000000190446&sum=100000 [12:56:38]StoreToDocumentArchive [12:56:38]shift 72 fd 7907 [12:56:38]save to /storage/0072/doc_00007907 [12:56:38]save last doc name /storage/0072/doc_00007907 to /storage/kkm_last_doc_name [12:56:38]save OK [12:56:38]Clear old archive folders... [12:56:38]ProcessDocumentItem done err = 0, tmpTLVsize=252 [12:56:38]tlvbuf is 00FF4220 [12:56:38]SAM_PROTO_ClearQueue [12:56:38]wFMCommunicate request_size=4 [12:56:38]MH_SAM_APDU [12:56:38]CAPDU: 80 09 00 00 [12:56:38]Write to MH i2c: E2 08 00 C1 00 80 09 00 00 00 00 00 00 33 [12:56:38]Write i2c OK [12:56:38]MH_I2C_Read... [12:56:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:56:38]Read from MH i2c: E2 [12:56:38]MH_I2C_Read... [12:56:38]Read from MH i2c: E2 03 00 [12:56:38]MH_I2C_Read... [12:56:38]Read from MH i2c: E2 03 00 C1 00 00 90 00 35 [12:56:38]RAPDU: 90 00 [12:56:38]wFMCommunicate OK [12:56:38]SAM_PROTO_ClearQueue done [12:56:38]KKMCreateOFDPacket [12:56:38]OFDProtocolAddRootSTLVToBuf [12:56:38]FM_MakeSignedData [12:56:38]FM_MakeSignedData [12:56:38]SAM_PROTO_SignData [12:56:38]wFMCommunicate request_size=4 [12:56:38]MH_SAM_APDU [12:56:38]CAPDU: 80 0D 01 02 [12:56:38]Write to MH i2c: E2 08 00 C2 00 80 0D 01 02 00 00 00 00 3B [12:56:38]Write i2c OK [12:56:38]MH_I2C_Read... [12:56:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:56:38]Read from MH i2c: E2 [12:56:38]MH_I2C_Read... [12:56:38]Read from MH i2c: E2 03 00 [12:56:38]MH_I2C_Read... [12:56:38]Read from MH i2c: E2 03 00 C2 00 00 90 00 36 [12:56:38]RAPDU: 90 00 [12:56:38]wFMCommunicate OK [12:56:38]wFMCommunicate request_size=255 [12:56:38]MH_SAM_APDU [12:56:38]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 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 06 B7 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E3 1E 00 00 35 04 06 00 [12:56:38]Write to MH i2c: E2 02 01 C3 00 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 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 06 B7 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E3 1E 00 00 35 04 06 00 00 00 2D [12:56:38]Write i2c OK [12:56:38]MH_I2C_Read... [12:56:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:56:39]Read from MH i2c: E2 [12:56:39]MH_I2C_Read... [12:56:39]Read from MH i2c: E2 03 00 [12:56:39]MH_I2C_Read... [12:56:39]Read from MH i2c: E2 03 00 C3 00 00 90 00 37 [12:56:39]RAPDU: 90 00 [12:56:39]wFMCommunicate OK [12:56:39]wFMCommunicate request_size=11 [12:56:39]MH_SAM_APDU [12:56:39]CAPDU: 80 0D 02 02 06 41 09 01 7B EC B0 [12:56:39]Write to MH i2c: E2 0E 00 C4 00 80 0D 02 02 06 00 41 09 01 7B EC B0 00 00 AC [12:56:39]Write i2c OK [12:56:39]MH_I2C_Read... [12:56:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:56:39]Read from MH i2c: E2 [12:56:39]MH_I2C_Read... [12:56:39]Read from MH i2c: E2 03 00 [12:56:39]MH_I2C_Read... [12:56:39]Read from MH i2c: E2 03 00 C4 00 00 90 00 38 [12:56:39]RAPDU: 90 00 [12:56:39]wFMCommunicate OK [12:56:39]wFMCommunicate request_size=4 [12:56:39]MH_SAM_APDU [12:56:39]CAPDU: 80 0D 03 02 [12:56:39]Write to MH i2c: E2 08 00 C5 00 80 0D 03 02 00 00 00 00 40 [12:56:39]Write i2c OK [12:56:39]MH_I2C_Read... [12:56:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:56:39]Read from MH i2c: E2 [12:56:39]MH_I2C_Read... [12:56:39]Read from MH i2c: E2 0B 00 [12:56:39]MH_I2C_Read... [12:56:39]Read from MH i2c: E2 0B 00 C5 00 00 DC 6D B2 E2 CC F3 58 CE 90 00 03 [12:56:39]RAPDU: DC 6D B2 E2 CC F3 58 CE 90 00 [12:56:39]wFMCommunicate OK [12:56:39]SAM_PROTO_SignData done [12:56:39]FM_MakeSignedData done [12:56:39]CreateOFDProtocolMessage [12:56:39]wFMCommunicate request_size=4 [12:56:39]MH_SAM_APDU [12:56:39]CAPDU: 80 11 00 00 [12:56:39]Write to MH i2c: E2 08 00 C6 00 80 11 00 00 00 00 00 00 40 [12:56:39]Write i2c OK [12:56:39]MH_I2C_Read... [12:56:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:56:39]Read from MH i2c: E2 [12:56:39]MH_I2C_Read... [12:56:39]Read from MH i2c: E2 17 00 [12:56:39]MH_I2C_Read... [12:56:39]Read from MH i2c: E2 17 00 C6 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 91 [12:56:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [12:56:39]wFMCommunicate OK [12:56:39]CreateOFDProtocolMessage done [12:56:39]OFDSenderStorePacket 7907 [12:56:39]StoreOFDPacket docnum=7907 [12:56:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 01 00 00 9E 27 08 01 18 B5 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 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 06 B7 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E3 1E 00 00 35 04 06 00 41 09 01 7B EC B0 DC 6D B2 E2 CC F3 58 CE [12:56:39]CheckFolder [12:56:39]dirname=/storage/ofd_packets [12:56:39]CheckFolder done [12:56:39]ProducePacketName [12:56:39]name=ofd_packets/00007907 [12:56:39]NVStorageSaveData ofd_packets/00007907 [12:56:39]File name is /storage/ofd_packets/00007907 [12:56:39]Write 302 bytes [12:56:39]NVStorageSaveData done [12:56:39]OFDSenderStorePacket done [12:56:39]KKMCreateOFDPacket done [12:56:39]NVStorageSaveData kkm_last_timestamp [12:56:39]File name is /storage/kkm_last_timestamp [12:56:39]Write 4 bytes [12:56:39]NVStorageSaveData done [12:56:39]ExternCall_PrintAddStr [12:56:39]wPrintStart [12:56:39]Write to MH i2c: 01 00 00 C7 00 C7 [12:56:39]Write i2c OK [12:56:39]MH_I2C_Read... [12:56:39]Read from MH i2c: 01 [12:56:39]MH_I2C_Read... [12:56:39]Read from MH i2c: 01 07 00 [12:56:39]MH_I2C_Read... [12:56:39]Read from MH i2c: 01 07 00 C7 00 00 00 00 00 00 FF 0F DC [12:56:39]RasterBufferAndPrint [12:56:39]line Счет N : (1)872628 [12:56:39]line ИНН: 02508201610067 [12:56:39]line Контрольно-Кассовый Чек [12:56:39]line ПРОДАЖА [12:56:39]line ТРК (МРК, ГНК) : 21 [12:56:39]line Товар: 2710194210 [12:56:39]line ДТ(л)-К-4 [12:56:39]line 13.130 * 76.20 [12:56:39]line = 1000.51 [12:56:39]line НДС 12% НСП 1% [12:56:39]line > о реализуемом товаре [12:56:39]line ОКРУГЛЕНИЕ: -0.51 [12:56:39]line ИТОГО: 1000.00 [12:56:39]line Внесено: 1000.00 [12:56:39]line СДАЧА: 0.00 [12:56:39]line НСП 1% : 8.85 [12:56:39]line НДС 12% : 106.25 [12:56:39]line Наличными: 1000.00 [12:56:39]line Безнал.: 0.00 [12:56:39]line Место: АЗС № 137 "Партнер Нефть" [12:56:39]line Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 [12:56:39]line СНО: Общий режим [12:56:39]line Чек 43 24.09.2024 12:56 [12:56:39]line Смена: 72 ФФД: 1.0 [12:56:39]line ЗНМ: 0300000041 [12:56:39]line РНМ: 0000000000190446 [12:56:39]line Версия ККМ: v1.0 [12:56:39]line ФМ: 0000000002094258 [12:56:39]line ФД: 7907 [12:56:39]line ФПД: 71506935409840 [12:56:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T125638&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7907&fm=71506935409840&tin=02508201610067®Number=0000000000190446&sum=100000 [12:56:39]OFD Sender: Processing packet 7907 [packets to send 51, broken 50] [12:56:39]ProducePacketName [12:56:39]name=ofd_packets/00007907 [12:56:39]OFD Sender: To server: pG, [12:56:39]CommunicateWithHost lk.salyk.kg:30040 [12:56:39]ConnectInit lk.salyk.kg [12:56:39]written 0, free lines is 4095 [12:56:40]Write to MH i2c: 01 00 00 F2 00 F2 [12:56:40]Write i2c OK [12:56:40]MH_I2C_Read... [12:56:40]Read from MH i2c: 01 [12:56:40]MH_I2C_Read... [12:56:40]Read from MH i2c: 01 07 00 [12:56:40]MH_I2C_Read... [12:56:40]Read from MH i2c: 01 07 00 F2 00 00 00 00 00 00 ED 0C F2 [12:56:40]RasterBufferAndPrint [12:56:40]line [12:56:40]line [12:56:40]line [12:56:40]line [12:56:40]line [12:56:40]written 0, free lines is 3315 [12:56:40]MH_Cut [12:56:40]Write to MH i2c: D1 01 00 F9 00 01 CB [12:56:40]Write i2c OK [12:56:40]MH_I2C_Read... [12:56:40]Read from MH i2c: D1 [12:56:40]MH_I2C_Read... [12:56:40]Read from MH i2c: D1 01 00 [12:56:40]MH_I2C_Read... [12:56:40]Read from MH i2c: D1 01 00 F9 00 00 CA [12:56:40]Write to MH i2c: 01 00 00 FA 00 FA [12:56:40]Write i2c OK [12:56:40]MH_I2C_Read... [12:56:40]*** Cut start [12:56:40]*** Purtial cut [12:56:40]*** Stage 1: CUTSNS_PIN = 1 [12:56:41]Read from MH i2c: 01 [12:56:41]MH_I2C_Read... [12:56:41]*** Stop cut motor [12:56:41]*** Cut end [12:56:41]Read from MH i2c: 01 07 00 [12:56:41]MH_I2C_Read... [12:56:41]Read from MH i2c: 01 07 00 FA 00 00 00 00 00 00 FF 0F 0F [12:56:41]process_action close_receipt done [12:56:41]requested_data is exist [12:56:41]produce_requested_data [12:56:41]requested_item fm.sn is exist - process it [12:56:41]wFMCommunicate request_size=4 [12:56:41]MH_SAM_APDU [12:56:41]CAPDU: 80 11 00 00 [12:56:41]Write to MH i2c: E2 08 00 FB 00 80 11 00 00 00 00 00 00 75 [12:56:41]Write i2c OK [12:56:41]MH_I2C_Read... [12:56:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:56:41]Read from MH i2c: E2 [12:56:41]MH_I2C_Read... [12:56:41]Read from MH i2c: E2 17 00 [12:56:41]MH_I2C_Read... [12:56:41]Read from MH i2c: E2 17 00 FB 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 C6 [12:56:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [12:56:41]wFMCommunicate OK [12:56:41]requested_item fd.num is exist - process it [12:56:41]SAM_PROTO_GetFieldsCounters [12:56:41]wFMCommunicate request_size=4 [12:56:41]MH_SAM_APDU [12:56:41]CAPDU: 80 13 00 00 [12:56:41]Write to MH i2c: E2 08 00 FC 00 80 13 00 00 00 00 00 00 78 [12:56:41]Write i2c OK [12:56:41]MH_I2C_Read... [12:56:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:56:41]Read from MH i2c: E2 [12:56:41]MH_I2C_Read... [12:56:41]Read from MH i2c: E2 62 00 [12:56:41]MH_I2C_Read... [12:56:41]Read from MH i2c: E2 62 00 FC 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 E3 1E 00 00 0E 04 04 00 48 00 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 60 [12:56:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 E3 1E 00 00 0E 04 04 00 48 00 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:56:41]wFMCommunicate OK [12:56:41]SAM_PROTO_GetFieldsCounters done [12:56:41]requested_item shift.num is exist - process it [12:56:41]requested_item shift.opened is exist - process it [12:56:41]req_shift_opened [12:56:41]FM_GetShiftState [12:56:41]SAM_PROTO_GetShiftState [12:56:41]wFMCommunicate request_size=4 [12:56:41]MH_SAM_APDU [12:56:41]CAPDU: 80 13 01 00 [12:56:41]Write to MH i2c: E2 08 00 FD 00 80 13 01 00 00 00 00 00 7A [12:56:41]Write i2c OK [12:56:41]MH_I2C_Read... [12:56:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:56:41]Read from MH i2c: E2 [12:56:41]MH_I2C_Read... [12:56:41]Read from MH i2c: E2 0E 00 [12:56:41]MH_I2C_Read... [12:56:41]Read from MH i2c: E2 0E 00 FD 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 20 [12:56:41]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [12:56:41]wFMCommunicate OK [12:56:41]SAM_PROTO_GetShiftState done [12:56:41]FM_GetShiftState done [12:56:41]req_shift_opened done [12:56:41]requested_item shift.open_date is exist - process it [12:56:41]req_shift_open_date [12:56:41]req_shift_open_date done [12:56:41]produce_requested_data done [12:56:41]produce_requested_data return {"fm.sn":"0000000002094258","fd.num":7907,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [12:56:41]process_action_free close_receipt [12:56:41]json_value_free [12:56:41]json_value_free done [12:56:41]process_json_proto returns [12:56:41]Send response to host [12:56:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002094258","fd.num":7907,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [12:56:41]free response buf [12:56:41]execute_script done [12:56:41]execute_script returns [12:56:41]free content buf [12:56:41]Sock 9.Close socket [12:56:41]Sock 9.Thread stoped [12:56:44]recv_with_timeout no data received [12:56:44]ConnectInit Can't take IP for lk.salyk.kg [12:56:44]CommunicateWithHost connect error [12:56:44]CommunicateWithHost err = -1 [12:56:44]OFD Sender: Server communicate error [12:56:49]OFD Sender: Processing packet 7907 [packets to send 51, broken 50] [12:56:49]ProducePacketName [12:56:49]name=ofd_packets/00007907 [12:56:49]OFD Sender: To server: pG, [12:56:49]CommunicateWithHost lk.salyk.kg:30040 [12:56:49]ConnectInit lk.salyk.kg [12:56:54]ConnectInit Can't take IP for lk.salyk.kg [12:56:54]CommunicateWithHost connect error [12:56:54]CommunicateWithHost err = -1 [12:56:54]OFD Sender: Server communicate error [12:56:59]OFD Sender: Processing packet 7907 [packets to send 51, broken 50] [12:56:59]ProducePacketName [12:56:59]name=ofd_packets/00007907 [12:56:59]OFD Sender: To server: pG, [12:56:59]CommunicateWithHost lk.salyk.kg:30040 [12:56:59]ConnectInit lk.salyk.kg [12:57:04]ConnectInit Can't take IP for lk.salyk.kg [12:57:04]CommunicateWithHost connect error [12:57:04]CommunicateWithHost err = -1 [12:57:04]OFD Sender: Server communicate error [12:57:09]OFD Sender: Processing packet 7907 [packets to send 51, broken 50] [12:57:09]ProducePacketName [12:57:09]name=ofd_packets/00007907 [12:57:09]OFD Sender: To server: pG, [12:57:09]CommunicateWithHost lk.salyk.kg:30040 [12:57:09]ConnectInit lk.salyk.kg [12:57:13]Connected sock=10 [12:57:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 01 00 00 9E 27 08 01 18 B5 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 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 06 B7 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E3 1E 00 00 35 04 06 00 41 09 01 7B EC B0 DC 6D B2 E2 CC F3 58 CE [12:57:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 BE 03 47 00 D1 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 32 30 39 34 32 35 38 10 04 04 00 E3 1E 00 00 F4 03 04 00 DF 61 F2 66 B6 04 01 00 00 7B 11 AD AB 03 4D E8 34 [12:57:15]CommunicateWithHost err = 0 [12:57:15]CheckOFDResponse [12:57:15]1017 (14) - 77093643461234 [12:57:15]1041 (16) - 0000000002094258 [12:57:15]1040 (4) - 7907 [12:57:15]1012 (4) - 24.09.2024 06:53 [12:57:15]1206 (1) - 0 [12:57:15]OFD Sender: Remove packet 7907 [12:57:15]ProducePacketName [12:57:15]name=ofd_packets/00007907 [12:57:15]NVStorageDeleteData [12:57:16]OFD Sender: No OFD packet to send [12:57:21]OFD Sender: No OFD packet to send [12:57:23]recv_with_timeout no data received [12:57:26]OFD Sender: No OFD packet to send [12:57:31]OFD Sender: No OFD packet to send [12:57:36]OFD Sender: No OFD packet to send [12:57:41]OFD Sender: No OFD packet to send [12:57:46]OFD Sender: No OFD packet to send [12:57:51]OFD Sender: No OFD packet to send [12:57:56]OFD Sender: No OFD packet to send [12:58:01]OFD Sender: No OFD packet to send [12:58:06]OFD Sender: No OFD packet to send [12:58:11]OFD Sender: No OFD packet to send [12:58:16]OFD Sender: No OFD packet to send [12:58:21]OFD Sender: No OFD packet to send [12:58:26]OFD Sender: No OFD packet to send [12:58:31]OFD Sender: No OFD packet to send [12:58:36]OFD Sender: No OFD packet to send [12:58:41]OFD Sender: No OFD packet to send [12:58:46]OFD Sender: No OFD packet to send [12:58:51]OFD Sender: No OFD packet to send [12:58:56]OFD Sender: No OFD packet to send [12:59:01]OFD Sender: No OFD packet to send [12:59:06]OFD Sender: No OFD packet to send [12:59:11]OFD Sender: No OFD packet to send [12:59:16]OFD Sender: No OFD packet to send [12:59:21]OFD Sender: No OFD packet to send [12:59:26]recv_with_timeout no data received [12:59:26]OFD Sender: No OFD packet to send [12:59:31]OFD Sender: No OFD packet to send [12:59:36]OFD Sender: No OFD packet to send [12:59:41]OFD Sender: No OFD packet to send [12:59:46]OFD Sender: No OFD packet to send [12:59:51]OFD Sender: No OFD packet to send [12:59:56]OFD Sender: No OFD packet to send [13:00:01]OFD Sender: No OFD packet to send [13:00:06]OFD Sender: No OFD packet to send [13:00:06]recv_with_timeout no data received [13:00:11]OFD Sender: No OFD packet to send [13:00:16]OFD Sender: No OFD packet to send [13:00:21]OFD Sender: No OFD packet to send [13:00:31]OFD Sender: No OFD packet to send [13:00:36]OFD Sender: No OFD packet to send [13:00:41]OFD Sender: No OFD packet to send [13:00:46]OFD Sender: No OFD packet to send [13:00:51]OFD Sender: No OFD packet to send [13:00:56]OFD Sender: No OFD packet to send [13:01:01]OFD Sender: No OFD packet to send [13:01:03]recv_with_timeout no data received [13:01:06]OFD Sender: No OFD packet to send [13:01:11]OFD Sender: No OFD packet to send [13:01:16]OFD Sender: No OFD packet to send [13:01:21]OFD Sender: No OFD packet to send [13:01:26]OFD Sender: No OFD packet to send [13:01:31]OFD Sender: No OFD packet to send [13:01:36]OFD Sender: No OFD packet to send [13:01:41]OFD Sender: No OFD packet to send [13:01:46]OFD Sender: No OFD packet to send [13:01:51]OFD Sender: No OFD packet to send [13:01:56]OFD Sender: No OFD packet to send [13:02:01]OFD Sender: No OFD packet to send [13:02:06]OFD Sender: No OFD packet to send [13:02:11]OFD Sender: No OFD packet to send [13:02:11]recv_with_timeout no data received [13:02:16]OFD Sender: No OFD packet to send [13:02:21]OFD Sender: No OFD packet to send [13:02:26]OFD Sender: No OFD packet to send [13:02:31]OFD Sender: No OFD packet to send [13:02:36]OFD Sender: No OFD packet to send [13:02:41]OFD Sender: No OFD packet to send [13:02:46]OFD Sender: No OFD packet to send [13:02:51]OFD Sender: No OFD packet to send [13:02:56]OFD Sender: No OFD packet to send [13:03:01]OFD Sender: No OFD packet to send [13:03:06]OFD Sender: No OFD packet to send [13:03:11]OFD Sender: No OFD packet to send [13:03:16]OFD Sender: No OFD packet to send [13:03:19]accept exits with 8 [13:03:19]New connection [13:03:19]New thread 3067481444 created [13:03:19]Thread 3067624804 joined [13:03:19]Waiting for new connection... [13:03:19] Sock 8.Parse request [13:03:19]Sock 8.Check first char [13:03:19]Sock 8.First char is OK [13:03:19]request: POST /json_proto HTTP/1.0 [13:03:19]Method: POST [13:03:19]URL: /json_proto [13:03:19]Method is POST - this is cgi request [13:03:19]url: /json_proto [13:03:19]query_string will be loaded in cgi processing [13:03:19]execute_cgi json_proto POST (null) [13:03:19]execute_cgi path=json_proto method=POST [13:03:19]POST find Content-Length [13:03:19]Host: 172.17.47.195:8080 [13:03:19]Content-Length: 682 [13:03:19]Content-Type: application/json [13:03:19] [13:03:19]POST finish read [13:03:19]Found Content-Length = 682 [13:03:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872634", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 76.20, "quantity" : 6.570, "sum" : 500.63, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:03:19]execute_script... [13:03: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 : (1)872634", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 44", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-4", "price" : 76.20, "quantity" : 6.570, "sum" : 500.63, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:03:19]POST & json_proto [13:03:19]process_json_proto [13:03:19]json parsed OK: [13:03:19]protocol is kg_v1.0 [13:03:19]action value=close_receipt [13:03:19]process_action close_receipt [13:03:19]cmd_close_receipt [13:03:19]MH_GetDate [13:03:19]Write to MH i2c: F0 00 00 FE 00 ED [13:03:19]Write i2c OK [13:03:19]MH_I2C_Read... [13:03:19]Read from MH i2c: F0 [13:03:19]MH_I2C_Read... [13:03:19]Read from MH i2c: F0 09 00 [13:03:19]MH_I2C_Read... [13:03:19]Read from MH i2c: F0 09 00 FE 00 00 98 B8 F2 66 96 2E 95 66 5D [13:03:19]GetLastDocTimeStamp 1727182598 [13:03:19]current date 1727183000 [13:03:19]FM_GetShiftState [13:03:19]SAM_PROTO_GetShiftState [13:03:19]wFMCommunicate request_size=4 [13:03:19]MH_SAM_APDU [13:03:19]CAPDU: 80 13 01 00 [13:03:19]Write to MH i2c: E2 08 00 FF 00 80 13 01 00 00 00 00 00 7C [13:03:19]Write i2c OK [13:03:19]MH_I2C_Read... [13:03:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:03:19]Read from MH i2c: E2 [13:03:19]MH_I2C_Read... [13:03:19]Read from MH i2c: E2 0E 00 [13:03:19]MH_I2C_Read... [13:03:19]Read from MH i2c: E2 0E 00 FF 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 22 [13:03:19]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [13:03:19]wFMCommunicate OK [13:03:19]SAM_PROTO_GetShiftState done [13:03:19]FM_GetShiftState done [13:03:19]opened in 1727137340 [13:03:19]opened+sec_in_day 1727223740 [13:03:19]quantity*price = 50063 [13:03:19]sum+1 = 50064 [13:03:19]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.63 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.16 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 44 24.09.2024 13:03 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 ФМ: 0000000002094258 ФД: 7908 ФПД: 266032263370991 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T130320&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7908&fm=266032263370991&tin=02508201610067®Number=0000000000190446&sum=50000 [13:03:21]StoreToDocumentArchive [13:03:21]shift 72 fd 7908 [13:03:21]save to /storage/0072/doc_00007908 [13:03:21]save last doc name /storage/0072/doc_00007908 to /storage/kkm_last_doc_name [13:03:21]save OK [13:03:21]Clear old archive folders... [13:03:21]ProcessDocumentItem done err = 0, tmpTLVsize=252 [13:03:21]tlvbuf is 00FF74B0 [13:03:21]SAM_PROTO_ClearQueue [13:03:21]wFMCommunicate request_size=4 [13:03:21]MH_SAM_APDU [13:03:21]CAPDU: 80 09 00 00 [13:03:21]Write to MH i2c: E2 08 00 0C 01 80 09 00 00 00 00 00 00 7F [13:03:21]Write i2c OK [13:03:21]MH_I2C_Read... [13:03:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:03:21]Read from MH i2c: E2 [13:03:21]MH_I2C_Read... [13:03:21]Read from MH i2c: E2 03 00 [13:03:21]MH_I2C_Read... [13:03:21]Read from MH i2c: E2 03 00 0C 01 00 90 00 81 [13:03:21]RAPDU: 90 00 [13:03:21]wFMCommunicate OK [13:03:21]SAM_PROTO_ClearQueue done [13:03:21]KKMCreateOFDPacket [13:03:21]OFDProtocolAddRootSTLVToBuf [13:03:21]FM_MakeSignedData [13:03:21]FM_MakeSignedData [13:03:21]SAM_PROTO_SignData [13:03:21]wFMCommunicate request_size=4 [13:03:21]MH_SAM_APDU [13:03:21]CAPDU: 80 0D 01 02 [13:03:21]Write to MH i2c: E2 08 00 0D 01 80 0D 01 02 00 00 00 00 87 [13:03:21]Write i2c OK [13:03:21]MH_I2C_Read... [13:03:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:03:21]Read from MH i2c: E2 [13:03:21]MH_I2C_Read... [13:03:21]Read from MH i2c: E2 03 00 [13:03:21]MH_I2C_Read... [13:03:21]Read from MH i2c: E2 03 00 0D 01 00 90 00 82 [13:03:21]RAPDU: 90 00 [13:03:21]wFMCommunicate OK [13:03:21]wFMCommunicate request_size=255 [13:03:21]MH_SAM_APDU [13:03:21]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 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 98 B8 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E4 1E 00 00 35 04 06 00 [13:03:21]Write to MH i2c: E2 02 01 0E 01 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 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 98 B8 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E4 1E 00 00 35 04 06 00 00 00 96 [13:03:21]Write i2c OK [13:03:21]MH_I2C_Read... [13:03:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:03:21]Read from MH i2c: E2 [13:03:21]MH_I2C_Read... [13:03:21]Read from MH i2c: E2 03 00 [13:03:21]MH_I2C_Read... [13:03:21]Read from MH i2c: E2 03 00 0E 01 00 90 00 83 [13:03:21]RAPDU: 90 00 [13:03:21]wFMCommunicate OK [13:03:21]wFMCommunicate request_size=11 [13:03:21]MH_SAM_APDU [13:03:21]CAPDU: 80 0D 02 02 06 F1 F4 76 8E 98 EF [13:03:21]Write to MH i2c: E2 0E 00 0F 01 80 0D 02 02 06 00 F1 F4 76 8E 98 EF 00 00 06 [13:03:21]Write i2c OK [13:03:21]MH_I2C_Read... [13:03:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:03:21]Read from MH i2c: E2 [13:03:21]MH_I2C_Read... [13:03:21]Read from MH i2c: E2 03 00 [13:03:21]MH_I2C_Read... [13:03:21]Read from MH i2c: E2 03 00 0F 01 00 90 00 84 [13:03:21]RAPDU: 90 00 [13:03:21]wFMCommunicate OK [13:03:21]wFMCommunicate request_size=4 [13:03:21]MH_SAM_APDU [13:03:21]CAPDU: 80 0D 03 02 [13:03:21]Write to MH i2c: E2 08 00 10 01 80 0D 03 02 00 00 00 00 8C [13:03:21]Write i2c OK [13:03:21]MH_I2C_Read... [13:03:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:03:21]Read from MH i2c: E2 [13:03:21]MH_I2C_Read... [13:03:21]Read from MH i2c: E2 0B 00 [13:03:21]MH_I2C_Read... [13:03:21]Read from MH i2c: E2 0B 00 10 01 00 D1 C0 DC DF ED 98 28 FD 90 00 83 [13:03:21]RAPDU: D1 C0 DC DF ED 98 28 FD 90 00 [13:03:21]wFMCommunicate OK [13:03:21]SAM_PROTO_SignData done [13:03:21]FM_MakeSignedData done [13:03:21]CreateOFDProtocolMessage [13:03:21]wFMCommunicate request_size=4 [13:03:21]MH_SAM_APDU [13:03:21]CAPDU: 80 11 00 00 [13:03:21]Write to MH i2c: E2 08 00 11 01 80 11 00 00 00 00 00 00 8C [13:03:21]Write i2c OK [13:03:21]MH_I2C_Read... [13:03:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:03:21]Read from MH i2c: E2 [13:03:21]MH_I2C_Read... [13:03:21]Read from MH i2c: E2 17 00 [13:03:21]MH_I2C_Read... [13:03:21]Read from MH i2c: E2 17 00 11 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 DD [13:03:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [13:03:21]wFMCommunicate OK [13:03:21]CreateOFDProtocolMessage done [13:03:21]OFDSenderStorePacket 7908 [13:03:21]StoreOFDPacket docnum=7908 [13:03:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 01 00 00 3B 09 08 01 5D 98 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 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 98 B8 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E4 1E 00 00 35 04 06 00 F1 F4 76 8E 98 EF D1 C0 DC DF ED 98 28 FD [13:03:21]CheckFolder [13:03:21]dirname=/storage/ofd_packets [13:03:21]CheckFolder done [13:03:21]ProducePacketName [13:03:21]name=ofd_packets/00007908 [13:03:21]NVStorageSaveData ofd_packets/00007908 [13:03:21]File name is /storage/ofd_packets/00007908 [13:03:21]Write 302 bytes [13:03:21]NVStorageSaveData done [13:03:21]OFDSenderStorePacket done [13:03:21]KKMCreateOFDPacket done [13:03:21]NVStorageSaveData kkm_last_timestamp [13:03:21]File name is /storage/kkm_last_timestamp [13:03:21]Write 4 bytes [13:03:21]NVStorageSaveData done [13:03:21]ExternCall_PrintAddStr [13:03:21]wPrintStart [13:03:21]Write to MH i2c: 01 00 00 12 01 13 [13:03:21]Write i2c OK [13:03:21]MH_I2C_Read... [13:03:21]Read from MH i2c: 01 [13:03:21]MH_I2C_Read... [13:03:21]Read from MH i2c: 01 07 00 [13:03:21]MH_I2C_Read... [13:03:21]Read from MH i2c: 01 07 00 12 01 00 00 00 00 00 FF 0F 28 [13:03:21]RasterBufferAndPrint [13:03:21]line Счет N : (1)872634 [13:03:21]line ИНН: 02508201610067 [13:03:21]line Контрольно-Кассовый Чек [13:03:21]line ПРОДАЖА [13:03:21]line ТРК (МРК, ГНК) : 44 [13:03:21]line Товар: 2710194210 [13:03:21]line ДТ(л)-К-4 [13:03:21]line 6.570 * 76.20 [13:03:21]line = 500.63 [13:03:21]line НДС 12% НСП 1% [13:03:21]line > о реализуемом товаре [13:03:21]line ОКРУГЛЕНИЕ: -0.63 [13:03:21]line ИТОГО: 500.00 [13:03:21]line Внесено: 500.00 [13:03:21]line СДАЧА: 0.00 [13:03:21]line НСП 1% : 4.43 [13:03:21]line НДС 12% : 53.16 [13:03:21]line Наличными: 500.00 [13:03:21]line Безнал.: 0.00 [13:03:21]line Место: АЗС № 137 "Партнер Нефть" [13:03:21]line Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 [13:03:21]line СНО: Общий режим [13:03:21]line Чек 44 24.09.2024 13:03 [13:03:21]line Смена: 72 ФФД: 1.0 [13:03:21]line ЗНМ: 0300000041 [13:03:21]line РНМ: 0000000000190446 [13:03:21]line Версия ККМ: v1.0 [13:03:21]line ФМ: 0000000002094258 [13:03:21]line ФД: 7908 [13:03:21]line ФПД: 266032263370991 [13:03:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T130320&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7908&fm=266032263370991&tin=02508201610067®Number=0000000000190446&sum=50000 [13:03:21]OFD Sender: Processing packet 7908 [packets to send 51, broken 50] [13:03:21]ProducePacketName [13:03:21]name=ofd_packets/00007908 [13:03:21]OFD Sender: To server: pG, [13:03:21]CommunicateWithHost lk.salyk.kg:30040 [13:03:21]ConnectInit lk.salyk.kg [13:03:21]written 0, free lines is 4095 [13:03:22]Write to MH i2c: 01 00 00 3D 01 3E [13:03:22]Write i2c OK [13:03:22]MH_I2C_Read... [13:03:22]Read from MH i2c: 01 [13:03:22]MH_I2C_Read... [13:03:22]Read from MH i2c: 01 07 00 [13:03:22]MH_I2C_Read... [13:03:22]Read from MH i2c: 01 07 00 3D 01 00 00 00 00 00 EC 0C 3D [13:03:22]RasterBufferAndPrint [13:03:22]line [13:03:22]line [13:03:22]line [13:03:22]line [13:03:22]line [13:03:22]written 0, free lines is 3314 [13:03:22]MH_Cut [13:03:22]Write to MH i2c: D1 01 00 44 01 01 17 [13:03:22]Write i2c OK [13:03:22]MH_I2C_Read... [13:03:22]Read from MH i2c: D1 [13:03:22]MH_I2C_Read... [13:03:22]Read from MH i2c: D1 01 00 [13:03:22]MH_I2C_Read... [13:03:22]Read from MH i2c: D1 01 00 44 01 00 16 [13:03:22]Write to MH i2c: 01 00 00 45 01 46 [13:03:22]Write i2c OK [13:03:22]MH_I2C_Read... [13:03:22]Connected sock=10 [13:03:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 01 00 00 3B 09 08 01 5D 98 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 50 C3 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 98 B8 F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E4 1E 00 00 35 04 06 00 F1 F4 76 8E 98 EF D1 C0 DC DF ED 98 28 FD [13:03:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 57 EA 47 00 C7 4D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E4 1E 00 00 F4 03 04 00 50 63 F2 66 B6 04 01 00 00 70 5E 2C C3 53 C4 9F 17 [13:03:22]CommunicateWithHost err = 0 [13:03:22]CheckOFDResponse [13:03:22]1017 (14) - 77093643461234 [13:03:22]1041 (16) - 0000000002094258 [13:03:22]1040 (4) - 7908 [13:03:22]1012 (4) - 24.09.2024 06:59 [13:03:22]1206 (1) - 0 [13:03:22]OFD Sender: Remove packet 7908 [13:03:22]ProducePacketName [13:03:22]name=ofd_packets/00007908 [13:03:22]NVStorageDeleteData [13:03:23]*** Cut start [13:03:23]*** Purtial cut [13:03:23]*** Stage 1: CUTSNS_PIN = 1 [13:03:23]Read from MH i2c: 01 [13:03:23]MH_I2C_Read... [13:03:23]OFD Sender: No OFD packet to send [13:03:23]*** Stop cut motor [13:03:23]*** Cut end [13:03:23]Read from MH i2c: 01 07 00 [13:03:23]MH_I2C_Read... [13:03:23]Read from MH i2c: 01 07 00 45 01 00 00 00 00 00 FF 0F 5B [13:03:23]process_action close_receipt done [13:03:23]requested_data is exist [13:03:23]produce_requested_data [13:03:23]requested_item fm.sn is exist - process it [13:03:23]wFMCommunicate request_size=4 [13:03:23]MH_SAM_APDU [13:03:23]CAPDU: 80 11 00 00 [13:03:23]Write to MH i2c: E2 08 00 46 01 80 11 00 00 00 00 00 00 C1 [13:03:23]Write i2c OK [13:03:23]MH_I2C_Read... [13:03:23]Read from MH i2c: E2 [13:03:23]MH_I2C_Read... [13:03:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:03:23]Read from MH i2c: E2 17 00 [13:03:23]MH_I2C_Read... [13:03:23]Read from MH i2c: E2 17 00 46 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 12 [13:03:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [13:03:23]wFMCommunicate OK [13:03:23]requested_item fd.num is exist - process it [13:03:23]SAM_PROTO_GetFieldsCounters [13:03:23]wFMCommunicate request_size=4 [13:03:23]MH_SAM_APDU [13:03:23]CAPDU: 80 13 00 00 [13:03:23]Write to MH i2c: E2 08 00 47 01 80 13 00 00 00 00 00 00 C4 [13:03:23]Write i2c OK [13:03:23]MH_I2C_Read... [13:03:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:03:23]Read from MH i2c: E2 [13:03:23]MH_I2C_Read... [13:03:23]Read from MH i2c: E2 62 00 [13:03:23]MH_I2C_Read... [13:03:23]Read from MH i2c: E2 62 00 47 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 E4 1E 00 00 0E 04 04 00 48 00 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 B0 [13:03:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 E4 1E 00 00 0E 04 04 00 48 00 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:03:23]wFMCommunicate OK [13:03:23]SAM_PROTO_GetFieldsCounters done [13:03:23]requested_item shift.num is exist - process it [13:03:23]requested_item shift.opened is exist - process it [13:03:23]req_shift_opened [13:03:23]FM_GetShiftState [13:03:23]SAM_PROTO_GetShiftState [13:03:23]wFMCommunicate request_size=4 [13:03:23]MH_SAM_APDU [13:03:23]CAPDU: 80 13 01 00 [13:03:23]Write to MH i2c: E2 08 00 48 01 80 13 01 00 00 00 00 00 C6 [13:03:23]Write i2c OK [13:03:23]MH_I2C_Read... [13:03:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:03:23]Read from MH i2c: E2 [13:03:23]MH_I2C_Read... [13:03:23]Read from MH i2c: E2 0E 00 [13:03:23]MH_I2C_Read... [13:03:23]Read from MH i2c: E2 0E 00 48 01 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 6C [13:03:23]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [13:03:23]wFMCommunicate OK [13:03:23]SAM_PROTO_GetShiftState done [13:03:23]FM_GetShiftState done [13:03:23]req_shift_opened done [13:03:23]requested_item shift.open_date is exist - process it [13:03:23]req_shift_open_date [13:03:23]req_shift_open_date done [13:03:23]produce_requested_data done [13:03:23]produce_requested_data return {"fm.sn":"0000000002094258","fd.num":7908,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [13:03:23]process_action_free close_receipt [13:03:23]json_value_free [13:03:23]json_value_free done [13:03:23]process_json_proto returns [13:03:23]Send response to host [13:03:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002094258","fd.num":7908,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [13:03:23]free response buf [13:03:23]execute_script done [13:03:23]execute_script returns [13:03:23]free content buf [13:03:23]Sock 8.Close socket [13:03:23]Sock 8.Thread stoped [13:03:28]OFD Sender: No OFD packet to send [13:03:33]OFD Sender: No OFD packet to send [13:03:38]OFD Sender: No OFD packet to send [13:03:43]OFD Sender: No OFD packet to send [13:03:48]OFD Sender: No OFD packet to send [13:03:53]OFD Sender: No OFD packet to send [13:03:53]recv_with_timeout no data received [13:03:58]OFD Sender: No OFD packet to send [13:04:03]OFD Sender: No OFD packet to send [13:04:08]OFD Sender: No OFD packet to send [13:04:13]OFD Sender: No OFD packet to send [13:04:18]OFD Sender: No OFD packet to send [13:04:23]OFD Sender: No OFD packet to send [13:04:28]OFD Sender: No OFD packet to send [13:04:33]OFD Sender: No OFD packet to send [13:04:38]OFD Sender: No OFD packet to send [13:04:43]OFD Sender: No OFD packet to send [13:04:48]OFD Sender: No OFD packet to send [13:04:53]OFD Sender: No OFD packet to send [13:04:58]OFD Sender: No OFD packet to send [13:05:03]OFD Sender: No OFD packet to send [13:05:08]OFD Sender: No OFD packet to send [13:05:13]OFD Sender: No OFD packet to send [13:05:18]OFD Sender: No OFD packet to send [13:05:23]OFD Sender: No OFD packet to send [13:05:28]OFD Sender: No OFD packet to send [13:05:33]OFD Sender: No OFD packet to send [13:05:38]OFD Sender: No OFD packet to send [13:05:43]OFD Sender: No OFD packet to send [13:05:48]OFD Sender: No OFD packet to send [13:05:53]OFD Sender: No OFD packet to send [13:05:58]OFD Sender: No OFD packet to send [13:06:03]OFD Sender: No OFD packet to send [13:06:08]recv_with_timeout no data received [13:06:08]OFD Sender: No OFD packet to send [13:06:13]OFD Sender: No OFD packet to send [13:06:18]OFD Sender: No OFD packet to send [13:06:18]accept exits with 9 [13:06:18]New connection [13:06:18]New thread 3067624804 created [13:06:18]Thread 3067481444 joined [13:06:18]Waiting for new connection... [13:06:18] Sock 9.Parse request [13:06:18]Sock 9.Check first char [13:06:18]Sock 9.First char is OK [13:06:18]request: POST /json_proto HTTP/1.0 [13:06:18]Method: POST [13:06:18]URL: /json_proto [13:06:18]Method is POST - this is cgi request [13:06:18]url: /json_proto [13:06:18]query_string will be loaded in cgi processing [13:06:18]execute_cgi json_proto POST (null) [13:06:18]execute_cgi path=json_proto method=POST [13:06:18]POST find Content-Length [13:06:18]Host: 172.17.47.195:8080 [13:06:18]Content-Length: 801 [13:06:18]Content-Type: application/json [13:06:18] [13:06:18]POST finish read [13:06:18]Found Content-Length = 801 [13:06:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872638", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 13.350, "sum" : 905.13, "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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 905.13 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:06:18]execute_script... [13:06: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 : (1)872638", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 13.350, "sum" : 905.13, "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: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 905.13 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:06:18]POST & json_proto [13:06:18]process_json_proto [13:06:18]json parsed OK: [13:06:18]protocol is kg_v1.0 [13:06:18]action value=close_receipt [13:06:18]process_action close_receipt [13:06:18]cmd_close_receipt [13:06:18]MH_GetDate [13:06:18]Write to MH i2c: F0 00 00 49 01 39 [13:06:18]Write i2c OK [13:06:18]MH_I2C_Read... [13:06:18]Read from MH i2c: F0 [13:06:18]MH_I2C_Read... [13:06:18]Read from MH i2c: F0 09 00 [13:06:18]MH_I2C_Read... [13:06:18]Read from MH i2c: F0 09 00 49 01 00 4A B9 F2 66 96 2E 95 66 5C [13:06:18]GetLastDocTimeStamp 1727183000 [13:06:18]current date 1727183178 [13:06:18]FM_GetShiftState [13:06:18]SAM_PROTO_GetShiftState [13:06:18]wFMCommunicate request_size=4 [13:06:18]MH_SAM_APDU [13:06:18]CAPDU: 80 13 01 00 [13:06:18]Write to MH i2c: E2 08 00 4A 01 80 13 01 00 00 00 00 00 C8 [13:06:18]Write i2c OK [13:06:18]MH_I2C_Read... [13:06:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:06:18]Read from MH i2c: E2 [13:06:18]MH_I2C_Read... [13:06:18]Read from MH i2c: E2 0E 00 [13:06:18]MH_I2C_Read... [13:06:18]Read from MH i2c: E2 0E 00 4A 01 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 6E [13:06:18]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [13:06:18]wFMCommunicate OK [13:06:18]SAM_PROTO_GetShiftState done [13:06:18]FM_GetShiftState done [13:06:18]opened in 1727137340 [13:06:18]opened+sec_in_day 1727223740 [13:06:18]quantity*price = 90513 [13:06:18]sum+1 = 90514 [13:06:18]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.63 НСП 1% : 4.43 НДС 12% : 53.16 Наличными: 0.00 Безнал.: 500.63 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 46 24.09.2024 13:13 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 Платежная система: O! деньги ФМ: 0000000002094258 ФД: 7910 ФПД: 257950284870839 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T131344&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7910&fm=257950284870839&tin=02508201610067®Number=0000000000190446&sum=50063 [13:13:44]StoreToDocumentArchive [13:13:44]shift 72 fd 7910 [13:13:44]save to /storage/0072/doc_00007910 [13:13:44]save last doc name /storage/0072/doc_00007910 to /storage/kkm_last_doc_name [13:13:44]save OK [13:13:44]Clear old archive folders... [13:13:44]ProcessDocumentItem done err = 0, tmpTLVsize=252 [13:13:44]tlvbuf is 014FCBE0 [13:13:44]SAM_PROTO_ClearQueue [13:13:44]wFMCommunicate request_size=4 [13:13:44]MH_SAM_APDU [13:13:44]CAPDU: 80 09 00 00 [13:13:44]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [13:13:44]Write i2c OK [13:13:44]MH_I2C_Read... [13:13:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:13:44]Read from MH i2c: E2 [13:13:44]MH_I2C_Read... [13:13:44]Read from MH i2c: E2 03 00 [13:13:44]MH_I2C_Read... [13:13:44]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [13:13:44]RAPDU: 90 00 [13:13:44]wFMCommunicate OK [13:13:44]SAM_PROTO_ClearQueue done [13:13:44]KKMCreateOFDPacket [13:13:44]OFDProtocolAddRootSTLVToBuf [13:13:44]FM_MakeSignedData [13:13:44]FM_MakeSignedData [13:13:44]SAM_PROTO_SignData [13:13:44]wFMCommunicate request_size=4 [13:13:44]MH_SAM_APDU [13:13:44]CAPDU: 80 0D 01 02 [13:13:44]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [13:13:44]Write i2c OK [13:13:44]MH_I2C_Read... [13:13:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:13:44]Read from MH i2c: E2 [13:13:44]MH_I2C_Read... [13:13:44]Read from MH i2c: E2 03 00 [13:13:44]MH_I2C_Read... [13:13:44]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [13:13:44]RAPDU: 90 00 [13:13:44]wFMCommunicate OK [13:13:44]wFMCommunicate request_size=255 [13:13:44]MH_SAM_APDU [13:13:44]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8F C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 8F C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 08 BB F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E6 1E 00 00 35 04 06 00 [13:13:44]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8F C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 8F C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 08 BB F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E6 1E 00 00 35 04 06 00 00 00 A9 [13:13:45]Write i2c OK [13:13:45]MH_I2C_Read... [13:13:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:13:45]Read from MH i2c: E2 [13:13:45]MH_I2C_Read... [13:13:45]Read from MH i2c: E2 03 00 [13:13:45]MH_I2C_Read... [13:13:45]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [13:13:45]RAPDU: 90 00 [13:13:45]wFMCommunicate OK [13:13:45]wFMCommunicate request_size=11 [13:13:45]MH_SAM_APDU [13:13:45]CAPDU: 80 0D 02 02 06 EA 9A BB 19 74 B7 [13:13:45]Write to MH i2c: E2 0E 00 2E 00 80 0D 02 02 06 00 EA 9A BB 19 74 B7 00 00 37 [13:13:45]Write i2c OK [13:13:45]MH_I2C_Read... [13:13:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:13:45]Read from MH i2c: E2 [13:13:45]MH_I2C_Read... [13:13:45]Read from MH i2c: E2 03 00 [13:13:45]MH_I2C_Read... [13:13:45]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [13:13:45]RAPDU: 90 00 [13:13:45]wFMCommunicate OK [13:13:45]wFMCommunicate request_size=4 [13:13:45]MH_SAM_APDU [13:13:45]CAPDU: 80 0D 03 02 [13:13:45]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [13:13:45]Write i2c OK [13:13:45]MH_I2C_Read... [13:13:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:13:45]Read from MH i2c: E2 [13:13:45]MH_I2C_Read... [13:13:45]Read from MH i2c: E2 0B 00 [13:13:45]MH_I2C_Read... [13:13:45]Read from MH i2c: E2 0B 00 2F 00 00 78 F4 BF 60 0B ED 29 C3 90 00 1A [13:13:45]RAPDU: 78 F4 BF 60 0B ED 29 C3 90 00 [13:13:45]wFMCommunicate OK [13:13:45]SAM_PROTO_SignData done [13:13:45]FM_MakeSignedData done [13:13:45]CreateOFDProtocolMessage [13:13:45]wFMCommunicate request_size=4 [13:13:45]MH_SAM_APDU [13:13:45]CAPDU: 80 11 00 00 [13:13:45]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [13:13:45]Write i2c OK [13:13:45]MH_I2C_Read... [13:13:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:13:45]Read from MH i2c: E2 [13:13:45]MH_I2C_Read... [13:13:45]Read from MH i2c: E2 17 00 [13:13:45]MH_I2C_Read... [13:13:45]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 FB [13:13:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [13:13:45]wFMCommunicate OK [13:13:45]CreateOFDProtocolMessage done [13:13:45]OFDSenderStorePacket 7910 [13:13:45]StoreOFDPacket docnum=7910 [13:13:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 01 00 00 6C 92 08 01 7D E6 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8F C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 8F C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 08 BB F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E6 1E 00 00 35 04 06 00 EA 9A BB 19 74 B7 78 F4 BF 60 0B ED 29 C3 [13:13:45]CheckFolder [13:13:45]dirname=/storage/ofd_packets [13:13:45]CheckFolder done [13:13:45]ProducePacketName [13:13:45]name=ofd_packets/00007910 [13:13:45]NVStorageSaveData ofd_packets/00007910 [13:13:45]File name is /storage/ofd_packets/00007910 [13:13:45]Write 302 bytes [13:13:45]NVStorageSaveData done [13:13:45]OFDSenderStorePacket done [13:13:45]KKMCreateOFDPacket done [13:13:45]NVStorageSaveData kkm_last_timestamp [13:13:45]File name is /storage/kkm_last_timestamp [13:13:45]Write 4 bytes [13:13:45]NVStorageSaveData done [13:13:45]ExternCall_PrintAddStr [13:13:45]wPrintStart [13:13:45]Write to MH i2c: 01 00 00 31 00 31 [13:13:45]Write i2c OK [13:13:45]MH_I2C_Read... [13:13:45]Read from MH i2c: 01 [13:13:45]MH_I2C_Read... [13:13:45]Read from MH i2c: 01 07 00 [13:13:45]MH_I2C_Read... [13:13:45]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [13:13:45]RasterBufferAndPrint [13:13:45]line Счет N : (1)872640 [13:13:45]line ИНН: 02508201610067 [13:13:45]line Контрольно-Кассовый Чек [13:13:45]line ПРОДАЖА [13:13:45]line ТРК (МРК, ГНК) : 44 [13:13:45]line Товар: 2710194210 [13:13:45]line ДТ(л)-К-4 [13:13:45]line 6.570 * 76.20 [13:13:45]line = 500.63 [13:13:45]line НДС 12% НСП 1% [13:13:45]line > о реализуемом товаре [13:13:45]line ИТОГО: 500.63 [13:13:45]line НСП 1% : 4.43 [13:13:45]line НДС 12% : 53.16 [13:13:45]line Наличными: 0.00 [13:13:45]line Безнал.: 500.63 [13:13:45]line Место: АЗС № 137 "Партнер Нефть" [13:13:45]line Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 [13:13:45]line СНО: Общий режим [13:13:45]line Чек 46 24.09.2024 13:13 [13:13:45]line Смена: 72 ФФД: 1.0 [13:13:45]line ЗНМ: 0300000041 [13:13:45]line РНМ: 0000000000190446 [13:13:45]line Версия ККМ: v1.0 [13:13:45]line Платежная система: O! деньги [13:13:45]line ФМ: 0000000002094258 [13:13:45]line ФД: 7910 [13:13:45]line ФПД: 257950284870839 [13:13:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T131344&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7910&fm=257950284870839&tin=02508201610067®Number=0000000000190446&sum=50063 [13:13:45]written 0, free lines is 4095 [13:13:45]OFD Sender: Processing packet 7910 [packets to send 52, broken 51] [13:13:45]ProducePacketName [13:13:45]name=ofd_packets/00007910 [13:13:45]OFD Sender: To server: pG, [13:13:45]CommunicateWithHost lk.salyk.kg:30040 [13:13:45]ConnectInit lk.salyk.kg [13:13:46]Write to MH i2c: 01 00 00 5B 00 5B [13:13:46]Write i2c OK [13:13:46]MH_I2C_Read... [13:13:46]Read from MH i2c: 01 [13:13:46]MH_I2C_Read... [13:13:46]Read from MH i2c: 01 07 00 [13:13:46]MH_I2C_Read... [13:13:46]Read from MH i2c: 01 07 00 5B 00 00 00 00 00 00 FF 0C 6D [13:13:46]RasterBufferAndPrint [13:13:46]line [13:13:46]line [13:13:46]line [13:13:46]line [13:13:46]line [13:13:46]written 0, free lines is 3351 [13:13:46]MH_Cut [13:13:46]Write to MH i2c: D1 01 00 62 00 01 34 [13:13:46]Write i2c OK [13:13:46]MH_I2C_Read... [13:13:46]Read from MH i2c: D1 [13:13:46]MH_I2C_Read... [13:13:46]Read from MH i2c: D1 01 00 [13:13:46]MH_I2C_Read... [13:13:46]Read from MH i2c: D1 01 00 62 00 00 33 [13:13:46]Write to MH i2c: 01 00 00 63 00 63 [13:13:46]Write i2c OK [13:13:46]MH_I2C_Read... [13:13:46]Connected sock=10 [13:13:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 01 00 00 6C 92 08 01 7D E6 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 34 FF 03 08 00 03 AA 19 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8F C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8F C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 8F C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 08 BB F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E6 1E 00 00 35 04 06 00 EA 9A BB 19 74 B7 78 F4 BF 60 0B ED 29 C3 [13:13:46]*** Cut start [13:13:46]*** Purtial cut [13:13:46]*** Stage 1: CUTSNS_PIN = 1 [13:13:47]Read from MH i2c: 01 *** Stop cut motor [13:13:47] [13:13:47]*** Cut end [13:13:47]MH_I2C_Read... [13:13:47]Read from MH i2c: 01 07 00 [13:13:47]MH_I2C_Read... [13:13:47]Read from MH i2c: 01 07 00 63 00 00 00 00 00 00 FF 0F 78 [13:13:47]process_action close_receipt done [13:13:47]requested_data is exist [13:13:47]produce_requested_data [13:13:47]requested_item fm.sn is exist - process it [13:13:47]wFMCommunicate request_size=4 [13:13:47]MH_SAM_APDU [13:13:47]CAPDU: 80 11 00 00 [13:13:47]Write to MH i2c: E2 08 00 64 00 80 11 00 00 00 00 00 00 DE [13:13:47]Write i2c OK [13:13:47]MH_I2C_Read... [13:13:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:13:47]Read from MH i2c: E2 [13:13:47]MH_I2C_Read... [13:13:47]Read from MH i2c: E2 17 00 [13:13:47]MH_I2C_Read... [13:13:47]Read from MH i2c: E2 17 00 64 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 2F [13:13:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [13:13:47]wFMCommunicate OK [13:13:47]requested_item fd.num is exist - process it [13:13:47]SAM_PROTO_GetFieldsCounters [13:13:47]wFMCommunicate request_size=4 [13:13:47]MH_SAM_APDU [13:13:47]CAPDU: 80 13 00 00 [13:13:47]Write to MH i2c: E2 08 00 65 00 80 13 00 00 00 00 00 00 E1 [13:13:47]Write i2c OK [13:13:47]MH_I2C_Read... [13:13:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:13:47]Read from MH i2c: E2 [13:13:47]MH_I2C_Read... [13:13:47]Read from MH i2c: E2 62 00 [13:13:47]MH_I2C_Read... [13:13:47]Read from MH i2c: E2 62 00 65 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 E6 1E 00 00 0E 04 04 00 48 00 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 D5 [13:13:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 E6 1E 00 00 0E 04 04 00 48 00 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 [13:13:47]wFMCommunicate OK [13:13:47]SAM_PROTO_GetFieldsCounters done [13:13:47]requested_item shift.num is exist - process it [13:13:47]requested_item shift.opened is exist - process it [13:13:47]req_shift_opened [13:13:47]FM_GetShiftState [13:13:47]SAM_PROTO_GetShiftState [13:13:47]wFMCommunicate request_size=4 [13:13:47]MH_SAM_APDU [13:13:47]CAPDU: 80 13 01 00 [13:13:47]Write to MH i2c: E2 08 00 66 00 80 13 01 00 00 00 00 00 E3 [13:13:47]Write i2c OK [13:13:47]MH_I2C_Read... [13:13:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:13:47]Read from MH i2c: E2 [13:13:47]MH_I2C_Read... [13:13:47]Read from MH i2c: E2 0E 00 [13:13:47]MH_I2C_Read... [13:13:47]Read from MH i2c: E2 0E 00 66 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 89 [13:13:47]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [13:13:47]wFMCommunicate OK [13:13:47]SAM_PROTO_GetShiftState done [13:13:47]FM_GetShiftState done [13:13:47]req_shift_opened done [13:13:47]requested_item shift.open_date is exist - process it [13:13:47]req_shift_open_date [13:13:47]req_shift_open_date done [13:13:47]produce_requested_data done [13:13:47]produce_requested_data return {"fm.sn":"0000000002094258","fd.num":7910,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [13:13:47]process_action_free close_receipt [13:13:47]json_value_free [13:13:47]json_value_free done [13:13:47]process_json_proto returns [13:13:47]Send response to host [13:13:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002094258","fd.num":7910,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [13:13:47]free response buf [13:13:47]execute_script done [13:13:47]execute_script returns [13:13:47]free content buf [13:13:47]Sock 9.Close socket [13:13:47]Sock 9.Thread stoped [13:13:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 6C 18 47 00 1E 46 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E6 1E 00 00 F4 03 04 00 C1 65 F2 66 B6 04 01 00 00 81 1E 33 BD FA AF 5D AB [13:13:48]CommunicateWithHost err = 0 [13:13:48]CheckOFDResponse [13:13:48]1017 (14) - 77093643461234 [13:13:48]1041 (16) - 0000000002094258 [13:13:48]1040 (4) - 7910 [13:13:48]1012 (4) - 24.09.2024 07:09 [13:13:48]1206 (1) - 0 [13:13:48]OFD Sender: Remove packet 7910 [13:13:48]ProducePacketName [13:13:48]name=ofd_packets/00007910 [13:13:48]NVStorageDeleteData [13:13:48]OFD Sender: No OFD packet to send [13:13:53]OFD Sender: No OFD packet to send [13:13:58]OFD Sender: No OFD packet to send [13:14:03]OFD Sender: No OFD packet to send [13:14:08]OFD Sender: No OFD packet to send [13:14:13]OFD Sender: No OFD packet to send [13:14:18]OFD Sender: No OFD packet to send [13:14:21]recv_with_timeout no data received [13:14:23]OFD Sender: No OFD packet to send [13:14:28]OFD Sender: No OFD packet to send [13:14:33]OFD Sender: No OFD packet to send [13:14:38]OFD Sender: No OFD packet to send [13:14:43]accept exits with 6 [13:14:43]New connection [13:14:43]New thread 3067235684 created [13:14:43]Thread 3067379044 joined [13:14:43]Waiting for new connection... [13:14:43] Sock 6.Parse request [13:14:43]Sock 6.Check first char [13:14:43]Sock 6.First char is OK [13:14:43]request: POST /json_proto HTTP/1.0 [13:14:43]Method: POST [13:14:43]URL: /json_proto [13:14:43]Method is POST - this is cgi request [13:14:43]url: /json_proto [13:14:43]query_string will be loaded in cgi processing [13:14:43]execute_cgi json_proto POST (null) [13:14:43]execute_cgi path=json_proto method=POST [13:14:43]POST find Content-Length [13:14:43]Host: 172.17.47.195:8080 [13:14:43]Content-Length: 682 [13:14:43]Content-Type: application/json [13:14:43] [13:14:43]POST finish read [13:14:43]Found Content-Length = 682 [13:14:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)872643", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 14.750, "sum" : 1000.05, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:14:43]execute_script... [13:14: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 : (1)872643", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 14.750, "sum" : 1000.05, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:14:43]POST & json_proto [13:14:43]process_json_proto [13:14:43]json parsed OK: [13:14:43]protocol is kg_v1.0 [13:14:43]action value=close_receipt [13:14:43]process_action close_receipt [13:14:43]cmd_close_receipt [13:14:43]MH_GetDate [13:14:43]Write to MH i2c: F0 00 00 67 00 56 [13:14:43]Write i2c OK [13:14:43]MH_I2C_Read... [13:14:43]Read from MH i2c: F0 [13:14:43]MH_I2C_Read... [13:14:43]Read from MH i2c: F0 09 00 [13:14:43]MH_I2C_Read... [13:14:43]Read from MH i2c: F0 09 00 67 00 00 44 BB F2 66 96 2E 95 66 75 [13:14:43]GetLastDocTimeStamp 1727183624 [13:14:43]current date 1727183684 [13:14:43]FM_GetShiftState [13:14:43]SAM_PROTO_GetShiftState [13:14:43]wFMCommunicate request_size=4 [13:14:43]MH_SAM_APDU [13:14:43]CAPDU: 80 13 01 00 [13:14:43]Write to MH i2c: E2 08 00 68 00 80 13 01 00 00 00 00 00 E5 [13:14:43]Write i2c OK [13:14:43]MH_I2C_Read... [13:14:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:14:43]Read from MH i2c: E2 [13:14:43]MH_I2C_Read... [13:14:43]Read from MH i2c: E2 0E 00 [13:14:43]MH_I2C_Read... [13:14:43]Read from MH i2c: E2 0E 00 68 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 8B [13:14:43]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [13:14:43]wFMCommunicate OK [13:14:43]SAM_PROTO_GetShiftState done [13:14:43]FM_GetShiftState done [13:14:43]opened in 1727137340 [13:14:43]opened+sec_in_day 1727223740 [13:14:43]quantity*price = 100005 [13:14:43]sum+1 = 100006 [13:14:43]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.05 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.20 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 137 "Партнер Нефть" Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 СНО: Общий режим Чек 47 24.09.2024 13:14 Смена: 72 ФФД: 1.0 ЗНМ: 0300000041 РНМ: 0000000000190446 Версия ККМ: v1.0 ФМ: 0000000002094258 ФД: 7911 ФПД: 232084472729232 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T131444&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7911&fm=232084472729232&tin=02508201610067®Number=0000000000190446&sum=100000 [13:14:44]StoreToDocumentArchive [13:14:44]shift 72 fd 7911 [13:14:44]save to /storage/0072/doc_00007911 [13:14:44]save last doc name /storage/0072/doc_00007911 to /storage/kkm_last_doc_name [13:14:44]save OK [13:14:44]Clear old archive folders... [13:14:44]ProcessDocumentItem done err = 0, tmpTLVsize=251 [13:14:44]tlvbuf is 014F32B0 [13:14:44]SAM_PROTO_ClearQueue [13:14:44]wFMCommunicate request_size=4 [13:14:44]MH_SAM_APDU [13:14:44]CAPDU: 80 09 00 00 [13:14:44]Write to MH i2c: E2 08 00 75 00 80 09 00 00 00 00 00 00 E7 [13:14:44]Write i2c OK [13:14:44]MH_I2C_Read... [13:14:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:14:44]Read from MH i2c: E2 [13:14:44]MH_I2C_Read... [13:14:44]Read from MH i2c: E2 03 00 [13:14:44]MH_I2C_Read... [13:14:44]Read from MH i2c: E2 03 00 75 00 00 90 00 E9 [13:14:44]RAPDU: 90 00 [13:14:44]wFMCommunicate OK [13:14:44]SAM_PROTO_ClearQueue done [13:14:44]KKMCreateOFDPacket [13:14:44]OFDProtocolAddRootSTLVToBuf [13:14:44]FM_MakeSignedData [13:14:44]FM_MakeSignedData [13:14:44]SAM_PROTO_SignData [13:14:44]wFMCommunicate request_size=4 [13:14:44]MH_SAM_APDU [13:14:44]CAPDU: 80 0D 01 02 [13:14:44]Write to MH i2c: E2 08 00 76 00 80 0D 01 02 00 00 00 00 EF [13:14:44]Write i2c OK [13:14:44]MH_I2C_Read... [13:14:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:14:44]Read from MH i2c: E2 [13:14:44]MH_I2C_Read... [13:14:44]Read from MH i2c: E2 03 00 [13:14:44]MH_I2C_Read... [13:14:44]Read from MH i2c: E2 03 00 76 00 00 90 00 EA [13:14:44]RAPDU: 90 00 [13:14:44]wFMCommunicate OK [13:14:44]wFMCommunicate request_size=255 [13:14:44]MH_SAM_APDU [13:14:44]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 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 44 BB F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E7 1E 00 00 35 04 06 00 D3 [13:14:44]Write to MH i2c: E2 02 01 77 00 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 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 44 BB F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E7 1E 00 00 35 04 06 00 D3 00 00 A0 [13:14:44]Write i2c OK [13:14:44]MH_I2C_Read... [13:14:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:14:45]Read from MH i2c: E2 [13:14:45]MH_I2C_Read... [13:14:45]Read from MH i2c: E2 03 00 [13:14:45]MH_I2C_Read... [13:14:45]Read from MH i2c: E2 03 00 77 00 00 90 00 EB [13:14:45]RAPDU: 90 00 [13:14:45]wFMCommunicate OK [13:14:45]wFMCommunicate request_size=10 [13:14:45]MH_SAM_APDU [13:14:45]CAPDU: 80 0D 02 02 05 14 60 8E 0E 90 [13:14:45]Write to MH i2c: E2 0D 00 78 00 80 0D 02 02 05 00 14 60 8E 0E 90 00 00 9C [13:14:45]Write i2c OK [13:14:45]MH_I2C_Read... [13:14:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:14:45]Read from MH i2c: E2 [13:14:45]MH_I2C_Read... [13:14:45]Read from MH i2c: E2 03 00 [13:14:45]MH_I2C_Read... [13:14:45]Read from MH i2c: E2 03 00 78 00 00 90 00 EC [13:14:45]RAPDU: 90 00 [13:14:45]wFMCommunicate OK [13:14:45]wFMCommunicate request_size=4 [13:14:45]MH_SAM_APDU [13:14:45]CAPDU: 80 0D 03 02 [13:14:45]Write to MH i2c: E2 08 00 79 00 80 0D 03 02 00 00 00 00 F4 [13:14:45]Write i2c OK [13:14:45]MH_I2C_Read... [13:14:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:14:45]Read from MH i2c: E2 [13:14:45]MH_I2C_Read... [13:14:45]Read from MH i2c: E2 0B 00 [13:14:45]MH_I2C_Read... [13:14:45]Read from MH i2c: E2 0B 00 79 00 00 B7 50 6F 30 63 FA 82 3C 90 00 B6 [13:14:45]RAPDU: B7 50 6F 30 63 FA 82 3C 90 00 [13:14:45]wFMCommunicate OK [13:14:45]SAM_PROTO_SignData done [13:14:45]FM_MakeSignedData done [13:14:45]CreateOFDProtocolMessage [13:14:45]wFMCommunicate request_size=4 [13:14:45]MH_SAM_APDU [13:14:45]CAPDU: 80 11 00 00 [13:14:45]Write to MH i2c: E2 08 00 7A 00 80 11 00 00 00 00 00 00 F4 [13:14:45]Write i2c OK [13:14:45]MH_I2C_Read... [13:14:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:14:45]Read from MH i2c: E2 [13:14:45]MH_I2C_Read... [13:14:45]Read from MH i2c: E2 17 00 [13:14:45]MH_I2C_Read... [13:14:45]Read from MH i2c: E2 17 00 7A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 45 [13:14:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [13:14:45]wFMCommunicate OK [13:14:45]CreateOFDProtocolMessage done [13:14:45]OFDSenderStorePacket 7911 [13:14:45]StoreOFDPacket docnum=7911 [13:14:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 72 41 07 01 FA 9D 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 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 44 BB F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E7 1E 00 00 35 04 06 00 D3 14 60 8E 0E 90 B7 50 6F 30 63 FA 82 3C [13:14:45]CheckFolder [13:14:45]dirname=/storage/ofd_packets [13:14:45]CheckFolder done [13:14:45]ProducePacketName [13:14:45]name=ofd_packets/00007911 [13:14:45]NVStorageSaveData ofd_packets/00007911 [13:14:45]File name is /storage/ofd_packets/00007911 [13:14:45]Write 301 bytes [13:14:45]NVStorageSaveData done [13:14:45]OFDSenderStorePacket done [13:14:45]KKMCreateOFDPacket done [13:14:45]NVStorageSaveData kkm_last_timestamp [13:14:45]File name is /storage/kkm_last_timestamp [13:14:45]Write 4 bytes [13:14:45]NVStorageSaveData done [13:14:45]ExternCall_PrintAddStr [13:14:45]wPrintStart [13:14:45]Write to MH i2c: 01 00 00 7B 00 7B [13:14:45]Write i2c OK [13:14:45]MH_I2C_Read... [13:14:45]Read from MH i2c: 01 [13:14:45]MH_I2C_Read... [13:14:45]Read from MH i2c: 01 07 00 [13:14:45]MH_I2C_Read... [13:14:45]Read from MH i2c: 01 07 00 7B 00 00 00 00 00 00 FF 0F 90 [13:14:45]RasterBufferAndPrint [13:14:45]line Счет N : (1)872643 [13:14:45]line ИНН: 02508201610067 [13:14:45]line Контрольно-Кассовый Чек [13:14:45]line ПРОДАЖА [13:14:45]line ТРК (МРК, ГНК) : 43 [13:14:45]line Товар: 2710124130 [13:14:45]line Аи-92-К-5 [13:14:45]line 14.750 * 67.80 [13:14:45]line = 1000.05 [13:14:45]line НДС 12% НСП 1% [13:14:45]line > о реализуемом товаре [13:14:45]line ОКРУГЛЕНИЕ: -0.05 [13:14:45]line ИТОГО: 1000.00 [13:14:45]line Внесено: 1000.00 [13:14:45]line СДАЧА: 0.00 [13:14:45]line НСП 1% : 8.85 [13:14:45]line НДС 12% : 106.20 [13:14:45]line Наличными: 1000.00 [13:14:45]line Безнал.: 0.00 [13:14:45]line Место: АЗС № 137 "Партнер Нефть" [13:14:45]line Адрес: 720000, с. Питомник, Дон-Булак а/а, Узгенский район, 40.753654,73.381554 [13:14:45]line СНО: Общий режим [13:14:45]line Чек 47 24.09.2024 13:14 [13:14:45]line Смена: 72 ФФД: 1.0 [13:14:45]line ЗНМ: 0300000041 [13:14:45]line РНМ: 0000000000190446 [13:14:45]line Версия ККМ: v1.0 [13:14:45]line ФМ: 0000000002094258 [13:14:45]line ФД: 7911 [13:14:45]line ФПД: 232084472729232 [13:14:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240924T131444&type=1&operation_type=1&fn_number=0000000002094258&fd_number=7911&fm=232084472729232&tin=02508201610067®Number=0000000000190446&sum=100000 [13:14:45]OFD Sender: Processing packet 7911 [packets to send 52, broken 51] [13:14:45]ProducePacketName [13:14:45]name=ofd_packets/00007911 [13:14:45]OFD Sender: To server: pG, [13:14:45]CommunicateWithHost lk.salyk.kg:30040 [13:14:45]ConnectInit lk.salyk.kg [13:14:45]written 0, free lines is 4095 [13:14:45]Write to MH i2c: 01 00 00 A6 00 A6 [13:14:45]Write i2c OK [13:14:45]MH_I2C_Read... [13:14:45]Read from MH i2c: 01 [13:14:45]MH_I2C_Read... [13:14:45]Read from MH i2c: 01 07 00 [13:14:45]MH_I2C_Read... [13:14:45]Read from MH i2c: 01 07 00 A6 00 00 00 00 00 00 EA 0C A3 [13:14:45]RasterBufferAndPrint [13:14:45]line [13:14:45]line [13:14:45]line [13:14:45]line [13:14:45]line [13:14:45]written 0, free lines is 3312 [13:14:46]MH_Cut [13:14:46]Write to MH i2c: D1 01 00 AD 00 01 7F [13:14:46]Write i2c OK [13:14:46]MH_I2C_Read... [13:14:46]Read from MH i2c: D1 [13:14:46]MH_I2C_Read... [13:14:46]Read from MH i2c: D1 01 00 [13:14:46]MH_I2C_Read... [13:14:46]Read from MH i2c: D1 01 00 AD 00 00 7E [13:14:46]Write to MH i2c: 01 00 00 AE 00 AE [13:14:46]Write i2c OK [13:14:46]MH_I2C_Read... [13:14:46]Connected sock=9 [13:14:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0F 01 00 00 72 41 07 01 FA 9D 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9E 39 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 A5 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 A0 86 01 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 44 BB F2 66 0E 04 04 00 48 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E7 1E 00 00 35 04 06 00 D3 14 60 8E 0E 90 B7 50 6F 30 63 FA 82 3C [13:14:46]*** Cut start [13:14:46]*** Purtial cut [13:14:46]*** Stage 1: CUTSNS_PIN = 1 [13:14:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 92 C7 47 00 73 55 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E7 1E 00 00 F4 03 04 00 FC 65 F2 66 B6 04 01 00 00 A1 80 81 4F 17 1B A6 57 [13:14:46]CommunicateWithHost err = 0 [13:14:46]CheckOFDResponse [13:14:46]1017 (14) - 77093643461234 [13:14:46]1041 (16) - 0000000002094258 [13:14:46]1040 (4) - 7911 [13:14:46]1012 (4) - 24.09.2024 07:10 [13:14:46]1206 (1) - 0 [13:14:46]OFD Sender: Remove packet 7911 [13:14:46]ProducePacketName [13:14:46]name=ofd_packets/00007911 [13:14:46]NVStorageDeleteData [13:14:46]Read from MH i2c: 01 [13:14:46]MH_I2C_Read... [13:14:46]*** Stop cut motor [13:14:46]*** Cut end [13:14:46]Read from MH i2c: 01 07 00 [13:14:46]MH_I2C_Read... [13:14:46]Read from MH i2c: 01 07 00 AE 00 00 00 00 00 00 FF 0F C3 [13:14:46]process_action close_receipt done [13:14:46]requested_data is exist [13:14:46]produce_requested_data [13:14:46]requested_item fm.sn is exist - process it [13:14:46]wFMCommunicate request_size=4 [13:14:46]MH_SAM_APDU [13:14:46]CAPDU: 80 11 00 00 [13:14:46]Write to MH i2c: E2 08 00 AF 00 80 11 00 00 00 00 00 00 29 [13:14:46]Write i2c OK [13:14:46]MH_I2C_Read... [13:14:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:14:47]Read from MH i2c: E2 [13:14:47]MH_I2C_Read... [13:14:47]Read from MH i2c: E2 17 00 [13:14:47]MH_I2C_Read... [13:14:47]Read from MH i2c: E2 17 00 AF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 7A [13:14:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [13:14:47]wFMCommunicate OK [13:14:47]requested_item fd.num is exist - process it [13:14:47]SAM_PROTO_GetFieldsCounters [13:14:47]wFMCommunicate request_size=4 [13:14:47]MH_SAM_APDU [13:14:47]CAPDU: 80 13 00 00 [13:14:47]Write to MH i2c: E2 08 00 B0 00 80 13 00 00 00 00 00 00 2C [13:14:47]Write i2c OK [13:14:47]MH_I2C_Read... [13:14:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:14:47]Read from MH i2c: E2 [13:14:47]MH_I2C_Read... [13:14:47]Read from MH i2c: E2 62 00 [13:14:47]MH_I2C_Read... [13:14:47]Read from MH i2c: E2 62 00 B0 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 E7 1E 00 00 0E 04 04 00 48 00 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 24 [13:14:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 E7 1E 00 00 0E 04 04 00 48 00 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 [13:14:47]wFMCommunicate OK [13:14:47]SAM_PROTO_GetFieldsCounters done [13:14:47]requested_item shift.num is exist - process it [13:14:47]requested_item shift.opened is exist - process it [13:14:47]req_shift_opened [13:14:47]FM_GetShiftState [13:14:47]SAM_PROTO_GetShiftState [13:14:47]wFMCommunicate request_size=4 [13:14:47]MH_SAM_APDU [13:14:47]CAPDU: 80 13 01 00 [13:14:47]Write to MH i2c: E2 08 00 B1 00 80 13 01 00 00 00 00 00 2E [13:14:47]Write i2c OK [13:14:47]MH_I2C_Read... [13:14:47]OFD Sender: No OFD packet to send [13:14:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:14:47]Read from MH i2c: E2 [13:14:47]MH_I2C_Read... [13:14:47]Read from MH i2c: E2 0E 00 [13:14:47]MH_I2C_Read... [13:14:47]Read from MH i2c: E2 0E 00 B1 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 D4 [13:14:47]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [13:14:47]wFMCommunicate OK [13:14:47]SAM_PROTO_GetShiftState done [13:14:47]FM_GetShiftState done [13:14:47]req_shift_opened done [13:14:47]requested_item shift.open_date is exist - process it [13:14:47]req_shift_open_date [13:14:47]req_shift_open_date done [13:14:47]produce_requested_data done [13:14:47]produce_requested_data return {"fm.sn":"0000000002094258","fd.num":7911,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [13:14:47]process_action_free close_receipt [13:14:47]json_value_free [13:14:47]json_value_free done [13:14:47]process_json_proto returns [13:14:47]Send response to host [13:14:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000002094258","fd.num":7911,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [13:14:47]free response buf [13:14:47]execute_script done [13:14:47]execute_script returns [13:14:47]free content buf [13:14:47]Sock 6.Close socket [13:14:47]Sock 6.Thread stoped [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:26]recv_with_timeout no data received [13:15:27]OFD Sender: No OFD packet to send [13:15:32]OFD Sender: No OFD packet to send [13:15:37]OFD Sender: No OFD packet to send [13:15:42]OFD Sender: No OFD packet to send [13:15:47]OFD Sender: No OFD packet to send [13:15:52]OFD Sender: No OFD packet to send [13:15:57]OFD Sender: No OFD packet to send [13:16:02]OFD Sender: No OFD packet to send [13:16:07]OFD Sender: No OFD packet to send [13:16:12]OFD Sender: No OFD packet to send [13:16:17]OFD Sender: No OFD packet to send [13:16:22]OFD Sender: No OFD packet to send [13:16:27]OFD Sender: No OFD packet to send [13:16:32]OFD Sender: No OFD packet to send [13:16:37]OFD Sender: No OFD packet to send [13:16:42]OFD Sender: No OFD packet to send [13:16:47]OFD Sender: No OFD packet to send [13:16:52]OFD Sender: No OFD packet to send [13:16:57]OFD Sender: No OFD packet to send [13:17:02]OFD Sender: No OFD packet to send [13:17:07]OFD Sender: No OFD packet to send [13:17:12]OFD Sender: No OFD packet to send [13:17:17]OFD Sender: No OFD packet to send [13:17:22]OFD Sender: No OFD packet to send [13:17:27]OFD Sender: No OFD packet to send [13:17:32]OFD Sender: No OFD packet to send [13:17:37]OFD Sender: No OFD packet to send [13:17:42]OFD Sender: No OFD packet to send [13:17:47]OFD Sender: No OFD packet to send [13:17:52]OFD Sender: No OFD packet to send [13:17:57]OFD Sender: No OFD packet to send [13:18:02]OFD Sender: No OFD packet to send [13:18:07]OFD Sender: No OFD packet to send [13:18:12]OFD Sender: No OFD packet to send [13:18:17]OFD Sender: No OFD packet to send [13:18:22]OFD Sender: No OFD packet to send [13:18:27]OFD Sender: No OFD packet to send [13:18:32]OFD Sender: No OFD packet to send [13:18:37]OFD Sender: No OFD packet to send [13:18:42]OFD Sender: No OFD packet to send [13:18:47]OFD Sender: No OFD packet to send [13:18:52]OFD Sender: No OFD packet to send [13:18:57]OFD Sender: No OFD packet to send [13:19:02]OFD Sender: No OFD packet to send [13:19:07]OFD Sender: No OFD packet to send [13:19:12]OFD Sender: No OFD packet to send [13:19:17]OFD Sender: No OFD packet to send [13:19:22]OFD Sender: No OFD packet to send [13:19:27]OFD Sender: No OFD packet to send [13:19:27]recv_with_timeout no data received [13:19:32]OFD Sender: No OFD packet to send [13:19:37]OFD Sender: No OFD packet to send [13:19:42]OFD Sender: No OFD packet to send [13:19:47]OFD Sender: No OFD packet to send [13:19:52]OFD Sender: No OFD packet to send [13:19:57]OFD Sender: No OFD packet to send [13:20:02]OFD Sender: No OFD packet to send [13:20:07]OFD Sender: No OFD packet to send [13:20:12]OFD Sender: No OFD packet to send [13:20:17]OFD Sender: No OFD packet to send [13:20:22]OFD Sender: No OFD packet to send [13:20:27]OFD Sender: No OFD packet to send [13:20:32]OFD Sender: No OFD packet to send [13:20:37]OFD Sender: No OFD packet to send [13:20:42]OFD Sender: No OFD packet to send [13:20:47]OFD Sender: No OFD packet to send [13:20:52]OFD Sender: No OFD packet to send [13:20:57]OFD Sender: No OFD packet to send [13:21:02]OFD Sender: No OFD packet to send [13:21:07]OFD Sender: No OFD packet to send [13:21:12]OFD Sender: No OFD packet to send [13:21:17]OFD Sender: No OFD packet to send [13:21:22]OFD Sender: No OFD packet to send [13:21:27]OFD Sender: No OFD packet to send [13:21:32]OFD Sender: No OFD packet to send [13:21:37]OFD Sender: No OFD packet to send [13:21:42]OFD Sender: No OFD packet to send [13:21:47]OFD Sender: No OFD packet to send [13:21:52]OFD Sender: No OFD packet to send [13:21:57]OFD Sender: No OFD packet to send [13:22:02]OFD Sender: No OFD packet to send [13:22:07]OFD Sender: No OFD packet to send [13:22:08]recv_with_timeout no data received [13:22:12]OFD Sender: No OFD packet to send [13:22:17]OFD Sender: No OFD packet to send [13:22:22]OFD Sender: No OFD packet to send [13:22:27]OFD Sender: No OFD packet to send [13:22:32]OFD Sender: No OFD packet to send [13:22:37]OFD Sender: No OFD packet to send [13:22:42]OFD Sender: No OFD packet to send [13:22:47]OFD Sender: No OFD packet to send [13:22:52]OFD Sender: No OFD packet to send [13:22:57]OFD Sender: No OFD packet to send [13:23:02]OFD Sender: No OFD packet to send [13:23:07]OFD Sender: No OFD packet to send [13:23:12]OFD Sender: No OFD packet to send [13:23:17]OFD Sender: No OFD packet to send [13:23:22]OFD Sender: No OFD packet to send [13:23:27]OFD Sender: No OFD packet to send [13:23:32]OFD Sender: No OFD packet to send [13:23:37]OFD Sender: No OFD packet to send [13:23:42]OFD Sender: No OFD packet to send [13:23:47]OFD Sender: No OFD packet to send [13:23:52]OFD Sender: No OFD packet to send [13:23:57]OFD Sender: No OFD packet to send [13:24:02]OFD Sender: No OFD packet to send [13:24:07]OFD Sender: No OFD packet to send [13:24:12]OFD Sender: No OFD packet to send [13:24:17]OFD Sender: No OFD packet to send [13:24:22]OFD Sender: No OFD packet to send [13:24:23]recv_with_timeout no data received [13:24:27]OFD Sender: No OFD packet to send [13:24:32]OFD Sender: No OFD packet to send [13:24:37]OFD Sender: No OFD packet to send [13:24:42]OFD Sender: No OFD packet to send [13:24:46]recv_with_timeout no data received [13:24:47]OFD Sender: No OFD packet to send [13:24:52]OFD Sender: No OFD packet to send [13:24:57]OFD Sender: No OFD packet to send [13:25:02]OFD Sender: No OFD packet to send [13:25:07]OFD Sender: No OFD packet to send [13:25:12]OFD Sender: No OFD packet to send [13:25:17]OFD Sender: No OFD packet to send [13:25:22]OFD Sender: No OFD packet to send [13:25:27]OFD Sender: No OFD packet to send [00:00:08] *** EcrCore started. Build 196 *** [00:00:08]/dev/ttyS4 opened [00:00:08]MH_InterfaceInit /dev/i2c-1 [00:00:08]Malloc ok [00:00:08]MH_GetMetrics [00:00:08]Write to MH i2c: 00 00 00 01 00 00 [00:00:09]Write i2c OK [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 00 29 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 00 29 00 01 00 00 03 33 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 24 E0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 1B [00:00:09]Are we in boot? [00:00:09]We are in boot - try to switch [00:00:09]Write to MH i2c: A0 00 00 02 00 A1 [00:00:09]Write i2c OK [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: A0 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: A0 01 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: A0 *** Check firmware version 30515, crc_r 5823D75D, crc_c: 5823D75D, size: 52480 [00:00:09]01 *** [00:00:09]00 02 00 00 A2 [00:00:09]*** Starting fw at address 01020100 (2007E318 010246F9) [00:00:09]*** Waiting for read because exit forced [00:00:09]*** 10 ms more... [00:00:09]*** MH1903 init start (LINUX_LIGHT) [00:00:09]*** Serial: 3139303353513838 54000000005724E0 (1903SQ88T) [00:00:09]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:09]*** step 0: 5000 (2650, 2350 REF) [00:00:09]*** step 1: 4835 (2500, 2335 REF) [00:00:09]*** step 2: 4676 (2440, 2236 REF) [00:00:09]*** step 3: 4523 (2280, 2243 REF) [00:00:09]*** step 4: 4376 (2160, 2216 REF) [00:00:09]*** step 5: 4235 (2050, 2185 REF) [00:00:09]*** step 6: 4098 (1950, 2148 REF) [00:00:09]*** step 7: 3967 (1870, 2097 REF) [00:00:09]*** step 8: 3840 (1828, 2012 REF) [00:00:09]*** step 9: 3719 (1728, 1991 REF) [00:00:09]*** step 10: 3601 (1675, 1926 REF) [00:00:09]*** step 11: 3488 (1635, 1853 REF) [00:00:09]*** step 12: 3379 (1595, 1784 REF) [00:00:09]*** step 13: 3275 (1565, 1710 REF) [00:00:09]*** step 14: 3174 (1543, 1631 REF) [00:00:09]*** step 15: 3077 (1523, 1554 REF) [00:00:09]*** step 16: 2983 (1503, 1480 REF) [00:00:09]*** step 17: 2893 (1486, 1407 REF) [00:00:09]*** step 18: 2806 (1466, 1340 REF) [00:00:09]*** step 19: 2723 (1426, 1297 REF) [00:00:09]*** step 20: 2642 (1406, 1236 REF) [00:00:09]*** step 21: 2565 (1384, 1181 REF) [00:00:09]*** step 22: 2490 (1364, 1126 REF) [00:00:09]*** step 23: 2418 (1344, 1074 REF) [00:00:09]*** step 24: 2349 (1322, 1027 REF) [00:00:09]*** step 25: 2283 (1302, 981 REF) [00:00:09]*** step 26: 2218 (1282, 936 REF) [00:00:09]*** step 27: 2157 (1262, 895 REF) [00:00:09]*** step 28: 2097 (1242, 855 REF) [00:00:09]*** step 29: 2040 (1222, 818 REF) [00:00:09]*** step 30: 1985 (1202, 783 REF) [00:00:09]*** step 31: 1932 (1191, 741 REF) [00:00:09]*** step 32: 1880 (1181, 699 REF) [00:00:09]*** step 33: 1831 (1171, 660 REF) [00:00:09]*** step 34: 1784 (1161, 623 REF) [00:00:09]*** step 35: 1738 (1151, 587 REF) [00:00:09]*** step 36: 1694 (1141, 553 REF) [00:00:09]*** step 37: 1652 (1131, 521 REF) [00:00:09]*** step 38: 1611 (1121, 490 REF) [00:00:09]*** step 39: 1572 (1111, 461 REF) [00:00:09]*** step 40: 1534 (1103, 431 REF) [00:00:09]*** step 41: 1497 (1093, 404 REF) [00:00:09]*** step 42: 1462 (1083, 379 REF) [00:00:09]*** step 43: 1428 (1073, 355 REF) [00:00:09]*** step 44: 1396 (1063, 333 REF) [00:00:09]*** step 45: 1365 (1053, 312 REF) [00:00:09]*** step 46: 1334 (1043, 291 REF) [00:00:09]*** step 47: 1305 (1033, 272 REF) [00:00:09]*** step 48: 1277 (1023, 254 REF) [00:00:09]*** step 49: 1250 (1013, 237 REF) [00:00:09]*** step 50: 1224 (990, 234 REF) [00:00:09]*** step 51: 1199 (980, 219 REF) [00:00:09]*** step 52: 1175 (970, 205 REF) [00:00:09]*** step 53: 1152 (960, 192 REF) [00:00:09]*** step 54: 1130 (950, 180 REF) [00:00:09]*** step 55: 1108 (940, 168 REF) [00:00:09]*** step 56: 1088 (930, 158 REF) [00:00:09]*** step 57: 1068 (920, 148 REF) [00:00:09]*** step 58: 1049 (910, 139 REF) [00:00:09]*** step 59: 1030 (900, 130 REF) [00:00:09]*** step 60: 1012 (890, 122 REF) [00:00:09]*** step 61: 995 (880, 115 REF) [00:00:09]*** step 62: 979 (870, 109 REF) [00:00:09]*** step 63: 963 (860, 103 REF) [00:00:09]*** step 64: 948 (850, 98 REF) [00:00:09]*** step 65: 933 (840, 93 REF) [00:00:09]*** step 66: 919 (830, 89 REF) [00:00:09]*** step 67: 905 (820, 85 REF) [00:00:09]*** step 68: 892 (810, 82 REF) [00:00:09]*** step 69: 879 (800, 79 REF) [00:00:09]*** step 70: 867 (790, 77 REF) [00:00:09]*** step 71: 855 (780, 75 REF) [00:00:09]*** step 72: 844 (770, 74 REF) [00:00:09]*** step 73: 833 (760, 73 REF) [00:00:09]*** step 74: 822 (750, 72 REF) [00:00:09]*** step 75: 812 (740, 72 REF) [00:00:09]*** step 76: 803 (730, 73 REF) [00:00:09]*** step 77: 793 (720, 73 REF) [00:00:09]*** step 78: 784 (710, 74 REF) [00:00:09]*** step 79: 776 (700, 76 REF) [00:00:09]*** step 80: 767 (690, 77 REF) [00:00:09]*** step 81: 759 (680, 79 REF) [00:00:09]*** step 82: 751 (670, 81 REF) [00:00:09]*** step 83: 744 (660, 84 REF) [00:00:09]*** step 84: 737 (650, 87 REF) [00:00:09]*** step 85: 730 (640, 90 REF) [00:00:09]*** step 86: 723 (630, 93 REF) [00:00:09]*** step 87: 717 (620, 97 REF) [00:00:09]*** step 88: 710 (610, 100 REF) [00:00:09]*** step 89: 705 (600, 105 REF) [00:00:09]*** step 90: 699 [00:00:09]*** step 91: 693 [00:00:09]*** step 92: 688 [00:00:09]*** step 93: 683 [00:00:09]*** step 94: 678 [00:00:09]*** step 95: 673 [00:00:09]*** step 96: 669 [00:00:09]*** step 97: 664 [00:00:09]*** step 98: 660 [00:00:09]*** step 99: 656 [00:00:09]*** step 100: 652 [00:00:09]*** step 101: 648 [00:00:09]*** step 102: 644 [00:00:09]*** step 103: 641 [00:00:09]*** step 104: 638 [00:00:09]*** step 105: 634 [00:00:09]*** step 106: 631 [00:00:09]*** step 107: 628 [00:00:09]*** step 108: 625 [00:00:09]*** step 109: 622 [00:00:09]*** step 110: 620 [00:00:09]*** step 111: 617 [00:00:09]*** step 112: 615 [00:00:09]*** step 113: 612 [00:00:09]*** step 114: 610 [00:00:09]*** step 115: 608 [00:00:09]*** step 116: 605 [00:00:09]*** step 117: 603 [00:00:09]*** step 118: 601 [00:00:09]*** step 119: 599 [00:00:09]*** printer: Printer HW initialized [00:00:09]*** initSamCard finished [00:00:09]*** RTC: 6131525+1721052822=1727184347 [00:00:09]*** BPK Status Register BPK_RDY = 0x0 [00:00:09]*** SEN State Register SEN_STATE = 0x200ff [00:00:09]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:09]*** Analog Control Register 0 SEN_ANA0 = 0x33510623 [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 03 00 02 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 03 00 00 03 33 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 24 E0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 1C [00:00:10]Are we in boot? [00:00:10]We are not in boot now [00:00:10]Write to MH i2c: 01 00 00 04 00 04 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 01 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 01 07 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:10]Model is 3 [00:00:10]MH firmware is 30515 [00:00:10]MH boot firmware is 3 [00:00:10]MH_SetPrinterDots 448 [00:00:10]HeadWidthInBytes 56 [00:00:10]maxmasksize 7 [00:00:10]Write to MH i2c: D6 06 00 05 00 41 00 60 00 FF FF 7F [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D6 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D6 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:10]Write to MH i2c: D5 00 00 06 00 DA [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D5 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D5 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]ExternCall_SetCallbacks [00:00:10]NVStorageInit [00:00:10]MH_GetDate [00:00:10]Write to MH i2c: F0 00 00 07 00 F6 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: F0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: F0 09 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: F0 09 00 07 00 00 DC BD F2 66 96 2E 95 66 AF [13:25:48]Current date/time: 24.09.2024 13:25 [13:25:48]FM_Init [13:25:48]wFMConnect [13:25:48]MH_SAM_On [13:25:48]Write to MH i2c: E0 00 00 08 00 E7 [13:25:48]Write i2c OK [13:25:48]MH_I2C_Read... [13:25:48]*** iso7816_init finished! [13:25:48]*** atr: [13:25:48]*** 0F 3B D5 18 FF 81 91 FE [13:25:48]*** 1F C3 80 73 C8 21 10 0A [13:25:48]*** 00 00 00 00 00 00 00 00 [13:25:48]*** 00 00 00 00 00 00 00 00 [13:25:48]*** 00 00 00 00 00 00 00 00 [13:25:48]*** 00 00 00 00 00 00 00 00 [13:25:48]*** 00 00 00 00 00 00 00 00 [13:25:48]*** 00 00 00 00 00 00 00 00 [13:25:48]Read from MH i2c: E0 [13:25:48]MH_I2C_Read... [13:25:48]Read from MH i2c: E0 10 00 [13:25:48]MH_I2C_Read... [13:25:48]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [13:25:48]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [13:25:48]wFMCommunicate request_size=10 [13:25:48]MH_SAM_APDU [13:25:48]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [13:25:48]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [13:25:48]Write i2c OK [13:25:48]MH_I2C_Read... [13:25:48]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [13:25:48]Read from MH i2c: E2 [13:25:48]MH_I2C_Read... [13:25:48]Read from MH i2c: E2 03 00 [13:25:48]MH_I2C_Read... [13:25:48]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [13:25:48]RAPDU: 90 00 [13:25:48]wFMCommunicate OK [13:25:48]wFMCommunicate request_size=4 [13:25:48]MH_SAM_APDU [13:25:48]CAPDU: 80 11 00 00 [13:25:48]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [13:25:48]Write i2c OK [13:25:48]MH_I2C_Read... [13:25:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:25:48]Read from MH i2c: E2 [13:25:48]MH_I2C_Read... [13:25:48]Read from MH i2c: E2 17 00 [13:25:48]MH_I2C_Read... [13:25:48]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 D5 [13:25:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [13:25:48]wFMCommunicate OK [13:25:48]Detected FM SN is 0000000002094258 [13:25:48]Stored FM SN is 0000000002094258 [13:25:48]wFMCommunicate request_size=9 [13:25:48]MH_SAM_APDU [13:25:48]CAPDU: 80 16 00 00 04 BC C2 00 00 [13:25:48]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 BC C2 00 00 00 00 10 [13:25:48]Write i2c OK [13:25:48]MH_I2C_Read... [13:25:48]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [13:25:48]Read from MH i2c: E2 [13:25:48]MH_I2C_Read... [13:25:48]Read from MH i2c: E2 03 00 [13:25:48]MH_I2C_Read... [13:25:48]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [13:25:48]RAPDU: 90 00 [13:25:48]wFMCommunicate OK [13:25:48]FM PIN OK [13:25:48]wFMCommunicate request_size=8 [13:25:48]MH_SAM_APDU [13:25:48]CAPDU: 80 14 04 00 03 02 00 01 [13:25:48]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [13:25:48]Write i2c OK [13:25:48]MH_I2C_Read... [13:25:48]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [13:25:48]Read from MH i2c: E2 [13:25:48]MH_I2C_Read... [13:25:48]Read from MH i2c: E2 03 00 [13:25:48]MH_I2C_Read... [13:25:48]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [13:25:48]RAPDU: 90 00 [13:25:48]wFMCommunicate OK [13:25:48]wFMCommunicate request_size=13 [13:25:48]MH_SAM_APDU [13:25:48]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [13:25:48]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [13:25:48]Write i2c OK [13:25:48]MH_I2C_Read... [13:25:48]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [13:25:48]Read from MH i2c: E2 [13:25:48]MH_I2C_Read... [13:25:48]Read from MH i2c: E2 03 00 [13:25:48]MH_I2C_Read... [13:25:48]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [13:25:48]RAPDU: 90 00 [13:25:48]wFMCommunicate OK [13:25:48]wFMCommunicate request_size=4 [13:25:48]MH_SAM_APDU [13:25:48]CAPDU: 80 11 00 00 [13:25:48]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [13:25:48]Write i2c OK [13:25:48]MH_I2C_Read... [13:25:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:25:48]Read from MH i2c: E2 [13:25:48]MH_I2C_Read... [13:25:48]Read from MH i2c: E2 17 00 [13:25:48]MH_I2C_Read... [13:25:48]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 D9 [13:25:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [13:25:48]wFMCommunicate OK [13:25:48]DocumentArchiveInit [13:25:48]Start Httpd... [13:25:48]Httpd thread 3067166052 created [13:25:48]Write to MH i2c: 01 00 00 0F 00 0F [13:25:48]Write i2c OK [13:25:48]MH_I2C_Read... [13:25:48]Read from MH i2c: 01 [13:25:48]MH_I2C_Read... [13:25:48]Read from MH i2c: 01 07 00 [13:25:48]MH_I2C_Read... [13:25:48]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [13:25:48]Allocated Socket 5 [13:25:48]Bind OK [13:25:48]Listen OK [13:25:48]httpd running on port 8080 [13:25:48]Waiting for new connection... [13:25:48]MH Int Process started [13:25:48]OFD Sender: No OFD packet to send [13:25:51]accept exits with 6 [13:25:51]New connection [13:25:51]New thread 3066879332 created [13:25:51]Waiting for new connection... [13:25:51] Sock 6.Parse request [13:25:51]Sock 6.Check first char [13:25:51]Sock 6.First char is OK [13:25:51]request: POST /json_proto HTTP/1.0 [13:25:51]Method: POST [13:25:51]URL: /json_proto [13:25:51]Method is POST - this is cgi request [13:25:51]url: /json_proto [13:25:51]query_string will be loaded in cgi processing [13:25:51]execute_cgi json_proto POST (null) [13:25:51]execute_cgi path=json_proto method=POST [13:25:51]POST find Content-Length [13:25:51]Host: 172.17.47.195:8080 [13:25:51]Content-Length: 215 [13:25:51]Content-Type: application/json [13:25:51] [13:25:51]POST finish read [13:25:51]Found Content-Length = 215 [13:25:51]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" ] } } [13:25:51]execute_script... [13:25:51]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" ] } } [13:25:51]POST & json_proto [13:25:51]process_json_proto [13:25:51]json parsed OK: [13:25:51]protocol is kg_v1.0 [13:25:51]action value=get_value [13:25:51]process_action get_value [13:25:51]cmd_get_value [13:25:51]process_action get_value done [13:25:51]requested_data is exist [13:25:51]produce_requested_data [13:25:51]requested_item kkm.sn is exist - process it [13:25:51]requested_item kkm.ver is exist - process it [13:25:51]requested_item fm.sn is exist - process it [13:25:51]wFMCommunicate request_size=4 [13:25:51]MH_SAM_APDU [13:25:51]CAPDU: 80 11 00 00 [13:25:51]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [13:25:51]Write i2c OK [13:25:51]MH_I2C_Read... [13:25:51]Read from MH i2c: E2 [13:25:51]MH_I2C_Read... [13:25:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:25:51]Read from MH i2c: E2 17 00 [13:25:51]MH_I2C_Read... [13:25:51]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 DB [13:25:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [13:25:51]wFMCommunicate OK [13:25:51]requested_item fd.num is exist - process it [13:25:51]SAM_PROTO_GetFieldsCounters [13:25:51]wFMCommunicate request_size=4 [13:25:51]MH_SAM_APDU [13:25:51]CAPDU: 80 13 00 00 [13:25:51]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [13:25:51]Write i2c OK [13:25:51]MH_I2C_Read... [13:25:51]Read from MH i2c: E2 [13:25:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:25:51]MH_I2C_Read... [13:25:51]Read from MH i2c: E2 62 00 [13:25:51]MH_I2C_Read... [13:25:51]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 E7 1E 00 00 0E 04 04 00 48 00 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 85 [13:25:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 E7 1E 00 00 0E 04 04 00 48 00 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 [13:25:51]wFMCommunicate OK [13:25:51]SAM_PROTO_GetFieldsCounters done [13:25:51]requested_item shift.num is exist - process it [13:25:51]requested_item shift.opened is exist - process it [13:25:51]req_shift_opened [13:25:51]FM_GetShiftState [13:25:51]SAM_PROTO_GetShiftState [13:25:51]wFMCommunicate request_size=4 [13:25:51]MH_SAM_APDU [13:25:51]CAPDU: 80 13 01 00 [13:25:51]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [13:25:51]Write i2c OK [13:25:51]MH_I2C_Read... [13:25:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:25:52]Read from MH i2c: E2 [13:25:52]MH_I2C_Read... [13:25:52]Read from MH i2c: E2 0E 00 [13:25:52]MH_I2C_Read... [13:25:52]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 35 [13:25:52]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [13:25:52]wFMCommunicate OK [13:25:52]SAM_PROTO_GetShiftState done [13:25:52]FM_GetShiftState done [13:25:52]req_shift_opened done [13:25:52]requested_item shift.open_date is exist - process it [13:25:52]req_shift_open_date [13:25:52]req_shift_open_date done [13:25:52]produce_requested_data done [13:25:52]produce_requested_data return {"kkm.sn":"0300000041","kkm.ver":"v1.0","fm.sn":"0000000002094258","fd.num":7911,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [13:25:52]process_action_free get_value [13:25:52]json_value_free [13:25:52]json_value_free done [13:25:52]process_json_proto returns [13:25:52]Send response to host [13:25:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000041","kkm.ver":"v1.0","fm.sn":"0000000002094258","fd.num":7911,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [13:25:52]free response buf [13:25:52]execute_script done [13:25:52]execute_script returns [13:25:52]free content buf [13:25:52]Sock 6.Close socket [13:25:52]Sock 6.Thread stoped [13:25:52]accept exits with 7 [13:25:52]New connection [13:25:52]New thread 3066735972 created [13:25:52]Thread 3066879332 joined [13:25:52]Waiting for new connection... [13:25:52] Sock 7.Parse request [13:25:52]Sock 7.Check first char [13:25:52]Sock 7.First char is OK [13:25:52]request: POST /json_proto HTTP/1.0 [13:25:52]Method: POST [13:25:52]URL: /json_proto [13:25:52]Method is POST - this is cgi request [13:25:52]url: /json_proto [13:25:52]query_string will be loaded in cgi processing [13:25:52]execute_cgi json_proto POST (null) [13:25:52]execute_cgi path=json_proto method=POST [13:25:52]POST find Content-Length [13:25:52]Host: 172.17.47.195:8080 [13:25:52]Content-Length: 331 [13:25:52]Content-Type: application/json [13:25:52] [13:25:52]POST finish read [13:25:52]Found Content-Length = 331 [13:25:52]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" ] } } [13:25:52]execute_script... [13:25:52]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" ] } } [13:25:52]POST & json_proto [13:25:52]process_json_proto [13:25:52]json parsed OK: [13:25:52]protocol is kg_v1.0 [13:25:52]action value=get_value [13:25:52]process_action get_value [13:25:52]cmd_get_value [13:25:52]process_action get_value done [13:25:52]requested_data is exist [13:25:52]produce_requested_data [13:25:52]requested_item fm.sale.total is exist - process it [13:25:52]SAM_PROTO_GetFMData [13:25:52]wFMCommunicate request_size=4 [13:25:52]MH_SAM_APDU [13:25:52]CAPDU: 80 13 03 00 [13:25:52]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [13:25:52]Write i2c OK [13:25:52]MH_I2C_Read... [13:25:52]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [13:25:52]Read from MH i2c: E2 [13:25:52]MH_I2C_Read... [13:25:52]Read from MH i2c: E2 FD 00 [13:25:52]MH_I2C_Read... [13:25:52]Read from MH i2c: E2 FD 00 13 00 00 C1 04 85 04 BD 04 6E 04 04 00 57 1E 00 00 69 04 A0 00 6F 04 04 00 2A 1E 00 00 B1 04 04 00 4C 4E 0F 32 70 04 04 00 D8 19 11 2A 72 04 04 00 74 34 FE 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BD 39 51 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 FE 6E 71 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2D 00 00 00 B1 04 04 00 3C 5C 66 01 70 04 04 00 3C 5C 66 01 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A2 0E 26 EF 03 09 00 F6 03 01 90 00 37 [13:25:52]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 57 1E 00 00 69 04 A0 00 6F 04 04 00 2A 1E 00 00 B1 04 04 00 4C 4E 0F 32 70 04 04 00 D8 19 11 2A 72 04 04 00 74 34 FE 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BD 39 51 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 FE 6E 71 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2D 00 00 00 B1 04 04 00 3C 5C 66 01 70 04 04 00 3C 5C 66 01 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A2 0E 26 EF 03 09 00 F6 03 01 90 00 [13:25:52]wFMCommunicate OK [13:25:52]wFMCommunicate request_size=4 [13:25:52]MH_SAM_APDU [13:25:52]CAPDU: 80 17 00 00 [13:25:52]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [13:25:52]Write i2c OK [13:25:52]MH_I2C_Read... [13:25:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:25:52]Read from MH i2c: E2 [13:25:52]MH_I2C_Read... [13:25:52]Read from MH i2c: E2 FD 00 [13:25:52]MH_I2C_Read... [13:25:52]Read from MH i2c: E2 FD 00 14 00 00 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E7 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 D9 [13:25:52]RAPDU: 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E7 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [13:25:52]wFMCommunicate OK [13:25:52]wFMCommunicate request_size=4 [13:25:52]MH_SAM_APDU [13:25:52]CAPDU: 80 17 00 00 [13:25:52]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [13:25:52]Write i2c OK [13:25:52]MH_I2C_Read... [13:25:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:25:53]Read from MH i2c: E2 [13:25:53]MH_I2C_Read... [13:25:53]Read from MH i2c: E2 FD 00 [13:25:53]MH_I2C_Read... [13:25:53]Read from MH i2c: E2 FD 00 15 00 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 35 [13:25:53]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:25:53]wFMCommunicate OK [13:25:53]wFMCommunicate request_size=4 [13:25:53]MH_SAM_APDU [13:25:53]CAPDU: 80 17 00 00 [13:25:53]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [13:25:53]Write i2c OK [13:25:53]MH_I2C_Read... [13:25:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:25:53]Read from MH i2c: E2 [13:25:53]MH_I2C_Read... [13:25:53]Read from MH i2c: E2 FD 00 [13:25:53]MH_I2C_Read... [13:25:53]Read from MH i2c: E2 FD 00 16 00 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1B [13:25:53]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:25:53]wFMCommunicate OK [13:25:53]wFMCommunicate request_size=4 [13:25:53]MH_SAM_APDU [13:25:53]CAPDU: 80 17 00 00 [13:25:53]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [13:25:53]Write i2c OK [13:25:53]MH_I2C_Read... [13:25:53]OFD Sender: No OFD packet to send [13:25:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [13:25:53]Read from MH i2c: E2 [13:25:53]MH_I2C_Read... [13:25:53]Read from MH i2c: E2 DE 00 [13:25:53]MH_I2C_Read... [13:25:53]Read from MH i2c: E2 DE 00 17 00 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 76 [13:25:53]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:25:53]wFMCommunicate OK [13:25:53]SAM_PROTO_GetFMData done [13:25:53]requested_item fm.sale_refund.total is exist - process it [13:25:53]requested_item fm.buy.total is exist - process it [13:25:53]requested_item shift.sale.total is exist - process it [13:25:53]SAM_PROTO_GetShiftData [13:25:53]wFMCommunicate request_size=4 [13:25:53]MH_SAM_APDU [13:25:53]CAPDU: 80 13 02 00 [13:25:53]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [13:25:53]Write i2c OK [13:25:53]MH_I2C_Read... [13:25:54]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:25:54]Read from MH i2c: E2 [13:25:54]MH_I2C_Read... [13:25:54]Read from MH i2c: E2 FD 00 [13:25:54]MH_I2C_Read... [13:25:54]Read from MH i2c: E2 FD 00 18 00 00 AE 04 AA 04 AA 04 6E 04 04 00 2F 00 00 00 69 04 9B 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 F1 9B 3D 70 04 03 00 B8 2C 39 72 04 03 00 39 6F 04 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 69 8B 06 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 9D 8B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 69 [13:25:54]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 2F 00 00 00 69 04 9B 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 F1 9B 3D 70 04 03 00 B8 2C 39 72 04 03 00 39 6F 04 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 69 8B 06 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 9D 8B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:25:54]wFMCommunicate OK [13:25:54]wFMCommunicate request_size=4 [13:25:54]MH_SAM_APDU [13:25:54]CAPDU: 80 17 00 00 [13:25:54]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [13:25:54]Write i2c OK [13:25:54]MH_I2C_Read... [13:25:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:25:54]Read from MH i2c: E2 [13:25:54]MH_I2C_Read... [13:25:54]Read from MH i2c: E2 FD 00 [13:25:54]MH_I2C_Read... [13:25:54]Read from MH i2c: E2 FD 00 19 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 BB [13:25:54]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 [13:25:54]wFMCommunicate OK [13:25:54]wFMCommunicate request_size=4 [13:25:54]MH_SAM_APDU [13:25:54]CAPDU: 80 17 00 00 [13:25:54]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [13:25:54]Write i2c OK [13:25:54]MH_I2C_Read... [13:25:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:25:54]Read from MH i2c: E2 [13:25:54]MH_I2C_Read... [13:25:54]Read from MH i2c: E2 FD 00 [13:25:54]MH_I2C_Read... [13:25:54]Read from MH i2c: E2 FD 00 1A 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 51 [13:25:54]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 [13:25:54]wFMCommunicate OK [13:25:54]wFMCommunicate request_size=4 [13:25:54]MH_SAM_APDU [13:25:54]CAPDU: 80 17 00 00 [13:25:54]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [13:25:54]Write i2c OK [13:25:54]MH_I2C_Read... [13:25:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:25:54]Read from MH i2c: E2 [13:25:54]MH_I2C_Read... [13:25:54]Read from MH i2c: E2 FD 00 [13:25:54]MH_I2C_Read... [13:25:54]Read from MH i2c: E2 FD 00 1B 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 0D [13:25:54]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 [13:25:54]wFMCommunicate OK [13:25:54]wFMCommunicate request_size=4 [13:25:54]MH_SAM_APDU [13:25:54]CAPDU: 80 17 00 00 [13:25:54]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [13:25:54]Write i2c OK [13:25:54]MH_I2C_Read... [13:25:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [13:25:55]Read from MH i2c: E2 [13:25:55]MH_I2C_Read... [13:25:55]Read from MH i2c: E2 CB 00 [13:25:55]MH_I2C_Read... [13:25:55]Read from MH i2c: E2 CB 00 1C 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [13:25:55]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 [13:25:55]wFMCommunicate OK [13:25:55]SAM_PROTO_GetShiftData done [13:25:55]requested_item shift.sale.total_cash is exist - process it [13:25:55]requested_item shift.sale_refund.total is exist - process it [13:25:55]requested_item shift.sale_refund.total_cash is exist - process it [13:25:55]requested_item shift.buy.total is exist - process it [13:25:55]requested_item shift.buy.total_cash is exist - process it [13:25:55]produce_requested_data done [13:25:55]produce_requested_data return {"fm.sale.total":8398638.84,"fm.sale_refund.total":234855.00,"fm.buy.total":0.00,"shift.sale.total":40376.17,"shift.sale.total_cash":37470.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} [13:25:55]process_action_free get_value [13:25:55]json_value_free [13:25:55]json_value_free done [13:25:55]process_json_proto returns [13:25:55]Send response to host [13:25:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8398638.84,"fm.sale_refund.total":234855.00,"fm.buy.total":0.00,"shift.sale.total":40376.17,"shift.sale.total_cash":37470.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}}} [13:25:55]free response buf [13:25:55]execute_script done [13:25:55]execute_script returns [13:25:55]free content buf [13:25:55]Sock 7.Close socket [13:25:55]Sock 7.Thread stoped [13:25:58]OFD Sender: No OFD packet to send [13:26:03]OFD Sender: No OFD packet to send [13:26:08]OFD Sender: No OFD packet to send [13:26:13]OFD Sender: No OFD packet to send [13:26:18]OFD Sender: No OFD packet to send [13:26:23]OFD Sender: No OFD packet to send [13:26:28]OFD Sender: No OFD packet to send [13:26:33]OFD Sender: No OFD packet to send [13:26:38]OFD Sender: No OFD packet to send [13:26:43]OFD Sender: No OFD packet to send [13:26:48]OFD Sender: No OFD packet to send [13:26:53]OFD Sender: No OFD packet to send [13:26:58]OFD Sender: No OFD packet to send [13:27:03]OFD Sender: No OFD packet to send [13:27:08]OFD Sender: No OFD packet to send [13:27:13]OFD Sender: No OFD packet to send [13:27:18]OFD Sender: No OFD packet to send [13:27:23]OFD Sender: No OFD packet to send [13:27:28]OFD Sender: No OFD packet to send [13:27:33]OFD Sender: No OFD packet to send [13:27:38]OFD Sender: No OFD packet to send [13:27:43]OFD Sender: No OFD packet to send [13:27:48]OFD Sender: No OFD packet to send [13:27:53]OFD Sender: No OFD packet to send [13:27:58]OFD Sender: No OFD packet to send [13:28:03]OFD Sender: No OFD packet to send [13:28:08]OFD Sender: No OFD packet to send [13:28:13]OFD Sender: No OFD packet to send [13:28:18]accept exits with 6 [13:28:18]New connection [13:28:18]New thread 3066879332 created [13:28:18]Thread 3066735972 joined [13:28:18]Waiting for new connection... [13:28:18] Sock 6.Parse request [13:28:18]Sock 6.Check first char [13:28:18]Sock 6.First char is OK [13:28:18]request: POST /json_proto HTTP/1.0 [13:28:18]Method: POST [13:28:18]URL: /json_proto [13:28:18]Method is POST - this is cgi request [13:28:18]url: /json_proto [13:28:18]query_string will be loaded in cgi processing [13:28:18]execute_cgi json_proto POST (null) [13:28:18]execute_cgi path=json_proto method=POST [13:28:18]POST find Content-Length [13:28:18]Host: 172.17.47.195:8080 [13:28:18]Content-Length: 215 [13:28:18]Content-Type: application/json [13:28:18] [13:28:18]POST finish read [13:28:18]Found Content-Length = 215 [13:28:18]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" ] } } [13:28:18]execute_script... [13:28:18]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" ] } } [13:28:18]POST & json_proto [13:28:18]process_json_proto [13:28:18]json parsed OK: [13:28:18]protocol is kg_v1.0 [13:28:18]action value=get_value [13:28:18]process_action get_value [13:28:18]cmd_get_value [13:28:18]process_action get_value done [13:28:18]requested_data is exist [13:28:18]produce_requested_data [13:28:18]requested_item kkm.sn is exist - process it [13:28:18]requested_item kkm.ver is exist - process it [13:28:18]requested_item fm.sn is exist - process it [13:28:18]wFMCommunicate request_size=4 [13:28:18]MH_SAM_APDU [13:28:18]CAPDU: 80 11 00 00 [13:28:18]Write to MH i2c: E2 08 00 1D 00 80 11 00 00 00 00 00 00 97 [13:28:18]Write i2c OK [13:28:18]MH_I2C_Read... [13:28:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:28:18]Read from MH i2c: E2 [13:28:18]MH_I2C_Read... [13:28:18]Read from MH i2c: E2 17 00 [13:28:18]MH_I2C_Read... [13:28:18]Read from MH i2c: E2 17 00 1D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 E8 [13:28:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [13:28:18]wFMCommunicate OK [13:28:18]requested_item fd.num is exist - process it [13:28:18]SAM_PROTO_GetFieldsCounters [13:28:18]wFMCommunicate request_size=4 [13:28:18]MH_SAM_APDU [13:28:18]CAPDU: 80 13 00 00 [13:28:18]Write to MH i2c: E2 08 00 1E 00 80 13 00 00 00 00 00 00 9A [13:28:18]Write i2c OK [13:28:18]MH_I2C_Read... [13:28:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:28:18]Read from MH i2c: E2 [13:28:18]MH_I2C_Read... [13:28:18]Read from MH i2c: E2 62 00 [13:28:18]MH_I2C_Read... [13:28:18]Read from MH i2c: E2 62 00 1E 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 E7 1E 00 00 0E 04 04 00 48 00 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 92 [13:28:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 E7 1E 00 00 0E 04 04 00 48 00 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 [13:28:18]wFMCommunicate OK [13:28:18]SAM_PROTO_GetFieldsCounters done [13:28:18]requested_item shift.num is exist - process it [13:28:18]requested_item shift.opened is exist - process it [13:28:18]req_shift_opened [13:28:18]FM_GetShiftState [13:28:18]SAM_PROTO_GetShiftState [13:28:18]wFMCommunicate request_size=4 [13:28:18]MH_SAM_APDU [13:28:18]CAPDU: 80 13 01 00 [13:28:18]Write to MH i2c: E2 08 00 1F 00 80 13 01 00 00 00 00 00 9C [13:28:18]Write i2c OK [13:28:18]MH_I2C_Read... [13:28:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:28:18]Read from MH i2c: E2 [13:28:18]MH_I2C_Read... [13:28:18]Read from MH i2c: E2 0E 00 [13:28:18]MH_I2C_Read... [13:28:18]Read from MH i2c: E2 0E 00 1F 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 42 [13:28:18]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [13:28:18]wFMCommunicate OK [13:28:18]SAM_PROTO_GetShiftState done [13:28:18]FM_GetShiftState done [13:28:18]req_shift_opened done [13:28:18]requested_item shift.open_date is exist - process it [13:28:18]req_shift_open_date [13:28:18]req_shift_open_date done [13:28:18]produce_requested_data done [13:28:18]produce_requested_data return {"kkm.sn":"0300000041","kkm.ver":"v1.0","fm.sn":"0000000002094258","fd.num":7911,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340} [13:28:18]process_action_free get_value [13:28:18]json_value_free [13:28:18]json_value_free done [13:28:18]process_json_proto returns [13:28:18]Send response to host [13:28:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000041","kkm.ver":"v1.0","fm.sn":"0000000002094258","fd.num":7911,"shift.num":72,"shift.opened":1,"shift.open_date":1727137340}}} [13:28:18]free response buf [13:28:18]execute_script done [13:28:18]execute_script returns [13:28:18]free content buf [13:28:18]Sock 6.Close socket [13:28:18]Sock 6.Thread stoped [13:28:18]accept exits with 9 [13:28:18]New connection [13:28:18]New thread 3066735972 created [13:28:18]Thread 3066879332 joined [13:28:18]Waiting for new connection... [13:28:18] Sock 9.Parse request [13:28:18]Sock 9.Check first char [13:28:18]Sock 9.First char is OK [13:28:18]request: POST /json_proto HTTP/1.0 [13:28:18]Method: POST [13:28:18]URL: /json_proto [13:28:18]Method is POST - this is cgi request [13:28:18]url: /json_proto [13:28:18]query_string will be loaded in cgi processing [13:28:18]execute_cgi json_proto POST (null) [13:28:18]execute_cgi path=json_proto method=POST [13:28:18]POST find Content-Length [13:28:18]Host: 172.17.47.195:8080 [13:28:18]Content-Length: 331 [13:28:18]Content-Type: application/json [13:28:18] [13:28:18]POST finish read [13:28:18]Found Content-Length = 331 [13:28:18]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" ] } } [13:28:18]execute_script... [13:28:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [13:28:18]POST & json_proto [13:28:18]process_json_proto [13:28:18]json parsed OK: [13:28:18]protocol is kg_v1.0 [13:28:18]action value=get_value [13:28:18]process_action get_value [13:28:18]cmd_get_value [13:28:18]process_action get_value done [13:28:18]requested_data is exist [13:28:18]produce_requested_data [13:28:18]requested_item fm.sale.total is exist - process it [13:28:18]SAM_PROTO_GetFMData [13:28:18]wFMCommunicate request_size=4 [13:28:18]MH_SAM_APDU [13:28:18]CAPDU: 80 13 03 00 [13:28:18]Write to MH i2c: E2 08 00 20 00 80 13 03 00 00 00 00 00 9F [13:28:18]OFD Sender: No OFD packet to send [13:28:18]Write i2c OK [13:28:18]MH_I2C_Read... [13:28:19]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [13:28:19]Read from MH i2c: E2 [13:28:19]MH_I2C_Read... [13:28:19]Read from MH i2c: E2 FD 00 [13:28:19]MH_I2C_Read... [13:28:19]Read from MH i2c: E2 FD 00 20 00 00 C1 04 85 04 BD 04 6E 04 04 00 57 1E 00 00 69 04 A0 00 6F 04 04 00 2A 1E 00 00 B1 04 04 00 4C 4E 0F 32 70 04 04 00 D8 19 11 2A 72 04 04 00 74 34 FE 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BD 39 51 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 FE 6E 71 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2D 00 00 00 B1 04 04 00 3C 5C 66 01 70 04 04 00 3C 5C 66 01 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A2 0E 26 EF 03 09 00 F6 03 01 90 00 44 [13:28:19]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 57 1E 00 00 69 04 A0 00 6F 04 04 00 2A 1E 00 00 B1 04 04 00 4C 4E 0F 32 70 04 04 00 D8 19 11 2A 72 04 04 00 74 34 FE 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BD 39 51 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 FE 6E 71 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2D 00 00 00 B1 04 04 00 3C 5C 66 01 70 04 04 00 3C 5C 66 01 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A2 0E 26 EF 03 09 00 F6 03 01 90 00 [13:28:19]wFMCommunicate OK [13:28:19]wFMCommunicate request_size=4 [13:28:19]MH_SAM_APDU [13:28:19]CAPDU: 80 17 00 00 [13:28:19]Write to MH i2c: E2 08 00 21 00 80 17 00 00 00 00 00 00 A1 [13:28:19]Write i2c OK [13:28:19]MH_I2C_Read... [13:28:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:28:19]Read from MH i2c: E2 [13:28:19]MH_I2C_Read... [13:28:19]Read from MH i2c: E2 FD 00 [13:28:19]MH_I2C_Read... [13:28:19]Read from MH i2c: E2 FD 00 21 00 00 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E7 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 E6 [13:28:19]RAPDU: 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E7 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [13:28:19]wFMCommunicate OK [13:28:19]wFMCommunicate request_size=4 [13:28:19]MH_SAM_APDU [13:28:19]CAPDU: 80 17 00 00 [13:28:19]Write to MH i2c: E2 08 00 22 00 80 17 00 00 00 00 00 00 A2 [13:28:19]Write i2c OK [13:28:19]MH_I2C_Read... [13:28:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:28:19]Read from MH i2c: E2 [13:28:19]MH_I2C_Read... [13:28:19]Read from MH i2c: E2 FD 00 [13:28:19]MH_I2C_Read... [13:28:19]Read from MH i2c: E2 FD 00 22 00 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 42 [13:28:19]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:28:19]wFMCommunicate OK [13:28:19]wFMCommunicate request_size=4 [13:28:19]MH_SAM_APDU [13:28:19]CAPDU: 80 17 00 00 [13:28:19]Write to MH i2c: E2 08 00 23 00 80 17 00 00 00 00 00 00 A3 [13:28:19]Write i2c OK [13:28:19]MH_I2C_Read... [13:28:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:28:20]Read from MH i2c: E2 [13:28:20]MH_I2C_Read... [13:28:20]Read from MH i2c: E2 FD 00 [13:28:20]MH_I2C_Read... [13:28:20]Read from MH i2c: E2 FD 00 23 00 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 28 [13:28:20]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:28:20]wFMCommunicate OK [13:28:20]wFMCommunicate request_size=4 [13:28:20]MH_SAM_APDU [13:28:20]CAPDU: 80 17 00 00 [13:28:20]Write to MH i2c: E2 08 00 24 00 80 17 00 00 00 00 00 00 A4 [13:28:20]Write i2c OK [13:28:20]MH_I2C_Read... [13:28:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [13:28:20]Read from MH i2c: E2 [13:28:20]MH_I2C_Read... [13:28:20]Read from MH i2c: E2 DE 00 [13:28:20]MH_I2C_Read... [13:28:20]Read from MH i2c: E2 DE 00 24 00 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 83 [13:28:20]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:28:20]wFMCommunicate OK [13:28:20]SAM_PROTO_GetFMData done [13:28:20]requested_item fm.sale_refund.total is exist - process it [13:28:20]requested_item fm.buy.total is exist - process it [13:28:20]requested_item shift.sale.total is exist - process it [13:28:20]SAM_PROTO_GetShiftData [13:28:20]wFMCommunicate request_size=4 [13:28:20]MH_SAM_APDU [13:28:20]CAPDU: 80 13 02 00 [13:28:20]Write to MH i2c: E2 08 00 25 00 80 13 02 00 00 00 00 00 A3 [13:28:20]Write i2c OK [13:28:20]MH_I2C_Read... [13:28:20]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:28:20]Read from MH i2c: E2 [13:28:20]MH_I2C_Read... [13:28:20]Read from MH i2c: E2 FD 00 [13:28:20]MH_I2C_Read... [13:28:20]Read from MH i2c: E2 FD 00 25 00 00 AE 04 AA 04 AA 04 6E 04 04 00 2F 00 00 00 69 04 9B 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 F1 9B 3D 70 04 03 00 B8 2C 39 72 04 03 00 39 6F 04 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 69 8B 06 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 9D 8B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 76 [13:28:20]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 2F 00 00 00 69 04 9B 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 F1 9B 3D 70 04 03 00 B8 2C 39 72 04 03 00 39 6F 04 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 69 8B 06 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 9D 8B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:28:20]wFMCommunicate OK [13:28:20]wFMCommunicate request_size=4 [13:28:20]MH_SAM_APDU [13:28:20]CAPDU: 80 17 00 00 [13:28:20]Write to MH i2c: E2 08 00 26 00 80 17 00 00 00 00 00 00 A6 [13:28:20]Write i2c OK [13:28:20]MH_I2C_Read... [13:28:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:28:21]Read from MH i2c: E2 [13:28:21]MH_I2C_Read... [13:28:21]Read from MH i2c: E2 FD 00 [13:28:21]MH_I2C_Read... [13:28:21]Read from MH i2c: E2 FD 00 26 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 C8 [13:28:21]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 [13:28:21]wFMCommunicate OK [13:28:21]wFMCommunicate request_size=4 [13:28:21]MH_SAM_APDU [13:28:21]CAPDU: 80 17 00 00 [13:28:21]Write to MH i2c: E2 08 00 27 00 80 17 00 00 00 00 00 00 A7 [13:28:21]Write i2c OK [13:28:21]MH_I2C_Read... [13:28:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:28:21]Read from MH i2c: E2 [13:28:21]MH_I2C_Read... [13:28:21]Read from MH i2c: E2 FD 00 [13:28:21]MH_I2C_Read... [13:28:21]Read from MH i2c: E2 FD 00 27 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 5E [13:28:21]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 [13:28:21]wFMCommunicate OK [13:28:21]wFMCommunicate request_size=4 [13:28:21]MH_SAM_APDU [13:28:21]CAPDU: 80 17 00 00 [13:28:21]Write to MH i2c: E2 08 00 28 00 80 17 00 00 00 00 00 00 A8 [13:28:21]Write i2c OK [13:28:21]MH_I2C_Read... [13:28:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:28:21]Read from MH i2c: E2 [13:28:21]MH_I2C_Read... [13:28:21]Read from MH i2c: E2 FD 00 [13:28:21]MH_I2C_Read... [13:28:21]Read from MH i2c: E2 FD 00 28 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 1A [13:28:21]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 [13:28:21]wFMCommunicate OK [13:28:21]wFMCommunicate request_size=4 [13:28:21]MH_SAM_APDU [13:28:21]CAPDU: 80 17 00 00 [13:28:21]Write to MH i2c: E2 08 00 29 00 80 17 00 00 00 00 00 00 A9 [13:28:21]Write i2c OK [13:28:21]MH_I2C_Read... [13:28:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [13:28:21]Read from MH i2c: E2 [13:28:21]MH_I2C_Read... [13:28:21]Read from MH i2c: E2 CB 00 [13:28:21]MH_I2C_Read... [13:28:21]Read from MH i2c: E2 CB 00 29 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 92 [13:28:21]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 [13:28:22]wFMCommunicate OK [13:28:22]SAM_PROTO_GetShiftData done [13:28:22]requested_item shift.sale.total_cash is exist - process it [13:28:22]requested_item shift.sale_refund.total is exist - process it [13:28:22]requested_item shift.sale_refund.total_cash is exist - process it [13:28:22]requested_item shift.buy.total is exist - process it [13:28:22]requested_item shift.buy.total_cash is exist - process it [13:28:22]produce_requested_data done [13:28:22]produce_requested_data return {"fm.sale.total":8398638.84,"fm.sale_refund.total":234855.00,"fm.buy.total":0.00,"shift.sale.total":40376.17,"shift.sale.total_cash":37470.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} [13:28:22]process_action_free get_value [13:28:22]json_value_free [13:28:22]json_value_free done [13:28:22]process_json_proto returns [13:28:22]Send response to host [13:28:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8398638.84,"fm.sale_refund.total":234855.00,"fm.buy.total":0.00,"shift.sale.total":40376.17,"shift.sale.total_cash":37470.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}}} [13:28:22]free response buf [13:28:22]execute_script done [13:28:22]execute_script returns [13:28:22]free content buf [13:28:22]Sock 9.Close socket [13:28:22]Sock 9.Thread stoped [13:28:22]accept exits with 6 [13:28:22]New connection [13:28:22]New thread 3066879332 created [13:28:22]Thread 3066735972 joined [13:28:22]Waiting for new connection... [13:28:22] Sock 6.Parse request [13:28:22]Sock 6.Check first char [13:28:22]Sock 6.First char is OK [13:28:22]request: POST /json_proto HTTP/1.0 [13:28:22]Method: POST [13:28:22]URL: /json_proto [13:28:22]Method is POST - this is cgi request [13:28:22]url: /json_proto [13:28:22]query_string will be loaded in cgi processing [13:28:22]execute_cgi json_proto POST (null) [13:28:22]execute_cgi path=json_proto method=POST [13:28:22]POST find Content-Length [13:28:22]Host: 172.17.47.195:8080 [13:28:22]Content-Length: 331 [13:28:22]Content-Type: application/json [13:28:22] [13:28:22]POST finish read [13:28:22]Found Content-Length = 331 [13:28:22]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" ] } } [13:28:22]execute_script... [13:28:22]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" ] } } [13:28:22]POST & json_proto [13:28:22]process_json_proto [13:28:22]json parsed OK: [13:28:22]protocol is kg_v1.0 [13:28:22]action value=get_value [13:28:22]process_action get_value [13:28:22]cmd_get_value [13:28:22]process_action get_value done [13:28:22]requested_data is exist [13:28:22]produce_requested_data [13:28:22]requested_item fm.sale.total is exist - process it [13:28:22]SAM_PROTO_GetFMData [13:28:22]wFMCommunicate request_size=4 [13:28:22]MH_SAM_APDU [13:28:22]CAPDU: 80 13 03 00 [13:28:22]Write to MH i2c: E2 08 00 2A 00 80 13 03 00 00 00 00 00 A9 [13:28:22]Write i2c OK [13:28:22]MH_I2C_Read... [13:28:22]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [13:28:22]Read from MH i2c: E2 [13:28:22]MH_I2C_Read... [13:28:22]Read from MH i2c: E2 FD 00 [13:28:22]MH_I2C_Read... [13:28:22]Read from MH i2c: E2 FD 00 2A 00 00 C1 04 85 04 BD 04 6E 04 04 00 57 1E 00 00 69 04 A0 00 6F 04 04 00 2A 1E 00 00 B1 04 04 00 4C 4E 0F 32 70 04 04 00 D8 19 11 2A 72 04 04 00 74 34 FE 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BD 39 51 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 FE 6E 71 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2D 00 00 00 B1 04 04 00 3C 5C 66 01 70 04 04 00 3C 5C 66 01 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A2 0E 26 EF 03 09 00 F6 03 01 90 00 4E [13:28:22]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 57 1E 00 00 69 04 A0 00 6F 04 04 00 2A 1E 00 00 B1 04 04 00 4C 4E 0F 32 70 04 04 00 D8 19 11 2A 72 04 04 00 74 34 FE 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BD 39 51 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 FE 6E 71 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2D 00 00 00 B1 04 04 00 3C 5C 66 01 70 04 04 00 3C 5C 66 01 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A2 0E 26 EF 03 09 00 F6 03 01 90 00 [13:28:22]wFMCommunicate OK [13:28:22]wFMCommunicate request_size=4 [13:28:22]MH_SAM_APDU [13:28:22]CAPDU: 80 17 00 00 [13:28:22]Write to MH i2c: E2 08 00 2B 00 80 17 00 00 00 00 00 00 AB [13:28:22]Write i2c OK [13:28:22]MH_I2C_Read... [13:28:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:28:22]Read from MH i2c: E2 [13:28:22]MH_I2C_Read... [13:28:22]Read from MH i2c: E2 FD 00 [13:28:22]MH_I2C_Read... [13:28:22]Read from MH i2c: E2 FD 00 2B 00 00 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E7 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 F0 [13:28:22]RAPDU: 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E7 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [13:28:23]wFMCommunicate OK [13:28:23]wFMCommunicate request_size=4 [13:28:23]MH_SAM_APDU [13:28:23]CAPDU: 80 17 00 00 [13:28:23]Write to MH i2c: E2 08 00 2C 00 80 17 00 00 00 00 00 00 AC [13:28:23]Write i2c OK [13:28:23]MH_I2C_Read... [13:28:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:28:23]Read from MH i2c: E2 [13:28:23]MH_I2C_Read... [13:28:23]Read from MH i2c: E2 FD 00 [13:28:23]MH_I2C_Read... [13:28:23]Read from MH i2c: E2 FD 00 2C 00 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4C [13:28:23]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:28:23]wFMCommunicate OK [13:28:23]wFMCommunicate request_size=4 [13:28:23]MH_SAM_APDU [13:28:23]CAPDU: 80 17 00 00 [13:28:23]Write to MH i2c: E2 08 00 2D 00 80 17 00 00 00 00 00 00 AD [13:28:23]Write i2c OK [13:28:23]MH_I2C_Read... [13:28:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:28:23]Read from MH i2c: E2 [13:28:23]MH_I2C_Read... [13:28:23]Read from MH i2c: E2 FD 00 [13:28:23]MH_I2C_Read... [13:28:23]Read from MH i2c: E2 FD 00 2D 00 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 32 [13:28:23]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:28:23]wFMCommunicate OK [13:28:23]wFMCommunicate request_size=4 [13:28:23]MH_SAM_APDU [13:28:23]CAPDU: 80 17 00 00 [13:28:23]Write to MH i2c: E2 08 00 2E 00 80 17 00 00 00 00 00 00 AE [13:28:23]Write i2c OK [13:28:23]MH_I2C_Read... [13:28:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [13:28:23]Read from MH i2c: E2 [13:28:23]MH_I2C_Read... [13:28:23]Read from MH i2c: E2 DE 00 [13:28:23]MH_I2C_Read... [13:28:23]Read from MH i2c: E2 DE 00 2E 00 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 8D [13:28:24]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:28:24]wFMCommunicate OK [13:28:24]SAM_PROTO_GetFMData done [13:28:24]requested_item fm.sale_refund.total is exist - process it [13:28:24]requested_item fm.buy.total is exist - process it [13:28:24]requested_item shift.sale.total is exist - process it [13:28:24]SAM_PROTO_GetShiftData [13:28:24]wFMCommunicate request_size=4 [13:28:24]MH_SAM_APDU [13:28:24]CAPDU: 80 13 02 00 [13:28:24]Write to MH i2c: E2 08 00 2F 00 80 13 02 00 00 00 00 00 AD [13:28:24]Write i2c OK [13:28:24]MH_I2C_Read... [13:28:24]OFD Sender: No OFD packet to send [13:28:24]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:28:24]Read from MH i2c: E2 [13:28:24]MH_I2C_Read... [13:28:24]Read from MH i2c: E2 FD 00 [13:28:24]MH_I2C_Read... [13:28:24]Read from MH i2c: E2 FD 00 2F 00 00 AE 04 AA 04 AA 04 6E 04 04 00 2F 00 00 00 69 04 9B 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 F1 9B 3D 70 04 03 00 B8 2C 39 72 04 03 00 39 6F 04 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 69 8B 06 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 9D 8B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 80 [13:28:24]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 2F 00 00 00 69 04 9B 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 F1 9B 3D 70 04 03 00 B8 2C 39 72 04 03 00 39 6F 04 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 69 8B 06 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 9D 8B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:28:24]wFMCommunicate OK [13:28:24]wFMCommunicate request_size=4 [13:28:24]MH_SAM_APDU [13:28:24]CAPDU: 80 17 00 00 [13:28:24]Write to MH i2c: E2 08 00 30 00 80 17 00 00 00 00 00 00 B0 [13:28:24]Write i2c OK [13:28:24]MH_I2C_Read... [13:28:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:28:24]Read from MH i2c: E2 [13:28:24]MH_I2C_Read... [13:28:24]Read from MH i2c: E2 FD 00 [13:28:24]MH_I2C_Read... [13:28:24]Read from MH i2c: E2 FD 00 30 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 D2 [13:28:24]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 [13:28:25]wFMCommunicate OK [13:28:25]wFMCommunicate request_size=4 [13:28:25]MH_SAM_APDU [13:28:25]CAPDU: 80 17 00 00 [13:28:25]Write to MH i2c: E2 08 00 31 00 80 17 00 00 00 00 00 00 B1 [13:28:25]Write i2c OK [13:28:25]MH_I2C_Read... [13:28:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:28:25]Read from MH i2c: E2 [13:28:25]MH_I2C_Read... [13:28:25]Read from MH i2c: E2 FD 00 [13:28:25]MH_I2C_Read... [13:28:25]Read from MH i2c: E2 FD 00 31 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 68 [13:28:25]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 [13:28:25]wFMCommunicate OK [13:28:25]wFMCommunicate request_size=4 [13:28:25]MH_SAM_APDU [13:28:25]CAPDU: 80 17 00 00 [13:28:25]Write to MH i2c: E2 08 00 32 00 80 17 00 00 00 00 00 00 B2 [13:28:25]Write i2c OK [13:28:25]MH_I2C_Read... [13:28:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:28:25]Read from MH i2c: E2 [13:28:25]MH_I2C_Read... [13:28:25]Read from MH i2c: E2 FD 00 [13:28:25]MH_I2C_Read... [13:28:25]Read from MH i2c: E2 FD 00 32 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 24 [13:28:25]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 [13:28:25]wFMCommunicate OK [13:28:25]wFMCommunicate request_size=4 [13:28:25]MH_SAM_APDU [13:28:25]CAPDU: 80 17 00 00 [13:28:25]Write to MH i2c: E2 08 00 33 00 80 17 00 00 00 00 00 00 B3 [13:28:25]Write i2c OK [13:28:25]MH_I2C_Read... [13:28:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [13:28:26]Read from MH i2c: E2 [13:28:26]MH_I2C_Read... [13:28:26]Read from MH i2c: E2 CB 00 [13:28:26]MH_I2C_Read... [13:28:26]Read from MH i2c: E2 CB 00 33 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 9C [13:28:26]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 [13:28:26]wFMCommunicate OK [13:28:26]SAM_PROTO_GetShiftData done [13:28:26]requested_item shift.sale.total_cash is exist - process it [13:28:26]requested_item shift.sale_refund.total is exist - process it [13:28:26]requested_item shift.sale_refund.total_cash is exist - process it [13:28:26]requested_item shift.buy.total is exist - process it [13:28:26]requested_item shift.buy.total_cash is exist - process it [13:28:26]produce_requested_data done [13:28:26]produce_requested_data return {"fm.sale.total":8398638.84,"fm.sale_refund.total":234855.00,"fm.buy.total":0.00,"shift.sale.total":40376.17,"shift.sale.total_cash":37470.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} [13:28:26]process_action_free get_value [13:28:26]json_value_free [13:28:26]json_value_free done [13:28:26]process_json_proto returns [13:28:26]Send response to host [13:28:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8398638.84,"fm.sale_refund.total":234855.00,"fm.buy.total":0.00,"shift.sale.total":40376.17,"shift.sale.total_cash":37470.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}}} [13:28:26]free response buf [13:28:26]execute_script done [13:28:26]execute_script returns [13:28:26]free content buf [13:28:26]Sock 6.Close socket [13:28:26]Sock 6.Thread stoped [13:28:26]accept exits with 9 [13:28:26]New connection [13:28:26]New thread 3066735972 created [13:28:26]Thread 3066879332 joined [13:28:26]Waiting for new connection... [13:28:26] Sock 9.Parse request [13:28:26]Sock 9.Check first char [13:28:26]Sock 9.First char is OK [13:28:26]request: POST /json_proto HTTP/1.0 [13:28:26]Method: POST [13:28:26]URL: /json_proto [13:28:26]Method is POST - this is cgi request [13:28:26]url: /json_proto [13:28:26]query_string will be loaded in cgi processing [13:28:26]execute_cgi json_proto POST (null) [13:28:26]execute_cgi path=json_proto method=POST [13:28:26]POST find Content-Length [13:28:26]Host: 172.17.47.195:8080 [13:28:26]Content-Length: 245 [13:28:26]Content-Type: application/json [13:28:26] [13:28:26]POST finish read [13:28:26]Found Content-Length = 245 [13:28:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0410\u0448\u0438\u043C\u043E\u0432 \u0422. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:28:26]execute_script... [13:28:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0410\u0448\u0438\u043C\u043E\u0432 \u0422. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:28:26]POST & json_proto [13:28:26]process_json_proto [13:28:26]json parsed OK: [13:28:26]protocol is kg_v1.0 [13:28:26]action value=x_report [13:28:26]process_action x_report [13:28:26]cmd_x_report [13:28:26]MH_GetDate [13:28:26]Write to MH i2c: F0 00 00 34 00 23 [13:28:26]Write i2c OK [13:28:26]MH_I2C_Read... [13:28:26]Read from MH i2c: F0 [13:28:26]MH_I2C_Read... [13:28:26]Read from MH i2c: F0 09 00 [13:28:26]MH_I2C_Read... [13:28:26]Read from MH i2c: F0 09 00 34 00 00 7A BE F2 66 96 2E 95 66 7B [13:28:26]GetLastDocTimeStamp 1727183684 [13:28:26]current date 1727184506 [13:28:26]FM_GetShiftState [13:28:26]SAM_PROTO_GetShiftState [13:28:26]wFMCommunicate request_size=4 [13:28:26]MH_SAM_APDU [13:28:26]CAPDU: 80 13 01 00 [13:28:26]Write to MH i2c: E2 08 00 35 00 80 13 01 00 00 00 00 00 B2 [13:28:26]Write i2c OK [13:28:26]MH_I2C_Read... [13:28:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:28:26]Read from MH i2c: E2 [13:28:26]MH_I2C_Read... [13:28:26]Read from MH i2c: E2 0E 00 [13:28:26]MH_I2C_Read... [13:28:26]Read from MH i2c: E2 0E 00 35 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 58 [13:28:26]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [13:28:26]wFMCommunicate OK [13:28:26]SAM_PROTO_GetShiftState done [13:28:26]FM_GetShiftState done [13:28:26]KKMCreateXReportDocument [13:28:26]Load OK [13:28:26]Malloc new data [13:28:26]MH_GetDate [13:28:26]Write to MH i2c: F0 00 00 36 00 25 [13:28:26]Write i2c OK [13:28:26]MH_I2C_Read... [13:28:26]Read from MH i2c: F0 [13:28:26]MH_I2C_Read... [13:28:26]Read from MH i2c: F0 09 00 [13:28:26]MH_I2C_Read... [13:28:26]Read from MH i2c: F0 09 00 36 00 00 7A BE F2 66 96 2E 95 66 7D [13:28:26]Malloc new data [13:28:26]Malloc new data [13:28:26]wFMCommunicate request_size=4 [13:28:26]MH_SAM_APDU [13:28:26]CAPDU: 80 11 00 00 [13:28:26]Write to MH i2c: E2 08 00 37 00 80 11 00 00 00 00 00 00 B1 [13:28:26]Write i2c OK [13:28:26]MH_I2C_Read... [13:28:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:28:26]Read from MH i2c: E2 [13:28:26]MH_I2C_Read... [13:28:26]Read from MH i2c: E2 17 00 [13:28:26]MH_I2C_Read... [13:28:26]Read from MH i2c: E2 17 00 37 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 02 [13:28:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [13:28:26]wFMCommunicate OK [13:28:26]SAM_PROTO_GetFieldsCounters [13:28:26]wFMCommunicate request_size=4 [13:28:26]MH_SAM_APDU [13:28:26]CAPDU: 80 13 00 00 [13:28:26]Write to MH i2c: E2 08 00 38 00 80 13 00 00 00 00 00 00 B4 [13:28:26]Write i2c OK [13:28:26]MH_I2C_Read... [13:28:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:28:26]Read from MH i2c: E2 [13:28:26]MH_I2C_Read... [13:28:26]Read from MH i2c: E2 62 00 [13:28:26]MH_I2C_Read... [13:28:26]Read from MH i2c: E2 62 00 38 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 E7 1E 00 00 0E 04 04 00 48 00 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 AC [13:28:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 E7 1E 00 00 0E 04 04 00 48 00 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 [13:28:26]wFMCommunicate OK [13:28:26]SAM_PROTO_GetFieldsCounters done [13:28:26]Malloc new data [13:28:26]Malloc new data [13:28:26]Malloc new data [13:28:26]KKMCreateXReportDocument OK [13:28:26]KKMSetXReportData OK [13:28:26]KKMPrepareXReportFMData [13:28:26]SAM_PROTO_GetShiftData [13:28:26]wFMCommunicate request_size=4 [13:28:26]MH_SAM_APDU [13:28:26]CAPDU: 80 13 02 00 [13:28:26]Write to MH i2c: E2 08 00 39 00 80 13 02 00 00 00 00 00 B7 [13:28:26]Write i2c OK [13:28:26]MH_I2C_Read... [13:28:27]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:28:27]Read from MH i2c: E2 [13:28:27]MH_I2C_Read... [13:28:27]Read from MH i2c: E2 FD 00 [13:28:27]MH_I2C_Read... [13:28:27]Read from MH i2c: E2 FD 00 39 00 00 AE 04 AA 04 AA 04 6E 04 04 00 2F 00 00 00 69 04 9B 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 F1 9B 3D 70 04 03 00 B8 2C 39 72 04 03 00 39 6F 04 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 69 8B 06 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 9D 8B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 8A [13:28:27]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 2F 00 00 00 69 04 9B 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 F1 9B 3D 70 04 03 00 B8 2C 39 72 04 03 00 39 6F 04 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 69 8B 06 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 9D 8B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:28:27]wFMCommunicate OK [13:28:27]wFMCommunicate request_size=4 [13:28:27]MH_SAM_APDU [13:28:27]CAPDU: 80 17 00 00 [13:28:27]Write to MH i2c: E2 08 00 3A 00 80 17 00 00 00 00 00 00 BA [13:28:27]Write i2c OK [13:28:27]MH_I2C_Read... [13:28:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:28:27]Read from MH i2c: E2 [13:28:27]MH_I2C_Read... [13:28:27]Read from MH i2c: E2 FD 00 [13:28:27]MH_I2C_Read... [13:28:27]Read from MH i2c: E2 FD 00 3A 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 DC [13:28:27]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [13:28:27]wFMCommunicate OK [13:28:27]wFMCommunicate request_size=4 [13:28:27]MH_SAM_APDU [13:28:27]CAPDU: 80 17 00 00 [13:28:27]Write to MH i2c: E2 08 00 3B 00 80 17 00 00 00 00 00 00 BB [13:28:27]Write i2c OK [13:28:27]MH_I2C_Read... [13:28:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:28:28]Read from MH i2c: E2 [13:28:28]MH_I2C_Read... [13:28:28]Read from MH i2c: E2 FD 00 [13:28:28]MH_I2C_Read... [13:28:28]Read from MH i2c: E2 FD 00 3B 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 72 [13:28:28]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [13:28:28]wFMCommunicate OK [13:28:28]wFMCommunicate request_size=4 [13:28:28]MH_SAM_APDU [13:28:28]CAPDU: 80 17 00 00 [13:28:28]Write to MH i2c: E2 08 00 3C 00 80 17 00 00 00 00 00 00 BC [13:28:28]Write i2c OK [13:28:28]MH_I2C_Read... [13:28:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:28:28]Read from MH i2c: E2 [13:28:28]MH_I2C_Read... [13:28:28]Read from MH i2c: E2 FD 00 [13:28:28]MH_I2C_Read... [13:28:28]Read from MH i2c: E2 FD 00 3C 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 2E [13:28:28]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [13:28:28]wFMCommunicate OK [13:28:28]wFMCommunicate request_size=4 [13:28:28]MH_SAM_APDU [13:28:28]CAPDU: 80 17 00 00 [13:28:28]Write to MH i2c: E2 08 00 3D 00 80 17 00 00 00 00 00 00 BD [13:28:28]Write i2c OK [13:28:28]MH_I2C_Read... [13:28:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [13:28:28]Read from MH i2c: E2 [13:28:28]MH_I2C_Read... [13:28:28]Read from MH i2c: E2 CB 00 [13:28:28]MH_I2C_Read... [13:28:28]Read from MH i2c: E2 CB 00 3D 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 A6 [13:28:29]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 OFD Sender: No OFD packet to send [13:28:29]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 [13:28:29]wFMCommunicate OK [13:28:29]SAM_PROTO_GetShiftData done [13:28:29]1194 (1194) - счетчики итогов смены [13:28:29] 1134 (4) - 47 - количество чеков со всеми признаками расчетов [13:28:29] 1129 (155) - счетчики операций «приход» [13:28:29] 1135 (4) - 47 - количество чеков по признаку расчетов [13:28:29] 1201 (3) - 40376.17 - общая итоговая сумма в чеках [13:28:29] 1136 (3) - 37470.00 - итоговая сумма в чеках наличными [13:28:29] 1138 (3) - 2906.17 - итоговая сумма в чеках безналичными [13:28:29] 1024 (122) - суммы налогов [13:28:29] 1006 (9) - суммы НДС [13:28:29] 1010 (1) - 0% - код ставки НДС [13:28:29] 1011 (0) - 0.00 - сумма НДС по ставке [13:28:29] 1006 (12) - суммы НДС [13:28:29] 1010 (1) - 12% - код ставки НДС [13:28:29] 1011 (3) - 4289.05 - сумма НДС по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 0% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1007 (11) - суммы НСП [13:28:29] 1014 (1) - 1% - код ставки НСП [13:28:29] 1015 (2) - 357.41 - сумма НСП по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 2% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 3% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 5% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 0,50% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 1,50% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1130 (141) - счетчики операций «возврат прихода» [13:28:29] 1135 (4) - 0 - количество чеков по признаку расчетов [13:28:29] 1201 (0) - 0.00 - общая итоговая сумма в чеках [13:28:29] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [13:28:29] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [13:28:29] 1024 (117) - суммы налогов [13:28:29] 1006 (9) - суммы НДС [13:28:29] 1010 (1) - 0% - код ставки НДС [13:28:29] 1011 (0) - 0.00 - сумма НДС по ставке [13:28:29] 1006 (9) - суммы НДС [13:28:29] 1010 (1) - 12% - код ставки НДС [13:28:29] 1011 (0) - 0.00 - сумма НДС по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 0% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 1% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 2% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 3% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 5% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 0,50% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 1,50% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1131 (141) - счетчики операций «расход» [13:28:29] 1135 (4) - 0 - количество чеков по признаку расчетов [13:28:29] 1201 (0) - 0.00 - общая итоговая сумма в чеках [13:28:29] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [13:28:29] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [13:28:29] 1024 (117) - суммы налогов [13:28:29] 1006 (9) - суммы НДС [13:28:29] 1010 (1) - 0% - код ставки НДС [13:28:29] 1011 (0) - 0.00 - сумма НДС по ставке [13:28:29] 1006 (9) - суммы НДС [13:28:29] 1010 (1) - 12% - код ставки НДС [13:28:29] 1011 (0) - 0.00 - сумма НДС по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 0% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 1% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 2% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 3% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 5% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 0,50% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 1,50% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1132 (141) - счетчики операций «возврат расхода» [13:28:29] 1135 (4) - 0 - количество чеков по признаку расчетов [13:28:29] 1201 (0) - 0.00 - общая итоговая сумма в чеках [13:28:29] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [13:28:29] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [13:28:29] 1024 (117) - суммы налогов [13:28:29] 1006 (9) - суммы НДС [13:28:29] 1010 (1) - 0% - код ставки НДС [13:28:29] 1011 (0) - 0.00 - сумма НДС по ставке [13:28:29] 1006 (9) - суммы НДС [13:28:29] 1010 (1) - 12% - код ставки НДС [13:28:29] 1011 (0) - 0.00 - сумма НДС по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 0% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 1% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 2% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 3% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 5% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 0,50% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1007 (9) - суммы НСП [13:28:29] 1014 (1) - 1,50% - код ставки НСП [13:28:29] 1015 (0) - 0.00 - сумма НСП по ставке [13:28:29] 1133 (588) - - счетчики коррекции - не используются [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1194 (04AA) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1134 (046E) [13:28:29]Malloc new data [13:28:29]Processing tag 1129 (0469) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1135 (046F) [13:28:29]Malloc new data [13:28:29]Processing tag 1201 (04B1) [13:28:29]Malloc new data [13:28:29]Processing tag 1136 (0470) [13:28:29]Malloc new data [13:28:29]Processing tag 1138 (0472) [13:28:29]Malloc new data [13:28:29]Processing tag 1024 (0400) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1006 (03EE) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1010 (03F2) [13:28:29]Malloc new data [13:28:29]Processing tag 1011 (03F3) [13:28:29]Malloc new data [13:28:29]SetTLVBufToDocument err=0 [13:28:29]Processing tag 1006 (03EE) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1010 (03F2) [13:28:29]Malloc new data [13:28:29]Processing tag 1011 (03F3) [13:28:29]Malloc new data [13:28:29]SetTLVBufToDocument err=0 [13:28:29]Processing tag 1007 (03EF) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1014 (03F6) [13:28:29]Malloc new data [13:28:29]Processing tag 1015 (03F7) [13:28:29]Malloc new data [13:28:29]SetTLVBufToDocument err=0 [13:28:29]Processing tag 1007 (03EF) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1014 (03F6) [13:28:29]Malloc new data [13:28:29]Processing tag 1015 (03F7) [13:28:29]Malloc new data [13:28:29]SetTLVBufToDocument err=0 [13:28:29]Processing tag 1007 (03EF) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1014 (03F6) [13:28:29]Malloc new data [13:28:29]Processing tag 1015 (03F7) [13:28:29]Malloc new data [13:28:29]SetTLVBufToDocument err=0 [13:28:29]Processing tag 1007 (03EF) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1014 (03F6) [13:28:29]Malloc new data [13:28:29]Processing tag 1015 (03F7) [13:28:29]Malloc new data [13:28:29]SetTLVBufToDocument err=0 [13:28:29]Processing tag 1007 (03EF) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1014 (03F6) [13:28:29]Malloc new data [13:28:29]Processing tag 1015 (03F7) [13:28:29]Malloc new data [13:28:29]SetTLVBufToDocument err=0 [13:28:29]Processing tag 1007 (03EF) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1014 (03F6) [13:28:29]Malloc new data [13:28:29]Processing tag 1015 (03F7) [13:28:29]Malloc new data [13:28:29]SetTLVBufToDocument err=0 [13:28:29]Processing tag 1007 (03EF) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1014 (03F6) [13:28:29]Malloc new data [13:28:29]Processing tag 1015 (03F7) [13:28:29]Malloc new data [13:28:29]SetTLVBufToDocument err=0 [13:28:29]SetTLVBufToDocument err=0 [13:28:29]SetTLVBufToDocument err=0 [13:28:29]Processing tag 1130 (046A) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1135 (046F) [13:28:29]Malloc new data [13:28:29]Processing tag 1201 (04B1) [13:28:29]Malloc new data [13:28:29]Processing tag 1136 (0470) [13:28:29]Malloc new data [13:28:29]Processing tag 1138 (0472) [13:28:29]Malloc new data [13:28:29]Processing tag 1024 (0400) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1006 (03EE) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1010 (03F2) [13:28:29]Malloc new data [13:28:29]Processing tag 1011 (03F3) [13:28:29]Malloc new data [13:28:29]SetTLVBufToDocument err=0 [13:28:29]Processing tag 1006 (03EE) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1010 (03F2) [13:28:29]Malloc new data [13:28:29]Processing tag 1011 (03F3) [13:28:29]Malloc new data [13:28:29]SetTLVBufToDocument err=0 [13:28:29]Processing tag 1007 (03EF) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1014 (03F6) [13:28:29]Malloc new data [13:28:29]Processing tag 1015 (03F7) [13:28:29]Malloc new data [13:28:29]SetTLVBufToDocument err=0 [13:28:29]Processing tag 1007 (03EF) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1014 (03F6) [13:28:29]Malloc new data [13:28:29]Processing tag 1015 (03F7) [13:28:29]Malloc new data [13:28:29]SetTLVBufToDocument err=0 [13:28:29]Processing tag 1007 (03EF) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1014 (03F6) [13:28:29]Malloc new data [13:28:29]Processing tag 1015 (03F7) [13:28:29]Malloc new data [13:28:29]SetTLVBufToDocument err=0 [13:28:29]Processing tag 1007 (03EF) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1014 (03F6) [13:28:29]Malloc new data [13:28:29]Processing tag 1015 (03F7) [13:28:29]Malloc new data [13:28:29]SetTLVBufToDocument err=0 [13:28:29]Processing tag 1007 (03EF) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1014 (03F6) [13:28:29]Malloc new data [13:28:29]Processing tag 1015 (03F7) [13:28:29]Malloc new data [13:28:29]SetTLVBufToDocument err=0 [13:28:29]Processing tag 1007 (03EF) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1014 (03F6) [13:28:29]Malloc new data [13:28:29]Processing tag 1015 (03F7) [13:28:29]Malloc new data [13:28:29]SetTLVBufToDocument err=0 [13:28:29]Processing tag 1007 (03EF) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1014 (03F6) [13:28:29]Malloc new data [13:28:29]Processing tag 1015 (03F7) [13:28:29]Malloc new data [13:28:29]SetTLVBufToDocument err=0 [13:28:29]SetTLVBufToDocument err=0 [13:28:29]SetTLVBufToDocument err=0 [13:28:29]Processing tag 1131 (046B) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1135 (046F) [13:28:29]Malloc new data [13:28:29]Processing tag 1201 (04B1) [13:28:29]Malloc new data [13:28:29]Processing tag 1136 (0470) [13:28:29]Malloc new data [13:28:29]Processing tag 1138 (0472) [13:28:29]Malloc new data [13:28:29]Processing tag 1024 (0400) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1006 (03EE) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1010 (03F2) [13:28:29]Malloc new data [13:28:29]Processing tag 1011 (03F3) [13:28:29]Malloc new data [13:28:29]SetTLVBufToDocument err=0 [13:28:29]Processing tag 1006 (03EE) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1010 (03F2) [13:28:29]Malloc new data [13:28:29]Processing tag 1011 (03F3) [13:28:29]Malloc new data [13:28:29]SetTLVBufToDocument err=0 [13:28:29]Processing tag 1007 (03EF) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1014 (03F6) [13:28:29]Malloc new data [13:28:29]Processing tag 1015 (03F7) [13:28:29]Malloc new data [13:28:29]SetTLVBufToDocument err=0 [13:28:29]Processing tag 1007 (03EF) [13:28:29]Load OK [13:28:29]SetTLVBufToDocument [13:28:29]Processing tag 1014 (03F6) [13:28:30]Malloc new data [13:28:30]Processing tag 1015 (03F7) [13:28:30]Malloc new data [13:28:30]SetTLVBufToDocument err=0 [13:28:30]Processing tag 1007 (03EF) [13:28:30]Load OK [13:28:30]SetTLVBufToDocument [13:28:30]Processing tag 1014 (03F6) [13:28:30]Malloc new data [13:28:30]Processing tag 1015 (03F7) [13:28:30]Malloc new data [13:28:30]SetTLVBufToDocument err=0 [13:28:30]Processing tag 1007 (03EF) [13:28:30]Load OK [13:28:30]SetTLVBufToDocument [13:28:30]Processing tag 1014 (03F6) [13:28:30]Malloc new data [13:28:30]Processing tag 1015 (03F7) [13:28:30]Malloc new data [13:28:30]SetTLVBufToDocument err=0 [13:28:30]Processing tag 1007 (03EF) [13:28:30]Load OK [13:28:30]SetTLVBufToDocument [13:28:30]Processing tag 1014 (03F6) [13:28:30]Malloc new data [13:28:30]Processing tag 1015 (03F7) [13:28:30]Malloc new data [13:28:30]SetTLVBufToDocument err=0 [13:28:30]Processing tag 1007 (03EF) [13:28:30]Load OK [13:28:30]SetTLVBufToDocument [13:28:30]Processing tag 1014 (03F6) [13:28:30]Malloc new data [13:28:30]Processing tag 1015 (03F7) [13:28:30]Malloc new data [13:28:30]SetTLVBufToDocument err=0 [13:28:30]Processing tag 1007 (03EF) [13:28:30]Load OK [13:28:30]SetTLVBufToDocument [13:28:30]Processing tag 1014 (03F6) [13:28:30]Malloc new data [13:28:30]Processing tag 1015 (03F7) [13:28:30]Malloc new data [13:28:30]SetTLVBufToDocument err=0 [13:28:30]SetTLVBufToDocument err=0 [13:28:30]SetTLVBufToDocument err=0 [13:28:30]Processing tag 1132 (046C) [13:28:30]Load OK [13:28:30]SetTLVBufToDocument [13:28:30]Processing tag 1135 (046F) [13:28:30]Malloc new data [13:28:30]Processing tag 1201 (04B1) [13:28:30]Malloc new data [13:28:30]Processing tag 1136 (0470) [13:28:30]Malloc new data [13:28:30]Processing tag 1138 (0472) [13:28:30]Malloc new data [13:28:30]Processing tag 1024 (0400) [13:28:30]Load OK [13:28:30]SetTLVBufToDocument [13:28:30]Processing tag 1006 (03EE) [13:28:30]Load OK [13:28:30]SetTLVBufToDocument [13:28:30]Processing tag 1010 (03F2) [13:28:30]Malloc new data [13:28:30]Processing tag 1011 (03F3) [13:28:30]Malloc new data [13:28:30]SetTLVBufToDocument err=0 [13:28:30]Processing tag 1006 (03EE) [13:28:30]Load OK [13:28:30]SetTLVBufToDocument [13:28:30]Processing tag 1010 (03F2) [13:28:30]Malloc new data [13:28:30]Processing tag 1011 (03F3) [13:28:30]Malloc new data [13:28:30]SetTLVBufToDocument err=0 [13:28:30]Processing tag 1007 (03EF) [13:28:30]Load OK [13:28:30]SetTLVBufToDocument [13:28:30]Processing tag 1014 (03F6) [13:28:30]Malloc new data [13:28:30]Processing tag 1015 (03F7) [13:28:30]Malloc new data [13:28:30]SetTLVBufToDocument err=0 [13:28:30]Processing tag 1007 (03EF) [13:28:30]Load OK [13:28:30]SetTLVBufToDocument [13:28:30]Processing tag 1014 (03F6) [13:28:30]Malloc new data [13:28:30]Processing tag 1015 (03F7) [13:28:30]Malloc new data [13:28:30]SetTLVBufToDocument err=0 [13:28:30]Processing tag 1007 (03EF) [13:28:30]Load OK [13:28:30]SetTLVBufToDocument [13:28:30]Processing tag 1014 (03F6) [13:28:30]Malloc new data [13:28:30]Processing tag 1015 (03F7) [13:28:30]Malloc new data [13:28:30]SetTLVBufToDocument err=0 [13:28:30]Processing tag 1007 (03EF) [13:28:30]Load OK [13:28:30]SetTLVBufToDocument [13:28:30]Processing tag 1014 (03F6) [13:28:30]Malloc new data [13:28:30]Processing tag 1015 (03F7) [13:28:30]Malloc new data [13:28:30]SetTLVBufToDocument err=0 [13:28:30]Processing tag 1007 (03EF) [13:28:30]Load OK [13:28:30]SetTLVBufToDocument [13:28:30]Processing tag 1014 (03F6) [13:28:30]Malloc new data [13:28:30]Processing tag 1015 (03F7) [13:28:30]Malloc new data [13:28:30]SetTLVBufToDocument err=0 [13:28:30]Processing tag 1007 (03EF) [13:28:30]Load OK [13:28:30]SetTLVBufToDocument [13:28:30]Processing tag 1014 (03F6) [13:28:30]Malloc new data [13:28:30]Processing tag 1015 (03F7) [13:28:30]Malloc new data [13:28:30]SetTLVBufToDocument err=0 [13:28:30]Processing tag 1007 (03EF) [13:28:30]Load OK [13:28:30]SetTLVBufToDocument [13:28:30]Processing tag 1014 (03F6) [13:28:30]Malloc new data [13:28:30]Processing tag 1015 (03F7) [13:28:30]Malloc new data [13:28:30]SetTLVBufToDocument err=0 [13:28:30]SetTLVBufToDocument err=0 [13:28:30]SetTLVBufToDocument err=0 [13:28:30]Processing tag 1133 (046D) [13:28:30]Malloc new data [13:28:30]SetTLVBufToDocument err=0 [13:28:30]SetTLVBufToDocument err=0 [13:28:30]Malloc new data [13:28:30]SAM_PROTO_GetFMData [13:28:30]wFMCommunicate request_size=4 [13:28:30]MH_SAM_APDU [13:28:30]CAPDU: 80 13 03 00 [13:28:30]Write to MH i2c: E2 08 00 3E 00 80 13 03 00 00 00 00 00 BD [13:28:30]Write i2c OK [13:28:30]MH_I2C_Read... [13:28:30]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [13:28:30]Read from MH i2c: E2 [13:28:30]MH_I2C_Read... [13:28:30]Read from MH i2c: E2 FD 00 [13:28:30]MH_I2C_Read... [13:28:30]Read from MH i2c: E2 FD 00 3E 00 00 C1 04 85 04 BD 04 6E 04 04 00 57 1E 00 00 69 04 A0 00 6F 04 04 00 2A 1E 00 00 B1 04 04 00 4C 4E 0F 32 70 04 04 00 D8 19 11 2A 72 04 04 00 74 34 FE 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BD 39 51 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 FE 6E 71 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2D 00 00 00 B1 04 04 00 3C 5C 66 01 70 04 04 00 3C 5C 66 01 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A2 0E 26 EF 03 09 00 F6 03 01 90 00 62 [13:28:31]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 57 1E 00 00 69 04 A0 00 6F 04 04 00 2A 1E 00 00 B1 04 04 00 4C 4E 0F 32 70 04 04 00 D8 19 11 2A 72 04 04 00 74 34 FE 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BD 39 51 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 FE 6E 71 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2D 00 00 00 B1 04 04 00 3C 5C 66 01 70 04 04 00 3C 5C 66 01 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A2 0E 26 EF 03 09 00 F6 03 01 90 00 [13:28:31]wFMCommunicate OK [13:28:31]wFMCommunicate request_size=4 [13:28:31]MH_SAM_APDU [13:28:31]CAPDU: 80 17 00 00 [13:28:31]Write to MH i2c: E2 08 00 3F 00 80 17 00 00 00 00 00 00 BF [13:28:31]Write i2c OK [13:28:31]MH_I2C_Read... [13:28:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:28:31]Read from MH i2c: E2 [13:28:31]MH_I2C_Read... [13:28:31]Read from MH i2c: E2 FD 00 [13:28:31]MH_I2C_Read... [13:28:31]Read from MH i2c: E2 FD 00 3F 00 00 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E7 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 04 [13:28:31]RAPDU: 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E7 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 [13:28:31]wFMCommunicate OK [13:28:31]wFMCommunicate request_size=4 [13:28:31]MH_SAM_APDU [13:28:31]CAPDU: 80 17 00 00 [13:28:31]Write to MH i2c: E2 08 00 40 00 80 17 00 00 00 00 00 00 C0 [13:28:31]Write i2c OK [13:28:31]MH_I2C_Read... [13:28:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:28:31]Read from MH i2c: E2 [13:28:31]MH_I2C_Read... [13:28:31]Read from MH i2c: E2 FD 00 [13:28:31]MH_I2C_Read... [13:28:31]Read from MH i2c: E2 FD 00 40 00 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 60 [13:28:32]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:28:32]wFMCommunicate OK [13:28:32]wFMCommunicate request_size=4 [13:28:32]MH_SAM_APDU [13:28:32]CAPDU: 80 17 00 00 [13:28:32]Write to MH i2c: E2 08 00 41 00 80 17 00 00 00 00 00 00 C1 [13:28:32]Write i2c OK [13:28:32]MH_I2C_Read... [13:28:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:28:32]Read from MH i2c: E2 [13:28:32]MH_I2C_Read... [13:28:32]Read from MH i2c: E2 FD 00 [13:28:32]MH_I2C_Read... [13:28:32]Read from MH i2c: E2 FD 00 41 00 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 46 [13:28:32]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:28:33]wFMCommunicate OK [13:28:33]wFMCommunicate request_size=4 [13:28:33]MH_SAM_APDU [13:28:33]CAPDU: 80 17 00 00 [13:28:33]Write to MH i2c: E2 08 00 42 00 80 17 00 00 00 00 00 00 C2 [13:28:33]Write i2c OK [13:28:33]MH_I2C_Read... [13:28:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [13:28:33]Read from MH i2c: E2 [13:28:33]MH_I2C_Read... [13:28:33]Read from MH i2c: E2 DE 00 [13:28:33]MH_I2C_Read... [13:28:33]Read from MH i2c: E2 DE 00 42 00 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A1 [13:28:33]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:28:33]wFMCommunicate OK [13:28:33]SAM_PROTO_GetFMData done [13:28:33]FM_GetFMData:85 04 BD 04 6E 04 04 00 57 1E 00 00 69 04 A0 00 6F 04 04 00 2A 1E 00 00 B1 04 04 00 4C 4E 0F 32 70 04 04 00 D8 19 11 2A 72 04 04 00 74 34 FE 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BD 39 51 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 FE 6E 71 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2D 00 00 00 B1 04 04 00 3C 5C 66 01 70 04 04 00 3C 5C 66 01 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A2 0E 26 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 E7 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 [13:29:16]Read from MH i2c: E2 FD 00 [13:29:16]MH_I2C_Read... [13:29:16]Read from MH i2c: E2 FD 00 AF 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 A1 [13:29:16]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 [13:29:16]wFMCommunicate OK [13:29:16]wFMCommunicate request_size=4 [13:29:16]MH_SAM_APDU [13:29:16]CAPDU: 80 17 00 00 [13:29:16]Write to MH i2c: E2 08 00 B0 00 80 17 00 00 00 00 00 00 30 [13:29:16]Write i2c OK [13:29:16]MH_I2C_Read... [13:29:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [13:29:17]Read from MH i2c: E2 [13:29:17]MH_I2C_Read... [13:29:17]Read from MH i2c: E2 CB 00 [13:29:17]MH_I2C_Read... [13:29:17]Read from MH i2c: E2 CB 00 B0 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 19 [13:29:17]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 [13:29:17]wFMCommunicate OK [13:29:17]SAM_PROTO_GetShiftData done [13:29:17]requested_item shift.sale.total_cash is exist - process it [13:29:17]requested_item shift.sale_refund.total is exist - process it [13:29:17]requested_item shift.sale_refund.total_cash is exist - process it [13:29:17]requested_item shift.buy.total is exist - process it [13:29:17]requested_item shift.buy.total_cash is exist - process it [13:29:17]produce_requested_data done [13:29:17]produce_requested_data return {"fm.sale.total":8398638.84,"fm.sale_refund.total":234855.00,"fm.buy.total":0.00,"shift.sale.total":40376.17,"shift.sale.total_cash":37470.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} [13:29:17]process_action_free get_value [13:29:17]json_value_free [13:29:17]json_value_free done [13:29:17]process_json_proto returns [13:29:17]Send response to host [13:29:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8398638.84,"fm.sale_refund.total":234855.00,"fm.buy.total":0.00,"shift.sale.total":40376.17,"shift.sale.total_cash":37470.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}}} [13:29:17]free response buf [13:29:17]execute_script done [13:29:17]execute_script returns [13:29:17]free content buf [13:29:17]Sock 6.Close socket [13:29:17]Sock 6.Thread stoped [13:29:17]accept exits with 9 [13:29:17]New connection [13:29:17]New thread 3066735972 created [13:29:17]Thread 3066879332 joined [13:29:17]Waiting for new connection... [13:29:17] Sock 9.Parse request [13:29:17]Sock 9.Check first char [13:29:17]Sock 9.First char is OK [13:29:17]request: POST /json_proto HTTP/1.0 [13:29:17]Method: POST [13:29:17]URL: /json_proto [13:29:17]Method is POST - this is cgi request [13:29:17]url: /json_proto [13:29:17]query_string will be loaded in cgi processing [13:29:17]execute_cgi json_proto POST (null) [13:29:17]execute_cgi path=json_proto method=POST [13:29:17]POST find Content-Length [13:29:17]Host: 172.17.47.195:8080 [13:29:17]Content-Length: 248 [13:29:17]Content-Type: application/json [13:29:17] [13:29:17]POST finish read [13:29:17]Found Content-Length = 248 [13:29:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0410\u0448\u0438\u043C\u043E\u0432 \u0422. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:29:17]execute_script... [13:29:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0410\u0448\u0438\u043C\u043E\u0432 \u0422. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:29:17]POST & json_proto [13:29:17]process_json_proto [13:29:17]json parsed OK: [13:29:17]protocol is kg_v1.0 [13:29:17]action value=close_shift [13:29:17]process_action close_shift [13:29:17]cmd_close_shift [13:29:17]MH_GetDate [13:29:17]Write to MH i2c: F0 00 00 B1 00 A0 [13:29:17]Write i2c OK [13:29:17]MH_I2C_Read... [13:29:17]Read from MH i2c: F0 [13:29:17]MH_I2C_Read... [13:29:17]Read from MH i2c: F0 09 00 [13:29:17]MH_I2C_Read... [13:29:17]Read from MH i2c: F0 09 00 B1 00 00 AD BE F2 66 96 2E 95 66 2B [13:29:17]GetLastDocTimeStamp 1727184506 [13:29:17]current date 1727184557 [13:29:17]FM_GetShiftState [13:29:17]SAM_PROTO_GetShiftState [13:29:17]wFMCommunicate request_size=4 [13:29:17]MH_SAM_APDU [13:29:17]CAPDU: 80 13 01 00 [13:29:17]Write to MH i2c: E2 08 00 B2 00 80 13 01 00 00 00 00 00 2F [13:29:17]Write i2c OK [13:29:17]MH_I2C_Read... [13:29:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:29:17]Read from MH i2c: E2 [13:29:17]MH_I2C_Read... [13:29:17]Read from MH i2c: E2 0E 00 [13:29:17]MH_I2C_Read... [13:29:17]Read from MH i2c: E2 0E 00 B2 00 00 09 00 01 3C 06 F2 66 00 00 00 00 90 00 D5 [13:29:17]RAPDU: 09 00 01 3C 06 F2 66 00 00 00 00 90 00 [13:29:17]wFMCommunicate OK [13:29:17]SAM_PROTO_GetShiftState done [13:29:17]FM_GetShiftState done [13:29:17]KKMCreateCloseShiftDocument [13:29:17]Load OK [13:29:17]Malloc new data [13:29:17]MH_GetDate [13:29:17]Write to MH i2c: F0 00 00 B3 00 A2 [13:29:17]Write i2c OK [13:29:17]MH_I2C_Read... [13:29:17]Read from MH i2c: F0 [13:29:17]MH_I2C_Read... [13:29:17]Read from MH i2c: F0 09 00 [13:29:17]MH_I2C_Read... [13:29:17]Read from MH i2c: F0 09 00 B3 00 00 AD BE F2 66 96 2E 95 66 2D [13:29:17]Malloc new data [13:29:17]Malloc new data [13:29:17]Malloc new data [13:29:17]Malloc new data [13:29:17]KKMCreateCloseShiftDocument OK [13:29:17]KKMSetCloseShiftData OK [13:29:17]ProcessDocumentItem done err = 0, tmpTLVsize=67 [13:29:17]tlvbuf is 006F91E0 [13:29:17]KKMLoadAndSignCloseShiftData [13:29:17]SAM_PROTO_ProcessDocument [13:29:17]wFMCommunicate request_size=9 [13:29:17]MH_SAM_APDU [13:29:17]CAPDU: 80 15 01 00 04 05 00 43 00 [13:29:17]Write to MH i2c: E2 0C 00 B4 00 80 15 01 00 04 00 05 00 43 00 00 00 83 [13:29:17]Write i2c OK [13:29:17]MH_I2C_Read... [13:29:17]*** iso7816_exchange 80 15 01 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 B4 00 00 90 00 28 [13:29:17]RAPDU: 90 00 [13:29:17]wFMCommunicate OK [13:29:17]wFMCommunicate request_size=23 [13:29:17]MH_SAM_APDU [13:29:17]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [13:29:17]Write to MH i2c: E2 1A 00 B5 00 80 15 02 00 12 00 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 00 00 2A [13:29:17]Write i2c OK [13:29:17]MH_I2C_Read... [13:29:17]*** iso7816_exchange 80 15 02 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 B5 00 00 90 00 29 [13:29:17]RAPDU: 90 00 [13:29:17]wFMCommunicate OK [13:29:17]wFMCommunicate request_size=26 [13:29:17]MH_SAM_APDU [13:29:17]CAPDU: 80 15 02 00 15 FD 03 11 00 D0 90 D1 88 D0 B8 D0 BC D0 BE D0 B2 20 D0 A2 2E 20 [13:29:17]Write to MH i2c: E2 1D 00 B6 00 80 15 02 00 15 00 FD 03 11 00 D0 90 D1 88 D0 B8 D0 BC D0 BE D0 B2 20 D0 A2 2E 20 00 00 2E [13:29:17]Write i2c OK [13:29:17]MH_I2C_Read... [13:29:17]*** iso7816_exchange 80 15 02 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 B6 00 00 90 00 2A [13:29:17]RAPDU: 90 00 [13:29:18]wFMCommunicate OK [13:29:18]wFMCommunicate request_size=13 [13:29:18]MH_SAM_APDU [13:29:18]CAPDU: 80 15 02 00 08 F4 03 04 00 AD BE F2 66 [13:29:18]Write to MH i2c: E2 10 00 B7 00 80 15 02 00 08 00 F4 03 04 00 AD BE F2 66 00 00 05 [13:29:18]Write i2c OK [13:29:18]MH_I2C_Read... [13:29:18]*** iso7816_exchange 80 15 02 00... 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 B7 00 00 90 00 2B [13:29:18]RAPDU: 90 00 [13:29:18]wFMCommunicate OK [13:29:18]wFMCommunicate request_size=25 [13:29:18]MH_SAM_APDU [13:29:18]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 [13:29:18]Write to MH i2c: E2 1C 00 B8 00 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 00 00 99 [13:29:18]Write i2c OK [13:29:18]MH_I2C_Read... [13:29:18]*** iso7816_exchange 80 15 02 00... 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 B8 00 00 90 00 2C [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 15 03 00 [13:29:18]Write to MH i2c: E2 08 00 B9 00 80 15 03 00 00 00 00 00 3A [13:29:18]Write i2c OK [13:29:18]MH_I2C_Read... [13:29:18]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [13:29:18]Read from MH i2c: E2 [13:29:18]MH_I2C_Read... [13:29:18]Read from MH i2c: E2 FD 00 [13:29:18]MH_I2C_Read... [13:29:18]Read from MH i2c: E2 FD 00 B9 00 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E8 1E 00 00 0E 04 04 00 48 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 31 00 00 00 AA 04 AA 04 6E 04 04 00 2F 00 00 00 69 04 9B 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 F1 9B 3D 70 04 03 00 B8 2C 39 72 04 03 00 39 6F 04 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 69 8B 06 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 9D 8B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 58 [13:29:18]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E8 1E 00 00 0E 04 04 00 48 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 31 00 00 00 AA 04 AA 04 6E 04 04 00 2F 00 00 00 69 04 9B 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 F1 9B 3D 70 04 03 00 B8 2C 39 72 04 03 00 39 6F 04 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 69 8B 06 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 9D 8B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:29:19]wFMCommunicate OK [13:29:19]SAM_PROTO_ProcessDocument answer len = 1265 [13:29:19]SAM_PROTO_ProcessDocument remain to read = 1017 [13:29:19]wFMCommunicate request_size=4 [13:29:19]MH_SAM_APDU [13:29:19]CAPDU: 80 17 00 00 [13:29:19]Write to MH i2c: E2 08 00 BA 00 80 17 00 00 00 00 00 00 3A [13:29:19]Write i2c OK [13:29:19]MH_I2C_Read... [13:29:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:29:19]Read from MH i2c: E2 [13:29:19]MH_I2C_Read... [13:29:19]Read from MH i2c: E2 FD 00 [13:29:19]MH_I2C_Read... [13:29:19]Read from MH i2c: E2 FD 00 BA 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 OFD Sender: No OFD packet to send [13:29:19]F6 03 90 00 83 [13:29:19]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 [13:29:19]wFMCommunicate OK [13:29:19]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [13:29:19]SAM_PROTO_ProcessDocument remain to read = 767 [13:29:19]wFMCommunicate request_size=4 [13:29:19]MH_SAM_APDU [13:29:19]CAPDU: 80 17 00 00 [13:29:19]Write to MH i2c: E2 08 00 BB 00 80 17 00 00 00 00 00 00 3B [13:29:19]Write i2c OK [13:29:19]MH_I2C_Read... [13:29:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:29:20]Read from MH i2c: E2 [13:29:20]MH_I2C_Read... [13:29:20]Read from MH i2c: E2 FD 00 [13:29:20]MH_I2C_Read... [13:29:20]Read from MH i2c: E2 FD 00 BB 00 00 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 9D [13:29:20]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 [13:29:20]wFMCommunicate OK [13:29:20]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [13:29:20]SAM_PROTO_ProcessDocument remain to read = 517 [13:29:20]wFMCommunicate request_size=4 [13:29:20]MH_SAM_APDU [13:29:20]CAPDU: 80 17 00 00 [13:29:20]Write to MH i2c: E2 08 00 BC 00 80 17 00 00 00 00 00 00 3C [13:29:20]Write i2c OK [13:29:20]MH_I2C_Read... [13:29:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:29:20]Read from MH i2c: E2 [13:29:20]MH_I2C_Read... [13:29:20]Read from MH i2c: E2 FD 00 [13:29:20]MH_I2C_Read... [13:29:20]Read from MH i2c: E2 FD 00 BC 00 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 C6 [13:29:21]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 [13:29:21]wFMCommunicate OK [13:29:21]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [13:29:21]SAM_PROTO_ProcessDocument remain to read = 267 [13:29:21]wFMCommunicate request_size=4 [13:29:21]MH_SAM_APDU [13:29:21]CAPDU: 80 17 00 00 [13:29:21]Write to MH i2c: E2 08 00 BD 00 80 17 00 00 00 00 00 00 3D [13:29:21]Write i2c OK [13:29:21]MH_I2C_Read... [13:29:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:29:21]Read from MH i2c: E2 [13:29:21]MH_I2C_Read... [13:29:21]Read from MH i2c: E2 FD 00 [13:29:21]MH_I2C_Read... [13:29:21]Read from MH i2c: E2 FD 00 BD 00 00 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 05 [13:29:21]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 [13:29:22]wFMCommunicate OK [13:29:22]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [13:29:22]SAM_PROTO_ProcessDocument remain to read = 17 [13:29:22]wFMCommunicate request_size=4 [13:29:22]MH_SAM_APDU [13:29:22]CAPDU: 80 17 00 00 [13:29:22]Write to MH i2c: E2 08 00 BE 00 80 17 00 00 00 00 00 00 3E [13:29:22]Write i2c OK [13:29:22]MH_I2C_Read... [13:29:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [13:29:22]Read from MH i2c: E2 [13:29:22]MH_I2C_Read... [13:29:22]Read from MH i2c: E2 14 00 [13:29:22]MH_I2C_Read... [13:29:22]Read from MH i2c: E2 14 00 BE 00 00 01 00 06 F7 03 00 00 35 04 06 00 85 63 29 9B 47 9C 90 00 12 [13:29:22]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 85 63 29 9B 47 9C 90 00 [13:29:22]wFMCommunicate OK [13:29:22]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [13:29:22]SAM_PROTO_ProcessDocument done [13:29:22]1209 (1) - 1.0 - номер версии ФФД [13:29:22]1041 (16) - 0000000002094258 - номер ФМ [13:29:22]1040 (4) - 7912 - номер ФД [13:29:22]1038 (4) - 72 - номер смены [13:29:22]1118 (4) - 47 - количество кассовых чеков за смену [13:29:22]1111 (4) - 49 - общее количество ФД за смену [13:29:22]1194 (1194) - счетчики итогов смены [13:29:22] 1134 (4) - 47 - количество чеков со всеми признаками расчетов [13:29:22] 1129 (155) - счетчики операций «приход» [13:29:22] 1135 (4) - 47 - количество чеков по признаку расчетов [13:29:22] 1201 (3) - 40376.17 - общая итоговая сумма в чеках [13:29:22] 1136 (3) - 37470.00 - итоговая сумма в чеках наличными [13:29:22] 1138 (3) - 2906.17 - итоговая сумма в чеках безналичными [13:29:22] 1024 (122) - суммы налогов [13:29:22] 1006 (9) - суммы НДС [13:29:22] 1010 (1) - 0% - код ставки НДС [13:29:22] 1011 (0) - 0.00 - сумма НДС по ставке [13:29:22] 1006 (12) - суммы НДС [13:29:22] 1010 (1) - 12% - код ставки НДС [13:29:22] 1011 (3) - 4289.05 - сумма НДС по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 0% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1007 (11) - суммы НСП [13:29:22] 1014 (1) - 1% - код ставки НСП [13:29:22] 1015 (2) - 357.41 - сумма НСП по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 2% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 3% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 5% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 0,50% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 1,50% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1130 (141) - счетчики операций «возврат прихода» [13:29:22] 1135 (4) - 0 - количество чеков по признаку расчетов [13:29:22] 1201 (0) - 0.00 - общая итоговая сумма в чеках [13:29:22] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [13:29:22] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [13:29:22] 1024 (117) - суммы налогов [13:29:22] 1006 (9) - суммы НДС [13:29:22] 1010 (1) - 0% - код ставки НДС [13:29:22] 1011 (0) - 0.00 - сумма НДС по ставке [13:29:22] 1006 (9) - суммы НДС [13:29:22] 1010 (1) - 12% - код ставки НДС [13:29:22] 1011 (0) - 0.00 - сумма НДС по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 0% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 1% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 2% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 3% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 5% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 0,50% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 1,50% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1131 (141) - счетчики операций «расход» [13:29:22] 1135 (4) - 0 - количество чеков по признаку расчетов [13:29:22] 1201 (0) - 0.00 - общая итоговая сумма в чеках [13:29:22] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [13:29:22] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [13:29:22] 1024 (117) - суммы налогов [13:29:22] 1006 (9) - суммы НДС [13:29:22] 1010 (1) - 0% - код ставки НДС [13:29:22] 1011 (0) - 0.00 - сумма НДС по ставке [13:29:22] 1006 (9) - суммы НДС [13:29:22] 1010 (1) - 12% - код ставки НДС [13:29:22] 1011 (0) - 0.00 - сумма НДС по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 0% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 1% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 2% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 3% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 5% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 0,50% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 1,50% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1132 (141) - счетчики операций «возврат расхода» [13:29:22] 1135 (4) - 0 - количество чеков по признаку расчетов [13:29:22] 1201 (0) - 0.00 - общая итоговая сумма в чеках [13:29:22] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [13:29:22] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [13:29:22] 1024 (117) - суммы налогов [13:29:22] 1006 (9) - суммы НДС [13:29:22] 1010 (1) - 0% - код ставки НДС [13:29:22] 1011 (0) - 0.00 - сумма НДС по ставке [13:29:22] 1006 (9) - суммы НДС [13:29:22] 1010 (1) - 12% - код ставки НДС [13:29:22] 1011 (0) - 0.00 - сумма НДС по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 0% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 1% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 2% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 3% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 5% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 0,50% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1007 (9) - суммы НСП [13:29:22] 1014 (1) - 1,50% - код ставки НСП [13:29:22] 1015 (0) - 0.00 - сумма НСП по ставке [13:29:22] 1133 (588) - - счетчики коррекции - не используются [13:29:22]1077 (6) - 146660946298780 - ФПД [13:29:22]SetTLVBufToDocument [13:29:22]Processing tag 1209 (04B9) [13:29:22]Malloc new data [13:29:22]Processing tag 1041 (0411) [13:29:22]Processing tag 1040 (0410) [13:29:22]Malloc new data [13:29:22]Processing tag 1038 (040E) [13:29:22]Malloc new data [13:29:22]Processing tag 1118 (045E) [13:29:22]Malloc new data [13:29:22]Processing tag 1111 (0457) [13:29:22]Malloc new data [13:29:22]Processing tag 1194 (04AA) [13:29:22]Load OK [13:29:22]SetTLVBufToDocument [13:29:22]Processing tag 1134 (046E) [13:29:22]Malloc new data [13:29:22]Processing tag 1129 (0469) [13:29:22]Load OK [13:29:22]SetTLVBufToDocument [13:29:22]Processing tag 1135 (046F) [13:29:22]Malloc new data [13:29:22]Processing tag 1201 (04B1) [13:29:22]Malloc new data [13:29:22]Processing tag 1136 (0470) [13:29:22]Malloc new data [13:29:22]Processing tag 1138 (0472) [13:29:22]Malloc new data [13:29:22]Processing tag 1024 (0400) [13:29:22]Load OK [13:29:22]SetTLVBufToDocument [13:29:22]Processing tag 1006 (03EE) [13:29:22]Load OK [13:29:22]SetTLVBufToDocument [13:29:22]Processing tag 1010 (03F2) [13:29:22]Malloc new data [13:29:22]Processing tag 1011 (03F3) [13:29:22]Malloc new data [13:29:22]SetTLVBufToDocument err=0 [13:29:22]Processing tag 1006 (03EE) [13:29:22]Load OK [13:29:22]SetTLVBufToDocument [13:29:22]Processing tag 1010 (03F2) [13:29:22]Malloc new data [13:29:22]Processing tag 1011 (03F3) [13:29:22]Malloc new data [13:29:22]SetTLVBufToDocument err=0 [13:29:22]Processing tag 1007 (03EF) [13:29:22]Load OK [13:29:22]SetTLVBufToDocument [13:29:22]Processing tag 1014 (03F6) [13:29:22]Malloc new data [13:29:22]Processing tag 1015 (03F7) [13:29:22]Malloc new data [13:29:22]SetTLVBufToDocument err=0 [13:29:22]Processing tag 1007 (03EF) [13:29:22]Load OK [13:29:22]SetTLVBufToDocument [13:29:22]Processing tag 1014 (03F6) [13:29:22]Malloc new data [13:29:22]Processing tag 1015 (03F7) [13:29:22]Malloc new data [13:29:22]SetTLVBufToDocument err=0 [13:29:22]Processing tag 1007 (03EF) [13:29:22]Load OK [13:29:22]SetTLVBufToDocument [13:29:22]Processing tag 1014 (03F6) [13:29:22]Malloc new data [13:29:22]Processing tag 1015 (03F7) [13:29:22]Malloc new data [13:29:22]SetTLVBufToDocument err=0 [13:29:22]Processing tag 1007 (03EF) [13:29:22]Load OK [13:29:22]SetTLVBufToDocument [13:29:22]Processing tag 1014 (03F6) [13:29:22]Malloc new data [13:29:22]Processing tag 1015 (03F7) [13:29:22]Malloc new data [13:29:22]SetTLVBufToDocument err=0 [13:29:22]Processing tag 1007 (03EF) [13:29:22]Load OK [13:29:22]SetTLVBufToDocument [13:29:22]Processing tag 1014 (03F6) [13:29:22]Malloc new data [13:29:22]Processing tag 1015 (03F7) [13:29:22]Malloc new data [13:29:22]SetTLVBufToDocument err=0 [13:29:22]Processing tag 1007 (03EF) [13:29:22]Load OK [13:29:22]SetTLVBufToDocument [13:29:22]Processing tag 1014 (03F6) [13:29:22]Malloc new data [13:29:22]Processing tag 1015 (03F7) [13:29:22]Malloc new data [13:29:22]SetTLVBufToDocument err=0 [13:29:22]Processing tag 1007 (03EF) [13:29:22]Load OK [13:29:22]SetTLVBufToDocument [13:29:22]Processing tag 1014 (03F6) [13:29:22]Malloc new data [13:29:23]Processing tag 1015 (03F7) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]SetTLVBufToDocument err=0 [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1130 (046A) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1135 (046F) [13:29:23]Malloc new data [13:29:23]Processing tag 1201 (04B1) [13:29:23]Malloc new data [13:29:23]Processing tag 1136 (0470) [13:29:23]Malloc new data [13:29:23]Processing tag 1138 (0472) [13:29:23]Malloc new data [13:29:23]Processing tag 1024 (0400) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1006 (03EE) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1010 (03F2) [13:29:23]Malloc new data [13:29:23]Processing tag 1011 (03F3) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1006 (03EE) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1010 (03F2) [13:29:23]Malloc new data [13:29:23]Processing tag 1011 (03F3) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1007 (03EF) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1014 (03F6) [13:29:23]Malloc new data [13:29:23]Processing tag 1015 (03F7) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1007 (03EF) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1014 (03F6) [13:29:23]Malloc new data [13:29:23]Processing tag 1015 (03F7) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1007 (03EF) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1014 (03F6) [13:29:23]Malloc new data [13:29:23]Processing tag 1015 (03F7) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1007 (03EF) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1014 (03F6) [13:29:23]Malloc new data [13:29:23]Processing tag 1015 (03F7) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1007 (03EF) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1014 (03F6) [13:29:23]Malloc new data [13:29:23]Processing tag 1015 (03F7) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1007 (03EF) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1014 (03F6) [13:29:23]Malloc new data [13:29:23]Processing tag 1015 (03F7) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1007 (03EF) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1014 (03F6) [13:29:23]Malloc new data [13:29:23]Processing tag 1015 (03F7) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]SetTLVBufToDocument err=0 [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1131 (046B) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1135 (046F) [13:29:23]Malloc new data [13:29:23]Processing tag 1201 (04B1) [13:29:23]Malloc new data [13:29:23]Processing tag 1136 (0470) [13:29:23]Malloc new data [13:29:23]Processing tag 1138 (0472) [13:29:23]Malloc new data [13:29:23]Processing tag 1024 (0400) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1006 (03EE) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1010 (03F2) [13:29:23]Malloc new data [13:29:23]Processing tag 1011 (03F3) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1006 (03EE) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1010 (03F2) [13:29:23]Malloc new data [13:29:23]Processing tag 1011 (03F3) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1007 (03EF) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1014 (03F6) [13:29:23]Malloc new data [13:29:23]Processing tag 1015 (03F7) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1007 (03EF) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1014 (03F6) [13:29:23]Malloc new data [13:29:23]Processing tag 1015 (03F7) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1007 (03EF) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1014 (03F6) [13:29:23]Malloc new data [13:29:23]Processing tag 1015 (03F7) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1007 (03EF) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1014 (03F6) [13:29:23]Malloc new data [13:29:23]Processing tag 1015 (03F7) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1007 (03EF) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1014 (03F6) [13:29:23]Malloc new data [13:29:23]Processing tag 1015 (03F7) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1007 (03EF) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1014 (03F6) [13:29:23]Malloc new data [13:29:23]Processing tag 1015 (03F7) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1007 (03EF) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1014 (03F6) [13:29:23]Malloc new data [13:29:23]Processing tag 1015 (03F7) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]SetTLVBufToDocument err=0 [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1132 (046C) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1135 (046F) [13:29:23]Malloc new data [13:29:23]Processing tag 1201 (04B1) [13:29:23]Malloc new data [13:29:23]Processing tag 1136 (0470) [13:29:23]Malloc new data [13:29:23]Processing tag 1138 (0472) [13:29:23]Malloc new data [13:29:23]Processing tag 1024 (0400) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1006 (03EE) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1010 (03F2) [13:29:23]Malloc new data [13:29:23]Processing tag 1011 (03F3) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1006 (03EE) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1010 (03F2) [13:29:23]Malloc new data [13:29:23]Processing tag 1011 (03F3) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1007 (03EF) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1014 (03F6) [13:29:23]Malloc new data [13:29:23]Processing tag 1015 (03F7) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1007 (03EF) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1014 (03F6) [13:29:23]Malloc new data [13:29:23]Processing tag 1015 (03F7) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1007 (03EF) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1014 (03F6) [13:29:23]Malloc new data [13:29:23]Processing tag 1015 (03F7) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1007 (03EF) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1014 (03F6) [13:29:23]Malloc new data [13:29:23]Processing tag 1015 (03F7) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1007 (03EF) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1014 (03F6) [13:29:23]Malloc new data [13:29:23]Processing tag 1015 (03F7) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1007 (03EF) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1014 (03F6) [13:29:23]Malloc new data [13:29:23]Processing tag 1015 (03F7) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1007 (03EF) [13:29:23]Load OK [13:29:23]SetTLVBufToDocument [13:29:23]Processing tag 1014 (03F6) [13:29:23]Malloc new data [13:29:23]Processing tag 1015 (03F7) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]SetTLVBufToDocument err=0 [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1133 (046D) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Processing tag 1077 (0435) [13:29:23]Malloc new data [13:29:23]SetTLVBufToDocument err=0 [13:29:23]Malloc new data [13:29:23]SAM_PROTO_GetFMData [13:29:23]wFMCommunicate request_size=4 [13:29:23]MH_SAM_APDU [13:29:23]CAPDU: 80 13 03 00 [13:29:23]Write to MH i2c: E2 08 00 BF 00 80 13 03 00 00 00 00 00 3E [13:29:23]Write i2c OK [13:29:23]MH_I2C_Read... [13:29:23]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [13:29:23]Read from MH i2c: E2 [13:29:23]MH_I2C_Read... [13:29:23]Read from MH i2c: E2 FD 00 [13:29:23]MH_I2C_Read... [13:29:23]Read from MH i2c: E2 FD 00 BF 00 00 C1 04 85 04 BD 04 6E 04 04 00 57 1E 00 00 69 04 A0 00 6F 04 04 00 2A 1E 00 00 B1 04 04 00 4C 4E 0F 32 70 04 04 00 D8 19 11 2A 72 04 04 00 74 34 FE 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BD 39 51 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 FE 6E 71 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2D 00 00 00 B1 04 04 00 3C 5C 66 01 70 04 04 00 3C 5C 66 01 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A2 0E 26 EF 03 09 00 F6 03 01 90 00 E3 [13:29:23]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 57 1E 00 00 69 04 A0 00 6F 04 04 00 2A 1E 00 00 B1 04 04 00 4C 4E 0F 32 70 04 04 00 D8 19 11 2A 72 04 04 00 74 34 FE 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BD 39 51 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 FE 6E 71 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 2D 00 00 00 B1 04 04 00 3C 5C 66 01 70 04 04 00 3C 5C 66 01 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A2 0E 26 EF 03 09 00 F6 03 01 90 00 [13:29:24]wFMCommunicate OK [13:29:24]wFMCommunicate request_size=4 [13:29:24]MH_SAM_APDU [13:29:24]CAPDU: 80 17 00 00 [13:29:24]Write to MH i2c: E2 08 00 C0 00 80 17 00 00 00 00 00 00 40 [13:29:24]Write i2c OK [13:29:24]MH_I2C_Read... [13:29:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:29:24]Read from MH i2c: E2 [13:29:24]MH_I2C_Read... [13:29:24]Read from MH i2c: E2 FD 00 [13:29:24]MH_I2C_Read... [13:29:24]Read from MH i2c: E2 FD 00 C0 00 00 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E7 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 90 00 85 [13:29:24]RAPDU: 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E7 2B 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 OFD Sender: No OFD packet to send [13:29:24]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 90 00 [13:29:25]wFMCommunicate OK [13:29:25]wFMCommunicate request_size=4 [13:29:25]MH_SAM_APDU [13:29:25]CAPDU: 80 17 00 00 [13:29:25]Write to MH i2c: E2 08 00 C1 00 80 17 00 00 00 00 00 00 41 [13:29:25]Write i2c OK [13:29:25]MH_I2C_Read... [13:29:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:29:25]Read from MH i2c: E2 [13:29:25]MH_I2C_Read... [13:29:25]Read from MH i2c: E2 FD 00 [13:29:25]MH_I2C_Read... [13:29:25]Read from MH i2c: E2 FD 00 C1 00 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E1 [13:29:25]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:29:25]wFMCommunicate OK [13:29:25]wFMCommunicate request_size=4 [13:29:25]MH_SAM_APDU [13:29:25]CAPDU: 80 17 00 00 [13:29:25]Write to MH i2c: E2 08 00 C2 00 80 17 00 00 00 00 00 00 42 [13:29:25]Write i2c OK [13:29:25]MH_I2C_Read... [13:29:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:29:26]Read from MH i2c: E2 [13:29:26]MH_I2C_Read... [13:29:26]Read from MH i2c: E2 FD 00 [13:29:26]MH_I2C_Read... [13:29:26]Read from MH i2c: E2 FD 00 C2 00 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C7 [13:29:26]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:29:26]wFMCommunicate OK [13:29:26]wFMCommunicate request_size=4 [13:29:26]MH_SAM_APDU [13:29:26]CAPDU: 80 17 00 00 [13:29:26]Write to MH i2c: E2 08 00 C3 00 80 17 00 00 00 00 00 00 43 [13:29:26]Write i2c OK [13:29:26]MH_I2C_Read... [13:29:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [13:29:26]Read from MH i2c: E2 [13:29:26]MH_I2C_Read... [13:29:26]Read from MH i2c: E2 DE 00 [13:29:26]MH_I2C_Read... [13:29:26]Read from MH i2c: E2 DE 00 C3 00 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 22 [13:29:27]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:29:27]wFMCommunicate OK [13:29:27]SAM_PROTO_GetFMData done [13:29:27]Malloc new data [13:29:27]Malloc new data [13:29:27]Malloc new data [13:29:27]Malloc new data [13:29:27]KKMLoadAndSignCloseShiftData err=0 [13:29:27]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Ашимов Т. 24.09.2024 13:29 Смена: 72 РНМ: 0000000000190446 ЗНМ: 0300000041 СНО: Общий режим Чеков за смену: 47 ФД за смену: 49 Всего чеков: 47 ИТОГИ ПРИХОД Чеков: 47 Общий итог: 40376.17 Итого наличными: 37470.00 Итого безнал.: 2906.17 НДС 0% : 0.00 НДС 12% : 4289.05 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 357.41 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 37470.00 НС Приход: 8398638.84 НС Возвр.Прихода: 234855.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 7912 ФМ: 0000000002094258 ФПД: 146660946298780 [13:29:27]StoreToDocumentArchive [13:29:27]shift 72 fd 7912 [13:29:27]save to /storage/0072/doc_00007912 [13:29:27]save last doc name /storage/0072/doc_00007912 to /storage/kkm_last_doc_name [13:29:27]save OK [13:29:27]Clear old archive folders... [13:29:27]Remove dir /storage/0010 [13:29:27]opendir ok [13:29:27]file . [13:29:27]file .. [13:29:27]file doc_1727184514 [13:29:27]remove file /storage/0010/doc_1727184514 [13:29:27]remove dir /storage/0010 [13:29:27]NVStorageSaveData kkm_registers [13:29:27]File name is /storage/kkm_registers [13:29:27]Write 24 bytes [13:29:27]NVStorageSaveData done [13:29:27]NVStorageSaveData kkm_registers [13:29:27]File name is /storage/kkm_registers [13:29:27]Write 24 bytes [13:29:27]NVStorageSaveData done [13:29:27]ProcessDocumentItem done err = 0, tmpTLVsize=1375 [13:29:27]tlvbuf is 0084A5D0 [13:29:27]SAM_PROTO_ClearQueue [13:29:27]wFMCommunicate request_size=4 [13:29:27]MH_SAM_APDU [13:29:27]CAPDU: 80 09 00 00 [13:29:27]Write to MH i2c: E2 08 00 C4 00 80 09 00 00 00 00 00 00 36 [13:29:27]Write i2c OK [13:29:27]MH_I2C_Read... [13:29:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:29:27]Read from MH i2c: E2 [13:29:27]MH_I2C_Read... [13:29:27]Read from MH i2c: E2 03 00 [13:29:27]MH_I2C_Read... [13:29:27]Read from MH i2c: E2 03 00 C4 00 00 90 00 38 [13:29:27]RAPDU: 90 00 [13:29:27]wFMCommunicate OK [13:29:27]SAM_PROTO_ClearQueue done [13:29:27]KKMCreateOFDPacket [13:29:27]OFDProtocolAddRootSTLVToBuf [13:29:27]FM_MakeSignedData [13:29:27]FM_MakeSignedData [13:29:27]SAM_PROTO_SignData [13:29:27]wFMCommunicate request_size=4 [13:29:27]MH_SAM_APDU [13:29:27]CAPDU: 80 0D 01 02 [13:29:27]Write to MH i2c: E2 08 00 C5 00 80 0D 01 02 00 00 00 00 3E [13:29:27]Write i2c OK [13:29:27]MH_I2C_Read... [13:29:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:29:27]Read from MH i2c: E2 [13:29:27]MH_I2C_Read... [13:29:27]Read from MH i2c: E2 03 00 [13:29:27]MH_I2C_Read... [13:29:27]Read from MH i2c: E2 03 00 C5 00 00 90 00 39 [13:29:27]RAPDU: 90 00 [13:29:27]wFMCommunicate OK [13:29:27]wFMCommunicate request_size=255 [13:29:27]MH_SAM_APDU [13:29:27]CAPDU: 80 0D 02 02 FA 05 00 5F 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 11 00 D0 90 D1 88 D0 B8 D0 BC D0 BE D0 B2 20 D0 A2 2E 20 F4 03 04 00 AD BE F2 66 0E 04 04 00 48 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 5E 04 04 00 2F 00 00 00 57 04 04 00 31 00 00 00 AA 04 D5 04 6E 04 04 00 2F 00 00 00 69 04 A2 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 F1 9B 3D 70 04 03 00 B8 2C 39 72 04 03 00 39 6F 04 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 69 8B 06 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 [13:29:27]Write to MH i2c: E2 02 01 C6 00 80 0D 02 02 FA 00 05 00 5F 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 11 00 D0 90 D1 88 D0 B8 D0 BC D0 BE D0 B2 20 D0 A2 2E 20 F4 03 04 00 AD BE F2 66 0E 04 04 00 48 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 5E 04 04 00 2F 00 00 00 57 04 04 00 31 00 00 00 AA 04 D5 04 6E 04 04 00 2F 00 00 00 69 04 A2 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 F1 9B 3D 70 04 03 00 B8 2C 39 72 04 03 00 39 6F 04 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 69 8B 06 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 00 00 9B [13:29:28]Write i2c OK [13:29:28]MH_I2C_Read... [13:29:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:29:28]Read from MH i2c: E2 [13:29:28]MH_I2C_Read... [13:29:28]Read from MH i2c: E2 03 00 [13:29:28]MH_I2C_Read... [13:29:28]Read from MH i2c: E2 03 00 C6 00 00 90 00 3A [13:29:28]RAPDU: 90 00 [13:29:28]wFMCommunicate OK [13:29:28]wFMCommunicate request_size=255 [13:29:28]MH_SAM_APDU [13:29:28]CAPDU: 80 0D 02 02 FA 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 9D 8B 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 recv_with_timeout no data received [13:29:28]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 [13:29:28]Write to MH i2c: E2 02 01 C7 00 80 0D 02 02 FA 00 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 9D 8B 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 00 00 DE [13:29:29]Write i2c OK [13:29:29]MH_I2C_Read... [13:29:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:29:29]Read from MH i2c: E2 [13:29:29]MH_I2C_Read... [13:29:29]Read from MH i2c: E2 03 00 [13:29:29]MH_I2C_Read... [13:29:29]Read from MH i2c: E2 03 00 C7 00 00 90 00 3B [13:29:29]RAPDU: 90 00 [13:29:29]wFMCommunicate OK [13:29:29]wFMCommunicate request_size=255 [13:29:29]MH_SAM_APDU [13:29:29]CAPDU: 80 0D 02 02 FA 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 [13:29:29]Write to MH i2c: E2 02 01 C8 00 80 0D 02 02 FA 00 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 00 00 7C [13:29:29]OFD Sender: No OFD packet to send [13:29:29]Write i2c OK [13:29:29]MH_I2C_Read... [13:29:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:29:30]Read from MH i2c: E2 [13:29:30]MH_I2C_Read... [13:29:30]Read from MH i2c: E2 03 00 [13:29:30]MH_I2C_Read... [13:29:30]Read from MH i2c: E2 03 00 C8 00 00 90 00 3C [13:29:30]RAPDU: 90 00 [13:29:30]wFMCommunicate OK [13:29:30]wFMCommunicate request_size=255 [13:29:30]MH_SAM_APDU [13:29:30]CAPDU: 80 0D 02 02 FA 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 [13:29:30]Write to MH i2c: E2 02 01 C9 00 80 0D 02 02 FA 00 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 00 00 8A [13:29:30]Write i2c OK [13:29:30]MH_I2C_Read... [13:29:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:29:31]Read from MH i2c: E2 [13:29:31]MH_I2C_Read... [13:29:31]Read from MH i2c: E2 03 00 [13:29:31]MH_I2C_Read... [13:29:31]Read from MH i2c: E2 03 00 C9 00 00 90 00 3D [13:29:31]RAPDU: 90 00 [13:29:31]wFMCommunicate OK [13:29:31]wFMCommunicate request_size=255 [13:29:31]MH_SAM_APDU [13:29:31]CAPDU: 80 0D 02 02 FA 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [13:29:31]Write to MH i2c: E2 02 01 CA 00 80 0D 02 02 FA 00 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 00 00 DB [13:29:31]Write i2c OK [13:29:31]MH_I2C_Read... [13:29:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:29:31]Read from MH i2c: E2 [13:29:31]MH_I2C_Read... [13:29:31]Read from MH i2c: E2 03 00 [13:29:31]MH_I2C_Read... [13:29:31]Read from MH i2c: E2 03 00 CA 00 00 90 00 3E [13:29:31]RAPDU: 90 00 [13:29:31]wFMCommunicate OK [13:29:31]wFMCommunicate request_size=134 [13:29:31]MH_SAM_APDU [13:29:31]CAPDU: 80 0D 02 02 81 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 E8 1E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 35 04 06 00 85 63 29 9B 47 9C [13:29:32]Write to MH i2c: E2 89 00 CB 00 80 0D 02 02 81 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 E8 1E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 35 04 06 00 85 63 29 9B 47 9C 00 00 14 [13:29:32]Write i2c OK [13:29:32]MH_I2C_Read... [13:29:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:29:32]Read from MH i2c: E2 [13:29:32]MH_I2C_Read... [13:29:32]Read from MH i2c: E2 03 00 [13:29:32]MH_I2C_Read... [13:29:32]Read from MH i2c: E2 03 00 CB 00 00 90 00 3F [13:29:32]RAPDU: 90 00 [13:29:32]wFMCommunicate OK [13:29:32]wFMCommunicate request_size=4 [13:29:32]MH_SAM_APDU [13:29:32]CAPDU: 80 0D 03 02 [13:29:32]Write to MH i2c: E2 08 00 CC 00 80 0D 03 02 00 00 00 00 47 [13:29:32]Write i2c OK [13:29:32]MH_I2C_Read... [13:29:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:29:32]Read from MH i2c: E2 [13:29:32]MH_I2C_Read... [13:29:32]Read from MH i2c: E2 0B 00 [13:29:32]MH_I2C_Read... [13:29:32]Read from MH i2c: E2 0B 00 CC 00 00 CC 05 2C C9 7F 72 E3 A9 90 00 8B [13:29:32]RAPDU: CC 05 2C C9 7F 72 E3 A9 90 00 [13:29:32]wFMCommunicate OK [13:29:32]SAM_PROTO_SignData done [13:29:32]FM_MakeSignedData done [13:29:32]CreateOFDProtocolMessage [13:29:32]wFMCommunicate request_size=4 [13:29:32]MH_SAM_APDU [13:29:32]CAPDU: 80 11 00 00 [13:29:32]Write to MH i2c: E2 08 00 CD 00 80 11 00 00 00 00 00 00 47 [13:29:32]Write i2c OK [13:29:32]MH_I2C_Read... [13:29:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:29:32]Read from MH i2c: E2 [13:29:32]MH_I2C_Read... [13:29:32]Read from MH i2c: E2 17 00 [13:29:32]MH_I2C_Read... [13:29:32]Read from MH i2c: E2 17 00 CD 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 98 [13:29:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 90 00 [13:29:32]wFMCommunicate OK [13:29:32]CreateOFDProtocolMessage done [13:29:32]OFDSenderStorePacket 7912 [13:29:32]StoreOFDPacket docnum=7912 [13:29:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 73 05 00 00 09 82 6B 05 C9 20 5A 05 01 00 05 00 5F 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 11 00 D0 90 D1 88 D0 B8 D0 BC D0 BE D0 B2 20 D0 A2 2E 20 F4 03 04 00 AD BE F2 66 0E 04 04 00 48 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 5E 04 04 00 2F 00 00 00 57 04 04 00 31 00 00 00 AA 04 D5 04 6E 04 04 00 2F 00 00 00 69 04 A2 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 F1 9B 3D 70 04 03 00 B8 2C 39 72 04 03 00 39 6F 04 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 69 8B 06 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 9D 8B 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 E8 1E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 35 04 06 00 85 63 29 9B 47 9C CC 05 2C C9 7F 72 E3 A9 [13:29:33]CheckFolder [13:29:33]dirname=/storage/ofd_packets [13:29:33]CheckFolder done [13:29:33]ProducePacketName [13:29:33]name=ofd_packets/00007912 [13:29:33]NVStorageSaveData ofd_packets/00007912 [13:29:33]File name is /storage/ofd_packets/00007912 [13:29:33]Write 1425 bytes [13:29:33]NVStorageSaveData done [13:29:33]OFDSenderStorePacket done [13:29:33]KKMCreateOFDPacket done [13:29:33]NVStorageSaveData kkm_last_timestamp [13:29:33]File name is /storage/kkm_last_timestamp [13:29:33]Write 4 bytes [13:29:33]NVStorageSaveData done [13:29:33]ExternCall_PrintAddStr [13:29:33]wPrintStart [13:29:33]Write to MH i2c: 01 00 00 CE 00 CE [13:29:33]Write i2c OK [13:29:33]MH_I2C_Read... [13:29:33]Read from MH i2c: 01 [13:29:33]MH_I2C_Read... [13:29:33]Read from MH i2c: 01 07 00 [13:29:33]MH_I2C_Read... [13:29:33]Read from MH i2c: 01 07 00 CE 00 00 00 00 00 00 FF 0F E3 [13:29:33]RasterBufferAndPrint [13:29:33]line Отчет о закрытии смены [13:29:33]line ФФД: 1.0 [13:29:33]line ИНН: 02508201610067 [13:29:33]line Кассир: Ашимов Т. [13:29:33]line 24.09.2024 13:29 [13:29:33]line Смена: 72 [13:29:33]line РНМ: 0000000000190446 [13:29:33]line ЗНМ: 0300000041 [13:29:33]line СНО: Общий режим [13:29:33]line Чеков за смену: 47 [13:29:33]line ФД за смену: 49 [13:29:33]line Всего чеков: 47 [13:29:33]line ИТОГИ ПРИХОД [13:29:33]line Чеков: 47 [13:29:33]line Общий итог: 40376.17 [13:29:33]line Итого наличными: 37470.00 [13:29:33]line Итого безнал.: 2906.17 [13:29:33]line НДС 0% : 0.00 [13:29:33]line НДС 12% : 4289.05 [13:29:33]line НСП 0% : 0.00 [13:29:33]line НСП 1,50% : 0.00 [13:29:33]line НСП 0,50% : 0.00 [13:29:33]line НСП 5% : 0.00 [13:29:33]line НСП 3% : 0.00 [13:29:33]line НСП 2% : 0.00 [13:29:33]line НСП 1% : 357.41 [13:29:33]line ИТОГИ ВОЗВРАТ ПРИХОДА [13:29:33]line Чеков: 0 [13:29:33]line Общий итог: 0.00 [13:29:33]line Итого наличными: 0.00 [13:29:33]line Итого безнал.: 0.00 [13:29:33]line НДС 0% : 0.00 [13:29:33]line НДС 12% : 0.00 [13:29:33]line НСП 0% : 0.00 [13:29:33]line НСП 1,50% : 0.00 [13:29:33]line НСП 0,50% : 0.00 [13:29:33]line НСП 5% : 0.00 [13:29:33]line НСП 3% : 0.00 [13:29:33]line НСП 2% : 0.00 [13:29:33]line НСП 1% : 0.00 [13:29:33]line ИТОГИ РАСХОД [13:29:33]line Чеков: 0 [13:29:33]line Общий итог: 0.00 [13:29:33]line Итого наличными: 0.00 [13:29:33]line Итого безнал.: 0.00 [13:29:33]line НДС 0% : 0.00 [13:29:33]line НДС 12% : 0.00 [13:29:33]line НСП 0% : 0.00 [13:29:33]line НСП 1,50% : 0.00 [13:29:33]line НСП 0,50% : 0.00 [13:29:33]line НСП 5% : 0.00 [13:29:33]line НСП 3% : 0.00 [13:29:33]line НСП 2% : 0.00 [13:29:33]line НСП 1% : 0.00 [13:29:33]line ИТОГИ ВОЗВРАТ РАСХОДА [13:29:33]line Чеков: 0 [13:29:33]line Общий итог: 0.00 [13:29:33]line Итого наличными: 0.00 [13:29:33]line Итого безнал.: 0.00 [13:29:33]line НДС 0% : 0.00 [13:29:33]line НДС 12% : 0.00 [13:29:33]line НСП 0% : 0.00 [13:29:33]line НСП 1,50% : 0.00 [13:29:33]line НСП 0,50% : 0.00 [13:29:33]line НСП 5% : 0.00 [13:29:33]line НСП 3% : 0.00 [13:29:33]line НСП 2% : 0.00 [13:29:33]line НСП 1% : 0.00 [13:29:33]line Сумма внесений: 0.00 [13:29:33]line Сумма выплат: 0.00 [13:29:33]line Нал. в кассе: 37470.00 [13:29:33]line НС Приход: 8398638.84 [13:29:33]line НС Возвр.Прихода: 234855.00 [13:29:33]line НС Расход: 0.00 [13:29:33]OFD Sender: Processing packet 7912 [packets to send 52, broken 51] [13:29:33]ProducePacketName [13:29:33]name=ofd_packets/00007912 [13:29:33]OFD Sender: To server: pG, [13:29:33]CommunicateWithHost lk.salyk.kg:30040 [13:29:33]ConnectInit lk.salyk.kg [13:29:33]line НС Возвр.Расхода: 0.00 [13:29:33]line ФД: 7912 [13:29:33]line ФМ: 0000000002094258 [13:29:33]line ФПД: 146660946298780 [13:29:33]written 0, free lines is 4095 [13:29:33]Connected sock=10 [13:29:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 73 05 00 00 09 82 6B 05 C9 20 5A 05 01 00 05 00 5F 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 11 00 D0 90 D1 88 D0 B8 D0 BC D0 BE D0 B2 20 D0 A2 2E 20 F4 03 04 00 AD BE F2 66 0E 04 04 00 48 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 5E 04 04 00 2F 00 00 00 57 04 04 00 31 00 00 00 AA 04 D5 04 6E 04 04 00 2F 00 00 00 69 04 A2 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 F1 9B 3D 70 04 03 00 B8 2C 39 72 04 03 00 39 Write to MH i2c: 6F 01 04 00 00 00 04 1E 81 01 00 1F EE [13:29:34]03 Write i2c OK [13:29:34]0A MH_I2C_Read... [13:29:34]00 F2 03 01 00 00 F3 03 Read from MH i2c: 01 01 00 [13:29:34]00 MH_I2C_Read... [13:29:34]EE 03 0C 00 F2 03 01 00 01 F3 03 Read from MH i2c: 03 01 00 07 00 69 [13:29:34]8B MH_I2C_Read... [13:29:34]06 EF 03 0A 00 F6 03 Read from MH i2c: 01 01 00 07 00 00 F7 1E 03 01 01 00 00 00 00 00 EF 03 0A 00 F6 03 01 00 06 F7 00 03 00 01 A9 00 0B 00 DA EF [13:29:34]03 RasterBufferAndPrint [13:29:34]0A line [13:29:34]00 line [13:29:34]F6 03 01 00 05 F7 03 01 00 line [13:29:34]00 line [13:29:34]EF line [13:29:34]03 0A 00 F6 03 01 00 04 F7 03 01 00 written 0, free lines is 3213 [13:29:34]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 MH_Cut [13:29:34]F7 Write to MH i2c: 03 D1 02 01 00 9D 8B 6A 04 99 00 6F 04 04 00 00 25 00 01 00 01 00 F8 00 [13:29:34]B1 04 01 00 00 70 04 01 Write i2c OK [13:29:34]00 MH_I2C_Read... [13:29:34]00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 Read from MH i2c: F2 D1 03 [13:29:34]01 MH_I2C_Read... [13:29:34]00 Read from MH i2c: 00 D1 F3 01 03 00 01 [13:29:34]00 MH_I2C_Read... [13:29:34]00 Read from MH i2c: EE D1 03 01 0A 00 F2 03 01 00 01 F3 03 01 00 00 25 00 01 EF 00 03 F7 0A [13:29:34]00 Write to MH i2c: F6 01 03 00 01 00 00 F7 03 01 00 00 EF 00 03 26 0A 01 00 27 F6 [13:29:34]03 Write i2c OK [13:29:34]01 MH_I2C_Read... [13:29:34]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 *** Cut start [13:29:35]EF *** Purtial cut [13:29:35]03 *** Stage 1: CUTSNS_PIN = 1 [13:29:35]09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 Read from MH i2c: 09 00 F6 03 01 00 04 F7 01 03 [13:29:35]00 MH_I2C_Read... [13:29:35]00 Read from MH i2c: EF 01 03 07 09 00 *** Stop cut motor [13:29:35]*** Cut end [13:29:35]00 F6 03 01 00 05 F7 [13:29:35]03 MH_I2C_Read... [13:29:35]00 Read from MH i2c: 00 01 EF 07 03 00 09 26 00 01 F6 00 03 00 01 00 00 00 06 00 F7 03 00 00 D0 04 8D 00 6F 04 FF 04 0F 00 3C 00 [13:29:35]00 00 00 B1 04 00 00 70 04 00 process_action close_shift done [13:29:35]00 requested_data is exist [13:29:35]72 produce_requested_data [13:29:35]04 requested_item fd.num is exist - process it [13:29:35]00 00 00 04 75 00 EE 03 09 00 SAM_PROTO_GetFieldsCounters [13:29:35]F2 wFMCommunicate request_size=4 [13:29:35]03 MH_SAM_APDU [13:29:35]01 CAPDU: 00 00 F3 03 00 00 EE 03 09 00 80 F2 13 03 00 01 00 00 01 F3 03 00 00 EF 03 09 00 [13:29:35]F6 Write to MH i2c: 03 E2 01 08 00 00 F7 03 00 00 EF 03 09 00 00 F6 27 03 01 01 80 00 13 01 00 F7 00 03 00 00 00 00 00 EF 00 03 A4 09 [13:29:35]00 F6 03 01 00 02 F7 03 00 00 Write i2c OK [13:29:35]EF 03 MH_I2C_Read... [13:29:35]09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 Read from MH i2c: 09 E2 00 [13:29:35]F2 MH_I2C_Read... [13:29:35]03 01 Read from MH i2c: 00 E2 00 62 F3 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 [13:29:36]00 MH_I2C_Read... [13:29:36]00 EF 03 09 00 Read from MH i2c: F6 E2 03 62 01 00 00 04 F7 03 00 00 27 EF 01 03 09 00 F6 03 00 01 5D 00 05 F7 03 00 00 00 EF B9 03 09 00 F6 03 01 04 00 01 *** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:29:36]00 06 01 F7 11 03 04 00 10 00 00 D1 30 04 30 8D 00 6F 04 04 00 00 00 00 00 30 B1 30 04 30 00 30 00 70 04 00 00 72 04 00 00 00 30 04 30 75 30 00 32 EE 03 09 00 F2 03 01 00 00 F3 30 03 39 00 34 00 32 EE 03 09 00 F2 03 01 00 01 F3 35 03 38 00 0D 00 04 EF 03 09 00 F6 03 01 00 00 F7 10 03 00 00 30 00 30 EF 03 09 00 F6 03 01 00 01 F7 30 03 30 00 30 00 30 EF 03 09 00 F6 03 01 00 02 F7 30 03 30 00 30 00 30 EF 03 09 00 F6 03 01 00 03 F7 31 03 39 00 30 00 34 EF 34 03 36 09 10 00 04 F6 04 00 E8 1E 00 00 0E 04 04 00 03 48 01 00 00 00 04 00 F7 12 03 04 04 00 2F 00 00 00 00 00 5E EF 04 03 04 00 2F 00 00 00 57 04 04 00 09 31 00 00 F6 00 03 00 19 04 04 00 00 00 00 00 90 01 00 00 9E 05 [13:29:36]F7 RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 E8 1E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 35 04 06 00 85 63 29 9B 47 9C CC 05 2C C9 7F 72 E3 A9 [13:29:36]5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 10 04 04 00 E8 1E 00 00 0E 04 04 00 48 00 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:29:36]wFMCommunicate OK [13:29:36]SAM_PROTO_GetFieldsCounters done [13:29:36]requested_item shift.num is exist - process it [13:29:36]requested_item shift.opened is exist - process it [13:29:36]req_shift_opened [13:29:36]FM_GetShiftState [13:29:36]SAM_PROTO_GetShiftState [13:29:36]wFMCommunicate request_size=4 [13:29:36]MH_SAM_APDU [13:29:36]CAPDU: 80 13 01 00 [13:29:36]Write to MH i2c: E2 08 00 28 01 80 13 01 00 00 00 00 00 A6 [13:29:36]Write i2c OK [13:29:36]MH_I2C_Read... [13:29:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:29:36]Read from MH i2c: E2 [13:29:36]MH_I2C_Read... [13:29:36]Read from MH i2c: E2 0E 00 [13:29:36]MH_I2C_Read... [13:29:36]Read from MH i2c: E2 0E 00 28 01 00 09 00 00 00 00 00 00 00 00 00 00 90 00 B1 [13:29:36]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [13:29:37]wFMCommunicate OK [13:29:37]SAM_PROTO_GetShiftState done [13:29:37]FM_GetShiftState done [13:29:37]req_shift_opened done [13:29:37]requested_item shift.open_date is exist - process it [13:29:37]req_shift_open_date [13:29:37]FM_GetShiftState [13:29:37]SAM_PROTO_GetShiftState [13:29:37]wFMCommunicate request_size=4 [13:29:37]MH_SAM_APDU [13:29:37]CAPDU: 80 13 01 00 [13:29:37]Write to MH i2c: E2 08 00 29 01 80 13 01 00 00 00 00 00 A7 [13:29:37]Write i2c OK [13:29:37]MH_I2C_Read... [13:29:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:29:37]Read from MH i2c: E2 [13:29:37]MH_I2C_Read... [13:29:37]Read from MH i2c: E2 0E 00 [13:29:37]MH_I2C_Read... [13:29:37]Read from MH i2c: E2 0E 00 29 01 00 09 00 00 00 00 00 00 00 00 00 00 90 00 B2 [13:29:37]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [13:29:37]wFMCommunicate OK [13:29:37]SAM_PROTO_GetShiftState done [13:29:37]FM_GetShiftState done [13:29:37]req_shift_open_date done [13:29:37]produce_requested_data done [13:29:37]produce_requested_data return {"fd.num":7912,"shift.num":72,"shift.opened":0,"shift.open_date":0} [13:29:37]process_action_free close_shift [13:29:37]json_value_free [13:29:37]json_value_free done [13:29:37]process_json_proto returns [13:29:37]Send response to host [13:29:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":7912,"shift.num":72,"shift.opened":0,"shift.open_date":0}}} [13:29:37]free response buf [13:29:37]execute_script done [13:29:37]execute_script returns [13:29:37]free content buf [13:29:37]Sock 9.Close socket [13:29:37]Sock 9.Thread stoped [13:29:38]recv_with_timeout no data received [13:29:41]recv_with_timeout no data received [13:29:41]CommunicateWithHost answer receiving error [13:29:41]CommunicateWithHost err = -3 [13:29:41]OFD Sender: Server communicate error [13:29:46]OFD Sender: Processing packet 7912 [packets to send 52, broken 51] [13:29:46]ProducePacketName [13:29:46]name=ofd_packets/00007912 [13:29:46]OFD Sender: To server: pG, [13:29:46]CommunicateWithHost lk.salyk.kg:30040 [13:29:46]ConnectInit lk.salyk.kg [13:29:51]ConnectInit Can't take IP for lk.salyk.kg [13:29:51]CommunicateWithHost connect error [13:29:51]CommunicateWithHost err = -1 [13:29:51]OFD Sender: Server communicate error [13:29:56]recv_with_timeout no data received [13:29:56]OFD Sender: Processing packet 7912 [packets to send 52, broken 51] [13:29:56]ProducePacketName [13:29:56]name=ofd_packets/00007912 [13:29:56]OFD Sender: To server: pG, [13:29:56]CommunicateWithHost lk.salyk.kg:30040 [13:29:56]ConnectInit lk.salyk.kg [13:30:01]ConnectInit Can't take IP for lk.salyk.kg [13:30:01]CommunicateWithHost connect error [13:30:01]CommunicateWithHost err = -1 [13:30:01]OFD Sender: Server communicate error [13:30:06]OFD Sender: Processing packet 7912 [packets to send 52, broken 51] [13:30:06]ProducePacketName [13:30:06]name=ofd_packets/00007912 [13:30:06]OFD Sender: To server: pG, [13:30:06]CommunicateWithHost lk.salyk.kg:30040 [13:30:06]ConnectInit lk.salyk.kg [13:30:11]ConnectInit Can't take IP for lk.salyk.kg [13:30:11]CommunicateWithHost connect error [13:30:11]CommunicateWithHost err = -1 [13:30:11]OFD Sender: Server communicate error [13:30:16]OFD Sender: Processing packet 7912 [packets to send 52, broken 51] [13:30:16]ProducePacketName [13:30:16]name=ofd_packets/00007912 [13:30:16]OFD Sender: To server: pG, [13:30:16]CommunicateWithHost lk.salyk.kg:30040 [13:30:16]ConnectInit lk.salyk.kg [13:30:21]ConnectInit Can't take IP for lk.salyk.kg [13:30:21]CommunicateWithHost connect error [13:30:21]CommunicateWithHost err = -1 [13:30:21]OFD Sender: Server communicate error [13:30:23]recv_with_timeout no data received [13:30:26]OFD Sender: Processing packet 7912 [packets to send 52, broken 51] [13:30:26]ProducePacketName [13:30:26]name=ofd_packets/00007912 [13:30:26]OFD Sender: To server: pG, [13:30:26]CommunicateWithHost lk.salyk.kg:30040 [13:30:26]ConnectInit lk.salyk.kg [13:30:31]ConnectInit Can't take IP for lk.salyk.kg [13:30:31]CommunicateWithHost connect error [13:30:31]CommunicateWithHost err = -1 [13:30:31]OFD Sender: Server communicate error [13:30:36]OFD Sender: Processing packet 7912 [packets to send 52, broken 51] [13:30:36]ProducePacketName [13:30:36]name=ofd_packets/00007912 [13:30:36]OFD Sender: To server: pG, [13:30:36]CommunicateWithHost lk.salyk.kg:30040 [13:30:36]ConnectInit lk.salyk.kg [13:30:41]ConnectInit Can't take IP for lk.salyk.kg [13:30:41]CommunicateWithHost connect error [13:30:41]CommunicateWithHost err = -1 [13:30:41]OFD Sender: Server communicate error [13:30:46]OFD Sender: Processing packet 7912 [packets to send 52, broken 51] [13:30:46]ProducePacketName [13:30:46]name=ofd_packets/00007912 [13:30:46]OFD Sender: To server: pG, [13:30:46]CommunicateWithHost lk.salyk.kg:30040 [13:30:46]ConnectInit lk.salyk.kg [13:30:51]ConnectInit Can't take IP for lk.salyk.kg [13:30:51]CommunicateWithHost connect error [13:30:51]CommunicateWithHost err = -1 [13:30:51]OFD Sender: Server communicate error [13:30:55]recv_with_timeout no data received [13:30:56]OFD Sender: Processing packet 7912 [packets to send 52, broken 51] [13:30:56]ProducePacketName [13:30:56]name=ofd_packets/00007912 [13:30:56]OFD Sender: To server: pG, [13:30:56]CommunicateWithHost lk.salyk.kg:30040 [13:30:56]ConnectInit lk.salyk.kg [13:31:01]ConnectInit Can't connect to host [13:31:01]ConnectInit Can't take IP for lk.salyk.kg [13:31:01]CommunicateWithHost connect error [13:31:01]CommunicateWithHost err = -1 [13:31:01]OFD Sender: Server communicate error [13:31:06]ConnectInit Can't connect to host [13:31:06]OFD Sender: Processing packet 7912 [packets to send 52, broken 51] [13:31:06]ProducePacketName [13:31:06]name=ofd_packets/00007912 [13:31:06]OFD Sender: To server: pG, [13:31:06]CommunicateWithHost lk.salyk.kg:30040 [13:31:06]ConnectInit lk.salyk.kg [13:31:07]int [13:31:07]Write to MH i2c: 01 00 00 2A 01 2B [13:31:07]*** FLAG_PRN_KEY set [13:31:07]Write i2c OK [13:31:07]MH_I2C_Read... [13:31:07]Read from MH i2c: 01 [13:31:07]MH_I2C_Read... [13:31:07]Read from MH i2c: 01 07 00 [13:31:07]MH_I2C_Read... [13:31:07]Read from MH i2c: 01 07 00 2A 01 00 08 00 00 00 FF 0F 48 [13:31:07]state=0 [13:31:07]Key pressed [13:31:07]Feed [13:31:07]Write to MH i2c: D8 00 00 2B 01 03 [13:31:07]Write i2c OK [13:31:07]MH_I2C_Read... [13:31:07]Read from MH i2c: D8 [13:31:07]MH_I2C_Read... [13:31:07]Read from MH i2c: D8 01 00 [13:31:07]MH_I2C_Read... [13:31:07]Read from MH i2c: D8 01 00 2B 01 00 04 [13:31:07]int line is 0 - check status [13:31:07]Write to MH i2c: 01 00 00 2C 01 2D [13:31:07]Write i2c OK [13:31:07]MH_I2C_Read... [13:31:07]Read from MH i2c: 01 [13:31:07]MH_I2C_Read... [13:31:07]Read from MH i2c: 01 07 00 [13:31:07]MH_I2C_Read... [13:31:07]Read from MH i2c: 01 07 00 2C 01 00 48 00 00 00 3C 00 B8 [13:31:07]state=2 [13:31:07]Key pressed [13:31:07]int [13:31:07]Write to MH i2c: 01 00 00 2D 01 2E [13:31:07]Write i2c OK [13:31:07]MH_I2C_Read... [13:31:07]Read from MH i2c: 01 [13:31:07]MH_I2C_Read... [13:31:07]Read from MH i2c: 01 07 00 [13:31:07]MH_I2C_Read... [13:31:07]Read from MH i2c: 01 07 00 2D 01 00 48 00 00 00 3C 00 B9 [13:31:07]state=2 [13:31:07]Key pressed [13:31:07]int [13:31:07]Write to MH i2c: 01 00 00 2E 01 2F [13:31:07]*** FLAG_PRN_KEY reset [13:31:07]Write i2c OK [13:31:07]MH_I2C_Read... [13:31:07]Read from MH i2c: 01 [13:31:07]MH_I2C_Read... [13:31:07]Read from MH i2c: 01 07 00 [13:31:07]MH_I2C_Read... [13:31:07]Read from MH i2c: 01 07 00 2E 01 00 00 00 00 00 FF 0F 44 [13:31:07]state=2 [13:31:07]Stop feed [13:31:11]ConnectInit Can't connect to host [13:31:11]ConnectInit Can't take IP for lk.salyk.kg [13:31:11]CommunicateWithHost connect error [13:31:11]CommunicateWithHost err = -1 [13:31:11]OFD Sender: Server communicate error [13:31:16]ConnectInit Can't connect to host [13:31:16]OFD Sender: Processing packet 7912 [packets to send 52, broken 51] [13:31:16]ProducePacketName [13:31:16]name=ofd_packets/00007912 [13:31:16]OFD Sender: To server: pG, [13:31:16]CommunicateWithHost lk.salyk.kg:30040 [13:31:16]ConnectInit lk.salyk.kg [13:31:21]ConnectInit Can't connect to host [13:31:21]ConnectInit Can't take IP for lk.salyk.kg [13:31:21]CommunicateWithHost connect error [13:31:21]CommunicateWithHost err = -1 [13:31:21]OFD Sender: Server communicate error [13:31:26]OFD Sender: Processing packet 7912 [packets to send 52, broken 51] [13:31:26]ProducePacketName [13:31:26]name=ofd_packets/00007912 [13:31:26]OFD Sender: To server: pG, [13:31:26]CommunicateWithHost lk.salyk.kg:30040 [13:31:26]ConnectInit lk.salyk.kg [13:31:32]ConnectInit Can't take IP for lk.salyk.kg [13:31:32]CommunicateWithHost connect error [13:31:32]CommunicateWithHost err = -1 [13:31:32]OFD Sender: Server communicate error [13:31:37]OFD Sender: Processing packet 7912 [packets to send 52, broken 51] [13:31:37]ProducePacketName [13:31:37]name=ofd_packets/00007912 [13:31:37]OFD Sender: To server: pG, [13:31:37]CommunicateWithHost lk.salyk.kg:30040 [13:31:37]ConnectInit lk.salyk.kg [13:31:42]ConnectInit Can't take IP for lk.salyk.kg [13:31:42]CommunicateWithHost connect error [13:31:42]CommunicateWithHost err = -1 [13:31:42]OFD Sender: Server communicate error [13:31:47]OFD Sender: Processing packet 7912 [packets to send 52, broken 51] [13:31:47]ProducePacketName [13:31:47]name=ofd_packets/00007912 [13:31:47]OFD Sender: To server: pG, [13:31:47]CommunicateWithHost lk.salyk.kg:30040 [13:31:47]ConnectInit lk.salyk.kg [13:31:52]ConnectInit Can't take IP for lk.salyk.kg [13:31:52]CommunicateWithHost connect error [13:31:52]CommunicateWithHost err = -1 [13:31:52]OFD Sender: Server communicate error [13:31:57]OFD Sender: Processing packet 7912 [packets to send 52, broken 51] [13:31:57]ProducePacketName [13:31:57]name=ofd_packets/00007912 [13:31:57]OFD Sender: To server: pG, [13:31:57]CommunicateWithHost lk.salyk.kg:30040 [13:31:57]ConnectInit lk.salyk.kg [13:31:59]Connected sock=10 [13:31:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 73 05 00 00 09 82 6B 05 C9 20 5A 05 01 00 05 00 5F 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 11 00 D0 90 D1 88 D0 B8 D0 BC D0 BE D0 B2 20 D0 A2 2E 20 F4 03 04 00 AD BE F2 66 0E 04 04 00 48 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 39 30 34 34 36 5E 04 04 00 2F 00 00 00 57 04 04 00 31 00 00 00 AA 04 D5 04 6E 04 04 00 2F 00 00 00 69 04 A2 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 F1 9B 3D 70 04 03 00 B8 2C 39 72 04 03 00 39 6F 04 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 69 8B 06 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 9D 8B 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 E8 1E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 35 04 06 00 85 63 29 9B 47 9C CC 05 2C C9 7F 72 E3 A9 [13:32:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 4F 00 00 00 B7 E1 47 00 F3 EB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 32 30 39 34 32 35 38 10 04 04 00 E8 1E 00 00 F4 03 04 00 06 6A F2 66 B6 04 01 00 00 E1 FE 81 37 12 0B 85 3E [13:32:00]CommunicateWithHost err = 0 [13:32:00]CheckOFDResponse [13:32:00]1017 (14) - 77093643461234 [13:32:00]1041 (16) - 0000000002094258 [13:32:00]1040 (4) - 7912 [13:32:00]1012 (4) - 24.09.2024 07:28 [13:32:00]1206 (1) - 0 [13:32:00]OFD Sender: Remove packet 7912 [13:32:00]ProducePacketName [13:32:00]name=ofd_packets/00007912 [13:32:00]NVStorageDeleteData [13:32:01]OFD Sender: No OFD packet to send [13:32:06]OFD Sender: No OFD packet to send [13:32:11]OFD Sender: No OFD packet to send [13:32:16]OFD Sender: No OFD packet to send [13:32:21]OFD Sender: No OFD packet to send [13:32:26]OFD Sender: No OFD packet to send [13:32:31]OFD Sender: No OFD packet to send [13:32:36]OFD Sender: No OFD packet to send [13:32:41]OFD Sender: No OFD packet to send [13:32:46]OFD Sender: No OFD packet to send [13:32:51]OFD Sender: No OFD packet to send [13:32:56]OFD Sender: No OFD packet to send [13:33:01]OFD Sender: No OFD packet to send [13:33:06]OFD Sender: No OFD packet to send [13:33:09]recv_with_timeout no data received [13:33:11]OFD Sender: No OFD packet to send [13:33:16]OFD Sender: No OFD packet to send [13:33:21]OFD Sender: No OFD packet to send [13:33:26]OFD Sender: No OFD packet to send [13:33:31]OFD Sender: No OFD packet to send [13:33:36]OFD Sender: No OFD packet to send [13:33:41]OFD Sender: No OFD packet to send [13:33:46]OFD Sender: No OFD packet to send [13:33:51]OFD Sender: No OFD packet to send [13:33:56]OFD Sender: No OFD packet to send [13:34:01]OFD Sender: No OFD packet to send [13:34:06]OFD Sender: No OFD packet to send [13:34:11]OFD Sender: No OFD packet to send [13:34:16]OFD Sender: No OFD packet to send [13:34:21]OFD Sender: No OFD packet to send [13:34:26]OFD Sender: No OFD packet to send [13:34:31]OFD Sender: No OFD packet to send [13:34:36]OFD Sender: No OFD packet to send [13:34:41]OFD Sender: No OFD packet to send [13:34:46]OFD Sender: No OFD packet to send [13:34:51]OFD Sender: No OFD packet to send [13:34:56]OFD Sender: No OFD packet to send [13:35:01]OFD Sender: No OFD packet to send [13:35:06]OFD Sender: No OFD packet to send [13:35:11]OFD Sender: No OFD packet to send [13:35:16]OFD Sender: No OFD packet to send [13:35:21]OFD Sender: No OFD packet to send [13:35:26]OFD Sender: No OFD packet to send [13:35:27]recv_with_timeout no data received [13:35:31]OFD Sender: No OFD packet to send [13:35:36]OFD Sender: No OFD packet to send [13:35:41]OFD Sender: No OFD packet to send [13:35:46]OFD Sender: No OFD packet to send [13:35:51]OFD Sender: No OFD packet to send [13:35:56]OFD Sender: No OFD packet to send [13:36:01]OFD Sender: No OFD packet to send [13:36:06]OFD Sender: No OFD packet to send [13:36:11]OFD Sender: No OFD packet to send [13:36:16]OFD Sender: No OFD packet to send [13:36:21]OFD Sender: No OFD packet to send [13:36:26]OFD Sender: No OFD packet to send [13:36:31]OFD Sender: No OFD packet to send [13:36:36]OFD Sender: No OFD packet to send [13:36:41]OFD Sender: No OFD packet to send [13:36:46]OFD Sender: No OFD packet to send [13:36:51]OFD Sender: No OFD packet to send [13:36:56]OFD Sender: No OFD packet to send [13:37:01]OFD Sender: No OFD packet to send [13:37:06]OFD Sender: No OFD packet to send [13:37:11]OFD Sender: No OFD packet to send [13:37:16]OFD Sender: No OFD packet to send [13:37:21]OFD Sender: No OFD packet to send [13:37:26]OFD Sender: No OFD packet to send [13:37:31]OFD Sender: No OFD packet to send [13:37:36]OFD Sender: No OFD packet to send [13:37:41]OFD Sender: No OFD packet to send [13:37:46]OFD Sender: No OFD packet to send [13:37:51]OFD Sender: No OFD packet to send [13:37:56]OFD Sender: No OFD packet to send [13:38:01]OFD Sender: No OFD packet to send [13:38:06]OFD Sender: No OFD packet to send [13:38:11]OFD Sender: No OFD packet to send [13:38:16]OFD Sender: No OFD packet to send [13:38:21]OFD Sender: No OFD packet to send [13:38:26]OFD Sender: No OFD packet to send [13:38:31]OFD Sender: No OFD packet to send [13:38:36]OFD Sender: No OFD packet to send [13:38:41]OFD Sender: No OFD packet to send [13:38:46]OFD Sender: No OFD packet to send [13:38:51]OFD Sender: No OFD packet to send [13:38:56]OFD Sender: No OFD packet to send [13:39:01]OFD Sender: No OFD packet to send [13:39:06]OFD Sender: No OFD packet to send [13:39:11]OFD Sender: No OFD packet to send [13:39:16]OFD Sender: No OFD packet to send [13:39:21]OFD Sender: No OFD packet to send [13:39:26]OFD Sender: No OFD packet to send [13:39:31]OFD Sender: No OFD packet to send [13:39:36]OFD Sender: No OFD packet to send [13:39:37]recv_with_timeout no data received [13:39:41]OFD Sender: No OFD packet to send [13:39:46]OFD Sender: No OFD packet to send [13:39:48]recv_with_timeout no data received [13:39:51]OFD Sender: No OFD packet to send [13:39:56]OFD Sender: No OFD packet to send [13:39:59]recv_with_timeout no data received [13:40:01]OFD Sender: No OFD packet to send [13:40:06]OFD Sender: No OFD packet to send [13:40:11]OFD Sender: No OFD packet to send [13:40:16]OFD Sender: No OFD packet to send [13:40:21]OFD Sender: No OFD packet to send [13:40:26]OFD Sender: No OFD packet to send [13:40:31]OFD Sender: No OFD packet to send [13:40:36]OFD Sender: No OFD packet to send [13:40:41]OFD Sender: No OFD packet to send [13:40:46]OFD Sender: No OFD packet to send [13:40:51]OFD Sender: No OFD packet to send [13:40:56]OFD Sender: No OFD packet to send [13:41:01]OFD Sender: No OFD packet to send [13:41:06]OFD Sender: No OFD packet to send [13:41:11]OFD Sender: No OFD packet to send [13:41:16]OFD Sender: No OFD packet to send [13:41:21]OFD Sender: No OFD packet to send [13:41:26]OFD Sender: No OFD packet to send [13:41:31]OFD Sender: No OFD packet to send [13:41:36]OFD Sender: No OFD packet to send [13:41:41]OFD Sender: No OFD packet to send [13:41:46]OFD Sender: No OFD packet to send [13:41:51]OFD Sender: No OFD packet to send [13:41:56]OFD Sender: No OFD packet to send [13:42:01]OFD Sender: No OFD packet to send [13:42:06]OFD Sender: No OFD packet to send [13:42:11]OFD Sender: No OFD packet to send [13:42:16]OFD Sender: No OFD packet to send [13:42:21]OFD Sender: No OFD packet to send [13:42:26]OFD Sender: No OFD packet to send [13:42:31]OFD Sender: No OFD packet to send [13:42:36]recv_with_timeout no data received [13:42:36]OFD Sender: No OFD packet to send [13:42:41]OFD Sender: No OFD packet to send [13:42:46]OFD Sender: No OFD packet to send [13:42:51]OFD Sender: No OFD packet to send [13:42:56]OFD Sender: No OFD packet to send [13:43:02]OFD Sender: No OFD packet to send [13:43:07]OFD Sender: No OFD packet to send [13:43:12]OFD Sender: No OFD packet to send [13:43:17]OFD Sender: No OFD packet to send [13:43:22]OFD Sender: No OFD packet to send [13:43:27]OFD Sender: No OFD packet to send [13:43:32]OFD Sender: No OFD packet to send [13:43:37]OFD Sender: No OFD packet to send [13:43:42]OFD Sender: No OFD packet to send [13:43:47]OFD Sender: No OFD packet to send [13:43:52]OFD Sender: No OFD packet to send [13:43:57]OFD Sender: No OFD packet to send [13:44:02]OFD Sender: No OFD packet to send [13:44:07]OFD Sender: No OFD packet to send [13:44:12]OFD Sender: No OFD packet to send [13:44:17]OFD Sender: No OFD packet to send [13:44:22]OFD Sender: No OFD packet to send [13:44:27]OFD Sender: No OFD packet to send [13:44:32]OFD Sender: No OFD packet to send [13:44:37]OFD Sender: No OFD packet to send [13:44:42]OFD Sender: No OFD packet to send [13:44:47]OFD Sender: No OFD packet to send [13:44:52]OFD Sender: No OFD packet to send [13:44:57]OFD Sender: No OFD packet to send [13:45:02]OFD Sender: No OFD packet to send [13:45:07]OFD Sender: No OFD packet to send [13:45:12]OFD Sender: No OFD packet to send [13:45:17]OFD Sender: No OFD packet to send [13:45:22]OFD Sender: No OFD packet to send [13:45:27]OFD Sender: No OFD packet to send [13:45:32]OFD Sender: No OFD packet to send [13:45:37]OFD Sender: No OFD packet to send [13:45:42]OFD Sender: No OFD packet to send [13:45:47]OFD Sender: No OFD packet to send [13:45:52]OFD Sender: No OFD packet to send [13:45:57]OFD Sender: No OFD packet to send [13:46:02]OFD Sender: No OFD packet to send [13:46:07]OFD Sender: No OFD packet to send [13:46:07]recv_with_timeout no data received [13:46:12]OFD Sender: No OFD packet to send [13:46:17]OFD Sender: No OFD packet to send [13:46:22]OFD Sender: No OFD packet to send [13:46:27]OFD Sender: No OFD packet to send [13:46:32]OFD Sender: No OFD packet to send [13:46:37]OFD Sender: No OFD packet to send [13:46:42]OFD Sender: No OFD packet to send [13:46:47]OFD Sender: No OFD packet to send [13:46:52]OFD Sender: No OFD packet to send [13:46:57]OFD Sender: No OFD packet to send [13:47:02]OFD Sender: No OFD packet to send [13:47:07]OFD Sender: No OFD packet to send [13:47:12]OFD Sender: No OFD packet to send [13:47:17]OFD Sender: No OFD packet to send [13:47:22]OFD Sender: No OFD packet to send [13:47:27]OFD Sender: No OFD packet to send [13:47:32]OFD Sender: No OFD packet to send [13:47:37]OFD Sender: No OFD packet to send [13:47:42]OFD Sender: No OFD packet to send [13:47:47]OFD Sender: No OFD packet to send [13:47:52]OFD Sender: No OFD packet to send [13:47:57]OFD Sender: No OFD packet to send [13:48:02]OFD Sender: No OFD packet to send [13:48:07]OFD Sender: No OFD packet to send [13:48:12]OFD Sender: No OFD packet to send [13:48:17]OFD Sender: No OFD packet to send [13:48:22]OFD Sender: No OFD packet to send [13:48:27]OFD Sender: No OFD packet to send [13:48:32]OFD Sender: No OFD packet to send [13:48:37]OFD Sender: No OFD packet to send [13:48:42]OFD Sender: No OFD packet to send [13:48:47]OFD Sender: No OFD packet to send [13:48:52]OFD Sender: No OFD packet to send [13:48:57]OFD Sender: No OFD packet to send [13:49:02]OFD Sender: No OFD packet to send [13:49:07]OFD Sender: No OFD packet to send [13:49:07]recv_with_timeout no data received [13:49:12]OFD Sender: No OFD packet to send [13:49:17]OFD Sender: No OFD packet to send [13:49:22]OFD Sender: No OFD packet to send [13:49:27]OFD Sender: No OFD packet to send [13:49:32]OFD Sender: No OFD packet to send [13:49:37]OFD Sender: No OFD packet to send [13:49:42]OFD Sender: No OFD packet to send [13:49:47]OFD Sender: No OFD packet to send [13:49:52]OFD Sender: No OFD packet to send [13:49:57]OFD Sender: No OFD packet to send [13:50:02]OFD Sender: No OFD packet to send [13:50:07]OFD Sender: No OFD packet to send [13:50:12]OFD Sender: No OFD packet to send [13:50:17]OFD Sender: No OFD packet to send [13:50:22]OFD Sender: No OFD packet to send [13:50:27]OFD Sender: No OFD packet to send [13:50:32]OFD Sender: No OFD packet to send [13:50:37]OFD Sender: No OFD packet to send [13:50:42]OFD Sender: No OFD packet to send [13:50:47]OFD Sender: No OFD packet to send [13:50:52]OFD Sender: No OFD packet to send [13:50:57]OFD Sender: No OFD packet to send [13:51:02]OFD Sender: No OFD packet to send [13:51:07]OFD Sender: No OFD packet to send [13:51:12]OFD Sender: No OFD packet to send [13:51:14]recv_with_timeout no data received [13:51:17]OFD Sender: No OFD packet to send [13:51:22]OFD Sender: No OFD packet to send [13:51:27]OFD Sender: No OFD packet to send [13:51:32]OFD Sender: No OFD packet to send [13:51:37]OFD Sender: No OFD packet to send [13:51:42]OFD Sender: No OFD packet to send [13:51:47]OFD Sender: No OFD packet to send [13:51:52]OFD Sender: No OFD packet to send [13:51:57]OFD Sender: No OFD packet to send [13:52:02]OFD Sender: No OFD packet to send [13:52:07]OFD Sender: No OFD packet to send [13:52:12]OFD Sender: No OFD packet to send [13:52:17]OFD Sender: No OFD packet to send [13:52:22]OFD Sender: No OFD packet to send [13:52:27]OFD Sender: No OFD packet to send [13:52:32]OFD Sender: No OFD packet to send [13:52:37]OFD Sender: No OFD packet to send [13:52:42]OFD Sender: No OFD packet to send [13:52:47]OFD Sender: No OFD packet to send [13:52:52]OFD Sender: No OFD packet to send [13:52:57]OFD Sender: No OFD packet to send [13:53:02]OFD Sender: No OFD packet to send [13:53:07]OFD Sender: No OFD packet to send [13:53:12]OFD Sender: No OFD packet to send [13:53:17]OFD Sender: No OFD packet to send [13:53:22]recv_with_timeout no data received [13:53:22]OFD Sender: No OFD packet to send [13:53:27]OFD Sender: No OFD packet to send [13:53:32]OFD Sender: No OFD packet to send [13:53:37]OFD Sender: No OFD packet to send [13:53:42]OFD Sender: No OFD packet to send [13:53:47]OFD Sender: No OFD packet to send [13:53:51]recv_with_timeout no data received [13:53:52]OFD Sender: No OFD packet to send [13:53:57]OFD Sender: No OFD packet to send [13:54:02]OFD Sender: No OFD packet to send [13:54:07]OFD Sender: No OFD packet to send [13:54:12]OFD Sender: No OFD packet to send [13:54:17]OFD Sender: No OFD packet to send [13:54:22]OFD Sender: No OFD packet to send [13:54:27]OFD Sender: No OFD packet to send [13:54:32]OFD Sender: No OFD packet to send [13:54:37]OFD Sender: No OFD packet to send [13:54:42]OFD Sender: No OFD packet to send [13:54:47]OFD Sender: No OFD packet to send [13:54:52]OFD Sender: No OFD packet to send [13:54:57]OFD Sender: No OFD packet to send [13:55:02]OFD Sender: No OFD packet to send [13:55:07]OFD Sender: No OFD packet to send [13:55:12]OFD Sender: No OFD packet to send [13:55:17]OFD Sender: No OFD packet to send [13:55:22]OFD Sender: No OFD packet to send [13:55:27]OFD Sender: No OFD packet to send [13:55:32]OFD Sender: No OFD packet to send [13:55:37]OFD Sender: No OFD packet to send [13:55:42]OFD Sender: No OFD packet to send [13:55:47]OFD Sender: No OFD packet to send [13:55:52]OFD Sender: No OFD packet to send [13:55:53]recv_with_timeout no data received [13:55:57]OFD Sender: No OFD packet to send [13:56:02]OFD Sender: No OFD packet to send [13:56:07]OFD Sender: No OFD packet to send [13:56:12]OFD Sender: No OFD packet to send [13:56:17]OFD Sender: No OFD packet to send [13:56:22]OFD Sender: No OFD packet to send [13:56:27]OFD Sender: No OFD packet to send [13:56:32]OFD Sender: No OFD packet to send [13:56:37]OFD Sender: No OFD packet to send [13:56:42]OFD Sender: No OFD packet to send [13:56:57]OFD Sender: No OFD packet to send [13:57:02]OFD Sender: No OFD packet to send [13:57:07]OFD Sender: No OFD packet to send [13:57:12]OFD Sender: No OFD packet to send [13:57:17]OFD Sender: No OFD packet to send [13:57:22]OFD Sender: No OFD packet to send [13:57:24]recv_with_timeout no data received [13:57:27]OFD Sender: No OFD packet to send [13:57:32]OFD Sender: No OFD packet to send [13:57:37]OFD Sender: No OFD packet to send [13:57:42]OFD Sender: No OFD packet to send [13:57:47]OFD Sender: No OFD packet to send [13:57:52]OFD Sender: No OFD packet to send [13:57:57]OFD Sender: No OFD packet to send [13:58:02]OFD Sender: No OFD packet to send [13:58:07]OFD Sender: No OFD packet to send [13:58:12]OFD Sender: No OFD packet to send [13:58:16]recv_with_timeout no data received [13:58:17]OFD Sender: No OFD packet to send [13:58:22]OFD Sender: No OFD packet to send [13:58:27]recv_with_timeout no data received [13:58:27]OFD Sender: No OFD packet to send [13:58:32]OFD Sender: No OFD packet to send [13:58:37]OFD Sender: No OFD packet to send