[03:06:25]OFD Sender: No OFD packet to send [03:06:30]OFD Sender: No OFD packet to send [03:06:35]OFD Sender: No OFD packet to send [03:06:40]OFD Sender: No OFD packet to send [03:06:45]OFD Sender: No OFD packet to send [03:06:50]OFD Sender: No OFD packet to send [03:06:55]OFD Sender: No OFD packet to send [03:07:00]OFD Sender: No OFD packet to send [03:07:05]OFD Sender: No OFD packet to send [03:07:10]OFD Sender: No OFD packet to send [03:07:15]OFD Sender: No OFD packet to send [03:07:20]OFD Sender: No OFD packet to send [03:07:25]OFD Sender: No OFD packet to send [03:07:30]OFD Sender: No OFD packet to send [03:07:35]OFD Sender: No OFD packet to send [03:07:40]OFD Sender: No OFD packet to send [03:07:45]OFD Sender: No OFD packet to send [03:07:50]OFD Sender: No OFD packet to send [03:07:55]OFD Sender: No OFD packet to send [03:08:00]OFD Sender: No OFD packet to send [03:08:05]OFD Sender: No OFD packet to send [03:08:10]OFD Sender: No OFD packet to send [03:08:15]OFD Sender: No OFD packet to send [03:08:20]OFD Sender: No OFD packet to send [03:08:25]OFD Sender: No OFD packet to send [03:08:30]OFD Sender: No OFD packet to send [03:08:35]OFD Sender: No OFD packet to send [03:08:40]OFD Sender: No OFD packet to send [03:08:45]OFD Sender: No OFD packet to send [03:08:50]OFD Sender: No OFD packet to send [03:08:55]OFD Sender: No OFD packet to send [03:09:00]OFD Sender: No OFD packet to send [03:09:05]OFD Sender: No OFD packet to send [03:09:10]OFD Sender: No OFD packet to send [03:09:15]OFD Sender: No OFD packet to send [03:09:20]OFD Sender: No OFD packet to send [03:09:25]OFD Sender: No OFD packet to send [03:09:30]OFD Sender: No OFD packet to send [03:09:35]OFD Sender: No OFD packet to send [03:09:40]OFD Sender: No OFD packet to send [03:09:45]OFD Sender: No OFD packet to send [03:09:50]OFD Sender: No OFD packet to send [03:09:55]OFD Sender: No OFD packet to send [03:10:00]OFD Sender: No OFD packet to send [03:10:05]OFD Sender: No OFD packet to send [03:10:10]OFD Sender: No OFD packet to send [03:10:15]OFD Sender: No OFD packet to send [03:10:20]OFD Sender: No OFD packet to send [03:10:25]OFD Sender: No OFD packet to send [03:10:30]OFD Sender: No OFD packet to send [03:10:35]OFD Sender: No OFD packet to send [03:10:40]OFD Sender: No OFD packet to send [03:10:45]OFD Sender: No OFD packet to send [03:10:50]OFD Sender: No OFD packet to send [03:10:55]OFD Sender: No OFD packet to send [03:11:00]OFD Sender: No OFD packet to send [03:11:05]OFD Sender: No OFD packet to send [03:11:06]accept exits with 8 [03:11:06]New connection [03:11:06]New thread 3067260260 created [03:11:06]Thread 3067116900 joined [03:11:06]Waiting for new connection... [03:11:06] Sock 8.Parse request [03:11:06]Sock 8.Check first char [03:11:06]Sock 8.First char is OK [03:11:06]request: POST /json_proto HTTP/1.0 [03:11:06]Method: POST [03:11:06]URL: /json_proto [03:11:06]Method is POST - this is cgi request [03:11:06]url: /json_proto [03:11:06]query_string will be loaded in cgi processing [03:11:06]execute_cgi json_proto POST (null) [03:11:06]execute_cgi path=json_proto method=POST [03:11:06]POST find Content-Length [03:11:06]Host: 172.17.43.4:8080 [03:11:06]Content-Length: 983 [03:11:06]Content-Type: application/json [03:11:06] [03:11:06]POST finish read [03:11:06]Found Content-Length = 983 [03:11:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51652", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:11:06]execute_script... [03:11:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51652", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:11:06]POST & json_proto [03:11:06]process_json_proto [03:11:06]json parsed OK: [03:11:06]protocol is kg_v1.0 [03:11:06]action value=close_receipt [03:11:06]process_action close_receipt [03:11:06]cmd_close_receipt [03:11:06]MH_GetDate [03:11:06]Write to MH i2c: F0 00 00 AD 04 A0 [03:11:06]Write i2c OK [03:11:06]MH_I2C_Read... [03:11:06]Read from MH i2c: F0 [03:11:06]MH_I2C_Read... [03:11:06]Read from MH i2c: F0 09 00 [03:11:06]MH_I2C_Read... [03:11:06]Read from MH i2c: F0 09 00 AD 04 00 4C 7F F3 66 02 BF CF 66 C3 [03:11:06]GetLastDocTimeStamp 1727231461 [03:11:06]current date 1727233868 [03:11:06]FM_GetShiftState [03:11:06]SAM_PROTO_GetShiftState [03:11:06]wFMCommunicate request_size=4 [03:11:06]MH_SAM_APDU [03:11:06]CAPDU: 80 13 01 00 [03:11:06]Write to MH i2c: E2 08 00 AE 04 80 13 01 00 00 00 00 00 2F [03:11:06]Write i2c OK [03:11:06]MH_I2C_Read... [03:11:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:11:06]Read from MH i2c: E2 [03:11:06]MH_I2C_Read... [03:11:06]Read from MH i2c: E2 0E 00 [03:11:06]MH_I2C_Read... [03:11:06]Read from MH i2c: E2 0E 00 AE 04 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 C0 [03:11:06]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [03:11:06]wFMCommunicate OK [03:11:06]SAM_PROTO_GetShiftState done [03:11:06]FM_GetShiftState done [03:11:06]opened in 1727224020 [03:11:06]opened+sec_in_day 1727310420 [03:11:06]quantity*price = 0 [03:11:06]sum+1 = 1 [03:11:06]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036230011 Кофе Латте XL(GABB TRADE) 1.000 * 0.00 = 0.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 9 25.09.2024 03:11 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000959358 ФД: 22436 ФПД: 78808712490591 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T031108&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22436&fm=78808712490591&tin=02508201610067®Number=0000000000146243&sum=0 0 [03:11:07]StoreToDocumentArchive [03:11:07]shift 231 fd 22436 [03:11:07]save to /storage/0231/doc_00022436 [03:11:07]save last doc name /storage/0231/doc_00022436 to /storage/kkm_last_doc_name [03:11:07]save OK [03:11:07]Clear old archive folders... [03:11:07]ProcessDocumentItem done err = 0, tmpTLVsize=381 [03:11:07]tlvbuf is 00391800 [03:11:07]SAM_PROTO_ClearQueue [03:11:07]wFMCommunicate request_size=4 [03:11:07]MH_SAM_APDU [03:11:07]CAPDU: 80 09 00 00 [03:11:07]Write to MH i2c: E2 08 00 BB 04 80 09 00 00 00 00 00 00 31 [03:11:07]Write i2c OK [03:11:07]MH_I2C_Read... [03:11:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:11:08]Read from MH i2c: E2 [03:11:08]MH_I2C_Read... [03:11:08]Read from MH i2c: E2 03 00 [03:11:08]MH_I2C_Read... [03:11:08]Read from MH i2c: E2 03 00 BB 04 00 90 00 33 [03:11:08]RAPDU: 90 00 [03:11:08]wFMCommunicate OK [03:11:08]SAM_PROTO_ClearQueue done [03:11:08]KKMCreateOFDPacket [03:11:08]OFDProtocolAddRootSTLVToBuf [03:11:08]FM_MakeSignedData [03:11:08]FM_MakeSignedData [03:11:08]SAM_PROTO_SignData [03:11:08]wFMCommunicate request_size=4 [03:11:08]MH_SAM_APDU [03:11:08]CAPDU: 80 0D 01 02 [03:11:08]Write to MH i2c: E2 08 00 BC 04 80 0D 01 02 00 00 00 00 39 [03:11:08]Write i2c OK [03:11:08]MH_I2C_Read... [03:11:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:11:08]Read from MH i2c: E2 [03:11:08]MH_I2C_Read... [03:11:08]Read from MH i2c: E2 03 00 [03:11:08]MH_I2C_Read... [03:11:08]Read from MH i2c: E2 03 00 BC 04 00 90 00 34 [03:11:08]RAPDU: 90 00 [03:11:08]wFMCommunicate OK [03:11:08]wFMCommunicate request_size=255 [03:11:08]MH_SAM_APDU [03:11:08]CAPDU: 80 0D 02 02 FA 03 00 7D 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 [03:11:08]Write to MH i2c: E2 02 01 BD 04 80 0D 02 02 FA 00 03 00 7D 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 3E [03:11:08]Write i2c OK [03:11:08]MH_I2C_Read... [03:11:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:11:08]Read from MH i2c: E2 [03:11:08]MH_I2C_Read... [03:11:08]Read from MH i2c: E2 03 00 [03:11:08]MH_I2C_Read... [03:11:08]Read from MH i2c: E2 03 00 BD 04 00 90 00 35 [03:11:08]RAPDU: 90 00 [03:11:08]wFMCommunicate OK [03:11:08]wFMCommunicate request_size=140 [03:11:08]MH_SAM_APDU [03:11:08]CAPDU: 80 0D 02 02 87 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 09 00 00 00 F4 03 04 00 4C 7F F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A4 57 00 00 35 04 06 00 47 AD 15 50 2E 5F [03:11:08]Write to MH i2c: E2 8F 00 BE 04 80 0D 02 02 87 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 09 00 00 00 F4 03 04 00 4C 7F F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A4 57 00 00 35 04 06 00 47 AD 15 50 2E 5F 00 00 6E [03:11:08]Write i2c OK [03:11:08]MH_I2C_Read... [03:11:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:11:08]Read from MH i2c: E2 [03:11:08]MH_I2C_Read... [03:11:08]Read from MH i2c: E2 03 00 [03:11:08]MH_I2C_Read... [03:11:08]Read from MH i2c: E2 03 00 BE 04 00 90 00 36 [03:11:08]RAPDU: 90 00 [03:11:08]wFMCommunicate OK [03:11:08]wFMCommunicate request_size=4 [03:11:08]MH_SAM_APDU [03:11:08]CAPDU: 80 0D 03 02 [03:11:08]Write to MH i2c: E2 08 00 BF 04 80 0D 03 02 00 00 00 00 3E [03:11:08]Write i2c OK [03:11:08]MH_I2C_Read... [03:11:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:11:08]Read from MH i2c: E2 [03:11:08]MH_I2C_Read... [03:11:08]Read from MH i2c: E2 0B 00 [03:11:08]MH_I2C_Read... [03:11:08]Read from MH i2c: E2 0B 00 BF 04 00 A6 6A 56 EE BA 7F 20 7B 90 00 67 [03:11:08]RAPDU: A6 6A 56 EE BA 7F 20 7B 90 00 [03:11:08]wFMCommunicate OK [03:11:08]SAM_PROTO_SignData done [03:11:08]FM_MakeSignedData done [03:11:08]CreateOFDProtocolMessage [03:11:08]wFMCommunicate request_size=4 [03:11:08]MH_SAM_APDU [03:11:08]CAPDU: 80 11 00 00 [03:11:08]Write to MH i2c: E2 08 00 C0 04 80 11 00 00 00 00 00 00 3E [03:11:08]Write i2c OK [03:11:08]MH_I2C_Read... [03:11:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:11:08]Read from MH i2c: E2 [03:11:08]MH_I2C_Read... [03:11:08]Read from MH i2c: E2 17 00 [03:11:08]MH_I2C_Read... [03:11:08]Read from MH i2c: E2 17 00 C0 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 98 [03:11:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [03:11:08]wFMCommunicate OK [03:11:08]CreateOFDProtocolMessage done [03:11:08]OFDSenderStorePacket 22436 [03:11:08]StoreOFDPacket docnum=22436 [03:11:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 91 01 00 00 B6 A1 89 01 41 FF 5A 03 01 00 03 00 7D 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 09 00 00 00 F4 03 04 00 4C 7F F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A4 57 00 00 35 04 06 00 47 AD 15 50 2E 5F A6 6A 56 EE BA 7F 20 7B [03:11:08]CheckFolder [03:11:08]dirname=/storage/ofd_packets [03:11:08]CheckFolder done [03:11:08]ProducePacketName [03:11:08]name=ofd_packets/00022436 [03:11:08]NVStorageSaveData ofd_packets/00022436 [03:11:08]File name is /storage/ofd_packets/00022436 [03:11:08]Write 431 bytes [03:11:08]NVStorageSaveData done [03:11:08]OFDSenderStorePacket done [03:11:08]KKMCreateOFDPacket done [03:11:08]NVStorageSaveData kkm_last_timestamp [03:11:08]File name is /storage/kkm_last_timestamp [03:11:08]Write 4 bytes [03:11:08]NVStorageSaveData done [03:11:08]ExternCall_PrintAddStr [03:11:08]wPrintStart [03:11:08]Write to MH i2c: 01 00 00 C1 04 C5 [03:11:08]OFD Sender: Processing packet 22436 [packets to send 23, broken 22] [03:11:08]ProducePacketName [03:11:08]name=ofd_packets/00022436 [03:11:08]OFD Sender: To server: pG, [03:11:08]CommunicateWithHost lk.salyk.kg:30040 [03:11:08]ConnectInit lk.salyk.kg [03:11:08]Write i2c OK [03:11:08]MH_I2C_Read... [03:11:08]Read from MH i2c: 01 [03:11:08]MH_I2C_Read... [03:11:08]Read from MH i2c: 01 07 00 [03:11:08]MH_I2C_Read... [03:11:08]Read from MH i2c: 01 07 00 C1 04 00 00 00 00 00 FF 0F DA [03:11:08]RasterBufferAndPrint [03:11:08]line Счет N : (3)51652 [03:11:08]line ИНН: 02508201610067 [03:11:08]line Контрольно-Кассовый Чек [03:11:08]line ПРОДАЖА [03:11:08]line Товар: 48743587 [03:11:08]line Сигареты Winston XStyle Silver [03:11:08]line 1.000 * 0.00 [03:11:08]line = 0.00 [03:11:08]line НДС 12% НСП 1% [03:11:08]line > о реализуемом товаре [03:11:08]line Товар: 2000036230011 [03:11:08]line Кофе Латте XL(GABB TRADE) [03:11:08]line 1.000 * 0.00 [03:11:08]line = 0.00 [03:11:08]line НДС 12% НСП 1% [03:11:08]line > о реализуемом товаре [03:11:08]line ИТОГО: 0.00 [03:11:08]line НСП 1% : 0.00 [03:11:08]line НДС 12% : 0.00 [03:11:08]line Наличными: 0.00 [03:11:08]line Безнал.: 0.00 [03:11:08]line Место: АЗС № 88 "Партнер Нефть" [03:11:08]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [03:11:08]line СНО: Общий режим [03:11:08]line Чек 9 25.09.2024 03:11 [03:11:08]line Смена: 231 ФФД: 1.0 [03:11:08]line ЗНМ: 0300000061 [03:11:08]line РНМ: 0000000000146243 [03:11:08]line Версия ККМ: v1.0 [03:11:08]line Платежная система: Mbank [03:11:08]line ФМ: 0000000000959358 [03:11:08]line ФД: 22436 [03:11:08]line ФПД: 78808712490591 [03:11:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T031108&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22436&fm=78808712490591&tin=02508201610067®Number=0000000000146243&sum=0 [03:11:08]line 0 [03:11:08]written 0, free lines is 4095 [03:11:09]Connected sock=10 [03:11:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 91 01 00 00 B6 A1 89 01 41 FF 5A 03 01 00 03 00 7D 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 09 00 00 00 F4 03 04 00 4C 7F F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A4 57 00 00 35 04 06 00 47 AD 15 50 2E 5F A6 6A 56 EE BA 7F 20 7B [03:11:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 78 85 47 00 EA 42 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A4 57 00 00 F4 03 04 00 6F 29 F3 66 B6 04 01 00 00 2B 22 D9 8B 62 FC C0 57 [03:11:09]CommunicateWithHost err = 0 [03:11:09]CheckOFDResponse [03:11:09]1017 (14) - 77093643461234 [03:11:09]1041 (16) - 0000000000959358 [03:11:09]1040 (4) - 22436 [03:11:09]1012 (4) - 24.09.2024 21:04 [03:11:09]1206 (1) - 0 [03:11:09]OFD Sender: Remove packet 22436 [03:11:09]ProducePacketName [03:11:09]name=ofd_packets/00022436 [03:11:09]NVStorageDeleteData [03:11:09]Write to MH i2c: 01 00 00 F1 04 F5 [03:11:09]Write i2c OK [03:11:09]MH_I2C_Read... [03:11:09]Read from MH i2c: 01 [03:11:09]MH_I2C_Read... [03:11:09]Read from MH i2c: 01 07 00 [03:11:09]MH_I2C_Read... [03:11:09]Read from MH i2c: 01 07 00 F1 04 00 00 00 00 00 D1 0C D9 [03:11:09]RasterBufferAndPrint [03:11:09]line [03:11:09]line [03:11:09]line [03:11:09]line [03:11:09]line [03:11:09]written 0, free lines is 3287 [03:11:09]MH_Cut [03:11:09]Write to MH i2c: D1 01 00 F8 04 01 CE [03:11:09]Write i2c OK [03:11:09]MH_I2C_Read... [03:11:09]Read from MH i2c: D1 [03:11:09]MH_I2C_Read... [03:11:09]Read from MH i2c: D1 01 00 [03:11:09]MH_I2C_Read... [03:11:09]Read from MH i2c: D1 01 00 F8 04 00 CD [03:11:09]Write to MH i2c: 01 00 00 F9 04 FD [03:11:09]Write i2c OK [03:11:09]MH_I2C_Read... [03:11:09]OFD Sender: No OFD packet to send [03:11:10]*** Cut start [03:11:10]*** Partial cut [03:11:10]*** CUTSNS_PIN = 1 [03:11:10]*** CUTSNS_PIN = 0 [03:11:10]*** Brake cut motor [03:11:10]Read from MH i2c: 01 [03:11:10]MH_I2C_Read... [03:11:10]*** Stop cut motor [03:11:10]*** Cut end [03:11:10]Read from MH i2c: 01 07 00 [03:11:10]MH_I2C_Read... [03:11:10]Read from MH i2c: 01 07 00 F9 04 00 00 00 00 00 FF 0F 12 [03:11:10]process_action close_receipt done [03:11:10]requested_data is exist [03:11:10]produce_requested_data [03:11:10]requested_item fm.sn is exist - process it [03:11:10]wFMCommunicate request_size=4 [03:11:10]MH_SAM_APDU [03:11:10]CAPDU: 80 11 00 00 [03:11:10]Write to MH i2c: E2 08 00 FA 04 80 11 00 00 00 00 00 00 78 [03:11:10]Write i2c OK [03:11:10]MH_I2C_Read... [03:11:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:11:10]Read from MH i2c: E2 [03:11:10]MH_I2C_Read... [03:11:10]Read from MH i2c: E2 17 00 [03:11:10]MH_I2C_Read... [03:11:10]Read from MH i2c: E2 17 00 FA 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 D2 [03:11:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [03:11:10]wFMCommunicate OK [03:11:10]requested_item fd.num is exist - process it [03:11:10]SAM_PROTO_GetFieldsCounters [03:11:10]wFMCommunicate request_size=4 [03:11:10]MH_SAM_APDU [03:11:10]CAPDU: 80 13 00 00 [03:11:10]Write to MH i2c: E2 08 00 FB 04 80 13 00 00 00 00 00 00 7B [03:11:10]Write i2c OK [03:11:10]MH_I2C_Read... [03:11:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:11:10]Read from MH i2c: E2 [03:11:10]MH_I2C_Read... [03:11:10]Read from MH i2c: E2 62 00 [03:11:10]MH_I2C_Read... [03:11:10]Read from MH i2c: E2 62 00 FB 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 A4 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 9B [03:11:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 A4 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:11:10]wFMCommunicate OK [03:11:10]SAM_PROTO_GetFieldsCounters done [03:11:10]requested_item shift.num is exist - process it [03:11:10]requested_item shift.opened is exist - process it [03:11:10]req_shift_opened [03:11:10]FM_GetShiftState [03:11:10]SAM_PROTO_GetShiftState [03:11:10]wFMCommunicate request_size=4 [03:11:10]MH_SAM_APDU [03:11:10]CAPDU: 80 13 01 00 [03:11:10]Write to MH i2c: E2 08 00 FC 04 80 13 01 00 00 00 00 00 7D [03:11:10]Write i2c OK [03:11:10]MH_I2C_Read... [03:11:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:11:11]Read from MH i2c: E2 [03:11:11]MH_I2C_Read... [03:11:11]Read from MH i2c: E2 0E 00 [03:11:11]MH_I2C_Read... [03:11:11]Read from MH i2c: E2 0E 00 FC 04 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 0E [03:11:11]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [03:11:11]wFMCommunicate OK [03:11:11]SAM_PROTO_GetShiftState done [03:11:11]FM_GetShiftState done [03:11:11]req_shift_opened done [03:11:11]requested_item shift.open_date is exist - process it [03:11:11]req_shift_open_date [03:11:11]req_shift_open_date done [03:11:11]produce_requested_data done [03:11:11]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22436,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [03:11:11]process_action_free close_receipt [03:11:11]json_value_free [03:11:11]json_value_free done [03:11:11]process_json_proto returns [03:11:11]Send response to host [03:11:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22436,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [03:11:11]free response buf [03:11:11]execute_script done [03:11:11]execute_script returns [03:11:11]free content buf [03:11:11]Sock 8.Close socket [03:11:11]Sock 8.Thread stoped [03:11:14]OFD Sender: No OFD packet to send [03:11:19]OFD Sender: No OFD packet to send [03:11:24]OFD Sender: No OFD packet to send [03:11:29]OFD Sender: No OFD packet to send [03:11:34]OFD Sender: No OFD packet to send [03:11:39]OFD Sender: No OFD packet to send [03:11:44]OFD Sender: No OFD packet to send [03:11:49]OFD Sender: No OFD packet to send [03:11:54]OFD Sender: No OFD packet to send [03:11:59]OFD Sender: No OFD packet to send [03:12:04]OFD Sender: No OFD packet to send [03:12:09]OFD Sender: No OFD packet to send [03:12:14]OFD Sender: No OFD packet to send [03:12:19]OFD Sender: No OFD packet to send [03:12:24]OFD Sender: No OFD packet to send [03:12:29]OFD Sender: No OFD packet to send [03:12:34]OFD Sender: No OFD packet to send [03:12:39]OFD Sender: No OFD packet to send [03:12:44]OFD Sender: No OFD packet to send [03:12:50]OFD Sender: No OFD packet to send [03:12:55]OFD Sender: No OFD packet to send [03:13:00]OFD Sender: No OFD packet to send [03:13:05]OFD Sender: No OFD packet to send [03:13:10]OFD Sender: No OFD packet to send [03:13:15]OFD Sender: No OFD packet to send [03:13:20]OFD Sender: No OFD packet to send [03:13:25]OFD Sender: No OFD packet to send [03:13:30]OFD Sender: No OFD packet to send [03:13:35]OFD Sender: No OFD packet to send [03:13:40]OFD Sender: No OFD packet to send [03:13:45]OFD Sender: No OFD packet to send [03:13:50]OFD Sender: No OFD packet to send [03:13:55]OFD Sender: No OFD packet to send [03:14:00]OFD Sender: No OFD packet to send [03:14:05]OFD Sender: No OFD packet to send [03:14:10]OFD Sender: No OFD packet to send [03:14:15]OFD Sender: No OFD packet to send [03:14:20]OFD Sender: No OFD packet to send [03:14:25]OFD Sender: No OFD packet to send [03:14:30]OFD Sender: No OFD packet to send [03:14:35]OFD Sender: No OFD packet to send [03:14:40]OFD Sender: No OFD packet to send [03:14:45]OFD Sender: No OFD packet to send [03:14:50]OFD Sender: No OFD packet to send [03:14:55]OFD Sender: No OFD packet to send [03:15:00]OFD Sender: No OFD packet to send [03:15:05]OFD Sender: No OFD packet to send [03:15:10]OFD Sender: No OFD packet to send [03:15:15]OFD Sender: No OFD packet to send [03:15:20]OFD Sender: No OFD packet to send [03:15:25]OFD Sender: No OFD packet to send [03:15:30]OFD Sender: No OFD packet to send [03:15:35]OFD Sender: No OFD packet to send [03:15:40]OFD Sender: No OFD packet to send [03:15:45]OFD Sender: No OFD packet to send [03:15:50]OFD Sender: No OFD packet to send [03:15:55]OFD Sender: No OFD packet to send [03:16:00]OFD Sender: No OFD packet to send [03:16:05]OFD Sender: No OFD packet to send [03:16:10]OFD Sender: No OFD packet to send [03:16:15]OFD Sender: No OFD packet to send [03:16:20]OFD Sender: No OFD packet to send [03:16:25]OFD Sender: No OFD packet to send [03:16:30]OFD Sender: No OFD packet to send [03:16:35]OFD Sender: No OFD packet to send [03:16:40]OFD Sender: No OFD packet to send [03:16:45]OFD Sender: No OFD packet to send [03:16:50]OFD Sender: No OFD packet to send [03:16:55]OFD Sender: No OFD packet to send [03:17:00]OFD Sender: No OFD packet to send [03:17:05]OFD Sender: No OFD packet to send [03:17:10]OFD Sender: No OFD packet to send [03:17:15]OFD Sender: No OFD packet to send [03:17:20]OFD Sender: No OFD packet to send [03:17:25]OFD Sender: No OFD packet to send [03:17:30]OFD Sender: No OFD packet to send [03:17:35]OFD Sender: No OFD packet to send [03:17:40]OFD Sender: No OFD packet to send [03:17:45]OFD Sender: No OFD packet to send [03:17:50]OFD Sender: No OFD packet to send [03:17:55]OFD Sender: No OFD packet to send [03:18:00]OFD Sender: No OFD packet to send [03:18:05]OFD Sender: No OFD packet to send [03:18:10]OFD Sender: No OFD packet to send [03:18:15]OFD Sender: No OFD packet to send [03:18:20]OFD Sender: No OFD packet to send [03:18:25]OFD Sender: No OFD packet to send [03:18:30]OFD Sender: No OFD packet to send [03:18:35]OFD Sender: No OFD packet to send [03:18:40]OFD Sender: No OFD packet to send [03:18:45]OFD Sender: No OFD packet to send [03:18:50]OFD Sender: No OFD packet to send [03:18:55]OFD Sender: No OFD packet to send [03:19:00]OFD Sender: No OFD packet to send [03:19:05]OFD Sender: No OFD packet to send [03:19:10]OFD Sender: No OFD packet to send [03:19:15]OFD Sender: No OFD packet to send [03:19:20]OFD Sender: No OFD packet to send [03:19:25]OFD Sender: No OFD packet to send [03:19:30]OFD Sender: No OFD packet to send [03:19:35]OFD Sender: No OFD packet to send [03:19:40]OFD Sender: No OFD packet to send [03:19:45]OFD Sender: No OFD packet to send [03:19:50]OFD Sender: No OFD packet to send [03:19:55]OFD Sender: No OFD packet to send [03:20:00]OFD Sender: No OFD packet to send [03:20:05]OFD Sender: No OFD packet to send [03:20:10]OFD Sender: No OFD packet to send [03:20:15]OFD Sender: No OFD packet to send [03:20:20]OFD Sender: No OFD packet to send [03:20:25]OFD Sender: No OFD packet to send [03:20:30]OFD Sender: No OFD packet to send [03:20:35]OFD Sender: No OFD packet to send [03:20:40]OFD Sender: No OFD packet to send [03:20:45]OFD Sender: No OFD packet to send [03:20:50]OFD Sender: No OFD packet to send [03:20:55]OFD Sender: No OFD packet to send [03:21:00]OFD Sender: No OFD packet to send [03:21:05]OFD Sender: No OFD packet to send [03:21:10]OFD Sender: No OFD packet to send [03:21:15]OFD Sender: No OFD packet to send [03:21:20]OFD Sender: No OFD packet to send [03:21:25]OFD Sender: No OFD packet to send [03:21:30]OFD Sender: No OFD packet to send [03:21:35]OFD Sender: No OFD packet to send [03:21:40]OFD Sender: No OFD packet to send [03:21:45]OFD Sender: No OFD packet to send [03:21:50]OFD Sender: No OFD packet to send [03:21:55]OFD Sender: No OFD packet to send [03:22:00]OFD Sender: No OFD packet to send [03:22:05]OFD Sender: No OFD packet to send [03:22:10]OFD Sender: No OFD packet to send [03:22:15]OFD Sender: No OFD packet to send [03:22:20]OFD Sender: No OFD packet to send [03:22:25]OFD Sender: No OFD packet to send [03:22:30]OFD Sender: No OFD packet to send [03:22:35]OFD Sender: No OFD packet to send [03:22:40]OFD Sender: No OFD packet to send [03:22:45]OFD Sender: No OFD packet to send [03:22:50]OFD Sender: No OFD packet to send [03:22:55]OFD Sender: No OFD packet to send [03:23:00]OFD Sender: No OFD packet to send [03:23:05]OFD Sender: No OFD packet to send [03:23:10]OFD Sender: No OFD packet to send [03:23:15]OFD Sender: No OFD packet to send [03:23:20]OFD Sender: No OFD packet to send [03:23:25]OFD Sender: No OFD packet to send [03:23:30]OFD Sender: No OFD packet to send [03:23:35]OFD Sender: No OFD packet to send [03:23:40]OFD Sender: No OFD packet to send [03:23:45]OFD Sender: No OFD packet to send [03:23:50]OFD Sender: No OFD packet to send [03:23:55]OFD Sender: No OFD packet to send [03:24:00]OFD Sender: No OFD packet to send [03:24:05]OFD Sender: No OFD packet to send [03:24:10]OFD Sender: No OFD packet to send [03:24:15]OFD Sender: No OFD packet to send [03:24:20]OFD Sender: No OFD packet to send [03:24:25]OFD Sender: No OFD packet to send [03:24:30]OFD Sender: No OFD packet to send [03:24:35]OFD Sender: No OFD packet to send [03:24:40]OFD Sender: No OFD packet to send [03:24:45]OFD Sender: No OFD packet to send [03:24:50]OFD Sender: No OFD packet to send [03:24:55]OFD Sender: No OFD packet to send [03:25:00]OFD Sender: No OFD packet to send [03:25:05]OFD Sender: No OFD packet to send [03:25:10]OFD Sender: No OFD packet to send [03:25:15]OFD Sender: No OFD packet to send [03:25:20]OFD Sender: No OFD packet to send [03:25:25]OFD Sender: No OFD packet to send [03:25:30]OFD Sender: No OFD packet to send [03:25:35]OFD Sender: No OFD packet to send [03:25:40]OFD Sender: No OFD packet to send [03:25:45]OFD Sender: No OFD packet to send [03:25:50]OFD Sender: No OFD packet to send [03:25:55]OFD Sender: No OFD packet to send [03:26:00]OFD Sender: No OFD packet to send [03:26:05]OFD Sender: No OFD packet to send [03:26:10]OFD Sender: No OFD packet to send [03:26:15]OFD Sender: No OFD packet to send [03:26:20]OFD Sender: No OFD packet to send [03:26:25]OFD Sender: No OFD packet to send [03:26:30]OFD Sender: No OFD packet to send [03:26:35]OFD Sender: No OFD packet to send [03:26:40]OFD Sender: No OFD packet to send [03:26:45]OFD Sender: No OFD packet to send [03:26:50]OFD Sender: No OFD packet to send [03:26:55]OFD Sender: No OFD packet to send [03:27:00]OFD Sender: No OFD packet to send [03:27:05]OFD Sender: No OFD packet to send [03:27:10]OFD Sender: No OFD packet to send [03:27:15]OFD Sender: No OFD packet to send [03:27:20]OFD Sender: No OFD packet to send [03:27:25]OFD Sender: No OFD packet to send [03:27:30]OFD Sender: No OFD packet to send [03:27:35]OFD Sender: No OFD packet to send [03:27:40]OFD Sender: No OFD packet to send [03:27:45]OFD Sender: No OFD packet to send [03:27:50]OFD Sender: No OFD packet to send [03:27:55]OFD Sender: No OFD packet to send [03:28:00]OFD Sender: No OFD packet to send [03:28:05]OFD Sender: No OFD packet to send [03:28:10]OFD Sender: No OFD packet to send [03:28:15]OFD Sender: No OFD packet to send [03:28:20]OFD Sender: No OFD packet to send [03:28:25]OFD Sender: No OFD packet to send [03:28:30]OFD Sender: No OFD packet to send [03:28:35]OFD Sender: No OFD packet to send [03:28:40]OFD Sender: No OFD packet to send [03:28:45]OFD Sender: No OFD packet to send [03:28:50]OFD Sender: No OFD packet to send [03:28:55]OFD Sender: No OFD packet to send [03:29:00]OFD Sender: No OFD packet to send [03:29:05]OFD Sender: No OFD packet to send [03:29:10]OFD Sender: No OFD packet to send [03:29:15]OFD Sender: No OFD packet to send [03:29:20]OFD Sender: No OFD packet to send [03:29:25]OFD Sender: No OFD packet to send [03:29:30]OFD Sender: No OFD packet to send [03:29:35]OFD Sender: No OFD packet to send [03:29:40]OFD Sender: No OFD packet to send [03:29:45]OFD Sender: No OFD packet to send [03:29:50]OFD Sender: No OFD packet to send [03:29:55]OFD Sender: No OFD packet to send [03:30:00]OFD Sender: No OFD packet to send [03:30:05]OFD Sender: No OFD packet to send [03:30:10]OFD Sender: No OFD packet to send [03:30:15]OFD Sender: No OFD packet to send [03:30:20]OFD Sender: No OFD packet to send [03:30:25]OFD Sender: No OFD packet to send [03:30:30]OFD Sender: No OFD packet to send [03:30:35]OFD Sender: No OFD packet to send [03:30:40]OFD Sender: No OFD packet to send [03:30:45]OFD Sender: No OFD packet to send [03:30:50]OFD Sender: No OFD packet to send [03:30:55]OFD Sender: No OFD packet to send [03:31:00]OFD Sender: No OFD packet to send [03:31:05]OFD Sender: No OFD packet to send [03:31:10]OFD Sender: No OFD packet to send [03:31:15]OFD Sender: No OFD packet to send [03:31:20]OFD Sender: No OFD packet to send [03:31:25]OFD Sender: No OFD packet to send [03:31:30]OFD Sender: No OFD packet to send [03:31:35]OFD Sender: No OFD packet to send [03:31:40]OFD Sender: No OFD packet to send [03:31:45]OFD Sender: No OFD packet to send [03:31:50]OFD Sender: No OFD packet to send [03:31:55]OFD Sender: No OFD packet to send [03:32:00]OFD Sender: No OFD packet to send [03:32:05]OFD Sender: No OFD packet to send [03:32:10]OFD Sender: No OFD packet to send [03:32:15]OFD Sender: No OFD packet to send [03:32:20]OFD Sender: No OFD packet to send [03:32:25]OFD Sender: No OFD packet to send [03:32:30]OFD Sender: No OFD packet to send [03:32:35]OFD Sender: No OFD packet to send [03:32:40]OFD Sender: No OFD packet to send [03:32:45]OFD Sender: No OFD packet to send [03:32:50]OFD Sender: No OFD packet to send [03:32:56]OFD Sender: No OFD packet to send [03:33:01]OFD Sender: No OFD packet to send [03:33:06]OFD Sender: No OFD packet to send [03:33:11]OFD Sender: No OFD packet to send [03:33:16]OFD Sender: No OFD packet to send [03:33:21]OFD Sender: No OFD packet to send [03:33:26]OFD Sender: No OFD packet to send [03:33:31]OFD Sender: No OFD packet to send [03:33:36]OFD Sender: No OFD packet to send [03:33:41]OFD Sender: No OFD packet to send [03:33:46]OFD Sender: No OFD packet to send [03:33:51]OFD Sender: No OFD packet to send [03:33:56]OFD Sender: No OFD packet to send [03:34:01]OFD Sender: No OFD packet to send [03:34:06]OFD Sender: No OFD packet to send [03:34:11]OFD Sender: No OFD packet to send [03:34:16]OFD Sender: No OFD packet to send [03:34:21]OFD Sender: No OFD packet to send [03:34:26]OFD Sender: No OFD packet to send [03:34:31]OFD Sender: No OFD packet to send [03:34:36]OFD Sender: No OFD packet to send [03:34:41]OFD Sender: No OFD packet to send [03:34:46]OFD Sender: No OFD packet to send [03:34:51]OFD Sender: No OFD packet to send [03:34:56]OFD Sender: No OFD packet to send [03:35:01]OFD Sender: No OFD packet to send [03:35:06]OFD Sender: No OFD packet to send [03:35:11]OFD Sender: No OFD packet to send [03:35:16]OFD Sender: No OFD packet to send [03:35:21]OFD Sender: No OFD packet to send [03:35:26]OFD Sender: No OFD packet to send [03:35:31]OFD Sender: No OFD packet to send [03:35:36]OFD Sender: No OFD packet to send [03:35:41]OFD Sender: No OFD packet to send [03:35:46]OFD Sender: No OFD packet to send [03:35:51]OFD Sender: No OFD packet to send [03:35:56]OFD Sender: No OFD packet to send [03:36:01]OFD Sender: No OFD packet to send [03:36:06]OFD Sender: No OFD packet to send [03:36:11]OFD Sender: No OFD packet to send [03:36:16]OFD Sender: No OFD packet to send [03:36:21]OFD Sender: No OFD packet to send [03:36:26]OFD Sender: No OFD packet to send [03:36:31]OFD Sender: No OFD packet to send [03:36:36]OFD Sender: No OFD packet to send [03:36:41]OFD Sender: No OFD packet to send [03:36:46]OFD Sender: No OFD packet to send [03:36:51]OFD Sender: No OFD packet to send [03:36:56]OFD Sender: No OFD packet to send [03:37:01]OFD Sender: No OFD packet to send [03:37:06]OFD Sender: No OFD packet to send [03:37:11]OFD Sender: No OFD packet to send [03:37:16]OFD Sender: No OFD packet to send [03:37:21]OFD Sender: No OFD packet to send [03:37:26]OFD Sender: No OFD packet to send [03:37:31]OFD Sender: No OFD packet to send [03:37:36]OFD Sender: No OFD packet to send [03:37:41]OFD Sender: No OFD packet to send [03:37:46]OFD Sender: No OFD packet to send [03:37:51]OFD Sender: No OFD packet to send [03:37:56]OFD Sender: No OFD packet to send [03:38:01]OFD Sender: No OFD packet to send [03:38:06]OFD Sender: No OFD packet to send [03:38:11]OFD Sender: No OFD packet to send [03:38:16]OFD Sender: No OFD packet to send [03:38:21]OFD Sender: No OFD packet to send [03:38:26]OFD Sender: No OFD packet to send [03:38:31]OFD Sender: No OFD packet to send [03:38:36]OFD Sender: No OFD packet to send [03:38:41]OFD Sender: No OFD packet to send [03:38:46]OFD Sender: No OFD packet to send [03:38:51]OFD Sender: No OFD packet to send [03:38:56]OFD Sender: No OFD packet to send [03:39:01]OFD Sender: No OFD packet to send [03:39:06]OFD Sender: No OFD packet to send [03:39:11]OFD Sender: No OFD packet to send [03:39:16]OFD Sender: No OFD packet to send [03:39:21]OFD Sender: No OFD packet to send [03:39:26]OFD Sender: No OFD packet to send [03:39:31]OFD Sender: No OFD packet to send [03:39:36]OFD Sender: No OFD packet to send [03:39:41]OFD Sender: No OFD packet to send [03:39:46]OFD Sender: No OFD packet to send [03:39:51]OFD Sender: No OFD packet to send [03:39:56]OFD Sender: No OFD packet to send [03:40:01]OFD Sender: No OFD packet to send [03:40:06]OFD Sender: No OFD packet to send [03:40:11]OFD Sender: No OFD packet to send [03:40:16]OFD Sender: No OFD packet to send [03:40:21]OFD Sender: No OFD packet to send [03:40:26]OFD Sender: No OFD packet to send [03:40:31]OFD Sender: No OFD packet to send [03:40:36]OFD Sender: No OFD packet to send [03:40:41]OFD Sender: No OFD packet to send [03:40:46]OFD Sender: No OFD packet to send [03:40:51]OFD Sender: No OFD packet to send [03:40:56]OFD Sender: No OFD packet to send [03:41:01]OFD Sender: No OFD packet to send [03:41:06]OFD Sender: No OFD packet to send [03:41:11]OFD Sender: No OFD packet to send [03:41:16]OFD Sender: No OFD packet to send [03:41:21]OFD Sender: No OFD packet to send [03:41:26]OFD Sender: No OFD packet to send [03:41:31]OFD Sender: No OFD packet to send [03:41:36]OFD Sender: No OFD packet to send [03:41:41]OFD Sender: No OFD packet to send [03:41:46]OFD Sender: No OFD packet to send [03:41:51]OFD Sender: No OFD packet to send [03:41:56]OFD Sender: No OFD packet to send [03:42:01]OFD Sender: No OFD packet to send [03:42:06]OFD Sender: No OFD packet to send [03:42:11]OFD Sender: No OFD packet to send [03:42:16]OFD Sender: No OFD packet to send [03:42:21]OFD Sender: No OFD packet to send [03:42:26]OFD Sender: No OFD packet to send [03:42:31]OFD Sender: No OFD packet to send [03:42:36]OFD Sender: No OFD packet to send [03:42:41]OFD Sender: No OFD packet to send [03:42:46]OFD Sender: No OFD packet to send [03:42:51]OFD Sender: No OFD packet to send [03:42:56]OFD Sender: No OFD packet to send [03:43:01]OFD Sender: No OFD packet to send [03:43:06]OFD Sender: No OFD packet to send [03:43:11]OFD Sender: No OFD packet to send [03:43:16]OFD Sender: No OFD packet to send [03:43:21]OFD Sender: No OFD packet to send [03:43:26]OFD Sender: No OFD packet to send [03:43:31]OFD Sender: No OFD packet to send [03:43:36]OFD Sender: No OFD packet to send [03:43:41]OFD Sender: No OFD packet to send [03:43:46]OFD Sender: No OFD packet to send [03:43:51]OFD Sender: No OFD packet to send [03:43:56]OFD Sender: No OFD packet to send [03:44:01]OFD Sender: No OFD packet to send [03:44:06]OFD Sender: No OFD packet to send [03:44:11]OFD Sender: No OFD packet to send [03:44:16]OFD Sender: No OFD packet to send [03:44:21]OFD Sender: No OFD packet to send [03:44:26]OFD Sender: No OFD packet to send [03:44:31]OFD Sender: No OFD packet to send [03:44:36]OFD Sender: No OFD packet to send [03:44:41]OFD Sender: No OFD packet to send [03:44:46]OFD Sender: No OFD packet to send [03:44:51]OFD Sender: No OFD packet to send [03:44:56]OFD Sender: No OFD packet to send [03:45:01]OFD Sender: No OFD packet to send [03:45:06]OFD Sender: No OFD packet to send [03:45:11]OFD Sender: No OFD packet to send [03:45:16]OFD Sender: No OFD packet to send [03:45:21]OFD Sender: No OFD packet to send [03:45:26]OFD Sender: No OFD packet to send [03:45:31]OFD Sender: No OFD packet to send [03:45:36]OFD Sender: No OFD packet to send [03:45:41]OFD Sender: No OFD packet to send [03:45:46]OFD Sender: No OFD packet to send [03:45:51]OFD Sender: No OFD packet to send [03:45:56]OFD Sender: No OFD packet to send [03:46:01]OFD Sender: No OFD packet to send [03:46:06]OFD Sender: No OFD packet to send [03:46:11]OFD Sender: No OFD packet to send [03:46:16]OFD Sender: No OFD packet to send [03:46:21]OFD Sender: No OFD packet to send [03:46:26]OFD Sender: No OFD packet to send [03:46:31]OFD Sender: No OFD packet to send [03:46:36]OFD Sender: No OFD packet to send [03:46:41]OFD Sender: No OFD packet to send [03:46:46]OFD Sender: No OFD packet to send [03:46:51]OFD Sender: No OFD packet to send [03:46:56]OFD Sender: No OFD packet to send [03:47:01]OFD Sender: No OFD packet to send [03:47:06]OFD Sender: No OFD packet to send [03:47:11]OFD Sender: No OFD packet to send [03:47:16]OFD Sender: No OFD packet to send [03:47:21]OFD Sender: No OFD packet to send [03:47:26]OFD Sender: No OFD packet to send [03:47:31]OFD Sender: No OFD packet to send [03:47:36]OFD Sender: No OFD packet to send [03:47:41]OFD Sender: No OFD packet to send [03:47:46]OFD Sender: No OFD packet to send [03:47:51]OFD Sender: No OFD packet to send [03:47:56]OFD Sender: No OFD packet to send [03:48:01]OFD Sender: No OFD packet to send [03:48:06]OFD Sender: No OFD packet to send [03:48:11]OFD Sender: No OFD packet to send [03:48:16]OFD Sender: No OFD packet to send [03:48:21]OFD Sender: No OFD packet to send [03:48:26]OFD Sender: No OFD packet to send [03:48:31]OFD Sender: No OFD packet to send [03:48:36]OFD Sender: No OFD packet to send [03:48:41]OFD Sender: No OFD packet to send [03:48:46]OFD Sender: No OFD packet to send [03:48:51]OFD Sender: No OFD packet to send [03:48:56]OFD Sender: No OFD packet to send [03:49:01]OFD Sender: No OFD packet to send [03:49:06]OFD Sender: No OFD packet to send [03:49:11]OFD Sender: No OFD packet to send [03:49:16]OFD Sender: No OFD packet to send [03:49:21]OFD Sender: No OFD packet to send [03:49:26]OFD Sender: No OFD packet to send [03:49:31]OFD Sender: No OFD packet to send [03:49:36]OFD Sender: No OFD packet to send [03:49:41]OFD Sender: No OFD packet to send [03:49:46]OFD Sender: No OFD packet to send [03:49:51]OFD Sender: No OFD packet to send [03:49:56]OFD Sender: No OFD packet to send [03:50:01]OFD Sender: No OFD packet to send [03:50:06]OFD Sender: No OFD packet to send [03:50:11]OFD Sender: No OFD packet to send [03:50:16]OFD Sender: No OFD packet to send [03:50:21]OFD Sender: No OFD packet to send [03:50:26]OFD Sender: No OFD packet to send [03:50:31]OFD Sender: No OFD packet to send [03:50:36]OFD Sender: No OFD packet to send [03:50:41]OFD Sender: No OFD packet to send [03:50:46]OFD Sender: No OFD packet to send [03:50:51]OFD Sender: No OFD packet to send [03:50:56]OFD Sender: No OFD packet to send [03:51:01]OFD Sender: No OFD packet to send [03:51:06]OFD Sender: No OFD packet to send [03:51:11]OFD Sender: No OFD packet to send [03:51:16]OFD Sender: No OFD packet to send [03:51:21]OFD Sender: No OFD packet to send [03:51:26]OFD Sender: No OFD packet to send [03:51:31]OFD Sender: No OFD packet to send [03:51:36]OFD Sender: No OFD packet to send [03:51:41]OFD Sender: No OFD packet to send [03:51:46]OFD Sender: No OFD packet to send [03:51:51]OFD Sender: No OFD packet to send [03:51:56]OFD Sender: No OFD packet to send [03:52:01]OFD Sender: No OFD packet to send [03:52:06]OFD Sender: No OFD packet to send [03:52:11]OFD Sender: No OFD packet to send [03:52:16]OFD Sender: No OFD packet to send [03:52:21]OFD Sender: No OFD packet to send [03:52:26]OFD Sender: No OFD packet to send [03:52:31]OFD Sender: No OFD packet to send [03:52:36]OFD Sender: No OFD packet to send [03:52:41]OFD Sender: No OFD packet to send [03:52:46]OFD Sender: No OFD packet to send [03:52:51]OFD Sender: No OFD packet to send [03:52:56]OFD Sender: No OFD packet to send [03:53:02]OFD Sender: No OFD packet to send [03:53:07]OFD Sender: No OFD packet to send [03:53:12]OFD Sender: No OFD packet to send [03:53:17]OFD Sender: No OFD packet to send [03:53:22]OFD Sender: No OFD packet to send [03:53:27]OFD Sender: No OFD packet to send [03:53:32]OFD Sender: No OFD packet to send [03:53:37]OFD Sender: No OFD packet to send [03:53:42]OFD Sender: No OFD packet to send [03:53:47]OFD Sender: No OFD packet to send [03:53:52]OFD Sender: No OFD packet to send [03:53:57]OFD Sender: No OFD packet to send [03:54:02]OFD Sender: No OFD packet to send [03:54:07]OFD Sender: No OFD packet to send [03:54:12]OFD Sender: No OFD packet to send [03:54:17]OFD Sender: No OFD packet to send [03:54:22]OFD Sender: No OFD packet to send [03:54:27]OFD Sender: No OFD packet to send [03:54:32]OFD Sender: No OFD packet to send [03:54:37]OFD Sender: No OFD packet to send [03:54:42]OFD Sender: No OFD packet to send [03:54:47]OFD Sender: No OFD packet to send [03:54:52]OFD Sender: No OFD packet to send [03:54:57]OFD Sender: No OFD packet to send [03:55:02]OFD Sender: No OFD packet to send [03:55:07]OFD Sender: No OFD packet to send [03:55:12]OFD Sender: No OFD packet to send [03:55:17]OFD Sender: No OFD packet to send [03:55:22]OFD Sender: No OFD packet to send [03:55:27]OFD Sender: No OFD packet to send [03:55:32]OFD Sender: No OFD packet to send [03:55:37]OFD Sender: No OFD packet to send [03:55:42]OFD Sender: No OFD packet to send [03:55:47]OFD Sender: No OFD packet to send [03:55:52]OFD Sender: No OFD packet to send [03:55:57]OFD Sender: No OFD packet to send [03:56:02]OFD Sender: No OFD packet to send [03:56:07]OFD Sender: No OFD packet to send [03:56:12]OFD Sender: No OFD packet to send [03:56:17]OFD Sender: No OFD packet to send [03:56:22]OFD Sender: No OFD packet to send [03:56:27]OFD Sender: No OFD packet to send [03:56:32]OFD Sender: No OFD packet to send [03:56:37]OFD Sender: No OFD packet to send [03:56:42]OFD Sender: No OFD packet to send [03:56:47]OFD Sender: No OFD packet to send [03:56:52]OFD Sender: No OFD packet to send [03:56:57]OFD Sender: No OFD packet to send [03:57:02]OFD Sender: No OFD packet to send [03:57:07]OFD Sender: No OFD packet to send [03:57:12]OFD Sender: No OFD packet to send [03:57:17]OFD Sender: No OFD packet to send [03:57:22]OFD Sender: No OFD packet to send [03:57:27]OFD Sender: No OFD packet to send [03:57:32]OFD Sender: No OFD packet to send [03:57:37]OFD Sender: No OFD packet to send [03:57:42]OFD Sender: No OFD packet to send [03:57:47]OFD Sender: No OFD packet to send [03:57:52]OFD Sender: No OFD packet to send [03:57:57]OFD Sender: No OFD packet to send [03:58:02]OFD Sender: No OFD packet to send [03:58:07]OFD Sender: No OFD packet to send [03:58:12]OFD Sender: No OFD packet to send [03:58:17]OFD Sender: No OFD packet to send [03:58:22]OFD Sender: No OFD packet to send [03:58:27]OFD Sender: No OFD packet to send [03:58:32]OFD Sender: No OFD packet to send [03:58:37]OFD Sender: No OFD packet to send [03:58:42]OFD Sender: No OFD packet to send [03:58:47]OFD Sender: No OFD packet to send [03:58:52]OFD Sender: No OFD packet to send [03:58:57]OFD Sender: No OFD packet to send [03:59:02]OFD Sender: No OFD packet to send [03:59:07]OFD Sender: No OFD packet to send [03:59:12]OFD Sender: No OFD packet to send [03:59:17]OFD Sender: No OFD packet to send [03:59:22]OFD Sender: No OFD packet to send [03:59:27]OFD Sender: No OFD packet to send [03:59:32]OFD Sender: No OFD packet to send [03:59:37]OFD Sender: No OFD packet to send [03:59:42]OFD Sender: No OFD packet to send [03:59:47]OFD Sender: No OFD packet to send [03:59:52]OFD Sender: No OFD packet to send [03:59:57]OFD Sender: No OFD packet to send [04:00:02]OFD Sender: No OFD packet to send [04:00:07]OFD Sender: No OFD packet to send [04:00:12]OFD Sender: No OFD packet to send [04:00:17]OFD Sender: No OFD packet to send [04:00:22]OFD Sender: No OFD packet to send [04:00:27]OFD Sender: No OFD packet to send [04:00:32]OFD Sender: No OFD packet to send [04:00:37]OFD Sender: No OFD packet to send [04:00:42]OFD Sender: No OFD packet to send [04:00:47]OFD Sender: No OFD packet to send [04:00:52]OFD Sender: No OFD packet to send [04:00:57]OFD Sender: No OFD packet to send [04:01:02]OFD Sender: No OFD packet to send [04:01:07]OFD Sender: No OFD packet to send [04:01:12]OFD Sender: No OFD packet to send [04:01:17]OFD Sender: No OFD packet to send [04:01:22]OFD Sender: No OFD packet to send [04:01:27]OFD Sender: No OFD packet to send [04:01:32]OFD Sender: No OFD packet to send [04:01:37]OFD Sender: No OFD packet to send [04:01:42]OFD Sender: No OFD packet to send [04:01:47]OFD Sender: No OFD packet to send [04:01:52]OFD Sender: No OFD packet to send [04:01:57]OFD Sender: No OFD packet to send [04:02:02]OFD Sender: No OFD packet to send [04:02:07]OFD Sender: No OFD packet to send [04:02:12]OFD Sender: No OFD packet to send [04:02:17]OFD Sender: No OFD packet to send [04:02:22]OFD Sender: No OFD packet to send [04:02:27]OFD Sender: No OFD packet to send [04:02:32]OFD Sender: No OFD packet to send [04:02:37]OFD Sender: No OFD packet to send [04:02:42]OFD Sender: No OFD packet to send [04:02:47]OFD Sender: No OFD packet to send [04:02:52]OFD Sender: No OFD packet to send [04:02:57]OFD Sender: No OFD packet to send [04:03:02]OFD Sender: No OFD packet to send [04:03:07]OFD Sender: No OFD packet to send [04:03:12]OFD Sender: No OFD packet to send [04:03:17]OFD Sender: No OFD packet to send [04:03:22]OFD Sender: No OFD packet to send [04:03:27]OFD Sender: No OFD packet to send [04:03:32]OFD Sender: No OFD packet to send [04:03:37]OFD Sender: No OFD packet to send [04:03:42]OFD Sender: No OFD packet to send [04:03:47]OFD Sender: No OFD packet to send [04:03:52]OFD Sender: No OFD packet to send [04:03:57]OFD Sender: No OFD packet to send [04:04:02]OFD Sender: No OFD packet to send [04:04:07]OFD Sender: No OFD packet to send [04:04:12]OFD Sender: No OFD packet to send [04:04:17]OFD Sender: No OFD packet to send [04:04:22]OFD Sender: No OFD packet to send [04:04:27]OFD Sender: No OFD packet to send [04:04:32]OFD Sender: No OFD packet to send [04:04:37]OFD Sender: No OFD packet to send [04:04:42]OFD Sender: No OFD packet to send [04:04:47]OFD Sender: No OFD packet to send [04:04:52]OFD Sender: No OFD packet to send [04:04:57]OFD Sender: No OFD packet to send [04:05:02]OFD Sender: No OFD packet to send [04:05:07]OFD Sender: No OFD packet to send [04:05:12]OFD Sender: No OFD packet to send [04:05:17]OFD Sender: No OFD packet to send [04:05:22]OFD Sender: No OFD packet to send [04:05:27]OFD Sender: No OFD packet to send [04:05:32]OFD Sender: No OFD packet to send [04:05:37]OFD Sender: No OFD packet to send [04:05:42]OFD Sender: No OFD packet to send [04:05:47]OFD Sender: No OFD packet to send [04:05:52]OFD Sender: No OFD packet to send [04:05:57]OFD Sender: No OFD packet to send [04:06:02]OFD Sender: No OFD packet to send [04:06:07]OFD Sender: No OFD packet to send [04:06:12]OFD Sender: No OFD packet to send [04:06:17]OFD Sender: No OFD packet to send [04:06:22]OFD Sender: No OFD packet to send [04:06:27]OFD Sender: No OFD packet to send [04:06:32]OFD Sender: No OFD packet to send [04:06:37]OFD Sender: No OFD packet to send [04:06:42]OFD Sender: No OFD packet to send [04:06:47]OFD Sender: No OFD packet to send [04:06:52]OFD Sender: No OFD packet to send [04:06:57]OFD Sender: No OFD packet to send [04:07:02]OFD Sender: No OFD packet to send [04:07:07]OFD Sender: No OFD packet to send [04:07:12]OFD Sender: No OFD packet to send [04:07:17]OFD Sender: No OFD packet to send [04:07:22]OFD Sender: No OFD packet to send [04:07:27]OFD Sender: No OFD packet to send [04:07:32]OFD Sender: No OFD packet to send [04:07:37]OFD Sender: No OFD packet to send [04:07:42]OFD Sender: No OFD packet to send [04:07:47]OFD Sender: No OFD packet to send [04:07:52]OFD Sender: No OFD packet to send [04:07:57]OFD Sender: No OFD packet to send [04:08:02]OFD Sender: No OFD packet to send [04:08:07]OFD Sender: No OFD packet to send [04:08:12]OFD Sender: No OFD packet to send [04:08:17]OFD Sender: No OFD packet to send [04:08:22]OFD Sender: No OFD packet to send [04:08:27]OFD Sender: No OFD packet to send [04:08:32]OFD Sender: No OFD packet to send [04:08:37]OFD Sender: No OFD packet to send [04:08:42]OFD Sender: No OFD packet to send [04:08:47]OFD Sender: No OFD packet to send [04:08:52]OFD Sender: No OFD packet to send [04:08:57]OFD Sender: No OFD packet to send [04:09:02]OFD Sender: No OFD packet to send [04:09:07]OFD Sender: No OFD packet to send [04:09:12]OFD Sender: No OFD packet to send [04:09:17]OFD Sender: No OFD packet to send [04:09:22]OFD Sender: No OFD packet to send [04:09:27]OFD Sender: No OFD packet to send [04:09:32]OFD Sender: No OFD packet to send [04:09:37]OFD Sender: No OFD packet to send [04:09:42]OFD Sender: No OFD packet to send [04:09:47]OFD Sender: No OFD packet to send [04:09:52]OFD Sender: No OFD packet to send [04:09:57]OFD Sender: No OFD packet to send [04:10:02]OFD Sender: No OFD packet to send [04:10:07]OFD Sender: No OFD packet to send [04:10:12]OFD Sender: No OFD packet to send [04:10:17]OFD Sender: No OFD packet to send [04:10:22]OFD Sender: No OFD packet to send [04:10:27]OFD Sender: No OFD packet to send [04:10:32]OFD Sender: No OFD packet to send [04:10:37]OFD Sender: No OFD packet to send [04:10:42]OFD Sender: No OFD packet to send [04:10:47]OFD Sender: No OFD packet to send [04:10:52]OFD Sender: No OFD packet to send [04:10:57]OFD Sender: No OFD packet to send [04:11:02]OFD Sender: No OFD packet to send [04:11:07]OFD Sender: No OFD packet to send [04:11:12]OFD Sender: No OFD packet to send [04:11:17]OFD Sender: No OFD packet to send [04:11:22]OFD Sender: No OFD packet to send [04:11:27]OFD Sender: No OFD packet to send [04:11:32]OFD Sender: No OFD packet to send [04:11:37]OFD Sender: No OFD packet to send [04:11:42]OFD Sender: No OFD packet to send [04:11:47]OFD Sender: No OFD packet to send [04:11:52]OFD Sender: No OFD packet to send [04:11:57]OFD Sender: No OFD packet to send [04:12:02]OFD Sender: No OFD packet to send [04:12:07]OFD Sender: No OFD packet to send [04:12:12]OFD Sender: No OFD packet to send [04:12:17]OFD Sender: No OFD packet to send [04:12:22]OFD Sender: No OFD packet to send [04:12:27]OFD Sender: No OFD packet to send [04:12:32]OFD Sender: No OFD packet to send [04:12:37]OFD Sender: No OFD packet to send [04:12:42]OFD Sender: No OFD packet to send [04:12:47]OFD Sender: No OFD packet to send [04:12:52]OFD Sender: No OFD packet to send [04:12:57]OFD Sender: No OFD packet to send [04:13:03]OFD Sender: No OFD packet to send [04:13:08]OFD Sender: No OFD packet to send [04:13:13]OFD Sender: No OFD packet to send [04:13:18]OFD Sender: No OFD packet to send [04:13:23]OFD Sender: No OFD packet to send [04:13:28]OFD Sender: No OFD packet to send [04:13:33]OFD Sender: No OFD packet to send [04:13:38]OFD Sender: No OFD packet to send [04:13:43]OFD Sender: No OFD packet to send [04:13:48]OFD Sender: No OFD packet to send [04:13:53]OFD Sender: No OFD packet to send [04:13:58]OFD Sender: No OFD packet to send [04:14:03]OFD Sender: No OFD packet to send [04:14:08]OFD Sender: No OFD packet to send [04:14:13]OFD Sender: No OFD packet to send [04:14:18]OFD Sender: No OFD packet to send [04:14:23]OFD Sender: No OFD packet to send [04:14:28]OFD Sender: No OFD packet to send [04:14:33]OFD Sender: No OFD packet to send [04:14:38]OFD Sender: No OFD packet to send [04:14:43]OFD Sender: No OFD packet to send [04:14:48]OFD Sender: No OFD packet to send [04:14:53]OFD Sender: No OFD packet to send [04:14:58]OFD Sender: No OFD packet to send [04:15:03]OFD Sender: No OFD packet to send [04:15:08]OFD Sender: No OFD packet to send [04:15:13]OFD Sender: No OFD packet to send [04:15:18]OFD Sender: No OFD packet to send [04:15:23]OFD Sender: No OFD packet to send [04:15:28]OFD Sender: No OFD packet to send [04:15:33]OFD Sender: No OFD packet to send [04:15:38]OFD Sender: No OFD packet to send [04:15:43]OFD Sender: No OFD packet to send [04:15:48]OFD Sender: No OFD packet to send [04:15:53]OFD Sender: No OFD packet to send [04:15:58]OFD Sender: No OFD packet to send [04:16:03]OFD Sender: No OFD packet to send [04:16:08]OFD Sender: No OFD packet to send [04:16:13]OFD Sender: No OFD packet to send [04:16:18]OFD Sender: No OFD packet to send [04:16:23]OFD Sender: No OFD packet to send [04:16:28]OFD Sender: No OFD packet to send [04:16:33]OFD Sender: No OFD packet to send [04:16:38]OFD Sender: No OFD packet to send [04:16:43]OFD Sender: No OFD packet to send [04:16:48]OFD Sender: No OFD packet to send [04:16:53]OFD Sender: No OFD packet to send [04:16:58]OFD Sender: No OFD packet to send [04:17:03]OFD Sender: No OFD packet to send [04:17:08]OFD Sender: No OFD packet to send [04:17:13]OFD Sender: No OFD packet to send [04:17:18]OFD Sender: No OFD packet to send [04:17:23]OFD Sender: No OFD packet to send [04:17:28]OFD Sender: No OFD packet to send [04:17:33]OFD Sender: No OFD packet to send [04:17:38]OFD Sender: No OFD packet to send [04:17:43]OFD Sender: No OFD packet to send [04:17:48]OFD Sender: No OFD packet to send [04:17:53]OFD Sender: No OFD packet to send [04:17:58]OFD Sender: No OFD packet to send [04:18:03]OFD Sender: No OFD packet to send [04:18:08]OFD Sender: No OFD packet to send [04:18:13]OFD Sender: No OFD packet to send [04:18:18]OFD Sender: No OFD packet to send [04:18:23]OFD Sender: No OFD packet to send [04:18:28]OFD Sender: No OFD packet to send [04:18:33]OFD Sender: No OFD packet to send [04:18:38]OFD Sender: No OFD packet to send [04:18:43]OFD Sender: No OFD packet to send [04:18:48]OFD Sender: No OFD packet to send [04:18:53]OFD Sender: No OFD packet to send [04:18:58]OFD Sender: No OFD packet to send [04:19:03]OFD Sender: No OFD packet to send [04:19:08]OFD Sender: No OFD packet to send [04:19:13]OFD Sender: No OFD packet to send [04:19:18]OFD Sender: No OFD packet to send [04:19:23]OFD Sender: No OFD packet to send [04:19:28]OFD Sender: No OFD packet to send [04:19:33]OFD Sender: No OFD packet to send [04:19:38]OFD Sender: No OFD packet to send [04:19:43]OFD Sender: No OFD packet to send [04:19:48]OFD Sender: No OFD packet to send [04:19:53]OFD Sender: No OFD packet to send [04:19:58]OFD Sender: No OFD packet to send [04:20:03]OFD Sender: No OFD packet to send [04:20:08]OFD Sender: No OFD packet to send [04:20:13]OFD Sender: No OFD packet to send [04:20:18]OFD Sender: No OFD packet to send [04:20:23]OFD Sender: No OFD packet to send [04:20:28]OFD Sender: No OFD packet to send [04:20:33]OFD Sender: No OFD packet to send [04:20:38]OFD Sender: No OFD packet to send [04:20:43]OFD Sender: No OFD packet to send [04:20:48]OFD Sender: No OFD packet to send [04:20:53]OFD Sender: No OFD packet to send [04:20:58]OFD Sender: No OFD packet to send [04:21:03]OFD Sender: No OFD packet to send [04:21:08]OFD Sender: No OFD packet to send [04:21:13]OFD Sender: No OFD packet to send [04:21:18]OFD Sender: No OFD packet to send [04:21:23]OFD Sender: No OFD packet to send [04:21:28]OFD Sender: No OFD packet to send [04:21:33]OFD Sender: No OFD packet to send [04:21:38]OFD Sender: No OFD packet to send [04:21:43]OFD Sender: No OFD packet to send [04:21:48]OFD Sender: No OFD packet to send [04:21:53]OFD Sender: No OFD packet to send [04:21:58]OFD Sender: No OFD packet to send [04:22:03]OFD Sender: No OFD packet to send [04:22:08]OFD Sender: No OFD packet to send [04:22:13]OFD Sender: No OFD packet to send [04:22:18]OFD Sender: No OFD packet to send [04:22:23]OFD Sender: No OFD packet to send [04:22:28]OFD Sender: No OFD packet to send [04:22:33]OFD Sender: No OFD packet to send [04:22:38]OFD Sender: No OFD packet to send [04:22:43]OFD Sender: No OFD packet to send [04:22:48]OFD Sender: No OFD packet to send [04:22:53]OFD Sender: No OFD packet to send [04:22:58]OFD Sender: No OFD packet to send [04:23:03]OFD Sender: No OFD packet to send [04:23:08]OFD Sender: No OFD packet to send [04:23:13]OFD Sender: No OFD packet to send [04:23:18]OFD Sender: No OFD packet to send [04:23:23]OFD Sender: No OFD packet to send [04:23:28]OFD Sender: No OFD packet to send [04:23:33]OFD Sender: No OFD packet to send [04:23:38]OFD Sender: No OFD packet to send [04:23:43]OFD Sender: No OFD packet to send [04:23:48]OFD Sender: No OFD packet to send [04:23:53]OFD Sender: No OFD packet to send [04:23:58]OFD Sender: No OFD packet to send [04:24:03]OFD Sender: No OFD packet to send [04:24:08]OFD Sender: No OFD packet to send [04:24:13]OFD Sender: No OFD packet to send [04:24:18]OFD Sender: No OFD packet to send [04:24:23]OFD Sender: No OFD packet to send [04:24:28]OFD Sender: No OFD packet to send [04:24:33]OFD Sender: No OFD packet to send [04:24:38]OFD Sender: No OFD packet to send [04:24:43]OFD Sender: No OFD packet to send [04:24:48]OFD Sender: No OFD packet to send [04:24:53]OFD Sender: No OFD packet to send [04:24:58]OFD Sender: No OFD packet to send [04:25:03]OFD Sender: No OFD packet to send [04:25:08]OFD Sender: No OFD packet to send [04:25:13]OFD Sender: No OFD packet to send [04:25:18]OFD Sender: No OFD packet to send [04:25:23]OFD Sender: No OFD packet to send [04:25:28]OFD Sender: No OFD packet to send [04:25:33]OFD Sender: No OFD packet to send [04:25:38]OFD Sender: No OFD packet to send [04:25:43]OFD Sender: No OFD packet to send [04:25:48]OFD Sender: No OFD packet to send [04:25:53]OFD Sender: No OFD packet to send [04:25:58]OFD Sender: No OFD packet to send [04:26:03]OFD Sender: No OFD packet to send [04:26:08]OFD Sender: No OFD packet to send [04:26:13]OFD Sender: No OFD packet to send [04:26:18]OFD Sender: No OFD packet to send [04:26:23]OFD Sender: No OFD packet to send [04:26:28]OFD Sender: No OFD packet to send [04:26:33]OFD Sender: No OFD packet to send [04:26:38]OFD Sender: No OFD packet to send [04:26:43]OFD Sender: No OFD packet to send [04:26:48]OFD Sender: No OFD packet to send [04:26:53]OFD Sender: No OFD packet to send [04:26:58]OFD Sender: No OFD packet to send [04:27:03]OFD Sender: No OFD packet to send [04:27:08]OFD Sender: No OFD packet to send [04:27:13]OFD Sender: No OFD packet to send [04:27:18]OFD Sender: No OFD packet to send [04:27:23]OFD Sender: No OFD packet to send [04:27:28]OFD Sender: No OFD packet to send [04:27:33]OFD Sender: No OFD packet to send [04:27:38]OFD Sender: No OFD packet to send [04:27:43]OFD Sender: No OFD packet to send [04:27:48]OFD Sender: No OFD packet to send [04:27:53]OFD Sender: No OFD packet to send [04:27:58]OFD Sender: No OFD packet to send [04:28:03]OFD Sender: No OFD packet to send [04:28:08]OFD Sender: No OFD packet to send [04:28:13]OFD Sender: No OFD packet to send [04:28:18]OFD Sender: No OFD packet to send [04:28:23]OFD Sender: No OFD packet to send [04:28:28]OFD Sender: No OFD packet to send [04:28:33]OFD Sender: No OFD packet to send [04:28:38]OFD Sender: No OFD packet to send [04:28:43]OFD Sender: No OFD packet to send [04:28:48]OFD Sender: No OFD packet to send [04:28:53]OFD Sender: No OFD packet to send [04:28:58]OFD Sender: No OFD packet to send [04:29:03]OFD Sender: No OFD packet to send [04:29:08]OFD Sender: No OFD packet to send [04:29:13]OFD Sender: No OFD packet to send [04:29:18]OFD Sender: No OFD packet to send [04:29:23]OFD Sender: No OFD packet to send [04:29:28]OFD Sender: No OFD packet to send [04:29:33]OFD Sender: No OFD packet to send [04:29:38]OFD Sender: No OFD packet to send [04:29:43]OFD Sender: No OFD packet to send [04:29:48]OFD Sender: No OFD packet to send [04:29:53]OFD Sender: No OFD packet to send [04:29:58]OFD Sender: No OFD packet to send [04:30:03]OFD Sender: No OFD packet to send [04:30:08]OFD Sender: No OFD packet to send [04:30:13]OFD Sender: No OFD packet to send [04:30:18]OFD Sender: No OFD packet to send [04:30:23]OFD Sender: No OFD packet to send [04:30:28]OFD Sender: No OFD packet to send [04:30:33]OFD Sender: No OFD packet to send [04:30:38]OFD Sender: No OFD packet to send [04:30:43]OFD Sender: No OFD packet to send [04:30:48]OFD Sender: No OFD packet to send [04:30:53]OFD Sender: No OFD packet to send [04:30:58]OFD Sender: No OFD packet to send [04:31:03]OFD Sender: No OFD packet to send [04:31:08]OFD Sender: No OFD packet to send [04:31:13]OFD Sender: No OFD packet to send [04:31:18]OFD Sender: No OFD packet to send [04:31:23]OFD Sender: No OFD packet to send [04:31:28]OFD Sender: No OFD packet to send [04:31:33]OFD Sender: No OFD packet to send [04:31:38]OFD Sender: No OFD packet to send [04:31:43]OFD Sender: No OFD packet to send [04:31:48]OFD Sender: No OFD packet to send [04:31:53]OFD Sender: No OFD packet to send [04:31:58]OFD Sender: No OFD packet to send [04:32:03]OFD Sender: No OFD packet to send [04:32:08]OFD Sender: No OFD packet to send [04:32:13]OFD Sender: No OFD packet to send [04:32:18]OFD Sender: No OFD packet to send [04:32:23]OFD Sender: No OFD packet to send [04:32:28]OFD Sender: No OFD packet to send [04:32:33]OFD Sender: No OFD packet to send [04:32:38]OFD Sender: No OFD packet to send [04:32:43]OFD Sender: No OFD packet to send [04:32:48]OFD Sender: No OFD packet to send [04:32:53]OFD Sender: No OFD packet to send [04:32:58]OFD Sender: No OFD packet to send [04:33:03]OFD Sender: No OFD packet to send [04:33:08]OFD Sender: No OFD packet to send [04:33:13]OFD Sender: No OFD packet to send [04:33:19]OFD Sender: No OFD packet to send [04:33:24]OFD Sender: No OFD packet to send [04:33:29]OFD Sender: No OFD packet to send [04:33:34]OFD Sender: No OFD packet to send [04:33:39]OFD Sender: No OFD packet to send [04:33:44]OFD Sender: No OFD packet to send [04:33:49]OFD Sender: No OFD packet to send [04:33:54]OFD Sender: No OFD packet to send [04:33:59]OFD Sender: No OFD packet to send [04:34:04]OFD Sender: No OFD packet to send [04:34:09]OFD Sender: No OFD packet to send [04:34:14]OFD Sender: No OFD packet to send [04:34:19]OFD Sender: No OFD packet to send [04:34:24]OFD Sender: No OFD packet to send [04:34:29]OFD Sender: No OFD packet to send [04:34:34]OFD Sender: No OFD packet to send [04:34:39]OFD Sender: No OFD packet to send [04:34:44]OFD Sender: No OFD packet to send [04:34:49]OFD Sender: No OFD packet to send [04:34:54]OFD Sender: No OFD packet to send [04:34:59]OFD Sender: No OFD packet to send [04:35:04]OFD Sender: No OFD packet to send [04:35:09]OFD Sender: No OFD packet to send [04:35:14]OFD Sender: No OFD packet to send [04:35:19]OFD Sender: No OFD packet to send [04:35:24]OFD Sender: No OFD packet to send [04:35:29]OFD Sender: No OFD packet to send [04:35:34]OFD Sender: No OFD packet to send [04:35:39]OFD Sender: No OFD packet to send [04:35:44]OFD Sender: No OFD packet to send [04:35:49]OFD Sender: No OFD packet to send [04:35:54]OFD Sender: No OFD packet to send [04:35:59]OFD Sender: No OFD packet to send [04:36:04]OFD Sender: No OFD packet to send [04:36:09]OFD Sender: No OFD packet to send [04:36:14]OFD Sender: No OFD packet to send [04:36:19]OFD Sender: No OFD packet to send [04:36:24]OFD Sender: No OFD packet to send [04:36:29]OFD Sender: No OFD packet to send [04:36:34]OFD Sender: No OFD packet to send [04:36:39]OFD Sender: No OFD packet to send [04:36:44]OFD Sender: No OFD packet to send [04:36:49]OFD Sender: No OFD packet to send [04:36:54]OFD Sender: No OFD packet to send [04:36:59]OFD Sender: No OFD packet to send [04:37:04]OFD Sender: No OFD packet to send [04:37:09]OFD Sender: No OFD packet to send [04:37:14]OFD Sender: No OFD packet to send [04:37:19]OFD Sender: No OFD packet to send [04:37:24]OFD Sender: No OFD packet to send [04:37:29]OFD Sender: No OFD packet to send [04:37:34]OFD Sender: No OFD packet to send [04:37:39]OFD Sender: No OFD packet to send [04:37:44]OFD Sender: No OFD packet to send [04:37:49]OFD Sender: No OFD packet to send [04:37:54]OFD Sender: No OFD packet to send [04:37:59]OFD Sender: No OFD packet to send [04:38:04]OFD Sender: No OFD packet to send [04:38:09]OFD Sender: No OFD packet to send [04:38:14]OFD Sender: No OFD packet to send [04:38:19]OFD Sender: No OFD packet to send [04:38:24]OFD Sender: No OFD packet to send [04:38:29]OFD Sender: No OFD packet to send [04:38:34]OFD Sender: No OFD packet to send [04:38:39]OFD Sender: No OFD packet to send [04:38:44]OFD Sender: No OFD packet to send [04:38:49]OFD Sender: No OFD packet to send [04:38:54]OFD Sender: No OFD packet to send [04:38:59]OFD Sender: No OFD packet to send [04:39:04]OFD Sender: No OFD packet to send [04:39:09]OFD Sender: No OFD packet to send [04:39:14]OFD Sender: No OFD packet to send [04:39:19]OFD Sender: No OFD packet to send [04:39:24]OFD Sender: No OFD packet to send [04:39:29]OFD Sender: No OFD packet to send [04:39:34]OFD Sender: No OFD packet to send [04:39:39]OFD Sender: No OFD packet to send [04:39:44]OFD Sender: No OFD packet to send [04:39:49]OFD Sender: No OFD packet to send [04:39:54]OFD Sender: No OFD packet to send [04:39:59]OFD Sender: No OFD packet to send [04:40:04]OFD Sender: No OFD packet to send [04:40:09]OFD Sender: No OFD packet to send [04:40:14]OFD Sender: No OFD packet to send [04:40:19]OFD Sender: No OFD packet to send [04:40:24]OFD Sender: No OFD packet to send [04:40:29]OFD Sender: No OFD packet to send [04:40:34]OFD Sender: No OFD packet to send [04:40:39]OFD Sender: No OFD packet to send [04:40:44]OFD Sender: No OFD packet to send [04:40:49]OFD Sender: No OFD packet to send [04:40:54]OFD Sender: No OFD packet to send [04:40:59]OFD Sender: No OFD packet to send [04:41:04]OFD Sender: No OFD packet to send [04:41:09]OFD Sender: No OFD packet to send [04:41:14]OFD Sender: No OFD packet to send [04:41:19]OFD Sender: No OFD packet to send [04:41:24]OFD Sender: No OFD packet to send [04:41:29]OFD Sender: No OFD packet to send [04:41:34]OFD Sender: No OFD packet to send [04:41:39]OFD Sender: No OFD packet to send [04:41:44]OFD Sender: No OFD packet to send [04:41:49]OFD Sender: No OFD packet to send [04:41:54]OFD Sender: No OFD packet to send [04:41:59]OFD Sender: No OFD packet to send [04:42:04]OFD Sender: No OFD packet to send [04:42:09]OFD Sender: No OFD packet to send [04:42:14]OFD Sender: No OFD packet to send [04:42:19]OFD Sender: No OFD packet to send [04:42:24]OFD Sender: No OFD packet to send [04:42:29]OFD Sender: No OFD packet to send [04:42:34]OFD Sender: No OFD packet to send [04:42:39]OFD Sender: No OFD packet to send [04:42:44]OFD Sender: No OFD packet to send [04:42:49]OFD Sender: No OFD packet to send [04:42:54]OFD Sender: No OFD packet to send [04:42:59]OFD Sender: No OFD packet to send [04:43:04]OFD Sender: No OFD packet to send [04:43:09]OFD Sender: No OFD packet to send [04:43:14]OFD Sender: No OFD packet to send [04:43:19]OFD Sender: No OFD packet to send [04:43:24]OFD Sender: No OFD packet to send [04:43:29]OFD Sender: No OFD packet to send [04:43:34]OFD Sender: No OFD packet to send [04:43:39]OFD Sender: No OFD packet to send [04:43:44]OFD Sender: No OFD packet to send [04:43:49]OFD Sender: No OFD packet to send [04:43:54]OFD Sender: No OFD packet to send [04:43:59]OFD Sender: No OFD packet to send [04:44:04]OFD Sender: No OFD packet to send [04:44:09]OFD Sender: No OFD packet to send [04:44:14]OFD Sender: No OFD packet to send [04:44:19]OFD Sender: No OFD packet to send [04:44:24]OFD Sender: No OFD packet to send [04:44:29]OFD Sender: No OFD packet to send [04:44:34]OFD Sender: No OFD packet to send [04:44:39]OFD Sender: No OFD packet to send [04:44:44]OFD Sender: No OFD packet to send [04:44:49]OFD Sender: No OFD packet to send [04:44:54]OFD Sender: No OFD packet to send [04:44:59]OFD Sender: No OFD packet to send [04:45:04]OFD Sender: No OFD packet to send [04:45:09]OFD Sender: No OFD packet to send [04:45:14]OFD Sender: No OFD packet to send [04:45:19]OFD Sender: No OFD packet to send [04:45:24]OFD Sender: No OFD packet to send [04:45:29]OFD Sender: No OFD packet to send [04:45:34]OFD Sender: No OFD packet to send [04:45:39]OFD Sender: No OFD packet to send [04:45:44]OFD Sender: No OFD packet to send [04:45:49]OFD Sender: No OFD packet to send [04:45:54]OFD Sender: No OFD packet to send [04:45:59]OFD Sender: No OFD packet to send [04:46:04]OFD Sender: No OFD packet to send [04:46:09]OFD Sender: No OFD packet to send [04:46:14]OFD Sender: No OFD packet to send [04:46:19]OFD Sender: No OFD packet to send [04:46:24]OFD Sender: No OFD packet to send [04:46:29]OFD Sender: No OFD packet to send [04:46:34]OFD Sender: No OFD packet to send [04:46:39]OFD Sender: No OFD packet to send [04:46:44]OFD Sender: No OFD packet to send [04:46:49]OFD Sender: No OFD packet to send [04:46:54]OFD Sender: No OFD packet to send [04:46:59]OFD Sender: No OFD packet to send [04:47:04]OFD Sender: No OFD packet to send [04:47:09]OFD Sender: No OFD packet to send [04:47:14]OFD Sender: No OFD packet to send [04:47:19]OFD Sender: No OFD packet to send [04:47:24]OFD Sender: No OFD packet to send [04:47:29]OFD Sender: No OFD packet to send [04:47:34]OFD Sender: No OFD packet to send [04:47:39]OFD Sender: No OFD packet to send [04:47:44]OFD Sender: No OFD packet to send [04:47:49]OFD Sender: No OFD packet to send [04:47:54]OFD Sender: No OFD packet to send [04:47:59]OFD Sender: No OFD packet to send [04:48:04]OFD Sender: No OFD packet to send [04:48:09]OFD Sender: No OFD packet to send [04:48:14]OFD Sender: No OFD packet to send [04:48:19]OFD Sender: No OFD packet to send [04:48:24]OFD Sender: No OFD packet to send [04:48:29]OFD Sender: No OFD packet to send [04:48:34]OFD Sender: No OFD packet to send [04:48:39]OFD Sender: No OFD packet to send [04:48:44]OFD Sender: No OFD packet to send [04:48:49]OFD Sender: No OFD packet to send [04:48:54]OFD Sender: No OFD packet to send [04:48:59]OFD Sender: No OFD packet to send [04:49:04]OFD Sender: No OFD packet to send [04:49:09]OFD Sender: No OFD packet to send [04:49:14]OFD Sender: No OFD packet to send [04:49:19]OFD Sender: No OFD packet to send [04:49:24]OFD Sender: No OFD packet to send [04:49:29]OFD Sender: No OFD packet to send [04:49:34]OFD Sender: No OFD packet to send [04:49:39]OFD Sender: No OFD packet to send [04:49:44]OFD Sender: No OFD packet to send [04:49:49]OFD Sender: No OFD packet to send [04:49:54]OFD Sender: No OFD packet to send [04:49:59]OFD Sender: No OFD packet to send [04:50:04]OFD Sender: No OFD packet to send [04:50:09]OFD Sender: No OFD packet to send [04:50:14]OFD Sender: No OFD packet to send [04:50:19]OFD Sender: No OFD packet to send [04:50:24]OFD Sender: No OFD packet to send [04:50:29]OFD Sender: No OFD packet to send [04:50:34]OFD Sender: No OFD packet to send [04:50:39]OFD Sender: No OFD packet to send [04:50:44]OFD Sender: No OFD packet to send [04:50:49]OFD Sender: No OFD packet to send [04:50:54]OFD Sender: No OFD packet to send [04:50:59]OFD Sender: No OFD packet to send [04:51:04]OFD Sender: No OFD packet to send [04:51:09]OFD Sender: No OFD packet to send [04:51:14]OFD Sender: No OFD packet to send [04:51:19]OFD Sender: No OFD packet to send [04:51:24]OFD Sender: No OFD packet to send [04:51:29]OFD Sender: No OFD packet to send [04:51:34]OFD Sender: No OFD packet to send [04:51:39]OFD Sender: No OFD packet to send [04:51:44]OFD Sender: No OFD packet to send [04:51:49]OFD Sender: No OFD packet to send [04:51:54]OFD Sender: No OFD packet to send [04:51:59]OFD Sender: No OFD packet to send [04:52:04]OFD Sender: No OFD packet to send [04:52:09]OFD Sender: No OFD packet to send [04:52:14]OFD Sender: No OFD packet to send [04:52:19]OFD Sender: No OFD packet to send [04:52:24]OFD Sender: No OFD packet to send [04:52:29]OFD Sender: No OFD packet to send [04:52:34]OFD Sender: No OFD packet to send [04:52:39]OFD Sender: No OFD packet to send [04:52:44]OFD Sender: No OFD packet to send [04:52:49]OFD Sender: No OFD packet to send [04:52:54]OFD Sender: No OFD packet to send [04:52:59]OFD Sender: No OFD packet to send [04:53:04]OFD Sender: No OFD packet to send [04:53:09]OFD Sender: No OFD packet to send [04:53:14]OFD Sender: No OFD packet to send [04:53:20]OFD Sender: No OFD packet to send [04:53:25]OFD Sender: No OFD packet to send [04:53:30]OFD Sender: No OFD packet to send [04:53:35]OFD Sender: No OFD packet to send [04:53:40]OFD Sender: No OFD packet to send [04:53:45]OFD Sender: No OFD packet to send [04:53:50]OFD Sender: No OFD packet to send [04:53:55]OFD Sender: No OFD packet to send [04:54:00]OFD Sender: No OFD packet to send [04:54:05]OFD Sender: No OFD packet to send [04:54:10]OFD Sender: No OFD packet to send [04:54:15]OFD Sender: No OFD packet to send [04:54:20]OFD Sender: No OFD packet to send [04:54:25]OFD Sender: No OFD packet to send [04:54:30]OFD Sender: No OFD packet to send [04:54:35]OFD Sender: No OFD packet to send [04:54:40]OFD Sender: No OFD packet to send [04:54:45]OFD Sender: No OFD packet to send [04:54:50]OFD Sender: No OFD packet to send [04:54:55]OFD Sender: No OFD packet to send [04:55:00]OFD Sender: No OFD packet to send [04:55:05]OFD Sender: No OFD packet to send [04:55:10]OFD Sender: No OFD packet to send [04:55:15]OFD Sender: No OFD packet to send [04:55:20]OFD Sender: No OFD packet to send [04:55:25]OFD Sender: No OFD packet to send [04:55:30]OFD Sender: No OFD packet to send [04:55:35]OFD Sender: No OFD packet to send [04:55:40]OFD Sender: No OFD packet to send [04:55:45]OFD Sender: No OFD packet to send [04:55:50]OFD Sender: No OFD packet to send [04:55:55]OFD Sender: No OFD packet to send [04:56:00]OFD Sender: No OFD packet to send [04:56:05]OFD Sender: No OFD packet to send [04:56:10]OFD Sender: No OFD packet to send [04:56:15]OFD Sender: No OFD packet to send [04:56:20]OFD Sender: No OFD packet to send [04:56:25]OFD Sender: No OFD packet to send [04:56:30]OFD Sender: No OFD packet to send [04:56:35]OFD Sender: No OFD packet to send [04:56:40]OFD Sender: No OFD packet to send [04:56:45]OFD Sender: No OFD packet to send [04:56:50]OFD Sender: No OFD packet to send [04:56:55]OFD Sender: No OFD packet to send [04:57:00]OFD Sender: No OFD packet to send [04:57:05]OFD Sender: No OFD packet to send [04:57:10]OFD Sender: No OFD packet to send [04:57:15]OFD Sender: No OFD packet to send [04:57:20]OFD Sender: No OFD packet to send [04:57:25]OFD Sender: No OFD packet to send [04:57:30]OFD Sender: No OFD packet to send [04:57:35]OFD Sender: No OFD packet to send [04:57:40]OFD Sender: No OFD packet to send [04:57:45]OFD Sender: No OFD packet to send [04:57:50]OFD Sender: No OFD packet to send [04:57:55]OFD Sender: No OFD packet to send [04:58:00]OFD Sender: No OFD packet to send [04:58:05]OFD Sender: No OFD packet to send [04:58:10]OFD Sender: No OFD packet to send [04:58:15]OFD Sender: No OFD packet to send [04:58:20]OFD Sender: No OFD packet to send [04:58:25]OFD Sender: No OFD packet to send [04:58:30]OFD Sender: No OFD packet to send [04:58:35]OFD Sender: No OFD packet to send [04:58:40]OFD Sender: No OFD packet to send [04:58:45]OFD Sender: No OFD packet to send [04:58:50]OFD Sender: No OFD packet to send [04:58:55]OFD Sender: No OFD packet to send [04:59:00]OFD Sender: No OFD packet to send [04:59:05]OFD Sender: No OFD packet to send [04:59:10]OFD Sender: No OFD packet to send [04:59:15]OFD Sender: No OFD packet to send [04:59:20]OFD Sender: No OFD packet to send [04:59:25]OFD Sender: No OFD packet to send [04:59:30]OFD Sender: No OFD packet to send [04:59:35]OFD Sender: No OFD packet to send [04:59:40]OFD Sender: No OFD packet to send [04:59:45]OFD Sender: No OFD packet to send [04:59:50]OFD Sender: No OFD packet to send [04:59:55]OFD Sender: No OFD packet to send [05:00:00]OFD Sender: No OFD packet to send [05:00:05]OFD Sender: No OFD packet to send [05:00:10]OFD Sender: No OFD packet to send [05:00:15]OFD Sender: No OFD packet to send [05:00:20]OFD Sender: No OFD packet to send [05:00:25]OFD Sender: No OFD packet to send [05:00:30]OFD Sender: No OFD packet to send [05:00:35]OFD Sender: No OFD packet to send [05:00:40]OFD Sender: No OFD packet to send [05:00:45]OFD Sender: No OFD packet to send [05:00:50]OFD Sender: No OFD packet to send [05:00:55]OFD Sender: No OFD packet to send [05:01:00]OFD Sender: No OFD packet to send [05:01:05]OFD Sender: No OFD packet to send [05:01:10]OFD Sender: No OFD packet to send [05:01:15]OFD Sender: No OFD packet to send [05:01:20]OFD Sender: No OFD packet to send [05:01:25]OFD Sender: No OFD packet to send [05:01:30]OFD Sender: No OFD packet to send [05:01:35]OFD Sender: No OFD packet to send [05:01:40]OFD Sender: No OFD packet to send [05:01:45]OFD Sender: No OFD packet to send [05:01:50]OFD Sender: No OFD packet to send [05:01:55]OFD Sender: No OFD packet to send [05:02:00]OFD Sender: No OFD packet to send [05:02:05]OFD Sender: No OFD packet to send [05:02:10]OFD Sender: No OFD packet to send [05:02:15]OFD Sender: No OFD packet to send [05:02:20]OFD Sender: No OFD packet to send [05:02:25]OFD Sender: No OFD packet to send [05:02:30]OFD Sender: No OFD packet to send [05:02:35]OFD Sender: No OFD packet to send [05:02:40]OFD Sender: No OFD packet to send [05:02:45]OFD Sender: No OFD packet to send [05:02:50]OFD Sender: No OFD packet to send [05:02:55]OFD Sender: No OFD packet to send [05:03:00]OFD Sender: No OFD packet to send [05:03:05]OFD Sender: No OFD packet to send [05:03:10]OFD Sender: No OFD packet to send [05:03:15]OFD Sender: No OFD packet to send [05:03:20]OFD Sender: No OFD packet to send [05:03:25]OFD Sender: No OFD packet to send [05:03:30]OFD Sender: No OFD packet to send [05:03:35]OFD Sender: No OFD packet to send [05:03:40]OFD Sender: No OFD packet to send [05:03:45]OFD Sender: No OFD packet to send [05:03:50]OFD Sender: No OFD packet to send [05:03:55]OFD Sender: No OFD packet to send [05:04:00]OFD Sender: No OFD packet to send [05:04:05]OFD Sender: No OFD packet to send [05:04:10]OFD Sender: No OFD packet to send [05:04:15]OFD Sender: No OFD packet to send [05:04:20]OFD Sender: No OFD packet to send [05:04:25]OFD Sender: No OFD packet to send [05:04:30]OFD Sender: No OFD packet to send [05:04:35]OFD Sender: No OFD packet to send [05:04:40]OFD Sender: No OFD packet to send [05:04:45]OFD Sender: No OFD packet to send [05:04:50]OFD Sender: No OFD packet to send [05:04:55]OFD Sender: No OFD packet to send [05:05:00]OFD Sender: No OFD packet to send [05:05:05]OFD Sender: No OFD packet to send [05:05:10]OFD Sender: No OFD packet to send [05:05:15]OFD Sender: No OFD packet to send [05:05:20]OFD Sender: No OFD packet to send [05:05:25]OFD Sender: No OFD packet to send [05:05:30]OFD Sender: No OFD packet to send [05:05:35]OFD Sender: No OFD packet to send [05:05:40]OFD Sender: No OFD packet to send [05:05:45]OFD Sender: No OFD packet to send [05:05:50]OFD Sender: No OFD packet to send [05:05:55]OFD Sender: No OFD packet to send [05:06:00]OFD Sender: No OFD packet to send [05:06:05]OFD Sender: No OFD packet to send [05:06:10]OFD Sender: No OFD packet to send [05:06:15]OFD Sender: No OFD packet to send [05:06:20]OFD Sender: No OFD packet to send [05:06:25]OFD Sender: No OFD packet to send [05:06:30]OFD Sender: No OFD packet to send [05:06:35]OFD Sender: No OFD packet to send [05:06:40]OFD Sender: No OFD packet to send [05:06:45]OFD Sender: No OFD packet to send [05:06:50]OFD Sender: No OFD packet to send [05:06:55]OFD Sender: No OFD packet to send [05:07:00]OFD Sender: No OFD packet to send [05:07:05]OFD Sender: No OFD packet to send [05:07:10]OFD Sender: No OFD packet to send [05:07:15]OFD Sender: No OFD packet to send [05:07:20]OFD Sender: No OFD packet to send [05:07:25]OFD Sender: No OFD packet to send [05:07:30]OFD Sender: No OFD packet to send [05:07:35]OFD Sender: No OFD packet to send [05:07:40]OFD Sender: No OFD packet to send [05:07:45]OFD Sender: No OFD packet to send [05:07:50]OFD Sender: No OFD packet to send [05:07:55]OFD Sender: No OFD packet to send [05:08:00]OFD Sender: No OFD packet to send [05:08:05]OFD Sender: No OFD packet to send [05:08:10]OFD Sender: No OFD packet to send [05:08:15]OFD Sender: No OFD packet to send [05:08:20]OFD Sender: No OFD packet to send [05:08:25]OFD Sender: No OFD packet to send [05:08:30]OFD Sender: No OFD packet to send [05:08:35]OFD Sender: No OFD packet to send [05:08:40]OFD Sender: No OFD packet to send [05:08:45]OFD Sender: No OFD packet to send [05:08:50]OFD Sender: No OFD packet to send [05:08:55]OFD Sender: No OFD packet to send [05:09:00]OFD Sender: No OFD packet to send [05:09:05]OFD Sender: No OFD packet to send [05:09:10]OFD Sender: No OFD packet to send [05:09:15]OFD Sender: No OFD packet to send [05:09:20]OFD Sender: No OFD packet to send [05:09:25]OFD Sender: No OFD packet to send [05:09:30]OFD Sender: No OFD packet to send [05:09:35]OFD Sender: No OFD packet to send [05:09:40]OFD Sender: No OFD packet to send [05:09:45]OFD Sender: No OFD packet to send [05:09:50]OFD Sender: No OFD packet to send [05:09:55]OFD Sender: No OFD packet to send [05:10:00]OFD Sender: No OFD packet to send [05:10:05]OFD Sender: No OFD packet to send [05:10:10]OFD Sender: No OFD packet to send [05:10:15]OFD Sender: No OFD packet to send [05:10:20]OFD Sender: No OFD packet to send [05:10:25]OFD Sender: No OFD packet to send [05:10:30]OFD Sender: No OFD packet to send [05:10:35]OFD Sender: No OFD packet to send [05:10:40]OFD Sender: No OFD packet to send [05:10:45]OFD Sender: No OFD packet to send [05:10:50]OFD Sender: No OFD packet to send [05:10:55]OFD Sender: No OFD packet to send [05:11:00]OFD Sender: No OFD packet to send [05:11:05]OFD Sender: No OFD packet to send [05:11:10]OFD Sender: No OFD packet to send [05:11:15]OFD Sender: No OFD packet to send [05:11:20]OFD Sender: No OFD packet to send [05:11:25]OFD Sender: No OFD packet to send [05:11:30]OFD Sender: No OFD packet to send [05:11:35]OFD Sender: No OFD packet to send [05:11:40]OFD Sender: No OFD packet to send [05:11:45]OFD Sender: No OFD packet to send [05:11:50]OFD Sender: No OFD packet to send [05:11:55]OFD Sender: No OFD packet to send [05:12:00]OFD Sender: No OFD packet to send [05:12:05]OFD Sender: No OFD packet to send [05:12:10]OFD Sender: No OFD packet to send [05:12:15]OFD Sender: No OFD packet to send [05:12:20]OFD Sender: No OFD packet to send [05:12:25]OFD Sender: No OFD packet to send [05:12:30]OFD Sender: No OFD packet to send [05:12:35]OFD Sender: No OFD packet to send [05:12:40]OFD Sender: No OFD packet to send [05:12:45]OFD Sender: No OFD packet to send [05:12:50]OFD Sender: No OFD packet to send [05:12:55]OFD Sender: No OFD packet to send [05:13:00]OFD Sender: No OFD packet to send [05:13:05]OFD Sender: No OFD packet to send [05:13:10]OFD Sender: No OFD packet to send [05:13:15]OFD Sender: No OFD packet to send [05:13:20]OFD Sender: No OFD packet to send [05:13:26]OFD Sender: No OFD packet to send [05:13:31]OFD Sender: No OFD packet to send [05:13:36]OFD Sender: No OFD packet to send [05:13:41]OFD Sender: No OFD packet to send [05:13:46]OFD Sender: No OFD packet to send [05:13:51]OFD Sender: No OFD packet to send [05:13:56]OFD Sender: No OFD packet to send [05:14:01]OFD Sender: No OFD packet to send [05:14:06]OFD Sender: No OFD packet to send [05:14:11]OFD Sender: No OFD packet to send [05:14:16]OFD Sender: No OFD packet to send [05:14:21]OFD Sender: No OFD packet to send [05:14:26]OFD Sender: No OFD packet to send [05:14:31]OFD Sender: No OFD packet to send [05:14:36]OFD Sender: No OFD packet to send [05:14:41]OFD Sender: No OFD packet to send [05:14:46]OFD Sender: No OFD packet to send [05:14:51]OFD Sender: No OFD packet to send [05:14:56]OFD Sender: No OFD packet to send [05:15:01]OFD Sender: No OFD packet to send [05:15:06]OFD Sender: No OFD packet to send [05:15:11]OFD Sender: No OFD packet to send [05:15:16]OFD Sender: No OFD packet to send [05:15:21]OFD Sender: No OFD packet to send [05:15:26]OFD Sender: No OFD packet to send [05:15:31]OFD Sender: No OFD packet to send [05:15:36]OFD Sender: No OFD packet to send [05:15:41]OFD Sender: No OFD packet to send [05:15:46]OFD Sender: No OFD packet to send [05:15:51]OFD Sender: No OFD packet to send [05:15:56]OFD Sender: No OFD packet to send [05:16:01]OFD Sender: No OFD packet to send [05:16:06]OFD Sender: No OFD packet to send [05:16:11]OFD Sender: No OFD packet to send [05:16:16]OFD Sender: No OFD packet to send [05:16:21]OFD Sender: No OFD packet to send [05:16:26]OFD Sender: No OFD packet to send [05:16:31]OFD Sender: No OFD packet to send [05:16:36]OFD Sender: No OFD packet to send [05:16:41]OFD Sender: No OFD packet to send [05:16:46]OFD Sender: No OFD packet to send [05:16:51]OFD Sender: No OFD packet to send [05:16:56]OFD Sender: No OFD packet to send [05:17:01]OFD Sender: No OFD packet to send [05:17:06]OFD Sender: No OFD packet to send [05:17:11]OFD Sender: No OFD packet to send [05:17:16]OFD Sender: No OFD packet to send [05:17:21]OFD Sender: No OFD packet to send [05:17:26]OFD Sender: No OFD packet to send [05:17:31]OFD Sender: No OFD packet to send [05:17:36]OFD Sender: No OFD packet to send [05:17:41]OFD Sender: No OFD packet to send [05:17:46]OFD Sender: No OFD packet to send [05:17:51]OFD Sender: No OFD packet to send [05:17:56]OFD Sender: No OFD packet to send [05:18:01]OFD Sender: No OFD packet to send [05:18:06]OFD Sender: No OFD packet to send [05:18:11]OFD Sender: No OFD packet to send [05:18:16]OFD Sender: No OFD packet to send [05:18:21]OFD Sender: No OFD packet to send [05:18:26]OFD Sender: No OFD packet to send [05:18:31]OFD Sender: No OFD packet to send [05:18:36]OFD Sender: No OFD packet to send [05:18:41]OFD Sender: No OFD packet to send [05:18:46]OFD Sender: No OFD packet to send [05:18:51]OFD Sender: No OFD packet to send [05:18:56]OFD Sender: No OFD packet to send [05:19:01]OFD Sender: No OFD packet to send [05:19:06]OFD Sender: No OFD packet to send [05:19:11]OFD Sender: No OFD packet to send [05:19:16]OFD Sender: No OFD packet to send [05:19:21]OFD Sender: No OFD packet to send [05:19:26]OFD Sender: No OFD packet to send [05:19:31]OFD Sender: No OFD packet to send [05:19:36]OFD Sender: No OFD packet to send [05:19:41]OFD Sender: No OFD packet to send [05:19:46]OFD Sender: No OFD packet to send [05:19:51]OFD Sender: No OFD packet to send [05:19:56]OFD Sender: No OFD packet to send [05:20:01]OFD Sender: No OFD packet to send [05:20:06]OFD Sender: No OFD packet to send [05:20:11]OFD Sender: No OFD packet to send [05:20:16]OFD Sender: No OFD packet to send [05:20:21]OFD Sender: No OFD packet to send [05:20:26]OFD Sender: No OFD packet to send [05:20:31]OFD Sender: No OFD packet to send [05:20:36]OFD Sender: No OFD packet to send [05:20:41]OFD Sender: No OFD packet to send [05:20:46]OFD Sender: No OFD packet to send [05:20:51]OFD Sender: No OFD packet to send [05:20:56]OFD Sender: No OFD packet to send [05:21:01]OFD Sender: No OFD packet to send [05:21:06]OFD Sender: No OFD packet to send [05:21:11]OFD Sender: No OFD packet to send [05:21:16]OFD Sender: No OFD packet to send [05:21:21]OFD Sender: No OFD packet to send [05:21:26]OFD Sender: No OFD packet to send [05:21:31]OFD Sender: No OFD packet to send [05:21:36]OFD Sender: No OFD packet to send [05:21:41]OFD Sender: No OFD packet to send [05:21:46]OFD Sender: No OFD packet to send [05:21:51]OFD Sender: No OFD packet to send [05:21:56]OFD Sender: No OFD packet to send [05:22:01]OFD Sender: No OFD packet to send [05:22:06]OFD Sender: No OFD packet to send [05:22:11]OFD Sender: No OFD packet to send [05:22:16]OFD Sender: No OFD packet to send [05:22:21]OFD Sender: No OFD packet to send [05:22:26]OFD Sender: No OFD packet to send [05:22:31]OFD Sender: No OFD packet to send [05:22:36]OFD Sender: No OFD packet to send [05:22:41]OFD Sender: No OFD packet to send [05:22:46]OFD Sender: No OFD packet to send [05:22:51]OFD Sender: No OFD packet to send [05:22:56]OFD Sender: No OFD packet to send [05:23:01]OFD Sender: No OFD packet to send [05:23:06]OFD Sender: No OFD packet to send [05:23:11]OFD Sender: No OFD packet to send [05:23:16]OFD Sender: No OFD packet to send [05:23:21]OFD Sender: No OFD packet to send [05:23:26]OFD Sender: No OFD packet to send [05:23:31]OFD Sender: No OFD packet to send [05:23:36]OFD Sender: No OFD packet to send [05:23:41]OFD Sender: No OFD packet to send [05:23:46]OFD Sender: No OFD packet to send [05:23:51]OFD Sender: No OFD packet to send [05:23:56]OFD Sender: No OFD packet to send [05:24:01]OFD Sender: No OFD packet to send [05:24:06]OFD Sender: No OFD packet to send [05:24:11]OFD Sender: No OFD packet to send [05:24:16]OFD Sender: No OFD packet to send [05:24:21]OFD Sender: No OFD packet to send [05:24:26]OFD Sender: No OFD packet to send [05:24:31]OFD Sender: No OFD packet to send [05:24:36]OFD Sender: No OFD packet to send [05:24:41]OFD Sender: No OFD packet to send [05:24:46]OFD Sender: No OFD packet to send [05:24:51]OFD Sender: No OFD packet to send [05:24:56]OFD Sender: No OFD packet to send [05:25:01]OFD Sender: No OFD packet to send [05:25:06]OFD Sender: No OFD packet to send [05:25:11]OFD Sender: No OFD packet to send [05:25:16]OFD Sender: No OFD packet to send [05:25:21]OFD Sender: No OFD packet to send [05:25:26]OFD Sender: No OFD packet to send [05:25:31]OFD Sender: No OFD packet to send [05:25:36]OFD Sender: No OFD packet to send [05:25:41]OFD Sender: No OFD packet to send [05:25:46]OFD Sender: No OFD packet to send [05:25:51]OFD Sender: No OFD packet to send [05:25:56]OFD Sender: No OFD packet to send [05:26:01]OFD Sender: No OFD packet to send [05:26:06]OFD Sender: No OFD packet to send [05:26:11]OFD Sender: No OFD packet to send [05:26:16]OFD Sender: No OFD packet to send [05:26:21]OFD Sender: No OFD packet to send [05:26:26]OFD Sender: No OFD packet to send [05:26:31]OFD Sender: No OFD packet to send [05:26:36]OFD Sender: No OFD packet to send [05:26:41]OFD Sender: No OFD packet to send [05:26:46]OFD Sender: No OFD packet to send [05:26:51]OFD Sender: No OFD packet to send [05:26:56]OFD Sender: No OFD packet to send [05:27:01]OFD Sender: No OFD packet to send [05:27:06]OFD Sender: No OFD packet to send [05:27:11]OFD Sender: No OFD packet to send [05:27:16]OFD Sender: No OFD packet to send [05:27:21]OFD Sender: No OFD packet to send [05:27:26]OFD Sender: No OFD packet to send [05:27:31]OFD Sender: No OFD packet to send [05:27:36]OFD Sender: No OFD packet to send [05:27:41]OFD Sender: No OFD packet to send [05:27:46]OFD Sender: No OFD packet to send [05:27:51]OFD Sender: No OFD packet to send [05:27:56]OFD Sender: No OFD packet to send [05:28:01]OFD Sender: No OFD packet to send [05:28:06]OFD Sender: No OFD packet to send [05:28:11]OFD Sender: No OFD packet to send [05:28:16]OFD Sender: No OFD packet to send [05:28:21]OFD Sender: No OFD packet to send [05:28:26]OFD Sender: No OFD packet to send [05:28:31]OFD Sender: No OFD packet to send [05:28:36]OFD Sender: No OFD packet to send [05:28:41]OFD Sender: No OFD packet to send [05:28:46]OFD Sender: No OFD packet to send [05:28:51]OFD Sender: No OFD packet to send [05:28:56]OFD Sender: No OFD packet to send [05:29:01]OFD Sender: No OFD packet to send [05:29:06]OFD Sender: No OFD packet to send [05:29:11]OFD Sender: No OFD packet to send [05:29:16]OFD Sender: No OFD packet to send [05:29:21]OFD Sender: No OFD packet to send [05:29:26]OFD Sender: No OFD packet to send [05:29:31]OFD Sender: No OFD packet to send [05:29:36]OFD Sender: No OFD packet to send [05:29:41]OFD Sender: No OFD packet to send [05:29:46]OFD Sender: No OFD packet to send [05:29:51]OFD Sender: No OFD packet to send [05:29:56]OFD Sender: No OFD packet to send [05:30:01]OFD Sender: No OFD packet to send [05:30:06]OFD Sender: No OFD packet to send [05:30:11]OFD Sender: No OFD packet to send [05:30:16]OFD Sender: No OFD packet to send [05:30:21]OFD Sender: No OFD packet to send [05:30:26]OFD Sender: No OFD packet to send [05:30:31]OFD Sender: No OFD packet to send [05:30:36]OFD Sender: No OFD packet to send [05:30:41]OFD Sender: No OFD packet to send [05:30:46]OFD Sender: No OFD packet to send [05:30:51]OFD Sender: No OFD packet to send [05:30:56]OFD Sender: No OFD packet to send [05:31:01]OFD Sender: No OFD packet to send [05:31:06]OFD Sender: No OFD packet to send [05:31:11]OFD Sender: No OFD packet to send [05:31:16]OFD Sender: No OFD packet to send [05:31:21]OFD Sender: No OFD packet to send [05:31:26]OFD Sender: No OFD packet to send [05:31:31]OFD Sender: No OFD packet to send [05:31:36]OFD Sender: No OFD packet to send [05:31:41]OFD Sender: No OFD packet to send [05:31:46]OFD Sender: No OFD packet to send [05:31:51]OFD Sender: No OFD packet to send [05:31:56]OFD Sender: No OFD packet to send [05:32:01]OFD Sender: No OFD packet to send [05:32:06]OFD Sender: No OFD packet to send [05:32:11]OFD Sender: No OFD packet to send [05:32:16]OFD Sender: No OFD packet to send [05:32:21]OFD Sender: No OFD packet to send [05:32:26]OFD Sender: No OFD packet to send [05:32:31]OFD Sender: No OFD packet to send [05:32:36]OFD Sender: No OFD packet to send [05:32:41]OFD Sender: No OFD packet to send [05:32:46]OFD Sender: No OFD packet to send [05:32:51]OFD Sender: No OFD packet to send [05:32:56]OFD Sender: No OFD packet to send [05:33:01]OFD Sender: No OFD packet to send [05:33:06]OFD Sender: No OFD packet to send [05:33:11]OFD Sender: No OFD packet to send [05:33:16]OFD Sender: No OFD packet to send [05:33:21]OFD Sender: No OFD packet to send [05:33:26]OFD Sender: No OFD packet to send [05:33:32]OFD Sender: No OFD packet to send [05:33:37]OFD Sender: No OFD packet to send [05:33:42]OFD Sender: No OFD packet to send [05:33:47]OFD Sender: No OFD packet to send [05:33:52]OFD Sender: No OFD packet to send [05:33:57]OFD Sender: No OFD packet to send [05:34:02]OFD Sender: No OFD packet to send [05:34:07]OFD Sender: No OFD packet to send [05:34:12]OFD Sender: No OFD packet to send [05:34:17]OFD Sender: No OFD packet to send [05:34:22]OFD Sender: No OFD packet to send [05:34:27]OFD Sender: No OFD packet to send [05:34:32]OFD Sender: No OFD packet to send [05:34:37]OFD Sender: No OFD packet to send [05:34:42]OFD Sender: No OFD packet to send [05:34:47]OFD Sender: No OFD packet to send [05:34:52]OFD Sender: No OFD packet to send [05:34:57]OFD Sender: No OFD packet to send [05:35:02]OFD Sender: No OFD packet to send [05:35:07]OFD Sender: No OFD packet to send [05:35:12]OFD Sender: No OFD packet to send [05:35:17]OFD Sender: No OFD packet to send [05:35:22]OFD Sender: No OFD packet to send [05:35:27]OFD Sender: No OFD packet to send [05:35:32]OFD Sender: No OFD packet to send [05:35:37]OFD Sender: No OFD packet to send [05:35:42]OFD Sender: No OFD packet to send [05:35:47]OFD Sender: No OFD packet to send [05:35:52]OFD Sender: No OFD packet to send [05:35:57]OFD Sender: No OFD packet to send [05:36:02]OFD Sender: No OFD packet to send [05:36:07]OFD Sender: No OFD packet to send [05:36:12]OFD Sender: No OFD packet to send [05:36:17]OFD Sender: No OFD packet to send [05:36:22]OFD Sender: No OFD packet to send [05:36:27]OFD Sender: No OFD packet to send [05:36:32]OFD Sender: No OFD packet to send [05:36:37]OFD Sender: No OFD packet to send [05:36:42]OFD Sender: No OFD packet to send [05:36:47]OFD Sender: No OFD packet to send [05:36:52]OFD Sender: No OFD packet to send [05:36:57]OFD Sender: No OFD packet to send [05:37:02]OFD Sender: No OFD packet to send [05:37:07]OFD Sender: No OFD packet to send [05:37:12]OFD Sender: No OFD packet to send [05:37:17]OFD Sender: No OFD packet to send [05:37:22]OFD Sender: No OFD packet to send [05:37:27]OFD Sender: No OFD packet to send [05:37:32]OFD Sender: No OFD packet to send [05:37:37]OFD Sender: No OFD packet to send [05:37:42]OFD Sender: No OFD packet to send [05:37:47]OFD Sender: No OFD packet to send [05:37:52]OFD Sender: No OFD packet to send [05:37:57]OFD Sender: No OFD packet to send [05:38:02]OFD Sender: No OFD packet to send [05:38:07]OFD Sender: No OFD packet to send [05:38:12]OFD Sender: No OFD packet to send [05:38:17]OFD Sender: No OFD packet to send [05:38:22]OFD Sender: No OFD packet to send [05:38:27]OFD Sender: No OFD packet to send [05:38:32]OFD Sender: No OFD packet to send [05:38:37]OFD Sender: No OFD packet to send [05:38:42]OFD Sender: No OFD packet to send [05:38:47]OFD Sender: No OFD packet to send [05:38:52]OFD Sender: No OFD packet to send [05:38:57]OFD Sender: No OFD packet to send [05:39:02]OFD Sender: No OFD packet to send [05:39:07]OFD Sender: No OFD packet to send [05:39:12]OFD Sender: No OFD packet to send [05:39:17]OFD Sender: No OFD packet to send [05:39:22]OFD Sender: No OFD packet to send [05:39:27]OFD Sender: No OFD packet to send [05:39:32]OFD Sender: No OFD packet to send [05:39:37]OFD Sender: No OFD packet to send [05:39:42]OFD Sender: No OFD packet to send [05:39:47]OFD Sender: No OFD packet to send [05:39:52]OFD Sender: No OFD packet to send [05:39:57]OFD Sender: No OFD packet to send [05:40:02]OFD Sender: No OFD packet to send [05:40:07]OFD Sender: No OFD packet to send [05:40:12]OFD Sender: No OFD packet to send [05:40:17]OFD Sender: No OFD packet to send [05:40:22]OFD Sender: No OFD packet to send [05:40:27]OFD Sender: No OFD packet to send [05:40:32]OFD Sender: No OFD packet to send [05:40:37]OFD Sender: No OFD packet to send [05:40:42]OFD Sender: No OFD packet to send [05:40:47]OFD Sender: No OFD packet to send [05:40:52]OFD Sender: No OFD packet to send [05:40:57]OFD Sender: No OFD packet to send [05:41:02]OFD Sender: No OFD packet to send [05:41:07]OFD Sender: No OFD packet to send [05:41:12]OFD Sender: No OFD packet to send [05:41:17]OFD Sender: No OFD packet to send [05:41:22]OFD Sender: No OFD packet to send [05:41:27]OFD Sender: No OFD packet to send [05:41:32]OFD Sender: No OFD packet to send [05:41:37]OFD Sender: No OFD packet to send [05:41:42]OFD Sender: No OFD packet to send [05:41:47]OFD Sender: No OFD packet to send [05:41:52]OFD Sender: No OFD packet to send [05:41:57]OFD Sender: No OFD packet to send [05:42:02]OFD Sender: No OFD packet to send [05:42:07]OFD Sender: No OFD packet to send [05:42:12]OFD Sender: No OFD packet to send [05:42:17]OFD Sender: No OFD packet to send [05:42:22]OFD Sender: No OFD packet to send [05:42:27]OFD Sender: No OFD packet to send [05:42:32]OFD Sender: No OFD packet to send [05:42:37]OFD Sender: No OFD packet to send [05:42:42]OFD Sender: No OFD packet to send [05:42:47]OFD Sender: No OFD packet to send [05:42:52]OFD Sender: No OFD packet to send [05:42:57]OFD Sender: No OFD packet to send [05:43:02]OFD Sender: No OFD packet to send [05:43:07]OFD Sender: No OFD packet to send [05:43:12]OFD Sender: No OFD packet to send [05:43:17]OFD Sender: No OFD packet to send [05:43:22]OFD Sender: No OFD packet to send [05:43:27]OFD Sender: No OFD packet to send [05:43:32]OFD Sender: No OFD packet to send [05:43:37]OFD Sender: No OFD packet to send [05:43:42]OFD Sender: No OFD packet to send [05:43:47]OFD Sender: No OFD packet to send [05:43:52]OFD Sender: No OFD packet to send [05:43:57]OFD Sender: No OFD packet to send [05:44:02]OFD Sender: No OFD packet to send [05:44:07]OFD Sender: No OFD packet to send [05:44:12]OFD Sender: No OFD packet to send [05:44:17]OFD Sender: No OFD packet to send [05:44:22]OFD Sender: No OFD packet to send [05:44:27]OFD Sender: No OFD packet to send [05:44:32]OFD Sender: No OFD packet to send [05:44:37]OFD Sender: No OFD packet to send [05:44:42]OFD Sender: No OFD packet to send [05:44:47]OFD Sender: No OFD packet to send [05:44:52]OFD Sender: No OFD packet to send [05:44:57]OFD Sender: No OFD packet to send [05:45:02]OFD Sender: No OFD packet to send [05:45:07]OFD Sender: No OFD packet to send [05:45:12]OFD Sender: No OFD packet to send [05:45:17]OFD Sender: No OFD packet to send [05:45:22]OFD Sender: No OFD packet to send [05:45:27]OFD Sender: No OFD packet to send [05:45:32]OFD Sender: No OFD packet to send [05:45:37]OFD Sender: No OFD packet to send [05:45:42]OFD Sender: No OFD packet to send [05:45:47]OFD Sender: No OFD packet to send [05:45:52]OFD Sender: No OFD packet to send [05:45:57]OFD Sender: No OFD packet to send [05:46:02]OFD Sender: No OFD packet to send [05:46:07]OFD Sender: No OFD packet to send [05:46:12]OFD Sender: No OFD packet to send [05:46:17]OFD Sender: No OFD packet to send [05:46:22]OFD Sender: No OFD packet to send [05:46:27]OFD Sender: No OFD packet to send [05:46:32]OFD Sender: No OFD packet to send [05:46:37]OFD Sender: No OFD packet to send [05:46:42]OFD Sender: No OFD packet to send [05:46:47]OFD Sender: No OFD packet to send [05:46:52]OFD Sender: No OFD packet to send [05:46:57]OFD Sender: No OFD packet to send [05:47:02]OFD Sender: No OFD packet to send [05:47:07]OFD Sender: No OFD packet to send [05:47:12]OFD Sender: No OFD packet to send [05:47:17]OFD Sender: No OFD packet to send [05:47:22]OFD Sender: No OFD packet to send [05:47:27]OFD Sender: No OFD packet to send [05:47:32]OFD Sender: No OFD packet to send [05:47:37]OFD Sender: No OFD packet to send [05:47:42]OFD Sender: No OFD packet to send [05:47:47]OFD Sender: No OFD packet to send [05:47:52]OFD Sender: No OFD packet to send [05:47:57]OFD Sender: No OFD packet to send [05:48:02]OFD Sender: No OFD packet to send [05:48:07]OFD Sender: No OFD packet to send [05:48:12]OFD Sender: No OFD packet to send [05:48:17]OFD Sender: No OFD packet to send [05:48:22]OFD Sender: No OFD packet to send [05:48:27]OFD Sender: No OFD packet to send [05:48:32]OFD Sender: No OFD packet to send [05:48:37]OFD Sender: No OFD packet to send [05:48:42]OFD Sender: No OFD packet to send [05:48:47]OFD Sender: No OFD packet to send [05:48:52]OFD Sender: No OFD packet to send [05:48:57]OFD Sender: No OFD packet to send [05:49:02]OFD Sender: No OFD packet to send [05:49:07]OFD Sender: No OFD packet to send [05:49:12]OFD Sender: No OFD packet to send [05:49:17]OFD Sender: No OFD packet to send [05:49:22]OFD Sender: No OFD packet to send [05:49:27]OFD Sender: No OFD packet to send [05:49:32]OFD Sender: No OFD packet to send [05:49:37]OFD Sender: No OFD packet to send [05:49:42]OFD Sender: No OFD packet to send [05:49:47]OFD Sender: No OFD packet to send [05:49:52]OFD Sender: No OFD packet to send [05:49:57]OFD Sender: No OFD packet to send [05:50:02]OFD Sender: No OFD packet to send [05:50:07]OFD Sender: No OFD packet to send [05:50:12]OFD Sender: No OFD packet to send [05:50:17]OFD Sender: No OFD packet to send [05:50:22]OFD Sender: No OFD packet to send [05:50:27]OFD Sender: No OFD packet to send [05:50:32]OFD Sender: No OFD packet to send [05:50:37]OFD Sender: No OFD packet to send [05:50:42]OFD Sender: No OFD packet to send [05:50:47]OFD Sender: No OFD packet to send [05:50:52]OFD Sender: No OFD packet to send [05:50:57]OFD Sender: No OFD packet to send [05:51:02]OFD Sender: No OFD packet to send [05:51:07]OFD Sender: No OFD packet to send [05:51:12]OFD Sender: No OFD packet to send [05:51:17]OFD Sender: No OFD packet to send [05:51:22]OFD Sender: No OFD packet to send [05:51:27]OFD Sender: No OFD packet to send [05:51:32]OFD Sender: No OFD packet to send [05:51:37]OFD Sender: No OFD packet to send [05:51:42]OFD Sender: No OFD packet to send [05:51:47]OFD Sender: No OFD packet to send [05:51:52]OFD Sender: No OFD packet to send [05:51:57]OFD Sender: No OFD packet to send [05:52:02]OFD Sender: No OFD packet to send [05:52:07]OFD Sender: No OFD packet to send [05:52:12]OFD Sender: No OFD packet to send [05:52:17]OFD Sender: No OFD packet to send [05:52:22]OFD Sender: No OFD packet to send [05:52:27]OFD Sender: No OFD packet to send [05:52:32]OFD Sender: No OFD packet to send [05:52:37]OFD Sender: No OFD packet to send [05:52:42]OFD Sender: No OFD packet to send [05:52:47]OFD Sender: No OFD packet to send [05:52:52]OFD Sender: No OFD packet to send [05:52:57]OFD Sender: No OFD packet to send [05:53:02]OFD Sender: No OFD packet to send [05:53:07]OFD Sender: No OFD packet to send [05:53:12]OFD Sender: No OFD packet to send [05:53:17]OFD Sender: No OFD packet to send [05:53:22]OFD Sender: No OFD packet to send [05:53:27]OFD Sender: No OFD packet to send [05:53:32]OFD Sender: No OFD packet to send [05:53:38]OFD Sender: No OFD packet to send [05:53:43]OFD Sender: No OFD packet to send [05:53:48]OFD Sender: No OFD packet to send [05:53:53]OFD Sender: No OFD packet to send [05:53:58]OFD Sender: No OFD packet to send [05:54:03]OFD Sender: No OFD packet to send [05:54:08]OFD Sender: No OFD packet to send [05:54:13]OFD Sender: No OFD packet to send [05:54:18]OFD Sender: No OFD packet to send [05:54:23]OFD Sender: No OFD packet to send [05:54:28]OFD Sender: No OFD packet to send [05:54:33]OFD Sender: No OFD packet to send [05:54:38]OFD Sender: No OFD packet to send [05:54:43]OFD Sender: No OFD packet to send [05:54:48]OFD Sender: No OFD packet to send [05:54:53]OFD Sender: No OFD packet to send [05:54:58]OFD Sender: No OFD packet to send [05:55:03]OFD Sender: No OFD packet to send [05:55:08]OFD Sender: No OFD packet to send [05:55:13]OFD Sender: No OFD packet to send [05:55:18]OFD Sender: No OFD packet to send [05:55:23]OFD Sender: No OFD packet to send [05:55:28]OFD Sender: No OFD packet to send [05:55:33]OFD Sender: No OFD packet to send [05:55:38]OFD Sender: No OFD packet to send [05:55:43]OFD Sender: No OFD packet to send [05:55:48]OFD Sender: No OFD packet to send [05:55:53]OFD Sender: No OFD packet to send [05:55:58]OFD Sender: No OFD packet to send [05:56:03]OFD Sender: No OFD packet to send [05:56:08]OFD Sender: No OFD packet to send [05:56:13]OFD Sender: No OFD packet to send [05:56:18]OFD Sender: No OFD packet to send [05:56:23]OFD Sender: No OFD packet to send [05:56:28]OFD Sender: No OFD packet to send [05:56:33]OFD Sender: No OFD packet to send [05:56:38]OFD Sender: No OFD packet to send [05:56:43]OFD Sender: No OFD packet to send [05:56:48]OFD Sender: No OFD packet to send [05:56:53]OFD Sender: No OFD packet to send [05:56:58]OFD Sender: No OFD packet to send [05:57:03]OFD Sender: No OFD packet to send [05:57:08]OFD Sender: No OFD packet to send [05:57:13]OFD Sender: No OFD packet to send [05:57:18]OFD Sender: No OFD packet to send [05:57:23]OFD Sender: No OFD packet to send [05:57:28]OFD Sender: No OFD packet to send [05:57:33]OFD Sender: No OFD packet to send [05:57:38]OFD Sender: No OFD packet to send [05:57:43]OFD Sender: No OFD packet to send [05:57:48]OFD Sender: No OFD packet to send [05:57:53]OFD Sender: No OFD packet to send [05:57:58]OFD Sender: No OFD packet to send [05:58:03]OFD Sender: No OFD packet to send [05:58:08]OFD Sender: No OFD packet to send [05:58:13]OFD Sender: No OFD packet to send [05:58:18]OFD Sender: No OFD packet to send [05:58:23]OFD Sender: No OFD packet to send [05:58:28]OFD Sender: No OFD packet to send [05:58:33]OFD Sender: No OFD packet to send [05:58:38]OFD Sender: No OFD packet to send [05:58:43]OFD Sender: No OFD packet to send [05:58:48]OFD Sender: No OFD packet to send [05:58:53]OFD Sender: No OFD packet to send [05:58:58]OFD Sender: No OFD packet to send [05:59:03]OFD Sender: No OFD packet to send [05:59:08]OFD Sender: No OFD packet to send [05:59:13]OFD Sender: No OFD packet to send [05:59:18]OFD Sender: No OFD packet to send [05:59:23]OFD Sender: No OFD packet to send [05:59:28]OFD Sender: No OFD packet to send [05:59:33]OFD Sender: No OFD packet to send [05:59:38]OFD Sender: No OFD packet to send [05:59:43]OFD Sender: No OFD packet to send [05:59:48]OFD Sender: No OFD packet to send [05:59:53]OFD Sender: No OFD packet to send [05:59:58]OFD Sender: No OFD packet to send [06:00:03]OFD Sender: No OFD packet to send [06:00:08]OFD Sender: No OFD packet to send [06:00:13]OFD Sender: No OFD packet to send [06:00:18]OFD Sender: No OFD packet to send [06:00:23]OFD Sender: No OFD packet to send [06:00:28]OFD Sender: No OFD packet to send [06:00:33]OFD Sender: No OFD packet to send [06:00:38]OFD Sender: No OFD packet to send [06:00:43]OFD Sender: No OFD packet to send [06:00:48]OFD Sender: No OFD packet to send [06:00:53]OFD Sender: No OFD packet to send [06:00:58]OFD Sender: No OFD packet to send [06:01:03]OFD Sender: No OFD packet to send [06:01:08]OFD Sender: No OFD packet to send [06:01:13]OFD Sender: No OFD packet to send [06:01:18]OFD Sender: No OFD packet to send [06:01:23]OFD Sender: No OFD packet to send [06:01:28]OFD Sender: No OFD packet to send [06:01:33]OFD Sender: No OFD packet to send [06:01:38]OFD Sender: No OFD packet to send [06:01:43]OFD Sender: No OFD packet to send [06:01:48]OFD Sender: No OFD packet to send [06:01:53]OFD Sender: No OFD packet to send [06:01:58]OFD Sender: No OFD packet to send [06:02:03]OFD Sender: No OFD packet to send [06:02:08]OFD Sender: No OFD packet to send [06:02:13]OFD Sender: No OFD packet to send [06:02:18]OFD Sender: No OFD packet to send [06:02:23]OFD Sender: No OFD packet to send [06:02:28]OFD Sender: No OFD packet to send [06:02:33]OFD Sender: No OFD packet to send [06:02:38]OFD Sender: No OFD packet to send [06:02:43]OFD Sender: No OFD packet to send [06:02:48]OFD Sender: No OFD packet to send [06:02:53]OFD Sender: No OFD packet to send [06:02:58]OFD Sender: No OFD packet to send [06:03:03]OFD Sender: No OFD packet to send [06:03:08]OFD Sender: No OFD packet to send [06:03:13]OFD Sender: No OFD packet to send [06:03:18]OFD Sender: No OFD packet to send [06:03:23]OFD Sender: No OFD packet to send [06:03:28]OFD Sender: No OFD packet to send [06:03:33]OFD Sender: No OFD packet to send [06:03:38]OFD Sender: No OFD packet to send [06:03:43]OFD Sender: No OFD packet to send [06:03:48]OFD Sender: No OFD packet to send [06:03:53]OFD Sender: No OFD packet to send [06:03:58]OFD Sender: No OFD packet to send [06:04:03]OFD Sender: No OFD packet to send [06:04:08]OFD Sender: No OFD packet to send [06:04:13]OFD Sender: No OFD packet to send [06:04:18]OFD Sender: No OFD packet to send [06:04:23]OFD Sender: No OFD packet to send [06:04:28]OFD Sender: No OFD packet to send [06:04:33]OFD Sender: No OFD packet to send [06:04:38]OFD Sender: No OFD packet to send [06:04:43]OFD Sender: No OFD packet to send [06:04:48]OFD Sender: No OFD packet to send [06:04:53]OFD Sender: No OFD packet to send [06:04:58]OFD Sender: No OFD packet to send [06:05:03]OFD Sender: No OFD packet to send [06:05:08]OFD Sender: No OFD packet to send [06:05:13]OFD Sender: No OFD packet to send [06:05:18]OFD Sender: No OFD packet to send [06:05:23]OFD Sender: No OFD packet to send [06:05:28]OFD Sender: No OFD packet to send [06:05:33]OFD Sender: No OFD packet to send [06:05:38]OFD Sender: No OFD packet to send [06:05:43]OFD Sender: No OFD packet to send [06:05:48]OFD Sender: No OFD packet to send [06:05:53]OFD Sender: No OFD packet to send [06:05:58]OFD Sender: No OFD packet to send [06:06:03]OFD Sender: No OFD packet to send [06:06:08]OFD Sender: No OFD packet to send [06:06:13]OFD Sender: No OFD packet to send [06:06:18]OFD Sender: No OFD packet to send [06:06:23]OFD Sender: No OFD packet to send [06:06:28]OFD Sender: No OFD packet to send [06:06:33]OFD Sender: No OFD packet to send [06:06:38]OFD Sender: No OFD packet to send [06:06:43]OFD Sender: No OFD packet to send [06:06:48]OFD Sender: No OFD packet to send [06:06:53]OFD Sender: No OFD packet to send [06:06:58]OFD Sender: No OFD packet to send [06:07:03]OFD Sender: No OFD packet to send [06:07:08]OFD Sender: No OFD packet to send [06:07:13]OFD Sender: No OFD packet to send [06:07:18]OFD Sender: No OFD packet to send [06:07:23]OFD Sender: No OFD packet to send [06:07:28]OFD Sender: No OFD packet to send [06:07:33]OFD Sender: No OFD packet to send [06:07:38]OFD Sender: No OFD packet to send [06:07:43]OFD Sender: No OFD packet to send [06:07:48]OFD Sender: No OFD packet to send [06:07:53]OFD Sender: No OFD packet to send [06:07:58]OFD Sender: No OFD packet to send [06:08:03]OFD Sender: No OFD packet to send [06:08:08]OFD Sender: No OFD packet to send [06:08:13]OFD Sender: No OFD packet to send [06:08:18]OFD Sender: No OFD packet to send [06:08:23]OFD Sender: No OFD packet to send [06:08:28]OFD Sender: No OFD packet to send [06:08:33]OFD Sender: No OFD packet to send [06:08:38]OFD Sender: No OFD packet to send [06:08:43]OFD Sender: No OFD packet to send [06:08:48]OFD Sender: No OFD packet to send [06:08:53]OFD Sender: No OFD packet to send [06:08:58]OFD Sender: No OFD packet to send [06:09:03]OFD Sender: No OFD packet to send [06:09:08]OFD Sender: No OFD packet to send [06:09:13]OFD Sender: No OFD packet to send [06:09:18]OFD Sender: No OFD packet to send [06:09:23]OFD Sender: No OFD packet to send [06:09:28]OFD Sender: No OFD packet to send [06:09:33]OFD Sender: No OFD packet to send [06:09:38]OFD Sender: No OFD packet to send [06:09:43]OFD Sender: No OFD packet to send [06:09:48]OFD Sender: No OFD packet to send [06:09:53]OFD Sender: No OFD packet to send [06:09:58]OFD Sender: No OFD packet to send [06:10:03]OFD Sender: No OFD packet to send [06:10:08]OFD Sender: No OFD packet to send [06:10:13]OFD Sender: No OFD packet to send [06:10:18]OFD Sender: No OFD packet to send [06:10:23]OFD Sender: No OFD packet to send [06:10:28]OFD Sender: No OFD packet to send [06:10:33]OFD Sender: No OFD packet to send [06:10:38]OFD Sender: No OFD packet to send [06:10:43]OFD Sender: No OFD packet to send [06:10:48]OFD Sender: No OFD packet to send [06:10:53]OFD Sender: No OFD packet to send [06:10:58]OFD Sender: No OFD packet to send [06:11:03]OFD Sender: No OFD packet to send [06:11:08]OFD Sender: No OFD packet to send [06:11:13]OFD Sender: No OFD packet to send [06:11:18]OFD Sender: No OFD packet to send [06:11:23]OFD Sender: No OFD packet to send [06:11:28]OFD Sender: No OFD packet to send [06:11:33]OFD Sender: No OFD packet to send [06:11:38]OFD Sender: No OFD packet to send [06:11:43]OFD Sender: No OFD packet to send [06:11:48]OFD Sender: No OFD packet to send [06:11:53]OFD Sender: No OFD packet to send [06:11:58]OFD Sender: No OFD packet to send [06:12:03]OFD Sender: No OFD packet to send [06:12:08]OFD Sender: No OFD packet to send [06:12:13]OFD Sender: No OFD packet to send [06:12:18]OFD Sender: No OFD packet to send [06:12:23]OFD Sender: No OFD packet to send [06:12:28]OFD Sender: No OFD packet to send [06:12:33]OFD Sender: No OFD packet to send [06:12:38]OFD Sender: No OFD packet to send [06:12:43]OFD Sender: No OFD packet to send [06:12:48]OFD Sender: No OFD packet to send [06:12:53]OFD Sender: No OFD packet to send [06:12:58]OFD Sender: No OFD packet to send [06:13:03]OFD Sender: No OFD packet to send [06:13:08]OFD Sender: No OFD packet to send [06:13:13]OFD Sender: No OFD packet to send [06:13:18]OFD Sender: No OFD packet to send [06:13:23]OFD Sender: No OFD packet to send [06:13:28]OFD Sender: No OFD packet to send [06:13:33]OFD Sender: No OFD packet to send [06:13:39]OFD Sender: No OFD packet to send [06:13:44]OFD Sender: No OFD packet to send [06:13:49]OFD Sender: No OFD packet to send [06:13:54]OFD Sender: No OFD packet to send [06:13:59]OFD Sender: No OFD packet to send [06:14:04]OFD Sender: No OFD packet to send [06:14:09]OFD Sender: No OFD packet to send [06:14:14]OFD Sender: No OFD packet to send [06:14:19]OFD Sender: No OFD packet to send [06:14:24]OFD Sender: No OFD packet to send [06:14:29]OFD Sender: No OFD packet to send [06:14:34]OFD Sender: No OFD packet to send [06:14:39]OFD Sender: No OFD packet to send [06:14:44]OFD Sender: No OFD packet to send [06:14:49]OFD Sender: No OFD packet to send [06:14:54]OFD Sender: No OFD packet to send [06:14:59]OFD Sender: No OFD packet to send [06:15:04]OFD Sender: No OFD packet to send [06:15:09]OFD Sender: No OFD packet to send [06:15:14]OFD Sender: No OFD packet to send [06:15:19]OFD Sender: No OFD packet to send [06:15:24]OFD Sender: No OFD packet to send [06:15:29]OFD Sender: No OFD packet to send [06:15:34]OFD Sender: No OFD packet to send [06:15:39]OFD Sender: No OFD packet to send [06:15:44]OFD Sender: No OFD packet to send [06:15:49]OFD Sender: No OFD packet to send [06:15:54]OFD Sender: No OFD packet to send [06:15:59]OFD Sender: No OFD packet to send [06:16:04]OFD Sender: No OFD packet to send [06:16:09]OFD Sender: No OFD packet to send [06:16:14]OFD Sender: No OFD packet to send [06:16:19]OFD Sender: No OFD packet to send [06:16:24]OFD Sender: No OFD packet to send [06:16:29]OFD Sender: No OFD packet to send [06:16:34]OFD Sender: No OFD packet to send [06:16:39]OFD Sender: No OFD packet to send [06:16:44]OFD Sender: No OFD packet to send [06:16:49]OFD Sender: No OFD packet to send [06:16:54]OFD Sender: No OFD packet to send [06:16:59]OFD Sender: No OFD packet to send [06:17:04]OFD Sender: No OFD packet to send [06:17:09]OFD Sender: No OFD packet to send [06:17:14]OFD Sender: No OFD packet to send [06:17:19]OFD Sender: No OFD packet to send [06:17:24]OFD Sender: No OFD packet to send [06:17:29]OFD Sender: No OFD packet to send [06:17:34]OFD Sender: No OFD packet to send [06:17:39]OFD Sender: No OFD packet to send [06:17:44]OFD Sender: No OFD packet to send [06:17:49]OFD Sender: No OFD packet to send [06:17:54]OFD Sender: No OFD packet to send [06:17:59]OFD Sender: No OFD packet to send [06:18:04]OFD Sender: No OFD packet to send [06:18:09]OFD Sender: No OFD packet to send [06:18:14]OFD Sender: No OFD packet to send [06:18:19]OFD Sender: No OFD packet to send [06:18:24]OFD Sender: No OFD packet to send [06:18:29]OFD Sender: No OFD packet to send [06:18:34]OFD Sender: No OFD packet to send [06:18:39]OFD Sender: No OFD packet to send [06:18:44]OFD Sender: No OFD packet to send [06:18:49]OFD Sender: No OFD packet to send [06:18:54]OFD Sender: No OFD packet to send [06:18:59]OFD Sender: No OFD packet to send [06:19:04]OFD Sender: No OFD packet to send [06:19:09]OFD Sender: No OFD packet to send [06:19:14]OFD Sender: No OFD packet to send [06:19:19]OFD Sender: No OFD packet to send [06:19:24]OFD Sender: No OFD packet to send [06:19:29]OFD Sender: No OFD packet to send [06:19:34]OFD Sender: No OFD packet to send [06:19:39]OFD Sender: No OFD packet to send [06:19:44]OFD Sender: No OFD packet to send [06:19:49]OFD Sender: No OFD packet to send [06:19:54]OFD Sender: No OFD packet to send [06:19:59]OFD Sender: No OFD packet to send [06:20:04]OFD Sender: No OFD packet to send [06:20:09]OFD Sender: No OFD packet to send [06:20:14]OFD Sender: No OFD packet to send [06:20:19]OFD Sender: No OFD packet to send [06:20:24]OFD Sender: No OFD packet to send [06:20:29]OFD Sender: No OFD packet to send [06:20:34]OFD Sender: No OFD packet to send [06:20:39]OFD Sender: No OFD packet to send [06:20:44]OFD Sender: No OFD packet to send [06:20:49]OFD Sender: No OFD packet to send [06:20:54]OFD Sender: No OFD packet to send [06:20:59]OFD Sender: No OFD packet to send [06:21:04]OFD Sender: No OFD packet to send [06:21:09]OFD Sender: No OFD packet to send [06:21:14]OFD Sender: No OFD packet to send [06:21:19]OFD Sender: No OFD packet to send [06:21:24]OFD Sender: No OFD packet to send [06:21:29]OFD Sender: No OFD packet to send [06:21:34]OFD Sender: No OFD packet to send [06:21:39]OFD Sender: No OFD packet to send [06:21:44]OFD Sender: No OFD packet to send [06:21:49]OFD Sender: No OFD packet to send [06:21:54]OFD Sender: No OFD packet to send [06:21:59]OFD Sender: No OFD packet to send [06:22:04]OFD Sender: No OFD packet to send [06:22:09]OFD Sender: No OFD packet to send [06:22:14]OFD Sender: No OFD packet to send [06:22:19]OFD Sender: No OFD packet to send [06:22:24]OFD Sender: No OFD packet to send [06:22:29]OFD Sender: No OFD packet to send [06:22:34]OFD Sender: No OFD packet to send [06:22:39]OFD Sender: No OFD packet to send [06:22:44]OFD Sender: No OFD packet to send [06:22:49]OFD Sender: No OFD packet to send [06:22:54]OFD Sender: No OFD packet to send [06:22:59]OFD Sender: No OFD packet to send [06:23:04]OFD Sender: No OFD packet to send [06:23:09]OFD Sender: No OFD packet to send [06:23:14]OFD Sender: No OFD packet to send [06:23:19]OFD Sender: No OFD packet to send [06:23:24]OFD Sender: No OFD packet to send [06:23:29]OFD Sender: No OFD packet to send [06:23:34]OFD Sender: No OFD packet to send [06:23:39]OFD Sender: No OFD packet to send [06:23:44]OFD Sender: No OFD packet to send [06:23:49]OFD Sender: No OFD packet to send [06:23:54]OFD Sender: No OFD packet to send [06:23:59]OFD Sender: No OFD packet to send [06:24:04]OFD Sender: No OFD packet to send [06:24:09]OFD Sender: No OFD packet to send [06:24:14]OFD Sender: No OFD packet to send [06:24:19]OFD Sender: No OFD packet to send [06:24:24]OFD Sender: No OFD packet to send [06:24:29]OFD Sender: No OFD packet to send [06:24:34]OFD Sender: No OFD packet to send [06:24:39]OFD Sender: No OFD packet to send [06:24:44]OFD Sender: No OFD packet to send [06:24:49]OFD Sender: No OFD packet to send [06:24:54]OFD Sender: No OFD packet to send [06:24:59]OFD Sender: No OFD packet to send [06:25:04]OFD Sender: No OFD packet to send [06:25:09]OFD Sender: No OFD packet to send [06:25:14]OFD Sender: No OFD packet to send [06:25:19]OFD Sender: No OFD packet to send [06:25:24]OFD Sender: No OFD packet to send [06:25:29]OFD Sender: No OFD packet to send [06:25:34]OFD Sender: No OFD packet to send [06:25:39]OFD Sender: No OFD packet to send [06:25:44]OFD Sender: No OFD packet to send [06:25:49]OFD Sender: No OFD packet to send [06:25:54]OFD Sender: No OFD packet to send [06:25:59]OFD Sender: No OFD packet to send [06:26:04]OFD Sender: No OFD packet to send [06:26:09]OFD Sender: No OFD packet to send [06:26:14]OFD Sender: No OFD packet to send [06:26:19]OFD Sender: No OFD packet to send [06:26:24]OFD Sender: No OFD packet to send [06:26:29]OFD Sender: No OFD packet to send [06:26:34]OFD Sender: No OFD packet to send [06:26:39]OFD Sender: No OFD packet to send [06:26:44]OFD Sender: No OFD packet to send [06:26:49]OFD Sender: No OFD packet to send [06:26:54]OFD Sender: No OFD packet to send [06:26:59]OFD Sender: No OFD packet to send [06:27:04]OFD Sender: No OFD packet to send [06:27:09]OFD Sender: No OFD packet to send [06:27:14]OFD Sender: No OFD packet to send [06:27:19]OFD Sender: No OFD packet to send [06:27:24]OFD Sender: No OFD packet to send [06:27:29]OFD Sender: No OFD packet to send [06:27:34]OFD Sender: No OFD packet to send [06:27:39]OFD Sender: No OFD packet to send [06:27:44]OFD Sender: No OFD packet to send [06:27:49]OFD Sender: No OFD packet to send [06:27:54]OFD Sender: No OFD packet to send [06:27:59]OFD Sender: No OFD packet to send [06:28:04]OFD Sender: No OFD packet to send [06:28:09]OFD Sender: No OFD packet to send [06:28:14]OFD Sender: No OFD packet to send [06:28:19]OFD Sender: No OFD packet to send [06:28:24]OFD Sender: No OFD packet to send [06:28:29]OFD Sender: No OFD packet to send [06:28:34]OFD Sender: No OFD packet to send [06:28:39]OFD Sender: No OFD packet to send [06:28:44]OFD Sender: No OFD packet to send [06:28:49]OFD Sender: No OFD packet to send [06:28:54]OFD Sender: No OFD packet to send [06:28:59]OFD Sender: No OFD packet to send [06:29:04]OFD Sender: No OFD packet to send [06:29:09]OFD Sender: No OFD packet to send [06:29:14]OFD Sender: No OFD packet to send [06:29:19]OFD Sender: No OFD packet to send [06:29:24]OFD Sender: No OFD packet to send [06:29:29]OFD Sender: No OFD packet to send [06:29:34]OFD Sender: No OFD packet to send [06:29:39]OFD Sender: No OFD packet to send [06:29:44]OFD Sender: No OFD packet to send [06:29:49]OFD Sender: No OFD packet to send [06:29:54]OFD Sender: No OFD packet to send [06:29:59]OFD Sender: No OFD packet to send [06:30:04]OFD Sender: No OFD packet to send [06:30:09]OFD Sender: No OFD packet to send [06:30:14]OFD Sender: No OFD packet to send [06:30:19]OFD Sender: No OFD packet to send [06:30:24]OFD Sender: No OFD packet to send [06:30:29]OFD Sender: No OFD packet to send [06:30:34]OFD Sender: No OFD packet to send [06:30:39]OFD Sender: No OFD packet to send [06:30:44]OFD Sender: No OFD packet to send [06:30:49]OFD Sender: No OFD packet to send [06:30:54]OFD Sender: No OFD packet to send [06:30:59]OFD Sender: No OFD packet to send [06:31:04]OFD Sender: No OFD packet to send [06:31:09]OFD Sender: No OFD packet to send [06:31:14]OFD Sender: No OFD packet to send [06:31:19]OFD Sender: No OFD packet to send [06:31:24]OFD Sender: No OFD packet to send [06:31:29]OFD Sender: No OFD packet to send [06:31:34]OFD Sender: No OFD packet to send [06:31:39]OFD Sender: No OFD packet to send [06:31:44]OFD Sender: No OFD packet to send [06:31:49]OFD Sender: No OFD packet to send [06:31:54]OFD Sender: No OFD packet to send [06:31:59]OFD Sender: No OFD packet to send [06:32:04]OFD Sender: No OFD packet to send [06:32:09]OFD Sender: No OFD packet to send [06:32:14]OFD Sender: No OFD packet to send [06:32:19]OFD Sender: No OFD packet to send [06:32:24]OFD Sender: No OFD packet to send [06:32:29]OFD Sender: No OFD packet to send [06:32:34]OFD Sender: No OFD packet to send [06:32:39]OFD Sender: No OFD packet to send [06:32:44]OFD Sender: No OFD packet to send [06:32:49]OFD Sender: No OFD packet to send [06:32:54]OFD Sender: No OFD packet to send [06:32:59]OFD Sender: No OFD packet to send [06:33:04]OFD Sender: No OFD packet to send [06:33:09]OFD Sender: No OFD packet to send [06:33:14]OFD Sender: No OFD packet to send [06:33:19]OFD Sender: No OFD packet to send [06:33:24]OFD Sender: No OFD packet to send [06:33:29]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:20]OFD Sender: No OFD packet to send [06:37:25]OFD Sender: No OFD packet to send [06:37:30]OFD Sender: No OFD packet to send [06:37:35]OFD Sender: No OFD packet to send [06:37:40]OFD Sender: No OFD packet to send [06:37:45]OFD Sender: No OFD packet to send [06:37:50]OFD Sender: No OFD packet to send [06:37:55]OFD Sender: No OFD packet to send [06:38:00]OFD Sender: No OFD packet to send [06:38:05]OFD Sender: No OFD packet to send [06:38:10]OFD Sender: No OFD packet to send [06:38:15]OFD Sender: No OFD packet to send [06:38:20]OFD Sender: No OFD packet to send [06:38:25]OFD Sender: No OFD packet to send [06:38:30]OFD Sender: No OFD packet to send [06:38:35]OFD Sender: No OFD packet to send [06:38:40]OFD Sender: No OFD packet to send [06:38:45]OFD Sender: No OFD packet to send [06:38:50]OFD Sender: No OFD packet to send [06:38:55]OFD Sender: No OFD packet to send [06:39:00]OFD Sender: No OFD packet to send [06:39:05]OFD Sender: No OFD packet to send [06:39:10]OFD Sender: No OFD packet to send [06:39:15]OFD Sender: No OFD packet to send [06:39:20]OFD Sender: No OFD packet to send [06:39:25]OFD Sender: No OFD packet to send [06:39:30]OFD Sender: No OFD packet to send [06:39:35]OFD Sender: No OFD packet to send [06:39:40]OFD Sender: No OFD packet to send [06:39:45]OFD Sender: No OFD packet to send [06:39:50]OFD Sender: No OFD packet to send [06:39:55]OFD Sender: No OFD packet to send [06:40:00]OFD Sender: No OFD packet to send [06:40:05]OFD Sender: No OFD packet to send [06:40:10]OFD Sender: No OFD packet to send [06:40:15]OFD Sender: No OFD packet to send [06:40:20]OFD Sender: No OFD packet to send [06:40:25]OFD Sender: No OFD packet to send [06:40:30]OFD Sender: No OFD packet to send [06:40:35]OFD Sender: No OFD packet to send [06:40:40]OFD Sender: No OFD packet to send [06:40:45]OFD Sender: No OFD packet to send [06:40:50]OFD Sender: No OFD packet to send [06:40:55]OFD Sender: No OFD packet to send [06:41:00]OFD Sender: No OFD packet to send [06:41:05]OFD Sender: No OFD packet to send [06:41:10]OFD Sender: No OFD packet to send [06:41:15]OFD Sender: No OFD packet to send [06:41:20]OFD Sender: No OFD packet to send [06:41:25]OFD Sender: No OFD packet to send [06:41:30]OFD Sender: No OFD packet to send [06:41:35]OFD Sender: No OFD packet to send [06:41:40]OFD Sender: No OFD packet to send [06:41:45]OFD Sender: No OFD packet to send [06:41:50]OFD Sender: No OFD packet to send [06:41:55]OFD Sender: No OFD packet to send [06:42:00]OFD Sender: No OFD packet to send [06:42:05]OFD Sender: No OFD packet to send [06:42:10]OFD Sender: No OFD packet to send [06:42:15]OFD Sender: No OFD packet to send [06:42:20]OFD Sender: No OFD packet to send [06:42:25]OFD Sender: No OFD packet to send [06:42:30]OFD Sender: No OFD packet to send [06:42:35]OFD Sender: No OFD packet to send [06:42:40]OFD Sender: No OFD packet to send [06:42:45]OFD Sender: No OFD packet to send [06:42:50]OFD Sender: No OFD packet to send [06:42:55]OFD Sender: No OFD packet to send [06:43:00]OFD Sender: No OFD packet to send [06:43:05]OFD Sender: No OFD packet to send [06:43:10]OFD Sender: No OFD packet to send [06:43:15]OFD Sender: No OFD packet to send [06:43:20]OFD Sender: No OFD packet to send [06:43:25]OFD Sender: No OFD packet to send [06:43:30]OFD Sender: No OFD packet to send [06:43:35]OFD Sender: No OFD packet to send [06:43:40]OFD Sender: No OFD packet to send [06:43:45]OFD Sender: No OFD packet to send [06:43:50]OFD Sender: No OFD packet to send [06:43:55]OFD Sender: No OFD packet to send [06:44:00]OFD Sender: No OFD packet to send [06:44:05]OFD Sender: No OFD packet to send [06:44:10]OFD Sender: No OFD packet to send [06:44:15]OFD Sender: No OFD packet to send [06:44:20]OFD Sender: No OFD packet to send [06:44:25]OFD Sender: No OFD packet to send [06:44:30]OFD Sender: No OFD packet to send [06:44:35]OFD Sender: No OFD packet to send [06:44:40]OFD Sender: No OFD packet to send [06:44:45]OFD Sender: No OFD packet to send [06:44:50]OFD Sender: No OFD packet to send [06:44:55]OFD Sender: No OFD packet to send [06:45:00]OFD Sender: No OFD packet to send [06:45:05]OFD Sender: No OFD packet to send [06:45:10]OFD Sender: No OFD packet to send [06:45:15]OFD Sender: No OFD packet to send [06:45:20]OFD Sender: No OFD packet to send [06:45:25]OFD Sender: No OFD packet to send [06:45:30]OFD Sender: No OFD packet to send [06:45:35]OFD Sender: No OFD packet to send [06:45:40]OFD Sender: No OFD packet to send [06:45:45]OFD Sender: No OFD packet to send [06:45:50]OFD Sender: No OFD packet to send [06:45:55]OFD Sender: No OFD packet to send [06:46:00]OFD Sender: No OFD packet to send [06:46:05]OFD Sender: No OFD packet to send [06:46:10]OFD Sender: No OFD packet to send [06:46:15]OFD Sender: No OFD packet to send [06:46:20]OFD Sender: No OFD packet to send [06:46:25]OFD Sender: No OFD packet to send [06:46:30]OFD Sender: No OFD packet to send [06:46:35]OFD Sender: No OFD packet to send [06:46:40]OFD Sender: No OFD packet to send [06:46:45]OFD Sender: No OFD packet to send [06:46:50]OFD Sender: No OFD packet to send [06:46:55]OFD Sender: No OFD packet to send [06:47:00]OFD Sender: No OFD packet to send [06:47:05]OFD Sender: No OFD packet to send [06:47:10]OFD Sender: No OFD packet to send [06:47:15]OFD Sender: No OFD packet to send [06:47:20]OFD Sender: No OFD packet to send [06:47:25]OFD Sender: No OFD packet to send [06:47:30]OFD Sender: No OFD packet to send [06:47:32]accept exits with 9 [06:47:32]New connection [06:47:32]New thread 3067116900 created [06:47:32]Thread 3067260260 joined [06:47:32]Waiting for new connection... [06:47:32] Sock 9.Parse request [06:47:32]Sock 9.Check first char [06:47:32]Sock 9.First char is OK [06:47:32]request: POST /json_proto HTTP/1.0 [06:47:32]Method: POST [06:47:32]URL: /json_proto [06:47:32]Method is POST - this is cgi request [06:47:32]url: /json_proto [06:47:32]query_string will be loaded in cgi processing [06:47:32]execute_cgi json_proto POST (null) [06:47:32]execute_cgi path=json_proto method=POST [06:47:32]POST find Content-Length [06:47:32]Host: 172.17.43.4:8080 [06:47:32]Content-Length: 627 [06:47:32]Content-Type: application/json [06:47:32] [06:47:32]POST finish read [06:47:32]Found Content-Length = 627 [06:47:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51653", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:47:32]execute_script... [06:47:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51653", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:47:32]POST & json_proto [06:47:32]process_json_proto [06:47:32]json parsed OK: [06:47:32]protocol is kg_v1.0 [06:47:32]action value=close_receipt [06:47:32]process_action close_receipt [06:47:32]cmd_close_receipt [06:47:32]MH_GetDate [06:47:32]Write to MH i2c: F0 00 00 FD 04 F0 [06:47:32]Write i2c OK [06:47:32]MH_I2C_Read... [06:47:32]Read from MH i2c: F0 [06:47:32]MH_I2C_Read... [06:47:32]Read from MH i2c: F0 09 00 [06:47:32]MH_I2C_Read... [06:47:32]Read from MH i2c: F0 09 00 FD 04 00 06 B2 F3 66 02 BF CF 66 00 [06:47:32]GetLastDocTimeStamp 1727233868 [06:47:32]current date 1727246854 [06:47:32]FM_GetShiftState [06:47:32]SAM_PROTO_GetShiftState [06:47:32]wFMCommunicate request_size=4 [06:47:32]MH_SAM_APDU [06:47:32]CAPDU: 80 13 01 00 [06:47:32]Write to MH i2c: E2 08 00 FE 04 80 13 01 00 00 00 00 00 7F [06:47:32]Write i2c OK [06:47:32]MH_I2C_Read... [06:47:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:47:32]Read from MH i2c: E2 [06:47:32]MH_I2C_Read... [06:47:32]Read from MH i2c: E2 0E 00 [06:47:32]MH_I2C_Read... [06:47:32]Read from MH i2c: E2 0E 00 FE 04 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 10 [06:47:32]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [06:47:32]wFMCommunicate OK [06:47:32]SAM_PROTO_GetShiftState done [06:47:32]FM_GetShiftState done [06:47:32]opened in 1727224020 [06:47:32]opened+sec_in_day 1727310420 [06:47:32]quantity*price = 13900 [06:47:32]sum+1 = 13901 [06:47:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 10 25.09.2024 06:47 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22437 ФПД: 159877385828530 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T064734&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22437&fm=159877385828530&tin=02508201610067®Number=0000000000146243&sum=13900 0 [06:47:33]StoreToDocumentArchive [06:47:33]shift 231 fd 22437 [06:47:33]save to /storage/0231/doc_00022437 [06:47:33]save last doc name /storage/0231/doc_00022437 to /storage/kkm_last_doc_name [06:47:33]save OK [06:47:33]Clear old archive folders... [06:47:33]ProcessDocumentItem done err = 0, tmpTLVsize=280 [06:47:33]tlvbuf is 00352140 [06:47:33]SAM_PROTO_ClearQueue [06:47:33]wFMCommunicate request_size=4 [06:47:33]MH_SAM_APDU [06:47:33]CAPDU: 80 09 00 00 [06:47:33]Write to MH i2c: E2 08 00 0B 05 80 09 00 00 00 00 00 00 82 [06:47:33]Write i2c OK [06:47:33]MH_I2C_Read... [06:47:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:47:33]Read from MH i2c: E2 [06:47:33]MH_I2C_Read... [06:47:33]Read from MH i2c: E2 03 00 [06:47:33]MH_I2C_Read... [06:47:33]Read from MH i2c: E2 03 00 0B 05 00 90 00 84 [06:47:33]RAPDU: 90 00 [06:47:33]wFMCommunicate OK [06:47:33]SAM_PROTO_ClearQueue done [06:47:33]KKMCreateOFDPacket [06:47:33]OFDProtocolAddRootSTLVToBuf [06:47:33]FM_MakeSignedData [06:47:33]FM_MakeSignedData [06:47:33]SAM_PROTO_SignData [06:47:33]wFMCommunicate request_size=4 [06:47:33]MH_SAM_APDU [06:47:33]CAPDU: 80 0D 01 02 [06:47:33]Write to MH i2c: E2 08 00 0C 05 80 0D 01 02 00 00 00 00 8A [06:47:33]Write i2c OK [06:47:33]MH_I2C_Read... [06:47:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:47:33]Read from MH i2c: E2 [06:47:33]MH_I2C_Read... [06:47:33]Read from MH i2c: E2 03 00 [06:47:33]MH_I2C_Read... [06:47:33]Read from MH i2c: E2 03 00 0C 05 00 90 00 85 [06:47:33]RAPDU: 90 00 [06:47:33]wFMCommunicate OK [06:47:33]wFMCommunicate request_size=255 [06:47:33]MH_SAM_APDU [06:47:33]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 06 B2 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 [06:47:33]Write to MH i2c: E2 02 01 0D 05 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 06 B2 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 00 00 58 [06:47:33]Write i2c OK [06:47:33]MH_I2C_Read... [06:47:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:47:33]Read from MH i2c: E2 [06:47:33]MH_I2C_Read... [06:47:33]Read from MH i2c: E2 03 00 [06:47:33]MH_I2C_Read... [06:47:33]Read from MH i2c: E2 03 00 0D 05 00 90 00 86 [06:47:33]RAPDU: 90 00 [06:47:33]wFMCommunicate OK [06:47:33]wFMCommunicate request_size=39 [06:47:33]MH_SAM_APDU [06:47:33]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A5 57 00 00 35 04 06 00 91 68 5A CA 38 B2 [06:47:33]Write to MH i2c: E2 2A 00 0E 05 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A5 57 00 00 35 04 06 00 91 68 5A CA 38 B2 00 00 52 [06:47:33]Write i2c OK [06:47:33]MH_I2C_Read... [06:47:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:47:33]Read from MH i2c: E2 [06:47:33]MH_I2C_Read... [06:47:33]Read from MH i2c: E2 03 00 [06:47:33]MH_I2C_Read... [06:47:33]Read from MH i2c: E2 03 00 0E 05 00 90 00 87 [06:47:33]RAPDU: 90 00 [06:47:33]wFMCommunicate OK [06:47:33]wFMCommunicate request_size=4 [06:47:33]MH_SAM_APDU [06:47:33]CAPDU: 80 0D 03 02 [06:47:33]Write to MH i2c: E2 08 00 0F 05 80 0D 03 02 00 00 00 00 8F [06:47:33]Write i2c OK [06:47:33]MH_I2C_Read... [06:47:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:47:33]Read from MH i2c: E2 [06:47:33]MH_I2C_Read... [06:47:33]Read from MH i2c: E2 0B 00 [06:47:33]MH_I2C_Read... [06:47:33]Read from MH i2c: E2 0B 00 0F 05 00 B5 E2 BF 20 B0 DF 11 87 90 00 2D [06:47:33]RAPDU: B5 E2 BF 20 B0 DF 11 87 90 00 [06:47:33]wFMCommunicate OK [06:47:33]SAM_PROTO_SignData done [06:47:33]FM_MakeSignedData done [06:47:33]CreateOFDProtocolMessage [06:47:33]wFMCommunicate request_size=4 [06:47:33]MH_SAM_APDU [06:47:33]CAPDU: 80 11 00 00 [06:47:33]Write to MH i2c: E2 08 00 10 05 80 11 00 00 00 00 00 00 8F [06:47:33]Write i2c OK [06:47:33]MH_I2C_Read... [06:47:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:47:33]Read from MH i2c: E2 [06:47:33]MH_I2C_Read... [06:47:33]Read from MH i2c: E2 17 00 [06:47:33]MH_I2C_Read... [06:47:33]Read from MH i2c: E2 17 00 10 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 E9 [06:47:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [06:47:33]wFMCommunicate OK [06:47:33]CreateOFDProtocolMessage done [06:47:33]OFDSenderStorePacket 22437 [06:47:33]StoreOFDPacket docnum=22437 [06:47:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 2C 01 00 00 26 97 24 01 F0 74 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 06 B2 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A5 57 00 00 35 04 06 00 91 68 5A CA 38 B2 B5 E2 BF 20 B0 DF 11 87 [06:47:33]CheckFolder [06:47:33]dirname=/storage/ofd_packets [06:47:33]CheckFolder done [06:47:33]ProducePacketName [06:47:33]name=ofd_packets/00022437 [06:47:33]NVStorageSaveData ofd_packets/00022437 [06:47:33]File name is /storage/ofd_packets/00022437 [06:47:33]Write 330 bytes [06:47:33]NVStorageSaveData done [06:47:33]OFDSenderStorePacket done [06:47:33]KKMCreateOFDPacket done [06:47:33]NVStorageSaveData kkm_last_timestamp [06:47:33]File name is /storage/kkm_last_timestamp [06:47:33]Write 4 bytes [06:47:33]NVStorageSaveData done [06:47:33]ExternCall_PrintAddStr [06:47:33]wPrintStart [06:47:33]Write to MH i2c: 01 00 00 11 05 16 [06:47:33]Write i2c OK [06:47:33]MH_I2C_Read... [06:47:33]Read from MH i2c: 01 [06:47:33]MH_I2C_Read... [06:47:33]Read from MH i2c: 01 07 00 [06:47:33]MH_I2C_Read... [06:47:33]Read from MH i2c: 01 07 00 11 05 00 00 00 00 00 FF 0F 2B [06:47:33]RasterBufferAndPrint [06:47:33]line Счет N : (3)51653 [06:47:33]line ИНН: 02508201610067 [06:47:33]line Контрольно-Кассовый Чек [06:47:33]line ПРОДАЖА [06:47:33]line Товар: 48741231 [06:47:33]line Сигареты Winston Super Slims Silver [06:47:33]line 1.000 * 139.00 [06:47:33]line = 139.00 [06:47:33]line НДС 12% НСП 1% [06:47:33]line > о реализуемом товаре [06:47:33]line ИТОГО: 139.00 [06:47:33]line НСП 1% : 1.23 [06:47:33]line НДС 12% : 14.76 [06:47:33]line Наличными: 139.00 [06:47:33]line Безнал.: 0.00 [06:47:33]line Место: АЗС № 88 "Партнер Нефть" [06:47:33]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [06:47:33]line СНО: Общий режим [06:47:33]line Чек 10 25.09.2024 06:47 [06:47:33]line Смена: 231 ФФД: 1.0 [06:47:33]line ЗНМ: 0300000061 [06:47:33]line РНМ: 0000000000146243 [06:47:33]line Версия ККМ: v1.0 [06:47:33]line ФМ: 0000000000959358 [06:47:34]line ФД: 22437 [06:47:34]line ФПД: 159877385828530 [06:47:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T064734&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22437&fm=159877385828530&tin=02508201610067®Number=0000000000146243&sum=13900 [06:47:34]line 0 [06:47:34]OFD Sender: Processing packet 22437 [packets to send 23, broken 22] [06:47:34]ProducePacketName [06:47:34]name=ofd_packets/00022437 [06:47:34]OFD Sender: To server: pG, [06:47:34]CommunicateWithHost lk.salyk.kg:30040 [06:47:34]ConnectInit lk.salyk.kg [06:47:34]written 0, free lines is 4095 [06:47:34]Connected sock=10 [06:47:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 2C 01 00 00 26 97 24 01 F0 74 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 06 B2 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A5 57 00 00 35 04 06 00 91 68 5A CA 38 B2 B5 E2 BF 20 B0 DF 11 87 [06:47:34]Write to MH i2c: 01 00 00 3A 05 3F [06:47:34]Write i2c OK [06:47:34]MH_I2C_Read... [06:47:34]Read from MH i2c: 01 [06:47:34]MH_I2C_Read... [06:47:34]Read from MH i2c: 01 07 00 [06:47:34]MH_I2C_Read... [06:47:34]Read from MH i2c: 01 07 00 3A 05 00 00 00 00 00 09 0D 5C [06:47:34]RasterBufferAndPrint [06:47:34]line [06:47:34]line [06:47:34]line [06:47:34]line [06:47:34]line [06:47:34]written 0, free lines is 3343 [06:47:34]MH_Cut [06:47:34]Write to MH i2c: D1 01 00 41 05 01 18 [06:47:34]Write i2c OK [06:47:34]MH_I2C_Read... [06:47:34]Read from MH i2c: D1 [06:47:34]MH_I2C_Read... [06:47:34]Read from MH i2c: D1 01 00 [06:47:34]MH_I2C_Read... [06:47:34]Read from MH i2c: D1 01 00 41 05 00 17 [06:47:34]Write to MH i2c: 01 00 00 42 05 47 [06:47:34]Write i2c OK [06:47:34]MH_I2C_Read... [06:47:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 C3 8C 47 00 20 F3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A5 57 00 00 F4 03 04 00 29 5C F3 66 B6 04 01 00 00 01 8F 8D 1A 02 EA 9E F5 [06:47:34]CommunicateWithHost err = 0 [06:47:34]CheckOFDResponse [06:47:34]1017 (14) - 77093643461234 [06:47:34]1041 (16) - 0000000000959358 [06:47:34]1040 (4) - 22437 [06:47:34]1012 (4) - 25.09.2024 00:41 [06:47:34]1206 (1) - 0 [06:47:34]OFD Sender: Remove packet 22437 [06:47:34]ProducePacketName [06:47:34]name=ofd_packets/00022437 [06:47:34]NVStorageDeleteData [06:47:35]OFD Sender: No OFD packet to send [06:47:35]*** Cut start [06:47:35]*** Partial cut [06:47:35]*** CUTSNS_PIN = 1 [06:47:35]*** CUTSNS_PIN = 0 [06:47:35]*** Brake cut motor [06:47:35]Read from MH i2c: 01 [06:47:35]MH_I2C_Read... [06:47:35]*** Stop cut motor [06:47:35]*** Cut end [06:47:35]Read from MH i2c: 01 07 00 [06:47:35]MH_I2C_Read... [06:47:35]Read from MH i2c: 01 07 00 42 05 00 00 00 00 00 FF 0F 5C [06:47:35]process_action close_receipt done [06:47:35]requested_data is exist [06:47:35]produce_requested_data [06:47:35]requested_item fm.sn is exist - process it [06:47:35]wFMCommunicate request_size=4 [06:47:35]MH_SAM_APDU [06:47:35]CAPDU: 80 11 00 00 [06:47:35]Write to MH i2c: E2 08 00 43 05 80 11 00 00 00 00 00 00 C2 [06:47:35]Write i2c OK [06:47:35]MH_I2C_Read... [06:47:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:47:35]Read from MH i2c: E2 [06:47:35]MH_I2C_Read... [06:47:35]Read from MH i2c: E2 17 00 [06:47:35]MH_I2C_Read... [06:47:35]Read from MH i2c: E2 17 00 43 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 1C [06:47:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [06:47:35]wFMCommunicate OK [06:47:35]requested_item fd.num is exist - process it [06:47:35]SAM_PROTO_GetFieldsCounters [06:47:35]wFMCommunicate request_size=4 [06:47:35]MH_SAM_APDU [06:47:35]CAPDU: 80 13 00 00 [06:47:35]Write to MH i2c: E2 08 00 44 05 80 13 00 00 00 00 00 00 C5 [06:47:35]Write i2c OK [06:47:35]MH_I2C_Read... [06:47:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:47:36]Read from MH i2c: E2 [06:47:36]MH_I2C_Read... [06:47:36]Read from MH i2c: E2 62 00 [06:47:36]MH_I2C_Read... [06:47:36]Read from MH i2c: E2 62 00 44 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 A5 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 E9 [06:47:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 A5 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 [06:47:36]wFMCommunicate OK [06:47:36]SAM_PROTO_GetFieldsCounters done [06:47:36]requested_item shift.num is exist - process it [06:47:36]requested_item shift.opened is exist - process it [06:47:36]req_shift_opened [06:47:36]FM_GetShiftState [06:47:36]SAM_PROTO_GetShiftState [06:47:36]wFMCommunicate request_size=4 [06:47:36]MH_SAM_APDU [06:47:36]CAPDU: 80 13 01 00 [06:47:36]Write to MH i2c: E2 08 00 45 05 80 13 01 00 00 00 00 00 C7 [06:47:36]Write i2c OK [06:47:36]MH_I2C_Read... [06:47:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:47:36]Read from MH i2c: E2 [06:47:36]MH_I2C_Read... [06:47:36]Read from MH i2c: E2 0E 00 [06:47:36]MH_I2C_Read... [06:47:36]Read from MH i2c: E2 0E 00 45 05 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 58 [06:47:36]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [06:47:36]wFMCommunicate OK [06:47:36]SAM_PROTO_GetShiftState done [06:47:36]FM_GetShiftState done [06:47:36]req_shift_opened done [06:47:36]requested_item shift.open_date is exist - process it [06:47:36]req_shift_open_date [06:47:36]req_shift_open_date done [06:47:36]produce_requested_data done [06:47:36]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22437,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [06:47:36]process_action_free close_receipt [06:47:36]json_value_free [06:47:36]json_value_free done [06:47:36]process_json_proto returns [06:47:36]Send response to host [06:47:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22437,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [06:47:36]free response buf [06:47:36]execute_script done [06:47:36]execute_script returns [06:47:36]free content buf [06:47:36]Sock 9.Close socket [06:47:36]Sock 9.Thread stoped [06:47:40]OFD Sender: No OFD packet to send [06:47:45]OFD Sender: No OFD packet to send [06:47:50]OFD Sender: No OFD packet to send [06:47:55]OFD Sender: No OFD packet to send [06:48:00]OFD Sender: No OFD packet to send [06:48:05]OFD Sender: No OFD packet to send [06:48:10]OFD Sender: No OFD packet to send [06:48:15]OFD Sender: No OFD packet to send [06:48:20]OFD Sender: No OFD packet to send [06:48:25]OFD Sender: No OFD packet to send [06:48:30]OFD Sender: No OFD packet to send [06:48:35]OFD Sender: No OFD packet to send [06:48:40]OFD Sender: No OFD packet to send [06:48:45]OFD Sender: No OFD packet to send [06:48:50]OFD Sender: No OFD packet to send [06:48:55]OFD Sender: No OFD packet to send [06:49:00]OFD Sender: No OFD packet to send [06:49:05]OFD Sender: No OFD packet to send [06:49:10]OFD Sender: No OFD packet to send [06:49:15]OFD Sender: No OFD packet to send [06:49:20]OFD Sender: No OFD packet to send [06:49:25]OFD Sender: No OFD packet to send [06:49:30]OFD Sender: No OFD packet to send [06:49:35]OFD Sender: No OFD packet to send [06:49:40]OFD Sender: No OFD packet to send [06:49:45]OFD Sender: No OFD packet to send [06:49:50]OFD Sender: No OFD packet to send [06:49:55]OFD Sender: No OFD packet to send [06:50:00]OFD Sender: No OFD packet to send [06:50:05]OFD Sender: No OFD packet to send [06:50:10]OFD Sender: No OFD packet to send [06:50:15]OFD Sender: No OFD packet to send [06:50:20]OFD Sender: No OFD packet to send [06:50:25]OFD Sender: No OFD packet to send [06:50:30]OFD Sender: No OFD packet to send [06:50:35]OFD Sender: No OFD packet to send [06:50:40]OFD Sender: No OFD packet to send [06:50:45]OFD Sender: No OFD packet to send [06:50:50]OFD Sender: No OFD packet to send [06:50:55]OFD Sender: No OFD packet to send [06:51:00]OFD Sender: No OFD packet to send [06:51:05]OFD Sender: No OFD packet to send [06:51:10]OFD Sender: No OFD packet to send [06:51:15]OFD Sender: No OFD packet to send [06:51:20]OFD Sender: No OFD packet to send [06:51:25]OFD Sender: No OFD packet to send [06:51:30]OFD Sender: No OFD packet to send [06:51:35]OFD Sender: No OFD packet to send [06:51:40]OFD Sender: No OFD packet to send [06:51:45]OFD Sender: No OFD packet to send [06:51:50]OFD Sender: No OFD packet to send [06:51:55]OFD Sender: No OFD packet to send [06:52:00]OFD Sender: No OFD packet to send [06:52:05]OFD Sender: No OFD packet to send [06:52:10]OFD Sender: No OFD packet to send [06:52:15]OFD Sender: No OFD packet to send [06:52:16]accept exits with 8 [06:52:16]New connection [06:52:16]New thread 3067260260 created [06:52:16]Thread 3067116900 joined [06:52:16]Waiting for new connection... [06:52:16] Sock 8.Parse request [06:52:16]Sock 8.Check first char [06:52:16]Sock 8.First char is OK [06:52:16]request: POST /json_proto HTTP/1.0 [06:52:16]Method: POST [06:52:16]URL: /json_proto [06:52:16]Method is POST - this is cgi request [06:52:16]url: /json_proto [06:52:16]query_string will be loaded in cgi processing [06:52:16]execute_cgi json_proto POST (null) [06:52:16]execute_cgi path=json_proto method=POST [06:52:16]POST find Content-Length [06:52:16]Host: 172.17.43.4:8080 [06:52:16]Content-Length: 749 [06:52:16]Content-Type: application/json [06:52:16] [06:52:16]POST finish read [06:52:16]Found Content-Length = 749 [06:52:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51654", "tax_sys" : 0, "items" : [ { "code": "4620006996716", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,1\u043B", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:52:16]execute_script... [06:52:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51654", "tax_sys" : 0, "items" : [ { "code": "4620006996716", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,1\u043B", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:52:16]POST & json_proto [06:52:16]process_json_proto [06:52:16]json parsed OK: [06:52:16]protocol is kg_v1.0 [06:52:16]action value=close_receipt [06:52:16]process_action close_receipt [06:52:16]cmd_close_receipt [06:52:16]MH_GetDate [06:52:16]Write to MH i2c: F0 00 00 46 05 3A [06:52:16]Write i2c OK [06:52:16]MH_I2C_Read... [06:52:16]Read from MH i2c: F0 [06:52:16]MH_I2C_Read... [06:52:16]Read from MH i2c: F0 09 00 [06:52:16]MH_I2C_Read... [06:52:16]Read from MH i2c: F0 09 00 46 05 00 22 B3 F3 66 02 BF CF 66 67 [06:52:16]GetLastDocTimeStamp 1727246854 [06:52:16]current date 1727247138 [06:52:16]FM_GetShiftState [06:52:16]SAM_PROTO_GetShiftState [06:52:16]wFMCommunicate request_size=4 [06:52:16]MH_SAM_APDU [06:52:16]CAPDU: 80 13 01 00 [06:52:16]Write to MH i2c: E2 08 00 47 05 80 13 01 00 00 00 00 00 C9 [06:52:16]Write i2c OK [06:52:16]MH_I2C_Read... [06:52:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:52:16]Read from MH i2c: E2 [06:52:16]MH_I2C_Read... [06:52:16]Read from MH i2c: E2 0E 00 [06:52:16]MH_I2C_Read... [06:52:16]Read from MH i2c: E2 0E 00 47 05 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 5A [06:52:16]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [06:52:16]wFMCommunicate OK [06:52:16]SAM_PROTO_GetShiftState done [06:52:16]FM_GetShiftState done [06:52:16]opened in 1727224020 [06:52:16]opened+sec_in_day 1727310420 [06:52:16]quantity*price = 0 [06:52:16]sum+1 = 1 [06:52:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 11 25.09.2024 06:52 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000959358 ФД: 22438 ФПД: 28058243599686 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T065218&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22438&fm=28058243599686&tin=02508201610067®Number=0000000000146243&sum=0 0 [06:52:17]StoreToDocumentArchive [06:52:17]shift 231 fd 22438 [06:52:17]save to /storage/0231/doc_00022438 [06:52:17]save last doc name /storage/0231/doc_00022438 to /storage/kkm_last_doc_name [06:52:17]save OK [06:52:17]Clear old archive folders... [06:52:17]ProcessDocumentItem done err = 0, tmpTLVsize=269 [06:52:17]tlvbuf is 003614F0 [06:52:17]SAM_PROTO_ClearQueue [06:52:17]wFMCommunicate request_size=4 [06:52:17]MH_SAM_APDU [06:52:17]CAPDU: 80 09 00 00 [06:52:17]Write to MH i2c: E2 08 00 54 05 80 09 00 00 00 00 00 00 CB [06:52:17]Write i2c OK [06:52:17]MH_I2C_Read... [06:52:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:52:17]Read from MH i2c: E2 [06:52:17]MH_I2C_Read... [06:52:17]Read from MH i2c: E2 03 00 [06:52:17]MH_I2C_Read... [06:52:17]Read from MH i2c: E2 03 00 54 05 00 90 00 CD [06:52:17]RAPDU: 90 00 [06:52:17]wFMCommunicate OK [06:52:17]SAM_PROTO_ClearQueue done [06:52:17]KKMCreateOFDPacket [06:52:17]OFDProtocolAddRootSTLVToBuf [06:52:17]FM_MakeSignedData [06:52:17]FM_MakeSignedData [06:52:17]SAM_PROTO_SignData [06:52:17]wFMCommunicate request_size=4 [06:52:17]MH_SAM_APDU [06:52:17]CAPDU: 80 0D 01 02 [06:52:17]Write to MH i2c: E2 08 00 55 05 80 0D 01 02 00 00 00 00 D3 [06:52:17]Write i2c OK [06:52:17]MH_I2C_Read... [06:52:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:52:17]Read from MH i2c: E2 [06:52:17]MH_I2C_Read... [06:52:17]Read from MH i2c: E2 03 00 [06:52:17]MH_I2C_Read... [06:52:17]Read from MH i2c: E2 03 00 55 05 00 90 00 CE [06:52:17]RAPDU: 90 00 [06:52:17]wFMCommunicate OK [06:52:17]wFMCommunicate request_size=255 [06:52:17]MH_SAM_APDU [06:52:17]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 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 0B 00 00 00 F4 03 04 00 22 B3 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [06:52:17]Write to MH i2c: E2 02 01 56 05 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 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 0B 00 00 00 F4 03 04 00 22 B3 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 53 [06:52:17]Write i2c OK [06:52:17]MH_I2C_Read... [06:52:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:52:17]Read from MH i2c: E2 [06:52:17]MH_I2C_Read... [06:52:17]Read from MH i2c: E2 03 00 [06:52:17]MH_I2C_Read... [06:52:17]Read from MH i2c: E2 03 00 56 05 00 90 00 CF [06:52:17]RAPDU: 90 00 [06:52:17]wFMCommunicate OK [06:52:17]wFMCommunicate request_size=28 [06:52:17]MH_SAM_APDU [06:52:17]CAPDU: 80 0D 02 02 17 35 39 33 35 38 10 04 04 00 A6 57 00 00 35 04 06 00 19 84 D1 A4 8D 46 [06:52:17]Write to MH i2c: E2 1F 00 57 05 80 0D 02 02 17 00 35 39 33 35 38 10 04 04 00 A6 57 00 00 35 04 06 00 19 84 D1 A4 8D 46 00 00 4B [06:52:17]Write i2c OK [06:52:17]MH_I2C_Read... [06:52:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:52:17]Read from MH i2c: E2 [06:52:17]MH_I2C_Read... [06:52:17]Read from MH i2c: E2 03 00 [06:52:17]MH_I2C_Read... [06:52:17]Read from MH i2c: E2 03 00 57 05 00 90 00 D0 [06:52:17]RAPDU: 90 00 [06:52:17]wFMCommunicate OK [06:52:17]wFMCommunicate request_size=4 [06:52:17]MH_SAM_APDU [06:52:17]CAPDU: 80 0D 03 02 [06:52:17]Write to MH i2c: E2 08 00 58 05 80 0D 03 02 00 00 00 00 D8 [06:52:17]Write i2c OK [06:52:17]MH_I2C_Read... [06:52:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:52:17]Read from MH i2c: E2 [06:52:17]MH_I2C_Read... [06:52:17]Read from MH i2c: E2 0B 00 [06:52:17]MH_I2C_Read... [06:52:17]Read from MH i2c: E2 0B 00 58 05 00 C6 9F 43 17 17 62 46 DB 90 00 32 [06:52:17]RAPDU: C6 9F 43 17 17 62 46 DB 90 00 [06:52:17]wFMCommunicate OK [06:52:17]SAM_PROTO_SignData done [06:52:17]FM_MakeSignedData done [06:52:17]CreateOFDProtocolMessage [06:52:17]wFMCommunicate request_size=4 [06:52:17]MH_SAM_APDU [06:52:17]CAPDU: 80 11 00 00 [06:52:17]Write to MH i2c: E2 08 00 59 05 80 11 00 00 00 00 00 00 D8 [06:52:17]Write i2c OK [06:52:17]MH_I2C_Read... [06:52:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:52:17]Read from MH i2c: E2 [06:52:17]MH_I2C_Read... [06:52:17]Read from MH i2c: E2 17 00 [06:52:17]MH_I2C_Read... [06:52:17]Read from MH i2c: E2 17 00 59 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 32 [06:52:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [06:52:17]wFMCommunicate OK [06:52:17]CreateOFDProtocolMessage done [06:52:17]OFDSenderStorePacket 22438 [06:52:17]StoreOFDPacket docnum=22438 [06:52:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 21 01 00 00 8F F5 19 01 70 17 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 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 0B 00 00 00 F4 03 04 00 22 B3 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A6 57 00 00 35 04 06 00 19 84 D1 A4 8D 46 C6 9F 43 17 17 62 46 DB [06:52:17]CheckFolder [06:52:17]dirname=/storage/ofd_packets [06:52:17]CheckFolder done [06:52:17]ProducePacketName [06:52:17]name=ofd_packets/00022438 [06:52:17]NVStorageSaveData ofd_packets/00022438 [06:52:17]File name is /storage/ofd_packets/00022438 [06:52:17]Write 319 bytes [06:52:17]NVStorageSaveData done [06:52:17]OFDSenderStorePacket done [06:52:17]KKMCreateOFDPacket done [06:52:17]NVStorageSaveData kkm_last_timestamp [06:52:17]File name is /storage/kkm_last_timestamp [06:52:17]Write 4 bytes [06:52:17]NVStorageSaveData done [06:52:17]ExternCall_PrintAddStr [06:52:17]wPrintStart [06:52:17]Write to MH i2c: 01 00 00 5A 05 5F [06:52:17]Write i2c OK [06:52:17]MH_I2C_Read... [06:52:17]Read from MH i2c: 01 [06:52:17]MH_I2C_Read... [06:52:17]Read from MH i2c: 01 07 00 [06:52:17]MH_I2C_Read... [06:52:17]Read from MH i2c: 01 07 00 5A 05 00 00 00 00 00 FF 0F 74 [06:52:17]RasterBufferAndPrint [06:52:17]line Счет N : (3)51654 [06:52:17]line ИНН: 02508201610067 [06:52:17]line Контрольно-Кассовый Чек [06:52:17]line ПРОДАЖА [06:52:17]line Товар: 4620006996716 [06:52:17]line Водка Талка 0,1л [06:52:17]line 1.000 * 0.00 [06:52:17]line = 0.00 [06:52:17]line НДС 12% НСП 1% [06:52:17]line > о реализуемом товаре [06:52:17]line ИТОГО: 0.00 [06:52:17]line НСП 1% : 0.00 [06:52:17]line НДС 12% : 0.00 [06:52:17]line Наличными: 0.00 [06:52:17]line Безнал.: 0.00 [06:52:17]line Место: АЗС № 88 "Партнер Нефть" [06:52:17]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [06:52:17]line СНО: Общий режим [06:52:17]line Чек 11 25.09.2024 06:52 [06:52:17]line Смена: 231 ФФД: 1.0 [06:52:17]line ЗНМ: 0300000061 [06:52:17]line РНМ: 0000000000146243 [06:52:17]line Версия ККМ: v1.0 [06:52:17]line Платежная система: Mbank [06:52:17]line ФМ: 0000000000959358 [06:52:17]line ФД: 22438 [06:52:17]line ФПД: 28058243599686 [06:52:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T065218&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22438&fm=28058243599686&tin=02508201610067®Number=0000000000146243&sum=0 [06:52:18]line 0 [06:52:18]OFD Sender: Processing packet 22438 [packets to send 23, broken 22] [06:52:18]ProducePacketName [06:52:18]name=ofd_packets/00022438 [06:52:18]OFD Sender: To server: pG, [06:52:18]CommunicateWithHost lk.salyk.kg:30040 [06:52:18]ConnectInit lk.salyk.kg [06:52:18]written 0, free lines is 4095 [06:52:18]Connected sock=10 [06:52:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 21 01 00 00 8F F5 19 01 70 17 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 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 0B 00 00 00 F4 03 04 00 22 B3 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A6 57 00 00 35 04 06 00 19 84 D1 A4 8D 46 C6 9F 43 17 17 62 46 DB [06:52:18]Write to MH i2c: 01 00 00 83 05 88 [06:52:18]Write i2c OK [06:52:18]MH_I2C_Read... [06:52:18]Read from MH i2c: 01 [06:52:18]MH_I2C_Read... [06:52:18]Read from MH i2c: 01 07 00 [06:52:18]MH_I2C_Read... [06:52:18]Read from MH i2c: 01 07 00 83 05 00 00 00 00 00 20 0D BC [06:52:18]RasterBufferAndPrint [06:52:18]line [06:52:18]line [06:52:18]line [06:52:18]line [06:52:18]line [06:52:18]written 0, free lines is 3368 [06:52:18]MH_Cut [06:52:18]Write to MH i2c: D1 01 00 8A 05 01 61 [06:52:18]Write i2c OK [06:52:18]MH_I2C_Read... [06:52:18]Read from MH i2c: D1 [06:52:18]MH_I2C_Read... [06:52:18]Read from MH i2c: D1 01 00 [06:52:18]MH_I2C_Read... [06:52:18]Read from MH i2c: D1 01 00 8A 05 00 60 [06:52:18]Write to MH i2c: 01 00 00 8B 05 90 [06:52:18]Write i2c OK [06:52:18]MH_I2C_Read... [06:52:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 2E 80 47 00 5D 6E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A6 57 00 00 F4 03 04 00 45 5D F3 66 B6 04 01 00 00 65 7C 0A 32 9B EE 17 79 [06:52:18]CommunicateWithHost err = 0 [06:52:18]CheckOFDResponse [06:52:18]1017 (14) - 77093643461234 [06:52:18]1041 (16) - 0000000000959358 [06:52:18]1040 (4) - 22438 [06:52:18]1012 (4) - 25.09.2024 00:45 [06:52:18]1206 (1) - 0 [06:52:18]OFD Sender: Remove packet 22438 [06:52:18]ProducePacketName [06:52:18]name=ofd_packets/00022438 [06:52:18]NVStorageDeleteData [06:52:19]OFD Sender: No OFD packet to send [06:52:19]*** Cut start [06:52:19]*** Partial cut [06:52:19]*** CUTSNS_PIN = 1 [06:52:19]*** CUTSNS_PIN = 0 [06:52:19]*** Brake cut motor [06:52:19]Read from MH i2c: 01 [06:52:19]*** Stop cut motor [06:52:19]*** Cut end [06:52:19]MH_I2C_Read... [06:52:19]Read from MH i2c: 01 07 00 [06:52:19]MH_I2C_Read... [06:52:19]Read from MH i2c: 01 07 00 8B 05 00 00 00 00 00 FF 0F A5 [06:52:19]process_action close_receipt done [06:52:19]requested_data is exist [06:52:19]produce_requested_data [06:52:19]requested_item fm.sn is exist - process it [06:52:19]wFMCommunicate request_size=4 [06:52:19]MH_SAM_APDU [06:52:19]CAPDU: 80 11 00 00 [06:52:19]Write to MH i2c: E2 08 00 8C 05 80 11 00 00 00 00 00 00 0B [06:52:19]Write i2c OK [06:52:19]MH_I2C_Read... [06:52:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:52:19]Read from MH i2c: E2 [06:52:19]MH_I2C_Read... [06:52:19]Read from MH i2c: E2 17 00 [06:52:19]MH_I2C_Read... [06:52:19]Read from MH i2c: E2 17 00 8C 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 65 [06:52:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [06:52:19]wFMCommunicate OK [06:52:19]requested_item fd.num is exist - process it [06:52:19]SAM_PROTO_GetFieldsCounters [06:52:19]wFMCommunicate request_size=4 [06:52:19]MH_SAM_APDU [06:52:19]CAPDU: 80 13 00 00 [06:52:19]Write to MH i2c: E2 08 00 8D 05 80 13 00 00 00 00 00 00 0E [06:52:19]Write i2c OK [06:52:19]MH_I2C_Read... [06:52:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:52:20]Read from MH i2c: E2 [06:52:20]MH_I2C_Read... [06:52:20]Read from MH i2c: E2 62 00 [06:52:20]MH_I2C_Read... [06:52:20]Read from MH i2c: E2 62 00 8D 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 A6 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 36 [06:52:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 A6 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [06:52:20]wFMCommunicate OK [06:52:20]SAM_PROTO_GetFieldsCounters done [06:52:20]requested_item shift.num is exist - process it [06:52:20]requested_item shift.opened is exist - process it [06:52:20]req_shift_opened [06:52:20]FM_GetShiftState [06:52:20]SAM_PROTO_GetShiftState [06:52:20]wFMCommunicate request_size=4 [06:52:20]MH_SAM_APDU [06:52:20]CAPDU: 80 13 01 00 [06:52:20]Write to MH i2c: E2 08 00 8E 05 80 13 01 00 00 00 00 00 10 [06:52:20]Write i2c OK [06:52:20]MH_I2C_Read... [06:52:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:52:20]Read from MH i2c: E2 [06:52:20]MH_I2C_Read... [06:52:20]Read from MH i2c: E2 0E 00 [06:52:20]MH_I2C_Read... [06:52:20]Read from MH i2c: E2 0E 00 8E 05 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 A1 [06:52:20]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [06:52:20]wFMCommunicate OK [06:52:20]SAM_PROTO_GetShiftState done [06:52:20]FM_GetShiftState done [06:52:20]req_shift_opened done [06:52:20]requested_item shift.open_date is exist - process it [06:52:20]req_shift_open_date [06:52:20]req_shift_open_date done [06:52:20]produce_requested_data done [06:52:20]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22438,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [06:52:20]process_action_free close_receipt [06:52:20]json_value_free [06:52:20]json_value_free done [06:52:20]process_json_proto returns [06:52:20]Send response to host [06:52:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22438,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [06:52:20]free response buf [06:52:20]execute_script done [06:52:20]execute_script returns [06:52:20]free content buf [06:52:20]Sock 8.Close socket [06:52:20]Sock 8.Thread stoped [06:52:24]OFD Sender: No OFD packet to send [06:52:29]OFD Sender: No OFD packet to send [06:52:34]OFD Sender: No OFD packet to send [06:52:39]OFD Sender: No OFD packet to send [06:52:44]OFD Sender: No OFD packet to send [06:52:49]OFD Sender: No OFD packet to send [06:52:54]OFD Sender: No OFD packet to send [06:52:59]OFD Sender: No OFD packet to send [06:53:04]OFD Sender: No OFD packet to send [06:53:09]OFD Sender: No OFD packet to send [06:53:14]OFD Sender: No OFD packet to send [06:53:19]OFD Sender: No OFD packet to send [06:53:24]OFD Sender: No OFD packet to send [06:53:29]OFD Sender: No OFD packet to send [06:53:34]OFD Sender: No OFD packet to send [06:53:39]OFD Sender: No OFD packet to send [06:53:44]OFD Sender: No OFD packet to send [06:53:49]OFD Sender: No OFD packet to send [06:53:54]OFD Sender: No OFD packet to send [06:53:59]OFD Sender: No OFD packet to send [06:54:04]OFD Sender: No OFD packet to send [06:54:09]OFD Sender: No OFD packet to send [06:54:14]OFD Sender: No OFD packet to send [06:54:19]OFD Sender: No OFD packet to send [06:54:24]OFD Sender: No OFD packet to send [06:54:29]OFD Sender: No OFD packet to send [06:54:34]OFD Sender: No OFD packet to send [06:54:39]OFD Sender: No OFD packet to send [06:54:44]OFD Sender: No OFD packet to send [06:54:49]OFD Sender: No OFD packet to send [06:54:54]OFD Sender: No OFD packet to send [06:54:59]OFD Sender: No OFD packet to send [06:55:04]OFD Sender: No OFD packet to send [06:55:09]OFD Sender: No OFD packet to send [06:55:14]OFD Sender: No OFD packet to send [06:55:19]OFD Sender: No OFD packet to send [06:55:24]OFD Sender: No OFD packet to send [06:55:29]OFD Sender: No OFD packet to send [06:55:34]OFD Sender: No OFD packet to send [06:55:39]OFD Sender: No OFD packet to send [06:55:44]OFD Sender: No OFD packet to send [06:55:49]OFD Sender: No OFD packet to send [06:55:54]OFD Sender: No OFD packet to send [06:55:59]OFD Sender: No OFD packet to send [06:56:04]OFD Sender: No OFD packet to send [06:56:09]OFD Sender: No OFD packet to send [06:56:14]OFD Sender: No OFD packet to send [06:56:19]OFD Sender: No OFD packet to send [06:56:24]OFD Sender: No OFD packet to send [06:56:29]OFD Sender: No OFD packet to send [06:56:34]OFD Sender: No OFD packet to send [06:56:39]OFD Sender: No OFD packet to send [06:56:44]OFD Sender: No OFD packet to send [06:56:49]OFD Sender: No OFD packet to send [06:56:54]OFD Sender: No OFD packet to send [06:56:59]OFD Sender: No OFD packet to send [06:57:04]OFD Sender: No OFD packet to send [06:57:09]OFD Sender: No OFD packet to send [06:57:14]OFD Sender: No OFD packet to send [06:57:19]OFD Sender: No OFD packet to send [06:57:24]OFD Sender: No OFD packet to send [06:57:29]OFD Sender: No OFD packet to send [06:57:34]OFD Sender: No OFD packet to send [06:57:39]OFD Sender: No OFD packet to send [06:57:44]OFD Sender: No OFD packet to send [06:57:49]OFD Sender: No OFD packet to send [06:57:54]OFD Sender: No OFD packet to send [06:57:59]OFD Sender: No OFD packet to send [06:58:04]OFD Sender: No OFD packet to send [06:58:09]OFD Sender: No OFD packet to send [06:58:14]OFD Sender: No OFD packet to send [06:58:19]OFD Sender: No OFD packet to send [06:58:24]OFD Sender: No OFD packet to send [06:58:29]OFD Sender: No OFD packet to send [06:58:34]OFD Sender: No OFD packet to send [06:58:39]OFD Sender: No OFD packet to send [06:58:44]OFD Sender: No OFD packet to send [06:58:49]OFD Sender: No OFD packet to send [06:58:54]OFD Sender: No OFD packet to send [06:58:59]OFD Sender: No OFD packet to send [06:59:04]OFD Sender: No OFD packet to send [06:59:09]OFD Sender: No OFD packet to send [06:59:14]OFD Sender: No OFD packet to send [06:59:19]OFD Sender: No OFD packet to send [06:59:24]OFD Sender: No OFD packet to send [06:59:29]OFD Sender: No OFD packet to send [06:59:34]OFD Sender: No OFD packet to send [06:59:39]OFD Sender: No OFD packet to send [06:59:44]OFD Sender: No OFD packet to send [06:59:49]OFD Sender: No OFD packet to send [06:59:54]OFD Sender: No OFD packet to send [06:59:59]OFD Sender: No OFD packet to send [07:00:04]OFD Sender: No OFD packet to send [07:00:09]OFD Sender: No OFD packet to send [07:00:14]OFD Sender: No OFD packet to send [07:00:19]OFD Sender: No OFD packet to send [07:00:24]OFD Sender: No OFD packet to send [07:00:29]OFD Sender: No OFD packet to send [07:00:34]OFD Sender: No OFD packet to send [07:00:39]OFD Sender: No OFD packet to send [07:00:44]OFD Sender: No OFD packet to send [07:00:49]OFD Sender: No OFD packet to send [07:00:54]OFD Sender: No OFD packet to send [07:00:59]OFD Sender: No OFD packet to send [07:01:04]OFD Sender: No OFD packet to send [07:01:09]OFD Sender: No OFD packet to send [07:01:14]OFD Sender: No OFD packet to send [07:01:19]OFD Sender: No OFD packet to send [07:01:24]OFD Sender: No OFD packet to send [07:01:29]OFD Sender: No OFD packet to send [07:01:34]OFD Sender: No OFD packet to send [07:01:39]OFD Sender: No OFD packet to send [07:01:44]OFD Sender: No OFD packet to send [07:01:49]OFD Sender: No OFD packet to send [07:01:54]OFD Sender: No OFD packet to send [07:01:59]OFD Sender: No OFD packet to send [07:02:04]OFD Sender: No OFD packet to send [07:02:09]OFD Sender: No OFD packet to send [07:02:14]OFD Sender: No OFD packet to send [07:02:19]OFD Sender: No OFD packet to send [07:02:24]OFD Sender: No OFD packet to send [07:02:29]OFD Sender: No OFD packet to send [07:02:34]OFD Sender: No OFD packet to send [07:02:39]OFD Sender: No OFD packet to send [07:02:44]OFD Sender: No OFD packet to send [07:02:49]OFD Sender: No OFD packet to send [07:02:54]OFD Sender: No OFD packet to send [07:02:59]OFD Sender: No OFD packet to send [07:03:04]OFD Sender: No OFD packet to send [07:03:09]OFD Sender: No OFD packet to send [07:03:14]OFD Sender: No OFD packet to send [07:03:19]OFD Sender: No OFD packet to send [07:03:24]OFD Sender: No OFD packet to send [07:03:29]OFD Sender: No OFD packet to send [07:03:34]OFD Sender: No OFD packet to send [07:03:39]OFD Sender: No OFD packet to send [07:03:44]OFD Sender: No OFD packet to send [07:03:49]OFD Sender: No OFD packet to send [07:03:54]OFD Sender: No OFD packet to send [07:03:59]OFD Sender: No OFD packet to send [07:04:04]OFD Sender: No OFD packet to send [07:04:09]OFD Sender: No OFD packet to send [07:04:14]OFD Sender: No OFD packet to send [07:04:19]OFD Sender: No OFD packet to send [07:04:24]OFD Sender: No OFD packet to send [07:04:29]OFD Sender: No OFD packet to send [07:04:34]OFD Sender: No OFD packet to send [07:04:39]OFD Sender: No OFD packet to send [07:04:44]OFD Sender: No OFD packet to send [07:04:49]OFD Sender: No OFD packet to send [07:04:54]OFD Sender: No OFD packet to send [07:04:59]OFD Sender: No OFD packet to send [07:05:04]OFD Sender: No OFD packet to send [07:05:09]OFD Sender: No OFD packet to send [07:05:14]OFD Sender: No OFD packet to send [07:05:19]OFD Sender: No OFD packet to send [07:05:24]OFD Sender: No OFD packet to send [07:05:29]OFD Sender: No OFD packet to send [07:05:34]OFD Sender: No OFD packet to send [07:05:39]OFD Sender: No OFD packet to send [07:05:44]OFD Sender: No OFD packet to send [07:05:49]OFD Sender: No OFD packet to send [07:05:54]OFD Sender: No OFD packet to send [07:05:59]OFD Sender: No OFD packet to send [07:06:04]OFD Sender: No OFD packet to send [07:06:09]OFD Sender: No OFD packet to send [07:06:14]OFD Sender: No OFD packet to send [07:06:19]OFD Sender: No OFD packet to send [07:06:24]OFD Sender: No OFD packet to send [07:06:29]OFD Sender: No OFD packet to send [07:06:34]OFD Sender: No OFD packet to send [07:06:39]OFD Sender: No OFD packet to send [07:06:44]OFD Sender: No OFD packet to send [07:06:49]OFD Sender: No OFD packet to send [07:06:54]OFD Sender: No OFD packet to send [07:06:59]OFD Sender: No OFD packet to send [07:07:04]OFD Sender: No OFD packet to send [07:07:09]OFD Sender: No OFD packet to send [07:07:14]OFD Sender: No OFD packet to send [07:07:19]OFD Sender: No OFD packet to send [07:07:24]OFD Sender: No OFD packet to send [07:07:29]OFD Sender: No OFD packet to send [07:07:34]OFD Sender: No OFD packet to send [07:07:39]OFD Sender: No OFD packet to send [07:07:44]OFD Sender: No OFD packet to send [07:07:49]OFD Sender: No OFD packet to send [07:07:54]OFD Sender: No OFD packet to send [07:07:59]OFD Sender: No OFD packet to send [07:08:04]OFD Sender: No OFD packet to send [07:08:09]OFD Sender: No OFD packet to send [07:08:14]OFD Sender: No OFD packet to send [07:08:19]OFD Sender: No OFD packet to send [07:08:24]OFD Sender: No OFD packet to send [07:08:29]OFD Sender: No OFD packet to send [07:08:34]OFD Sender: No OFD packet to send [07:08:39]OFD Sender: No OFD packet to send [07:08:44]OFD Sender: No OFD packet to send [07:08:49]OFD Sender: No OFD packet to send [07:08:54]OFD Sender: No OFD packet to send [07:08:59]OFD Sender: No OFD packet to send [07:09:04]OFD Sender: No OFD packet to send [07:09:09]OFD Sender: No OFD packet to send [07:09:14]OFD Sender: No OFD packet to send [07:09:19]OFD Sender: No OFD packet to send [07:09:24]OFD Sender: No OFD packet to send [07:09:30]OFD Sender: No OFD packet to send [07:09:35]OFD Sender: No OFD packet to send [07:09:40]OFD Sender: No OFD packet to send [07:09:45]OFD Sender: No OFD packet to send [07:09:50]OFD Sender: No OFD packet to send [07:09:55]OFD Sender: No OFD packet to send [07:10:00]OFD Sender: No OFD packet to send [07:10:05]OFD Sender: No OFD packet to send [07:10:10]OFD Sender: No OFD packet to send [07:10:15]OFD Sender: No OFD packet to send [07:10:20]OFD Sender: No OFD packet to send [07:10:25]OFD Sender: No OFD packet to send [07:10:30]OFD Sender: No OFD packet to send [07:10:35]OFD Sender: No OFD packet to send [07:10:40]OFD Sender: No OFD packet to send [07:10:45]OFD Sender: No OFD packet to send [07:10:50]OFD Sender: No OFD packet to send [07:10:55]OFD Sender: No OFD packet to send [07:11:00]OFD Sender: No OFD packet to send [07:11:05]OFD Sender: No OFD packet to send [07:11:10]OFD Sender: No OFD packet to send [07:11:15]OFD Sender: No OFD packet to send [07:11:20]OFD Sender: No OFD packet to send [07:11:25]OFD Sender: No OFD packet to send [07:11:30]OFD Sender: No OFD packet to send [07:11:35]OFD Sender: No OFD packet to send [07:11:40]OFD Sender: No OFD packet to send [07:11:45]OFD Sender: No OFD packet to send [07:11:50]OFD Sender: No OFD packet to send [07:11:55]OFD Sender: No OFD packet to send [07:12:00]OFD Sender: No OFD packet to send [07:12:05]OFD Sender: No OFD packet to send [07:12:10]OFD Sender: No OFD packet to send [07:12:15]OFD Sender: No OFD packet to send [07:12:20]OFD Sender: No OFD packet to send [07:12:25]OFD Sender: No OFD packet to send [07:12:30]OFD Sender: No OFD packet to send [07:12:35]OFD Sender: No OFD packet to send [07:12:40]OFD Sender: No OFD packet to send [07:12:45]OFD Sender: No OFD packet to send [07:12:50]OFD Sender: No OFD packet to send [07:12:55]OFD Sender: No OFD packet to send [07:13:00]OFD Sender: No OFD packet to send [07:13:05]OFD Sender: No OFD packet to send [07:13:10]OFD Sender: No OFD packet to send [07:13:15]OFD Sender: No OFD packet to send [07:13:20]OFD Sender: No OFD packet to send [07:13:25]OFD Sender: No OFD packet to send [07:13:30]OFD Sender: No OFD packet to send [07:13:35]OFD Sender: No OFD packet to send [07:13:40]OFD Sender: No OFD packet to send [07:13:45]OFD Sender: No OFD packet to send [07:13:50]OFD Sender: No OFD packet to send [07:13:55]OFD Sender: No OFD packet to send [07:14:00]OFD Sender: No OFD packet to send [07:14:05]OFD Sender: No OFD packet to send [07:14:10]OFD Sender: No OFD packet to send [07:14:15]OFD Sender: No OFD packet to send [07:14:20]OFD Sender: No OFD packet to send [07:14:25]OFD Sender: No OFD packet to send [07:14:30]OFD Sender: No OFD packet to send [07:14:35]OFD Sender: No OFD packet to send [07:14:40]OFD Sender: No OFD packet to send [07:14:45]OFD Sender: No OFD packet to send [07:14:50]OFD Sender: No OFD packet to send [07:14:55]OFD Sender: No OFD packet to send [07:15:00]OFD Sender: No OFD packet to send [07:15:05]OFD Sender: No OFD packet to send [07:15:10]OFD Sender: No OFD packet to send [07:15:15]OFD Sender: No OFD packet to send [07:15:20]OFD Sender: No OFD packet to send [07:15:25]OFD Sender: No OFD packet to send [07:15:30]OFD Sender: No OFD packet to send [07:15:35]OFD Sender: No OFD packet to send [07:15:40]OFD Sender: No OFD packet to send [07:15:45]OFD Sender: No OFD packet to send [07:15:50]OFD Sender: No OFD packet to send [07:15:55]OFD Sender: No OFD packet to send [07:16:00]OFD Sender: No OFD packet to send [07:16:05]OFD Sender: No OFD packet to send [07:16:10]OFD Sender: No OFD packet to send [07:16:15]OFD Sender: No OFD packet to send [07:16:20]OFD Sender: No OFD packet to send [07:16:25]OFD Sender: No OFD packet to send [07:16:30]OFD Sender: No OFD packet to send [07:16:35]OFD Sender: No OFD packet to send [07:16:40]OFD Sender: No OFD packet to send [07:16:45]OFD Sender: No OFD packet to send [07:16:50]OFD Sender: No OFD packet to send [07:16:55]OFD Sender: No OFD packet to send [07:17:00]OFD Sender: No OFD packet to send [07:17:05]OFD Sender: No OFD packet to send [07:17:10]OFD Sender: No OFD packet to send [07:17:15]OFD Sender: No OFD packet to send [07:17:20]OFD Sender: No OFD packet to send [07:17:25]OFD Sender: No OFD packet to send [07:17:30]OFD Sender: No OFD packet to send [07:17:35]OFD Sender: No OFD packet to send [07:17:40]OFD Sender: No OFD packet to send [07:17:45]OFD Sender: No OFD packet to send [07:17:50]OFD Sender: No OFD packet to send [07:17:55]OFD Sender: No OFD packet to send [07:18:00]OFD Sender: No OFD packet to send [07:18:05]OFD Sender: No OFD packet to send [07:18:10]OFD Sender: No OFD packet to send [07:18:15]OFD Sender: No OFD packet to send [07:18:20]OFD Sender: No OFD packet to send [07:18:25]OFD Sender: No OFD packet to send [07:18:30]OFD Sender: No OFD packet to send [07:18:35]OFD Sender: No OFD packet to send [07:18:40]OFD Sender: No OFD packet to send [07:18:45]OFD Sender: No OFD packet to send [07:18:50]OFD Sender: No OFD packet to send [07:18:55]OFD Sender: No OFD packet to send [07:19:00]OFD Sender: No OFD packet to send [07:19:05]OFD Sender: No OFD packet to send [07:19:10]OFD Sender: No OFD packet to send [07:19:15]OFD Sender: No OFD packet to send [07:19:20]OFD Sender: No OFD packet to send [07:19:25]OFD Sender: No OFD packet to send [07:19:30]OFD Sender: No OFD packet to send [07:19:35]OFD Sender: No OFD packet to send [07:19:40]OFD Sender: No OFD packet to send [07:19:45]OFD Sender: No OFD packet to send [07:19:50]OFD Sender: No OFD packet to send [07:19:55]OFD Sender: No OFD packet to send [07:20:00]OFD Sender: No OFD packet to send [07:20:05]OFD Sender: No OFD packet to send [07:20:10]OFD Sender: No OFD packet to send [07:20:15]OFD Sender: No OFD packet to send [07:20:20]OFD Sender: No OFD packet to send [07:20:25]OFD Sender: No OFD packet to send [07:20:30]OFD Sender: No OFD packet to send [07:20:35]OFD Sender: No OFD packet to send [07:20:40]OFD Sender: No OFD packet to send [07:20:45]OFD Sender: No OFD packet to send [07:20:50]OFD Sender: No OFD packet to send [07:20:55]OFD Sender: No OFD packet to send [07:21:00]OFD Sender: No OFD packet to send [07:21:05]OFD Sender: No OFD packet to send [07:21:10]OFD Sender: No OFD packet to send [07:21:15]OFD Sender: No OFD packet to send [07:21:20]OFD Sender: No OFD packet to send [07:21:25]OFD Sender: No OFD packet to send [07:21:30]OFD Sender: No OFD packet to send [07:21:35]OFD Sender: No OFD packet to send [07:21:40]OFD Sender: No OFD packet to send [07:21:45]OFD Sender: No OFD packet to send [07:21:50]OFD Sender: No OFD packet to send [07:21:55]OFD Sender: No OFD packet to send [07:22:00]OFD Sender: No OFD packet to send [07:22:05]OFD Sender: No OFD packet to send [07:22:10]OFD Sender: No OFD packet to send [07:22:15]OFD Sender: No OFD packet to send [07:22:20]OFD Sender: No OFD packet to send [07:22:25]OFD Sender: No OFD packet to send [07:22:30]OFD Sender: No OFD packet to send [07:22:35]OFD Sender: No OFD packet to send [07:22:40]OFD Sender: No OFD packet to send [07:22:45]OFD Sender: No OFD packet to send [07:22:50]OFD Sender: No OFD packet to send [07:22:55]OFD Sender: No OFD packet to send [07:23:00]OFD Sender: No OFD packet to send [07:23:05]OFD Sender: No OFD packet to send [07:23:10]OFD Sender: No OFD packet to send [07:23:15]OFD Sender: No OFD packet to send [07:23:20]OFD Sender: No OFD packet to send [07:23:25]OFD Sender: No OFD packet to send [07:23:30]OFD Sender: No OFD packet to send [07:23:35]OFD Sender: No OFD packet to send [07:23:40]OFD Sender: No OFD packet to send [07:23:45]OFD Sender: No OFD packet to send [07:23:50]OFD Sender: No OFD packet to send [07:23:55]OFD Sender: No OFD packet to send [07:24:00]OFD Sender: No OFD packet to send [07:24:05]OFD Sender: No OFD packet to send [07:24:10]OFD Sender: No OFD packet to send [07:24:15]OFD Sender: No OFD packet to send [07:24:20]OFD Sender: No OFD packet to send [07:24:25]OFD Sender: No OFD packet to send [07:24:30]OFD Sender: No OFD packet to send [07:24:35]OFD Sender: No OFD packet to send [07:24:40]OFD Sender: No OFD packet to send [07:24:45]OFD Sender: No OFD packet to send [07:24:50]OFD Sender: No OFD packet to send [07:24:55]OFD Sender: No OFD packet to send [07:25:00]OFD Sender: No OFD packet to send [07:25:05]OFD Sender: No OFD packet to send [07:25:10]OFD Sender: No OFD packet to send [07:25:15]OFD Sender: No OFD packet to send [07:25:20]OFD Sender: No OFD packet to send [07:25:25]OFD Sender: No OFD packet to send [07:25:30]OFD Sender: No OFD packet to send [07:25:35]OFD Sender: No OFD packet to send [07:25:40]OFD Sender: No OFD packet to send [07:25:45]OFD Sender: No OFD packet to send [07:25:50]OFD Sender: No OFD packet to send [07:25:55]OFD Sender: No OFD packet to send [07:26:00]OFD Sender: No OFD packet to send [07:26:05]OFD Sender: No OFD packet to send [07:26:10]OFD Sender: No OFD packet to send [07:26:15]OFD Sender: No OFD packet to send [07:26:20]OFD Sender: No OFD packet to send [07:26:25]OFD Sender: No OFD packet to send [07:26:30]OFD Sender: No OFD packet to send [07:26:35]OFD Sender: No OFD packet to send [07:26:40]OFD Sender: No OFD packet to send [07:26:45]OFD Sender: No OFD packet to send [07:26:50]OFD Sender: No OFD packet to send [07:26:55]OFD Sender: No OFD packet to send [07:27:00]OFD Sender: No OFD packet to send [07:27:05]OFD Sender: No OFD packet to send [07:27:10]OFD Sender: No OFD packet to send [07:27:15]OFD Sender: No OFD packet to send [07:27:20]OFD Sender: No OFD packet to send [07:27:25]OFD Sender: No OFD packet to send [07:27:30]OFD Sender: No OFD packet to send [07:27:35]OFD Sender: No OFD packet to send [07:27:40]OFD Sender: No OFD packet to send [07:27:45]OFD Sender: No OFD packet to send [07:27:50]OFD Sender: No OFD packet to send [07:27:55]OFD Sender: No OFD packet to send [07:28:00]OFD Sender: No OFD packet to send [07:28:05]OFD Sender: No OFD packet to send [07:28:10]OFD Sender: No OFD packet to send [07:28:15]OFD Sender: No OFD packet to send [07:28:20]OFD Sender: No OFD packet to send [07:28:25]OFD Sender: No OFD packet to send [07:28:30]OFD Sender: No OFD packet to send [07:28:35]OFD Sender: No OFD packet to send [07:28:40]OFD Sender: No OFD packet to send [07:28:45]OFD Sender: No OFD packet to send [07:28:50]OFD Sender: No OFD packet to send [07:28:55]OFD Sender: No OFD packet to send [07:29:00]OFD Sender: No OFD packet to send [07:29:05]OFD Sender: No OFD packet to send [07:29:10]OFD Sender: No OFD packet to send [07:29:15]OFD Sender: No OFD packet to send [07:29:20]OFD Sender: No OFD packet to send [07:29:25]OFD Sender: No OFD packet to send [07:29:31]OFD Sender: No OFD packet to send [07:29:36]OFD Sender: No OFD packet to send [07:29:41]OFD Sender: No OFD packet to send [07:29:46]OFD Sender: No OFD packet to send [07:29:51]OFD Sender: No OFD packet to send [07:29:56]OFD Sender: No OFD packet to send [07:30:01]OFD Sender: No OFD packet to send [07:30:06]OFD Sender: No OFD packet to send [07:30:11]OFD Sender: No OFD packet to send [07:30:16]OFD Sender: No OFD packet to send [07:30:21]OFD Sender: No OFD packet to send [07:30:26]OFD Sender: No OFD packet to send [07:30:31]OFD Sender: No OFD packet to send [07:30:36]OFD Sender: No OFD packet to send [07:30:41]OFD Sender: No OFD packet to send [07:30:46]OFD Sender: No OFD packet to send [07:30:51]OFD Sender: No OFD packet to send [07:30:56]OFD Sender: No OFD packet to send [07:31:01]OFD Sender: No OFD packet to send [07:31:06]OFD Sender: No OFD packet to send [07:31:11]OFD Sender: No OFD packet to send [07:31:16]OFD Sender: No OFD packet to send [07:31:21]OFD Sender: No OFD packet to send [07:31:26]OFD Sender: No OFD packet to send [07:31:31]OFD Sender: No OFD packet to send [07:31:36]OFD Sender: No OFD packet to send [07:31:41]OFD Sender: No OFD packet to send [07:31:46]OFD Sender: No OFD packet to send [07:31:51]OFD Sender: No OFD packet to send [07:31:56]OFD Sender: No OFD packet to send [07:32:01]OFD Sender: No OFD packet to send [07:32:06]OFD Sender: No OFD packet to send [07:32:11]OFD Sender: No OFD packet to send [07:32:16]OFD Sender: No OFD packet to send [07:32:21]OFD Sender: No OFD packet to send [07:32:26]OFD Sender: No OFD packet to send [07:32:31]OFD Sender: No OFD packet to send [07:32:36]OFD Sender: No OFD packet to send [07:32:41]OFD Sender: No OFD packet to send [07:32:46]OFD Sender: No OFD packet to send [07:32:51]OFD Sender: No OFD packet to send [07:32:56]OFD Sender: No OFD packet to send [07:33:01]OFD Sender: No OFD packet to send [07:33:06]OFD Sender: No OFD packet to send [07:33:11]OFD Sender: No OFD packet to send [07:33:16]OFD Sender: No OFD packet to send [07:33:21]OFD Sender: No OFD packet to send [07:33:26]OFD Sender: No OFD packet to send [07:33:31]OFD Sender: No OFD packet to send [07:33:36]OFD Sender: No OFD packet to send [07:33:41]OFD Sender: No OFD packet to send [07:33:46]OFD Sender: No OFD packet to send [07:33:51]OFD Sender: No OFD packet to send [07:33:56]OFD Sender: No OFD packet to send [07:34:01]OFD Sender: No OFD packet to send [07:34:06]OFD Sender: No OFD packet to send [07:34:11]OFD Sender: No OFD packet to send [07:34:16]OFD Sender: No OFD packet to send [07:34:21]OFD Sender: No OFD packet to send [07:34:26]OFD Sender: No OFD packet to send [07:34:31]OFD Sender: No OFD packet to send [07:34:36]OFD Sender: No OFD packet to send [07:34:41]OFD Sender: No OFD packet to send [07:34:46]OFD Sender: No OFD packet to send [07:34:51]OFD Sender: No OFD packet to send [07:34:56]OFD Sender: No OFD packet to send [07:35:01]OFD Sender: No OFD packet to send [07:35:06]OFD Sender: No OFD packet to send [07:35:11]OFD Sender: No OFD packet to send [07:35:16]OFD Sender: No OFD packet to send [07:35:21]OFD Sender: No OFD packet to send [07:35:26]OFD Sender: No OFD packet to send [07:35:31]OFD Sender: No OFD packet to send [07:35:36]OFD Sender: No OFD packet to send [07:35:41]OFD Sender: No OFD packet to send [07:35:46]OFD Sender: No OFD packet to send [07:35:51]OFD Sender: No OFD packet to send [07:35:56]OFD Sender: No OFD packet to send [07:36:01]OFD Sender: No OFD packet to send [07:36:06]OFD Sender: No OFD packet to send [07:36:11]OFD Sender: No OFD packet to send [07:36:16]OFD Sender: No OFD packet to send [07:36:21]OFD Sender: No OFD packet to send [07:36:26]OFD Sender: No OFD packet to send [07:36:31]OFD Sender: No OFD packet to send [07:36:36]OFD Sender: No OFD packet to send [07:36:41]OFD Sender: No OFD packet to send [07:36:46]OFD Sender: No OFD packet to send [07:36:51]OFD Sender: No OFD packet to send [07:36:56]OFD Sender: No OFD packet to send [07:37:01]OFD Sender: No OFD packet to send [07:37:06]OFD Sender: No OFD packet to send [07:37:11]OFD Sender: No OFD packet to send [07:37:16]OFD Sender: No OFD packet to send [07:37:21]OFD Sender: No OFD packet to send [07:37:26]OFD Sender: No OFD packet to send [07:37:31]OFD Sender: No OFD packet to send [07:37:36]OFD Sender: No OFD packet to send [07:37:41]OFD Sender: No OFD packet to send [07:37:46]OFD Sender: No OFD packet to send [07:37:51]OFD Sender: No OFD packet to send [07:37:56]OFD Sender: No OFD packet to send [07:38:01]OFD Sender: No OFD packet to send [07:38:06]OFD Sender: No OFD packet to send [07:38:11]OFD Sender: No OFD packet to send [07:38:16]OFD Sender: No OFD packet to send [07:38:21]OFD Sender: No OFD packet to send [07:38:26]OFD Sender: No OFD packet to send [07:38:31]OFD Sender: No OFD packet to send [07:38:36]OFD Sender: No OFD packet to send [07:38:41]OFD Sender: No OFD packet to send [07:38:46]OFD Sender: No OFD packet to send [07:38:51]OFD Sender: No OFD packet to send [07:38:56]OFD Sender: No OFD packet to send [07:39:01]OFD Sender: No OFD packet to send [07:39:06]OFD Sender: No OFD packet to send [07:39:11]OFD Sender: No OFD packet to send [07:39:16]OFD Sender: No OFD packet to send [07:39:21]OFD Sender: No OFD packet to send [07:39:26]OFD Sender: No OFD packet to send [07:39:31]OFD Sender: No OFD packet to send [07:39:36]OFD Sender: No OFD packet to send [07:39:41]OFD Sender: No OFD packet to send [07:39:46]OFD Sender: No OFD packet to send [07:39:51]OFD Sender: No OFD packet to send [07:39:56]OFD Sender: No OFD packet to send [07:40:01]OFD Sender: No OFD packet to send [07:40:06]OFD Sender: No OFD packet to send [07:40:11]OFD Sender: No OFD packet to send [07:40:16]OFD Sender: No OFD packet to send [07:40:21]OFD Sender: No OFD packet to send [07:40:26]OFD Sender: No OFD packet to send [07:40:31]OFD Sender: No OFD packet to send [07:40:36]OFD Sender: No OFD packet to send [07:40:41]OFD Sender: No OFD packet to send [07:40:46]OFD Sender: No OFD packet to send [07:40:51]OFD Sender: No OFD packet to send [07:40:56]OFD Sender: No OFD packet to send [07:41:01]OFD Sender: No OFD packet to send [07:41:06]OFD Sender: No OFD packet to send [07:41:11]OFD Sender: No OFD packet to send [07:41:16]OFD Sender: No OFD packet to send [07:41:21]OFD Sender: No OFD packet to send [07:41:26]OFD Sender: No OFD packet to send [07:41:31]OFD Sender: No OFD packet to send [07:41:36]OFD Sender: No OFD packet to send [07:41:41]OFD Sender: No OFD packet to send [07:41:46]OFD Sender: No OFD packet to send [07:41:51]OFD Sender: No OFD packet to send [07:41:56]OFD Sender: No OFD packet to send [07:42:01]OFD Sender: No OFD packet to send [07:42:06]OFD Sender: No OFD packet to send [07:42:11]OFD Sender: No OFD packet to send [07:42:16]OFD Sender: No OFD packet to send [07:42:21]OFD Sender: No OFD packet to send [07:42:26]OFD Sender: No OFD packet to send [07:42:31]OFD Sender: No OFD packet to send [07:42:36]OFD Sender: No OFD packet to send [07:42:41]OFD Sender: No OFD packet to send [07:42:46]OFD Sender: No OFD packet to send [07:42:51]OFD Sender: No OFD packet to send [07:42:56]OFD Sender: No OFD packet to send [07:43:01]OFD Sender: No OFD packet to send [07:43:06]OFD Sender: No OFD packet to send [07:43:11]OFD Sender: No OFD packet to send [07:43:16]OFD Sender: No OFD packet to send [07:43:21]OFD Sender: No OFD packet to send [07:43:26]OFD Sender: No OFD packet to send [07:43:31]OFD Sender: No OFD packet to send [07:43:36]OFD Sender: No OFD packet to send [07:43:41]OFD Sender: No OFD packet to send [07:43:46]OFD Sender: No OFD packet to send [07:43:51]OFD Sender: No OFD packet to send [07:43:56]OFD Sender: No OFD packet to send [07:44:01]OFD Sender: No OFD packet to send [07:44:06]OFD Sender: No OFD packet to send [07:44:11]OFD Sender: No OFD packet to send [07:44:16]OFD Sender: No OFD packet to send [07:44:21]OFD Sender: No OFD packet to send [07:44:26]OFD Sender: No OFD packet to send [07:44:31]OFD Sender: No OFD packet to send [07:44:36]OFD Sender: No OFD packet to send [07:44:41]OFD Sender: No OFD packet to send [07:44:46]OFD Sender: No OFD packet to send [07:44:51]OFD Sender: No OFD packet to send [07:44:56]OFD Sender: No OFD packet to send [07:45:01]OFD Sender: No OFD packet to send [07:45:06]OFD Sender: No OFD packet to send [07:45:11]OFD Sender: No OFD packet to send [07:45:16]OFD Sender: No OFD packet to send [07:45:21]OFD Sender: No OFD packet to send [07:45:26]OFD Sender: No OFD packet to send [07:45:31]OFD Sender: No OFD packet to send [07:45:36]OFD Sender: No OFD packet to send [07:45:41]OFD Sender: No OFD packet to send [07:45:46]OFD Sender: No OFD packet to send [07:45:51]OFD Sender: No OFD packet to send [07:45:56]OFD Sender: No OFD packet to send [07:46:01]OFD Sender: No OFD packet to send [07:46:06]OFD Sender: No OFD packet to send [07:46:11]OFD Sender: No OFD packet to send [07:46:16]OFD Sender: No OFD packet to send [07:46:21]OFD Sender: No OFD packet to send [07:46:26]OFD Sender: No OFD packet to send [07:46:31]OFD Sender: No OFD packet to send [07:46:36]OFD Sender: No OFD packet to send [07:46:41]OFD Sender: No OFD packet to send [07:46:46]OFD Sender: No OFD packet to send [07:46:51]OFD Sender: No OFD packet to send [07:46:56]OFD Sender: No OFD packet to send [07:47:01]OFD Sender: No OFD packet to send [07:47:06]OFD Sender: No OFD packet to send [07:47:11]OFD Sender: No OFD packet to send [07:47:16]OFD Sender: No OFD packet to send [07:47:21]OFD Sender: No OFD packet to send [07:47:26]OFD Sender: No OFD packet to send [07:47:31]OFD Sender: No OFD packet to send [07:47:36]OFD Sender: No OFD packet to send [07:47:41]OFD Sender: No OFD packet to send [07:47:46]OFD Sender: No OFD packet to send [07:47:51]OFD Sender: No OFD packet to send [07:47:56]OFD Sender: No OFD packet to send [07:48:01]OFD Sender: No OFD packet to send [07:48:06]OFD Sender: No OFD packet to send [07:48:11]OFD Sender: No OFD packet to send [07:48:16]OFD Sender: No OFD packet to send [07:48:21]OFD Sender: No OFD packet to send [07:48:26]OFD Sender: No OFD packet to send [07:48:31]OFD Sender: No OFD packet to send [07:48:36]OFD Sender: No OFD packet to send [07:48:41]OFD Sender: No OFD packet to send [07:48:44]accept exits with 9 [07:48:44]New connection [07:48:44]New thread 3067116900 created [07:48:44]Thread 3067260260 joined [07:48:44]Waiting for new connection... [07:48:44] Sock 9.Parse request [07:48:44]Sock 9.Check first char [07:48:44]Sock 9.First char is OK [07:48:44]request: POST /json_proto HTTP/1.0 [07:48:44]Method: POST [07:48:44]URL: /json_proto [07:48:44]Method is POST - this is cgi request [07:48:44]url: /json_proto [07:48:44]query_string will be loaded in cgi processing [07:48:44]execute_cgi json_proto POST (null) [07:48:44]execute_cgi path=json_proto method=POST [07:48:44]POST find Content-Length [07:48:44]Host: 172.17.43.4:8080 [07:48:44]Content-Length: 1161 [07:48:44]Content-Type: application/json [07:48:44] [07:48:44]POST finish read [07:48:44]Found Content-Length = 1161 [07:48:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51655", "tax_sys" : 0, "items" : [ { "code": "46231512", "name": "Mentos \u041F\u0424 \u0412\u0438\u043D\u043E\u0433\u0440\u0430\u0434 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4780014240406", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Sovereign Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870022003312", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 234.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:48:44]execute_script... [07:48:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51655", "tax_sys" : 0, "items" : [ { "code": "46231512", "name": "Mentos \u041F\u0424 \u0412\u0438\u043D\u043E\u0433\u0440\u0430\u0434 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4780014240406", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Sovereign Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870022003312", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 234.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:48:44]POST & json_proto [07:48:44]process_json_proto [07:48:44]json parsed OK: [07:48:44]protocol is kg_v1.0 [07:48:44]action value=close_receipt [07:48:44]process_action close_receipt [07:48:44]cmd_close_receipt [07:48:44]MH_GetDate [07:48:44]Write to MH i2c: F0 00 00 8F 05 83 [07:48:44]Write i2c OK [07:48:44]MH_I2C_Read... [07:48:44]Read from MH i2c: F0 [07:48:44]MH_I2C_Read... [07:48:44]Read from MH i2c: F0 09 00 [07:48:44]MH_I2C_Read... [07:48:44]Read from MH i2c: F0 09 00 8F 05 00 5E C0 F3 66 02 BF CF 66 F9 [07:48:44]GetLastDocTimeStamp 1727247138 [07:48:44]current date 1727250526 [07:48:44]FM_GetShiftState [07:48:44]SAM_PROTO_GetShiftState [07:48:44]wFMCommunicate request_size=4 [07:48:44]MH_SAM_APDU [07:48:44]CAPDU: 80 13 01 00 [07:48:44]Write to MH i2c: E2 08 00 90 05 80 13 01 00 00 00 00 00 12 [07:48:44]Write i2c OK [07:48:44]MH_I2C_Read... [07:48:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:48:44]Read from MH i2c: E2 [07:48:44]MH_I2C_Read... [07:48:44]Read from MH i2c: E2 0E 00 [07:48:44]MH_I2C_Read... [07:48:44]Read from MH i2c: E2 0E 00 90 05 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 A3 [07:48:44]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [07:48:44]wFMCommunicate OK [07:48:44]SAM_PROTO_GetShiftState done [07:48:44]FM_GetShiftState done [07:48:44]opened in 1727224020 [07:48:44]opened+sec_in_day 1727310420 [07:48:44]quantity*price = 1000 [07:48:44]sum+1 = 1001 [07:48:44]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4780014240406 Сигареты Sovereign Blue 1.000 * 134.00 = 134.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870022003312 Gorilla эн нап манго-кокос 0,45 ж/б 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 234.00 НСП 1% : 2.08 НДС 12% : 24.85 Наличными: 234.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 12 25.09.2024 07:48 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22439 ФПД: 34446011311960 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T074846&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22439&fm=34446011311960&tin=02508201610067®Number=0000000000146243&sum=23400 0 [07:48:45]StoreToDocumentArchive [07:48:45]shift 231 fd 22439 [07:48:45]save to /storage/0231/doc_00022439 [07:48:45]save last doc name /storage/0231/doc_00022439 to /storage/kkm_last_doc_name [07:48:45]save OK [07:48:45]Clear old archive folders... [07:48:45]ProcessDocumentItem done err = 0, tmpTLVsize=502 [07:48:45]tlvbuf is 00352DE0 [07:48:45]SAM_PROTO_ClearQueue [07:48:45]wFMCommunicate request_size=4 [07:48:45]MH_SAM_APDU [07:48:45]CAPDU: 80 09 00 00 [07:48:45]Write to MH i2c: E2 08 00 9D 05 80 09 00 00 00 00 00 00 14 [07:48:45]Write i2c OK [07:48:45]MH_I2C_Read... [07:48:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:48:45]Read from MH i2c: E2 [07:48:45]MH_I2C_Read... [07:48:45]Read from MH i2c: E2 03 00 [07:48:45]MH_I2C_Read... [07:48:45]Read from MH i2c: E2 03 00 9D 05 00 90 00 16 [07:48:45]RAPDU: 90 00 [07:48:45]wFMCommunicate OK [07:48:45]SAM_PROTO_ClearQueue done [07:48:45]KKMCreateOFDPacket [07:48:45]OFDProtocolAddRootSTLVToBuf [07:48:45]FM_MakeSignedData [07:48:45]FM_MakeSignedData [07:48:45]SAM_PROTO_SignData [07:48:45]wFMCommunicate request_size=4 [07:48:45]MH_SAM_APDU [07:48:45]CAPDU: 80 0D 01 02 [07:48:45]Write to MH i2c: E2 08 00 9E 05 80 0D 01 02 00 00 00 00 1C [07:48:45]Write i2c OK [07:48:45]MH_I2C_Read... [07:48:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:48:45]Read from MH i2c: E2 [07:48:45]MH_I2C_Read... [07:48:45]Read from MH i2c: E2 03 00 [07:48:45]MH_I2C_Read... [07:48:45]Read from MH i2c: E2 03 00 9E 05 00 90 00 17 [07:48:45]RAPDU: 90 00 [07:48:45]wFMCommunicate OK [07:48:45]wFMCommunicate request_size=255 [07:48:45]MH_SAM_APDU [07:48:45]CAPDU: 80 0D 02 02 FA 03 00 F6 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 [07:48:45]Write to MH i2c: E2 02 01 9F 05 80 0D 02 02 FA 00 03 00 F6 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 00 00 56 [07:48:45]Write i2c OK [07:48:45]MH_I2C_Read... [07:48:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:48:46]Read from MH i2c: E2 [07:48:46]MH_I2C_Read... [07:48:46]Read from MH i2c: E2 03 00 [07:48:46]MH_I2C_Read... [07:48:46]Read from MH i2c: E2 03 00 9F 05 00 90 00 18 [07:48:46]RAPDU: 90 00 [07:48:46]wFMCommunicate OK [07:48:46]wFMCommunicate request_size=255 [07:48:46]MH_SAM_APDU [07:48:46]CAPDU: 80 0D 02 02 FA D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 09 00 00 00 00 07 04 06 00 68 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 5E C0 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A7 57 00 00 35 04 06 00 [07:48:46]Write to MH i2c: E2 02 01 A0 05 80 0D 02 02 FA 00 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 09 00 00 00 00 07 04 06 00 68 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 5E C0 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A7 57 00 00 35 04 06 00 00 00 CF [07:48:46]Write i2c OK [07:48:46]MH_I2C_Read... [07:48:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:48:46]Read from MH i2c: E2 [07:48:46]MH_I2C_Read... [07:48:46]Read from MH i2c: E2 03 00 [07:48:46]MH_I2C_Read... [07:48:46]Read from MH i2c: E2 03 00 A0 05 00 90 00 19 [07:48:46]RAPDU: 90 00 [07:48:46]wFMCommunicate OK [07:48:46]wFMCommunicate request_size=11 [07:48:46]MH_SAM_APDU [07:48:46]CAPDU: 80 0D 02 02 06 1F 54 16 44 A7 58 [07:48:46]Write to MH i2c: E2 0E 00 A1 05 80 0D 02 02 06 00 1F 54 16 44 A7 58 00 00 F8 [07:48:46]Write i2c OK [07:48:46]MH_I2C_Read... [07:48:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:48:46]Read from MH i2c: E2 [07:48:46]MH_I2C_Read... [07:48:46]Read from MH i2c: E2 03 00 [07:48:46]MH_I2C_Read... [07:48:46]Read from MH i2c: E2 03 00 A1 05 00 90 00 1A [07:48:46]RAPDU: 90 00 [07:48:46]wFMCommunicate OK [07:48:46]wFMCommunicate request_size=4 [07:48:46]MH_SAM_APDU [07:48:46]CAPDU: 80 0D 03 02 [07:48:46]Write to MH i2c: E2 08 00 A2 05 80 0D 03 02 00 00 00 00 22 [07:48:46]Write i2c OK [07:48:46]MH_I2C_Read... [07:48:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:48:46]Read from MH i2c: E2 [07:48:46]MH_I2C_Read... [07:48:46]Read from MH i2c: E2 0B 00 [07:48:46]MH_I2C_Read... [07:48:46]Read from MH i2c: E2 0B 00 A2 05 00 41 4E 66 B9 71 3E E9 54 90 00 BD [07:48:46]RAPDU: 41 4E 66 B9 71 3E E9 54 90 00 [07:48:46]wFMCommunicate OK [07:48:46]SAM_PROTO_SignData done [07:48:46]FM_MakeSignedData done [07:48:46]CreateOFDProtocolMessage [07:48:46]wFMCommunicate request_size=4 [07:48:46]MH_SAM_APDU [07:48:46]CAPDU: 80 11 00 00 [07:48:46]Write to MH i2c: E2 08 00 A3 05 80 11 00 00 00 00 00 00 22 [07:48:46]Write i2c OK [07:48:46]MH_I2C_Read... [07:48:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:48:46]Read from MH i2c: E2 [07:48:46]MH_I2C_Read... [07:48:46]Read from MH i2c: E2 17 00 [07:48:46]MH_I2C_Read... [07:48:46]Read from MH i2c: E2 17 00 A3 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 7C [07:48:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [07:48:46]wFMCommunicate OK [07:48:46]CreateOFDProtocolMessage done [07:48:46]OFDSenderStorePacket 22439 [07:48:46]StoreOFDPacket docnum=22439 [07:48:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0A 02 00 00 B5 5F 02 02 C6 B6 5A 03 01 00 03 00 F6 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 09 00 00 00 00 07 04 06 00 68 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 5E C0 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A7 57 00 00 35 04 06 00 1F 54 16 44 A7 58 41 4E 66 B9 71 3E E9 54 [07:48:46]CheckFolder [07:48:46]dirname=/storage/ofd_packets [07:48:46]CheckFolder done [07:48:46]ProducePacketName [07:48:46]name=ofd_packets/00022439 [07:48:46]NVStorageSaveData ofd_packets/00022439 [07:48:46]File name is /storage/ofd_packets/00022439 [07:48:46]Write 552 bytes [07:48:46]NVStorageSaveData done [07:48:46]OFDSenderStorePacket done [07:48:46]KKMCreateOFDPacket done [07:48:46]NVStorageSaveData kkm_last_timestamp [07:48:46]File name is /storage/kkm_last_timestamp [07:48:46]Write 4 bytes [07:48:46]NVStorageSaveData done [07:48:46]ExternCall_PrintAddStr [07:48:46]wPrintStart [07:48:46]Write to MH i2c: 01 00 00 A4 05 A9 [07:48:46]Write i2c OK [07:48:46]MH_I2C_Read... [07:48:46]Read from MH i2c: 01 [07:48:46]MH_I2C_Read... [07:48:46]Read from MH i2c: 01 07 00 [07:48:46]MH_I2C_Read... [07:48:46]Read from MH i2c: 01 07 00 A4 05 00 00 00 00 00 FF 0F BE [07:48:46]RasterBufferAndPrint [07:48:46]line Счет N : (3)51655 [07:48:46]line ИНН: 02508201610067 [07:48:46]line Контрольно-Кассовый Чек [07:48:46]line ПРОДАЖА [07:48:46]line Товар: 46231512 [07:48:46]line Mentos ПФ Виноград 6*100*2г [07:48:46]line 1.000 * 10.00 [07:48:46]line = 10.00 [07:48:46]line НДС 12% НСП 1% [07:48:46]line > о реализуемом товаре [07:48:46]line Товар: 4780014240406 [07:48:46]line Сигареты Sovereign Blue [07:48:46]line 1.000 * 134.00 [07:48:46]line = 134.00 [07:48:46]line НДС 12% НСП 1% [07:48:46]line > о реализуемом товаре [07:48:46]line Товар: 4870022003312 [07:48:46]line Gorilla эн нап манго-кокос 0,45 ж/б [07:48:46]line 1.000 * 90.00 [07:48:46]line = 90.00 [07:48:46]line НДС 12% НСП 1% [07:48:46]line > о реализуемом товаре [07:48:46]line ИТОГО: 234.00 [07:48:46]line НСП 1% : 2.08 [07:48:46]line НДС 12% : 24.85 [07:48:46]line Наличными: 234.00 [07:48:46]line Безнал.: 0.00 [07:48:46]line Место: АЗС № 88 "Партнер Нефть" [07:48:46]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [07:48:46]line СНО: Общий режим [07:48:46]line Чек 12 25.09.2024 07:48 [07:48:46]line Смена: 231 ФФД: 1.0 [07:48:46]line ЗНМ: 0300000061 [07:48:46]line РНМ: 0000000000146243 [07:48:46]line Версия ККМ: v1.0 [07:48:46]line ФМ: 0000000000959358 [07:48:46]line ФД: 22439 [07:48:46]line ФПД: 34446011311960 [07:48:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T074846&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22439&fm=34446011311960&tin=02508201610067®Number=0000000000146243&sum=23400 [07:48:46]line 0 [07:48:46]written 0, free lines is 4095 [07:48:46]OFD Sender: Processing packet 22439 [packets to send 23, broken 22] [07:48:46]ProducePacketName [07:48:46]name=ofd_packets/00022439 [07:48:46]OFD Sender: To server: pG, [07:48:46]CommunicateWithHost lk.salyk.kg:30040 [07:48:46]ConnectInit lk.salyk.kg [07:48:46]Connected sock=10 [07:48:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0A 02 00 00 B5 5F 02 02 C6 B6 5A 03 01 00 03 00 F6 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 09 00 00 00 00 07 04 06 00 68 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 5E C0 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A7 57 00 00 35 04 06 00 1F 54 16 44 A7 58 41 4E 66 B9 71 3E E9 54 [07:48:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 9E 8B 47 00 8A 72 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A7 57 00 00 F4 03 04 00 82 6A F3 66 B6 04 01 00 00 8D FB 0B C3 78 9D 1D EC [07:48:47]CommunicateWithHost err = 0 [07:48:47]CheckOFDResponse [07:48:47]1017 (14) - 77093643461234 [07:48:47]1041 (16) - 0000000000959358 [07:48:47]1040 (4) - 22439 [07:48:47]1012 (4) - 25.09.2024 01:42 [07:48:47]1206 (1) - 0 [07:48:47]OFD Sender: Remove packet 22439 [07:48:47]ProducePacketName [07:48:47]name=ofd_packets/00022439 [07:48:47]NVStorageDeleteData [07:48:47]Write to MH i2c: 01 00 00 D9 05 DE [07:48:47]Write i2c OK [07:48:47]MH_I2C_Read... [07:48:47]Read from MH i2c: 01 [07:48:47]MH_I2C_Read... [07:48:47]Read from MH i2c: 01 07 00 [07:48:47]MH_I2C_Read... [07:48:47]Read from MH i2c: 01 07 00 D9 05 00 00 00 00 00 6F 0C 60 [07:48:47]RasterBufferAndPrint [07:48:47]line [07:48:47]line [07:48:47]line [07:48:47]line [07:48:47]line [07:48:47]written 0, free lines is 3192 [07:48:47]MH_Cut [07:48:47]Write to MH i2c: D1 01 00 E0 05 01 B7 [07:48:47]Write i2c OK [07:48:47]MH_I2C_Read... [07:48:47]Read from MH i2c: D1 [07:48:47]MH_I2C_Read... [07:48:47]Read from MH i2c: D1 01 00 [07:48:47]MH_I2C_Read... [07:48:47]Read from MH i2c: D1 01 00 E0 05 00 B6 [07:48:47]Write to MH i2c: 01 00 00 E1 05 E6 [07:48:47]Write i2c OK [07:48:47]MH_I2C_Read... [07:48:47]OFD Sender: No OFD packet to send [07:48:48]*** Cut start [07:48:48]*** Partial cut [07:48:48]*** CUTSNS_PIN = 1 [07:48:48]*** CUTSNS_PIN = 0 [07:48:48]*** Brake cut motor [07:48:48]Read from MH i2c: 01 [07:48:48]MH_I2C_Read... [07:48:48]*** Stop cut motor [07:48:48]*** Cut end [07:48:48]Read from MH i2c: 01 07 00 [07:48:48]MH_I2C_Read... [07:48:48]Read from MH i2c: 01 07 00 E1 05 00 00 00 00 00 FF 0F FB [07:48:48]process_action close_receipt done [07:48:48]requested_data is exist [07:48:48]produce_requested_data [07:48:48]requested_item fm.sn is exist - process it [07:48:48]wFMCommunicate request_size=4 [07:48:48]MH_SAM_APDU [07:48:48]CAPDU: 80 11 00 00 [07:48:48]Write to MH i2c: E2 08 00 E2 05 80 11 00 00 00 00 00 00 61 [07:48:48]Write i2c OK [07:48:48]MH_I2C_Read... [07:48:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:48:48]Read from MH i2c: E2 [07:48:48]MH_I2C_Read... [07:48:48]Read from MH i2c: E2 17 00 [07:48:48]MH_I2C_Read... [07:48:48]Read from MH i2c: E2 17 00 E2 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 BB [07:48:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [07:48:48]wFMCommunicate OK [07:48:48]requested_item fd.num is exist - process it [07:48:48]SAM_PROTO_GetFieldsCounters [07:48:48]wFMCommunicate request_size=4 [07:48:48]MH_SAM_APDU [07:48:48]CAPDU: 80 13 00 00 [07:48:48]Write to MH i2c: E2 08 00 E3 05 80 13 00 00 00 00 00 00 64 [07:48:48]Write i2c OK [07:48:48]MH_I2C_Read... [07:48:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:48:48]Read from MH i2c: E2 [07:48:48]MH_I2C_Read... [07:48:48]Read from MH i2c: E2 62 00 [07:48:48]MH_I2C_Read... [07:48:48]Read from MH i2c: E2 62 00 E3 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 A7 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 90 [07:48:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 A7 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:48:48]wFMCommunicate OK [07:48:48]SAM_PROTO_GetFieldsCounters done [07:48:48]requested_item shift.num is exist - process it [07:48:48]requested_item shift.opened is exist - process it [07:48:48]req_shift_opened [07:48:48]FM_GetShiftState [07:48:48]SAM_PROTO_GetShiftState [07:48:48]wFMCommunicate request_size=4 [07:48:48]MH_SAM_APDU [07:48:48]CAPDU: 80 13 01 00 [07:48:48]Write to MH i2c: E2 08 00 E4 05 80 13 01 00 00 00 00 00 66 [07:48:48]Write i2c OK [07:48:48]MH_I2C_Read... [07:48:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:48:48]Read from MH i2c: E2 [07:48:48]MH_I2C_Read... [07:48:48]Read from MH i2c: E2 0E 00 [07:48:48]MH_I2C_Read... [07:48:48]Read from MH i2c: E2 0E 00 E4 05 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 F7 [07:48:48]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [07:48:48]wFMCommunicate OK [07:48:48]SAM_PROTO_GetShiftState done [07:48:48]FM_GetShiftState done [07:48:48]req_shift_opened done [07:48:48]requested_item shift.open_date is exist - process it [07:48:48]req_shift_open_date [07:48:48]req_shift_open_date done [07:48:48]produce_requested_data done [07:48:48]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22439,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [07:48:48]process_action_free close_receipt [07:48:48]json_value_free [07:48:48]json_value_free done [07:48:48]process_json_proto returns [07:48:48]Send response to host [07:48:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22439,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [07:48:48]free response buf [07:48:48]execute_script done [07:48:48]execute_script returns [07:48:48]free content buf [07:48:48]Sock 9.Close socket [07:48:48]Sock 9.Thread stoped [07:48:52]OFD Sender: No OFD packet to send [07:48:57]OFD Sender: No OFD packet to send [07:49:02]OFD Sender: No OFD packet to send [07:49:07]OFD Sender: No OFD packet to send [07:49:12]OFD Sender: No OFD packet to send [07:49:17]OFD Sender: No OFD packet to send [07:49:22]OFD Sender: No OFD packet to send [07:49:27]OFD Sender: No OFD packet to send [07:49:32]OFD Sender: No OFD packet to send [07:49:37]OFD Sender: No OFD packet to send [07:49:42]OFD Sender: No OFD packet to send [07:49:47]OFD Sender: No OFD packet to send [07:49:52]OFD Sender: No OFD packet to send [07:49:57]OFD Sender: No OFD packet to send [07:50:02]OFD Sender: No OFD packet to send [07:50:07]OFD Sender: No OFD packet to send [07:50:12]OFD Sender: No OFD packet to send [07:50:17]OFD Sender: No OFD packet to send [07:50:22]OFD Sender: No OFD packet to send [07:50:27]OFD Sender: No OFD packet to send [07:50:32]OFD Sender: No OFD packet to send [07:50:37]OFD Sender: No OFD packet to send [07:50:42]OFD Sender: No OFD packet to send [07:50:47]OFD Sender: No OFD packet to send [07:50:52]OFD Sender: No OFD packet to send [07:50:57]OFD Sender: No OFD packet to send [07:51:02]OFD Sender: No OFD packet to send [07:51:07]OFD Sender: No OFD packet to send [07:51:12]OFD Sender: No OFD packet to send [07:51:17]OFD Sender: No OFD packet to send [07:51:22]OFD Sender: No OFD packet to send [07:51:27]OFD Sender: No OFD packet to send [07:51:32]OFD Sender: No OFD packet to send [07:51:37]OFD Sender: No OFD packet to send [07:51:42]OFD Sender: No OFD packet to send [07:51:47]OFD Sender: No OFD packet to send [07:51:52]OFD Sender: No OFD packet to send [07:51:57]OFD Sender: No OFD packet to send [07:52:02]OFD Sender: No OFD packet to send [07:52:07]OFD Sender: No OFD packet to send [07:52:12]OFD Sender: No OFD packet to send [07:52:17]OFD Sender: No OFD packet to send [07:52:22]OFD Sender: No OFD packet to send [07:52:27]OFD Sender: No OFD packet to send [07:52:32]OFD Sender: No OFD packet to send [07:52:37]OFD Sender: No OFD packet to send [07:52:42]OFD Sender: No OFD packet to send [07:52:47]OFD Sender: No OFD packet to send [07:52:52]OFD Sender: No OFD packet to send [07:52:57]OFD Sender: No OFD packet to send [07:53:02]OFD Sender: No OFD packet to send [07:53:07]accept exits with 8 [07:53:07]New connection [07:53:07]New thread 3067260260 created [07:53:07]Thread 3067116900 joined [07:53:07]Waiting for new connection... [07:53:07] Sock 8.Parse request [07:53:07]Sock 8.Check first char [07:53:07]Sock 8.First char is OK [07:53:07]request: POST /json_proto HTTP/1.0 [07:53:07]Method: POST [07:53:07]URL: /json_proto [07:53:07]Method is POST - this is cgi request [07:53:07]url: /json_proto [07:53:07]query_string will be loaded in cgi processing [07:53:07]execute_cgi json_proto POST (null) [07:53:07]execute_cgi path=json_proto method=POST [07:53:07]POST find Content-Length [07:53:07]Host: 172.17.43.4:8080 [07:53:07]Content-Length: 666 [07:53:07]Content-Type: application/json [07:53:07] [07:53:07]POST finish read [07:53:07]Found Content-Length = 666 [07:53:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51656", "tax_sys" : 0, "items" : [ { "code": "4700002082191", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,46\u043B", "price" : 350.00, "quantity" : 1.000, "sum" : 350.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 350.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:53:07]execute_script... [07:53:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51656", "tax_sys" : 0, "items" : [ { "code": "4700002082191", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,46\u043B", "price" : 350.00, "quantity" : 1.000, "sum" : 350.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 350.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:53:07]POST & json_proto [07:53:07]process_json_proto [07:53:07]json parsed OK: [07:53:07]protocol is kg_v1.0 [07:53:07]action value=close_receipt [07:53:07]process_action close_receipt [07:53:07]cmd_close_receipt [07:53:07]MH_GetDate [07:53:07]Write to MH i2c: F0 00 00 E5 05 D9 [07:53:07]Write i2c OK [07:53:07]MH_I2C_Read... [07:53:07]Read from MH i2c: F0 [07:53:07]MH_I2C_Read... [07:53:07]Read from MH i2c: F0 09 00 [07:53:07]MH_I2C_Read... [07:53:07]Read from MH i2c: F0 09 00 E5 05 00 66 C1 F3 66 02 BF CF 66 58 [07:53:07]GetLastDocTimeStamp 1727250526 [07:53:07]current date 1727250790 [07:53:07]FM_GetShiftState [07:53:07]SAM_PROTO_GetShiftState [07:53:07]wFMCommunicate request_size=4 [07:53:07]MH_SAM_APDU [07:53:07]CAPDU: 80 13 01 00 [07:53:07]Write to MH i2c: E2 08 00 E6 05 80 13 01 00 00 00 00 00 68 [07:53:07]Write i2c OK [07:53:07]MH_I2C_Read... [07:53:07]OFD Sender: No OFD packet to send [07:53:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:53:08]Read from MH i2c: E2 [07:53:08]MH_I2C_Read... [07:53:08]Read from MH i2c: E2 0E 00 [07:53:08]MH_I2C_Read... [07:53:08]Read from MH i2c: E2 0E 00 E6 05 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 F9 [07:53:08]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [07:53:08]wFMCommunicate OK [07:53:08]SAM_PROTO_GetShiftState done [07:53:08]FM_GetShiftState done [07:53:08]opened in 1727224020 [07:53:08]opened+sec_in_day 1727310420 [07:53:08]quantity*price = 35000 [07:53:08]sum+1 = 35001 [07:53:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 350.00 НСП 1% : 3.10 НДС 12% : 37.17 Наличными: 350.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 13 25.09.2024 07:53 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22440 ФПД: 150165472045512 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T075310&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22440&fm=150165472045512&tin=02508201610067®Number=0000000000146243&sum=35000 0 [07:53:09]StoreToDocumentArchive [07:53:09]shift 231 fd 22440 [07:53:09]save to /storage/0231/doc_00022440 [07:53:09]save last doc name /storage/0231/doc_00022440 to /storage/kkm_last_doc_name [07:53:09]save OK [07:53:09]Clear old archive folders... [07:53:09]ProcessDocumentItem done err = 0, tmpTLVsize=283 [07:53:09]tlvbuf is 00398E20 [07:53:09]SAM_PROTO_ClearQueue [07:53:09]wFMCommunicate request_size=4 [07:53:09]MH_SAM_APDU [07:53:09]CAPDU: 80 09 00 00 [07:53:09]Write to MH i2c: E2 08 00 F3 05 80 09 00 00 00 00 00 00 6A [07:53:09]Write i2c OK [07:53:09]MH_I2C_Read... [07:53:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:53:09]Read from MH i2c: E2 [07:53:09]MH_I2C_Read... [07:53:09]Read from MH i2c: E2 03 00 [07:53:09]MH_I2C_Read... [07:53:09]Read from MH i2c: E2 03 00 F3 05 00 90 00 6C [07:53:09]RAPDU: 90 00 [07:53:09]wFMCommunicate OK [07:53:09]SAM_PROTO_ClearQueue done [07:53:09]KKMCreateOFDPacket [07:53:09]OFDProtocolAddRootSTLVToBuf [07:53:09]FM_MakeSignedData [07:53:09]FM_MakeSignedData [07:53:09]SAM_PROTO_SignData [07:53:09]wFMCommunicate request_size=4 [07:53:09]MH_SAM_APDU [07:53:09]CAPDU: 80 0D 01 02 [07:53:09]Write to MH i2c: E2 08 00 F4 05 80 0D 01 02 00 00 00 00 72 [07:53:09]Write i2c OK [07:53:09]MH_I2C_Read... [07:53:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:53:09]Read from MH i2c: E2 [07:53:09]MH_I2C_Read... [07:53:09]Read from MH i2c: E2 03 00 [07:53:09]MH_I2C_Read... [07:53:09]Read from MH i2c: E2 03 00 F4 05 00 90 00 6D [07:53:09]RAPDU: 90 00 [07:53:09]wFMCommunicate OK [07:53:09]wFMCommunicate request_size=255 [07:53:09]MH_SAM_APDU [07:53:09]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 66 C1 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 [07:53:09]Write to MH i2c: E2 02 01 F5 05 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 66 C1 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 00 00 5C [07:53:09]Write i2c OK [07:53:09]MH_I2C_Read... [07:53:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:53:09]Read from MH i2c: E2 [07:53:09]MH_I2C_Read... [07:53:09]Read from MH i2c: E2 03 00 [07:53:09]MH_I2C_Read... [07:53:09]Read from MH i2c: E2 03 00 F5 05 00 90 00 6E [07:53:09]RAPDU: 90 00 [07:53:09]wFMCommunicate OK [07:53:09]wFMCommunicate request_size=42 [07:53:09]MH_SAM_APDU [07:53:09]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A8 57 00 00 35 04 06 00 88 93 1F 9E 69 C8 [07:53:09]Write to MH i2c: E2 2D 00 F6 05 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A8 57 00 00 35 04 06 00 88 93 1F 9E 69 C8 00 00 59 [07:53:09]Write i2c OK [07:53:09]MH_I2C_Read... [07:53:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:53:09]Read from MH i2c: E2 [07:53:09]MH_I2C_Read... [07:53:09]Read from MH i2c: E2 03 00 [07:53:09]MH_I2C_Read... [07:53:09]Read from MH i2c: E2 03 00 F6 05 00 90 00 6F [07:53:09]RAPDU: 90 00 [07:53:09]wFMCommunicate OK [07:53:09]wFMCommunicate request_size=4 [07:53:09]MH_SAM_APDU [07:53:09]CAPDU: 80 0D 03 02 [07:53:09]Write to MH i2c: E2 08 00 F7 05 80 0D 03 02 00 00 00 00 77 [07:53:09]Write i2c OK [07:53:09]MH_I2C_Read... [07:53:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:53:09]Read from MH i2c: E2 [07:53:09]MH_I2C_Read... [07:53:09]Read from MH i2c: E2 0B 00 [07:53:09]MH_I2C_Read... [07:53:09]Read from MH i2c: E2 0B 00 F7 05 00 CA 44 A1 42 95 9B 9A 30 90 00 63 [07:53:09]RAPDU: CA 44 A1 42 95 9B 9A 30 90 00 [07:53:09]wFMCommunicate OK [07:53:09]SAM_PROTO_SignData done [07:53:09]FM_MakeSignedData done [07:53:09]CreateOFDProtocolMessage [07:53:09]wFMCommunicate request_size=4 [07:53:09]MH_SAM_APDU [07:53:09]CAPDU: 80 11 00 00 [07:53:09]Write to MH i2c: E2 08 00 F8 05 80 11 00 00 00 00 00 00 77 [07:53:09]Write i2c OK [07:53:09]MH_I2C_Read... [07:53:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:53:09]Read from MH i2c: E2 [07:53:09]MH_I2C_Read... [07:53:09]Read from MH i2c: E2 17 00 [07:53:09]MH_I2C_Read... [07:53:09]Read from MH i2c: E2 17 00 F8 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 D1 [07:53:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [07:53:09]wFMCommunicate OK [07:53:09]CreateOFDProtocolMessage done [07:53:09]OFDSenderStorePacket 22440 [07:53:09]StoreOFDPacket docnum=22440 [07:53:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 2F 01 00 00 84 C3 27 01 EE 82 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 66 C1 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A8 57 00 00 35 04 06 00 88 93 1F 9E 69 C8 CA 44 A1 42 95 9B 9A 30 [07:53:09]CheckFolder [07:53:09]dirname=/storage/ofd_packets [07:53:09]CheckFolder done [07:53:09]ProducePacketName [07:53:09]name=ofd_packets/00022440 [07:53:09]NVStorageSaveData ofd_packets/00022440 [07:53:09]File name is /storage/ofd_packets/00022440 [07:53:09]Write 333 bytes [07:53:09]NVStorageSaveData done [07:53:09]OFDSenderStorePacket done [07:53:09]KKMCreateOFDPacket done [07:53:09]NVStorageSaveData kkm_last_timestamp [07:53:09]File name is /storage/kkm_last_timestamp [07:53:09]Write 4 bytes [07:53:09]NVStorageSaveData done [07:53:09]ExternCall_PrintAddStr [07:53:09]wPrintStart [07:53:09]Write to MH i2c: 01 00 00 F9 05 FE [07:53:09]Write i2c OK [07:53:09]MH_I2C_Read... [07:53:09]Read from MH i2c: 01 [07:53:09]MH_I2C_Read... [07:53:09]Read from MH i2c: 01 07 00 [07:53:09]MH_I2C_Read... [07:53:09]Read from MH i2c: 01 07 00 F9 05 00 00 00 00 00 FF 0F 13 [07:53:09]RasterBufferAndPrint [07:53:09]line Счет N : (3)51656 [07:53:09]line ИНН: 02508201610067 [07:53:09]line Контрольно-Кассовый Чек [07:53:09]line ПРОДАЖА [07:53:09]line Товар: 4700002082191 [07:53:09]line Водка Белое золото 0,46л [07:53:09]line 1.000 * 350.00 [07:53:09]line = 350.00 [07:53:09]line НДС 12% НСП 1% [07:53:09]line > о реализуемом товаре [07:53:09]line ИТОГО: 350.00 [07:53:09]line НСП 1% : 3.10 [07:53:09]line НДС 12% : 37.17 [07:53:09]line Наличными: 350.00 [07:53:09]line Безнал.: 0.00 [07:53:09]line Место: АЗС № 88 "Партнер Нефть" [07:53:09]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [07:53:09]line СНО: Общий режим [07:53:09]line Чек 13 25.09.2024 07:53 [07:53:09]line Смена: 231 ФФД: 1.0 [07:53:09]line ЗНМ: 0300000061 [07:53:09]line РНМ: 0000000000146243 [07:53:09]line Версия ККМ: v1.0 [07:53:09]line ФМ: 0000000000959358 [07:53:09]line ФД: 22440 [07:53:09]line ФПД: 150165472045512 [07:53:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T075310&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22440&fm=150165472045512&tin=02508201610067®Number=0000000000146243&sum=35000 [07:53:10]line 0 [07:53:10]OFD Sender: Processing packet 22440 [packets to send 23, broken 22] [07:53:10]ProducePacketName [07:53:10]name=ofd_packets/00022440 [07:53:10]OFD Sender: To server: pG, [07:53:10]CommunicateWithHost lk.salyk.kg:30040 [07:53:10]ConnectInit lk.salyk.kg [07:53:10]written 0, free lines is 4095 [07:53:10]Connected sock=11 [07:53:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 2F 01 00 00 84 C3 27 01 EE 82 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 66 C1 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A8 57 00 00 35 04 06 00 88 93 1F 9E 69 C8 CA 44 A1 42 95 9B 9A 30 [07:53:10]Write to MH i2c: 01 00 00 21 06 27 [07:53:10]Write i2c OK [07:53:10]MH_I2C_Read... [07:53:10]Read from MH i2c: 01 [07:53:10]MH_I2C_Read... [07:53:10]Read from MH i2c: 01 07 00 [07:53:10]MH_I2C_Read... [07:53:10]Read from MH i2c: 01 07 00 21 06 00 00 00 00 00 26 0D 61 [07:53:10]RasterBufferAndPrint [07:53:10]line [07:53:10]line [07:53:10]line [07:53:10]line [07:53:10]line [07:53:10]written 0, free lines is 3372 [07:53:10]MH_Cut [07:53:10]Write to MH i2c: D1 01 00 28 06 01 00 [07:53:10]Write i2c OK [07:53:10]MH_I2C_Read... [07:53:10]Read from MH i2c: D1 [07:53:10]MH_I2C_Read... [07:53:10]Read from MH i2c: D1 01 00 [07:53:10]MH_I2C_Read... [07:53:10]Read from MH i2c: D1 01 00 28 06 00 FF [07:53:10]Write to MH i2c: 01 00 00 29 06 2F [07:53:10]Write i2c OK [07:53:10]MH_I2C_Read... [07:53:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 4D 7C 47 00 E6 A4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A8 57 00 00 F4 03 04 00 89 6B F3 66 B6 04 01 00 00 18 30 25 0A 57 DE ED 76 [07:53:10]CommunicateWithHost err = 0 [07:53:10]CheckOFDResponse [07:53:10]1017 (14) - 77093643461234 [07:53:10]1041 (16) - 0000000000959358 [07:53:10]1040 (4) - 22440 [07:53:10]1012 (4) - 25.09.2024 01:46 [07:53:10]1206 (1) - 0 [07:53:10]OFD Sender: Remove packet 22440 [07:53:10]ProducePacketName [07:53:10]name=ofd_packets/00022440 [07:53:10]NVStorageDeleteData [07:53:11]OFD Sender: No OFD packet to send [07:53:11]*** Cut start [07:53:11]*** Partial cut [07:53:11]*** CUTSNS_PIN = 1 [07:53:11]*** CUTSNS_PIN = 0 [07:53:11]*** Brake cut motor [07:53:11]Read from MH i2c: 01 [07:53:11]MH_I2C_Read... [07:53:11]*** Stop cut motor [07:53:11]*** Cut end [07:53:11]Read from MH i2c: 01 07 00 [07:53:11]MH_I2C_Read... [07:53:11]Read from MH i2c: 01 07 00 29 06 00 00 00 00 00 FF 0F 44 [07:53:11]process_action close_receipt done [07:53:11]requested_data is exist [07:53:11]produce_requested_data [07:53:11]requested_item fm.sn is exist - process it [07:53:11]wFMCommunicate request_size=4 [07:53:11]MH_SAM_APDU [07:53:11]CAPDU: 80 11 00 00 [07:53:11]Write to MH i2c: E2 08 00 2A 06 80 11 00 00 00 00 00 00 AA [07:53:11]Write i2c OK [07:53:11]MH_I2C_Read... [07:53:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:53:11]Read from MH i2c: E2 [07:53:11]MH_I2C_Read... [07:53:11]Read from MH i2c: E2 17 00 [07:53:11]MH_I2C_Read... [07:53:11]Read from MH i2c: E2 17 00 2A 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 04 [07:53:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [07:53:11]wFMCommunicate OK [07:53:11]requested_item fd.num is exist - process it [07:53:11]SAM_PROTO_GetFieldsCounters [07:53:11]wFMCommunicate request_size=4 [07:53:11]MH_SAM_APDU [07:53:11]CAPDU: 80 13 00 00 [07:53:11]Write to MH i2c: E2 08 00 2B 06 80 13 00 00 00 00 00 00 AD [07:53:11]Write i2c OK [07:53:11]MH_I2C_Read... [07:53:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:53:11]Read from MH i2c: E2 [07:53:11]MH_I2C_Read... [07:53:11]Read from MH i2c: E2 62 00 [07:53:11]MH_I2C_Read... [07:53:11]Read from MH i2c: E2 62 00 2B 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 A8 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 DD [07:53:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 A8 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:53:11]wFMCommunicate OK [07:53:11]SAM_PROTO_GetFieldsCounters done [07:53:11]requested_item shift.num is exist - process it [07:53:11]requested_item shift.opened is exist - process it [07:53:11]req_shift_opened [07:53:11]FM_GetShiftState [07:53:11]SAM_PROTO_GetShiftState [07:53:11]wFMCommunicate request_size=4 [07:53:11]MH_SAM_APDU [07:53:11]CAPDU: 80 13 01 00 [07:53:11]Write to MH i2c: E2 08 00 2C 06 80 13 01 00 00 00 00 00 AF [07:53:11]Write i2c OK [07:53:11]MH_I2C_Read... [07:53:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:53:11]Read from MH i2c: E2 [07:53:11]MH_I2C_Read... [07:53:11]Read from MH i2c: E2 0E 00 [07:53:11]MH_I2C_Read... [07:53:11]Read from MH i2c: E2 0E 00 2C 06 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 40 [07:53:11]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [07:53:11]wFMCommunicate OK [07:53:11]SAM_PROTO_GetShiftState done [07:53:11]FM_GetShiftState done [07:53:11]req_shift_opened done [07:53:11]requested_item shift.open_date is exist - process it [07:53:11]req_shift_open_date [07:53:11]req_shift_open_date done [07:53:11]produce_requested_data done [07:53:11]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22440,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [07:53:11]process_action_free close_receipt [07:53:11]json_value_free [07:53:11]json_value_free done [07:53:11]process_json_proto returns [07:53:11]Send response to host [07:53:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22440,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [07:53:11]free response buf [07:53:11]execute_script done [07:53:11]execute_script returns [07:53:11]free content buf [07:53:11]Sock 8.Close socket [07:53:11]Sock 8.Thread stoped [07:53:16]OFD Sender: No OFD packet to send [07:53:21]OFD Sender: No OFD packet to send [07:53:26]OFD Sender: No OFD packet to send [07:53:31]OFD Sender: No OFD packet to send [07:53:36]OFD Sender: No OFD packet to send [07:53:41]OFD Sender: No OFD packet to send [07:53:46]OFD Sender: No OFD packet to send [07:53:51]OFD Sender: No OFD packet to send [07:53:56]OFD Sender: No OFD packet to send [07:54:01]OFD Sender: No OFD packet to send [07:54:06]OFD Sender: No OFD packet to send [07:54:11]OFD Sender: No OFD packet to send [07:54:16]OFD Sender: No OFD packet to send [07:54:21]OFD Sender: No OFD packet to send [07:54:26]OFD Sender: No OFD packet to send [07:54:31]OFD Sender: No OFD packet to send [07:54:36]OFD Sender: No OFD packet to send [07:54:41]OFD Sender: No OFD packet to send [07:54:46]OFD Sender: No OFD packet to send [07:54:51]OFD Sender: No OFD packet to send [07:54:56]OFD Sender: No OFD packet to send [07:55:01]OFD Sender: No OFD packet to send [07:55:06]OFD Sender: No OFD packet to send [07:55:11]OFD Sender: No OFD packet to send [07:55:16]OFD Sender: No OFD packet to send [07:55:21]OFD Sender: No OFD packet to send [07:55:26]OFD Sender: No OFD packet to send [07:55:31]OFD Sender: No OFD packet to send [07:55:36]OFD Sender: No OFD packet to send [07:55:41]OFD Sender: No OFD packet to send [07:55:46]OFD Sender: No OFD packet to send [07:55:51]OFD Sender: No OFD packet to send [07:55:56]OFD Sender: No OFD packet to send [07:56:01]OFD Sender: No OFD packet to send [07:56:06]OFD Sender: No OFD packet to send [07:56:11]OFD Sender: No OFD packet to send [07:56:16]OFD Sender: No OFD packet to send [07:56:21]OFD Sender: No OFD packet to send [07:56:26]OFD Sender: No OFD packet to send [07:56:31]OFD Sender: No OFD packet to send [07:56:36]OFD Sender: No OFD packet to send [07:56:41]OFD Sender: No OFD packet to send [07:56:46]OFD Sender: No OFD packet to send [07:56:51]OFD Sender: No OFD packet to send [07:56:56]OFD Sender: No OFD packet to send [07:57:01]OFD Sender: No OFD packet to send [07:57:06]OFD Sender: No OFD packet to send [07:57:11]OFD Sender: No OFD packet to send [07:57:16]OFD Sender: No OFD packet to send [07:57:21]OFD Sender: No OFD packet to send [07:57:26]OFD Sender: No OFD packet to send [07:57:31]OFD Sender: No OFD packet to send [07:57:36]OFD Sender: No OFD packet to send [07:57:41]OFD Sender: No OFD packet to send [07:57:46]OFD Sender: No OFD packet to send [07:57:51]OFD Sender: No OFD packet to send [07:57:56]OFD Sender: No OFD packet to send [07:58:01]OFD Sender: No OFD packet to send [07:58:06]OFD Sender: No OFD packet to send [07:58:11]OFD Sender: No OFD packet to send [07:58:16]OFD Sender: No OFD packet to send [07:58:21]OFD Sender: No OFD packet to send [07:58:26]OFD Sender: No OFD packet to send [07:58:31]OFD Sender: No OFD packet to send [07:58:36]OFD Sender: No OFD packet to send [07:58:41]OFD Sender: No OFD packet to send [07:58:46]OFD Sender: No OFD packet to send [07:58:51]OFD Sender: No OFD packet to send [07:58:56]OFD Sender: No OFD packet to send [07:59:01]OFD Sender: No OFD packet to send [07:59:06]OFD Sender: No OFD packet to send [07:59:11]OFD Sender: No OFD packet to send [07:59:16]OFD Sender: No OFD packet to send [07:59:21]OFD Sender: No OFD packet to send [07:59:26]OFD Sender: No OFD packet to send [07:59:31]OFD Sender: No OFD packet to send [07:59:36]OFD Sender: No OFD packet to send [07:59:41]OFD Sender: No OFD packet to send [07:59:46]OFD Sender: No OFD packet to send [07:59:51]OFD Sender: No OFD packet to send [07:59:56]OFD Sender: No OFD packet to send [08:00:01]OFD Sender: No OFD packet to send [08:00:06]OFD Sender: No OFD packet to send [08:00:11]OFD Sender: No OFD packet to send [08:00:16]OFD Sender: No OFD packet to send [08:00:21]OFD Sender: No OFD packet to send [08:00:26]OFD Sender: No OFD packet to send [08:00:31]OFD Sender: No OFD packet to send [08:00:33]accept exits with 9 [08:00:33]New connection [08:00:33]New thread 3067116900 created [08:00:33]Thread 3067260260 joined [08:00:33]Waiting for new connection... [08:00:33] Sock 9.Parse request [08:00:33]Sock 9.Check first char [08:00:33]Sock 9.First char is OK [08:00:33]request: POST /json_proto HTTP/1.0 [08:00:33]Method: POST [08:00:33]URL: /json_proto [08:00:33]Method is POST - this is cgi request [08:00:33]url: /json_proto [08:00:33]query_string will be loaded in cgi processing [08:00:33]execute_cgi json_proto POST (null) [08:00:33]execute_cgi path=json_proto method=POST [08:00:33]POST find Content-Length [08:00:33]Host: 172.17.43.4:8080 [08:00:33]Content-Length: 678 [08:00:33]Content-Type: application/json [08:00:33] [08:00:33]POST finish read [08:00:33]Found Content-Length = 678 [08:00:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2164498", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "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:00:33]execute_script... [08:00:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2164498", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "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:00:33]POST & json_proto [08:00:33]process_json_proto [08:00:33]json parsed OK: [08:00:33]protocol is kg_v1.0 [08:00:33]action value=close_receipt [08:00:33]process_action close_receipt [08:00:33]cmd_close_receipt [08:00:33]MH_GetDate [08:00:33]Write to MH i2c: F0 00 00 2D 06 22 [08:00:33]Write i2c OK [08:00:33]MH_I2C_Read... [08:00:33]Read from MH i2c: F0 [08:00:33]MH_I2C_Read... [08:00:33]Read from MH i2c: F0 09 00 [08:00:33]MH_I2C_Read... [08:00:33]Read from MH i2c: F0 09 00 2D 06 00 23 C3 F3 66 02 BF CF 66 60 [08:00:33]GetLastDocTimeStamp 1727250790 [08:00:33]current date 1727251235 [08:00:33]FM_GetShiftState [08:00:33]SAM_PROTO_GetShiftState [08:00:33]wFMCommunicate request_size=4 [08:00:33]MH_SAM_APDU [08:00:33]CAPDU: 80 13 01 00 [08:00:33]Write to MH i2c: E2 08 00 2E 06 80 13 01 00 00 00 00 00 B1 [08:00:33]Write i2c OK [08:00:33]MH_I2C_Read... [08:00:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:00:33]Read from MH i2c: E2 [08:00:33]MH_I2C_Read... [08:00:33]Read from MH i2c: E2 0E 00 [08:00:33]MH_I2C_Read... [08:00:33]Read from MH i2c: E2 0E 00 2E 06 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 42 [08:00:33]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [08:00:33]wFMCommunicate OK [08:00:33]SAM_PROTO_GetShiftState done [08:00:33]FM_GetShiftState done [08:00:33]opened in 1727224020 [08:00:33]opened+sec_in_day 1727310420 [08:00:33]quantity*price = 50036 [08:00:33]sum+1 = 50037 [08:00:33]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.36 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.14 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 14 25.09.2024 08:00 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22441 ФПД: 100709142019097 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T080035&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22441&fm=100709142019097&tin=02508201610067®Number=0000000000146243&sum=50000 [08:00:34]StoreToDocumentArchive [08:00:34]shift 231 fd 22441 [08:00:34]save to /storage/0231/doc_00022441 [08:00:34]save last doc name /storage/0231/doc_00022441 to /storage/kkm_last_doc_name [08:00:34]save OK [08:00:34]Clear old archive folders... [08:00:34]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:00:34]tlvbuf is 00398BA0 [08:00:34]SAM_PROTO_ClearQueue [08:00:34]wFMCommunicate request_size=4 [08:00:34]MH_SAM_APDU [08:00:34]CAPDU: 80 09 00 00 [08:00:34]Write to MH i2c: E2 08 00 3B 06 80 09 00 00 00 00 00 00 B3 [08:00:34]Write i2c OK [08:00:34]MH_I2C_Read... [08:00:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:00:34]Read from MH i2c: E2 [08:00:34]MH_I2C_Read... [08:00:34]Read from MH i2c: E2 03 00 [08:00:34]MH_I2C_Read... [08:00:34]Read from MH i2c: E2 03 00 3B 06 00 90 00 B5 [08:00:34]RAPDU: 90 00 [08:00:34]wFMCommunicate OK [08:00:34]SAM_PROTO_ClearQueue done [08:00:34]KKMCreateOFDPacket [08:00:34]OFDProtocolAddRootSTLVToBuf [08:00:34]FM_MakeSignedData [08:00:34]FM_MakeSignedData [08:00:34]SAM_PROTO_SignData [08:00:34]wFMCommunicate request_size=4 [08:00:34]MH_SAM_APDU [08:00:34]CAPDU: 80 0D 01 02 [08:00:34]Write to MH i2c: E2 08 00 3C 06 80 0D 01 02 00 00 00 00 BB [08:00:34]Write i2c OK [08:00:34]MH_I2C_Read... [08:00:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:00:34]Read from MH i2c: E2 [08:00:34]MH_I2C_Read... [08:00:34]Read from MH i2c: E2 03 00 [08:00:34]MH_I2C_Read... [08:00:34]Read from MH i2c: E2 03 00 3C 06 00 90 00 B6 [08:00:34]RAPDU: 90 00 [08:00:34]wFMCommunicate OK [08:00:34]wFMCommunicate request_size=255 [08:00:34]MH_SAM_APDU [08:00:34]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 0E 00 00 00 F4 03 04 00 23 C3 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A9 57 00 00 35 04 06 00 5B [08:00:34]Write to MH i2c: E2 02 01 3D 06 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 0E 00 00 00 F4 03 04 00 23 C3 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A9 57 00 00 35 04 06 00 5B 00 00 CB [08:00:34]Write i2c OK [08:00:34]MH_I2C_Read... [08:00:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:00:34]Read from MH i2c: E2 [08:00:34]MH_I2C_Read... [08:00:34]Read from MH i2c: E2 03 00 [08:00:34]MH_I2C_Read... [08:00:34]Read from MH i2c: E2 03 00 3D 06 00 90 00 B7 [08:00:34]RAPDU: 90 00 [08:00:34]wFMCommunicate OK [08:00:34]wFMCommunicate request_size=10 [08:00:34]MH_SAM_APDU [08:00:34]CAPDU: 80 0D 02 02 05 98 2C A2 BC 19 [08:00:34]Write to MH i2c: E2 0D 00 3E 06 80 0D 02 02 05 00 98 2C A2 BC 19 00 00 03 [08:00:34]Write i2c OK [08:00:34]MH_I2C_Read... [08:00:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:00:35]Read from MH i2c: E2 [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: E2 03 00 [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: E2 03 00 3E 06 00 90 00 B8 [08:00:35]RAPDU: 90 00 [08:00:35]wFMCommunicate OK [08:00:35]wFMCommunicate request_size=4 [08:00:35]MH_SAM_APDU [08:00:35]CAPDU: 80 0D 03 02 [08:00:35]Write to MH i2c: E2 08 00 3F 06 80 0D 03 02 00 00 00 00 C0 [08:00:35]Write i2c OK [08:00:35]MH_I2C_Read... [08:00:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:00:35]Read from MH i2c: E2 [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: E2 0B 00 [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: E2 0B 00 3F 06 00 1D 77 9A BC FF 6A 4C A4 90 00 04 [08:00:35]RAPDU: 1D 77 9A BC FF 6A 4C A4 90 00 [08:00:35]wFMCommunicate OK [08:00:35]SAM_PROTO_SignData done [08:00:35]FM_MakeSignedData done [08:00:35]CreateOFDProtocolMessage [08:00:35]wFMCommunicate request_size=4 [08:00:35]MH_SAM_APDU [08:00:35]CAPDU: 80 11 00 00 [08:00:35]Write to MH i2c: E2 08 00 40 06 80 11 00 00 00 00 00 00 C0 [08:00:35]Write i2c OK [08:00:35]MH_I2C_Read... [08:00:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:00:35]Read from MH i2c: E2 [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: E2 17 00 [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: E2 17 00 40 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 1A [08:00:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:00:35]wFMCommunicate OK [08:00:35]CreateOFDProtocolMessage done [08:00:35]OFDSenderStorePacket 22441 [08:00:35]StoreOFDPacket docnum=22441 [08:00:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 40 00 07 01 07 83 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 0E 00 00 00 F4 03 04 00 23 C3 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A9 57 00 00 35 04 06 00 5B 98 2C A2 BC 19 1D 77 9A BC FF 6A 4C A4 [08:00:35]CheckFolder [08:00:35]dirname=/storage/ofd_packets [08:00:35]CheckFolder done [08:00:35]ProducePacketName [08:00:35]name=ofd_packets/00022441 [08:00:35]NVStorageSaveData ofd_packets/00022441 [08:00:35]File name is /storage/ofd_packets/00022441 [08:00:35]Write 301 bytes [08:00:35]NVStorageSaveData done [08:00:35]OFDSenderStorePacket done [08:00:35]KKMCreateOFDPacket done [08:00:35]NVStorageSaveData kkm_last_timestamp [08:00:35]File name is /storage/kkm_last_timestamp [08:00:35]Write 4 bytes [08:00:35]NVStorageSaveData done [08:00:35]ExternCall_PrintAddStr [08:00:35]wPrintStart [08:00:35]Write to MH i2c: 01 00 00 41 06 47 [08:00:35]Write i2c OK [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: 01 [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: 01 07 00 [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: 01 07 00 41 06 00 00 00 00 00 FF 0F 5C [08:00:35]RasterBufferAndPrint [08:00:35]line Счет N : (1)2164498 [08:00:35]line ИНН: 02508201610067 [08:00:35]line Контрольно-Кассовый Чек [08:00:35]line ПРОДАЖА [08:00:35]line ТРК (МРК, ГНК) : 22 [08:00:35]line Товар: 2710124130 [08:00:35]line Аи-92-К-5 [08:00:35]line 7.380 * 67.80 [08:00:35]line = 500.36 [08:00:35]line НДС 12% НСП 1% [08:00:35]line > о реализуемом товаре [08:00:35]line ОКРУГЛЕНИЕ: -0.36 [08:00:35]line ИТОГО: 500.00 [08:00:35]line Внесено: 500.00 [08:00:35]line СДАЧА: 0.00 [08:00:35]line НСП 1% : 4.43 [08:00:35]line НДС 12% : 53.14 [08:00:35]line Наличными: 500.00 [08:00:35]line Безнал.: 0.00 [08:00:35]line Место: АЗС № 88 "Партнер Нефть" [08:00:35]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [08:00:35]line СНО: Общий режим [08:00:35]line Чек 14 25.09.2024 08:00 [08:00:35]line Смена: 231 ФФД: 1.0 [08:00:35]line ЗНМ: 0300000061 [08:00:35]line РНМ: 0000000000146243 [08:00:35]line Версия ККМ: v1.0 [08:00:35]line ФМ: 0000000000959358 [08:00:35]line ФД: 22441 [08:00:35]line ФПД: 100709142019097 [08:00:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T080035&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22441&fm=100709142019097&tin=02508201610067®Number=0000000000146243&sum=50000 [08:00:35]OFD Sender: Processing packet 22441 [packets to send 23, broken 22] [08:00:35]ProducePacketName [08:00:35]name=ofd_packets/00022441 [08:00:35]OFD Sender: To server: pG, [08:00:35]CommunicateWithHost lk.salyk.kg:30040 [08:00:35]ConnectInit lk.salyk.kg [08:00:35]written 0, free lines is 4095 [08:00:35]Connected sock=10 [08:00:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 40 00 07 01 07 83 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 0E 00 00 00 F4 03 04 00 23 C3 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A9 57 00 00 35 04 06 00 5B 98 2C A2 BC 19 1D 77 9A BC FF 6A 4C A4 [08:00:35]Write to MH i2c: 01 00 00 6C 06 72 [08:00:35]Write i2c OK [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: 01 [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: 01 07 00 [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: 01 07 00 6C 06 00 00 00 00 00 F8 0C 7D [08:00:35]RasterBufferAndPrint [08:00:35]line [08:00:35]line [08:00:35]line [08:00:35]line [08:00:35]line [08:00:35]written 0, free lines is 3326 [08:00:35]MH_Cut [08:00:35]Write to MH i2c: D1 01 00 73 06 01 4B [08:00:35]Write i2c OK [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: D1 [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: D1 01 00 [08:00:35]MH_I2C_Read... [08:00:35]Read from MH i2c: D1 01 00 73 06 00 4A [08:00:35]Write to MH i2c: 01 00 00 74 06 7A [08:00:35]Write i2c OK [08:00:35]MH_I2C_Read... [08:00:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 9B 6F 47 00 D1 35 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 A9 57 00 00 F4 03 04 00 46 6D F3 66 B6 04 01 00 00 B4 45 1C EA B7 F5 1E A4 [08:00:35]CommunicateWithHost err = 0 [08:00:35]CheckOFDResponse [08:00:35]1017 (14) - 77093643461234 [08:00:35]1041 (16) - 0000000000959358 [08:00:35]1040 (4) - 22441 [08:00:35]1012 (4) - 25.09.2024 01:54 [08:00:35]1206 (1) - 0 [08:00:35]OFD Sender: Remove packet 22441 [08:00:35]ProducePacketName [08:00:35]name=ofd_packets/00022441 [08:00:35]NVStorageDeleteData [08:00:36]OFD Sender: No OFD packet to send [08:00:36]*** Cut start [08:00:36]*** Partial cut [08:00:36]*** CUTSNS_PIN = 1 [08:00:36]*** CUTSNS_PIN = 0 [08:00:36]*** Brake cut motor [08:00:37]Read from MH i2c: 01 [08:00:37]MH_I2C_Read... [08:00:37]*** Stop cut motor [08:00:37]*** Cut end [08:00:37]Read from MH i2c: 01 07 00 [08:00:37]MH_I2C_Read... [08:00:37]Read from MH i2c: 01 07 00 74 06 00 00 00 00 00 FF 0F 8F [08:00:37]process_action close_receipt done [08:00:37]requested_data is exist [08:00:37]produce_requested_data [08:00:37]requested_item fm.sn is exist - process it [08:00:37]wFMCommunicate request_size=4 [08:00:37]MH_SAM_APDU [08:00:37]CAPDU: 80 11 00 00 [08:00:37]Write to MH i2c: E2 08 00 75 06 80 11 00 00 00 00 00 00 F5 [08:00:37]Write i2c OK [08:00:37]MH_I2C_Read... [08:00:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:00:37]Read from MH i2c: E2 [08:00:37]MH_I2C_Read... [08:00:37]Read from MH i2c: E2 17 00 [08:00:37]MH_I2C_Read... [08:00:37]Read from MH i2c: E2 17 00 75 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 4F [08:00:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:00:37]wFMCommunicate OK [08:00:37]requested_item fd.num is exist - process it [08:00:37]SAM_PROTO_GetFieldsCounters [08:00:37]wFMCommunicate request_size=4 [08:00:37]MH_SAM_APDU [08:00:37]CAPDU: 80 13 00 00 [08:00:37]Write to MH i2c: E2 08 00 76 06 80 13 00 00 00 00 00 00 F8 [08:00:37]Write i2c OK [08:00:37]MH_I2C_Read... [08:00:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:00:37]Read from MH i2c: E2 [08:00:37]MH_I2C_Read... [08:00:37]Read from MH i2c: E2 62 00 [08:00:37]MH_I2C_Read... [08:00:37]Read from MH i2c: E2 62 00 76 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 A9 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 2C [08:00:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 A9 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:00:37]wFMCommunicate OK [08:00:37]SAM_PROTO_GetFieldsCounters done [08:00:37]requested_item shift.num is exist - process it [08:00:37]requested_item shift.opened is exist - process it [08:00:37]req_shift_opened [08:00:37]FM_GetShiftState [08:00:37]SAM_PROTO_GetShiftState [08:00:37]wFMCommunicate request_size=4 [08:00:37]MH_SAM_APDU [08:00:37]CAPDU: 80 13 01 00 [08:00:37]Write to MH i2c: E2 08 00 77 06 80 13 01 00 00 00 00 00 FA [08:00:37]Write i2c OK [08:00:37]MH_I2C_Read... [08:00:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:00:37]Read from MH i2c: E2 [08:00:37]MH_I2C_Read... [08:00:37]Read from MH i2c: E2 0E 00 [08:00:37]MH_I2C_Read... [08:00:37]Read from MH i2c: E2 0E 00 77 06 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 8B [08:00:37]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [08:00:37]wFMCommunicate OK [08:00:37]SAM_PROTO_GetShiftState done [08:00:37]FM_GetShiftState done [08:00:37]req_shift_opened done [08:00:37]requested_item shift.open_date is exist - process it [08:00:37]req_shift_open_date [08:00:37]req_shift_open_date done [08:00:37]produce_requested_data done [08:00:37]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22441,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [08:00:37]process_action_free close_receipt [08:00:37]json_value_free [08:00:37]json_value_free done [08:00:37]process_json_proto returns [08:00:37]Send response to host [08:00:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22441,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [08:00:37]free response buf [08:00:37]execute_script done [08:00:37]execute_script returns [08:00:37]free content buf [08:00:37]Sock 9.Close socket [08:00:37]Sock 9.Thread stoped [08:00:41]OFD Sender: No OFD packet to send [08:00:46]OFD Sender: No OFD packet to send [08:00:51]OFD Sender: No OFD packet to send [08:00:56]OFD Sender: No OFD packet to send [08:01:01]OFD Sender: No OFD packet to send [08:01:06]OFD Sender: No OFD packet to send [08:01:11]OFD Sender: No OFD packet to send [08:01:16]OFD Sender: No OFD packet to send [08:01:21]OFD Sender: No OFD packet to send [08:01:26]OFD Sender: No OFD packet to send [08:01:31]OFD Sender: No OFD packet to send [08:01:36]OFD Sender: No OFD packet to send [08:01:41]OFD Sender: No OFD packet to send [08:01:46]OFD Sender: No OFD packet to send [08:01:51]OFD Sender: No OFD packet to send [08:01:56]OFD Sender: No OFD packet to send [08:02:01]OFD Sender: No OFD packet to send [08:02:06]OFD Sender: No OFD packet to send [08:02:11]OFD Sender: No OFD packet to send [08:02:16]OFD Sender: No OFD packet to send [08:02:21]OFD Sender: No OFD packet to send [08:02:26]OFD Sender: No OFD packet to send [08:02:31]OFD Sender: No OFD packet to send [08:02:36]OFD Sender: No OFD packet to send [08:02:41]OFD Sender: No OFD packet to send [08:02:46]OFD Sender: No OFD packet to send [08:02:51]OFD Sender: No OFD packet to send [08:02:56]OFD Sender: No OFD packet to send [08:03:01]OFD Sender: No OFD packet to send [08:03:06]OFD Sender: No OFD packet to send [08:03:11]OFD Sender: No OFD packet to send [08:03:16]OFD Sender: No OFD packet to send [08:03:21]OFD Sender: No OFD packet to send [08:03:26]OFD Sender: No OFD packet to send [08:03:31]OFD Sender: No OFD packet to send [08:03:36]OFD Sender: No OFD packet to send [08:03:41]OFD Sender: No OFD packet to send [08:03:46]OFD Sender: No OFD packet to send [08:03:51]OFD Sender: No OFD packet to send [08:03:56]OFD Sender: No OFD packet to send [08:04:01]OFD Sender: No OFD packet to send [08:04:06]OFD Sender: No OFD packet to send [08:04:11]OFD Sender: No OFD packet to send [08:04:16]OFD Sender: No OFD packet to send [08:04:21]OFD Sender: No OFD packet to send [08:04:26]OFD Sender: No OFD packet to send [08:04:31]OFD Sender: No OFD packet to send [08:04:36]OFD Sender: No OFD packet to send [08:04:41]OFD Sender: No OFD packet to send [08:04:46]OFD Sender: No OFD packet to send [08:04:51]OFD Sender: No OFD packet to send [08:04:56]OFD Sender: No OFD packet to send [08:05:01]OFD Sender: No OFD packet to send [08:05:06]OFD Sender: No OFD packet to send [08:05:11]OFD Sender: No OFD packet to send [08:05:16]OFD Sender: No OFD packet to send [08:05:21]OFD Sender: No OFD packet to send [08:05:26]OFD Sender: No OFD packet to send [08:05:31]OFD Sender: No OFD packet to send [08:05:36]OFD Sender: No OFD packet to send [08:05:41]OFD Sender: No OFD packet to send [08:05:46]OFD Sender: No OFD packet to send [08:05:51]OFD Sender: No OFD packet to send [08:05:56]OFD Sender: No OFD packet to send [08:06:01]OFD Sender: No OFD packet to send [08:06:06]OFD Sender: No OFD packet to send [08:06:11]OFD Sender: No OFD packet to send [08:06:16]OFD Sender: No OFD packet to send [08:06:21]OFD Sender: No OFD packet to send [08:06:26]OFD Sender: No OFD packet to send [08:06:31]OFD Sender: No OFD packet to send [08:06:36]OFD Sender: No OFD packet to send [08:06:41]OFD Sender: No OFD packet to send [08:06:46]OFD Sender: No OFD packet to send [08:06:51]OFD Sender: No OFD packet to send [08:06:56]OFD Sender: No OFD packet to send [08:07:01]OFD Sender: No OFD packet to send [08:07:06]OFD Sender: No OFD packet to send [08:07:11]OFD Sender: No OFD packet to send [08:07:16]OFD Sender: No OFD packet to send [08:07:21]OFD Sender: No OFD packet to send [08:07:26]OFD Sender: No OFD packet to send [08:07:31]OFD Sender: No OFD packet to send [08:07:36]OFD Sender: No OFD packet to send [08:07:41]OFD Sender: No OFD packet to send [08:07:46]OFD Sender: No OFD packet to send [08:07:51]OFD Sender: No OFD packet to send [08:07:56]OFD Sender: No OFD packet to send [08:08:01]OFD Sender: No OFD packet to send [08:08:06]OFD Sender: No OFD packet to send [08:08:11]OFD Sender: No OFD packet to send [08:08:16]OFD Sender: No OFD packet to send [08:08:21]OFD Sender: No OFD packet to send [08:08:26]OFD Sender: No OFD packet to send [08:08:31]OFD Sender: No OFD packet to send [08:08:36]OFD Sender: No OFD packet to send [08:08:41]OFD Sender: No OFD packet to send [08:08:46]OFD Sender: No OFD packet to send [08:08:51]OFD Sender: No OFD packet to send [08:08:56]OFD Sender: No OFD packet to send [08:09:01]OFD Sender: No OFD packet to send [08:09:06]OFD Sender: No OFD packet to send [08:09:11]OFD Sender: No OFD packet to send [08:09:16]OFD Sender: No OFD packet to send [08:09:21]OFD Sender: No OFD packet to send [08:09:26]OFD Sender: No OFD packet to send [08:09:31]OFD Sender: No OFD packet to send [08:09:36]OFD Sender: No OFD packet to send [08:09:41]OFD Sender: No OFD packet to send [08:09:46]OFD Sender: No OFD packet to send [08:09:51]OFD Sender: No OFD packet to send [08:09:56]OFD Sender: No OFD packet to send [08:10:01]OFD Sender: No OFD packet to send [08:10:06]OFD Sender: No OFD packet to send [08:10:11]OFD Sender: No OFD packet to send [08:10:16]OFD Sender: No OFD packet to send [08:10:21]OFD Sender: No OFD packet to send [08:10:26]OFD Sender: No OFD packet to send [08:10:31]OFD Sender: No OFD packet to send [08:10:36]OFD Sender: No OFD packet to send [08:10:41]OFD Sender: No OFD packet to send [08:10:46]OFD Sender: No OFD packet to send [08:10:51]OFD Sender: No OFD packet to send [08:10:56]OFD Sender: No OFD packet to send [08:11:01]OFD Sender: No OFD packet to send [08:11:07]OFD Sender: No OFD packet to send [08:11:12]OFD Sender: No OFD packet to send [08:11:17]OFD Sender: No OFD packet to send [08:11:22]OFD Sender: No OFD packet to send [08:11:27]OFD Sender: No OFD packet to send [08:11:32]OFD Sender: No OFD packet to send [08:11:37]OFD Sender: No OFD packet to send [08:11:42]OFD Sender: No OFD packet to send [08:11:47]OFD Sender: No OFD packet to send [08:11:52]OFD Sender: No OFD packet to send [08:11:57]OFD Sender: No OFD packet to send [08:12:02]OFD Sender: No OFD packet to send [08:12:07]OFD Sender: No OFD packet to send [08:12:12]OFD Sender: No OFD packet to send [08:12:17]OFD Sender: No OFD packet to send [08:12:22]OFD Sender: No OFD packet to send [08:12:27]OFD Sender: No OFD packet to send [08:12:32]OFD Sender: No OFD packet to send [08:12:37]OFD Sender: No OFD packet to send [08:12:42]OFD Sender: No OFD packet to send [08:12:47]OFD Sender: No OFD packet to send [08:12:52]OFD Sender: No OFD packet to send [08:12:57]OFD Sender: No OFD packet to send [08:13:02]OFD Sender: No OFD packet to send [08:13:07]OFD Sender: No OFD packet to send [08:13:12]OFD Sender: No OFD packet to send [08:13:17]OFD Sender: No OFD packet to send [08:13:22]OFD Sender: No OFD packet to send [08:13:27]OFD Sender: No OFD packet to send [08:13:32]OFD Sender: No OFD packet to send [08:13:37]OFD Sender: No OFD packet to send [08:13:42]OFD Sender: No OFD packet to send [08:13:47]OFD Sender: No OFD packet to send [08:13:52]OFD Sender: No OFD packet to send [08:13:57]OFD Sender: No OFD packet to send [08:14:02]OFD Sender: No OFD packet to send [08:14:07]OFD Sender: No OFD packet to send [08:14:12]OFD Sender: No OFD packet to send [08:14:17]OFD Sender: No OFD packet to send [08:14:22]OFD Sender: No OFD packet to send [08:14:27]OFD Sender: No OFD packet to send [08:14:32]OFD Sender: No OFD packet to send [08:14:37]OFD Sender: No OFD packet to send [08:14:42]OFD Sender: No OFD packet to send [08:14:47]OFD Sender: No OFD packet to send [08:14:52]OFD Sender: No OFD packet to send [08:14:57]OFD Sender: No OFD packet to send [08:15:02]OFD Sender: No OFD packet to send [08:15:07]OFD Sender: No OFD packet to send [08:15:12]OFD Sender: No OFD packet to send [08:15:17]OFD Sender: No OFD packet to send [08:15:22]OFD Sender: No OFD packet to send [08:15:27]OFD Sender: No OFD packet to send [08:15:32]OFD Sender: No OFD packet to send [08:15:37]OFD Sender: No OFD packet to send [08:15:42]OFD Sender: No OFD packet to send [08:15:47]OFD Sender: No OFD packet to send [08:15:52]OFD Sender: No OFD packet to send [08:15:57]OFD Sender: No OFD packet to send [08:16:02]OFD Sender: No OFD packet to send [08:16:07]OFD Sender: No OFD packet to send [08:16:12]OFD Sender: No OFD packet to send [08:16:17]OFD Sender: No OFD packet to send [08:16:22]OFD Sender: No OFD packet to send [08:16:27]OFD Sender: No OFD packet to send [08:16:32]OFD Sender: No OFD packet to send [08:16:37]OFD Sender: No OFD packet to send [08:16:42]OFD Sender: No OFD packet to send [08:16:47]OFD Sender: No OFD packet to send [08:16:52]OFD Sender: No OFD packet to send [08:16:57]OFD Sender: No OFD packet to send [08:17:02]OFD Sender: No OFD packet to send [08:17:07]OFD Sender: No OFD packet to send [08:17:12]OFD Sender: No OFD packet to send [08:17:17]OFD Sender: No OFD packet to send [08:17:22]OFD Sender: No OFD packet to send [08:17:27]OFD Sender: No OFD packet to send [08:17:32]OFD Sender: No OFD packet to send [08:17:37]OFD Sender: No OFD packet to send [08:17:42]OFD Sender: No OFD packet to send [08:17:47]OFD Sender: No OFD packet to send [08:17:52]OFD Sender: No OFD packet to send [08:17:57]OFD Sender: No OFD packet to send [08:18:02]OFD Sender: No OFD packet to send [08:18:07]OFD Sender: No OFD packet to send [08:18:12]OFD Sender: No OFD packet to send [08:18:17]OFD Sender: No OFD packet to send [08:18:22]OFD Sender: No OFD packet to send [08:18:27]OFD Sender: No OFD packet to send [08:18:32]OFD Sender: No OFD packet to send [08:18:37]OFD Sender: No OFD packet to send [08:18:42]OFD Sender: No OFD packet to send [08:18:47]OFD Sender: No OFD packet to send [08:18:52]OFD Sender: No OFD packet to send [08:18:57]OFD Sender: No OFD packet to send [08:19:02]OFD Sender: No OFD packet to send [08:19:07]OFD Sender: No OFD packet to send [08:19:12]OFD Sender: No OFD packet to send [08:19:17]OFD Sender: No OFD packet to send [08:19:22]OFD Sender: No OFD packet to send [08:19:27]OFD Sender: No OFD packet to send [08:19:32]OFD Sender: No OFD packet to send [08:19:37]OFD Sender: No OFD packet to send [08:19:42]OFD Sender: No OFD packet to send [08:19:47]OFD Sender: No OFD packet to send [08:19:52]OFD Sender: No OFD packet to send [08:19:57]OFD Sender: No OFD packet to send [08:20:02]OFD Sender: No OFD packet to send [08:20:07]OFD Sender: No OFD packet to send [08:20:12]OFD Sender: No OFD packet to send [08:20:17]OFD Sender: No OFD packet to send [08:20:22]OFD Sender: No OFD packet to send [08:20:27]OFD Sender: No OFD packet to send [08:20:32]OFD Sender: No OFD packet to send [08:20:37]OFD Sender: No OFD packet to send [08:20:42]OFD Sender: No OFD packet to send [08:20:47]OFD Sender: No OFD packet to send [08:20:52]OFD Sender: No OFD packet to send [08:20:57]OFD Sender: No OFD packet to send [08:21:02]OFD Sender: No OFD packet to send [08:21:07]OFD Sender: No OFD packet to send [08:21:12]OFD Sender: No OFD packet to send [08:21:17]OFD Sender: No OFD packet to send [08:21:22]OFD Sender: No OFD packet to send [08:21:27]OFD Sender: No OFD packet to send [08:21:32]OFD Sender: No OFD packet to send [08:21:37]OFD Sender: No OFD packet to send [08:21:42]OFD Sender: No OFD packet to send [08:21:47]OFD Sender: No OFD packet to send [08:21:52]OFD Sender: No OFD packet to send [08:21:57]OFD Sender: No OFD packet to send [08:22:02]OFD Sender: No OFD packet to send [08:22:07]OFD Sender: No OFD packet to send [08:22:12]OFD Sender: No OFD packet to send [08:22:17]OFD Sender: No OFD packet to send [08:22:22]OFD Sender: No OFD packet to send [08:22:27]OFD Sender: No OFD packet to send [08:22:32]OFD Sender: No OFD packet to send [08:22:37]OFD Sender: No OFD packet to send [08:22:42]OFD Sender: No OFD packet to send [08:22:47]OFD Sender: No OFD packet to send [08:22:52]OFD Sender: No OFD packet to send [08:22:57]OFD Sender: No OFD packet to send [08:23:02]OFD Sender: No OFD packet to send [08:23:07]OFD Sender: No OFD packet to send [08:23:12]OFD Sender: No OFD packet to send [08:23:17]OFD Sender: No OFD packet to send [08:23:22]OFD Sender: No OFD packet to send [08:23:27]OFD Sender: No OFD packet to send [08:23:32]OFD Sender: No OFD packet to send [08:23:37]OFD Sender: No OFD packet to send [08:23:42]OFD Sender: No OFD packet to send [08:23:47]OFD Sender: No OFD packet to send [08:23:52]OFD Sender: No OFD packet to send [08:23:57]OFD Sender: No OFD packet to send [08:24:02]OFD Sender: No OFD packet to send [08:24:07]OFD Sender: No OFD packet to send [08:24:12]OFD Sender: No OFD packet to send [08:24:17]OFD Sender: No OFD packet to send [08:24:22]OFD Sender: No OFD packet to send [08:24:27]OFD Sender: No OFD packet to send [08:24:32]OFD Sender: No OFD packet to send [08:24:37]OFD Sender: No OFD packet to send [08:24:42]OFD Sender: No OFD packet to send [08:24:47]OFD Sender: No OFD packet to send [08:24:52]OFD Sender: No OFD packet to send [08:24:57]OFD Sender: No OFD packet to send [08:25:02]OFD Sender: No OFD packet to send [08:25:07]OFD Sender: No OFD packet to send [08:25:12]OFD Sender: No OFD packet to send [08:25:17]OFD Sender: No OFD packet to send [08:25:22]OFD Sender: No OFD packet to send [08:25:27]OFD Sender: No OFD packet to send [08:25:32]OFD Sender: No OFD packet to send [08:25:37]OFD Sender: No OFD packet to send [08:25:42]OFD Sender: No OFD packet to send [08:25:47]OFD Sender: No OFD packet to send [08:25:52]OFD Sender: No OFD packet to send [08:25:57]OFD Sender: No OFD packet to send [08:26:02]OFD Sender: No OFD packet to send [08:26:07]OFD Sender: No OFD packet to send [08:26:12]OFD Sender: No OFD packet to send [08:26:17]OFD Sender: No OFD packet to send [08:26:22]OFD Sender: No OFD packet to send [08:26:27]OFD Sender: No OFD packet to send [08:26:32]OFD Sender: No OFD packet to send [08:26:37]OFD Sender: No OFD packet to send [08:26:42]OFD Sender: No OFD packet to send [08:26:47]OFD Sender: No OFD packet to send [08:26:52]OFD Sender: No OFD packet to send [08:26:57]OFD Sender: No OFD packet to send [08:27:02]OFD Sender: No OFD packet to send [08:27:07]OFD Sender: No OFD packet to send [08:27:12]OFD Sender: No OFD packet to send [08:27:17]OFD Sender: No OFD packet to send [08:27:22]OFD Sender: No OFD packet to send [08:27:27]OFD Sender: No OFD packet to send [08:27:32]OFD Sender: No OFD packet to send [08:27:37]OFD Sender: No OFD packet to send [08:27:42]OFD Sender: No OFD packet to send [08:27:47]OFD Sender: No OFD packet to send [08:27:52]OFD Sender: No OFD packet to send [08:27:57]OFD Sender: No OFD packet to send [08:28:02]OFD Sender: No OFD packet to send [08:28:07]OFD Sender: No OFD packet to send [08:28:12]OFD Sender: No OFD packet to send [08:28:17]OFD Sender: No OFD packet to send [08:28:22]OFD Sender: No OFD packet to send [08:28:27]OFD Sender: No OFD packet to send [08:28:32]OFD Sender: No OFD packet to send [08:28:37]OFD Sender: No OFD packet to send [08:28:42]OFD Sender: No OFD packet to send [08:28:47]OFD Sender: No OFD packet to send [08:28:52]OFD Sender: No OFD packet to send [08:28:57]OFD Sender: No OFD packet to send [08:29:02]OFD Sender: No OFD packet to send [08:29:07]OFD Sender: No OFD packet to send [08:29:12]OFD Sender: No OFD packet to send [08:29:17]OFD Sender: No OFD packet to send [08:29:22]OFD Sender: No OFD packet to send [08:29:27]OFD Sender: No OFD packet to send [08:29:32]OFD Sender: No OFD packet to send [08:29:37]OFD Sender: No OFD packet to send [08:29:42]OFD Sender: No OFD packet to send [08:29:47]OFD Sender: No OFD packet to send [08:29:52]OFD Sender: No OFD packet to send [08:29:57]OFD Sender: No OFD packet to send [08:30:02]OFD Sender: No OFD packet to send [08:30:07]OFD Sender: No OFD packet to send [08:30:12]OFD Sender: No OFD packet to send [08:30:17]OFD Sender: No OFD packet to send [08:30:22]OFD Sender: No OFD packet to send [08:30:27]OFD Sender: No OFD packet to send [08:30:29]accept exits with 8 [08:30:29]New connection [08:30:29]New thread 3067260260 created [08:30:29]Thread 3067116900 joined [08:30:29]Waiting for new connection... [08:30:29] Sock 8.Parse request [08:30:29]Sock 8.Check first char [08:30:29]Sock 8.First char is OK [08:30:29]request: POST /json_proto HTTP/1.0 [08:30:29]Method: POST [08:30:29]URL: /json_proto [08:30:29]Method is POST - this is cgi request [08:30:29]url: /json_proto [08:30:29]query_string will be loaded in cgi processing [08:30:29]execute_cgi json_proto POST (null) [08:30:29]execute_cgi path=json_proto method=POST [08:30:29]POST find Content-Length [08:30:29]Host: 172.17.43.4:8080 [08:30:29]Content-Length: 909 [08:30:29]Content-Type: application/json [08:30:29] [08:30:29]POST finish read [08:30:29]Found Content-Length = 909 [08:30:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51657", "tax_sys" : 0, "items" : [ { "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 77.00, "quantity" : 1.000, "sum" : 77.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 147.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:30:29]execute_script... [08:30:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51657", "tax_sys" : 0, "items" : [ { "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 77.00, "quantity" : 1.000, "sum" : 77.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 147.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:30:29]POST & json_proto [08:30:29]process_json_proto [08:30:29]json parsed OK: [08:30:29]protocol is kg_v1.0 [08:30:29]action value=close_receipt [08:30:29]process_action close_receipt [08:30:29]cmd_close_receipt [08:30:29]MH_GetDate [08:30:29]Write to MH i2c: F0 00 00 78 06 6D [08:30:29]Write i2c OK [08:30:29]MH_I2C_Read... [08:30:29]Read from MH i2c: F0 [08:30:29]MH_I2C_Read... [08:30:29]Read from MH i2c: F0 09 00 [08:30:29]MH_I2C_Read... [08:30:29]Read from MH i2c: F0 09 00 78 06 00 27 CA F3 66 02 BF CF 66 B6 [08:30:29]GetLastDocTimeStamp 1727251235 [08:30:29]current date 1727253031 [08:30:29]FM_GetShiftState [08:30:29]SAM_PROTO_GetShiftState [08:30:29]wFMCommunicate request_size=4 [08:30:29]MH_SAM_APDU [08:30:29]CAPDU: 80 13 01 00 [08:30:29]Write to MH i2c: E2 08 00 79 06 80 13 01 00 00 00 00 00 FC [08:30:29]Write i2c OK [08:30:29]MH_I2C_Read... [08:30:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:30:29]Read from MH i2c: E2 [08:30:29]MH_I2C_Read... [08:30:29]Read from MH i2c: E2 0E 00 [08:30:29]MH_I2C_Read... [08:30:29]Read from MH i2c: E2 0E 00 79 06 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 8D [08:30:29]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [08:30:29]wFMCommunicate OK [08:30:29]SAM_PROTO_GetShiftState done [08:30:29]FM_GetShiftState done [08:30:29]opened in 1727224020 [08:30:29]opened+sec_in_day 1727310420 [08:30:29]quantity*price = 7000 [08:30:29]sum+1 = 7001 [08:30:29]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000480050 Напиток Nitro Energy эн green ж/б 0,45л 1.000 * 77.00 = 77.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 147.00 НСП 1% : 1.30 НДС 12% : 15.61 Наличными: 147.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 15 25.09.2024 08:30 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22442 ФПД: 40221962726497 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T083031&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22442&fm=40221962726497&tin=02508201610067®Number=0000000000146243&sum=14700 0 [08:30:30]StoreToDocumentArchive [08:30:30]shift 231 fd 22442 [08:30:30]save to /storage/0231/doc_00022442 [08:30:30]save last doc name /storage/0231/doc_00022442 to /storage/kkm_last_doc_name [08:30:30]save OK [08:30:30]Clear old archive folders... [08:30:30]ProcessDocumentItem done err = 0, tmpTLVsize=396 [08:30:30]tlvbuf is 00362210 [08:30:30]SAM_PROTO_ClearQueue [08:30:30]wFMCommunicate request_size=4 [08:30:30]MH_SAM_APDU [08:30:30]CAPDU: 80 09 00 00 [08:30:30]Write to MH i2c: E2 08 00 86 06 80 09 00 00 00 00 00 00 FE [08:30:30]Write i2c OK [08:30:30]MH_I2C_Read... [08:30:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:30:30]Read from MH i2c: E2 [08:30:30]MH_I2C_Read... [08:30:30]Read from MH i2c: E2 03 00 [08:30:30]MH_I2C_Read... [08:30:30]Read from MH i2c: E2 03 00 86 06 00 90 00 00 [08:30:30]RAPDU: 90 00 [08:30:30]wFMCommunicate OK [08:30:30]SAM_PROTO_ClearQueue done [08:30:30]KKMCreateOFDPacket [08:30:30]OFDProtocolAddRootSTLVToBuf [08:30:30]FM_MakeSignedData [08:30:30]FM_MakeSignedData [08:30:30]SAM_PROTO_SignData [08:30:30]wFMCommunicate request_size=4 [08:30:30]MH_SAM_APDU [08:30:30]CAPDU: 80 0D 01 02 [08:30:30]Write to MH i2c: E2 08 00 87 06 80 0D 01 02 00 00 00 00 06 [08:30:30]Write i2c OK [08:30:30]MH_I2C_Read... [08:30:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:30:30]Read from MH i2c: E2 [08:30:30]MH_I2C_Read... [08:30:30]Read from MH i2c: E2 03 00 [08:30:30]MH_I2C_Read... [08:30:30]Read from MH i2c: E2 03 00 87 06 00 90 00 01 [08:30:30]RAPDU: 90 00 [08:30:30]wFMCommunicate OK [08:30:30]wFMCommunicate request_size=255 [08:30:30]MH_SAM_APDU [08:30:30]CAPDU: 80 0D 02 02 FA 03 00 8C 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF [08:30:30]Write to MH i2c: E2 02 01 88 06 80 0D 02 02 FA 00 03 00 8C 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 00 00 B8 [08:30:30]Write i2c OK [08:30:30]MH_I2C_Read... [08:30:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:30:30]Read from MH i2c: E2 [08:30:30]MH_I2C_Read... [08:30:30]Read from MH i2c: E2 03 00 [08:30:30]MH_I2C_Read... [08:30:30]Read from MH i2c: E2 03 00 88 06 00 90 00 02 [08:30:30]RAPDU: 90 00 [08:30:30]wFMCommunicate OK [08:30:30]wFMCommunicate request_size=155 [08:30:30]MH_SAM_APDU [08:30:30]CAPDU: 80 0D 02 02 96 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 27 CA F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AA 57 00 00 35 04 06 00 24 94 E7 CC EC 61 [08:30:30]Write to MH i2c: E2 9E 00 89 06 80 0D 02 02 96 00 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 27 CA F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AA 57 00 00 35 04 06 00 24 94 E7 CC EC 61 00 00 B0 [08:30:30]Write i2c OK [08:30:30]MH_I2C_Read... [08:30:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:30:30]Read from MH i2c: E2 [08:30:30]MH_I2C_Read... [08:30:30]Read from MH i2c: E2 03 00 [08:30:30]MH_I2C_Read... [08:30:30]Read from MH i2c: E2 03 00 89 06 00 90 00 03 [08:30:30]RAPDU: 90 00 [08:30:30]wFMCommunicate OK [08:30:30]wFMCommunicate request_size=4 [08:30:30]MH_SAM_APDU [08:30:30]CAPDU: 80 0D 03 02 [08:30:30]Write to MH i2c: E2 08 00 8A 06 80 0D 03 02 00 00 00 00 0B [08:30:30]Write i2c OK [08:30:30]MH_I2C_Read... [08:30:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:30:30]Read from MH i2c: E2 [08:30:30]MH_I2C_Read... [08:30:30]Read from MH i2c: E2 0B 00 [08:30:30]MH_I2C_Read... [08:30:30]Read from MH i2c: E2 0B 00 8A 06 00 6C 98 71 08 A9 95 62 55 90 00 7E [08:30:30]RAPDU: 6C 98 71 08 A9 95 62 55 90 00 [08:30:30]wFMCommunicate OK [08:30:30]SAM_PROTO_SignData done [08:30:30]FM_MakeSignedData done [08:30:30]CreateOFDProtocolMessage [08:30:30]wFMCommunicate request_size=4 [08:30:30]MH_SAM_APDU [08:30:30]CAPDU: 80 11 00 00 [08:30:30]Write to MH i2c: E2 08 00 8B 06 80 11 00 00 00 00 00 00 0B [08:30:30]Write i2c OK [08:30:30]MH_I2C_Read... [08:30:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:30:31]Read from MH i2c: E2 [08:30:31]MH_I2C_Read... [08:30:31]Read from MH i2c: E2 17 00 [08:30:31]MH_I2C_Read... [08:30:31]Read from MH i2c: E2 17 00 8B 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 65 [08:30:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:30:31]wFMCommunicate OK [08:30:31]CreateOFDProtocolMessage done [08:30:31]OFDSenderStorePacket 22442 [08:30:31]StoreOFDPacket docnum=22442 [08:30:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 A0 01 00 00 C0 FD 98 01 B9 F6 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 27 CA F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AA 57 00 00 35 04 06 00 24 94 E7 CC EC 61 6C 98 71 08 A9 95 62 55 [08:30:31]CheckFolder [08:30:31]dirname=/storage/ofd_packets [08:30:31]CheckFolder done [08:30:31]ProducePacketName [08:30:31]name=ofd_packets/00022442 [08:30:31]NVStorageSaveData ofd_packets/00022442 [08:30:31]File name is /storage/ofd_packets/00022442 [08:30:31]Write 446 bytes [08:30:31]NVStorageSaveData done [08:30:31]OFDSenderStorePacket done [08:30:31]KKMCreateOFDPacket done [08:30:31]NVStorageSaveData kkm_last_timestamp [08:30:31]File name is /storage/kkm_last_timestamp [08:30:31]Write 4 bytes [08:30:31]NVStorageSaveData done [08:30:31]ExternCall_PrintAddStr [08:30:31]wPrintStart [08:30:31]Write to MH i2c: 01 00 00 8C 06 92 [08:30:31]Write i2c OK [08:30:31]MH_I2C_Read... [08:30:31]Read from MH i2c: 01 [08:30:31]MH_I2C_Read... [08:30:31]Read from MH i2c: 01 07 00 [08:30:31]MH_I2C_Read... [08:30:31]Read from MH i2c: 01 07 00 8C 06 00 00 00 00 00 FF 0F A7 [08:30:31]RasterBufferAndPrint [08:30:31]line Счет N : (3)51657 [08:30:31]line ИНН: 02508201610067 [08:30:31]line Контрольно-Кассовый Чек [08:30:31]line ПРОДАЖА [08:30:31]line Товар: 4700002082931 [08:30:31]line Водка Хорошая 0,1л [08:30:31]line 1.000 * 70.00 [08:30:31]line = 70.00 [08:30:31]line НДС 12% НСП 1% [08:30:31]line > о реализуемом товаре [08:30:31]line Товар: 4700000480050 [08:30:31]line Напиток Nitro Energy эн green ж/б 0,45л [08:30:31]line 1.000 * 77.00 [08:30:31]line = 77.00 [08:30:31]line НДС 12% НСП 1% [08:30:31]line > о реализуемом товаре [08:30:31]line ИТОГО: 147.00 [08:30:31]line НСП 1% : 1.30 [08:30:31]line НДС 12% : 15.61 [08:30:31]line Наличными: 147.00 [08:30:31]line Безнал.: 0.00 [08:30:31]line Место: АЗС № 88 "Партнер Нефть" [08:30:31]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [08:30:31]line СНО: Общий режим [08:30:31]line Чек 15 25.09.2024 08:30 [08:30:31]line Смена: 231 ФФД: 1.0 [08:30:31]line ЗНМ: 0300000061 [08:30:31]line РНМ: 0000000000146243 [08:30:31]line Версия ККМ: v1.0 [08:30:31]line ФМ: 0000000000959358 [08:30:31]line ФД: 22442 [08:30:31]line ФПД: 40221962726497 [08:30:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T083031&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22442&fm=40221962726497&tin=02508201610067®Number=0000000000146243&sum=14700 [08:30:31]line 0 [08:30:31]OFD Sender: Processing packet 22442 [packets to send 23, broken 22] [08:30:31]ProducePacketName [08:30:31]name=ofd_packets/00022442 [08:30:31]OFD Sender: To server: pG, [08:30:31]CommunicateWithHost lk.salyk.kg:30040 [08:30:31]ConnectInit lk.salyk.kg [08:30:31]written 0, free lines is 4095 [08:30:31]Connected sock=10 [08:30:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 A0 01 00 00 C0 FD 98 01 B9 F6 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 1E 00 00 00 00 13 04 06 00 14 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 27 CA F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AA 57 00 00 35 04 06 00 24 94 E7 CC EC 61 6C 98 71 08 A9 95 62 55 [08:30:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 92 F5 47 00 3E 9D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AA 57 00 00 F4 03 04 00 4A 74 F3 66 B6 04 01 00 00 26 24 3B DE 93 C8 81 90 [08:30:31]CommunicateWithHost err = 0 [08:30:31]CheckOFDResponse [08:30:31]1017 (14) - 77093643461234 [08:30:31]1041 (16) - 0000000000959358 [08:30:31]1040 (4) - 22442 [08:30:31]1012 (4) - 25.09.2024 02:24 [08:30:31]1206 (1) - 0 [08:30:31]OFD Sender: Remove packet 22442 [08:30:31]ProducePacketName [08:30:31]name=ofd_packets/00022442 [08:30:31]NVStorageDeleteData [08:30:31]Write to MH i2c: 01 00 00 BB 06 C1 [08:30:31]Write i2c OK [08:30:31]MH_I2C_Read... [08:30:31]Read from MH i2c: 01 [08:30:31]MH_I2C_Read... [08:30:31]Read from MH i2c: 01 07 00 [08:30:31]MH_I2C_Read... [08:30:31]Read from MH i2c: 01 07 00 BB 06 00 00 00 00 00 C6 0C 9A [08:30:31]RasterBufferAndPrint [08:30:31]line [08:30:31]line [08:30:31]line [08:30:31]line [08:30:31]line [08:30:31]written 0, free lines is 3279 [08:30:31]MH_Cut [08:30:31]Write to MH i2c: D1 01 00 C2 06 01 9A [08:30:31]Write i2c OK [08:30:31]MH_I2C_Read... [08:30:31]Read from MH i2c: D1 [08:30:31]MH_I2C_Read... [08:30:31]Read from MH i2c: D1 01 00 [08:30:31]MH_I2C_Read... [08:30:31]Read from MH i2c: D1 01 00 C2 06 00 99 [08:30:31]Write to MH i2c: 01 00 00 C3 06 C9 [08:30:31]Write i2c OK [08:30:31]MH_I2C_Read... [08:30:32]OFD Sender: No OFD packet to send [08:30:32]*** Cut start [08:30:32]*** Partial cut [08:30:32]*** CUTSNS_PIN = 1 [08:30:32]*** CUTSNS_PIN = 0 [08:30:32]*** Brake cut motor [08:30:33]Read from MH i2c: 01 [08:30:33]MH_I2C_Read... [08:30:33]*** Stop cut motor [08:30:33]*** Cut end [08:30:33]Read from MH i2c: 01 07 00 [08:30:33]MH_I2C_Read... [08:30:33]Read from MH i2c: 01 07 00 C3 06 00 00 00 00 00 FF 0F DE [08:30:33]process_action close_receipt done [08:30:33]requested_data is exist [08:30:33]produce_requested_data [08:30:33]requested_item fm.sn is exist - process it [08:30:33]wFMCommunicate request_size=4 [08:30:33]MH_SAM_APDU [08:30:33]CAPDU: 80 11 00 00 [08:30:33]Write to MH i2c: E2 08 00 C4 06 80 11 00 00 00 00 00 00 44 [08:30:33]Write i2c OK [08:30:33]MH_I2C_Read... [08:30:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:30:33]Read from MH i2c: E2 [08:30:33]MH_I2C_Read... [08:30:33]Read from MH i2c: E2 17 00 [08:30:33]MH_I2C_Read... [08:30:33]Read from MH i2c: E2 17 00 C4 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 9E [08:30:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:30:33]wFMCommunicate OK [08:30:33]requested_item fd.num is exist - process it [08:30:33]SAM_PROTO_GetFieldsCounters [08:30:33]wFMCommunicate request_size=4 [08:30:33]MH_SAM_APDU [08:30:33]CAPDU: 80 13 00 00 [08:30:33]Write to MH i2c: E2 08 00 C5 06 80 13 00 00 00 00 00 00 47 [08:30:33]Write i2c OK [08:30:33]MH_I2C_Read... [08:30:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:30:33]Read from MH i2c: E2 [08:30:33]MH_I2C_Read... [08:30:33]Read from MH i2c: E2 62 00 [08:30:33]MH_I2C_Read... [08:30:33]Read from MH i2c: E2 62 00 C5 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 AA 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 7F [08:30:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 AA 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:30:33]wFMCommunicate OK [08:30:33]SAM_PROTO_GetFieldsCounters done [08:30:33]requested_item shift.num is exist - process it [08:30:33]requested_item shift.opened is exist - process it [08:30:33]req_shift_opened [08:30:33]FM_GetShiftState [08:30:33]SAM_PROTO_GetShiftState [08:30:33]wFMCommunicate request_size=4 [08:30:33]MH_SAM_APDU [08:30:33]CAPDU: 80 13 01 00 [08:30:33]Write to MH i2c: E2 08 00 C6 06 80 13 01 00 00 00 00 00 49 [08:30:33]Write i2c OK [08:30:33]MH_I2C_Read... [08:30:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:30:33]Read from MH i2c: E2 [08:30:33]MH_I2C_Read... [08:30:33]Read from MH i2c: E2 0E 00 [08:30:33]MH_I2C_Read... [08:30:33]Read from MH i2c: E2 0E 00 C6 06 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 DA [08:30:33]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [08:30:33]wFMCommunicate OK [08:30:33]SAM_PROTO_GetShiftState done [08:30:33]FM_GetShiftState done [08:30:33]req_shift_opened done [08:30:33]requested_item shift.open_date is exist - process it [08:30:33]req_shift_open_date [08:30:33]req_shift_open_date done [08:30:33]produce_requested_data done [08:30:33]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22442,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [08:30:33]process_action_free close_receipt [08:30:33]json_value_free [08:30:33]json_value_free done [08:30:33]process_json_proto returns [08:30:33]Send response to host [08:30:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22442,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [08:30:33]free response buf [08:30:33]execute_script done [08:30:33]execute_script returns [08:30:33]free content buf [08:30:33]Sock 8.Close socket [08:30:33]Sock 8.Thread stoped [08:30:37]OFD Sender: No OFD packet to send [08:30:42]OFD Sender: No OFD packet to send [08:30:47]OFD Sender: No OFD packet to send [08:30:52]OFD Sender: No OFD packet to send [08:30:57]OFD Sender: No OFD packet to send [08:31:02]OFD Sender: No OFD packet to send [08:31:07]OFD Sender: No OFD packet to send [08:31:12]OFD Sender: No OFD packet to send [08:31:17]OFD Sender: No OFD packet to send [08:31:22]OFD Sender: No OFD packet to send [08:31:27]OFD Sender: No OFD packet to send [08:31:32]OFD Sender: No OFD packet to send [08:31:37]OFD Sender: No OFD packet to send [08:31:42]OFD Sender: No OFD packet to send [08:31:47]OFD Sender: No OFD packet to send [08:31:52]OFD Sender: No OFD packet to send [08:31:57]OFD Sender: No OFD packet to send [08:32:02]OFD Sender: No OFD packet to send [08:32:07]OFD Sender: No OFD packet to send [08:32:12]OFD Sender: No OFD packet to send [08:32:17]OFD Sender: No OFD packet to send [08:32:22]OFD Sender: No OFD packet to send [08:32:27]OFD Sender: No OFD packet to send [08:32:32]OFD Sender: No OFD packet to send [08:32:37]OFD Sender: No OFD packet to send [08:32:42]OFD Sender: No OFD packet to send [08:32:47]OFD Sender: No OFD packet to send [08:32:52]OFD Sender: No OFD packet to send [08:32:57]OFD Sender: No OFD packet to send [08:33:02]OFD Sender: No OFD packet to send [08:33:07]OFD Sender: No OFD packet to send [08:33:12]OFD Sender: No OFD packet to send [08:33:17]OFD Sender: No OFD packet to send [08:33:22]OFD Sender: No OFD packet to send [08:33:27]OFD Sender: No OFD packet to send [08:33:32]OFD Sender: No OFD packet to send [08:33:37]OFD Sender: No OFD packet to send [08:33:42]OFD Sender: No OFD packet to send [08:33:47]OFD Sender: No OFD packet to send [08:33:52]OFD Sender: No OFD packet to send [08:33:57]OFD Sender: No OFD packet to send [08:34:02]OFD Sender: No OFD packet to send [08:34:07]OFD Sender: No OFD packet to send [08:34:12]OFD Sender: No OFD packet to send [08:34:17]OFD Sender: No OFD packet to send [08:34:22]OFD Sender: No OFD packet to send [08:34:27]OFD Sender: No OFD packet to send [08:34:32]OFD Sender: No OFD packet to send [08:34:37]OFD Sender: No OFD packet to send [08:34:42]OFD Sender: No OFD packet to send [08:34:47]OFD Sender: No OFD packet to send [08:34:52]OFD Sender: No OFD packet to send [08:34:57]OFD Sender: No OFD packet to send [08:35:02]OFD Sender: No OFD packet to send [08:35:07]OFD Sender: No OFD packet to send [08:35:12]OFD Sender: No OFD packet to send [08:35:17]OFD Sender: No OFD packet to send [08:35:22]OFD Sender: No OFD packet to send [08:35:27]OFD Sender: No OFD packet to send [08:35:32]OFD Sender: No OFD packet to send [08:35:37]OFD Sender: No OFD packet to send [08:35:42]OFD Sender: No OFD packet to send [08:35:47]OFD Sender: No OFD packet to send [08:35:52]OFD Sender: No OFD packet to send [08:35:57]OFD Sender: No OFD packet to send [08:36:02]OFD Sender: No OFD packet to send [08:36:07]OFD Sender: No OFD packet to send [08:36:12]OFD Sender: No OFD packet to send [08:36:17]OFD Sender: No OFD packet to send [08:36:22]OFD Sender: No OFD packet to send [08:36:27]OFD Sender: No OFD packet to send [08:36:32]OFD Sender: No OFD packet to send [08:36:37]OFD Sender: No OFD packet to send [08:36:42]OFD Sender: No OFD packet to send [08:36:47]OFD Sender: No OFD packet to send [08:36:52]OFD Sender: No OFD packet to send [08:36:57]OFD Sender: No OFD packet to send [08:37:02]OFD Sender: No OFD packet to send [08:37:07]OFD Sender: No OFD packet to send [08:37:12]OFD Sender: No OFD packet to send [08:37:17]OFD Sender: No OFD packet to send [08:37:22]OFD Sender: No OFD packet to send [08:37:27]OFD Sender: No OFD packet to send [08:37:32]OFD Sender: No OFD packet to send [08:37:37]OFD Sender: No OFD packet to send [08:37:42]OFD Sender: No OFD packet to send [08:37:47]OFD Sender: No OFD packet to send [08:37:52]OFD Sender: No OFD packet to send [08:37:57]OFD Sender: No OFD packet to send [08:38:02]OFD Sender: No OFD packet to send [08:38:07]OFD Sender: No OFD packet to send [08:38:12]OFD Sender: No OFD packet to send [08:38:17]OFD Sender: No OFD packet to send [08:38:22]OFD Sender: No OFD packet to send [08:38:27]OFD Sender: No OFD packet to send [08:38:32]OFD Sender: No OFD packet to send [08:38:37]OFD Sender: No OFD packet to send [08:38:42]OFD Sender: No OFD packet to send [08:38:47]OFD Sender: No OFD packet to send [08:38:52]OFD Sender: No OFD packet to send [08:38:57]OFD Sender: No OFD packet to send [08:39:02]OFD Sender: No OFD packet to send [08:39:07]OFD Sender: No OFD packet to send [08:39:10]accept exits with 9 [08:39:10]New connection [08:39:10]New thread 3067116900 created [08:39:10]Thread 3067260260 joined [08:39:10]Waiting for new connection... [08:39:10] Sock 9.Parse request [08:39:10]Sock 9.Check first char [08:39:10]Sock 9.First char is OK [08:39:10]request: POST /json_proto HTTP/1.0 [08:39:10]Method: POST [08:39:10]URL: /json_proto [08:39:10]Method is POST - this is cgi request [08:39:10]url: /json_proto [08:39:10]query_string will be loaded in cgi processing [08:39:10]execute_cgi json_proto POST (null) [08:39:10]execute_cgi path=json_proto method=POST [08:39:10]POST find Content-Length [08:39:10]Host: 172.17.43.4:8080 [08:39:10]Content-Length: 636 [08:39:10]Content-Type: application/json [08:39:10] [08:39:10]POST finish read [08:39:10]Found Content-Length = 636 [08:39:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2164540", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "Super-92-\u041A-5", "price" : 69.30, "quantity" : 28.860, "sum" : 2000.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:39:10]execute_script... [08:39:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2164540", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "Super-92-\u041A-5", "price" : 69.30, "quantity" : 28.860, "sum" : 2000.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:39:10]POST & json_proto [08:39:10]process_json_proto [08:39:10]json parsed OK: [08:39:10]protocol is kg_v1.0 [08:39:10]action value=close_receipt [08:39:10]process_action close_receipt [08:39:10]cmd_close_receipt [08:39:10]MH_GetDate [08:39:10]Write to MH i2c: F0 00 00 C7 06 BC [08:39:10]Write i2c OK [08:39:10]MH_I2C_Read... [08:39:10]Read from MH i2c: F0 [08:39:10]MH_I2C_Read... [08:39:10]Read from MH i2c: F0 09 00 [08:39:10]MH_I2C_Read... [08:39:10]Read from MH i2c: F0 09 00 C7 06 00 30 CC F3 66 02 BF CF 66 10 [08:39:10]GetLastDocTimeStamp 1727253031 [08:39:10]current date 1727253552 [08:39:10]FM_GetShiftState [08:39:10]SAM_PROTO_GetShiftState [08:39:10]wFMCommunicate request_size=4 [08:39:10]MH_SAM_APDU [08:39:10]CAPDU: 80 13 01 00 [08:39:10]Write to MH i2c: E2 08 00 C8 06 80 13 01 00 00 00 00 00 4B [08:39:10]Write i2c OK [08:39:10]MH_I2C_Read... [08:39:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:39:10]Read from MH i2c: E2 [08:39:10]MH_I2C_Read... [08:39:10]Read from MH i2c: E2 0E 00 [08:39:10]MH_I2C_Read... [08:39:10]Read from MH i2c: E2 0E 00 C8 06 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 DC [08:39:10]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [08:39:10]wFMCommunicate OK [08:39:10]SAM_PROTO_GetShiftState done [08:39:10]FM_GetShiftState done [08:39:10]opened in 1727224020 [08:39:10]opened+sec_in_day 1727310420 [08:39:10]quantity*price = 199999 [08:39:10]sum+1 = 200001 [08:39:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 2000.00 НСП 1% : 17.70 НДС 12% : 212.39 Наличными: 2000.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 16 25.09.2024 08:39 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22443 ФПД: 68266584935179 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T083912&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22443&fm=68266584935179&tin=02508201610067®Number=0000000000146243&sum=200000 [08:39:11]StoreToDocumentArchive [08:39:11]shift 231 fd 22443 [08:39:11]save to /storage/0231/doc_00022443 [08:39:11]save last doc name /storage/0231/doc_00022443 to /storage/kkm_last_doc_name [08:39:11]save OK [08:39:11]Clear old archive folders... [08:39:11]ProcessDocumentItem done err = 0, tmpTLVsize=252 [08:39:11]tlvbuf is 0038B980 [08:39:11]SAM_PROTO_ClearQueue [08:39:11]wFMCommunicate request_size=4 [08:39:11]MH_SAM_APDU [08:39:11]CAPDU: 80 09 00 00 [08:39:11]Write to MH i2c: E2 08 00 D5 06 80 09 00 00 00 00 00 00 4D [08:39:11]Write i2c OK [08:39:11]MH_I2C_Read... [08:39:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:39:11]Read from MH i2c: E2 [08:39:11]MH_I2C_Read... [08:39:11]Read from MH i2c: E2 03 00 [08:39:11]MH_I2C_Read... [08:39:11]Read from MH i2c: E2 03 00 D5 06 00 90 00 4F [08:39:11]RAPDU: 90 00 [08:39:11]wFMCommunicate OK [08:39:11]SAM_PROTO_ClearQueue done [08:39:11]KKMCreateOFDPacket [08:39:11]OFDProtocolAddRootSTLVToBuf [08:39:11]FM_MakeSignedData [08:39:11]FM_MakeSignedData [08:39:11]SAM_PROTO_SignData [08:39:11]wFMCommunicate request_size=4 [08:39:11]MH_SAM_APDU [08:39:11]CAPDU: 80 0D 01 02 [08:39:11]Write to MH i2c: E2 08 00 D6 06 80 0D 01 02 00 00 00 00 55 [08:39:11]Write i2c OK [08:39:11]MH_I2C_Read... [08:39:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:39:11]Read from MH i2c: E2 [08:39:11]MH_I2C_Read... [08:39:11]Read from MH i2c: E2 03 00 [08:39:11]MH_I2C_Read... [08:39:11]Read from MH i2c: E2 03 00 D6 06 00 90 00 50 [08:39:11]RAPDU: 90 00 [08:39:11]wFMCommunicate OK [08:39:11]wFMCommunicate request_size=255 [08:39:11]MH_SAM_APDU [08:39:11]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 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 BC 70 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 40 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 F7 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 10 00 00 00 F4 03 04 00 30 CC F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AB 57 00 00 35 04 06 00 [08:39:11]Write to MH i2c: E2 02 01 D7 06 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 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 BC 70 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 40 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 F7 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 10 00 00 00 F4 03 04 00 30 CC F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AB 57 00 00 35 04 06 00 00 00 5B [08:39:11]Write i2c OK [08:39:11]MH_I2C_Read... [08:39:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:39:11]Read from MH i2c: E2 [08:39:11]MH_I2C_Read... [08:39:11]Read from MH i2c: E2 03 00 [08:39:11]MH_I2C_Read... [08:39:11]Read from MH i2c: E2 03 00 D7 06 00 90 00 51 [08:39:11]RAPDU: 90 00 [08:39:11]wFMCommunicate OK [08:39:11]wFMCommunicate request_size=11 [08:39:11]MH_SAM_APDU [08:39:11]CAPDU: 80 0D 02 02 06 3E 16 8D 8B 8B 0B [08:39:11]Write to MH i2c: E2 0E 00 D8 06 80 0D 02 02 06 00 3E 16 8D 8B 8B 0B 00 00 66 [08:39:11]Write i2c OK [08:39:11]MH_I2C_Read... [08:39:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:39:11]Read from MH i2c: E2 [08:39:11]MH_I2C_Read... [08:39:11]Read from MH i2c: E2 03 00 [08:39:11]MH_I2C_Read... [08:39:11]Read from MH i2c: E2 03 00 D8 06 00 90 00 52 [08:39:11]RAPDU: 90 00 [08:39:11]wFMCommunicate OK [08:39:11]wFMCommunicate request_size=4 [08:39:11]MH_SAM_APDU [08:39:11]CAPDU: 80 0D 03 02 [08:39:11]Write to MH i2c: E2 08 00 D9 06 80 0D 03 02 00 00 00 00 5A [08:39:11]Write i2c OK [08:39:11]MH_I2C_Read... [08:39:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:39:11]Read from MH i2c: E2 [08:39:11]MH_I2C_Read... [08:39:11]Read from MH i2c: E2 0B 00 [08:39:11]MH_I2C_Read... [08:39:11]Read from MH i2c: E2 0B 00 D9 06 00 AF CD 54 29 CB 66 2C 57 90 00 08 [08:39:11]RAPDU: AF CD 54 29 CB 66 2C 57 90 00 [08:39:11]wFMCommunicate OK [08:39:11]SAM_PROTO_SignData done [08:39:11]FM_MakeSignedData done [08:39:11]CreateOFDProtocolMessage [08:39:11]wFMCommunicate request_size=4 [08:39:11]MH_SAM_APDU [08:39:11]CAPDU: 80 11 00 00 [08:39:11]Write to MH i2c: E2 08 00 DA 06 80 11 00 00 00 00 00 00 5A [08:39:11]Write i2c OK [08:39:11]MH_I2C_Read... [08:39:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:39:11]Read from MH i2c: E2 [08:39:11]MH_I2C_Read... [08:39:11]Read from MH i2c: E2 17 00 [08:39:11]MH_I2C_Read... [08:39:11]Read from MH i2c: E2 17 00 DA 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 B4 [08:39:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:39:11]wFMCommunicate OK [08:39:11]CreateOFDProtocolMessage done [08:39:11]OFDSenderStorePacket 22443 [08:39:11]StoreOFDPacket docnum=22443 [08:39:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 01 00 00 38 43 08 01 E7 2D 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 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 BC 70 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 40 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 F7 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 10 00 00 00 F4 03 04 00 30 CC F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AB 57 00 00 35 04 06 00 3E 16 8D 8B 8B 0B AF CD 54 29 CB 66 2C 57 [08:39:11]CheckFolder [08:39:11]dirname=/storage/ofd_packets [08:39:11]CheckFolder done [08:39:11]ProducePacketName [08:39:11]name=ofd_packets/00022443 [08:39:11]NVStorageSaveData ofd_packets/00022443 [08:39:11]File name is /storage/ofd_packets/00022443 [08:39:11]Write 302 bytes [08:39:11]NVStorageSaveData done [08:39:11]OFDSenderStorePacket done [08:39:11]KKMCreateOFDPacket done [08:39:11]NVStorageSaveData kkm_last_timestamp [08:39:11]File name is /storage/kkm_last_timestamp [08:39:11]Write 4 bytes [08:39:11]NVStorageSaveData done [08:39:11]ExternCall_PrintAddStr [08:39:11]wPrintStart [08:39:11]Write to MH i2c: 01 00 00 DB 06 E1 [08:39:11]Write i2c OK [08:39:11]MH_I2C_Read... [08:39:11]Read from MH i2c: 01 [08:39:11]MH_I2C_Read... [08:39:11]Read from MH i2c: 01 07 00 [08:39:11]MH_I2C_Read... [08:39:11]Read from MH i2c: 01 07 00 DB 06 00 00 00 00 00 FF 0F F6 [08:39:11]RasterBufferAndPrint [08:39:11]line Счет N : (1)2164540 [08:39:11]line ИНН: 02508201610067 [08:39:11]line Контрольно-Кассовый Чек [08:39:11]line ПРОДАЖА [08:39:11]line ТРК (МРК, ГНК) : 42 [08:39:11]line Товар: 2710124130 [08:39:11]line Super-92-К-5 [08:39:11]line 28.860 * 69.30 [08:39:11]line = 2000.00 [08:39:11]line НДС 12% НСП 1% [08:39:11]line > о реализуемом товаре [08:39:11]line ИТОГО: 2000.00 [08:39:11]line НСП 1% : 17.70 [08:39:11]line НДС 12% : 212.39 [08:39:11]line Наличными: 2000.00 [08:39:11]line Безнал.: 0.00 [08:39:11]line Место: АЗС № 88 "Партнер Нефть" [08:39:11]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [08:39:11]line СНО: Общий режим [08:39:11]line Чек 16 25.09.2024 08:39 [08:39:11]line Смена: 231 ФФД: 1.0 [08:39:11]line ЗНМ: 0300000061 [08:39:11]line РНМ: 0000000000146243 [08:39:11]line Версия ККМ: v1.0 [08:39:11]line ФМ: 0000000000959358 [08:39:11]line ФД: 22443 [08:39:11]line ФПД: 68266584935179 [08:39:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T083912&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22443&fm=68266584935179&tin=02508201610067®Number=0000000000146243&sum=200000 [08:39:12]OFD Sender: Processing packet 22443 [packets to send 23, broken 22] [08:39:12]ProducePacketName [08:39:12]name=ofd_packets/00022443 [08:39:12]OFD Sender: To server: pG, [08:39:12]CommunicateWithHost lk.salyk.kg:30040 [08:39:12]ConnectInit lk.salyk.kg [08:39:12]written 0, free lines is 4095 [08:39:12]Connected sock=10 [08:39:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 01 00 00 38 43 08 01 E7 2D 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 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 BC 70 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 40 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 F7 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 10 00 00 00 F4 03 04 00 30 CC F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AB 57 00 00 35 04 06 00 3E 16 8D 8B 8B 0B AF CD 54 29 CB 66 2C 57 [08:39:12]Write to MH i2c: 01 00 00 03 07 0A [08:39:12]Write i2c OK [08:39:12]MH_I2C_Read... [08:39:12]Read from MH i2c: 01 [08:39:12]MH_I2C_Read... [08:39:12]Read from MH i2c: 01 07 00 [08:39:12]MH_I2C_Read... [08:39:12]Read from MH i2c: 01 07 00 03 07 00 00 00 00 00 28 0D 46 [08:39:12]RasterBufferAndPrint [08:39:12]line [08:39:12]line [08:39:12]line [08:39:12]line [08:39:12]line [08:39:12]written 0, free lines is 3374 [08:39:12]MH_Cut [08:39:12]Write to MH i2c: D1 01 00 0A 07 01 E3 [08:39:12]Write i2c OK [08:39:12]MH_I2C_Read... [08:39:12]Read from MH i2c: D1 [08:39:12]MH_I2C_Read... [08:39:12]Read from MH i2c: D1 01 00 [08:39:12]MH_I2C_Read... [08:39:12]Read from MH i2c: D1 01 00 0A 07 00 E2 [08:39:12]Write to MH i2c: 01 00 00 0B 07 12 [08:39:12]Write i2c OK [08:39:12]MH_I2C_Read... [08:39:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 CB C6 47 00 7E 82 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AB 57 00 00 F4 03 04 00 53 76 F3 66 B6 04 01 00 00 FC DB 21 06 89 CE 66 1E [08:39:12]CommunicateWithHost err = 0 [08:39:12]CheckOFDResponse [08:39:12]1017 (14) - 77093643461234 [08:39:12]1041 (16) - 0000000000959358 [08:39:12]1040 (4) - 22443 [08:39:12]1012 (4) - 25.09.2024 02:32 [08:39:12]1206 (1) - 0 [08:39:12]OFD Sender: Remove packet 22443 [08:39:12]ProducePacketName [08:39:12]name=ofd_packets/00022443 [08:39:12]NVStorageDeleteData [08:39:13]OFD Sender: No OFD packet to send [08:39:13]*** Cut start [08:39:13]*** Partial cut [08:39:13]*** CUTSNS_PIN = 1 [08:39:13]*** CUTSNS_PIN = 0 [08:39:13]*** Brake cut motor [08:39:13]Read from MH i2c: 01 [08:39:13]MH_I2C_Read... [08:39:13]*** Stop cut motor [08:39:13]*** Cut end [08:39:13]Read from MH i2c: 01 07 00 [08:39:13]MH_I2C_Read... [08:39:13]Read from MH i2c: 01 07 00 0B 07 00 00 00 00 00 FF 0F 27 [08:39:13]process_action close_receipt done [08:39:13]requested_data is exist [08:39:13]produce_requested_data [08:39:13]requested_item fm.sn is exist - process it [08:39:13]wFMCommunicate request_size=4 [08:39:13]MH_SAM_APDU [08:39:13]CAPDU: 80 11 00 00 [08:39:13]Write to MH i2c: E2 08 00 0C 07 80 11 00 00 00 00 00 00 8D [08:39:13]Write i2c OK [08:39:13]MH_I2C_Read... [08:39:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:39:13]Read from MH i2c: E2 [08:39:13]MH_I2C_Read... [08:39:13]Read from MH i2c: E2 17 00 [08:39:13]MH_I2C_Read... [08:39:13]Read from MH i2c: E2 17 00 0C 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 E7 [08:39:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:39:13]wFMCommunicate OK [08:39:13]requested_item fd.num is exist - process it [08:39:13]SAM_PROTO_GetFieldsCounters [08:39:13]wFMCommunicate request_size=4 [08:39:13]MH_SAM_APDU [08:39:13]CAPDU: 80 13 00 00 [08:39:13]Write to MH i2c: E2 08 00 0D 07 80 13 00 00 00 00 00 00 90 [08:39:13]Write i2c OK [08:39:13]MH_I2C_Read... [08:39:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:39:13]Read from MH i2c: E2 [08:39:13]MH_I2C_Read... [08:39:13]Read from MH i2c: E2 62 00 [08:39:13]MH_I2C_Read... [08:39:13]Read from MH i2c: E2 62 00 0D 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 AB 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 CC [08:39:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 AB 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:39:13]wFMCommunicate OK [08:39:13]SAM_PROTO_GetFieldsCounters done [08:39:13]requested_item shift.num is exist - process it [08:39:13]requested_item shift.opened is exist - process it [08:39:13]req_shift_opened [08:39:13]FM_GetShiftState [08:39:13]SAM_PROTO_GetShiftState [08:39:13]wFMCommunicate request_size=4 [08:39:13]MH_SAM_APDU [08:39:13]CAPDU: 80 13 01 00 [08:39:13]Write to MH i2c: E2 08 00 0E 07 80 13 01 00 00 00 00 00 92 [08:39:13]Write i2c OK [08:39:13]MH_I2C_Read... [08:39:14]Read from MH i2c: E2 [08:39:14]MH_I2C_Read... [08:39:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:39:14]Read from MH i2c: E2 0E 00 [08:39:14]MH_I2C_Read... [08:39:14]Read from MH i2c: E2 0E 00 0E 07 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 23 [08:39:14]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [08:39:14]wFMCommunicate OK [08:39:14]SAM_PROTO_GetShiftState done [08:39:14]FM_GetShiftState done [08:39:14]req_shift_opened done [08:39:14]requested_item shift.open_date is exist - process it [08:39:14]req_shift_open_date [08:39:14]req_shift_open_date done [08:39:14]produce_requested_data done [08:39:14]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22443,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [08:39:14]process_action_free close_receipt [08:39:14]json_value_free [08:39:14]json_value_free done [08:39:14]process_json_proto returns [08:39:14]Send response to host [08:39:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22443,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [08:39:14]free response buf [08:39:14]execute_script done [08:39:14]execute_script returns [08:39:14]free content buf [08:39:14]Sock 9.Close socket [08:39:14]Sock 9.Thread stoped [08:39:18]OFD Sender: No OFD packet to send [08:39:23]OFD Sender: No OFD packet to send [08:39:28]OFD Sender: No OFD packet to send [08:39:33]OFD Sender: No OFD packet to send [08:39:38]OFD Sender: No OFD packet to send [08:39:43]OFD Sender: No OFD packet to send [08:39:48]OFD Sender: No OFD packet to send [08:39:49]accept exits with 8 [08:39:49]New connection [08:39:49]New thread 3067260260 created [08:39:49]Thread 3067116900 joined [08:39:49]Waiting for new connection... [08:39:49] Sock 8.Parse request [08:39:49]Sock 8.Check first char [08:39:49]Sock 8.First char is OK [08:39:49]request: POST /json_proto HTTP/1.0 [08:39:49]Method: POST [08:39:49]URL: /json_proto [08:39:49]Method is POST - this is cgi request [08:39:49]url: /json_proto [08:39:49]query_string will be loaded in cgi processing [08:39:49]execute_cgi json_proto POST (null) [08:39:49]execute_cgi path=json_proto method=POST [08:39:49]POST find Content-Length [08:39:49]Host: 172.17.43.4:8080 [08:39:49]Content-Length: 678 [08:39:49]Content-Type: application/json [08:39:49] [08:39:49]POST finish read [08:39:49]Found Content-Length = 678 [08:39:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2164541", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 6.740, "sum" : 500.11, "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:39:49]execute_script... [08:39: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)2164541", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 6.740, "sum" : 500.11, "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:39:49]POST & json_proto [08:39:49]process_json_proto [08:39:49]json parsed OK: [08:39:49]protocol is kg_v1.0 [08:39:49]action value=close_receipt [08:39:49]process_action close_receipt [08:39:49]cmd_close_receipt [08:39:49]MH_GetDate [08:39:49]Write to MH i2c: F0 00 00 0F 07 05 [08:39:49]Write i2c OK [08:39:49]MH_I2C_Read... [08:39:49]Read from MH i2c: F0 [08:39:49]MH_I2C_Read... [08:39:49]Read from MH i2c: F0 09 00 [08:39:49]MH_I2C_Read... [08:39:49]Read from MH i2c: F0 09 00 0F 07 00 57 CC F3 66 02 BF CF 66 80 [08:39:49]GetLastDocTimeStamp 1727253552 [08:39:49]current date 1727253591 [08:39:49]FM_GetShiftState [08:39:49]SAM_PROTO_GetShiftState [08:39:49]wFMCommunicate request_size=4 [08:39:49]MH_SAM_APDU [08:39:49]CAPDU: 80 13 01 00 [08:39:49]Write to MH i2c: E2 08 00 10 07 80 13 01 00 00 00 00 00 94 [08:39:49]Write i2c OK [08:39:49]MH_I2C_Read... [08:39:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:39:49]Read from MH i2c: E2 [08:39:49]MH_I2C_Read... [08:39:49]Read from MH i2c: E2 0E 00 [08:39:49]MH_I2C_Read... [08:39:49]Read from MH i2c: E2 0E 00 10 07 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 25 [08:39:49]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [08:39:49]wFMCommunicate OK [08:39:49]SAM_PROTO_GetShiftState done [08:39:49]FM_GetShiftState done [08:39:49]opened in 1727224020 [08:39:49]opened+sec_in_day 1727310420 [08:39:49]quantity*price = 50010 [08:39:49]sum+1 = 50012 [08:39:49]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.11 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.11 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 17 25.09.2024 08:39 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22444 ФПД: 62662626317673 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T083951&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22444&fm=62662626317673&tin=02508201610067®Number=0000000000146243&sum=50000 [08:39:50]StoreToDocumentArchive [08:39:50]shift 231 fd 22444 [08:39:50]save to /storage/0231/doc_00022444 [08:39:50]save last doc name /storage/0231/doc_00022444 to /storage/kkm_last_doc_name [08:39:50]save OK [08:39:50]Clear old archive folders... [08:39:50]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:39:50]tlvbuf is 00384F90 [08:39:50]SAM_PROTO_ClearQueue [08:39:50]wFMCommunicate request_size=4 [08:39:50]MH_SAM_APDU [08:39:50]CAPDU: 80 09 00 00 [08:39:50]Write to MH i2c: E2 08 00 1D 07 80 09 00 00 00 00 00 00 96 [08:39:50]Write i2c OK [08:39:50]MH_I2C_Read... [08:39:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:39:50]Read from MH i2c: E2 [08:39:50]MH_I2C_Read... [08:39:50]Read from MH i2c: E2 03 00 [08:39:50]MH_I2C_Read... [08:39:50]Read from MH i2c: E2 03 00 1D 07 00 90 00 98 [08:39:50]RAPDU: 90 00 [08:39:50]wFMCommunicate OK [08:39:50]SAM_PROTO_ClearQueue done [08:39:50]KKMCreateOFDPacket [08:39:50]OFDProtocolAddRootSTLVToBuf [08:39:50]FM_MakeSignedData [08:39:50]FM_MakeSignedData [08:39:50]SAM_PROTO_SignData [08:39:50]wFMCommunicate request_size=4 [08:39:50]MH_SAM_APDU [08:39:50]CAPDU: 80 0D 01 02 [08:39:50]Write to MH i2c: E2 08 00 1E 07 80 0D 01 02 00 00 00 00 9E [08:39:50]Write i2c OK [08:39:50]MH_I2C_Read... [08:39:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:39:50]Read from MH i2c: E2 [08:39:50]MH_I2C_Read... [08:39:50]Read from MH i2c: E2 03 00 [08:39:50]MH_I2C_Read... [08:39:50]Read from MH i2c: E2 03 00 1E 07 00 90 00 99 [08:39:50]RAPDU: 90 00 [08:39:50]wFMCommunicate OK [08:39:50]wFMCommunicate request_size=255 [08:39:50]MH_SAM_APDU [08:39:50]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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B 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 BF 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 11 00 00 00 F4 03 04 00 57 CC F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AC 57 00 00 35 04 06 00 38 [08:39:50]Write to MH i2c: E2 02 01 1F 07 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B 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 BF 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 11 00 00 00 F4 03 04 00 57 CC F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AC 57 00 00 35 04 06 00 38 00 00 B6 [08:39:50]Write i2c OK [08:39:50]MH_I2C_Read... [08:39:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:39:50]Read from MH i2c: E2 [08:39:50]MH_I2C_Read... [08:39:50]Read from MH i2c: E2 03 00 [08:39:50]MH_I2C_Read... [08:39:50]Read from MH i2c: E2 03 00 1F 07 00 90 00 9A [08:39:50]RAPDU: 90 00 [08:39:50]wFMCommunicate OK [08:39:50]wFMCommunicate request_size=10 [08:39:50]MH_SAM_APDU [08:39:50]CAPDU: 80 0D 02 02 05 FD C7 95 15 69 [08:39:50]Write to MH i2c: E2 0D 00 20 07 80 0D 02 02 05 00 FD C7 95 15 69 00 00 82 [08:39:50]Write i2c OK [08:39:50]MH_I2C_Read... [08:39:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:39:50]Read from MH i2c: E2 [08:39:50]MH_I2C_Read... [08:39:50]Read from MH i2c: E2 03 00 [08:39:50]MH_I2C_Read... [08:39:50]Read from MH i2c: E2 03 00 20 07 00 90 00 9B [08:39:50]RAPDU: 90 00 [08:39:50]wFMCommunicate OK [08:39:50]wFMCommunicate request_size=4 [08:39:50]MH_SAM_APDU [08:39:50]CAPDU: 80 0D 03 02 [08:39:50]Write to MH i2c: E2 08 00 21 07 80 0D 03 02 00 00 00 00 A3 [08:39:50]Write i2c OK [08:39:50]MH_I2C_Read... [08:39:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:39:50]Read from MH i2c: E2 [08:39:50]MH_I2C_Read... [08:39:50]Read from MH i2c: E2 0B 00 [08:39:50]MH_I2C_Read... [08:39:50]Read from MH i2c: E2 0B 00 21 07 00 2B 35 1E DE EB F6 09 D7 90 00 C1 [08:39:50]RAPDU: 2B 35 1E DE EB F6 09 D7 90 00 [08:39:50]wFMCommunicate OK [08:39:50]SAM_PROTO_SignData done [08:39:50]FM_MakeSignedData done [08:39:50]CreateOFDProtocolMessage [08:39:50]wFMCommunicate request_size=4 [08:39:50]MH_SAM_APDU [08:39:50]CAPDU: 80 11 00 00 [08:39:50]Write to MH i2c: E2 08 00 22 07 80 11 00 00 00 00 00 00 A3 [08:39:50]Write i2c OK [08:39:50]MH_I2C_Read... [08:39:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:39:51]Read from MH i2c: E2 [08:39:51]MH_I2C_Read... [08:39:51]Read from MH i2c: E2 17 00 [08:39:51]MH_I2C_Read... [08:39:51]Read from MH i2c: E2 17 00 22 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 FD [08:39:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:39:51]wFMCommunicate OK [08:39:51]CreateOFDProtocolMessage done [08:39:51]OFDSenderStorePacket 22444 [08:39:51]StoreOFDPacket docnum=22444 [08:39:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 38 22 07 01 E9 82 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B 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 BF 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 11 00 00 00 F4 03 04 00 57 CC F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AC 57 00 00 35 04 06 00 38 FD C7 95 15 69 2B 35 1E DE EB F6 09 D7 [08:39:51]CheckFolder [08:39:51]dirname=/storage/ofd_packets [08:39:51]CheckFolder done [08:39:51]ProducePacketName [08:39:51]name=ofd_packets/00022444 [08:39:51]NVStorageSaveData ofd_packets/00022444 [08:39:51]File name is /storage/ofd_packets/00022444 [08:39:51]Write 301 bytes [08:39:51]NVStorageSaveData done [08:39:51]OFDSenderStorePacket done [08:39:51]KKMCreateOFDPacket done [08:39:51]NVStorageSaveData kkm_last_timestamp [08:39:51]File name is /storage/kkm_last_timestamp [08:39:51]Write 4 bytes [08:39:51]NVStorageSaveData done [08:39:51]ExternCall_PrintAddStr [08:39:51]wPrintStart [08:39:51]Write to MH i2c: 01 00 00 23 07 2A [08:39:51]Write i2c OK [08:39:51]MH_I2C_Read... [08:39:51]Read from MH i2c: 01 [08:39:51]MH_I2C_Read... [08:39:51]Read from MH i2c: 01 07 00 [08:39:51]MH_I2C_Read... [08:39:51]Read from MH i2c: 01 07 00 23 07 00 00 00 00 00 FF 0F 3F [08:39:51]RasterBufferAndPrint [08:39:51]line Счет N : (1)2164541 [08:39:51]line ИНН: 02508201610067 [08:39:51]line Контрольно-Кассовый Чек [08:39:51]line ПРОДАЖА [08:39:51]line ТРК (МРК, ГНК) : 23 [08:39:51]line Товар: 2710124500 [08:39:51]line Аи-95-К-5 [08:39:51]line 6.740 * 74.20 [08:39:51]line = 500.11 [08:39:51]line НДС 12% НСП 1% [08:39:51]line > о реализуемом товаре [08:39:51]line ОКРУГЛЕНИЕ: -0.11 [08:39:51]line ИТОГО: 500.00 [08:39:51]line Внесено: 500.00 [08:39:51]line СДАЧА: 0.00 [08:39:51]line НСП 1% : 4.43 [08:39:51]line НДС 12% : 53.11 [08:39:51]line Наличными: 500.00 [08:39:51]line Безнал.: 0.00 [08:39:51]line Место: АЗС № 88 "Партнер Нефть" [08:39:51]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [08:39:51]line СНО: Общий режим [08:39:51]line Чек 17 25.09.2024 08:39 [08:39:51]line Смена: 231 ФФД: 1.0 [08:39:51]line ЗНМ: 0300000061 [08:39:51]line РНМ: 0000000000146243 [08:39:51]line Версия ККМ: v1.0 [08:39:51]line ФМ: 0000000000959358 [08:39:51]line ФД: 22444 [08:39:51]line ФПД: 62662626317673 [08:39:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T083951&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22444&fm=62662626317673&tin=02508201610067®Number=0000000000146243&sum=50000 [08:39:51]OFD Sender: Processing packet 22444 [packets to send 23, broken 22] [08:39:51]ProducePacketName [08:39:51]name=ofd_packets/00022444 [08:39:51]OFD Sender: To server: pG, [08:39:51]CommunicateWithHost lk.salyk.kg:30040 [08:39:51]ConnectInit lk.salyk.kg [08:39:51]written 0, free lines is 4095 [08:39:51]Connected sock=10 [08:39:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 38 22 07 01 E9 82 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B 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 BF 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 11 00 00 00 F4 03 04 00 57 CC F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AC 57 00 00 35 04 06 00 38 FD C7 95 15 69 2B 35 1E DE EB F6 09 D7 [08:39:51]Write to MH i2c: 01 00 00 4E 07 55 [08:39:51]Write i2c OK [08:39:51]MH_I2C_Read... [08:39:51]Read from MH i2c: 01 [08:39:51]MH_I2C_Read... [08:39:51]Read from MH i2c: 01 07 00 [08:39:51]MH_I2C_Read... [08:39:51]Read from MH i2c: 01 07 00 4E 07 00 00 00 00 00 EC 0C 54 [08:39:51]RasterBufferAndPrint [08:39:51]line [08:39:51]line [08:39:51]line [08:39:51]line [08:39:51]line [08:39:51]written 0, free lines is 3314 [08:39:51]MH_Cut [08:39:51]Write to MH i2c: D1 01 00 55 07 01 2E [08:39:51]Write i2c OK [08:39:51]MH_I2C_Read... [08:39:51]Read from MH i2c: D1 [08:39:51]MH_I2C_Read... [08:39:51]Read from MH i2c: D1 01 00 [08:39:51]MH_I2C_Read... [08:39:51]Read from MH i2c: D1 01 00 55 07 00 2D [08:39:51]Write to MH i2c: 01 00 00 56 07 5D [08:39:51]Write i2c OK [08:39:51]MH_I2C_Read... [08:39:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 BC 17 47 00 FB CE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AC 57 00 00 F4 03 04 00 7A 76 F3 66 B6 04 01 00 00 FB AD EE 4B C9 97 A6 E3 [08:39:51]CommunicateWithHost err = 0 [08:39:51]CheckOFDResponse [08:39:51]1017 (14) - 77093643461234 [08:39:51]1041 (16) - 0000000000959358 [08:39:51]1040 (4) - 22444 [08:39:51]1012 (4) - 25.09.2024 02:33 [08:39:51]1206 (1) - 0 [08:39:51]OFD Sender: Remove packet 22444 [08:39:51]ProducePacketName [08:39:51]name=ofd_packets/00022444 [08:39:51]NVStorageDeleteData [08:39:52]OFD Sender: No OFD packet to send [08:39:52]*** Cut start [08:39:52]*** Partial cut [08:39:52]*** CUTSNS_PIN = 1 [08:39:52]*** CUTSNS_PIN = 0 [08:39:52]*** Brake cut motor [08:39:53]Read from MH i2c: 01 [08:39:53]MH_I2C_Read... [08:39:53]*** Stop cut motor [08:39:53]*** Cut end [08:39:53]Read from MH i2c: 01 07 00 [08:39:53]MH_I2C_Read... [08:39:53]Read from MH i2c: 01 07 00 56 07 00 00 00 00 00 FF 0F 72 [08:39:53]process_action close_receipt done [08:39:53]requested_data is exist [08:39:53]produce_requested_data [08:39:53]requested_item fm.sn is exist - process it [08:39:53]wFMCommunicate request_size=4 [08:39:53]MH_SAM_APDU [08:39:53]CAPDU: 80 11 00 00 [08:39:53]Write to MH i2c: E2 08 00 57 07 80 11 00 00 00 00 00 00 D8 [08:39:53]Write i2c OK [08:39:53]MH_I2C_Read... [08:39:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:39:53]Read from MH i2c: E2 [08:39:53]MH_I2C_Read... [08:39:53]Read from MH i2c: E2 17 00 [08:39:53]MH_I2C_Read... [08:39:53]Read from MH i2c: E2 17 00 57 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 32 [08:39:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:39:53]wFMCommunicate OK [08:39:53]requested_item fd.num is exist - process it [08:39:53]SAM_PROTO_GetFieldsCounters [08:39:53]wFMCommunicate request_size=4 [08:39:53]MH_SAM_APDU [08:39:53]CAPDU: 80 13 00 00 [08:39:53]Write to MH i2c: E2 08 00 58 07 80 13 00 00 00 00 00 00 DB [08:39:53]Write i2c OK [08:39:53]MH_I2C_Read... [08:39:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:39:53]Read from MH i2c: E2 [08:39:53]MH_I2C_Read... [08:39:53]Read from MH i2c: E2 62 00 [08:39:53]MH_I2C_Read... [08:39:53]Read from MH i2c: E2 62 00 58 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 AC 57 00 00 0E 04 04 00 E7 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 1B [08:39:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 AC 57 00 00 0E 04 04 00 E7 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 [08:39:53]wFMCommunicate OK [08:39:53]SAM_PROTO_GetFieldsCounters done [08:39:53]requested_item shift.num is exist - process it [08:39:53]requested_item shift.opened is exist - process it [08:39:53]req_shift_opened [08:39:53]FM_GetShiftState [08:39:53]SAM_PROTO_GetShiftState [08:39:53]wFMCommunicate request_size=4 [08:39:53]MH_SAM_APDU [08:39:53]CAPDU: 80 13 01 00 [08:39:53]Write to MH i2c: E2 08 00 59 07 80 13 01 00 00 00 00 00 DD [08:39:53]Write i2c OK [08:39:53]MH_I2C_Read... [08:39:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:39:53]Read from MH i2c: E2 [08:39:53]MH_I2C_Read... [08:39:53]Read from MH i2c: E2 0E 00 [08:39:53]MH_I2C_Read... [08:39:53]Read from MH i2c: E2 0E 00 59 07 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 6E [08:39:53]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [08:39:53]wFMCommunicate OK [08:39:53]SAM_PROTO_GetShiftState done [08:39:53]FM_GetShiftState done [08:39:53]req_shift_opened done [08:39:53]requested_item shift.open_date is exist - process it [08:39:53]req_shift_open_date [08:39:53]req_shift_open_date done [08:39:53]produce_requested_data done [08:39:53]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22444,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [08:39:53]process_action_free close_receipt [08:39:53]json_value_free [08:39:53]json_value_free done [08:39:53]process_json_proto returns [08:39:53]Send response to host [08:39:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22444,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [08:39:53]free response buf [08:39:53]execute_script done [08:39:53]execute_script returns [08:39:53]free content buf [08:39:53]Sock 8.Close socket [08:39:53]Sock 8.Thread stoped [08:39:57]OFD Sender: No OFD packet to send [08:40:02]OFD Sender: No OFD packet to send [08:40:07]OFD Sender: No OFD packet to send [08:40:12]OFD Sender: No OFD packet to send [08:40:17]OFD Sender: No OFD packet to send [08:40:22]OFD Sender: No OFD packet to send [08:40:27]OFD Sender: No OFD packet to send [08:40:32]OFD Sender: No OFD packet to send [08:40:37]OFD Sender: No OFD packet to send [08:40:42]OFD Sender: No OFD packet to send [08:40:47]OFD Sender: No OFD packet to send [08:40:52]OFD Sender: No OFD packet to send [08:40:57]OFD Sender: No OFD packet to send [08:41:02]OFD Sender: No OFD packet to send [08:41:07]OFD Sender: No OFD packet to send [08:41:12]OFD Sender: No OFD packet to send [08:41:17]OFD Sender: No OFD packet to send [08:41:22]OFD Sender: No OFD packet to send [08:41:27]OFD Sender: No OFD packet to send [08:41:32]OFD Sender: No OFD packet to send [08:41:37]OFD Sender: No OFD packet to send [08:41:42]OFD Sender: No OFD packet to send [08:41:47]OFD Sender: No OFD packet to send [08:41:52]OFD Sender: No OFD packet to send [08:41:53]accept exits with 9 [08:41:53]New connection [08:41:53]New thread 3067116900 created [08:41:53]Thread 3067260260 joined [08:41:53]Waiting for new connection... [08:41:53] Sock 9.Parse request [08:41:53]Sock 9.Check first char [08:41:53]Sock 9.First char is OK [08:41:53]request: POST /json_proto HTTP/1.0 [08:41:53]Method: POST [08:41:53]URL: /json_proto [08:41:53]Method is POST - this is cgi request [08:41:53]url: /json_proto [08:41:53]query_string will be loaded in cgi processing [08:41:53]execute_cgi json_proto POST (null) [08:41:53]execute_cgi path=json_proto method=POST [08:41:53]POST find Content-Length [08:41:53]Host: 172.17.43.4:8080 [08:41:53]Content-Length: 678 [08:41:53]Content-Type: application/json [08:41:53] [08:41:53]POST finish read [08:41:53]Found Content-Length = 678 [08:41:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2164542", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "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" ] } } [08:41:53]execute_script... [08:41:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2164542", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "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" ] } } [08:41:53]POST & json_proto [08:41:53]process_json_proto [08:41:53]json parsed OK: [08:41:53]protocol is kg_v1.0 [08:41:53]action value=close_receipt [08:41:53]process_action close_receipt [08:41:53]cmd_close_receipt [08:41:53]MH_GetDate [08:41:53]Write to MH i2c: F0 00 00 5A 07 50 [08:41:53]Write i2c OK [08:41:53]MH_I2C_Read... [08:41:53]Read from MH i2c: F0 [08:41:53]MH_I2C_Read... [08:41:53]Read from MH i2c: F0 09 00 [08:41:53]MH_I2C_Read... [08:41:53]Read from MH i2c: F0 09 00 5A 07 00 D3 CC F3 66 02 BF CF 66 47 [08:41:53]GetLastDocTimeStamp 1727253591 [08:41:53]current date 1727253715 [08:41:53]FM_GetShiftState [08:41:53]SAM_PROTO_GetShiftState [08:41:53]wFMCommunicate request_size=4 [08:41:53]MH_SAM_APDU [08:41:53]CAPDU: 80 13 01 00 [08:41:53]Write to MH i2c: E2 08 00 5B 07 80 13 01 00 00 00 00 00 DF [08:41:53]Write i2c OK [08:41:53]MH_I2C_Read... [08:41:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:41:53]Read from MH i2c: E2 [08:41:53]MH_I2C_Read... [08:41:53]Read from MH i2c: E2 0E 00 [08:41:53]MH_I2C_Read... [08:41:53]Read from MH i2c: E2 0E 00 5B 07 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 70 [08:41:53]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [08:41:53]wFMCommunicate OK [08:41:53]SAM_PROTO_GetShiftState done [08:41:53]FM_GetShiftState done [08:41:53]opened in 1727224020 [08:41:53]opened+sec_in_day 1727310420 [08:41:53]quantity*price = 40002 [08:41:53]sum+1 = 40003 [08:41:53]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.02 ИТОГО: 400.00 Внесено: 400.00 СДАЧА: 0.00 НСП 1% : 3.54 НДС 12% : 42.48 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 18 25.09.2024 08:41 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22445 ФПД: 103428949716993 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T084156&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22445&fm=103428949716993&tin=02508201610067®Number=0000000000146243&sum=40000 [08:41:54]StoreToDocumentArchive [08:41:54]shift 231 fd 22445 [08:41:54]save to /storage/0231/doc_00022445 [08:41:54]save last doc name /storage/0231/doc_00022445 to /storage/kkm_last_doc_name [08:41:54]save OK [08:41:54]Clear old archive folders... [08:41:54]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:41:54]tlvbuf is 0037B0E0 [08:41:54]SAM_PROTO_ClearQueue [08:41:54]wFMCommunicate request_size=4 [08:41:54]MH_SAM_APDU [08:41:54]CAPDU: 80 09 00 00 [08:41:54]Write to MH i2c: E2 08 00 68 07 80 09 00 00 00 00 00 00 E1 [08:41:54]Write i2c OK [08:41:54]MH_I2C_Read... [08:41:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:41:54]Read from MH i2c: E2 [08:41:54]MH_I2C_Read... [08:41:54]Read from MH i2c: E2 03 00 [08:41:54]MH_I2C_Read... [08:41:54]Read from MH i2c: E2 03 00 68 07 00 90 00 E3 [08:41:54]RAPDU: 90 00 [08:41:54]wFMCommunicate OK [08:41:54]SAM_PROTO_ClearQueue done [08:41:54]KKMCreateOFDPacket [08:41:54]OFDProtocolAddRootSTLVToBuf [08:41:54]FM_MakeSignedData [08:41:54]FM_MakeSignedData [08:41:54]SAM_PROTO_SignData [08:41:54]wFMCommunicate request_size=4 [08:41:54]MH_SAM_APDU [08:41:54]CAPDU: 80 0D 01 02 [08:41:54]Write to MH i2c: E2 08 00 69 07 80 0D 01 02 00 00 00 00 E9 [08:41:54]Write i2c OK [08:41:54]MH_I2C_Read... [08:41:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:41:54]Read from MH i2c: E2 [08:41:54]MH_I2C_Read... [08:41:54]Read from MH i2c: E2 03 00 [08:41:54]MH_I2C_Read... [08:41:54]Read from MH i2c: E2 03 00 69 07 00 90 00 E4 [08:41:54]RAPDU: 90 00 [08:41:54]wFMCommunicate OK [08:41:54]wFMCommunicate request_size=255 [08:41:54]MH_SAM_APDU [08:41:54]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 D4 CC F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AD 57 00 00 35 04 06 00 5E [08:41:54]Write to MH i2c: E2 02 01 6A 07 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 D4 CC F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AD 57 00 00 35 04 06 00 5E 00 00 A3 [08:41:54]Write i2c OK [08:41:54]MH_I2C_Read... [08:41:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:41:54]Read from MH i2c: E2 [08:41:54]MH_I2C_Read... [08:41:54]Read from MH i2c: E2 03 00 [08:41:54]MH_I2C_Read... [08:41:54]Read from MH i2c: E2 03 00 6A 07 00 90 00 E5 [08:41:54]RAPDU: 90 00 [08:41:54]wFMCommunicate OK [08:41:54]wFMCommunicate request_size=10 [08:41:54]MH_SAM_APDU [08:41:54]CAPDU: 80 0D 02 02 05 11 6D CE B0 01 [08:41:54]Write to MH i2c: E2 0D 00 6B 07 80 0D 02 02 05 00 11 6D CE B0 01 00 00 F3 [08:41:54]Write i2c OK [08:41:54]MH_I2C_Read... [08:41:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:41:55]Read from MH i2c: E2 [08:41:55]MH_I2C_Read... [08:41:55]Read from MH i2c: E2 03 00 [08:41:55]MH_I2C_Read... [08:41:55]Read from MH i2c: E2 03 00 6B 07 00 90 00 E6 [08:41:55]RAPDU: 90 00 [08:41:55]wFMCommunicate OK [08:41:55]wFMCommunicate request_size=4 [08:41:55]MH_SAM_APDU [08:41:55]CAPDU: 80 0D 03 02 [08:41:55]Write to MH i2c: E2 08 00 6C 07 80 0D 03 02 00 00 00 00 EE [08:41:55]Write i2c OK [08:41:55]MH_I2C_Read... [08:41:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:41:55]Read from MH i2c: E2 [08:41:55]MH_I2C_Read... [08:41:55]Read from MH i2c: E2 0B 00 [08:41:55]MH_I2C_Read... [08:41:55]Read from MH i2c: E2 0B 00 6C 07 00 7B 01 E9 8E 8B BA C4 4F 90 00 3A [08:41:55]RAPDU: 7B 01 E9 8E 8B BA C4 4F 90 00 [08:41:55]wFMCommunicate OK [08:41:55]SAM_PROTO_SignData done [08:41:55]FM_MakeSignedData done [08:41:55]CreateOFDProtocolMessage [08:41:55]wFMCommunicate request_size=4 [08:41:55]MH_SAM_APDU [08:41:55]CAPDU: 80 11 00 00 [08:41:55]Write to MH i2c: E2 08 00 6D 07 80 11 00 00 00 00 00 00 EE [08:41:55]Write i2c OK [08:41:55]MH_I2C_Read... [08:41:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:41:55]Read from MH i2c: E2 [08:41:55]MH_I2C_Read... [08:41:55]Read from MH i2c: E2 17 00 [08:41:55]MH_I2C_Read... [08:41:55]Read from MH i2c: E2 17 00 6D 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 48 [08:41:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:41:55]wFMCommunicate OK [08:41:55]CreateOFDProtocolMessage done [08:41:55]OFDSenderStorePacket 22445 [08:41:55]StoreOFDPacket docnum=22445 [08:41:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 F0 C7 07 01 40 30 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 D4 CC F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AD 57 00 00 35 04 06 00 5E 11 6D CE B0 01 7B 01 E9 8E 8B BA C4 4F [08:41:55]CheckFolder [08:41:55]dirname=/storage/ofd_packets [08:41:55]CheckFolder done [08:41:55]ProducePacketName [08:41:55]name=ofd_packets/00022445 [08:41:55]NVStorageSaveData ofd_packets/00022445 [08:41:55]File name is /storage/ofd_packets/00022445 [08:41:55]Write 301 bytes [08:41:55]NVStorageSaveData done [08:41:55]OFDSenderStorePacket done [08:41:55]KKMCreateOFDPacket done [08:41:55]NVStorageSaveData kkm_last_timestamp [08:41:55]File name is /storage/kkm_last_timestamp [08:41:55]Write 4 bytes [08:41:55]NVStorageSaveData done [08:41:55]ExternCall_PrintAddStr [08:41:55]wPrintStart [08:41:55]Write to MH i2c: 01 00 00 6E 07 75 [08:41:55]Write i2c OK [08:41:55]MH_I2C_Read... [08:41:55]Read from MH i2c: 01 [08:41:55]MH_I2C_Read... [08:41:55]Read from MH i2c: 01 07 00 [08:41:55]MH_I2C_Read... [08:41:55]Read from MH i2c: 01 07 00 6E 07 00 00 00 00 00 FF 0F 8A [08:41:55]RasterBufferAndPrint [08:41:55]line Счет N : (1)2164542 [08:41:55]line ИНН: 02508201610067 [08:41:55]line Контрольно-Кассовый Чек [08:41:55]line ПРОДАЖА [08:41:55]line ТРК (МРК, ГНК) : 12 [08:41:55]line Товар: 2710124130 [08:41:55]line Аи-92-К-5 [08:41:55]line 5.900 * 67.80 [08:41:55]line = 400.02 [08:41:55]line НДС 12% НСП 1% [08:41:55]line > о реализуемом товаре [08:41:55]line ОКРУГЛЕНИЕ: -0.02 [08:41:55]line ИТОГО: 400.00 [08:41:55]line Внесено: 400.00 [08:41:55]line СДАЧА: 0.00 [08:41:55]line НСП 1% : 3.54 [08:41:55]line НДС 12% : 42.48 [08:41:55]line Наличными: 400.00 [08:41:55]line Безнал.: 0.00 [08:41:55]line Место: АЗС № 88 "Партнер Нефть" [08:41:55]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [08:41:55]line СНО: Общий режим [08:41:55]line Чек 18 25.09.2024 08:41 [08:41:55]line Смена: 231 ФФД: 1.0 [08:41:55]line ЗНМ: 0300000061 [08:41:55]line РНМ: 0000000000146243 [08:41:55]line Версия ККМ: v1.0 [08:41:55]line ФМ: 0000000000959358 [08:41:55]line ФД: 22445 [08:41:55]line ФПД: 103428949716993 [08:41:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T084156&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22445&fm=103428949716993&tin=02508201610067®Number=0000000000146243&sum=40000 [08:41:55]OFD Sender: Processing packet 22445 [packets to send 23, broken 22] [08:41:55]ProducePacketName [08:41:55]name=ofd_packets/00022445 [08:41:55]OFD Sender: To server: pG, [08:41:55]CommunicateWithHost lk.salyk.kg:30040 [08:41:55]ConnectInit lk.salyk.kg [08:41:55]written 0, free lines is 4095 [08:41:55]Connected sock=10 [08:41:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 F0 C7 07 01 40 30 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 D4 CC F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AD 57 00 00 35 04 06 00 5E 11 6D CE B0 01 7B 01 E9 8E 8B BA C4 4F [08:41:55]Write to MH i2c: 01 00 00 99 07 A0 [08:41:55]Write i2c OK [08:41:55]MH_I2C_Read... [08:41:55]Read from MH i2c: 01 [08:41:55]MH_I2C_Read... [08:41:55]Read from MH i2c: 01 07 00 [08:41:55]MH_I2C_Read... [08:41:55]Read from MH i2c: 01 07 00 99 07 00 00 00 00 00 FA 0C AD [08:41:55]RasterBufferAndPrint [08:41:55]line [08:41:55]line [08:41:55]line [08:41:55]line [08:41:55]line [08:41:55]written 0, free lines is 3328 [08:41:55]MH_Cut [08:41:55]Write to MH i2c: D1 01 00 A0 07 01 79 [08:41:55]Write i2c OK [08:41:55]MH_I2C_Read... [08:41:55]Read from MH i2c: D1 [08:41:55]MH_I2C_Read... [08:41:55]Read from MH i2c: D1 01 00 [08:41:55]MH_I2C_Read... [08:41:55]Read from MH i2c: D1 01 00 A0 07 00 78 [08:41:55]Write to MH i2c: 01 00 00 A1 07 A8 [08:41:55]Write i2c OK [08:41:55]MH_I2C_Read... [08:41:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 C7 FF 47 00 E1 C7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AD 57 00 00 F4 03 04 00 F6 76 F3 66 B6 04 01 00 00 16 4B 30 B1 09 13 1D 0E [08:41:55]CommunicateWithHost err = 0 [08:41:55]CheckOFDResponse [08:41:55]1017 (14) - 77093643461234 [08:41:55]1041 (16) - 0000000000959358 [08:41:55]1040 (4) - 22445 [08:41:55]1012 (4) - 25.09.2024 02:35 [08:41:55]1206 (1) - 0 [08:41:55]OFD Sender: Remove packet 22445 [08:41:55]ProducePacketName [08:41:55]name=ofd_packets/00022445 [08:41:55]NVStorageDeleteData [08:41:56]OFD Sender: No OFD packet to send [08:41:56]*** Cut start [08:41:56]*** Partial cut [08:41:56]*** CUTSNS_PIN = 1 [08:41:56]*** CUTSNS_PIN = 0 [08:41:56]*** Brake cut motor [08:41:57]Read from MH i2c: 01 [08:41:57]MH_I2C_Read... [08:41:57]*** Stop cut motor [08:41:57]*** Cut end [08:41:57]Read from MH i2c: 01 07 00 [08:41:57]MH_I2C_Read... [08:41:57]Read from MH i2c: 01 07 00 A1 07 00 00 00 00 00 FF 0F BD [08:41:57]process_action close_receipt done [08:41:57]requested_data is exist [08:41:57]produce_requested_data [08:41:57]requested_item fm.sn is exist - process it [08:41:57]wFMCommunicate request_size=4 [08:41:57]MH_SAM_APDU [08:41:57]CAPDU: 80 11 00 00 [08:41:57]Write to MH i2c: E2 08 00 A2 07 80 11 00 00 00 00 00 00 23 [08:41:57]Write i2c OK [08:41:57]MH_I2C_Read... [08:41:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:41:57]Read from MH i2c: E2 [08:41:57]MH_I2C_Read... [08:41:57]Read from MH i2c: E2 17 00 [08:41:57]MH_I2C_Read... [08:41:57]Read from MH i2c: E2 17 00 A2 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 7D [08:41:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:41:57]wFMCommunicate OK [08:41:57]requested_item fd.num is exist - process it [08:41:57]SAM_PROTO_GetFieldsCounters [08:41:57]wFMCommunicate request_size=4 [08:41:57]MH_SAM_APDU [08:41:57]CAPDU: 80 13 00 00 [08:41:57]Write to MH i2c: E2 08 00 A3 07 80 13 00 00 00 00 00 00 26 [08:41:57]Write i2c OK [08:41:57]MH_I2C_Read... [08:41:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:41:57]Read from MH i2c: E2 [08:41:57]MH_I2C_Read... [08:41:57]Read from MH i2c: E2 62 00 [08:41:57]MH_I2C_Read... [08:41:57]Read from MH i2c: E2 62 00 A3 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 AD 57 00 00 0E 04 04 00 E7 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 6A [08:41:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 AD 57 00 00 0E 04 04 00 E7 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 [08:41:57]wFMCommunicate OK [08:41:57]SAM_PROTO_GetFieldsCounters done [08:41:57]requested_item shift.num is exist - process it [08:41:57]requested_item shift.opened is exist - process it [08:41:57]req_shift_opened [08:41:57]FM_GetShiftState [08:41:57]SAM_PROTO_GetShiftState [08:41:57]wFMCommunicate request_size=4 [08:41:57]MH_SAM_APDU [08:41:57]CAPDU: 80 13 01 00 [08:41:57]Write to MH i2c: E2 08 00 A4 07 80 13 01 00 00 00 00 00 28 [08:41:57]Write i2c OK [08:41:57]MH_I2C_Read... [08:41:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:41:57]Read from MH i2c: E2 [08:41:57]MH_I2C_Read... [08:41:57]Read from MH i2c: E2 0E 00 [08:41:57]MH_I2C_Read... [08:41:57]Read from MH i2c: E2 0E 00 A4 07 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 B9 [08:41:57]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [08:41:57]wFMCommunicate OK [08:41:57]SAM_PROTO_GetShiftState done [08:41:57]FM_GetShiftState done [08:41:57]req_shift_opened done [08:41:57]requested_item shift.open_date is exist - process it [08:41:57]req_shift_open_date [08:41:57]req_shift_open_date done [08:41:57]produce_requested_data done [08:41:57]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22445,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [08:41:57]process_action_free close_receipt [08:41:57]json_value_free [08:41:57]json_value_free done [08:41:57]process_json_proto returns [08:41:57]Send response to host [08:41:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22445,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [08:41:57]free response buf [08:41:57]execute_script done [08:41:57]execute_script returns [08:41:57]free content buf [08:41:57]Sock 9.Close socket [08:41:57]Sock 9.Thread stoped [08:42:01]accept exits with 8 [08:42:01]New connection [08:42:01]New thread 3067260260 created [08:42:01]Thread 3067116900 joined [08:42:01]Waiting for new connection... [08:42:01] Sock 8.Parse request [08:42:01]Sock 8.Check first char [08:42:01]Sock 8.First char is OK [08:42:01]request: POST /json_proto HTTP/1.0 [08:42:01]Method: POST [08:42:01]URL: /json_proto [08:42:01]Method is POST - this is cgi request [08:42:01]url: /json_proto [08:42:01]query_string will be loaded in cgi processing [08:42:01]execute_cgi json_proto POST (null) [08:42:01]execute_cgi path=json_proto method=POST [08:42:01]POST find Content-Length [08:42:01]Host: 172.17.43.4:8080 [08:42:01]Content-Length: 620 [08:42:01]Content-Type: application/json [08:42:01] [08:42:01]POST finish read [08:42:01]Found Content-Length = 620 [08:42:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51658", "tax_sys" : 0, "items" : [ { "code": "48742344", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Super Slims Pink", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:42:01]execute_script... [08:42:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51658", "tax_sys" : 0, "items" : [ { "code": "48742344", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Super Slims Pink", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:42:01]POST & json_proto [08:42:01]process_json_proto [08:42:01]json parsed OK: [08:42:01]protocol is kg_v1.0 [08:42:01]action value=close_receipt [08:42:01]process_action close_receipt [08:42:01]cmd_close_receipt [08:42:01]MH_GetDate [08:42:01]Write to MH i2c: F0 00 00 A5 07 9B [08:42:01]Write i2c OK [08:42:01]MH_I2C_Read... [08:42:01]Read from MH i2c: F0 [08:42:01]MH_I2C_Read... [08:42:01]Read from MH i2c: F0 09 00 [08:42:01]MH_I2C_Read... [08:42:01]Read from MH i2c: F0 09 00 A5 07 00 DB CC F3 66 02 BF CF 66 9A [08:42:01]GetLastDocTimeStamp 1727253716 [08:42:01]current date 1727253723 [08:42:01]FM_GetShiftState [08:42:01]SAM_PROTO_GetShiftState [08:42:01]wFMCommunicate request_size=4 [08:42:01]MH_SAM_APDU [08:42:01]CAPDU: 80 13 01 00 [08:42:01]Write to MH i2c: E2 08 00 A6 07 80 13 01 00 00 00 00 00 2A [08:42:01]Write i2c OK [08:42:01]MH_I2C_Read... [08:42:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:42:01]Read from MH i2c: E2 [08:42:01]MH_I2C_Read... [08:42:01]Read from MH i2c: E2 0E 00 [08:42:01]MH_I2C_Read... [08:42:01]Read from MH i2c: E2 0E 00 A6 07 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 BB [08:42:01]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [08:42:01]wFMCommunicate OK [08:42:01]SAM_PROTO_GetShiftState done [08:42:01]FM_GetShiftState done [08:42:01]opened in 1727224020 [08:42:01]opened+sec_in_day 1727310420 [08:42:01]quantity*price = 13400 [08:42:01]sum+1 = 13401 [08:42:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 134.00 НСП 1% : 1.19 НДС 12% : 14.23 Наличными: 134.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 19 25.09.2024 08:42 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22446 ФПД: 112990985262859 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T084203&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22446&fm=112990985262859&tin=02508201610067®Number=0000000000146243&sum=13400 0 [08:42:02]StoreToDocumentArchive [08:42:02]shift 231 fd 22446 [08:42:02]save to /storage/0231/doc_00022446 [08:42:02]save last doc name /storage/0231/doc_00022446 to /storage/kkm_last_doc_name [08:42:02]save OK [08:42:02]Clear old archive folders... [08:42:02]ProcessDocumentItem done err = 0, tmpTLVsize=273 [08:42:02]tlvbuf is 0039C200 [08:42:02]SAM_PROTO_ClearQueue [08:42:02]wFMCommunicate request_size=4 [08:42:02]MH_SAM_APDU [08:42:02]CAPDU: 80 09 00 00 [08:42:02]Write to MH i2c: E2 08 00 B3 07 80 09 00 00 00 00 00 00 2C [08:42:02]Write i2c OK [08:42:02]MH_I2C_Read... [08:42:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:42:02]Read from MH i2c: E2 [08:42:02]MH_I2C_Read... [08:42:02]Read from MH i2c: E2 03 00 [08:42:02]MH_I2C_Read... [08:42:02]Read from MH i2c: E2 03 00 B3 07 00 90 00 2E [08:42:02]RAPDU: 90 00 [08:42:02]wFMCommunicate OK [08:42:02]SAM_PROTO_ClearQueue done [08:42:02]KKMCreateOFDPacket [08:42:02]OFDProtocolAddRootSTLVToBuf [08:42:02]FM_MakeSignedData [08:42:02]FM_MakeSignedData [08:42:02]SAM_PROTO_SignData [08:42:02]wFMCommunicate request_size=4 [08:42:02]MH_SAM_APDU [08:42:02]CAPDU: 80 0D 01 02 [08:42:02]Write to MH i2c: E2 08 00 B4 07 80 0D 01 02 00 00 00 00 34 [08:42:02]Write i2c OK [08:42:02]MH_I2C_Read... [08:42:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:42:02]Read from MH i2c: E2 [08:42:02]MH_I2C_Read... [08:42:02]Read from MH i2c: E2 03 00 [08:42:02]MH_I2C_Read... [08:42:02]Read from MH i2c: E2 03 00 B4 07 00 90 00 2F [08:42:02]RAPDU: 90 00 [08:42:02]wFMCommunicate OK [08:42:02]wFMCommunicate request_size=255 [08:42:02]MH_SAM_APDU [08:42:02]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 32 33 34 34 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 50 69 6E 6B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 DB CC F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 [08:42:02]Write to MH i2c: E2 02 01 B5 07 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 32 33 34 34 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 50 69 6E 6B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 DB CC F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 00 00 E5 [08:42:02]Write i2c OK [08:42:02]MH_I2C_Read... [08:42:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:42:02]Read from MH i2c: E2 [08:42:02]MH_I2C_Read... [08:42:02]Read from MH i2c: E2 03 00 [08:42:02]MH_I2C_Read... [08:42:02]Read from MH i2c: E2 03 00 B5 07 00 90 00 30 [08:42:02]RAPDU: 90 00 [08:42:02]wFMCommunicate OK [08:42:02]wFMCommunicate request_size=32 [08:42:02]MH_SAM_APDU [08:42:02]CAPDU: 80 0D 02 02 1B 30 30 30 39 35 39 33 35 38 10 04 04 00 AE 57 00 00 35 04 06 00 66 C3 C3 8A 17 0B [08:42:02]Write to MH i2c: E2 23 00 B6 07 80 0D 02 02 1B 00 30 30 30 39 35 39 33 35 38 10 04 04 00 AE 57 00 00 35 04 06 00 66 C3 C3 8A 17 0B 00 00 38 [08:42:02]Write i2c OK [08:42:02]MH_I2C_Read... [08:42:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:42:02]Read from MH i2c: E2 [08:42:02]MH_I2C_Read... [08:42:02]Read from MH i2c: E2 03 00 [08:42:02]MH_I2C_Read... [08:42:02]Read from MH i2c: E2 03 00 B6 07 00 90 00 31 [08:42:02]RAPDU: 90 00 [08:42:02]wFMCommunicate OK [08:42:02]wFMCommunicate request_size=4 [08:42:02]MH_SAM_APDU [08:42:02]CAPDU: 80 0D 03 02 [08:42:02]Write to MH i2c: E2 08 00 B7 07 80 0D 03 02 00 00 00 00 39 [08:42:02]Write i2c OK [08:42:02]MH_I2C_Read... [08:42:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:42:02]Read from MH i2c: E2 [08:42:02]MH_I2C_Read... [08:42:02]Read from MH i2c: E2 0B 00 [08:42:02]MH_I2C_Read... [08:42:02]Read from MH i2c: E2 0B 00 B7 07 00 45 84 B1 47 3B CD 98 58 90 00 F3 [08:42:02]RAPDU: 45 84 B1 47 3B CD 98 58 90 00 [08:42:02]wFMCommunicate OK [08:42:02]SAM_PROTO_SignData done [08:42:02]FM_MakeSignedData done [08:42:02]CreateOFDProtocolMessage [08:42:02]wFMCommunicate request_size=4 [08:42:02]MH_SAM_APDU [08:42:02]CAPDU: 80 11 00 00 [08:42:02]Write to MH i2c: E2 08 00 B8 07 80 11 00 00 00 00 00 00 39 [08:42:02]Write i2c OK [08:42:02]MH_I2C_Read... [08:42:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:42:02]Read from MH i2c: E2 [08:42:02]MH_I2C_Read... [08:42:02]Read from MH i2c: E2 17 00 [08:42:02]MH_I2C_Read... [08:42:02]Read from MH i2c: E2 17 00 B8 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 93 [08:42:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:42:02]wFMCommunicate OK [08:42:02]CreateOFDProtocolMessage done [08:42:02]OFDSenderStorePacket 22446 [08:42:02]StoreOFDPacket docnum=22446 [08:42:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 25 01 00 00 73 54 1D 01 E7 FE 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 32 33 34 34 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 50 69 6E 6B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 DB CC F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AE 57 00 00 35 04 06 00 66 C3 C3 8A 17 0B 45 84 B1 47 3B CD 98 58 [08:42:02]CheckFolder [08:42:02]dirname=/storage/ofd_packets [08:42:02]CheckFolder done [08:42:02]ProducePacketName [08:42:02]name=ofd_packets/00022446 [08:42:02]NVStorageSaveData ofd_packets/00022446 [08:42:02]File name is /storage/ofd_packets/00022446 [08:42:02]Write 323 bytes [08:42:02]NVStorageSaveData done [08:42:02]OFDSenderStorePacket done [08:42:02]KKMCreateOFDPacket done [08:42:02]NVStorageSaveData kkm_last_timestamp [08:42:02]File name is /storage/kkm_last_timestamp [08:42:02]Write 4 bytes [08:42:02]NVStorageSaveData done [08:42:02]ExternCall_PrintAddStr [08:42:02]wPrintStart [08:42:02]Write to MH i2c: 01 00 00 B9 07 C0 [08:42:02]Write i2c OK [08:42:02]MH_I2C_Read... [08:42:02]Read from MH i2c: 01 [08:42:02]MH_I2C_Read... [08:42:02]Read from MH i2c: 01 07 00 [08:42:02]MH_I2C_Read... [08:42:02]Read from MH i2c: 01 07 00 B9 07 00 00 00 00 00 FF 0F D5 [08:42:02]RasterBufferAndPrint [08:42:02]line Счет N : (3)51658 [08:42:02]line ИНН: 02508201610067 [08:42:02]line Контрольно-Кассовый Чек [08:42:02]line ПРОДАЖА [08:42:02]line Товар: 48742344 [08:42:02]line Сигареты LD Super Slims Pink [08:42:02]line 1.000 * 134.00 [08:42:02]line = 134.00 [08:42:02]line НДС 12% НСП 1% [08:42:02]line > о реализуемом товаре [08:42:02]line ИТОГО: 134.00 [08:42:02]line НСП 1% : 1.19 [08:42:02]line НДС 12% : 14.23 [08:42:02]line Наличными: 134.00 [08:42:02]line Безнал.: 0.00 [08:42:02]line Место: АЗС № 88 "Партнер Нефть" [08:42:02]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [08:42:02]line СНО: Общий режим [08:42:02]line Чек 19 25.09.2024 08:42 [08:42:02]line Смена: 231 ФФД: 1.0 [08:42:02]line ЗНМ: 0300000061 [08:42:02]line РНМ: 0000000000146243 [08:42:02]line Версия ККМ: v1.0 [08:42:02]line ФМ: 0000000000959358 [08:42:02]line ФД: 22446 [08:42:02]line ФПД: 112990985262859 [08:42:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T084203&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22446&fm=112990985262859&tin=02508201610067®Number=0000000000146243&sum=13400 [08:42:02]line 0 [08:42:02]written 0, free lines is 4095 [08:42:02]OFD Sender: Processing packet 22446 [packets to send 23, broken 22] [08:42:02]ProducePacketName [08:42:02]name=ofd_packets/00022446 [08:42:02]OFD Sender: To server: pG, [08:42:02]CommunicateWithHost lk.salyk.kg:30040 [08:42:02]ConnectInit lk.salyk.kg [08:42:03]Connected sock=10 [08:42:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 25 01 00 00 73 54 1D 01 E7 FE 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 32 33 34 34 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 50 69 6E 6B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 DB CC F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AE 57 00 00 35 04 06 00 66 C3 C3 8A 17 0B 45 84 B1 47 3B CD 98 58 [08:42:03]Write to MH i2c: 01 00 00 E1 07 E8 [08:42:03]Write i2c OK [08:42:03]MH_I2C_Read... [08:42:03]Read from MH i2c: 01 [08:42:03]MH_I2C_Read... [08:42:03]Read from MH i2c: 01 07 00 [08:42:03]MH_I2C_Read... [08:42:03]Read from MH i2c: 01 07 00 E1 07 00 00 00 00 00 2E 0D 2A [08:42:03]RasterBufferAndPrint [08:42:03]line [08:42:03]line [08:42:03]line [08:42:03]line [08:42:03]line [08:42:03]written 0, free lines is 3387 [08:42:03]MH_Cut [08:42:03]Write to MH i2c: D1 01 00 E8 07 01 C1 [08:42:03]Write i2c OK [08:42:03]MH_I2C_Read... [08:42:03]Read from MH i2c: D1 [08:42:03]MH_I2C_Read... [08:42:03]Read from MH i2c: D1 01 00 [08:42:03]MH_I2C_Read... [08:42:03]Read from MH i2c: D1 01 00 E8 07 00 C0 [08:42:03]Write to MH i2c: 01 00 00 E9 07 F0 [08:42:03]Write i2c OK [08:42:03]MH_I2C_Read... [08:42:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 DB 02 47 00 55 DD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AE 57 00 00 F4 03 04 00 FE 76 F3 66 B6 04 01 00 00 63 29 3E EC D5 A4 26 CB [08:42:03]CommunicateWithHost err = 0 [08:42:03]CheckOFDResponse [08:42:03]1017 (14) - 77093643461234 [08:42:03]1041 (16) - 0000000000959358 [08:42:03]1040 (4) - 22446 [08:42:03]1012 (4) - 25.09.2024 02:35 [08:42:03]1206 (1) - 0 [08:42:03]OFD Sender: Remove packet 22446 [08:42:03]ProducePacketName [08:42:03]name=ofd_packets/00022446 [08:42:03]NVStorageDeleteData [08:42:03]OFD Sender: No OFD packet to send [08:42:03]*** Cut start [08:42:03]*** Partial cut [08:42:03]*** CUTSNS_PIN = 1 [08:42:04]*** CUTSNS_PIN = 0 [08:42:04]*** Brake cut motor [08:42:04]Read from MH i2c: 01 [08:42:04]MH_I2C_Read... [08:42:04]*** Stop cut motor [08:42:04]*** Cut end [08:42:04]Read from MH i2c: 01 07 00 [08:42:04]MH_I2C_Read... [08:42:04]Read from MH i2c: 01 07 00 E9 07 00 00 00 00 00 FF 0F 05 [08:42:04]process_action close_receipt done [08:42:04]requested_data is exist [08:42:04]produce_requested_data [08:42:04]requested_item fm.sn is exist - process it [08:42:04]wFMCommunicate request_size=4 [08:42:04]MH_SAM_APDU [08:42:04]CAPDU: 80 11 00 00 [08:42:04]Write to MH i2c: E2 08 00 EA 07 80 11 00 00 00 00 00 00 6B [08:42:04]Write i2c OK [08:42:04]MH_I2C_Read... [08:42:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:42:04]Read from MH i2c: E2 [08:42:04]MH_I2C_Read... [08:42:04]Read from MH i2c: E2 17 00 [08:42:04]MH_I2C_Read... [08:42:04]Read from MH i2c: E2 17 00 EA 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 C5 [08:42:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:42:04]wFMCommunicate OK [08:42:04]requested_item fd.num is exist - process it [08:42:04]SAM_PROTO_GetFieldsCounters [08:42:04]wFMCommunicate request_size=4 [08:42:04]MH_SAM_APDU [08:42:04]CAPDU: 80 13 00 00 [08:42:04]Write to MH i2c: E2 08 00 EB 07 80 13 00 00 00 00 00 00 6E [08:42:04]Write i2c OK [08:42:04]MH_I2C_Read... [08:42:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:42:04]Read from MH i2c: E2 [08:42:04]MH_I2C_Read... [08:42:04]Read from MH i2c: E2 62 00 [08:42:04]MH_I2C_Read... [08:42:04]Read from MH i2c: E2 62 00 EB 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 AE 57 00 00 0E 04 04 00 E7 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 B6 [08:42:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 AE 57 00 00 0E 04 04 00 E7 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 [08:42:04]wFMCommunicate OK [08:42:04]SAM_PROTO_GetFieldsCounters done [08:42:04]requested_item shift.num is exist - process it [08:42:04]requested_item shift.opened is exist - process it [08:42:04]req_shift_opened [08:42:04]FM_GetShiftState [08:42:04]SAM_PROTO_GetShiftState [08:42:04]wFMCommunicate request_size=4 [08:42:04]MH_SAM_APDU [08:42:04]CAPDU: 80 13 01 00 [08:42:04]Write to MH i2c: E2 08 00 EC 07 80 13 01 00 00 00 00 00 70 [08:42:04]Write i2c OK [08:42:04]MH_I2C_Read... [08:42:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:42:04]Read from MH i2c: E2 [08:42:04]MH_I2C_Read... [08:42:04]Read from MH i2c: E2 0E 00 [08:42:04]MH_I2C_Read... [08:42:04]Read from MH i2c: E2 0E 00 EC 07 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 01 [08:42:04]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [08:42:04]wFMCommunicate OK [08:42:04]SAM_PROTO_GetShiftState done [08:42:04]FM_GetShiftState done [08:42:04]req_shift_opened done [08:42:04]requested_item shift.open_date is exist - process it [08:42:04]req_shift_open_date [08:42:04]req_shift_open_date done [08:42:04]produce_requested_data done [08:42:04]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22446,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [08:42:04]process_action_free close_receipt [08:42:04]json_value_free [08:42:04]json_value_free done [08:42:04]process_json_proto returns [08:42:04]Send response to host [08:42:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22446,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [08:42:04]free response buf [08:42:04]execute_script done [08:42:04]execute_script returns [08:42:04]free content buf [08:42:04]Sock 8.Close socket [08:42:04]Sock 8.Thread stoped [08:42:08]OFD Sender: No OFD packet to send [08:42:13]OFD Sender: No OFD packet to send [08:42:18]OFD Sender: No OFD packet to send [08:42:23]OFD Sender: No OFD packet to send [08:42:28]OFD Sender: No OFD packet to send [08:42:33]OFD Sender: No OFD packet to send [08:42:38]OFD Sender: No OFD packet to send [08:42:43]OFD Sender: No OFD packet to send [08:42:48]OFD Sender: No OFD packet to send [08:42:53]OFD Sender: No OFD packet to send [08:42:58]OFD Sender: No OFD packet to send [08:42:58]accept exits with 9 [08:42:58]New connection [08:42:58]New thread 3067116900 created [08:42:58]Thread 3067260260 joined [08:42:58]Waiting for new connection... [08:42:58] Sock 9.Parse request [08:42:58]Sock 9.Check first char [08:42:58]Sock 9.First char is OK [08:42:58]request: POST /json_proto HTTP/1.0 [08:42:58]Method: POST [08:42:58]URL: /json_proto [08:42:58]Method is POST - this is cgi request [08:42:58]url: /json_proto [08:42:58]query_string will be loaded in cgi processing [08:42:58]execute_cgi json_proto POST (null) [08:42:58]execute_cgi path=json_proto method=POST [08:42:58]POST find Content-Length [08:42:58]Host: 172.17.43.4:8080 [08:42:58]Content-Length: 666 [08:42:58]Content-Type: application/json [08:42:58] [08:42:58]POST finish read [08:42:58]Found Content-Length = 666 [08:42:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51659", "tax_sys" : 0, "items" : [ { "code": "4700002085444", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,24\u043B", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:42:58]execute_script... [08:42:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51659", "tax_sys" : 0, "items" : [ { "code": "4700002085444", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,24\u043B", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:42:58]POST & json_proto [08:42:58]process_json_proto [08:42:58]json parsed OK: [08:42:58]protocol is kg_v1.0 [08:42:58]action value=close_receipt [08:42:58]process_action close_receipt [08:42:58]cmd_close_receipt [08:42:58]MH_GetDate [08:42:58]Write to MH i2c: F0 00 00 ED 07 E3 [08:42:58]Write i2c OK [08:42:58]MH_I2C_Read... [08:42:58]Read from MH i2c: F0 [08:42:58]MH_I2C_Read... [08:42:58]Read from MH i2c: F0 09 00 [08:42:58]MH_I2C_Read... [08:42:58]Read from MH i2c: F0 09 00 ED 07 00 15 CD F3 66 02 BF CF 66 1D [08:42:58]GetLastDocTimeStamp 1727253723 [08:42:58]current date 1727253781 [08:42:58]FM_GetShiftState [08:42:58]SAM_PROTO_GetShiftState [08:42:58]wFMCommunicate request_size=4 [08:42:58]MH_SAM_APDU [08:42:58]CAPDU: 80 13 01 00 [08:42:58]Write to MH i2c: E2 08 00 EE 07 80 13 01 00 00 00 00 00 72 [08:42:58]Write i2c OK [08:42:58]MH_I2C_Read... [08:42:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:42:59]Read from MH i2c: E2 [08:42:59]MH_I2C_Read... [08:42:59]Read from MH i2c: E2 0E 00 [08:42:59]MH_I2C_Read... [08:42:59]Read from MH i2c: E2 0E 00 EE 07 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 03 [08:42:59]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [08:42:59]wFMCommunicate OK [08:42:59]SAM_PROTO_GetShiftState done [08:42:59]FM_GetShiftState done [08:42:59]opened in 1727224020 [08:42:59]opened+sec_in_day 1727310420 [08:42:59]quantity*price = 20000 [08:42:59]sum+1 = 20001 [08:42:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 200.00 НСП 1% : 1.77 НДС 12% : 21.24 Наличными: 200.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 20 25.09.2024 08:43 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22447 ФПД: 143525123068374 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T084301&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22447&fm=143525123068374&tin=02508201610067®Number=0000000000146243&sum=20000 0 [08:43:00]StoreToDocumentArchive [08:43:00]shift 231 fd 22447 [08:43:00]save to /storage/0231/doc_00022447 [08:43:00]save last doc name /storage/0231/doc_00022447 to /storage/kkm_last_doc_name [08:43:00]save OK [08:43:00]Clear old archive folders... [08:43:00]ProcessDocumentItem done err = 0, tmpTLVsize=283 [08:43:00]tlvbuf is 0037B970 [08:43:00]SAM_PROTO_ClearQueue [08:43:00]wFMCommunicate request_size=4 [08:43:00]MH_SAM_APDU [08:43:00]CAPDU: 80 09 00 00 [08:43:00]Write to MH i2c: E2 08 00 FB 07 80 09 00 00 00 00 00 00 74 [08:43:00]Write i2c OK [08:43:00]MH_I2C_Read... [08:43:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:43:00]Read from MH i2c: E2 [08:43:00]MH_I2C_Read... [08:43:00]Read from MH i2c: E2 03 00 [08:43:00]MH_I2C_Read... [08:43:00]Read from MH i2c: E2 03 00 FB 07 00 90 00 76 [08:43:00]RAPDU: 90 00 [08:43:00]wFMCommunicate OK [08:43:00]SAM_PROTO_ClearQueue done [08:43:00]KKMCreateOFDPacket [08:43:00]OFDProtocolAddRootSTLVToBuf [08:43:00]FM_MakeSignedData [08:43:00]FM_MakeSignedData [08:43:00]SAM_PROTO_SignData [08:43:00]wFMCommunicate request_size=4 [08:43:00]MH_SAM_APDU [08:43:00]CAPDU: 80 0D 01 02 [08:43:00]Write to MH i2c: E2 08 00 FC 07 80 0D 01 02 00 00 00 00 7C [08:43:00]Write i2c OK [08:43:00]MH_I2C_Read... [08:43:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:43:00]Read from MH i2c: E2 [08:43:00]MH_I2C_Read... [08:43:00]Read from MH i2c: E2 03 00 [08:43:00]MH_I2C_Read... [08:43:00]Read from MH i2c: E2 03 00 FC 07 00 90 00 77 [08:43:00]RAPDU: 90 00 [08:43:00]wFMCommunicate OK [08:43:00]wFMCommunicate request_size=255 [08:43:00]MH_SAM_APDU [08:43:00]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 35 34 34 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 15 CD F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 [08:43:00]Write to MH i2c: E2 02 01 FD 07 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 35 34 34 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 15 CD F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 00 00 1B [08:43:00]Write i2c OK [08:43:00]MH_I2C_Read... [08:43:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:43:00]Read from MH i2c: E2 [08:43:00]MH_I2C_Read... [08:43:00]Read from MH i2c: E2 03 00 [08:43:00]MH_I2C_Read... [08:43:00]Read from MH i2c: E2 03 00 FD 07 00 90 00 78 [08:43:00]RAPDU: 90 00 [08:43:00]wFMCommunicate OK [08:43:00]wFMCommunicate request_size=42 [08:43:00]MH_SAM_APDU [08:43:00]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AF 57 00 00 35 04 06 00 82 89 0B FA 11 D6 [08:43:00]Write to MH i2c: E2 2D 00 FE 07 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AF 57 00 00 35 04 06 00 82 89 0B FA 11 D6 00 00 58 [08:43:00]Write i2c OK [08:43:00]MH_I2C_Read... [08:43:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:43:00]Read from MH i2c: E2 [08:43:00]MH_I2C_Read... [08:43:00]Read from MH i2c: E2 03 00 [08:43:00]MH_I2C_Read... [08:43:00]Read from MH i2c: E2 03 00 FE 07 00 90 00 79 [08:43:00]RAPDU: 90 00 [08:43:00]wFMCommunicate OK [08:43:00]wFMCommunicate request_size=4 [08:43:00]MH_SAM_APDU [08:43:00]CAPDU: 80 0D 03 02 [08:43:00]Write to MH i2c: E2 08 00 FF 07 80 0D 03 02 00 00 00 00 81 [08:43:00]Write i2c OK [08:43:00]MH_I2C_Read... [08:43:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:43:00]Read from MH i2c: E2 [08:43:00]MH_I2C_Read... [08:43:00]Read from MH i2c: E2 0B 00 [08:43:00]MH_I2C_Read... [08:43:00]Read from MH i2c: E2 0B 00 FF 07 00 D6 40 E1 B3 0C 38 6B 59 90 00 34 [08:43:00]RAPDU: D6 40 E1 B3 0C 38 6B 59 90 00 [08:43:00]wFMCommunicate OK [08:43:00]SAM_PROTO_SignData done [08:43:00]FM_MakeSignedData done [08:43:00]CreateOFDProtocolMessage [08:43:00]wFMCommunicate request_size=4 [08:43:00]MH_SAM_APDU [08:43:00]CAPDU: 80 11 00 00 [08:43:00]Write to MH i2c: E2 08 00 00 08 80 11 00 00 00 00 00 00 82 [08:43:00]Write i2c OK [08:43:00]MH_I2C_Read... [08:43:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:43:00]Read from MH i2c: E2 [08:43:00]MH_I2C_Read... [08:43:00]Read from MH i2c: E2 17 00 [08:43:00]MH_I2C_Read... [08:43:00]Read from MH i2c: E2 17 00 00 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 DC [08:43:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:43:00]wFMCommunicate OK [08:43:00]CreateOFDProtocolMessage done [08:43:00]OFDSenderStorePacket 22447 [08:43:00]StoreOFDPacket docnum=22447 [08:43:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 2F 01 00 00 C7 E3 27 01 81 66 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 35 34 34 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 15 CD F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AF 57 00 00 35 04 06 00 82 89 0B FA 11 D6 D6 40 E1 B3 0C 38 6B 59 [08:43:00]CheckFolder [08:43:00]dirname=/storage/ofd_packets [08:43:00]CheckFolder done [08:43:00]ProducePacketName [08:43:00]name=ofd_packets/00022447 [08:43:00]NVStorageSaveData ofd_packets/00022447 [08:43:00]File name is /storage/ofd_packets/00022447 [08:43:00]Write 333 bytes [08:43:00]NVStorageSaveData done [08:43:00]OFDSenderStorePacket done [08:43:00]KKMCreateOFDPacket done [08:43:00]NVStorageSaveData kkm_last_timestamp [08:43:00]File name is /storage/kkm_last_timestamp [08:43:00]Write 4 bytes [08:43:00]NVStorageSaveData done [08:43:00]ExternCall_PrintAddStr [08:43:00]wPrintStart [08:43:00]Write to MH i2c: 01 00 00 01 08 09 [08:43:00]Write i2c OK [08:43:00]MH_I2C_Read... [08:43:00]Read from MH i2c: 01 [08:43:00]MH_I2C_Read... [08:43:00]Read from MH i2c: 01 07 00 [08:43:00]MH_I2C_Read... [08:43:00]Read from MH i2c: 01 07 00 01 08 00 00 00 00 00 FF 0F 1E [08:43:00]RasterBufferAndPrint [08:43:00]line Счет N : (3)51659 [08:43:00]line ИНН: 02508201610067 [08:43:00]line Контрольно-Кассовый Чек [08:43:00]line ПРОДАЖА [08:43:00]line Товар: 4700002085444 [08:43:00]line Водка Белое золото 0,24л [08:43:00]line 1.000 * 200.00 [08:43:00]line = 200.00 [08:43:00]line НДС 12% НСП 1% [08:43:00]line > о реализуемом товаре [08:43:00]line ИТОГО: 200.00 [08:43:00]line НСП 1% : 1.77 [08:43:00]line НДС 12% : 21.24 [08:43:00]line Наличными: 200.00 [08:43:00]line Безнал.: 0.00 [08:43:00]line Место: АЗС № 88 "Партнер Нефть" [08:43:00]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [08:43:00]line СНО: Общий режим [08:43:00]line Чек 20 25.09.2024 08:43 [08:43:00]line Смена: 231 ФФД: 1.0 [08:43:00]line ЗНМ: 0300000061 [08:43:00]line РНМ: 0000000000146243 [08:43:00]line Версия ККМ: v1.0 [08:43:00]line ФМ: 0000000000959358 [08:43:00]line ФД: 22447 [08:43:00]line ФПД: 143525123068374 [08:43:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T084301&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22447&fm=143525123068374&tin=02508201610067®Number=0000000000146243&sum=20000 [08:43:01]line 0 [08:43:01]OFD Sender: Processing packet 22447 [packets to send 23, broken 22] [08:43:01]ProducePacketName [08:43:01]name=ofd_packets/00022447 [08:43:01]OFD Sender: To server: pG, [08:43:01]CommunicateWithHost lk.salyk.kg:30040 [08:43:01]ConnectInit lk.salyk.kg [08:43:01]written 0, free lines is 4095 [08:43:01]Connected sock=8 [08:43:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 2F 01 00 00 C7 E3 27 01 81 66 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 35 34 34 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 15 CD F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 AF 57 00 00 35 04 06 00 82 89 0B FA 11 D6 D6 40 E1 B3 0C 38 6B 59 [08:43:01]Write to MH i2c: 01 00 00 29 08 31 [08:43:01]Write i2c OK [08:43:01]MH_I2C_Read... [08:43:01]Read from MH i2c: 01 [08:43:01]MH_I2C_Read... [08:43:01]Read from MH i2c: 01 07 00 [08:43:01]MH_I2C_Read... [08:43:01]Read from MH i2c: 01 07 00 29 08 00 00 00 00 00 22 0D 67 [08:43:01]RasterBufferAndPrint [08:43:01]line [08:43:01]line [08:43:01]line [08:43:01]line [08:43:01]line [08:43:01]written 0, free lines is 3369 [08:43:01]MH_Cut [08:43:01]Write to MH i2c: D1 01 00 30 08 01 0A [08:43:01]Write i2c OK [08:43:01]MH_I2C_Read... [08:43:01]Read from MH i2c: D1 [08:43:01]MH_I2C_Read... [08:43:01]Read from MH i2c: D1 01 00 [08:43:01]MH_I2C_Read... [08:43:01]Read from MH i2c: D1 01 00 30 08 00 09 [08:43:01]Write to MH i2c: 01 00 00 31 08 39 [08:43:01]Write i2c OK [08:43:01]MH_I2C_Read... [08:43:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 02 C9 47 00 D1 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 30 39 35 39 33 35 38 10 04 04 00 AF 57 00 00 F4 03 04 00 38 77 F3 66 B6 04 01 00 00 F6 1E CD F9 B4 0F DD 55 [08:43:01]CommunicateWithHost err = 0 [08:43:01]CheckOFDResponse [08:43:01]1017 (14) - 77093643461234 [08:43:01]1041 (16) - 0000000000959358 [08:43:01]1040 (4) - 22447 [08:43:01]1012 (4) - 25.09.2024 02:36 [08:43:01]1206 (1) - 0 [08:43:01]OFD Sender: Remove packet 22447 [08:43:01]ProducePacketName [08:43:01]name=ofd_packets/00022447 [08:43:01]NVStorageDeleteData [08:43:02]OFD Sender: No OFD packet to send [08:43:02]*** Cut start [08:43:02]*** Partial cut [08:43:02]*** CUTSNS_PIN = 1 [08:43:02]*** CUTSNS_PIN = 0 [08:43:02]*** Brake cut motor [08:43:02]Read from MH i2c: 01 [08:43:02]MH_I2C_Read... [08:43:02]*** Stop cut motor [08:43:02]*** Cut end [08:43:02]Read from MH i2c: 01 07 00 [08:43:02]MH_I2C_Read... [08:43:02]Read from MH i2c: 01 07 00 31 08 00 00 00 00 00 FF 0F 4E [08:43:02]process_action close_receipt done [08:43:02]requested_data is exist [08:43:02]produce_requested_data [08:43:02]requested_item fm.sn is exist - process it [08:43:02]wFMCommunicate request_size=4 [08:43:02]MH_SAM_APDU [08:43:02]CAPDU: 80 11 00 00 [08:43:02]Write to MH i2c: E2 08 00 32 08 80 11 00 00 00 00 00 00 B4 [08:43:02]Write i2c OK [08:43:02]MH_I2C_Read... [08:43:02]Read from MH i2c: E2 [08:43:02]MH_I2C_Read... [08:43:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:43:02]Read from MH i2c: E2 17 00 [08:43:02]MH_I2C_Read... [08:43:02]Read from MH i2c: E2 17 00 32 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 0E [08:43:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:43:02]wFMCommunicate OK [08:43:02]requested_item fd.num is exist - process it [08:43:02]SAM_PROTO_GetFieldsCounters [08:43:02]wFMCommunicate request_size=4 [08:43:02]MH_SAM_APDU [08:43:02]CAPDU: 80 13 00 00 [08:43:02]Write to MH i2c: E2 08 00 33 08 80 13 00 00 00 00 00 00 B7 [08:43:02]Write i2c OK [08:43:02]MH_I2C_Read... [08:43:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:43:02]Read from MH i2c: E2 [08:43:02]MH_I2C_Read... [08:43:02]Read from MH i2c: E2 62 00 [08:43:02]MH_I2C_Read... [08:43:02]Read from MH i2c: E2 62 00 33 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 AF 57 00 00 0E 04 04 00 E7 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 03 [08:43:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 AF 57 00 00 0E 04 04 00 E7 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 [08:43:02]wFMCommunicate OK [08:43:02]SAM_PROTO_GetFieldsCounters done [08:43:02]requested_item shift.num is exist - process it [08:43:02]requested_item shift.opened is exist - process it [08:43:02]req_shift_opened [08:43:02]FM_GetShiftState [08:43:02]SAM_PROTO_GetShiftState [08:43:02]wFMCommunicate request_size=4 [08:43:02]MH_SAM_APDU [08:43:02]CAPDU: 80 13 01 00 [08:43:02]Write to MH i2c: E2 08 00 34 08 80 13 01 00 00 00 00 00 B9 [08:43:02]Write i2c OK [08:43:02]MH_I2C_Read... [08:43:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:43:02]Read from MH i2c: E2 [08:43:02]MH_I2C_Read... [08:43:02]Read from MH i2c: E2 0E 00 [08:43:02]MH_I2C_Read... [08:43:02]Read from MH i2c: E2 0E 00 34 08 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 4A [08:43:02]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [08:43:02]wFMCommunicate OK [08:43:02]SAM_PROTO_GetShiftState done [08:43:02]FM_GetShiftState done [08:43:02]req_shift_opened done [08:43:02]requested_item shift.open_date is exist - process it [08:43:02]req_shift_open_date [08:43:02]req_shift_open_date done [08:43:02]produce_requested_data done [08:43:02]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22447,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [08:43:02]process_action_free close_receipt [08:43:02]json_value_free [08:43:02]json_value_free done [08:43:02]process_json_proto returns [08:43:02]Send response to host [08:43:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22447,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [08:43:02]free response buf [08:43:02]execute_script done [08:43:02]execute_script returns [08:43:02]free content buf [08:43:02]Sock 9.Close socket [08:43:02]Sock 9.Thread stoped [08:43:07]OFD Sender: No OFD packet to send [08:43:12]OFD Sender: No OFD packet to send [08:43:17]OFD Sender: No OFD packet to send [08:43:22]OFD Sender: No OFD packet to send [08:43:26]accept exits with 10 [08:43:26]New connection [08:43:26]New thread 3067260260 created [08:43:26]Thread 3067116900 joined [08:43:26]Waiting for new connection... [08:43:26] Sock 10.Parse request [08:43:26]Sock 10.Check first char [08:43:26]Sock 10.First char is OK [08:43:26]request: POST /json_proto HTTP/1.0 [08:43:26]Method: POST [08:43:26]URL: /json_proto [08:43:26]Method is POST - this is cgi request [08:43:26]url: /json_proto [08:43:26]query_string will be loaded in cgi processing [08:43:26]execute_cgi json_proto POST (null) [08:43:26]execute_cgi path=json_proto method=POST [08:43:26]POST find Content-Length [08:43:26]Host: 172.17.43.4:8080 [08:43:26]Content-Length: 678 [08:43:26]Content-Type: application/json [08:43:26] [08:43:26]POST finish read [08:43:26]Found Content-Length = 678 [08:43:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2164544", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 5.170, "sum" : 350.53, "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" ] } } [08:43:26]execute_script... [08: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)2164544", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 67.80, "quantity" : 5.170, "sum" : 350.53, "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" ] } } [08:43:26]POST & json_proto [08:43:26]process_json_proto [08:43:26]json parsed OK: [08:43:26]protocol is kg_v1.0 [08:43:26]action value=close_receipt [08:43:26]process_action close_receipt [08:43:26]cmd_close_receipt [08:43:26]MH_GetDate [08:43:26]Write to MH i2c: F0 00 00 35 08 2C [08:43:26]Write i2c OK [08:43:26]MH_I2C_Read... [08:43:26]Read from MH i2c: F0 [08:43:26]MH_I2C_Read... [08:43:26]Read from MH i2c: F0 09 00 [08:43:26]MH_I2C_Read... [08:43:26]Read from MH i2c: F0 09 00 35 08 00 31 CD F3 66 02 BF CF 66 82 [08:43:26]GetLastDocTimeStamp 1727253781 [08:43:26]current date 1727253809 [08:43:26]FM_GetShiftState [08:43:26]SAM_PROTO_GetShiftState [08:43:26]wFMCommunicate request_size=4 [08:43:26]MH_SAM_APDU [08:43:26]CAPDU: 80 13 01 00 [08:43:26]Write to MH i2c: E2 08 00 36 08 80 13 01 00 00 00 00 00 BB [08:43:26]Write i2c OK [08:43:26]MH_I2C_Read... [08:43:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:43:26]Read from MH i2c: E2 [08:43:26]MH_I2C_Read... [08:43:26]Read from MH i2c: E2 0E 00 [08:43:26]MH_I2C_Read... [08:43:26]Read from MH i2c: E2 0E 00 36 08 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 4C [08:43:26]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [08:43:26]wFMCommunicate OK [08:43:26]SAM_PROTO_GetShiftState done [08:43:26]FM_GetShiftState done [08:43:26]opened in 1727224020 [08:43:26]opened+sec_in_day 1727310420 [08:43:26]quantity*price = 35052 [08:43:26]sum+1 = 35054 [08:43:26]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.53 ИТОГО: 350.00 Внесено: 350.00 СДАЧА: 0.00 НСП 1% : 3.10 НДС 12% : 37.22 Наличными: 350.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 21 25.09.2024 08:43 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22448 ФПД: 74897349110790 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T084329&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22448&fm=74897349110790&tin=02508201610067®Number=0000000000146243&sum=35000 [08:43:27]StoreToDocumentArchive [08:43:27]shift 231 fd 22448 [08:43:27]save to /storage/0231/doc_00022448 [08:43:27]save last doc name /storage/0231/doc_00022448 to /storage/kkm_last_doc_name [08:43:27]save OK [08:43:27]Clear old archive folders... [08:43:27]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:43:27]tlvbuf is 0037B860 [08:43:27]SAM_PROTO_ClearQueue [08:43:27]wFMCommunicate request_size=4 [08:43:27]MH_SAM_APDU [08:43:27]CAPDU: 80 09 00 00 [08:43:27]Write to MH i2c: E2 08 00 43 08 80 09 00 00 00 00 00 00 BD [08:43:27]Write i2c OK [08:43:27]MH_I2C_Read... [08:43:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:43:27]Read from MH i2c: E2 [08:43:27]MH_I2C_Read... [08:43:27]Read from MH i2c: E2 03 00 [08:43:27]MH_I2C_Read... [08:43:27]Read from MH i2c: E2 03 00 43 08 00 90 00 BF [08:43:27]RAPDU: 90 00 [08:43:27]wFMCommunicate OK [08:43:27]SAM_PROTO_ClearQueue done [08:43:27]KKMCreateOFDPacket [08:43:27]OFDProtocolAddRootSTLVToBuf [08:43:27]FM_MakeSignedData [08:43:27]FM_MakeSignedData [08:43:27]SAM_PROTO_SignData [08:43:27]wFMCommunicate request_size=4 [08:43:27]MH_SAM_APDU [08:43:27]CAPDU: 80 0D 01 02 [08:43:27]Write to MH i2c: E2 08 00 44 08 80 0D 01 02 00 00 00 00 C5 [08:43:27]Write i2c OK [08:43:27]MH_I2C_Read... [08:43:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:43:27]Read from MH i2c: E2 [08:43:27]MH_I2C_Read... [08:43:27]Read from MH i2c: E2 03 00 [08:43:27]MH_I2C_Read... [08:43:27]Read from MH i2c: E2 03 00 44 08 00 90 00 C0 [08:43:27]RAPDU: 90 00 [08:43:27]wFMCommunicate OK [08:43:27]wFMCommunicate request_size=255 [08:43:27]MH_SAM_APDU [08:43: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 32 14 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 ED 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 31 CD F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B0 57 00 00 35 04 06 00 44 [08:43:27]Write to MH i2c: E2 02 01 45 08 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 32 14 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 ED 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 31 CD F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B0 57 00 00 35 04 06 00 44 00 00 0F [08:43:27]Write i2c OK [08:43:27]MH_I2C_Read... [08:43:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:43:28]Read from MH i2c: E2 [08:43:28]MH_I2C_Read... [08:43:28]Read from MH i2c: E2 03 00 [08:43:28]MH_I2C_Read... [08:43:28]Read from MH i2c: E2 03 00 45 08 00 90 00 C1 [08:43:28]RAPDU: 90 00 [08:43:28]wFMCommunicate OK [08:43:28]wFMCommunicate request_size=10 [08:43:28]MH_SAM_APDU [08:43:28]CAPDU: 80 0D 02 02 05 1E 65 E3 6C 06 [08:43:28]Write to MH i2c: E2 0D 00 46 08 80 0D 02 02 05 00 1E 65 E3 6C 06 00 00 AA [08:43:28]Write i2c OK [08:43:28]MH_I2C_Read... [08:43:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:43:28]Read from MH i2c: E2 [08:43:28]MH_I2C_Read... [08:43:28]Read from MH i2c: E2 03 00 [08:43:28]MH_I2C_Read... [08:43:28]Read from MH i2c: E2 03 00 46 08 00 90 00 C2 [08:43:28]RAPDU: 90 00 [08:43:28]wFMCommunicate OK [08:43:28]wFMCommunicate request_size=4 [08:43:28]MH_SAM_APDU [08:43:28]CAPDU: 80 0D 03 02 [08:43:28]Write to MH i2c: E2 08 00 47 08 80 0D 03 02 00 00 00 00 CA [08:43:28]Write i2c OK [08:43:28]MH_I2C_Read... [08:43:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:43:28]Read from MH i2c: E2 [08:43:28]MH_I2C_Read... [08:43:28]Read from MH i2c: E2 0B 00 [08:43:28]MH_I2C_Read... [08:43:28]Read from MH i2c: E2 0B 00 47 08 00 FF 3A E1 CB 22 2E F9 1A 90 00 13 [08:43:28]RAPDU: FF 3A E1 CB 22 2E F9 1A 90 00 [08:43:28]wFMCommunicate OK [08:43:28]SAM_PROTO_SignData done [08:43:28]FM_MakeSignedData done [08:43:28]CreateOFDProtocolMessage [08:43:28]wFMCommunicate request_size=4 [08:43:28]MH_SAM_APDU [08:43:28]CAPDU: 80 11 00 00 [08:43:28]Write to MH i2c: E2 08 00 48 08 80 11 00 00 00 00 00 00 CA [08:43:28]Write i2c OK [08:43:28]MH_I2C_Read... [08:43:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:43:28]Read from MH i2c: E2 [08:43:28]MH_I2C_Read... [08:43:28]Read from MH i2c: E2 17 00 [08:43:28]MH_I2C_Read... [08:43:28]Read from MH i2c: E2 17 00 48 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 24 [08:43:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:43:28]wFMCommunicate OK [08:43:28]CreateOFDProtocolMessage done [08:43:28]OFDSenderStorePacket 22448 [08:43:28]StoreOFDPacket docnum=22448 [08:43:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 DA 6C 07 01 A7 03 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 32 14 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 ED 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 31 CD F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B0 57 00 00 35 04 06 00 44 1E 65 E3 6C 06 FF 3A E1 CB 22 2E F9 1A [08:43:28]CheckFolder [08:43:28]dirname=/storage/ofd_packets [08:43:28]CheckFolder done [08:43:28]ProducePacketName [08:43:28]name=ofd_packets/00022448 [08:43:28]NVStorageSaveData ofd_packets/00022448 [08:43:28]File name is /storage/ofd_packets/00022448 [08:43:28]Write 301 bytes [08:43:28]NVStorageSaveData done [08:43:28]OFDSenderStorePacket done [08:43:28]KKMCreateOFDPacket done [08:43:28]NVStorageSaveData kkm_last_timestamp [08:43:28]File name is /storage/kkm_last_timestamp [08:43:28]Write 4 bytes [08:43:28]NVStorageSaveData done [08:43:28]ExternCall_PrintAddStr [08:43:28]wPrintStart [08:43:28]Write to MH i2c: 01 00 00 49 08 51 [08:43:28]Write i2c OK [08:43:28]MH_I2C_Read... [08:43:28]Read from MH i2c: 01 [08:43:28]MH_I2C_Read... [08:43:28]Read from MH i2c: 01 07 00 [08:43:28]MH_I2C_Read... [08:43:28]Read from MH i2c: 01 07 00 49 08 00 00 00 00 00 FF 0F 66 [08:43:28]RasterBufferAndPrint [08:43:28]line Счет N : (1)2164544 [08:43:28]line ИНН: 02508201610067 [08:43:28]line Контрольно-Кассовый Чек [08:43:28]line ПРОДАЖА [08:43:28]line ТРК (МРК, ГНК) : 22 [08:43:28]line Товар: 2710124130 [08:43:28]line Аи-92-К-5 [08:43:28]line 5.170 * 67.80 [08:43:28]line = 350.53 [08:43:28]line НДС 12% НСП 1% [08:43:28]line > о реализуемом товаре [08:43:28]line ОКРУГЛЕНИЕ: -0.53 [08:43:28]line ИТОГО: 350.00 [08:43:28]line Внесено: 350.00 [08:43:28]line СДАЧА: 0.00 [08:43:28]line НСП 1% : 3.10 [08:43:28]line НДС 12% : 37.22 [08:43:28]line Наличными: 350.00 [08:43:28]line Безнал.: 0.00 [08:43:28]line Место: АЗС № 88 "Партнер Нефть" [08:43:28]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [08:43:28]line СНО: Общий режим [08:43:28]line Чек 21 25.09.2024 08:43 [08:43:28]line Смена: 231 ФФД: 1.0 [08:43:28]line ЗНМ: 0300000061 [08:43:28]line РНМ: 0000000000146243 [08:43:28]line Версия ККМ: v1.0 [08:43:28]line ФМ: 0000000000959358 [08:43:28]line ФД: 22448 [08:43:28]line ФПД: 74897349110790 [08:43:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T084329&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22448&fm=74897349110790&tin=02508201610067®Number=0000000000146243&sum=35000 [08:43:28]OFD Sender: Processing packet 22448 [packets to send 23, broken 22] [08:43:28]ProducePacketName [08:43:28]name=ofd_packets/00022448 [08:43:28]OFD Sender: To server: pG, [08:43:28]CommunicateWithHost lk.salyk.kg:30040 [08:43:28]ConnectInit lk.salyk.kg [08:43:28]written 0, free lines is 4095 [08:43:28]Connected sock=8 [08:43:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 DA 6C 07 01 A7 03 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 32 14 00 00 00 00 00 37 04 06 00 7C 1A 00 00 00 00 13 04 06 00 ED 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 31 CD F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B0 57 00 00 35 04 06 00 44 1E 65 E3 6C 06 FF 3A E1 CB 22 2E F9 1A [08:43:28]Write to MH i2c: 01 00 00 74 08 7C [08:43:28]Write i2c OK [08:43:28]MH_I2C_Read... [08:43:28]Read from MH i2c: 01 [08:43:28]MH_I2C_Read... [08:43:28]Read from MH i2c: 01 07 00 [08:43:28]MH_I2C_Read... [08:43:28]Read from MH i2c: 01 07 00 74 08 00 00 00 00 00 FD 0C 8C [08:43:28]RasterBufferAndPrint [08:43:28]line [08:43:28]line [08:43:28]line [08:43:28]line [08:43:28]line [08:43:28]written 0, free lines is 3331 [08:43:28]MH_Cut [08:43:28]Write to MH i2c: D1 01 00 7B 08 01 55 [08:43:28]Write i2c OK [08:43:28]MH_I2C_Read... [08:43:28]Read from MH i2c: D1 [08:43:28]MH_I2C_Read... [08:43:28]Read from MH i2c: D1 01 00 [08:43:28]MH_I2C_Read... [08:43:28]Read from MH i2c: D1 01 00 7B 08 00 54 [08:43:28]Write to MH i2c: 01 00 00 7C 08 84 [08:43:28]Write i2c OK [08:43:28]MH_I2C_Read... [08:43:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 AB CF 47 00 C4 D4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B0 57 00 00 F4 03 04 00 53 77 F3 66 B6 04 01 00 00 A4 EC CF 31 57 20 05 F2 [08:43:29]CommunicateWithHost err = 0 [08:43:29]CheckOFDResponse [08:43:29]1017 (14) - 77093643461234 [08:43:29]1041 (16) - 0000000000959358 [08:43:29]1040 (4) - 22448 [08:43:29]1012 (4) - 25.09.2024 02:37 [08:43:29]1206 (1) - 0 [08:43:29]OFD Sender: Remove packet 22448 [08:43:29]ProducePacketName [08:43:29]name=ofd_packets/00022448 [08:43:29]NVStorageDeleteData [08:43:29]OFD Sender: No OFD packet to send [08:43:29]*** Cut start [08:43:29]*** Partial cut [08:43:29]*** CUTSNS_PIN = 1 [08:43:29]*** CUTSNS_PIN = 0 [08:43:29]*** Brake cut motor [08:43:30]Read from MH i2c: 01 [08:43:30]MH_I2C_Read... [08:43:30]*** Stop cut motor [08:43:30]*** Cut end [08:43:30]Read from MH i2c: 01 07 00 [08:43:30]MH_I2C_Read... [08:43:30]Read from MH i2c: 01 07 00 7C 08 00 00 00 00 00 FF 0F 99 [08:43:30]process_action close_receipt done [08:43:30]requested_data is exist [08:43:30]produce_requested_data [08:43:30]requested_item fm.sn is exist - process it [08:43:30]wFMCommunicate request_size=4 [08:43:30]MH_SAM_APDU [08:43:30]CAPDU: 80 11 00 00 [08:43:30]Write to MH i2c: E2 08 00 7D 08 80 11 00 00 00 00 00 00 FF [08:43:30]Write i2c OK [08:43:30]MH_I2C_Read... [08:43:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:43:30]Read from MH i2c: E2 [08:43:30]MH_I2C_Read... [08:43:30]Read from MH i2c: E2 17 00 [08:43:30]MH_I2C_Read... [08:43:30]Read from MH i2c: E2 17 00 7D 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 59 [08:43:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:43:30]wFMCommunicate OK [08:43:30]requested_item fd.num is exist - process it [08:43:30]SAM_PROTO_GetFieldsCounters [08:43:30]wFMCommunicate request_size=4 [08:43:30]MH_SAM_APDU [08:43:30]CAPDU: 80 13 00 00 [08:43:30]Write to MH i2c: E2 08 00 7E 08 80 13 00 00 00 00 00 00 02 [08:43:30]Write i2c OK [08:43:30]MH_I2C_Read... [08:43:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:43:30]Read from MH i2c: E2 [08:43:30]MH_I2C_Read... [08:43:30]Read from MH i2c: E2 62 00 [08:43:30]MH_I2C_Read... [08:43:30]Read from MH i2c: E2 62 00 7E 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 B0 57 00 00 0E 04 04 00 E7 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 52 [08:43:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 B0 57 00 00 0E 04 04 00 E7 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 [08:43:30]wFMCommunicate OK [08:43:30]SAM_PROTO_GetFieldsCounters done [08:43:30]requested_item shift.num is exist - process it [08:43:30]requested_item shift.opened is exist - process it [08:43:30]req_shift_opened [08:43:30]FM_GetShiftState [08:43:30]SAM_PROTO_GetShiftState [08:43:30]wFMCommunicate request_size=4 [08:43:30]MH_SAM_APDU [08:43:30]CAPDU: 80 13 01 00 [08:43:30]Write to MH i2c: E2 08 00 7F 08 80 13 01 00 00 00 00 00 04 [08:43:30]Write i2c OK [08:43:30]MH_I2C_Read... [08:43:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:43:30]Read from MH i2c: E2 [08:43:30]MH_I2C_Read... [08:43:30]Read from MH i2c: E2 0E 00 [08:43:30]MH_I2C_Read... [08:43:30]Read from MH i2c: E2 0E 00 7F 08 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 95 [08:43:30]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [08:43:30]wFMCommunicate OK [08:43:30]SAM_PROTO_GetShiftState done [08:43:30]FM_GetShiftState done [08:43:30]req_shift_opened done [08:43:30]requested_item shift.open_date is exist - process it [08:43:30]req_shift_open_date [08:43:30]req_shift_open_date done [08:43:30]produce_requested_data done [08:43:30]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22448,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [08:43:30]process_action_free close_receipt [08:43:30]json_value_free [08:43:30]json_value_free done [08:43:30]process_json_proto returns [08:43:30]Send response to host [08:43:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22448,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [08:43:30]free response buf [08:43:30]execute_script done [08:43:30]execute_script returns [08:43:30]free content buf [08:43:30]Sock 10.Close socket [08:43:30]Sock 10.Thread stoped [08:43:34]OFD Sender: No OFD packet to send [08:43:39]OFD Sender: No OFD packet to send [08:43:44]OFD Sender: No OFD packet to send [08:43:49]OFD Sender: No OFD packet to send [08:43:52]accept exits with 9 [08:43:52]New connection [08:43:52]New thread 3067116900 created [08:43:52]Thread 3067260260 joined [08:43:52]Waiting for new connection... [08:43:52] Sock 9.Parse request [08:43:52]Sock 9.Check first char [08:43:52]Sock 9.First char is OK [08:43:52]request: POST /json_proto HTTP/1.0 [08:43:52]Method: POST [08:43:52]URL: /json_proto [08:43:52]Method is POST - this is cgi request [08:43:52]url: /json_proto [08:43:52]query_string will be loaded in cgi processing [08:43:52]execute_cgi json_proto POST (null) [08:43:52]execute_cgi path=json_proto method=POST [08:43:52]POST find Content-Length [08:43:52]Host: 172.17.43.4:8080 [08:43:52]Content-Length: 682 [08:43:52]Content-Type: application/json [08:43:52] [08:43:52]POST finish read [08:43:52]Found Content-Length = 682 [08:43:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2164543", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-5", "price" : 37.40, "quantity" : 16.050, "sum" : 600.27, "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" ] } } [08:43:52]execute_script... [08:43:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2164543", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-5", "price" : 37.40, "quantity" : 16.050, "sum" : 600.27, "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" ] } } [08:43:52]POST & json_proto [08:43:52]process_json_proto [08:43:52]json parsed OK: [08:43:52]protocol is kg_v1.0 [08:43:52]action value=close_receipt [08:43:52]process_action close_receipt [08:43:52]cmd_close_receipt [08:43:52]MH_GetDate [08:43:52]Write to MH i2c: F0 00 00 80 08 77 [08:43:52]Write i2c OK [08:43:52]MH_I2C_Read... [08:43:52]Read from MH i2c: F0 [08:43:52]MH_I2C_Read... [08:43:52]Read from MH i2c: F0 09 00 [08:43:52]MH_I2C_Read... [08:43:52]Read from MH i2c: F0 09 00 80 08 00 4A CD F3 66 02 BF CF 66 E6 [08:43:52]GetLastDocTimeStamp 1727253809 [08:43:52]current date 1727253834 [08:43:52]FM_GetShiftState [08:43:52]SAM_PROTO_GetShiftState [08:43:52]wFMCommunicate request_size=4 [08:43:52]MH_SAM_APDU [08:43:52]CAPDU: 80 13 01 00 [08:43:52]Write to MH i2c: E2 08 00 81 08 80 13 01 00 00 00 00 00 06 [08:43:52]Write i2c OK [08:43:52]MH_I2C_Read... [08:43:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:43:52]Read from MH i2c: E2 [08:43:52]MH_I2C_Read... [08:43:52]Read from MH i2c: E2 0E 00 [08:43:52]MH_I2C_Read... [08:43:52]Read from MH i2c: E2 0E 00 81 08 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 97 [08:43:52]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [08:43:52]wFMCommunicate OK [08:43:52]SAM_PROTO_GetShiftState done [08:43:52]FM_GetShiftState done [08:43:52]opened in 1727224020 [08:43:52]opened+sec_in_day 1727310420 [08:43:52]quantity*price = 60027 [08:43:52]sum+1 = 60028 [08:43:52]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.27 ИТОГО: 600.00 Внесено: 600.00 СДАЧА: 0.00 НСП 1% : 5.31 НДС 12% : 63.74 Наличными: 600.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 22 25.09.2024 08:43 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22449 ФПД: 178142836266759 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T084354&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22449&fm=178142836266759&tin=02508201610067®Number=0000000000146243&sum=60000 [08:43:53]StoreToDocumentArchive [08:43:53]shift 231 fd 22449 [08:43:53]save to /storage/0231/doc_00022449 [08:43:53]save last doc name /storage/0231/doc_00022449 to /storage/kkm_last_doc_name [08:43:53]save OK [08:43:53]Clear old archive folders... [08:43:53]ProcessDocumentItem done err = 0, tmpTLVsize=250 [08:43:53]tlvbuf is 00388390 [08:43:53]SAM_PROTO_ClearQueue [08:43:53]wFMCommunicate request_size=4 [08:43:53]MH_SAM_APDU [08:43:53]CAPDU: 80 09 00 00 [08:43:53]Write to MH i2c: E2 08 00 8E 08 80 09 00 00 00 00 00 00 08 [08:43:53]Write i2c OK [08:43:53]MH_I2C_Read... [08:43:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:43:53]Read from MH i2c: E2 [08:43:53]MH_I2C_Read... [08:43:53]Read from MH i2c: E2 03 00 [08:43:53]MH_I2C_Read... [08:43:53]Read from MH i2c: E2 03 00 8E 08 00 90 00 0A [08:43:53]RAPDU: 90 00 [08:43:53]wFMCommunicate OK [08:43:53]SAM_PROTO_ClearQueue done [08:43:53]KKMCreateOFDPacket [08:43:53]OFDProtocolAddRootSTLVToBuf [08:43:53]FM_MakeSignedData [08:43:53]FM_MakeSignedData [08:43:53]SAM_PROTO_SignData [08:43:53]wFMCommunicate request_size=4 [08:43:53]MH_SAM_APDU [08:43:53]CAPDU: 80 0D 01 02 [08:43:53]Write to MH i2c: E2 08 00 8F 08 80 0D 01 02 00 00 00 00 10 [08:43:53]Write i2c OK [08:43:53]MH_I2C_Read... [08:43:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:43:53]Read from MH i2c: E2 [08:43:53]MH_I2C_Read... [08:43:53]Read from MH i2c: E2 03 00 [08:43:53]MH_I2C_Read... [08:43:53]Read from MH i2c: E2 03 00 8F 08 00 90 00 0B [08:43:53]RAPDU: 90 00 [08:43:53]wFMCommunicate OK [08:43:53]wFMCommunicate request_size=255 [08:43:53]MH_SAM_APDU [08:43:53]CAPDU: 80 0D 02 02 FA 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 B2 3E 00 00 00 00 00 37 04 06 00 9C 0E 00 00 00 00 13 04 06 00 7B 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 E6 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 16 00 00 00 F4 03 04 00 4A CD F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B1 57 00 00 35 04 06 00 A2 05 [08:43:53]Write to MH i2c: E2 02 01 90 08 80 0D 02 02 FA 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 B2 3E 00 00 00 00 00 37 04 06 00 9C 0E 00 00 00 00 13 04 06 00 7B 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 E6 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 16 00 00 00 F4 03 04 00 4A CD F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B1 57 00 00 35 04 06 00 A2 05 00 00 85 [08:43:53]Write i2c OK [08:43:53]MH_I2C_Read... [08:43:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:43:53]Read from MH i2c: E2 [08:43:53]MH_I2C_Read... [08:43:53]Read from MH i2c: E2 03 00 [08:43:53]MH_I2C_Read... [08:43:53]Read from MH i2c: E2 03 00 90 08 00 90 00 0C [08:43:53]RAPDU: 90 00 [08:43:53]wFMCommunicate OK [08:43:53]wFMCommunicate request_size=9 [08:43:53]MH_SAM_APDU [08:43:53]CAPDU: 80 0D 02 02 04 1C 79 97 07 [08:43:53]Write to MH i2c: E2 0C 00 91 08 80 0D 02 02 04 00 1C 79 97 07 00 00 4E [08:43:53]Write i2c OK [08:43:53]MH_I2C_Read... [08:43:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:43:53]Read from MH i2c: E2 [08:43:53]MH_I2C_Read... [08:43:53]Read from MH i2c: E2 03 00 [08:43:53]MH_I2C_Read... [08:43:53]Read from MH i2c: E2 03 00 91 08 00 90 00 0D [08:43:53]RAPDU: 90 00 [08:43:53]wFMCommunicate OK [08:43:53]wFMCommunicate request_size=4 [08:43:53]MH_SAM_APDU [08:43:53]CAPDU: 80 0D 03 02 [08:43:53]Write to MH i2c: E2 08 00 92 08 80 0D 03 02 00 00 00 00 15 [08:43:53]Write i2c OK [08:43:53]MH_I2C_Read... [08:43:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:43:53]Read from MH i2c: E2 [08:43:53]MH_I2C_Read... [08:43:53]Read from MH i2c: E2 0B 00 [08:43:53]MH_I2C_Read... [08:43:53]Read from MH i2c: E2 0B 00 92 08 00 5B EC C3 AC 85 96 D1 3C 90 00 F4 [08:43:53]RAPDU: 5B EC C3 AC 85 96 D1 3C 90 00 [08:43:53]wFMCommunicate OK [08:43:53]SAM_PROTO_SignData done [08:43:53]FM_MakeSignedData done [08:43:53]CreateOFDProtocolMessage [08:43:53]wFMCommunicate request_size=4 [08:43:53]MH_SAM_APDU [08:43:53]CAPDU: 80 11 00 00 [08:43:53]Write to MH i2c: E2 08 00 93 08 80 11 00 00 00 00 00 00 15 [08:43:53]Write i2c OK [08:43:53]MH_I2C_Read... [08:43:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:43:53]Read from MH i2c: E2 [08:43:53]MH_I2C_Read... [08:43:53]Read from MH i2c: E2 17 00 [08:43:53]MH_I2C_Read... [08:43:53]Read from MH i2c: E2 17 00 93 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 6F [08:43:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:43:53]wFMCommunicate OK [08:43:53]CreateOFDProtocolMessage done [08:43:53]OFDSenderStorePacket 22449 [08:43:53]StoreOFDPacket docnum=22449 [08:43:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0E 01 00 00 53 A9 06 01 87 87 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 B2 3E 00 00 00 00 00 37 04 06 00 9C 0E 00 00 00 00 13 04 06 00 7B 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 E6 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 16 00 00 00 F4 03 04 00 4A CD F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B1 57 00 00 35 04 06 00 A2 05 1C 79 97 07 5B EC C3 AC 85 96 D1 3C [08:43:53]CheckFolder [08:43:53]dirname=/storage/ofd_packets [08:43:53]CheckFolder done [08:43:53]ProducePacketName [08:43:53]name=ofd_packets/00022449 [08:43:53]NVStorageSaveData ofd_packets/00022449 [08:43:53]File name is /storage/ofd_packets/00022449 [08:43:53]Write 300 bytes [08:43:53]NVStorageSaveData done [08:43:53]OFDSenderStorePacket done [08:43:53]KKMCreateOFDPacket done [08:43:53]NVStorageSaveData kkm_last_timestamp [08:43:53]File name is /storage/kkm_last_timestamp [08:43:53]Write 4 bytes [08:43:53]NVStorageSaveData done [08:43:53]ExternCall_PrintAddStr [08:43:53]wPrintStart [08:43:53]Write to MH i2c: 01 00 00 94 08 9C [08:43:53]Write i2c OK [08:43:53]MH_I2C_Read... [08:43:53]Read from MH i2c: 01 [08:43:53]MH_I2C_Read... [08:43:53]Read from MH i2c: 01 07 00 [08:43:53]MH_I2C_Read... [08:43:53]Read from MH i2c: 01 07 00 94 08 00 00 00 00 00 FF 0F B1 [08:43:53]RasterBufferAndPrint [08:43:53]line Счет N : (1)2164543 [08:43:53]line ИНН: 02508201610067 [08:43:53]line Контрольно-Кассовый Чек [08:43:53]line ПРОДАЖА [08:43:53]line ТРК (МРК, ГНК) : 51 [08:43:53]line Товар: 2711190000 [08:43:53]line ГАЗ-К-5 [08:43:53]line 16.050 * 37.40 [08:43:53]line = 600.27 [08:43:53]line НДС 12% НСП 1% [08:43:53]line > о реализуемом товаре [08:43:53]line ОКРУГЛЕНИЕ: -0.27 [08:43:53]line ИТОГО: 600.00 [08:43:53]line Внесено: 600.00 [08:43:53]line СДАЧА: 0.00 [08:43:53]line НСП 1% : 5.31 [08:43:53]line НДС 12% : 63.74 [08:43:53]line Наличными: 600.00 [08:43:53]line Безнал.: 0.00 [08:43:53]line Место: АЗС № 88 "Партнер Нефть" [08:43:53]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [08:43:53]line СНО: Общий режим [08:43:53]line Чек 22 25.09.2024 08:43 [08:43:53]line Смена: 231 ФФД: 1.0 [08:43:53]line ЗНМ: 0300000061 [08:43:53]line РНМ: 0000000000146243 [08:43:53]line Версия ККМ: v1.0 [08:43:53]line ФМ: 0000000000959358 [08:43:53]line ФД: 22449 [08:43:53]line ФПД: 178142836266759 [08:43:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T084354&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22449&fm=178142836266759&tin=02508201610067®Number=0000000000146243&sum=60000 [08:43:54]OFD Sender: Processing packet 22449 [packets to send 23, broken 22] [08:43:54]ProducePacketName [08:43:54]name=ofd_packets/00022449 [08:43:54]OFD Sender: To server: pG, [08:43:54]CommunicateWithHost lk.salyk.kg:30040 [08:43:54]ConnectInit lk.salyk.kg [08:43:54]written 0, free lines is 4095 [08:43:54]Write to MH i2c: 01 00 00 BF 08 C7 [08:43:54]Write i2c OK [08:43:54]MH_I2C_Read... [08:43:54]Read from MH i2c: 01 [08:43:54]MH_I2C_Read... [08:43:54]Read from MH i2c: 01 07 00 [08:43:54]MH_I2C_Read... [08:43:54]Read from MH i2c: 01 07 00 BF 08 00 00 00 00 00 EC 0C C6 [08:43:54]RasterBufferAndPrint [08:43:54]line [08:43:54]line [08:43:54]line [08:43:54]line [08:43:54]line [08:43:54]written 0, free lines is 3311 [08:43:54]MH_Cut [08:43:54]Write to MH i2c: D1 01 00 C6 08 01 A0 [08:43:54]Write i2c OK [08:43:54]MH_I2C_Read... [08:43:54]Read from MH i2c: D1 [08:43:54]MH_I2C_Read... [08:43:54]Read from MH i2c: D1 01 00 [08:43:54]MH_I2C_Read... [08:43:54]Read from MH i2c: D1 01 00 C6 08 00 9F [08:43:54]Write to MH i2c: 01 00 00 C7 08 CF [08:43:54]Write i2c OK [08:43:54]MH_I2C_Read... [08:43:54]Connected sock=11 [08:43:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0E 01 00 00 53 A9 06 01 87 87 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 B2 3E 00 00 00 00 00 37 04 06 00 9C 0E 00 00 00 00 13 04 06 00 7B 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 E6 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 16 00 00 00 F4 03 04 00 4A CD F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B1 57 00 00 35 04 06 00 A2 05 1C 79 97 07 5B EC C3 AC 85 96 D1 3C [08:43:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 97 22 47 00 BB C0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B1 57 00 00 F4 03 04 00 6D 77 F3 66 B6 04 01 00 00 02 3E C2 9B E9 AC 65 D8 [08:43:54]CommunicateWithHost err = 0 [08:43:54]CheckOFDResponse [08:43:54]1017 (14) - 77093643461234 [08:43:54]1041 (16) - 0000000000959358 [08:43:54]1040 (4) - 22449 [08:43:54]1012 (4) - 25.09.2024 02:37 [08:43:54]1206 (1) - 0 [08:43:54]OFD Sender: Remove packet 22449 [08:43:54]ProducePacketName [08:43:54]name=ofd_packets/00022449 [08:43:54]NVStorageDeleteData [08:43:55]*** Cut start [08:43:55]*** Partial cut [08:43:55]*** CUTSNS_PIN = 1 [08:43:55]*** CUTSNS_PIN = 0 [08:43:55]OFD Sender: No OFD packet to send [08:43:55]*** Brake cut motor [08:43:55]Read from MH i2c: 01 [08:43:55]MH_I2C_Read... [08:43:55]*** Stop cut motor [08:43:55]*** Cut end [08:43:55]Read from MH i2c: 01 07 00 [08:43:55]MH_I2C_Read... [08:43:55]Read from MH i2c: 01 07 00 C7 08 00 00 00 00 00 FF 0F E4 [08:43:55]process_action close_receipt done [08:43:55]requested_data is exist [08:43:55]produce_requested_data [08:43:55]requested_item fm.sn is exist - process it [08:43:55]wFMCommunicate request_size=4 [08:43:55]MH_SAM_APDU [08:43:55]CAPDU: 80 11 00 00 [08:43:55]Write to MH i2c: E2 08 00 C8 08 80 11 00 00 00 00 00 00 4A [08:43:55]Write i2c OK [08:43:55]MH_I2C_Read... [08:43:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:43:55]Read from MH i2c: E2 [08:43:55]MH_I2C_Read... [08:43:55]Read from MH i2c: E2 17 00 [08:43:55]MH_I2C_Read... [08:43:55]Read from MH i2c: E2 17 00 C8 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 A4 [08:43:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:43:55]wFMCommunicate OK [08:43:55]requested_item fd.num is exist - process it [08:43:55]SAM_PROTO_GetFieldsCounters [08:43:55]wFMCommunicate request_size=4 [08:43:55]MH_SAM_APDU [08:43:55]CAPDU: 80 13 00 00 [08:43:55]Write to MH i2c: E2 08 00 C9 08 80 13 00 00 00 00 00 00 4D [08:43:55]Write i2c OK [08:43:55]MH_I2C_Read... [08:43:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:43:56]Read from MH i2c: E2 [08:43:56]MH_I2C_Read... [08:43:56]Read from MH i2c: E2 62 00 [08:43:56]MH_I2C_Read... [08:43:56]Read from MH i2c: E2 62 00 C9 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 B1 57 00 00 0E 04 04 00 E7 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 A1 [08:43:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 B1 57 00 00 0E 04 04 00 E7 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 [08:43:56]wFMCommunicate OK [08:43:56]SAM_PROTO_GetFieldsCounters done [08:43:56]requested_item shift.num is exist - process it [08:43:56]requested_item shift.opened is exist - process it [08:43:56]req_shift_opened [08:43:56]FM_GetShiftState [08:43:56]SAM_PROTO_GetShiftState [08:43:56]wFMCommunicate request_size=4 [08:43:56]MH_SAM_APDU [08:43:56]CAPDU: 80 13 01 00 [08:43:56]Write to MH i2c: E2 08 00 CA 08 80 13 01 00 00 00 00 00 4F [08:43:56]Write i2c OK [08:43:56]MH_I2C_Read... [08:43:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:43:56]Read from MH i2c: E2 [08:43:56]MH_I2C_Read... [08:43:56]Read from MH i2c: E2 0E 00 [08:43:56]MH_I2C_Read... [08:43:56]Read from MH i2c: E2 0E 00 CA 08 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 E0 [08:43:56]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [08:43:56]wFMCommunicate OK [08:43:56]SAM_PROTO_GetShiftState done [08:43:56]FM_GetShiftState done [08:43:56]req_shift_opened done [08:43:56]requested_item shift.open_date is exist - process it [08:43:56]req_shift_open_date [08:43:56]req_shift_open_date done [08:43:56]produce_requested_data done [08:43:56]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22449,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [08:43:56]process_action_free close_receipt [08:43:56]json_value_free [08:43:56]json_value_free done [08:43:56]process_json_proto returns [08:43:56]Send response to host [08:43:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22449,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [08:43:56]free response buf [08:43:56]execute_script done [08:43:56]execute_script returns [08:43:56]free content buf [08:43:56]Sock 9.Close socket [08:43:56]Sock 9.Thread stoped [08:44:00]OFD Sender: No OFD packet to send [08:44:05]OFD Sender: No OFD packet to send [08:44:10]OFD Sender: No OFD packet to send [08:44:15]OFD Sender: No OFD packet to send [08:44:20]OFD Sender: No OFD packet to send [08:44:25]OFD Sender: No OFD packet to send [08:44:30]OFD Sender: No OFD packet to send [08:44:35]OFD Sender: No OFD packet to send [08:44:40]OFD Sender: No OFD packet to send [08:44:45]OFD Sender: No OFD packet to send [08:44:50]OFD Sender: No OFD packet to send [08:44:55]OFD Sender: No OFD packet to send [08:45:00]OFD Sender: No OFD packet to send [08:45:05]OFD Sender: No OFD packet to send [08:45:10]OFD Sender: No OFD packet to send [08:45:15]OFD Sender: No OFD packet to send [08:45:20]OFD Sender: No OFD packet to send [08:45:25]OFD Sender: No OFD packet to send [08:45:30]OFD Sender: No OFD packet to send [08:45:35]OFD Sender: No OFD packet to send [08:45:40]OFD Sender: No OFD packet to send [08:45:45]OFD Sender: No OFD packet to send [08:45:50]OFD Sender: No OFD packet to send [08:45:54]accept exits with 8 [08:45:54]New connection [08:45:54]New thread 3067260260 created [08:45:54]Thread 3067116900 joined [08:45:54]Waiting for new connection... [08:45:54] Sock 8.Parse request [08:45:54]Sock 8.Check first char [08:45:54]Sock 8.First char is OK [08:45:54]request: POST /json_proto HTTP/1.0 [08:45:54]Method: POST [08:45:54]URL: /json_proto [08:45:54]Method is POST - this is cgi request [08:45:54]url: /json_proto [08:45:54]query_string will be loaded in cgi processing [08:45:54]execute_cgi json_proto POST (null) [08:45:54]execute_cgi path=json_proto method=POST [08:45:54]POST find Content-Length [08:45:54]Host: 172.17.43.4:8080 [08:45:54]Content-Length: 763 [08:45:54]Content-Type: application/json [08:45:54] [08:45:54]POST finish read [08:45:54]Found Content-Length = 763 [08:45:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2164545", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 0.00, "quantity" : 26.960, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:45:54]execute_script... [08:45:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2164545", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 0.00, "quantity" : 26.960, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:45:54]POST & json_proto [08:45:54]process_json_proto [08:45:54]json parsed OK: [08:45:54]protocol is kg_v1.0 [08:45:54]action value=close_receipt [08:45:54]process_action close_receipt [08:45:54]cmd_close_receipt [08:45:54]MH_GetDate [08:45:54]Write to MH i2c: F0 00 00 CB 08 C2 [08:45:54]Write i2c OK [08:45:54]MH_I2C_Read... [08:45:54]Read from MH i2c: F0 [08:45:54]MH_I2C_Read... [08:45:54]Read from MH i2c: F0 09 00 [08:45:54]MH_I2C_Read... [08:45:54]Read from MH i2c: F0 09 00 CB 08 00 C5 CD F3 66 02 BF CF 66 AC [08:45:54]GetLastDocTimeStamp 1727253834 [08:45:54]current date 1727253957 [08:45:54]FM_GetShiftState [08:45:54]SAM_PROTO_GetShiftState [08:45:54]wFMCommunicate request_size=4 [08:45:54]MH_SAM_APDU [08:45:54]CAPDU: 80 13 01 00 [08:45:54]Write to MH i2c: E2 08 00 CC 08 80 13 01 00 00 00 00 00 51 [08:45:54]Write i2c OK [08:45:54]MH_I2C_Read... [08:45:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:45:55]Read from MH i2c: E2 [08:45:55]MH_I2C_Read... [08:45:55]Read from MH i2c: E2 0E 00 [08:45:55]MH_I2C_Read... [08:45:55]Read from MH i2c: E2 0E 00 CC 08 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 E2 [08:45:55]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [08:45:55]wFMCommunicate OK [08:45:55]SAM_PROTO_GetShiftState done [08:45:55]FM_GetShiftState done [08:45:55]opened in 1727224020 [08:45:55]opened+sec_in_day 1727310420 [08:45:55]quantity*price = 0 [08:45:55]sum+1 = 1 [08:45:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 23 25.09.2024 08:45 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000959358 ФД: 22450 ФПД: 43478254530547 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T084557&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22450&fm=43478254530547&tin=02508201610067®Number=0000000000146243&sum=0 [08:45:56]StoreToDocumentArchive [08:45:56]shift 231 fd 22450 [08:45:56]save to /storage/0231/doc_00022450 [08:45:56]save last doc name /storage/0231/doc_00022450 to /storage/kkm_last_doc_name [08:45:56]save OK [08:45:56]Clear old archive folders... [08:45:56]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:45:56]tlvbuf is 003358D0 [08:45:56]SAM_PROTO_ClearQueue [08:45:56]wFMCommunicate request_size=4 [08:45:56]MH_SAM_APDU [08:45:56]CAPDU: 80 09 00 00 [08:45:56]Write to MH i2c: E2 08 00 D9 08 80 09 00 00 00 00 00 00 53 [08:45:56]Write i2c OK [08:45:56]MH_I2C_Read... [08:45:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:45:56]Read from MH i2c: E2 [08:45:56]MH_I2C_Read... [08:45:56]Read from MH i2c: E2 03 00 [08:45:56]MH_I2C_Read... [08:45:56]Read from MH i2c: E2 03 00 D9 08 00 90 00 55 [08:45:56]RAPDU: 90 00 [08:45:56]wFMCommunicate OK [08:45:56]SAM_PROTO_ClearQueue done [08:45:56]KKMCreateOFDPacket [08:45:56]OFDProtocolAddRootSTLVToBuf [08:45:56]FM_MakeSignedData [08:45:56]FM_MakeSignedData [08:45:56]SAM_PROTO_SignData [08:45:56]wFMCommunicate request_size=4 [08:45:56]MH_SAM_APDU [08:45:56]CAPDU: 80 0D 01 02 [08:45:56]Write to MH i2c: E2 08 00 DA 08 80 0D 01 02 00 00 00 00 5B [08:45:56]Write i2c OK [08:45:56]MH_I2C_Read... [08:45:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:45:56]Read from MH i2c: E2 [08:45:56]MH_I2C_Read... [08:45:56]Read from MH i2c: E2 03 00 [08:45:56]MH_I2C_Read... [08:45:56]Read from MH i2c: E2 03 00 DA 08 00 90 00 56 [08:45:56]RAPDU: 90 00 [08:45:56]wFMCommunicate OK [08:45:56]wFMCommunicate request_size=255 [08:45:56]MH_SAM_APDU [08:45:56]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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 50 69 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 17 00 00 00 F4 03 04 00 C5 CD F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B2 57 00 00 35 04 06 00 27 [08:45:56]Write to MH i2c: E2 02 01 DB 08 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 50 69 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 17 00 00 00 F4 03 04 00 C5 CD F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B2 57 00 00 35 04 06 00 27 00 00 3D [08:45:56]Write i2c OK [08:45:56]MH_I2C_Read... [08:45:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:45:56]Read from MH i2c: E2 [08:45:56]MH_I2C_Read... [08:45:56]Read from MH i2c: E2 03 00 [08:45:56]MH_I2C_Read... [08:45:56]Read from MH i2c: E2 03 00 DB 08 00 90 00 57 [08:45:56]RAPDU: 90 00 [08:45:56]wFMCommunicate OK [08:45:56]wFMCommunicate request_size=10 [08:45:56]MH_SAM_APDU [08:45:56]CAPDU: 80 0D 02 02 05 8B 11 EA AF F3 [08:45:56]Write to MH i2c: E2 0D 00 DC 08 80 0D 02 02 05 00 8B 11 EA AF F3 00 00 90 [08:45:56]Write i2c OK [08:45:56]MH_I2C_Read... [08:45:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:45:56]Read from MH i2c: E2 [08:45:56]MH_I2C_Read... [08:45:56]Read from MH i2c: E2 03 00 [08:45:56]MH_I2C_Read... [08:45:56]Read from MH i2c: E2 03 00 DC 08 00 90 00 58 [08:45:56]RAPDU: 90 00 [08:45:56]wFMCommunicate OK [08:45:56]wFMCommunicate request_size=4 [08:45:56]MH_SAM_APDU [08:45:56]CAPDU: 80 0D 03 02 [08:45:56]Write to MH i2c: E2 08 00 DD 08 80 0D 03 02 00 00 00 00 60 [08:45:56]Write i2c OK [08:45:56]MH_I2C_Read... [08:45:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:45:56]Read from MH i2c: E2 [08:45:56]MH_I2C_Read... [08:45:56]Read from MH i2c: E2 0B 00 [08:45:56]MH_I2C_Read... [08:45:56]Read from MH i2c: E2 0B 00 DD 08 00 58 65 4E BD 36 F6 DB CC 90 00 FC [08:45:56]RAPDU: 58 65 4E BD 36 F6 DB CC 90 00 [08:45:56]wFMCommunicate OK [08:45:56]SAM_PROTO_SignData done [08:45:56]FM_MakeSignedData done [08:45:56]CreateOFDProtocolMessage [08:45:56]wFMCommunicate request_size=4 [08:45:56]MH_SAM_APDU [08:45:56]CAPDU: 80 11 00 00 [08:45:56]Write to MH i2c: E2 08 00 DE 08 80 11 00 00 00 00 00 00 60 [08:45:56]Write i2c OK [08:45:56]MH_I2C_Read... [08:45:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:45:56]Read from MH i2c: E2 [08:45:56]MH_I2C_Read... [08:45:56]Read from MH i2c: E2 17 00 [08:45:56]MH_I2C_Read... [08:45:56]Read from MH i2c: E2 17 00 DE 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 BA [08:45:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:45:56]wFMCommunicate OK [08:45:56]CreateOFDProtocolMessage done [08:45:56]OFDSenderStorePacket 22450 [08:45:56]StoreOFDPacket docnum=22450 [08:45:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 EF C5 07 01 E9 22 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 50 69 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 17 00 00 00 F4 03 04 00 C5 CD F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B2 57 00 00 35 04 06 00 27 8B 11 EA AF F3 58 65 4E BD 36 F6 DB CC [08:45:56]CheckFolder [08:45:56]dirname=/storage/ofd_packets [08:45:56]CheckFolder done [08:45:56]ProducePacketName [08:45:56]name=ofd_packets/00022450 [08:45:56]NVStorageSaveData ofd_packets/00022450 [08:45:56]File name is /storage/ofd_packets/00022450 [08:45:56]Write 301 bytes [08:45:56]NVStorageSaveData done [08:45:56]OFDSenderStorePacket done [08:45:56]KKMCreateOFDPacket done [08:45:56]NVStorageSaveData kkm_last_timestamp [08:45:56]File name is /storage/kkm_last_timestamp [08:45:56]Write 4 bytes [08:45:56]NVStorageSaveData done [08:45:56]ExternCall_PrintAddStr [08:45:56]wPrintStart [08:45:56]Write to MH i2c: 01 00 00 DF 08 E7 [08:45:56]Write i2c OK [08:45:56]MH_I2C_Read... [08:45:56]Read from MH i2c: 01 [08:45:56]MH_I2C_Read... [08:45:56]Read from MH i2c: 01 07 00 [08:45:56]MH_I2C_Read... [08:45:56]Read from MH i2c: 01 07 00 DF 08 00 00 00 00 00 FF 0F FC [08:45:56]RasterBufferAndPrint [08:45:56]line Счет N : (1)2164545 [08:45:56]line ИНН: 02508201610067 [08:45:56]line Контрольно-Кассовый Чек [08:45:56]line ПРОДАЖА [08:45:56]line ТРК (МРК, ГНК) : 13 [08:45:56]line Товар: 2710124500 [08:45:56]line Аи-95-К-5 [08:45:56]line 26.960 * 0.00 [08:45:56]line = 0.00 [08:45:56]line НДС 12% НСП 1% [08:45:56]line > о реализуемом товаре [08:45:56]line ИТОГО: 0.00 [08:45:56]line НСП 1% : 0.00 [08:45:56]line НДС 12% : 0.00 [08:45:56]line Наличными: 0.00 [08:45:56]line Безнал.: 0.00 [08:45:56]line Место: АЗС № 88 "Партнер Нефть" [08:45:56]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [08:45:56]line СНО: Общий режим [08:45:56]line Чек 23 25.09.2024 08:45 [08:45:56]line Смена: 231 ФФД: 1.0 [08:45:56]line ЗНМ: 0300000061 [08:45:56]line РНМ: 0000000000146243 [08:45:56]line Версия ККМ: v1.0 [08:45:56]line Платежная система: Mbank [08:45:56]line ФМ: 0000000000959358 [08:45:56]line ФД: 22450 [08:45:56]line ФПД: 43478254530547 [08:45:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T084557&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22450&fm=43478254530547&tin=02508201610067®Number=0000000000146243&sum=0 [08:45:56]OFD Sender: Processing packet 22450 [packets to send 23, broken 22] [08:45:56]ProducePacketName [08:45:56]name=ofd_packets/00022450 [08:45:56]OFD Sender: To server: pG, [08:45:56]CommunicateWithHost lk.salyk.kg:30040 [08:45:56]ConnectInit lk.salyk.kg [08:45:57]written 0, free lines is 4095 [08:45:57]Connected sock=10 [08:45:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 EF C5 07 01 E9 22 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 50 69 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 17 00 00 00 F4 03 04 00 C5 CD F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B2 57 00 00 35 04 06 00 27 8B 11 EA AF F3 58 65 4E BD 36 F6 DB CC [08:45:57]Write to MH i2c: 01 00 00 08 09 11 [08:45:57]Write i2c OK [08:45:57]MH_I2C_Read... [08:45:57]Read from MH i2c: 01 [08:45:57]MH_I2C_Read... [08:45:57]Read from MH i2c: 01 07 00 [08:45:57]MH_I2C_Read... [08:45:57]Read from MH i2c: 01 07 00 08 09 00 00 00 00 00 1F 0D 44 [08:45:57]RasterBufferAndPrint [08:45:57]line [08:45:57]line [08:45:57]line [08:45:57]line [08:45:57]line [08:45:57]written 0, free lines is 3365 [08:45:57]MH_Cut [08:45:57]Write to MH i2c: D1 01 00 0F 09 01 EA [08:45:57]Write i2c OK [08:45:57]MH_I2C_Read... [08:45:57]Read from MH i2c: D1 [08:45:57]MH_I2C_Read... [08:45:57]Read from MH i2c: D1 01 00 [08:45:57]MH_I2C_Read... [08:45:57]Read from MH i2c: D1 01 00 0F 09 00 E9 [08:45:57]Write to MH i2c: 01 00 00 10 09 19 [08:45:57]Write i2c OK [08:45:57]MH_I2C_Read... [08:45:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 4D 2C 47 00 71 19 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B2 57 00 00 F4 03 04 00 E8 77 F3 66 B6 04 01 00 00 B8 DE 1D F8 A9 97 B7 16 [08:45:57]CommunicateWithHost err = 0 [08:45:57]CheckOFDResponse [08:45:57]1017 (14) - 77093643461234 [08:45:57]1041 (16) - 0000000000959358 [08:45:57]1040 (4) - 22450 [08:45:57]1012 (4) - 25.09.2024 02:39 [08:45:57]1206 (1) - 0 [08:45:57]OFD Sender: Remove packet 22450 [08:45:57]ProducePacketName [08:45:57]name=ofd_packets/00022450 [08:45:57]NVStorageDeleteData [08:45:58]OFD Sender: No OFD packet to send [08:45:58]*** Cut start [08:45:58]*** Partial cut [08:45:58]*** CUTSNS_PIN = 1 [08:45:58]*** CUTSNS_PIN = 0 [08:45:58]*** Brake cut motor [08:45:58]Read from MH i2c: 01 [08:45:58]MH_I2C_Read... [08:45:58]*** Stop cut motor [08:45:58]*** Cut end [08:45:58]Read from MH i2c: 01 07 00 [08:45:58]MH_I2C_Read... [08:45:58]Read from MH i2c: 01 07 00 10 09 00 00 00 00 00 FF 0F 2E [08:45:58]process_action close_receipt done [08:45:58]requested_data is exist [08:45:58]produce_requested_data [08:45:58]requested_item fm.sn is exist - process it [08:45:58]wFMCommunicate request_size=4 [08:45:58]MH_SAM_APDU [08:45:58]CAPDU: 80 11 00 00 [08:45:58]Write to MH i2c: E2 08 00 11 09 80 11 00 00 00 00 00 00 94 [08:45:58]Write i2c OK [08:45:58]MH_I2C_Read... [08:45:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:45:58]Read from MH i2c: E2 [08:45:58]MH_I2C_Read... [08:45:58]Read from MH i2c: E2 17 00 [08:45:58]MH_I2C_Read... [08:45:58]Read from MH i2c: E2 17 00 11 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 EE [08:45:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:45:58]wFMCommunicate OK [08:45:58]requested_item fd.num is exist - process it [08:45:58]SAM_PROTO_GetFieldsCounters [08:45:58]wFMCommunicate request_size=4 [08:45:58]MH_SAM_APDU [08:45:58]CAPDU: 80 13 00 00 [08:45:58]Write to MH i2c: E2 08 00 12 09 80 13 00 00 00 00 00 00 97 [08:45:58]Write i2c OK [08:45:58]MH_I2C_Read... [08:45:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:45:58]Read from MH i2c: E2 [08:45:58]MH_I2C_Read... [08:45:58]Read from MH i2c: E2 62 00 [08:45:58]MH_I2C_Read... [08:45:58]Read from MH i2c: E2 62 00 12 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 B2 57 00 00 0E 04 04 00 E7 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 EF [08:45:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 B2 57 00 00 0E 04 04 00 E7 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 [08:45:58]wFMCommunicate OK [08:45:58]SAM_PROTO_GetFieldsCounters done [08:45:58]requested_item shift.num is exist - process it [08:45:58]requested_item shift.opened is exist - process it [08:45:58]req_shift_opened [08:45:58]FM_GetShiftState [08:45:58]SAM_PROTO_GetShiftState [08:45:58]wFMCommunicate request_size=4 [08:45:58]MH_SAM_APDU [08:45:58]CAPDU: 80 13 01 00 [08:45:58]Write to MH i2c: E2 08 00 13 09 80 13 01 00 00 00 00 00 99 [08:45:58]Write i2c OK [08:45:58]MH_I2C_Read... [08:45:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:45:58]Read from MH i2c: E2 [08:45:58]MH_I2C_Read... [08:45:58]Read from MH i2c: E2 0E 00 [08:45:58]MH_I2C_Read... [08:45:58]Read from MH i2c: E2 0E 00 13 09 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 2A [08:45:58]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [08:45:58]wFMCommunicate OK [08:45:58]SAM_PROTO_GetShiftState done [08:45:58]FM_GetShiftState done [08:45:58]req_shift_opened done [08:45:58]requested_item shift.open_date is exist - process it [08:45:58]req_shift_open_date [08:45:58]req_shift_open_date done [08:45:58]produce_requested_data done [08:45:58]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22450,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [08:45:58]process_action_free close_receipt [08:45:58]json_value_free [08:45:58]json_value_free done [08:45:58]process_json_proto returns [08:45:58]Send response to host [08:45:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22450,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [08:45:58]free response buf [08:45:58]execute_script done [08:45:58]execute_script returns [08:45:58]free content buf [08:45:58]Sock 8.Close socket [08:45:58]Sock 8.Thread stoped [08:46:03]OFD Sender: No OFD packet to send [08:46:08]OFD Sender: No OFD packet to send [08:46:13]OFD Sender: No OFD packet to send [08:46:18]OFD Sender: No OFD packet to send [08:46:23]OFD Sender: No OFD packet to send [08:46:28]OFD Sender: No OFD packet to send [08:46:33]OFD Sender: No OFD packet to send [08:46:38]OFD Sender: No OFD packet to send [08:46:43]OFD Sender: No OFD packet to send [08:46:48]OFD Sender: No OFD packet to send [08:46:53]OFD Sender: No OFD packet to send [08:46:58]OFD Sender: No OFD packet to send [08:47:03]OFD Sender: No OFD packet to send [08:47:08]OFD Sender: No OFD packet to send [08:47:13]OFD Sender: No OFD packet to send [08:47:18]OFD Sender: No OFD packet to send [08:47:23]OFD Sender: No OFD packet to send [08:47:28]OFD Sender: No OFD packet to send [08:47: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: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: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 [08:49:33]OFD Sender: No OFD packet to send [08:49:38]OFD Sender: No OFD packet to send [08:49:43]OFD Sender: No OFD packet to send [08:49:48]OFD Sender: No OFD packet to send [08:49:53]OFD Sender: No OFD packet to send [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: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:18]OFD Sender: No OFD packet to send [08:51:23]OFD Sender: No OFD packet to send [08:51:28]OFD Sender: No OFD packet to send [08:51:33]OFD Sender: No OFD packet to send [08:51:38]OFD Sender: No OFD packet to send [08:51:43]OFD Sender: No OFD packet to send [08:51:48]OFD Sender: No OFD packet to send [08:51:53]OFD Sender: No OFD packet to send [08:51:58]OFD Sender: No OFD packet to send [08:52:03]OFD Sender: No OFD packet to send [08:52:08]OFD Sender: No OFD packet to send [08:52:13]OFD Sender: No OFD packet to send [08:52:18]OFD Sender: No OFD packet to send [08:52:23]OFD Sender: No OFD packet to send [08:52:28]OFD Sender: No OFD packet to send [08:52:33]OFD Sender: No OFD packet to send [08:52:38]OFD Sender: No OFD packet to send [08:52:43]OFD Sender: No OFD packet to send [08:52:48]OFD Sender: No OFD packet to send [08:52:51]accept exits with 9 [08:52:51]New connection [08:52:51]New thread 3067116900 created [08:52:51]Thread 3067260260 joined [08:52:51]Waiting for new connection... [08:52:51] Sock 9.Parse request [08:52:51]Sock 9.Check first char [08:52:51]Sock 9.First char is OK [08:52:51]request: POST /json_proto HTTP/1.0 [08:52:51]Method: POST [08:52:51]URL: /json_proto [08:52:51]Method is POST - this is cgi request [08:52:51]url: /json_proto [08:52:51]query_string will be loaded in cgi processing [08:52:51]execute_cgi json_proto POST (null) [08:52:51]execute_cgi path=json_proto method=POST [08:52:51]POST find Content-Length [08:52:51]Host: 172.17.43.4:8080 [08:52:51]Content-Length: 1121 [08:52:51]Content-Type: application/json [08:52:51] [08:52:51]POST finish read [08:52:51]Found Content-Length = 1121 [08:52:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51660", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 0.00, "quantity" : 2.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607123066058", "name": "\u041F\u0435\u0447\u0435\u043D\u044C\u0435 \u042E\u0431\u0438\u043B\u0435\u0439\u043D\u043E\u0435 \u0422\u043E\u0440\u0436\u0435\u0441\u0442\u0432\u043E \u043E\u0440\u0435\u0445 120\u0433", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:52:51]execute_script... [08:52:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51660", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 0.00, "quantity" : 2.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607123066058", "name": "\u041F\u0435\u0447\u0435\u043D\u044C\u0435 \u042E\u0431\u0438\u043B\u0435\u0439\u043D\u043E\u0435 \u0422\u043E\u0440\u0436\u0435\u0441\u0442\u0432\u043E \u043E\u0440\u0435\u0445 120\u0433", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:52:51]POST & json_proto [08:52:51]process_json_proto [08:52:51]json parsed OK: [08:52:51]protocol is kg_v1.0 [08:52:51]action value=close_receipt [08:52:51]process_action close_receipt [08:52:51]cmd_close_receipt [08:52:51]MH_GetDate [08:52:51]Write to MH i2c: F0 00 00 14 09 0C [08:52:51]Write i2c OK [08:52:51]MH_I2C_Read... [08:52:51]Read from MH i2c: F0 [08:52:51]MH_I2C_Read... [08:52:51]Read from MH i2c: F0 09 00 [08:52:51]MH_I2C_Read... [08:52:51]Read from MH i2c: F0 09 00 14 09 00 65 CF F3 66 02 BF CF 66 98 [08:52:51]GetLastDocTimeStamp 1727253957 [08:52:51]current date 1727254373 [08:52:51]FM_GetShiftState [08:52:51]SAM_PROTO_GetShiftState [08:52:51]wFMCommunicate request_size=4 [08:52:51]MH_SAM_APDU [08:52:51]CAPDU: 80 13 01 00 [08:52:51]Write to MH i2c: E2 08 00 15 09 80 13 01 00 00 00 00 00 9B [08:52:51]Write i2c OK [08:52:51]MH_I2C_Read... [08:52:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:52:51]Read from MH i2c: E2 [08:52:51]MH_I2C_Read... [08:52:51]Read from MH i2c: E2 0E 00 [08:52:51]MH_I2C_Read... [08:52:51]Read from MH i2c: E2 0E 00 15 09 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 2C [08:52:51]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [08:52:51]wFMCommunicate OK [08:52:51]SAM_PROTO_GetShiftState done [08:52:51]FM_GetShiftState done [08:52:51]opened in 1727224020 [08:52:51]opened+sec_in_day 1727310420 [08:52:51]quantity*price = 0 [08:52:51]sum+1 = 1 [08:52:51]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607123066058 Печенье Юбилейное Торжество орех 120г 1.000 * 0.00 = 0.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 24 25.09.2024 08:52 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000959358 ФД: 22451 ФПД: 22642097002100 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T085253&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22451&fm=22642097002100&tin=02508201610067®Number=0000000000146243&sum=0 0 [08:52:52]StoreToDocumentArchive [08:52:52]shift 231 fd 22451 [08:52:52]save to /storage/0231/doc_00022451 [08:52:52]save last doc name /storage/0231/doc_00022451 to /storage/kkm_last_doc_name [08:52:52]save OK [08:52:52]Clear old archive folders... [08:52:52]ProcessDocumentItem done err = 0, tmpTLVsize=419 [08:52:52]tlvbuf is 0039D090 [08:52:52]SAM_PROTO_ClearQueue [08:52:52]wFMCommunicate request_size=4 [08:52:52]MH_SAM_APDU [08:52:52]CAPDU: 80 09 00 00 [08:52:52]Write to MH i2c: E2 08 00 22 09 80 09 00 00 00 00 00 00 9D [08:52:52]Write i2c OK [08:52:52]MH_I2C_Read... [08:52:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:52:52]Read from MH i2c: E2 [08:52:52]MH_I2C_Read... [08:52:52]Read from MH i2c: E2 03 00 [08:52:52]MH_I2C_Read... [08:52:52]Read from MH i2c: E2 03 00 22 09 00 90 00 9F [08:52:52]RAPDU: 90 00 [08:52:52]wFMCommunicate OK [08:52:52]SAM_PROTO_ClearQueue done [08:52:52]KKMCreateOFDPacket [08:52:52]OFDProtocolAddRootSTLVToBuf [08:52:52]FM_MakeSignedData [08:52:52]FM_MakeSignedData [08:52:52]SAM_PROTO_SignData [08:52:52]wFMCommunicate request_size=4 [08:52:52]MH_SAM_APDU [08:52:52]CAPDU: 80 0D 01 02 [08:52:52]Write to MH i2c: E2 08 00 23 09 80 0D 01 02 00 00 00 00 A5 [08:52:52]Write i2c OK [08:52:52]MH_I2C_Read... [08:52:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:52:52]Read from MH i2c: E2 [08:52:52]MH_I2C_Read... [08:52:52]Read from MH i2c: E2 03 00 [08:52:52]MH_I2C_Read... [08:52:52]Read from MH i2c: E2 03 00 23 09 00 90 00 A0 [08:52:52]RAPDU: 90 00 [08:52:52]wFMCommunicate OK [08:52:52]wFMCommunicate request_size=255 [08:52:52]MH_SAM_APDU [08:52:52]CAPDU: 80 0D 02 02 FA 03 00 A3 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 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 23 04 87 00 8A 04 0D 00 34 36 30 37 31 32 33 30 36 36 30 35 38 06 04 43 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BE D1 80 D0 B5 D1 85 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 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 [08:52:52]Write to MH i2c: E2 02 01 24 09 80 0D 02 02 FA 00 03 00 A3 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 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 23 04 87 00 8A 04 0D 00 34 36 30 37 31 32 33 30 36 36 30 35 38 06 04 43 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BE D1 80 D0 B5 D1 85 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 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 00 00 DF [08:52:52]Write i2c OK [08:52:52]MH_I2C_Read... [08:52:52]Read from MH i2c: E2 [08:52:52]MH_I2C_Read... [08:52:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:52:52]Read from MH i2c: E2 03 00 [08:52:52]MH_I2C_Read... [08:52:52]Read from MH i2c: E2 03 00 24 09 00 90 00 A1 [08:52:52]RAPDU: 90 00 [08:52:52]wFMCommunicate OK [08:52:52]wFMCommunicate request_size=178 [08:52:52]MH_SAM_APDU [08:52:52]CAPDU: 80 0D 02 02 AD 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 18 00 00 00 F4 03 04 00 65 CF F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B3 57 00 00 35 04 06 00 14 97 C6 26 16 74 [08:52:52]Write to MH i2c: E2 B5 00 25 09 80 0D 02 02 AD 00 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 18 00 00 00 F4 03 04 00 65 CF F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B3 57 00 00 35 04 06 00 14 97 C6 26 16 74 00 00 C1 [08:52:52]Write i2c OK [08:52:52]MH_I2C_Read... [08:52:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:52:52]Read from MH i2c: E2 [08:52:52]MH_I2C_Read... [08:52:52]Read from MH i2c: E2 03 00 [08:52:52]MH_I2C_Read... [08:52:52]Read from MH i2c: E2 03 00 25 09 00 90 00 A2 [08:52:52]RAPDU: 90 00 [08:52:52]wFMCommunicate OK [08:52:52]wFMCommunicate request_size=4 [08:52:52]MH_SAM_APDU [08:52:52]CAPDU: 80 0D 03 02 [08:52:52]Write to MH i2c: E2 08 00 26 09 80 0D 03 02 00 00 00 00 AA [08:52:52]Write i2c OK [08:52:52]MH_I2C_Read... [08:52:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:52:52]Read from MH i2c: E2 [08:52:52]MH_I2C_Read... [08:52:52]Read from MH i2c: E2 0B 00 [08:52:52]MH_I2C_Read... [08:52:52]Read from MH i2c: E2 0B 00 26 09 00 77 20 04 91 3C C4 B2 B8 90 00 41 [08:52:52]RAPDU: 77 20 04 91 3C C4 B2 B8 90 00 [08:52:52]wFMCommunicate OK [08:52:52]SAM_PROTO_SignData done [08:52:52]FM_MakeSignedData done [08:52:52]CreateOFDProtocolMessage [08:52:52]wFMCommunicate request_size=4 [08:52:52]MH_SAM_APDU [08:52:52]CAPDU: 80 11 00 00 [08:52:52]Write to MH i2c: E2 08 00 27 09 80 11 00 00 00 00 00 00 AA [08:52:52]Write i2c OK [08:52:52]MH_I2C_Read... [08:52:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:52:52]Read from MH i2c: E2 [08:52:52]MH_I2C_Read... [08:52:52]Read from MH i2c: E2 17 00 [08:52:52]MH_I2C_Read... [08:52:52]Read from MH i2c: E2 17 00 27 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 04 [08:52:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:52:52]wFMCommunicate OK [08:52:52]CreateOFDProtocolMessage done [08:52:52]OFDSenderStorePacket 22451 [08:52:52]StoreOFDPacket docnum=22451 [08:52:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 B7 01 00 00 8B E6 AF 01 7B A8 5A 03 01 00 03 00 A3 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 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 23 04 87 00 8A 04 0D 00 34 36 30 37 31 32 33 30 36 36 30 35 38 06 04 43 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BE D1 80 D0 B5 D1 85 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 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 18 00 00 00 F4 03 04 00 65 CF F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B3 57 00 00 35 04 06 00 14 97 C6 26 16 74 77 20 04 91 3C C4 B2 B8 [08:52:52]CheckFolder [08:52:52]dirname=/storage/ofd_packets [08:52:52]CheckFolder done [08:52:52]ProducePacketName [08:52:52]name=ofd_packets/00022451 [08:52:52]NVStorageSaveData ofd_packets/00022451 [08:52:52]File name is /storage/ofd_packets/00022451 [08:52:52]Write 469 bytes [08:52:52]NVStorageSaveData done [08:52:52]OFDSenderStorePacket done [08:52:52]KKMCreateOFDPacket done [08:52:53]NVStorageSaveData kkm_last_timestamp [08:52:53]File name is /storage/kkm_last_timestamp [08:52:53]Write 4 bytes [08:52:53]NVStorageSaveData done [08:52:53]ExternCall_PrintAddStr [08:52:53]wPrintStart [08:52:53]Write to MH i2c: 01 00 00 28 09 31 [08:52:53]OFD Sender: Processing packet 22451 [packets to send 23, broken 22] [08:52:53]ProducePacketName [08:52:53]name=ofd_packets/00022451 [08:52:53]OFD Sender: To server: pG, [08:52:53]CommunicateWithHost lk.salyk.kg:30040 [08:52:53]ConnectInit lk.salyk.kg [08:52:53]Write i2c OK [08:52:53]MH_I2C_Read... [08:52:53]Read from MH i2c: 01 [08:52:53]MH_I2C_Read... [08:52:53]Read from MH i2c: 01 07 00 [08:52:53]MH_I2C_Read... [08:52:53]Read from MH i2c: 01 07 00 28 09 00 00 00 00 00 FF 0F 46 [08:52:53]RasterBufferAndPrint [08:52:53]line Счет N : (3)51660 [08:52:53]line ИНН: 02508201610067 [08:52:53]line Контрольно-Кассовый Чек [08:52:53]line ПРОДАЖА [08:52:53]line Товар: 2000036210013 [08:52:53]line Кофе Капучино (GABB TRADE) [08:52:53]line 2.000 * 0.00 [08:52:53]line = 0.00 [08:52:53]line НДС 12% НСП 1% [08:52:53]line > о реализуемом товаре [08:52:53]line Товар: 4607123066058 [08:52:53]line Печенье Юбилейное Торжество орех 120г [08:52:53]line 1.000 * 0.00 [08:52:53]line = 0.00 [08:52:53]line НДС 12% НСП 1% [08:52:53]line > о реализуемом товаре [08:52:53]line ИТОГО: 0.00 [08:52:53]line НСП 1% : 0.00 [08:52:53]line НДС 12% : 0.00 [08:52:53]line Наличными: 0.00 [08:52:53]line Безнал.: 0.00 [08:52:53]line Место: АЗС № 88 "Партнер Нефть" [08:52:53]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [08:52:53]line СНО: Общий режим [08:52:53]line Чек 24 25.09.2024 08:52 [08:52:53]line Смена: 231 ФФД: 1.0 [08:52:53]line ЗНМ: 0300000061 [08:52:53]line РНМ: 0000000000146243 [08:52:53]line Версия ККМ: v1.0 [08:52:53]line Платежная система: Mbank [08:52:53]line ФМ: 0000000000959358 [08:52:53]line ФД: 22451 [08:52:53]line ФПД: 22642097002100 [08:52:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T085253&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22451&fm=22642097002100&tin=02508201610067®Number=0000000000146243&sum=0 [08:52:53]line 0 [08:52:53]written 0, free lines is 4095 [08:52:53]Connected sock=10 [08:52:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 B7 01 00 00 8B E6 AF 01 7B A8 5A 03 01 00 03 00 A3 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 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 23 04 87 00 8A 04 0D 00 34 36 30 37 31 32 33 30 36 36 30 35 38 06 04 43 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BE D1 80 D0 B5 D1 85 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 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 18 00 00 00 F4 03 04 00 65 CF F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B3 57 00 00 35 04 06 00 14 97 C6 26 16 74 77 20 04 91 3C C4 B2 B8 [08:52:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 F5 46 47 00 75 C9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B3 57 00 00 F4 03 04 00 88 79 F3 66 B6 04 01 00 00 02 F1 33 80 F1 9F FF D0 [08:52:53]CommunicateWithHost err = 0 [08:52:53]CheckOFDResponse [08:52:53]1017 (14) - 77093643461234 [08:52:53]1041 (16) - 0000000000959358 [08:52:53]1040 (4) - 22451 [08:52:53]1012 (4) - 25.09.2024 02:46 [08:52:53]1206 (1) - 0 [08:52:53]OFD Sender: Remove packet 22451 [08:52:53]ProducePacketName [08:52:53]name=ofd_packets/00022451 [08:52:53]NVStorageDeleteData [08:52:53]Write to MH i2c: 01 00 00 58 09 61 [08:52:53]Write i2c OK [08:52:53]MH_I2C_Read... [08:52:53]Read from MH i2c: 01 [08:52:53]MH_I2C_Read... [08:52:53]Read from MH i2c: 01 07 00 [08:52:53]MH_I2C_Read... [08:52:53]Read from MH i2c: 01 07 00 58 09 00 00 00 00 00 C5 0C 39 [08:52:53]RasterBufferAndPrint [08:52:53]line [08:52:53]line [08:52:53]line [08:52:53]line [08:52:53]line [08:52:53]written 0, free lines is 3275 [08:52:53]MH_Cut [08:52:53]Write to MH i2c: D1 01 00 5F 09 01 3A [08:52:53]Write i2c OK [08:52:53]MH_I2C_Read... [08:52:53]Read from MH i2c: D1 [08:52:53]MH_I2C_Read... [08:52:53]Read from MH i2c: D1 01 00 [08:52:53]MH_I2C_Read... [08:52:53]Read from MH i2c: D1 01 00 5F 09 00 39 [08:52:53]Write to MH i2c: 01 00 00 60 09 69 [08:52:53]Write i2c OK [08:52:53]MH_I2C_Read... [08:52:54]OFD Sender: No OFD packet to send [08:52:54]*** Cut start [08:52:54]*** Partial cut [08:52:54]*** CUTSNS_PIN = 1 [08:52:54]*** CUTSNS_PIN = 0 [08:52:54]*** Brake cut motor [08:52:55]Read from MH i2c: 01 [08:52:55]MH_I2C_Read... [08:52:55]*** Stop cut motor [08:52:55]*** Cut end [08:52:55]Read from MH i2c: 01 07 00 [08:52:55]MH_I2C_Read... [08:52:55]Read from MH i2c: 01 07 00 60 09 00 00 00 00 00 FF 0F 7E [08:52:55]process_action close_receipt done [08:52:55]requested_data is exist [08:52:55]produce_requested_data [08:52:55]requested_item fm.sn is exist - process it [08:52:55]wFMCommunicate request_size=4 [08:52:55]MH_SAM_APDU [08:52:55]CAPDU: 80 11 00 00 [08:52:55]Write to MH i2c: E2 08 00 61 09 80 11 00 00 00 00 00 00 E4 [08:52:55]Write i2c OK [08:52:55]MH_I2C_Read... [08:52:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:52:55]Read from MH i2c: E2 [08:52:55]MH_I2C_Read... [08:52:55]Read from MH i2c: E2 17 00 [08:52:55]MH_I2C_Read... [08:52:55]Read from MH i2c: E2 17 00 61 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 3E [08:52:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [08:52:55]wFMCommunicate OK [08:52:55]requested_item fd.num is exist - process it [08:52:55]SAM_PROTO_GetFieldsCounters [08:52:55]wFMCommunicate request_size=4 [08:52:55]MH_SAM_APDU [08:52:55]CAPDU: 80 13 00 00 [08:52:55]Write to MH i2c: E2 08 00 62 09 80 13 00 00 00 00 00 00 E7 [08:52:55]Write i2c OK [08:52:55]MH_I2C_Read... [08:52:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:52:55]Read from MH i2c: E2 [08:52:55]MH_I2C_Read... [08:52:55]Read from MH i2c: E2 62 00 [08:52:55]MH_I2C_Read... [08:52:55]Read from MH i2c: E2 62 00 62 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 B3 57 00 00 0E 04 04 00 E7 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 43 [08:52:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 B3 57 00 00 0E 04 04 00 E7 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 [08:52:55]wFMCommunicate OK [08:52:55]SAM_PROTO_GetFieldsCounters done [08:52:55]requested_item shift.num is exist - process it [08:52:55]requested_item shift.opened is exist - process it [08:52:55]req_shift_opened [08:52:55]FM_GetShiftState [08:52:55]SAM_PROTO_GetShiftState [08:52:55]wFMCommunicate request_size=4 [08:52:55]MH_SAM_APDU [08:52:55]CAPDU: 80 13 01 00 [08:52:55]Write to MH i2c: E2 08 00 63 09 80 13 01 00 00 00 00 00 E9 [08:52:55]Write i2c OK [08:52:55]MH_I2C_Read... [08:52:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:52:55]Read from MH i2c: E2 [08:52:55]MH_I2C_Read... [08:52:55]Read from MH i2c: E2 0E 00 [08:52:55]MH_I2C_Read... [08:52:55]Read from MH i2c: E2 0E 00 63 09 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 7A [08:52:55]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [08:52:55]wFMCommunicate OK [08:52:55]SAM_PROTO_GetShiftState done [08:52:55]FM_GetShiftState done [08:52:55]req_shift_opened done [08:52:55]requested_item shift.open_date is exist - process it [08:52:55]req_shift_open_date [08:52:55]req_shift_open_date done [08:52:55]produce_requested_data done [08:52:55]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22451,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [08:52:55]process_action_free close_receipt [08:52:55]json_value_free [08:52:55]json_value_free done [08:52:55]process_json_proto returns [08:52:55]Send response to host [08:52:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22451,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [08:52:55]free response buf [08:52:55]execute_script done [08:52:55]execute_script returns [08:52:55]free content buf [08:52:55]Sock 9.Close socket [08:52:55]Sock 9.Thread stoped [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: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: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: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: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:04]OFD Sender: No OFD packet to send [09:01:09]OFD Sender: No OFD packet to send [09:01:14]OFD Sender: No OFD packet to send [09:01:19]OFD Sender: No OFD packet to send [09:01:24]OFD Sender: No OFD packet to send [09:01:29]OFD Sender: No OFD packet to send [09:01:34]OFD Sender: No OFD packet to send [09:01:39]OFD Sender: No OFD packet to send [09:01:44]OFD Sender: No OFD packet to send [09:01:49]OFD Sender: No OFD packet to send [09:01:54]OFD Sender: No OFD packet to send [09:01:59]OFD Sender: No OFD packet to send [09:02:04]OFD Sender: No OFD packet to send [09:02:09]OFD Sender: No OFD packet to send [09:02:14]OFD Sender: No OFD packet to send [09:02:19]OFD Sender: No OFD packet to send [09:02:24]OFD Sender: No OFD packet to send [09:02:29]OFD Sender: No OFD packet to send [09:02:34]OFD Sender: No OFD packet to send [09:02:39]OFD Sender: No OFD packet to send [09:02:44]OFD Sender: No OFD packet to send [09:02:49]OFD Sender: No OFD packet to send [09:02:54]OFD Sender: No OFD packet to send [09:02:59]OFD Sender: No OFD packet to send [09:03:04]OFD Sender: No OFD packet to send [09:03:09]OFD Sender: No OFD packet to send [09:03:14]OFD Sender: No OFD packet to send [09:03:19]OFD Sender: No OFD packet to send [09:03:24]OFD Sender: No OFD packet to send [09:03:29]OFD Sender: No OFD packet to send [09:03:34]OFD Sender: No OFD packet to send [09:03:39]OFD Sender: No OFD packet to send [09:03:44]OFD Sender: No OFD packet to send [09:03:49]OFD Sender: No OFD packet to send [09:03:54]OFD Sender: No OFD packet to send [09:03:59]OFD Sender: No OFD packet to send [09:04:04]OFD Sender: No OFD packet to send [09:04:09]OFD Sender: No OFD packet to send [09:04:14]OFD Sender: No OFD packet to send [09:04:19]OFD Sender: No OFD packet to send [09:04:24]OFD Sender: No OFD packet to send [09:04:29]OFD Sender: No OFD packet to send [09:04:34]OFD Sender: No OFD packet to send [09:04:39]OFD Sender: No OFD packet to send [09:04:44]OFD Sender: No OFD packet to send [09:04:49]OFD Sender: No OFD packet to send [09:04:54]OFD Sender: No OFD packet to send [09:04:59]OFD Sender: No OFD packet to send [09:05:04]OFD Sender: No OFD packet to send [09:05:09]OFD Sender: No OFD packet to send [09:05:14]OFD Sender: No OFD packet to send [09:05:19]OFD Sender: No OFD packet to send [09:05:24]OFD Sender: No OFD packet to send [09:05:29]OFD Sender: No OFD packet to send [09:05:34]OFD Sender: No OFD packet to send [09:05:39]OFD Sender: No OFD packet to send [09:05:44]OFD Sender: No OFD packet to send [09:05:49]OFD Sender: No OFD packet to send [09:05:54]OFD Sender: No OFD packet to send [09:05:59]OFD Sender: No OFD packet to send [09:06:04]OFD Sender: No OFD packet to send [09:06:09]OFD Sender: No OFD packet to send [09:06:14]OFD Sender: No OFD packet to send [09:06:19]OFD Sender: No OFD packet to send [09:06:24]OFD Sender: No OFD packet to send [09:06:29]OFD Sender: No OFD packet to send [09:06:34]OFD Sender: No OFD packet to send [09:06:39]OFD Sender: No OFD packet to send [09:06:44]OFD Sender: No OFD packet to send [09:06:49]OFD Sender: No OFD packet to send [09:06:54]OFD Sender: No OFD packet to send [09:06:59]OFD Sender: No OFD packet to send [09:07:04]OFD Sender: No OFD packet to send [09:07:09]OFD Sender: No OFD packet to send [09:07:14]OFD Sender: No OFD packet to send [09:07:19]OFD Sender: No OFD packet to send [09:07:24]OFD Sender: No OFD packet to send [09:07:29]OFD Sender: No OFD packet to send [09:07:34]OFD Sender: No OFD packet to send [09:07:39]OFD Sender: No OFD packet to send [09:07:44]OFD Sender: No OFD packet to send [09:07:49]OFD Sender: No OFD packet to send [09:07:54]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:20]OFD Sender: No OFD packet to send [09:08:25]OFD Sender: No OFD packet to send [09:08:30]OFD Sender: No OFD packet to send [09:08:35]OFD Sender: No OFD packet to send [09:08:40]OFD Sender: No OFD packet to send [09:08:45]OFD Sender: No OFD packet to send [09:08:50]OFD Sender: No OFD packet to send [09:08:55]OFD Sender: No OFD packet to send [09:09:00]OFD Sender: No OFD packet to send [09:09:05]OFD Sender: No OFD packet to send [09:09:10]OFD Sender: No OFD packet to send [09:09:15]OFD Sender: No OFD packet to send [09:09:18]accept exits with 8 [09:09:18]New connection [09:09:18]New thread 3067260260 created [09:09:18]Thread 3067116900 joined [09:09:18]Waiting for new connection... [09:09:18] Sock 8.Parse request [09:09:18]Sock 8.Check first char [09:09:18]Sock 8.First char is OK [09:09:18]request: POST /json_proto HTTP/1.0 [09:09:18]Method: POST [09:09:18]URL: /json_proto [09:09:18]Method is POST - this is cgi request [09:09:18]url: /json_proto [09:09:18]query_string will be loaded in cgi processing [09:09:18]execute_cgi json_proto POST (null) [09:09:18]execute_cgi path=json_proto method=POST [09:09:18]POST find Content-Length [09:09:18]Host: 172.17.43.4:8080 [09:09:18]Content-Length: 619 [09:09:18]Content-Type: application/json [09:09:18] [09:09:18]POST finish read [09:09:18]Found Content-Length = 619 [09:09:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51661", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:09:18]execute_script... [09:09:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51661", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:09:18]POST & json_proto [09:09:18]process_json_proto [09:09:18]json parsed OK: [09:09:18]protocol is kg_v1.0 [09:09:18]action value=close_receipt [09:09:18]process_action close_receipt [09:09:18]cmd_close_receipt [09:09:18]MH_GetDate [09:09:18]Write to MH i2c: F0 00 00 64 09 5C [09:09:18]Write i2c OK [09:09:18]MH_I2C_Read... [09:09:18]Read from MH i2c: F0 [09:09:18]MH_I2C_Read... [09:09:18]Read from MH i2c: F0 09 00 [09:09:18]MH_I2C_Read... [09:09:18]Read from MH i2c: F0 09 00 64 09 00 41 D3 F3 66 02 BF CF 66 C8 [09:09:18]GetLastDocTimeStamp 1727254373 [09:09:18]current date 1727255361 [09:09:18]FM_GetShiftState [09:09:18]SAM_PROTO_GetShiftState [09:09:18]wFMCommunicate request_size=4 [09:09:18]MH_SAM_APDU [09:09:18]CAPDU: 80 13 01 00 [09:09:18]Write to MH i2c: E2 08 00 65 09 80 13 01 00 00 00 00 00 EB [09:09:18]Write i2c OK [09:09:18]MH_I2C_Read... [09:09:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:09:18]Read from MH i2c: E2 [09:09:18]MH_I2C_Read... [09:09:18]Read from MH i2c: E2 0E 00 [09:09:18]MH_I2C_Read... [09:09:18]Read from MH i2c: E2 0E 00 65 09 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 7C [09:09:18]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [09:09:18]wFMCommunicate OK [09:09:18]SAM_PROTO_GetShiftState done [09:09:18]FM_GetShiftState done [09:09:18]opened in 1727224020 [09:09:18]opened+sec_in_day 1727310420 [09:09:18]quantity*price = 15000 [09:09:18]sum+1 = 15001 [09:09:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 25 25.09.2024 09:09 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22452 ФПД: 254933441745827 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T090921&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22452&fm=254933441745827&tin=02508201610067®Number=0000000000146243&sum=15000 0 [09:09:20]StoreToDocumentArchive [09:09:20]shift 231 fd 22452 [09:09:20]save to /storage/0231/doc_00022452 [09:09:20]save last doc name /storage/0231/doc_00022452 to /storage/kkm_last_doc_name [09:09:20]save OK [09:09:20]Clear old archive folders... [09:09:20]ProcessDocumentItem done err = 0, tmpTLVsize=272 [09:09:20]tlvbuf is 003B6160 [09:09:20]SAM_PROTO_ClearQueue [09:09:20]wFMCommunicate request_size=4 [09:09:20]MH_SAM_APDU [09:09:20]CAPDU: 80 09 00 00 [09:09:20]Write to MH i2c: E2 08 00 72 09 80 09 00 00 00 00 00 00 ED [09:09:20]Write i2c OK [09:09:20]MH_I2C_Read... [09:09:20]OFD Sender: No OFD packet to send [09:09:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:09:20]Read from MH i2c: E2 [09:09:20]MH_I2C_Read... [09:09:20]Read from MH i2c: E2 03 00 [09:09:20]MH_I2C_Read... [09:09:20]Read from MH i2c: E2 03 00 72 09 00 90 00 EF [09:09:20]RAPDU: 90 00 [09:09:20]wFMCommunicate OK [09:09:20]SAM_PROTO_ClearQueue done [09:09:20]KKMCreateOFDPacket [09:09:20]OFDProtocolAddRootSTLVToBuf [09:09:20]FM_MakeSignedData [09:09:20]FM_MakeSignedData [09:09:20]SAM_PROTO_SignData [09:09:20]wFMCommunicate request_size=4 [09:09:20]MH_SAM_APDU [09:09:20]CAPDU: 80 0D 01 02 [09:09:20]Write to MH i2c: E2 08 00 73 09 80 0D 01 02 00 00 00 00 F5 [09:09:20]Write i2c OK [09:09:20]MH_I2C_Read... [09:09:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:09:20]Read from MH i2c: E2 [09:09:20]MH_I2C_Read... [09:09:20]Read from MH i2c: E2 03 00 [09:09:20]MH_I2C_Read... [09:09:20]Read from MH i2c: E2 03 00 73 09 00 90 00 F0 [09:09:20]RAPDU: 90 00 [09:09:20]wFMCommunicate OK [09:09:20]wFMCommunicate request_size=255 [09:09:20]MH_SAM_APDU [09:09:20]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 41 D3 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 [09:09:20]Write to MH i2c: E2 02 01 74 09 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 41 D3 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 00 00 E5 [09:09:20]Write i2c OK [09:09:20]MH_I2C_Read... [09:09:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:09:20]Read from MH i2c: E2 [09:09:20]MH_I2C_Read... [09:09:20]Read from MH i2c: E2 03 00 [09:09:20]MH_I2C_Read... [09:09:20]Read from MH i2c: E2 03 00 74 09 00 90 00 F1 [09:09:20]RAPDU: 90 00 [09:09:20]wFMCommunicate OK [09:09:20]wFMCommunicate request_size=31 [09:09:20]MH_SAM_APDU [09:09:20]CAPDU: 80 0D 02 02 1A 30 30 39 35 39 33 35 38 10 04 04 00 B4 57 00 00 35 04 06 00 E7 DC 51 3C 93 A3 [09:09:20]Write to MH i2c: E2 22 00 75 09 80 0D 02 02 1A 00 30 30 39 35 39 33 35 38 10 04 04 00 B4 57 00 00 35 04 06 00 E7 DC 51 3C 93 A3 00 00 BB [09:09:20]Write i2c OK [09:09:20]MH_I2C_Read... [09:09:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:09:20]Read from MH i2c: E2 [09:09:20]MH_I2C_Read... [09:09:20]Read from MH i2c: E2 03 00 [09:09:20]MH_I2C_Read... [09:09:20]Read from MH i2c: E2 03 00 75 09 00 90 00 F2 [09:09:20]RAPDU: 90 00 [09:09:20]wFMCommunicate OK [09:09:20]wFMCommunicate request_size=4 [09:09:20]MH_SAM_APDU [09:09:20]CAPDU: 80 0D 03 02 [09:09:20]Write to MH i2c: E2 08 00 76 09 80 0D 03 02 00 00 00 00 FA [09:09:20]Write i2c OK [09:09:20]MH_I2C_Read... [09:09:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:09:20]Read from MH i2c: E2 [09:09:20]MH_I2C_Read... [09:09:20]Read from MH i2c: E2 0B 00 [09:09:20]MH_I2C_Read... [09:09:20]Read from MH i2c: E2 0B 00 76 09 00 C1 16 66 0A B4 60 F1 12 90 00 59 [09:09:20]RAPDU: C1 16 66 0A B4 60 F1 12 90 00 [09:09:20]wFMCommunicate OK [09:09:20]SAM_PROTO_SignData done [09:09:20]FM_MakeSignedData done [09:09:20]CreateOFDProtocolMessage [09:09:20]wFMCommunicate request_size=4 [09:09:20]MH_SAM_APDU [09:09:20]CAPDU: 80 11 00 00 [09:09:20]Write to MH i2c: E2 08 00 77 09 80 11 00 00 00 00 00 00 FA [09:09:20]Write i2c OK [09:09:20]MH_I2C_Read... [09:09:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:09:20]Read from MH i2c: E2 [09:09:20]MH_I2C_Read... [09:09:20]Read from MH i2c: E2 17 00 [09:09:20]MH_I2C_Read... [09:09:20]Read from MH i2c: E2 17 00 77 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 54 [09:09:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [09:09:20]wFMCommunicate OK [09:09:20]CreateOFDProtocolMessage done [09:09:20]OFDSenderStorePacket 22452 [09:09:20]StoreOFDPacket docnum=22452 [09:09:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 24 01 00 00 4D E6 1C 01 3C BC 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 41 D3 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B4 57 00 00 35 04 06 00 E7 DC 51 3C 93 A3 C1 16 66 0A B4 60 F1 12 [09:09:20]CheckFolder [09:09:20]dirname=/storage/ofd_packets [09:09:20]CheckFolder done [09:09:20]ProducePacketName [09:09:20]name=ofd_packets/00022452 [09:09:20]NVStorageSaveData ofd_packets/00022452 [09:09:20]File name is /storage/ofd_packets/00022452 [09:09:20]Write 322 bytes [09:09:20]NVStorageSaveData done [09:09:20]OFDSenderStorePacket done [09:09:20]KKMCreateOFDPacket done [09:09:20]NVStorageSaveData kkm_last_timestamp [09:09:20]File name is /storage/kkm_last_timestamp [09:09:20]Write 4 bytes [09:09:20]NVStorageSaveData done [09:09:20]ExternCall_PrintAddStr [09:09:20]wPrintStart [09:09:20]Write to MH i2c: 01 00 00 78 09 81 [09:09:20]Write i2c OK [09:09:20]MH_I2C_Read... [09:09:20]Read from MH i2c: 01 [09:09:20]MH_I2C_Read... [09:09:20]Read from MH i2c: 01 07 00 [09:09:20]MH_I2C_Read... [09:09:20]Read from MH i2c: 01 07 00 78 09 00 00 00 00 00 FF 0F 96 [09:09:20]RasterBufferAndPrint [09:09:20]line Счет N : (3)51661 [09:09:20]line ИНН: 02508201610067 [09:09:20]line Контрольно-Кассовый Чек [09:09:20]line ПРОДАЖА [09:09:20]line Товар: 4640030091607 [09:09:20]line Сигареты ESSE Exchange [09:09:20]line 1.000 * 150.00 [09:09:20]line = 150.00 [09:09:20]line НДС 12% НСП 1% [09:09:20]line > о реализуемом товаре [09:09:20]line ИТОГО: 150.00 [09:09:20]line НСП 1% : 1.33 [09:09:20]line НДС 12% : 15.93 [09:09:20]line Наличными: 150.00 [09:09:20]line Безнал.: 0.00 [09:09:20]line Место: АЗС № 88 "Партнер Нефть" [09:09:20]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [09:09:20]line СНО: Общий режим [09:09:20]line Чек 25 25.09.2024 09:09 [09:09:20]line Смена: 231 ФФД: 1.0 [09:09:20]line ЗНМ: 0300000061 [09:09:20]line РНМ: 0000000000146243 [09:09:20]line Версия ККМ: v1.0 [09:09:20]line ФМ: 0000000000959358 [09:09:20]line ФД: 22452 [09:09:20]line ФПД: 254933441745827 [09:09:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T090921&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22452&fm=254933441745827&tin=02508201610067®Number=0000000000146243&sum=15000 [09:09:20]line 0 [09:09:20]OFD Sender: Processing packet 22452 [packets to send 23, broken 22] [09:09:20]ProducePacketName [09:09:20]name=ofd_packets/00022452 [09:09:20]OFD Sender: To server: pG, [09:09:20]CommunicateWithHost lk.salyk.kg:30040 [09:09:20]ConnectInit lk.salyk.kg [09:09:20]written 0, free lines is 4095 [09:09:21]Connected sock=10 [09:09:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 24 01 00 00 4D E6 1C 01 3C BC 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 41 D3 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B4 57 00 00 35 04 06 00 E7 DC 51 3C 93 A3 C1 16 66 0A B4 60 F1 12 [09:09:21]Write to MH i2c: 01 00 00 A0 09 A9 [09:09:21]Write i2c OK [09:09:21]MH_I2C_Read... [09:09:21]Read from MH i2c: 01 [09:09:21]MH_I2C_Read... [09:09:21]Read from MH i2c: 01 07 00 [09:09:21]MH_I2C_Read... [09:09:21]Read from MH i2c: 01 07 00 A0 09 00 00 00 00 00 22 0D DF [09:09:21]RasterBufferAndPrint [09:09:21]line [09:09:21]line [09:09:21]line [09:09:21]line [09:09:21]line [09:09:21]written 0, free lines is 3369 [09:09:21]MH_Cut [09:09:21]Write to MH i2c: D1 01 00 A7 09 01 82 [09:09:21]Write i2c OK [09:09:21]MH_I2C_Read... [09:09:21]Read from MH i2c: D1 [09:09:21]MH_I2C_Read... [09:09:21]Read from MH i2c: D1 01 00 [09:09:21]MH_I2C_Read... [09:09:21]Read from MH i2c: D1 01 00 A7 09 00 81 [09:09:21]Write to MH i2c: 01 00 00 A8 09 B1 [09:09:21]Write i2c OK [09:09:21]MH_I2C_Read... [09:09:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 96 8A 47 00 A2 43 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B4 57 00 00 F4 03 04 00 64 7D F3 66 B6 04 01 00 00 63 79 C2 23 A1 73 08 0B [09:09:21]CommunicateWithHost err = 0 [09:09:21]CheckOFDResponse [09:09:21]1017 (14) - 77093643461234 [09:09:21]1041 (16) - 0000000000959358 [09:09:21]1040 (4) - 22452 [09:09:21]1012 (4) - 25.09.2024 03:03 [09:09:21]1206 (1) - 0 [09:09:21]OFD Sender: Remove packet 22452 [09:09:21]ProducePacketName [09:09:21]name=ofd_packets/00022452 [09:09:21]NVStorageDeleteData [09:09:21]OFD Sender: No OFD packet to send [09:09:22]*** Cut start [09:09:22]*** Partial cut [09:09:22]*** CUTSNS_PIN = 1 [09:09:22]*** CUTSNS_PIN = 0 [09:09:22]*** Brake cut motor [09:09:22]Read from MH i2c: 01 [09:09:22]MH_I2C_Read... [09:09:22]*** Stop cut motor [09:09:22]*** Cut end [09:09:22]Read from MH i2c: 01 07 00 [09:09:22]MH_I2C_Read... [09:09:22]Read from MH i2c: 01 07 00 A8 09 00 00 00 00 00 FF 0F C6 [09:09:22]process_action close_receipt done [09:09:22]requested_data is exist [09:09:22]produce_requested_data [09:09:22]requested_item fm.sn is exist - process it [09:09:22]wFMCommunicate request_size=4 [09:09:22]MH_SAM_APDU [09:09:22]CAPDU: 80 11 00 00 [09:09:22]Write to MH i2c: E2 08 00 A9 09 80 11 00 00 00 00 00 00 2C [09:09:22]Write i2c OK [09:09:22]MH_I2C_Read... [09:09:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:09:22]Read from MH i2c: E2 [09:09:22]MH_I2C_Read... [09:09:22]Read from MH i2c: E2 17 00 [09:09:22]MH_I2C_Read... [09:09:22]Read from MH i2c: E2 17 00 A9 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 86 [09:09:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [09:09:22]wFMCommunicate OK [09:09:22]requested_item fd.num is exist - process it [09:09:22]SAM_PROTO_GetFieldsCounters [09:09:22]wFMCommunicate request_size=4 [09:09:22]MH_SAM_APDU [09:09:22]CAPDU: 80 13 00 00 [09:09:22]Write to MH i2c: E2 08 00 AA 09 80 13 00 00 00 00 00 00 2F [09:09:22]Write i2c OK [09:09:22]MH_I2C_Read... [09:09:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:09:22]Read from MH i2c: E2 [09:09:22]MH_I2C_Read... [09:09:22]Read from MH i2c: E2 62 00 [09:09:22]MH_I2C_Read... [09:09:22]Read from MH i2c: E2 62 00 AA 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 B4 57 00 00 0E 04 04 00 E7 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 8F [09:09:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 B4 57 00 00 0E 04 04 00 E7 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 [09:09:22]wFMCommunicate OK [09:09:22]SAM_PROTO_GetFieldsCounters done [09:09:22]requested_item shift.num is exist - process it [09:09:22]requested_item shift.opened is exist - process it [09:09:22]req_shift_opened [09:09:22]FM_GetShiftState [09:09:22]SAM_PROTO_GetShiftState [09:09:22]wFMCommunicate request_size=4 [09:09:22]MH_SAM_APDU [09:09:22]CAPDU: 80 13 01 00 [09:09:22]Write to MH i2c: E2 08 00 AB 09 80 13 01 00 00 00 00 00 31 [09:09:22]Write i2c OK [09:09:22]MH_I2C_Read... [09:09:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:09:22]Read from MH i2c: E2 [09:09:22]MH_I2C_Read... [09:09:22]Read from MH i2c: E2 0E 00 [09:09:22]MH_I2C_Read... [09:09:22]Read from MH i2c: E2 0E 00 AB 09 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 C2 [09:09:22]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [09:09:22]wFMCommunicate OK [09:09:22]SAM_PROTO_GetShiftState done [09:09:22]FM_GetShiftState done [09:09:22]req_shift_opened done [09:09:22]requested_item shift.open_date is exist - process it [09:09:22]req_shift_open_date [09:09:22]req_shift_open_date done [09:09:22]produce_requested_data done [09:09:22]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22452,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [09:09:22]process_action_free close_receipt [09:09:22]json_value_free [09:09:22]json_value_free done [09:09:22]process_json_proto returns [09:09:22]Send response to host [09:09:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22452,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [09:09:22]free response buf [09:09:22]execute_script done [09:09:22]execute_script returns [09:09:22]free content buf [09:09:22]Sock 8.Close socket [09:09:22]Sock 8.Thread stoped [09:09:26]OFD Sender: No OFD packet to send [09:09:31]OFD Sender: No OFD packet to send [09:09:36]OFD Sender: No OFD packet to send [09:09:41]OFD Sender: No OFD packet to send [09:09:46]OFD Sender: No OFD packet to send [09:09:51]OFD Sender: No OFD packet to send [09:09:56]OFD Sender: No OFD packet to send [09:10:01]OFD Sender: No OFD packet to send [09:10:06]OFD Sender: No OFD packet to send [09:10:11]OFD Sender: No OFD packet to send [09:10:16]OFD Sender: No OFD packet to send [09:10:21]OFD Sender: No OFD packet to send [09:10:26]OFD Sender: No OFD packet to send [09:10:31]OFD Sender: No OFD packet to send [09:10:36]OFD Sender: No OFD packet to send [09:10:41]OFD Sender: No OFD packet to send [09:10:47]OFD Sender: No OFD packet to send [09:10:52]OFD Sender: No OFD packet to send [09:10:57]OFD Sender: No OFD packet to send [09:11:02]OFD Sender: No OFD packet to send [09:11:07]OFD Sender: No OFD packet to send [09:11:12]OFD Sender: No OFD packet to send [09:11:17]OFD Sender: No OFD packet to send [09:11:22]OFD Sender: No OFD packet to send [09:11:27]OFD Sender: No OFD packet to send [09:11:32]OFD Sender: No OFD packet to send [09:11:37]OFD Sender: No OFD packet to send [09:11:42]OFD Sender: No OFD packet to send [09:11:47]OFD Sender: No OFD packet to send [09:11:52]OFD Sender: No OFD packet to send [09:11:57]OFD Sender: No OFD packet to send [09:12:02]OFD Sender: No OFD packet to send [09:12:07]OFD Sender: No OFD packet to send [09:12:12]OFD Sender: No OFD packet to send [09:12:17]OFD Sender: No OFD packet to send [09:12:22]OFD Sender: No OFD packet to send [09:12:27]OFD Sender: No OFD packet to send [09:12:32]OFD Sender: No OFD packet to send [09:12:37]OFD Sender: No OFD packet to send [09:12:42]OFD Sender: No OFD packet to send [09:12:47]OFD Sender: No OFD packet to send [09:12:52]OFD Sender: No OFD packet to send [09:12:57]OFD Sender: No OFD packet to send [09:13:02]OFD Sender: No OFD packet to send [09:13:07]OFD Sender: No OFD packet to send [09:13:12]OFD Sender: No OFD packet to send [09:13:17]OFD Sender: No OFD packet to send [09:13:22]OFD Sender: No OFD packet to send [09:13:27]OFD Sender: No OFD packet to send [09:13:32]OFD Sender: No OFD packet to send [09:13:37]OFD Sender: No OFD packet to send [09:13:42]OFD Sender: No OFD packet to send [09:13:47]OFD Sender: No OFD packet to send [09:13:52]OFD Sender: No OFD packet to send [09:13:57]OFD Sender: No OFD packet to send [09:14:02]OFD Sender: No OFD packet to send [09:14:07]OFD Sender: No OFD packet to send [09:14:12]OFD Sender: No OFD packet to send [09:14:17]OFD Sender: No OFD packet to send [09:14:22]OFD Sender: No OFD packet to send [09:14:27]OFD Sender: No OFD packet to send [09:14:32]OFD Sender: No OFD packet to send [09:14:37]OFD Sender: No OFD packet to send [09:14:42]OFD Sender: No OFD packet to send [09:14:47]OFD Sender: No OFD packet to send [09:14:52]OFD Sender: No OFD packet to send [09:14:57]OFD Sender: No OFD packet to send [09:15:02]OFD Sender: No OFD packet to send [09:15:07]OFD Sender: No OFD packet to send [09:15:12]OFD Sender: No OFD packet to send [09:15:17]OFD Sender: No OFD packet to send [09:15:22]OFD Sender: No OFD packet to send [09:15:27]OFD Sender: No OFD packet to send [09:15:32]OFD Sender: No OFD packet to send [09:15:37]OFD Sender: No OFD packet to send [09:15:42]OFD Sender: No OFD packet to send [09:15:47]OFD Sender: No OFD packet to send [09:15:52]OFD Sender: No OFD packet to send [09:15:57]OFD Sender: No OFD packet to send [09:16:02]OFD Sender: No OFD packet to send [09:16:07]OFD Sender: No OFD packet to send [09:16:12]OFD Sender: No OFD packet to send [09:16:17]OFD Sender: No OFD packet to send [09:16:22]OFD Sender: No OFD packet to send [09:16:27]OFD Sender: No OFD packet to send [09:16:32]OFD Sender: No OFD packet to send [09:16:37]OFD Sender: No OFD packet to send [09:16:42]OFD Sender: No OFD packet to send [09:16:47]OFD Sender: No OFD packet to send [09:16:52]OFD Sender: No OFD packet to send [09:16:57]OFD Sender: No OFD packet to send [09:17:02]OFD Sender: No OFD packet to send [09:17:07]OFD Sender: No OFD packet to send [09:17:12]OFD Sender: No OFD packet to send [09:17:17]OFD Sender: No OFD packet to send [09:17:22]OFD Sender: No OFD packet to send [09:17:27]OFD Sender: No OFD packet to send [09:17:32]OFD Sender: No OFD packet to send [09:17:37]OFD Sender: No OFD packet to send [09:17:42]OFD Sender: No OFD packet to send [09:17:47]OFD Sender: No OFD packet to send [09:17:52]OFD Sender: No OFD packet to send [09:17:57]OFD Sender: No OFD packet to send [09:18:02]OFD Sender: No OFD packet to send [09:18:07]OFD Sender: No OFD packet to send [09:18:12]OFD Sender: No OFD packet to send [09:18:17]OFD Sender: No OFD packet to send [09:18:22]OFD Sender: No OFD packet to send [09:18:27]OFD Sender: No OFD packet to send [09:18:32]OFD Sender: No OFD packet to send [09:18:37]OFD Sender: No OFD packet to send [09:18:42]OFD Sender: No OFD packet to send [09:18:47]OFD Sender: No OFD packet to send [09:18:52]OFD Sender: No OFD packet to send [09:18:57]OFD Sender: No OFD packet to send [09:19:02]OFD Sender: No OFD packet to send [09:19:07]OFD Sender: No OFD packet to send [09:19:12]OFD Sender: No OFD packet to send [09:19:17]OFD Sender: No OFD packet to send [09:19:22]OFD Sender: No OFD packet to send [09:19:27]OFD Sender: No OFD packet to send [09:19:32]OFD Sender: No OFD packet to send [09:19:37]OFD Sender: No OFD packet to send [09:19:42]OFD Sender: No OFD packet to send [09:19:47]OFD Sender: No OFD packet to send [09:19:52]OFD Sender: No OFD packet to send [09:19:57]OFD Sender: No OFD packet to send [09:20:02]OFD Sender: No OFD packet to send [09:20:07]OFD Sender: No OFD packet to send [09:20:12]OFD Sender: No OFD packet to send [09:20:17]OFD Sender: No OFD packet to send [09:20:22]OFD Sender: No OFD packet to send [09:20:27]OFD Sender: No OFD packet to send [09:20:32]OFD Sender: No OFD packet to send [09:20:37]OFD Sender: No OFD packet to send [09:20:42]OFD Sender: No OFD packet to send [09:20:47]OFD Sender: No OFD packet to send [09:20:52]OFD Sender: No OFD packet to send [09:20:57]OFD Sender: No OFD packet to send [09:21:02]OFD Sender: No OFD packet to send [09:21:07]OFD Sender: No OFD packet to send [09:21:12]OFD Sender: No OFD packet to send [09:21:17]OFD Sender: No OFD packet to send [09:21:22]OFD Sender: No OFD packet to send [09:21:27]OFD Sender: No OFD packet to send [09:21:32]OFD Sender: No OFD packet to send [09:21:37]OFD Sender: No OFD packet to send [09:21:42]OFD Sender: No OFD packet to send [09:21:47]OFD Sender: No OFD packet to send [09:21:52]OFD Sender: No OFD packet to send [09:21:57]OFD Sender: No OFD packet to send [09:22:02]OFD Sender: No OFD packet to send [09:22:07]OFD Sender: No OFD packet to send [09:22:12]OFD Sender: No OFD packet to send [09:22:17]OFD Sender: No OFD packet to send [09:22:22]OFD Sender: No OFD packet to send [09:22:27]OFD Sender: No OFD packet to send [09:22:32]OFD Sender: No OFD packet to send [09:22:37]OFD Sender: No OFD packet to send [09:22:42]OFD Sender: No OFD packet to send [09:22:47]OFD Sender: No OFD packet to send [09:22:52]OFD Sender: No OFD packet to send [09:22:57]OFD Sender: No OFD packet to send [09:23:02]OFD Sender: No OFD packet to send [09:23:07]OFD Sender: No OFD packet to send [09:23:12]OFD Sender: No OFD packet to send [09:23:17]OFD Sender: No OFD packet to send [09:23:22]OFD Sender: No OFD packet to send [09:23:27]OFD Sender: No OFD packet to send [09:23:32]OFD Sender: No OFD packet to send [09:23:37]OFD Sender: No OFD packet to send [09:23:42]OFD Sender: No OFD packet to send [09:23:47]OFD Sender: No OFD packet to send [09:23:52]OFD Sender: No OFD packet to send [09:23:57]OFD Sender: No OFD packet to send [09:24:02]OFD Sender: No OFD packet to send [09:24:07]OFD Sender: No OFD packet to send [09:24:12]OFD Sender: No OFD packet to send [09:24:17]OFD Sender: No OFD packet to send [09:24:22]OFD Sender: No OFD packet to send [09:24:27]OFD Sender: No OFD packet to send [09:24:32]OFD Sender: No OFD packet to send [09:24:37]OFD Sender: No OFD packet to send [09:24:42]OFD Sender: No OFD packet to send [09:24:47]OFD Sender: No OFD packet to send [09:24:52]OFD Sender: No OFD packet to send [09:24:57]OFD Sender: No OFD packet to send [09:25:02]OFD Sender: No OFD packet to send [09:25:07]OFD Sender: No OFD packet to send [09:25:12]OFD Sender: No OFD packet to send [09:25:17]OFD Sender: No OFD packet to send [09:25:22]OFD Sender: No OFD packet to send [09:25:27]OFD Sender: No OFD packet to send [09:25:32]OFD Sender: No OFD packet to send [09:25:37]OFD Sender: No OFD packet to send [09:25:42]OFD Sender: No OFD packet to send [09:25:47]OFD Sender: No OFD packet to send [09:25:52]OFD Sender: No OFD packet to send [09:25:57]OFD Sender: No OFD packet to send [09:26:02]OFD Sender: No OFD packet to send [09:26:07]OFD Sender: No OFD packet to send [09:26:12]OFD Sender: No OFD packet to send [09:26:17]OFD Sender: No OFD packet to send [09:26:22]OFD Sender: No OFD packet to send [09:26:27]OFD Sender: No OFD packet to send [09:26:32]OFD Sender: No OFD packet to send [09:26:37]OFD Sender: No OFD packet to send [09:26:42]OFD Sender: No OFD packet to send [09:26:47]OFD Sender: No OFD packet to send [09:26:52]OFD Sender: No OFD packet to send [09:26:57]OFD Sender: No OFD packet to send [09:27:02]OFD Sender: No OFD packet to send [09:27:07]OFD Sender: No OFD packet to send [09:27:12]OFD Sender: No OFD packet to send [09:27:17]OFD Sender: No OFD packet to send [09:27:22]OFD Sender: No OFD packet to send [09:27:27]OFD Sender: No OFD packet to send [09:27:32]OFD Sender: No OFD packet to send [09:27:37]OFD Sender: No OFD packet to send [09:27:42]OFD Sender: No OFD packet to send [09:27:47]OFD Sender: No OFD packet to send [09:27:52]OFD Sender: No OFD packet to send [09:27:57]OFD Sender: No OFD packet to send [09:28:02]OFD Sender: No OFD packet to send [09:28:07]OFD Sender: No OFD packet to send [09:28:12]OFD Sender: No OFD packet to send [09:28:17]OFD Sender: No OFD packet to send [09:28:22]OFD Sender: No OFD packet to send [09:28:27]OFD Sender: No OFD packet to send [09:28:32]OFD Sender: No OFD packet to send [09:28:37]OFD Sender: No OFD packet to send [09:28:42]OFD Sender: No OFD packet to send [09:28:47]OFD Sender: No OFD packet to send [09:28:52]OFD Sender: No OFD packet to send [09:28:57]OFD Sender: No OFD packet to send [09:29:02]OFD Sender: No OFD packet to send [09:29:07]OFD Sender: No OFD packet to send [09:29:12]OFD Sender: No OFD packet to send [09:29:17]OFD Sender: No OFD packet to send [09:29:22]OFD Sender: No OFD packet to send [09:29:27]OFD Sender: No OFD packet to send [09:29:32]OFD Sender: No OFD packet to send [09:29:37]OFD Sender: No OFD packet to send [09:29:42]OFD Sender: No OFD packet to send [09:29:47]OFD Sender: No OFD packet to send [09:29:52]OFD Sender: No OFD packet to send [09:29:57]OFD Sender: No OFD packet to send [09:30:02]OFD Sender: No OFD packet to send [09:30:07]OFD Sender: No OFD packet to send [09:30:12]OFD Sender: No OFD packet to send [09:30:17]OFD Sender: No OFD packet to send [09:30:22]OFD Sender: No OFD packet to send [09:30:27]OFD Sender: No OFD packet to send [09:30:32]OFD Sender: No OFD packet to send [09:30:37]OFD Sender: No OFD packet to send [09:30:42]OFD Sender: No OFD packet to send [09:30:47]OFD Sender: No OFD packet to send [09:30:52]OFD Sender: No OFD packet to send [09:30:58]OFD Sender: No OFD packet to send [09:31:03]OFD Sender: No OFD packet to send [09:31:08]OFD Sender: No OFD packet to send [09:31:13]OFD Sender: No OFD packet to send [09:31:18]OFD Sender: No OFD packet to send [09:31:23]OFD Sender: No OFD packet to send [09:31:28]OFD Sender: No OFD packet to send [09:31:33]OFD Sender: No OFD packet to send [09:31:38]OFD Sender: No OFD packet to send [09:31:43]OFD Sender: No OFD packet to send [09:31:48]OFD Sender: No OFD packet to send [09:31:53]OFD Sender: No OFD packet to send [09:31:58]OFD Sender: No OFD packet to send [09:32:03]OFD Sender: No OFD packet to send [09:32:08]OFD Sender: No OFD packet to send [09:32:13]OFD Sender: No OFD packet to send [09:32:18]OFD Sender: No OFD packet to send [09:32:23]OFD Sender: No OFD packet to send [09:32:28]OFD Sender: No OFD packet to send [09:32:33]OFD Sender: No OFD packet to send [09:32:38]OFD Sender: No OFD packet to send [09:32:43]OFD Sender: No OFD packet to send [09:32:48]OFD Sender: No OFD packet to send [09:32:53]OFD Sender: No OFD packet to send [09:32:58]OFD Sender: No OFD packet to send [09:33:03]OFD Sender: No OFD packet to send [09:33:08]OFD Sender: No OFD packet to send [09:33:13]OFD Sender: No OFD packet to send [09:33:18]OFD Sender: No OFD packet to send [09:33:23]OFD Sender: No OFD packet to send [09:33:28]OFD Sender: No OFD packet to send [09:33:33]OFD Sender: No OFD packet to send [09:33:38]OFD Sender: No OFD packet to send [09:33:43]OFD Sender: No OFD packet to send [09:33:48]OFD Sender: No OFD packet to send [09:33:53]OFD Sender: No OFD packet to send [09:33:58]OFD Sender: No OFD packet to send [09:34:03]OFD Sender: No OFD packet to send [09:34:08]OFD Sender: No OFD packet to send [09:34:13]OFD Sender: No OFD packet to send [09:34:18]OFD Sender: No OFD packet to send [09:34:23]OFD Sender: No OFD packet to send [09:34:28]OFD Sender: No OFD packet to send [09:34:33]OFD Sender: No OFD packet to send [09:34:38]OFD Sender: No OFD packet to send [09:34:43]OFD Sender: No OFD packet to send [09:34:48]OFD Sender: No OFD packet to send [09:34:53]OFD Sender: No OFD packet to send [09:34:58]OFD Sender: No OFD packet to send [09:35:03]OFD Sender: No OFD packet to send [09:35:08]OFD Sender: No OFD packet to send [09:35:13]OFD Sender: No OFD packet to send [09:35:18]OFD Sender: No OFD packet to send [09:35:23]OFD Sender: No OFD packet to send [09:35:28]OFD Sender: No OFD packet to send [09:35:33]OFD Sender: No OFD packet to send [09:35:38]OFD Sender: No OFD packet to send [09:35:43]OFD Sender: No OFD packet to send [09:35:48]OFD Sender: No OFD packet to send [09:35:53]OFD Sender: No OFD packet to send [09:35:58]OFD Sender: No OFD packet to send [09:36:03]OFD Sender: No OFD packet to send [09:36:08]OFD Sender: No OFD packet to send [09:36:13]OFD Sender: No OFD packet to send [09:36:18]OFD Sender: No OFD packet to send [09:36:23]OFD Sender: No OFD packet to send [09:36:28]OFD Sender: No OFD packet to send [09:36:30]accept exits with 9 [09:36:30]New connection [09:36:30]New thread 3067116900 created [09:36:30]Thread 3067260260 joined [09:36:30]Waiting for new connection... [09:36:30] Sock 9.Parse request [09:36:30]Sock 9.Check first char [09:36:30]Sock 9.First char is OK [09:36:30]request: POST /json_proto HTTP/1.0 [09:36:30]Method: POST [09:36:30]URL: /json_proto [09:36:30]Method is POST - this is cgi request [09:36:30]url: /json_proto [09:36:30]query_string will be loaded in cgi processing [09:36:30]execute_cgi json_proto POST (null) [09:36:30]execute_cgi path=json_proto method=POST [09:36:30]POST find Content-Length [09:36:30]Host: 172.17.43.4:8080 [09:36:30]Content-Length: 675 [09:36:30]Content-Type: application/json [09:36:30] [09:36:30]POST finish read [09:36:30]Found Content-Length = 675 [09:36:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2164593", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 7.880, "sum" : 600.46, "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" ] } } [09:36:30]execute_script... [09:36: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)2164593", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 7.880, "sum" : 600.46, "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" ] } } [09:36:30]POST & json_proto [09:36:30]process_json_proto [09:36:30]json parsed OK: [09:36:30]protocol is kg_v1.0 [09:36:30]action value=close_receipt [09:36:30]process_action close_receipt [09:36:30]cmd_close_receipt [09:36:30]MH_GetDate [09:36:30]Write to MH i2c: F0 00 00 AC 09 A4 [09:36:30]Write i2c OK [09:36:30]MH_I2C_Read... [09:36:30]Read from MH i2c: F0 [09:36:30]MH_I2C_Read... [09:36:30]Read from MH i2c: F0 09 00 [09:36:30]MH_I2C_Read... [09:36:30]Read from MH i2c: F0 09 00 AC 09 00 A1 D9 F3 66 02 BF CF 66 76 [09:36:30]GetLastDocTimeStamp 1727255361 [09:36:30]current date 1727256993 [09:36:30]FM_GetShiftState [09:36:30]SAM_PROTO_GetShiftState [09:36:30]wFMCommunicate request_size=4 [09:36:30]MH_SAM_APDU [09:36:30]CAPDU: 80 13 01 00 [09:36:30]Write to MH i2c: E2 08 00 AD 09 80 13 01 00 00 00 00 00 33 [09:36:30]Write i2c OK [09:36:30]MH_I2C_Read... [09:36:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:36:30]Read from MH i2c: E2 [09:36:30]MH_I2C_Read... [09:36:30]Read from MH i2c: E2 0E 00 [09:36:30]MH_I2C_Read... [09:36:30]Read from MH i2c: E2 0E 00 AD 09 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 C4 [09:36:30]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [09:36:30]wFMCommunicate OK [09:36:30]SAM_PROTO_GetShiftState done [09:36:30]FM_GetShiftState done [09:36:30]opened in 1727224020 [09:36:30]opened+sec_in_day 1727310420 [09:36:30]quantity*price = 60045 [09:36:30]sum+1 = 60047 [09:36:30]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.46 ИТОГО: 600.00 Внесено: 600.00 СДАЧА: 0.00 НСП 1% : 5.31 НДС 12% : 63.77 Наличными: 600.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 26 25.09.2024 09:36 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22453 ФПД: 234978596486703 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T093633&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22453&fm=234978596486703&tin=02508201610067®Number=0000000000146243&sum=60000 [09:36:31]StoreToDocumentArchive [09:36:31]shift 231 fd 22453 [09:36:31]save to /storage/0231/doc_00022453 [09:36:31]save last doc name /storage/0231/doc_00022453 to /storage/kkm_last_doc_name [09:36:31]save OK [09:36:31]Clear old archive folders... [09:36:31]ProcessDocumentItem done err = 0, tmpTLVsize=248 [09:36:31]tlvbuf is 00353A90 [09:36:31]SAM_PROTO_ClearQueue [09:36:31]wFMCommunicate request_size=4 [09:36:31]MH_SAM_APDU [09:36:31]CAPDU: 80 09 00 00 [09:36:31]Write to MH i2c: E2 08 00 BA 09 80 09 00 00 00 00 00 00 35 [09:36:31]Write i2c OK [09:36:31]MH_I2C_Read... [09:36:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:36:31]Read from MH i2c: E2 [09:36:31]MH_I2C_Read... [09:36:31]Read from MH i2c: E2 03 00 [09:36:31]MH_I2C_Read... [09:36:31]Read from MH i2c: E2 03 00 BA 09 00 90 00 37 [09:36:31]RAPDU: 90 00 [09:36:31]wFMCommunicate OK [09:36:31]SAM_PROTO_ClearQueue done [09:36:31]KKMCreateOFDPacket [09:36:31]OFDProtocolAddRootSTLVToBuf [09:36:31]FM_MakeSignedData [09:36:31]FM_MakeSignedData [09:36:31]SAM_PROTO_SignData [09:36:31]wFMCommunicate request_size=4 [09:36:31]MH_SAM_APDU [09:36:31]CAPDU: 80 0D 01 02 [09:36:31]Write to MH i2c: E2 08 00 BB 09 80 0D 01 02 00 00 00 00 3D [09:36:31]Write i2c OK [09:36:31]MH_I2C_Read... [09:36:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:36:31]Read from MH i2c: E2 [09:36:31]MH_I2C_Read... [09:36:31]Read from MH i2c: E2 03 00 [09:36:31]MH_I2C_Read... [09:36:31]Read from MH i2c: E2 03 00 BB 09 00 90 00 38 [09:36:31]RAPDU: 90 00 [09:36:31]wFMCommunicate OK [09:36:31]wFMCommunicate request_size=255 [09:36:31]MH_SAM_APDU [09:36:31]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 C8 1E 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8E 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 E9 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 1A 00 00 00 F4 03 04 00 A1 D9 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B5 57 00 00 35 04 06 00 D5 B6 37 C5 [09:36:31]Write to MH i2c: E2 02 01 BC 09 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 C8 1E 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8E 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 E9 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 1A 00 00 00 F4 03 04 00 A1 D9 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B5 57 00 00 35 04 06 00 D5 B6 37 C5 00 00 EC [09:36:31]Write i2c OK [09:36:31]MH_I2C_Read... [09:36:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:36:31]Read from MH i2c: E2 [09:36:31]MH_I2C_Read... [09:36:31]Read from MH i2c: E2 03 00 [09:36:31]MH_I2C_Read... [09:36:31]Read from MH i2c: E2 03 00 BC 09 00 90 00 39 [09:36:31]RAPDU: 90 00 [09:36:31]wFMCommunicate OK [09:36:31]wFMCommunicate request_size=7 [09:36:31]MH_SAM_APDU [09:36:31]CAPDU: 80 0D 02 02 02 FE 2F [09:36:31]Write to MH i2c: E2 0A 00 BD 09 80 0D 02 02 02 00 FE 2F 00 00 71 [09:36:31]Write i2c OK [09:36:31]MH_I2C_Read... [09:36:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:36:32]Read from MH i2c: E2 [09:36:32]MH_I2C_Read... [09:36:32]Read from MH i2c: E2 03 00 [09:36:32]MH_I2C_Read... [09:36:32]Read from MH i2c: E2 03 00 BD 09 00 90 00 3A [09:36:32]RAPDU: 90 00 [09:36:32]wFMCommunicate OK [09:36:32]wFMCommunicate request_size=4 [09:36:32]MH_SAM_APDU [09:36:32]CAPDU: 80 0D 03 02 [09:36:32]Write to MH i2c: E2 08 00 BE 09 80 0D 03 02 00 00 00 00 42 [09:36:32]Write i2c OK [09:36:32]MH_I2C_Read... [09:36:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:36:32]Read from MH i2c: E2 [09:36:32]MH_I2C_Read... [09:36:32]Read from MH i2c: E2 0B 00 [09:36:32]MH_I2C_Read... [09:36:32]Read from MH i2c: E2 0B 00 BE 09 00 E0 45 E0 C3 88 EE 08 C2 90 00 4B [09:36:32]RAPDU: E0 45 E0 C3 88 EE 08 C2 90 00 [09:36:32]wFMCommunicate OK [09:36:32]SAM_PROTO_SignData done [09:36:32]FM_MakeSignedData done [09:36:32]CreateOFDProtocolMessage [09:36:32]wFMCommunicate request_size=4 [09:36:32]MH_SAM_APDU [09:36:32]CAPDU: 80 11 00 00 [09:36:32]Write to MH i2c: E2 08 00 BF 09 80 11 00 00 00 00 00 00 42 [09:36:32]Write i2c OK [09:36:32]MH_I2C_Read... [09:36:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:36:32]Read from MH i2c: E2 [09:36:32]MH_I2C_Read... [09:36:32]Read from MH i2c: E2 17 00 [09:36:32]MH_I2C_Read... [09:36:32]Read from MH i2c: E2 17 00 BF 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 9C [09:36:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [09:36:32]wFMCommunicate OK [09:36:32]CreateOFDProtocolMessage done [09:36:32]OFDSenderStorePacket 22453 [09:36:32]StoreOFDPacket docnum=22453 [09:36:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 01 00 00 6B 00 04 01 E0 80 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 C8 1E 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8E 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 E9 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 1A 00 00 00 F4 03 04 00 A1 D9 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B5 57 00 00 35 04 06 00 D5 B6 37 C5 FE 2F E0 45 E0 C3 88 EE 08 C2 [09:36:32]CheckFolder [09:36:32]dirname=/storage/ofd_packets [09:36:32]CheckFolder done [09:36:32]ProducePacketName [09:36:32]name=ofd_packets/00022453 [09:36:32]NVStorageSaveData ofd_packets/00022453 [09:36:32]File name is /storage/ofd_packets/00022453 [09:36:32]Write 298 bytes [09:36:32]NVStorageSaveData done [09:36:32]OFDSenderStorePacket done [09:36:32]KKMCreateOFDPacket done [09:36:32]NVStorageSaveData kkm_last_timestamp [09:36:32]File name is /storage/kkm_last_timestamp [09:36:32]Write 4 bytes [09:36:32]NVStorageSaveData done [09:36:32]ExternCall_PrintAddStr [09:36:32]wPrintStart [09:36:32]Write to MH i2c: 01 00 00 C0 09 C9 [09:36:32]OFD Sender: Processing packet 22453 [packets to send 23, broken 22] [09:36:32]ProducePacketName [09:36:32]name=ofd_packets/00022453 [09:36:32]OFD Sender: To server: pG, [09:36:32]CommunicateWithHost lk.salyk.kg:30040 [09:36:32]ConnectInit lk.salyk.kg [09:36:32]Write i2c OK [09:36:32]MH_I2C_Read... [09:36:32]Read from MH i2c: 01 [09:36:32]MH_I2C_Read... [09:36:32]Read from MH i2c: 01 07 00 [09:36:32]MH_I2C_Read... [09:36:32]Read from MH i2c: 01 07 00 C0 09 00 00 00 00 00 FF 0F DE [09:36:32]RasterBufferAndPrint [09:36:32]line Счет N : (1)2164593 [09:36:32]line ИНН: 02508201610067 [09:36:32]line Контрольно-Кассовый Чек [09:36:32]line ПРОДАЖА [09:36:32]line ТРК (МРК, ГНК) : 41 [09:36:32]line Товар: 2710194210 [09:36:32]line ДТ-К-5 [09:36:32]line 7.880 * 76.20 [09:36:32]line = 600.46 [09:36:32]line НДС 12% НСП 1% [09:36:32]line > о реализуемом товаре [09:36:32]line ОКРУГЛЕНИЕ: -0.46 [09:36:32]line ИТОГО: 600.00 [09:36:32]line Внесено: 600.00 [09:36:32]line СДАЧА: 0.00 [09:36:32]line НСП 1% : 5.31 [09:36:32]line НДС 12% : 63.77 [09:36:32]line Наличными: 600.00 [09:36:32]line Безнал.: 0.00 [09:36:32]line Место: АЗС № 88 "Партнер Нефть" [09:36:32]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [09:36:32]line СНО: Общий режим [09:36:32]line Чек 26 25.09.2024 09:36 [09:36:32]line Смена: 231 ФФД: 1.0 [09:36:32]line ЗНМ: 0300000061 [09:36:32]line РНМ: 0000000000146243 [09:36:32]line Версия ККМ: v1.0 [09:36:32]line ФМ: 0000000000959358 [09:36:32]line ФД: 22453 [09:36:32]line ФПД: 234978596486703 [09:36:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T093633&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22453&fm=234978596486703&tin=02508201610067®Number=0000000000146243&sum=60000 [09:36:32]written 0, free lines is 4095 [09:36:32]Write to MH i2c: 01 00 00 EB 09 F4 [09:36:32]Write i2c OK [09:36:32]MH_I2C_Read... [09:36:32]Read from MH i2c: 01 [09:36:32]MH_I2C_Read... [09:36:32]Read from MH i2c: 01 07 00 [09:36:32]MH_I2C_Read... [09:36:32]Read from MH i2c: 01 07 00 EB 09 00 00 00 00 00 F3 0C FA [09:36:32]RasterBufferAndPrint [09:36:32]line [09:36:32]line [09:36:32]line [09:36:32]line [09:36:32]line [09:36:32]written 0, free lines is 3321 [09:36:32]MH_Cut [09:36:32]Write to MH i2c: D1 01 00 F2 09 01 CD [09:36:32]Write i2c OK [09:36:32]MH_I2C_Read... [09:36:32]Read from MH i2c: D1 [09:36:32]MH_I2C_Read... [09:36:32]Read from MH i2c: D1 01 00 [09:36:32]MH_I2C_Read... [09:36:32]Read from MH i2c: D1 01 00 F2 09 00 CC [09:36:32]Write to MH i2c: 01 00 00 F3 09 FC [09:36:32]Write i2c OK [09:36:32]MH_I2C_Read... [09:36:33]*** Cut start [09:36:33]*** Partial cut [09:36:33]*** CUTSNS_PIN = 1 [09:36:33]*** CUTSNS_PIN = 0 [09:36:33]*** Brake cut motor [09:36:34]Read from MH i2c: 01 [09:36:34]MH_I2C_Read... [09:36:34]*** Stop cut motor [09:36:34]*** Cut end [09:36:34]Read from MH i2c: 01 07 00 [09:36:34]MH_I2C_Read... [09:36:34]Read from MH i2c: 01 07 00 F3 09 00 00 00 00 00 FF 0F 11 [09:36:34]process_action close_receipt done [09:36:34]requested_data is exist [09:36:34]produce_requested_data [09:36:34]requested_item fm.sn is exist - process it [09:36:34]wFMCommunicate request_size=4 [09:36:34]MH_SAM_APDU [09:36:34]CAPDU: 80 11 00 00 [09:36:34]Write to MH i2c: E2 08 00 F4 09 80 11 00 00 00 00 00 00 77 [09:36:34]Write i2c OK [09:36:34]MH_I2C_Read... [09:36:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:36:34]Read from MH i2c: E2 [09:36:34]MH_I2C_Read... [09:36:34]Read from MH i2c: E2 17 00 [09:36:34]MH_I2C_Read... [09:36:34]Read from MH i2c: E2 17 00 F4 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 D1 [09:36:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [09:36:34]wFMCommunicate OK [09:36:34]requested_item fd.num is exist - process it [09:36:34]SAM_PROTO_GetFieldsCounters [09:36:34]wFMCommunicate request_size=4 [09:36:34]MH_SAM_APDU [09:36:34]CAPDU: 80 13 00 00 [09:36:34]Write to MH i2c: E2 08 00 F5 09 80 13 00 00 00 00 00 00 7A [09:36:34]Write i2c OK [09:36:34]MH_I2C_Read... [09:36:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:36:34]Read from MH i2c: E2 [09:36:34]MH_I2C_Read... [09:36:34]Read from MH i2c: E2 62 00 [09:36:34]MH_I2C_Read... [09:36:34]Read from MH i2c: E2 62 00 F5 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 B5 57 00 00 0E 04 04 00 E7 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 DE [09:36:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 B5 57 00 00 0E 04 04 00 E7 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 [09:36:34]wFMCommunicate OK [09:36:34]SAM_PROTO_GetFieldsCounters done [09:36:34]requested_item shift.num is exist - process it [09:36:34]requested_item shift.opened is exist - process it [09:36:34]req_shift_opened [09:36:34]FM_GetShiftState [09:36:34]SAM_PROTO_GetShiftState [09:36:34]wFMCommunicate request_size=4 [09:36:34]MH_SAM_APDU [09:36:34]CAPDU: 80 13 01 00 [09:36:34]Write to MH i2c: E2 08 00 F6 09 80 13 01 00 00 00 00 00 7C [09:36:34]Write i2c OK [09:36:34]MH_I2C_Read... [09:36:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:36:34]Read from MH i2c: E2 [09:36:34]MH_I2C_Read... [09:36:34]Read from MH i2c: E2 0E 00 [09:36:34]MH_I2C_Read... [09:36:34]Read from MH i2c: E2 0E 00 F6 09 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 0D [09:36:34]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [09:36:34]wFMCommunicate OK [09:36:34]SAM_PROTO_GetShiftState done [09:36:34]FM_GetShiftState done [09:36:34]req_shift_opened done [09:36:34]requested_item shift.open_date is exist - process it [09:36:34]req_shift_open_date [09:36:34]req_shift_open_date done [09:36:34]produce_requested_data done [09:36:34]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22453,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [09:36:34]process_action_free close_receipt [09:36:34]json_value_free [09:36:34]json_value_free done [09:36:34]process_json_proto returns [09:36:34]Send response to host [09:36:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22453,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [09:36:34]free response buf [09:36:34]execute_script done [09:36:34]execute_script returns [09:36:34]free content buf [09:36:34]Sock 9.Close socket [09:36:34]Sock 9.Thread stoped [09:38:42]ConnectInit Can't connect to host [09:38:42]CommunicateWithHost connect error [09:38:42]CommunicateWithHost err = -1 [09:38:42]OFD Sender: Server communicate error [09:38:47]OFD Sender: Processing packet 22453 [packets to send 23, broken 22] [09:38:47]ProducePacketName [09:38:47]name=ofd_packets/00022453 [09:38:47]OFD Sender: To server: pG, [09:38:47]CommunicateWithHost lk.salyk.kg:30040 [09:38:47]ConnectInit lk.salyk.kg [09:38:48]Connected sock=9 [09:38:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 01 00 00 6B 00 04 01 E0 80 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 C8 1E 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8E 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 E9 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 1A 00 00 00 F4 03 04 00 A1 D9 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B5 57 00 00 35 04 06 00 D5 B6 37 C5 FE 2F E0 45 E0 C3 88 EE 08 C2 [09:38:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 67 9A 47 00 A5 29 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B5 57 00 00 F4 03 04 00 4B 84 F3 66 B6 04 01 00 00 5B 98 E5 DE 34 64 23 9F [09:38:48]CommunicateWithHost err = 0 [09:38:48]CheckOFDResponse [09:38:48]1017 (14) - 77093643461234 [09:38:48]1041 (16) - 0000000000959358 [09:38:48]1040 (4) - 22453 [09:38:48]1012 (4) - 25.09.2024 03:32 [09:38:48]1206 (1) - 0 [09:38:48]OFD Sender: Remove packet 22453 [09:38:48]ProducePacketName [09:38:48]name=ofd_packets/00022453 [09:38:48]NVStorageDeleteData [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: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: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:29]OFD Sender: No OFD packet to send [09:43:34]OFD Sender: No OFD packet to send [09:43:39]OFD Sender: No OFD packet to send [09:43:44]OFD Sender: No OFD packet to send [09:43:49]OFD Sender: No OFD packet to send [09:43:54]OFD Sender: No OFD packet to send [09:43:59]OFD Sender: No OFD packet to send [09:44:04]OFD Sender: No OFD packet to send [09:44:09]OFD Sender: No OFD packet to send [09:44:14]OFD Sender: No OFD packet to send [09:44:19]OFD Sender: No OFD packet to send [09:44:24]OFD Sender: No OFD packet to send [09:44:29]OFD Sender: No OFD packet to send [09:44:34]OFD Sender: No OFD packet to send [09:44:39]OFD Sender: No OFD packet to send [09:44:44]OFD Sender: No OFD packet to send [09:44:49]OFD Sender: No OFD packet to send [09:44:54]OFD Sender: No OFD packet to send [09:44:59]OFD Sender: No OFD packet to send [09:45:04]OFD Sender: No OFD packet to send [09:45:09]OFD Sender: No OFD packet to send [09:45:14]OFD Sender: No OFD packet to send [09:45:19]OFD Sender: No OFD packet to send [09:45:24]OFD Sender: No OFD packet to send [09:45:29]OFD Sender: No OFD packet to send [09:45:34]OFD Sender: No OFD packet to send [09:45:39]OFD Sender: No OFD packet to send [09:45:44]OFD Sender: No OFD packet to send [09:45:49]OFD Sender: No OFD packet to send [09:45:54]OFD Sender: No OFD packet to send [09:45:59]OFD Sender: No OFD packet to send [09:46:04]OFD Sender: No OFD packet to send [09:46:09]OFD Sender: No OFD packet to send [09:46:14]OFD Sender: No OFD packet to send [09:46:19]OFD Sender: No OFD packet to send [09:46:24]OFD Sender: No OFD packet to send [09:46:29]OFD Sender: No OFD packet to send [09:46:34]OFD Sender: No OFD packet to send [09:46:39]OFD Sender: No OFD packet to send [09:46:44]OFD Sender: No OFD packet to send [09:46:49]OFD Sender: No OFD packet to send [09:46:54]OFD Sender: No OFD packet to send [09:46:59]OFD Sender: No OFD packet to send [09:47:04]OFD Sender: No OFD packet to send [09:47:09]OFD Sender: No OFD packet to send [09:47:14]OFD Sender: No OFD packet to send [09:47:19]OFD Sender: No OFD packet to send [09:47:24]OFD Sender: No OFD packet to send [09:47:29]OFD Sender: No OFD packet to send [09:47:34]OFD Sender: No OFD packet to send [09:47:39]OFD Sender: No OFD packet to send [09:47:44]OFD Sender: No OFD packet to send [09:47:49]OFD Sender: No OFD packet to send [09:47:54]OFD Sender: No OFD packet to send [09:47:59]OFD Sender: No OFD packet to send [09:48:04]OFD Sender: No OFD packet to send [09:48:09]OFD Sender: No OFD packet to send [09:48:14]OFD Sender: No OFD packet to send [09:48:19]OFD Sender: No OFD packet to send [09:48:24]OFD Sender: No OFD packet to send [09:48:29]OFD Sender: No OFD packet to send [09:48:34]OFD Sender: No OFD packet to send [09:48:39]OFD Sender: No OFD packet to send [09:48:44]OFD Sender: No OFD packet to send [09:48:49]OFD Sender: No OFD packet to send [09:48:54]OFD Sender: No OFD packet to send [09:48:59]OFD Sender: No OFD packet to send [09:49:04]OFD Sender: No OFD packet to send [09:49:09]OFD Sender: No OFD packet to send [09:49:14]OFD Sender: No OFD packet to send [09:49:19]OFD Sender: No OFD packet to send [09:49:24]OFD Sender: No OFD packet to send [09:49:29]OFD Sender: No OFD packet to send [09:49:34]OFD Sender: No OFD packet to send [09:49:39]OFD Sender: No OFD packet to send [09:49:44]OFD Sender: No OFD packet to send [09:49:49]OFD Sender: No OFD packet to send [09:49:54]OFD Sender: No OFD packet to send [09:49:59]OFD Sender: No OFD packet to send [09:50:04]OFD Sender: No OFD packet to send [09:50:09]OFD Sender: No OFD packet to send [09:50:14]OFD Sender: No OFD packet to send [09:50:19]OFD Sender: No OFD packet to send [09:50:24]OFD Sender: No OFD packet to send [09:50:29]OFD Sender: No OFD packet to send [09:50:34]OFD Sender: No OFD packet to send [09:50:39]OFD Sender: No OFD packet to send [09:50:44]OFD Sender: No OFD packet to send [09:50:49]OFD Sender: No OFD packet to send [09:50:54]OFD Sender: No OFD packet to send [09:50:59]OFD Sender: No OFD packet to send [09:51:04]OFD Sender: No OFD packet to send [09:51:09]OFD Sender: No OFD packet to send [09:51:14]OFD Sender: No OFD packet to send [09:51:19]OFD Sender: No OFD packet to send [09:51:24]OFD Sender: No OFD packet to send [09:51:29]OFD Sender: No OFD packet to send [09:51:34]OFD Sender: No OFD packet to send [09:51:39]OFD Sender: No OFD packet to send [09:51:44]OFD Sender: No OFD packet to send [09:51:49]OFD Sender: No OFD packet to send [09:51:54]OFD Sender: No OFD packet to send [09:51:59]OFD Sender: No OFD packet to send [09:52:04]OFD Sender: No OFD packet to send [09:52:09]OFD Sender: No OFD packet to send [09:52:14]OFD Sender: No OFD packet to send [09:52:19]OFD Sender: No OFD packet to send [09:52:24]OFD Sender: No OFD packet to send [09:52:29]OFD Sender: No OFD packet to send [09:52:34]OFD Sender: No OFD packet to send [09:52:39]OFD Sender: No OFD packet to send [09:52:44]OFD Sender: No OFD packet to send [09:52:49]OFD Sender: No OFD packet to send [09:52:54]OFD Sender: No OFD packet to send [09:52:59]OFD Sender: No OFD packet to send [09:53:04]OFD Sender: No OFD packet to send [09:53:09]OFD Sender: No OFD packet to send [09:53:14]OFD Sender: No OFD packet to send [09:53:19]OFD Sender: No OFD packet to send [09:53:24]OFD Sender: No OFD packet to send [09:53:29]OFD Sender: No OFD packet to send [09:53:34]OFD Sender: No OFD packet to send [09:53:39]OFD Sender: No OFD packet to send [09:53:44]OFD Sender: No OFD packet to send [09:53:49]OFD Sender: No OFD packet to send [09:53:54]OFD Sender: No OFD packet to send [09:53:59]OFD Sender: No OFD packet to send [09:54:04]OFD Sender: No OFD packet to send [09:54:09]OFD Sender: No OFD packet to send [09:54:14]OFD Sender: No OFD packet to send [09:54:19]OFD Sender: No OFD packet to send [09:54:24]OFD Sender: No OFD packet to send [09:54:29]OFD Sender: No OFD packet to send [09:54:34]OFD Sender: No OFD packet to send [09:54:39]OFD Sender: No OFD packet to send [09:54:44]OFD Sender: No OFD packet to send [09:54:49]OFD Sender: No OFD packet to send [09:54:54]OFD Sender: No OFD packet to send [09:54:59]OFD Sender: No OFD packet to send [09:55:04]OFD Sender: No OFD packet to send [09:55:09]OFD Sender: No OFD packet to send [09:55:14]OFD Sender: No OFD packet to send [09:55:19]OFD Sender: No OFD packet to send [09:55:24]OFD Sender: No OFD packet to send [09:55:29]OFD Sender: No OFD packet to send [09:55:34]OFD Sender: No OFD packet to send [09:55:39]OFD Sender: No OFD packet to send [09:55:44]OFD Sender: No OFD packet to send [09:55:49]OFD Sender: No OFD packet to send [09:55:54]OFD Sender: No OFD packet to send [09:55:59]OFD Sender: No OFD packet to send [09:56:04]OFD Sender: No OFD packet to send [09:56:09]OFD Sender: No OFD packet to send [09:56:14]OFD Sender: No OFD packet to send [09:56:19]OFD Sender: No OFD packet to send [09:56:24]OFD Sender: No OFD packet to send [09:56:29]OFD Sender: No OFD packet to send [09:56:34]OFD Sender: No OFD packet to send [09:56:39]OFD Sender: No OFD packet to send [09:56:44]OFD Sender: No OFD packet to send [09:56:49]OFD Sender: No OFD packet to send [09:56:54]OFD Sender: No OFD packet to send [09:56:59]OFD Sender: No OFD packet to send [09:57:04]OFD Sender: No OFD packet to send [09:57:09]OFD Sender: No OFD packet to send [09:57:14]OFD Sender: No OFD packet to send [09:57:19]OFD Sender: No OFD packet to send [09:57:24]OFD Sender: No OFD packet to send [09:57:29]OFD Sender: No OFD packet to send [09:57:34]OFD Sender: No OFD packet to send [09:57:39]OFD Sender: No OFD packet to send [09:57:44]OFD Sender: No OFD packet to send [09:57:49]OFD Sender: No OFD packet to send [09:57:54]OFD Sender: No OFD packet to send [09:57:59]OFD Sender: No OFD packet to send [09:58:04]OFD Sender: No OFD packet to send [09:58:09]OFD Sender: No OFD packet to send [09:58:14]OFD Sender: No OFD packet to send [09:58:19]OFD Sender: No OFD packet to send [09:58:25]OFD Sender: No OFD packet to send [09:58:30]OFD Sender: No OFD packet to send [09:58:35]OFD Sender: No OFD packet to send [09:58:40]OFD Sender: No OFD packet to send [09:58:45]OFD Sender: No OFD packet to send [09:58:50]OFD Sender: No OFD packet to send [09:58:55]OFD Sender: No OFD packet to send [09:59:00]OFD Sender: No OFD packet to send [09:59:05]OFD Sender: No OFD packet to send [09:59:10]OFD Sender: No OFD packet to send [09:59:15]OFD Sender: No OFD packet to send [09:59:20]OFD Sender: No OFD packet to send [09:59:25]OFD Sender: No OFD packet to send [09:59:30]OFD Sender: No OFD packet to send [09:59:35]OFD Sender: No OFD packet to send [09:59:40]OFD Sender: No OFD packet to send [09:59:45]OFD Sender: No OFD packet to send [09:59:50]OFD Sender: No OFD packet to send [09:59:55]OFD Sender: No OFD packet to send [10:00:00]OFD Sender: No OFD packet to send [10:00:05]OFD Sender: No OFD packet to send [10:00:10]OFD Sender: No OFD packet to send [10:00:15]OFD Sender: No OFD packet to send [10:00:20]OFD Sender: No OFD packet to send [10:00:25]OFD Sender: No OFD packet to send [10:00:30]OFD Sender: No OFD packet to send [10:00:35]OFD Sender: No OFD packet to send [10:00:40]OFD Sender: No OFD packet to send [10:00:45]OFD Sender: No OFD packet to send [10:00:50]OFD Sender: No OFD packet to send [10:00:55]OFD Sender: No OFD packet to send [10:01:00]OFD Sender: No OFD packet to send [10:01:05]OFD Sender: No OFD packet to send [10:01:10]OFD Sender: No OFD packet to send [10:01:15]OFD Sender: No OFD packet to send [10:01:20]OFD Sender: No OFD packet to send [10:01:25]OFD Sender: No OFD packet to send [10:01:30]OFD Sender: No OFD packet to send [10:01:35]OFD Sender: No OFD packet to send [10:01:40]OFD Sender: No OFD packet to send [10:01:45]OFD Sender: No OFD packet to send [10:01:50]OFD Sender: No OFD packet to send [10:01:55]OFD Sender: No OFD packet to send [10:02:00]OFD Sender: No OFD packet to send [10:02:05]OFD Sender: No OFD packet to send [10:02:10]OFD Sender: No OFD packet to send [10:02:15]OFD Sender: No OFD packet to send [10:02:20]OFD Sender: No OFD packet to send [10:02:25]OFD Sender: No OFD packet to send [10:02:30]OFD Sender: No OFD packet to send [10:02:35]OFD Sender: No OFD packet to send [10:02:40]OFD Sender: No OFD packet to send [10:02:45]OFD Sender: No OFD packet to send [10:02:50]OFD Sender: No OFD packet to send [10:02:55]OFD Sender: No OFD packet to send [10:03:00]OFD Sender: No OFD packet to send [10:03:05]OFD Sender: No OFD packet to send [10:03:10]OFD Sender: No OFD packet to send [10:03:15]OFD Sender: No OFD packet to send [10:03:20]OFD Sender: No OFD packet to send [10:03:25]OFD Sender: No OFD packet to send [10:03:30]OFD Sender: No OFD packet to send [10:03:35]OFD Sender: No OFD packet to send [10:03:40]OFD Sender: No OFD packet to send [10:03:45]OFD Sender: No OFD packet to send [10:03:50]OFD Sender: No OFD packet to send [10:03:55]OFD Sender: No OFD packet to send [10:04:00]OFD Sender: No OFD packet to send [10:04:05]OFD Sender: No OFD packet to send [10:04:10]OFD Sender: No OFD packet to send [10:04:15]OFD Sender: No OFD packet to send [10:04:20]OFD Sender: No OFD packet to send [10:04:25]OFD Sender: No OFD packet to send [10:04:30]OFD Sender: No OFD packet to send [10:04:35]OFD Sender: No OFD packet to send [10:04:40]OFD Sender: No OFD packet to send [10:04:45]OFD Sender: No OFD packet to send [10:04:50]OFD Sender: No OFD packet to send [10:04:55]OFD Sender: No OFD packet to send [10:05:00]OFD Sender: No OFD packet to send [10:05:05]OFD Sender: No OFD packet to send [10:05:10]OFD Sender: No OFD packet to send [10:05:15]OFD Sender: No OFD packet to send [10:05:20]OFD Sender: No OFD packet to send [10:05:25]OFD Sender: No OFD packet to send [10:05:30]OFD Sender: No OFD packet to send [10:05:35]OFD Sender: No OFD packet to send [10:05:40]OFD Sender: No OFD packet to send [10:05:45]OFD Sender: No OFD packet to send [10:05:50]OFD Sender: No OFD packet to send [10:05:55]OFD Sender: No OFD packet to send [10:06:00]OFD Sender: No OFD packet to send [10:06:05]OFD Sender: No OFD packet to send [10:06:10]OFD Sender: No OFD packet to send [10:06:15]OFD Sender: No OFD packet to send [10:06:20]OFD Sender: No OFD packet to send [10:06:25]OFD Sender: No OFD packet to send [10:06:30]OFD Sender: No OFD packet to send [10:06:35]OFD Sender: No OFD packet to send [10:06:40]OFD Sender: No OFD packet to send [10:06:45]OFD Sender: No OFD packet to send [10:06:50]OFD Sender: No OFD packet to send [10:06:55]OFD Sender: No OFD packet to send [10:07:00]OFD Sender: No OFD packet to send [10:07:05]OFD Sender: No OFD packet to send [10:07:10]OFD Sender: No OFD packet to send [10:07:15]OFD Sender: No OFD packet to send [10:07:20]OFD Sender: No OFD packet to send [10:07:25]OFD Sender: No OFD packet to send [10:07:30]OFD Sender: No OFD packet to send [10:07:35]OFD Sender: No OFD packet to send [10:07:40]OFD Sender: No OFD packet to send [10:07:45]OFD Sender: No OFD packet to send [10:07:50]OFD Sender: No OFD packet to send [10:07:55]OFD Sender: No OFD packet to send [10:08:00]OFD Sender: No OFD packet to send [10:08:05]OFD Sender: No OFD packet to send [10:08:10]OFD Sender: No OFD packet to send [10:08:15]OFD Sender: No OFD packet to send [10:08:20]OFD Sender: No OFD packet to send [10:08:25]OFD Sender: No OFD packet to send [10:08:30]OFD Sender: No OFD packet to send [10:08:35]OFD Sender: No OFD packet to send [10:08:40]OFD Sender: No OFD packet to send [10:08:45]OFD Sender: No OFD packet to send [10:08:50]OFD Sender: No OFD packet to send [10:08:55]OFD Sender: No OFD packet to send [10:09:00]OFD Sender: No OFD packet to send [10:09:05]OFD Sender: No OFD packet to send [10:09:10]OFD Sender: No OFD packet to send [10:09:15]OFD Sender: No OFD packet to send [10:09:20]OFD Sender: No OFD packet to send [10:09:25]OFD Sender: No OFD packet to send [10:09:30]OFD Sender: No OFD packet to send [10:09:35]OFD Sender: No OFD packet to send [10:09:40]OFD Sender: No OFD packet to send [10:09:45]OFD Sender: No OFD packet to send [10:09:50]OFD Sender: No OFD packet to send [10:09:55]OFD Sender: No OFD packet to send [10:10:00]OFD Sender: No OFD packet to send [10:10:05]OFD Sender: No OFD packet to send [10:10:10]OFD Sender: No OFD packet to send [10:10:15]OFD Sender: No OFD packet to send [10:10:20]OFD Sender: No OFD packet to send [10:10:25]OFD Sender: No OFD packet to send [10:10:30]OFD Sender: No OFD packet to send [10:10:35]OFD Sender: No OFD packet to send [10:10:40]OFD Sender: No OFD packet to send [10:10:45]OFD Sender: No OFD packet to send [10:10:50]OFD Sender: No OFD packet to send [10:10:55]OFD Sender: No OFD packet to send [10:11:00]OFD Sender: No OFD packet to send [10:11:05]OFD Sender: No OFD packet to send [10:11:10]OFD Sender: No OFD packet to send [10:11:15]OFD Sender: No OFD packet to send [10:11:20]OFD Sender: No OFD packet to send [10:11:25]OFD Sender: No OFD packet to send [10:11:30]OFD Sender: No OFD packet to send [10:11:35]OFD Sender: No OFD packet to send [10:11:40]OFD Sender: No OFD packet to send [10:11:45]OFD Sender: No OFD packet to send [10:11:50]OFD Sender: No OFD packet to send [10:11:55]OFD Sender: No OFD packet to send [10:12:00]OFD Sender: No OFD packet to send [10:12:05]OFD Sender: No OFD packet to send [10:12:10]OFD Sender: No OFD packet to send [10:12:15]OFD Sender: No OFD packet to send [10:12:20]OFD Sender: No OFD packet to send [10:12:25]OFD Sender: No OFD packet to send [10:12:30]OFD Sender: No OFD packet to send [10:12:35]OFD Sender: No OFD packet to send [10:12:40]OFD Sender: No OFD packet to send [10:12:45]OFD Sender: No OFD packet to send [10:12:50]OFD Sender: No OFD packet to send [10:12:55]OFD Sender: No OFD packet to send [10:13:00]OFD Sender: No OFD packet to send [10:13:05]OFD Sender: No OFD packet to send [10:13:10]OFD Sender: No OFD packet to send [10:13:15]OFD Sender: No OFD packet to send [10:13:20]OFD Sender: No OFD packet to send [10:13:25]OFD Sender: No OFD packet to send [10:13:30]OFD Sender: No OFD packet to send [10:13:35]OFD Sender: No OFD packet to send [10:13:40]OFD Sender: No OFD packet to send [10:13:45]OFD Sender: No OFD packet to send [10:13:50]OFD Sender: No OFD packet to send [10:13:55]OFD Sender: No OFD packet to send [10:14:00]OFD Sender: No OFD packet to send [10:14:05]OFD Sender: No OFD packet to send [10:14:10]OFD Sender: No OFD packet to send [10:14:15]OFD Sender: No OFD packet to send [10:14:20]OFD Sender: No OFD packet to send [10:14:25]OFD Sender: No OFD packet to send [10:14:30]OFD Sender: No OFD packet to send [10:14:35]OFD Sender: No OFD packet to send [10:14:40]OFD Sender: No OFD packet to send [10:14:45]OFD Sender: No OFD packet to send [10:14:50]OFD Sender: No OFD packet to send [10:14:55]OFD Sender: No OFD packet to send [10:15:00]OFD Sender: No OFD packet to send [10:15:05]OFD Sender: No OFD packet to send [10:15:10]OFD Sender: No OFD packet to send [10:15:15]OFD Sender: No OFD packet to send [10:15:20]OFD Sender: No OFD packet to send [10:15:25]OFD Sender: No OFD packet to send [10:15:30]OFD Sender: No OFD packet to send [10:15:35]OFD Sender: No OFD packet to send [10:15:40]OFD Sender: No OFD packet to send [10:15:45]OFD Sender: No OFD packet to send [10:15:50]OFD Sender: No OFD packet to send [10:15:55]OFD Sender: No OFD packet to send [10:16:00]OFD Sender: No OFD packet to send [10:16:05]OFD Sender: No OFD packet to send [10:16:10]OFD Sender: No OFD packet to send [10:16:15]OFD Sender: No OFD packet to send [10:16:20]OFD Sender: No OFD packet to send [10:16:25]OFD Sender: No OFD packet to send [10:16:30]OFD Sender: No OFD packet to send [10:16:35]OFD Sender: No OFD packet to send [10:16:40]OFD Sender: No OFD packet to send [10:16:45]OFD Sender: No OFD packet to send [10:16:50]OFD Sender: No OFD packet to send [10:16:55]OFD Sender: No OFD packet to send [10:17:00]OFD Sender: No OFD packet to send [10:17:05]OFD Sender: No OFD packet to send [10:17:10]OFD Sender: No OFD packet to send [10:17:15]OFD Sender: No OFD packet to send [10:17:20]OFD Sender: No OFD packet to send [10:17:25]OFD Sender: No OFD packet to send [10:17:30]OFD Sender: No OFD packet to send [10:17:35]OFD Sender: No OFD packet to send [10:17:40]OFD Sender: No OFD packet to send [10:17:45]OFD Sender: No OFD packet to send [10:17:50]OFD Sender: No OFD packet to send [10:17:55]OFD Sender: No OFD packet to send [10:18:00]OFD Sender: No OFD packet to send [10:18:05]OFD Sender: No OFD packet to send [10:18:10]OFD Sender: No OFD packet to send [10:18:15]OFD Sender: No OFD packet to send [10:18:21]OFD Sender: No OFD packet to send [10:18:26]OFD Sender: No OFD packet to send [10:18:31]OFD Sender: No OFD packet to send [10:18:36]OFD Sender: No OFD packet to send [10:18:41]OFD Sender: No OFD packet to send [10:18:46]OFD Sender: No OFD packet to send [10:18:51]OFD Sender: No OFD packet to send [10:18:56]OFD Sender: No OFD packet to send [10:19:01]OFD Sender: No OFD packet to send [10:19:06]OFD Sender: No OFD packet to send [10:19:11]OFD Sender: No OFD packet to send [10:19:16]OFD Sender: No OFD packet to send [10:19:21]OFD Sender: No OFD packet to send [10:19:26]OFD Sender: No OFD packet to send [10:19:31]OFD Sender: No OFD packet to send [10:19:36]OFD Sender: No OFD packet to send [10:19:41]OFD Sender: No OFD packet to send [10:19:46]OFD Sender: No OFD packet to send [10:19:51]OFD Sender: No OFD packet to send [10:19:56]OFD Sender: No OFD packet to send [10:20:01]OFD Sender: No OFD packet to send [10:20:06]OFD Sender: No OFD packet to send [10:20:11]OFD Sender: No OFD packet to send [10:20:16]OFD Sender: No OFD packet to send [10:20:21]OFD Sender: No OFD packet to send [10:20:26]OFD Sender: No OFD packet to send [10:20:31]OFD Sender: No OFD packet to send [10:20:36]OFD Sender: No OFD packet to send [10:20:41]OFD Sender: No OFD packet to send [10:20:46]OFD Sender: No OFD packet to send [10:20:51]OFD Sender: No OFD packet to send [10:20:56]OFD Sender: No OFD packet to send [10:21:01]OFD Sender: No OFD packet to send [10:21:06]OFD Sender: No OFD packet to send [10:21:11]OFD Sender: No OFD packet to send [10:21:16]OFD Sender: No OFD packet to send [10:21:21]OFD Sender: No OFD packet to send [10:21:26]OFD Sender: No OFD packet to send [10:21:31]OFD Sender: No OFD packet to send [10:21:36]OFD Sender: No OFD packet to send [10:21:41]OFD Sender: No OFD packet to send [10:21:46]OFD Sender: No OFD packet to send [10:21:51]OFD Sender: No OFD packet to send [10:21:56]OFD Sender: No OFD packet to send [10:22:01]OFD Sender: No OFD packet to send [10:22:06]OFD Sender: No OFD packet to send [10:22:11]OFD Sender: No OFD packet to send [10:22:16]OFD Sender: No OFD packet to send [10:22:21]OFD Sender: No OFD packet to send [10:22:26]OFD Sender: No OFD packet to send [10:22:31]OFD Sender: No OFD packet to send [10:22:36]OFD Sender: No OFD packet to send [10:22:41]OFD Sender: No OFD packet to send [10:22:46]OFD Sender: No OFD packet to send [10:22:51]OFD Sender: No OFD packet to send [10:22:56]OFD Sender: No OFD packet to send [10:23:01]OFD Sender: No OFD packet to send [10:23:06]OFD Sender: No OFD packet to send [10:23:11]OFD Sender: No OFD packet to send [10:23:16]OFD Sender: No OFD packet to send [10:23:21]OFD Sender: No OFD packet to send [10:23:26]OFD Sender: No OFD packet to send [10:23:31]OFD Sender: No OFD packet to send [10:23:36]OFD Sender: No OFD packet to send [10:23:41]OFD Sender: No OFD packet to send [10:23:46]OFD Sender: No OFD packet to send [10:23:51]OFD Sender: No OFD packet to send [10:23:56]OFD Sender: No OFD packet to send [10:24:01]OFD Sender: No OFD packet to send [10:24:06]OFD Sender: No OFD packet to send [10:24:11]OFD Sender: No OFD packet to send [10:24:16]OFD Sender: No OFD packet to send [10:24:21]OFD Sender: No OFD packet to send [10:24:26]OFD Sender: No OFD packet to send [10:24:31]OFD Sender: No OFD packet to send [10:24:36]OFD Sender: No OFD packet to send [10:24:41]OFD Sender: No OFD packet to send [10:24:46]OFD Sender: No OFD packet to send [10:24:51]OFD Sender: No OFD packet to send [10:24:56]OFD Sender: No OFD packet to send [10:25:01]OFD Sender: No OFD packet to send [10:25:06]OFD Sender: No OFD packet to send [10:25:11]OFD Sender: No OFD packet to send [10:25:16]OFD Sender: No OFD packet to send [10:25:21]OFD Sender: No OFD packet to send [10:25:26]OFD Sender: No OFD packet to send [10:25:31]OFD Sender: No OFD packet to send [10:25:36]OFD Sender: No OFD packet to send [10:25:41]OFD Sender: No OFD packet to send [10:25:46]OFD Sender: No OFD packet to send [10:25:51]OFD Sender: No OFD packet to send [10:25:56]OFD Sender: No OFD packet to send [10:26:01]OFD Sender: No OFD packet to send [10:26:06]OFD Sender: No OFD packet to send [10:26:11]OFD Sender: No OFD packet to send [10:26:16]OFD Sender: No OFD packet to send [10:26:21]OFD Sender: No OFD packet to send [10:26:26]OFD Sender: No OFD packet to send [10:26:31]OFD Sender: No OFD packet to send [10:26:36]OFD Sender: No OFD packet to send [10:26:41]OFD Sender: No OFD packet to send [10:26:46]OFD Sender: No OFD packet to send [10:26:51]OFD Sender: No OFD packet to send [10:26:56]OFD Sender: No OFD packet to send [10:27:01]OFD Sender: No OFD packet to send [10:27:06]OFD Sender: No OFD packet to send [10:27:11]OFD Sender: No OFD packet to send [10:27:16]OFD Sender: No OFD packet to send [10:27:21]OFD Sender: No OFD packet to send [10:27:26]OFD Sender: No OFD packet to send [10:27:31]OFD Sender: No OFD packet to send [10:27:36]OFD Sender: No OFD packet to send [10:27:41]OFD Sender: No OFD packet to send [10:27:46]OFD Sender: No OFD packet to send [10:27:51]OFD Sender: No OFD packet to send [10:27:56]OFD Sender: No OFD packet to send [10:28:01]OFD Sender: No OFD packet to send [10:28:06]OFD Sender: No OFD packet to send [10:28:11]OFD Sender: No OFD packet to send [10:28:16]OFD Sender: No OFD packet to send [10:28:21]OFD Sender: No OFD packet to send [10:28:26]OFD Sender: No OFD packet to send [10:28:31]OFD Sender: No OFD packet to send [10:28:36]OFD Sender: No OFD packet to send [10:28:41]OFD Sender: No OFD packet to send [10:28:46]OFD Sender: No OFD packet to send [10:28:51]OFD Sender: No OFD packet to send [10:28:56]OFD Sender: No OFD packet to send [10:29:01]OFD Sender: No OFD packet to send [10:29:06]OFD Sender: No OFD packet to send [10:29:11]OFD Sender: No OFD packet to send [10:29:16]OFD Sender: No OFD packet to send [10:29:21]OFD Sender: No OFD packet to send [10:29:26]OFD Sender: No OFD packet to send [10:29:31]OFD Sender: No OFD packet to send [10:29:36]OFD Sender: No OFD packet to send [10:29:41]OFD Sender: No OFD packet to send [10:29:46]OFD Sender: No OFD packet to send [10:29:51]OFD Sender: No OFD packet to send [10:29:56]OFD Sender: No OFD packet to send [10:30:01]OFD Sender: No OFD packet to send [10:30:06]OFD Sender: No OFD packet to send [10:30:11]OFD Sender: No OFD packet to send [10:30:16]OFD Sender: No OFD packet to send [10:30:21]OFD Sender: No OFD packet to send [10:30:26]OFD Sender: No OFD packet to send [10:30:31]OFD Sender: No OFD packet to send [10:30:36]OFD Sender: No OFD packet to send [10:30:41]OFD Sender: No OFD packet to send [10:30:46]OFD Sender: No OFD packet to send [10:30:51]OFD Sender: No OFD packet to send [10:30:56]OFD Sender: No OFD packet to send [10:31:01]OFD Sender: No OFD packet to send [10:31:06]OFD Sender: No OFD packet to send [10:31:11]OFD Sender: No OFD packet to send [10:31:16]OFD Sender: No OFD packet to send [10:31:21]OFD Sender: No OFD packet to send [10:31:26]OFD Sender: No OFD packet to send [10:31:31]OFD Sender: No OFD packet to send [10:31:36]OFD Sender: No OFD packet to send [10:31:41]OFD Sender: No OFD packet to send [10:31:46]OFD Sender: No OFD packet to send [10:31:51]OFD Sender: No OFD packet to send [10:31:56]OFD Sender: No OFD packet to send [10:32:01]OFD Sender: No OFD packet to send [10:32:06]OFD Sender: No OFD packet to send [10:32:11]OFD Sender: No OFD packet to send [10:32:16]OFD Sender: No OFD packet to send [10:32:21]OFD Sender: No OFD packet to send [10:32:26]OFD Sender: No OFD packet to send [10:32:31]OFD Sender: No OFD packet to send [10:32:36]OFD Sender: No OFD packet to send [10:32:41]OFD Sender: No OFD packet to send [10:32:46]OFD Sender: No OFD packet to send [10:32:51]OFD Sender: No OFD packet to send [10:32:56]OFD Sender: No OFD packet to send [10:33:01]OFD Sender: No OFD packet to send [10:33:06]OFD Sender: No OFD packet to send [10:33:11]OFD Sender: No OFD packet to send [10:33:16]OFD Sender: No OFD packet to send [10:33:21]OFD Sender: No OFD packet to send [10:33:26]OFD Sender: No OFD packet to send [10:33:31]OFD Sender: No OFD packet to send [10:33:36]OFD Sender: No OFD packet to send [10:33:41]OFD Sender: No OFD packet to send [10:33:46]OFD Sender: No OFD packet to send [10:33:51]OFD Sender: No OFD packet to send [10:33:56]OFD Sender: No OFD packet to send [10:34:01]OFD Sender: No OFD packet to send [10:34:06]OFD Sender: No OFD packet to send [10:34:11]OFD Sender: No OFD packet to send [10:34:16]OFD Sender: No OFD packet to send [10:34:21]OFD Sender: No OFD packet to send [10:34:26]OFD Sender: No OFD packet to send [10:34:31]OFD Sender: No OFD packet to send [10:34:36]OFD Sender: No OFD packet to send [10:34:41]OFD Sender: No OFD packet to send [10:34:46]OFD Sender: No OFD packet to send [10:34:51]OFD Sender: No OFD packet to send [10:34:56]OFD Sender: No OFD packet to send [10:35:01]OFD Sender: No OFD packet to send [10:35:06]OFD Sender: No OFD packet to send [10:35:11]OFD Sender: No OFD packet to send [10:35:16]OFD Sender: No OFD packet to send [10:35:21]OFD Sender: No OFD packet to send [10:35:26]OFD Sender: No OFD packet to send [10:35:31]OFD Sender: No OFD packet to send [10:35:36]OFD Sender: No OFD packet to send [10:35:41]OFD Sender: No OFD packet to send [10:35:46]OFD Sender: No OFD packet to send [10:35:51]OFD Sender: No OFD packet to send [10:35:56]OFD Sender: No OFD packet to send [10:36:01]OFD Sender: No OFD packet to send [10:36:06]OFD Sender: No OFD packet to send [10:36:11]OFD Sender: No OFD packet to send [10:36:16]OFD Sender: No OFD packet to send [10:36:21]OFD Sender: No OFD packet to send [10:36:26]OFD Sender: No OFD packet to send [10:36:31]OFD Sender: No OFD packet to send [10:36:36]OFD Sender: No OFD packet to send [10:36:41]OFD Sender: No OFD packet to send [10:36:46]OFD Sender: No OFD packet to send [10:36:51]OFD Sender: No OFD packet to send [10:36:56]OFD Sender: No OFD packet to send [10:37:01]OFD Sender: No OFD packet to send [10:37:06]OFD Sender: No OFD packet to send [10:37:11]OFD Sender: No OFD packet to send [10:37:16]OFD Sender: No OFD packet to send [10:37:21]OFD Sender: No OFD packet to send [10:37:26]OFD Sender: No OFD packet to send [10:37:31]OFD Sender: No OFD packet to send [10:37:36]OFD Sender: No OFD packet to send [10:37:41]OFD Sender: No OFD packet to send [10:37:46]OFD Sender: No OFD packet to send [10:37:51]OFD Sender: No OFD packet to send [10:37:56]OFD Sender: No OFD packet to send [10:38:01]OFD Sender: No OFD packet to send [10:38:06]OFD Sender: No OFD packet to send [10:38:11]OFD Sender: No OFD packet to send [10:38:17]OFD Sender: No OFD packet to send [10:38:22]OFD Sender: No OFD packet to send [10:38:27]OFD Sender: No OFD packet to send [10:38:32]OFD Sender: No OFD packet to send [10:38:37]OFD Sender: No OFD packet to send [10:38:42]OFD Sender: No OFD packet to send [10:38:47]OFD Sender: No OFD packet to send [10:38:52]OFD Sender: No OFD packet to send [10:38:57]OFD Sender: No OFD packet to send [10:39:02]OFD Sender: No OFD packet to send [10:39:07]OFD Sender: No OFD packet to send [10:39:12]OFD Sender: No OFD packet to send [10:39:17]OFD Sender: No OFD packet to send [10:39:22]OFD Sender: No OFD packet to send [10:39:27]OFD Sender: No OFD packet to send [10:39:32]OFD Sender: No OFD packet to send [10:39:37]OFD Sender: No OFD packet to send [10:39:42]OFD Sender: No OFD packet to send [10:39:47]OFD Sender: No OFD packet to send [10:39:52]OFD Sender: No OFD packet to send [10:39:57]OFD Sender: No OFD packet to send [10:40:02]OFD Sender: No OFD packet to send [10:40:07]OFD Sender: No OFD packet to send [10:40:12]OFD Sender: No OFD packet to send [10:40:17]OFD Sender: No OFD packet to send [10:40:22]OFD Sender: No OFD packet to send [10:40:27]OFD Sender: No OFD packet to send [10:40:32]OFD Sender: No OFD packet to send [10:40:37]OFD Sender: No OFD packet to send [10:40:42]OFD Sender: No OFD packet to send [10:40:47]OFD Sender: No OFD packet to send [10:40:52]OFD Sender: No OFD packet to send [10:40:57]OFD Sender: No OFD packet to send [10:41:02]OFD Sender: No OFD packet to send [10:41:07]OFD Sender: No OFD packet to send [10:41:12]OFD Sender: No OFD packet to send [10:41:17]OFD Sender: No OFD packet to send [10:41:22]OFD Sender: No OFD packet to send [10:41:27]OFD Sender: No OFD packet to send [10:41:32]OFD Sender: No OFD packet to send [10:41:33]accept exits with 8 [10:41:33]New connection [10:41:33]New thread 3067260260 created [10:41:33]Thread 3067116900 joined [10:41:33]Waiting for new connection... [10:41:33] Sock 8.Parse request [10:41:33]Sock 8.Check first char [10:41:33]Sock 8.First char is OK [10:41:33]request: POST /json_proto HTTP/1.0 [10:41:33]Method: POST [10:41:33]URL: /json_proto [10:41:33]Method is POST - this is cgi request [10:41:33]url: /json_proto [10:41:33]query_string will be loaded in cgi processing [10:41:33]execute_cgi json_proto POST (null) [10:41:33]execute_cgi path=json_proto method=POST [10:41:33]POST find Content-Length [10:41:33]Host: 172.17.43.4:8080 [10:41:33]Content-Length: 915 [10:41:33]Content-Type: application/json [10:41:33] [10:41:33]POST finish read [10:41:33]Found Content-Length = 915 [10:41:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51662", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 235.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:41:33]execute_script... [10:41:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51662", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 235.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:41:33]POST & json_proto [10:41:33]process_json_proto [10:41:33]json parsed OK: [10:41:33]protocol is kg_v1.0 [10:41:33]action value=close_receipt [10:41:33]process_action close_receipt [10:41:33]cmd_close_receipt [10:41:33]MH_GetDate [10:41:33]Write to MH i2c: F0 00 00 F7 09 EF [10:41:33]Write i2c OK [10:41:33]MH_I2C_Read... [10:41:33]Read from MH i2c: F0 [10:41:33]MH_I2C_Read... [10:41:33]Read from MH i2c: F0 09 00 [10:41:33]MH_I2C_Read... [10:41:33]Read from MH i2c: F0 09 00 F7 09 00 E0 E8 F3 66 02 BF CF 66 0F [10:41:33]GetLastDocTimeStamp 1727256993 [10:41:33]current date 1727260896 [10:41:33]FM_GetShiftState [10:41:33]SAM_PROTO_GetShiftState [10:41:33]wFMCommunicate request_size=4 [10:41:33]MH_SAM_APDU [10:41:33]CAPDU: 80 13 01 00 [10:41:33]Write to MH i2c: E2 08 00 F8 09 80 13 01 00 00 00 00 00 7E [10:41:33]Write i2c OK [10:41:33]MH_I2C_Read... [10:41:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:41:34]Read from MH i2c: E2 [10:41:34]MH_I2C_Read... [10:41:34]Read from MH i2c: E2 0E 00 [10:41:34]MH_I2C_Read... [10:41:34]Read from MH i2c: E2 0E 00 F8 09 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 0F [10:41:34]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [10:41:34]wFMCommunicate OK [10:41:34]SAM_PROTO_GetShiftState done [10:41:34]FM_GetShiftState done [10:41:34]opened in 1727224020 [10:41:34]opened+sec_in_day 1727310420 [10:41:34]quantity*price = 11500 [10:41:34]sum+1 = 11501 [10:41:34]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000034250011 Горячий шоколад (GABB trade) 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 235.00 НСП 1% : 2.08 НДС 12% : 24.95 Наличными: 235.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 27 25.09.2024 10:41 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22454 ФПД: 179632845611120 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T104136&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22454&fm=179632845611120&tin=02508201610067®Number=0000000000146243&sum=23500 0 [10:41:35]StoreToDocumentArchive [10:41:35]shift 231 fd 22454 [10:41:35]save to /storage/0231/doc_00022454 [10:41:35]save last doc name /storage/0231/doc_00022454 to /storage/kkm_last_doc_name [10:41:35]save OK [10:41:35]Clear old archive folders... [10:41:35]ProcessDocumentItem done err = 0, tmpTLVsize=394 [10:41:35]tlvbuf is 0039C020 [10:41:35]SAM_PROTO_ClearQueue [10:41:35]wFMCommunicate request_size=4 [10:41:35]MH_SAM_APDU [10:41:35]CAPDU: 80 09 00 00 [10:41:35]Write to MH i2c: E2 08 00 05 0A 80 09 00 00 00 00 00 00 81 [10:41:35]Write i2c OK [10:41:35]MH_I2C_Read... [10:41:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:41:35]Read from MH i2c: E2 [10:41:35]MH_I2C_Read... [10:41:35]Read from MH i2c: E2 03 00 [10:41:35]MH_I2C_Read... [10:41:35]Read from MH i2c: E2 03 00 05 0A 00 90 00 83 [10:41:35]RAPDU: 90 00 [10:41:35]wFMCommunicate OK [10:41:35]SAM_PROTO_ClearQueue done [10:41:35]KKMCreateOFDPacket [10:41:35]OFDProtocolAddRootSTLVToBuf [10:41:35]FM_MakeSignedData [10:41:35]FM_MakeSignedData [10:41:35]SAM_PROTO_SignData [10:41:35]wFMCommunicate request_size=4 [10:41:35]MH_SAM_APDU [10:41:35]CAPDU: 80 0D 01 02 [10:41:35]Write to MH i2c: E2 08 00 06 0A 80 0D 01 02 00 00 00 00 89 [10:41:35]Write i2c OK [10:41:35]MH_I2C_Read... [10:41:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:41:35]Read from MH i2c: E2 [10:41:35]MH_I2C_Read... [10:41:35]Read from MH i2c: E2 03 00 [10:41:35]MH_I2C_Read... [10:41:35]Read from MH i2c: E2 03 00 06 0A 00 90 00 84 [10:41:35]RAPDU: 90 00 [10:41:35]wFMCommunicate OK [10:41:35]wFMCommunicate request_size=255 [10:41:35]MH_SAM_APDU [10:41:35]CAPDU: 80 0D 02 02 FA 03 00 8A 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 5B 00 00 00 00 EB 03 26 00 EF 03 0F [10:41:35]Write to MH i2c: E2 02 01 07 0A 80 0D 02 02 FA 00 03 00 8A 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 00 C4 [10:41:35]Write i2c OK [10:41:35]MH_I2C_Read... [10:41:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:41:35]Read from MH i2c: E2 [10:41:35]MH_I2C_Read... [10:41:35]Read from MH i2c: E2 03 00 [10:41:35]MH_I2C_Read... [10:41:35]Read from MH i2c: E2 03 00 07 0A 00 90 00 85 [10:41:35]RAPDU: 90 00 [10:41:35]wFMCommunicate OK [10:41:35]wFMCommunicate request_size=153 [10:41:35]MH_SAM_APDU [10:41:35]CAPDU: 80 0D 02 02 94 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 09 00 00 00 00 07 04 06 00 CC 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 E0 E8 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B6 57 00 00 35 04 06 00 A3 60 07 F3 E0 70 [10:41:35]Write to MH i2c: E2 9C 00 08 0A 80 0D 02 02 94 00 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 09 00 00 00 00 07 04 06 00 CC 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 E0 E8 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B6 57 00 00 35 04 06 00 A3 60 07 F3 E0 70 00 00 1A [10:41:35]Write i2c OK [10:41:35]MH_I2C_Read... [10:41:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:41:35]Read from MH i2c: E2 [10:41:35]MH_I2C_Read... [10:41:35]Read from MH i2c: E2 03 00 [10:41:35]MH_I2C_Read... [10:41:35]Read from MH i2c: E2 03 00 08 0A 00 90 00 86 [10:41:35]RAPDU: 90 00 [10:41:35]wFMCommunicate OK [10:41:35]wFMCommunicate request_size=4 [10:41:35]MH_SAM_APDU [10:41:35]CAPDU: 80 0D 03 02 [10:41:35]Write to MH i2c: E2 08 00 09 0A 80 0D 03 02 00 00 00 00 8E [10:41:35]Write i2c OK [10:41:35]MH_I2C_Read... [10:41:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:41:35]Read from MH i2c: E2 [10:41:35]MH_I2C_Read... [10:41:35]Read from MH i2c: E2 0B 00 [10:41:35]MH_I2C_Read... [10:41:35]Read from MH i2c: E2 0B 00 09 0A 00 5E 5A 23 DE 0A D5 A0 27 90 00 EE [10:41:35]RAPDU: 5E 5A 23 DE 0A D5 A0 27 90 00 [10:41:35]wFMCommunicate OK [10:41:35]SAM_PROTO_SignData done [10:41:35]FM_MakeSignedData done [10:41:35]CreateOFDProtocolMessage [10:41:35]wFMCommunicate request_size=4 [10:41:35]MH_SAM_APDU [10:41:35]CAPDU: 80 11 00 00 [10:41:35]Write to MH i2c: E2 08 00 0A 0A 80 11 00 00 00 00 00 00 8E [10:41:35]Write i2c OK [10:41:35]MH_I2C_Read... [10:41:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:41:35]Read from MH i2c: E2 [10:41:35]MH_I2C_Read... [10:41:35]Read from MH i2c: E2 17 00 [10:41:35]MH_I2C_Read... [10:41:35]Read from MH i2c: E2 17 00 0A 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 E8 [10:41:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [10:41:35]wFMCommunicate OK [10:41:35]CreateOFDProtocolMessage done [10:41:35]OFDSenderStorePacket 22454 [10:41:35]StoreOFDPacket docnum=22454 [10:41:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 9E 01 00 00 C4 54 96 01 79 74 5A 03 01 00 03 00 8A 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 09 00 00 00 00 07 04 06 00 CC 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 E0 E8 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B6 57 00 00 35 04 06 00 A3 60 07 F3 E0 70 5E 5A 23 DE 0A D5 A0 27 [10:41:35]CheckFolder [10:41:35]dirname=/storage/ofd_packets [10:41:35]CheckFolder done [10:41:35]ProducePacketName [10:41:35]name=ofd_packets/00022454 [10:41:35]NVStorageSaveData ofd_packets/00022454 [10:41:35]File name is /storage/ofd_packets/00022454 [10:41:35]Write 444 bytes [10:41:35]NVStorageSaveData done [10:41:35]OFDSenderStorePacket done [10:41:35]KKMCreateOFDPacket done [10:41:35]NVStorageSaveData kkm_last_timestamp [10:41:35]File name is /storage/kkm_last_timestamp [10:41:35]Write 4 bytes [10:41:35]NVStorageSaveData done [10:41:35]ExternCall_PrintAddStr [10:41:35]wPrintStart [10:41:35]Write to MH i2c: 01 00 00 0B 0A 15 [10:41:35]Write i2c OK [10:41:35]MH_I2C_Read... [10:41:35]Read from MH i2c: 01 [10:41:35]MH_I2C_Read... [10:41:35]Read from MH i2c: 01 07 00 [10:41:36]MH_I2C_Read... [10:41:36]OFD Sender: Processing packet 22454 [packets to send 23, broken 22] [10:41:36]ProducePacketName [10:41:36]name=ofd_packets/00022454 [10:41:36]OFD Sender: To server: pG, [10:41:36]CommunicateWithHost lk.salyk.kg:30040 [10:41:36]ConnectInit lk.salyk.kg [10:41:36]Read from MH i2c: 01 07 00 0B 0A 00 00 00 00 00 FF 0F 2A [10:41:36]RasterBufferAndPrint [10:41:36]line Счет N : (3)51662 [10:41:36]line ИНН: 02508201610067 [10:41:36]line Контрольно-Кассовый Чек [10:41:36]line ПРОДАЖА [10:41:36]line Товар: 2000036210013 [10:41:36]line Кофе Капучино (GABB TRADE) [10:41:36]line 1.000 * 115.00 [10:41:36]line = 115.00 [10:41:36]line НДС 12% НСП 1% [10:41:36]line > о реализуемом товаре [10:41:36]line Товар: 2000034250011 [10:41:36]line Горячий шоколад (GABB trade) [10:41:36]line 1.000 * 120.00 [10:41:36]line = 120.00 [10:41:36]line НДС 12% НСП 1% [10:41:36]line > о реализуемом товаре [10:41:36]line ИТОГО: 235.00 [10:41:36]line НСП 1% : 2.08 [10:41:36]line НДС 12% : 24.95 [10:41:36]line Наличными: 235.00 [10:41:36]line Безнал.: 0.00 [10:41:36]line Место: АЗС № 88 "Партнер Нефть" [10:41:36]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [10:41:36]line СНО: Общий режим [10:41:36]line Чек 27 25.09.2024 10:41 [10:41:36]line Смена: 231 ФФД: 1.0 [10:41:36]line ЗНМ: 0300000061 [10:41:36]line РНМ: 0000000000146243 [10:41:36]line Версия ККМ: v1.0 [10:41:36]line ФМ: 0000000000959358 [10:41:36]line ФД: 22454 [10:41:36]line ФПД: 179632845611120 [10:41:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T104136&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22454&fm=179632845611120&tin=02508201610067®Number=0000000000146243&sum=23500 [10:41:36]line 0 [10:41:36]written 0, free lines is 4095 [10:41:36]Connected sock=10 [10:41:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 9E 01 00 00 C4 54 96 01 79 74 5A 03 01 00 03 00 8A 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 09 00 00 00 00 07 04 06 00 CC 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 E0 E8 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B6 57 00 00 35 04 06 00 A3 60 07 F3 E0 70 5E 5A 23 DE 0A D5 A0 27 [10:41:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 6B C3 47 00 E2 EC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B6 57 00 00 F4 03 04 00 03 93 F3 66 B6 04 01 00 00 3C C0 16 66 CD DD F2 B0 [10:41:36]CommunicateWithHost err = 0 [10:41:36]CheckOFDResponse [10:41:36]1017 (14) - 77093643461234 [10:41:36]1041 (16) - 0000000000959358 [10:41:36]1040 (4) - 22454 [10:41:36]1012 (4) - 25.09.2024 04:35 [10:41:36]1206 (1) - 0 [10:41:36]OFD Sender: Remove packet 22454 [10:41:36]ProducePacketName [10:41:36]name=ofd_packets/00022454 [10:41:36]NVStorageDeleteData [10:41:36]Write to MH i2c: 01 00 00 3A 0A 44 [10:41:36]Write i2c OK [10:41:36]MH_I2C_Read... [10:41:36]Read from MH i2c: 01 [10:41:36]MH_I2C_Read... [10:41:36]Read from MH i2c: 01 07 00 [10:41:36]MH_I2C_Read... [10:41:36]Read from MH i2c: 01 07 00 3A 0A 00 00 00 00 00 D1 0C 28 [10:41:36]RasterBufferAndPrint [10:41:36]line [10:41:36]line [10:41:36]line [10:41:36]line [10:41:36]line [10:41:36]written 0, free lines is 3290 [10:41:36]MH_Cut [10:41:36]Write to MH i2c: D1 01 00 41 0A 01 1D [10:41:36]Write i2c OK [10:41:36]MH_I2C_Read... [10:41:36]Read from MH i2c: D1 [10:41:36]MH_I2C_Read... [10:41:36]Read from MH i2c: D1 01 00 [10:41:36]MH_I2C_Read... [10:41:36]Read from MH i2c: D1 01 00 41 0A 00 1C [10:41:36]Write to MH i2c: 01 00 00 42 0A 4C [10:41:36]Write i2c OK [10:41:36]MH_I2C_Read... [10:41:37]OFD Sender: No OFD packet to send [10:41:37]*** Cut start [10:41:37]*** Partial cut [10:41:37]*** CUTSNS_PIN = 1 [10:41:37]*** CUTSNS_PIN = 0 [10:41:37]*** Brake cut motor [10:41:37]Read from MH i2c: 01 [10:41:37]MH_I2C_Read... [10:41:37]*** Stop cut motor [10:41:37]*** Cut end [10:41:37]Read from MH i2c: 01 07 00 [10:41:37]MH_I2C_Read... [10:41:37]Read from MH i2c: 01 07 00 42 0A 00 00 00 00 00 FF 0F 61 [10:41:37]process_action close_receipt done [10:41:37]requested_data is exist [10:41:37]produce_requested_data [10:41:37]requested_item fm.sn is exist - process it [10:41:37]wFMCommunicate request_size=4 [10:41:37]MH_SAM_APDU [10:41:37]CAPDU: 80 11 00 00 [10:41:37]Write to MH i2c: E2 08 00 43 0A 80 11 00 00 00 00 00 00 C7 [10:41:37]Write i2c OK [10:41:37]MH_I2C_Read... [10:41:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:41:37]Read from MH i2c: E2 [10:41:37]MH_I2C_Read... [10:41:37]Read from MH i2c: E2 17 00 [10:41:37]MH_I2C_Read... [10:41:37]Read from MH i2c: E2 17 00 43 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 21 [10:41:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [10:41:37]wFMCommunicate OK [10:41:37]requested_item fd.num is exist - process it [10:41:37]SAM_PROTO_GetFieldsCounters [10:41:37]wFMCommunicate request_size=4 [10:41:37]MH_SAM_APDU [10:41:37]CAPDU: 80 13 00 00 [10:41:37]Write to MH i2c: E2 08 00 44 0A 80 13 00 00 00 00 00 00 CA [10:41:37]Write i2c OK [10:41:37]MH_I2C_Read... [10:41:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:41:38]Read from MH i2c: E2 [10:41:38]MH_I2C_Read... [10:41:38]Read from MH i2c: E2 62 00 [10:41:38]MH_I2C_Read... [10:41:38]Read from MH i2c: E2 62 00 44 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 B6 57 00 00 0E 04 04 00 E7 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 32 [10:41:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 B6 57 00 00 0E 04 04 00 E7 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 [10:41:38]wFMCommunicate OK [10:41:38]SAM_PROTO_GetFieldsCounters done [10:41:38]requested_item shift.num is exist - process it [10:41:38]requested_item shift.opened is exist - process it [10:41:38]req_shift_opened [10:41:38]FM_GetShiftState [10:41:38]SAM_PROTO_GetShiftState [10:41:38]wFMCommunicate request_size=4 [10:41:38]MH_SAM_APDU [10:41:38]CAPDU: 80 13 01 00 [10:41:38]Write to MH i2c: E2 08 00 45 0A 80 13 01 00 00 00 00 00 CC [10:41:38]Write i2c OK [10:41:38]MH_I2C_Read... [10:41:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:41:38]Read from MH i2c: E2 [10:41:38]MH_I2C_Read... [10:41:38]Read from MH i2c: E2 0E 00 [10:41:38]MH_I2C_Read... [10:41:38]Read from MH i2c: E2 0E 00 45 0A 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 5D [10:41:38]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [10:41:38]wFMCommunicate OK [10:41:38]SAM_PROTO_GetShiftState done [10:41:38]FM_GetShiftState done [10:41:38]req_shift_opened done [10:41:38]requested_item shift.open_date is exist - process it [10:41:38]req_shift_open_date [10:41:38]req_shift_open_date done [10:41:38]produce_requested_data done [10:41:38]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22454,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [10:41:38]process_action_free close_receipt [10:41:38]json_value_free [10:41:38]json_value_free done [10:41:38]process_json_proto returns [10:41:38]Send response to host [10:41:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22454,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [10:41:38]free response buf [10:41:38]execute_script done [10:41:38]execute_script returns [10:41:38]free content buf [10:41:38]Sock 8.Close socket [10:41:38]Sock 8.Thread stoped [10:41:42]OFD Sender: No OFD packet to send [10:41:47]OFD Sender: No OFD packet to send [10:41:52]OFD Sender: No OFD packet to send [10:41:57]OFD Sender: No OFD packet to send [10:42:02]OFD Sender: No OFD packet to send [10:42:07]OFD Sender: No OFD packet to send [10:42:12]OFD Sender: No OFD packet to send [10:42:17]OFD Sender: No OFD packet to send [10:42:22]OFD Sender: No OFD packet to send [10:42:27]OFD Sender: No OFD packet to send [10:42:32]OFD Sender: No OFD packet to send [10:42:37]OFD Sender: No OFD packet to send [10:42:42]OFD Sender: No OFD packet to send [10:42:47]OFD Sender: No OFD packet to send [10:42:52]OFD Sender: No OFD packet to send [10:42:57]OFD Sender: No OFD packet to send [10:43:02]OFD Sender: No OFD packet to send [10:43:07]OFD Sender: No OFD packet to send [10:43:12]OFD Sender: No OFD packet to send [10:43:17]OFD Sender: No OFD packet to send [10:43:22]OFD Sender: No OFD packet to send [10:43:27]OFD Sender: No OFD packet to send [10:43:32]OFD Sender: No OFD packet to send [10:43:37]OFD Sender: No OFD packet to send [10:43:42]OFD Sender: No OFD packet to send [10:43:47]OFD Sender: No OFD packet to send [10:43:52]OFD Sender: No OFD packet to send [10:43:57]OFD Sender: No OFD packet to send [10:44:02]OFD Sender: No OFD packet to send [10:44:07]OFD Sender: No OFD packet to send [10:44:12]OFD Sender: No OFD packet to send [10:44:17]OFD Sender: No OFD packet to send [10:44:22]OFD Sender: No OFD packet to send [10:44:27]OFD Sender: No OFD packet to send [10:44:32]OFD Sender: No OFD packet to send [10:44:37]OFD Sender: No OFD packet to send [10:44:42]OFD Sender: No OFD packet to send [10:44:47]OFD Sender: No OFD packet to send [10:44:52]OFD Sender: No OFD packet to send [10:44:57]OFD Sender: No OFD packet to send [10:45:02]OFD Sender: No OFD packet to send [10:45:07]OFD Sender: No OFD packet to send [10:45:12]OFD Sender: No OFD packet to send [10:45:17]OFD Sender: No OFD packet to send [10:45:22]OFD Sender: No OFD packet to send [10:45:27]OFD Sender: No OFD packet to send [10:45:32]OFD Sender: No OFD packet to send [10:45:37]OFD Sender: No OFD packet to send [10:45:42]OFD Sender: No OFD packet to send [10:45:47]OFD Sender: No OFD packet to send [10:45:52]OFD Sender: No OFD packet to send [10:45:57]OFD Sender: No OFD packet to send [10:46:02]OFD Sender: No OFD packet to send [10:46:07]OFD Sender: No OFD packet to send [10:46:12]OFD Sender: No OFD packet to send [10:46:17]OFD Sender: No OFD packet to send [10:46:22]OFD Sender: No OFD packet to send [10:46:27]OFD Sender: No OFD packet to send [10:46:32]OFD Sender: No OFD packet to send [10:46:37]OFD Sender: No OFD packet to send [10:46:42]OFD Sender: No OFD packet to send [10:46:47]OFD Sender: No OFD packet to send [10:46:52]OFD Sender: No OFD packet to send [10:46:57]OFD Sender: No OFD packet to send [10:47:02]OFD Sender: No OFD packet to send [10:47:07]OFD Sender: No OFD packet to send [10:47:12]OFD Sender: No OFD packet to send [10:47:17]OFD Sender: No OFD packet to send [10:47:22]OFD Sender: No OFD packet to send [10:47:27]OFD Sender: No OFD packet to send [10:47:32]OFD Sender: No OFD packet to send [10:47:37]OFD Sender: No OFD packet to send [10:47:42]OFD Sender: No OFD packet to send [10:47:47]OFD Sender: No OFD packet to send [10:47:52]OFD Sender: No OFD packet to send [10:47:57]OFD Sender: No OFD packet to send [10:48:02]OFD Sender: No OFD packet to send [10:48:07]OFD Sender: No OFD packet to send [10:48:12]OFD Sender: No OFD packet to send [10:48:17]OFD Sender: No OFD packet to send [10:48:22]OFD Sender: No OFD packet to send [10:48:27]OFD Sender: No OFD packet to send [10:48:32]OFD Sender: No OFD packet to send [10:48:37]OFD Sender: No OFD packet to send [10:48:42]OFD Sender: No OFD packet to send [10:48:47]OFD Sender: No OFD packet to send [10:48:52]OFD Sender: No OFD packet to send [10:48:57]OFD Sender: No OFD packet to send [10:49:02]OFD Sender: No OFD packet to send [10:49:07]OFD Sender: No OFD packet to send [10:49:12]OFD Sender: No OFD packet to send [10:49:17]OFD Sender: No OFD packet to send [10:49:22]OFD Sender: No OFD packet to send [10:49:27]OFD Sender: No OFD packet to send [10:49:32]OFD Sender: No OFD packet to send [10:49:37]OFD Sender: No OFD packet to send [10:49:42]OFD Sender: No OFD packet to send [10:49:47]OFD Sender: No OFD packet to send [10:49:52]OFD Sender: No OFD packet to send [10:49:57]OFD Sender: No OFD packet to send [10:50:02]OFD Sender: No OFD packet to send [10:50:07]OFD Sender: No OFD packet to send [10:50:12]OFD Sender: No OFD packet to send [10:50:17]OFD Sender: No OFD packet to send [10:50:22]OFD Sender: No OFD packet to send [10:50:27]OFD Sender: No OFD packet to send [10:50:32]OFD Sender: No OFD packet to send [10:50:37]OFD Sender: No OFD packet to send [10:50:42]OFD Sender: No OFD packet to send [10:50:47]OFD Sender: No OFD packet to send [10:50:52]OFD Sender: No OFD packet to send [10:50:57]OFD Sender: No OFD packet to send [10:51:02]OFD Sender: No OFD packet to send [10:51:07]OFD Sender: No OFD packet to send [10:51:12]OFD Sender: No OFD packet to send [10:51:17]OFD Sender: No OFD packet to send [10:51:22]OFD Sender: No OFD packet to send [10:51:27]OFD Sender: No OFD packet to send [10:51:32]OFD Sender: No OFD packet to send [10:51:37]OFD Sender: No OFD packet to send [10:51:42]OFD Sender: No OFD packet to send [10:51:47]OFD Sender: No OFD packet to send [10:51:52]OFD Sender: No OFD packet to send [10:51:57]OFD Sender: No OFD packet to send [10:52:02]OFD Sender: No OFD packet to send [10:52:07]OFD Sender: No OFD packet to send [10:52:12]OFD Sender: No OFD packet to send [10:52:17]OFD Sender: No OFD packet to send [10:52:22]OFD Sender: No OFD packet to send [10:52:27]OFD Sender: No OFD packet to send [10:52:32]OFD Sender: No OFD packet to send [10:52:37]OFD Sender: No OFD packet to send [10:52:42]OFD Sender: No OFD packet to send [10:52:47]OFD Sender: No OFD packet to send [10:52:52]OFD Sender: No OFD packet to send [10:52:57]OFD Sender: No OFD packet to send [10:53:02]OFD Sender: No OFD packet to send [10:53:07]OFD Sender: No OFD packet to send [10:53:12]OFD Sender: No OFD packet to send [10:53:17]OFD Sender: No OFD packet to send [10:53:22]OFD Sender: No OFD packet to send [10:53:27]OFD Sender: No OFD packet to send [10:53:32]OFD Sender: No OFD packet to send [10:53:37]OFD Sender: No OFD packet to send [10:53:42]OFD Sender: No OFD packet to send [10:53:47]OFD Sender: No OFD packet to send [10:53:52]OFD Sender: No OFD packet to send [10:53:57]OFD Sender: No OFD packet to send [10:54:02]OFD Sender: No OFD packet to send [10:54:07]OFD Sender: No OFD packet to send [10:54:12]OFD Sender: No OFD packet to send [10:54:17]OFD Sender: No OFD packet to send [10:54:22]OFD Sender: No OFD packet to send [10:54:27]OFD Sender: No OFD packet to send [10:54:32]OFD Sender: No OFD packet to send [10:54:37]OFD Sender: No OFD packet to send [10:54:42]OFD Sender: No OFD packet to send [10:54:47]OFD Sender: No OFD packet to send [10:54:52]OFD Sender: No OFD packet to send [10:54:57]OFD Sender: No OFD packet to send [10:55:02]OFD Sender: No OFD packet to send [10:55:07]OFD Sender: No OFD packet to send [10:55:12]OFD Sender: No OFD packet to send [10:55:17]OFD Sender: No OFD packet to send [10:55:22]OFD Sender: No OFD packet to send [10:55:27]OFD Sender: No OFD packet to send [10:55:32]OFD Sender: No OFD packet to send [10:55:37]OFD Sender: No OFD packet to send [10:55:42]OFD Sender: No OFD packet to send [10:55:47]OFD Sender: No OFD packet to send [10:55:52]OFD Sender: No OFD packet to send [10:55:57]OFD Sender: No OFD packet to send [10:56:02]OFD Sender: No OFD packet to send [10:56:07]OFD Sender: No OFD packet to send [10:56:12]OFD Sender: No OFD packet to send [10:56:17]OFD Sender: No OFD packet to send [10:56:22]OFD Sender: No OFD packet to send [10:56:27]OFD Sender: No OFD packet to send [10:56:32]OFD Sender: No OFD packet to send [10:56:37]OFD Sender: No OFD packet to send [10:56:42]OFD Sender: No OFD packet to send [10:56:47]OFD Sender: No OFD packet to send [10:56:52]OFD Sender: No OFD packet to send [10:56:57]OFD Sender: No OFD packet to send [10:57:02]OFD Sender: No OFD packet to send [10:57:07]OFD Sender: No OFD packet to send [10:57:12]OFD Sender: No OFD packet to send [10:57:17]OFD Sender: No OFD packet to send [10:57:22]OFD Sender: No OFD packet to send [10:57:27]OFD Sender: No OFD packet to send [10:57:32]OFD Sender: No OFD packet to send [10:57:37]OFD Sender: No OFD packet to send [10:57:42]OFD Sender: No OFD packet to send [10:57:47]OFD Sender: No OFD packet to send [10:57:52]OFD Sender: No OFD packet to send [10:57:57]OFD Sender: No OFD packet to send [10:58:02]OFD Sender: No OFD packet to send [10:58:07]OFD Sender: No OFD packet to send [10:58:12]OFD Sender: No OFD packet to send [10:58:17]OFD Sender: No OFD packet to send [10:58:22]OFD Sender: No OFD packet to send [10:58:27]OFD Sender: No OFD packet to send [10:58:32]OFD Sender: No OFD packet to send [10:58:37]OFD Sender: No OFD packet to send [10:58:42]OFD Sender: No OFD packet to send [10:58:47]OFD Sender: No OFD packet to send [10:58:52]OFD Sender: No OFD packet to send [10:58:57]OFD Sender: No OFD packet to send [10:59:02]OFD Sender: No OFD packet to send [10:59:07]OFD Sender: No OFD packet to send [10:59:12]OFD Sender: No OFD packet to send [10:59:17]OFD Sender: No OFD packet to send [10:59:22]OFD Sender: No OFD packet to send [10:59:27]OFD Sender: No OFD packet to send [10:59:32]OFD Sender: No OFD packet to send [10:59:37]OFD Sender: No OFD packet to send [10:59:43]OFD Sender: No OFD packet to send [10:59:48]OFD Sender: No OFD packet to send [10:59:53]OFD Sender: No OFD packet to send [10:59:58]OFD Sender: No OFD packet to send [11:00:03]OFD Sender: No OFD packet to send [11:00:08]OFD Sender: No OFD packet to send [11:00:13]OFD Sender: No OFD packet to send [11:00:18]OFD Sender: No OFD packet to send [11:00:23]OFD Sender: No OFD packet to send [11:00:28]OFD Sender: No OFD packet to send [11:00:33]OFD Sender: No OFD packet to send [11:00:38]OFD Sender: No OFD packet to send [11:00:43]OFD Sender: No OFD packet to send [11:00:48]OFD Sender: No OFD packet to send [11:00:53]OFD Sender: No OFD packet to send [11:00:58]OFD Sender: No OFD packet to send [11:01:03]OFD Sender: No OFD packet to send [11:01:08]OFD Sender: No OFD packet to send [11:01:13]OFD Sender: No OFD packet to send [11:01:18]OFD Sender: No OFD packet to send [11:01:23]OFD Sender: No OFD packet to send [11:01:28]OFD Sender: No OFD packet to send [11:01:33]OFD Sender: No OFD packet to send [11:01:38]OFD Sender: No OFD packet to send [11:01:43]OFD Sender: No OFD packet to send [11:01:48]OFD Sender: No OFD packet to send [11:01:53]OFD Sender: No OFD packet to send [11:01:58]OFD Sender: No OFD packet to send [11:02:03]OFD Sender: No OFD packet to send [11:02:08]OFD Sender: No OFD packet to send [11:02:13]OFD Sender: No OFD packet to send [11:02:18]OFD Sender: No OFD packet to send [11:02:23]OFD Sender: No OFD packet to send [11:02:28]OFD Sender: No OFD packet to send [11:02:33]OFD Sender: No OFD packet to send [11:02:38]OFD Sender: No OFD packet to send [11:02:43]OFD Sender: No OFD packet to send [11:02:48]OFD Sender: No OFD packet to send [11:02:53]OFD Sender: No OFD packet to send [11:02:58]OFD Sender: No OFD packet to send [11:03:03]OFD Sender: No OFD packet to send [11:03:08]OFD Sender: No OFD packet to send [11:03:13]OFD Sender: No OFD packet to send [11:03:18]OFD Sender: No OFD packet to send [11:03:23]OFD Sender: No OFD packet to send [11:03:28]OFD Sender: No OFD packet to send [11:03:33]OFD Sender: No OFD packet to send [11:03:38]OFD Sender: No OFD packet to send [11:03:43]OFD Sender: No OFD packet to send [11:03:48]OFD Sender: No OFD packet to send [11:03:53]OFD Sender: No OFD packet to send [11:03:58]OFD Sender: No OFD packet to send [11:04:03]OFD Sender: No OFD packet to send [11:04:08]OFD Sender: No OFD packet to send [11:04:13]OFD Sender: No OFD packet to send [11:04:18]OFD Sender: No OFD packet to send [11:04:23]OFD Sender: No OFD packet to send [11:04:28]OFD Sender: No OFD packet to send [11:04:33]OFD Sender: No OFD packet to send [11:04:38]OFD Sender: No OFD packet to send [11:04:43]OFD Sender: No OFD packet to send [11:04:48]OFD Sender: No OFD packet to send [11:04:53]OFD Sender: No OFD packet to send [11:04:58]OFD Sender: No OFD packet to send [11:05:03]OFD Sender: No OFD packet to send [11:05:08]OFD Sender: No OFD packet to send [11:05:13]OFD Sender: No OFD packet to send [11:05:18]OFD Sender: No OFD packet to send [11:05:23]OFD Sender: No OFD packet to send [11:05:28]OFD Sender: No OFD packet to send [11:05:33]OFD Sender: No OFD packet to send [11:05:38]OFD Sender: No OFD packet to send [11:05:43]OFD Sender: No OFD packet to send [11:05:48]OFD Sender: No OFD packet to send [11:05:53]OFD Sender: No OFD packet to send [11:05:58]OFD Sender: No OFD packet to send [11:06:03]OFD Sender: No OFD packet to send [11:06:08]OFD Sender: No OFD packet to send [11:06:13]OFD Sender: No OFD packet to send [11:06:18]OFD Sender: No OFD packet to send [11:06:23]OFD Sender: No OFD packet to send [11:06:28]OFD Sender: No OFD packet to send [11:06:33]OFD Sender: No OFD packet to send [11:06:38]OFD Sender: No OFD packet to send [11:06:43]OFD Sender: No OFD packet to send [11:06:48]OFD Sender: No OFD packet to send [11:06:53]OFD Sender: No OFD packet to send [11:06:58]OFD Sender: No OFD packet to send [11:07:03]OFD Sender: No OFD packet to send [11:07:08]OFD Sender: No OFD packet to send [11:07:13]OFD Sender: No OFD packet to send [11:07:18]OFD Sender: No OFD packet to send [11:07:23]OFD Sender: No OFD packet to send [11:07:28]OFD Sender: No OFD packet to send [11:07:33]OFD Sender: No OFD packet to send [11:07:38]OFD Sender: No OFD packet to send [11:07:43]OFD Sender: No OFD packet to send [11:07:48]OFD Sender: No OFD packet to send [11:07:53]OFD Sender: No OFD packet to send [11:07:58]OFD Sender: No OFD packet to send [11:08:03]OFD Sender: No OFD packet to send [11:08:08]OFD Sender: No OFD packet to send [11:08:13]OFD Sender: No OFD packet to send [11:08:18]OFD Sender: No OFD packet to send [11:08:23]OFD Sender: No OFD packet to send [11:08:28]OFD Sender: No OFD packet to send [11:08:33]OFD Sender: No OFD packet to send [11:08:38]OFD Sender: No OFD packet to send [11:08:43]OFD Sender: No OFD packet to send [11:08:48]OFD Sender: No OFD packet to send [11:08:53]OFD Sender: No OFD packet to send [11:08:58]OFD Sender: No OFD packet to send [11:09:03]OFD Sender: No OFD packet to send [11:09:08]OFD Sender: No OFD packet to send [11:09:13]OFD Sender: No OFD packet to send [11:09:18]OFD Sender: No OFD packet to send [11:09:23]OFD Sender: No OFD packet to send [11:09:28]OFD Sender: No OFD packet to send [11:09:33]OFD Sender: No OFD packet to send [11:09:38]OFD Sender: No OFD packet to send [11:09:43]OFD Sender: No OFD packet to send [11:09:48]OFD Sender: No OFD packet to send [11:09:53]OFD Sender: No OFD packet to send [11:09:58]OFD Sender: No OFD packet to send [11:10:03]OFD Sender: No OFD packet to send [11:10:08]OFD Sender: No OFD packet to send [11:10:13]OFD Sender: No OFD packet to send [11:10:18]OFD Sender: No OFD packet to send [11:10:23]OFD Sender: No OFD packet to send [11:10:28]OFD Sender: No OFD packet to send [11:10:33]OFD Sender: No OFD packet to send [11:10:38]OFD Sender: No OFD packet to send [11:10:43]OFD Sender: No OFD packet to send [11:10:48]OFD Sender: No OFD packet to send [11:10:53]OFD Sender: No OFD packet to send [11:10:58]OFD Sender: No OFD packet to send [11:11:03]OFD Sender: No OFD packet to send [11:11:08]OFD Sender: No OFD packet to send [11:11:13]OFD Sender: No OFD packet to send [11:11:18]OFD Sender: No OFD packet to send [11:11:23]OFD Sender: No OFD packet to send [11:11:28]OFD Sender: No OFD packet to send [11:11:33]OFD Sender: No OFD packet to send [11:11:38]OFD Sender: No OFD packet to send [11:11:43]OFD Sender: No OFD packet to send [11:11:48]OFD Sender: No OFD packet to send [11:11:53]OFD Sender: No OFD packet to send [11:11:58]OFD Sender: No OFD packet to send [11:12:03]OFD Sender: No OFD packet to send [11:12:08]OFD Sender: No OFD packet to send [11:12:13]OFD Sender: No OFD packet to send [11:12:18]OFD Sender: No OFD packet to send [11:12:23]OFD Sender: No OFD packet to send [11:12:28]OFD Sender: No OFD packet to send [11:12:33]OFD Sender: No OFD packet to send [11:12:38]OFD Sender: No OFD packet to send [11:12:43]OFD Sender: No OFD packet to send [11:12:48]OFD Sender: No OFD packet to send [11:12:53]OFD Sender: No OFD packet to send [11:12:58]OFD Sender: No OFD packet to send [11:13:03]OFD Sender: No OFD packet to send [11:13:08]OFD Sender: No OFD packet to send [11:13:13]OFD Sender: No OFD packet to send [11:13:18]OFD Sender: No OFD packet to send [11:13:23]OFD Sender: No OFD packet to send [11:13:28]OFD Sender: No OFD packet to send [11:13:33]OFD Sender: No OFD packet to send [11:13:38]OFD Sender: No OFD packet to send [11:13:43]OFD Sender: No OFD packet to send [11:13:48]OFD Sender: No OFD packet to send [11:13:53]OFD Sender: No OFD packet to send [11:13:58]OFD Sender: No OFD packet to send [11:14:03]OFD Sender: No OFD packet to send [11:14:08]OFD Sender: No OFD packet to send [11:14:13]OFD Sender: No OFD packet to send [11:14:18]OFD Sender: No OFD packet to send [11:14:23]OFD Sender: No OFD packet to send [11:14:28]OFD Sender: No OFD packet to send [11:14:33]OFD Sender: No OFD packet to send [11:14:38]OFD Sender: No OFD packet to send [11:14:43]OFD Sender: No OFD packet to send [11:14:48]OFD Sender: No OFD packet to send [11:14:53]OFD Sender: No OFD packet to send [11:14:58]OFD Sender: No OFD packet to send [11:15:03]OFD Sender: No OFD packet to send [11:15:08]OFD Sender: No OFD packet to send [11:15:13]OFD Sender: No OFD packet to send [11:15:18]OFD Sender: No OFD packet to send [11:15:23]OFD Sender: No OFD packet to send [11:15:28]OFD Sender: No OFD packet to send [11:15:33]OFD Sender: No OFD packet to send [11:15:38]OFD Sender: No OFD packet to send [11:15:43]OFD Sender: No OFD packet to send [11:15:48]OFD Sender: No OFD packet to send [11:15:53]OFD Sender: No OFD packet to send [11:15:58]OFD Sender: No OFD packet to send [11:16:03]OFD Sender: No OFD packet to send [11:16:08]OFD Sender: No OFD packet to send [11:16:13]OFD Sender: No OFD packet to send [11:16:18]OFD Sender: No OFD packet to send [11:16:23]OFD Sender: No OFD packet to send [11:16:28]OFD Sender: No OFD packet to send [11:16:33]OFD Sender: No OFD packet to send [11:16:38]OFD Sender: No OFD packet to send [11:16:43]OFD Sender: No OFD packet to send [11:16:48]OFD Sender: No OFD packet to send [11:16:53]OFD Sender: No OFD packet to send [11:16:58]OFD Sender: No OFD packet to send [11:17:03]OFD Sender: No OFD packet to send [11:17:08]OFD Sender: No OFD packet to send [11:17:13]OFD Sender: No OFD packet to send [11:17:18]OFD Sender: No OFD packet to send [11:17:23]OFD Sender: No OFD packet to send [11:17:28]OFD Sender: No OFD packet to send [11:17:33]OFD Sender: No OFD packet to send [11:17:38]OFD Sender: No OFD packet to send [11:17:43]OFD Sender: No OFD packet to send [11:17:48]OFD Sender: No OFD packet to send [11:17:53]OFD Sender: No OFD packet to send [11:17:58]OFD Sender: No OFD packet to send [11:18:03]OFD Sender: No OFD packet to send [11:18:08]OFD Sender: No OFD packet to send [11:18:13]OFD Sender: No OFD packet to send [11:18:18]OFD Sender: No OFD packet to send [11:18:23]OFD Sender: No OFD packet to send [11:18:28]OFD Sender: No OFD packet to send [11:18:33]OFD Sender: No OFD packet to send [11:18:38]OFD Sender: No OFD packet to send [11:18:43]OFD Sender: No OFD packet to send [11:18:48]OFD Sender: No OFD packet to send [11:18:53]OFD Sender: No OFD packet to send [11:18:58]OFD Sender: No OFD packet to send [11:19:03]OFD Sender: No OFD packet to send [11:19:08]OFD Sender: No OFD packet to send [11:19:13]OFD Sender: No OFD packet to send [11:19:18]OFD Sender: No OFD packet to send [11:19:23]OFD Sender: No OFD packet to send [11:19:28]OFD Sender: No OFD packet to send [11:19:33]OFD Sender: No OFD packet to send [11:19:39]OFD Sender: No OFD packet to send [11:19:44]OFD Sender: No OFD packet to send [11:19:49]OFD Sender: No OFD packet to send [11:19:54]OFD Sender: No OFD packet to send [11:19:59]OFD Sender: No OFD packet to send [11:20:04]OFD Sender: No OFD packet to send [11:20:09]OFD Sender: No OFD packet to send [11:20:14]OFD Sender: No OFD packet to send [11:20:19]OFD Sender: No OFD packet to send [11:20:24]OFD Sender: No OFD packet to send [11:20:29]OFD Sender: No OFD packet to send [11:20:34]OFD Sender: No OFD packet to send [11:20:39]OFD Sender: No OFD packet to send [11:20:44]OFD Sender: No OFD packet to send [11:20:49]OFD Sender: No OFD packet to send [11:20:54]OFD Sender: No OFD packet to send [11:20:59]OFD Sender: No OFD packet to send [11:21:04]OFD Sender: No OFD packet to send [11:21:09]OFD Sender: No OFD packet to send [11:21:14]OFD Sender: No OFD packet to send [11:21:19]OFD Sender: No OFD packet to send [11:21:24]OFD Sender: No OFD packet to send [11:21:29]OFD Sender: No OFD packet to send [11:21:34]OFD Sender: No OFD packet to send [11:21:39]OFD Sender: No OFD packet to send [11:21:44]OFD Sender: No OFD packet to send [11:21:49]OFD Sender: No OFD packet to send [11:21:54]OFD Sender: No OFD packet to send [11:21:59]OFD Sender: No OFD packet to send [11:22:04]OFD Sender: No OFD packet to send [11:22:09]OFD Sender: No OFD packet to send [11:22:14]OFD Sender: No OFD packet to send [11:22:19]OFD Sender: No OFD packet to send [11:22:24]OFD Sender: No OFD packet to send [11:22:29]OFD Sender: No OFD packet to send [11:22:34]OFD Sender: No OFD packet to send [11:22:39]OFD Sender: No OFD packet to send [11:22:44]OFD Sender: No OFD packet to send [11:22:49]OFD Sender: No OFD packet to send [11:22:54]OFD Sender: No OFD packet to send [11:22:59]OFD Sender: No OFD packet to send [11:23:04]OFD Sender: No OFD packet to send [11:23:09]OFD Sender: No OFD packet to send [11:23:14]OFD Sender: No OFD packet to send [11:23:19]OFD Sender: No OFD packet to send [11:23:24]OFD Sender: No OFD packet to send [11:23:29]OFD Sender: No OFD packet to send [11:23:34]OFD Sender: No OFD packet to send [11:23:39]OFD Sender: No OFD packet to send [11:23:44]OFD Sender: No OFD packet to send [11:23:49]OFD Sender: No OFD packet to send [11:23:54]OFD Sender: No OFD packet to send [11:23:59]OFD Sender: No OFD packet to send [11:24:04]OFD Sender: No OFD packet to send [11:24:09]OFD Sender: No OFD packet to send [11:24:14]OFD Sender: No OFD packet to send [11:24:19]OFD Sender: No OFD packet to send [11:24:24]OFD Sender: No OFD packet to send [11:24:29]OFD Sender: No OFD packet to send [11:24:34]OFD Sender: No OFD packet to send [11:24:39]OFD Sender: No OFD packet to send [11:24:44]OFD Sender: No OFD packet to send [11:24:49]OFD Sender: No OFD packet to send [11:24:54]OFD Sender: No OFD packet to send [11:24:59]OFD Sender: No OFD packet to send [11:25:04]OFD Sender: No OFD packet to send [11:25:09]OFD Sender: No OFD packet to send [11:25:14]OFD Sender: No OFD packet to send [11:25:19]OFD Sender: No OFD packet to send [11:25:24]OFD Sender: No OFD packet to send [11:25:29]OFD Sender: No OFD packet to send [11:25:34]OFD Sender: No OFD packet to send [11:25:39]OFD Sender: No OFD packet to send [11:25:44]OFD Sender: No OFD packet to send [11:25:49]OFD Sender: No OFD packet to send [11:25:54]OFD Sender: No OFD packet to send [11:25:59]OFD Sender: No OFD packet to send [11:26:04]OFD Sender: No OFD packet to send [11:26:09]OFD Sender: No OFD packet to send [11:26:14]OFD Sender: No OFD packet to send [11:26:19]OFD Sender: No OFD packet to send [11:26:24]OFD Sender: No OFD packet to send [11:26:29]OFD Sender: No OFD packet to send [11:26:34]OFD Sender: No OFD packet to send [11:26:39]OFD Sender: No OFD packet to send [11:26:44]OFD Sender: No OFD packet to send [11:26:49]OFD Sender: No OFD packet to send [11:26:54]OFD Sender: No OFD packet to send [11:26:59]OFD Sender: No OFD packet to send [11:27:04]OFD Sender: No OFD packet to send [11:27:09]OFD Sender: No OFD packet to send [11:27:14]OFD Sender: No OFD packet to send [11:27:19]OFD Sender: No OFD packet to send [11:27:24]OFD Sender: No OFD packet to send [11:27:29]OFD Sender: No OFD packet to send [11:27:34]OFD Sender: No OFD packet to send [11:27:39]OFD Sender: No OFD packet to send [11:27:44]OFD Sender: No OFD packet to send [11:27:49]OFD Sender: No OFD packet to send [11:27:54]OFD Sender: No OFD packet to send [11:27:59]OFD Sender: No OFD packet to send [11:28:04]OFD Sender: No OFD packet to send [11:28:09]OFD Sender: No OFD packet to send [11:28:14]OFD Sender: No OFD packet to send [11:28:19]OFD Sender: No OFD packet to send [11:28:24]OFD Sender: No OFD packet to send [11:28:29]OFD Sender: No OFD packet to send [11:28:34]OFD Sender: No OFD packet to send [11:28:39]OFD Sender: No OFD packet to send [11:28:44]OFD Sender: No OFD packet to send [11:28:49]OFD Sender: No OFD packet to send [11:28:54]OFD Sender: No OFD packet to send [11:28:59]OFD Sender: No OFD packet to send [11:29:04]OFD Sender: No OFD packet to send [11:29:09]OFD Sender: No OFD packet to send [11:29:14]OFD Sender: No OFD packet to send [11:29:19]OFD Sender: No OFD packet to send [11:29:24]OFD Sender: No OFD packet to send [11:29:29]OFD Sender: No OFD packet to send [11:29:34]OFD Sender: No OFD packet to send [11:29:39]OFD Sender: No OFD packet to send [11:29:44]OFD Sender: No OFD packet to send [11:29:49]OFD Sender: No OFD packet to send [11:29:54]OFD Sender: No OFD packet to send [11:29:59]OFD Sender: No OFD packet to send [11:30:04]OFD Sender: No OFD packet to send [11:30:09]OFD Sender: No OFD packet to send [11:30:14]OFD Sender: No OFD packet to send [11:30:19]OFD Sender: No OFD packet to send [11:30:24]OFD Sender: No OFD packet to send [11:30:29]OFD Sender: No OFD packet to send [11:30:34]OFD Sender: No OFD packet to send [11:30:39]OFD Sender: No OFD packet to send [11:30:44]OFD Sender: No OFD packet to send [11:30:49]OFD Sender: No OFD packet to send [11:30:54]OFD Sender: No OFD packet to send [11:30:59]OFD Sender: No OFD packet to send [11:31:04]OFD Sender: No OFD packet to send [11:31:09]OFD Sender: No OFD packet to send [11:31:14]OFD Sender: No OFD packet to send [11:31:19]OFD Sender: No OFD packet to send [11:31:24]OFD Sender: No OFD packet to send [11:31:29]OFD Sender: No OFD packet to send [11:31:34]OFD Sender: No OFD packet to send [11:31:39]OFD Sender: No OFD packet to send [11:31:44]OFD Sender: No OFD packet to send [11:31:49]OFD Sender: No OFD packet to send [11:31:54]OFD Sender: No OFD packet to send [11:31:59]OFD Sender: No OFD packet to send [11:32:04]OFD Sender: No OFD packet to send [11:32:09]OFD Sender: No OFD packet to send [11:32:14]OFD Sender: No OFD packet to send [11:32:19]OFD Sender: No OFD packet to send [11:32:24]OFD Sender: No OFD packet to send [11:32:29]OFD Sender: No OFD packet to send [11:32:34]OFD Sender: No OFD packet to send [11:32:39]OFD Sender: No OFD packet to send [11:32:44]OFD Sender: No OFD packet to send [11:32:49]OFD Sender: No OFD packet to send [11:32:54]OFD Sender: No OFD packet to send [11:32:59]OFD Sender: No OFD packet to send [11:33:04]OFD Sender: No OFD packet to send [11:33:09]OFD Sender: No OFD packet to send [11:33:14]OFD Sender: No OFD packet to send [11:33:19]OFD Sender: No OFD packet to send [11:33:24]OFD Sender: No OFD packet to send [11:33:29]OFD Sender: No OFD packet to send [11:33:34]OFD Sender: No OFD packet to send [11:33:39]OFD Sender: No OFD packet to send [11:33:44]OFD Sender: No OFD packet to send [11:33:49]OFD Sender: No OFD packet to send [11:33:54]OFD Sender: No OFD packet to send [11:33:59]OFD Sender: No OFD packet to send [11:34:04]OFD Sender: No OFD packet to send [11:34:09]OFD Sender: No OFD packet to send [11:34:14]OFD Sender: No OFD packet to send [11:34:16]accept exits with 9 [11:34:16]New connection [11:34:16]New thread 3067116900 created [11:34:16]Thread 3067260260 joined [11:34:16]Waiting for new connection... [11:34:16] Sock 9.Parse request [11:34:16]Sock 9.Check first char [11:34:16]Sock 9.First char is OK [11:34:16]request: POST /json_proto HTTP/1.0 [11:34:16]Method: POST [11:34:16]URL: /json_proto [11:34:16]Method is POST - this is cgi request [11:34:16]url: /json_proto [11:34:16]query_string will be loaded in cgi processing [11:34:16]execute_cgi json_proto POST (null) [11:34:16]execute_cgi path=json_proto method=POST [11:34:16]POST find Content-Length [11:34:16]Host: 172.17.43.4:8080 [11:34:16]Content-Length: 625 [11:34:16]Content-Type: application/json [11:34:16] [11:34:16]POST finish read [11:34:16]Found Content-Length = 625 [11:34:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51663", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:34:16]execute_script... [11:34:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51663", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:34:16]POST & json_proto [11:34:16]process_json_proto [11:34:16]json parsed OK: [11:34:16]protocol is kg_v1.0 [11:34:16]action value=close_receipt [11:34:16]process_action close_receipt [11:34:16]cmd_close_receipt [11:34:16]MH_GetDate [11:34:16]Write to MH i2c: F0 00 00 46 0A 3F [11:34:16]Write i2c OK [11:34:16]MH_I2C_Read... [11:34:16]Read from MH i2c: F0 [11:34:16]MH_I2C_Read... [11:34:16]Read from MH i2c: F0 09 00 [11:34:16]MH_I2C_Read... [11:34:16]Read from MH i2c: F0 09 00 46 0A 00 3B F5 F3 66 02 BF CF 66 C7 [11:34:16]GetLastDocTimeStamp 1727260896 [11:34:16]current date 1727264059 [11:34:16]FM_GetShiftState [11:34:16]SAM_PROTO_GetShiftState [11:34:16]wFMCommunicate request_size=4 [11:34:16]MH_SAM_APDU [11:34:16]CAPDU: 80 13 01 00 [11:34:16]Write to MH i2c: E2 08 00 47 0A 80 13 01 00 00 00 00 00 CE [11:34:16]Write i2c OK [11:34:16]MH_I2C_Read... [11:34:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:34:16]Read from MH i2c: E2 [11:34:16]MH_I2C_Read... [11:34:16]Read from MH i2c: E2 0E 00 [11:34:16]MH_I2C_Read... [11:34:16]Read from MH i2c: E2 0E 00 47 0A 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 5F [11:34:16]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [11:34:16]wFMCommunicate OK [11:34:16]SAM_PROTO_GetShiftState done [11:34:16]FM_GetShiftState done [11:34:16]opened in 1727224020 [11:34:16]opened+sec_in_day 1727310420 [11:34:16]quantity*price = 11500 [11:34:16]sum+1 = 11501 [11:34:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 28 25.09.2024 11:34 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22455 ФПД: 200273772593702 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T113419&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22455&fm=200273772593702&tin=02508201610067®Number=0000000000146243&sum=11500 0 [11:34:17]StoreToDocumentArchive [11:34:17]shift 231 fd 22455 [11:34:17]save to /storage/0231/doc_00022455 [11:34:17]save last doc name /storage/0231/doc_00022455 to /storage/kkm_last_doc_name [11:34:17]save OK [11:34:17]Clear old archive folders... [11:34:17]ProcessDocumentItem done err = 0, tmpTLVsize=274 [11:34:17]tlvbuf is 00399940 [11:34:17]SAM_PROTO_ClearQueue [11:34:17]wFMCommunicate request_size=4 [11:34:17]MH_SAM_APDU [11:34:17]CAPDU: 80 09 00 00 [11:34:17]Write to MH i2c: E2 08 00 54 0A 80 09 00 00 00 00 00 00 D0 [11:34:17]Write i2c OK [11:34:17]MH_I2C_Read... [11:34:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:34:17]Read from MH i2c: E2 [11:34:17]MH_I2C_Read... [11:34:17]Read from MH i2c: E2 03 00 [11:34:17]MH_I2C_Read... [11:34:17]Read from MH i2c: E2 03 00 54 0A 00 90 00 D2 [11:34:17]RAPDU: 90 00 [11:34:17]wFMCommunicate OK [11:34:17]SAM_PROTO_ClearQueue done [11:34:17]KKMCreateOFDPacket [11:34:17]OFDProtocolAddRootSTLVToBuf [11:34:17]FM_MakeSignedData [11:34:17]FM_MakeSignedData [11:34:17]SAM_PROTO_SignData [11:34:17]wFMCommunicate request_size=4 [11:34:17]MH_SAM_APDU [11:34:17]CAPDU: 80 0D 01 02 [11:34:17]Write to MH i2c: E2 08 00 55 0A 80 0D 01 02 00 00 00 00 D8 [11:34:17]Write i2c OK [11:34:17]MH_I2C_Read... [11:34:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:34:17]Read from MH i2c: E2 [11:34:17]MH_I2C_Read... [11:34:17]Read from MH i2c: E2 03 00 [11:34:17]MH_I2C_Read... [11:34:17]Read from MH i2c: E2 03 00 55 0A 00 90 00 D3 [11:34:17]RAPDU: 90 00 [11:34:17]wFMCommunicate OK [11:34:17]wFMCommunicate request_size=255 [11:34:17]MH_SAM_APDU [11:34:17]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 3B F5 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 [11:34:17]Write to MH i2c: E2 02 01 56 0A 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 3B F5 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 00 00 FB [11:34:17]Write i2c OK [11:34:17]MH_I2C_Read... [11:34:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:34:18]Read from MH i2c: E2 [11:34:18]MH_I2C_Read... [11:34:18]Read from MH i2c: E2 03 00 [11:34:18]MH_I2C_Read... [11:34:18]Read from MH i2c: E2 03 00 56 0A 00 90 00 D4 [11:34:18]RAPDU: 90 00 [11:34:18]wFMCommunicate OK [11:34:18]wFMCommunicate request_size=33 [11:34:18]MH_SAM_APDU [11:34:18]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B7 57 00 00 35 04 06 00 B6 25 DF 12 C2 26 [11:34:18]Write to MH i2c: E2 24 00 57 0A 80 0D 02 02 1C 00 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B7 57 00 00 35 04 06 00 B6 25 DF 12 C2 26 00 00 33 [11:34:18]Write i2c OK [11:34:18]MH_I2C_Read... [11:34:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:34:18]Read from MH i2c: E2 [11:34:18]MH_I2C_Read... [11:34:18]Read from MH i2c: E2 03 00 [11:34:18]MH_I2C_Read... [11:34:18]Read from MH i2c: E2 03 00 57 0A 00 90 00 D5 [11:34:18]RAPDU: 90 00 [11:34:18]wFMCommunicate OK [11:34:18]wFMCommunicate request_size=4 [11:34:18]MH_SAM_APDU [11:34:18]CAPDU: 80 0D 03 02 [11:34:18]Write to MH i2c: E2 08 00 58 0A 80 0D 03 02 00 00 00 00 DD [11:34:18]Write i2c OK [11:34:18]MH_I2C_Read... [11:34:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:34:18]Read from MH i2c: E2 [11:34:18]MH_I2C_Read... [11:34:18]Read from MH i2c: E2 0B 00 [11:34:18]MH_I2C_Read... [11:34:18]Read from MH i2c: E2 0B 00 58 0A 00 45 81 61 BD 01 DC CE 42 90 00 AF [11:34:18]RAPDU: 45 81 61 BD 01 DC CE 42 90 00 [11:34:18]wFMCommunicate OK [11:34:18]SAM_PROTO_SignData done [11:34:18]FM_MakeSignedData done [11:34:18]CreateOFDProtocolMessage [11:34:18]wFMCommunicate request_size=4 [11:34:18]MH_SAM_APDU [11:34:18]CAPDU: 80 11 00 00 [11:34:18]Write to MH i2c: E2 08 00 59 0A 80 11 00 00 00 00 00 00 DD [11:34:18]Write i2c OK [11:34:18]MH_I2C_Read... [11:34:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:34:18]Read from MH i2c: E2 [11:34:18]MH_I2C_Read... [11:34:18]Read from MH i2c: E2 17 00 [11:34:18]MH_I2C_Read... [11:34:18]Read from MH i2c: E2 17 00 59 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 37 [11:34:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [11:34:18]wFMCommunicate OK [11:34:18]CreateOFDProtocolMessage done [11:34:18]OFDSenderStorePacket 22455 [11:34:18]StoreOFDPacket docnum=22455 [11:34:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 26 01 00 00 68 92 1E 01 F2 65 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 3B F5 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B7 57 00 00 35 04 06 00 B6 25 DF 12 C2 26 45 81 61 BD 01 DC CE 42 [11:34:18]CheckFolder [11:34:18]dirname=/storage/ofd_packets [11:34:18]CheckFolder done [11:34:18]ProducePacketName [11:34:18]name=ofd_packets/00022455 [11:34:18]NVStorageSaveData ofd_packets/00022455 [11:34:18]File name is /storage/ofd_packets/00022455 [11:34:18]Write 324 bytes [11:34:18]NVStorageSaveData done [11:34:18]OFDSenderStorePacket done [11:34:18]KKMCreateOFDPacket done [11:34:18]NVStorageSaveData kkm_last_timestamp [11:34:18]File name is /storage/kkm_last_timestamp [11:34:18]Write 4 bytes [11:34:18]NVStorageSaveData done [11:34:18]ExternCall_PrintAddStr [11:34:18]wPrintStart [11:34:18]Write to MH i2c: 01 00 00 5A 0A 64 [11:34:18]Write i2c OK [11:34:18]MH_I2C_Read... [11:34:18]Read from MH i2c: 01 [11:34:18]MH_I2C_Read... [11:34:18]Read from MH i2c: 01 07 00 [11:34:18]MH_I2C_Read... [11:34:18]Read from MH i2c: 01 07 00 5A 0A 00 00 00 00 00 FF 0F 79 [11:34:18]RasterBufferAndPrint [11:34:18]line Счет N : (3)51663 [11:34:18]line ИНН: 02508201610067 [11:34:18]line Контрольно-Кассовый Чек [11:34:18]line ПРОДАЖА [11:34:18]line Товар: 2000036240010 [11:34:18]line Кофе Латте (GABB TRADE) [11:34:18]line 1.000 * 115.00 [11:34:18]line = 115.00 [11:34:18]line НДС 12% НСП 1% [11:34:18]line > о реализуемом товаре [11:34:18]line ИТОГО: 115.00 [11:34:18]line НСП 1% : 1.02 [11:34:18]line НДС 12% : 12.21 [11:34:18]line Наличными: 115.00 [11:34:18]line Безнал.: 0.00 [11:34:18]line Место: АЗС № 88 "Партнер Нефть" [11:34:18]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [11:34:18]line СНО: Общий режим [11:34:18]line Чек 28 25.09.2024 11:34 [11:34:18]line Смена: 231 ФФД: 1.0 [11:34:18]line ЗНМ: 0300000061 [11:34:18]line РНМ: 0000000000146243 [11:34:18]line Версия ККМ: v1.0 [11:34:18]line ФМ: 0000000000959358 [11:34:18]line ФД: 22455 [11:34:18]line ФПД: 200273772593702 [11:34:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T113419&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22455&fm=200273772593702&tin=02508201610067®Number=0000000000146243&sum=11500 [11:34:18]line 0 [11:34:18]OFD Sender: Processing packet 22455 [packets to send 23, broken 22] [11:34:18]ProducePacketName [11:34:18]name=ofd_packets/00022455 [11:34:18]OFD Sender: To server: pG, [11:34:18]CommunicateWithHost lk.salyk.kg:30040 [11:34:18]ConnectInit lk.salyk.kg [11:34:18]written 0, free lines is 4095 [11:34:18]Connected sock=10 [11:34:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 26 01 00 00 68 92 1E 01 F2 65 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 3B F5 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B7 57 00 00 35 04 06 00 B6 25 DF 12 C2 26 45 81 61 BD 01 DC CE 42 [11:34:19]Write to MH i2c: 01 00 00 82 0A 8C [11:34:19]Write i2c OK [11:34:19]MH_I2C_Read... [11:34:19]Read from MH i2c: 01 [11:34:19]MH_I2C_Read... [11:34:19]Read from MH i2c: 01 07 00 [11:34:19]MH_I2C_Read... [11:34:19]Read from MH i2c: 01 07 00 82 0A 00 00 00 00 00 31 0D D1 [11:34:19]RasterBufferAndPrint [11:34:19]line [11:34:19]line [11:34:19]line [11:34:19]line [11:34:19]line [11:34:19]written 0, free lines is 3384 [11:34:19]MH_Cut [11:34:19]Write to MH i2c: D1 01 00 89 0A 01 65 [11:34:19]Write i2c OK [11:34:19]MH_I2C_Read... [11:34:19]Read from MH i2c: D1 [11:34:19]MH_I2C_Read... [11:34:19]Read from MH i2c: D1 01 00 [11:34:19]MH_I2C_Read... [11:34:19]Read from MH i2c: D1 01 00 89 0A 00 64 [11:34:19]Write to MH i2c: 01 00 00 8A 0A 94 [11:34:19]Write i2c OK [11:34:19]MH_I2C_Read... [11:34:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 69 7C 47 00 E3 C3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B7 57 00 00 F4 03 04 00 5E 9F F3 66 B6 04 01 00 00 E9 36 98 6B 9B 40 77 3D [11:34:19]CommunicateWithHost err = 0 [11:34:19]CheckOFDResponse [11:34:19]1017 (14) - 77093643461234 [11:34:19]1041 (16) - 0000000000959358 [11:34:19]1040 (4) - 22455 [11:34:19]1012 (4) - 25.09.2024 05:27 [11:34:19]1206 (1) - 0 [11:34:19]OFD Sender: Remove packet 22455 [11:34:19]ProducePacketName [11:34:19]name=ofd_packets/00022455 [11:34:19]NVStorageDeleteData [11:34:19]OFD Sender: No OFD packet to send [11:34:19]*** Cut start [11:34:19]*** Partial cut [11:34:19]*** CUTSNS_PIN = 1 [11:34:19]*** CUTSNS_PIN = 0 [11:34:19]*** Brake cut motor [11:34:20]Read from MH i2c: 01 [11:34:20]MH_I2C_Read... [11:34:20]*** Stop cut motor [11:34:20]*** Cut end [11:34:20]Read from MH i2c: 01 07 00 [11:34:20]MH_I2C_Read... [11:34:20]Read from MH i2c: 01 07 00 8A 0A 00 00 00 00 00 FF 0F A9 [11:34:20]process_action close_receipt done [11:34:20]requested_data is exist [11:34:20]produce_requested_data [11:34:20]requested_item fm.sn is exist - process it [11:34:20]wFMCommunicate request_size=4 [11:34:20]MH_SAM_APDU [11:34:20]CAPDU: 80 11 00 00 [11:34:20]Write to MH i2c: E2 08 00 8B 0A 80 11 00 00 00 00 00 00 0F [11:34:20]Write i2c OK [11:34:20]MH_I2C_Read... [11:34:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:34:20]Read from MH i2c: E2 [11:34:20]MH_I2C_Read... [11:34:20]Read from MH i2c: E2 17 00 [11:34:20]MH_I2C_Read... [11:34:20]Read from MH i2c: E2 17 00 8B 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 69 [11:34:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [11:34:20]wFMCommunicate OK [11:34:20]requested_item fd.num is exist - process it [11:34:20]SAM_PROTO_GetFieldsCounters [11:34:20]wFMCommunicate request_size=4 [11:34:20]MH_SAM_APDU [11:34:20]CAPDU: 80 13 00 00 [11:34:20]Write to MH i2c: E2 08 00 8C 0A 80 13 00 00 00 00 00 00 12 [11:34:20]Write i2c OK [11:34:20]MH_I2C_Read... [11:34:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:34:20]Read from MH i2c: E2 [11:34:20]MH_I2C_Read... [11:34:20]Read from MH i2c: E2 62 00 [11:34:20]MH_I2C_Read... [11:34:20]Read from MH i2c: E2 62 00 8C 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 B7 57 00 00 0E 04 04 00 E7 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 7E [11:34:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 B7 57 00 00 0E 04 04 00 E7 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 [11:34:20]wFMCommunicate OK [11:34:20]SAM_PROTO_GetFieldsCounters done [11:34:20]requested_item shift.num is exist - process it [11:34:20]requested_item shift.opened is exist - process it [11:34:20]req_shift_opened [11:34:20]FM_GetShiftState [11:34:20]SAM_PROTO_GetShiftState [11:34:20]wFMCommunicate request_size=4 [11:34:20]MH_SAM_APDU [11:34:20]CAPDU: 80 13 01 00 [11:34:20]Write to MH i2c: E2 08 00 8D 0A 80 13 01 00 00 00 00 00 14 [11:34:20]Write i2c OK [11:34:20]MH_I2C_Read... [11:34:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:34:20]Read from MH i2c: E2 [11:34:20]MH_I2C_Read... [11:34:20]Read from MH i2c: E2 0E 00 [11:34:20]MH_I2C_Read... [11:34:20]Read from MH i2c: E2 0E 00 8D 0A 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 A5 [11:34:20]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [11:34:20]wFMCommunicate OK [11:34:20]SAM_PROTO_GetShiftState done [11:34:20]FM_GetShiftState done [11:34:20]req_shift_opened done [11:34:20]requested_item shift.open_date is exist - process it [11:34:20]req_shift_open_date [11:34:20]req_shift_open_date done [11:34:20]produce_requested_data done [11:34:20]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22455,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [11:34:20]process_action_free close_receipt [11:34:20]json_value_free [11:34:20]json_value_free done [11:34:20]process_json_proto returns [11:34:20]Send response to host [11:34:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22455,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [11:34:20]free response buf [11:34:20]execute_script done [11:34:20]execute_script returns [11:34:20]free content buf [11:34:20]Sock 9.Close socket [11:34:20]Sock 9.Thread stoped [11:34:24]OFD Sender: No OFD packet to send [11:34:29]OFD Sender: No OFD packet to send [11:34:34]OFD Sender: No OFD packet to send [11:34:39]OFD Sender: No OFD packet to send [11:34:44]OFD Sender: No OFD packet to send [11:34:49]OFD Sender: No OFD packet to send [11:34:54]OFD Sender: No OFD packet to send [11:34:59]OFD Sender: No OFD packet to send [11:35:04]OFD Sender: No OFD packet to send [11:35:09]OFD Sender: No OFD packet to send [11:35:14]OFD Sender: No OFD packet to send [11:35:19]OFD Sender: No OFD packet to send [11:35:24]OFD Sender: No OFD packet to send [11:35:29]OFD Sender: No OFD packet to send [11:35:34]OFD Sender: No OFD packet to send [11:35:39]OFD Sender: No OFD packet to send [11:35:44]OFD Sender: No OFD packet to send [11:35:49]OFD Sender: No OFD packet to send [11:35:54]OFD Sender: No OFD packet to send [11:35:59]OFD Sender: No OFD packet to send [11:36:04]OFD Sender: No OFD packet to send [11:36:09]OFD Sender: No OFD packet to send [11:36:14]OFD Sender: No OFD packet to send [11:36:19]OFD Sender: No OFD packet to send [11:36:24]OFD Sender: No OFD packet to send [11:36:29]OFD Sender: No OFD packet to send [11:36:34]OFD Sender: No OFD packet to send [11:36:39]OFD Sender: No OFD packet to send [11:36:44]OFD Sender: No OFD packet to send [11:36:49]OFD Sender: No OFD packet to send [11:36:54]OFD Sender: No OFD packet to send [11:36:59]OFD Sender: No OFD packet to send [11:37:04]OFD Sender: No OFD packet to send [11:37:09]OFD Sender: No OFD packet to send [11:37:14]OFD Sender: No OFD packet to send [11:37:19]OFD Sender: No OFD packet to send [11:37:24]OFD Sender: No OFD packet to send [11:37:29]accept exits with 8 [11:37:29]New connection [11:37:29]New thread 3067260260 created [11:37:29]Thread 3067116900 joined [11:37:29]Waiting for new connection... [11:37:29] Sock 8.Parse request [11:37:29]Sock 8.Check first char [11:37:29]Sock 8.First char is OK [11:37:29]request: POST /json_proto HTTP/1.0 [11:37:29]Method: POST [11:37:29]URL: /json_proto [11:37:29]Method is POST - this is cgi request [11:37:29]url: /json_proto [11:37:29]query_string will be loaded in cgi processing [11:37:29]execute_cgi json_proto POST (null) [11:37:29]execute_cgi path=json_proto method=POST [11:37:29]POST find Content-Length [11:37:29]Host: 172.17.43.4:8080 [11:37:29]Content-Length: 622 [11:37:29]Content-Type: application/json [11:37:29] [11:37:29]POST finish read [11:37:29]Found Content-Length = 622 [11:37:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51664", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:37:29]execute_script... [11:37:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51664", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:37:29]POST & json_proto [11:37:29]process_json_proto [11:37:29]json parsed OK: [11:37:29]protocol is kg_v1.0 [11:37:29]action value=close_receipt [11:37:29]process_action close_receipt [11:37:29]cmd_close_receipt [11:37:29]MH_GetDate [11:37:29]Write to MH i2c: F0 00 00 8E 0A 87 [11:37:29]Write i2c OK [11:37:29]MH_I2C_Read... [11:37:29]Read from MH i2c: F0 [11:37:29]MH_I2C_Read... [11:37:29]Read from MH i2c: F0 09 00 [11:37:29]MH_I2C_Read... [11:37:29]Read from MH i2c: F0 09 00 8E 0A 00 FC F5 F3 66 02 BF CF 66 D0 [11:37:29]GetLastDocTimeStamp 1727264059 [11:37:29]current date 1727264252 [11:37:29]FM_GetShiftState [11:37:29]SAM_PROTO_GetShiftState [11:37:29]wFMCommunicate request_size=4 [11:37:29]MH_SAM_APDU [11:37:29]CAPDU: 80 13 01 00 [11:37:29]Write to MH i2c: E2 08 00 8F 0A 80 13 01 00 00 00 00 00 16 [11:37:29]Write i2c OK [11:37:29]MH_I2C_Read... [11:37:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:37:29]OFD Sender: No OFD packet to send [11:37:29]Read from MH i2c: E2 [11:37:29]MH_I2C_Read... [11:37:29]Read from MH i2c: E2 0E 00 [11:37:29]MH_I2C_Read... [11:37:29]Read from MH i2c: E2 0E 00 8F 0A 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 A7 [11:37:29]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [11:37:29]wFMCommunicate OK [11:37:29]SAM_PROTO_GetShiftState done [11:37:29]FM_GetShiftState done [11:37:29]opened in 1727224020 [11:37:29]opened+sec_in_day 1727310420 [11:37:29]quantity*price = 14400 [11:37:29]sum+1 = 14401 [11:37:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 29 25.09.2024 11:37 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22456 ФПД: 87483947725174 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T113732&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22456&fm=87483947725174&tin=02508201610067®Number=0000000000146243&sum=14400 0 [11:37:30]StoreToDocumentArchive [11:37:30]shift 231 fd 22456 [11:37:30]save to /storage/0231/doc_00022456 [11:37:30]save last doc name /storage/0231/doc_00022456 to /storage/kkm_last_doc_name [11:37:30]save OK [11:37:30]Clear old archive folders... [11:37:30]ProcessDocumentItem done err = 0, tmpTLVsize=275 [11:37:30]tlvbuf is 003530B0 [11:37:30]SAM_PROTO_ClearQueue [11:37:30]wFMCommunicate request_size=4 [11:37:30]MH_SAM_APDU [11:37:30]CAPDU: 80 09 00 00 [11:37:30]Write to MH i2c: E2 08 00 9C 0A 80 09 00 00 00 00 00 00 18 [11:37:30]Write i2c OK [11:37:30]MH_I2C_Read... [11:37:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:37:30]Read from MH i2c: E2 [11:37:30]MH_I2C_Read... [11:37:30]Read from MH i2c: E2 03 00 [11:37:30]MH_I2C_Read... [11:37:30]Read from MH i2c: E2 03 00 9C 0A 00 90 00 1A [11:37:30]RAPDU: 90 00 [11:37:30]wFMCommunicate OK [11:37:30]SAM_PROTO_ClearQueue done [11:37:30]KKMCreateOFDPacket [11:37:30]OFDProtocolAddRootSTLVToBuf [11:37:30]FM_MakeSignedData [11:37:30]FM_MakeSignedData [11:37:30]SAM_PROTO_SignData [11:37:30]wFMCommunicate request_size=4 [11:37:30]MH_SAM_APDU [11:37:30]CAPDU: 80 0D 01 02 [11:37:30]Write to MH i2c: E2 08 00 9D 0A 80 0D 01 02 00 00 00 00 20 [11:37:30]Write i2c OK [11:37:30]MH_I2C_Read... [11:37:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:37:31]Read from MH i2c: E2 [11:37:31]MH_I2C_Read... [11:37:31]Read from MH i2c: E2 03 00 [11:37:31]MH_I2C_Read... [11:37:31]Read from MH i2c: E2 03 00 9D 0A 00 90 00 1B [11:37:31]RAPDU: 90 00 [11:37:31]wFMCommunicate OK [11:37:31]wFMCommunicate request_size=255 [11:37:31]MH_SAM_APDU [11:37:31]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 FC F5 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 [11:37:31]Write to MH i2c: E2 02 01 9E 0A 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 FC F5 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 00 00 6E [11:37:31]Write i2c OK [11:37:31]MH_I2C_Read... [11:37:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:37:31]Read from MH i2c: E2 [11:37:31]MH_I2C_Read... [11:37:31]Read from MH i2c: E2 03 00 [11:37:31]MH_I2C_Read... [11:37:31]Read from MH i2c: E2 03 00 9E 0A 00 90 00 1C [11:37:31]RAPDU: 90 00 [11:37:31]wFMCommunicate OK [11:37:31]wFMCommunicate request_size=34 [11:37:31]MH_SAM_APDU [11:37:31]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B8 57 00 00 35 04 06 00 4F 90 F1 A0 B1 76 [11:37:31]Write to MH i2c: E2 25 00 9F 0A 80 0D 02 02 1D 00 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B8 57 00 00 35 04 06 00 4F 90 F1 A0 B1 76 00 00 91 [11:37:31]Write i2c OK [11:37:31]MH_I2C_Read... [11:37:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:37:31]Read from MH i2c: E2 [11:37:31]MH_I2C_Read... [11:37:31]Read from MH i2c: E2 03 00 [11:37:31]MH_I2C_Read... [11:37:31]Read from MH i2c: E2 03 00 9F 0A 00 90 00 1D [11:37:31]RAPDU: 90 00 [11:37:31]wFMCommunicate OK [11:37:31]wFMCommunicate request_size=4 [11:37:31]MH_SAM_APDU [11:37:31]CAPDU: 80 0D 03 02 [11:37:31]Write to MH i2c: E2 08 00 A0 0A 80 0D 03 02 00 00 00 00 25 [11:37:31]Write i2c OK [11:37:31]MH_I2C_Read... [11:37:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:37:31]Read from MH i2c: E2 [11:37:31]MH_I2C_Read... [11:37:31]Read from MH i2c: E2 0B 00 [11:37:31]MH_I2C_Read... [11:37:31]Read from MH i2c: E2 0B 00 A0 0A 00 F9 67 A2 9C 2F 93 66 9B 90 00 87 [11:37:31]RAPDU: F9 67 A2 9C 2F 93 66 9B 90 00 [11:37:31]wFMCommunicate OK [11:37:31]SAM_PROTO_SignData done [11:37:31]FM_MakeSignedData done [11:37:31]CreateOFDProtocolMessage [11:37:31]wFMCommunicate request_size=4 [11:37:31]MH_SAM_APDU [11:37:31]CAPDU: 80 11 00 00 [11:37:31]Write to MH i2c: E2 08 00 A1 0A 80 11 00 00 00 00 00 00 25 [11:37:31]Write i2c OK [11:37:31]MH_I2C_Read... [11:37:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:37:31]Read from MH i2c: E2 [11:37:31]MH_I2C_Read... [11:37:31]Read from MH i2c: E2 17 00 [11:37:31]MH_I2C_Read... [11:37:31]Read from MH i2c: E2 17 00 A1 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 7F [11:37:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [11:37:31]wFMCommunicate OK [11:37:31]CreateOFDProtocolMessage done [11:37:31]OFDSenderStorePacket 22456 [11:37:31]StoreOFDPacket docnum=22456 [11:37:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 27 01 00 00 9A F7 1F 01 F8 92 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 FC F5 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B8 57 00 00 35 04 06 00 4F 90 F1 A0 B1 76 F9 67 A2 9C 2F 93 66 9B [11:37:31]CheckFolder [11:37:31]dirname=/storage/ofd_packets [11:37:31]CheckFolder done [11:37:31]ProducePacketName [11:37:31]name=ofd_packets/00022456 [11:37:31]NVStorageSaveData ofd_packets/00022456 [11:37:31]File name is /storage/ofd_packets/00022456 [11:37:31]Write 325 bytes [11:37:31]NVStorageSaveData done [11:37:31]OFDSenderStorePacket done [11:37:31]KKMCreateOFDPacket done [11:37:31]NVStorageSaveData kkm_last_timestamp [11:37:31]File name is /storage/kkm_last_timestamp [11:37:31]Write 4 bytes [11:37:31]NVStorageSaveData done [11:37:31]ExternCall_PrintAddStr [11:37:31]wPrintStart [11:37:31]Write to MH i2c: 01 00 00 A2 0A AC [11:37:31]Write i2c OK [11:37:31]MH_I2C_Read... [11:37:31]Read from MH i2c: 01 [11:37:31]MH_I2C_Read... [11:37:31]Read from MH i2c: 01 07 00 [11:37:31]MH_I2C_Read... [11:37:31]Read from MH i2c: 01 07 00 A2 0A 00 00 00 00 00 FF 0F C1 [11:37:31]RasterBufferAndPrint [11:37:31]line Счет N : (3)51664 [11:37:31]line ИНН: 02508201610067 [11:37:31]line Контрольно-Кассовый Чек [11:37:31]line ПРОДАЖА [11:37:31]line Товар: 48743587 [11:37:31]line Сигареты Winston XStyle Silver [11:37:31]line 1.000 * 144.00 [11:37:31]line = 144.00 [11:37:31]line НДС 12% НСП 1% [11:37:31]line > о реализуемом товаре [11:37:31]line ИТОГО: 144.00 [11:37:31]line НСП 1% : 1.27 [11:37:31]line НДС 12% : 15.29 [11:37:31]line Наличными: 144.00 [11:37:31]line Безнал.: 0.00 [11:37:31]line Место: АЗС № 88 "Партнер Нефть" [11:37:31]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [11:37:31]line СНО: Общий режим [11:37:31]line Чек 29 25.09.2024 11:37 [11:37:31]line Смена: 231 ФФД: 1.0 [11:37:31]line ЗНМ: 0300000061 [11:37:31]line РНМ: 0000000000146243 [11:37:31]line Версия ККМ: v1.0 [11:37:31]line ФМ: 0000000000959358 [11:37:31]line ФД: 22456 [11:37:31]line ФПД: 87483947725174 [11:37:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T113732&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22456&fm=87483947725174&tin=02508201610067®Number=0000000000146243&sum=14400 [11:37:31]line 0 [11:37:31]OFD Sender: Processing packet 22456 [packets to send 23, broken 22] [11:37:31]ProducePacketName [11:37:31]name=ofd_packets/00022456 [11:37:31]OFD Sender: To server: pG, [11:37:31]CommunicateWithHost lk.salyk.kg:30040 [11:37:31]ConnectInit lk.salyk.kg [11:37:31]written 0, free lines is 4095 [11:37:31]Connected sock=10 [11:37:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 27 01 00 00 9A F7 1F 01 F8 92 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 FC F5 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B8 57 00 00 35 04 06 00 4F 90 F1 A0 B1 76 F9 67 A2 9C 2F 93 66 9B [11:37:32]Write to MH i2c: 01 00 00 CB 0A D5 [11:37:32]Write i2c OK [11:37:32]MH_I2C_Read... [11:37:32]Read from MH i2c: 01 [11:37:32]MH_I2C_Read... [11:37:32]Read from MH i2c: 01 07 00 [11:37:32]MH_I2C_Read... [11:37:32]Read from MH i2c: 01 07 00 CB 0A 00 00 00 00 00 13 0D FC [11:37:32]RasterBufferAndPrint [11:37:32]line [11:37:32]line [11:37:32]line [11:37:32]line [11:37:32]line [11:37:32]written 0, free lines is 3354 [11:37:32]MH_Cut [11:37:32]Write to MH i2c: D1 01 00 D2 0A 01 AE [11:37:32]Write i2c OK [11:37:32]MH_I2C_Read... [11:37:32]Read from MH i2c: D1 [11:37:32]MH_I2C_Read... [11:37:32]Read from MH i2c: D1 01 00 [11:37:32]MH_I2C_Read... [11:37:32]Read from MH i2c: D1 01 00 D2 0A 00 AD [11:37:32]Write to MH i2c: 01 00 00 D3 0A DD [11:37:32]Write i2c OK [11:37:32]MH_I2C_Read... [11:37:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 78 B5 47 00 86 02 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B8 57 00 00 F4 03 04 00 1F A0 F3 66 B6 04 01 00 00 7A 9E 12 A3 41 ED 2F 99 [11:37:32]CommunicateWithHost err = 0 [11:37:32]CheckOFDResponse [11:37:32]1017 (14) - 77093643461234 [11:37:32]1041 (16) - 0000000000959358 [11:37:32]1040 (4) - 22456 [11:37:32]1012 (4) - 25.09.2024 05:31 [11:37:32]1206 (1) - 0 [11:37:32]OFD Sender: Remove packet 22456 [11:37:32]ProducePacketName [11:37:32]name=ofd_packets/00022456 [11:37:32]NVStorageDeleteData [11:37:32]OFD Sender: No OFD packet to send [11:37:32]*** Cut start [11:37:32]*** Partial cut [11:37:32]*** CUTSNS_PIN = 1 [11:37:32]*** CUTSNS_PIN = 0 [11:37:33]*** Brake cut motor [11:37:33]Read from MH i2c: 01 [11:37:33]MH_I2C_Read... [11:37:33]*** Stop cut motor [11:37:33]*** Cut end [11:37:33]Read from MH i2c: 01 07 00 [11:37:33]MH_I2C_Read... [11:37:33]Read from MH i2c: 01 07 00 D3 0A 00 00 00 00 00 FF 0F F2 [11:37:33]process_action close_receipt done [11:37:33]requested_data is exist [11:37:33]produce_requested_data [11:37:33]requested_item fm.sn is exist - process it [11:37:33]wFMCommunicate request_size=4 [11:37:33]MH_SAM_APDU [11:37:33]CAPDU: 80 11 00 00 [11:37:33]Write to MH i2c: E2 08 00 D4 0A 80 11 00 00 00 00 00 00 58 [11:37:33]Write i2c OK [11:37:33]MH_I2C_Read... [11:37:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:37:33]Read from MH i2c: E2 [11:37:33]MH_I2C_Read... [11:37:33]Read from MH i2c: E2 17 00 [11:37:33]MH_I2C_Read... [11:37:33]Read from MH i2c: E2 17 00 D4 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 B2 [11:37:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [11:37:33]wFMCommunicate OK [11:37:33]requested_item fd.num is exist - process it [11:37:33]SAM_PROTO_GetFieldsCounters [11:37:33]wFMCommunicate request_size=4 [11:37:33]MH_SAM_APDU [11:37:33]CAPDU: 80 13 00 00 [11:37:33]Write to MH i2c: E2 08 00 D5 0A 80 13 00 00 00 00 00 00 5B [11:37:33]Write i2c OK [11:37:33]MH_I2C_Read... [11:37:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:37:33]Read from MH i2c: E2 [11:37:33]MH_I2C_Read... [11:37:33]Read from MH i2c: E2 62 00 [11:37:33]MH_I2C_Read... [11:37:33]Read from MH i2c: E2 62 00 D5 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 B8 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 CB [11:37:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 B8 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:37:33]wFMCommunicate OK [11:37:33]SAM_PROTO_GetFieldsCounters done [11:37:33]requested_item shift.num is exist - process it [11:37:33]requested_item shift.opened is exist - process it [11:37:33]req_shift_opened [11:37:33]FM_GetShiftState [11:37:33]SAM_PROTO_GetShiftState [11:37:33]wFMCommunicate request_size=4 [11:37:33]MH_SAM_APDU [11:37:33]CAPDU: 80 13 01 00 [11:37:33]Write to MH i2c: E2 08 00 D6 0A 80 13 01 00 00 00 00 00 5D [11:37:33]Write i2c OK [11:37:33]MH_I2C_Read... [11:37:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:37:33]Read from MH i2c: E2 [11:37:33]MH_I2C_Read... [11:37:33]Read from MH i2c: E2 0E 00 [11:37:33]MH_I2C_Read... [11:37:33]Read from MH i2c: E2 0E 00 D6 0A 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 EE [11:37:33]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [11:37:33]wFMCommunicate OK [11:37:33]SAM_PROTO_GetShiftState done [11:37:33]FM_GetShiftState done [11:37:33]req_shift_opened done [11:37:33]requested_item shift.open_date is exist - process it [11:37:33]req_shift_open_date [11:37:33]req_shift_open_date done [11:37:33]produce_requested_data done [11:37:33]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22456,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [11:37:33]process_action_free close_receipt [11:37:33]json_value_free [11:37:33]json_value_free done [11:37:33]process_json_proto returns [11:37:33]Send response to host [11:37:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22456,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [11:37:33]free response buf [11:37:33]execute_script done [11:37:33]execute_script returns [11:37:33]free content buf [11:37:33]Sock 8.Close socket [11:37:33]Sock 8.Thread stoped [11:37:37]OFD Sender: No OFD packet to send [11:37:42]OFD Sender: No OFD packet to send [11:37:47]OFD Sender: No OFD packet to send [11:37:52]OFD Sender: No OFD packet to send [11:37:57]OFD Sender: No OFD packet to send [11:38:02]OFD Sender: No OFD packet to send [11:38:07]OFD Sender: No OFD packet to send [11:38:12]OFD Sender: No OFD packet to send [11:38:17]OFD Sender: No OFD packet to send [11:38:22]OFD Sender: No OFD packet to send [11:38:27]OFD Sender: No OFD packet to send [11:38:32]OFD Sender: No OFD packet to send [11:38:37]OFD Sender: No OFD packet to send [11:38:42]OFD Sender: No OFD packet to send [11:38:47]OFD Sender: No OFD packet to send [11:38:52]OFD Sender: No OFD packet to send [11:38:57]OFD Sender: No OFD packet to send [11:39:02]OFD Sender: No OFD packet to send [11:39:07]OFD Sender: No OFD packet to send [11:39:12]OFD Sender: No OFD packet to send [11:39:17]OFD Sender: No OFD packet to send [11:39:22]OFD Sender: No OFD packet to send [11:39:27]OFD Sender: No OFD packet to send [11:39:32]OFD Sender: No OFD packet to send [11:39:37]OFD Sender: No OFD packet to send [11:39:42]OFD Sender: No OFD packet to send [11:39:47]OFD Sender: No OFD packet to send [11:39:52]OFD Sender: No OFD packet to send [11:39:57]OFD Sender: No OFD packet to send [11:40:02]OFD Sender: No OFD packet to send [11:40:07]OFD Sender: No OFD packet to send [11:40:12]OFD Sender: No OFD packet to send [11:40:17]OFD Sender: No OFD packet to send [11:40:22]OFD Sender: No OFD packet to send [11:40:27]OFD Sender: No OFD packet to send [11:40:32]OFD Sender: No OFD packet to send [11:40:37]OFD Sender: No OFD packet to send [11:40:42]OFD Sender: No OFD packet to send [11:40:47]OFD Sender: No OFD packet to send [11:40:52]OFD Sender: No OFD packet to send [11:40:57]OFD Sender: No OFD packet to send [11:41:02]OFD Sender: No OFD packet to send [11:41:07]OFD Sender: No OFD packet to send [11:41:12]OFD Sender: No OFD packet to send [11:41:17]OFD Sender: No OFD packet to send [11:41:22]OFD Sender: No OFD packet to send [11:41:28]OFD Sender: No OFD packet to send [11:41:33]OFD Sender: No OFD packet to send [11:41:38]OFD Sender: No OFD packet to send [11:41:43]OFD Sender: No OFD packet to send [11:41:48]OFD Sender: No OFD packet to send [11:41:53]OFD Sender: No OFD packet to send [11:41:58]OFD Sender: No OFD packet to send [11:42:03]OFD Sender: No OFD packet to send [11:42:08]OFD Sender: No OFD packet to send [11:42:13]OFD Sender: No OFD packet to send [11:42:18]OFD Sender: No OFD packet to send [11:42:23]OFD Sender: No OFD packet to send [11:42:28]OFD Sender: No OFD packet to send [11:42:33]OFD Sender: No OFD packet to send [11:42:38]OFD Sender: No OFD packet to send [11:42:43]OFD Sender: No OFD packet to send [11:42:48]OFD Sender: No OFD packet to send [11:42:53]OFD Sender: No OFD packet to send [11:42:58]OFD Sender: No OFD packet to send [11:43:03]OFD Sender: No OFD packet to send [11:43:08]OFD Sender: No OFD packet to send [11:43:13]OFD Sender: No OFD packet to send [11:43:18]OFD Sender: No OFD packet to send [11:43:23]OFD Sender: No OFD packet to send [11:43:28]OFD Sender: No OFD packet to send [11:43:33]OFD Sender: No OFD packet to send [11:43:38]OFD Sender: No OFD packet to send [11:43:43]OFD Sender: No OFD packet to send [11:43:48]OFD Sender: No OFD packet to send [11:43:53]OFD Sender: No OFD packet to send [11:43:58]OFD Sender: No OFD packet to send [11:44:03]OFD Sender: No OFD packet to send [11:44:08]OFD Sender: No OFD packet to send [11:44:13]OFD Sender: No OFD packet to send [11:44:18]OFD Sender: No OFD packet to send [11:44:23]OFD Sender: No OFD packet to send [11:44:28]OFD Sender: No OFD packet to send [11:44:33]OFD Sender: No OFD packet to send [11:44:38]OFD Sender: No OFD packet to send [11:44:43]OFD Sender: No OFD packet to send [11:44:48]OFD Sender: No OFD packet to send [11:44:53]OFD Sender: No OFD packet to send [11:44:58]OFD Sender: No OFD packet to send [11:45:03]OFD Sender: No OFD packet to send [11:45:08]OFD Sender: No OFD packet to send [11:45:13]OFD Sender: No OFD packet to send [11:45:18]OFD Sender: No OFD packet to send [11:45:18]accept exits with 9 [11:45:18]New connection [11:45:18]New thread 3067116900 created [11:45:18]Thread 3067260260 joined [11:45:18]Waiting for new connection... [11:45:18] Sock 9.Parse request [11:45:18]Sock 9.Check first char [11:45:18]Sock 9.First char is OK [11:45:18]request: POST /json_proto HTTP/1.0 [11:45:18]Method: POST [11:45:18]URL: /json_proto [11:45:18]Method is POST - this is cgi request [11:45:18]url: /json_proto [11:45:18]query_string will be loaded in cgi processing [11:45:18]execute_cgi json_proto POST (null) [11:45:18]execute_cgi path=json_proto method=POST [11:45:18]POST find Content-Length [11:45:18]Host: 172.17.43.4:8080 [11:45:18]Content-Length: 622 [11:45:18]Content-Type: application/json [11:45:18] [11:45:18]POST finish read [11:45:18]Found Content-Length = 622 [11:45:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51665", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:45:18]execute_script... [11:45:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51665", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:45:18]POST & json_proto [11:45:18]process_json_proto [11:45:18]json parsed OK: [11:45:18]protocol is kg_v1.0 [11:45:18]action value=close_receipt [11:45:18]process_action close_receipt [11:45:18]cmd_close_receipt [11:45:18]MH_GetDate [11:45:18]Write to MH i2c: F0 00 00 D7 0A D0 [11:45:18]Write i2c OK [11:45:18]MH_I2C_Read... [11:45:18]Read from MH i2c: F0 [11:45:18]MH_I2C_Read... [11:45:18]Read from MH i2c: F0 09 00 [11:45:18]MH_I2C_Read... [11:45:18]Read from MH i2c: F0 09 00 D7 0A 00 D1 F7 F3 66 02 BF CF 66 F0 [11:45:18]GetLastDocTimeStamp 1727264252 [11:45:18]current date 1727264721 [11:45:18]FM_GetShiftState [11:45:18]SAM_PROTO_GetShiftState [11:45:18]wFMCommunicate request_size=4 [11:45:18]MH_SAM_APDU [11:45:18]CAPDU: 80 13 01 00 [11:45:18]Write to MH i2c: E2 08 00 D8 0A 80 13 01 00 00 00 00 00 5F [11:45:18]Write i2c OK [11:45:18]MH_I2C_Read... [11:45:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:45:18]Read from MH i2c: E2 [11:45:18]MH_I2C_Read... [11:45:18]Read from MH i2c: E2 0E 00 [11:45:18]MH_I2C_Read... [11:45:18]Read from MH i2c: E2 0E 00 D8 0A 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 F0 [11:45:18]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [11:45:18]wFMCommunicate OK [11:45:18]SAM_PROTO_GetShiftState done [11:45:18]FM_GetShiftState done [11:45:18]opened in 1727224020 [11:45:18]opened+sec_in_day 1727310420 [11:45:18]quantity*price = 14400 [11:45:18]sum+1 = 14401 [11:45:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 30 25.09.2024 11:45 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22457 ФПД: 39805008792718 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T114521&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22457&fm=39805008792718&tin=02508201610067®Number=0000000000146243&sum=14400 0 [11:45:19]StoreToDocumentArchive [11:45:19]shift 231 fd 22457 [11:45:19]save to /storage/0231/doc_00022457 [11:45:19]save last doc name /storage/0231/doc_00022457 to /storage/kkm_last_doc_name [11:45:19]save OK [11:45:19]Clear old archive folders... [11:45:19]ProcessDocumentItem done err = 0, tmpTLVsize=275 [11:45:19]tlvbuf is 003843E0 [11:45:19]SAM_PROTO_ClearQueue [11:45:19]wFMCommunicate request_size=4 [11:45:19]MH_SAM_APDU [11:45:19]CAPDU: 80 09 00 00 [11:45:19]Write to MH i2c: E2 08 00 E5 0A 80 09 00 00 00 00 00 00 61 [11:45:19]Write i2c OK [11:45:19]MH_I2C_Read... [11:45:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:45:19]Read from MH i2c: E2 [11:45:19]MH_I2C_Read... [11:45:19]Read from MH i2c: E2 03 00 [11:45:19]MH_I2C_Read... [11:45:19]Read from MH i2c: E2 03 00 E5 0A 00 90 00 63 [11:45:19]RAPDU: 90 00 [11:45:19]wFMCommunicate OK [11:45:19]SAM_PROTO_ClearQueue done [11:45:19]KKMCreateOFDPacket [11:45:19]OFDProtocolAddRootSTLVToBuf [11:45:19]FM_MakeSignedData [11:45:19]FM_MakeSignedData [11:45:19]SAM_PROTO_SignData [11:45:19]wFMCommunicate request_size=4 [11:45:19]MH_SAM_APDU [11:45:19]CAPDU: 80 0D 01 02 [11:45:19]Write to MH i2c: E2 08 00 E6 0A 80 0D 01 02 00 00 00 00 69 [11:45:19]Write i2c OK [11:45:19]MH_I2C_Read... [11:45:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:45:19]Read from MH i2c: E2 [11:45:19]MH_I2C_Read... [11:45:19]Read from MH i2c: E2 03 00 [11:45:19]MH_I2C_Read... [11:45:19]Read from MH i2c: E2 03 00 E6 0A 00 90 00 64 [11:45:19]RAPDU: 90 00 [11:45:19]wFMCommunicate OK [11:45:19]wFMCommunicate request_size=255 [11:45:19]MH_SAM_APDU [11:45:19]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 D1 F7 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 [11:45:19]Write to MH i2c: E2 02 01 E7 0A 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 D1 F7 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 00 00 8F [11:45:19]Write i2c OK [11:45:19]MH_I2C_Read... [11:45:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:45:20]Read from MH i2c: E2 [11:45:20]MH_I2C_Read... [11:45:20]Read from MH i2c: E2 03 00 [11:45:20]MH_I2C_Read... [11:45:20]Read from MH i2c: E2 03 00 E7 0A 00 90 00 65 [11:45:20]RAPDU: 90 00 [11:45:20]wFMCommunicate OK [11:45:20]wFMCommunicate request_size=34 [11:45:20]MH_SAM_APDU [11:45:20]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B9 57 00 00 35 04 06 00 24 33 D3 68 CC 8E [11:45:20]Write to MH i2c: E2 25 00 E8 0A 80 0D 02 02 1D 00 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B9 57 00 00 35 04 06 00 24 33 D3 68 CC 8E 00 00 30 [11:45:20]Write i2c OK [11:45:20]MH_I2C_Read... [11:45:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:45:20]Read from MH i2c: E2 [11:45:20]MH_I2C_Read... [11:45:20]Read from MH i2c: E2 03 00 [11:45:20]MH_I2C_Read... [11:45:20]Read from MH i2c: E2 03 00 E8 0A 00 90 00 66 [11:45:20]RAPDU: 90 00 [11:45:20]wFMCommunicate OK [11:45:20]wFMCommunicate request_size=4 [11:45:20]MH_SAM_APDU [11:45:20]CAPDU: 80 0D 03 02 [11:45:20]Write to MH i2c: E2 08 00 E9 0A 80 0D 03 02 00 00 00 00 6E [11:45:20]Write i2c OK [11:45:20]MH_I2C_Read... [11:45:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:45:20]Read from MH i2c: E2 [11:45:20]MH_I2C_Read... [11:45:20]Read from MH i2c: E2 0B 00 [11:45:20]MH_I2C_Read... [11:45:20]Read from MH i2c: E2 0B 00 E9 0A 00 F6 75 B3 FC F0 CC F7 49 90 00 85 [11:45:20]RAPDU: F6 75 B3 FC F0 CC F7 49 90 00 [11:45:20]wFMCommunicate OK [11:45:20]SAM_PROTO_SignData done [11:45:20]FM_MakeSignedData done [11:45:20]CreateOFDProtocolMessage [11:45:20]wFMCommunicate request_size=4 [11:45:20]MH_SAM_APDU [11:45:20]CAPDU: 80 11 00 00 [11:45:20]Write to MH i2c: E2 08 00 EA 0A 80 11 00 00 00 00 00 00 6E [11:45:20]Write i2c OK [11:45:20]MH_I2C_Read... [11:45:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:45:20]Read from MH i2c: E2 [11:45:20]MH_I2C_Read... [11:45:20]Read from MH i2c: E2 17 00 [11:45:20]MH_I2C_Read... [11:45:20]Read from MH i2c: E2 17 00 EA 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 C8 [11:45:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [11:45:20]wFMCommunicate OK [11:45:20]CreateOFDProtocolMessage done [11:45:20]OFDSenderStorePacket 22457 [11:45:20]StoreOFDPacket docnum=22457 [11:45:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 27 01 00 00 AF 16 1F 01 CA A1 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 D1 F7 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B9 57 00 00 35 04 06 00 24 33 D3 68 CC 8E F6 75 B3 FC F0 CC F7 49 [11:45:20]CheckFolder [11:45:20]dirname=/storage/ofd_packets [11:45:20]CheckFolder done [11:45:20]ProducePacketName [11:45:20]name=ofd_packets/00022457 [11:45:20]NVStorageSaveData ofd_packets/00022457 [11:45:20]File name is /storage/ofd_packets/00022457 [11:45:20]Write 325 bytes [11:45:20]NVStorageSaveData done [11:45:20]OFDSenderStorePacket done [11:45:20]KKMCreateOFDPacket done [11:45:20]NVStorageSaveData kkm_last_timestamp [11:45:20]File name is /storage/kkm_last_timestamp [11:45:20]Write 4 bytes [11:45:20]NVStorageSaveData done [11:45:20]ExternCall_PrintAddStr [11:45:20]wPrintStart [11:45:20]Write to MH i2c: 01 00 00 EB 0A F5 [11:45:20]Write i2c OK [11:45:20]MH_I2C_Read... [11:45:20]Read from MH i2c: 01 [11:45:20]MH_I2C_Read... [11:45:20]Read from MH i2c: 01 07 00 [11:45:20]MH_I2C_Read... [11:45:20]Read from MH i2c: 01 07 00 EB 0A 00 00 00 00 00 FF 0F 0A [11:45:20]RasterBufferAndPrint [11:45:20]line Счет N : (3)51665 [11:45:20]line ИНН: 02508201610067 [11:45:20]line Контрольно-Кассовый Чек [11:45:20]line ПРОДАЖА [11:45:20]line Товар: 48743587 [11:45:20]line Сигареты Winston XStyle Silver [11:45:20]line 1.000 * 144.00 [11:45:20]line = 144.00 [11:45:20]line НДС 12% НСП 1% [11:45:20]line > о реализуемом товаре [11:45:20]line ИТОГО: 144.00 [11:45:20]line НСП 1% : 1.27 [11:45:20]line НДС 12% : 15.29 [11:45:20]line Наличными: 144.00 [11:45:20]line Безнал.: 0.00 [11:45:20]line Место: АЗС № 88 "Партнер Нефть" [11:45:20]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [11:45:20]line СНО: Общий режим [11:45:20]line Чек 30 25.09.2024 11:45 [11:45:20]line Смена: 231 ФФД: 1.0 [11:45:20]line ЗНМ: 0300000061 [11:45:20]line РНМ: 0000000000146243 [11:45:20]line Версия ККМ: v1.0 [11:45:20]line ФМ: 0000000000959358 [11:45:20]line ФД: 22457 [11:45:20]line ФПД: 39805008792718 [11:45:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T114521&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22457&fm=39805008792718&tin=02508201610067®Number=0000000000146243&sum=14400 [11:45:20]line 0 [11:45:20]OFD Sender: Processing packet 22457 [packets to send 23, broken 22] [11:45:20]ProducePacketName [11:45:20]name=ofd_packets/00022457 [11:45:20]OFD Sender: To server: pG, [11:45:20]CommunicateWithHost lk.salyk.kg:30040 [11:45:20]ConnectInit lk.salyk.kg [11:45:20]written 0, free lines is 4095 [11:45:21]Connected sock=10 [11:45:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 27 01 00 00 AF 16 1F 01 CA A1 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 D1 F7 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B9 57 00 00 35 04 06 00 24 33 D3 68 CC 8E F6 75 B3 FC F0 CC F7 49 [11:45:21]Write to MH i2c: 01 00 00 14 0B 1F [11:45:21]Write i2c OK [11:45:21]MH_I2C_Read... [11:45:21]Read from MH i2c: 01 [11:45:21]MH_I2C_Read... [11:45:21]Read from MH i2c: 01 07 00 [11:45:21]MH_I2C_Read... [11:45:21]Read from MH i2c: 01 07 00 14 0B 00 00 00 00 00 08 0D 3B [11:45:21]RasterBufferAndPrint [11:45:21]line [11:45:21]line [11:45:21]line [11:45:21]line [11:45:21]line [11:45:21]written 0, free lines is 3345 [11:45:21]MH_Cut [11:45:21]Write to MH i2c: D1 01 00 1B 0B 01 F8 [11:45:21]Write i2c OK [11:45:21]MH_I2C_Read... [11:45:21]Read from MH i2c: D1 [11:45:21]MH_I2C_Read... [11:45:21]Read from MH i2c: D1 01 00 [11:45:21]MH_I2C_Read... [11:45:21]Read from MH i2c: D1 01 00 1B 0B 00 F7 [11:45:21]Write to MH i2c: 01 00 00 1C 0B 27 [11:45:21]Write i2c OK [11:45:21]MH_I2C_Read... [11:45:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 92 A6 47 00 7E FD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 B9 57 00 00 F4 03 04 00 F4 A1 F3 66 B6 04 01 00 00 71 79 A3 80 60 01 BE 9B [11:45:21]CommunicateWithHost err = 0 [11:45:21]CheckOFDResponse [11:45:21]1017 (14) - 77093643461234 [11:45:21]1041 (16) - 0000000000959358 [11:45:21]1040 (4) - 22457 [11:45:21]1012 (4) - 25.09.2024 05:39 [11:45:21]1206 (1) - 0 [11:45:21]OFD Sender: Remove packet 22457 [11:45:21]ProducePacketName [11:45:21]name=ofd_packets/00022457 [11:45:21]NVStorageDeleteData [11:45:21]*** Cut start [11:45:21]*** Partial cut [11:45:21]*** CUTSNS_PIN = 1 [11:45:21]*** CUTSNS_PIN = 0 [11:45:21]OFD Sender: No OFD packet to send [11:45:22]*** Brake cut motor [11:45:22]Read from MH i2c: 01 [11:45:22]MH_I2C_Read... [11:45:22]*** Stop cut motor [11:45:22]*** Cut end [11:45:22]Read from MH i2c: 01 07 00 [11:45:22]MH_I2C_Read... [11:45:22]Read from MH i2c: 01 07 00 1C 0B 00 00 00 00 00 FF 0F 3C [11:45:22]process_action close_receipt done [11:45:22]requested_data is exist [11:45:22]produce_requested_data [11:45:22]requested_item fm.sn is exist - process it [11:45:22]wFMCommunicate request_size=4 [11:45:22]MH_SAM_APDU [11:45:22]CAPDU: 80 11 00 00 [11:45:22]Write to MH i2c: E2 08 00 1D 0B 80 11 00 00 00 00 00 00 A2 [11:45:22]Write i2c OK [11:45:22]MH_I2C_Read... [11:45:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:45:22]Read from MH i2c: E2 [11:45:22]MH_I2C_Read... [11:45:22]Read from MH i2c: E2 17 00 [11:45:22]MH_I2C_Read... [11:45:22]Read from MH i2c: E2 17 00 1D 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 FC [11:45:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [11:45:22]wFMCommunicate OK [11:45:22]requested_item fd.num is exist - process it [11:45:22]SAM_PROTO_GetFieldsCounters [11:45:22]wFMCommunicate request_size=4 [11:45:22]MH_SAM_APDU [11:45:22]CAPDU: 80 13 00 00 [11:45:22]Write to MH i2c: E2 08 00 1E 0B 80 13 00 00 00 00 00 00 A5 [11:45:22]Write i2c OK [11:45:22]MH_I2C_Read... [11:45:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:45:22]Read from MH i2c: E2 [11:45:22]MH_I2C_Read... [11:45:22]Read from MH i2c: E2 62 00 [11:45:22]MH_I2C_Read... [11:45:22]Read from MH i2c: E2 62 00 1E 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 B9 57 00 00 0E 04 04 00 E7 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 19 [11:45:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 B9 57 00 00 0E 04 04 00 E7 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 [11:45:22]wFMCommunicate OK [11:45:22]SAM_PROTO_GetFieldsCounters done [11:45:22]requested_item shift.num is exist - process it [11:45:22]requested_item shift.opened is exist - process it [11:45:22]req_shift_opened [11:45:22]FM_GetShiftState [11:45:22]SAM_PROTO_GetShiftState [11:45:22]wFMCommunicate request_size=4 [11:45:22]MH_SAM_APDU [11:45:22]CAPDU: 80 13 01 00 [11:45:22]Write to MH i2c: E2 08 00 1F 0B 80 13 01 00 00 00 00 00 A7 [11:45:22]Write i2c OK [11:45:22]MH_I2C_Read... [11:45:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:45:22]Read from MH i2c: E2 [11:45:22]MH_I2C_Read... [11:45:22]Read from MH i2c: E2 0E 00 [11:45:22]MH_I2C_Read... [11:45:22]Read from MH i2c: E2 0E 00 1F 0B 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 38 [11:45:22]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [11:45:22]wFMCommunicate OK [11:45:22]SAM_PROTO_GetShiftState done [11:45:22]FM_GetShiftState done [11:45:22]req_shift_opened done [11:45:22]requested_item shift.open_date is exist - process it [11:45:22]req_shift_open_date [11:45:22]req_shift_open_date done [11:45:22]produce_requested_data done [11:45:22]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22457,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [11:45:22]process_action_free close_receipt [11:45:22]json_value_free [11:45:22]json_value_free done [11:45:22]process_json_proto returns [11:45:22]Send response to host [11:45:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22457,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [11:45:22]free response buf [11:45:22]execute_script done [11:45:22]execute_script returns [11:45:22]free content buf [11:45:22]Sock 9.Close socket [11:45:22]Sock 9.Thread stoped [11:45:26]OFD Sender: No OFD packet to send [11:45:31]OFD Sender: No OFD packet to send [11:45:36]OFD Sender: No OFD packet to send [11:45:41]OFD Sender: No OFD packet to send [11:45:46]OFD Sender: No OFD packet to send [11:45:51]OFD Sender: No OFD packet to send [11:45:56]OFD Sender: No OFD packet to send [11:46:01]OFD Sender: No OFD packet to send [11:46:06]OFD Sender: No OFD packet to send [11:46:11]OFD Sender: No OFD packet to send [11:46:16]OFD Sender: No OFD packet to send [11:46:21]OFD Sender: No OFD packet to send [11:46:26]OFD Sender: No OFD packet to send [11:46:31]OFD Sender: No OFD packet to send [11:46:36]OFD Sender: No OFD packet to send [11:46:41]OFD Sender: No OFD packet to send [11:46:46]OFD Sender: No OFD packet to send [11:46:51]OFD Sender: No OFD packet to send [11:46:56]OFD Sender: No OFD packet to send [11:47:01]OFD Sender: No OFD packet to send [11:47:06]OFD Sender: No OFD packet to send [11:47:11]OFD Sender: No OFD packet to send [11:47:16]OFD Sender: No OFD packet to send [11:47:21]OFD Sender: No OFD packet to send [11:47:26]OFD Sender: No OFD packet to send [11:47:31]OFD Sender: No OFD packet to send [11:47:36]OFD Sender: No OFD packet to send [11:47:41]OFD Sender: No OFD packet to send [11:47:46]OFD Sender: No OFD packet to send [11:47:51]OFD Sender: No OFD packet to send [11:47:56]OFD Sender: No OFD packet to send [11:48:01]OFD Sender: No OFD packet to send [11:48:06]OFD Sender: No OFD packet to send [11:48:12]OFD Sender: No OFD packet to send [11:48:17]OFD Sender: No OFD packet to send [11:48:22]OFD Sender: No OFD packet to send [11:48:27]OFD Sender: No OFD packet to send [11:48:32]OFD Sender: No OFD packet to send [11:48:37]OFD Sender: No OFD packet to send [11:48:42]OFD Sender: No OFD packet to send [11:48:47]OFD Sender: No OFD packet to send [11:48:52]OFD Sender: No OFD packet to send [11:48:57]OFD Sender: No OFD packet to send [11:49:02]OFD Sender: No OFD packet to send [11:49:07]OFD Sender: No OFD packet to send [11:49:12]OFD Sender: No OFD packet to send [11:49:17]OFD Sender: No OFD packet to send [11:49:22]OFD Sender: No OFD packet to send [11:49:27]OFD Sender: No OFD packet to send [11:49:32]OFD Sender: No OFD packet to send [11:49:37]OFD Sender: No OFD packet to send [11:49:42]OFD Sender: No OFD packet to send [11:49:47]OFD Sender: No OFD packet to send [11:49:52]OFD Sender: No OFD packet to send [11:49:57]OFD Sender: No OFD packet to send [11:50:02]OFD Sender: No OFD packet to send [11:50:07]OFD Sender: No OFD packet to send [11:50:12]OFD Sender: No OFD packet to send [11:50:17]OFD Sender: No OFD packet to send [11:50:22]OFD Sender: No OFD packet to send [11:50:27]OFD Sender: No OFD packet to send [11:50:29]accept exits with 8 [11:50:29]New connection [11:50:29]New thread 3067260260 created [11:50:29]Thread 3067116900 joined [11:50:29]Waiting for new connection... [11:50:29] Sock 8.Parse request [11:50:29]Sock 8.Check first char [11:50:29]Sock 8.First char is OK [11:50:29]request: POST /json_proto HTTP/1.0 [11:50:29]Method: POST [11:50:29]URL: /json_proto [11:50:29]Method is POST - this is cgi request [11:50:29]url: /json_proto [11:50:29]query_string will be loaded in cgi processing [11:50:29]execute_cgi json_proto POST (null) [11:50:29]execute_cgi path=json_proto method=POST [11:50:29]POST find Content-Length [11:50:29]Host: 172.17.43.4:8080 [11:50:29]Content-Length: 698 [11:50:29]Content-Type: application/json [11:50:29] [11:50:29]POST finish read [11:50:29]Found Content-Length = 698 [11:50:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51666", "tax_sys" : 0, "items" : [ { "code": "4700003010087", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Lets Go \u0437\u0435\u043B \u0447\u0430\u0439 \u044F\u0431\u043B-\u0433\u0440 \u041F\u042D\u0422 1,2\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:50:29]execute_script... [11:50:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51666", "tax_sys" : 0, "items" : [ { "code": "4700003010087", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Lets Go \u0437\u0435\u043B \u0447\u0430\u0439 \u044F\u0431\u043B-\u0433\u0440 \u041F\u042D\u0422 1,2\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:50:29]POST & json_proto [11:50:29]process_json_proto [11:50:29]json parsed OK: [11:50:29]protocol is kg_v1.0 [11:50:29]action value=close_receipt [11:50:29]process_action close_receipt [11:50:29]cmd_close_receipt [11:50:29]MH_GetDate [11:50:29]Write to MH i2c: F0 00 00 20 0B 1A [11:50:29]Write i2c OK [11:50:29]MH_I2C_Read... [11:50:29]Read from MH i2c: F0 [11:50:29]MH_I2C_Read... [11:50:29]Read from MH i2c: F0 09 00 [11:50:29]MH_I2C_Read... [11:50:29]Read from MH i2c: F0 09 00 20 0B 00 08 F9 F3 66 02 BF CF 66 73 [11:50:29]GetLastDocTimeStamp 1727264721 [11:50:29]current date 1727265032 [11:50:29]FM_GetShiftState [11:50:29]SAM_PROTO_GetShiftState [11:50:29]wFMCommunicate request_size=4 [11:50:29]MH_SAM_APDU [11:50:29]CAPDU: 80 13 01 00 [11:50:29]Write to MH i2c: E2 08 00 21 0B 80 13 01 00 00 00 00 00 A9 [11:50:29]Write i2c OK [11:50:29]MH_I2C_Read... [11:50:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:50:29]Read from MH i2c: E2 [11:50:29]MH_I2C_Read... [11:50:29]Read from MH i2c: E2 0E 00 [11:50:29]MH_I2C_Read... [11:50:29]Read from MH i2c: E2 0E 00 21 0B 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 3A [11:50:29]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [11:50:29]wFMCommunicate OK [11:50:29]SAM_PROTO_GetShiftState done [11:50:29]FM_GetShiftState done [11:50:29]opened in 1727224020 [11:50:29]opened+sec_in_day 1727310420 [11:50:29]quantity*price = 9500 [11:50:29]sum+1 = 9501 [11:50:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 31 25.09.2024 11:50 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22458 ФПД: 256951694128681 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T115032&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22458&fm=256951694128681&tin=02508201610067®Number=0000000000146243&sum=9500 0 [11:50:30]StoreToDocumentArchive [11:50:30]shift 231 fd 22458 [11:50:30]save to /storage/0231/doc_00022458 [11:50:30]save last doc name /storage/0231/doc_00022458 to /storage/kkm_last_doc_name [11:50:30]save OK [11:50:30]Clear old archive folders... [11:50:30]ProcessDocumentItem done err = 0, tmpTLVsize=302 [11:50:30]tlvbuf is 00399290 [11:50:30]SAM_PROTO_ClearQueue [11:50:30]wFMCommunicate request_size=4 [11:50:30]MH_SAM_APDU [11:50:30]CAPDU: 80 09 00 00 [11:50:30]Write to MH i2c: E2 08 00 2E 0B 80 09 00 00 00 00 00 00 AB [11:50:30]Write i2c OK [11:50:30]MH_I2C_Read... [11:50:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:50:30]Read from MH i2c: E2 [11:50:30]MH_I2C_Read... [11:50:30]Read from MH i2c: E2 03 00 [11:50:30]MH_I2C_Read... [11:50:30]Read from MH i2c: E2 03 00 2E 0B 00 90 00 AD [11:50:30]RAPDU: 90 00 [11:50:30]wFMCommunicate OK [11:50:30]SAM_PROTO_ClearQueue done [11:50:30]KKMCreateOFDPacket [11:50:30]OFDProtocolAddRootSTLVToBuf [11:50:30]FM_MakeSignedData [11:50:30]FM_MakeSignedData [11:50:30]SAM_PROTO_SignData [11:50:30]wFMCommunicate request_size=4 [11:50:30]MH_SAM_APDU [11:50:30]CAPDU: 80 0D 01 02 [11:50:30]Write to MH i2c: E2 08 00 2F 0B 80 0D 01 02 00 00 00 00 B3 [11:50:30]Write i2c OK [11:50:30]MH_I2C_Read... [11:50:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:50:30]Read from MH i2c: E2 [11:50:30]MH_I2C_Read... [11:50:30]Read from MH i2c: E2 03 00 [11:50:30]MH_I2C_Read... [11:50:30]Read from MH i2c: E2 03 00 2F 0B 00 90 00 AE [11:50:30]RAPDU: 90 00 [11:50:30]wFMCommunicate OK [11:50:30]wFMCommunicate request_size=255 [11:50:30]MH_SAM_APDU [11:50:30]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 08 F9 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 [11:50:30]Write to MH i2c: E2 02 01 30 0B 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 08 F9 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 00 00 63 [11:50:30]Write i2c OK [11:50:30]MH_I2C_Read... [11:50:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:50:31]Read from MH i2c: E2 [11:50:31]MH_I2C_Read... [11:50:31]Read from MH i2c: E2 03 00 [11:50:31]MH_I2C_Read... [11:50:31]Read from MH i2c: E2 03 00 30 0B 00 90 00 AF [11:50:31]RAPDU: 90 00 [11:50:31]wFMCommunicate OK [11:50:31]wFMCommunicate request_size=61 [11:50:31]MH_SAM_APDU [11:50:31]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 BA 57 00 00 35 04 06 00 E9 B2 3A 73 F6 29 [11:50:31]Write to MH i2c: E2 40 00 31 0B 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 BA 57 00 00 35 04 06 00 E9 B2 3A 73 F6 29 00 00 65 [11:50:31]Write i2c OK [11:50:31]MH_I2C_Read... [11:50:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:50:31]Read from MH i2c: E2 [11:50:31]MH_I2C_Read... [11:50:31]Read from MH i2c: E2 03 00 [11:50:31]MH_I2C_Read... [11:50:31]Read from MH i2c: E2 03 00 31 0B 00 90 00 B0 [11:50:31]RAPDU: 90 00 [11:50:31]wFMCommunicate OK [11:50:31]wFMCommunicate request_size=4 [11:50:31]MH_SAM_APDU [11:50:31]CAPDU: 80 0D 03 02 [11:50:31]Write to MH i2c: E2 08 00 32 0B 80 0D 03 02 00 00 00 00 B8 [11:50:31]Write i2c OK [11:50:31]MH_I2C_Read... [11:50:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:50:31]Read from MH i2c: E2 [11:50:31]MH_I2C_Read... [11:50:31]Read from MH i2c: E2 0B 00 [11:50:31]MH_I2C_Read... [11:50:31]Read from MH i2c: E2 0B 00 32 0B 00 5C CE 3A 1B 4F 5B 66 C2 90 00 0A [11:50:31]RAPDU: 5C CE 3A 1B 4F 5B 66 C2 90 00 [11:50:31]wFMCommunicate OK [11:50:31]SAM_PROTO_SignData done [11:50:31]FM_MakeSignedData done [11:50:31]CreateOFDProtocolMessage [11:50:31]wFMCommunicate request_size=4 [11:50:31]MH_SAM_APDU [11:50:31]CAPDU: 80 11 00 00 [11:50:31]Write to MH i2c: E2 08 00 33 0B 80 11 00 00 00 00 00 00 B8 [11:50:31]Write i2c OK [11:50:31]MH_I2C_Read... [11:50:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:50:31]Read from MH i2c: E2 [11:50:31]MH_I2C_Read... [11:50:31]Read from MH i2c: E2 17 00 [11:50:31]MH_I2C_Read... [11:50:31]Read from MH i2c: E2 17 00 33 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 12 [11:50:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [11:50:31]wFMCommunicate OK [11:50:31]CreateOFDProtocolMessage done [11:50:31]OFDSenderStorePacket 22458 [11:50:31]StoreOFDPacket docnum=22458 [11:50:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 42 01 00 00 17 B9 3A 01 3B 39 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 08 F9 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 BA 57 00 00 35 04 06 00 E9 B2 3A 73 F6 29 5C CE 3A 1B 4F 5B 66 C2 [11:50:31]CheckFolder [11:50:31]dirname=/storage/ofd_packets [11:50:31]CheckFolder done [11:50:31]ProducePacketName [11:50:31]name=ofd_packets/00022458 [11:50:31]NVStorageSaveData ofd_packets/00022458 [11:50:31]File name is /storage/ofd_packets/00022458 [11:50:31]Write 352 bytes [11:50:31]NVStorageSaveData done [11:50:31]OFDSenderStorePacket done [11:50:31]KKMCreateOFDPacket done [11:50:31]NVStorageSaveData kkm_last_timestamp [11:50:31]File name is /storage/kkm_last_timestamp [11:50:31]Write 4 bytes [11:50:31]NVStorageSaveData done [11:50:31]ExternCall_PrintAddStr [11:50:31]wPrintStart [11:50:31]Write to MH i2c: 01 00 00 34 0B 3F [11:50:31]Write i2c OK [11:50:31]MH_I2C_Read... [11:50:31]Read from MH i2c: 01 [11:50:31]MH_I2C_Read... [11:50:31]Read from MH i2c: 01 07 00 [11:50:31]MH_I2C_Read... [11:50:31]Read from MH i2c: 01 07 00 34 0B 00 00 00 00 00 FF 0F 54 [11:50:31]RasterBufferAndPrint [11:50:31]line Счет N : (3)51666 [11:50:31]line ИНН: 02508201610067 [11:50:31]line Контрольно-Кассовый Чек [11:50:31]line ПРОДАЖА [11:50:31]line Товар: 4700003010087 [11:50:31]line Чай хол Lets Go зел чай ябл-гр ПЭТ 1,2л [11:50:31]line 1.000 * 95.00 [11:50:31]line = 95.00 [11:50:31]line НДС 12% НСП 1% [11:50:31]line > о реализуемом товаре [11:50:31]line ИТОГО: 95.00 [11:50:31]line НСП 1% : 0.84 [11:50:31]line НДС 12% : 10.09 [11:50:31]line Наличными: 95.00 [11:50:31]line Безнал.: 0.00 [11:50:31]line Место: АЗС № 88 "Партнер Нефть" [11:50:31]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [11:50:31]line СНО: Общий режим [11:50:31]line Чек 31 25.09.2024 11:50 [11:50:31]line Смена: 231 ФФД: 1.0 [11:50:31]line ЗНМ: 0300000061 [11:50:31]line РНМ: 0000000000146243 [11:50:31]line Версия ККМ: v1.0 [11:50:31]line ФМ: 0000000000959358 [11:50:31]line ФД: 22458 [11:50:31]line ФПД: 256951694128681 [11:50:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T115032&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22458&fm=256951694128681&tin=02508201610067®Number=0000000000146243&sum=9500 [11:50:31]line 0 [11:50:31]OFD Sender: Processing packet 22458 [packets to send 23, broken 22] [11:50:31]ProducePacketName [11:50:31]name=ofd_packets/00022458 [11:50:31]OFD Sender: To server: pG, [11:50:31]CommunicateWithHost lk.salyk.kg:30040 [11:50:31]ConnectInit lk.salyk.kg [11:50:31]written 0, free lines is 4095 [11:50:32]Connected sock=10 [11:50:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 42 01 00 00 17 B9 3A 01 3B 39 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 38 37 06 04 3C 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 73 20 47 6F 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D1 8F D0 B1 D0 BB 2D D0 B3 D1 80 20 D0 9F D0 AD D0 A2 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 08 F9 F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 BA 57 00 00 35 04 06 00 E9 B2 3A 73 F6 29 5C CE 3A 1B 4F 5B 66 C2 [11:50:32]Write to MH i2c: 01 00 00 5D 0B 68 [11:50:32]Write i2c OK [11:50:32]MH_I2C_Read... [11:50:32]Read from MH i2c: 01 [11:50:32]MH_I2C_Read... [11:50:32]Read from MH i2c: 01 07 00 [11:50:32]MH_I2C_Read... [11:50:32]Read from MH i2c: 01 07 00 5D 0B 00 00 00 00 00 17 0D 93 [11:50:32]RasterBufferAndPrint [11:50:32]line [11:50:32]line [11:50:32]line [11:50:32]line [11:50:32]line [11:50:32]written 0, free lines is 3357 [11:50:32]MH_Cut [11:50:32]Write to MH i2c: D1 01 00 64 0B 01 41 [11:50:32]Write i2c OK [11:50:32]MH_I2C_Read... [11:50:32]Read from MH i2c: D1 [11:50:32]MH_I2C_Read... [11:50:32]Read from MH i2c: D1 01 00 [11:50:32]MH_I2C_Read... [11:50:32]Read from MH i2c: D1 01 00 64 0B 00 40 [11:50:32]Write to MH i2c: 01 00 00 65 0B 70 [11:50:32]Write i2c OK [11:50:32]MH_I2C_Read... [11:50:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 3A 4F 47 00 59 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 30 39 35 39 33 35 38 10 04 04 00 BA 57 00 00 F4 03 04 00 2B A3 F3 66 B6 04 01 00 00 71 71 93 E0 1E 7B FA EE [11:50:32]CommunicateWithHost err = 0 [11:50:32]CheckOFDResponse [11:50:32]1017 (14) - 77093643461234 [11:50:32]1041 (16) - 0000000000959358 [11:50:32]1040 (4) - 22458 [11:50:32]1012 (4) - 25.09.2024 05:44 [11:50:32]1206 (1) - 0 [11:50:32]OFD Sender: Remove packet 22458 [11:50:32]ProducePacketName [11:50:32]name=ofd_packets/00022458 [11:50:32]NVStorageDeleteData [11:50:32]*** Cut start [11:50:32]*** Partial cut [11:50:32]*** CUTSNS_PIN = 1 [11:50:32]*** CUTSNS_PIN = 0 [11:50:32]OFD Sender: No OFD packet to send [11:50:33]*** Brake cut motor [11:50:33]Read from MH i2c: 01 [11:50:33]MH_I2C_Read... [11:50:33]*** Stop cut motor [11:50:33]*** Cut end [11:50:33]Read from MH i2c: 01 07 00 [11:50:33]MH_I2C_Read... [11:50:33]Read from MH i2c: 01 07 00 65 0B 00 00 00 00 00 FF 0F 85 [11:50:33]process_action close_receipt done [11:50:33]requested_data is exist [11:50:33]produce_requested_data [11:50:33]requested_item fm.sn is exist - process it [11:50:33]wFMCommunicate request_size=4 [11:50:33]MH_SAM_APDU [11:50:33]CAPDU: 80 11 00 00 [11:50:33]Write to MH i2c: E2 08 00 66 0B 80 11 00 00 00 00 00 00 EB [11:50:33]Write i2c OK [11:50:33]MH_I2C_Read... [11:50:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:50:33]Read from MH i2c: E2 [11:50:33]MH_I2C_Read... [11:50:33]Read from MH i2c: E2 17 00 [11:50:33]MH_I2C_Read... [11:50:33]Read from MH i2c: E2 17 00 66 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 45 [11:50:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [11:50:33]wFMCommunicate OK [11:50:33]requested_item fd.num is exist - process it [11:50:33]SAM_PROTO_GetFieldsCounters [11:50:33]wFMCommunicate request_size=4 [11:50:33]MH_SAM_APDU [11:50:33]CAPDU: 80 13 00 00 [11:50:33]Write to MH i2c: E2 08 00 67 0B 80 13 00 00 00 00 00 00 EE [11:50:33]Write i2c OK [11:50:33]MH_I2C_Read... [11:50:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:50:33]Read from MH i2c: E2 [11:50:33]MH_I2C_Read... [11:50:33]Read from MH i2c: E2 62 00 [11:50:33]MH_I2C_Read... [11:50:33]Read from MH i2c: E2 62 00 67 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 BA 57 00 00 0E 04 04 00 E7 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 66 [11:50:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 BA 57 00 00 0E 04 04 00 E7 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 [11:50:33]wFMCommunicate OK [11:50:33]SAM_PROTO_GetFieldsCounters done [11:50:33]requested_item shift.num is exist - process it [11:50:33]requested_item shift.opened is exist - process it [11:50:33]req_shift_opened [11:50:33]FM_GetShiftState [11:50:33]SAM_PROTO_GetShiftState [11:50:33]wFMCommunicate request_size=4 [11:50:33]MH_SAM_APDU [11:50:33]CAPDU: 80 13 01 00 [11:50:33]Write to MH i2c: E2 08 00 68 0B 80 13 01 00 00 00 00 00 F0 [11:50:33]Write i2c OK [11:50:33]MH_I2C_Read... [11:50:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:50:33]Read from MH i2c: E2 [11:50:33]MH_I2C_Read... [11:50:33]Read from MH i2c: E2 0E 00 [11:50:33]MH_I2C_Read... [11:50:33]Read from MH i2c: E2 0E 00 68 0B 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 81 [11:50:33]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [11:50:33]wFMCommunicate OK [11:50:33]SAM_PROTO_GetShiftState done [11:50:33]FM_GetShiftState done [11:50:33]req_shift_opened done [11:50:33]requested_item shift.open_date is exist - process it [11:50:33]req_shift_open_date [11:50:33]req_shift_open_date done [11:50:33]produce_requested_data done [11:50:33]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22458,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [11:50:33]process_action_free close_receipt [11:50:33]json_value_free [11:50:33]json_value_free done [11:50:33]process_json_proto returns [11:50:33]Send response to host [11:50:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22458,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [11:50:33]free response buf [11:50:33]execute_script done [11:50:33]execute_script returns [11:50:33]free content buf [11:50:33]Sock 8.Close socket [11:50:33]Sock 8.Thread stoped [11:50:37]OFD Sender: No OFD packet to send [11:50:42]OFD Sender: No OFD packet to send [11:50:47]OFD Sender: No OFD packet to send [11:50:52]OFD Sender: No OFD packet to send [11:50:57]OFD Sender: No OFD packet to send [11:51:02]OFD Sender: No OFD packet to send [11:51:07]OFD Sender: No OFD packet to send [11:51:12]OFD Sender: No OFD packet to send [11:51:17]OFD Sender: No OFD packet to send [11:51:22]OFD Sender: No OFD packet to send [11:51:27]OFD Sender: No OFD packet to send [11:51:32]OFD Sender: No OFD packet to send [11:51:37]OFD Sender: No OFD packet to send [11:51:42]OFD Sender: No OFD packet to send [11:51:47]OFD Sender: No OFD packet to send [11:51:52]OFD Sender: No OFD packet to send [11:51:57]OFD Sender: No OFD packet to send [11:52:02]OFD Sender: No OFD packet to send [11:52:07]OFD Sender: No OFD packet to send [11:52:12]OFD Sender: No OFD packet to send [11:52:17]OFD Sender: No OFD packet to send [11:52:23]OFD Sender: No OFD packet to send [11:52:28]OFD Sender: No OFD packet to send [11:52:33]OFD Sender: No OFD packet to send [11:52:38]OFD Sender: No OFD packet to send [11:52:43]OFD Sender: No OFD packet to send [11:52:48]OFD Sender: No OFD packet to send [11:52:53]OFD Sender: No OFD packet to send [11:52:58]OFD Sender: No OFD packet to send [11:53:03]OFD Sender: No OFD packet to send [11:53:08]OFD Sender: No OFD packet to send [11:53:13]OFD Sender: No OFD packet to send [11:53:18]OFD Sender: No OFD packet to send [11:53:23]OFD Sender: No OFD packet to send [11:53:28]OFD Sender: No OFD packet to send [11:53:33]OFD Sender: No OFD packet to send [11:53:38]OFD Sender: No OFD packet to send [11:53:43]OFD Sender: No OFD packet to send [11:53:48]OFD Sender: No OFD packet to send [11:53:53]OFD Sender: No OFD packet to send [11:53:58]OFD Sender: No OFD packet to send [11:54:03]OFD Sender: No OFD packet to send [11:54:08]OFD Sender: No OFD packet to send [11:54:13]OFD Sender: No OFD packet to send [11:54:18]OFD Sender: No OFD packet to send [11:54:23]OFD Sender: No OFD packet to send [11:54:28]OFD Sender: No OFD packet to send [11:54:33]OFD Sender: No OFD packet to send [11:54:38]OFD Sender: No OFD packet to send [11:54:43]OFD Sender: No OFD packet to send [11:54:48]OFD Sender: No OFD packet to send [11:54:53]OFD Sender: No OFD packet to send [11:54:58]OFD Sender: No OFD packet to send [11:55:03]OFD Sender: No OFD packet to send [11:55:08]OFD Sender: No OFD packet to send [11:55:13]OFD Sender: No OFD packet to send [11:55:18]OFD Sender: No OFD packet to send [11:55:23]OFD Sender: No OFD packet to send [11:55:28]OFD Sender: No OFD packet to send [11:55:33]OFD Sender: No OFD packet to send [11:55:38]OFD Sender: No OFD packet to send [11:55:43]OFD Sender: No OFD packet to send [11:55:48]OFD Sender: No OFD packet to send [11:55:53]OFD Sender: No OFD packet to send [11:55:58]OFD Sender: No OFD packet to send [11:56:03]OFD Sender: No OFD packet to send [11:56:08]OFD Sender: No OFD packet to send [11:56:13]OFD Sender: No OFD packet to send [11:56:18]OFD Sender: No OFD packet to send [11:56:23]OFD Sender: No OFD packet to send [11:56:28]OFD Sender: No OFD packet to send [11:56:33]OFD Sender: No OFD packet to send [11:56:38]OFD Sender: No OFD packet to send [11:56:43]OFD Sender: No OFD packet to send [11:56:48]OFD Sender: No OFD packet to send [11:56:53]OFD Sender: No OFD packet to send [11:56:58]OFD Sender: No OFD packet to send [11:57:03]OFD Sender: No OFD packet to send [11:57:08]OFD Sender: No OFD packet to send [11:57:13]OFD Sender: No OFD packet to send [11:57:18]OFD Sender: No OFD packet to send [11:57:23]OFD Sender: No OFD packet to send [11:57:28]OFD Sender: No OFD packet to send [11:57:33]OFD Sender: No OFD packet to send [11:57:38]OFD Sender: No OFD packet to send [11:57:43]OFD Sender: No OFD packet to send [11:57:48]OFD Sender: No OFD packet to send [11:57:53]OFD Sender: No OFD packet to send [11:57:58]OFD Sender: No OFD packet to send [11:58:03]OFD Sender: No OFD packet to send [11:58:08]OFD Sender: No OFD packet to send [11:58:13]OFD Sender: No OFD packet to send [11:58:18]OFD Sender: No OFD packet to send [11:58:23]OFD Sender: No OFD packet to send [11:58:28]OFD Sender: No OFD packet to send [11:58:33]OFD Sender: No OFD packet to send [11:58:38]OFD Sender: No OFD packet to send [11:58:43]OFD Sender: No OFD packet to send [11:58:48]OFD Sender: No OFD packet to send [11:58:53]OFD Sender: No OFD packet to send [11:58:58]OFD Sender: No OFD packet to send [11:59:03]OFD Sender: No OFD packet to send [11:59:08]OFD Sender: No OFD packet to send [11:59:13]OFD Sender: No OFD packet to send [11:59:18]OFD Sender: No OFD packet to send [11:59:23]OFD Sender: No OFD packet to send [11:59:28]OFD Sender: No OFD packet to send [11:59:33]OFD Sender: No OFD packet to send [11:59:38]OFD Sender: No OFD packet to send [11:59:43]OFD Sender: No OFD packet to send [11:59:48]OFD Sender: No OFD packet to send [11:59:53]OFD Sender: No OFD packet to send [11:59:58]OFD Sender: No OFD packet to send [12:00:03]OFD Sender: No OFD packet to send [12:00:08]OFD Sender: No OFD packet to send [12:00:13]OFD Sender: No OFD packet to send [12:00:18]OFD Sender: No OFD packet to send [12:00:23]OFD Sender: No OFD packet to send [12:00:28]OFD Sender: No OFD packet to send [12:00:33]OFD Sender: No OFD packet to send [12:00:38]OFD Sender: No OFD packet to send [12:00:43]OFD Sender: No OFD packet to send [12:00:48]OFD Sender: No OFD packet to send [12:00:53]OFD Sender: No OFD packet to send [12:00:58]OFD Sender: No OFD packet to send [12:01:03]OFD Sender: No OFD packet to send [12:01:08]OFD Sender: No OFD packet to send [12:01:13]OFD Sender: No OFD packet to send [12:01:18]OFD Sender: No OFD packet to send [12:01:23]OFD Sender: No OFD packet to send [12:01:28]OFD Sender: No OFD packet to send [12:01:33]OFD Sender: No OFD packet to send [12:01:38]OFD Sender: No OFD packet to send [12:01:43]OFD Sender: No OFD packet to send [12:01:48]OFD Sender: No OFD packet to send [12:01:53]OFD Sender: No OFD packet to send [12:01:58]OFD Sender: No OFD packet to send [12:02:03]OFD Sender: No OFD packet to send [12:02:08]OFD Sender: No OFD packet to send [12:02:13]OFD Sender: No OFD packet to send [12:02:18]OFD Sender: No OFD packet to send [12:02:23]OFD Sender: No OFD packet to send [12:02:28]OFD Sender: No OFD packet to send [12:02:33]OFD Sender: No OFD packet to send [12:02:38]OFD Sender: No OFD packet to send [12:02:43]OFD Sender: No OFD packet to send [12:02:48]OFD Sender: No OFD packet to send [12:02:53]OFD Sender: No OFD packet to send [12:02:58]OFD Sender: No OFD packet to send [12:03:03]OFD Sender: No OFD packet to send [12:03:08]OFD Sender: No OFD packet to send [12:03:13]OFD Sender: No OFD packet to send [12:03:18]OFD Sender: No OFD packet to send [12:03:23]OFD Sender: No OFD packet to send [12:03:28]OFD Sender: No OFD packet to send [12:03:33]OFD Sender: No OFD packet to send [12:03:38]OFD Sender: No OFD packet to send [12:03:43]OFD Sender: No OFD packet to send [12:03:48]OFD Sender: No OFD packet to send [12:03:53]OFD Sender: No OFD packet to send [12:03:58]OFD Sender: No OFD packet to send [12:04:03]OFD Sender: No OFD packet to send [12:04:08]OFD Sender: No OFD packet to send [12:04:13]OFD Sender: No OFD packet to send [12:04:18]OFD Sender: No OFD packet to send [12:04:23]OFD Sender: No OFD packet to send [12:04:28]OFD Sender: No OFD packet to send [12:04:33]OFD Sender: No OFD packet to send [12:04:38]OFD Sender: No OFD packet to send [12:04:43]OFD Sender: No OFD packet to send [12:04:48]OFD Sender: No OFD packet to send [12:04:53]OFD Sender: No OFD packet to send [12:04:58]OFD Sender: No OFD packet to send [12:05:03]OFD Sender: No OFD packet to send [12:05:08]OFD Sender: No OFD packet to send [12:05:13]OFD Sender: No OFD packet to send [12:05:18]OFD Sender: No OFD packet to send [12:05:23]OFD Sender: No OFD packet to send [12:05:28]OFD Sender: No OFD packet to send [12:05:33]OFD Sender: No OFD packet to send [12:05:38]OFD Sender: No OFD packet to send [12:05:43]OFD Sender: No OFD packet to send [12:05:48]OFD Sender: No OFD packet to send [12:05:53]OFD Sender: No OFD packet to send [12:05:58]OFD Sender: No OFD packet to send [12:06:03]OFD Sender: No OFD packet to send [12:06:08]OFD Sender: No OFD packet to send [12:06:13]OFD Sender: No OFD packet to send [12:06:18]OFD Sender: No OFD packet to send [12:06:23]OFD Sender: No OFD packet to send [12:06:28]OFD Sender: No OFD packet to send [12:06:33]OFD Sender: No OFD packet to send [12:06:38]OFD Sender: No OFD packet to send [12:06:43]OFD Sender: No OFD packet to send [12:06:48]OFD Sender: No OFD packet to send [12:06:53]OFD Sender: No OFD packet to send [12:06:58]OFD Sender: No OFD packet to send [12:07:03]OFD Sender: No OFD packet to send [12:07:08]OFD Sender: No OFD packet to send [12:07:13]OFD Sender: No OFD packet to send [12:07:18]OFD Sender: No OFD packet to send [12:07:23]OFD Sender: No OFD packet to send [12:07:28]OFD Sender: No OFD packet to send [12:07:33]OFD Sender: No OFD packet to send [12:07:38]OFD Sender: No OFD packet to send [12:07:43]OFD Sender: No OFD packet to send [12:07:48]OFD Sender: No OFD packet to send [12:07:53]OFD Sender: No OFD packet to send [12:07:55]accept exits with 9 [12:07:55]New connection [12:07:55]New thread 3067116900 created [12:07:55]Thread 3067260260 joined [12:07:55]Waiting for new connection... [12:07:55] Sock 9.Parse request [12:07:55]Sock 9.Check first char [12:07:55]Sock 9.First char is OK [12:07:55]request: POST /json_proto HTTP/1.0 [12:07:55]Method: POST [12:07:55]URL: /json_proto [12:07:55]Method is POST - this is cgi request [12:07:55]url: /json_proto [12:07:55]query_string will be loaded in cgi processing [12:07:55]execute_cgi json_proto POST (null) [12:07:55]execute_cgi path=json_proto method=POST [12:07:55]POST find Content-Length [12:07:55]Host: 172.17.43.4:8080 [12:07:55]Content-Length: 1124 [12:07:55]Content-Type: application/json [12:07:55] [12:07:55]POST finish read [12:07:55]Found Content-Length = 1124 [12:07:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51667", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46231512", "name": "Mentos \u041F\u0424 \u0412\u0438\u043D\u043E\u0433\u0440\u0430\u0434 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226617", "name": "Mentos \u041F\u0412 \u041D\u0435\u0436\u043D\u0430\u044F \u041C\u044F\u0442\u0430 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:07:55]execute_script... [12:07:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51667", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46231512", "name": "Mentos \u041F\u0424 \u0412\u0438\u043D\u043E\u0433\u0440\u0430\u0434 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226617", "name": "Mentos \u041F\u0412 \u041D\u0435\u0436\u043D\u0430\u044F \u041C\u044F\u0442\u0430 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:07:55]POST & json_proto [12:07:55]process_json_proto [12:07:55]json parsed OK: [12:07:55]protocol is kg_v1.0 [12:07:55]action value=close_receipt [12:07:55]process_action close_receipt [12:07:55]cmd_close_receipt [12:07:55]MH_GetDate [12:07:55]Write to MH i2c: F0 00 00 69 0B 63 [12:07:55]Write i2c OK [12:07:55]MH_I2C_Read... [12:07:55]Read from MH i2c: F0 [12:07:55]MH_I2C_Read... [12:07:55]Read from MH i2c: F0 09 00 [12:07:55]MH_I2C_Read... [12:07:55]Read from MH i2c: F0 09 00 69 0B 00 1E FD F3 66 02 BF CF 66 D6 [12:07:55]GetLastDocTimeStamp 1727265032 [12:07:55]current date 1727266078 [12:07:55]FM_GetShiftState [12:07:55]SAM_PROTO_GetShiftState [12:07:55]wFMCommunicate request_size=4 [12:07:55]MH_SAM_APDU [12:07:55]CAPDU: 80 13 01 00 [12:07:55]Write to MH i2c: E2 08 00 6A 0B 80 13 01 00 00 00 00 00 F2 [12:07:55]Write i2c OK [12:07:55]MH_I2C_Read... [12:07:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:07:55]Read from MH i2c: E2 [12:07:55]MH_I2C_Read... [12:07:55]Read from MH i2c: E2 0E 00 [12:07:55]MH_I2C_Read... [12:07:55]Read from MH i2c: E2 0E 00 6A 0B 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 83 [12:07:55]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [12:07:55]wFMCommunicate OK [12:07:55]SAM_PROTO_GetShiftState done [12:07:55]FM_GetShiftState done [12:07:55]opened in 1727224020 [12:07:55]opened+sec_in_day 1727310420 [12:07:55]quantity*price = 11000 [12:07:55]sum+1 = 11001 [12:07:55]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46231512 Mentos ПФ Виноград 6*100*2г 1.000 * 10.00 = 10.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46226617 Mentos ПВ Нежная Мята 6*100*2г 1.000 * 10.00 = 10.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 32 25.09.2024 12:07 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22459 ФПД: 272351745067202 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T120758&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22459&fm=272351745067202&tin=02508201610067®Number=0000000000146243&sum=13000 0 [12:07:56]StoreToDocumentArchive [12:07:56]shift 231 fd 22459 [12:07:56]save to /storage/0231/doc_00022459 [12:07:56]save last doc name /storage/0231/doc_00022459 to /storage/kkm_last_doc_name [12:07:56]save OK [12:07:56]Clear old archive folders... [12:07:56]ProcessDocumentItem done err = 0, tmpTLVsize=481 [12:07:56]tlvbuf is 00399CE0 [12:07:56]SAM_PROTO_ClearQueue [12:07:56]wFMCommunicate request_size=4 [12:07:56]MH_SAM_APDU [12:07:56]CAPDU: 80 09 00 00 [12:07:56]Write to MH i2c: E2 08 00 77 0B 80 09 00 00 00 00 00 00 F4 [12:07:56]Write i2c OK [12:07:56]MH_I2C_Read... [12:07:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:07:56]Read from MH i2c: E2 [12:07:56]MH_I2C_Read... [12:07:56]Read from MH i2c: E2 03 00 [12:07:56]MH_I2C_Read... [12:07:56]Read from MH i2c: E2 03 00 77 0B 00 90 00 F6 [12:07:56]RAPDU: 90 00 [12:07:56]wFMCommunicate OK [12:07:56]SAM_PROTO_ClearQueue done [12:07:56]KKMCreateOFDPacket [12:07:56]OFDProtocolAddRootSTLVToBuf [12:07:56]FM_MakeSignedData [12:07:56]FM_MakeSignedData [12:07:56]SAM_PROTO_SignData [12:07:56]wFMCommunicate request_size=4 [12:07:56]MH_SAM_APDU [12:07:56]CAPDU: 80 0D 01 02 [12:07:56]Write to MH i2c: E2 08 00 78 0B 80 0D 01 02 00 00 00 00 FC [12:07:56]Write i2c OK [12:07:56]MH_I2C_Read... [12:07:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:07:56]Read from MH i2c: E2 [12:07:56]MH_I2C_Read... [12:07:56]Read from MH i2c: E2 03 00 [12:07:56]MH_I2C_Read... [12:07:56]Read from MH i2c: E2 03 00 78 0B 00 90 00 F7 [12:07:56]RAPDU: 90 00 [12:07:56]wFMCommunicate OK [12:07:56]wFMCommunicate request_size=255 [12:07:56]MH_SAM_APDU [12:07:56]CAPDU: 80 0D 02 02 FA 03 00 E1 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD [12:07:56]Write to MH i2c: E2 02 01 79 0B 80 0D 02 02 FA 00 03 00 E1 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD 00 00 48 [12:07:56]Write i2c OK [12:07:56]MH_I2C_Read... [12:07:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:07:56]Read from MH i2c: E2 [12:07:56]MH_I2C_Read... [12:07:56]Read from MH i2c: E2 03 00 [12:07:56]MH_I2C_Read... [12:07:56]Read from MH i2c: E2 03 00 79 0B 00 90 00 F8 [12:07:56]RAPDU: 90 00 [12:07:56]wFMCommunicate OK [12:07:56]wFMCommunicate request_size=240 [12:07:56]MH_SAM_APDU [12:07:56]CAPDU: 80 0D 02 02 EB D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 1E FD F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 BB 57 00 00 35 04 06 00 F7 B3 D5 04 C8 C2 [12:07:56]Write to MH i2c: E2 F3 00 7A 0B 80 0D 02 02 EB 00 D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 1E FD F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 BB 57 00 00 35 04 06 00 F7 B3 D5 04 C8 C2 00 00 F2 [12:07:56]Write i2c OK [12:07:56]MH_I2C_Read... [12:07:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:07:57]Read from MH i2c: E2 [12:07:57]MH_I2C_Read... [12:07:57]Read from MH i2c: E2 03 00 [12:07:57]MH_I2C_Read... [12:07:57]Read from MH i2c: E2 03 00 7A 0B 00 90 00 F9 [12:07:57]RAPDU: 90 00 [12:07:57]wFMCommunicate OK [12:07:57]wFMCommunicate request_size=4 [12:07:57]MH_SAM_APDU [12:07:57]CAPDU: 80 0D 03 02 [12:07:57]Write to MH i2c: E2 08 00 7B 0B 80 0D 03 02 00 00 00 00 01 [12:07:57]Write i2c OK [12:07:57]MH_I2C_Read... [12:07:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:07:57]Read from MH i2c: E2 [12:07:57]MH_I2C_Read... [12:07:57]Read from MH i2c: E2 0B 00 [12:07:57]MH_I2C_Read... [12:07:57]Read from MH i2c: E2 0B 00 7B 0B 00 60 80 AB 8A 2E 42 9F 77 90 00 9D [12:07:57]RAPDU: 60 80 AB 8A 2E 42 9F 77 90 00 [12:07:57]wFMCommunicate OK [12:07:57]SAM_PROTO_SignData done [12:07:57]FM_MakeSignedData done [12:07:57]CreateOFDProtocolMessage [12:07:57]wFMCommunicate request_size=4 [12:07:57]MH_SAM_APDU [12:07:57]CAPDU: 80 11 00 00 [12:07:57]Write to MH i2c: E2 08 00 7C 0B 80 11 00 00 00 00 00 00 01 [12:07:57]Write i2c OK [12:07:57]MH_I2C_Read... [12:07:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:07:57]Read from MH i2c: E2 [12:07:57]MH_I2C_Read... [12:07:57]Read from MH i2c: E2 17 00 [12:07:57]MH_I2C_Read... [12:07:57]Read from MH i2c: E2 17 00 7C 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 5B [12:07:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [12:07:57]wFMCommunicate OK [12:07:57]CreateOFDProtocolMessage done [12:07:57]OFDSenderStorePacket 22459 [12:07:57]StoreOFDPacket docnum=22459 [12:07:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 F5 01 00 00 CA 6B ED 01 FE 10 5A 03 01 00 03 00 E1 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 1E FD F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 BB 57 00 00 35 04 06 00 F7 B3 D5 04 C8 C2 60 80 AB 8A 2E 42 9F 77 [12:07:57]CheckFolder [12:07:57]dirname=/storage/ofd_packets [12:07:57]CheckFolder done [12:07:57]ProducePacketName [12:07:57]name=ofd_packets/00022459 [12:07:57]NVStorageSaveData ofd_packets/00022459 [12:07:57]File name is /storage/ofd_packets/00022459 [12:07:57]Write 531 bytes [12:07:57]NVStorageSaveData done [12:07:57]OFDSenderStorePacket done [12:07:57]KKMCreateOFDPacket done [12:07:57]NVStorageSaveData kkm_last_timestamp [12:07:57]File name is /storage/kkm_last_timestamp [12:07:57]Write 4 bytes [12:07:57]NVStorageSaveData done [12:07:57]ExternCall_PrintAddStr [12:07:57]wPrintStart [12:07:57]Write to MH i2c: 01 00 00 7D 0B 88 [12:07:57]Write i2c OK [12:07:57]MH_I2C_Read... [12:07:57]Read from MH i2c: 01 [12:07:57]MH_I2C_Read... [12:07:57]Read from MH i2c: 01 07 00 [12:07:57]MH_I2C_Read... [12:07:57]Read from MH i2c: 01 07 00 7D 0B 00 00 00 00 00 FF 0F 9D [12:07:57]RasterBufferAndPrint [12:07:57]line Счет N : (3)51667 [12:07:57]line ИНН: 02508201610067 [12:07:57]line Контрольно-Кассовый Чек [12:07:57]line ПРОДАЖА [12:07:57]line Товар: 4870001570071 [12:07:57]line Напиток Pepsi 1л [12:07:57]line 1.000 * 110.00 [12:07:57]line = 110.00 [12:07:57]line НДС 12% НСП 1% [12:07:57]line > о реализуемом товаре [12:07:57]line Товар: 46231512 [12:07:57]line Mentos ПФ Виноград 6*100*2г [12:07:57]line 1.000 * 10.00 [12:07:57]line = 10.00 [12:07:57]line НДС 12% НСП 1% [12:07:57]line > о реализуемом товаре [12:07:57]line Товар: 46226617 [12:07:57]line Mentos ПВ Нежная Мята 6*100*2г [12:07:57]line 1.000 * 10.00 [12:07:57]line = 10.00 [12:07:57]line НДС 12% НСП 1% [12:07:57]line > о реализуемом товаре [12:07:57]line ИТОГО: 130.00 [12:07:57]line НСП 1% : 1.15 [12:07:57]line НДС 12% : 13.80 [12:07:57]line Наличными: 130.00 [12:07:57]line Безнал.: 0.00 [12:07:57]line Место: АЗС № 88 "Партнер Нефть" [12:07:57]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [12:07:57]line СНО: Общий режим [12:07:57]line Чек 32 25.09.2024 12:07 [12:07:57]line Смена: 231 ФФД: 1.0 [12:07:57]line ЗНМ: 0300000061 [12:07:57]line РНМ: 0000000000146243 [12:07:57]line Версия ККМ: v1.0 [12:07:57]line ФМ: 0000000000959358 [12:07:57]line ФД: 22459 [12:07:57]line ФПД: 272351745067202 [12:07:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T120758&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22459&fm=272351745067202&tin=02508201610067®Number=0000000000146243&sum=13000 [12:07:57]OFD Sender: Processing packet 22459 [packets to send 23, broken 22] [12:07:57]ProducePacketName [12:07:57]name=ofd_packets/00022459 [12:07:57]OFD Sender: To server: pG, [12:07:57]CommunicateWithHost lk.salyk.kg:30040 [12:07:57]ConnectInit lk.salyk.kg [12:07:57]line 0 [12:07:57]written 0, free lines is 4095 [12:07:58]Connected sock=11 [12:07:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 F5 01 00 00 CA 6B ED 01 FE 10 5A 03 01 00 03 00 E1 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 1E FD F3 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 BB 57 00 00 35 04 06 00 F7 B3 D5 04 C8 C2 60 80 AB 8A 2E 42 9F 77 [12:07:58]Write to MH i2c: 01 00 00 B2 0B BD [12:07:58]Write i2c OK [12:07:58]MH_I2C_Read... [12:07:58]Read from MH i2c: 01 [12:07:58]MH_I2C_Read... [12:07:58]Read from MH i2c: 01 07 00 [12:07:58]MH_I2C_Read... [12:07:58]Read from MH i2c: 01 07 00 B2 0B 00 00 00 00 00 6B 0C 3B [12:07:58]RasterBufferAndPrint [12:07:58]line [12:07:58]line [12:07:58]line [12:07:58]line [12:07:58]line [12:07:58]written 0, free lines is 3185 [12:07:58]MH_Cut [12:07:58]Write to MH i2c: D1 01 00 B9 0B 01 96 [12:07:58]Write i2c OK [12:07:58]MH_I2C_Read... [12:07:58]Read from MH i2c: D1 [12:07:58]MH_I2C_Read... [12:07:58]Read from MH i2c: D1 01 00 [12:07:58]MH_I2C_Read... [12:07:58]Read from MH i2c: D1 01 00 B9 0B 00 95 [12:07:58]Write to MH i2c: 01 00 00 BA 0B C5 [12:07:58]Write i2c OK [12:07:58]MH_I2C_Read... [12:07:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 73 9F 47 00 A4 48 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 BB 57 00 00 F4 03 04 00 41 A7 F3 66 B6 04 01 00 00 F5 7D EE F2 DC 23 E2 76 [12:07:58]CommunicateWithHost err = 0 [12:07:58]CheckOFDResponse [12:07:58]1017 (14) - 77093643461234 [12:07:58]1041 (16) - 0000000000959358 [12:07:58]1040 (4) - 22459 [12:07:58]1012 (4) - 25.09.2024 06:01 [12:07:58]1206 (1) - 0 [12:07:58]OFD Sender: Remove packet 22459 [12:07:58]ProducePacketName [12:07:58]name=ofd_packets/00022459 [12:07:58]NVStorageDeleteData [12:07:58]OFD Sender: No OFD packet to send [12:07:58]*** Cut start [12:07:58]*** Partial cut [12:07:58]*** CUTSNS_PIN = 1 [12:07:58]*** CUTSNS_PIN = 0 [12:07:59]*** Brake cut motor [12:07:59]Read from MH i2c: 01 [12:07:59]MH_I2C_Read... [12:07:59]*** Stop cut motor [12:07:59]*** Cut end [12:07:59]Read from MH i2c: 01 07 00 [12:07:59]MH_I2C_Read... [12:07:59]Read from MH i2c: 01 07 00 BA 0B 00 00 00 00 00 FF 0F DA [12:07:59]process_action close_receipt done [12:07:59]requested_data is exist [12:07:59]produce_requested_data [12:07:59]requested_item fm.sn is exist - process it [12:07:59]wFMCommunicate request_size=4 [12:07:59]MH_SAM_APDU [12:07:59]CAPDU: 80 11 00 00 [12:07:59]Write to MH i2c: E2 08 00 BB 0B 80 11 00 00 00 00 00 00 40 [12:07:59]Write i2c OK [12:07:59]MH_I2C_Read... [12:07:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:07:59]Read from MH i2c: E2 [12:07:59]MH_I2C_Read... [12:07:59]Read from MH i2c: E2 17 00 [12:07:59]MH_I2C_Read... [12:07:59]Read from MH i2c: E2 17 00 BB 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 9A [12:07:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [12:07:59]wFMCommunicate OK [12:07:59]requested_item fd.num is exist - process it [12:07:59]SAM_PROTO_GetFieldsCounters [12:07:59]wFMCommunicate request_size=4 [12:07:59]MH_SAM_APDU [12:07:59]CAPDU: 80 13 00 00 [12:07:59]Write to MH i2c: E2 08 00 BC 0B 80 13 00 00 00 00 00 00 43 [12:07:59]Write i2c OK [12:07:59]MH_I2C_Read... [12:07:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:07:59]Read from MH i2c: E2 [12:07:59]MH_I2C_Read... [12:07:59]Read from MH i2c: E2 62 00 [12:07:59]MH_I2C_Read... [12:07:59]Read from MH i2c: E2 62 00 BC 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 BB 57 00 00 0E 04 04 00 E7 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 BF [12:07:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 BB 57 00 00 0E 04 04 00 E7 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 [12:07:59]wFMCommunicate OK [12:07:59]SAM_PROTO_GetFieldsCounters done [12:07:59]requested_item shift.num is exist - process it [12:07:59]requested_item shift.opened is exist - process it [12:07:59]req_shift_opened [12:07:59]FM_GetShiftState [12:07:59]SAM_PROTO_GetShiftState [12:07:59]wFMCommunicate request_size=4 [12:07:59]MH_SAM_APDU [12:07:59]CAPDU: 80 13 01 00 [12:07:59]Write to MH i2c: E2 08 00 BD 0B 80 13 01 00 00 00 00 00 45 [12:07:59]Write i2c OK [12:07:59]MH_I2C_Read... [12:07:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:07:59]Read from MH i2c: E2 [12:07:59]MH_I2C_Read... [12:07:59]Read from MH i2c: E2 0E 00 [12:07:59]MH_I2C_Read... [12:07:59]Read from MH i2c: E2 0E 00 BD 0B 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 D6 [12:07:59]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [12:07:59]wFMCommunicate OK [12:07:59]SAM_PROTO_GetShiftState done [12:07:59]FM_GetShiftState done [12:07:59]req_shift_opened done [12:07:59]requested_item shift.open_date is exist - process it [12:07:59]req_shift_open_date [12:07:59]req_shift_open_date done [12:07:59]produce_requested_data done [12:07:59]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22459,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [12:07:59]process_action_free close_receipt [12:07:59]json_value_free [12:07:59]json_value_free done [12:07:59]process_json_proto returns [12:07:59]Send response to host [12:07:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22459,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [12:07:59]free response buf [12:07:59]execute_script done [12:07:59]execute_script returns [12:07:59]free content buf [12:07:59]Sock 9.Close socket [12:07:59]Sock 9.Thread stoped [12:08:03]OFD Sender: No OFD packet to send [12:08:08]OFD Sender: No OFD packet to send [12:08:13]OFD Sender: No OFD packet to send [12:08:18]OFD Sender: No OFD packet to send [12:08:23]OFD Sender: No OFD packet to send [12:08:28]OFD Sender: No OFD packet to send [12:08:33]OFD Sender: No OFD packet to send [12:08:38]OFD Sender: No OFD packet to send [12:08:43]OFD Sender: No OFD packet to send [12:08:48]OFD Sender: No OFD packet to send [12:08:53]OFD Sender: No OFD packet to send [12:08:58]OFD Sender: No OFD packet to send [12:09:03]OFD Sender: No OFD packet to send [12:09:08]OFD Sender: No OFD packet to send [12:09:13]OFD Sender: No OFD packet to send [12:09:18]OFD Sender: No OFD packet to send [12:09:23]OFD Sender: No OFD packet to send [12:09:28]OFD Sender: No OFD packet to send [12:09:33]OFD Sender: No OFD packet to send [12:09:38]OFD Sender: No OFD packet to send [12:09:43]OFD Sender: No OFD packet to send [12:09:48]OFD Sender: No OFD packet to send [12:09:53]OFD Sender: No OFD packet to send [12:09:58]OFD Sender: No OFD packet to send [12:10:03]OFD Sender: No OFD packet to send [12:10:08]OFD Sender: No OFD packet to send [12:10:13]OFD Sender: No OFD packet to send [12:10:18]OFD Sender: No OFD packet to send [12:10:23]OFD Sender: No OFD packet to send [12:10:28]OFD Sender: No OFD packet to send [12:10:33]OFD Sender: No OFD packet to send [12:10:38]OFD Sender: No OFD packet to send [12:10:43]OFD Sender: No OFD packet to send [12:10:48]OFD Sender: No OFD packet to send [12:10:53]OFD Sender: No OFD packet to send [12:10:58]OFD Sender: No OFD packet to send [12:11:03]OFD Sender: No OFD packet to send [12:11:08]OFD Sender: No OFD packet to send [12:11:13]OFD Sender: No OFD packet to send [12:11:18]OFD Sender: No OFD packet to send [12:11:23]OFD Sender: No OFD packet to send [12:11:28]OFD Sender: No OFD packet to send [12:11:33]OFD Sender: No OFD packet to send [12:11:38]OFD Sender: No OFD packet to send [12:11:43]OFD Sender: No OFD packet to send [12:11:48]OFD Sender: No OFD packet to send [12:11:53]OFD Sender: No OFD packet to send [12:11:58]OFD Sender: No OFD packet to send [12:12:03]OFD Sender: No OFD packet to send [12:12:08]OFD Sender: No OFD packet to send [12:12:14]OFD Sender: No OFD packet to send [12:12:19]OFD Sender: No OFD packet to send [12:12:24]OFD Sender: No OFD packet to send [12:12:29]OFD Sender: No OFD packet to send [12:12:34]OFD Sender: No OFD packet to send [12:12:39]OFD Sender: No OFD packet to send [12:12:44]OFD Sender: No OFD packet to send [12:12:49]OFD Sender: No OFD packet to send [12:12:54]OFD Sender: No OFD packet to send [12:12:59]OFD Sender: No OFD packet to send [12:13:04]OFD Sender: No OFD packet to send [12:13:09]OFD Sender: No OFD packet to send [12:13:14]OFD Sender: No OFD packet to send [12:13:19]OFD Sender: No OFD packet to send [12:13:24]OFD Sender: No OFD packet to send [12:13:29]OFD Sender: No OFD packet to send [12:13:34]OFD Sender: No OFD packet to send [12:13:39]OFD Sender: No OFD packet to send [12:13:44]OFD Sender: No OFD packet to send [12:13:49]OFD Sender: No OFD packet to send [12:13:54]OFD Sender: No OFD packet to send [12:13:59]OFD Sender: No OFD packet to send [12:14:04]OFD Sender: No OFD packet to send [12:14:09]OFD Sender: No OFD packet to send [12:14:14]OFD Sender: No OFD packet to send [12:14:19]OFD Sender: No OFD packet to send [12:14:24]OFD Sender: No OFD packet to send [12:14:29]OFD Sender: No OFD packet to send [12:14:34]OFD Sender: No OFD packet to send [12:14:39]OFD Sender: No OFD packet to send [12:14:44]OFD Sender: No OFD packet to send [12:14:49]OFD Sender: No OFD packet to send [12:14:54]OFD Sender: No OFD packet to send [12:14:59]OFD Sender: No OFD packet to send [12:15:04]OFD Sender: No OFD packet to send [12:15:09]OFD Sender: No OFD packet to send [12:15:14]OFD Sender: No OFD packet to send [12:15:19]OFD Sender: No OFD packet to send [12:15:24]OFD Sender: No OFD packet to send [12:15:29]OFD Sender: No OFD packet to send [12:15:34]OFD Sender: No OFD packet to send [12:15:39]OFD Sender: No OFD packet to send [12:15:44]OFD Sender: No OFD packet to send [12:15:49]OFD Sender: No OFD packet to send [12:15:54]OFD Sender: No OFD packet to send [12:15:59]OFD Sender: No OFD packet to send [12:16:04]OFD Sender: No OFD packet to send [12:16:09]OFD Sender: No OFD packet to send [12:16:14]OFD Sender: No OFD packet to send [12:16:19]OFD Sender: No OFD packet to send [12:16:24]OFD Sender: No OFD packet to send [12:16:29]OFD Sender: No OFD packet to send [12:16:34]OFD Sender: No OFD packet to send [12:16:39]OFD Sender: No OFD packet to send [12:16:44]OFD Sender: No OFD packet to send [12:16:49]OFD Sender: No OFD packet to send [12:16:54]OFD Sender: No OFD packet to send [12:16:59]OFD Sender: No OFD packet to send [12:17:04]OFD Sender: No OFD packet to send [12:17:09]OFD Sender: No OFD packet to send [12:17:14]OFD Sender: No OFD packet to send [12:17:19]OFD Sender: No OFD packet to send [12:17:24]OFD Sender: No OFD packet to send [12:17:29]OFD Sender: No OFD packet to send [12:17:34]OFD Sender: No OFD packet to send [12:17:39]OFD Sender: No OFD packet to send [12:17:44]OFD Sender: No OFD packet to send [12:17:49]OFD Sender: No OFD packet to send [12:17:54]OFD Sender: No OFD packet to send [12:17:59]OFD Sender: No OFD packet to send [12:18:04]OFD Sender: No OFD packet to send [12:18:09]OFD Sender: No OFD packet to send [12:18:14]OFD Sender: No OFD packet to send [12:18:19]OFD Sender: No OFD packet to send [12:18:24]OFD Sender: No OFD packet to send [12:18:29]OFD Sender: No OFD packet to send [12:18:34]OFD Sender: No OFD packet to send [12:18:39]OFD Sender: No OFD packet to send [12:18:44]OFD Sender: No OFD packet to send [12:18:49]OFD Sender: No OFD packet to send [12:18:54]OFD Sender: No OFD packet to send [12:18:59]OFD Sender: No OFD packet to send [12:19:04]OFD Sender: No OFD packet to send [12:19:09]OFD Sender: No OFD packet to send [12:19:14]OFD Sender: No OFD packet to send [12:19:19]OFD Sender: No OFD packet to send [12:19:24]OFD Sender: No OFD packet to send [12:19:29]OFD Sender: No OFD packet to send [12:19:34]OFD Sender: No OFD packet to send [12:19:39]OFD Sender: No OFD packet to send [12:19:44]OFD Sender: No OFD packet to send [12:19:49]OFD Sender: No OFD packet to send [12:19:54]OFD Sender: No OFD packet to send [12:19:59]OFD Sender: No OFD packet to send [12:20:04]OFD Sender: No OFD packet to send [12:20:09]OFD Sender: No OFD packet to send [12:20:14]OFD Sender: No OFD packet to send [12:20:19]OFD Sender: No OFD packet to send [12:20:24]OFD Sender: No OFD packet to send [12:20:29]OFD Sender: No OFD packet to send [12:20:34]OFD Sender: No OFD packet to send [12:20:39]OFD Sender: No OFD packet to send [12:20:44]OFD Sender: No OFD packet to send [12:20:49]OFD Sender: No OFD packet to send [12:20:54]OFD Sender: No OFD packet to send [12:20:59]OFD Sender: No OFD packet to send [12:21:04]OFD Sender: No OFD packet to send [12:21:09]OFD Sender: No OFD packet to send [12:21:14]OFD Sender: No OFD packet to send [12:21:19]OFD Sender: No OFD packet to send [12:21:24]OFD Sender: No OFD packet to send [12:21:29]OFD Sender: No OFD packet to send [12:21:34]OFD Sender: No OFD packet to send [12:21:39]OFD Sender: No OFD packet to send [12:21:44]OFD Sender: No OFD packet to send [12:21:49]OFD Sender: No OFD packet to send [12:21:54]OFD Sender: No OFD packet to send [12:21:59]OFD Sender: No OFD packet to send [12:22:04]OFD Sender: No OFD packet to send [12:22:09]OFD Sender: No OFD packet to send [12:22:14]OFD Sender: No OFD packet to send [12:22:19]OFD Sender: No OFD packet to send [12:22:24]OFD Sender: No OFD packet to send [12:22:29]OFD Sender: No OFD packet to send [12:22:34]OFD Sender: No OFD packet to send [12:22:39]OFD Sender: No OFD packet to send [12:22:44]OFD Sender: No OFD packet to send [12:22:49]OFD Sender: No OFD packet to send [12:22:54]OFD Sender: No OFD packet to send [12:22:59]OFD Sender: No OFD packet to send [12:23:04]OFD Sender: No OFD packet to send [12:23:09]OFD Sender: No OFD packet to send [12:23:14]OFD Sender: No OFD packet to send [12:23:19]OFD Sender: No OFD packet to send [12:23:24]OFD Sender: No OFD packet to send [12:23:29]OFD Sender: No OFD packet to send [12:23:34]OFD Sender: No OFD packet to send [12:23:39]OFD Sender: No OFD packet to send [12:23:44]OFD Sender: No OFD packet to send [12:23:49]OFD Sender: No OFD packet to send [12:23:54]OFD Sender: No OFD packet to send [12:23:59]OFD Sender: No OFD packet to send [12:24:04]OFD Sender: No OFD packet to send [12:24:09]OFD Sender: No OFD packet to send [12:24:14]OFD Sender: No OFD packet to send [12:24:19]OFD Sender: No OFD packet to send [12:24:24]OFD Sender: No OFD packet to send [12:24:29]OFD Sender: No OFD packet to send [12:24:34]OFD Sender: No OFD packet to send [12:24:39]OFD Sender: No OFD packet to send [12:24:44]OFD Sender: No OFD packet to send [12:24:49]OFD Sender: No OFD packet to send [12:24:54]OFD Sender: No OFD packet to send [12:24:59]OFD Sender: No OFD packet to send [12:25:04]OFD Sender: No OFD packet to send [12:25:09]OFD Sender: No OFD packet to send [12:25:14]OFD Sender: No OFD packet to send [12:25:19]OFD Sender: No OFD packet to send [12:25:24]OFD Sender: No OFD packet to send [12:25:29]OFD Sender: No OFD packet to send [12:25:34]OFD Sender: No OFD packet to send [12:25:39]OFD Sender: No OFD packet to send [12:25:44]OFD Sender: No OFD packet to send [12:25:49]OFD Sender: No OFD packet to send [12:25:54]OFD Sender: No OFD packet to send [12:25:59]OFD Sender: No OFD packet to send [12:26:04]OFD Sender: No OFD packet to send [12:26:09]OFD Sender: No OFD packet to send [12:26:14]OFD Sender: No OFD packet to send [12:26:19]OFD Sender: No OFD packet to send [12:26:24]OFD Sender: No OFD packet to send [12:26:29]OFD Sender: No OFD packet to send [12:26:34]OFD Sender: No OFD packet to send [12:26:39]OFD Sender: No OFD packet to send [12:26:44]OFD Sender: No OFD packet to send [12:26:49]OFD Sender: No OFD packet to send [12:26:54]OFD Sender: No OFD packet to send [12:26:59]OFD Sender: No OFD packet to send [12:27:04]OFD Sender: No OFD packet to send [12:27:09]OFD Sender: No OFD packet to send [12:27:14]OFD Sender: No OFD packet to send [12:27:19]OFD Sender: No OFD packet to send [12:27:24]OFD Sender: No OFD packet to send [12:27:26]accept exits with 8 [12:27:26]New connection [12:27:26]New thread 3067260260 created [12:27:26]Thread 3067116900 joined [12:27:26]Waiting for new connection... [12:27:26] Sock 8.Parse request [12:27:26]Sock 8.Check first char [12:27:26]Sock 8.First char is OK [12:27:26]request: POST /json_proto HTTP/1.0 [12:27:26]Method: POST [12:27:26]URL: /json_proto [12:27:26]Method is POST - this is cgi request [12:27:26]url: /json_proto [12:27:26]query_string will be loaded in cgi processing [12:27:26]execute_cgi json_proto POST (null) [12:27:26]execute_cgi path=json_proto method=POST [12:27:26]POST find Content-Length [12:27:26]Host: 172.17.43.4:8080 [12:27:26]Content-Length: 620 [12:27:26]Content-Type: application/json [12:27:26] [12:27:26]POST finish read [12:27:26]Found Content-Length = 620 [12:27:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51668", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:27:26]execute_script... [12:27:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51668", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:27:26]POST & json_proto [12:27:26]process_json_proto [12:27:26]json parsed OK: [12:27:26]protocol is kg_v1.0 [12:27:26]action value=close_receipt [12:27:26]process_action close_receipt [12:27:26]cmd_close_receipt [12:27:26]MH_GetDate [12:27:26]Write to MH i2c: F0 00 00 BE 0B B8 [12:27:26]Write i2c OK [12:27:26]MH_I2C_Read... [12:27:26]Read from MH i2c: F0 [12:27:26]MH_I2C_Read... [12:27:26]Read from MH i2c: F0 09 00 [12:27:26]MH_I2C_Read... [12:27:26]Read from MH i2c: F0 09 00 BE 0B 00 B1 01 F4 66 02 BF CF 66 C3 [12:27:26]GetLastDocTimeStamp 1727266078 [12:27:26]current date 1727267249 [12:27:26]FM_GetShiftState [12:27:26]SAM_PROTO_GetShiftState [12:27:26]wFMCommunicate request_size=4 [12:27:26]MH_SAM_APDU [12:27:26]CAPDU: 80 13 01 00 [12:27:26]Write to MH i2c: E2 08 00 BF 0B 80 13 01 00 00 00 00 00 47 [12:27:26]Write i2c OK [12:27:26]MH_I2C_Read... [12:27:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:27:26]Read from MH i2c: E2 [12:27:26]MH_I2C_Read... [12:27:26]Read from MH i2c: E2 0E 00 [12:27:26]MH_I2C_Read... [12:27:26]Read from MH i2c: E2 0E 00 BF 0B 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 D8 [12:27:26]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [12:27:26]wFMCommunicate OK [12:27:26]SAM_PROTO_GetShiftState done [12:27:26]FM_GetShiftState done [12:27:26]opened in 1727224020 [12:27:26]opened+sec_in_day 1727310420 [12:27:26]quantity*price = 14400 [12:27:26]sum+1 = 14401 [12:27:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 33 25.09.2024 12:27 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22460 ФПД: 119929232185518 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T122729&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22460&fm=119929232185518&tin=02508201610067®Number=0000000000146243&sum=14400 0 [12:27:27]StoreToDocumentArchive [12:27:27]shift 231 fd 22460 [12:27:27]save to /storage/0231/doc_00022460 [12:27:27]save last doc name /storage/0231/doc_00022460 to /storage/kkm_last_doc_name [12:27:27]save OK [12:27:27]Clear old archive folders... [12:27:27]ProcessDocumentItem done err = 0, tmpTLVsize=273 [12:27:27]tlvbuf is 0037EB70 [12:27:27]SAM_PROTO_ClearQueue [12:27:27]wFMCommunicate request_size=4 [12:27:27]MH_SAM_APDU [12:27:27]CAPDU: 80 09 00 00 [12:27:27]Write to MH i2c: E2 08 00 CC 0B 80 09 00 00 00 00 00 00 49 [12:27:27]Write i2c OK [12:27:27]MH_I2C_Read... [12:27:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:27:27]Read from MH i2c: E2 [12:27:27]MH_I2C_Read... [12:27:27]Read from MH i2c: E2 03 00 [12:27:27]MH_I2C_Read... [12:27:27]Read from MH i2c: E2 03 00 CC 0B 00 90 00 4B [12:27:27]RAPDU: 90 00 [12:27:27]wFMCommunicate OK [12:27:27]SAM_PROTO_ClearQueue done [12:27:27]KKMCreateOFDPacket [12:27:27]OFDProtocolAddRootSTLVToBuf [12:27:27]FM_MakeSignedData [12:27:27]FM_MakeSignedData [12:27:27]SAM_PROTO_SignData [12:27:27]wFMCommunicate request_size=4 [12:27:27]MH_SAM_APDU [12:27:27]CAPDU: 80 0D 01 02 [12:27:27]Write to MH i2c: E2 08 00 CD 0B 80 0D 01 02 00 00 00 00 51 [12:27:27]Write i2c OK [12:27:27]MH_I2C_Read... [12:27:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:27:27]Read from MH i2c: E2 [12:27:27]MH_I2C_Read... [12:27:27]Read from MH i2c: E2 03 00 [12:27:27]MH_I2C_Read... [12:27:27]Read from MH i2c: E2 03 00 CD 0B 00 90 00 4C [12:27:27]RAPDU: 90 00 [12:27:27]wFMCommunicate OK [12:27:27]wFMCommunicate request_size=255 [12:27:27]MH_SAM_APDU [12:27:27]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 B1 01 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 [12:27:27]Write to MH i2c: E2 02 01 CE 0B 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 B1 01 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 00 00 CA [12:27:27]Write i2c OK [12:27:27]MH_I2C_Read... [12:27:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:27:28]Read from MH i2c: E2 [12:27:28]MH_I2C_Read... [12:27:28]Read from MH i2c: E2 03 00 [12:27:28]MH_I2C_Read... [12:27:28]Read from MH i2c: E2 03 00 CE 0B 00 90 00 4D [12:27:28]RAPDU: 90 00 [12:27:28]wFMCommunicate OK [12:27:28]wFMCommunicate request_size=32 [12:27:28]MH_SAM_APDU [12:27:28]CAPDU: 80 0D 02 02 1B 30 30 30 39 35 39 33 35 38 10 04 04 00 BC 57 00 00 35 04 06 00 6D 13 33 48 58 AE [12:27:28]Write to MH i2c: E2 23 00 CF 0B 80 0D 02 02 1B 00 30 30 30 39 35 39 33 35 38 10 04 04 00 BC 57 00 00 35 04 06 00 6D 13 33 48 58 AE 00 00 CC [12:27:28]Write i2c OK [12:27:28]MH_I2C_Read... [12:27:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:27:28]Read from MH i2c: E2 [12:27:28]MH_I2C_Read... [12:27:28]Read from MH i2c: E2 03 00 [12:27:28]MH_I2C_Read... [12:27:28]Read from MH i2c: E2 03 00 CF 0B 00 90 00 4E [12:27:28]RAPDU: 90 00 [12:27:28]wFMCommunicate OK [12:27:28]wFMCommunicate request_size=4 [12:27:28]MH_SAM_APDU [12:27:28]CAPDU: 80 0D 03 02 [12:27:28]Write to MH i2c: E2 08 00 D0 0B 80 0D 03 02 00 00 00 00 56 [12:27:28]Write i2c OK [12:27:28]MH_I2C_Read... [12:27:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:27:28]Read from MH i2c: E2 [12:27:28]MH_I2C_Read... [12:27:28]Read from MH i2c: E2 0B 00 [12:27:28]MH_I2C_Read... [12:27:28]Read from MH i2c: E2 0B 00 D0 0B 00 CA 57 9B E7 29 15 0D 40 90 00 85 [12:27:28]RAPDU: CA 57 9B E7 29 15 0D 40 90 00 [12:27:28]wFMCommunicate OK [12:27:28]SAM_PROTO_SignData done [12:27:28]FM_MakeSignedData done [12:27:28]CreateOFDProtocolMessage [12:27:28]wFMCommunicate request_size=4 [12:27:28]MH_SAM_APDU [12:27:28]CAPDU: 80 11 00 00 [12:27:28]Write to MH i2c: E2 08 00 D1 0B 80 11 00 00 00 00 00 00 56 [12:27:28]Write i2c OK [12:27:28]MH_I2C_Read... [12:27:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:27:28]Read from MH i2c: E2 [12:27:28]MH_I2C_Read... [12:27:28]Read from MH i2c: E2 17 00 [12:27:28]MH_I2C_Read... [12:27:28]Read from MH i2c: E2 17 00 D1 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 B0 [12:27:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [12:27:28]wFMCommunicate OK [12:27:28]CreateOFDProtocolMessage done [12:27:28]OFDSenderStorePacket 22460 [12:27:28]StoreOFDPacket docnum=22460 [12:27:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 25 01 00 00 17 BB 1D 01 71 17 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 B1 01 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 BC 57 00 00 35 04 06 00 6D 13 33 48 58 AE CA 57 9B E7 29 15 0D 40 [12:27:28]CheckFolder [12:27:28]dirname=/storage/ofd_packets [12:27:28]CheckFolder done [12:27:28]ProducePacketName [12:27:28]name=ofd_packets/00022460 [12:27:28]NVStorageSaveData ofd_packets/00022460 [12:27:28]File name is /storage/ofd_packets/00022460 [12:27:28]Write 323 bytes [12:27:28]NVStorageSaveData done [12:27:28]OFDSenderStorePacket done [12:27:28]KKMCreateOFDPacket done [12:27:28]NVStorageSaveData kkm_last_timestamp [12:27:28]File name is /storage/kkm_last_timestamp [12:27:28]Write 4 bytes [12:27:28]NVStorageSaveData done [12:27:28]ExternCall_PrintAddStr [12:27:28]wPrintStart [12:27:28]Write to MH i2c: 01 00 00 D2 0B DD [12:27:28]Write i2c OK [12:27:28]MH_I2C_Read... [12:27:28]Read from MH i2c: 01 [12:27:28]MH_I2C_Read... [12:27:28]Read from MH i2c: 01 07 00 [12:27:28]MH_I2C_Read... [12:27:28]Read from MH i2c: 01 07 00 D2 0B 00 00 00 00 00 FF 0F F2 [12:27:28]RasterBufferAndPrint [12:27:28]line Счет N : (3)51668 [12:27:28]line ИНН: 02508201610067 [12:27:28]line Контрольно-Кассовый Чек [12:27:28]line ПРОДАЖА [12:27:28]line Товар: 48743570 [12:27:28]line Сигареты Winston XStyle Blue [12:27:28]line 1.000 * 144.00 [12:27:28]line = 144.00 [12:27:28]line НДС 12% НСП 1% [12:27:28]line > о реализуемом товаре [12:27:28]line ИТОГО: 144.00 [12:27:28]line НСП 1% : 1.27 [12:27:28]line НДС 12% : 15.29 [12:27:28]line Наличными: 144.00 [12:27:28]line Безнал.: 0.00 [12:27:28]line Место: АЗС № 88 "Партнер Нефть" [12:27:28]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [12:27:28]line СНО: Общий режим [12:27:28]line Чек 33 25.09.2024 12:27 [12:27:28]line Смена: 231 ФФД: 1.0 [12:27:28]line ЗНМ: 0300000061 [12:27:28]line РНМ: 0000000000146243 [12:27:28]line Версия ККМ: v1.0 [12:27:28]line ФМ: 0000000000959358 [12:27:28]line ФД: 22460 [12:27:28]line ФПД: 119929232185518 [12:27:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T122729&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22460&fm=119929232185518&tin=02508201610067®Number=0000000000146243&sum=14400 [12:27:28]line 0 [12:27:28]OFD Sender: Processing packet 22460 [packets to send 23, broken 22] [12:27:28]ProducePacketName [12:27:28]name=ofd_packets/00022460 [12:27:28]OFD Sender: To server: pG, [12:27:28]CommunicateWithHost lk.salyk.kg:30040 [12:27:28]ConnectInit lk.salyk.kg [12:27:28]written 0, free lines is 4095 [12:27:28]Connected sock=10 [12:27:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 25 01 00 00 17 BB 1D 01 71 17 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 B1 01 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 BC 57 00 00 35 04 06 00 6D 13 33 48 58 AE CA 57 9B E7 29 15 0D 40 [12:27:29]Write to MH i2c: 01 00 00 FA 0B 05 [12:27:29]Write i2c OK [12:27:29]MH_I2C_Read... [12:27:29]Read from MH i2c: 01 [12:27:29]MH_I2C_Read... [12:27:29]Read from MH i2c: 01 07 00 [12:27:29]MH_I2C_Read... [12:27:29]Read from MH i2c: 01 07 00 FA 0B 00 00 00 00 00 23 0D 3C [12:27:29]RasterBufferAndPrint [12:27:29]line [12:27:29]line [12:27:29]line [12:27:29]line [12:27:29]line [12:27:29]written 0, free lines is 3370 [12:27:29]MH_Cut [12:27:29]Write to MH i2c: D1 01 00 01 0C 01 DF [12:27:29]Write i2c OK [12:27:29]MH_I2C_Read... [12:27:29]Read from MH i2c: D1 [12:27:29]MH_I2C_Read... [12:27:29]Read from MH i2c: D1 01 00 [12:27:29]MH_I2C_Read... [12:27:29]Read from MH i2c: D1 01 00 01 0C 00 DE [12:27:29]Write to MH i2c: 01 00 00 02 0C 0E [12:27:29]Write i2c OK [12:27:29]MH_I2C_Read... [12:27:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 0E C0 47 00 01 DD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 BC 57 00 00 F4 03 04 00 D4 AB F3 66 B6 04 01 00 00 C4 76 49 50 CA F3 1F FB [12:27:29]CommunicateWithHost err = 0 [12:27:29]CheckOFDResponse [12:27:29]1017 (14) - 77093643461234 [12:27:29]1041 (16) - 0000000000959358 [12:27:29]1040 (4) - 22460 [12:27:29]1012 (4) - 25.09.2024 06:21 [12:27:29]1206 (1) - 0 [12:27:29]OFD Sender: Remove packet 22460 [12:27:29]ProducePacketName [12:27:29]name=ofd_packets/00022460 [12:27:29]NVStorageDeleteData [12:27:29]OFD Sender: No OFD packet to send [12:27:29]*** Cut start [12:27:29]*** Partial cut [12:27:29]*** CUTSNS_PIN = 1 [12:27:29]*** CUTSNS_PIN = 0 [12:27:29]*** Brake cut motor [12:27:30]Read from MH i2c: 01 [12:27:30]MH_I2C_Read... [12:27:30]*** Stop cut motor [12:27:30]*** Cut end [12:27:30]Read from MH i2c: 01 07 00 [12:27:30]MH_I2C_Read... [12:27:30]Read from MH i2c: 01 07 00 02 0C 00 00 00 00 00 FF 0F 23 [12:27:30]process_action close_receipt done [12:27:30]requested_data is exist [12:27:30]produce_requested_data [12:27:30]requested_item fm.sn is exist - process it [12:27:30]wFMCommunicate request_size=4 [12:27:30]MH_SAM_APDU [12:27:30]CAPDU: 80 11 00 00 [12:27:30]Write to MH i2c: E2 08 00 03 0C 80 11 00 00 00 00 00 00 89 [12:27:30]Write i2c OK [12:27:30]MH_I2C_Read... [12:27:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:27:30]Read from MH i2c: E2 [12:27:30]MH_I2C_Read... [12:27:30]Read from MH i2c: E2 17 00 [12:27:30]MH_I2C_Read... [12:27:30]Read from MH i2c: E2 17 00 03 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 E3 [12:27:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [12:27:30]wFMCommunicate OK [12:27:30]requested_item fd.num is exist - process it [12:27:30]SAM_PROTO_GetFieldsCounters [12:27:30]wFMCommunicate request_size=4 [12:27:30]MH_SAM_APDU [12:27:30]CAPDU: 80 13 00 00 [12:27:30]Write to MH i2c: E2 08 00 04 0C 80 13 00 00 00 00 00 00 8C [12:27:30]Write i2c OK [12:27:30]MH_I2C_Read... [12:27:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:27:30]Read from MH i2c: E2 [12:27:30]MH_I2C_Read... [12:27:30]Read from MH i2c: E2 62 00 [12:27:30]MH_I2C_Read... [12:27:30]Read from MH i2c: E2 62 00 04 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 BC 57 00 00 0E 04 04 00 E7 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 0C [12:27:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 BC 57 00 00 0E 04 04 00 E7 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 [12:27:30]wFMCommunicate OK [12:27:30]SAM_PROTO_GetFieldsCounters done [12:27:30]requested_item shift.num is exist - process it [12:27:30]requested_item shift.opened is exist - process it [12:27:30]req_shift_opened [12:27:30]FM_GetShiftState [12:27:30]SAM_PROTO_GetShiftState [12:27:30]wFMCommunicate request_size=4 [12:27:30]MH_SAM_APDU [12:27:30]CAPDU: 80 13 01 00 [12:27:30]Write to MH i2c: E2 08 00 05 0C 80 13 01 00 00 00 00 00 8E [12:27:30]Write i2c OK [12:27:30]MH_I2C_Read... [12:27:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:27:30]Read from MH i2c: E2 [12:27:30]MH_I2C_Read... [12:27:30]Read from MH i2c: E2 0E 00 [12:27:30]MH_I2C_Read... [12:27:30]Read from MH i2c: E2 0E 00 05 0C 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 1F [12:27:30]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [12:27:30]wFMCommunicate OK [12:27:30]SAM_PROTO_GetShiftState done [12:27:30]FM_GetShiftState done [12:27:30]req_shift_opened done [12:27:30]requested_item shift.open_date is exist - process it [12:27:30]req_shift_open_date [12:27:30]req_shift_open_date done [12:27:30]produce_requested_data done [12:27:30]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22460,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [12:27:30]process_action_free close_receipt [12:27:30]json_value_free [12:27:30]json_value_free done [12:27:30]process_json_proto returns [12:27:30]Send response to host [12:27:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22460,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [12:27:30]free response buf [12:27:30]execute_script done [12:27:30]execute_script returns [12:27:30]free content buf [12:27:30]Sock 8.Close socket [12:27:30]Sock 8.Thread stoped [12:27:34]OFD Sender: No OFD packet to send [12:27:39]OFD Sender: No OFD packet to send [12:27:44]OFD Sender: No OFD packet to send [12:27:49]OFD Sender: No OFD packet to send [12:27:54]OFD Sender: No OFD packet to send [12:27:59]OFD Sender: No OFD packet to send [12:28:04]OFD Sender: No OFD packet to send [12:28:09]OFD Sender: No OFD packet to send [12:28:14]OFD Sender: No OFD packet to send [12:28:19]OFD Sender: No OFD packet to send [12:28:24]OFD Sender: No OFD packet to send [12:28:29]OFD Sender: No OFD packet to send [12:28:34]OFD Sender: No OFD packet to send [12:28:39]OFD Sender: No OFD packet to send [12:28:44]OFD Sender: No OFD packet to send [12:28:49]OFD Sender: No OFD packet to send [12:28:54]OFD Sender: No OFD packet to send [12:28:59]OFD Sender: No OFD packet to send [12:29:04]OFD Sender: No OFD packet to send [12:29:09]OFD Sender: No OFD packet to send [12:29:14]OFD Sender: No OFD packet to send [12:29:19]OFD Sender: No OFD packet to send [12:29:24]OFD Sender: No OFD packet to send [12:29:29]OFD Sender: No OFD packet to send [12:29:34]OFD Sender: No OFD packet to send [12:29:39]OFD Sender: No OFD packet to send [12:29:44]OFD Sender: No OFD packet to send [12:29:49]OFD Sender: No OFD packet to send [12:29:54]OFD Sender: No OFD packet to send [12:29:59]OFD Sender: No OFD packet to send [12:30:04]OFD Sender: No OFD packet to send [12:30:09]OFD Sender: No OFD packet to send [12:30:14]OFD Sender: No OFD packet to send [12:30:19]OFD Sender: No OFD packet to send [12:30:24]OFD Sender: No OFD packet to send [12:30:29]OFD Sender: No OFD packet to send [12:30:34]OFD Sender: No OFD packet to send [12:30:39]OFD Sender: No OFD packet to send [12:30:44]OFD Sender: No OFD packet to send [12:30:49]OFD Sender: No OFD packet to send [12:30:54]OFD Sender: No OFD packet to send [12:30:59]OFD Sender: No OFD packet to send [12:31:04]OFD Sender: No OFD packet to send [12:31:09]OFD Sender: No OFD packet to send [12:31:14]OFD Sender: No OFD packet to send [12:31:19]OFD Sender: No OFD packet to send [12:31:24]OFD Sender: No OFD packet to send [12:31:29]OFD Sender: No OFD packet to send [12:31:34]OFD Sender: No OFD packet to send [12:31:39]OFD Sender: No OFD packet to send [12:31:44]OFD Sender: No OFD packet to send [12:31:49]OFD Sender: No OFD packet to send [12:31:54]OFD Sender: No OFD packet to send [12:31:59]OFD Sender: No OFD packet to send [12:32:04]OFD Sender: No OFD packet to send [12:32:09]OFD Sender: No OFD packet to send [12:32:14]OFD Sender: No OFD packet to send [12:32:19]OFD Sender: No OFD packet to send [12:32:24]OFD Sender: No OFD packet to send [12:32:29]OFD Sender: No OFD packet to send [12:32:34]OFD Sender: No OFD packet to send [12:32:39]OFD Sender: No OFD packet to send [12:32:44]OFD Sender: No OFD packet to send [12:32:49]OFD Sender: No OFD packet to send [12:32:54]OFD Sender: No OFD packet to send [12:32:59]OFD Sender: No OFD packet to send [12:33:04]OFD Sender: No OFD packet to send [12:33:09]OFD Sender: No OFD packet to send [12:33:14]OFD Sender: No OFD packet to send [12:33:19]OFD Sender: No OFD packet to send [12:33:24]OFD Sender: No OFD packet to send [12:33:29]OFD Sender: No OFD packet to send [12:33:34]OFD Sender: No OFD packet to send [12:33:39]OFD Sender: No OFD packet to send [12:33:44]OFD Sender: No OFD packet to send [12:33:49]OFD Sender: No OFD packet to send [12:33:54]OFD Sender: No OFD packet to send [12:33:59]OFD Sender: No OFD packet to send [12:34:04]OFD Sender: No OFD packet to send [12:34:09]OFD Sender: No OFD packet to send [12:34:14]OFD Sender: No OFD packet to send [12:34:19]OFD Sender: No OFD packet to send [12:34:24]OFD Sender: No OFD packet to send [12:34:29]OFD Sender: No OFD packet to send [12:34:34]OFD Sender: No OFD packet to send [12:34:39]OFD Sender: No OFD packet to send [12:34:44]OFD Sender: No OFD packet to send [12:34:50]OFD Sender: No OFD packet to send [12:34:55]OFD Sender: No OFD packet to send [12:35:00]OFD Sender: No OFD packet to send [12:35:05]OFD Sender: No OFD packet to send [12:35:10]OFD Sender: No OFD packet to send [12:35:15]OFD Sender: No OFD packet to send [12:35:20]OFD Sender: No OFD packet to send [12:35:25]OFD Sender: No OFD packet to send [12:35:30]OFD Sender: No OFD packet to send [12:35:35]OFD Sender: No OFD packet to send [12:35:40]OFD Sender: No OFD packet to send [12:35:45]OFD Sender: No OFD packet to send [12:35:50]OFD Sender: No OFD packet to send [12:35:55]OFD Sender: No OFD packet to send [12:36:00]OFD Sender: No OFD packet to send [12:36:05]OFD Sender: No OFD packet to send [12:36:10]OFD Sender: No OFD packet to send [12:36:15]OFD Sender: No OFD packet to send [12:36:20]OFD Sender: No OFD packet to send [12:36:25]OFD Sender: No OFD packet to send [12:36:30]OFD Sender: No OFD packet to send [12:36:35]OFD Sender: No OFD packet to send [12:36:40]OFD Sender: No OFD packet to send [12:36:45]OFD Sender: No OFD packet to send [12:36:50]OFD Sender: No OFD packet to send [12:36:55]OFD Sender: No OFD packet to send [12:37:00]OFD Sender: No OFD packet to send [12:37:05]OFD Sender: No OFD packet to send [12:37:10]OFD Sender: No OFD packet to send [12:37:15]OFD Sender: No OFD packet to send [12:37:20]OFD Sender: No OFD packet to send [12:37:25]OFD Sender: No OFD packet to send [12:37:30]OFD Sender: No OFD packet to send [12:37:35]OFD Sender: No OFD packet to send [12:37:40]OFD Sender: No OFD packet to send [12:37:45]OFD Sender: No OFD packet to send [12:37:50]OFD Sender: No OFD packet to send [12:37:55]OFD Sender: No OFD packet to send [12:38:00]OFD Sender: No OFD packet to send [12:38:05]OFD Sender: No OFD packet to send [12:38:10]OFD Sender: No OFD packet to send [12:38:15]OFD Sender: No OFD packet to send [12:38:20]OFD Sender: No OFD packet to send [12:38:25]OFD Sender: No OFD packet to send [12:38:30]OFD Sender: No OFD packet to send [12:38:35]OFD Sender: No OFD packet to send [12:38:40]OFD Sender: No OFD packet to send [12:38:45]OFD Sender: No OFD packet to send [12:38:50]OFD Sender: No OFD packet to send [12:38:55]OFD Sender: No OFD packet to send [12:39:00]OFD Sender: No OFD packet to send [12:39:05]OFD Sender: No OFD packet to send [12:39:10]OFD Sender: No OFD packet to send [12:39:15]OFD Sender: No OFD packet to send [12:39:20]OFD Sender: No OFD packet to send [12:39:25]OFD Sender: No OFD packet to send [12:39:30]OFD Sender: No OFD packet to send [12:39:35]OFD Sender: No OFD packet to send [12:39:40]OFD Sender: No OFD packet to send [12:39:45]OFD Sender: No OFD packet to send [12:39:50]OFD Sender: No OFD packet to send [12:39:55]OFD Sender: No OFD packet to send [12:40:00]OFD Sender: No OFD packet to send [12:40:05]OFD Sender: No OFD packet to send [12:40:10]OFD Sender: No OFD packet to send [12:40:15]OFD Sender: No OFD packet to send [12:40:20]OFD Sender: No OFD packet to send [12:40:25]OFD Sender: No OFD packet to send [12:40:30]OFD Sender: No OFD packet to send [12:40:35]OFD Sender: No OFD packet to send [12:40:40]OFD Sender: No OFD packet to send [12:40:45]OFD Sender: No OFD packet to send [12:40:50]OFD Sender: No OFD packet to send [12:40:55]OFD Sender: No OFD packet to send [12:41:00]OFD Sender: No OFD packet to send [12:41:05]OFD Sender: No OFD packet to send [12:41:10]OFD Sender: No OFD packet to send [12:41:15]OFD Sender: No OFD packet to send [12:41:20]OFD Sender: No OFD packet to send [12:41:25]OFD Sender: No OFD packet to send [12:41:30]OFD Sender: No OFD packet to send [12:41:35]OFD Sender: No OFD packet to send [12:41:40]OFD Sender: No OFD packet to send [12:41:45]OFD Sender: No OFD packet to send [12:41:50]OFD Sender: No OFD packet to send [12:41:55]OFD Sender: No OFD packet to send [12:42:00]OFD Sender: No OFD packet to send [12:42:05]OFD Sender: No OFD packet to send [12:42:10]OFD Sender: No OFD packet to send [12:42:15]OFD Sender: No OFD packet to send [12:42:20]OFD Sender: No OFD packet to send [12:42:25]OFD Sender: No OFD packet to send [12:42:30]OFD Sender: No OFD packet to send [12:42:35]OFD Sender: No OFD packet to send [12:42:40]OFD Sender: No OFD packet to send [12:42:45]OFD Sender: No OFD packet to send [12:42:50]OFD Sender: No OFD packet to send [12:42:55]OFD Sender: No OFD packet to send [12:43:00]OFD Sender: No OFD packet to send [12:43:05]OFD Sender: No OFD packet to send [12:43:10]OFD Sender: No OFD packet to send [12:43:15]OFD Sender: No OFD packet to send [12:43:20]OFD Sender: No OFD packet to send [12:43:25]OFD Sender: No OFD packet to send [12:43:30]OFD Sender: No OFD packet to send [12:43:35]OFD Sender: No OFD packet to send [12:43:40]OFD Sender: No OFD packet to send [12:43:45]OFD Sender: No OFD packet to send [12:43:50]OFD Sender: No OFD packet to send [12:43:55]OFD Sender: No OFD packet to send [12:44:00]OFD Sender: No OFD packet to send [12:44:05]OFD Sender: No OFD packet to send [12:44:10]OFD Sender: No OFD packet to send [12:44:15]OFD Sender: No OFD packet to send [12:44:20]OFD Sender: No OFD packet to send [12:44:25]OFD Sender: No OFD packet to send [12:44:30]OFD Sender: No OFD packet to send [12:44:35]OFD Sender: No OFD packet to send [12:44:40]OFD Sender: No OFD packet to send [12:44:45]OFD Sender: No OFD packet to send [12:44:50]OFD Sender: No OFD packet to send [12:44:55]OFD Sender: No OFD packet to send [12:45:00]OFD Sender: No OFD packet to send [12:45:05]OFD Sender: No OFD packet to send [12:45:10]OFD Sender: No OFD packet to send [12:45:15]OFD Sender: No OFD packet to send [12:45:20]OFD Sender: No OFD packet to send [12:45:25]OFD Sender: No OFD packet to send [12:45:30]OFD Sender: No OFD packet to send [12:45:35]OFD Sender: No OFD packet to send [12:45:40]OFD Sender: No OFD packet to send [12:45:45]OFD Sender: No OFD packet to send [12:45:50]OFD Sender: No OFD packet to send [12:45:55]OFD Sender: No OFD packet to send [12:46:00]OFD Sender: No OFD packet to send [12:46:05]OFD Sender: No OFD packet to send [12:46:10]OFD Sender: No OFD packet to send [12:46:15]OFD Sender: No OFD packet to send [12:46:20]OFD Sender: No OFD packet to send [12:46:25]OFD Sender: No OFD packet to send [12:46:30]OFD Sender: No OFD packet to send [12:46:35]OFD Sender: No OFD packet to send [12:46:40]OFD Sender: No OFD packet to send [12:46:45]OFD Sender: No OFD packet to send [12:46:50]OFD Sender: No OFD packet to send [12:46:55]OFD Sender: No OFD packet to send [12:47:00]OFD Sender: No OFD packet to send [12:47:05]OFD Sender: No OFD packet to send [12:47:10]OFD Sender: No OFD packet to send [12:47:15]OFD Sender: No OFD packet to send [12:47:20]OFD Sender: No OFD packet to send [12:47:25]OFD Sender: No OFD packet to send [12:47:30]OFD Sender: No OFD packet to send [12:47:35]OFD Sender: No OFD packet to send [12:47:40]OFD Sender: No OFD packet to send [12:47:45]OFD Sender: No OFD packet to send [12:47:50]OFD Sender: No OFD packet to send [12:47:55]OFD Sender: No OFD packet to send [12:48:00]OFD Sender: No OFD packet to send [12:48:05]OFD Sender: No OFD packet to send [12:48:10]OFD Sender: No OFD packet to send [12:48:15]OFD Sender: No OFD packet to send [12:48:20]OFD Sender: No OFD packet to send [12:48:25]OFD Sender: No OFD packet to send [12:48:30]OFD Sender: No OFD packet to send [12:48:35]OFD Sender: No OFD packet to send [12:48:40]OFD Sender: No OFD packet to send [12:48:45]OFD Sender: No OFD packet to send [12:48:50]OFD Sender: No OFD packet to send [12:48:55]OFD Sender: No OFD packet to send [12:49:00]OFD Sender: No OFD packet to send [12:49:05]OFD Sender: No OFD packet to send [12:49:10]OFD Sender: No OFD packet to send [12:49:15]OFD Sender: No OFD packet to send [12:49:20]OFD Sender: No OFD packet to send [12:49:25]OFD Sender: No OFD packet to send [12:49:30]OFD Sender: No OFD packet to send [12:49:35]OFD Sender: No OFD packet to send [12:49:40]OFD Sender: No OFD packet to send [12:49:45]OFD Sender: No OFD packet to send [12:49:50]OFD Sender: No OFD packet to send [12:49:55]OFD Sender: No OFD packet to send [12:50:00]OFD Sender: No OFD packet to send [12:50:05]OFD Sender: No OFD packet to send [12:50:10]OFD Sender: No OFD packet to send [12:50:15]OFD Sender: No OFD packet to send [12:50:20]OFD Sender: No OFD packet to send [12:50:25]OFD Sender: No OFD packet to send [12:50:30]OFD Sender: No OFD packet to send [12:50:35]OFD Sender: No OFD packet to send [12:50:40]OFD Sender: No OFD packet to send [12:50:45]OFD Sender: No OFD packet to send [12:50:50]OFD Sender: No OFD packet to send [12:50:55]OFD Sender: No OFD packet to send [12:51:00]OFD Sender: No OFD packet to send [12:51:05]OFD Sender: No OFD packet to send [12:51:10]OFD Sender: No OFD packet to send [12:51:15]OFD Sender: No OFD packet to send [12:51:20]OFD Sender: No OFD packet to send [12:51:25]OFD Sender: No OFD packet to send [12:51:30]OFD Sender: No OFD packet to send [12:51:35]OFD Sender: No OFD packet to send [12:51:40]OFD Sender: No OFD packet to send [12:51:45]OFD Sender: No OFD packet to send [12:51:50]OFD Sender: No OFD packet to send [12:51:55]OFD Sender: No OFD packet to send [12:52:00]OFD Sender: No OFD packet to send [12:52:05]OFD Sender: No OFD packet to send [12:52:10]OFD Sender: No OFD packet to send [12:52:15]OFD Sender: No OFD packet to send [12:52:20]OFD Sender: No OFD packet to send [12:52:25]OFD Sender: No OFD packet to send [12:52:30]OFD Sender: No OFD packet to send [12:52:35]OFD Sender: No OFD packet to send [12:52:40]OFD Sender: No OFD packet to send [12:52:45]OFD Sender: No OFD packet to send [12:52:50]OFD Sender: No OFD packet to send [12:52:55]OFD Sender: No OFD packet to send [12:53:00]OFD Sender: No OFD packet to send [12:53:05]OFD Sender: No OFD packet to send [12:53:10]OFD Sender: No OFD packet to send [12:53:15]OFD Sender: No OFD packet to send [12:53:20]OFD Sender: No OFD packet to send [12:53:25]OFD Sender: No OFD packet to send [12:53:30]OFD Sender: No OFD packet to send [12:53:35]OFD Sender: No OFD packet to send [12:53:40]OFD Sender: No OFD packet to send [12:53:45]OFD Sender: No OFD packet to send [12:53:50]OFD Sender: No OFD packet to send [12:53:55]OFD Sender: No OFD packet to send [12:54:00]OFD Sender: No OFD packet to send [12:54:05]OFD Sender: No OFD packet to send [12:54:10]OFD Sender: No OFD packet to send [12:54:15]OFD Sender: No OFD packet to send [12:54:20]OFD Sender: No OFD packet to send [12:54:25]OFD Sender: No OFD packet to send [12:54:30]OFD Sender: No OFD packet to send [12:54:35]OFD Sender: No OFD packet to send [12:54:40]OFD Sender: No OFD packet to send [12:54:45]OFD Sender: No OFD packet to send [12:54:50]OFD Sender: No OFD packet to send [12:54:55]OFD Sender: No OFD packet to send [12:55:00]OFD Sender: No OFD packet to send [12:55:06]OFD Sender: No OFD packet to send [12:55:11]OFD Sender: No OFD packet to send [12:55:16]OFD Sender: No OFD packet to send [12:55:21]OFD Sender: No OFD packet to send [12:55:26]OFD Sender: No OFD packet to send [12:55:31]OFD Sender: No OFD packet to send [12:55:36]OFD Sender: No OFD packet to send [12:55:41]OFD Sender: No OFD packet to send [12:55:46]OFD Sender: No OFD packet to send [12:55:51]OFD Sender: No OFD packet to send [12:55:56]OFD Sender: No OFD packet to send [12:56:01]OFD Sender: No OFD packet to send [12:56:06]OFD Sender: No OFD packet to send [12:56:11]OFD Sender: No OFD packet to send [12:56:16]OFD Sender: No OFD packet to send [12:56:21]OFD Sender: No OFD packet to send [12:56:26]OFD Sender: No OFD packet to send [12:56:31]OFD Sender: No OFD packet to send [12:56:36]OFD Sender: No OFD packet to send [12:56:41]OFD Sender: No OFD packet to send [12:56:46]OFD Sender: No OFD packet to send [12:56:51]OFD Sender: No OFD packet to send [12:56:56]OFD Sender: No OFD packet to send [12:57:01]OFD Sender: No OFD packet to send [12:57:06]OFD Sender: No OFD packet to send [12:57:11]OFD Sender: No OFD packet to send [12:57:16]OFD Sender: No OFD packet to send [12:57:21]OFD Sender: No OFD packet to send [12:57:26]OFD Sender: No OFD packet to send [12:57:31]OFD Sender: No OFD packet to send [12:57:36]OFD Sender: No OFD packet to send [12:57:41]OFD Sender: No OFD packet to send [12:57:46]OFD Sender: No OFD packet to send [12:57:51]OFD Sender: No OFD packet to send [12:57:56]OFD Sender: No OFD packet to send [12:58:01]OFD Sender: No OFD packet to send [12:58:06]OFD Sender: No OFD packet to send [12:58:11]OFD Sender: No OFD packet to send [12:58:16]OFD Sender: No OFD packet to send [12:58:21]OFD Sender: No OFD packet to send [12:58:26]OFD Sender: No OFD packet to send [12:58:31]OFD Sender: No OFD packet to send [12:58:36]OFD Sender: No OFD packet to send [12:58:41]OFD Sender: No OFD packet to send [12:58:46]OFD Sender: No OFD packet to send [12:58:51]OFD Sender: No OFD packet to send [12:58:56]OFD Sender: No OFD packet to send [12:59:01]OFD Sender: No OFD packet to send [12:59:06]OFD Sender: No OFD packet to send [12:59:11]OFD Sender: No OFD packet to send [12:59:16]OFD Sender: No OFD packet to send [12:59:21]OFD Sender: No OFD packet to send [12:59:26]OFD Sender: No OFD packet to send [12:59:31]OFD Sender: No OFD packet to send [12:59:36]OFD Sender: No OFD packet to send [12:59:41]OFD Sender: No OFD packet to send [12:59:46]OFD Sender: No OFD packet to send [12:59:51]OFD Sender: No OFD packet to send [12:59:56]OFD Sender: No OFD packet to send [13:00:01]OFD Sender: No OFD packet to send [13:00:06]OFD Sender: No OFD packet to send [13:00:11]OFD Sender: No OFD packet to send [13:00:16]OFD Sender: No OFD packet to send [13:00:21]OFD Sender: No OFD packet to send [13:00:26]OFD Sender: No OFD packet to send [13:00:31]OFD Sender: No OFD packet to send [13:00:36]OFD Sender: No OFD packet to send [13:00:41]OFD Sender: No OFD packet to send [13:00:46]OFD Sender: No OFD packet to send [13:00:51]OFD Sender: No OFD packet to send [13:00:56]OFD Sender: No OFD packet to send [13:01:01]OFD Sender: No OFD packet to send [13:01:06]OFD Sender: No OFD packet to send [13:01:11]OFD Sender: No OFD packet to send [13:01:16]OFD Sender: No OFD packet to send [13:01:21]OFD Sender: No OFD packet to send [13:01:26]OFD Sender: No OFD packet to send [13:01:31]OFD Sender: No OFD packet to send [13:01:36]OFD Sender: No OFD packet to send [13:01:41]OFD Sender: No OFD packet to send [13:01:46]OFD Sender: No OFD packet to send [13:01:51]OFD Sender: No OFD packet to send [13:01:56]OFD Sender: No OFD packet to send [13:02:01]OFD Sender: No OFD packet to send [13:02:06]OFD Sender: No OFD packet to send [13:02:11]OFD Sender: No OFD packet to send [13:02:16]OFD Sender: No OFD packet to send [13:02:21]OFD Sender: No OFD packet to send [13:02:26]OFD Sender: No OFD packet to send [13:02:31]OFD Sender: No OFD packet to send [13:02:36]OFD Sender: No OFD packet to send [13:02:41]OFD Sender: No OFD packet to send [13:02:46]OFD Sender: No OFD packet to send [13:02:51]OFD Sender: No OFD packet to send [13:02:56]OFD Sender: No OFD packet to send [13:03:01]OFD Sender: No OFD packet to send [13:03:06]OFD Sender: No OFD packet to send [13:03:11]OFD Sender: No OFD packet to send [13:03:16]OFD Sender: No OFD packet to send [13:03:21]OFD Sender: No OFD packet to send [13:03:26]OFD Sender: No OFD packet to send [13:03:31]OFD Sender: No OFD packet to send [13:03:36]OFD Sender: No OFD packet to send [13:03:41]OFD Sender: No OFD packet to send [13:03:46]OFD Sender: No OFD packet to send [13:03:51]OFD Sender: No OFD packet to send [13:03:56]OFD Sender: No OFD packet to send [13:04:01]OFD Sender: No OFD packet to send [13:04:06]OFD Sender: No OFD packet to send [13:04:11]OFD Sender: No OFD packet to send [13:04:16]OFD Sender: No OFD packet to send [13:04:21]OFD Sender: No OFD packet to send [13:04:26]OFD Sender: No OFD packet to send [13:04:31]OFD Sender: No OFD packet to send [13:04:36]OFD Sender: No OFD packet to send [13:04:41]OFD Sender: No OFD packet to send [13:04:46]OFD Sender: No OFD packet to send [13:04:51]OFD Sender: No OFD packet to send [13:04:56]OFD Sender: No OFD packet to send [13:05:01]OFD Sender: No OFD packet to send [13:05:06]OFD Sender: No OFD packet to send [13:05:11]OFD Sender: No OFD packet to send [13:05:16]OFD Sender: No OFD packet to send [13:05:21]OFD Sender: No OFD packet to send [13:05:26]OFD Sender: No OFD packet to send [13:05:31]OFD Sender: No OFD packet to send [13:05:36]OFD Sender: No OFD packet to send [13:05:41]OFD Sender: No OFD packet to send [13:05:46]OFD Sender: No OFD packet to send [13:05:51]OFD Sender: No OFD packet to send [13:05:56]OFD Sender: No OFD packet to send [13:06:01]OFD Sender: No OFD packet to send [13:06:06]OFD Sender: No OFD packet to send [13:06:11]OFD Sender: No OFD packet to send [13:06:16]OFD Sender: No OFD packet to send [13:06:21]OFD Sender: No OFD packet to send [13:06:26]OFD Sender: No OFD packet to send [13:06:31]OFD Sender: No OFD packet to send [13:06:36]OFD Sender: No OFD packet to send [13:06:41]OFD Sender: No OFD packet to send [13:06:46]OFD Sender: No OFD packet to send [13:06:51]OFD Sender: No OFD packet to send [13:06:56]OFD Sender: No OFD packet to send [13:07:01]OFD Sender: No OFD packet to send [13:07:06]OFD Sender: No OFD packet to send [13:07:11]OFD Sender: No OFD packet to send [13:07:16]OFD Sender: No OFD packet to send [13:07:21]OFD Sender: No OFD packet to send [13:07:26]OFD Sender: No OFD packet to send [13:07:31]OFD Sender: No OFD packet to send [13:07:36]OFD Sender: No OFD packet to send [13:07:41]OFD Sender: No OFD packet to send [13:07:46]OFD Sender: No OFD packet to send [13:07:51]OFD Sender: No OFD packet to send [13:07:56]OFD Sender: No OFD packet to send [13:08:01]OFD Sender: No OFD packet to send [13:08:06]OFD Sender: No OFD packet to send [13:08:11]OFD Sender: No OFD packet to send [13:08:16]OFD Sender: No OFD packet to send [13:08:21]OFD Sender: No OFD packet to send [13:08:26]OFD Sender: No OFD packet to send [13:08:31]OFD Sender: No OFD packet to send [13:08:36]OFD Sender: No OFD packet to send [13:08:41]OFD Sender: No OFD packet to send [13:08:46]OFD Sender: No OFD packet to send [13:08:51]OFD Sender: No OFD packet to send [13:08:56]OFD Sender: No OFD packet to send [13:09:01]OFD Sender: No OFD packet to send [13:09:06]OFD Sender: No OFD packet to send [13:09:11]OFD Sender: No OFD packet to send [13:09:16]OFD Sender: No OFD packet to send [13:09:21]OFD Sender: No OFD packet to send [13:09:26]OFD Sender: No OFD packet to send [13:09:31]OFD Sender: No OFD packet to send [13:09:36]OFD Sender: No OFD packet to send [13:09:41]OFD Sender: No OFD packet to send [13:09:46]OFD Sender: No OFD packet to send [13:09:51]OFD Sender: No OFD packet to send [13:09:56]OFD Sender: No OFD packet to send [13:10:01]OFD Sender: No OFD packet to send [13:10:06]OFD Sender: No OFD packet to send [13:10:11]OFD Sender: No OFD packet to send [13:10:16]OFD Sender: No OFD packet to send [13:10:21]OFD Sender: No OFD packet to send [13:10:26]OFD Sender: No OFD packet to send [13:10:27]accept exits with 9 [13:10:27]New connection [13:10:27]New thread 3067116900 created [13:10:27]Thread 3067260260 joined [13:10:27]Waiting for new connection... [13:10:27] Sock 9.Parse request [13:10:27]Sock 9.Check first char [13:10:27]Sock 9.First char is OK [13:10:27]request: POST /json_proto HTTP/1.0 [13:10:27]Method: POST [13:10:27]URL: /json_proto [13:10:27]Method is POST - this is cgi request [13:10:27]url: /json_proto [13:10:27]query_string will be loaded in cgi processing [13:10:27]execute_cgi json_proto POST (null) [13:10:27]execute_cgi path=json_proto method=POST [13:10:27]POST find Content-Length [13:10:27]Host: 172.17.43.4:8080 [13:10:27]Content-Length: 644 [13:10:27]Content-Type: application/json [13:10:27] [13:10:27]POST finish read [13:10:27]Found Content-Length = 644 [13:10:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51669", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:10:27]execute_script... [13:10:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51669", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:10:27]POST & json_proto [13:10:27]process_json_proto [13:10:27]json parsed OK: [13:10:27]protocol is kg_v1.0 [13:10:27]action value=close_receipt [13:10:27]process_action close_receipt [13:10:27]cmd_close_receipt [13:10:27]MH_GetDate [13:10:27]Write to MH i2c: F0 00 00 06 0C 01 [13:10:27]Write i2c OK [13:10:27]MH_I2C_Read... [13:10:27]Read from MH i2c: F0 [13:10:27]MH_I2C_Read... [13:10:27]Read from MH i2c: F0 09 00 [13:10:27]MH_I2C_Read... [13:10:27]Read from MH i2c: F0 09 00 06 0C 00 C7 0B F4 66 02 BF CF 66 2C [13:10:27]GetLastDocTimeStamp 1727267249 [13:10:27]current date 1727269831 [13:10:27]FM_GetShiftState [13:10:27]SAM_PROTO_GetShiftState [13:10:27]wFMCommunicate request_size=4 [13:10:27]MH_SAM_APDU [13:10:27]CAPDU: 80 13 01 00 [13:10:27]Write to MH i2c: E2 08 00 07 0C 80 13 01 00 00 00 00 00 90 [13:10:27]Write i2c OK [13:10:27]MH_I2C_Read... [13:10:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:10:27]Read from MH i2c: E2 [13:10:27]MH_I2C_Read... [13:10:27]Read from MH i2c: E2 0E 00 [13:10:27]MH_I2C_Read... [13:10:27]Read from MH i2c: E2 0E 00 07 0C 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 21 [13:10:27]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [13:10:27]wFMCommunicate OK [13:10:27]SAM_PROTO_GetShiftState done [13:10:27]FM_GetShiftState done [13:10:27]opened in 1727224020 [13:10:27]opened+sec_in_day 1727310420 [13:10:27]quantity*price = 6000 [13:10:27]sum+1 = 6001 [13:10:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 34 25.09.2024 13:10 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22461 ФПД: 527289654878 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T131031&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22461&fm=527289654878&tin=02508201610067®Number=0000000000146243&sum=6000 0 [13:10:28]StoreToDocumentArchive [13:10:28]shift 231 fd 22461 [13:10:28]save to /storage/0231/doc_00022461 [13:10:28]save last doc name /storage/0231/doc_00022461 to /storage/kkm_last_doc_name [13:10:28]save OK [13:10:28]Clear old archive folders... [13:10:28]ProcessDocumentItem done err = 0, tmpTLVsize=276 [13:10:28]tlvbuf is 00395900 [13:10:28]SAM_PROTO_ClearQueue [13:10:28]wFMCommunicate request_size=4 [13:10:28]MH_SAM_APDU [13:10:28]CAPDU: 80 09 00 00 [13:10:28]Write to MH i2c: E2 08 00 14 0C 80 09 00 00 00 00 00 00 92 [13:10:28]Write i2c OK [13:10:28]MH_I2C_Read... [13:10:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:10:28]Read from MH i2c: E2 [13:10:28]MH_I2C_Read... [13:10:28]Read from MH i2c: E2 03 00 [13:10:28]MH_I2C_Read... [13:10:28]Read from MH i2c: E2 03 00 14 0C 00 90 00 94 [13:10:28]RAPDU: 90 00 [13:10:28]wFMCommunicate OK [13:10:28]SAM_PROTO_ClearQueue done [13:10:28]KKMCreateOFDPacket [13:10:28]OFDProtocolAddRootSTLVToBuf [13:10:28]FM_MakeSignedData [13:10:28]FM_MakeSignedData [13:10:28]SAM_PROTO_SignData [13:10:28]wFMCommunicate request_size=4 [13:10:28]MH_SAM_APDU [13:10:28]CAPDU: 80 0D 01 02 [13:10:28]Write to MH i2c: E2 08 00 15 0C 80 0D 01 02 00 00 00 00 9A [13:10:28]Write i2c OK [13:10:28]MH_I2C_Read... [13:10:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:10:28]Read from MH i2c: E2 [13:10:28]MH_I2C_Read... [13:10:28]Read from MH i2c: E2 03 00 [13:10:28]MH_I2C_Read... [13:10:28]Read from MH i2c: E2 03 00 15 0C 00 90 00 95 [13:10:28]RAPDU: 90 00 [13:10:28]wFMCommunicate OK [13:10:28]wFMCommunicate request_size=255 [13:10:28]MH_SAM_APDU [13:10:28]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 C7 0B F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 [13:10:28]Write to MH i2c: E2 02 01 16 0C 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 C7 0B F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 00 00 05 [13:10:28]Write i2c OK [13:10:28]MH_I2C_Read... [13:10:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:10:29]Read from MH i2c: E2 [13:10:29]MH_I2C_Read... [13:10:29]Read from MH i2c: E2 03 00 [13:10:29]MH_I2C_Read... [13:10:29]Read from MH i2c: E2 03 00 16 0C 00 90 00 96 [13:10:29]RAPDU: 90 00 [13:10:29]wFMCommunicate OK [13:10:29]wFMCommunicate request_size=35 [13:10:29]MH_SAM_APDU [13:10:29]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 BD 57 00 00 35 04 06 00 00 7A C4 E9 9E 5E [13:10:29]Write to MH i2c: E2 26 00 17 0C 80 0D 02 02 1E 00 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 BD 57 00 00 35 04 06 00 00 7A C4 E9 9E 5E 00 00 CE [13:10:29]Write i2c OK [13:10:29]MH_I2C_Read... [13:10:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:10:29]Read from MH i2c: E2 [13:10:29]MH_I2C_Read... [13:10:29]Read from MH i2c: E2 03 00 [13:10:29]MH_I2C_Read... [13:10:29]Read from MH i2c: E2 03 00 17 0C 00 90 00 97 [13:10:29]RAPDU: 90 00 [13:10:29]wFMCommunicate OK [13:10:29]wFMCommunicate request_size=4 [13:10:29]MH_SAM_APDU [13:10:29]CAPDU: 80 0D 03 02 [13:10:29]Write to MH i2c: E2 08 00 18 0C 80 0D 03 02 00 00 00 00 9F [13:10:29]Write i2c OK [13:10:29]MH_I2C_Read... [13:10:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:10:29]Read from MH i2c: E2 [13:10:29]MH_I2C_Read... [13:10:29]Read from MH i2c: E2 0B 00 [13:10:29]MH_I2C_Read... [13:10:29]Read from MH i2c: E2 0B 00 18 0C 00 99 AE 25 7F 37 7A E5 6C 90 00 8D [13:10:29]RAPDU: 99 AE 25 7F 37 7A E5 6C 90 00 [13:10:29]wFMCommunicate OK [13:10:29]SAM_PROTO_SignData done [13:10:29]FM_MakeSignedData done [13:10:29]CreateOFDProtocolMessage [13:10:29]wFMCommunicate request_size=4 [13:10:29]MH_SAM_APDU [13:10:29]CAPDU: 80 11 00 00 [13:10:29]Write to MH i2c: E2 08 00 19 0C 80 11 00 00 00 00 00 00 9F [13:10:29]Write i2c OK [13:10:29]MH_I2C_Read... [13:10:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:10:29]Read from MH i2c: E2 [13:10:29]MH_I2C_Read... [13:10:29]Read from MH i2c: E2 17 00 [13:10:29]MH_I2C_Read... [13:10:29]Read from MH i2c: E2 17 00 19 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 F9 [13:10:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [13:10:29]wFMCommunicate OK [13:10:29]CreateOFDProtocolMessage done [13:10:29]OFDSenderStorePacket 22461 [13:10:29]StoreOFDPacket docnum=22461 [13:10:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 28 01 00 00 C4 65 20 01 D7 DD 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 C7 0B F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 BD 57 00 00 35 04 06 00 00 7A C4 E9 9E 5E 99 AE 25 7F 37 7A E5 6C [13:10:29]CheckFolder [13:10:29]dirname=/storage/ofd_packets [13:10:29]CheckFolder done [13:10:29]ProducePacketName [13:10:29]name=ofd_packets/00022461 [13:10:29]NVStorageSaveData ofd_packets/00022461 [13:10:29]File name is /storage/ofd_packets/00022461 [13:10:29]Write 326 bytes [13:10:29]NVStorageSaveData done [13:10:29]OFDSenderStorePacket done [13:10:29]KKMCreateOFDPacket done [13:10:29]NVStorageSaveData kkm_last_timestamp [13:10:29]File name is /storage/kkm_last_timestamp [13:10:29]Write 4 bytes [13:10:29]NVStorageSaveData done [13:10:29]ExternCall_PrintAddStr [13:10:29]wPrintStart [13:10:29]Write to MH i2c: 01 00 00 1A 0C 26 [13:10:29]Write i2c OK [13:10:29]MH_I2C_Read... [13:10:29]Read from MH i2c: 01 [13:10:29]MH_I2C_Read... [13:10:29]Read from MH i2c: 01 07 00 [13:10:29]MH_I2C_Read... [13:10:29]Read from MH i2c: 01 07 00 1A 0C 00 00 00 00 00 FF 0F 3B [13:10:29]RasterBufferAndPrint [13:10:29]line Счет N : (3)51669 [13:10:29]line ИНН: 02508201610067 [13:10:29]line Контрольно-Кассовый Чек [13:10:29]line ПРОДАЖА [13:10:29]line Товар: 4700000310043 [13:10:29]line Вода Жалалабат 27 1л [13:10:29]line 1.000 * 60.00 [13:10:29]line = 60.00 [13:10:29]line НДС 12% НСП 1% [13:10:29]line > о реализуемом товаре [13:10:29]line ИТОГО: 60.00 [13:10:29]line НСП 1% : 0.53 [13:10:29]line НДС 12% : 6.37 [13:10:29]line Наличными: 60.00 [13:10:29]line Безнал.: 0.00 [13:10:29]line Место: АЗС № 88 "Партнер Нефть" [13:10:29]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [13:10:29]line СНО: Общий режим [13:10:29]line Чек 34 25.09.2024 13:10 [13:10:29]line Смена: 231 ФФД: 1.0 [13:10:29]line ЗНМ: 0300000061 [13:10:29]line РНМ: 0000000000146243 [13:10:29]line Версия ККМ: v1.0 [13:10:29]line ФМ: 0000000000959358 [13:10:29]line ФД: 22461 [13:10:29]line ФПД: 527289654878 [13:10:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T131031&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22461&fm=527289654878&tin=02508201610067®Number=0000000000146243&sum=6000 [13:10:29]line 0 [13:10:29]OFD Sender: Processing packet 22461 [packets to send 23, broken 22] [13:10:29]ProducePacketName [13:10:29]name=ofd_packets/00022461 [13:10:29]OFD Sender: To server: pG, [13:10:29]CommunicateWithHost lk.salyk.kg:30040 [13:10:29]ConnectInit lk.salyk.kg [13:10:29]written 0, free lines is 4095 [13:10:29]Connected sock=10 [13:10:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 28 01 00 00 C4 65 20 01 D7 DD 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 C7 0B F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 BD 57 00 00 35 04 06 00 00 7A C4 E9 9E 5E 99 AE 25 7F 37 7A E5 6C [13:10:29]Write to MH i2c: 01 00 00 42 0C 4E [13:10:29]Write i2c OK [13:10:29]MH_I2C_Read... [13:10:29]Read from MH i2c: 01 [13:10:29]MH_I2C_Read... [13:10:29]Read from MH i2c: 01 07 00 [13:10:29]MH_I2C_Read... [13:10:29]Read from MH i2c: 01 07 00 42 0C 00 00 00 00 00 20 0D 82 [13:10:29]RasterBufferAndPrint [13:10:29]line [13:10:29]line [13:10:29]line [13:10:29]line [13:10:29]line [13:10:29]written 0, free lines is 3368 [13:10:30]MH_Cut [13:10:30]Write to MH i2c: D1 01 00 49 0C 01 27 [13:10:30]Write i2c OK [13:10:30]MH_I2C_Read... [13:10:30]Read from MH i2c: D1 [13:10:30]MH_I2C_Read... [13:10:30]Read from MH i2c: D1 01 00 [13:10:30]MH_I2C_Read... [13:10:30]Read from MH i2c: D1 01 00 49 0C 00 26 [13:10:30]Write to MH i2c: 01 00 00 4A 0C 56 [13:10:30]Write i2c OK [13:10:30]MH_I2C_Read... [13:10:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 B9 55 47 00 20 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 30 39 35 39 33 35 38 10 04 04 00 BD 57 00 00 F4 03 04 00 E9 B5 F3 66 B6 04 01 00 00 D4 0B EF 43 12 36 7D 1C [13:10:30]CommunicateWithHost err = 0 [13:10:30]CheckOFDResponse [13:10:30]1017 (14) - 77093643461234 [13:10:30]1041 (16) - 0000000000959358 [13:10:30]1040 (4) - 22461 [13:10:30]1012 (4) - 25.09.2024 07:04 [13:10:30]1206 (1) - 0 [13:10:30]OFD Sender: Remove packet 22461 [13:10:30]ProducePacketName [13:10:30]name=ofd_packets/00022461 [13:10:30]NVStorageDeleteData [13:10:30]OFD Sender: No OFD packet to send [13:10:30]*** Cut start [13:10:30]*** Partial cut [13:10:30]*** CUTSNS_PIN = 1 [13:10:30]*** CUTSNS_PIN = 0 [13:10:30]*** Brake cut motor [13:10:31]Read from MH i2c: 01 [13:10:31]MH_I2C_Read... [13:10:31]*** Stop cut motor [13:10:31]*** Cut end [13:10:31]Read from MH i2c: 01 07 00 [13:10:31]MH_I2C_Read... [13:10:31]Read from MH i2c: 01 07 00 4A 0C 00 00 00 00 00 FF 0F 6B [13:10:31]process_action close_receipt done [13:10:31]requested_data is exist [13:10:31]produce_requested_data [13:10:31]requested_item fm.sn is exist - process it [13:10:31]wFMCommunicate request_size=4 [13:10:31]MH_SAM_APDU [13:10:31]CAPDU: 80 11 00 00 [13:10:31]Write to MH i2c: E2 08 00 4B 0C 80 11 00 00 00 00 00 00 D1 [13:10:31]Write i2c OK [13:10:31]MH_I2C_Read... [13:10:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:10:31]Read from MH i2c: E2 [13:10:31]MH_I2C_Read... [13:10:31]Read from MH i2c: E2 17 00 [13:10:31]MH_I2C_Read... [13:10:31]Read from MH i2c: E2 17 00 4B 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 2B [13:10:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [13:10:31]wFMCommunicate OK [13:10:31]requested_item fd.num is exist - process it [13:10:31]SAM_PROTO_GetFieldsCounters [13:10:31]wFMCommunicate request_size=4 [13:10:31]MH_SAM_APDU [13:10:31]CAPDU: 80 13 00 00 [13:10:31]Write to MH i2c: E2 08 00 4C 0C 80 13 00 00 00 00 00 00 D4 [13:10:31]Write i2c OK [13:10:31]MH_I2C_Read... [13:10:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:10:31]Read from MH i2c: E2 [13:10:31]MH_I2C_Read... [13:10:31]Read from MH i2c: E2 62 00 [13:10:31]MH_I2C_Read... [13:10:31]Read from MH i2c: E2 62 00 4C 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 BD 57 00 00 0E 04 04 00 E7 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 58 [13:10:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 BD 57 00 00 0E 04 04 00 E7 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 [13:10:31]wFMCommunicate OK [13:10:31]SAM_PROTO_GetFieldsCounters done [13:10:31]requested_item shift.num is exist - process it [13:10:31]requested_item shift.opened is exist - process it [13:10:31]req_shift_opened [13:10:31]FM_GetShiftState [13:10:31]SAM_PROTO_GetShiftState [13:10:31]wFMCommunicate request_size=4 [13:10:31]MH_SAM_APDU [13:10:31]CAPDU: 80 13 01 00 [13:10:31]Write to MH i2c: E2 08 00 4D 0C 80 13 01 00 00 00 00 00 D6 [13:10:31]Write i2c OK [13:10:31]MH_I2C_Read... [13:10:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:10:31]Read from MH i2c: E2 [13:10:31]MH_I2C_Read... [13:10:31]Read from MH i2c: E2 0E 00 [13:10:31]MH_I2C_Read... [13:10:31]Read from MH i2c: E2 0E 00 4D 0C 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 67 [13:10:31]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [13:10:31]wFMCommunicate OK [13:10:31]SAM_PROTO_GetShiftState done [13:10:31]FM_GetShiftState done [13:10:31]req_shift_opened done [13:10:31]requested_item shift.open_date is exist - process it [13:10:31]req_shift_open_date [13:10:31]req_shift_open_date done [13:10:31]produce_requested_data done [13:10:31]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22461,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [13:10:31]process_action_free close_receipt [13:10:31]json_value_free [13:10:31]json_value_free done [13:10:31]process_json_proto returns [13:10:31]Send response to host [13:10:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22461,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [13:10:31]free response buf [13:10:31]execute_script done [13:10:31]execute_script returns [13:10:31]free content buf [13:10:31]Sock 9.Close socket [13:10:31]Sock 9.Thread stoped [13:10:35]OFD Sender: No OFD packet to send [13:10:40]OFD Sender: No OFD packet to send [13:10:45]OFD Sender: No OFD packet to send [13:10:50]OFD Sender: No OFD packet to send [13:10:55]OFD Sender: No OFD packet to send [13:11:00]OFD Sender: No OFD packet to send [13:11:05]OFD Sender: No OFD packet to send [13:11:10]OFD Sender: No OFD packet to send [13:11:15]OFD Sender: No OFD packet to send [13:11:20]OFD Sender: No OFD packet to send [13:11:25]OFD Sender: No OFD packet to send [13:11:30]OFD Sender: No OFD packet to send [13:11:35]OFD Sender: No OFD packet to send [13:11:40]OFD Sender: No OFD packet to send [13:11:45]OFD Sender: No OFD packet to send [13:11:50]OFD Sender: No OFD packet to send [13:11:55]OFD Sender: No OFD packet to send [13:12:00]OFD Sender: No OFD packet to send [13:12:02]accept exits with 8 [13:12:02]New connection [13:12:02]New thread 3067260260 created [13:12:02]Thread 3067116900 joined [13:12:02]Waiting for new connection... [13:12:02] Sock 8.Parse request [13:12:02]Sock 8.Check first char [13:12:02]Sock 8.First char is OK [13:12:02]request: POST /json_proto HTTP/1.0 [13:12:02]Method: POST [13:12:02]URL: /json_proto [13:12:02]Method is POST - this is cgi request [13:12:02]url: /json_proto [13:12:02]query_string will be loaded in cgi processing [13:12:02]execute_cgi json_proto POST (null) [13:12:02]execute_cgi path=json_proto method=POST [13:12:02]POST find Content-Length [13:12:02]Host: 172.17.43.4:8080 [13:12:02]Content-Length: 748 [13:12:02]Content-Type: application/json [13:12:02] [13:12:02]POST finish read [13:12:02]Found Content-Length = 748 [13:12:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51670", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:12:02]execute_script... [13:12:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51670", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:12:02]POST & json_proto [13:12:02]process_json_proto [13:12:02]json parsed OK: [13:12:02]protocol is kg_v1.0 [13:12:02]action value=close_receipt [13:12:02]process_action close_receipt [13:12:02]cmd_close_receipt [13:12:02]MH_GetDate [13:12:02]Write to MH i2c: F0 00 00 4E 0C 49 [13:12:02]Write i2c OK [13:12:02]MH_I2C_Read... [13:12:02]Read from MH i2c: F0 [13:12:02]MH_I2C_Read... [13:12:02]Read from MH i2c: F0 09 00 [13:12:02]MH_I2C_Read... [13:12:02]Read from MH i2c: F0 09 00 4E 0C 00 26 0C F4 66 02 BF CF 66 D4 [13:12:02]GetLastDocTimeStamp 1727269831 [13:12:02]current date 1727269926 [13:12:02]FM_GetShiftState [13:12:02]SAM_PROTO_GetShiftState [13:12:02]wFMCommunicate request_size=4 [13:12:02]MH_SAM_APDU [13:12:02]CAPDU: 80 13 01 00 [13:12:02]Write to MH i2c: E2 08 00 4F 0C 80 13 01 00 00 00 00 00 D8 [13:12:02]Write i2c OK [13:12:02]MH_I2C_Read... [13:12:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:12:02]Read from MH i2c: E2 [13:12:02]MH_I2C_Read... [13:12:02]Read from MH i2c: E2 0E 00 [13:12:02]MH_I2C_Read... [13:12:02]Read from MH i2c: E2 0E 00 4F 0C 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 69 [13:12:02]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [13:12:02]wFMCommunicate OK [13:12:02]SAM_PROTO_GetShiftState done [13:12:02]FM_GetShiftState done [13:12:02]opened in 1727224020 [13:12:02]opened+sec_in_day 1727310420 [13:12:02]quantity*price = 0 [13:12:02]sum+1 = 1 [13:12:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 35 25.09.2024 13:12 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000959358 ФД: 22462 ФПД: 18763171636248 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T131206&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22462&fm=18763171636248&tin=02508201610067®Number=0000000000146243&sum=0 0 [13:12:03]StoreToDocumentArchive [13:12:03]shift 231 fd 22462 [13:12:03]save to /storage/0231/doc_00022462 [13:12:03]save last doc name /storage/0231/doc_00022462 to /storage/kkm_last_doc_name [13:12:03]save OK [13:12:03]Clear old archive folders... [13:12:03]ProcessDocumentItem done err = 0, tmpTLVsize=276 [13:12:03]tlvbuf is 00362A00 [13:12:03]SAM_PROTO_ClearQueue [13:12:03]wFMCommunicate request_size=4 [13:12:03]MH_SAM_APDU [13:12:03]CAPDU: 80 09 00 00 [13:12:03]Write to MH i2c: E2 08 00 5C 0C 80 09 00 00 00 00 00 00 DA [13:12:03]Write i2c OK [13:12:03]MH_I2C_Read... [13:12:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:12:03]Read from MH i2c: E2 [13:12:03]MH_I2C_Read... [13:12:03]Read from MH i2c: E2 03 00 [13:12:03]MH_I2C_Read... [13:12:03]Read from MH i2c: E2 03 00 5C 0C 00 90 00 DC [13:12:03]RAPDU: 90 00 [13:12:03]wFMCommunicate OK [13:12:03]SAM_PROTO_ClearQueue done [13:12:03]KKMCreateOFDPacket [13:12:03]OFDProtocolAddRootSTLVToBuf [13:12:03]FM_MakeSignedData [13:12:03]FM_MakeSignedData [13:12:03]SAM_PROTO_SignData [13:12:03]wFMCommunicate request_size=4 [13:12:03]MH_SAM_APDU [13:12:03]CAPDU: 80 0D 01 02 [13:12:03]Write to MH i2c: E2 08 00 5D 0C 80 0D 01 02 00 00 00 00 E2 [13:12:03]Write i2c OK [13:12:03]MH_I2C_Read... [13:12:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:12:03]Read from MH i2c: E2 [13:12:03]MH_I2C_Read... [13:12:03]Read from MH i2c: E2 03 00 [13:12:03]MH_I2C_Read... [13:12:03]Read from MH i2c: E2 03 00 5D 0C 00 90 00 DD [13:12:03]RAPDU: 90 00 [13:12:03]wFMCommunicate OK [13:12:03]wFMCommunicate request_size=255 [13:12:03]MH_SAM_APDU [13:12:03]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 26 0C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 [13:12:03]Write to MH i2c: E2 02 01 5E 0C 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 26 0C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 00 00 CA [13:12:03]Write i2c OK [13:12:03]MH_I2C_Read... [13:12:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:12:04]Read from MH i2c: E2 [13:12:04]MH_I2C_Read... [13:12:04]Read from MH i2c: E2 03 00 [13:12:04]MH_I2C_Read... [13:12:04]Read from MH i2c: E2 03 00 5E 0C 00 90 00 DE [13:12:04]RAPDU: 90 00 [13:12:04]wFMCommunicate OK [13:12:04]wFMCommunicate request_size=35 [13:12:04]MH_SAM_APDU [13:12:04]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 BE 57 00 00 35 04 06 00 11 10 A4 2E 24 18 [13:12:04]Write to MH i2c: E2 26 00 5F 0C 80 0D 02 02 1E 00 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 BE 57 00 00 35 04 06 00 11 10 A4 2E 24 18 00 00 23 [13:12:04]Write i2c OK [13:12:04]MH_I2C_Read... [13:12:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:12:04]Read from MH i2c: E2 [13:12:04]MH_I2C_Read... [13:12:04]Read from MH i2c: E2 03 00 [13:12:04]MH_I2C_Read... [13:12:04]Read from MH i2c: E2 03 00 5F 0C 00 90 00 DF [13:12:04]RAPDU: 90 00 [13:12:04]wFMCommunicate OK [13:12:04]wFMCommunicate request_size=4 [13:12:04]MH_SAM_APDU [13:12:04]CAPDU: 80 0D 03 02 [13:12:04]Write to MH i2c: E2 08 00 60 0C 80 0D 03 02 00 00 00 00 E7 [13:12:04]Write i2c OK [13:12:04]MH_I2C_Read... [13:12:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:12:04]Read from MH i2c: E2 [13:12:04]MH_I2C_Read... [13:12:04]Read from MH i2c: E2 0B 00 [13:12:04]MH_I2C_Read... [13:12:04]Read from MH i2c: E2 0B 00 60 0C 00 CC 82 69 37 9B B0 A4 EC 90 00 B1 [13:12:04]RAPDU: CC 82 69 37 9B B0 A4 EC 90 00 [13:12:04]wFMCommunicate OK [13:12:04]SAM_PROTO_SignData done [13:12:04]FM_MakeSignedData done [13:12:04]CreateOFDProtocolMessage [13:12:04]wFMCommunicate request_size=4 [13:12:04]MH_SAM_APDU [13:12:04]CAPDU: 80 11 00 00 [13:12:04]Write to MH i2c: E2 08 00 61 0C 80 11 00 00 00 00 00 00 E7 [13:12:04]Write i2c OK [13:12:04]MH_I2C_Read... [13:12:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:12:04]Read from MH i2c: E2 [13:12:04]MH_I2C_Read... [13:12:04]Read from MH i2c: E2 17 00 [13:12:04]MH_I2C_Read... [13:12:04]Read from MH i2c: E2 17 00 61 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 41 [13:12:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [13:12:04]wFMCommunicate OK [13:12:04]CreateOFDProtocolMessage done [13:12:04]OFDSenderStorePacket 22462 [13:12:04]StoreOFDPacket docnum=22462 [13:12:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 28 01 00 00 1D 01 20 01 EC AC 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 26 0C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 BE 57 00 00 35 04 06 00 11 10 A4 2E 24 18 CC 82 69 37 9B B0 A4 EC [13:12:04]CheckFolder [13:12:04]dirname=/storage/ofd_packets [13:12:04]CheckFolder done [13:12:04]ProducePacketName [13:12:04]name=ofd_packets/00022462 [13:12:04]NVStorageSaveData ofd_packets/00022462 [13:12:04]File name is /storage/ofd_packets/00022462 [13:12:04]Write 326 bytes [13:12:04]NVStorageSaveData done [13:12:04]OFDSenderStorePacket done [13:12:04]KKMCreateOFDPacket done [13:12:04]NVStorageSaveData kkm_last_timestamp [13:12:04]File name is /storage/kkm_last_timestamp [13:12:04]Write 4 bytes [13:12:04]NVStorageSaveData done [13:12:04]ExternCall_PrintAddStr [13:12:04]wPrintStart [13:12:04]Write to MH i2c: 01 00 00 62 0C 6E [13:12:04]Write i2c OK [13:12:04]MH_I2C_Read... [13:12:04]Read from MH i2c: 01 [13:12:04]MH_I2C_Read... [13:12:04]Read from MH i2c: 01 07 00 [13:12:04]MH_I2C_Read... [13:12:04]Read from MH i2c: 01 07 00 62 0C 00 00 00 00 00 FF 0F 83 [13:12:04]RasterBufferAndPrint [13:12:04]line Счет N : (3)51670 [13:12:04]line ИНН: 02508201610067 [13:12:04]line Контрольно-Кассовый Чек [13:12:04]line ПРОДАЖА [13:12:04]line Товар: 2000036230011 [13:12:04]line Кофе Латте XL(GABB TRADE) [13:12:04]line 1.000 * 0.00 [13:12:04]line = 0.00 [13:12:04]line НДС 12% НСП 1% [13:12:04]line > о реализуемом товаре [13:12:04]line ИТОГО: 0.00 [13:12:04]line НСП 1% : 0.00 [13:12:04]line НДС 12% : 0.00 [13:12:04]line Наличными: 0.00 [13:12:04]line Безнал.: 0.00 [13:12:04]line Место: АЗС № 88 "Партнер Нефть" [13:12:04]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [13:12:04]line СНО: Общий режим [13:12:04]line Чек 35 25.09.2024 13:12 [13:12:04]line Смена: 231 ФФД: 1.0 [13:12:04]line ЗНМ: 0300000061 [13:12:04]line РНМ: 0000000000146243 [13:12:04]line Версия ККМ: v1.0 [13:12:04]line Платежная система: Mbank [13:12:04]line ФМ: 0000000000959358 [13:12:04]line ФД: 22462 [13:12:04]line ФПД: 18763171636248 [13:12:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T131206&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22462&fm=18763171636248&tin=02508201610067®Number=0000000000146243&sum=0 [13:12:04]line 0 [13:12:04]OFD Sender: Processing packet 22462 [packets to send 23, broken 22] [13:12:04]ProducePacketName [13:12:04]name=ofd_packets/00022462 [13:12:04]OFD Sender: To server: pG, [13:12:04]CommunicateWithHost lk.salyk.kg:30040 [13:12:04]ConnectInit lk.salyk.kg [13:12:04]written 0, free lines is 4095 [13:12:04]Connected sock=10 [13:12:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 28 01 00 00 1D 01 20 01 EC AC 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 26 0C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 BE 57 00 00 35 04 06 00 11 10 A4 2E 24 18 CC 82 69 37 9B B0 A4 EC [13:12:05]Write to MH i2c: 01 00 00 8B 0C 97 [13:12:05]Write i2c OK [13:12:05]MH_I2C_Read... [13:12:05]Read from MH i2c: 01 [13:12:05]MH_I2C_Read... [13:12:05]Read from MH i2c: 01 07 00 [13:12:05]MH_I2C_Read... [13:12:05]Read from MH i2c: 01 07 00 8B 0C 00 00 00 00 00 2B 0D D6 [13:12:05]RasterBufferAndPrint [13:12:05]line [13:12:05]line [13:12:05]line [13:12:05]line [13:12:05]line [13:12:05]written 0, free lines is 3377 [13:12:05]MH_Cut [13:12:05]Write to MH i2c: D1 01 00 92 0C 01 70 [13:12:05]Write i2c OK [13:12:05]MH_I2C_Read... [13:12:05]Read from MH i2c: D1 [13:12:05]MH_I2C_Read... [13:12:05]Read from MH i2c: D1 01 00 [13:12:05]MH_I2C_Read... [13:12:05]Read from MH i2c: D1 01 00 92 0C 00 6F [13:12:05]Write to MH i2c: 01 00 00 93 0C 9F [13:12:05]Write i2c OK [13:12:05]MH_I2C_Read... [13:12:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 17 C2 47 00 6A FA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 BE 57 00 00 F4 03 04 00 48 B6 F3 66 B6 04 01 00 00 35 7D C4 2A 4C E8 5A 4B [13:12:05]CommunicateWithHost err = 0 [13:12:05]CheckOFDResponse [13:12:05]1017 (14) - 77093643461234 [13:12:05]1041 (16) - 0000000000959358 [13:12:05]1040 (4) - 22462 [13:12:05]1012 (4) - 25.09.2024 07:05 [13:12:05]1206 (1) - 0 [13:12:05]OFD Sender: Remove packet 22462 [13:12:05]ProducePacketName [13:12:05]name=ofd_packets/00022462 [13:12:05]NVStorageDeleteData [13:12:05]OFD Sender: No OFD packet to send [13:12:05]*** Cut start [13:12:05]*** Partial cut [13:12:05]*** CUTSNS_PIN = 1 [13:12:05]*** CUTSNS_PIN = 0 [13:12:06]*** Brake cut motor [13:12:06]Read from MH i2c: 01 [13:12:06]MH_I2C_Read... [13:12:06]*** Stop cut motor [13:12:06]*** Cut end [13:12:06]Read from MH i2c: 01 07 00 [13:12:06]MH_I2C_Read... [13:12:06]Read from MH i2c: 01 07 00 93 0C 00 00 00 00 00 FF 0F B4 [13:12:06]process_action close_receipt done [13:12:06]requested_data is exist [13:12:06]produce_requested_data [13:12:06]requested_item fm.sn is exist - process it [13:12:06]wFMCommunicate request_size=4 [13:12:06]MH_SAM_APDU [13:12:06]CAPDU: 80 11 00 00 [13:12:06]Write to MH i2c: E2 08 00 94 0C 80 11 00 00 00 00 00 00 1A [13:12:06]Write i2c OK [13:12:06]MH_I2C_Read... [13:12:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:12:06]Read from MH i2c: E2 [13:12:06]MH_I2C_Read... [13:12:06]Read from MH i2c: E2 17 00 [13:12:06]MH_I2C_Read... [13:12:06]Read from MH i2c: E2 17 00 94 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 74 [13:12:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [13:12:06]wFMCommunicate OK [13:12:06]requested_item fd.num is exist - process it [13:12:06]SAM_PROTO_GetFieldsCounters [13:12:06]wFMCommunicate request_size=4 [13:12:06]MH_SAM_APDU [13:12:06]CAPDU: 80 13 00 00 [13:12:06]Write to MH i2c: E2 08 00 95 0C 80 13 00 00 00 00 00 00 1D [13:12:06]Write i2c OK [13:12:06]MH_I2C_Read... [13:12:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:12:06]Read from MH i2c: E2 [13:12:06]MH_I2C_Read... [13:12:06]Read from MH i2c: E2 62 00 [13:12:06]MH_I2C_Read... [13:12:06]Read from MH i2c: E2 62 00 95 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 BE 57 00 00 0E 04 04 00 E7 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 A5 [13:12:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 BE 57 00 00 0E 04 04 00 E7 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 [13:12:06]wFMCommunicate OK [13:12:06]SAM_PROTO_GetFieldsCounters done [13:12:06]requested_item shift.num is exist - process it [13:12:06]requested_item shift.opened is exist - process it [13:12:06]req_shift_opened [13:12:06]FM_GetShiftState [13:12:06]SAM_PROTO_GetShiftState [13:12:06]wFMCommunicate request_size=4 [13:12:06]MH_SAM_APDU [13:12:06]CAPDU: 80 13 01 00 [13:12:06]Write to MH i2c: E2 08 00 96 0C 80 13 01 00 00 00 00 00 1F [13:12:06]Write i2c OK [13:12:06]MH_I2C_Read... [13:12:06]Read from MH i2c: E2 [13:12:06]MH_I2C_Read... [13:12:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:12:06]Read from MH i2c: E2 0E 00 [13:12:06]MH_I2C_Read... [13:12:06]Read from MH i2c: E2 0E 00 96 0C 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 B0 [13:12:06]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [13:12:06]wFMCommunicate OK [13:12:06]SAM_PROTO_GetShiftState done [13:12:06]FM_GetShiftState done [13:12:06]req_shift_opened done [13:12:06]requested_item shift.open_date is exist - process it [13:12:06]req_shift_open_date [13:12:06]req_shift_open_date done [13:12:06]produce_requested_data done [13:12:06]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22462,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [13:12:06]process_action_free close_receipt [13:12:06]json_value_free [13:12:06]json_value_free done [13:12:06]process_json_proto returns [13:12:06]Send response to host [13:12:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22462,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [13:12:06]free response buf [13:12:06]execute_script done [13:12:06]execute_script returns [13:12:06]free content buf [13:12:06]Sock 8.Close socket [13:12:06]Sock 8.Thread stoped [13:12:10]OFD Sender: No OFD packet to send [13:12:15]OFD Sender: No OFD packet to send [13:12:20]OFD Sender: No OFD packet to send [13:12:25]OFD Sender: No OFD packet to send [13:12:30]OFD Sender: No OFD packet to send [13:12:35]OFD Sender: No OFD packet to send [13:12:40]OFD Sender: No OFD packet to send [13:12:45]OFD Sender: No OFD packet to send [13:12:50]OFD Sender: No OFD packet to send [13:12:55]OFD Sender: No OFD packet to send [13:13:00]OFD Sender: No OFD packet to send [13:13:05]OFD Sender: No OFD packet to send [13:13:10]OFD Sender: No OFD packet to send [13:13:15]OFD Sender: No OFD packet to send [13:13:20]OFD Sender: No OFD packet to send [13:13:25]OFD Sender: No OFD packet to send [13:13:30]OFD Sender: No OFD packet to send [13:13:35]OFD Sender: No OFD packet to send [13:13:40]OFD Sender: No OFD packet to send [13:13:45]OFD Sender: No OFD packet to send [13:13:50]OFD Sender: No OFD packet to send [13:13:55]OFD Sender: No OFD packet to send [13:14:00]OFD Sender: No OFD packet to send [13:14:05]OFD Sender: No OFD packet to send [13:14:10]OFD Sender: No OFD packet to send [13:14:15]OFD Sender: No OFD packet to send [13:14:20]OFD Sender: No OFD packet to send [13:14:25]OFD Sender: No OFD packet to send [13:14:30]OFD Sender: No OFD packet to send [13:14:35]OFD Sender: No OFD packet to send [13:14:40]OFD Sender: No OFD packet to send [13:14:45]OFD Sender: No OFD packet to send [13:14:50]OFD Sender: No OFD packet to send [13:14:55]OFD Sender: No OFD packet to send [13:15:00]OFD Sender: No OFD packet to send [13:15:05]OFD Sender: No OFD packet to send [13:15:10]OFD Sender: No OFD packet to send [13:15:15]OFD Sender: No OFD packet to send [13:15:20]OFD Sender: No OFD packet to send [13:15:25]OFD Sender: No OFD packet to send [13:15:30]OFD Sender: No OFD packet to send [13:15:35]OFD Sender: No OFD packet to send [13:15:40]OFD Sender: No OFD packet to send [13:15:45]OFD Sender: No OFD packet to send [13:15:50]OFD Sender: No OFD packet to send [13:15:55]OFD Sender: No OFD packet to send [13:16:00]OFD Sender: No OFD packet to send [13:16:05]OFD Sender: No OFD packet to send [13:16:10]OFD Sender: No OFD packet to send [13:16:15]OFD Sender: No OFD packet to send [13:16:20]OFD Sender: No OFD packet to send [13:16:25]OFD Sender: No OFD packet to send [13:16:30]OFD Sender: No OFD packet to send [13:16:35]OFD Sender: No OFD packet to send [13:16:40]OFD Sender: No OFD packet to send [13:16:45]OFD Sender: No OFD packet to send [13:16:50]OFD Sender: No OFD packet to send [13:16:55]OFD Sender: No OFD packet to send [13:17:00]OFD Sender: No OFD packet to send [13:17:05]OFD Sender: No OFD packet to send [13:17:10]OFD Sender: No OFD packet to send [13:17:15]OFD Sender: No OFD packet to send [13:17:20]OFD Sender: No OFD packet to send [13:17:25]OFD Sender: No OFD packet to send [13:17:30]OFD Sender: No OFD packet to send [13:17:35]OFD Sender: No OFD packet to send [13:17:40]OFD Sender: No OFD packet to send [13:17:45]OFD Sender: No OFD packet to send [13:17:50]OFD Sender: No OFD packet to send [13:17:55]OFD Sender: No OFD packet to send [13:18:00]OFD Sender: No OFD packet to send [13:18:05]OFD Sender: No OFD packet to send [13:18:10]OFD Sender: No OFD packet to send [13:18:15]OFD Sender: No OFD packet to send [13:18:20]OFD Sender: No OFD packet to send [13:18:26]OFD Sender: No OFD packet to send [13:18:31]OFD Sender: No OFD packet to send [13:18:36]OFD Sender: No OFD packet to send [13:18:41]OFD Sender: No OFD packet to send [13:18:46]OFD Sender: No OFD packet to send [13:18:51]OFD Sender: No OFD packet to send [13:18:56]OFD Sender: No OFD packet to send [13:19:01]OFD Sender: No OFD packet to send [13:19:06]OFD Sender: No OFD packet to send [13:19:11]OFD Sender: No OFD packet to send [13:19:16]OFD Sender: No OFD packet to send [13:19:21]OFD Sender: No OFD packet to send [13:19:26]OFD Sender: No OFD packet to send [13:19:31]OFD Sender: No OFD packet to send [13:19:36]OFD Sender: No OFD packet to send [13:19:41]OFD Sender: No OFD packet to send [13:19:46]OFD Sender: No OFD packet to send [13:19:51]OFD Sender: No OFD packet to send [13:19:56]OFD Sender: No OFD packet to send [13:20:01]OFD Sender: No OFD packet to send [13:20:06]OFD Sender: No OFD packet to send [13:20:11]OFD Sender: No OFD packet to send [13:20:16]OFD Sender: No OFD packet to send [13:20:21]OFD Sender: No OFD packet to send [13:20:26]OFD Sender: No OFD packet to send [13:20:31]OFD Sender: No OFD packet to send [13:20:36]OFD Sender: No OFD packet to send [13:20:41]OFD Sender: No OFD packet to send [13:20:46]OFD Sender: No OFD packet to send [13:20:51]OFD Sender: No OFD packet to send [13:20:56]OFD Sender: No OFD packet to send [13:21:01]OFD Sender: No OFD packet to send [13:21:06]OFD Sender: No OFD packet to send [13:21:11]OFD Sender: No OFD packet to send [13:21:16]OFD Sender: No OFD packet to send [13:21:21]OFD Sender: No OFD packet to send [13:21:26]OFD Sender: No OFD packet to send [13:21:31]OFD Sender: No OFD packet to send [13:21:36]OFD Sender: No OFD packet to send [13:21:41]OFD Sender: No OFD packet to send [13:21:46]OFD Sender: No OFD packet to send [13:21:51]OFD Sender: No OFD packet to send [13:21:56]OFD Sender: No OFD packet to send [13:22:01]OFD Sender: No OFD packet to send [13:22:06]OFD Sender: No OFD packet to send [13:22:11]OFD Sender: No OFD packet to send [13:22:16]OFD Sender: No OFD packet to send [13:22:21]OFD Sender: No OFD packet to send [13:22:26]OFD Sender: No OFD packet to send [13:22:31]OFD Sender: No OFD packet to send [13:22:36]OFD Sender: No OFD packet to send [13:22:41]OFD Sender: No OFD packet to send [13:22:46]OFD Sender: No OFD packet to send [13:22:51]OFD Sender: No OFD packet to send [13:22:56]OFD Sender: No OFD packet to send [13:23:01]OFD Sender: No OFD packet to send [13:23:06]OFD Sender: No OFD packet to send [13:23:11]OFD Sender: No OFD packet to send [13:23:16]OFD Sender: No OFD packet to send [13:23:21]OFD Sender: No OFD packet to send [13:23:26]OFD Sender: No OFD packet to send [13:23:31]OFD Sender: No OFD packet to send [13:23:36]OFD Sender: No OFD packet to send [13:23:41]OFD Sender: No OFD packet to send [13:23:46]OFD Sender: No OFD packet to send [13:23:51]OFD Sender: No OFD packet to send [13:23:56]OFD Sender: No OFD packet to send [13:24:01]OFD Sender: No OFD packet to send [13:24:06]OFD Sender: No OFD packet to send [13:24:11]OFD Sender: No OFD packet to send [13:24:16]OFD Sender: No OFD packet to send [13:24:21]OFD Sender: No OFD packet to send [13:24:26]OFD Sender: No OFD packet to send [13:24:31]OFD Sender: No OFD packet to send [13:24:36]OFD Sender: No OFD packet to send [13:24:41]OFD Sender: No OFD packet to send [13:24:46]OFD Sender: No OFD packet to send [13:24:51]OFD Sender: No OFD packet to send [13:24:56]OFD Sender: No OFD packet to send [13:24:59]accept exits with 9 [13:24:59]New connection [13:24:59]New thread 3067116900 created [13:24:59]Thread 3067260260 joined [13:24:59]Waiting for new connection... [13:24:59] Sock 9.Parse request [13:24:59]Sock 9.Check first char [13:24:59]Sock 9.First char is OK [13:24:59]request: POST /json_proto HTTP/1.0 [13:24:59]Method: POST [13:24:59]URL: /json_proto [13:24:59]Method is POST - this is cgi request [13:24:59]url: /json_proto [13:24:59]query_string will be loaded in cgi processing [13:24:59]execute_cgi json_proto POST (null) [13:24:59]execute_cgi path=json_proto method=POST [13:24:59]POST find Content-Length [13:24:59]Host: 172.17.43.4:8080 [13:24:59]Content-Length: 645 [13:24:59]Content-Type: application/json [13:24:59] [13:24:59]POST finish read [13:24:59]Found Content-Length = 645 [13:24:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51671", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:24:59]execute_script... [13:24:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51671", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:24:59]POST & json_proto [13:24:59]process_json_proto [13:24:59]json parsed OK: [13:24:59]protocol is kg_v1.0 [13:24:59]action value=close_receipt [13:24:59]process_action close_receipt [13:24:59]cmd_close_receipt [13:24:59]MH_GetDate [13:24:59]Write to MH i2c: F0 00 00 97 0C 92 [13:24:59]Write i2c OK [13:24:59]MH_I2C_Read... [13:24:59]Read from MH i2c: F0 [13:24:59]MH_I2C_Read... [13:24:59]Read from MH i2c: F0 09 00 [13:24:59]MH_I2C_Read... [13:24:59]Read from MH i2c: F0 09 00 97 0C 00 2F 0F F4 66 02 BF CF 66 29 [13:24:59]GetLastDocTimeStamp 1727269926 [13:24:59]current date 1727270703 [13:24:59]FM_GetShiftState [13:24:59]SAM_PROTO_GetShiftState [13:24:59]wFMCommunicate request_size=4 [13:24:59]MH_SAM_APDU [13:24:59]CAPDU: 80 13 01 00 [13:24:59]Write to MH i2c: E2 08 00 98 0C 80 13 01 00 00 00 00 00 21 [13:24:59]Write i2c OK [13:24:59]MH_I2C_Read... [13:24:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:24:59]Read from MH i2c: E2 [13:24:59]MH_I2C_Read... [13:24:59]Read from MH i2c: E2 0E 00 [13:24:59]MH_I2C_Read... [13:24:59]Read from MH i2c: E2 0E 00 98 0C 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 B2 [13:24:59]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [13:24:59]wFMCommunicate OK [13:24:59]SAM_PROTO_GetShiftState done [13:24:59]FM_GetShiftState done [13:24:59]opened in 1727224020 [13:24:59]opened+sec_in_day 1727310420 [13:24:59]quantity*price = 13000 [13:24:59]sum+1 = 13001 [13:24:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 36 25.09.2024 13:25 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22463 ФПД: 32325607810612 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T132503&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22463&fm=32325607810612&tin=02508201610067®Number=0000000000146243&sum=13000 0 [13:25:00]StoreToDocumentArchive [13:25:00]shift 231 fd 22463 [13:25:00]save to /storage/0231/doc_00022463 [13:25:00]save last doc name /storage/0231/doc_00022463 to /storage/kkm_last_doc_name [13:25:00]save OK [13:25:00]Clear old archive folders... [13:25:00]ProcessDocumentItem done err = 0, tmpTLVsize=282 [13:25:00]tlvbuf is 003627E0 [13:25:00]SAM_PROTO_ClearQueue [13:25:00]wFMCommunicate request_size=4 [13:25:00]MH_SAM_APDU [13:25:00]CAPDU: 80 09 00 00 [13:25:00]Write to MH i2c: E2 08 00 A5 0C 80 09 00 00 00 00 00 00 23 [13:25:00]Write i2c OK [13:25:00]MH_I2C_Read... [13:25:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:25:00]Read from MH i2c: E2 [13:25:00]MH_I2C_Read... [13:25:00]Read from MH i2c: E2 03 00 [13:25:00]MH_I2C_Read... [13:25:00]Read from MH i2c: E2 03 00 A5 0C 00 90 00 25 [13:25:00]RAPDU: 90 00 [13:25:00]wFMCommunicate OK [13:25:00]SAM_PROTO_ClearQueue done [13:25:00]KKMCreateOFDPacket [13:25:00]OFDProtocolAddRootSTLVToBuf [13:25:00]FM_MakeSignedData [13:25:00]FM_MakeSignedData [13:25:00]SAM_PROTO_SignData [13:25:00]wFMCommunicate request_size=4 [13:25:00]MH_SAM_APDU [13:25:00]CAPDU: 80 0D 01 02 [13:25:00]Write to MH i2c: E2 08 00 A6 0C 80 0D 01 02 00 00 00 00 2B [13:25:00]Write i2c OK [13:25:00]MH_I2C_Read... [13:25:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:25:00]Read from MH i2c: E2 [13:25:00]MH_I2C_Read... [13:25:00]Read from MH i2c: E2 03 00 [13:25:00]MH_I2C_Read... [13:25:00]Read from MH i2c: E2 03 00 A6 0C 00 90 00 26 [13:25:00]RAPDU: 90 00 [13:25:00]wFMCommunicate OK [13:25:00]wFMCommunicate request_size=255 [13:25:00]MH_SAM_APDU [13:25:00]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 2F 0F F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 [13:25:00]Write to MH i2c: E2 02 01 A7 0C 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 2F 0F F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 00 00 D8 [13:25:00]Write i2c OK [13:25:00]MH_I2C_Read... [13:25:00]Read from MH i2c: E2 [13:25:00]MH_I2C_Read... [13:25:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:25:00]Read from MH i2c: E2 03 00 [13:25:00]MH_I2C_Read... [13:25:00]Read from MH i2c: E2 03 00 A7 0C 00 90 00 27 [13:25:00]RAPDU: 90 00 [13:25:00]wFMCommunicate OK [13:25:00]wFMCommunicate request_size=41 [13:25:00]MH_SAM_APDU [13:25:00]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 BF 57 00 00 35 04 06 00 1D 66 64 5E E6 34 [13:25:00]Write to MH i2c: E2 2C 00 A8 0C 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 BF 57 00 00 35 04 06 00 1D 66 64 5E E6 34 00 00 79 [13:25:00]Write i2c OK [13:25:00]MH_I2C_Read... [13:25:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:25:01]Read from MH i2c: E2 [13:25:01]MH_I2C_Read... [13:25:01]Read from MH i2c: E2 03 00 [13:25:01]MH_I2C_Read... [13:25:01]Read from MH i2c: E2 03 00 A8 0C 00 90 00 28 [13:25:01]RAPDU: 90 00 [13:25:01]wFMCommunicate OK [13:25:01]wFMCommunicate request_size=4 [13:25:01]MH_SAM_APDU [13:25:01]CAPDU: 80 0D 03 02 [13:25:01]Write to MH i2c: E2 08 00 A9 0C 80 0D 03 02 00 00 00 00 30 [13:25:01]Write i2c OK [13:25:01]MH_I2C_Read... [13:25:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:25:01]Read from MH i2c: E2 [13:25:01]MH_I2C_Read... [13:25:01]Read from MH i2c: E2 0B 00 [13:25:01]MH_I2C_Read... [13:25:01]Read from MH i2c: E2 0B 00 A9 0C 00 F1 14 6F BC 11 1C B1 37 90 00 76 [13:25:01]RAPDU: F1 14 6F BC 11 1C B1 37 90 00 [13:25:01]wFMCommunicate OK [13:25:01]SAM_PROTO_SignData done [13:25:01]FM_MakeSignedData done [13:25:01]CreateOFDProtocolMessage [13:25:01]wFMCommunicate request_size=4 [13:25:01]MH_SAM_APDU [13:25:01]CAPDU: 80 11 00 00 [13:25:01]Write to MH i2c: E2 08 00 AA 0C 80 11 00 00 00 00 00 00 30 [13:25:01]Write i2c OK [13:25:01]MH_I2C_Read... [13:25:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:25:01]Read from MH i2c: E2 [13:25:01]MH_I2C_Read... [13:25:01]Read from MH i2c: E2 17 00 [13:25:01]MH_I2C_Read... [13:25:01]Read from MH i2c: E2 17 00 AA 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 8A [13:25:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [13:25:01]wFMCommunicate OK [13:25:01]CreateOFDProtocolMessage done [13:25:01]OFDSenderStorePacket 22463 [13:25:01]StoreOFDPacket docnum=22463 [13:25:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 2E 01 00 00 D4 58 26 01 37 87 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 2F 0F F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 BF 57 00 00 35 04 06 00 1D 66 64 5E E6 34 F1 14 6F BC 11 1C B1 37 [13:25:01]CheckFolder [13:25:01]dirname=/storage/ofd_packets [13:25:01]CheckFolder done [13:25:01]ProducePacketName [13:25:01]name=ofd_packets/00022463 [13:25:01]NVStorageSaveData ofd_packets/00022463 [13:25:01]File name is /storage/ofd_packets/00022463 [13:25:01]Write 332 bytes [13:25:01]NVStorageSaveData done [13:25:01]OFDSenderStorePacket done [13:25:01]KKMCreateOFDPacket done [13:25:01]NVStorageSaveData kkm_last_timestamp [13:25:01]File name is /storage/kkm_last_timestamp [13:25:01]Write 4 bytes [13:25:01]NVStorageSaveData done [13:25:01]ExternCall_PrintAddStr [13:25:01]wPrintStart [13:25:01]Write to MH i2c: 01 00 00 AB 0C B7 [13:25:01]Write i2c OK [13:25:01]MH_I2C_Read... [13:25:01]Read from MH i2c: 01 [13:25:01]MH_I2C_Read... [13:25:01]Read from MH i2c: 01 07 00 [13:25:01]MH_I2C_Read... [13:25:01]Read from MH i2c: 01 07 00 AB 0C 00 00 00 00 00 FF 0F CC [13:25:01]RasterBufferAndPrint [13:25:01]line Счет N : (3)51671 [13:25:01]line ИНН: 02508201610067 [13:25:01]line Контрольно-Кассовый Чек [13:25:01]line ПРОДАЖА [13:25:01]line Товар: 2000036220012 [13:25:01]line Кофе Капучино XL(GABB TRADE) [13:25:01]line 1.000 * 130.00 [13:25:01]line = 130.00 [13:25:01]line НДС 12% НСП 1% [13:25:01]line > о реализуемом товаре [13:25:01]line ИТОГО: 130.00 [13:25:01]line НСП 1% : 1.15 [13:25:01]line НДС 12% : 13.80 [13:25:01]line Наличными: 130.00 [13:25:01]line Безнал.: 0.00 [13:25:01]line Место: АЗС № 88 "Партнер Нефть" [13:25:01]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [13:25:01]line СНО: Общий режим [13:25:01]line Чек 36 25.09.2024 13:25 [13:25:01]line Смена: 231 ФФД: 1.0 [13:25:01]line ЗНМ: 0300000061 [13:25:01]line РНМ: 0000000000146243 [13:25:01]line Версия ККМ: v1.0 [13:25:01]line ФМ: 0000000000959358 [13:25:01]line ФД: 22463 [13:25:01]line ФПД: 32325607810612 [13:25:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T132503&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22463&fm=32325607810612&tin=02508201610067®Number=0000000000146243&sum=13000 [13:25:01]line 0 [13:25:01]OFD Sender: Processing packet 22463 [packets to send 23, broken 22] [13:25:01]ProducePacketName [13:25:01]name=ofd_packets/00022463 [13:25:01]OFD Sender: To server: pG, [13:25:01]CommunicateWithHost lk.salyk.kg:30040 [13:25:01]ConnectInit lk.salyk.kg [13:25:01]written 0, free lines is 4095 [13:25:01]Connected sock=10 [13:25:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 2E 01 00 00 D4 58 26 01 37 87 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 2F 0F F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 BF 57 00 00 35 04 06 00 1D 66 64 5E E6 34 F1 14 6F BC 11 1C B1 37 [13:25:01]Write to MH i2c: 01 00 00 D4 0C E0 [13:25:01]Write i2c OK [13:25:01]MH_I2C_Read... [13:25:01]Read from MH i2c: 01 [13:25:01]MH_I2C_Read... [13:25:01]Read from MH i2c: 01 07 00 [13:25:01]MH_I2C_Read... [13:25:01]Read from MH i2c: 01 07 00 D4 0C 00 00 00 00 00 1D 0D 11 [13:25:01]RasterBufferAndPrint [13:25:01]line [13:25:01]line [13:25:01]line [13:25:01]line [13:25:01]line [13:25:01]written 0, free lines is 3363 [13:25:01]MH_Cut [13:25:01]Write to MH i2c: D1 01 00 DB 0C 01 B9 [13:25:01]Write i2c OK [13:25:01]MH_I2C_Read... [13:25:01]Read from MH i2c: D1 [13:25:01]MH_I2C_Read... [13:25:01]Read from MH i2c: D1 01 00 [13:25:01]MH_I2C_Read... [13:25:01]Read from MH i2c: D1 01 00 DB 0C 00 B8 [13:25:01]Write to MH i2c: 01 00 00 DC 0C E8 [13:25:01]Write i2c OK [13:25:01]MH_I2C_Read... [13:25:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 E0 B7 47 00 A7 7C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 BF 57 00 00 F4 03 04 00 51 B9 F3 66 B6 04 01 00 00 AF 71 3D 45 D6 E3 05 64 [13:25:01]CommunicateWithHost err = 0 [13:25:01]CheckOFDResponse [13:25:01]1017 (14) - 77093643461234 [13:25:01]1041 (16) - 0000000000959358 [13:25:01]1040 (4) - 22463 [13:25:01]1012 (4) - 25.09.2024 07:18 [13:25:01]1206 (1) - 0 [13:25:01]OFD Sender: Remove packet 22463 [13:25:01]ProducePacketName [13:25:01]name=ofd_packets/00022463 [13:25:01]NVStorageDeleteData [13:25:02]OFD Sender: No OFD packet to send [13:25:02]*** Cut start [13:25:02]*** Partial cut [13:25:02]*** CUTSNS_PIN = 1 [13:25:02]*** CUTSNS_PIN = 0 [13:25:02]*** Brake cut motor [13:25:03]Read from MH i2c: 01 [13:25:03]MH_I2C_Read... [13:25:03]*** Stop cut motor [13:25:03]*** Cut end [13:25:03]Read from MH i2c: 01 07 00 [13:25:03]MH_I2C_Read... [13:25:03]Read from MH i2c: 01 07 00 DC 0C 00 00 00 00 00 FF 0F FD [13:25:03]process_action close_receipt done [13:25:03]requested_data is exist [13:25:03]produce_requested_data [13:25:03]requested_item fm.sn is exist - process it [13:25:03]wFMCommunicate request_size=4 [13:25:03]MH_SAM_APDU [13:25:03]CAPDU: 80 11 00 00 [13:25:03]Write to MH i2c: E2 08 00 DD 0C 80 11 00 00 00 00 00 00 63 [13:25:03]Write i2c OK [13:25:03]MH_I2C_Read... [13:25:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:25:03]Read from MH i2c: E2 [13:25:03]MH_I2C_Read... [13:25:03]Read from MH i2c: E2 17 00 [13:25:03]MH_I2C_Read... [13:25:03]Read from MH i2c: E2 17 00 DD 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 BD [13:25:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [13:25:03]wFMCommunicate OK [13:25:03]requested_item fd.num is exist - process it [13:25:03]SAM_PROTO_GetFieldsCounters [13:25:03]wFMCommunicate request_size=4 [13:25:03]MH_SAM_APDU [13:25:03]CAPDU: 80 13 00 00 [13:25:03]Write to MH i2c: E2 08 00 DE 0C 80 13 00 00 00 00 00 00 66 [13:25:03]Write i2c OK [13:25:03]MH_I2C_Read... [13:25:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:25:03]Read from MH i2c: E2 [13:25:03]MH_I2C_Read... [13:25:03]Read from MH i2c: E2 62 00 [13:25:03]MH_I2C_Read... [13:25:03]Read from MH i2c: E2 62 00 DE 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 BF 57 00 00 0E 04 04 00 E7 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 F2 [13:25:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 BF 57 00 00 0E 04 04 00 E7 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 [13:25:03]wFMCommunicate OK [13:25:03]SAM_PROTO_GetFieldsCounters done [13:25:03]requested_item shift.num is exist - process it [13:25:03]requested_item shift.opened is exist - process it [13:25:03]req_shift_opened [13:25:03]FM_GetShiftState [13:25:03]SAM_PROTO_GetShiftState [13:25:03]wFMCommunicate request_size=4 [13:25:03]MH_SAM_APDU [13:25:03]CAPDU: 80 13 01 00 [13:25:03]Write to MH i2c: E2 08 00 DF 0C 80 13 01 00 00 00 00 00 68 [13:25:03]Write i2c OK [13:25:03]MH_I2C_Read... [13:25:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:25:03]Read from MH i2c: E2 [13:25:03]MH_I2C_Read... [13:25:03]Read from MH i2c: E2 0E 00 [13:25:03]MH_I2C_Read... [13:25:03]Read from MH i2c: E2 0E 00 DF 0C 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 F9 [13:25:03]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [13:25:03]wFMCommunicate OK [13:25:03]SAM_PROTO_GetShiftState done [13:25:03]FM_GetShiftState done [13:25:03]req_shift_opened done [13:25:03]requested_item shift.open_date is exist - process it [13:25:03]req_shift_open_date [13:25:03]req_shift_open_date done [13:25:03]produce_requested_data done [13:25:03]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22463,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [13:25:03]process_action_free close_receipt [13:25:03]json_value_free [13:25:03]json_value_free done [13:25:03]process_json_proto returns [13:25:03]Send response to host [13:25:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22463,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [13:25:03]free response buf [13:25:03]execute_script done [13:25:03]execute_script returns [13:25:03]free content buf [13:25:03]Sock 9.Close socket [13:25:03]Sock 9.Thread stoped [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:18]accept exits with 8 [13:25:18]New connection [13:25:18]New thread 3067260260 created [13:25:18]Thread 3067116900 joined [13:25:18]Waiting for new connection... [13:25:18] Sock 8.Parse request [13:25:18]Sock 8.Check first char [13:25:18]Sock 8.First char is OK [13:25:18]request: POST /json_proto HTTP/1.0 [13:25:18]Method: POST [13:25:18]URL: /json_proto [13:25:18]Method is POST - this is cgi request [13:25:18]url: /json_proto [13:25:18]query_string will be loaded in cgi processing [13:25:18]execute_cgi json_proto POST (null) [13:25:18]execute_cgi path=json_proto method=POST [13:25:18]POST find Content-Length [13:25:18]Host: 172.17.43.4:8080 [13:25:18]Content-Length: 620 [13:25:18]Content-Type: application/json [13:25:18] [13:25:18]POST finish read [13:25:18]Found Content-Length = 620 [13:25:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51672", "tax_sys" : 0, "items" : [ { "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 149.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:25:18]execute_script... [13:25:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51672", "tax_sys" : 0, "items" : [ { "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 149.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:25:18]POST & json_proto [13:25:18]process_json_proto [13:25:18]json parsed OK: [13:25:18]protocol is kg_v1.0 [13:25:18]action value=close_receipt [13:25:18]process_action close_receipt [13:25:18]cmd_close_receipt [13:25:18]MH_GetDate [13:25:18]Write to MH i2c: F0 00 00 E0 0C DB [13:25:18]Write i2c OK [13:25:18]MH_I2C_Read... [13:25:18]Read from MH i2c: F0 [13:25:18]MH_I2C_Read... [13:25:18]Read from MH i2c: F0 09 00 [13:25:18]MH_I2C_Read... [13:25:18]Read from MH i2c: F0 09 00 E0 0C 00 41 0F F4 66 02 BF CF 66 84 [13:25:18]GetLastDocTimeStamp 1727270703 [13:25:18]current date 1727270721 [13:25:18]FM_GetShiftState [13:25:18]SAM_PROTO_GetShiftState [13:25:18]wFMCommunicate request_size=4 [13:25:18]MH_SAM_APDU [13:25:18]CAPDU: 80 13 01 00 [13:25:18]Write to MH i2c: E2 08 00 E1 0C 80 13 01 00 00 00 00 00 6A [13:25:18]Write i2c OK [13:25:18]MH_I2C_Read... [13:25:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:25:18]Read from MH i2c: E2 [13:25:18]MH_I2C_Read... [13:25:18]Read from MH i2c: E2 0E 00 [13:25:18]MH_I2C_Read... [13:25:18]Read from MH i2c: E2 0E 00 E1 0C 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 FB [13:25:18]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [13:25:18]wFMCommunicate OK [13:25:18]SAM_PROTO_GetShiftState done [13:25:18]FM_GetShiftState done [13:25:18]opened in 1727224020 [13:25:18]opened+sec_in_day 1727310420 [13:25:18]quantity*price = 14900 [13:25:18]sum+1 = 14901 [13:25:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 149.00 НСП 1% : 1.32 НДС 12% : 15.82 Наличными: 149.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 37 25.09.2024 13:25 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22464 ФПД: 3612907648089 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T132522&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22464&fm=3612907648089&tin=02508201610067®Number=0000000000146243&sum=14900 0 [13:25:19]StoreToDocumentArchive [13:25:19]shift 231 fd 22464 [13:25:19]save to /storage/0231/doc_00022464 [13:25:19]save last doc name /storage/0231/doc_00022464 to /storage/kkm_last_doc_name [13:25:19]save OK [13:25:19]Clear old archive folders... [13:25:19]ProcessDocumentItem done err = 0, tmpTLVsize=273 [13:25:19]tlvbuf is 00335CD0 [13:25:19]SAM_PROTO_ClearQueue [13:25:19]wFMCommunicate request_size=4 [13:25:19]MH_SAM_APDU [13:25:19]CAPDU: 80 09 00 00 [13:25:19]Write to MH i2c: E2 08 00 EE 0C 80 09 00 00 00 00 00 00 6C [13:25:19]Write i2c OK [13:25:19]MH_I2C_Read... [13:25:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:25:19]Read from MH i2c: E2 [13:25:19]MH_I2C_Read... [13:25:19]Read from MH i2c: E2 03 00 [13:25:19]MH_I2C_Read... [13:25:19]Read from MH i2c: E2 03 00 EE 0C 00 90 00 6E [13:25:19]RAPDU: 90 00 [13:25:19]wFMCommunicate OK [13:25:19]SAM_PROTO_ClearQueue done [13:25:19]KKMCreateOFDPacket [13:25:19]OFDProtocolAddRootSTLVToBuf [13:25:19]FM_MakeSignedData [13:25:19]FM_MakeSignedData [13:25:19]SAM_PROTO_SignData [13:25:19]wFMCommunicate request_size=4 [13:25:19]MH_SAM_APDU [13:25:19]CAPDU: 80 0D 01 02 [13:25:19]Write to MH i2c: E2 08 00 EF 0C 80 0D 01 02 00 00 00 00 74 [13:25:19]Write i2c OK [13:25:19]MH_I2C_Read... [13:25:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:25:19]Read from MH i2c: E2 [13:25:19]MH_I2C_Read... [13:25:19]Read from MH i2c: E2 03 00 [13:25:19]MH_I2C_Read... [13:25:19]Read from MH i2c: E2 03 00 EF 0C 00 90 00 6F [13:25:19]RAPDU: 90 00 [13:25:19]wFMCommunicate OK [13:25:19]wFMCommunicate request_size=255 [13:25:19]MH_SAM_APDU [13:25:19]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 42 0F F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 [13:25:19]Write to MH i2c: E2 02 01 F0 0C 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 42 0F F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 00 00 C1 [13:25:19]Write i2c OK [13:25:19]MH_I2C_Read... [13:25:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:25:19]Read from MH i2c: E2 [13:25:19]MH_I2C_Read... [13:25:19]Read from MH i2c: E2 03 00 [13:25:19]MH_I2C_Read... [13:25:19]Read from MH i2c: E2 03 00 F0 0C 00 90 00 70 [13:25:19]RAPDU: 90 00 [13:25:19]wFMCommunicate OK [13:25:19]wFMCommunicate request_size=32 [13:25:19]MH_SAM_APDU [13:25:19]CAPDU: 80 0D 02 02 1B 30 30 30 39 35 39 33 35 38 10 04 04 00 C0 57 00 00 35 04 06 00 03 49 32 13 B4 59 [13:25:19]Write to MH i2c: E2 23 00 F1 0C 80 0D 02 02 1B 00 30 30 30 39 35 39 33 35 38 10 04 04 00 C0 57 00 00 35 04 06 00 03 49 32 13 B4 59 00 00 90 [13:25:19]Write i2c OK [13:25:19]MH_I2C_Read... [13:25:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:25:20]Read from MH i2c: E2 [13:25:20]MH_I2C_Read... [13:25:20]Read from MH i2c: E2 03 00 [13:25:20]MH_I2C_Read... [13:25:20]Read from MH i2c: E2 03 00 F1 0C 00 90 00 71 [13:25:20]RAPDU: 90 00 [13:25:20]wFMCommunicate OK [13:25:20]wFMCommunicate request_size=4 [13:25:20]MH_SAM_APDU [13:25:20]CAPDU: 80 0D 03 02 [13:25:20]Write to MH i2c: E2 08 00 F2 0C 80 0D 03 02 00 00 00 00 79 [13:25:20]Write i2c OK [13:25:20]MH_I2C_Read... [13:25:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:25:20]Read from MH i2c: E2 [13:25:20]MH_I2C_Read... [13:25:20]Read from MH i2c: E2 0B 00 [13:25:20]MH_I2C_Read... [13:25:20]Read from MH i2c: E2 0B 00 F2 0C 00 93 82 20 E9 A2 AF C5 6E 90 00 1C [13:25:20]RAPDU: 93 82 20 E9 A2 AF C5 6E 90 00 [13:25:20]wFMCommunicate OK [13:25:20]SAM_PROTO_SignData done [13:25:20]FM_MakeSignedData done [13:25:20]CreateOFDProtocolMessage [13:25:20]wFMCommunicate request_size=4 [13:25:20]MH_SAM_APDU [13:25:20]CAPDU: 80 11 00 00 [13:25:20]Write to MH i2c: E2 08 00 F3 0C 80 11 00 00 00 00 00 00 79 [13:25:20]Write i2c OK [13:25:20]MH_I2C_Read... [13:25:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:25:20]Read from MH i2c: E2 [13:25:20]MH_I2C_Read... [13:25:20]Read from MH i2c: E2 17 00 [13:25:20]MH_I2C_Read... [13:25:20]Read from MH i2c: E2 17 00 F3 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 D3 [13:25:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [13:25:20]wFMCommunicate OK [13:25:20]CreateOFDProtocolMessage done [13:25:20]OFDSenderStorePacket 22464 [13:25:20]StoreOFDPacket docnum=22464 [13:25:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 25 01 00 00 69 4D 1D 01 E5 56 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 42 0F F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C0 57 00 00 35 04 06 00 03 49 32 13 B4 59 93 82 20 E9 A2 AF C5 6E [13:25:20]CheckFolder [13:25:20]dirname=/storage/ofd_packets [13:25:20]CheckFolder done [13:25:20]ProducePacketName [13:25:20]name=ofd_packets/00022464 [13:25:20]NVStorageSaveData ofd_packets/00022464 [13:25:20]File name is /storage/ofd_packets/00022464 [13:25:20]Write 323 bytes [13:25:20]NVStorageSaveData done [13:25:20]OFDSenderStorePacket done [13:25:20]KKMCreateOFDPacket done [13:25:20]NVStorageSaveData kkm_last_timestamp [13:25:20]File name is /storage/kkm_last_timestamp [13:25:20]Write 4 bytes [13:25:20]NVStorageSaveData done [13:25:20]ExternCall_PrintAddStr [13:25:20]wPrintStart [13:25:20]Write to MH i2c: 01 00 00 F4 0C 00 [13:25:20]Write i2c OK [13:25:20]MH_I2C_Read... [13:25:20]Read from MH i2c: 01 [13:25:20]MH_I2C_Read... [13:25:20]Read from MH i2c: 01 07 00 [13:25:20]MH_I2C_Read... [13:25:20]Read from MH i2c: 01 07 00 F4 0C 00 00 00 00 00 FF 0F 15 [13:25:20]RasterBufferAndPrint [13:25:20]line Счет N : (3)51672 [13:25:20]line ИНН: 02508201610067 [13:25:20]line Контрольно-Кассовый Чек [13:25:20]line ПРОДАЖА [13:25:20]line Товар: 48744119 [13:25:20]line Сигареты Winston Xstyle Dual [13:25:20]line 1.000 * 149.00 [13:25:20]line = 149.00 [13:25:20]line НДС 12% НСП 1% [13:25:20]line > о реализуемом товаре [13:25:20]line ИТОГО: 149.00 [13:25:20]line НСП 1% : 1.32 [13:25:20]line НДС 12% : 15.82 [13:25:20]line Наличными: 149.00 [13:25:20]line Безнал.: 0.00 [13:25:20]line Место: АЗС № 88 "Партнер Нефть" [13:25:20]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [13:25:20]line СНО: Общий режим [13:25:20]line Чек 37 25.09.2024 13:25 [13:25:20]line Смена: 231 ФФД: 1.0 [13:25:20]line ЗНМ: 0300000061 [13:25:20]line РНМ: 0000000000146243 [13:25:20]line Версия ККМ: v1.0 [13:25:20]line ФМ: 0000000000959358 [13:25:20]line ФД: 22464 [13:25:20]line ФПД: 3612907648089 [13:25:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T132522&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22464&fm=3612907648089&tin=02508201610067®Number=0000000000146243&sum=14900 [13:25:20]OFD Sender: Processing packet 22464 [packets to send 23, broken 22] [13:25:20]ProducePacketName [13:25:20]name=ofd_packets/00022464 [13:25:20]OFD Sender: To server: pG, [13:25:20]CommunicateWithHost lk.salyk.kg:30040 [13:25:20]ConnectInit lk.salyk.kg [13:25:20]line 0 [13:25:20]written 0, free lines is 4095 [13:25:20]Connected sock=10 [13:25:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 25 01 00 00 69 4D 1D 01 E5 56 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 42 0F F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C0 57 00 00 35 04 06 00 03 49 32 13 B4 59 93 82 20 E9 A2 AF C5 6E [13:25:20]Write to MH i2c: 01 00 00 1C 0D 29 [13:25:20]Write i2c OK [13:25:20]MH_I2C_Read... [13:25:20]Read from MH i2c: 01 [13:25:20]MH_I2C_Read... [13:25:20]Read from MH i2c: 01 07 00 [13:25:20]MH_I2C_Read... [13:25:20]Read from MH i2c: 01 07 00 1C 0D 00 00 00 00 00 2A 0D 67 [13:25:20]RasterBufferAndPrint [13:25:20]line [13:25:20]line [13:25:20]line [13:25:20]line [13:25:20]line [13:25:20]written 0, free lines is 3377 [13:25:20]MH_Cut [13:25:20]Write to MH i2c: D1 01 00 23 0D 01 02 [13:25:20]Write i2c OK [13:25:20]MH_I2C_Read... [13:25:20]Read from MH i2c: D1 [13:25:20]MH_I2C_Read... [13:25:20]Read from MH i2c: D1 01 00 [13:25:20]MH_I2C_Read... [13:25:20]Read from MH i2c: D1 01 00 23 0D 00 01 [13:25:20]Write to MH i2c: 01 00 00 24 0D 31 [13:25:20]Write i2c OK [13:25:20]MH_I2C_Read... [13:25:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 AB 39 47 00 F0 D4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C0 57 00 00 F4 03 04 00 64 B9 F3 66 B6 04 01 00 00 97 F6 B1 D5 B5 43 29 EA [13:25:20]CommunicateWithHost err = 0 [13:25:20]CheckOFDResponse [13:25:20]1017 (14) - 77093643461234 [13:25:20]1041 (16) - 0000000000959358 [13:25:20]1040 (4) - 22464 [13:25:20]1012 (4) - 25.09.2024 07:19 [13:25:20]1206 (1) - 0 [13:25:20]OFD Sender: Remove packet 22464 [13:25:20]ProducePacketName [13:25:20]name=ofd_packets/00022464 [13:25:20]NVStorageDeleteData [13:25:21]OFD Sender: No OFD packet to send [13:25:21]*** Cut start [13:25:21]*** Partial cut [13:25:21]*** CUTSNS_PIN = 1 [13:25:21]*** CUTSNS_PIN = 0 [13:25:21]*** Brake cut motor [13:25:22]Read from MH i2c: 01 [13:25:22]MH_I2C_Read... [13:25:22]*** Stop cut motor [13:25:22]*** Cut end [13:25:22]Read from MH i2c: 01 07 00 [13:25:22]MH_I2C_Read... [13:25:22]Read from MH i2c: 01 07 00 24 0D 00 00 00 00 00 FF 0F 46 [13:25:22]process_action close_receipt done [13:25:22]requested_data is exist [13:25:22]produce_requested_data [13:25:22]requested_item fm.sn is exist - process it [13:25:22]wFMCommunicate request_size=4 [13:25:22]MH_SAM_APDU [13:25:22]CAPDU: 80 11 00 00 [13:25:22]Write to MH i2c: E2 08 00 25 0D 80 11 00 00 00 00 00 00 AC [13:25:22]Write i2c OK [13:25:22]MH_I2C_Read... [13:25:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:25:22]Read from MH i2c: E2 [13:25:22]MH_I2C_Read... [13:25:22]Read from MH i2c: E2 17 00 [13:25:22]MH_I2C_Read... [13:25:22]Read from MH i2c: E2 17 00 25 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 06 [13:25:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [13:25:22]wFMCommunicate OK [13:25:22]requested_item fd.num is exist - process it [13:25:22]SAM_PROTO_GetFieldsCounters [13:25:22]wFMCommunicate request_size=4 [13:25:22]MH_SAM_APDU [13:25:22]CAPDU: 80 13 00 00 [13:25:22]Write to MH i2c: E2 08 00 26 0D 80 13 00 00 00 00 00 00 AF [13:25:22]Write i2c OK [13:25:22]MH_I2C_Read... [13:25:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:25:22]Read from MH i2c: E2 [13:25:22]MH_I2C_Read... [13:25:22]Read from MH i2c: E2 62 00 [13:25:22]MH_I2C_Read... [13:25:22]Read from MH i2c: E2 62 00 26 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 C0 57 00 00 0E 04 04 00 E7 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 3F [13:25:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 C0 57 00 00 0E 04 04 00 E7 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 [13:25:22]wFMCommunicate OK [13:25:22]SAM_PROTO_GetFieldsCounters done [13:25:22]requested_item shift.num is exist - process it [13:25:22]requested_item shift.opened is exist - process it [13:25:22]req_shift_opened [13:25:22]FM_GetShiftState [13:25:22]SAM_PROTO_GetShiftState [13:25:22]wFMCommunicate request_size=4 [13:25:22]MH_SAM_APDU [13:25:22]CAPDU: 80 13 01 00 [13:25:22]Write to MH i2c: E2 08 00 27 0D 80 13 01 00 00 00 00 00 B1 [13:25:22]Write i2c OK [13:25:22]MH_I2C_Read... [13:25:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:25:22]Read from MH i2c: E2 [13:25:22]MH_I2C_Read... [13:25:22]Read from MH i2c: E2 0E 00 [13:25:22]MH_I2C_Read... [13:25:22]Read from MH i2c: E2 0E 00 27 0D 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 42 [13:25:22]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [13:25:22]wFMCommunicate OK [13:25:22]SAM_PROTO_GetShiftState done [13:25:22]FM_GetShiftState done [13:25:22]req_shift_opened done [13:25:22]requested_item shift.open_date is exist - process it [13:25:22]req_shift_open_date [13:25:22]req_shift_open_date done [13:25:22]produce_requested_data done [13:25:22]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22464,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [13:25:22]process_action_free close_receipt [13:25:22]json_value_free [13:25:22]json_value_free done [13:25:22]process_json_proto returns [13:25:22]Send response to host [13:25:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22464,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [13:25:22]free response buf [13:25:22]execute_script done [13:25:22]execute_script returns [13:25:22]free content buf [13:25:22]Sock 8.Close socket [13:25:22]Sock 8.Thread stoped [13:25:26]OFD Sender: No OFD packet to send [13:25:31]OFD Sender: No OFD packet to send [13:25:36]OFD Sender: No OFD packet to send [13:25:41]OFD Sender: No OFD packet to send [13:25:46]OFD Sender: No OFD packet to send [13:25:51]OFD Sender: No OFD packet to send [13:25:56]OFD Sender: No OFD packet to send [13:26:01]OFD Sender: No OFD packet to send [13:26:06]OFD Sender: No OFD packet to send [13:26:11]OFD Sender: No OFD packet to send [13:26:16]OFD Sender: No OFD packet to send [13:26:21]OFD Sender: No OFD packet to send [13:26:26]OFD Sender: No OFD packet to send [13:26:31]OFD Sender: No OFD packet to send [13:26:36]OFD Sender: No OFD packet to send [13:26:41]OFD Sender: No OFD packet to send [13:26:46]OFD Sender: No OFD packet to send [13:26:51]OFD Sender: No OFD packet to send [13:26:56]OFD Sender: No OFD packet to send [13:27:01]OFD Sender: No OFD packet to send [13:27:06]OFD Sender: No OFD packet to send [13:27:11]OFD Sender: No OFD packet to send [13:27:16]OFD Sender: No OFD packet to send [13:27:21]OFD Sender: No OFD packet to send [13:27:26]OFD Sender: No OFD packet to send [13:27:31]OFD Sender: No OFD packet to send [13:27:36]OFD Sender: No OFD packet to send [13:27:41]OFD Sender: No OFD packet to send [13:27:46]OFD Sender: No OFD packet to send [13:27:51]OFD Sender: No OFD packet to send [13:27:56]OFD Sender: No OFD packet to send [13:28:01]OFD Sender: No OFD packet to send [13:28:06]OFD Sender: No OFD packet to send [13:28:11]OFD Sender: No OFD packet to send [13:28:16]OFD Sender: No OFD packet to send [13:28:21]OFD Sender: No OFD packet to send [13:28:26]OFD Sender: No OFD packet to send [13:28:31]OFD Sender: No OFD packet to send [13:28:36]OFD Sender: No OFD packet to send [13:28:41]OFD Sender: No OFD packet to send [13:28:46]OFD Sender: No OFD packet to send [13:28:51]OFD Sender: No OFD packet to send [13:28:53]accept exits with 9 [13:28:53]New connection [13:28:53]New thread 3067116900 created [13:28:53]Thread 3067260260 joined [13:28:53]Waiting for new connection... [13:28:53] Sock 9.Parse request [13:28:53]Sock 9.Check first char [13:28:53]Sock 9.First char is OK [13:28:53]request: POST /json_proto HTTP/1.0 [13:28:53]Method: POST [13:28:53]URL: /json_proto [13:28:53]Method is POST - this is cgi request [13:28:53]url: /json_proto [13:28:53]query_string will be loaded in cgi processing [13:28:53]execute_cgi json_proto POST (null) [13:28:53]execute_cgi path=json_proto method=POST [13:28:53]POST find Content-Length [13:28:53]Host: 172.17.43.4:8080 [13:28:53]Content-Length: 628 [13:28:53]Content-Type: application/json [13:28:53] [13:28:53]POST finish read [13:28:53]Found Content-Length = 628 [13:28:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51673", "tax_sys" : 0, "items" : [ { "code": "4620006996716", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,1\u043B", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:28:53]execute_script... [13:28:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51673", "tax_sys" : 0, "items" : [ { "code": "4620006996716", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,1\u043B", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:28:53]POST & json_proto [13:28:53]process_json_proto [13:28:53]json parsed OK: [13:28:53]protocol is kg_v1.0 [13:28:53]action value=close_receipt [13:28:53]process_action close_receipt [13:28:53]cmd_close_receipt [13:28:53]MH_GetDate [13:28:53]Write to MH i2c: F0 00 00 28 0D 24 [13:28:53]Write i2c OK [13:28:53]MH_I2C_Read... [13:28:53]Read from MH i2c: F0 [13:28:53]MH_I2C_Read... [13:28:53]Read from MH i2c: F0 09 00 [13:28:53]MH_I2C_Read... [13:28:53]Read from MH i2c: F0 09 00 28 0D 00 19 10 F4 66 02 BF CF 66 A6 [13:28:53]GetLastDocTimeStamp 1727270722 [13:28:53]current date 1727270937 [13:28:53]FM_GetShiftState [13:28:53]SAM_PROTO_GetShiftState [13:28:53]wFMCommunicate request_size=4 [13:28:53]MH_SAM_APDU [13:28:53]CAPDU: 80 13 01 00 [13:28:53]Write to MH i2c: E2 08 00 29 0D 80 13 01 00 00 00 00 00 B3 [13:28:53]Write i2c OK [13:28:53]MH_I2C_Read... [13:28:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:28:53]Read from MH i2c: E2 [13:28:53]MH_I2C_Read... [13:28:53]Read from MH i2c: E2 0E 00 [13:28:53]MH_I2C_Read... [13:28:53]Read from MH i2c: E2 0E 00 29 0D 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 44 [13:28:53]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [13:28:53]wFMCommunicate OK [13:28:53]SAM_PROTO_GetShiftState done [13:28:53]FM_GetShiftState done [13:28:53]opened in 1727224020 [13:28:53]opened+sec_in_day 1727310420 [13:28:53]quantity*price = 13000 [13:28:53]sum+1 = 13001 [13:28:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 38 25.09.2024 13:28 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22465 ФПД: 174472919218350 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T132857&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22465&fm=174472919218350&tin=02508201610067®Number=0000000000146243&sum=13000 0 [13:28:54]StoreToDocumentArchive [13:28:54]shift 231 fd 22465 [13:28:54]save to /storage/0231/doc_00022465 [13:28:54]save last doc name /storage/0231/doc_00022465 to /storage/kkm_last_doc_name [13:28:54]save OK [13:28:54]Clear old archive folders... [13:28:54]ProcessDocumentItem done err = 0, tmpTLVsize=269 [13:28:54]tlvbuf is 00396960 [13:28:54]SAM_PROTO_ClearQueue [13:28:54]wFMCommunicate request_size=4 [13:28:54]MH_SAM_APDU [13:28:54]CAPDU: 80 09 00 00 [13:28:54]Write to MH i2c: E2 08 00 36 0D 80 09 00 00 00 00 00 00 B5 [13:28:54]Write i2c OK [13:28:54]MH_I2C_Read... [13:28:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:28:54]Read from MH i2c: E2 [13:28:54]MH_I2C_Read... [13:28:54]Read from MH i2c: E2 03 00 [13:28:54]MH_I2C_Read... [13:28:54]Read from MH i2c: E2 03 00 36 0D 00 90 00 B7 [13:28:54]RAPDU: 90 00 [13:28:54]wFMCommunicate OK [13:28:54]SAM_PROTO_ClearQueue done [13:28:54]KKMCreateOFDPacket [13:28:54]OFDProtocolAddRootSTLVToBuf [13:28:54]FM_MakeSignedData [13:28:54]FM_MakeSignedData [13:28:54]SAM_PROTO_SignData [13:28:54]wFMCommunicate request_size=4 [13:28:54]MH_SAM_APDU [13:28:54]CAPDU: 80 0D 01 02 [13:28:54]Write to MH i2c: E2 08 00 37 0D 80 0D 01 02 00 00 00 00 BD [13:28:54]Write i2c OK [13:28:54]MH_I2C_Read... [13:28:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:28:54]Read from MH i2c: E2 [13:28:54]MH_I2C_Read... [13:28:54]Read from MH i2c: E2 03 00 [13:28:54]MH_I2C_Read... [13:28:54]Read from MH i2c: E2 03 00 37 0D 00 90 00 B8 [13:28:54]RAPDU: 90 00 [13:28:54]wFMCommunicate OK [13:28:54]wFMCommunicate request_size=255 [13:28:54]MH_SAM_APDU [13:28:54]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 19 10 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [13:28:54]Write to MH i2c: E2 02 01 38 0D 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 19 10 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 71 [13:28:54]Write i2c OK [13:28:54]MH_I2C_Read... [13:28:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:28:55]Read from MH i2c: E2 [13:28:55]MH_I2C_Read... [13:28:55]Read from MH i2c: E2 03 00 [13:28:55]MH_I2C_Read... [13:28:55]Read from MH i2c: E2 03 00 38 0D 00 90 00 B9 [13:28:55]RAPDU: 90 00 [13:28:55]wFMCommunicate OK [13:28:55]wFMCommunicate request_size=28 [13:28:55]MH_SAM_APDU [13:28:55]CAPDU: 80 0D 02 02 17 35 39 33 35 38 10 04 04 00 C1 57 00 00 35 04 06 00 9E AE A4 5F 78 AE [13:28:55]Write to MH i2c: E2 1F 00 39 0D 80 0D 02 02 17 00 35 39 33 35 38 10 04 04 00 C1 57 00 00 35 04 06 00 9E AE A4 5F 78 AE 00 00 E0 [13:28:55]Write i2c OK [13:28:55]MH_I2C_Read... [13:28:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:28:55]Read from MH i2c: E2 [13:28:55]MH_I2C_Read... [13:28:55]Read from MH i2c: E2 03 00 [13:28:55]MH_I2C_Read... [13:28:55]Read from MH i2c: E2 03 00 39 0D 00 90 00 BA [13:28:55]RAPDU: 90 00 [13:28:55]wFMCommunicate OK [13:28:55]wFMCommunicate request_size=4 [13:28:55]MH_SAM_APDU [13:28:55]CAPDU: 80 0D 03 02 [13:28:55]Write to MH i2c: E2 08 00 3A 0D 80 0D 03 02 00 00 00 00 C2 [13:28:55]Write i2c OK [13:28:55]MH_I2C_Read... [13:28:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:28:55]Read from MH i2c: E2 [13:28:55]MH_I2C_Read... [13:28:55]Read from MH i2c: E2 0B 00 [13:28:55]MH_I2C_Read... [13:28:55]Read from MH i2c: E2 0B 00 3A 0D 00 E5 F6 70 D8 FB 4F AD 0E 90 00 EB [13:28:55]RAPDU: E5 F6 70 D8 FB 4F AD 0E 90 00 [13:28:55]wFMCommunicate OK [13:28:55]SAM_PROTO_SignData done [13:28:55]FM_MakeSignedData done [13:28:55]CreateOFDProtocolMessage [13:28:55]wFMCommunicate request_size=4 [13:28:55]MH_SAM_APDU [13:28:55]CAPDU: 80 11 00 00 [13:28:55]Write to MH i2c: E2 08 00 3B 0D 80 11 00 00 00 00 00 00 C2 [13:28:55]Write i2c OK [13:28:55]MH_I2C_Read... [13:28:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:28:55]Read from MH i2c: E2 [13:28:55]MH_I2C_Read... [13:28:55]Read from MH i2c: E2 17 00 [13:28:55]MH_I2C_Read... [13:28:55]Read from MH i2c: E2 17 00 3B 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 1C [13:28:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [13:28:55]wFMCommunicate OK [13:28:55]CreateOFDProtocolMessage done [13:28:55]OFDSenderStorePacket 22465 [13:28:55]StoreOFDPacket docnum=22465 [13:28:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 21 01 00 00 4D 7A 19 01 AB 80 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 19 10 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C1 57 00 00 35 04 06 00 9E AE A4 5F 78 AE E5 F6 70 D8 FB 4F AD 0E [13:28:55]CheckFolder [13:28:55]dirname=/storage/ofd_packets [13:28:55]CheckFolder done [13:28:55]ProducePacketName [13:28:55]name=ofd_packets/00022465 [13:28:55]NVStorageSaveData ofd_packets/00022465 [13:28:55]File name is /storage/ofd_packets/00022465 [13:28:55]Write 319 bytes [13:28:55]NVStorageSaveData done [13:28:55]OFDSenderStorePacket done [13:28:55]KKMCreateOFDPacket done [13:28:55]NVStorageSaveData kkm_last_timestamp [13:28:55]File name is /storage/kkm_last_timestamp [13:28:55]Write 4 bytes [13:28:55]NVStorageSaveData done [13:28:55]ExternCall_PrintAddStr [13:28:55]wPrintStart [13:28:55]Write to MH i2c: 01 00 00 3C 0D 49 [13:28:55]Write i2c OK [13:28:55]MH_I2C_Read... [13:28:55]Read from MH i2c: 01 [13:28:55]MH_I2C_Read... [13:28:55]Read from MH i2c: 01 07 00 [13:28:55]MH_I2C_Read... [13:28:55]Read from MH i2c: 01 07 00 3C 0D 00 00 00 00 00 FF 0F 5E [13:28:55]RasterBufferAndPrint [13:28:55]line Счет N : (3)51673 [13:28:55]line ИНН: 02508201610067 [13:28:55]line Контрольно-Кассовый Чек [13:28:55]line ПРОДАЖА [13:28:55]line Товар: 4620006996716 [13:28:55]line Водка Талка 0,1л [13:28:55]line 1.000 * 130.00 [13:28:55]line = 130.00 [13:28:55]line НДС 12% НСП 1% [13:28:55]line > о реализуемом товаре [13:28:55]line ИТОГО: 130.00 [13:28:55]line НСП 1% : 1.15 [13:28:55]line НДС 12% : 13.80 [13:28:55]line Наличными: 130.00 [13:28:55]line Безнал.: 0.00 [13:28:55]line Место: АЗС № 88 "Партнер Нефть" [13:28:55]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [13:28:55]line СНО: Общий режим [13:28:55]line Чек 38 25.09.2024 13:28 [13:28:55]line Смена: 231 ФФД: 1.0 [13:28:55]line ЗНМ: 0300000061 [13:28:55]line РНМ: 0000000000146243 [13:28:55]line Версия ККМ: v1.0 [13:28:55]line ФМ: 0000000000959358 [13:28:55]line ФД: 22465 [13:28:55]line ФПД: 174472919218350 [13:28:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T132857&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22465&fm=174472919218350&tin=02508201610067®Number=0000000000146243&sum=13000 [13:28:55]line 0 [13:28:55]OFD Sender: Processing packet 22465 [packets to send 23, broken 22] [13:28:55]ProducePacketName [13:28:55]name=ofd_packets/00022465 [13:28:55]OFD Sender: To server: pG, [13:28:55]CommunicateWithHost lk.salyk.kg:30040 [13:28:55]ConnectInit lk.salyk.kg [13:28:55]written 0, free lines is 4095 [13:28:55]Connected sock=11 [13:28:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 21 01 00 00 4D 7A 19 01 AB 80 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 19 10 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C1 57 00 00 35 04 06 00 9E AE A4 5F 78 AE E5 F6 70 D8 FB 4F AD 0E [13:28:55]Write to MH i2c: 01 00 00 64 0D 71 [13:28:55]Write i2c OK [13:28:55]MH_I2C_Read... [13:28:55]Read from MH i2c: 01 [13:28:55]MH_I2C_Read... [13:28:55]Read from MH i2c: 01 07 00 [13:28:55]MH_I2C_Read... [13:28:55]Read from MH i2c: 01 07 00 64 0D 00 00 00 00 00 25 0D AA [13:28:55]RasterBufferAndPrint [13:28:55]line [13:28:55]line [13:28:55]line [13:28:55]line [13:28:55]line [13:28:55]written 0, free lines is 3371 [13:28:55]MH_Cut [13:28:55]Write to MH i2c: D1 01 00 6B 0D 01 4A [13:28:55]Write i2c OK [13:28:55]MH_I2C_Read... [13:28:55]Read from MH i2c: D1 [13:28:55]MH_I2C_Read... [13:28:55]Read from MH i2c: D1 01 00 [13:28:55]MH_I2C_Read... [13:28:55]Read from MH i2c: D1 01 00 6B 0D 00 49 [13:28:55]Write to MH i2c: 01 00 00 6C 0D 79 [13:28:55]Write i2c OK [13:28:55]MH_I2C_Read... [13:28:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 91 60 47 00 C4 FC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C1 57 00 00 F4 03 04 00 3B BA F3 66 B6 04 01 00 00 A9 2D 16 81 EF B2 1C 76 [13:28:56]CommunicateWithHost err = 0 [13:28:56]CheckOFDResponse [13:28:56]1017 (14) - 77093643461234 [13:28:56]1041 (16) - 0000000000959358 [13:28:56]1040 (4) - 22465 [13:28:56]1012 (4) - 25.09.2024 07:22 [13:28:56]1206 (1) - 0 [13:28:56]OFD Sender: Remove packet 22465 [13:28:56]ProducePacketName [13:28:56]name=ofd_packets/00022465 [13:28:56]NVStorageDeleteData [13:28:56]*** Cut start [13:28:56]*** Partial cut [13:28:56]*** CUTSNS_PIN = 1 [13:28:56]*** CUTSNS_PIN = 0 [13:28:56]*** Brake cut motor [13:28:56]OFD Sender: No OFD packet to send [13:28:57]Read from MH i2c: 01 [13:28:57]MH_I2C_Read... [13:28:57]*** Stop cut motor [13:28:57]*** Cut end [13:28:57]Read from MH i2c: 01 07 00 [13:28:57]MH_I2C_Read... [13:28:57]Read from MH i2c: 01 07 00 6C 0D 00 00 00 00 00 FF 0F 8E [13:28:57]process_action close_receipt done [13:28:57]requested_data is exist [13:28:57]produce_requested_data [13:28:57]requested_item fm.sn is exist - process it [13:28:57]wFMCommunicate request_size=4 [13:28:57]MH_SAM_APDU [13:28:57]CAPDU: 80 11 00 00 [13:28:57]Write to MH i2c: E2 08 00 6D 0D 80 11 00 00 00 00 00 00 F4 [13:28:57]Write i2c OK [13:28:57]MH_I2C_Read... [13:28:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:28:57]Read from MH i2c: E2 [13:28:57]MH_I2C_Read... [13:28:57]Read from MH i2c: E2 17 00 [13:28:57]MH_I2C_Read... [13:28:57]Read from MH i2c: E2 17 00 6D 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 4E [13:28:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [13:28:57]wFMCommunicate OK [13:28:57]requested_item fd.num is exist - process it [13:28:57]SAM_PROTO_GetFieldsCounters [13:28:57]wFMCommunicate request_size=4 [13:28:57]MH_SAM_APDU [13:28:57]CAPDU: 80 13 00 00 [13:28:57]Write to MH i2c: E2 08 00 6E 0D 80 13 00 00 00 00 00 00 F7 [13:28:57]Write i2c OK [13:28:57]MH_I2C_Read... [13:28:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:28:57]Read from MH i2c: E2 [13:28:57]MH_I2C_Read... [13:28:57]Read from MH i2c: E2 62 00 [13:28:57]MH_I2C_Read... [13:28:57]Read from MH i2c: E2 62 00 6E 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 C1 57 00 00 0E 04 04 00 E7 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 8B [13:28:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 C1 57 00 00 0E 04 04 00 E7 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 [13:28:57]wFMCommunicate OK [13:28:57]SAM_PROTO_GetFieldsCounters done [13:28:57]requested_item shift.num is exist - process it [13:28:57]requested_item shift.opened is exist - process it [13:28:57]req_shift_opened [13:28:57]FM_GetShiftState [13:28:57]SAM_PROTO_GetShiftState [13:28:57]wFMCommunicate request_size=4 [13:28:57]MH_SAM_APDU [13:28:57]CAPDU: 80 13 01 00 [13:28:57]Write to MH i2c: E2 08 00 6F 0D 80 13 01 00 00 00 00 00 F9 [13:28:57]Write i2c OK [13:28:57]MH_I2C_Read... [13:28:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:28:57]Read from MH i2c: E2 [13:28:57]MH_I2C_Read... [13:28:57]Read from MH i2c: E2 0E 00 [13:28:57]MH_I2C_Read... [13:28:57]Read from MH i2c: E2 0E 00 6F 0D 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 8A [13:28:57]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [13:28:57]wFMCommunicate OK [13:28:57]SAM_PROTO_GetShiftState done [13:28:57]FM_GetShiftState done [13:28:57]req_shift_opened done [13:28:57]requested_item shift.open_date is exist - process it [13:28:57]req_shift_open_date [13:28:57]req_shift_open_date done [13:28:57]produce_requested_data done [13:28:57]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22465,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [13:28:57]process_action_free close_receipt [13:28:57]json_value_free [13:28:57]json_value_free done [13:28:57]process_json_proto returns [13:28:57]Send response to host [13:28:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22465,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [13:28:57]free response buf [13:28:57]execute_script done [13:28:57]execute_script returns [13:28:57]free content buf [13:28:57]Sock 9.Close socket [13:28:57]Sock 9.Thread stoped [13:29:01]OFD Sender: No OFD packet to send [13:29:06]OFD Sender: No OFD packet to send [13:29:11]OFD Sender: No OFD packet to send [13:29:16]OFD Sender: No OFD packet to send [13:29:21]OFD Sender: No OFD packet to send [13:29:25]accept exits with 8 [13:29:25]New connection [13:29:25]New thread 3067260260 created [13:29:25]Thread 3067116900 joined [13:29:25]Waiting for new connection... [13:29:25] Sock 8.Parse request [13:29:25]Sock 8.Check first char [13:29:25]Sock 8.First char is OK [13:29:25]request: POST /json_proto HTTP/1.0 [13:29:25]Method: POST [13:29:25]URL: /json_proto [13:29:25]Method is POST - this is cgi request [13:29:25]url: /json_proto [13:29:25]query_string will be loaded in cgi processing [13:29:25]execute_cgi json_proto POST (null) [13:29:25]execute_cgi path=json_proto method=POST [13:29:25]POST find Content-Length [13:29:25]Host: 172.17.43.4:8080 [13:29:25]Content-Length: 639 [13:29:25]Content-Type: application/json [13:29:25] [13:29:25]POST finish read [13:29:25]Found Content-Length = 639 [13:29:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51674", "tax_sys" : 0, "items" : [ { "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "price" : 70.00, "quantity" : 2.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:29:25]execute_script... [13:29:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51674", "tax_sys" : 0, "items" : [ { "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "price" : 70.00, "quantity" : 2.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:29:25]POST & json_proto [13:29:25]process_json_proto [13:29:25]json parsed OK: [13:29:25]protocol is kg_v1.0 [13:29:25]action value=close_receipt [13:29:25]process_action close_receipt [13:29:25]cmd_close_receipt [13:29:25]MH_GetDate [13:29:25]Write to MH i2c: F0 00 00 70 0D 6C [13:29:25]Write i2c OK [13:29:25]MH_I2C_Read... [13:29:25]Read from MH i2c: F0 [13:29:25]MH_I2C_Read... [13:29:25]Read from MH i2c: F0 09 00 [13:29:25]MH_I2C_Read... [13:29:25]Read from MH i2c: F0 09 00 70 0D 00 39 10 F4 66 02 BF CF 66 0E [13:29:25]GetLastDocTimeStamp 1727270937 [13:29:25]current date 1727270969 [13:29:25]FM_GetShiftState [13:29:25]SAM_PROTO_GetShiftState [13:29:25]wFMCommunicate request_size=4 [13:29:25]MH_SAM_APDU [13:29:25]CAPDU: 80 13 01 00 [13:29:25]Write to MH i2c: E2 08 00 71 0D 80 13 01 00 00 00 00 00 FB [13:29:25]Write i2c OK [13:29:25]MH_I2C_Read... [13:29:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:29:25]Read from MH i2c: E2 [13:29:25]MH_I2C_Read... [13:29:25]Read from MH i2c: E2 0E 00 [13:29:25]MH_I2C_Read... [13:29:25]Read from MH i2c: E2 0E 00 71 0D 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 8C [13:29:25]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [13:29:25]wFMCommunicate OK [13:29:25]SAM_PROTO_GetShiftState done [13:29:25]FM_GetShiftState done [13:29:25]opened in 1727224020 [13:29:25]opened+sec_in_day 1727310420 [13:29:25]quantity*price = 14000 [13:29:25]sum+1 = 14001 [13:29:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 39 25.09.2024 13:29 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22466 ФПД: 187993102714758 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T132929&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22466&fm=187993102714758&tin=02508201610067®Number=0000000000146243&sum=14000 0 [13:29:26]StoreToDocumentArchive [13:29:26]shift 231 fd 22466 [13:29:26]save to /storage/0231/doc_00022466 [13:29:26]save last doc name /storage/0231/doc_00022466 to /storage/kkm_last_doc_name [13:29:26]save OK [13:29:26]Clear old archive folders... [13:29:26]ProcessDocumentItem done err = 0, tmpTLVsize=273 [13:29:26]tlvbuf is 0035B0E0 [13:29:26]SAM_PROTO_ClearQueue [13:29:26]wFMCommunicate request_size=4 [13:29:26]MH_SAM_APDU [13:29:26]CAPDU: 80 09 00 00 [13:29:26]Write to MH i2c: E2 08 00 7E 0D 80 09 00 00 00 00 00 00 FD [13:29:26]Write i2c OK [13:29:26]MH_I2C_Read... [13:29:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:29:26]Read from MH i2c: E2 [13:29:26]MH_I2C_Read... [13:29:26]Read from MH i2c: E2 03 00 [13:29:26]MH_I2C_Read... [13:29:26]Read from MH i2c: E2 03 00 7E 0D 00 90 00 FF [13:29:26]RAPDU: 90 00 [13:29:26]wFMCommunicate OK [13:29:26]SAM_PROTO_ClearQueue done [13:29:26]KKMCreateOFDPacket [13:29:26]OFDProtocolAddRootSTLVToBuf [13:29:26]FM_MakeSignedData [13:29:26]FM_MakeSignedData [13:29:26]SAM_PROTO_SignData [13:29:26]wFMCommunicate request_size=4 [13:29:26]MH_SAM_APDU [13:29:26]CAPDU: 80 0D 01 02 [13:29:26]Write to MH i2c: E2 08 00 7F 0D 80 0D 01 02 00 00 00 00 05 [13:29:26]Write i2c OK [13:29:26]MH_I2C_Read... [13:29:26]OFD Sender: No OFD packet to send [13:29:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:29:26]Read from MH i2c: E2 [13:29:26]MH_I2C_Read... [13:29:26]Read from MH i2c: E2 03 00 [13:29:26]MH_I2C_Read... [13:29:26]Read from MH i2c: E2 03 00 7F 0D 00 90 00 00 [13:29:26]RAPDU: 90 00 [13:29:26]wFMCommunicate OK [13:29:26]wFMCommunicate request_size=255 [13:29:26]MH_SAM_APDU [13:29:26]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 39 10 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 [13:29:26]Write to MH i2c: E2 02 01 80 0D 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 39 10 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 00 00 3A [13:29:26]Write i2c OK [13:29:26]MH_I2C_Read... [13:29:27]*** iso7816_exchange 80 0D 02 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 80 0D 00 90 00 01 [13:29:27]RAPDU: 90 00 [13:29:27]wFMCommunicate OK [13:29:27]wFMCommunicate request_size=32 [13:29:27]MH_SAM_APDU [13:29:27]CAPDU: 80 0D 02 02 1B 30 30 30 39 35 39 33 35 38 10 04 04 00 C2 57 00 00 35 04 06 00 AA FA 8E 1B 87 86 [13:29:27]Write to MH i2c: E2 23 00 81 0D 80 0D 02 02 1B 00 30 30 30 39 35 39 33 35 38 10 04 04 00 C2 57 00 00 35 04 06 00 AA FA 8E 1B 87 86 00 00 DF [13:29:27]Write i2c OK [13:29:27]MH_I2C_Read... [13:29:27]*** iso7816_exchange 80 0D 02 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 81 0D 00 90 00 02 [13:29:27]RAPDU: 90 00 [13:29:27]wFMCommunicate OK [13:29:27]wFMCommunicate request_size=4 [13:29:27]MH_SAM_APDU [13:29:27]CAPDU: 80 0D 03 02 [13:29:27]Write to MH i2c: E2 08 00 82 0D 80 0D 03 02 00 00 00 00 0A [13:29:27]Write i2c OK [13:29:27]MH_I2C_Read... [13:29:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:29:27]Read from MH i2c: E2 [13:29:27]MH_I2C_Read... [13:29:27]Read from MH i2c: E2 0B 00 [13:29:27]MH_I2C_Read... [13:29:27]Read from MH i2c: E2 0B 00 82 0D 00 3F F6 D8 07 E2 07 E9 91 90 00 82 [13:29:27]RAPDU: 3F F6 D8 07 E2 07 E9 91 90 00 [13:29:27]wFMCommunicate OK [13:29:27]SAM_PROTO_SignData done [13:29:27]FM_MakeSignedData done [13:29:27]CreateOFDProtocolMessage [13:29:27]wFMCommunicate request_size=4 [13:29:27]MH_SAM_APDU [13:29:27]CAPDU: 80 11 00 00 [13:29:27]Write to MH i2c: E2 08 00 83 0D 80 11 00 00 00 00 00 00 0A [13:29:27]Write i2c OK [13:29:27]MH_I2C_Read... [13:29:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:29:27]Read from MH i2c: E2 [13:29:27]MH_I2C_Read... [13:29:27]Read from MH i2c: E2 17 00 [13:29:27]MH_I2C_Read... [13:29:27]Read from MH i2c: E2 17 00 83 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 64 [13:29:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [13:29:27]wFMCommunicate OK [13:29:27]CreateOFDProtocolMessage done [13:29:27]OFDSenderStorePacket 22466 [13:29:27]StoreOFDPacket docnum=22466 [13:29:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 25 01 00 00 3B 01 1D 01 98 E8 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 39 10 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C2 57 00 00 35 04 06 00 AA FA 8E 1B 87 86 3F F6 D8 07 E2 07 E9 91 [13:29:27]CheckFolder [13:29:27]dirname=/storage/ofd_packets [13:29:27]CheckFolder done [13:29:27]ProducePacketName [13:29:27]name=ofd_packets/00022466 [13:29:27]NVStorageSaveData ofd_packets/00022466 [13:29:27]File name is /storage/ofd_packets/00022466 [13:29:27]Write 323 bytes [13:29:27]NVStorageSaveData done [13:29:27]OFDSenderStorePacket done [13:29:27]KKMCreateOFDPacket done [13:29:27]NVStorageSaveData kkm_last_timestamp [13:29:27]File name is /storage/kkm_last_timestamp [13:29:27]Write 4 bytes [13:29:27]NVStorageSaveData done [13:29:27]ExternCall_PrintAddStr [13:29:27]wPrintStart [13:29:27]Write to MH i2c: 01 00 00 84 0D 91 [13:29:27]Write i2c OK [13:29:27]MH_I2C_Read... [13:29:27]Read from MH i2c: 01 [13:29:27]MH_I2C_Read... [13:29:27]Read from MH i2c: 01 07 00 [13:29:27]MH_I2C_Read... [13:29:27]Read from MH i2c: 01 07 00 84 0D 00 00 00 00 00 FF 0F A6 [13:29:27]RasterBufferAndPrint [13:29:27]line Счет N : (3)51674 [13:29:27]line ИНН: 02508201610067 [13:29:27]line Контрольно-Кассовый Чек [13:29:27]line ПРОДАЖА [13:29:27]line Товар: 4700002082931 [13:29:27]line Водка Хорошая 0,1л [13:29:27]line 2.000 * 70.00 [13:29:27]line = 140.00 [13:29:27]line НДС 12% НСП 1% [13:29:27]line > о реализуемом товаре [13:29:27]line ИТОГО: 140.00 [13:29:27]line НСП 1% : 1.24 [13:29:27]line НДС 12% : 14.87 [13:29:27]line Наличными: 140.00 [13:29:27]line Безнал.: 0.00 [13:29:27]line Место: АЗС № 88 "Партнер Нефть" [13:29:27]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [13:29:27]line СНО: Общий режим [13:29:27]line Чек 39 25.09.2024 13:29 [13:29:27]line Смена: 231 ФФД: 1.0 [13:29:27]line ЗНМ: 0300000061 [13:29:27]line РНМ: 0000000000146243 [13:29:27]line Версия ККМ: v1.0 [13:29:27]line ФМ: 0000000000959358 [13:29:27]line ФД: 22466 [13:29:27]line ФПД: 187993102714758 [13:29:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T132929&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22466&fm=187993102714758&tin=02508201610067®Number=0000000000146243&sum=14000 [13:29:27]line 0 [13:29:27]OFD Sender: Processing packet 22466 [packets to send 23, broken 22] [13:29:27]ProducePacketName [13:29:27]name=ofd_packets/00022466 [13:29:27]OFD Sender: To server: pG, [13:29:27]CommunicateWithHost lk.salyk.kg:30040 [13:29:27]ConnectInit lk.salyk.kg [13:29:27]written 0, free lines is 4095 [13:29:27]Connected sock=10 [13:29:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 25 01 00 00 3B 01 1D 01 98 E8 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 39 10 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C2 57 00 00 35 04 06 00 AA FA 8E 1B 87 86 3F F6 D8 07 E2 07 E9 91 [13:29:28]Write to MH i2c: 01 00 00 AC 0D B9 [13:29:28]Write i2c OK [13:29:28]MH_I2C_Read... [13:29:28]Read from MH i2c: 01 [13:29:28]MH_I2C_Read... [13:29:28]Read from MH i2c: 01 07 00 [13:29:28]MH_I2C_Read... [13:29:28]Read from MH i2c: 01 07 00 AC 0D 00 00 00 00 00 2F 0D FC [13:29:28]RasterBufferAndPrint [13:29:28]line [13:29:28]line [13:29:28]line [13:29:28]line [13:29:28]line [13:29:28]written 0, free lines is 3383 [13:29:28]MH_Cut [13:29:28]Write to MH i2c: D1 01 00 B3 0D 01 92 [13:29:28]Write i2c OK [13:29:28]MH_I2C_Read... [13:29:28]Read from MH i2c: D1 [13:29:28]MH_I2C_Read... [13:29:28]Read from MH i2c: D1 01 00 [13:29:28]MH_I2C_Read... [13:29:28]Read from MH i2c: D1 01 00 B3 0D 00 91 [13:29:28]Write to MH i2c: 01 00 00 B4 0D C1 [13:29:28]Write i2c OK [13:29:28]MH_I2C_Read... [13:29:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 F1 72 47 00 D9 AD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C2 57 00 00 F4 03 04 00 5B BA F3 66 B6 04 01 00 00 93 95 52 FB B2 5C 0D 90 [13:29:28]CommunicateWithHost err = 0 [13:29:28]CheckOFDResponse [13:29:28]1017 (14) - 77093643461234 [13:29:28]1041 (16) - 0000000000959358 [13:29:28]1040 (4) - 22466 [13:29:28]1012 (4) - 25.09.2024 07:23 [13:29:28]1206 (1) - 0 [13:29:28]OFD Sender: Remove packet 22466 [13:29:28]ProducePacketName [13:29:28]name=ofd_packets/00022466 [13:29:28]NVStorageDeleteData [13:29:28]OFD Sender: No OFD packet to send [13:29:28]*** Cut start [13:29:28]*** Partial cut [13:29:28]*** CUTSNS_PIN = 1 [13:29:28]*** CUTSNS_PIN = 0 [13:29:29]*** Brake cut motor [13:29:29]Read from MH i2c: 01 [13:29:29]MH_I2C_Read... [13:29:29]*** Stop cut motor [13:29:29]*** Cut end [13:29:29]Read from MH i2c: 01 07 00 [13:29:29]MH_I2C_Read... [13:29:29]Read from MH i2c: 01 07 00 B4 0D 00 00 00 00 00 FF 0F D6 [13:29:29]process_action close_receipt done [13:29:29]requested_data is exist [13:29:29]produce_requested_data [13:29:29]requested_item fm.sn is exist - process it [13:29:29]wFMCommunicate request_size=4 [13:29:29]MH_SAM_APDU [13:29:29]CAPDU: 80 11 00 00 [13:29:29]Write to MH i2c: E2 08 00 B5 0D 80 11 00 00 00 00 00 00 3C [13:29:29]Write i2c OK [13:29:29]MH_I2C_Read... [13:29:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:29:29]Read from MH i2c: E2 [13:29:29]MH_I2C_Read... [13:29:29]Read from MH i2c: E2 17 00 [13:29:29]MH_I2C_Read... [13:29:29]Read from MH i2c: E2 17 00 B5 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 96 [13:29:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [13:29:29]wFMCommunicate OK [13:29:29]requested_item fd.num is exist - process it [13:29:29]SAM_PROTO_GetFieldsCounters [13:29:29]wFMCommunicate request_size=4 [13:29:29]MH_SAM_APDU [13:29:29]CAPDU: 80 13 00 00 [13:29:29]Write to MH i2c: E2 08 00 B6 0D 80 13 00 00 00 00 00 00 3F [13:29:29]Write i2c OK [13:29:29]MH_I2C_Read... [13:29:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:29:29]Read from MH i2c: E2 [13:29:29]MH_I2C_Read... [13:29:29]Read from MH i2c: E2 62 00 [13:29:29]MH_I2C_Read... [13:29:29]Read from MH i2c: E2 62 00 B6 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 C2 57 00 00 0E 04 04 00 E7 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 D7 [13:29:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 C2 57 00 00 0E 04 04 00 E7 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 [13:29:29]wFMCommunicate OK [13:29:29]SAM_PROTO_GetFieldsCounters done [13:29:29]requested_item shift.num is exist - process it [13:29:29]requested_item shift.opened is exist - process it [13:29:29]req_shift_opened [13:29:29]FM_GetShiftState [13:29:29]SAM_PROTO_GetShiftState [13:29:29]wFMCommunicate request_size=4 [13:29:29]MH_SAM_APDU [13:29:29]CAPDU: 80 13 01 00 [13:29:29]Write to MH i2c: E2 08 00 B7 0D 80 13 01 00 00 00 00 00 41 [13:29:29]Write i2c OK [13:29:29]MH_I2C_Read... [13:29:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:29:29]Read from MH i2c: E2 [13:29:29]MH_I2C_Read... [13:29:29]Read from MH i2c: E2 0E 00 [13:29:29]MH_I2C_Read... [13:29:29]Read from MH i2c: E2 0E 00 B7 0D 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 D2 [13:29:29]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [13:29:29]wFMCommunicate OK [13:29:29]SAM_PROTO_GetShiftState done [13:29:29]FM_GetShiftState done [13:29:29]req_shift_opened done [13:29:29]requested_item shift.open_date is exist - process it [13:29:29]req_shift_open_date [13:29:29]req_shift_open_date done [13:29:29]produce_requested_data done [13:29:29]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22466,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [13:29:29]process_action_free close_receipt [13:29:29]json_value_free [13:29:29]json_value_free done [13:29:29]process_json_proto returns [13:29:29]Send response to host [13:29:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22466,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [13:29:29]free response buf [13:29:29]execute_script done [13:29:29]execute_script returns [13:29:29]free content buf [13:29:29]Sock 8.Close socket [13:29:29]Sock 8.Thread stoped [13:29:33]OFD Sender: No OFD packet to send [13:29:38]OFD Sender: No OFD packet to send [13:29:43]OFD Sender: No OFD packet to send [13:29:48]OFD Sender: No OFD packet to send [13:29:53]OFD Sender: No OFD packet to send [13:29:58]OFD Sender: No OFD packet to send [13:30:03]OFD Sender: No OFD packet to send [13:30:08]OFD Sender: No OFD packet to send [13:30:13]OFD Sender: No OFD packet to send [13:30:18]OFD Sender: No OFD packet to send [13:30:23]OFD Sender: No OFD packet to send [13:30:28]OFD Sender: No OFD packet to send [13:30:33]OFD Sender: No OFD packet to send [13:30:38]OFD Sender: No OFD packet to send [13:30:43]OFD Sender: No OFD packet to send [13:30:48]OFD Sender: No OFD packet to send [13:30:53]OFD Sender: No OFD packet to send [13:30:58]OFD Sender: No OFD packet to send [13:31:03]OFD Sender: No OFD packet to send [13:31:08]OFD Sender: No OFD packet to send [13:31:13]OFD Sender: No OFD packet to send [13:31:18]OFD Sender: No OFD packet to send [13:31:23]OFD Sender: No OFD packet to send [13:31:28]OFD Sender: No OFD packet to send [13:31:33]OFD Sender: No OFD packet to send [13:31:38]OFD Sender: No OFD packet to send [13:31:43]OFD Sender: No OFD packet to send [13:31:48]OFD Sender: No OFD packet to send [13:31:53]OFD Sender: No OFD packet to send [13:31:58]OFD Sender: No OFD packet to send [13:32:03]OFD Sender: No OFD packet to send [13:32:08]OFD Sender: No OFD packet to send [13:32:13]OFD Sender: No OFD packet to send [13:32:18]OFD Sender: No OFD packet to send [13:32:23]OFD Sender: No OFD packet to send [13:32:28]OFD Sender: No OFD packet to send [13:32:33]OFD Sender: No OFD packet to send [13:32:38]OFD Sender: No OFD packet to send [13:32:43]OFD Sender: No OFD packet to send [13:32:48]OFD Sender: No OFD packet to send [13:32:53]OFD Sender: No OFD packet to send [13:32:58]OFD Sender: No OFD packet to send [13:33:03]OFD Sender: No OFD packet to send [13:33:08]OFD Sender: No OFD packet to send [13:33:13]OFD Sender: No OFD packet to send [13:33:18]OFD Sender: No OFD packet to send [13:33:23]OFD Sender: No OFD packet to send [13:33:28]OFD Sender: No OFD packet to send [13:33:33]OFD Sender: No OFD packet to send [13:33:38]OFD Sender: No OFD packet to send [13:33:43]OFD Sender: No OFD packet to send [13:33:48]OFD Sender: No OFD packet to send [13:33:53]OFD Sender: No OFD packet to send [13:33:58]OFD Sender: No OFD packet to send [13:34:04]OFD Sender: No OFD packet to send [13:34:09]OFD Sender: No OFD packet to send [13:34:14]OFD Sender: No OFD packet to send [13:34:19]OFD Sender: No OFD packet to send [13:34:24]OFD Sender: No OFD packet to send [13:34:29]OFD Sender: No OFD packet to send [13:34:34]OFD Sender: No OFD packet to send [13:34:39]OFD Sender: No OFD packet to send [13:34:44]OFD Sender: No OFD packet to send [13:34:49]OFD Sender: No OFD packet to send [13:34:54]OFD Sender: No OFD packet to send [13:34:59]OFD Sender: No OFD packet to send [13:35:04]OFD Sender: No OFD packet to send [13:35:09]OFD Sender: No OFD packet to send [13:35:14]OFD Sender: No OFD packet to send [13:35:19]OFD Sender: No OFD packet to send [13:35:24]OFD Sender: No OFD packet to send [13:35:29]OFD Sender: No OFD packet to send [13:35:34]OFD Sender: No OFD packet to send [13:35:39]OFD Sender: No OFD packet to send [13:35:44]OFD Sender: No OFD packet to send [13:35:49]OFD Sender: No OFD packet to send [13:35:54]OFD Sender: No OFD packet to send [13:35:59]OFD Sender: No OFD packet to send [13:36:04]OFD Sender: No OFD packet to send [13:36:09]OFD Sender: No OFD packet to send [13:36:14]OFD Sender: No OFD packet to send [13:36:19]OFD Sender: No OFD packet to send [13:36:24]OFD Sender: No OFD packet to send [13:36:29]OFD Sender: No OFD packet to send [13:36:34]OFD Sender: No OFD packet to send [13:36:39]OFD Sender: No OFD packet to send [13:36:44]OFD Sender: No OFD packet to send [13:36:49]OFD Sender: No OFD packet to send [13:36:54]OFD Sender: No OFD packet to send [13:36:59]OFD Sender: No OFD packet to send [13:37:04]OFD Sender: No OFD packet to send [13:37:09]OFD Sender: No OFD packet to send [13:37:14]OFD Sender: No OFD packet to send [13:37:19]OFD Sender: No OFD packet to send [13:37:24]OFD Sender: No OFD packet to send [13:37:29]OFD Sender: No OFD packet to send [13:37:34]OFD Sender: No OFD packet to send [13:37:39]OFD Sender: No OFD packet to send [13:37:44]OFD Sender: No OFD packet to send [13:37:49]OFD Sender: No OFD packet to send [13:37:54]OFD Sender: No OFD packet to send [13:37:59]OFD Sender: No OFD packet to send [13:38:04]OFD Sender: No OFD packet to send [13:38:09]OFD Sender: No OFD packet to send [13:38:14]OFD Sender: No OFD packet to send [13:38:19]OFD Sender: No OFD packet to send [13:38:24]OFD Sender: No OFD packet to send [13:38:29]OFD Sender: No OFD packet to send [13:38:34]OFD Sender: No OFD packet to send [13:38:39]OFD Sender: No OFD packet to send [13:38:44]OFD Sender: No OFD packet to send [13:38:49]OFD Sender: No OFD packet to send [13:38:54]OFD Sender: No OFD packet to send [13:38:59]OFD Sender: No OFD packet to send [13:39:04]OFD Sender: No OFD packet to send [13:39:09]OFD Sender: No OFD packet to send [13:39:14]OFD Sender: No OFD packet to send [13:39:19]OFD Sender: No OFD packet to send [13:39:24]OFD Sender: No OFD packet to send [13:39:29]OFD Sender: No OFD packet to send [13:39:34]OFD Sender: No OFD packet to send [13:39:39]OFD Sender: No OFD packet to send [13:39:44]OFD Sender: No OFD packet to send [13:39:49]OFD Sender: No OFD packet to send [13:39:54]OFD Sender: No OFD packet to send [13:39:59]OFD Sender: No OFD packet to send [13:40:04]OFD Sender: No OFD packet to send [13:40:09]OFD Sender: No OFD packet to send [13:40:14]OFD Sender: No OFD packet to send [13:40:19]OFD Sender: No OFD packet to send [13:40:24]OFD Sender: No OFD packet to send [13:40:29]OFD Sender: No OFD packet to send [13:40:34]OFD Sender: No OFD packet to send [13:40:39]OFD Sender: No OFD packet to send [13:40:44]OFD Sender: No OFD packet to send [13:40:49]OFD Sender: No OFD packet to send [13:40:54]OFD Sender: No OFD packet to send [13:40:59]OFD Sender: No OFD packet to send [13:41:04]OFD Sender: No OFD packet to send [13:41:09]OFD Sender: No OFD packet to send [13:41:14]OFD Sender: No OFD packet to send [13:41:19]OFD Sender: No OFD packet to send [13:41:24]OFD Sender: No OFD packet to send [13:41:29]OFD Sender: No OFD packet to send [13:41:34]OFD Sender: No OFD packet to send [13:41:39]OFD Sender: No OFD packet to send [13:41:44]OFD Sender: No OFD packet to send [13:41:49]OFD Sender: No OFD packet to send [13:41:54]OFD Sender: No OFD packet to send [13:41:59]OFD Sender: No OFD packet to send [13:42:04]OFD Sender: No OFD packet to send [13:42:09]OFD Sender: No OFD packet to send [13:42:14]OFD Sender: No OFD packet to send [13:42:19]OFD Sender: No OFD packet to send [13:42:24]OFD Sender: No OFD packet to send [13:42:29]OFD Sender: No OFD packet to send [13:42:34]OFD Sender: No OFD packet to send [13:42:39]OFD Sender: No OFD packet to send [13:42:44]OFD Sender: No OFD packet to send [13:42:49]OFD Sender: No OFD packet to send [13:42:54]OFD Sender: No OFD packet to send [13:42:59]OFD Sender: No OFD packet to send [13:43:04]OFD Sender: No OFD packet to send [13:43:09]OFD Sender: No OFD packet to send [13:43:14]OFD Sender: No OFD packet to send [13:43:19]OFD Sender: No OFD packet to send [13:43:24]OFD Sender: No OFD packet to send [13:43:29]OFD Sender: No OFD packet to send [13:43:34]OFD Sender: No OFD packet to send [13:43:39]OFD Sender: No OFD packet to send [13:43:44]OFD Sender: No OFD packet to send [13:43:49]OFD Sender: No OFD packet to send [13:43:54]OFD Sender: No OFD packet to send [13:43:59]OFD Sender: No OFD packet to send [13:44:04]OFD Sender: No OFD packet to send [13:44:09]OFD Sender: No OFD packet to send [13:44:14]OFD Sender: No OFD packet to send [13:44:19]OFD Sender: No OFD packet to send [13:44:24]OFD Sender: No OFD packet to send [13:44:29]OFD Sender: No OFD packet to send [13:44:34]OFD Sender: No OFD packet to send [13:44:39]OFD Sender: No OFD packet to send [13:44:44]OFD Sender: No OFD packet to send [13:44:49]OFD Sender: No OFD packet to send [13:44:54]OFD Sender: No OFD packet to send [13:44:59]OFD Sender: No OFD packet to send [13:45:04]OFD Sender: No OFD packet to send [13:45:09]OFD Sender: No OFD packet to send [13:45:14]OFD Sender: No OFD packet to send [13:45:19]OFD Sender: No OFD packet to send [13:45:24]OFD Sender: No OFD packet to send [13:45:29]OFD Sender: No OFD packet to send [13:45:34]OFD Sender: No OFD packet to send [13:45:39]OFD Sender: No OFD packet to send [13:45:44]OFD Sender: No OFD packet to send [13:45:49]OFD Sender: No OFD packet to send [13:45:54]OFD Sender: No OFD packet to send [13:45:59]OFD Sender: No OFD packet to send [13:46:04]OFD Sender: No OFD packet to send [13:46:09]OFD Sender: No OFD packet to send [13:46:14]OFD Sender: No OFD packet to send [13:46:19]OFD Sender: No OFD packet to send [13:46:24]OFD Sender: No OFD packet to send [13:46:29]OFD Sender: No OFD packet to send [13:46:34]OFD Sender: No OFD packet to send [13:46:39]OFD Sender: No OFD packet to send [13:46:44]OFD Sender: No OFD packet to send [13:46:49]OFD Sender: No OFD packet to send [13:46:54]OFD Sender: No OFD packet to send [13:46:59]OFD Sender: No OFD packet to send [13:47:04]OFD Sender: No OFD packet to send [13:47:09]OFD Sender: No OFD packet to send [13:47:14]OFD Sender: No OFD packet to send [13:47:19]OFD Sender: No OFD packet to send [13:47:24]OFD Sender: No OFD packet to send [13:47:29]OFD Sender: No OFD packet to send [13:47:34]OFD Sender: No OFD packet to send [13:47:39]OFD Sender: No OFD packet to send [13:47:44]OFD Sender: No OFD packet to send [13:47:49]OFD Sender: No OFD packet to send [13:47:54]OFD Sender: No OFD packet to send [13:47:59]OFD Sender: No OFD packet to send [13:48:04]OFD Sender: No OFD packet to send [13:48:09]OFD Sender: No OFD packet to send [13:48:14]OFD Sender: No OFD packet to send [13:48:19]OFD Sender: No OFD packet to send [13:48:24]OFD Sender: No OFD packet to send [13:48:29]OFD Sender: No OFD packet to send [13:48:34]OFD Sender: No OFD packet to send [13:48:39]OFD Sender: No OFD packet to send [13:48:44]OFD Sender: No OFD packet to send [13:48:49]OFD Sender: No OFD packet to send [13:48:54]OFD Sender: No OFD packet to send [13:48:59]OFD Sender: No OFD packet to send [13:49:04]OFD Sender: No OFD packet to send [13:49:09]OFD Sender: No OFD packet to send [13:49:14]OFD Sender: No OFD packet to send [13:49:19]OFD Sender: No OFD packet to send [13:49:24]OFD Sender: No OFD packet to send [13:49:29]OFD Sender: No OFD packet to send [13:49:34]OFD Sender: No OFD packet to send [13:49:39]OFD Sender: No OFD packet to send [13:49:44]OFD Sender: No OFD packet to send [13:49:49]OFD Sender: No OFD packet to send [13:49:54]OFD Sender: No OFD packet to send [13:49:59]OFD Sender: No OFD packet to send [13:50:04]OFD Sender: No OFD packet to send [13:50:09]OFD Sender: No OFD packet to send [13:50:14]OFD Sender: No OFD packet to send [13:50:19]OFD Sender: No OFD packet to send [13:50:24]OFD Sender: No OFD packet to send [13:50:29]OFD Sender: No OFD packet to send [13:50:34]OFD Sender: No OFD packet to send [13:50:39]OFD Sender: No OFD packet to send [13:50:44]OFD Sender: No OFD packet to send [13:50:49]OFD Sender: No OFD packet to send [13:50:54]OFD Sender: No OFD packet to send [13:50:59]OFD Sender: No OFD packet to send [13:51:04]OFD Sender: No OFD packet to send [13:51:09]OFD Sender: No OFD packet to send [13:51:14]OFD Sender: No OFD packet to send [13:51:19]OFD Sender: No OFD packet to send [13:51:24]OFD Sender: No OFD packet to send [13:51:29]OFD Sender: No OFD packet to send [13:51:34]OFD Sender: No OFD packet to send [13:51:39]OFD Sender: No OFD packet to send [13:51:44]OFD Sender: No OFD packet to send [13:51:49]OFD Sender: No OFD packet to send [13:51:54]OFD Sender: No OFD packet to send [13:51:59]OFD Sender: No OFD packet to send [13:52:04]OFD Sender: No OFD packet to send [13:52:09]OFD Sender: No OFD packet to send [13:52:14]OFD Sender: No OFD packet to send [13:52:19]OFD Sender: No OFD packet to send [13:52:24]OFD Sender: No OFD packet to send [13:52:29]OFD Sender: No OFD packet to send [13:52:34]OFD Sender: No OFD packet to send [13:52:39]OFD Sender: No OFD packet to send [13:52:44]OFD Sender: No OFD packet to send [13:52:49]OFD Sender: No OFD packet to send [13:52:54]OFD Sender: No OFD packet to send [13:52:59]OFD Sender: No OFD packet to send [13:53:04]OFD Sender: No OFD packet to send [13:53:09]OFD Sender: No OFD packet to send [13:53:14]OFD Sender: No OFD packet to send [13:53:19]OFD Sender: No OFD packet to send [13:53:24]OFD Sender: No OFD packet to send [13:53:29]OFD Sender: No OFD packet to send [13:53:34]OFD Sender: No OFD packet to send [13:53:39]OFD Sender: No OFD packet to send [13:53:44]OFD Sender: No OFD packet to send [13:53:49]OFD Sender: No OFD packet to send [13:53:54]OFD Sender: No OFD packet to send [13:53:59]OFD Sender: No OFD packet to send [13:54:05]OFD Sender: No OFD packet to send [13:54:10]OFD Sender: No OFD packet to send [13:54:15]OFD Sender: No OFD packet to send [13:54:20]OFD Sender: No OFD packet to send [13:54:25]OFD Sender: No OFD packet to send [13:54:30]OFD Sender: No OFD packet to send [13:54:35]OFD Sender: No OFD packet to send [13:54:40]OFD Sender: No OFD packet to send [13:54:45]OFD Sender: No OFD packet to send [13:54:50]OFD Sender: No OFD packet to send [13:54:55]OFD Sender: No OFD packet to send [13:55:00]OFD Sender: No OFD packet to send [13:55:05]OFD Sender: No OFD packet to send [13:55:10]OFD Sender: No OFD packet to send [13:55:15]OFD Sender: No OFD packet to send [13:55:20]OFD Sender: No OFD packet to send [13:55:25]OFD Sender: No OFD packet to send [13:55:30]OFD Sender: No OFD packet to send [13:55:35]OFD Sender: No OFD packet to send [13:55:40]OFD Sender: No OFD packet to send [13:55:45]OFD Sender: No OFD packet to send [13:55:50]OFD Sender: No OFD packet to send [13:55:55]OFD Sender: No OFD packet to send [13:56:00]OFD Sender: No OFD packet to send [13:56:05]OFD Sender: No OFD packet to send [13:56:10]OFD Sender: No OFD packet to send [13:56:15]OFD Sender: No OFD packet to send [13:56:20]OFD Sender: No OFD packet to send [13:56:25]OFD Sender: No OFD packet to send [13:56:30]OFD Sender: No OFD packet to send [13:56:35]OFD Sender: No OFD packet to send [13:56:40]OFD Sender: No OFD packet to send [13:56:45]OFD Sender: No OFD packet to send [13:56:50]OFD Sender: No OFD packet to send [13:56:55]OFD Sender: No OFD packet to send [13:57:00]OFD Sender: No OFD packet to send [13:57:05]OFD Sender: No OFD packet to send [13:57:10]OFD Sender: No OFD packet to send [13:57:15]OFD Sender: No OFD packet to send [13:57:20]OFD Sender: No OFD packet to send [13:57:25]OFD Sender: No OFD packet to send [13:57:30]OFD Sender: No OFD packet to send [13:57:35]OFD Sender: No OFD packet to send [13:57:40]OFD Sender: No OFD packet to send [13:57:45]OFD Sender: No OFD packet to send [13:57:50]OFD Sender: No OFD packet to send [13:57:55]OFD Sender: No OFD packet to send [13:58:00]OFD Sender: No OFD packet to send [13:58:05]OFD Sender: No OFD packet to send [13:58:10]OFD Sender: No OFD packet to send [13:58:15]OFD Sender: No OFD packet to send [13:58:20]OFD Sender: No OFD packet to send [13:58:25]OFD Sender: No OFD packet to send [13:58:30]OFD Sender: No OFD packet to send [13:58:35]OFD Sender: No OFD packet to send [13:58:40]OFD Sender: No OFD packet to send [13:58:45]OFD Sender: No OFD packet to send [13:58:50]OFD Sender: No OFD packet to send [13:58:55]OFD Sender: No OFD packet to send [13:59:00]OFD Sender: No OFD packet to send [13:59:05]OFD Sender: No OFD packet to send [13:59:10]OFD Sender: No OFD packet to send [13:59:15]OFD Sender: No OFD packet to send [13:59:20]OFD Sender: No OFD packet to send [13:59:25]OFD Sender: No OFD packet to send [13:59:30]OFD Sender: No OFD packet to send [13:59:35]OFD Sender: No OFD packet to send [13:59:40]OFD Sender: No OFD packet to send [13:59:45]OFD Sender: No OFD packet to send [13:59:50]OFD Sender: No OFD packet to send [13:59:55]OFD Sender: No OFD packet to send [14:00:00]OFD Sender: No OFD packet to send [14:00:05]OFD Sender: No OFD packet to send [14:00:10]OFD Sender: No OFD packet to send [14:00:15]OFD Sender: No OFD packet to send [14:00:20]OFD Sender: No OFD packet to send [14:00:25]OFD Sender: No OFD packet to send [14:00:30]OFD Sender: No OFD packet to send [14:00:35]OFD Sender: No OFD packet to send [14:00:40]OFD Sender: No OFD packet to send [14:00:45]OFD Sender: No OFD packet to send [14:00:50]OFD Sender: No OFD packet to send [14:00:55]OFD Sender: No OFD packet to send [14:01:00]OFD Sender: No OFD packet to send [14:01:05]OFD Sender: No OFD packet to send [14:01:10]OFD Sender: No OFD packet to send [14:01:15]OFD Sender: No OFD packet to send [14:01:20]OFD Sender: No OFD packet to send [14:01:25]OFD Sender: No OFD packet to send [14:01:30]OFD Sender: No OFD packet to send [14:01:35]OFD Sender: No OFD packet to send [14:01:40]OFD Sender: No OFD packet to send [14:01:45]OFD Sender: No OFD packet to send [14:01:50]OFD Sender: No OFD packet to send [14:01:55]OFD Sender: No OFD packet to send [14:02:00]OFD Sender: No OFD packet to send [14:02:05]OFD Sender: No OFD packet to send [14:02:10]OFD Sender: No OFD packet to send [14:02:15]OFD Sender: No OFD packet to send [14:02:20]OFD Sender: No OFD packet to send [14:02:25]OFD Sender: No OFD packet to send [14:02:30]OFD Sender: No OFD packet to send [14:02:35]OFD Sender: No OFD packet to send [14:02:40]OFD Sender: No OFD packet to send [14:02:45]OFD Sender: No OFD packet to send [14:02:50]OFD Sender: No OFD packet to send [14:02:55]OFD Sender: No OFD packet to send [14:03:00]OFD Sender: No OFD packet to send [14:03:05]OFD Sender: No OFD packet to send [14:03:10]OFD Sender: No OFD packet to send [14:03:15]OFD Sender: No OFD packet to send [14:03:20]OFD Sender: No OFD packet to send [14:03:25]OFD Sender: No OFD packet to send [14:03:30]OFD Sender: No OFD packet to send [14:03:35]OFD Sender: No OFD packet to send [14:03:40]OFD Sender: No OFD packet to send [14:03:45]OFD Sender: No OFD packet to send [14:03:50]OFD Sender: No OFD packet to send [14:03:55]OFD Sender: No OFD packet to send [14:04:00]OFD Sender: No OFD packet to send [14:04:05]OFD Sender: No OFD packet to send [14:04:10]OFD Sender: No OFD packet to send [14:04:15]OFD Sender: No OFD packet to send [14:04:20]OFD Sender: No OFD packet to send [14:04:25]OFD Sender: No OFD packet to send [14:04:30]OFD Sender: No OFD packet to send [14:04:35]OFD Sender: No OFD packet to send [14:04:40]OFD Sender: No OFD packet to send [14:04:45]OFD Sender: No OFD packet to send [14:04:50]OFD Sender: No OFD packet to send [14:04:55]OFD Sender: No OFD packet to send [14:05:00]OFD Sender: No OFD packet to send [14:05:05]OFD Sender: No OFD packet to send [14:05:10]OFD Sender: No OFD packet to send [14:05:15]OFD Sender: No OFD packet to send [14:05:20]OFD Sender: No OFD packet to send [14:05:25]OFD Sender: No OFD packet to send [14:05:30]OFD Sender: No OFD packet to send [14:05:35]OFD Sender: No OFD packet to send [14:05:40]OFD Sender: No OFD packet to send [14:05:45]OFD Sender: No OFD packet to send [14:05:50]OFD Sender: No OFD packet to send [14:05:55]OFD Sender: No OFD packet to send [14:06:00]OFD Sender: No OFD packet to send [14:06:05]OFD Sender: No OFD packet to send [14:06:10]OFD Sender: No OFD packet to send [14:06:15]OFD Sender: No OFD packet to send [14:06:20]OFD Sender: No OFD packet to send [14:06:25]OFD Sender: No OFD packet to send [14:06:30]OFD Sender: No OFD packet to send [14:06:35]OFD Sender: No OFD packet to send [14:06:40]OFD Sender: No OFD packet to send [14:06:45]OFD Sender: No OFD packet to send [14:06:50]OFD Sender: No OFD packet to send [14:06:55]OFD Sender: No OFD packet to send [14:07:00]OFD Sender: No OFD packet to send [14:07:05]OFD Sender: No OFD packet to send [14:07:10]OFD Sender: No OFD packet to send [14:07:15]OFD Sender: No OFD packet to send [14:07:20]OFD Sender: No OFD packet to send [14:07:25]OFD Sender: No OFD packet to send [14:07:30]OFD Sender: No OFD packet to send [14:07:35]OFD Sender: No OFD packet to send [14:07:40]OFD Sender: No OFD packet to send [14:07:45]OFD Sender: No OFD packet to send [14:07:50]OFD Sender: No OFD packet to send [14:07:55]OFD Sender: No OFD packet to send [14:08:00]OFD Sender: No OFD packet to send [14:08:05]OFD Sender: No OFD packet to send [14:08:10]OFD Sender: No OFD packet to send [14:08:15]OFD Sender: No OFD packet to send [00:00:10] *** EcrCore started. Build 196 *** [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 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 5E FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 03 [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]/dev/ttyS4 opened [00:00:10]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [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 (2007E328 010249C5) [00:00:10]*** Waiting for read because exit forced [00:00:10]*** 10 ms more... [00:00:10]*** MH1903S init start (LINUX_LIGHT) [00:00:10]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:10]*** Serial: 3139303353513838 540000000057255E (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: 2382450+1724890882=1727273332 [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 = 0x33500623 [00:00:10]*** Is cutter blocked? [00:00:11]MH_GetMetrics [00:00:11]Write to MH i2c: 00 00 00 03 00 02 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 03 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 5E FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 04 [00:00:11]Are we in boot? [00:00:11]We are not in boot now [00:00:11]Write to MH i2c: 01 00 00 04 00 04 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:11]Model is 3 [00:00:11]MH firmware is 30620 [00:00:11]MH boot firmware is 3 [00:00:11]MH_SetPrinterDots 448 [00:00:11]HeadWidthInBytes 56 [00:00:11]maxmasksize 7 [00:00:11]Write to MH i2c: D6 06 00 05 00 41 00 64 00 FF FF 83 [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 75 19 F4 66 02 BF CF 66 DD [14:08:53]Current date/time: 25.09.2024 14:08 [14:08:53]FM_Init [14:08:53]wFMConnect [14:08:53]MH_SAM_On [14:08:53]Write to MH i2c: E0 00 00 08 00 E7 [14:08:53]Write i2c OK [14:08:53]MH_I2C_Read... [14:08:53]*** iso7816_init finished! [14:08:53]*** atr: [14:08:53]*** 0F 3B D5 18 FF 81 91 FE [14:08:53]*** 1F C3 80 73 C8 21 10 0A [14:08:53]*** 00 00 00 00 00 00 00 00 [14:08:53]*** 00 00 00 00 00 00 00 00 [14:08:53]*** 00 00 00 00 00 00 00 00 [14:08:53]*** 00 00 00 00 00 00 00 00 [14:08:53]*** 00 00 00 00 00 00 00 00 [14:08:53]*** 00 00 00 00 00 00 00 00 [14:08:53]Read from MH i2c: E0 [14:08:53]MH_I2C_Read... [14:08:53]Read from MH i2c: E0 10 00 [14:08:53]MH_I2C_Read... [14:08:53]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [14:08:53]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [14:08:53]wFMCommunicate request_size=10 [14:08:53]MH_SAM_APDU [14:08:53]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [14:08:53]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [14:08:53]Write i2c OK [14:08:53]MH_I2C_Read... [14:08:53]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [14:08:53]Read from MH i2c: E2 [14:08:53]MH_I2C_Read... [14:08:53]Read from MH i2c: E2 03 00 [14:08:53]MH_I2C_Read... [14:08:53]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [14:08:53]RAPDU: 90 00 [14:08:53]wFMCommunicate OK [14:08:53]wFMCommunicate request_size=4 [14:08:53]MH_SAM_APDU [14:08:53]CAPDU: 80 11 00 00 [14:08:53]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [14:08:53]Write i2c OK [14:08:53]MH_I2C_Read... [14:08:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:08:53]Read from MH i2c: E2 [14:08:53]MH_I2C_Read... [14:08:53]Read from MH i2c: E2 17 00 [14:08:53]MH_I2C_Read... [14:08:53]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 DE [14:08:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [14:08:53]wFMCommunicate OK [14:08:53]Detected FM SN is 0000000000959358 [14:08:53]Stored FM SN is 0000000000959358 [14:08:53]wFMCommunicate request_size=9 [14:08:53]MH_SAM_APDU [14:08:53]CAPDU: 80 16 00 00 04 6A 2B 01 00 [14:08:53]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 6A 2B 01 00 00 00 28 [14:08:53]Write i2c OK [14:08:53]MH_I2C_Read... [14:08:53]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [14:08:53]Read from MH i2c: E2 [14:08:53]MH_I2C_Read... [14:08:53]Read from MH i2c: E2 03 00 [14:08:53]MH_I2C_Read... [14:08:53]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [14:08:53]RAPDU: 90 00 [14:08:53]wFMCommunicate OK [14:08:53]FM PIN OK [14:08:53]wFMCommunicate request_size=8 [14:08:53]MH_SAM_APDU [14:08:53]CAPDU: 80 14 04 00 03 02 00 01 [14:08:53]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [14:08:53]Write i2c OK [14:08:53]MH_I2C_Read... [14:08:53]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [14:08:53]Read from MH i2c: E2 [14:08:53]MH_I2C_Read... [14:08:53]Read from MH i2c: E2 03 00 [14:08:53]MH_I2C_Read... [14:08:53]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [14:08:53]RAPDU: 90 00 [14:08:53]wFMCommunicate OK [14:08:53]wFMCommunicate request_size=13 [14:08:53]MH_SAM_APDU [14:08:53]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [14:08:53]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [14:08:53]Write i2c OK [14:08:53]MH_I2C_Read... [14:08:53]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [14:08:53]Read from MH i2c: E2 [14:08:53]MH_I2C_Read... [14:08:53]Read from MH i2c: E2 03 00 [14:08:53]MH_I2C_Read... [14:08:53]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [14:08:53]RAPDU: 90 00 [14:08:53]wFMCommunicate OK [14:08:53]wFMCommunicate request_size=4 [14:08:53]MH_SAM_APDU [14:08:53]CAPDU: 80 11 00 00 [14:08:53]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [14:08:53]Write i2c OK [14:08:53]MH_I2C_Read... [14:08:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:08:53]Read from MH i2c: E2 [14:08:53]MH_I2C_Read... [14:08:53]Read from MH i2c: E2 17 00 [14:08:53]MH_I2C_Read... [14:08:53]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 E2 [14:08:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [14:08:53]wFMCommunicate OK [14:08:53]DocumentArchiveInit [14:08:53]Start Httpd... [14:08:53]Httpd thread 3067870564 created [14:08:53]Write to MH i2c: 01 00 00 0F 00 0F [14:08:53]Write i2c OK [14:08:53]MH_I2C_Read... [14:08:53]Read from MH i2c: 01 [14:08:53]MH_I2C_Read... [14:08:53]Read from MH i2c: 01 07 00 [14:08:53]MH_I2C_Read... [14:08:53]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [14:08:53]Allocated Socket 5 [14:08:53]Bind OK [14:08:53]Listen OK [14:08:53]httpd running on port 8080 [14:08:53]Waiting for new connection... [14:08:53]MH Int Process started [14:08:53]OFD Sender: No OFD packet to send [14:08:58]OFD Sender: No OFD packet to send [14:09:03]OFD Sender: No OFD packet to send [14:09:08]OFD Sender: No OFD packet to send [14:09:13]OFD Sender: No OFD packet to send [14:09:18]OFD Sender: No OFD packet to send [14:09:23]OFD Sender: No OFD packet to send [14:09:28]OFD Sender: No OFD packet to send [14:09:33]OFD Sender: No OFD packet to send [14:09:38]OFD Sender: No OFD packet to send [14:09:43]OFD Sender: No OFD packet to send [14:09:48]OFD Sender: No OFD packet to send [14:09:53]OFD Sender: No OFD packet to send [14:09:58]OFD Sender: No OFD packet to send [14:10:03]OFD Sender: No OFD packet to send [14:10:08]OFD Sender: No OFD packet to send [14:10:13]OFD Sender: No OFD packet to send [14:10:18]OFD Sender: No OFD packet to send [14:10:23]OFD Sender: No OFD packet to send [14:10:28]OFD Sender: No OFD packet to send [14:10:33]OFD Sender: No OFD packet to send [14:10:38]OFD Sender: No OFD packet to send [14:10:43]OFD Sender: No OFD packet to send [14:10:48]OFD Sender: No OFD packet to send [14:10:53]OFD Sender: No OFD packet to send [14:10:58]OFD Sender: No OFD packet to send [14:11:03]OFD Sender: No OFD packet to send [14:11:08]OFD Sender: No OFD packet to send [14:11:13]OFD Sender: No OFD packet to send [14:11:18]OFD Sender: No OFD packet to send [14:11:23]OFD Sender: No OFD packet to send [14:11:28]OFD Sender: No OFD packet to send [14:11:33]OFD Sender: No OFD packet to send [14:11:38]OFD Sender: No OFD packet to send [14:11:43]OFD Sender: No OFD packet to send [14:11:48]OFD Sender: No OFD packet to send [14:11:53]OFD Sender: No OFD packet to send [14:11:58]OFD Sender: No OFD packet to send [14:12:03]OFD Sender: No OFD packet to send [14:12:08]OFD Sender: No OFD packet to send [14:12:13]OFD Sender: No OFD packet to send [14:12:18]OFD Sender: No OFD packet to send [14:12:23]OFD Sender: No OFD packet to send [14:12:28]OFD Sender: No OFD packet to send [14:12:33]OFD Sender: No OFD packet to send [14:12:38]OFD Sender: No OFD packet to send [14:12:43]OFD Sender: No OFD packet to send [14:12:48]OFD Sender: No OFD packet to send [14:12:53]OFD Sender: No OFD packet to send [14:12:58]OFD Sender: No OFD packet to send [14:13:03]OFD Sender: No OFD packet to send [14:13:08]OFD Sender: No OFD packet to send [14:13:13]OFD Sender: No OFD packet to send [14:13:18]OFD Sender: No OFD packet to send [14:13:23]OFD Sender: No OFD packet to send [14:13:28]OFD Sender: No OFD packet to send [14:13:33]OFD Sender: No OFD packet to send [14:13:38]OFD Sender: No OFD packet to send [14:13:43]OFD Sender: No OFD packet to send [14:13:48]OFD Sender: No OFD packet to send [14:13:53]OFD Sender: No OFD packet to send [14:13:58]OFD Sender: No OFD packet to send [14:14:03]OFD Sender: No OFD packet to send [14:14:08]OFD Sender: No OFD packet to send [14:14:13]OFD Sender: No OFD packet to send [14:14:18]OFD Sender: No OFD packet to send [14:14:23]OFD Sender: No OFD packet to send [14:14:28]OFD Sender: No OFD packet to send [14:14:33]OFD Sender: No OFD packet to send [14:14:38]OFD Sender: No OFD packet to send [14:14:43]OFD Sender: No OFD packet to send [14:14:48]OFD Sender: No OFD packet to send [14:14:53]OFD Sender: No OFD packet to send [14:14:58]OFD Sender: No OFD packet to send [14:15:03]OFD Sender: No OFD packet to send [14:15:08]OFD Sender: No OFD packet to send [14:15:13]OFD Sender: No OFD packet to send [14:15:18]OFD Sender: No OFD packet to send [14:15:23]OFD Sender: No OFD packet to send [14:15:28]OFD Sender: No OFD packet to send [14:15:33]OFD Sender: No OFD packet to send [14:15:38]OFD Sender: No OFD packet to send [14:15:43]OFD Sender: No OFD packet to send [14:15:48]OFD Sender: No OFD packet to send [14:15:53]OFD Sender: No OFD packet to send [14:15:58]OFD Sender: No OFD packet to send [14:16:03]OFD Sender: No OFD packet to send [14:16:08]OFD Sender: No OFD packet to send [14:16:13]OFD Sender: No OFD packet to send [14:16:18]OFD Sender: No OFD packet to send [14:16:23]OFD Sender: No OFD packet to send [14:16:28]OFD Sender: No OFD packet to send [14:16:33]OFD Sender: No OFD packet to send [14:16:38]OFD Sender: No OFD packet to send [14:16:43]OFD Sender: No OFD packet to send [14:16:48]OFD Sender: No OFD packet to send [14:16:53]OFD Sender: No OFD packet to send [14:16:58]OFD Sender: No OFD packet to send [14:17:03]OFD Sender: No OFD packet to send [14:17:08]OFD Sender: No OFD packet to send [14:17:13]OFD Sender: No OFD packet to send [14:17:18]OFD Sender: No OFD packet to send [14:17:23]OFD Sender: No OFD packet to send [14:17:28]OFD Sender: No OFD packet to send [14:17:33]OFD Sender: No OFD packet to send [14:17:38]OFD Sender: No OFD packet to send [14:17:43]OFD Sender: No OFD packet to send [14:17:48]OFD Sender: No OFD packet to send [14:17:53]OFD Sender: No OFD packet to send [14:17:58]OFD Sender: No OFD packet to send [14:18:03]OFD Sender: No OFD packet to send [14:18:08]OFD Sender: No OFD packet to send [14:18:13]OFD Sender: No OFD packet to send [14:18:18]OFD Sender: No OFD packet to send [14:18:23]OFD Sender: No OFD packet to send [14:18:28]OFD Sender: No OFD packet to send [14:18:33]OFD Sender: No OFD packet to send [14:18:38]OFD Sender: No OFD packet to send [14:18:43]OFD Sender: No OFD packet to send [14:18:48]OFD Sender: No OFD packet to send [14:18:53]OFD Sender: No OFD packet to send [14:18:58]OFD Sender: No OFD packet to send [14:19:03]OFD Sender: No OFD packet to send [14:19:08]OFD Sender: No OFD packet to send [14:19:13]OFD Sender: No OFD packet to send [14:19:18]OFD Sender: No OFD packet to send [14:19:23]OFD Sender: No OFD packet to send [14:19:28]OFD Sender: No OFD packet to send [14:19:33]OFD Sender: No OFD packet to send [14:19:38]OFD Sender: No OFD packet to send [14:19:43]OFD Sender: No OFD packet to send [14:19:48]OFD Sender: No OFD packet to send [14:19:53]OFD Sender: No OFD packet to send [14:19:58]OFD Sender: No OFD packet to send [14:20:03]OFD Sender: No OFD packet to send [14:20:08]OFD Sender: No OFD packet to send [14:20:13]OFD Sender: No OFD packet to send [14:20:18]OFD Sender: No OFD packet to send [14:20:24]OFD Sender: No OFD packet to send [14:20:29]OFD Sender: No OFD packet to send [14:20:34]OFD Sender: No OFD packet to send [14:20:39]OFD Sender: No OFD packet to send [14:20:44]OFD Sender: No OFD packet to send [14:20:49]OFD Sender: No OFD packet to send [14:20:54]OFD Sender: No OFD packet to send [14:20:59]OFD Sender: No OFD packet to send [14:21:04]OFD Sender: No OFD packet to send [14:21:09]OFD Sender: No OFD packet to send [14:21:14]OFD Sender: No OFD packet to send [14:21:18]accept exits with 6 [14:21:18]New connection [14:21:18]New thread 3067583844 created [14:21:18]Waiting for new connection... [14:21:18] Sock 6.Parse request [14:21:18]Sock 6.Check first char [14:21:18]Sock 6.First char is OK [14:21:18]request: POST /json_proto HTTP/1.0 [14:21:18]Method: POST [14:21:18]URL: /json_proto [14:21:18]Method is POST - this is cgi request [14:21:18]url: /json_proto [14:21:18]query_string will be loaded in cgi processing [14:21:18]execute_cgi json_proto POST (null) [14:21:18]execute_cgi path=json_proto method=POST [14:21:18]POST find Content-Length [14:21:18]Host: 172.17.43.4:8080 [14:21:18]Content-Length: 992 [14:21:18]Content-Type: application/json [14:21:18] [14:21:18]POST finish read [14:21:18]Found Content-Length = 992 [14:21:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51675", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400976", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 \u0436\u0430\u0440\u0435\u043D \u041A\u0430\u0440\u0430\u0432\u0430\u043D \u043E\u0440\u0435\u0445\u043E\u0432 \u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442 90 ", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 219.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:21:18]execute_script... [14:21:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51675", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400976", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 \u0436\u0430\u0440\u0435\u043D \u041A\u0430\u0440\u0430\u0432\u0430\u043D \u043E\u0440\u0435\u0445\u043E\u0432 \u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442 90 ", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 219.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:21:18]POST & json_proto [14:21:18]process_json_proto [14:21:18]json parsed OK: [14:21:18]protocol is kg_v1.0 [14:21:18]action value=close_receipt [14:21:18]process_action close_receipt [14:21:18]cmd_close_receipt [14:21:18]MH_GetDate [14:21:18]Write to MH i2c: F0 00 00 10 00 FF [14:21:18]Write i2c OK [14:21:18]MH_I2C_Read... [14:21:18]Read from MH i2c: F0 [14:21:18]MH_I2C_Read... [14:21:18]Read from MH i2c: F0 09 00 [14:21:18]MH_I2C_Read... [14:21:18]Read from MH i2c: F0 09 00 10 00 00 5E 1C F4 66 02 BF CF 66 D2 [14:21:18]GetLastDocTimeStamp 1727270969 [14:21:18]current date 1727274078 [14:21:18]FM_GetShiftState [14:21:18]SAM_PROTO_GetShiftState [14:21:18]wFMCommunicate request_size=4 [14:21:18]MH_SAM_APDU [14:21:18]CAPDU: 80 13 01 00 [14:21:18]Write to MH i2c: E2 08 00 11 00 80 13 01 00 00 00 00 00 8E [14:21:18]Write i2c OK [14:21:18]MH_I2C_Read... [14:21:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:21:18]Read from MH i2c: E2 [14:21:18]MH_I2C_Read... [14:21:18]Read from MH i2c: E2 0E 00 [14:21:18]MH_I2C_Read... [14:21:18]Read from MH i2c: E2 0E 00 11 00 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 1F [14:21:18]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [14:21:18]wFMCommunicate OK [14:21:18]SAM_PROTO_GetShiftState done [14:21:18]FM_GetShiftState done [14:21:18]opened in 1727224020 [14:21:18]opened+sec_in_day 1727310420 [14:21:18]quantity*price = 14400 [14:21:18]sum+1 = 14401 [14:21:18]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4630007400976 Арахис жарен Караван орехов Стандарт 90 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 219.00 НСП 1% : 1.93 НДС 12% : 23.25 Наличными: 219.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 40 25.09.2024 14:21 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22467 ФПД: 259086875600042 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T142118&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22467&fm=259086875600042&tin=02508201610067®Number=0000000000146243&sum=21900 0 [14:21:19]StoreToDocumentArchive [14:21:19]shift 231 fd 22467 [14:21:19]save to /storage/0231/doc_00022467 [14:21:19]save last doc name /storage/0231/doc_00022467 to /storage/kkm_last_doc_name [14:21:19]save OK [14:21:19]Clear old archive folders... [14:21:19]ProcessDocumentItem done err = 0, tmpTLVsize=417 [14:21:19]tlvbuf is 002082E0 [14:21:19]SAM_PROTO_ClearQueue [14:21:19]wFMCommunicate request_size=4 [14:21:19]MH_SAM_APDU [14:21:19]CAPDU: 80 09 00 00 [14:21:19]Write to MH i2c: E2 08 00 1E 00 80 09 00 00 00 00 00 00 90 [14:21:19]Write i2c OK [14:21:19]MH_I2C_Read... [14:21:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:21:19]Read from MH i2c: E2 [14:21:19]MH_I2C_Read... [14:21:19]Read from MH i2c: E2 03 00 [14:21:19]MH_I2C_Read... [14:21:19]Read from MH i2c: E2 03 00 1E 00 00 90 00 92 [14:21:19]RAPDU: 90 00 [14:21:19]wFMCommunicate OK [14:21:19]SAM_PROTO_ClearQueue done [14:21:19]KKMCreateOFDPacket [14:21:19]OFDProtocolAddRootSTLVToBuf [14:21:19]FM_MakeSignedData [14:21:19]FM_MakeSignedData [14:21:19]SAM_PROTO_SignData [14:21:19]wFMCommunicate request_size=4 [14:21:19]MH_SAM_APDU [14:21:19]CAPDU: 80 0D 01 02 [14:21:19]Write to MH i2c: E2 08 00 1F 00 80 0D 01 02 00 00 00 00 98 [14:21:19]Write i2c OK [14:21:19]MH_I2C_Read... [14:21:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:21:19]Read from MH i2c: E2 [14:21:19]MH_I2C_Read... [14:21:19]Read from MH i2c: E2 03 00 [14:21:19]MH_I2C_Read... [14:21:19]Read from MH i2c: E2 03 00 1F 00 00 90 00 93 [14:21:19]RAPDU: 90 00 [14:21:19]wFMCommunicate OK [14:21:19]wFMCommunicate request_size=255 [14:21:19]MH_SAM_APDU [14:21:19]CAPDU: 80 0D 02 02 FA 03 00 A1 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8C 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 37 36 06 04 48 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 39 30 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 [14:21:19]Write to MH i2c: E2 02 01 20 00 80 0D 02 02 FA 00 03 00 A1 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8C 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 37 36 06 04 48 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 39 30 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 00 00 E1 [14:21:19]Write i2c OK [14:21:19]MH_I2C_Read... [14:21:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:21:19]Read from MH i2c: E2 [14:21:19]MH_I2C_Read... [14:21:19]Read from MH i2c: E2 03 00 [14:21:19]MH_I2C_Read... [14:21:19]Read from MH i2c: E2 03 00 20 00 00 90 00 94 [14:21:19]RAPDU: 90 00 [14:21:19]wFMCommunicate OK [14:21:19]wFMCommunicate request_size=176 [14:21:19]MH_SAM_APDU [14:21:19]CAPDU: 80 0D 02 02 AB 01 BC 04 01 00 01 FC 03 06 00 8C 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 09 00 00 00 00 07 04 06 00 8C 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 5E 1C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C3 57 00 00 35 04 06 00 EB A3 5D 2F A4 AA [14:21:19]Write to MH i2c: E2 B3 00 21 00 80 0D 02 02 AB 00 01 BC 04 01 00 01 FC 03 06 00 8C 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 09 00 00 00 00 07 04 06 00 8C 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 5E 1C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C3 57 00 00 35 04 06 00 EB A3 5D 2F A4 AA 00 00 FE [14:21:19]Write i2c OK [14:21:19]MH_I2C_Read... [14:21:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:21:19]Read from MH i2c: E2 [14:21:19]MH_I2C_Read... [14:21:19]Read from MH i2c: E2 03 00 [14:21:19]MH_I2C_Read... [14:21:19]Read from MH i2c: E2 03 00 21 00 00 90 00 95 [14:21:19]RAPDU: 90 00 [14:21:19]wFMCommunicate OK [14:21:19]wFMCommunicate request_size=4 [14:21:19]MH_SAM_APDU [14:21:19]CAPDU: 80 0D 03 02 [14:21:19]Write to MH i2c: E2 08 00 22 00 80 0D 03 02 00 00 00 00 9D [14:21:19]Write i2c OK [14:21:19]MH_I2C_Read... [14:21:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:21:20]Read from MH i2c: E2 [14:21:20]MH_I2C_Read... [14:21:20]Read from MH i2c: E2 0B 00 [14:21:20]MH_I2C_Read... [14:21:20]Read from MH i2c: E2 0B 00 22 00 00 BD ED 8E 98 D2 7A CF 32 90 00 BB [14:21:20]RAPDU: BD ED 8E 98 D2 7A CF 32 90 00 [14:21:20]wFMCommunicate OK [14:21:20]SAM_PROTO_SignData done [14:21:20]FM_MakeSignedData done [14:21:20]CreateOFDProtocolMessage [14:21:20]wFMCommunicate request_size=4 [14:21:20]MH_SAM_APDU [14:21:20]CAPDU: 80 11 00 00 [14:21:20]Write to MH i2c: E2 08 00 23 00 80 11 00 00 00 00 00 00 9D [14:21:20]Write i2c OK [14:21:20]MH_I2C_Read... [14:21:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:21:20]Read from MH i2c: E2 [14:21:20]MH_I2C_Read... [14:21:20]Read from MH i2c: E2 17 00 [14:21:20]MH_I2C_Read... [14:21:20]Read from MH i2c: E2 17 00 23 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 F7 [14:21:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [14:21:20]wFMCommunicate OK [14:21:20]CreateOFDProtocolMessage done [14:21:20]OFDSenderStorePacket 22467 [14:21:20]StoreOFDPacket docnum=22467 [14:21:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 B5 01 00 00 19 49 AD 01 29 29 5A 03 01 00 03 00 A1 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8C 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 37 36 06 04 48 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 39 30 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 09 00 00 00 00 07 04 06 00 8C 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 5E 1C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C3 57 00 00 35 04 06 00 EB A3 5D 2F A4 AA BD ED 8E 98 D2 7A CF 32 [14:21:20]CheckFolder [14:21:20]dirname=/storage/ofd_packets [14:21:20]CheckFolder done [14:21:20]ProducePacketName [14:21:20]name=ofd_packets/00022467 [14:21:20]NVStorageSaveData ofd_packets/00022467 [14:21:20]File name is /storage/ofd_packets/00022467 [14:21:20]Write 467 bytes [14:21:20]NVStorageSaveData done [14:21:20]OFDSenderStorePacket done [14:21:20]KKMCreateOFDPacket done [14:21:20]NVStorageSaveData kkm_last_timestamp [14:21:20]File name is /storage/kkm_last_timestamp [14:21:20]Write 4 bytes [14:21:20]NVStorageSaveData done [14:21:20]ExternCall_PrintAddStr [14:21:20]wPrintStart [14:21:20]Write to MH i2c: 01 00 00 24 00 24 [14:21:20]Write i2c OK [14:21:20]MH_I2C_Read... [14:21:20]Read from MH i2c: 01 [14:21:20]MH_I2C_Read... [14:21:20]Read from MH i2c: 01 07 00 [14:21:20]MH_I2C_Read... [14:21:20]Read from MH i2c: 01 07 00 24 00 00 00 00 00 00 FF 0F 39 [14:21:20]RasterBufferAndPrint [14:21:20]line Счет N : (3)51675 [14:21:20]line ИНН: 02508201610067 [14:21:20]line Контрольно-Кассовый Чек [14:21:20]line ПРОДАЖА [14:21:20]line Товар: 48743570 [14:21:20]line Сигареты Winston XStyle Blue [14:21:20]line 1.000 * 144.00 [14:21:20]line = 144.00 [14:21:20]line НДС 12% НСП 1% [14:21:20]line > о реализуемом товаре [14:21:20]line Товар: 4630007400976 [14:21:20]line Арахис жарен Караван орехов Стандарт 90 [14:21:20]line 1.000 * 75.00 [14:21:20]line = 75.00 [14:21:20]line НДС 12% НСП 1% [14:21:20]line > о реализуемом товаре [14:21:20]line ИТОГО: 219.00 [14:21:20]line НСП 1% : 1.93 [14:21:20]line НДС 12% : 23.25 [14:21:20]line Наличными: 219.00 [14:21:20]line Безнал.: 0.00 [14:21:20]line Место: АЗС № 88 "Партнер Нефть" [14:21:20]OFD Sender: Processing packet 22467 [packets to send 23, broken 22] [14:21:20]ProducePacketName [14:21:20]name=ofd_packets/00022467 [14:21:20]OFD Sender: To server: pG, [14:21:20]CommunicateWithHost lk.salyk.kg:30040 [14:21:20]ConnectInit lk.salyk.kg [14:21:20]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [14:21:20]line СНО: Общий режим [14:21:20]line Чек 40 25.09.2024 14:21 [14:21:20]line Смена: 231 ФФД: 1.0 [14:21:20]line ЗНМ: 0300000061 [14:21:20]line РНМ: 0000000000146243 [14:21:20]line Версия ККМ: v1.0 [14:21:20]line ФМ: 0000000000959358 [14:21:20]line ФД: 22467 [14:21:20]line ФПД: 259086875600042 [14:21:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T142118&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22467&fm=259086875600042&tin=02508201610067®Number=0000000000146243&sum=21900 [14:21:20]line 0 [14:21:20]written 0, free lines is 4095 [14:21:20]Connected sock=10 [14:21:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 B5 01 00 00 19 49 AD 01 29 29 5A 03 01 00 03 00 A1 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8C 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 37 36 06 04 48 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 39 30 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 09 00 00 00 00 07 04 06 00 8C 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 5E 1C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C3 57 00 00 35 04 06 00 EB A3 5D 2F A4 AA BD ED 8E 98 D2 7A CF 32 [14:21:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 4C 3A 47 00 DE 7A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C3 57 00 00 F4 03 04 00 81 C6 F3 66 B6 04 01 00 00 4B 9A 1E 83 80 3E 31 86 [14:21:20]CommunicateWithHost err = 0 [14:21:20]CheckOFDResponse [14:21:20]1017 (14) - 77093643461234 [14:21:20]1041 (16) - 0000000000959358 [14:21:20]1040 (4) - 22467 [14:21:20]1012 (4) - 25.09.2024 08:14 [14:21:20]1206 (1) - 0 [14:21:20]OFD Sender: Remove packet 22467 [14:21:20]ProducePacketName [14:21:20]name=ofd_packets/00022467 [14:21:20]NVStorageDeleteData [14:21:20]Write to MH i2c: 01 00 00 53 00 53 [14:21:20]Write i2c OK [14:21:20]MH_I2C_Read... [14:21:20]Read from MH i2c: 01 [14:21:20]MH_I2C_Read... [14:21:20]Read from MH i2c: 01 07 00 [14:21:20]MH_I2C_Read... [14:21:20]Read from MH i2c: 01 07 00 53 00 00 00 00 00 00 DD 0C 43 [14:21:20]RasterBufferAndPrint [14:21:20]line [14:21:20]line [14:21:20]line [14:21:20]line [14:21:20]line [14:21:20]written 0, free lines is 3299 [14:21:20]MH_Cut [14:21:20]Write to MH i2c: D1 01 00 5A 00 01 2C [14:21:20]Write i2c OK [14:21:20]MH_I2C_Read... [14:21:20]Read from MH i2c: D1 [14:21:20]MH_I2C_Read... [14:21:20]Read from MH i2c: D1 01 00 [14:21:20]MH_I2C_Read... [14:21:20]Read from MH i2c: D1 01 00 5A 00 00 2B [14:21:20]Write to MH i2c: 01 00 00 5B 00 5B [14:21:20]Write i2c OK [14:21:20]MH_I2C_Read... [14:21:21]OFD Sender: No OFD packet to send [14:21:21]*** Cut start [14:21:21]*** Partial cut [14:21:21]*** CUTSNS_PIN = 1 [14:21:21]*** CUTSNS_PIN = 0 [14:21:21]*** Brake cut motor [14:21:22]Read from MH i2c: 01 [14:21:22]MH_I2C_Read... [14:21:22]*** Stop cut motor [14:21:22]*** Cut end [14:21:22]Read from MH i2c: 01 07 00 [14:21:22]MH_I2C_Read... [14:21:22]Read from MH i2c: 01 07 00 5B 00 00 00 00 00 00 FF 0F 70 [14:21:22]process_action close_receipt done [14:21:22]requested_data is exist [14:21:22]produce_requested_data [14:21:22]requested_item fm.sn is exist - process it [14:21:22]wFMCommunicate request_size=4 [14:21:22]MH_SAM_APDU [14:21:22]CAPDU: 80 11 00 00 [14:21:22]Write to MH i2c: E2 08 00 5C 00 80 11 00 00 00 00 00 00 D6 [14:21:22]Write i2c OK [14:21:22]MH_I2C_Read... [14:21:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:21:22]Read from MH i2c: E2 [14:21:22]MH_I2C_Read... [14:21:22]Read from MH i2c: E2 17 00 [14:21:22]MH_I2C_Read... [14:21:22]Read from MH i2c: E2 17 00 5C 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 30 [14:21:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [14:21:22]wFMCommunicate OK [14:21:22]requested_item fd.num is exist - process it [14:21:22]SAM_PROTO_GetFieldsCounters [14:21:22]wFMCommunicate request_size=4 [14:21:22]MH_SAM_APDU [14:21:22]CAPDU: 80 13 00 00 [14:21:22]Write to MH i2c: E2 08 00 5D 00 80 13 00 00 00 00 00 00 D9 [14:21:22]Write i2c OK [14:21:22]MH_I2C_Read... [14:21:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:21:22]Read from MH i2c: E2 [14:21:22]MH_I2C_Read... [14:21:22]Read from MH i2c: E2 62 00 [14:21:22]MH_I2C_Read... [14:21:22]Read from MH i2c: E2 62 00 5D 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 C3 57 00 00 0E 04 04 00 E7 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 75 [14:21:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 C3 57 00 00 0E 04 04 00 E7 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 [14:21:22]wFMCommunicate OK [14:21:22]SAM_PROTO_GetFieldsCounters done [14:21:22]requested_item shift.num is exist - process it [14:21:22]requested_item shift.opened is exist - process it [14:21:22]req_shift_opened [14:21:22]FM_GetShiftState [14:21:22]SAM_PROTO_GetShiftState [14:21:22]wFMCommunicate request_size=4 [14:21:22]MH_SAM_APDU [14:21:22]CAPDU: 80 13 01 00 [14:21:22]Write to MH i2c: E2 08 00 5E 00 80 13 01 00 00 00 00 00 DB [14:21:22]Write i2c OK [14:21:22]MH_I2C_Read... [14:21:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:21:22]Read from MH i2c: E2 [14:21:22]MH_I2C_Read... [14:21:22]Read from MH i2c: E2 0E 00 [14:21:22]MH_I2C_Read... [14:21:22]Read from MH i2c: E2 0E 00 5E 00 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 6C [14:21:22]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [14:21:22]wFMCommunicate OK [14:21:22]SAM_PROTO_GetShiftState done [14:21:22]FM_GetShiftState done [14:21:22]req_shift_opened done [14:21:22]requested_item shift.open_date is exist - process it [14:21:22]req_shift_open_date [14:21:22]req_shift_open_date done [14:21:22]produce_requested_data done [14:21:22]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22467,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [14:21:22]process_action_free close_receipt [14:21:22]json_value_free [14:21:22]json_value_free done [14:21:22]process_json_proto returns [14:21:22]Send response to host [14:21:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22467,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [14:21:22]free response buf [14:21:22]execute_script done [14:21:22]execute_script returns [14:21:22]free content buf [14:21:22]Sock 6.Close socket [14:21:22]Sock 6.Thread stoped [14:21:26]OFD Sender: No OFD packet to send [14:21:31]OFD Sender: No OFD packet to send [14:21:36]OFD Sender: No OFD packet to send [14:21:41]OFD Sender: No OFD packet to send [14:21:46]OFD Sender: No OFD packet to send [14:21:51]OFD Sender: No OFD packet to send [14:21:56]OFD Sender: No OFD packet to send [14:22:01]OFD Sender: No OFD packet to send [14:22:06]OFD Sender: No OFD packet to send [14:22:11]OFD Sender: No OFD packet to send [14:22:16]OFD Sender: No OFD packet to send [14:22:21]OFD Sender: No OFD packet to send [14:22:26]OFD Sender: No OFD packet to send [14:22:31]OFD Sender: No OFD packet to send [14:22:36]OFD Sender: No OFD packet to send [14:22:41]OFD Sender: No OFD packet to send [14:22:46]OFD Sender: No OFD packet to send [14:22:51]OFD Sender: No OFD packet to send [14:22:56]OFD Sender: No OFD packet to send [14:23:01]OFD Sender: No OFD packet to send [14:23:06]OFD Sender: No OFD packet to send [14:23:11]OFD Sender: No OFD packet to send [14:23:16]OFD Sender: No OFD packet to send [14:23:21]OFD Sender: No OFD packet to send [14:23:26]OFD Sender: No OFD packet to send [14:23:31]OFD Sender: No OFD packet to send [14:23:36]OFD Sender: No OFD packet to send [14:23:41]OFD Sender: No OFD packet to send [14:23:46]OFD Sender: No OFD packet to send [14:23:51]OFD Sender: No OFD packet to send [14:23:56]OFD Sender: No OFD packet to send [14:24:01]OFD Sender: No OFD packet to send [14:24:06]OFD Sender: No OFD packet to send [14:24:11]OFD Sender: No OFD packet to send [14:24:16]OFD Sender: No OFD packet to send [14:24:21]OFD Sender: No OFD packet to send [14:24:26]OFD Sender: No OFD packet to send [14:24:31]OFD Sender: No OFD packet to send [14:24:36]OFD Sender: No OFD packet to send [14:24:41]OFD Sender: No OFD packet to send [14:24:46]OFD Sender: No OFD packet to send [14:24:51]OFD Sender: No OFD packet to send [14:24:56]OFD Sender: No OFD packet to send [14:25:01]OFD Sender: No OFD packet to send [14:25:06]OFD Sender: No OFD packet to send [14:25:11]OFD Sender: No OFD packet to send [14:25:16]OFD Sender: No OFD packet to send [14:25:21]OFD Sender: No OFD packet to send [14:25:26]OFD Sender: No OFD packet to send [14:25:31]OFD Sender: No OFD packet to send [14:25:36]OFD Sender: No OFD packet to send [14:25:41]OFD Sender: No OFD packet to send [14:25:46]OFD Sender: No OFD packet to send [14:25:51]OFD Sender: No OFD packet to send [14:25:56]OFD Sender: No OFD packet to send [14:26:01]OFD Sender: No OFD packet to send [14:26:06]OFD Sender: No OFD packet to send [14:26:11]OFD Sender: No OFD packet to send [14:26:16]OFD Sender: No OFD packet to send [14:26:21]OFD Sender: No OFD packet to send [14:26:26]OFD Sender: No OFD packet to send [14:26:31]OFD Sender: No OFD packet to send [14:26:36]OFD Sender: No OFD packet to send [14:26:41]OFD Sender: No OFD packet to send [14:26:46]OFD Sender: No OFD packet to send [14:26:51]OFD Sender: No OFD packet to send [14:26:56]OFD Sender: No OFD packet to send [14:27:01]OFD Sender: No OFD packet to send [14:27:06]OFD Sender: No OFD packet to send [14:27:11]OFD Sender: No OFD packet to send [14:27:16]OFD Sender: No OFD packet to send [14:27:21]OFD Sender: No OFD packet to send [14:27:26]OFD Sender: No OFD packet to send [14:27:31]OFD Sender: No OFD packet to send [14:27:36]OFD Sender: No OFD packet to send [14:27:41]OFD Sender: No OFD packet to send [14:27:46]OFD Sender: No OFD packet to send [14:27:51]OFD Sender: No OFD packet to send [14:27:56]OFD Sender: No OFD packet to send [14:28:01]OFD Sender: No OFD packet to send [14:28:06]OFD Sender: No OFD packet to send [14:28:11]OFD Sender: No OFD packet to send [14:28:16]OFD Sender: No OFD packet to send [14:28:21]OFD Sender: No OFD packet to send [14:28:26]OFD Sender: No OFD packet to send [14:28:31]OFD Sender: No OFD packet to send [14:28:36]OFD Sender: No OFD packet to send [14:28:41]OFD Sender: No OFD packet to send [14:28:46]OFD Sender: No OFD packet to send [14:28:51]OFD Sender: No OFD packet to send [14:28:56]OFD Sender: No OFD packet to send [14:29:01]OFD Sender: No OFD packet to send [14:29:06]OFD Sender: No OFD packet to send [14:29:11]OFD Sender: No OFD packet to send [14:29:16]OFD Sender: No OFD packet to send [14:29:21]OFD Sender: No OFD packet to send [14:29:26]OFD Sender: No OFD packet to send [14:29:31]OFD Sender: No OFD packet to send [14:29:36]OFD Sender: No OFD packet to send [14:29:41]OFD Sender: No OFD packet to send [14:29:46]OFD Sender: No OFD packet to send [14:29:51]OFD Sender: No OFD packet to send [14:29:56]OFD Sender: No OFD packet to send [14:30:01]OFD Sender: No OFD packet to send [14:30:06]OFD Sender: No OFD packet to send [14:30:11]OFD Sender: No OFD packet to send [14:30:16]OFD Sender: No OFD packet to send [14:30:21]OFD Sender: No OFD packet to send [14:30:26]OFD Sender: No OFD packet to send [14:30:31]OFD Sender: No OFD packet to send [14:30:36]OFD Sender: No OFD packet to send [14:30:41]OFD Sender: No OFD packet to send [14:30:46]OFD Sender: No OFD packet to send [14:30:51]OFD Sender: No OFD packet to send [14:30:56]OFD Sender: No OFD packet to send [14:31:01]OFD Sender: No OFD packet to send [14:31:06]OFD Sender: No OFD packet to send [14:31:11]OFD Sender: No OFD packet to send [14:31:16]OFD Sender: No OFD packet to send [14:31:21]OFD Sender: No OFD packet to send [14:31:26]OFD Sender: No OFD packet to send [14:31:31]OFD Sender: No OFD packet to send [14:31:36]OFD Sender: No OFD packet to send [14:31:41]OFD Sender: No OFD packet to send [14:31:46]OFD Sender: No OFD packet to send [14:31:51]OFD Sender: No OFD packet to send [14:31:56]OFD Sender: No OFD packet to send [14:32:01]OFD Sender: No OFD packet to send [14:32:06]OFD Sender: No OFD packet to send [14:32:11]OFD Sender: No OFD packet to send [14:32:16]OFD Sender: No OFD packet to send [14:32:21]OFD Sender: No OFD packet to send [14:32:26]OFD Sender: No OFD packet to send [14:32:31]OFD Sender: No OFD packet to send [14:32:36]OFD Sender: No OFD packet to send [14:32:41]OFD Sender: No OFD packet to send [14:32:46]OFD Sender: No OFD packet to send [14:32:51]OFD Sender: No OFD packet to send [14:32:56]OFD Sender: No OFD packet to send [14:33:01]OFD Sender: No OFD packet to send [14:33:06]OFD Sender: No OFD packet to send [14:33:11]OFD Sender: No OFD packet to send [14:33:16]OFD Sender: No OFD packet to send [14:33:21]OFD Sender: No OFD packet to send [14:33:26]OFD Sender: No OFD packet to send [14:33:31]OFD Sender: No OFD packet to send [14:33:36]OFD Sender: No OFD packet to send [14:33:41]OFD Sender: No OFD packet to send [14:33:46]OFD Sender: No OFD packet to send [14:33:51]OFD Sender: No OFD packet to send [14:33:56]OFD Sender: No OFD packet to send [14:34:01]OFD Sender: No OFD packet to send [14:34:06]OFD Sender: No OFD packet to send [14:34:11]OFD Sender: No OFD packet to send [14:34:17]OFD Sender: No OFD packet to send [14:34:22]OFD Sender: No OFD packet to send [14:34:27]OFD Sender: No OFD packet to send [14:34:32]OFD Sender: No OFD packet to send [14:34:37]OFD Sender: No OFD packet to send [14:34:42]OFD Sender: No OFD packet to send [14:34:47]OFD Sender: No OFD packet to send [14:34:52]OFD Sender: No OFD packet to send [14:34:57]OFD Sender: No OFD packet to send [14:35:02]OFD Sender: No OFD packet to send [14:35:07]OFD Sender: No OFD packet to send [14:35:12]OFD Sender: No OFD packet to send [14:35:17]OFD Sender: No OFD packet to send [14:35:22]OFD Sender: No OFD packet to send [14:35:27]OFD Sender: No OFD packet to send [14:35:32]OFD Sender: No OFD packet to send [14:35:37]OFD Sender: No OFD packet to send [14:35:42]OFD Sender: No OFD packet to send [14:35:47]OFD Sender: No OFD packet to send [14:35:52]OFD Sender: No OFD packet to send [14:35:57]OFD Sender: No OFD packet to send [14:36:02]OFD Sender: No OFD packet to send [14:36:07]OFD Sender: No OFD packet to send [14:36:12]OFD Sender: No OFD packet to send [14:36:17]OFD Sender: No OFD packet to send [14:36:22]OFD Sender: No OFD packet to send [14:36:27]OFD Sender: No OFD packet to send [14:36:32]OFD Sender: No OFD packet to send [14:36:37]OFD Sender: No OFD packet to send [14:36:42]OFD Sender: No OFD packet to send [14:36:47]OFD Sender: No OFD packet to send [14:36:52]OFD Sender: No OFD packet to send [14:36:57]OFD Sender: No OFD packet to send [14:37:02]OFD Sender: No OFD packet to send [14:37:07]OFD Sender: No OFD packet to send [14:37:12]OFD Sender: No OFD packet to send [14:37:17]OFD Sender: No OFD packet to send [14:37:22]OFD Sender: No OFD packet to send [14:37:27]OFD Sender: No OFD packet to send [14:37:32]OFD Sender: No OFD packet to send [14:37:37]OFD Sender: No OFD packet to send [14:37:42]OFD Sender: No OFD packet to send [14:37:47]OFD Sender: No OFD packet to send [14:37:52]OFD Sender: No OFD packet to send [14:37:57]OFD Sender: No OFD packet to send [14:38:02]OFD Sender: No OFD packet to send [14:38:07]OFD Sender: No OFD packet to send [14:38:12]OFD Sender: No OFD packet to send [14:38:17]OFD Sender: No OFD packet to send [14:38:22]OFD Sender: No OFD packet to send [14:38:27]OFD Sender: No OFD packet to send [14:38:32]OFD Sender: No OFD packet to send [14:38:37]OFD Sender: No OFD packet to send [14:38:42]OFD Sender: No OFD packet to send [14:38:47]OFD Sender: No OFD packet to send [14:38:52]OFD Sender: No OFD packet to send [14:38:57]OFD Sender: No OFD packet to send [14:39:02]OFD Sender: No OFD packet to send [14:39:07]OFD Sender: No OFD packet to send [14:39:12]OFD Sender: No OFD packet to send [14:39:17]OFD Sender: No OFD packet to send [14:39:22]OFD Sender: No OFD packet to send [14:39:27]OFD Sender: No OFD packet to send [14:39:32]OFD Sender: No OFD packet to send [14:39:37]OFD Sender: No OFD packet to send [14:39:42]OFD Sender: No OFD packet to send [14:39:47]OFD Sender: No OFD packet to send [14:39:52]OFD Sender: No OFD packet to send [14:39:57]OFD Sender: No OFD packet to send [14:40:02]OFD Sender: No OFD packet to send [14:40:07]OFD Sender: No OFD packet to send [14:40:12]OFD Sender: No OFD packet to send [14:40:17]OFD Sender: No OFD packet to send [14:40:22]OFD Sender: No OFD packet to send [14:40:27]OFD Sender: No OFD packet to send [14:40:32]OFD Sender: No OFD packet to send [14:40:37]OFD Sender: No OFD packet to send [14:40:42]OFD Sender: No OFD packet to send [14:40:47]OFD Sender: No OFD packet to send [14:40:52]OFD Sender: No OFD packet to send [14:40:57]OFD Sender: No OFD packet to send [14:41:02]OFD Sender: No OFD packet to send [14:41:07]OFD Sender: No OFD packet to send [14:41:12]OFD Sender: No OFD packet to send [14:41:17]OFD Sender: No OFD packet to send [14:41:22]OFD Sender: No OFD packet to send [14:41:27]OFD Sender: No OFD packet to send [14:41:32]OFD Sender: No OFD packet to send [14:41:37]OFD Sender: No OFD packet to send [14:41:42]OFD Sender: No OFD packet to send [14:41:47]OFD Sender: No OFD packet to send [14:41:52]OFD Sender: No OFD packet to send [14:41:57]OFD Sender: No OFD packet to send [14:42:02]OFD Sender: No OFD packet to send [14:42:07]OFD Sender: No OFD packet to send [14:42:12]OFD Sender: No OFD packet to send [14:42:17]OFD Sender: No OFD packet to send [14:42:22]OFD Sender: No OFD packet to send [14:42:27]OFD Sender: No OFD packet to send [14:42:32]OFD Sender: No OFD packet to send [14:42:37]OFD Sender: No OFD packet to send [14:42:42]OFD Sender: No OFD packet to send [14:42:47]OFD Sender: No OFD packet to send [14:42:52]OFD Sender: No OFD packet to send [14:42:57]OFD Sender: No OFD packet to send [14:43:02]OFD Sender: No OFD packet to send [14:43:07]OFD Sender: No OFD packet to send [14:43:12]OFD Sender: No OFD packet to send [14:43:17]OFD Sender: No OFD packet to send [14:43:22]OFD Sender: No OFD packet to send [14:43:27]OFD Sender: No OFD packet to send [14:43:32]OFD Sender: No OFD packet to send [14:43:37]OFD Sender: No OFD packet to send [14:43:42]OFD Sender: No OFD packet to send [14:43:47]OFD Sender: No OFD packet to send [14:43:52]OFD Sender: No OFD packet to send [14:43:57]OFD Sender: No OFD packet to send [14:44:02]OFD Sender: No OFD packet to send [14:44:07]OFD Sender: No OFD packet to send [14:44:12]OFD Sender: No OFD packet to send [14:44:17]OFD Sender: No OFD packet to send [14:44:22]OFD Sender: No OFD packet to send [14:44:27]OFD Sender: No OFD packet to send [14:44:32]OFD Sender: No OFD packet to send [14:44:37]OFD Sender: No OFD packet to send [14:44:42]OFD Sender: No OFD packet to send [14:44:47]OFD Sender: No OFD packet to send [14:44:52]OFD Sender: No OFD packet to send [14:44:57]OFD Sender: No OFD packet to send [14:45:02]OFD Sender: No OFD packet to send [14:45:07]OFD Sender: No OFD packet to send [14:45:12]OFD Sender: No OFD packet to send [14:45:17]OFD Sender: No OFD packet to send [14:45:22]OFD Sender: No OFD packet to send [14:45:27]OFD Sender: No OFD packet to send [14:45:32]OFD Sender: No OFD packet to send [14:45:37]OFD Sender: No OFD packet to send [14:45:42]OFD Sender: No OFD packet to send [14:45:47]OFD Sender: No OFD packet to send [14:45:52]OFD Sender: No OFD packet to send [14:45:57]OFD Sender: No OFD packet to send [14:46:02]OFD Sender: No OFD packet to send [14:46:07]OFD Sender: No OFD packet to send [14:46:12]OFD Sender: No OFD packet to send [14:46:17]OFD Sender: No OFD packet to send [14:46:22]OFD Sender: No OFD packet to send [14:46:27]OFD Sender: No OFD packet to send [14:46:32]OFD Sender: No OFD packet to send [14:46:37]OFD Sender: No OFD packet to send [14:46:42]OFD Sender: No OFD packet to send [14:46:47]OFD Sender: No OFD packet to send [14:46:52]OFD Sender: No OFD packet to send [14:46:57]OFD Sender: No OFD packet to send [14:47:02]OFD Sender: No OFD packet to send [14:47:07]OFD Sender: No OFD packet to send [14:47:12]OFD Sender: No OFD packet to send [14:47:17]OFD Sender: No OFD packet to send [14:47:22]OFD Sender: No OFD packet to send [14:47:27]OFD Sender: No OFD packet to send [14:47:32]OFD Sender: No OFD packet to send [14:47:37]OFD Sender: No OFD packet to send [14:47:42]OFD Sender: No OFD packet to send [14:47:47]OFD Sender: No OFD packet to send [14:47:52]OFD Sender: No OFD packet to send [14:47:57]OFD Sender: No OFD packet to send [14:48:02]OFD Sender: No OFD packet to send [14:48:07]OFD Sender: No OFD packet to send [14:48:12]OFD Sender: No OFD packet to send [14:48:17]OFD Sender: No OFD packet to send [14:48:22]OFD Sender: No OFD packet to send [14:48:27]OFD Sender: No OFD packet to send [14:48:32]OFD Sender: No OFD packet to send [14:48:37]OFD Sender: No OFD packet to send [14:48:42]OFD Sender: No OFD packet to send [14:48:47]OFD Sender: No OFD packet to send [14:48:52]OFD Sender: No OFD packet to send [14:48:57]OFD Sender: No OFD packet to send [14:49:02]OFD Sender: No OFD packet to send [14:49:07]OFD Sender: No OFD packet to send [14:49:12]OFD Sender: No OFD packet to send [14:49:17]OFD Sender: No OFD packet to send [14:49:22]OFD Sender: No OFD packet to send [14:49:27]OFD Sender: No OFD packet to send [14:49:32]OFD Sender: No OFD packet to send [14:49:37]OFD Sender: No OFD packet to send [14:49:42]OFD Sender: No OFD packet to send [14:49:47]OFD Sender: No OFD packet to send [14:49:52]OFD Sender: No OFD packet to send [14:49:57]OFD Sender: No OFD packet to send [14:50:02]OFD Sender: No OFD packet to send [14:50:07]OFD Sender: No OFD packet to send [14:50:12]OFD Sender: No OFD packet to send [14:50:17]OFD Sender: No OFD packet to send [14:50:22]OFD Sender: No OFD packet to send [14:50:27]OFD Sender: No OFD packet to send [14:50:32]OFD Sender: No OFD packet to send [14:50:37]OFD Sender: No OFD packet to send [14:50:42]OFD Sender: No OFD packet to send [14:50:47]OFD Sender: No OFD packet to send [14:50:52]OFD Sender: No OFD packet to send [14:50:57]OFD Sender: No OFD packet to send [14:51:02]OFD Sender: No OFD packet to send [14:51:07]OFD Sender: No OFD packet to send [14:51:12]OFD Sender: No OFD packet to send [14:51:17]OFD Sender: No OFD packet to send [14:51:22]OFD Sender: No OFD packet to send [14:51:27]OFD Sender: No OFD packet to send [14:51:32]OFD Sender: No OFD packet to send [14:51:37]OFD Sender: No OFD packet to send [14:51:42]accept exits with 9 [14:51:42]New connection [14:51:42]New thread 3067440484 created [14:51:42]Thread 3067583844 joined [14:51:42]Waiting for new connection... [14:51:42] Sock 9.Parse request [14:51:42]Sock 9.Check first char [14:51:42]Sock 9.First char is OK [14:51:42]request: POST /json_proto HTTP/1.0 [14:51:42]Method: POST [14:51:42]URL: /json_proto [14:51:42]Method is POST - this is cgi request [14:51:42]url: /json_proto [14:51:42]query_string will be loaded in cgi processing [14:51:42]execute_cgi json_proto POST (null) [14:51:42]execute_cgi path=json_proto method=POST [14:51:42]POST find Content-Length [14:51:42]Host: 172.17.43.4:8080 [14:51:42]Content-Length: 1737 [14:51:42]Content-Type: application/json [14:51:42] [14:51:42]POST finish read [14:51:42]Found Content-Length = 1737 [14:51:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51676", "tax_sys" : 0, "items" : [ { "code": "48747332", "name": "LD Compact 100s Silver", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744539", "name": "LD Compact Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744546", "name": "LD Compact Silver", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 66.000, "sum" : 462.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700002083327", "name": "\u0412\u043E\u0434\u043A\u0430 Level 0,5", "price" : 510.00, "quantity" : 1.000, "sum" : 510.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700002082191", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,46\u043B", "price" : 350.00, "quantity" : 3.000, "sum" : 1050.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 2424.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:51:42]execute_script... [14:51:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51676", "tax_sys" : 0, "items" : [ { "code": "48747332", "name": "LD Compact 100s Silver", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744539", "name": "LD Compact Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744546", "name": "LD Compact Silver", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 66.000, "sum" : 462.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700002083327", "name": "\u0412\u043E\u0434\u043A\u0430 Level 0,5", "price" : 510.00, "quantity" : 1.000, "sum" : 510.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700002082191", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,46\u043B", "price" : 350.00, "quantity" : 3.000, "sum" : 1050.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 2424.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:51:43]POST & json_proto [14:51:43]process_json_proto [14:51:43]json parsed OK: [14:51:43]protocol is kg_v1.0 [14:51:43]action value=close_receipt [14:51:43]process_action close_receipt [14:51:43]cmd_close_receipt [14:51:43]MH_GetDate [14:51:43]Write to MH i2c: F0 00 00 5F 00 4E [14:51:43]OFD Sender: No OFD packet to send [14:51:43]Write i2c OK [14:51:43]MH_I2C_Read... [14:51:43]Read from MH i2c: F0 [14:51:43]MH_I2C_Read... [14:51:43]Read from MH i2c: F0 09 00 [14:51:43]MH_I2C_Read... [14:51:43]Read from MH i2c: F0 09 00 5F 00 00 7F 23 F4 66 02 BF CF 66 49 [14:51:43]GetLastDocTimeStamp 1727274078 [14:51:43]current date 1727275903 [14:51:43]FM_GetShiftState [14:51:43]SAM_PROTO_GetShiftState [14:51:43]wFMCommunicate request_size=4 [14:51:43]MH_SAM_APDU [14:51:43]CAPDU: 80 13 01 00 [14:51:43]Write to MH i2c: E2 08 00 60 00 80 13 01 00 00 00 00 00 DD [14:51:43]Write i2c OK [14:51:43]MH_I2C_Read... [14:51:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:51:43]Read from MH i2c: E2 [14:51:43]MH_I2C_Read... [14:51:43]Read from MH i2c: E2 0E 00 [14:51:43]MH_I2C_Read... [14:51:43]Read from MH i2c: E2 0E 00 60 00 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 6E [14:51:43]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [14:51:43]wFMCommunicate OK [14:51:43]SAM_PROTO_GetShiftState done [14:51:43]FM_GetShiftState done [14:51:43]opened in 1727224020 [14:51:43]opened+sec_in_day 1727310420 [14:51:43]quantity*price = 13400 [14:51:43]sum+1 = 13401 [14:51:43]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48744539 LD Compact Blue 1.000 * 134.00 = 134.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48744546 LD Compact Silver 1.000 * 134.00 = 134.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 66.000 * 7.00 = 462.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700002083327 Водка Level 0,5 1.000 * 510.00 = 510.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700002082191 Водка Белое золото 0,46л 3.000 * 350.00 = 1050.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 2424.00 НСП 1% : 21.46 НДС 12% : 257.41 Наличными: 2424.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 41 25.09.2024 14:51 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22468 ФПД: 134482917210370 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T145143&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22468&fm=134482917210370&tin=02508201610067®Number=0000000000146243&sum=242400 0 [14:51:44]StoreToDocumentArchive [14:51:44]shift 231 fd 22468 [14:51:44]save to /storage/0231/doc_00022468 [14:51:44]save last doc name /storage/0231/doc_00022468 to /storage/kkm_last_doc_name [14:51:44]save OK [14:51:44]Clear old archive folders... [14:51:44]ProcessDocumentItem done err = 0, tmpTLVsize=747 [14:51:44]tlvbuf is 0021D220 [14:51:44]SAM_PROTO_ClearQueue [14:51:44]wFMCommunicate request_size=4 [14:51:44]MH_SAM_APDU [14:51:44]CAPDU: 80 09 00 00 [14:51:44]Write to MH i2c: E2 08 00 6D 00 80 09 00 00 00 00 00 00 DF [14:51:44]Write i2c OK [14:51:44]MH_I2C_Read... [14:51:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:51:44]Read from MH i2c: E2 [14:51:44]MH_I2C_Read... [14:51:44]Read from MH i2c: E2 03 00 [14:51:44]MH_I2C_Read... [14:51:44]Read from MH i2c: E2 03 00 6D 00 00 90 00 E1 [14:51:44]RAPDU: 90 00 [14:51:44]wFMCommunicate OK [14:51:44]SAM_PROTO_ClearQueue done [14:51:44]KKMCreateOFDPacket [14:51:44]OFDProtocolAddRootSTLVToBuf [14:51:44]FM_MakeSignedData [14:51:44]FM_MakeSignedData [14:51:44]SAM_PROTO_SignData [14:51:44]wFMCommunicate request_size=4 [14:51:44]MH_SAM_APDU [14:51:44]CAPDU: 80 0D 01 02 [14:51:44]Write to MH i2c: E2 08 00 6E 00 80 0D 01 02 00 00 00 00 E7 [14:51:44]Write i2c OK [14:51:44]MH_I2C_Read... [14:51:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:51:44]Read from MH i2c: E2 [14:51:44]MH_I2C_Read... [14:51:44]Read from MH i2c: E2 03 00 [14:51:44]MH_I2C_Read... [14:51:44]Read from MH i2c: E2 03 00 6E 00 00 90 00 E2 [14:51:44]RAPDU: 90 00 [14:51:44]wFMCommunicate OK [14:51:44]wFMCommunicate request_size=255 [14:51:44]MH_SAM_APDU [14:51:44]CAPDU: 80 0D 02 02 FA 03 00 EB 02 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 37 33 33 32 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 31 30 30 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 [14:51:44]Write to MH i2c: E2 02 01 6F 00 80 0D 02 02 FA 00 03 00 EB 02 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 37 33 33 32 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 31 30 30 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 00 00 6B [14:51:44]Write i2c OK [14:51:44]MH_I2C_Read... [14:51:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:51:44]Read from MH i2c: E2 [14:51:44]MH_I2C_Read... [14:51:44]Read from MH i2c: E2 03 00 [14:51:44]MH_I2C_Read... [14:51:44]Read from MH i2c: E2 03 00 6F 00 00 90 00 E3 [14:51:44]RAPDU: 90 00 [14:51:44]wFMCommunicate OK [14:51:44]wFMCommunicate request_size=255 [14:51:44]MH_SAM_APDU [14:51:44]CAPDU: 80 0D 02 02 FA 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 01 01 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 B4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 58 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 33 32 37 06 04 14 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4C 65 76 65 6C 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 C7 00 00 00 00 13 04 06 00 38 C7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 [14:51:44]Write to MH i2c: E2 02 01 70 00 80 0D 02 02 FA 00 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 01 01 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 B4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 58 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 33 32 37 06 04 14 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4C 65 76 65 6C 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 C7 00 00 00 00 13 04 06 00 38 C7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 00 00 91 [14:51:44]Write i2c OK [14:51:44]MH_I2C_Read... [14:51:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:51:45]Read from MH i2c: E2 [14:51:45]MH_I2C_Read... [14:51:45]Read from MH i2c: E2 03 00 [14:51:45]MH_I2C_Read... [14:51:45]Read from MH i2c: E2 03 00 70 00 00 90 00 E4 [14:51:45]RAPDU: 90 00 [14:51:45]wFMCommunicate OK [14:51:45]wFMCommunicate request_size=255 [14:51:45]MH_SAM_APDU [14:51:45]CAPDU: 80 0D 02 02 FA D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 28 9A 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 B2 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8D 64 00 00 00 00 07 04 06 00 E0 B2 03 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 7F 23 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C4 57 00 00 35 04 06 00 7A 4F BE 82 39 [14:51:45]Write to MH i2c: E2 02 01 71 00 80 0D 02 02 FA 00 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 28 9A 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 B2 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8D 64 00 00 00 00 07 04 06 00 E0 B2 03 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 7F 23 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C4 57 00 00 35 04 06 00 7A 4F BE 82 39 00 00 57 [14:51:45]Write i2c OK [14:51:45]MH_I2C_Read... [14:51:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:51:45]Read from MH i2c: E2 [14:51:45]MH_I2C_Read... [14:51:45]Read from MH i2c: E2 03 00 [14:51:45]MH_I2C_Read... [14:51:45]Read from MH i2c: E2 03 00 71 00 00 90 00 E5 [14:51:45]RAPDU: 90 00 [14:51:45]wFMCommunicate OK [14:51:45]wFMCommunicate request_size=6 [14:51:45]MH_SAM_APDU [14:51:45]CAPDU: 80 0D 02 02 01 02 [14:51:45]Write to MH i2c: E2 09 00 72 00 80 0D 02 02 01 00 02 00 00 F0 [14:51:45]Write i2c OK [14:51:45]MH_I2C_Read... [14:51:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:51:45]Read from MH i2c: E2 [14:51:45]MH_I2C_Read... [14:51:45]Read from MH i2c: E2 03 00 [14:51:45]MH_I2C_Read... [14:51:45]Read from MH i2c: E2 03 00 72 00 00 90 00 E6 [14:51:45]RAPDU: 90 00 [14:51:45]wFMCommunicate OK [14:51:45]wFMCommunicate request_size=4 [14:51:45]MH_SAM_APDU [14:51:45]CAPDU: 80 0D 03 02 [14:51:45]Write to MH i2c: E2 08 00 73 00 80 0D 03 02 00 00 00 00 EE [14:51:45]Write i2c OK [14:51:45]MH_I2C_Read... [14:51:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:51:45]Read from MH i2c: E2 [14:51:45]MH_I2C_Read... [14:51:45]Read from MH i2c: E2 0B 00 [14:51:45]MH_I2C_Read... [14:51:45]Read from MH i2c: E2 0B 00 73 00 00 A8 B0 D7 8F CA 19 92 33 90 00 55 [14:51:45]RAPDU: A8 B0 D7 8F CA 19 92 33 90 00 [14:51:45]wFMCommunicate OK [14:51:45]SAM_PROTO_SignData done [14:51:45]FM_MakeSignedData done [14:51:45]CreateOFDProtocolMessage [14:51:45]wFMCommunicate request_size=4 [14:51:45]MH_SAM_APDU [14:51:45]CAPDU: 80 11 00 00 [14:51:45]Write to MH i2c: E2 08 00 74 00 80 11 00 00 00 00 00 00 EE [14:51:45]Write i2c OK [14:51:45]MH_I2C_Read... [14:51:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:51:45]Read from MH i2c: E2 [14:51:45]MH_I2C_Read... [14:51:45]Read from MH i2c: E2 17 00 [14:51:45]MH_I2C_Read... [14:51:45]Read from MH i2c: E2 17 00 74 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 48 [14:51:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [14:51:45]wFMCommunicate OK [14:51:45]CreateOFDProtocolMessage done [14:51:45]OFDSenderStorePacket 22468 [14:51:45]StoreOFDPacket docnum=22468 [14:51:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 FF 02 00 00 E2 5B F7 02 BC E5 5A 03 01 00 03 00 EB 02 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 37 33 33 32 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 31 30 30 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 01 01 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 B4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 58 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 33 32 37 06 04 14 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4C 65 76 65 6C 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 C7 00 00 00 00 13 04 06 00 38 C7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 28 9A 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 B2 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8D 64 00 00 00 00 07 04 06 00 E0 B2 03 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 7F 23 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C4 57 00 00 35 04 06 00 7A 4F BE 82 39 02 A8 B0 D7 8F CA 19 92 33 [14:51:45]CheckFolder [14:51:45]dirname=/storage/ofd_packets [14:51:45]CheckFolder done [14:51:45]ProducePacketName [14:51:45]name=ofd_packets/00022468 [14:51:45]NVStorageSaveData ofd_packets/00022468 [14:51:45]File name is /storage/ofd_packets/00022468 [14:51:45]Write 797 bytes [14:51:45]NVStorageSaveData done [14:51:45]OFDSenderStorePacket done [14:51:45]KKMCreateOFDPacket done [14:51:45]NVStorageSaveData kkm_last_timestamp [14:51:45]File name is /storage/kkm_last_timestamp [14:51:45]Write 4 bytes [14:51:45]NVStorageSaveData done [14:51:45]ExternCall_PrintAddStr [14:51:45]wPrintStart [14:51:45]Write to MH i2c: 01 00 00 75 00 75 [14:51:45]Write i2c OK [14:51:45]MH_I2C_Read... [14:51:45]Read from MH i2c: 01 [14:51:45]MH_I2C_Read... [14:51:45]Read from MH i2c: 01 07 00 [14:51:45]MH_I2C_Read... [14:51:45]Read from MH i2c: 01 07 00 75 00 00 00 00 00 00 FF 0F 8A [14:51:45]RasterBufferAndPrint [14:51:45]line Счет N : (3)51676 [14:51:45]line ИНН: 02508201610067 [14:51:45]line Контрольно-Кассовый Чек [14:51:45]line ПРОДАЖА [14:51:45]line Товар: 48747332 [14:51:45]line LD Compact 100s Silver [14:51:45]line 1.000 * 134.00 [14:51:45]line = 134.00 [14:51:45]line НДС 12% НСП 1% [14:51:45]line > о реализуемом товаре [14:51:45]line Товар: 48744539 [14:51:45]line LD Compact Blue [14:51:45]line 1.000 * 134.00 [14:51:45]line = 134.00 [14:51:45]line НДС 12% НСП 1% [14:51:45]line > о реализуемом товаре [14:51:45]line Товар: 48744546 [14:51:45]line LD Compact Silver [14:51:45]line 1.000 * 134.00 [14:51:45]line = 134.00 [14:51:45]line НДС 12% НСП 1% [14:51:45]line > о реализуемом товаре [14:51:45]line Товар: 2000053020015 [14:51:45]line Бумажные стаканы 250мл 1шт [14:51:45]line 66.000 * 7.00 [14:51:45]line = 462.00 [14:51:45]line НДС 12% НСП 1% [14:51:45]line > о реализуемом товаре [14:51:45]line Товар: 4700002083327 [14:51:45]line Водка Level 0,5 [14:51:45]line 1.000 * 510.00 [14:51:45]line = 510.00 [14:51:45]line НДС 12% НСП 1% [14:51:45]line > о реализуемом товаре [14:51:45]line Товар: 4700002082191 [14:51:45]line Водка Белое золото 0,46л [14:51:45]line 3.000 * 350.00 [14:51:45]line = 1050.00 [14:51:45]line НДС 12% НСП 1% [14:51:45]line > о реализуемом товаре [14:51:45]line ИТОГО: 2424.00 [14:51:45]line НСП 1% : 21.46 [14:51:45]line НДС 12% : 257.41 [14:51:45]line Наличными: 2424.00 [14:51:45]line Безнал.: 0.00 [14:51:45]line Место: АЗС № 88 "Партнер Нефть" [14:51:45]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [14:51:45]line СНО: Общий режим [14:51:45]line Чек 41 25.09.2024 14:51 [14:51:45]line Смена: 231 ФФД: 1.0 [14:51:45]line ЗНМ: 0300000061 [14:51:45]line РНМ: 0000000000146243 [14:51:45]line Версия ККМ: v1.0 [14:51:45]line ФМ: 0000000000959358 [14:51:45]line ФД: 22468 [14:51:45]line ФПД: 134482917210370 [14:51:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T145143&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22468&fm=134482917210370&tin=02508201610067®Number=0000000000146243&sum=242400 [14:51:45]line 0 [14:51:45]OFD Sender: Processing packet 22468 [packets to send 23, broken 22] [14:51:45]ProducePacketName [14:51:45]name=ofd_packets/00022468 [14:51:45]OFD Sender: To server: pG, [14:51:45]CommunicateWithHost lk.salyk.kg:30040 [14:51:45]ConnectInit lk.salyk.kg [14:51:45]written 0, free lines is 4095 [14:51:46]Connected sock=10 [14:51:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 FF 02 00 00 E2 5B F7 02 BC E5 5A 03 01 00 03 00 EB 02 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 37 33 33 32 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 31 30 30 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 01 01 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 B4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 58 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 33 32 37 06 04 14 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4C 65 76 65 6C 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 C7 00 00 00 00 13 04 06 00 38 C7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 28 9A 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 B2 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8D 64 00 00 00 00 07 04 06 00 E0 B2 03 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 7F 23 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C4 57 00 00 35 04 06 00 7A 4F BE 82 39 02 A8 B0 D7 8F CA 19 92 33 [14:51:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 0D E8 47 00 DC 7B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C4 57 00 00 F4 03 04 00 A2 CD F3 66 B6 04 01 00 00 FD 4A F5 A7 33 C5 9F CE [14:51:46]CommunicateWithHost err = 0 [14:51:46]CheckOFDResponse [14:51:46]1017 (14) - 77093643461234 [14:51:46]1041 (16) - 0000000000959358 [14:51:46]1040 (4) - 22468 [14:51:46]1012 (4) - 25.09.2024 08:45 [14:51:46]1206 (1) - 0 [14:51:46]OFD Sender: Remove packet 22468 [14:51:46]ProducePacketName [14:51:46]name=ofd_packets/00022468 [14:51:46]NVStorageDeleteData [14:51:46]Write to MH i2c: 01 00 00 BC 00 BC [14:51:46]Write i2c OK [14:51:46]MH_I2C_Read... [14:51:46]Read from MH i2c: 01 [14:51:46]MH_I2C_Read... [14:51:46]Read from MH i2c: 01 07 00 [14:51:46]MH_I2C_Read... [14:51:46]Read from MH i2c: 01 07 00 BC 00 00 00 00 00 00 A3 0B 71 [14:51:46]RasterBufferAndPrint [14:51:46]line [14:51:46]line [14:51:46]line [14:51:46]line [14:51:46]line [14:51:46]written 0, free lines is 2988 [14:51:46]MH_Cut [14:51:46]Write to MH i2c: D1 01 00 C3 00 01 95 [14:51:46]Write i2c OK [14:51:46]MH_I2C_Read... [14:51:46]Read from MH i2c: D1 [14:51:46]MH_I2C_Read... [14:51:46]Read from MH i2c: D1 01 00 [14:51:46]MH_I2C_Read... [14:51:46]Read from MH i2c: D1 01 00 C3 00 00 94 [14:51:46]Write to MH i2c: 01 00 00 C4 00 C4 [14:51:46]Write i2c OK [14:51:46]MH_I2C_Read... [14:51:47]OFD Sender: No OFD packet to send [14:51:47]*** Cut start [14:51:47]*** Partial cut [14:51:47]*** CUTSNS_PIN = 1 [14:51:47]*** CUTSNS_PIN = 0 [14:51:47]*** Brake cut motor [14:51:48]Read from MH i2c: 01 [14:51:48]MH_I2C_Read... [14:51:48]*** Stop cut motor [14:51:48]*** Cut end [14:51:48]Read from MH i2c: 01 07 00 [14:51:48]MH_I2C_Read... [14:51:48]Read from MH i2c: 01 07 00 C4 00 00 00 00 00 00 FF 0F D9 [14:51:48]process_action close_receipt done [14:51:48]requested_data is exist [14:51:48]produce_requested_data [14:51:48]requested_item fm.sn is exist - process it [14:51:48]wFMCommunicate request_size=4 [14:51:48]MH_SAM_APDU [14:51:48]CAPDU: 80 11 00 00 [14:51:48]Write to MH i2c: E2 08 00 C5 00 80 11 00 00 00 00 00 00 3F [14:51:48]Write i2c OK [14:51:48]MH_I2C_Read... [14:51:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:51:48]Read from MH i2c: E2 [14:51:48]MH_I2C_Read... [14:51:48]Read from MH i2c: E2 17 00 [14:51:48]MH_I2C_Read... [14:51:48]Read from MH i2c: E2 17 00 C5 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 99 [14:51:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [14:51:48]wFMCommunicate OK [14:51:48]requested_item fd.num is exist - process it [14:51:48]SAM_PROTO_GetFieldsCounters [14:51:48]wFMCommunicate request_size=4 [14:51:48]MH_SAM_APDU [14:51:48]CAPDU: 80 13 00 00 [14:51:48]Write to MH i2c: E2 08 00 C6 00 80 13 00 00 00 00 00 00 42 [14:51:48]Write i2c OK [14:51:48]MH_I2C_Read... [14:51:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:51:48]Read from MH i2c: E2 [14:51:48]MH_I2C_Read... [14:51:48]Read from MH i2c: E2 62 00 [14:51:48]MH_I2C_Read... [14:51:48]Read from MH i2c: E2 62 00 C6 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 C4 57 00 00 0E 04 04 00 E7 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 E2 [14:51:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 C4 57 00 00 0E 04 04 00 E7 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 [14:51:48]wFMCommunicate OK [14:51:48]SAM_PROTO_GetFieldsCounters done [14:51:48]requested_item shift.num is exist - process it [14:51:48]requested_item shift.opened is exist - process it [14:51:48]req_shift_opened [14:51:48]FM_GetShiftState [14:51:48]SAM_PROTO_GetShiftState [14:51:48]wFMCommunicate request_size=4 [14:51:48]MH_SAM_APDU [14:51:48]CAPDU: 80 13 01 00 [14:51:48]Write to MH i2c: E2 08 00 C7 00 80 13 01 00 00 00 00 00 44 [14:51:48]Write i2c OK [14:51:48]MH_I2C_Read... [14:51:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:51:48]Read from MH i2c: E2 [14:51:48]MH_I2C_Read... [14:51:48]Read from MH i2c: E2 0E 00 [14:51:48]MH_I2C_Read... [14:51:48]Read from MH i2c: E2 0E 00 C7 00 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 D5 [14:51:48]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [14:51:48]wFMCommunicate OK [14:51:48]SAM_PROTO_GetShiftState done [14:51:48]FM_GetShiftState done [14:51:48]req_shift_opened done [14:51:48]requested_item shift.open_date is exist - process it [14:51:48]req_shift_open_date [14:51:48]req_shift_open_date done [14:51:48]produce_requested_data done [14:51:48]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22468,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [14:51:48]process_action_free close_receipt [14:51:48]json_value_free [14:51:48]json_value_free done [14:51:48]process_json_proto returns [14:51:48]Send response to host [14:51:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22468,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [14:51:48]free response buf [14:51:48]execute_script done [14:51:48]execute_script returns [14:51:48]free content buf [14:51:48]Sock 9.Close socket [14:51:48]Sock 9.Thread stoped [14:51:52]OFD Sender: No OFD packet to send [14:51:57]OFD Sender: No OFD packet to send [14:52:02]OFD Sender: No OFD packet to send [14:52:07]OFD Sender: No OFD packet to send [14:52:12]OFD Sender: No OFD packet to send [14:52:17]OFD Sender: No OFD packet to send [14:52:22]OFD Sender: No OFD packet to send [14:52:27]OFD Sender: No OFD packet to send [14:52:32]OFD Sender: No OFD packet to send [14:52:37]OFD Sender: No OFD packet to send [14:52:42]OFD Sender: No OFD packet to send [14:52:47]OFD Sender: No OFD packet to send [14:52:52]OFD Sender: No OFD packet to send [14:52:57]OFD Sender: No OFD packet to send [14:53:02]OFD Sender: No OFD packet to send [14:53:07]OFD Sender: No OFD packet to send [14:53:12]OFD Sender: No OFD packet to send [14:53:17]OFD Sender: No OFD packet to send [14:53:22]OFD Sender: No OFD packet to send [14:53:27]OFD Sender: No OFD packet to send [14:53:32]OFD Sender: No OFD packet to send [14:53:37]OFD Sender: No OFD packet to send [14:53:38]accept exits with 7 [14:53:38]New connection [14:53:38]New thread 3067583844 created [14:53:38]Thread 3067440484 joined [14:53:38]Waiting for new connection... [14:53:38] Sock 7.Parse request [14:53:38]Sock 7.Check first char [14:53:38]Sock 7.First char is OK [14:53:38]request: POST /json_proto HTTP/1.0 [14:53:38]Method: POST [14:53:38]URL: /json_proto [14:53:38]Method is POST - this is cgi request [14:53:38]url: /json_proto [14:53:38]query_string will be loaded in cgi processing [14:53:38]execute_cgi json_proto POST (null) [14:53:38]execute_cgi path=json_proto method=POST [14:53:38]POST find Content-Length [14:53:38]Host: 172.17.43.4:8080 [14:53:38]Content-Length: 671 [14:53:38]Content-Type: application/json [14:53:38] [14:53:38]POST finish read [14:53:38]Found Content-Length = 671 [14:53:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2164886", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710124130", "name": "Super-92-\u041A-5", "price" : 69.30, "quantity" : 5.780, "sum" : 400.55, "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" ] } } [14:53:38]execute_script... [14:53: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)2164886", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710124130", "name": "Super-92-\u041A-5", "price" : 69.30, "quantity" : 5.780, "sum" : 400.55, "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" ] } } [14:53:38]POST & json_proto [14:53:38]process_json_proto [14:53:38]json parsed OK: [14:53:38]protocol is kg_v1.0 [14:53:38]action value=close_receipt [14:53:38]process_action close_receipt [14:53:38]cmd_close_receipt [14:53:38]MH_GetDate [14:53:38]Write to MH i2c: F0 00 00 C8 00 B7 [14:53:38]Write i2c OK [14:53:38]MH_I2C_Read... [14:53:38]Read from MH i2c: F0 [14:53:38]MH_I2C_Read... [14:53:38]Read from MH i2c: F0 09 00 [14:53:38]MH_I2C_Read... [14:53:38]Read from MH i2c: F0 09 00 C8 00 00 F2 23 F4 66 02 BF CF 66 25 [14:53:38]GetLastDocTimeStamp 1727275903 [14:53:38]current date 1727276018 [14:53:38]FM_GetShiftState [14:53:38]SAM_PROTO_GetShiftState [14:53:38]wFMCommunicate request_size=4 [14:53:38]MH_SAM_APDU [14:53:38]CAPDU: 80 13 01 00 [14:53:38]Write to MH i2c: E2 08 00 C9 00 80 13 01 00 00 00 00 00 46 [14:53:38]Write i2c OK [14:53:38]MH_I2C_Read... [14:53:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:53:38]Read from MH i2c: E2 [14:53:38]MH_I2C_Read... [14:53:38]Read from MH i2c: E2 0E 00 [14:53:38]MH_I2C_Read... [14:53:38]Read from MH i2c: E2 0E 00 C9 00 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 D7 [14:53:38]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [14:53:38]wFMCommunicate OK [14:53:38]SAM_PROTO_GetShiftState done [14:53:38]FM_GetShiftState done [14:53:38]opened in 1727224020 [14:53:38]opened+sec_in_day 1727310420 [14:53:38]quantity*price = 40055 [14:53:38]sum+1 = 40056 [14:53:38]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.55 ИТОГО: 400.00 Внесено: 400.00 СДАЧА: 0.00 НСП 1% : 3.54 НДС 12% : 42.54 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 42 25.09.2024 14:53 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22469 ФПД: 38627810106514 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T145338&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22469&fm=38627810106514&tin=02508201610067®Number=0000000000146243&sum=40000 [14:53:39]StoreToDocumentArchive [14:53:39]shift 231 fd 22469 [14:53:39]save to /storage/0231/doc_00022469 [14:53:39]save last doc name /storage/0231/doc_00022469 to /storage/kkm_last_doc_name [14:53:39]save OK [14:53:39]Clear old archive folders... [14:53:39]ProcessDocumentItem done err = 0, tmpTLVsize=252 [14:53:39]tlvbuf is 002187A0 [14:53:39]SAM_PROTO_ClearQueue [14:53:39]wFMCommunicate request_size=4 [14:53:39]MH_SAM_APDU [14:53:39]CAPDU: 80 09 00 00 [14:53:39]Write to MH i2c: E2 08 00 D6 00 80 09 00 00 00 00 00 00 48 [14:53:39]Write i2c OK [14:53:39]MH_I2C_Read... [14:53:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:53:39]Read from MH i2c: E2 [14:53:39]MH_I2C_Read... [14:53:39]Read from MH i2c: E2 03 00 [14:53:39]MH_I2C_Read... [14:53:39]Read from MH i2c: E2 03 00 D6 00 00 90 00 4A [14:53:39]RAPDU: 90 00 [14:53:39]wFMCommunicate OK [14:53:39]SAM_PROTO_ClearQueue done [14:53:39]KKMCreateOFDPacket [14:53:39]OFDProtocolAddRootSTLVToBuf [14:53:39]FM_MakeSignedData [14:53:39]FM_MakeSignedData [14:53:39]SAM_PROTO_SignData [14:53:39]wFMCommunicate request_size=4 [14:53:39]MH_SAM_APDU [14:53:39]CAPDU: 80 0D 01 02 [14:53:39]Write to MH i2c: E2 08 00 D7 00 80 0D 01 02 00 00 00 00 50 [14:53:39]Write i2c OK [14:53:39]MH_I2C_Read... [14:53:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:53:39]Read from MH i2c: E2 [14:53:39]MH_I2C_Read... [14:53:39]Read from MH i2c: E2 03 00 [14:53:39]MH_I2C_Read... [14:53:39]Read from MH i2c: E2 03 00 D7 00 00 90 00 4B [14:53:39]RAPDU: 90 00 [14:53:39]wFMCommunicate OK [14:53:39]wFMCommunicate request_size=255 [14:53:39]MH_SAM_APDU [14:53:39]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 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 94 16 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 77 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 9E 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 F2 23 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C5 57 00 00 35 04 06 00 [14:53:39]Write to MH i2c: E2 02 01 D8 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 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 94 16 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 77 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 9E 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 F2 23 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C5 57 00 00 35 04 06 00 00 00 D5 [14:53:39]Write i2c OK [14:53:39]MH_I2C_Read... [14:53:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:53:39]Read from MH i2c: E2 [14:53:39]MH_I2C_Read... [14:53:39]Read from MH i2c: E2 03 00 [14:53:39]MH_I2C_Read... [14:53:39]Read from MH i2c: E2 03 00 D8 00 00 90 00 4C [14:53:39]RAPDU: 90 00 [14:53:39]wFMCommunicate OK [14:53:39]wFMCommunicate request_size=11 [14:53:39]MH_SAM_APDU [14:53:39]CAPDU: 80 0D 02 02 06 23 21 BC E6 5C 92 [14:53:39]Write to MH i2c: E2 0E 00 D9 00 80 0D 02 02 06 00 23 21 BC E6 5C 92 00 00 33 [14:53:39]Write i2c OK [14:53:39]MH_I2C_Read... [14:53:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:53:39]Read from MH i2c: E2 [14:53:39]MH_I2C_Read... [14:53:39]Read from MH i2c: E2 03 00 [14:53:39]MH_I2C_Read... [14:53:39]Read from MH i2c: E2 03 00 D9 00 00 90 00 4D [14:53:39]RAPDU: 90 00 [14:53:39]wFMCommunicate OK [14:53:39]wFMCommunicate request_size=4 [14:53:39]MH_SAM_APDU [14:53:39]CAPDU: 80 0D 03 02 [14:53:39]Write to MH i2c: E2 08 00 DA 00 80 0D 03 02 00 00 00 00 55 [14:53:39]Write i2c OK [14:53:39]MH_I2C_Read... [14:53:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:53:39]Read from MH i2c: E2 [14:53:39]MH_I2C_Read... [14:53:39]Read from MH i2c: E2 0B 00 [14:53:39]MH_I2C_Read... [14:53:39]Read from MH i2c: E2 0B 00 DA 00 00 4A 78 50 A7 87 5E EC FA 90 00 DA [14:53:39]RAPDU: 4A 78 50 A7 87 5E EC FA 90 00 [14:53:39]wFMCommunicate OK [14:53:39]SAM_PROTO_SignData done [14:53:39]FM_MakeSignedData done [14:53:39]CreateOFDProtocolMessage [14:53:39]wFMCommunicate request_size=4 [14:53:39]MH_SAM_APDU [14:53:39]CAPDU: 80 11 00 00 [14:53:39]Write to MH i2c: E2 08 00 DB 00 80 11 00 00 00 00 00 00 55 [14:53:39]Write i2c OK [14:53:39]MH_I2C_Read... [14:53:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:53:39]Read from MH i2c: E2 [14:53:39]MH_I2C_Read... [14:53:39]Read from MH i2c: E2 17 00 [14:53:39]MH_I2C_Read... [14:53:39]Read from MH i2c: E2 17 00 DB 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 AF [14:53:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [14:53:39]wFMCommunicate OK [14:53:39]CreateOFDProtocolMessage done [14:53:39]OFDSenderStorePacket 22469 [14:53:39]StoreOFDPacket docnum=22469 [14:53:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 01 00 00 63 B7 08 01 2E 21 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 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 94 16 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 77 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 9E 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 F2 23 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C5 57 00 00 35 04 06 00 23 21 BC E6 5C 92 4A 78 50 A7 87 5E EC FA [14:53:39]CheckFolder [14:53:39]dirname=/storage/ofd_packets [14:53:39]CheckFolder done [14:53:39]ProducePacketName [14:53:39]name=ofd_packets/00022469 [14:53:39]NVStorageSaveData ofd_packets/00022469 [14:53:39]File name is /storage/ofd_packets/00022469 [14:53:39]Write 302 bytes [14:53:39]NVStorageSaveData done [14:53:39]OFDSenderStorePacket done [14:53:39]KKMCreateOFDPacket done [14:53:39]NVStorageSaveData kkm_last_timestamp [14:53:39]File name is /storage/kkm_last_timestamp [14:53:39]Write 4 bytes [14:53:39]NVStorageSaveData done [14:53:39]ExternCall_PrintAddStr [14:53:39]wPrintStart [14:53:39]Write to MH i2c: 01 00 00 DC 00 DC [14:53:39]OFD Sender: Processing packet 22469 [packets to send 23, broken 22] [14:53:39]ProducePacketName [14:53:39]name=ofd_packets/00022469 [14:53:39]OFD Sender: To server: pG, [14:53:39]CommunicateWithHost lk.salyk.kg:30040 [14:53:39]ConnectInit lk.salyk.kg [14:53:39]Write i2c OK [14:53:39]MH_I2C_Read... [14:53:39]Read from MH i2c: 01 [14:53:39]MH_I2C_Read... [14:53:39]Read from MH i2c: 01 07 00 [14:53:39]MH_I2C_Read... [14:53:39]Read from MH i2c: 01 07 00 DC 00 00 00 00 00 00 FF 0F F1 [14:53:39]RasterBufferAndPrint [14:53:39]line Счет N : (1)2164886 [14:53:39]line ИНН: 02508201610067 [14:53:39]line Контрольно-Кассовый Чек [14:53:39]line ПРОДАЖА [14:53:39]line ТРК (МРК, ГНК) : 11 [14:53:39]line Товар: 2710124130 [14:53:39]line Super-92-К-5 [14:53:39]line 5.780 * 69.30 [14:53:39]line = 400.55 [14:53:39]line НДС 12% НСП 1% [14:53:39]line > о реализуемом товаре [14:53:39]line ОКРУГЛЕНИЕ: -0.55 [14:53:39]line ИТОГО: 400.00 [14:53:39]line Внесено: 400.00 [14:53:39]line СДАЧА: 0.00 [14:53:39]line НСП 1% : 3.54 [14:53:39]line НДС 12% : 42.54 [14:53:39]line Наличными: 400.00 [14:53:39]line Безнал.: 0.00 [14:53:39]line Место: АЗС № 88 "Партнер Нефть" [14:53:39]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [14:53:39]line СНО: Общий режим [14:53:39]line Чек 42 25.09.2024 14:53 [14:53:39]line Смена: 231 ФФД: 1.0 [14:53:39]line ЗНМ: 0300000061 [14:53:39]line РНМ: 0000000000146243 [14:53:39]line Версия ККМ: v1.0 [14:53:39]line ФМ: 0000000000959358 [14:53:39]line ФД: 22469 [14:53:39]line ФПД: 38627810106514 [14:53:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T145338&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22469&fm=38627810106514&tin=02508201610067®Number=0000000000146243&sum=40000 [14:53:40]written 0, free lines is 4095 [14:53:40]Write to MH i2c: 01 00 00 07 01 08 [14:53:40]Write i2c OK [14:53:40]MH_I2C_Read... [14:53:40]Read from MH i2c: 01 [14:53:40]MH_I2C_Read... [14:53:40]Read from MH i2c: 01 07 00 [14:53:40]MH_I2C_Read... [14:53:40]Read from MH i2c: 01 07 00 07 01 00 00 00 00 00 F4 0C 0F [14:53:40]RasterBufferAndPrint [14:53:40]line [14:53:40]line [14:53:40]line [14:53:40]line [14:53:40]line [14:53:40]written 0, free lines is 3322 [14:53:40]MH_Cut [14:53:40]Write to MH i2c: D1 01 00 0E 01 01 E1 [14:53:40]Write i2c OK [14:53:40]MH_I2C_Read... [14:53:40]Read from MH i2c: D1 [14:53:40]MH_I2C_Read... [14:53:40]Read from MH i2c: D1 01 00 [14:53:40]MH_I2C_Read... [14:53:40]Read from MH i2c: D1 01 00 0E 01 00 E0 [14:53:40]Write to MH i2c: 01 00 00 0F 01 10 [14:53:40]Write i2c OK [14:53:40]MH_I2C_Read... [14:53:40]Connected sock=10 [14:53:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 01 00 00 63 B7 08 01 2E 21 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 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 94 16 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 77 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 9E 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 F2 23 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C5 57 00 00 35 04 06 00 23 21 BC E6 5C 92 4A 78 50 A7 87 5E EC FA [14:53:41]*** Cut start [14:53:41]*** Partial cut [14:53:41]*** CUTSNS_PIN = 1 [14:53:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 A7 CA 47 00 0F BC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C5 57 00 00 F4 03 04 00 15 CE F3 66 B6 04 01 00 00 19 39 7B A5 78 E4 CF 77 [14:53:41]CommunicateWithHost err = 0 [14:53:41]CheckOFDResponse [14:53:41]1017 (14) - 77093643461234 [14:53:41]1041 (16) - 0000000000959358 [14:53:41]1040 (4) - 22469 [14:53:41]1012 (4) - 25.09.2024 08:47 [14:53:41]1206 (1) - 0 [14:53:41]OFD Sender: Remove packet 22469 [14:53:41]ProducePacketName [14:53:41]name=ofd_packets/00022469 [14:53:41]NVStorageDeleteData [14:53:41]*** CUTSNS_PIN = 0 [14:53:41]*** Brake cut motor [14:53:41]OFD Sender: No OFD packet to send [14:53:41]Read from MH i2c: 01 [14:53:41]MH_I2C_Read... [14:53:41]*** Stop cut motor [14:53:41]*** Cut end [14:53:41]Read from MH i2c: 01 07 00 [14:53:41]MH_I2C_Read... [14:53:41]Read from MH i2c: 01 07 00 0F 01 00 00 00 00 00 FF 0F 25 [14:53:41]process_action close_receipt done [14:53:41]requested_data is exist [14:53:41]produce_requested_data [14:53:41]requested_item fm.sn is exist - process it [14:53:41]wFMCommunicate request_size=4 [14:53:41]MH_SAM_APDU [14:53:41]CAPDU: 80 11 00 00 [14:53:41]Write to MH i2c: E2 08 00 10 01 80 11 00 00 00 00 00 00 8B [14:53:41]Write i2c OK [14:53:41]MH_I2C_Read... [14:53:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:53:41]Read from MH i2c: E2 [14:53:41]MH_I2C_Read... [14:53:41]Read from MH i2c: E2 17 00 [14:53:41]MH_I2C_Read... [14:53:41]Read from MH i2c: E2 17 00 10 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 E5 [14:53:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [14:53:41]wFMCommunicate OK [14:53:41]requested_item fd.num is exist - process it [14:53:41]SAM_PROTO_GetFieldsCounters [14:53:41]wFMCommunicate request_size=4 [14:53:41]MH_SAM_APDU [14:53:41]CAPDU: 80 13 00 00 [14:53:41]Write to MH i2c: E2 08 00 11 01 80 13 00 00 00 00 00 00 8E [14:53:41]Write i2c OK [14:53:41]MH_I2C_Read... [14:53:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:53:42]Read from MH i2c: E2 [14:53:42]MH_I2C_Read... [14:53:42]Read from MH i2c: E2 62 00 [14:53:42]MH_I2C_Read... [14:53:42]Read from MH i2c: E2 62 00 11 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 C5 57 00 00 0E 04 04 00 E7 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 32 [14:53:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 C5 57 00 00 0E 04 04 00 E7 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 [14:53:42]wFMCommunicate OK [14:53:42]SAM_PROTO_GetFieldsCounters done [14:53:42]requested_item shift.num is exist - process it [14:53:42]requested_item shift.opened is exist - process it [14:53:42]req_shift_opened [14:53:42]FM_GetShiftState [14:53:42]SAM_PROTO_GetShiftState [14:53:42]wFMCommunicate request_size=4 [14:53:42]MH_SAM_APDU [14:53:42]CAPDU: 80 13 01 00 [14:53:42]Write to MH i2c: E2 08 00 12 01 80 13 01 00 00 00 00 00 90 [14:53:42]Write i2c OK [14:53:42]MH_I2C_Read... [14:53:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:53:42]Read from MH i2c: E2 [14:53:42]MH_I2C_Read... [14:53:42]Read from MH i2c: E2 0E 00 [14:53:42]MH_I2C_Read... [14:53:42]Read from MH i2c: E2 0E 00 12 01 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 21 [14:53:42]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [14:53:42]wFMCommunicate OK [14:53:42]SAM_PROTO_GetShiftState done [14:53:42]FM_GetShiftState done [14:53:42]req_shift_opened done [14:53:42]requested_item shift.open_date is exist - process it [14:53:42]req_shift_open_date [14:53:42]req_shift_open_date done [14:53:42]produce_requested_data done [14:53:42]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22469,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [14:53:42]process_action_free close_receipt [14:53:42]json_value_free [14:53:42]json_value_free done [14:53:42]process_json_proto returns [14:53:42]Send response to host [14:53:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22469,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [14:53:42]free response buf [14:53:42]execute_script done [14:53:42]execute_script returns [14:53:42]free content buf [14:53:42]Sock 7.Close socket [14:53:42]Sock 7.Thread stoped [14:53:46]OFD Sender: No OFD packet to send [14:53:51]OFD Sender: No OFD packet to send [14:53:56]OFD Sender: No OFD packet to send [14:54:01]OFD Sender: No OFD packet to send [14:54:06]OFD Sender: No OFD packet to send [14:54:11]OFD Sender: No OFD packet to send [14:54:16]OFD Sender: No OFD packet to send [14:54:21]OFD Sender: No OFD packet to send [14:54:26]OFD Sender: No OFD packet to send [14:54:31]OFD Sender: No OFD packet to send [14:54:36]OFD Sender: No OFD packet to send [14:54:41]OFD Sender: No OFD packet to send [14:54:44]accept exits with 9 [14:54:44]New connection [14:54:44]New thread 3067440484 created [14:54:44]Thread 3067583844 joined [14:54:44]Waiting for new connection... [14:54:44] Sock 9.Parse request [14:54:44]Sock 9.Check first char [14:54:44]Sock 9.First char is OK [14:54:44]request: POST /json_proto HTTP/1.0 [14:54:44]Method: POST [14:54:44]URL: /json_proto [14:54:44]Method is POST - this is cgi request [14:54:44]url: /json_proto [14:54:44]query_string will be loaded in cgi processing [14:54:44]execute_cgi json_proto POST (null) [14:54:44]execute_cgi path=json_proto method=POST [14:54:44]POST find Content-Length [14:54:44]Host: 172.17.43.4:8080 [14:54:44]Content-Length: 678 [14:54:44]Content-Type: application/json [14:54:44] [14:54:44]POST finish read [14:54:44]Found Content-Length = 678 [14:54:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2164887", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 6.610, "sum" : 490.46, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 490.00, "total" : 490.00, "payments": [ { "type": 0, "sum" : 490.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:54:44]execute_script... [14:54:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2164887", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 6.610, "sum" : 490.46, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 490.00, "total" : 490.00, "payments": [ { "type": 0, "sum" : 490.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:54:44]POST & json_proto [14:54:44]process_json_proto [14:54:44]json parsed OK: [14:54:44]protocol is kg_v1.0 [14:54:44]action value=close_receipt [14:54:44]process_action close_receipt [14:54:44]cmd_close_receipt [14:54:44]MH_GetDate [14:54:44]Write to MH i2c: F0 00 00 13 01 03 [14:54:44]Write i2c OK [14:54:44]MH_I2C_Read... [14:54:44]Read from MH i2c: F0 [14:54:44]MH_I2C_Read... [14:54:44]Read from MH i2c: F0 09 00 [14:54:44]MH_I2C_Read... [14:54:44]Read from MH i2c: F0 09 00 13 01 00 35 24 F4 66 02 BF CF 66 B5 [14:54:44]GetLastDocTimeStamp 1727276018 [14:54:44]current date 1727276085 [14:54:44]FM_GetShiftState [14:54:44]SAM_PROTO_GetShiftState [14:54:44]wFMCommunicate request_size=4 [14:54:44]MH_SAM_APDU [14:54:44]CAPDU: 80 13 01 00 [14:54:44]Write to MH i2c: E2 08 00 14 01 80 13 01 00 00 00 00 00 92 [14:54:44]Write i2c OK [14:54:44]MH_I2C_Read... [14:54:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:54:44]Read from MH i2c: E2 [14:54:44]MH_I2C_Read... [14:54:44]Read from MH i2c: E2 0E 00 [14:54:44]MH_I2C_Read... [14:54:44]Read from MH i2c: E2 0E 00 14 01 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 23 [14:54:44]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [14:54:44]wFMCommunicate OK [14:54:44]SAM_PROTO_GetShiftState done [14:54:44]FM_GetShiftState done [14:54:44]opened in 1727224020 [14:54:44]opened+sec_in_day 1727310420 [14:54:44]quantity*price = 49046 [14:54:44]sum+1 = 49047 [14:54:44]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.46 ИТОГО: 490.00 Внесено: 490.00 СДАЧА: 0.00 НСП 1% : 4.34 НДС 12% : 52.08 Наличными: 490.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 43 25.09.2024 14:54 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22470 ФПД: 15860139823373 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T145445&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22470&fm=15860139823373&tin=02508201610067®Number=0000000000146243&sum=49000 [14:54:45]StoreToDocumentArchive [14:54:45]shift 231 fd 22470 [14:54:45]save to /storage/0231/doc_00022470 [14:54:45]save last doc name /storage/0231/doc_00022470 to /storage/kkm_last_doc_name [14:54:45]save OK [14:54:45]Clear old archive folders... [14:54:45]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:54:45]tlvbuf is 00216840 [14:54:45]SAM_PROTO_ClearQueue [14:54:45]wFMCommunicate request_size=4 [14:54:45]MH_SAM_APDU [14:54:45]CAPDU: 80 09 00 00 [14:54:45]Write to MH i2c: E2 08 00 21 01 80 09 00 00 00 00 00 00 94 [14:54:45]Write i2c OK [14:54:45]MH_I2C_Read... [14:54:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:54:45]Read from MH i2c: E2 [14:54:45]MH_I2C_Read... [14:54:45]Read from MH i2c: E2 03 00 [14:54:45]MH_I2C_Read... [14:54:45]Read from MH i2c: E2 03 00 21 01 00 90 00 96 [14:54:45]RAPDU: 90 00 [14:54:45]wFMCommunicate OK [14:54:45]SAM_PROTO_ClearQueue done [14:54:45]KKMCreateOFDPacket [14:54:45]OFDProtocolAddRootSTLVToBuf [14:54:45]FM_MakeSignedData [14:54:45]FM_MakeSignedData [14:54:45]SAM_PROTO_SignData [14:54:45]wFMCommunicate request_size=4 [14:54:45]MH_SAM_APDU [14:54:45]CAPDU: 80 0D 01 02 [14:54:45]Write to MH i2c: E2 08 00 22 01 80 0D 01 02 00 00 00 00 9C [14:54:45]Write i2c OK [14:54:45]MH_I2C_Read... [14:54:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:54:45]Read from MH i2c: E2 [14:54:45]MH_I2C_Read... [14:54:45]Read from MH i2c: E2 03 00 [14:54:45]MH_I2C_Read... [14:54:45]Read from MH i2c: E2 03 00 22 01 00 90 00 97 [14:54:45]RAPDU: 90 00 [14:54:45]wFMCommunicate OK [14:54:45]wFMCommunicate request_size=255 [14:54:45]MH_SAM_APDU [14:54:45]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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 D2 19 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 96 BF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 BF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B2 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 58 14 00 00 00 00 07 04 06 00 68 BF 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 35 24 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C6 57 00 00 35 04 06 00 0E [14:54:45]Write to MH i2c: E2 02 01 23 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 D2 19 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 96 BF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 BF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B2 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 58 14 00 00 00 00 07 04 06 00 68 BF 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 35 24 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C6 57 00 00 35 04 06 00 0E 00 00 61 [14:54:45]Write i2c OK [14:54:45]MH_I2C_Read... [14:54:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:54:46]Read from MH i2c: E2 [14:54:46]MH_I2C_Read... [14:54:46]Read from MH i2c: E2 03 00 [14:54:46]MH_I2C_Read... [14:54:46]Read from MH i2c: E2 03 00 23 01 00 90 00 98 [14:54:46]RAPDU: 90 00 [14:54:46]wFMCommunicate OK [14:54:46]wFMCommunicate request_size=10 [14:54:46]MH_SAM_APDU [14:54:46]CAPDU: 80 0D 02 02 05 6C BA 00 11 0D [14:54:46]Write to MH i2c: E2 0D 00 24 01 80 0D 02 02 05 00 6C BA 00 11 0D 00 00 ED [14:54:46]Write i2c OK [14:54:46]MH_I2C_Read... [14:54:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:54:46]Read from MH i2c: E2 [14:54:46]MH_I2C_Read... [14:54:46]Read from MH i2c: E2 03 00 [14:54:46]MH_I2C_Read... [14:54:46]Read from MH i2c: E2 03 00 24 01 00 90 00 99 [14:54:46]RAPDU: 90 00 [14:54:46]wFMCommunicate OK [14:54:46]wFMCommunicate request_size=4 [14:54:46]MH_SAM_APDU [14:54:46]CAPDU: 80 0D 03 02 [14:54:46]Write to MH i2c: E2 08 00 25 01 80 0D 03 02 00 00 00 00 A1 [14:54:46]Write i2c OK [14:54:46]MH_I2C_Read... [14:54:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:54:46]Read from MH i2c: E2 [14:54:46]MH_I2C_Read... [14:54:46]Read from MH i2c: E2 0B 00 [14:54:46]MH_I2C_Read... [14:54:46]Read from MH i2c: E2 0B 00 25 01 00 3B E0 95 99 43 20 F3 07 90 00 48 [14:54:46]RAPDU: 3B E0 95 99 43 20 F3 07 90 00 [14:54:46]wFMCommunicate OK [14:54:46]SAM_PROTO_SignData done [14:54:46]FM_MakeSignedData done [14:54:46]CreateOFDProtocolMessage [14:54:46]wFMCommunicate request_size=4 [14:54:46]MH_SAM_APDU [14:54:46]CAPDU: 80 11 00 00 [14:54:46]Write to MH i2c: E2 08 00 26 01 80 11 00 00 00 00 00 00 A1 [14:54:46]Write i2c OK [14:54:46]MH_I2C_Read... [14:54:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:54:46]Read from MH i2c: E2 [14:54:46]MH_I2C_Read... [14:54:46]Read from MH i2c: E2 17 00 [14:54:46]MH_I2C_Read... [14:54:46]Read from MH i2c: E2 17 00 26 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 FB [14:54:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [14:54:46]wFMCommunicate OK [14:54:46]CreateOFDProtocolMessage done [14:54:46]OFDSenderStorePacket 22470 [14:54:46]StoreOFDPacket docnum=22470 [14:54:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 1B D0 07 01 B8 6F 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 D2 19 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 96 BF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 BF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B2 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 58 14 00 00 00 00 07 04 06 00 68 BF 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 35 24 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C6 57 00 00 35 04 06 00 0E 6C BA 00 11 0D 3B E0 95 99 43 20 F3 07 [14:54:46]CheckFolder [14:54:46]dirname=/storage/ofd_packets [14:54:46]CheckFolder done [14:54:46]ProducePacketName [14:54:46]name=ofd_packets/00022470 [14:54:46]NVStorageSaveData ofd_packets/00022470 [14:54:46]File name is /storage/ofd_packets/00022470 [14:54:46]Write 301 bytes [14:54:46]NVStorageSaveData done [14:54:46]OFDSenderStorePacket done [14:54:46]KKMCreateOFDPacket done [14:54:46]NVStorageSaveData kkm_last_timestamp [14:54:46]File name is /storage/kkm_last_timestamp [14:54:46]Write 4 bytes [14:54:46]NVStorageSaveData done [14:54:46]ExternCall_PrintAddStr [14:54:46]wPrintStart [14:54:46]Write to MH i2c: 01 00 00 27 01 28 [14:54:46]Write i2c OK [14:54:46]MH_I2C_Read... [14:54:46]Read from MH i2c: 01 [14:54:46]MH_I2C_Read... [14:54:46]Read from MH i2c: 01 07 00 [14:54:46]MH_I2C_Read... [14:54:46]Read from MH i2c: 01 07 00 27 01 00 00 00 00 00 FF 0F 3D [14:54:46]RasterBufferAndPrint [14:54:46]line Счет N : (1)2164887 [14:54:46]line ИНН: 02508201610067 [14:54:46]line Контрольно-Кассовый Чек [14:54:46]line ПРОДАЖА [14:54:46]line ТРК (МРК, ГНК) : 23 [14:54:46]line Товар: 2710124500 [14:54:46]line Аи-95-К-5 [14:54:46]line 6.610 * 74.20 [14:54:46]line = 490.46 [14:54:46]line НДС 12% НСП 1% [14:54:46]line > о реализуемом товаре [14:54:46]line ОКРУГЛЕНИЕ: -0.46 [14:54:46]line ИТОГО: 490.00 [14:54:46]line Внесено: 490.00 [14:54:46]line СДАЧА: 0.00 [14:54:46]line НСП 1% : 4.34 [14:54:46]line НДС 12% : 52.08 [14:54:46]line Наличными: 490.00 [14:54:46]line Безнал.: 0.00 [14:54:46]line Место: АЗС № 88 "Партнер Нефть" [14:54:46]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [14:54:46]line СНО: Общий режим [14:54:46]line Чек 43 25.09.2024 14:54 [14:54:46]line Смена: 231 ФФД: 1.0 [14:54:46]line ЗНМ: 0300000061 [14:54:46]line РНМ: 0000000000146243 [14:54:46]line Версия ККМ: v1.0 [14:54:46]line ФМ: 0000000000959358 [14:54:46]line ФД: 22470 [14:54:46]line ФПД: 15860139823373 [14:54:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T145445&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22470&fm=15860139823373&tin=02508201610067®Number=0000000000146243&sum=49000 [14:54:46]OFD Sender: Processing packet 22470 [packets to send 23, broken 22] [14:54:46]ProducePacketName [14:54:46]name=ofd_packets/00022470 [14:54:46]OFD Sender: To server: pG, [14:54:46]CommunicateWithHost lk.salyk.kg:30040 [14:54:46]ConnectInit lk.salyk.kg [14:54:46]written 0, free lines is 4095 [14:54:46]Connected sock=10 [14:54:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 1B D0 07 01 B8 6F 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 D2 19 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 96 BF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 BF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B2 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 58 14 00 00 00 00 07 04 06 00 68 BF 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 35 24 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C6 57 00 00 35 04 06 00 0E 6C BA 00 11 0D 3B E0 95 99 43 20 F3 07 [14:54:47]Write to MH i2c: 01 00 00 52 01 53 [14:54:47]Write i2c OK [14:54:47]MH_I2C_Read... [14:54:47]Read from MH i2c: 01 [14:54:47]MH_I2C_Read... [14:54:47]Read from MH i2c: 01 07 00 [14:54:47]MH_I2C_Read... [14:54:47]Read from MH i2c: 01 07 00 52 01 00 00 00 00 00 FE 0C 64 [14:54:47]RasterBufferAndPrint [14:54:47]line [14:54:47]line [14:54:47]line [14:54:47]line [14:54:47]line [14:54:47]written 0, free lines is 3332 [14:54:47]MH_Cut [14:54:47]Write to MH i2c: D1 01 00 59 01 01 2C [14:54:47]Write i2c OK [14:54:47]MH_I2C_Read... [14:54:47]Read from MH i2c: D1 [14:54:47]MH_I2C_Read... [14:54:47]Read from MH i2c: D1 01 00 [14:54:47]MH_I2C_Read... [14:54:47]Read from MH i2c: D1 01 00 59 01 00 2B [14:54:47]Write to MH i2c: 01 00 00 5A 01 5B [14:54:47]Write i2c OK [14:54:47]MH_I2C_Read... [14:54:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 5C 1F 47 00 3B C8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C6 57 00 00 F4 03 04 00 57 CE F3 66 B6 04 01 00 00 B6 B2 C2 78 95 C8 2F 4E [14:54:47]CommunicateWithHost err = 0 [14:54:47]CheckOFDResponse [14:54:47]1017 (14) - 77093643461234 [14:54:47]1041 (16) - 0000000000959358 [14:54:47]1040 (4) - 22470 [14:54:47]1012 (4) - 25.09.2024 08:48 [14:54:47]1206 (1) - 0 [14:54:47]OFD Sender: Remove packet 22470 [14:54:47]ProducePacketName [14:54:47]name=ofd_packets/00022470 [14:54:47]NVStorageDeleteData [14:54:47]OFD Sender: No OFD packet to send [14:54:47]*** Cut start [14:54:47]*** Partial cut [14:54:47]*** CUTSNS_PIN = 1 [14:54:47]*** CUTSNS_PIN = 0 [14:54:48]*** Brake cut motor [14:54:48]Read from MH i2c: 01 [14:54:48]MH_I2C_Read... [14:54:48]*** Stop cut motor [14:54:48]*** Cut end [14:54:48]Read from MH i2c: 01 07 00 [14:54:48]MH_I2C_Read... [14:54:48]Read from MH i2c: 01 07 00 5A 01 00 00 00 00 00 FF 0F 70 [14:54:48]process_action close_receipt done [14:54:48]requested_data is exist [14:54:48]produce_requested_data [14:54:48]requested_item fm.sn is exist - process it [14:54:48]wFMCommunicate request_size=4 [14:54:48]MH_SAM_APDU [14:54:48]CAPDU: 80 11 00 00 [14:54:48]Write to MH i2c: E2 08 00 5B 01 80 11 00 00 00 00 00 00 D6 [14:54:48]Write i2c OK [14:54:48]MH_I2C_Read... [14:54:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:54:48]Read from MH i2c: E2 [14:54:48]MH_I2C_Read... [14:54:48]Read from MH i2c: E2 17 00 [14:54:48]MH_I2C_Read... [14:54:48]Read from MH i2c: E2 17 00 5B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 30 [14:54:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [14:54:48]wFMCommunicate OK [14:54:48]requested_item fd.num is exist - process it [14:54:48]SAM_PROTO_GetFieldsCounters [14:54:48]wFMCommunicate request_size=4 [14:54:48]MH_SAM_APDU [14:54:48]CAPDU: 80 13 00 00 [14:54:48]Write to MH i2c: E2 08 00 5C 01 80 13 00 00 00 00 00 00 D9 [14:54:48]Write i2c OK [14:54:48]MH_I2C_Read... [14:54:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:54:48]Read from MH i2c: E2 [14:54:48]MH_I2C_Read... [14:54:48]Read from MH i2c: E2 62 00 [14:54:48]MH_I2C_Read... [14:54:48]Read from MH i2c: E2 62 00 5C 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 C6 57 00 00 0E 04 04 00 E7 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 81 [14:54:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 C6 57 00 00 0E 04 04 00 E7 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 [14:54:48]wFMCommunicate OK [14:54:48]SAM_PROTO_GetFieldsCounters done [14:54:48]requested_item shift.num is exist - process it [14:54:48]requested_item shift.opened is exist - process it [14:54:48]req_shift_opened [14:54:48]FM_GetShiftState [14:54:48]SAM_PROTO_GetShiftState [14:54:48]wFMCommunicate request_size=4 [14:54:48]MH_SAM_APDU [14:54:48]CAPDU: 80 13 01 00 [14:54:48]Write to MH i2c: E2 08 00 5D 01 80 13 01 00 00 00 00 00 DB [14:54:48]Write i2c OK [14:54:48]MH_I2C_Read... [14:54:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:54:48]Read from MH i2c: E2 [14:54:48]MH_I2C_Read... [14:54:48]Read from MH i2c: E2 0E 00 [14:54:48]MH_I2C_Read... [14:54:48]Read from MH i2c: E2 0E 00 5D 01 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 6C [14:54:48]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [14:54:48]wFMCommunicate OK [14:54:48]SAM_PROTO_GetShiftState done [14:54:48]FM_GetShiftState done [14:54:48]req_shift_opened done [14:54:48]requested_item shift.open_date is exist - process it [14:54:48]req_shift_open_date [14:54:48]req_shift_open_date done [14:54:48]produce_requested_data done [14:54:48]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22470,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [14:54:48]process_action_free close_receipt [14:54:48]json_value_free [14:54:48]json_value_free done [14:54:48]process_json_proto returns [14:54:48]Send response to host [14:54:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22470,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [14:54:48]free response buf [14:54:48]execute_script done [14:54:48]execute_script returns [14:54:48]free content buf [14:54:48]Sock 9.Close socket [14:54:48]Sock 9.Thread stoped [14:54:52]OFD Sender: No OFD packet to send [14:54:57]OFD Sender: No OFD packet to send [14:55:02]OFD Sender: No OFD packet to send [14:55:07]OFD Sender: No OFD packet to send [14:55:12]OFD Sender: No OFD packet to send [14:55:17]OFD Sender: No OFD packet to send [14:55:22]OFD Sender: No OFD packet to send [14:55:27]OFD Sender: No OFD packet to send [14:55:32]OFD Sender: No OFD packet to send [14:55:37]OFD Sender: No OFD packet to send [14:55:40]accept exits with 7 [14:55:40]New connection [14:55:40]New thread 3067583844 created [14:55:40]Thread 3067440484 joined [14:55:40]Waiting for new connection... [14:55:40] Sock 7.Parse request [14:55:40]Sock 7.Check first char [14:55:40]Sock 7.First char is OK [14:55:40]request: POST /json_proto HTTP/1.0 [14:55:40]Method: POST [14:55:40]URL: /json_proto [14:55:40]Method is POST - this is cgi request [14:55:40]url: /json_proto [14:55:40]query_string will be loaded in cgi processing [14:55:40]execute_cgi json_proto POST (null) [14:55:40]execute_cgi path=json_proto method=POST [14:55:40]POST find Content-Length [14:55:40]Host: 172.17.43.4:8080 [14:55:40]Content-Length: 678 [14:55:40]Content-Type: application/json [14:55:40] [14:55:40]POST finish read [14:55:40]Found Content-Length = 678 [14:55:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2164889", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "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" ] } } [14:55:40]execute_script... [14:55:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2164889", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "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" ] } } [14:55:40]POST & json_proto [14:55:40]process_json_proto [14:55:40]json parsed OK: [14:55:40]protocol is kg_v1.0 [14:55:40]action value=close_receipt [14:55:40]process_action close_receipt [14:55:40]cmd_close_receipt [14:55:40]MH_GetDate [14:55:40]Write to MH i2c: F0 00 00 5E 01 4E [14:55:40]Write i2c OK [14:55:40]MH_I2C_Read... [14:55:40]Read from MH i2c: F0 [14:55:40]MH_I2C_Read... [14:55:40]Read from MH i2c: F0 09 00 [14:55:40]MH_I2C_Read... [14:55:40]Read from MH i2c: F0 09 00 5E 01 00 6D 24 F4 66 02 BF CF 66 38 [14:55:40]GetLastDocTimeStamp 1727276085 [14:55:40]current date 1727276141 [14:55:40]FM_GetShiftState [14:55:40]SAM_PROTO_GetShiftState [14:55:40]wFMCommunicate request_size=4 [14:55:40]MH_SAM_APDU [14:55:40]CAPDU: 80 13 01 00 [14:55:40]Write to MH i2c: E2 08 00 5F 01 80 13 01 00 00 00 00 00 DD [14:55:40]Write i2c OK [14:55:40]MH_I2C_Read... [14:55:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:55:40]Read from MH i2c: E2 [14:55:40]MH_I2C_Read... [14:55:40]Read from MH i2c: E2 0E 00 [14:55:40]MH_I2C_Read... [14:55:40]Read from MH i2c: E2 0E 00 5F 01 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 6E [14:55:40]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [14:55:40]wFMCommunicate OK [14:55:40]SAM_PROTO_GetShiftState done [14:55:40]FM_GetShiftState done [14:55:40]opened in 1727224020 [14:55:40]opened+sec_in_day 1727310420 [14:55:40]quantity*price = 40002 [14:55:40]sum+1 = 40003 [14:55:40]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.02 ИТОГО: 400.00 Внесено: 400.00 СДАЧА: 0.00 НСП 1% : 3.54 НДС 12% : 42.48 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 44 25.09.2024 14:55 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22471 ФПД: 243926762768330 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T145541&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22471&fm=243926762768330&tin=02508201610067®Number=0000000000146243&sum=40000 [14:55:42]StoreToDocumentArchive [14:55:42]shift 231 fd 22471 [14:55:42]save to /storage/0231/doc_00022471 [14:55:42]save last doc name /storage/0231/doc_00022471 to /storage/kkm_last_doc_name [14:55:42]save OK [14:55:42]Clear old archive folders... [14:55:42]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:55:42]tlvbuf is B6F5BA90 [14:55:42]SAM_PROTO_ClearQueue [14:55:42]wFMCommunicate request_size=4 [14:55:42]MH_SAM_APDU [14:55:42]CAPDU: 80 09 00 00 [14:55:42]Write to MH i2c: E2 08 00 6C 01 80 09 00 00 00 00 00 00 DF [14:55:42]Write i2c OK [14:55:42]MH_I2C_Read... [14:55:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:55:42]Read from MH i2c: E2 [14:55:42]MH_I2C_Read... [14:55:42]Read from MH i2c: E2 03 00 [14:55:42]MH_I2C_Read... [14:55:42]Read from MH i2c: E2 03 00 6C 01 00 90 00 E1 [14:55:42]RAPDU: 90 00 [14:55:42]wFMCommunicate OK [14:55:42]SAM_PROTO_ClearQueue done [14:55:42]KKMCreateOFDPacket [14:55:42]OFDProtocolAddRootSTLVToBuf [14:55:42]FM_MakeSignedData [14:55:42]FM_MakeSignedData [14:55:42]SAM_PROTO_SignData [14:55:42]wFMCommunicate request_size=4 [14:55:42]MH_SAM_APDU [14:55:42]CAPDU: 80 0D 01 02 [14:55:42]Write to MH i2c: E2 08 00 6D 01 80 0D 01 02 00 00 00 00 E7 [14:55:42]Write i2c OK [14:55:42]MH_I2C_Read... [14:55:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:55:42]Read from MH i2c: E2 [14:55:42]MH_I2C_Read... [14:55:42]Read from MH i2c: E2 03 00 [14:55:42]MH_I2C_Read... [14:55:42]Read from MH i2c: E2 03 00 6D 01 00 90 00 E2 [14:55:42]RAPDU: 90 00 [14:55:42]wFMCommunicate OK [14:55:42]wFMCommunicate request_size=255 [14:55:42]MH_SAM_APDU [14:55:42]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 2C 00 00 00 F4 03 04 00 6D 24 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C7 57 00 00 35 04 06 00 DD [14:55:42]Write to MH i2c: E2 02 01 6E 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 2C 00 00 00 F4 03 04 00 6D 24 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C7 57 00 00 35 04 06 00 DD 00 00 46 [14:55:42]Write i2c OK [14:55:42]MH_I2C_Read... [14:55:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:55:42]Read from MH i2c: E2 [14:55:42]MH_I2C_Read... [14:55:42]Read from MH i2c: E2 03 00 [14:55:42]MH_I2C_Read... [14:55:42]Read from MH i2c: E2 03 00 6E 01 00 90 00 E3 [14:55:42]RAPDU: 90 00 [14:55:42]wFMCommunicate OK [14:55:42]wFMCommunicate request_size=10 [14:55:42]MH_SAM_APDU [14:55:42]CAPDU: 80 0D 02 02 05 D9 A0 0B C7 CA [14:55:42]Write to MH i2c: E2 0D 00 6F 01 80 0D 02 02 05 00 D9 A0 0B C7 CA 00 00 09 [14:55:42]Write i2c OK [14:55:42]MH_I2C_Read... [14:55:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:55:42]Read from MH i2c: E2 [14:55:42]MH_I2C_Read... [14:55:42]Read from MH i2c: E2 03 00 [14:55:42]MH_I2C_Read... [14:55:42]Read from MH i2c: E2 03 00 6F 01 00 90 00 E4 [14:55:42]RAPDU: 90 00 [14:55:42]wFMCommunicate OK [14:55:42]wFMCommunicate request_size=4 [14:55:42]MH_SAM_APDU [14:55:42]CAPDU: 80 0D 03 02 [14:55:42]Write to MH i2c: E2 08 00 70 01 80 0D 03 02 00 00 00 00 EC [14:55:42]Write i2c OK [14:55:42]MH_I2C_Read... [14:55:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:55:42]Read from MH i2c: E2 [14:55:42]MH_I2C_Read... [14:55:42]Read from MH i2c: E2 0B 00 [14:55:42]MH_I2C_Read... [14:55:42]Read from MH i2c: E2 0B 00 70 01 00 DF A7 51 5D 6A A4 06 0A 90 00 3F [14:55:42]RAPDU: DF A7 51 5D 6A A4 06 0A 90 00 [14:55:42]wFMCommunicate OK [14:55:42]SAM_PROTO_SignData done [14:55:42]FM_MakeSignedData done [14:55:42]CreateOFDProtocolMessage [14:55:42]wFMCommunicate request_size=4 [14:55:42]MH_SAM_APDU [14:55:42]CAPDU: 80 11 00 00 [14:55:42]Write to MH i2c: E2 08 00 71 01 80 11 00 00 00 00 00 00 EC [14:55:42]Write i2c OK [14:55:42]MH_I2C_Read... [14:55:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:55:42]Read from MH i2c: E2 [14:55:42]MH_I2C_Read... [14:55:42]Read from MH i2c: E2 17 00 [14:55:42]MH_I2C_Read... [14:55:42]Read from MH i2c: E2 17 00 71 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 46 [14:55:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [14:55:42]wFMCommunicate OK [14:55:42]CreateOFDProtocolMessage done [14:55:42]OFDSenderStorePacket 22471 [14:55:42]StoreOFDPacket docnum=22471 [14:55:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 25 12 07 01 ED 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 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 2C 00 00 00 F4 03 04 00 6D 24 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C7 57 00 00 35 04 06 00 DD D9 A0 0B C7 CA DF A7 51 5D 6A A4 06 0A [14:55:42]CheckFolder [14:55:42]dirname=/storage/ofd_packets [14:55:42]CheckFolder done [14:55:42]ProducePacketName [14:55:42]name=ofd_packets/00022471 [14:55:42]NVStorageSaveData ofd_packets/00022471 [14:55:42]File name is /storage/ofd_packets/00022471 [14:55:42]Write 301 bytes [14:55:42]NVStorageSaveData done [14:55:42]OFDSenderStorePacket done [14:55:42]KKMCreateOFDPacket done [14:55:42]NVStorageSaveData kkm_last_timestamp [14:55:42]File name is /storage/kkm_last_timestamp [14:55:42]Write 4 bytes [14:55:42]NVStorageSaveData done [14:55:42]ExternCall_PrintAddStr [14:55:42]wPrintStart [14:55:42]Write to MH i2c: 01 00 00 72 01 73 [14:55:42]Write i2c OK [14:55:42]MH_I2C_Read... [14:55:42]Read from MH i2c: 01 [14:55:42]MH_I2C_Read... [14:55:42]Read from MH i2c: 01 07 00 [14:55:42]MH_I2C_Read... [14:55:42]Read from MH i2c: 01 07 00 72 01 00 00 00 00 00 FF 0F 88 [14:55:42]RasterBufferAndPrint [14:55:42]line Счет N : (1)2164889 [14:55:42]line ИНН: 02508201610067 [14:55:42]line Контрольно-Кассовый Чек [14:55:42]line ПРОДАЖА [14:55:42]line ТРК (МРК, ГНК) : 12 [14:55:42]line Товар: 2710124130 [14:55:42]line Аи-92-К-5 [14:55:42]line 5.900 * 67.80 [14:55:42]line = 400.02 [14:55:42]line НДС 12% НСП 1% [14:55:42]line > о реализуемом товаре [14:55:42]line ОКРУГЛЕНИЕ: -0.02 [14:55:42]line ИТОГО: 400.00 [14:55:42]line Внесено: 400.00 [14:55:42]line СДАЧА: 0.00 [14:55:42]line НСП 1% : 3.54 [14:55:42]line НДС 12% : 42.48 [14:55:42]line Наличными: 400.00 [14:55:42]line Безнал.: 0.00 [14:55:42]line Место: АЗС № 88 "Партнер Нефть" [14:55:42]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [14:55:42]line СНО: Общий режим [14:55:42]line Чек 44 25.09.2024 14:55 [14:55:42]line Смена: 231 ФФД: 1.0 [14:55:42]line ЗНМ: 0300000061 [14:55:42]line РНМ: 0000000000146243 [14:55:42]line Версия ККМ: v1.0 [14:55:42]line ФМ: 0000000000959358 [14:55:42]line ФД: 22471 [14:55:42]line ФПД: 243926762768330 [14:55:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T145541&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22471&fm=243926762768330&tin=02508201610067®Number=0000000000146243&sum=40000 [14:55:42]OFD Sender: Processing packet 22471 [packets to send 23, broken 22] [14:55:42]ProducePacketName [14:55:42]name=ofd_packets/00022471 [14:55:42]OFD Sender: To server: pG, [14:55:42]CommunicateWithHost lk.salyk.kg:30040 [14:55:42]ConnectInit lk.salyk.kg [14:55:42]written 0, free lines is 4095 [14:55:43]Connected sock=10 [14:55:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 25 12 07 01 ED 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 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 2C 00 00 00 F4 03 04 00 6D 24 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C7 57 00 00 35 04 06 00 DD D9 A0 0B C7 CA DF A7 51 5D 6A A4 06 0A [14:55:43]Write to MH i2c: 01 00 00 9D 01 9E [14:55:43]Write i2c OK [14:55:43]MH_I2C_Read... [14:55:43]Read from MH i2c: 01 [14:55:43]MH_I2C_Read... [14:55:43]Read from MH i2c: 01 07 00 [14:55:43]MH_I2C_Read... [14:55:43]Read from MH i2c: 01 07 00 9D 01 00 00 00 00 00 EA 0C 9B [14:55:43]RasterBufferAndPrint [14:55:43]line [14:55:43]line [14:55:43]line [14:55:43]line [14:55:43]line [14:55:43]written 0, free lines is 3312 [14:55:43]MH_Cut [14:55:43]Write to MH i2c: D1 01 00 A4 01 01 77 [14:55:43]Write i2c OK [14:55:43]MH_I2C_Read... [14:55:43]Read from MH i2c: D1 [14:55:43]MH_I2C_Read... [14:55:43]Read from MH i2c: D1 01 00 [14:55:43]MH_I2C_Read... [14:55:43]Read from MH i2c: D1 01 00 A4 01 00 76 [14:55:43]Write to MH i2c: 01 00 00 A5 01 A6 [14:55:43]Write i2c OK [14:55:43]MH_I2C_Read... [14:55:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 FF E3 47 00 BD 2A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C7 57 00 00 F4 03 04 00 8F CE F3 66 B6 04 01 00 00 C8 68 24 BB BC A0 A2 1D [14:55:43]CommunicateWithHost err = 0 [14:55:43]CheckOFDResponse [14:55:43]1017 (14) - 77093643461234 [14:55:43]1041 (16) - 0000000000959358 [14:55:43]1040 (4) - 22471 [14:55:43]1012 (4) - 25.09.2024 08:49 [14:55:43]1206 (1) - 0 [14:55:43]OFD Sender: Remove packet 22471 [14:55:43]ProducePacketName [14:55:43]name=ofd_packets/00022471 [14:55:43]NVStorageDeleteData [14:55:44]OFD Sender: No OFD packet to send [14:55:44]*** Cut start [14:55:44]*** Partial cut [14:55:44]*** CUTSNS_PIN = 1 [14:55:44]*** CUTSNS_PIN = 0 [14:55:44]*** Brake cut motor [14:55:44]Read from MH i2c: 01 [14:55:44]MH_I2C_Read... [14:55:44]*** Stop cut motor [14:55:44]*** Cut end [14:55:44]Read from MH i2c: 01 07 00 [14:55:44]MH_I2C_Read... [14:55:44]Read from MH i2c: 01 07 00 A5 01 00 00 00 00 00 FF 0F BB [14:55:44]process_action close_receipt done [14:55:44]requested_data is exist [14:55:44]produce_requested_data [14:55:44]requested_item fm.sn is exist - process it [14:55:44]wFMCommunicate request_size=4 [14:55:44]MH_SAM_APDU [14:55:44]CAPDU: 80 11 00 00 [14:55:44]Write to MH i2c: E2 08 00 A6 01 80 11 00 00 00 00 00 00 21 [14:55:44]Write i2c OK [14:55:44]MH_I2C_Read... [14:55:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:55:44]Read from MH i2c: E2 [14:55:44]MH_I2C_Read... [14:55:44]Read from MH i2c: E2 17 00 [14:55:44]MH_I2C_Read... [14:55:44]Read from MH i2c: E2 17 00 A6 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 7B [14:55:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [14:55:44]wFMCommunicate OK [14:55:44]requested_item fd.num is exist - process it [14:55:44]SAM_PROTO_GetFieldsCounters [14:55:44]wFMCommunicate request_size=4 [14:55:44]MH_SAM_APDU [14:55:44]CAPDU: 80 13 00 00 [14:55:44]Write to MH i2c: E2 08 00 A7 01 80 13 00 00 00 00 00 00 24 [14:55:44]Write i2c OK [14:55:44]MH_I2C_Read... [14:55:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:55:44]Read from MH i2c: E2 [14:55:44]MH_I2C_Read... [14:55:44]Read from MH i2c: E2 62 00 [14:55:44]MH_I2C_Read... [14:55:44]Read from MH i2c: E2 62 00 A7 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 C7 57 00 00 0E 04 04 00 E7 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 D0 [14:55:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 C7 57 00 00 0E 04 04 00 E7 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 [14:55:44]wFMCommunicate OK [14:55:44]SAM_PROTO_GetFieldsCounters done [14:55:44]requested_item shift.num is exist - process it [14:55:44]requested_item shift.opened is exist - process it [14:55:44]req_shift_opened [14:55:44]FM_GetShiftState [14:55:44]SAM_PROTO_GetShiftState [14:55:44]wFMCommunicate request_size=4 [14:55:44]MH_SAM_APDU [14:55:44]CAPDU: 80 13 01 00 [14:55:44]Write to MH i2c: E2 08 00 A8 01 80 13 01 00 00 00 00 00 26 [14:55:44]Write i2c OK [14:55:44]MH_I2C_Read... [14:55:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:55:44]Read from MH i2c: E2 [14:55:44]MH_I2C_Read... [14:55:44]Read from MH i2c: E2 0E 00 [14:55:44]MH_I2C_Read... [14:55:44]Read from MH i2c: E2 0E 00 A8 01 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 B7 [14:55:44]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [14:55:44]wFMCommunicate OK [14:55:44]SAM_PROTO_GetShiftState done [14:55:44]FM_GetShiftState done [14:55:44]req_shift_opened done [14:55:44]requested_item shift.open_date is exist - process it [14:55:44]req_shift_open_date [14:55:44]req_shift_open_date done [14:55:44]produce_requested_data done [14:55:44]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22471,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [14:55:44]process_action_free close_receipt [14:55:44]json_value_free [14:55:44]json_value_free done [14:55:44]process_json_proto returns [14:55:44]Send response to host [14:55:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22471,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [14:55:44]free response buf [14:55:44]execute_script done [14:55:44]execute_script returns [14:55:44]free content buf [14:55:44]Sock 7.Close socket [14:55:44]Sock 7.Thread stoped [14:55:49]OFD Sender: No OFD packet to send [14:55:51]accept exits with 9 [14:55:51]New connection [14:55:51]New thread 3067440484 created [14:55:51]Thread 3067583844 joined [14:55:51]Waiting for new connection... [14:55:51] Sock 9.Parse request [14:55:51]Sock 9.Check first char [14:55:51]Sock 9.First char is OK [14:55:51]request: POST /json_proto HTTP/1.0 [14:55:51]Method: POST [14:55:51]URL: /json_proto [14:55:51]Method is POST - this is cgi request [14:55:51]url: /json_proto [14:55:51]query_string will be loaded in cgi processing [14:55:51]execute_cgi json_proto POST (null) [14:55:51]execute_cgi path=json_proto method=POST [14:55:51]POST find Content-Length [14:55:51]Host: 172.17.43.4:8080 [14:55:51]Content-Length: 675 [14:55:51]Content-Type: application/json [14:55:51] [14:55:51]POST finish read [14:55:51]Found Content-Length = 675 [14:55:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2164888", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 9.190, "sum" : 700.28, "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" ] } } [14:55:51]execute_script... [14:55:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2164888", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 41", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 9.190, "sum" : 700.28, "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" ] } } [14:55:51]POST & json_proto [14:55:51]process_json_proto [14:55:51]json parsed OK: [14:55:51]protocol is kg_v1.0 [14:55:51]action value=close_receipt [14:55:51]process_action close_receipt [14:55:51]cmd_close_receipt [14:55:51]MH_GetDate [14:55:51]Write to MH i2c: F0 00 00 A9 01 99 [14:55:51]Write i2c OK [14:55:51]MH_I2C_Read... [14:55:51]Read from MH i2c: F0 [14:55:51]MH_I2C_Read... [14:55:51]Read from MH i2c: F0 09 00 [14:55:51]MH_I2C_Read... [14:55:51]Read from MH i2c: F0 09 00 A9 01 00 78 24 F4 66 02 BF CF 66 8E [14:55:51]GetLastDocTimeStamp 1727276141 [14:55:51]current date 1727276152 [14:55:51]FM_GetShiftState [14:55:51]SAM_PROTO_GetShiftState [14:55:51]wFMCommunicate request_size=4 [14:55:51]MH_SAM_APDU [14:55:51]CAPDU: 80 13 01 00 [14:55:51]Write to MH i2c: E2 08 00 AA 01 80 13 01 00 00 00 00 00 28 [14:55:51]Write i2c OK [14:55:51]MH_I2C_Read... [14:55:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:55:51]Read from MH i2c: E2 [14:55:51]MH_I2C_Read... [14:55:51]Read from MH i2c: E2 0E 00 [14:55:51]MH_I2C_Read... [14:55:51]Read from MH i2c: E2 0E 00 AA 01 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 B9 [14:55:51]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [14:55:51]wFMCommunicate OK [14:55:51]SAM_PROTO_GetShiftState done [14:55:51]FM_GetShiftState done [14:55:51]opened in 1727224020 [14:55:51]opened+sec_in_day 1727310420 [14:55:51]quantity*price = 70027 [14:55:51]sum+1 = 70029 [14:55:51]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.28 ИТОГО: 700.00 Внесено: 700.00 СДАЧА: 0.00 НСП 1% : 6.20 НДС 12% : 74.37 Наличными: 700.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 45 25.09.2024 14:55 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22472 ФПД: 180402966933543 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T145552&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22472&fm=180402966933543&tin=02508201610067®Number=0000000000146243&sum=70000 [14:55:53]StoreToDocumentArchive [14:55:53]shift 231 fd 22472 [14:55:53]save to /storage/0231/doc_00022472 [14:55:53]save last doc name /storage/0231/doc_00022472 to /storage/kkm_last_doc_name [14:55:53]save OK [14:55:53]Clear old archive folders... [14:55:53]ProcessDocumentItem done err = 0, tmpTLVsize=248 [14:55:53]tlvbuf is 00271DF0 [14:55:53]SAM_PROTO_ClearQueue [14:55:53]wFMCommunicate request_size=4 [14:55:53]MH_SAM_APDU [14:55:53]CAPDU: 80 09 00 00 [14:55:53]Write to MH i2c: E2 08 00 B7 01 80 09 00 00 00 00 00 00 2A [14:55:53]Write i2c OK [14:55:53]MH_I2C_Read... [14:55:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:55:53]Read from MH i2c: E2 [14:55:53]MH_I2C_Read... [14:55:53]Read from MH i2c: E2 03 00 [14:55:53]MH_I2C_Read... [14:55:53]Read from MH i2c: E2 03 00 B7 01 00 90 00 2C [14:55:53]RAPDU: 90 00 [14:55:53]wFMCommunicate OK [14:55:53]SAM_PROTO_ClearQueue done [14:55:53]KKMCreateOFDPacket [14:55:53]OFDProtocolAddRootSTLVToBuf [14:55:53]FM_MakeSignedData [14:55:53]FM_MakeSignedData [14:55:53]SAM_PROTO_SignData [14:55:53]wFMCommunicate request_size=4 [14:55:53]MH_SAM_APDU [14:55:53]CAPDU: 80 0D 01 02 [14:55:53]Write to MH i2c: E2 08 00 B8 01 80 0D 01 02 00 00 00 00 32 [14:55:53]Write i2c OK [14:55:53]MH_I2C_Read... [14:55:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:55:53]Read from MH i2c: E2 [14:55:53]MH_I2C_Read... [14:55:53]Read from MH i2c: E2 03 00 [14:55:53]MH_I2C_Read... [14:55:53]Read from MH i2c: E2 03 00 B8 01 00 90 00 2D [14:55:53]RAPDU: 90 00 [14:55:53]wFMCommunicate OK [14:55:53]wFMCommunicate request_size=255 [14:55:53]MH_SAM_APDU [14:55:53]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 E6 23 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8C 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 0D 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 2D 00 00 00 F4 03 04 00 78 24 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C8 57 00 00 35 04 06 00 A4 13 56 C2 [14:55:53]Write to MH i2c: E2 02 01 B9 01 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 E6 23 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8C 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 0D 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 2D 00 00 00 F4 03 04 00 78 24 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C8 57 00 00 35 04 06 00 A4 13 56 C2 00 00 AD [14:55:53]Write i2c OK [14:55:53]MH_I2C_Read... [14:55:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:55:53]Read from MH i2c: E2 [14:55:53]MH_I2C_Read... [14:55:53]Read from MH i2c: E2 03 00 [14:55:53]MH_I2C_Read... [14:55:53]Read from MH i2c: E2 03 00 B9 01 00 90 00 2E [14:55:53]RAPDU: 90 00 [14:55:53]wFMCommunicate OK [14:55:53]wFMCommunicate request_size=7 [14:55:53]MH_SAM_APDU [14:55:53]CAPDU: 80 0D 02 02 02 B0 27 [14:55:53]Write to MH i2c: E2 0A 00 BA 01 80 0D 02 02 02 00 B0 27 00 00 10 [14:55:53]Write i2c OK [14:55:53]MH_I2C_Read... [14:55:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:55:53]Read from MH i2c: E2 [14:55:53]MH_I2C_Read... [14:55:53]Read from MH i2c: E2 03 00 [14:55:53]MH_I2C_Read... [14:55:53]Read from MH i2c: E2 03 00 BA 01 00 90 00 2F [14:55:53]RAPDU: 90 00 [14:55:53]wFMCommunicate OK [14:55:53]wFMCommunicate request_size=4 [14:55:53]MH_SAM_APDU [14:55:53]CAPDU: 80 0D 03 02 [14:55:53]Write to MH i2c: E2 08 00 BB 01 80 0D 03 02 00 00 00 00 37 [14:55:53]Write i2c OK [14:55:53]MH_I2C_Read... [14:55:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:55:53]Read from MH i2c: E2 [14:55:53]MH_I2C_Read... [14:55:53]Read from MH i2c: E2 0B 00 [14:55:53]MH_I2C_Read... [14:55:53]Read from MH i2c: E2 0B 00 BB 01 00 A2 CA 0C CB A7 F5 D2 BA 90 00 A3 [14:55:53]RAPDU: A2 CA 0C CB A7 F5 D2 BA 90 00 [14:55:53]wFMCommunicate OK [14:55:53]SAM_PROTO_SignData done [14:55:53]FM_MakeSignedData done [14:55:53]CreateOFDProtocolMessage [14:55:53]wFMCommunicate request_size=4 [14:55:53]MH_SAM_APDU [14:55:53]CAPDU: 80 11 00 00 [14:55:53]Write to MH i2c: E2 08 00 BC 01 80 11 00 00 00 00 00 00 37 [14:55:53]Write i2c OK [14:55:53]MH_I2C_Read... [14:55:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:55:53]Read from MH i2c: E2 [14:55:53]MH_I2C_Read... [14:55:53]Read from MH i2c: E2 17 00 [14:55:53]MH_I2C_Read... [14:55:53]Read from MH i2c: E2 17 00 BC 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 91 [14:55:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [14:55:53]wFMCommunicate OK [14:55:53]CreateOFDProtocolMessage done [14:55:53]OFDSenderStorePacket 22472 [14:55:53]StoreOFDPacket docnum=22472 [14:55:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 01 00 00 37 6C 04 01 1B DA 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 E6 23 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8C 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 0D 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 2D 00 00 00 F4 03 04 00 78 24 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C8 57 00 00 35 04 06 00 A4 13 56 C2 B0 27 A2 CA 0C CB A7 F5 D2 BA [14:55:53]CheckFolder [14:55:53]dirname=/storage/ofd_packets [14:55:53]CheckFolder done [14:55:53]ProducePacketName [14:55:53]name=ofd_packets/00022472 [14:55:53]NVStorageSaveData ofd_packets/00022472 [14:55:53]File name is /storage/ofd_packets/00022472 [14:55:53]Write 298 bytes [14:55:53]NVStorageSaveData done [14:55:53]OFDSenderStorePacket done [14:55:53]KKMCreateOFDPacket done [14:55:53]NVStorageSaveData kkm_last_timestamp [14:55:53]File name is /storage/kkm_last_timestamp [14:55:53]Write 4 bytes [14:55:53]NVStorageSaveData done [14:55:53]ExternCall_PrintAddStr [14:55:53]wPrintStart [14:55:53]Write to MH i2c: 01 00 00 BD 01 BE [14:55:53]Write i2c OK [14:55:53]MH_I2C_Read... [14:55:53]Read from MH i2c: 01 [14:55:53]MH_I2C_Read... [14:55:53]Read from MH i2c: 01 07 00 [14:55:53]MH_I2C_Read... [14:55:53]Read from MH i2c: 01 07 00 BD 01 00 00 00 00 00 FF 0F D3 [14:55:53]RasterBufferAndPrint [14:55:53]line Счет N : (1)2164888 [14:55:53]line ИНН: 02508201610067 [14:55:53]line Контрольно-Кассовый Чек [14:55:53]line ПРОДАЖА [14:55:53]line ТРК (МРК, ГНК) : 41 [14:55:53]line Товар: 2710194210 [14:55:53]line ДТ-К-5 [14:55:53]line 9.190 * 76.20 [14:55:53]line = 700.28 [14:55:53]line НДС 12% НСП 1% [14:55:53]line > о реализуемом товаре [14:55:53]line ОКРУГЛЕНИЕ: -0.28 [14:55:53]line ИТОГО: 700.00 [14:55:53]line Внесено: 700.00 [14:55:53]line СДАЧА: 0.00 [14:55:53]line НСП 1% : 6.20 [14:55:53]line НДС 12% : 74.37 [14:55:53]line Наличными: 700.00 [14:55:53]line Безнал.: 0.00 [14:55:53]line Место: АЗС № 88 "Партнер Нефть" [14:55:53]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [14:55:53]line СНО: Общий режим [14:55:53]line Чек 45 25.09.2024 14:55 [14:55:53]line Смена: 231 ФФД: 1.0 [14:55:53]line ЗНМ: 0300000061 [14:55:53]line РНМ: 0000000000146243 [14:55:53]line Версия ККМ: v1.0 [14:55:53]line ФМ: 0000000000959358 [14:55:53]line ФД: 22472 [14:55:53]line ФПД: 180402966933543 [14:55:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T145552&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22472&fm=180402966933543&tin=02508201610067®Number=0000000000146243&sum=70000 [14:55:53]OFD Sender: Processing packet 22472 [packets to send 23, broken 22] [14:55:53]ProducePacketName [14:55:53]name=ofd_packets/00022472 [14:55:53]OFD Sender: To server: pG, [14:55:53]CommunicateWithHost lk.salyk.kg:30040 [14:55:53]ConnectInit lk.salyk.kg [14:55:53]written 0, free lines is 4095 [14:55:54]Connected sock=10 [14:55:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 01 00 00 37 6C 04 01 1B DA 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 E6 23 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8C 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 0D 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 2D 00 00 00 F4 03 04 00 78 24 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C8 57 00 00 35 04 06 00 A4 13 56 C2 B0 27 A2 CA 0C CB A7 F5 D2 BA [14:55:54]Write to MH i2c: 01 00 00 E8 01 E9 [14:55:54]Write i2c OK [14:55:54]MH_I2C_Read... [14:55:54]Read from MH i2c: 01 [14:55:54]MH_I2C_Read... [14:55:54]Read from MH i2c: 01 07 00 [14:55:54]MH_I2C_Read... [14:55:54]Read from MH i2c: 01 07 00 E8 01 00 00 00 00 00 F6 0C F2 [14:55:54]RasterBufferAndPrint [14:55:54]line [14:55:54]line [14:55:54]line [14:55:54]line [14:55:54]line [14:55:54]written 0, free lines is 3324 [14:55:54]MH_Cut [14:55:54]Write to MH i2c: D1 01 00 EF 01 01 C2 [14:55:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 24 31 47 00 9B C0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C8 57 00 00 F4 03 04 00 9A CE F3 66 B6 04 01 00 00 EE 80 06 F5 FC 32 4A 05 [14:55:54]CommunicateWithHost err = 0 [14:55:54]CheckOFDResponse [14:55:54]1017 (14) - 77093643461234 [14:55:54]1041 (16) - 0000000000959358 [14:55:54]1040 (4) - 22472 [14:55:54]1012 (4) - 25.09.2024 08:49 [14:55:54]1206 (1) - 0 [14:55:54]OFD Sender: Remove packet 22472 [14:55:54]ProducePacketName [14:55:54]name=ofd_packets/00022472 [14:55:54]NVStorageDeleteData [14:55:54]Write i2c OK [14:55:54]MH_I2C_Read... [14:55:54]Read from MH i2c: D1 [14:55:54]MH_I2C_Read... [14:55:54]Read from MH i2c: D1 01 00 [14:55:54]MH_I2C_Read... [14:55:54]Read from MH i2c: D1 01 00 EF 01 00 C1 [14:55:54]Write to MH i2c: 01 00 00 F0 01 F1 [14:55:54]Write i2c OK [14:55:54]MH_I2C_Read... [14:55:54]OFD Sender: No OFD packet to send [14:55:55]*** Cut start [14:55:55]*** Partial cut [14:55:55]*** CUTSNS_PIN = 1 [14:55:55]*** CUTSNS_PIN = 0 [14:55:55]*** Brake cut motor [14:55:55]Read from MH i2c: 01 [14:55:55]MH_I2C_Read... [14:55:55]*** Stop cut motor [14:55:55]*** Cut end [14:55:55]Read from MH i2c: 01 07 00 [14:55:55]MH_I2C_Read... [14:55:55]Read from MH i2c: 01 07 00 F0 01 00 00 00 00 00 FF 0F 06 [14:55:55]process_action close_receipt done [14:55:55]requested_data is exist [14:55:55]produce_requested_data [14:55:55]requested_item fm.sn is exist - process it [14:55:55]wFMCommunicate request_size=4 [14:55:55]MH_SAM_APDU [14:55:55]CAPDU: 80 11 00 00 [14:55:55]Write to MH i2c: E2 08 00 F1 01 80 11 00 00 00 00 00 00 6C [14:55:55]Write i2c OK [14:55:55]MH_I2C_Read... [14:55:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:55:55]Read from MH i2c: E2 [14:55:55]MH_I2C_Read... [14:55:55]Read from MH i2c: E2 17 00 [14:55:55]MH_I2C_Read... [14:55:55]Read from MH i2c: E2 17 00 F1 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 C6 [14:55:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [14:55:55]wFMCommunicate OK [14:55:55]requested_item fd.num is exist - process it [14:55:55]SAM_PROTO_GetFieldsCounters [14:55:55]wFMCommunicate request_size=4 [14:55:55]MH_SAM_APDU [14:55:55]CAPDU: 80 13 00 00 [14:55:55]Write to MH i2c: E2 08 00 F2 01 80 13 00 00 00 00 00 00 6F [14:55:55]Write i2c OK [14:55:55]MH_I2C_Read... [14:55:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:55:55]Read from MH i2c: E2 [14:55:55]MH_I2C_Read... [14:55:55]Read from MH i2c: E2 62 00 [14:55:55]MH_I2C_Read... [14:55:55]Read from MH i2c: E2 62 00 F2 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 C8 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 1F [14:55:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 C8 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:55:55]wFMCommunicate OK [14:55:55]SAM_PROTO_GetFieldsCounters done [14:55:55]requested_item shift.num is exist - process it [14:55:55]requested_item shift.opened is exist - process it [14:55:55]req_shift_opened [14:55:55]FM_GetShiftState [14:55:55]SAM_PROTO_GetShiftState [14:55:55]wFMCommunicate request_size=4 [14:55:55]MH_SAM_APDU [14:55:55]CAPDU: 80 13 01 00 [14:55:55]Write to MH i2c: E2 08 00 F3 01 80 13 01 00 00 00 00 00 71 [14:55:55]Write i2c OK [14:55:55]MH_I2C_Read... [14:55:55]Read from MH i2c: E2 [14:55:55]MH_I2C_Read... [14:55:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:55:55]Read from MH i2c: E2 0E 00 [14:55:55]MH_I2C_Read... [14:55:55]Read from MH i2c: E2 0E 00 F3 01 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 02 [14:55:55]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [14:55:55]wFMCommunicate OK [14:55:55]SAM_PROTO_GetShiftState done [14:55:55]FM_GetShiftState done [14:55:55]req_shift_opened done [14:55:55]requested_item shift.open_date is exist - process it [14:55:55]req_shift_open_date [14:55:55]req_shift_open_date done [14:55:55]produce_requested_data done [14:55:55]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22472,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [14:55:55]process_action_free close_receipt [14:55:55]json_value_free [14:55:55]json_value_free done [14:55:55]process_json_proto returns [14:55:55]Send response to host [14:55:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22472,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [14:55:55]free response buf [14:55:55]execute_script done [14:55:55]execute_script returns [14:55:55]free content buf [14:55:55]Sock 9.Close socket [14:55:55]Sock 9.Thread stoped [14:55:59]OFD Sender: No OFD packet to send [14:56:04]OFD Sender: No OFD packet to send [14:56:09]OFD Sender: No OFD packet to send [14:56:14]OFD Sender: No OFD packet to send [14:56:19]OFD Sender: No OFD packet to send [14:56:24]OFD Sender: No OFD packet to send [14:56:29]OFD Sender: No OFD packet to send [14:56:34]OFD Sender: No OFD packet to send [14:56:39]OFD Sender: No OFD packet to send [14:56:44]OFD Sender: No OFD packet to send [14:56:49]OFD Sender: No OFD packet to send [14:56:54]OFD Sender: No OFD packet to send [14:56:59]OFD Sender: No OFD packet to send [14:57:04]OFD Sender: No OFD packet to send [14:57:09]OFD Sender: No OFD packet to send [14:57:14]OFD Sender: No OFD packet to send [14:57:19]OFD Sender: No OFD packet to send [14:57:24]OFD Sender: No OFD packet to send [14:57:29]OFD Sender: No OFD packet to send [14:57:34]OFD Sender: No OFD packet to send [14:57:39]OFD Sender: No OFD packet to send [14:57:44]OFD Sender: No OFD packet to send [14:57:49]OFD Sender: No OFD packet to send [14:57:54]OFD Sender: No OFD packet to send [14:57:59]accept exits with 7 [14:57:59]New connection [14:57:59]New thread 3067583844 created [14:57:59]Thread 3067440484 joined [14:57:59]Waiting for new connection... [14:57:59] Sock 7.Parse request [14:57:59]Sock 7.Check first char [14:57:59]Sock 7.First char is OK [14:57:59]request: POST /json_proto HTTP/1.0 [14:57:59]Method: POST [14:57:59]URL: /json_proto [14:57:59]Method is POST - this is cgi request [14:57:59]url: /json_proto [14:57:59]query_string will be loaded in cgi processing [14:57:59]execute_cgi json_proto POST (null) [14:57:59]execute_cgi path=json_proto method=POST [14:57:59]POST find Content-Length [14:57:59]Host: 172.17.43.4:8080 [14:57:59]Content-Length: 683 [14:57:59]Content-Type: application/json [14:57:59] [14:57:59]POST finish read [14:57:59]Found Content-Length = 683 [14:57:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2164890", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 13.480, "sum" : 1000.22, "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" ] } } [14:57:59]execute_script... [14:57:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2164890", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 74.20, "quantity" : 13.480, "sum" : 1000.22, "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" ] } } [14:57:59]POST & json_proto [14:57:59]process_json_proto [14:57:59]json parsed OK: [14:57:59]protocol is kg_v1.0 [14:57:59]action value=close_receipt [14:57:59]process_action close_receipt [14:57:59]cmd_close_receipt [14:57:59]MH_GetDate [14:57:59]Write to MH i2c: F0 00 00 F4 01 E4 [14:57:59]Write i2c OK [14:57:59]MH_I2C_Read... [14:57:59]Read from MH i2c: F0 [14:57:59]MH_I2C_Read... [14:57:59]Read from MH i2c: F0 09 00 [14:57:59]MH_I2C_Read... [14:57:59]Read from MH i2c: F0 09 00 F4 01 00 F8 24 F4 66 02 BF CF 66 59 [14:57:59]GetLastDocTimeStamp 1727276152 [14:57:59]current date 1727276280 [14:57:59]FM_GetShiftState [14:57:59]SAM_PROTO_GetShiftState [14:57:59]wFMCommunicate request_size=4 [14:57:59]MH_SAM_APDU [14:57:59]CAPDU: 80 13 01 00 [14:57:59]Write to MH i2c: E2 08 00 F5 01 80 13 01 00 00 00 00 00 73 [14:57:59]Write i2c OK [14:57:59]MH_I2C_Read... [14:57:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:57:59]Read from MH i2c: E2 [14:57:59]MH_I2C_Read... [14:57:59]Read from MH i2c: E2 0E 00 [14:57:59]MH_I2C_Read... [14:57:59]Read from MH i2c: E2 0E 00 F5 01 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 04 [14:57:59]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [14:57:59]wFMCommunicate OK [14:57:59]SAM_PROTO_GetShiftState done [14:57:59]FM_GetShiftState done [14:57:59]opened in 1727224020 [14:57:59]opened+sec_in_day 1727310420 [14:57:59]quantity*price = 100021 [14:57:59]sum+1 = 100023 [14:57:59]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.22 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.22 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 46 25.09.2024 14:58 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22473 ФПД: 148090100200378 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T145800&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22473&fm=148090100200378&tin=02508201610067®Number=0000000000146243&sum=100000 [14:58:00]StoreToDocumentArchive [14:58:00]shift 231 fd 22473 [14:58:00]save to /storage/0231/doc_00022473 [14:58:00]save last doc name /storage/0231/doc_00022473 to /storage/kkm_last_doc_name [14:58:00]save OK [14:58:00]Clear old archive folders... [14:58:00]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:58:00]tlvbuf is 002633E0 [14:58:00]SAM_PROTO_ClearQueue [14:58:00]wFMCommunicate request_size=4 [14:58:00]MH_SAM_APDU [14:58:00]CAPDU: 80 09 00 00 [14:58:00]Write to MH i2c: E2 08 00 02 02 80 09 00 00 00 00 00 00 76 [14:58:00]Write i2c OK [14:58:00]MH_I2C_Read... [14:58:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:58:00]Read from MH i2c: E2 [14:58:00]MH_I2C_Read... [14:58:00]Read from MH i2c: E2 03 00 [14:58:00]MH_I2C_Read... [14:58:00]Read from MH i2c: E2 03 00 02 02 00 90 00 78 [14:58:00]RAPDU: 90 00 [14:58:00]wFMCommunicate OK [14:58:00]SAM_PROTO_ClearQueue done [14:58:00]KKMCreateOFDPacket [14:58:00]OFDProtocolAddRootSTLVToBuf [14:58:00]FM_MakeSignedData [14:58:00]FM_MakeSignedData [14:58:00]SAM_PROTO_SignData [14:58:00]wFMCommunicate request_size=4 [14:58:00]MH_SAM_APDU [14:58:00]CAPDU: 80 0D 01 02 [14:58:00]Write to MH i2c: E2 08 00 03 02 80 0D 01 02 00 00 00 00 7E [14:58:00]Write i2c OK [14:58:00]MH_I2C_Read... [14:58:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:58:01]Read from MH i2c: E2 [14:58:01]MH_I2C_Read... [14:58:01]Read from MH i2c: E2 03 00 [14:58:01]MH_I2C_Read... [14:58:01]Read from MH i2c: E2 03 00 03 02 00 90 00 79 [14:58:01]RAPDU: 90 00 [14:58:01]wFMCommunicate OK [14:58:01]wFMCommunicate request_size=255 [14:58:01]MH_SAM_APDU [14:58:01]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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 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 7E 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 2E 00 00 00 F4 03 04 00 F8 24 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C9 57 00 00 35 04 06 00 86 [14:58:01]Write to MH i2c: E2 02 01 04 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 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 7E 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 2E 00 00 00 F4 03 04 00 F8 24 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C9 57 00 00 35 04 06 00 86 00 00 5D [14:58:01]Write i2c OK [14:58:01]MH_I2C_Read... [14:58:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:58:01]Read from MH i2c: E2 [14:58:01]MH_I2C_Read... [14:58:01]Read from MH i2c: E2 03 00 [14:58:01]MH_I2C_Read... [14:58:01]Read from MH i2c: E2 03 00 04 02 00 90 00 7A [14:58:01]RAPDU: 90 00 [14:58:01]wFMCommunicate OK [14:58:01]wFMCommunicate request_size=10 [14:58:01]MH_SAM_APDU [14:58:01]CAPDU: 80 0D 02 02 05 AF E9 D1 33 BA [14:58:01]Write to MH i2c: E2 0D 00 05 02 80 0D 02 02 05 00 AF E9 D1 33 BA 00 00 E1 [14:58:01]Write i2c OK [14:58:01]MH_I2C_Read... [14:58:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:58:01]Read from MH i2c: E2 [14:58:01]MH_I2C_Read... [14:58:01]Read from MH i2c: E2 03 00 [14:58:01]MH_I2C_Read... [14:58:01]Read from MH i2c: E2 03 00 05 02 00 90 00 7B [14:58:01]RAPDU: 90 00 [14:58:01]wFMCommunicate OK [14:58:01]wFMCommunicate request_size=4 [14:58:01]MH_SAM_APDU [14:58:01]CAPDU: 80 0D 03 02 [14:58:01]Write to MH i2c: E2 08 00 06 02 80 0D 03 02 00 00 00 00 83 [14:58:01]Write i2c OK [14:58:01]MH_I2C_Read... [14:58:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:58:01]Read from MH i2c: E2 [14:58:01]MH_I2C_Read... [14:58:01]Read from MH i2c: E2 0B 00 [14:58:01]MH_I2C_Read... [14:58:01]Read from MH i2c: E2 0B 00 06 02 00 C7 C4 94 E8 D0 A8 C0 92 90 00 55 [14:58:01]RAPDU: C7 C4 94 E8 D0 A8 C0 92 90 00 [14:58:01]wFMCommunicate OK [14:58:01]SAM_PROTO_SignData done [14:58:01]FM_MakeSignedData done [14:58:01]CreateOFDProtocolMessage [14:58:01]wFMCommunicate request_size=4 [14:58:01]MH_SAM_APDU [14:58:01]CAPDU: 80 11 00 00 [14:58:01]Write to MH i2c: E2 08 00 07 02 80 11 00 00 00 00 00 00 83 [14:58:01]Write i2c OK [14:58:01]MH_I2C_Read... [14:58:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:58:01]Read from MH i2c: E2 [14:58:01]MH_I2C_Read... [14:58:01]Read from MH i2c: E2 17 00 [14:58:01]MH_I2C_Read... [14:58:01]Read from MH i2c: E2 17 00 07 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 DD [14:58:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [14:58:01]wFMCommunicate OK [14:58:01]CreateOFDProtocolMessage done [14:58:01]OFDSenderStorePacket 22473 [14:58:01]StoreOFDPacket docnum=22473 [14:58:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 44 92 07 01 28 F1 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 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 7E 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 2E 00 00 00 F4 03 04 00 F8 24 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C9 57 00 00 35 04 06 00 86 AF E9 D1 33 BA C7 C4 94 E8 D0 A8 C0 92 [14:58:01]CheckFolder [14:58:01]dirname=/storage/ofd_packets [14:58:01]CheckFolder done [14:58:01]ProducePacketName [14:58:01]name=ofd_packets/00022473 [14:58:01]NVStorageSaveData ofd_packets/00022473 [14:58:01]File name is /storage/ofd_packets/00022473 [14:58:01]Write 301 bytes [14:58:01]NVStorageSaveData done [14:58:01]OFDSenderStorePacket done [14:58:01]KKMCreateOFDPacket done [14:58:01]NVStorageSaveData kkm_last_timestamp [14:58:01]File name is /storage/kkm_last_timestamp [14:58:01]Write 4 bytes [14:58:01]NVStorageSaveData done [14:58:01]ExternCall_PrintAddStr [14:58:01]wPrintStart [14:58:01]Write to MH i2c: 01 00 00 08 02 0A [14:58:01]Write i2c OK [14:58:01]MH_I2C_Read... [14:58:01]Read from MH i2c: 01 [14:58:01]MH_I2C_Read... [14:58:01]Read from MH i2c: 01 07 00 [14:58:01]MH_I2C_Read... [14:58:01]Read from MH i2c: 01 07 00 08 02 00 00 00 00 00 FF 0F 1F [14:58:01]RasterBufferAndPrint [14:58:01]line Счет N : (1)2164890 [14:58:01]line ИНН: 02508201610067 [14:58:01]line Контрольно-Кассовый Чек [14:58:01]line ПРОДАЖА [14:58:01]line ТРК (МРК, ГНК) : 13 [14:58:01]line Товар: 2710124500 [14:58:01]line Аи-95-К-5 [14:58:01]line 13.480 * 74.20 [14:58:01]line = 1000.22 [14:58:01]line НДС 12% НСП 1% [14:58:01]line > о реализуемом товаре [14:58:01]line ОКРУГЛЕНИЕ: -0.22 [14:58:01]line ИТОГО: 1000.00 [14:58:01]line Внесено: 1000.00 [14:58:01]line СДАЧА: 0.00 [14:58:01]line НСП 1% : 8.85 [14:58:01]line НДС 12% : 106.22 [14:58:01]line Наличными: 1000.00 [14:58:01]line Безнал.: 0.00 [14:58:01]line Место: АЗС № 88 "Партнер Нефть" [14:58:01]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [14:58:01]line СНО: Общий режим [14:58:01]line Чек 46 25.09.2024 14:58 [14:58:01]line Смена: 231 ФФД: 1.0 [14:58:01]line ЗНМ: 0300000061 [14:58:01]line РНМ: 0000000000146243 [14:58:01]line Версия ККМ: v1.0 [14:58:01]line ФМ: 0000000000959358 [14:58:01]line ФД: 22473 [14:58:01]line ФПД: 148090100200378 [14:58:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T145800&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22473&fm=148090100200378&tin=02508201610067®Number=0000000000146243&sum=100000 [14:58:01]OFD Sender: Processing packet 22473 [packets to send 23, broken 22] [14:58:01]ProducePacketName [14:58:01]name=ofd_packets/00022473 [14:58:01]OFD Sender: To server: pG, [14:58:01]CommunicateWithHost lk.salyk.kg:30040 [14:58:01]ConnectInit lk.salyk.kg [14:58:01]written 0, free lines is 4095 [14:58:01]Connected sock=10 [14:58:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 44 92 07 01 28 F1 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 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 7E 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 2E 00 00 00 F4 03 04 00 F8 24 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C9 57 00 00 35 04 06 00 86 AF E9 D1 33 BA C7 C4 94 E8 D0 A8 C0 92 [14:58:02]Write to MH i2c: 01 00 00 33 02 35 [14:58:02]Write i2c OK [14:58:02]MH_I2C_Read... [14:58:02]Read from MH i2c: 01 [14:58:02]MH_I2C_Read... [14:58:02]Read from MH i2c: 01 07 00 [14:58:02]MH_I2C_Read... [14:58:02]Read from MH i2c: 01 07 00 33 02 00 00 00 00 00 FD 0C 45 [14:58:02]RasterBufferAndPrint [14:58:02]line [14:58:02]line [14:58:02]line [14:58:02]line [14:58:02]line [14:58:02]written 0, free lines is 3331 [14:58:02]MH_Cut [14:58:02]Write to MH i2c: D1 01 00 3A 02 01 0E [14:58:02]Write i2c OK [14:58:02]MH_I2C_Read... [14:58:02]Read from MH i2c: D1 [14:58:02]MH_I2C_Read... [14:58:02]Read from MH i2c: D1 01 00 [14:58:02]MH_I2C_Read... [14:58:02]Read from MH i2c: D1 01 00 3A 02 00 0D [14:58:02]Write to MH i2c: 01 00 00 3B 02 3D [14:58:02]Write i2c OK [14:58:02]MH_I2C_Read... [14:58:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 E6 8D 47 00 15 9D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 C9 57 00 00 F4 03 04 00 1A CF F3 66 B6 04 01 00 00 6B D5 34 12 D3 4E DB D6 [14:58:02]CommunicateWithHost err = 0 [14:58:02]CheckOFDResponse [14:58:02]1017 (14) - 77093643461234 [14:58:02]1041 (16) - 0000000000959358 [14:58:02]1040 (4) - 22473 [14:58:02]1012 (4) - 25.09.2024 08:51 [14:58:02]1206 (1) - 0 [14:58:02]OFD Sender: Remove packet 22473 [14:58:02]ProducePacketName [14:58:02]name=ofd_packets/00022473 [14:58:02]NVStorageDeleteData [14:58:02]OFD Sender: No OFD packet to send [14:58:02]*** Cut start [14:58:02]*** Partial cut [14:58:02]*** CUTSNS_PIN = 1 [14:58:02]*** CUTSNS_PIN = 0 [14:58:03]*** Brake cut motor [14:58:03]Read from MH i2c: 01 [14:58:03]MH_I2C_Read... [14:58:03]*** Stop cut motor [14:58:03]*** Cut end [14:58:03]Read from MH i2c: 01 07 00 [14:58:03]MH_I2C_Read... [14:58:03]Read from MH i2c: 01 07 00 3B 02 00 00 00 00 00 FF 0F 52 [14:58:03]process_action close_receipt done [14:58:03]requested_data is exist [14:58:03]produce_requested_data [14:58:03]requested_item fm.sn is exist - process it [14:58:03]wFMCommunicate request_size=4 [14:58:03]MH_SAM_APDU [14:58:03]CAPDU: 80 11 00 00 [14:58:03]Write to MH i2c: E2 08 00 3C 02 80 11 00 00 00 00 00 00 B8 [14:58:03]Write i2c OK [14:58:03]MH_I2C_Read... [14:58:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:58:03]Read from MH i2c: E2 [14:58:03]MH_I2C_Read... [14:58:03]Read from MH i2c: E2 17 00 [14:58:03]MH_I2C_Read... [14:58:03]Read from MH i2c: E2 17 00 3C 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 12 [14:58:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [14:58:03]wFMCommunicate OK [14:58:03]requested_item fd.num is exist - process it [14:58:03]SAM_PROTO_GetFieldsCounters [14:58:03]wFMCommunicate request_size=4 [14:58:03]MH_SAM_APDU [14:58:03]CAPDU: 80 13 00 00 [14:58:03]Write to MH i2c: E2 08 00 3D 02 80 13 00 00 00 00 00 00 BB [14:58:03]Write i2c OK [14:58:03]MH_I2C_Read... [14:58:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:58:03]Read from MH i2c: E2 [14:58:03]MH_I2C_Read... [14:58:03]Read from MH i2c: E2 62 00 [14:58:03]MH_I2C_Read... [14:58:03]Read from MH i2c: E2 62 00 3D 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 C9 57 00 00 0E 04 04 00 E7 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 6F [14:58:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 C9 57 00 00 0E 04 04 00 E7 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 [14:58:03]wFMCommunicate OK [14:58:03]SAM_PROTO_GetFieldsCounters done [14:58:03]requested_item shift.num is exist - process it [14:58:03]requested_item shift.opened is exist - process it [14:58:03]req_shift_opened [14:58:03]FM_GetShiftState [14:58:03]SAM_PROTO_GetShiftState [14:58:03]wFMCommunicate request_size=4 [14:58:03]MH_SAM_APDU [14:58:03]CAPDU: 80 13 01 00 [14:58:03]Write to MH i2c: E2 08 00 3E 02 80 13 01 00 00 00 00 00 BD [14:58:03]Write i2c OK [14:58:03]MH_I2C_Read... [14:58:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:58:03]Read from MH i2c: E2 [14:58:03]MH_I2C_Read... [14:58:03]Read from MH i2c: E2 0E 00 [14:58:03]MH_I2C_Read... [14:58:03]Read from MH i2c: E2 0E 00 3E 02 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 4E [14:58:03]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [14:58:03]wFMCommunicate OK [14:58:03]SAM_PROTO_GetShiftState done [14:58:03]FM_GetShiftState done [14:58:03]req_shift_opened done [14:58:03]requested_item shift.open_date is exist - process it [14:58:03]req_shift_open_date [14:58:03]req_shift_open_date done [14:58:03]produce_requested_data done [14:58:03]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22473,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [14:58:03]process_action_free close_receipt [14:58:03]json_value_free [14:58:03]json_value_free done [14:58:03]process_json_proto returns [14:58:03]Send response to host [14:58:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22473,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [14:58:03]free response buf [14:58:03]execute_script done [14:58:03]execute_script returns [14:58:03]free content buf [14:58:03]Sock 7.Close socket [14:58:03]Sock 7.Thread stoped [14:58:07]OFD Sender: No OFD packet to send [14:58:12]OFD Sender: No OFD packet to send [14:58:17]OFD Sender: No OFD packet to send [14:58:22]OFD Sender: No OFD packet to send [14:58:27]OFD Sender: No OFD packet to send [14:58:32]OFD Sender: No OFD packet to send [14:58:37]OFD Sender: No OFD packet to send [14:58:42]OFD Sender: No OFD packet to send [14:58:47]OFD Sender: No OFD packet to send [14:58:52]OFD Sender: No OFD packet to send [14:58:57]OFD Sender: No OFD packet to send [14:59:02]OFD Sender: No OFD packet to send [14:59:07]OFD Sender: No OFD packet to send [14:59:12]OFD Sender: No OFD packet to send [14:59:17]OFD Sender: No OFD packet to send [14:59:22]OFD Sender: No OFD packet to send [14:59:27]OFD Sender: No OFD packet to send [14:59:32]OFD Sender: No OFD packet to send [14:59:37]OFD Sender: No OFD packet to send [14:59:42]OFD Sender: No OFD packet to send [14:59:47]OFD Sender: No OFD packet to send [14:59:52]OFD Sender: No OFD packet to send [14:59:57]OFD Sender: No OFD packet to send [15:00:02]OFD Sender: No OFD packet to send [15:00:07]OFD Sender: No OFD packet to send [15:00:12]OFD Sender: No OFD packet to send [15:00:17]OFD Sender: No OFD packet to send [15:00:22]OFD Sender: No OFD packet to send [15:00:27]OFD Sender: No OFD packet to send [15:00:32]OFD Sender: No OFD packet to send [15:00:37]OFD Sender: No OFD packet to send [15:00:42]OFD Sender: No OFD packet to send [15:00:47]OFD Sender: No OFD packet to send [15:00:52]OFD Sender: No OFD packet to send [15:00:57]OFD Sender: No OFD packet to send [15:01:02]OFD Sender: No OFD packet to send [15:01:07]OFD Sender: No OFD packet to send [15:01:12]OFD Sender: No OFD packet to send [15:01:17]OFD Sender: No OFD packet to send [15:01:22]OFD Sender: No OFD packet to send [15:01:27]OFD Sender: No OFD packet to send [15:01:32]OFD Sender: No OFD packet to send [15:01:37]OFD Sender: No OFD packet to send [15:01:42]OFD Sender: No OFD packet to send [15:01:47]OFD Sender: No OFD packet to send [15:01:52]OFD Sender: No OFD packet to send [15:01:57]OFD Sender: No OFD packet to send [15:02:02]OFD Sender: No OFD packet to send [15:02:07]OFD Sender: No OFD packet to send [15:02:12]OFD Sender: No OFD packet to send [15:02:17]OFD Sender: No OFD packet to send [15:02:23]OFD Sender: No OFD packet to send [15:02:28]OFD Sender: No OFD packet to send [15:02:33]OFD Sender: No OFD packet to send [15:02:38]OFD Sender: No OFD packet to send [15:02:43]OFD Sender: No OFD packet to send [15:02:48]OFD Sender: No OFD packet to send [15:02:53]OFD Sender: No OFD packet to send [15:02:58]OFD Sender: No OFD packet to send [15:03:03]OFD Sender: No OFD packet to send [15:03:08]OFD Sender: No OFD packet to send [15:03:13]OFD Sender: No OFD packet to send [15:03:13]accept exits with 9 [15:03:13]New connection [15:03:13]New thread 3067440484 created [15:03:13]Thread 3067583844 joined [15:03:13]Waiting for new connection... [15:03:13] Sock 9.Parse request [15:03:13]Sock 9.Check first char [15:03:13]Sock 9.First char is OK [15:03:13]request: POST /json_proto HTTP/1.0 [15:03:13]Method: POST [15:03:13]URL: /json_proto [15:03:13]Method is POST - this is cgi request [15:03:13]url: /json_proto [15:03:13]query_string will be loaded in cgi processing [15:03:13]execute_cgi json_proto POST (null) [15:03:13]execute_cgi path=json_proto method=POST [15:03:13]POST find Content-Length [15:03:13]Host: 172.17.43.4:8080 [15:03:13]Content-Length: 1039 [15:03:13]Content-Type: application/json [15:03:13] [15:03:13]POST finish read [15:03:13]Found Content-Length = 1039 [15:03:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51677", "tax_sys" : 0, "items" : [ { "code": "4700000310036", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 0,5\u043B", "price" : 0.00, "quantity" : 2.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:03:13]execute_script... [15:03:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51677", "tax_sys" : 0, "items" : [ { "code": "4700000310036", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 0,5\u043B", "price" : 0.00, "quantity" : 2.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:03:13]POST & json_proto [15:03:13]process_json_proto [15:03:13]json parsed OK: [15:03:13]protocol is kg_v1.0 [15:03:13]action value=close_receipt [15:03:13]process_action close_receipt [15:03:13]cmd_close_receipt [15:03:13]MH_GetDate [15:03:13]Write to MH i2c: F0 00 00 3F 02 30 [15:03:13]Write i2c OK [15:03:13]MH_I2C_Read... [15:03:13]Read from MH i2c: F0 [15:03:13]MH_I2C_Read... [15:03:13]Read from MH i2c: F0 09 00 [15:03:13]MH_I2C_Read... [15:03:13]Read from MH i2c: F0 09 00 3F 02 00 32 26 F4 66 02 BF CF 66 E1 [15:03:13]GetLastDocTimeStamp 1727276280 [15:03:13]current date 1727276594 [15:03:13]FM_GetShiftState [15:03:13]SAM_PROTO_GetShiftState [15:03:13]wFMCommunicate request_size=4 [15:03:13]MH_SAM_APDU [15:03:13]CAPDU: 80 13 01 00 [15:03:13]Write to MH i2c: E2 08 00 40 02 80 13 01 00 00 00 00 00 BF [15:03:13]Write i2c OK [15:03:13]MH_I2C_Read... [15:03:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:03:13]Read from MH i2c: E2 [15:03:13]MH_I2C_Read... [15:03:13]Read from MH i2c: E2 0E 00 [15:03:13]MH_I2C_Read... [15:03:13]Read from MH i2c: E2 0E 00 40 02 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 50 [15:03:13]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [15:03:13]wFMCommunicate OK [15:03:13]SAM_PROTO_GetShiftState done [15:03:13]FM_GetShiftState done [15:03:13]opened in 1727224020 [15:03:13]opened+sec_in_day 1727310420 [15:03:13]quantity*price = 0 [15:03:13]sum+1 = 1 [15:03:13]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000480050 Напиток Nitro Energy эн green ж/б 0,45л 1.000 * 0.00 = 0.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 47 25.09.2024 15:03 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000959358 ФД: 22474 ФПД: 4038560351946 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T150314&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22474&fm=4038560351946&tin=02508201610067®Number=0000000000146243&sum=0 0 [15:03:14]StoreToDocumentArchive [15:03:14]shift 231 fd 22474 [15:03:14]save to /storage/0231/doc_00022474 [15:03:14]save last doc name /storage/0231/doc_00022474 to /storage/kkm_last_doc_name [15:03:14]save OK [15:03:14]Clear old archive folders... [15:03:14]ProcessDocumentItem done err = 0, tmpTLVsize=401 [15:03:14]tlvbuf is 00262FC0 [15:03:14]SAM_PROTO_ClearQueue [15:03:14]wFMCommunicate request_size=4 [15:03:14]MH_SAM_APDU [15:03:14]CAPDU: 80 09 00 00 [15:03:14]Write to MH i2c: E2 08 00 4D 02 80 09 00 00 00 00 00 00 C1 [15:03:14]Write i2c OK [15:03:14]MH_I2C_Read... [15:03:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:03:14]Read from MH i2c: E2 [15:03:14]MH_I2C_Read... [15:03:14]Read from MH i2c: E2 03 00 [15:03:14]MH_I2C_Read... [15:03:14]Read from MH i2c: E2 03 00 4D 02 00 90 00 C3 [15:03:14]RAPDU: 90 00 [15:03:14]wFMCommunicate OK [15:03:14]SAM_PROTO_ClearQueue done [15:03:14]KKMCreateOFDPacket [15:03:14]OFDProtocolAddRootSTLVToBuf [15:03:14]FM_MakeSignedData [15:03:14]FM_MakeSignedData [15:03:14]SAM_PROTO_SignData [15:03:14]wFMCommunicate request_size=4 [15:03:14]MH_SAM_APDU [15:03:14]CAPDU: 80 0D 01 02 [15:03:14]Write to MH i2c: E2 08 00 4E 02 80 0D 01 02 00 00 00 00 C9 [15:03:14]Write i2c OK [15:03:14]MH_I2C_Read... [15:03:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:03:14]Read from MH i2c: E2 [15:03:14]MH_I2C_Read... [15:03:14]Read from MH i2c: E2 03 00 [15:03:14]MH_I2C_Read... [15:03:14]Read from MH i2c: E2 03 00 4E 02 00 90 00 C4 [15:03:14]RAPDU: 90 00 [15:03:14]wFMCommunicate OK [15:03:14]wFMCommunicate request_size=255 [15:03:14]MH_SAM_APDU [15:03:14]CAPDU: 80 0D 02 02 FA 03 00 91 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 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 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 [15:03:14]Write to MH i2c: E2 02 01 4F 02 80 0D 02 02 FA 00 03 00 91 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 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 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 00 00 B0 [15:03:15]Write i2c OK [15:03:15]MH_I2C_Read... [15:03:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:03:15]Read from MH i2c: E2 [15:03:15]MH_I2C_Read... [15:03:15]Read from MH i2c: E2 03 00 [15:03:15]MH_I2C_Read... [15:03:15]Read from MH i2c: E2 03 00 4F 02 00 90 00 C5 [15:03:15]RAPDU: 90 00 [15:03:15]wFMCommunicate OK [15:03:15]wFMCommunicate request_size=160 [15:03:15]MH_SAM_APDU [15:03:15]CAPDU: 80 0D 02 02 9B 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 2F 00 00 00 F4 03 04 00 32 26 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CA 57 00 00 35 04 06 00 03 AC 4C F4 86 CA [15:03:15]Write to MH i2c: E2 A3 00 50 02 80 0D 02 02 9B 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 2F 00 00 00 F4 03 04 00 32 26 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CA 57 00 00 35 04 06 00 03 AC 4C F4 86 CA 00 00 69 [15:03:15]Write i2c OK [15:03:15]MH_I2C_Read... [15:03:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:03:15]Read from MH i2c: E2 [15:03:15]MH_I2C_Read... [15:03:15]Read from MH i2c: E2 03 00 [15:03:15]MH_I2C_Read... [15:03:15]Read from MH i2c: E2 03 00 50 02 00 90 00 C6 [15:03:15]RAPDU: 90 00 [15:03:15]wFMCommunicate OK [15:03:15]wFMCommunicate request_size=4 [15:03:15]MH_SAM_APDU [15:03:15]CAPDU: 80 0D 03 02 [15:03:15]Write to MH i2c: E2 08 00 51 02 80 0D 03 02 00 00 00 00 CE [15:03:15]Write i2c OK [15:03:15]MH_I2C_Read... [15:03:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:03:15]Read from MH i2c: E2 [15:03:15]MH_I2C_Read... [15:03:15]Read from MH i2c: E2 0B 00 [15:03:15]MH_I2C_Read... [15:03:15]Read from MH i2c: E2 0B 00 51 02 00 FC EC BD C6 A8 88 DF 7E 90 00 C7 [15:03:15]RAPDU: FC EC BD C6 A8 88 DF 7E 90 00 [15:03:15]wFMCommunicate OK [15:03:15]SAM_PROTO_SignData done [15:03:15]FM_MakeSignedData done [15:03:15]CreateOFDProtocolMessage [15:03:15]wFMCommunicate request_size=4 [15:03:15]MH_SAM_APDU [15:03:15]CAPDU: 80 11 00 00 [15:03:15]Write to MH i2c: E2 08 00 52 02 80 11 00 00 00 00 00 00 CE [15:03:15]Write i2c OK [15:03:15]MH_I2C_Read... [15:03:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:03:15]Read from MH i2c: E2 [15:03:15]MH_I2C_Read... [15:03:15]Read from MH i2c: E2 17 00 [15:03:15]MH_I2C_Read... [15:03:15]Read from MH i2c: E2 17 00 52 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 28 [15:03:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [15:03:15]wFMCommunicate OK [15:03:15]CreateOFDProtocolMessage done [15:03:15]OFDSenderStorePacket 22474 [15:03:15]StoreOFDPacket docnum=22474 [15:03:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 A5 01 00 00 89 BE 9D 01 6E 86 5A 03 01 00 03 00 91 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 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 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 2F 00 00 00 F4 03 04 00 32 26 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CA 57 00 00 35 04 06 00 03 AC 4C F4 86 CA FC EC BD C6 A8 88 DF 7E [15:03:15]CheckFolder [15:03:15]dirname=/storage/ofd_packets [15:03:15]CheckFolder done [15:03:15]ProducePacketName [15:03:15]name=ofd_packets/00022474 [15:03:15]NVStorageSaveData ofd_packets/00022474 [15:03:15]File name is /storage/ofd_packets/00022474 [15:03:15]Write 451 bytes [15:03:15]NVStorageSaveData done [15:03:15]OFDSenderStorePacket done [15:03:15]KKMCreateOFDPacket done [15:03:15]NVStorageSaveData kkm_last_timestamp [15:03:15]File name is /storage/kkm_last_timestamp [15:03:15]Write 4 bytes [15:03:15]NVStorageSaveData done [15:03:15]ExternCall_PrintAddStr [15:03:15]wPrintStart [15:03:15]Write to MH i2c: 01 00 00 53 02 55 [15:03:15]Write i2c OK [15:03:15]MH_I2C_Read... [15:03:15]OFD Sender: Processing packet 22474 [packets to send 23, broken 22] [15:03:15]Read from MH i2c: ProducePacketName [15:03:15]01 name=ofd_packets/00022474 [15:03:15] [15:03:15]MH_I2C_Read... [15:03:15]OFD Sender: To server: pG, [15:03:15]Read from MH i2c: CommunicateWithHost lk.salyk.kg:30040 [15:03:15]01 ConnectInit lk.salyk.kg [15:03:15]07 00 [15:03:15]MH_I2C_Read... [15:03:15]Read from MH i2c: 01 07 00 53 02 00 00 00 00 00 FF 0F 6A [15:03:15]RasterBufferAndPrint [15:03:15]line Счет N : (3)51677 [15:03:15]line ИНН: 02508201610067 [15:03:15]line Контрольно-Кассовый Чек [15:03:15]line ПРОДАЖА [15:03:15]line Товар: 4700000310036 [15:03:15]line Вода Жалалабат 27 0,5л [15:03:15]line 2.000 * 0.00 [15:03:15]line = 0.00 [15:03:15]line НДС 12% НСП 1% [15:03:15]line > о реализуемом товаре [15:03:15]line Товар: 4700000480050 [15:03:15]line Напиток Nitro Energy эн green ж/б 0,45л [15:03:15]line 1.000 * 0.00 [15:03:15]line = 0.00 [15:03:15]line НДС 12% НСП 1% [15:03:15]line > о реализуемом товаре [15:03:15]line ИТОГО: 0.00 [15:03:15]line НСП 1% : 0.00 [15:03:15]line НДС 12% : 0.00 [15:03:15]line Наличными: 0.00 [15:03:15]line Безнал.: 0.00 [15:03:15]line Место: АЗС № 88 "Партнер Нефть" [15:03:15]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [15:03:15]line СНО: Общий режим [15:03:15]line Чек 47 25.09.2024 15:03 [15:03:15]line Смена: 231 ФФД: 1.0 [15:03:15]line ЗНМ: 0300000061 [15:03:15]line РНМ: 0000000000146243 [15:03:15]line Версия ККМ: v1.0 [15:03:15]line Платежная система: Mbank [15:03:15]line ФМ: 0000000000959358 [15:03:15]line ФД: 22474 [15:03:15]line ФПД: 4038560351946 [15:03:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T150314&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22474&fm=4038560351946&tin=02508201610067®Number=0000000000146243&sum=0 [15:03:15]line 0 [15:03:15]written 0, free lines is 4095 [15:03:16]Connected sock=11 [15:03:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 A5 01 00 00 89 BE 9D 01 6E 86 5A 03 01 00 03 00 91 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 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 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 2F 00 00 00 F4 03 04 00 32 26 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CA 57 00 00 35 04 06 00 03 AC 4C F4 86 CA FC EC BD C6 A8 88 DF 7E [15:03:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 99 DC 47 00 E8 77 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CA 57 00 00 F4 03 04 00 54 D0 F3 66 B6 04 01 00 00 BC B1 6D 53 A3 9C 51 A4 [15:03:16]CommunicateWithHost err = 0 [15:03:16]CheckOFDResponse [15:03:16]1017 (14) - 77093643461234 [15:03:16]1041 (16) - 0000000000959358 [15:03:16]1040 (4) - 22474 [15:03:16]1012 (4) - 25.09.2024 08:56 [15:03:16]1206 (1) - 0 [15:03:16]OFD Sender: Remove packet 22474 [15:03:16]ProducePacketName [15:03:16]name=ofd_packets/00022474 [15:03:16]NVStorageDeleteData [15:03:16]Write to MH i2c: 01 00 00 83 02 85 [15:03:16]Write i2c OK [15:03:16]MH_I2C_Read... [15:03:16]Read from MH i2c: 01 [15:03:16]MH_I2C_Read... [15:03:16]Read from MH i2c: 01 07 00 [15:03:16]MH_I2C_Read... [15:03:16]Read from MH i2c: 01 07 00 83 02 00 00 00 00 00 B5 0C 4D [15:03:16]RasterBufferAndPrint [15:03:16]line [15:03:16]line [15:03:16]line [15:03:16]line [15:03:16]line [15:03:16]written 0, free lines is 3259 [15:03:16]MH_Cut [15:03:16]Write to MH i2c: D1 01 00 8A 02 01 5E [15:03:16]Write i2c OK [15:03:16]MH_I2C_Read... [15:03:16]Read from MH i2c: D1 [15:03:16]MH_I2C_Read... [15:03:16]Read from MH i2c: D1 01 00 [15:03:16]MH_I2C_Read... [15:03:16]Read from MH i2c: D1 01 00 8A 02 00 5D [15:03:16]Write to MH i2c: 01 00 00 8B 02 8D [15:03:16]Write i2c OK [15:03:16]MH_I2C_Read... [15:03:16]OFD Sender: No OFD packet to send [15:03:17]*** Cut start [15:03:17]*** Partial cut [15:03:17]*** CUTSNS_PIN = 1 [15:03:17]*** CUTSNS_PIN = 0 [15:03:17]*** Brake cut motor [15:03:17]Read from MH i2c: 01 [15:03:17]MH_I2C_Read... [15:03:17]*** Stop cut motor [15:03:17]*** Cut end [15:03:17]Read from MH i2c: 01 07 00 [15:03:17]MH_I2C_Read... [15:03:17]Read from MH i2c: 01 07 00 8B 02 00 00 00 00 00 FF 0F A2 [15:03:17]process_action close_receipt done [15:03:17]requested_data is exist [15:03:17]produce_requested_data [15:03:17]requested_item fm.sn is exist - process it [15:03:17]wFMCommunicate request_size=4 [15:03:17]MH_SAM_APDU [15:03:17]CAPDU: 80 11 00 00 [15:03:17]Write to MH i2c: E2 08 00 8C 02 80 11 00 00 00 00 00 00 08 [15:03:17]Write i2c OK [15:03:17]MH_I2C_Read... [15:03:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:03:17]Read from MH i2c: E2 [15:03:17]MH_I2C_Read... [15:03:17]Read from MH i2c: E2 17 00 [15:03:17]MH_I2C_Read... [15:03:17]Read from MH i2c: E2 17 00 8C 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 62 [15:03:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [15:03:17]wFMCommunicate OK [15:03:17]requested_item fd.num is exist - process it [15:03:17]SAM_PROTO_GetFieldsCounters [15:03:17]wFMCommunicate request_size=4 [15:03:17]MH_SAM_APDU [15:03:17]CAPDU: 80 13 00 00 [15:03:17]Write to MH i2c: E2 08 00 8D 02 80 13 00 00 00 00 00 00 0B [15:03:17]Write i2c OK [15:03:17]MH_I2C_Read... [15:03:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:03:17]Read from MH i2c: E2 [15:03:17]MH_I2C_Read... [15:03:17]Read from MH i2c: E2 62 00 [15:03:17]MH_I2C_Read... [15:03:17]Read from MH i2c: E2 62 00 8D 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 CA 57 00 00 0E 04 04 00 E7 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 C3 [15:03:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 CA 57 00 00 0E 04 04 00 E7 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 [15:03:17]wFMCommunicate OK [15:03:17]SAM_PROTO_GetFieldsCounters done [15:03:17]requested_item shift.num is exist - process it [15:03:17]requested_item shift.opened is exist - process it [15:03:17]req_shift_opened [15:03:17]FM_GetShiftState [15:03:17]SAM_PROTO_GetShiftState [15:03:17]wFMCommunicate request_size=4 [15:03:17]MH_SAM_APDU [15:03:17]CAPDU: 80 13 01 00 [15:03:17]Write to MH i2c: E2 08 00 8E 02 80 13 01 00 00 00 00 00 0D [15:03:17]Write i2c OK [15:03:17]MH_I2C_Read... [15:03:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:03:17]Read from MH i2c: E2 [15:03:17]MH_I2C_Read... [15:03:17]Read from MH i2c: E2 0E 00 [15:03:17]MH_I2C_Read... [15:03:17]Read from MH i2c: E2 0E 00 8E 02 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 9E [15:03:17]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [15:03:17]wFMCommunicate OK [15:03:17]SAM_PROTO_GetShiftState done [15:03:17]FM_GetShiftState done [15:03:17]req_shift_opened done [15:03:17]requested_item shift.open_date is exist - process it [15:03:17]req_shift_open_date [15:03:17]req_shift_open_date done [15:03:17]produce_requested_data done [15:03:17]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22474,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [15:03:17]process_action_free close_receipt [15:03:17]json_value_free [15:03:17]json_value_free done [15:03:17]process_json_proto returns [15:03:17]Send response to host [15:03:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22474,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [15:03:17]free response buf [15:03:17]execute_script done [15:03:17]execute_script returns [15:03:17]free content buf [15:03:17]Sock 9.Close socket [15:03:17]Sock 9.Thread stoped [15:03:21]OFD Sender: No OFD packet to send [15:03:26]OFD Sender: No OFD packet to send [15:03:31]OFD Sender: No OFD packet to send [15:03:36]OFD Sender: No OFD packet to send [15:03:41]OFD Sender: No OFD packet to send [15:03:46]OFD Sender: No OFD packet to send [15:03:51]OFD Sender: No OFD packet to send [15:03:56]OFD Sender: No OFD packet to send [15:04:01]OFD Sender: No OFD packet to send [15:04:04]accept exits with 7 [15:04:04]New connection [15:04:04]New thread 3067583844 created [15:04:04]Thread 3067440484 joined [15:04:04]Waiting for new connection... [15:04:04] Sock 7.Parse request [15:04:04]Sock 7.Check first char [15:04:04]Sock 7.First char is OK [15:04:04]request: POST /json_proto HTTP/1.0 [15:04:04]Method: POST [15:04:04]URL: /json_proto [15:04:04]Method is POST - this is cgi request [15:04:04]url: /json_proto [15:04:04]query_string will be loaded in cgi processing [15:04:04]execute_cgi json_proto POST (null) [15:04:04]execute_cgi path=json_proto method=POST [15:04:04]POST find Content-Length [15:04:04]Host: 172.17.43.4:8080 [15:04:04]Content-Length: 909 [15:04:04]Content-Type: application/json [15:04:04] [15:04:04]POST finish read [15:04:04]Found Content-Length = 909 [15:04:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51678", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 220.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:04:04]execute_script... [15:04:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51678", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 220.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:04:04]POST & json_proto [15:04:04]process_json_proto [15:04:04]json parsed OK: [15:04:04]protocol is kg_v1.0 [15:04:04]action value=close_receipt [15:04:04]process_action close_receipt [15:04:04]cmd_close_receipt [15:04:04]MH_GetDate [15:04:04]Write to MH i2c: F0 00 00 8F 02 80 [15:04:04]Write i2c OK [15:04:04]MH_I2C_Read... [15:04:04]Read from MH i2c: F0 [15:04:04]MH_I2C_Read... [15:04:04]Read from MH i2c: F0 09 00 [15:04:04]MH_I2C_Read... [15:04:04]Read from MH i2c: F0 09 00 8F 02 00 65 26 F4 66 02 BF CF 66 64 [15:04:04]GetLastDocTimeStamp 1727276594 [15:04:04]current date 1727276645 [15:04:04]FM_GetShiftState [15:04:04]SAM_PROTO_GetShiftState [15:04:04]wFMCommunicate request_size=4 [15:04:04]MH_SAM_APDU [15:04:04]CAPDU: 80 13 01 00 [15:04:04]Write to MH i2c: E2 08 00 90 02 80 13 01 00 00 00 00 00 0F [15:04:04]Write i2c OK [15:04:04]MH_I2C_Read... [15:04:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:04:04]Read from MH i2c: E2 [15:04:04]MH_I2C_Read... [15:04:04]Read from MH i2c: E2 0E 00 [15:04:04]MH_I2C_Read... [15:04:04]Read from MH i2c: E2 0E 00 90 02 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 A0 [15:04:04]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [15:04:04]wFMCommunicate OK [15:04:04]SAM_PROTO_GetShiftState done [15:04:04]FM_GetShiftState done [15:04:04]opened in 1727224020 [15:04:04]opened+sec_in_day 1727310420 [15:04:04]quantity*price = 10500 [15:04:04]sum+1 = 10501 [15:04:04]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036210013 Кофе Капучино (GABB TRADE) 1.000 * 115.00 = 115.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 220.00 НСП 1% : 1.95 НДС 12% : 23.36 Наличными: 220.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 48 25.09.2024 15:04 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22475 ФПД: 75169809608653 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T150405&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22475&fm=75169809608653&tin=02508201610067®Number=0000000000146243&sum=22000 0 [15:04:05]StoreToDocumentArchive [15:04:05]shift 231 fd 22475 [15:04:05]save to /storage/0231/doc_00022475 [15:04:05]save last doc name /storage/0231/doc_00022475 to /storage/kkm_last_doc_name [15:04:05]save OK [15:04:05]Clear old archive folders... [15:04:05]ProcessDocumentItem done err = 0, tmpTLVsize=392 [15:04:05]tlvbuf is 0021BC40 [15:04:05]SAM_PROTO_ClearQueue [15:04:05]wFMCommunicate request_size=4 [15:04:05]MH_SAM_APDU [15:04:05]CAPDU: 80 09 00 00 [15:04:05]Write to MH i2c: E2 08 00 9D 02 80 09 00 00 00 00 00 00 11 [15:04:05]Write i2c OK [15:04:05]MH_I2C_Read... [15:04:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:04:05]Read from MH i2c: E2 [15:04:05]MH_I2C_Read... [15:04:05]Read from MH i2c: E2 03 00 [15:04:05]MH_I2C_Read... [15:04:05]Read from MH i2c: E2 03 00 9D 02 00 90 00 13 [15:04:05]RAPDU: 90 00 [15:04:05]wFMCommunicate OK [15:04:05]SAM_PROTO_ClearQueue done [15:04:05]KKMCreateOFDPacket [15:04:05]OFDProtocolAddRootSTLVToBuf [15:04:05]FM_MakeSignedData [15:04:05]FM_MakeSignedData [15:04:05]SAM_PROTO_SignData [15:04:05]wFMCommunicate request_size=4 [15:04:05]MH_SAM_APDU [15:04:05]CAPDU: 80 0D 01 02 [15:04:05]Write to MH i2c: E2 08 00 9E 02 80 0D 01 02 00 00 00 00 19 [15:04:05]Write i2c OK [15:04:05]MH_I2C_Read... [15:04:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:04:06]Read from MH i2c: E2 [15:04:06]MH_I2C_Read... [15:04:06]Read from MH i2c: E2 03 00 [15:04:06]MH_I2C_Read... [15:04:06]Read from MH i2c: E2 03 00 9E 02 00 90 00 14 [15:04:06]RAPDU: 90 00 [15:04:06]wFMCommunicate OK [15:04:06]wFMCommunicate request_size=255 [15:04:06]MH_SAM_APDU [15:04:06]CAPDU: 80 0D 02 02 FA 03 00 88 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 [15:04:06]Write to MH i2c: E2 02 01 9F 02 80 0D 02 02 FA 00 03 00 88 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 00 00 B2 [15:04:06]Write i2c OK [15:04:06]MH_I2C_Read... [15:04:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:04:06]Read from MH i2c: E2 [15:04:06]MH_I2C_Read... [15:04:06]Read from MH i2c: E2 03 00 [15:04:06]MH_I2C_Read... [15:04:06]Read from MH i2c: E2 03 00 9F 02 00 90 00 15 [15:04:06]RAPDU: 90 00 [15:04:06]wFMCommunicate OK [15:04:06]wFMCommunicate request_size=151 [15:04:06]MH_SAM_APDU [15:04:06]CAPDU: 80 0D 02 02 92 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 65 26 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CB 57 00 00 35 04 06 00 44 5D D5 CC AF CD [15:04:06]Write to MH i2c: E2 9A 00 A0 02 80 0D 02 02 92 00 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 65 26 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CB 57 00 00 35 04 06 00 44 5D D5 CC AF CD 00 00 81 [15:04:06]Write i2c OK [15:04:06]MH_I2C_Read... [15:04:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:04:06]Read from MH i2c: E2 [15:04:06]MH_I2C_Read... [15:04:06]Read from MH i2c: E2 03 00 [15:04:06]MH_I2C_Read... [15:04:06]Read from MH i2c: E2 03 00 A0 02 00 90 00 16 [15:04:06]RAPDU: 90 00 [15:04:06]wFMCommunicate OK [15:04:06]wFMCommunicate request_size=4 [15:04:06]MH_SAM_APDU [15:04:06]CAPDU: 80 0D 03 02 [15:04:06]Write to MH i2c: E2 08 00 A1 02 80 0D 03 02 00 00 00 00 1E [15:04:06]Write i2c OK [15:04:06]MH_I2C_Read... [15:04:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:04:06]Read from MH i2c: E2 [15:04:06]MH_I2C_Read... [15:04:06]Read from MH i2c: E2 0B 00 [15:04:06]MH_I2C_Read... [15:04:06]Read from MH i2c: E2 0B 00 A1 02 00 31 3C B6 07 AA C9 A2 27 90 00 85 [15:04:06]RAPDU: 31 3C B6 07 AA C9 A2 27 90 00 [15:04:06]wFMCommunicate OK [15:04:06]SAM_PROTO_SignData done [15:04:06]FM_MakeSignedData done [15:04:06]CreateOFDProtocolMessage [15:04:06]wFMCommunicate request_size=4 [15:04:06]MH_SAM_APDU [15:04:06]CAPDU: 80 11 00 00 [15:04:06]Write to MH i2c: E2 08 00 A2 02 80 11 00 00 00 00 00 00 1E [15:04:06]Write i2c OK [15:04:06]MH_I2C_Read... [15:04:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:04:06]Read from MH i2c: E2 [15:04:06]MH_I2C_Read... [15:04:06]Read from MH i2c: E2 17 00 [15:04:06]MH_I2C_Read... [15:04:06]Read from MH i2c: E2 17 00 A2 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 78 [15:04:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [15:04:06]wFMCommunicate OK [15:04:06]CreateOFDProtocolMessage done [15:04:06]OFDSenderStorePacket 22475 [15:04:06]StoreOFDPacket docnum=22475 [15:04:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 9C 01 00 00 F9 80 94 01 03 89 5A 03 01 00 03 00 88 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 65 26 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CB 57 00 00 35 04 06 00 44 5D D5 CC AF CD 31 3C B6 07 AA C9 A2 27 [15:04:06]CheckFolder [15:04:06]dirname=/storage/ofd_packets [15:04:06]CheckFolder done [15:04:06]ProducePacketName [15:04:06]name=ofd_packets/00022475 [15:04:06]NVStorageSaveData ofd_packets/00022475 [15:04:06]File name is /storage/ofd_packets/00022475 [15:04:06]Write 442 bytes [15:04:06]NVStorageSaveData done [15:04:06]OFDSenderStorePacket done [15:04:06]KKMCreateOFDPacket done [15:04:06]NVStorageSaveData kkm_last_timestamp [15:04:06]File name is /storage/kkm_last_timestamp [15:04:06]Write 4 bytes [15:04:06]NVStorageSaveData done [15:04:06]ExternCall_PrintAddStr [15:04:06]wPrintStart [15:04:06]Write to MH i2c: 01 00 00 A3 02 A5 [15:04:06]Write i2c OK [15:04:06]MH_I2C_Read... [15:04:06]Read from MH i2c: 01 [15:04:06]MH_I2C_Read... [15:04:06]Read from MH i2c: 01 07 00 [15:04:06]MH_I2C_Read... [15:04:06]Read from MH i2c: 01 07 00 A3 02 00 00 00 00 00 FF 0F BA [15:04:06]RasterBufferAndPrint [15:04:06]line Счет N : (3)51678 [15:04:06]line ИНН: 02508201610067 [15:04:06]line Контрольно-Кассовый Чек [15:04:06]line ПРОДАЖА [15:04:06]line Товар: 2000034730018 [15:04:06]line Кофе Американо (GABB TRADE) [15:04:06]line 1.000 * 105.00 [15:04:06]line = 105.00 [15:04:06]line НДС 12% НСП 1% [15:04:06]line > о реализуемом товаре [15:04:06]line Товар: 2000036210013 [15:04:06]line Кофе Капучино (GABB TRADE) [15:04:06]line 1.000 * 115.00 [15:04:06]line = 115.00 [15:04:06]line НДС 12% НСП 1% [15:04:06]line > о реализуемом товаре [15:04:06]line ИТОГО: 220.00 [15:04:06]line НСП 1% : 1.95 [15:04:06]line НДС 12% : 23.36 [15:04:06]line Наличными: 220.00 [15:04:06]line Безнал.: 0.00 [15:04:06]line Место: АЗС № 88 "Партнер Нефть" [15:04:06]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [15:04:06]line СНО: Общий режим [15:04:06]line Чек 48 25.09.2024 15:04 [15:04:06]line Смена: 231 ФФД: 1.0 [15:04:06]line ЗНМ: 0300000061 [15:04:06]line РНМ: 0000000000146243 [15:04:06]line Версия ККМ: v1.0 [15:04:06]line ФМ: 0000000000959358 [15:04:06]line ФД: 22475 [15:04:06]line ФПД: 75169809608653 [15:04:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T150405&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22475&fm=75169809608653&tin=02508201610067®Number=0000000000146243&sum=22000 [15:04:06]line 0 [15:04:06]OFD Sender: Processing packet 22475 [packets to send 23, broken 22] [15:04:06]ProducePacketName [15:04:06]name=ofd_packets/00022475 [15:04:06]OFD Sender: To server: pG, [15:04:06]CommunicateWithHost lk.salyk.kg:30040 [15:04:06]ConnectInit lk.salyk.kg [15:04:06]written 0, free lines is 4095 [15:04:07]Connected sock=10 [15:04:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 9C 01 00 00 F9 80 94 01 03 89 5A 03 01 00 03 00 88 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 65 26 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CB 57 00 00 35 04 06 00 44 5D D5 CC AF CD 31 3C B6 07 AA C9 A2 27 [15:04:07]Write to MH i2c: 01 00 00 D2 02 D4 [15:04:07]Write i2c OK [15:04:07]MH_I2C_Read... [15:04:07]Read from MH i2c: 01 [15:04:07]MH_I2C_Read... [15:04:07]Read from MH i2c: 01 07 00 [15:04:07]MH_I2C_Read... [15:04:07]Read from MH i2c: 01 07 00 D2 02 00 00 00 00 00 C7 0C AE [15:04:07]RasterBufferAndPrint [15:04:07]line [15:04:07]line [15:04:07]line [15:04:07]line [15:04:07]line [15:04:07]written 0, free lines is 3277 [15:04:07]MH_Cut [15:04:07]Write to MH i2c: D1 01 00 D9 02 01 AD [15:04:07]Write i2c OK [15:04:07]MH_I2C_Read... [15:04:07]Read from MH i2c: D1 [15:04:07]MH_I2C_Read... [15:04:07]Read from MH i2c: D1 01 00 [15:04:07]MH_I2C_Read... [15:04:07]Read from MH i2c: D1 01 00 D9 02 00 AC [15:04:07]Write to MH i2c: 01 00 00 DA 02 DC [15:04:07]Write i2c OK [15:04:07]MH_I2C_Read... [15:04:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 B6 0C 47 00 C3 37 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CB 57 00 00 F4 03 04 00 87 D0 F3 66 B6 04 01 00 00 D7 51 95 25 1C 2A 2D 61 [15:04:07]CommunicateWithHost err = 0 [15:04:07]CheckOFDResponse [15:04:07]1017 (14) - 77093643461234 [15:04:07]1041 (16) - 0000000000959358 [15:04:07]1040 (4) - 22475 [15:04:07]1012 (4) - 25.09.2024 08:57 [15:04:07]1206 (1) - 0 [15:04:07]OFD Sender: Remove packet 22475 [15:04:07]ProducePacketName [15:04:07]name=ofd_packets/00022475 [15:04:07]NVStorageDeleteData [15:04:08]OFD Sender: No OFD packet to send [15:04:08]*** Cut start [15:04:08]*** Partial cut [15:04:08]*** CUTSNS_PIN = 1 [15:04:08]*** CUTSNS_PIN = 0 [15:04:08]*** Brake cut motor [15:04:08]Read from MH i2c: 01 [15:04:08]MH_I2C_Read... [15:04:08]*** Stop cut motor [15:04:08]*** Cut end [15:04:08]Read from MH i2c: 01 07 00 [15:04:08]MH_I2C_Read... [15:04:08]Read from MH i2c: 01 07 00 DA 02 00 00 00 00 00 FF 0F F1 [15:04:08]process_action close_receipt done [15:04:08]requested_data is exist [15:04:08]produce_requested_data [15:04:08]requested_item fm.sn is exist - process it [15:04:08]wFMCommunicate request_size=4 [15:04:08]MH_SAM_APDU [15:04:08]CAPDU: 80 11 00 00 [15:04:08]Write to MH i2c: E2 08 00 DB 02 80 11 00 00 00 00 00 00 57 [15:04:08]Write i2c OK [15:04:08]MH_I2C_Read... [15:04:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:04:08]Read from MH i2c: E2 [15:04:08]MH_I2C_Read... [15:04:08]Read from MH i2c: E2 17 00 [15:04:08]MH_I2C_Read... [15:04:08]Read from MH i2c: E2 17 00 DB 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 B1 [15:04:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [15:04:08]wFMCommunicate OK [15:04:08]requested_item fd.num is exist - process it [15:04:08]SAM_PROTO_GetFieldsCounters [15:04:08]wFMCommunicate request_size=4 [15:04:08]MH_SAM_APDU [15:04:08]CAPDU: 80 13 00 00 [15:04:08]Write to MH i2c: E2 08 00 DC 02 80 13 00 00 00 00 00 00 5A [15:04:08]Write i2c OK [15:04:08]MH_I2C_Read... [15:04:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:04:08]Read from MH i2c: E2 [15:04:08]MH_I2C_Read... [15:04:08]Read from MH i2c: E2 62 00 [15:04:08]MH_I2C_Read... [15:04:08]Read from MH i2c: E2 62 00 DC 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 CB 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 16 [15:04:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 CB 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:04:08]wFMCommunicate OK [15:04:08]SAM_PROTO_GetFieldsCounters done [15:04:08]requested_item shift.num is exist - process it [15:04:08]requested_item shift.opened is exist - process it [15:04:08]req_shift_opened [15:04:08]FM_GetShiftState [15:04:08]SAM_PROTO_GetShiftState [15:04:08]wFMCommunicate request_size=4 [15:04:08]MH_SAM_APDU [15:04:08]CAPDU: 80 13 01 00 [15:04:08]Write to MH i2c: E2 08 00 DD 02 80 13 01 00 00 00 00 00 5C [15:04:08]Write i2c OK [15:04:08]MH_I2C_Read... [15:04:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:04:08]Read from MH i2c: E2 [15:04:08]MH_I2C_Read... [15:04:08]Read from MH i2c: E2 0E 00 [15:04:08]MH_I2C_Read... [15:04:08]Read from MH i2c: E2 0E 00 DD 02 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 ED [15:04:08]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [15:04:08]wFMCommunicate OK [15:04:08]SAM_PROTO_GetShiftState done [15:04:08]FM_GetShiftState done [15:04:08]req_shift_opened done [15:04:08]requested_item shift.open_date is exist - process it [15:04:08]req_shift_open_date [15:04:08]req_shift_open_date done [15:04:08]produce_requested_data done [15:04:08]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22475,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [15:04:08]process_action_free close_receipt [15:04:08]json_value_free [15:04:08]json_value_free done [15:04:08]process_json_proto returns [15:04:08]Send response to host [15:04:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22475,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [15:04:08]free response buf [15:04:08]execute_script done [15:04:08]execute_script returns [15:04:08]free content buf [15:04:08]Sock 7.Close socket [15:04:08]Sock 7.Thread stoped [15:04:13]OFD Sender: No OFD packet to send [15:04:18]OFD Sender: No OFD packet to send [15:04:23]OFD Sender: No OFD packet to send [15:04:28]OFD Sender: No OFD packet to send [15:04:33]OFD Sender: No OFD packet to send [15:04:38]OFD Sender: No OFD packet to send [15:04:43]OFD Sender: No OFD packet to send [15:04:48]OFD Sender: No OFD packet to send [15:04:53]OFD Sender: No OFD packet to send [15:04:58]OFD Sender: No OFD packet to send [15:05:03]OFD Sender: No OFD packet to send [15:05:08]OFD Sender: No OFD packet to send [15:05:13]OFD Sender: No OFD packet to send [15:05:18]OFD Sender: No OFD packet to send [15:05:23]OFD Sender: No OFD packet to send [15:05:28]OFD Sender: No OFD packet to send [15:05:33]OFD Sender: No OFD packet to send [15:05:38]OFD Sender: No OFD packet to send [15:05:43]OFD Sender: No OFD packet to send [15:05:48]OFD Sender: No OFD packet to send [15:05:53]OFD Sender: No OFD packet to send [15:05:58]OFD Sender: No OFD packet to send [15:06:03]OFD Sender: No OFD packet to send [15:06:08]OFD Sender: No OFD packet to send [15:06:13]OFD Sender: No OFD packet to send [15:06:18]OFD Sender: No OFD packet to send [15:06:23]OFD Sender: No OFD packet to send [15:06:28]OFD Sender: No OFD packet to send [15:06:33]OFD Sender: No OFD packet to send [15:06:37]accept exits with 9 [15:06:37]New connection [15:06:37]New thread 3067440484 created [15:06:37]Thread 3067583844 joined [15:06:37]Waiting for new connection... [15:06:37] Sock 9.Parse request [15:06:37]Sock 9.Check first char [15:06:37]Sock 9.First char is OK [15:06:37]request: POST /json_proto HTTP/1.0 [15:06:37]Method: POST [15:06:37]URL: /json_proto [15:06:37]Method is POST - this is cgi request [15:06:37]url: /json_proto [15:06:37]query_string will be loaded in cgi processing [15:06:37]execute_cgi json_proto POST (null) [15:06:37]execute_cgi path=json_proto method=POST [15:06:37]POST find Content-Length [15:06:37]Host: 172.17.43.4:8080 [15:06:37]Content-Length: 1758 [15:06:37]Content-Type: application/json [15:06:37] [15:06:37]POST finish read [15:06:37]Found Content-Length = 1758 [15:06:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51679", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 4.000, "sum" : 236.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5000159381178", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0411\u0430\u0443\u043D\u0442\u0438 \u0422\u0440\u0438\u043E 82,5\u0433", "price" : 89.00, "quantity" : 2.000, "sum" : 178.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 8.000, "sum" : 480.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "47018716", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F \u0441\u0442\u043E\u043F\u043A\u0430 0,07", "price" : 65.00, "quantity" : 5.000, "sum" : 325.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "price" : 70.00, "quantity" : 5.000, "sum" : 350.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1569.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:06:37]execute_script... [15:06:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51679", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 4.000, "sum" : 236.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5000159381178", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0411\u0430\u0443\u043D\u0442\u0438 \u0422\u0440\u0438\u043E 82,5\u0433", "price" : 89.00, "quantity" : 2.000, "sum" : 178.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 8.000, "sum" : 480.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "47018716", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F \u0441\u0442\u043E\u043F\u043A\u0430 0,07", "price" : 65.00, "quantity" : 5.000, "sum" : 325.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "price" : 70.00, "quantity" : 5.000, "sum" : 350.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1569.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:06:37]POST & json_proto [15:06:37]process_json_proto [15:06:37]json parsed OK: [15:06:37]protocol is kg_v1.0 [15:06:37]action value=close_receipt [15:06:37]process_action close_receipt [15:06:37]cmd_close_receipt [15:06:37]MH_GetDate [15:06:37]Write to MH i2c: F0 00 00 DE 02 CF [15:06:37]Write i2c OK [15:06:37]MH_I2C_Read... [15:06:37]Read from MH i2c: F0 [15:06:37]MH_I2C_Read... [15:06:37]Read from MH i2c: F0 09 00 [15:06:37]MH_I2C_Read... [15:06:37]Read from MH i2c: F0 09 00 DE 02 00 FE 26 F4 66 02 BF CF 66 4C [15:06:37]GetLastDocTimeStamp 1727276645 [15:06:37]current date 1727276798 [15:06:37]FM_GetShiftState [15:06:37]SAM_PROTO_GetShiftState [15:06:37]wFMCommunicate request_size=4 [15:06:37]MH_SAM_APDU [15:06:37]CAPDU: 80 13 01 00 [15:06:37]Write to MH i2c: E2 08 00 DF 02 80 13 01 00 00 00 00 00 5E [15:06:37]Write i2c OK [15:06:37]MH_I2C_Read... [15:06:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:06:37]Read from MH i2c: E2 [15:06:37]MH_I2C_Read... [15:06:37]Read from MH i2c: E2 0E 00 [15:06:37]MH_I2C_Read... [15:06:37]Read from MH i2c: E2 0E 00 DF 02 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 EF [15:06:37]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [15:06:37]wFMCommunicate OK [15:06:37]SAM_PROTO_GetShiftState done [15:06:37]FM_GetShiftState done [15:06:37]opened in 1727224020 [15:06:37]opened+sec_in_day 1727310420 [15:06:37]quantity*price = 23600 [15:06:37]sum+1 = 23601 [15:06:37]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5000159381178 Шок Батончик Баунти Трио 82,5г 2.000 * 89.00 = 178.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700025313937 ВОДКА МЯГКАЯ 0,1л 8.000 * 60.00 = 480.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 47018716 Водка Пшеничная стопка 0,07 5.000 * 65.00 = 325.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700002082931 Водка Хорошая 0,1л 5.000 * 70.00 = 350.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 1569.00 НСП 1% : 13.89 НДС 12% : 166.61 Наличными: 1569.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 49 25.09.2024 15:06 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22476 ФПД: 152225188518001 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T150638&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22476&fm=152225188518001&tin=02508201610067®Number=0000000000146243&sum=156900 0 [15:06:38]StoreToDocumentArchive [15:06:38]shift 231 fd 22476 [15:06:38]save to /storage/0231/doc_00022476 [15:06:38]save last doc name /storage/0231/doc_00022476 to /storage/kkm_last_doc_name [15:06:38]save OK [15:06:38]Clear old archive folders... [15:06:38]ProcessDocumentItem done err = 0, tmpTLVsize=723 [15:06:38]tlvbuf is 00216960 [15:06:38]SAM_PROTO_ClearQueue [15:06:38]wFMCommunicate request_size=4 [15:06:38]MH_SAM_APDU [15:06:38]CAPDU: 80 09 00 00 [15:06:38]Write to MH i2c: E2 08 00 EC 02 80 09 00 00 00 00 00 00 60 [15:06:38]Write i2c OK [15:06:38]MH_I2C_Read... [15:06:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:06:39]Read from MH i2c: E2 [15:06:39]MH_I2C_Read... [15:06:39]Read from MH i2c: E2 03 00 [15:06:39]MH_I2C_Read... [15:06:39]Read from MH i2c: E2 03 00 EC 02 00 90 00 62 [15:06:39]RAPDU: 90 00 [15:06:39]wFMCommunicate OK [15:06:39]SAM_PROTO_ClearQueue done [15:06:39]KKMCreateOFDPacket [15:06:39]OFDProtocolAddRootSTLVToBuf [15:06:39]FM_MakeSignedData [15:06:39]FM_MakeSignedData [15:06:39]SAM_PROTO_SignData [15:06:39]wFMCommunicate request_size=4 [15:06:39]MH_SAM_APDU [15:06:39]CAPDU: 80 0D 01 02 [15:06:39]Write to MH i2c: E2 08 00 ED 02 80 0D 01 02 00 00 00 00 68 [15:06:39]Write i2c OK [15:06:39]MH_I2C_Read... [15:06:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:06:39]Read from MH i2c: E2 [15:06:39]MH_I2C_Read... [15:06:39]Read from MH i2c: E2 03 00 [15:06:39]MH_I2C_Read... [15:06:39]Read from MH i2c: E2 03 00 ED 02 00 90 00 63 [15:06:39]RAPDU: 90 00 [15:06:39]wFMCommunicate OK [15:06:39]wFMCommunicate request_size=255 [15:06:39]MH_SAM_APDU [15:06:39]CAPDU: 80 0D 02 02 FA 03 00 D3 02 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 30 5C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 88 45 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 [15:06:39]Write to MH i2c: E2 02 01 EE 02 80 0D 02 02 FA 00 03 00 D3 02 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 30 5C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 88 45 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 00 00 88 [15:06:39]Write i2c OK [15:06:39]MH_I2C_Read... [15:06:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:06:39]Read from MH i2c: E2 [15:06:39]MH_I2C_Read... [15:06:39]Read from MH i2c: E2 03 00 [15:06:39]MH_I2C_Read... [15:06:39]Read from MH i2c: E2 03 00 EE 02 00 90 00 64 [15:06:39]RAPDU: 90 00 [15:06:39]wFMCommunicate OK [15:06:39]wFMCommunicate request_size=255 [15:06:39]MH_SAM_APDU [15:06:39]CAPDU: 80 0D 02 02 FA 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 40 1F 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 80 BB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 08 00 34 37 30 31 38 37 31 36 06 04 2F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 D1 81 D1 82 D0 BE D0 BF D0 BA D0 B0 20 30 2C 30 37 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 F4 7E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 [15:06:39]Write to MH i2c: E2 02 01 EF 02 80 0D 02 02 FA 00 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 40 1F 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 80 BB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 08 00 34 37 30 31 38 37 31 36 06 04 2F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 D1 81 D1 82 D0 BE D0 BF D0 BA D0 B0 20 30 2C 30 37 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 F4 7E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 00 00 F4 [15:06:39]Write i2c OK [15:06:39]MH_I2C_Read... [15:06:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:06:39]Read from MH i2c: E2 [15:06:39]MH_I2C_Read... [15:06:39]Read from MH i2c: E2 03 00 [15:06:39]MH_I2C_Read... [15:06:39]Read from MH i2c: E2 03 00 EF 02 00 90 00 65 [15:06:39]RAPDU: 90 00 [15:06:39]wFMCommunicate OK [15:06:39]wFMCommunicate request_size=232 [15:06:39]MH_SAM_APDU [15:06:39]CAPDU: 80 0D 02 02 E3 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 64 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6D 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 41 00 00 00 00 07 04 06 00 E4 64 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 FE 26 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CC 57 00 00 35 04 06 00 8A 72 B0 49 98 71 [15:06:39]Write to MH i2c: E2 EB 00 F0 02 80 0D 02 02 E3 00 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 64 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6D 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 41 00 00 00 00 07 04 06 00 E4 64 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 FE 26 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CC 57 00 00 35 04 06 00 8A 72 B0 49 98 71 00 00 75 [15:06:39]Write i2c OK [15:06:39]MH_I2C_Read... [15:06:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:06:39]Read from MH i2c: E2 [15:06:39]MH_I2C_Read... [15:06:39]Read from MH i2c: E2 03 00 [15:06:39]MH_I2C_Read... [15:06:39]Read from MH i2c: E2 03 00 F0 02 00 90 00 66 [15:06:39]RAPDU: 90 00 [15:06:39]wFMCommunicate OK [15:06:39]wFMCommunicate request_size=4 [15:06:39]MH_SAM_APDU [15:06:39]CAPDU: 80 0D 03 02 [15:06:39]Write to MH i2c: E2 08 00 F1 02 80 0D 03 02 00 00 00 00 6E [15:06:39]Write i2c OK [15:06:39]MH_I2C_Read... [15:06:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:06:39]Read from MH i2c: E2 [15:06:39]MH_I2C_Read... [15:06:39]Read from MH i2c: E2 0B 00 [15:06:39]MH_I2C_Read... [15:06:39]Read from MH i2c: E2 0B 00 F1 02 00 6A EB 69 DF 9C 10 1A D4 90 00 A6 [15:06:39]RAPDU: 6A EB 69 DF 9C 10 1A D4 90 00 [15:06:39]wFMCommunicate OK [15:06:39]SAM_PROTO_SignData done [15:06:39]FM_MakeSignedData done [15:06:39]CreateOFDProtocolMessage [15:06:39]wFMCommunicate request_size=4 [15:06:39]MH_SAM_APDU [15:06:39]CAPDU: 80 11 00 00 [15:06:39]Write to MH i2c: E2 08 00 F2 02 80 11 00 00 00 00 00 00 6E [15:06:39]Write i2c OK [15:06:39]MH_I2C_Read... [15:06:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:06:39]Read from MH i2c: E2 [15:06:39]MH_I2C_Read... [15:06:39]Read from MH i2c: E2 17 00 [15:06:39]MH_I2C_Read... [15:06:39]Read from MH i2c: E2 17 00 F2 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 C8 [15:06:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [15:06:39]wFMCommunicate OK [15:06:39]CreateOFDProtocolMessage done [15:06:39]OFDSenderStorePacket 22476 [15:06:39]StoreOFDPacket docnum=22476 [15:06:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 E7 02 00 00 1A 03 DF 02 61 0A 5A 03 01 00 03 00 D3 02 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 30 5C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 88 45 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 40 1F 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 80 BB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 08 00 34 37 30 31 38 37 31 36 06 04 2F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 D1 81 D1 82 D0 BE D0 BF D0 BA D0 B0 20 30 2C 30 37 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 F4 7E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 64 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6D 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 41 00 00 00 00 07 04 06 00 E4 64 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 FE 26 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CC 57 00 00 35 04 06 00 8A 72 B0 49 98 71 6A EB 69 DF 9C 10 1A D4 [15:06:40]CheckFolder [15:06:40]dirname=/storage/ofd_packets [15:06:40]CheckFolder done [15:06:40]ProducePacketName [15:06:40]name=ofd_packets/00022476 [15:06:40]NVStorageSaveData ofd_packets/00022476 [15:06:40]File name is /storage/ofd_packets/00022476 [15:06:40]Write 773 bytes [15:06:40]NVStorageSaveData done [15:06:40]OFDSenderStorePacket done [15:06:40]KKMCreateOFDPacket done [15:06:40]NVStorageSaveData kkm_last_timestamp [15:06:40]File name is /storage/kkm_last_timestamp [15:06:40]Write 4 bytes [15:06:40]NVStorageSaveData done [15:06:40]ExternCall_PrintAddStr [15:06:40]wPrintStart [15:06:40]Write to MH i2c: 01 00 00 F3 02 F5 [15:06:40]Write i2c OK [15:06:40]MH_I2C_Read... [15:06:40]Read from MH i2c: 01 [15:06:40]MH_I2C_Read... [15:06:40]Read from MH i2c: 01 07 00 [15:06:40]MH_I2C_Read... [15:06:40]Read from MH i2c: 01 07 00 F3 02 00 00 00 00 00 FF 0F 0A [15:06:40]RasterBufferAndPrint [15:06:40]line Счет N : (3)51679 [15:06:40]line ИНН: 02508201610067 [15:06:40]line Контрольно-Кассовый Чек [15:06:40]line ПРОДАЖА [15:06:40]line Товар: 4607065001445 [15:06:40]line Шок батончик Snickers 50,5г [15:06:40]line 4.000 * 59.00 [15:06:40]line = 236.00 [15:06:40]line НДС 12% НСП 1% [15:06:40]OFD Sender: Processing packet 22476 [packets to send 23, broken 22] [15:06:40]ProducePacketName [15:06:40]name=ofd_packets/00022476 [15:06:40]OFD Sender: To server: pG, [15:06:40]CommunicateWithHost lk.salyk.kg:30040 [15:06:40]ConnectInit lk.salyk.kg [15:06:40]line > о реализуемом товаре [15:06:40]line Товар: 5000159381178 [15:06:40]line Шок Батончик Баунти Трио 82,5г [15:06:40]line 2.000 * 89.00 [15:06:40]line = 178.00 [15:06:40]line НДС 12% НСП 1% [15:06:40]line > о реализуемом товаре [15:06:40]line Товар: 4700025313937 [15:06:40]line ВОДКА МЯГКАЯ 0,1л [15:06:40]line 8.000 * 60.00 [15:06:40]line = 480.00 [15:06:40]line НДС 12% НСП 1% [15:06:40]line > о реализуемом товаре [15:06:40]line Товар: 47018716 [15:06:40]line Водка Пшеничная стопка 0,07 [15:06:40]line 5.000 * 65.00 [15:06:40]line = 325.00 [15:06:40]line НДС 12% НСП 1% [15:06:40]line > о реализуемом товаре [15:06:40]line Товар: 4700002082931 [15:06:40]line Водка Хорошая 0,1л [15:06:40]line 5.000 * 70.00 [15:06:40]line = 350.00 [15:06:40]line НДС 12% НСП 1% [15:06:40]line > о реализуемом товаре [15:06:40]line ИТОГО: 1569.00 [15:06:40]line НСП 1% : 13.89 [15:06:40]line НДС 12% : 166.61 [15:06:40]line Наличными: 1569.00 [15:06:40]line Безнал.: 0.00 [15:06:40]line Место: АЗС № 88 "Партнер Нефть" [15:06:40]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [15:06:40]line СНО: Общий режим [15:06:40]line Чек 49 25.09.2024 15:06 [15:06:40]line Смена: 231 ФФД: 1.0 [15:06:40]line ЗНМ: 0300000061 [15:06:40]line РНМ: 0000000000146243 [15:06:40]line Версия ККМ: v1.0 [15:06:40]line ФМ: 0000000000959358 [15:06:40]line ФД: 22476 [15:06:40]line ФПД: 152225188518001 [15:06:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T150638&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22476&fm=152225188518001&tin=02508201610067®Number=0000000000146243&sum=156900 [15:06:40]line 0 [15:06:40]written 0, free lines is 4095 [15:06:40]Connected sock=10 [15:06:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 E7 02 00 00 1A 03 DF 02 61 0A 5A 03 01 00 03 00 D3 02 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 30 5C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 38 31 31 37 38 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 91 D0 B0 D1 83 D0 BD D1 82 D0 B8 20 D0 A2 D1 80 D0 B8 D0 BE 20 38 32 2C 35 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 88 45 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 40 1F 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 80 BB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 08 00 34 37 30 31 38 37 31 36 06 04 2F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 D1 81 D1 82 D0 BE D0 BF D0 BA D0 B0 20 30 2C 30 37 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 F4 7E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 64 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6D 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 41 00 00 00 00 07 04 06 00 E4 64 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 FE 26 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CC 57 00 00 35 04 06 00 8A 72 B0 49 98 71 6A EB 69 DF 9C 10 1A D4 [15:06:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 0C D6 47 00 0A 05 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CC 57 00 00 F4 03 04 00 21 D1 F3 66 B6 04 01 00 00 78 6E 00 11 D1 E4 4E 68 [15:06:40]CommunicateWithHost err = 0 [15:06:40]CheckOFDResponse [15:06:40]1017 (14) - 77093643461234 [15:06:40]1041 (16) - 0000000000959358 [15:06:40]1040 (4) - 22476 [15:06:40]1012 (4) - 25.09.2024 09:00 [15:06:40]1206 (1) - 0 [15:06:40]OFD Sender: Remove packet 22476 [15:06:40]ProducePacketName [15:06:40]name=ofd_packets/00022476 [15:06:40]NVStorageDeleteData [15:06:41]Write to MH i2c: 01 00 00 34 03 37 [15:06:41]Write i2c OK [15:06:41]MH_I2C_Read... [15:06:41]Read from MH i2c: 01 [15:06:41]MH_I2C_Read... [15:06:41]Read from MH i2c: 01 07 00 [15:06:41]MH_I2C_Read... [15:06:41]Read from MH i2c: 01 07 00 34 03 00 00 00 00 00 FA 0B 43 [15:06:41]RasterBufferAndPrint [15:06:41]line [15:06:41]line [15:06:41]line [15:06:41]line [15:06:41]line [15:06:41]written 0, free lines is 3076 [15:06:41]MH_Cut [15:06:41]Write to MH i2c: D1 01 00 3B 03 01 10 [15:06:41]Write i2c OK [15:06:41]MH_I2C_Read... [15:06:41]Read from MH i2c: D1 [15:06:41]MH_I2C_Read... [15:06:41]Read from MH i2c: D1 01 00 [15:06:41]MH_I2C_Read... [15:06:41]Read from MH i2c: D1 01 00 3B 03 00 0F [15:06:41]Write to MH i2c: 01 00 00 3C 03 3F [15:06:41]Write i2c OK [15:06:41]MH_I2C_Read... [15:06:41]OFD Sender: No OFD packet to send [15:06:41]*** Cut start [15:06:41]*** Partial cut [15:06:41]*** CUTSNS_PIN = 1 [15:06:41]*** CUTSNS_PIN = 0 [15:06:42]*** Brake cut motor [15:06:42]Read from MH i2c: 01 [15:06:42]MH_I2C_Read... [15:06:42]*** Stop cut motor [15:06:42]*** Cut end [15:06:42]Read from MH i2c: 01 07 00 [15:06:42]MH_I2C_Read... [15:06:42]Read from MH i2c: 01 07 00 3C 03 00 00 00 00 00 FF 0F 54 [15:06:42]process_action close_receipt done [15:06:42]requested_data is exist [15:06:42]produce_requested_data [15:06:42]requested_item fm.sn is exist - process it [15:06:42]wFMCommunicate request_size=4 [15:06:42]MH_SAM_APDU [15:06:42]CAPDU: 80 11 00 00 [15:06:42]Write to MH i2c: E2 08 00 3D 03 80 11 00 00 00 00 00 00 BA [15:06:42]Write i2c OK [15:06:42]MH_I2C_Read... [15:06:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:06:42]Read from MH i2c: E2 [15:06:42]MH_I2C_Read... [15:06:42]Read from MH i2c: E2 17 00 [15:06:42]MH_I2C_Read... [15:06:42]Read from MH i2c: E2 17 00 3D 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 14 [15:06:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [15:06:42]wFMCommunicate OK [15:06:42]requested_item fd.num is exist - process it [15:06:42]SAM_PROTO_GetFieldsCounters [15:06:42]wFMCommunicate request_size=4 [15:06:42]MH_SAM_APDU [15:06:42]CAPDU: 80 13 00 00 [15:06:42]Write to MH i2c: E2 08 00 3E 03 80 13 00 00 00 00 00 00 BD [15:06:42]Write i2c OK [15:06:42]MH_I2C_Read... [15:06:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:06:42]Read from MH i2c: E2 [15:06:42]MH_I2C_Read... [15:06:42]Read from MH i2c: E2 62 00 [15:06:42]MH_I2C_Read... [15:06:42]Read from MH i2c: E2 62 00 3E 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 CC 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 7D [15:06:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 CC 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:06:42]wFMCommunicate OK [15:06:42]SAM_PROTO_GetFieldsCounters done [15:06:42]requested_item shift.num is exist - process it [15:06:42]requested_item shift.opened is exist - process it [15:06:42]req_shift_opened [15:06:42]FM_GetShiftState [15:06:42]SAM_PROTO_GetShiftState [15:06:42]wFMCommunicate request_size=4 [15:06:42]MH_SAM_APDU [15:06:42]CAPDU: 80 13 01 00 [15:06:42]Write to MH i2c: E2 08 00 3F 03 80 13 01 00 00 00 00 00 BF [15:06:42]Write i2c OK [15:06:42]MH_I2C_Read... [15:06:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:06:42]Read from MH i2c: E2 [15:06:42]MH_I2C_Read... [15:06:42]Read from MH i2c: E2 0E 00 [15:06:42]MH_I2C_Read... [15:06:42]Read from MH i2c: E2 0E 00 3F 03 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 50 [15:06:42]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [15:06:42]wFMCommunicate OK [15:06:42]SAM_PROTO_GetShiftState done [15:06:42]FM_GetShiftState done [15:06:42]req_shift_opened done [15:06:42]requested_item shift.open_date is exist - process it [15:06:42]req_shift_open_date [15:06:42]req_shift_open_date done [15:06:42]produce_requested_data done [15:06:42]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22476,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [15:06:42]process_action_free close_receipt [15:06:42]json_value_free [15:06:42]json_value_free done [15:06:42]process_json_proto returns [15:06:42]Send response to host [15:06:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22476,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [15:06:42]free response buf [15:06:42]execute_script done [15:06:42]execute_script returns [15:06:42]free content buf [15:06:42]Sock 9.Close socket [15:06:42]Sock 9.Thread stoped [15:06:46]OFD Sender: No OFD packet to send [15:06:51]OFD Sender: No OFD packet to send [15:06:56]OFD Sender: No OFD packet to send [15:07:01]OFD Sender: No OFD packet to send [15:07:06]OFD Sender: No OFD packet to send [15:07:11]OFD Sender: No OFD packet to send [15:07:16]OFD Sender: No OFD packet to send [15:07:21]OFD Sender: No OFD packet to send [15:07:26]OFD Sender: No OFD packet to send [15:07:31]OFD Sender: No OFD packet to send [15:07:36]OFD Sender: No OFD packet to send [15:07:41]OFD Sender: No OFD packet to send [15:07:46]OFD Sender: No OFD packet to send [15:07:51]OFD Sender: No OFD packet to send [15:07:56]OFD Sender: No OFD packet to send [15:08:01]OFD Sender: No OFD packet to send [15:08:06]OFD Sender: No OFD packet to send [15:08:11]OFD Sender: No OFD packet to send [15:08:11]accept exits with 7 [15:08:11]New connection [15:08:11]New thread 3067583844 created [15:08:11]Thread 3067440484 joined [15:08:11]Waiting for new connection... [15:08:11] Sock 7.Parse request [15:08:11]Sock 7.Check first char [15:08:11]Sock 7.First char is OK [15:08:11]request: POST /json_proto HTTP/1.0 [15:08:11]Method: POST [15:08:11]URL: /json_proto [15:08:11]Method is POST - this is cgi request [15:08:11]url: /json_proto [15:08:11]query_string will be loaded in cgi processing [15:08:11]execute_cgi json_proto POST (null) [15:08:11]execute_cgi path=json_proto method=POST [15:08:11]POST find Content-Length [15:08:11]Host: 172.17.43.4:8080 [15:08:11]Content-Length: 638 [15:08:11]Content-Type: application/json [15:08:11] [15:08:11]POST finish read [15:08:11]Found Content-Length = 638 [15:08:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51680", "tax_sys" : 0, "items" : [ { "code": "4870001157913", "name": "\u0412\u043E\u0434\u0430 ASU 0,5\u043B c \u0431\u0435\u0437 \u0433\u0430\u0437\u0430", "price" : 40.00, "quantity" : 2.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:08:11]execute_script... [15:08:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51680", "tax_sys" : 0, "items" : [ { "code": "4870001157913", "name": "\u0412\u043E\u0434\u0430 ASU 0,5\u043B c \u0431\u0435\u0437 \u0433\u0430\u0437\u0430", "price" : 40.00, "quantity" : 2.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:08:11]POST & json_proto [15:08:11]process_json_proto [15:08:11]json parsed OK: [15:08:11]protocol is kg_v1.0 [15:08:11]action value=close_receipt [15:08:11]process_action close_receipt [15:08:11]cmd_close_receipt [15:08:11]MH_GetDate [15:08:11]Write to MH i2c: F0 00 00 40 03 32 [15:08:11]Write i2c OK [15:08:11]MH_I2C_Read... [15:08:11]Read from MH i2c: F0 [15:08:11]MH_I2C_Read... [15:08:11]Read from MH i2c: F0 09 00 [15:08:11]MH_I2C_Read... [15:08:11]Read from MH i2c: F0 09 00 40 03 00 5C 27 F4 66 02 BF CF 66 0E [15:08:11]GetLastDocTimeStamp 1727276798 [15:08:11]current date 1727276892 [15:08:11]FM_GetShiftState [15:08:11]SAM_PROTO_GetShiftState [15:08:11]wFMCommunicate request_size=4 [15:08:11]MH_SAM_APDU [15:08:11]CAPDU: 80 13 01 00 [15:08:11]Write to MH i2c: E2 08 00 41 03 80 13 01 00 00 00 00 00 C1 [15:08:11]Write i2c OK [15:08:11]MH_I2C_Read... [15:08:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:08:11]Read from MH i2c: E2 [15:08:11]MH_I2C_Read... [15:08:11]Read from MH i2c: E2 0E 00 [15:08:11]MH_I2C_Read... [15:08:11]Read from MH i2c: E2 0E 00 41 03 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 52 [15:08:11]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [15:08:11]wFMCommunicate OK [15:08:11]SAM_PROTO_GetShiftState done [15:08:11]FM_GetShiftState done [15:08:11]opened in 1727224020 [15:08:11]opened+sec_in_day 1727310420 [15:08:11]quantity*price = 8000 [15:08:11]sum+1 = 8001 [15:08:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 50 25.09.2024 15:08 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22477 ФПД: 262644703741484 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T150812&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22477&fm=262644703741484&tin=02508201610067®Number=0000000000146243&sum=8000 0 [15:08:12]StoreToDocumentArchive [15:08:12]shift 231 fd 22477 [15:08:12]save to /storage/0231/doc_00022477 [15:08:12]save last doc name /storage/0231/doc_00022477 to /storage/kkm_last_doc_name [15:08:12]save OK [15:08:12]Clear old archive folders... [15:08:12]ProcessDocumentItem done err = 0, tmpTLVsize=278 [15:08:12]tlvbuf is 0020F410 [15:08:12]SAM_PROTO_ClearQueue [15:08:12]wFMCommunicate request_size=4 [15:08:12]MH_SAM_APDU [15:08:12]CAPDU: 80 09 00 00 [15:08:12]Write to MH i2c: E2 08 00 4E 03 80 09 00 00 00 00 00 00 C3 [15:08:12]Write i2c OK [15:08:12]MH_I2C_Read... [15:08:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:08:12]Read from MH i2c: E2 [15:08:12]MH_I2C_Read... [15:08:12]Read from MH i2c: E2 03 00 [15:08:12]MH_I2C_Read... [15:08:12]Read from MH i2c: E2 03 00 4E 03 00 90 00 C5 [15:08:12]RAPDU: 90 00 [15:08:12]wFMCommunicate OK [15:08:12]SAM_PROTO_ClearQueue done [15:08:12]KKMCreateOFDPacket [15:08:12]OFDProtocolAddRootSTLVToBuf [15:08:12]FM_MakeSignedData [15:08:12]FM_MakeSignedData [15:08:12]SAM_PROTO_SignData [15:08:12]wFMCommunicate request_size=4 [15:08:12]MH_SAM_APDU [15:08:12]CAPDU: 80 0D 01 02 [15:08:12]Write to MH i2c: E2 08 00 4F 03 80 0D 01 02 00 00 00 00 CB [15:08:12]Write i2c OK [15:08:12]MH_I2C_Read... [15:08:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:08:12]Read from MH i2c: E2 [15:08:12]MH_I2C_Read... [15:08:12]Read from MH i2c: E2 03 00 [15:08:12]MH_I2C_Read... [15:08:12]Read from MH i2c: E2 03 00 4F 03 00 90 00 C6 [15:08:12]RAPDU: 90 00 [15:08:12]wFMCommunicate OK [15:08:12]wFMCommunicate request_size=255 [15:08:12]MH_SAM_APDU [15:08:12]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 37 39 31 33 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 30 2C 35 D0 BB 20 63 20 D0 B1 D0 B5 D0 B7 20 D0 B3 D0 B0 D0 B7 D0 B0 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 5C 27 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 [15:08:12]Write to MH i2c: E2 02 01 50 03 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 37 39 31 33 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 30 2C 35 D0 BB 20 63 20 D0 B1 D0 B5 D0 B7 20 D0 B3 D0 B0 D0 B7 D0 B0 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 5C 27 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 00 00 03 [15:08:12]Write i2c OK [15:08:12]MH_I2C_Read... [15:08:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:08:13]Read from MH i2c: E2 [15:08:13]MH_I2C_Read... [15:08:13]Read from MH i2c: E2 03 00 [15:08:13]MH_I2C_Read... [15:08:13]Read from MH i2c: E2 03 00 50 03 00 90 00 C7 [15:08:13]RAPDU: 90 00 [15:08:13]wFMCommunicate OK [15:08:13]wFMCommunicate request_size=37 [15:08:13]MH_SAM_APDU [15:08:13]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CD 57 00 00 35 04 06 00 EE DF BC 44 C6 2C [15:08:13]Write to MH i2c: E2 28 00 51 03 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CD 57 00 00 35 04 06 00 EE DF BC 44 C6 2C 00 00 0F [15:08:13]Write i2c OK [15:08:13]MH_I2C_Read... [15:08:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:08:13]Read from MH i2c: E2 [15:08:13]MH_I2C_Read... [15:08:13]Read from MH i2c: E2 03 00 [15:08:13]MH_I2C_Read... [15:08:13]Read from MH i2c: E2 03 00 51 03 00 90 00 C8 [15:08:13]RAPDU: 90 00 [15:08:13]wFMCommunicate OK [15:08:13]wFMCommunicate request_size=4 [15:08:13]MH_SAM_APDU [15:08:13]CAPDU: 80 0D 03 02 [15:08:13]Write to MH i2c: E2 08 00 52 03 80 0D 03 02 00 00 00 00 D0 [15:08:13]Write i2c OK [15:08:13]MH_I2C_Read... [15:08:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:08:13]Read from MH i2c: E2 [15:08:13]MH_I2C_Read... [15:08:13]Read from MH i2c: E2 0B 00 [15:08:13]MH_I2C_Read... [15:08:13]Read from MH i2c: E2 0B 00 52 03 00 E8 2D 88 DA C0 34 00 E8 90 00 24 [15:08:13]RAPDU: E8 2D 88 DA C0 34 00 E8 90 00 [15:08:13]wFMCommunicate OK [15:08:13]SAM_PROTO_SignData done [15:08:13]FM_MakeSignedData done [15:08:13]CreateOFDProtocolMessage [15:08:13]wFMCommunicate request_size=4 [15:08:13]MH_SAM_APDU [15:08:13]CAPDU: 80 11 00 00 [15:08:13]Write to MH i2c: E2 08 00 53 03 80 11 00 00 00 00 00 00 D0 [15:08:13]Write i2c OK [15:08:13]MH_I2C_Read... [15:08:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:08:13]Read from MH i2c: E2 [15:08:13]MH_I2C_Read... [15:08:13]Read from MH i2c: E2 17 00 [15:08:13]MH_I2C_Read... [15:08:13]Read from MH i2c: E2 17 00 53 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 2A [15:08:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [15:08:13]wFMCommunicate OK [15:08:13]CreateOFDProtocolMessage done [15:08:13]OFDSenderStorePacket 22477 [15:08:13]StoreOFDPacket docnum=22477 [15:08:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 2A 01 00 00 58 15 22 01 65 62 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 37 39 31 33 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 30 2C 35 D0 BB 20 63 20 D0 B1 D0 B5 D0 B7 20 D0 B3 D0 B0 D0 B7 D0 B0 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 5C 27 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CD 57 00 00 35 04 06 00 EE DF BC 44 C6 2C E8 2D 88 DA C0 34 00 E8 [15:08:13]CheckFolder [15:08:13]dirname=/storage/ofd_packets [15:08:13]CheckFolder done [15:08:13]ProducePacketName [15:08:13]name=ofd_packets/00022477 [15:08:13]NVStorageSaveData ofd_packets/00022477 [15:08:13]File name is /storage/ofd_packets/00022477 [15:08:13]Write 328 bytes [15:08:13]NVStorageSaveData done [15:08:13]OFDSenderStorePacket done [15:08:13]KKMCreateOFDPacket done [15:08:13]NVStorageSaveData kkm_last_timestamp [15:08:13]File name is /storage/kkm_last_timestamp [15:08:13]Write 4 bytes [15:08:13]NVStorageSaveData done [15:08:13]ExternCall_PrintAddStr [15:08:13]wPrintStart [15:08:13]Write to MH i2c: 01 00 00 54 03 57 [15:08:13]Write i2c OK [15:08:13]MH_I2C_Read... [15:08:13]Read from MH i2c: 01 [15:08:13]MH_I2C_Read... [15:08:13]Read from MH i2c: 01 07 00 [15:08:13]MH_I2C_Read... [15:08:13]Read from MH i2c: 01 07 00 54 03 00 00 00 00 00 FF 0F 6C [15:08:13]RasterBufferAndPrint [15:08:13]line Счет N : (3)51680 [15:08:13]line ИНН: 02508201610067 [15:08:13]line Контрольно-Кассовый Чек [15:08:13]line ПРОДАЖА [15:08:13]line Товар: 4870001157913 [15:08:13]line Вода ASU 0,5л c без газа [15:08:13]line 2.000 * 40.00 [15:08:13]line = 80.00 [15:08:13]line НДС 12% НСП 1% [15:08:13]line > о реализуемом товаре [15:08:13]line ИТОГО: 80.00 [15:08:13]line НСП 1% : 0.71 [15:08:13]line НДС 12% : 8.50 [15:08:13]line Наличными: 80.00 [15:08:13]line Безнал.: 0.00 [15:08:13]line Место: АЗС № 88 "Партнер Нефть" [15:08:13]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [15:08:13]line СНО: Общий режим [15:08:13]line Чек 50 25.09.2024 15:08 [15:08:13]line Смена: 231 ФФД: 1.0 [15:08:13]line ЗНМ: 0300000061 [15:08:13]line РНМ: 0000000000146243 [15:08:13]line Версия ККМ: v1.0 [15:08:13]line ФМ: 0000000000959358 [15:08:13]line ФД: 22477 [15:08:13]line ФПД: 262644703741484 [15:08:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T150812&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22477&fm=262644703741484&tin=02508201610067®Number=0000000000146243&sum=8000 [15:08:13]line 0 [15:08:13]OFD Sender: Processing packet 22477 [packets to send 23, broken 22] [15:08:13]ProducePacketName [15:08:13]name=ofd_packets/00022477 [15:08:13]OFD Sender: To server: pG, [15:08:13]CommunicateWithHost lk.salyk.kg:30040 [15:08:13]ConnectInit lk.salyk.kg [15:08:13]written 0, free lines is 4095 [15:08:14]Connected sock=11 [15:08:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 2A 01 00 00 58 15 22 01 65 62 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 37 39 31 33 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 30 2C 35 D0 BB 20 63 20 D0 B1 D0 B5 D0 B7 20 D0 B3 D0 B0 D0 B7 D0 B0 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 5C 27 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CD 57 00 00 35 04 06 00 EE DF BC 44 C6 2C E8 2D 88 DA C0 34 00 E8 [15:08:14]Write to MH i2c: 01 00 00 7C 03 7F [15:08:14]Write i2c OK [15:08:14]MH_I2C_Read... [15:08:14]Read from MH i2c: 01 [15:08:14]MH_I2C_Read... [15:08:14]Read from MH i2c: 01 07 00 [15:08:14]MH_I2C_Read... [15:08:14]Read from MH i2c: 01 07 00 7C 03 00 00 00 00 00 1A 0D AD [15:08:14]RasterBufferAndPrint [15:08:14]line [15:08:14]line [15:08:14]line [15:08:14]line [15:08:14]line [15:08:14]written 0, free lines is 3360 [15:08:14]MH_Cut [15:08:14]Write to MH i2c: D1 01 00 83 03 01 58 [15:08:14]Write i2c OK [15:08:14]MH_I2C_Read... [15:08:14]Read from MH i2c: D1 [15:08:14]MH_I2C_Read... [15:08:14]Read from MH i2c: D1 01 00 [15:08:14]MH_I2C_Read... [15:08:14]Read from MH i2c: D1 01 00 83 03 00 57 [15:08:14]Write to MH i2c: 01 00 00 84 03 87 [15:08:14]Write i2c OK [15:08:14]MH_I2C_Read... [15:08:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 C1 9A 47 00 08 56 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CD 57 00 00 F4 03 04 00 7E D1 F3 66 B6 04 01 00 00 02 59 49 2C 6E 7D A4 DF [15:08:14]CommunicateWithHost err = 0 [15:08:14]CheckOFDResponse [15:08:14]1017 (14) - 77093643461234 [15:08:14]1041 (16) - 0000000000959358 [15:08:14]1040 (4) - 22477 [15:08:14]1012 (4) - 25.09.2024 09:01 [15:08:14]1206 (1) - 0 [15:08:14]OFD Sender: Remove packet 22477 [15:08:14]ProducePacketName [15:08:14]name=ofd_packets/00022477 [15:08:14]NVStorageDeleteData [15:08:14]*** Cut start [15:08:14]*** Partial cut [15:08:14]*** CUTSNS_PIN = 1 [15:08:14]*** CUTSNS_PIN = 0 [15:08:14]OFD Sender: No OFD packet to send [15:08:14]*** Brake cut motor [15:08:15]Read from MH i2c: 01 [15:08:15]MH_I2C_Read... [15:08:15]*** Stop cut motor [15:08:15]*** Cut end [15:08:15]Read from MH i2c: 01 07 00 [15:08:15]MH_I2C_Read... [15:08:15]Read from MH i2c: 01 07 00 84 03 00 00 00 00 00 FF 0F 9C [15:08:15]process_action close_receipt done [15:08:15]requested_data is exist [15:08:15]produce_requested_data [15:08:15]requested_item fm.sn is exist - process it [15:08:15]wFMCommunicate request_size=4 [15:08:15]MH_SAM_APDU [15:08:15]CAPDU: 80 11 00 00 [15:08:15]Write to MH i2c: E2 08 00 85 03 80 11 00 00 00 00 00 00 02 [15:08:15]Write i2c OK [15:08:15]MH_I2C_Read... [15:08:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:08:15]Read from MH i2c: E2 [15:08:15]MH_I2C_Read... [15:08:15]Read from MH i2c: E2 17 00 [15:08:15]MH_I2C_Read... [15:08:15]Read from MH i2c: E2 17 00 85 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 5C [15:08:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [15:08:15]wFMCommunicate OK [15:08:15]requested_item fd.num is exist - process it [15:08:15]SAM_PROTO_GetFieldsCounters [15:08:15]wFMCommunicate request_size=4 [15:08:15]MH_SAM_APDU [15:08:15]CAPDU: 80 13 00 00 [15:08:15]Write to MH i2c: E2 08 00 86 03 80 13 00 00 00 00 00 00 05 [15:08:15]Write i2c OK [15:08:15]MH_I2C_Read... [15:08:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:08:15]Read from MH i2c: E2 [15:08:15]MH_I2C_Read... [15:08:15]Read from MH i2c: E2 62 00 [15:08:15]MH_I2C_Read... [15:08:15]Read from MH i2c: E2 62 00 86 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 CD 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 C9 [15:08:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 CD 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:08:15]wFMCommunicate OK [15:08:15]SAM_PROTO_GetFieldsCounters done [15:08:15]requested_item shift.num is exist - process it [15:08:15]requested_item shift.opened is exist - process it [15:08:15]req_shift_opened [15:08:15]FM_GetShiftState [15:08:15]SAM_PROTO_GetShiftState [15:08:15]wFMCommunicate request_size=4 [15:08:15]MH_SAM_APDU [15:08:15]CAPDU: 80 13 01 00 [15:08:15]Write to MH i2c: E2 08 00 87 03 80 13 01 00 00 00 00 00 07 [15:08:15]Write i2c OK [15:08:15]MH_I2C_Read... [15:08:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:08:15]Read from MH i2c: E2 [15:08:15]MH_I2C_Read... [15:08:15]Read from MH i2c: E2 0E 00 [15:08:15]MH_I2C_Read... [15:08:15]Read from MH i2c: E2 0E 00 87 03 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 98 [15:08:15]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [15:08:15]wFMCommunicate OK [15:08:15]SAM_PROTO_GetShiftState done [15:08:15]FM_GetShiftState done [15:08:15]req_shift_opened done [15:08:15]requested_item shift.open_date is exist - process it [15:08:15]req_shift_open_date [15:08:15]req_shift_open_date done [15:08:15]produce_requested_data done [15:08:15]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22477,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [15:08:15]process_action_free close_receipt [15:08:15]json_value_free [15:08:15]json_value_free done [15:08:15]process_json_proto returns [15:08:15]Send response to host [15:08:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22477,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [15:08:15]free response buf [15:08:15]execute_script done [15:08:15]execute_script returns [15:08:15]free content buf [15:08:15]Sock 7.Close socket [15:08:15]Sock 7.Thread stoped [15:08:19]OFD Sender: No OFD packet to send [15:08:21]accept exits with 9 [15:08:21]New connection [15:08:21]New thread 3067440484 created [15:08:21]Thread 3067583844 joined [15:08:21]Waiting for new connection... [15:08:21] Sock 9.Parse request [15:08:21]Sock 9.Check first char [15:08:21]Sock 9.First char is OK [15:08:21]request: POST /json_proto HTTP/1.0 [15:08:21]Method: POST [15:08:21]URL: /json_proto [15:08:21]Method is POST - this is cgi request [15:08:21]url: /json_proto [15:08:21]query_string will be loaded in cgi processing [15:08:21]execute_cgi json_proto POST (null) [15:08:21]execute_cgi path=json_proto method=POST [15:08:21]POST find Content-Length [15:08:21]Host: 172.17.43.4:8080 [15:08:21]Content-Length: 871 [15:08:21]Content-Type: application/json [15:08:21] [15:08:21]POST finish read [15:08:21]Found Content-Length = 871 [15:08:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51681", "tax_sys" : 0, "items" : [ { "code": "4601025118761", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0440\u0443\u0442\u043C\u043E\u0442\u0438\u0432 \u0442\u0440\u043E\u043F\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043C\u0438\u043A\u0441 0,9", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:08:21]execute_script... [15:08:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51681", "tax_sys" : 0, "items" : [ { "code": "4601025118761", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0440\u0443\u0442\u043C\u043E\u0442\u0438\u0432 \u0442\u0440\u043E\u043F\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043C\u0438\u043A\u0441 0,9", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:08:21]POST & json_proto [15:08:21]process_json_proto [15:08:21]json parsed OK: [15:08:21]protocol is kg_v1.0 [15:08:21]action value=close_receipt [15:08:21]process_action close_receipt [15:08:21]cmd_close_receipt [15:08:21]MH_GetDate [15:08:21]Write to MH i2c: F0 00 00 88 03 7A [15:08:21]Write i2c OK [15:08:21]MH_I2C_Read... [15:08:21]Read from MH i2c: F0 [15:08:21]MH_I2C_Read... [15:08:21]Read from MH i2c: F0 09 00 [15:08:21]MH_I2C_Read... [15:08:21]Read from MH i2c: F0 09 00 88 03 00 66 27 F4 66 02 BF CF 66 60 [15:08:21]GetLastDocTimeStamp 1727276892 [15:08:21]current date 1727276902 [15:08:21]FM_GetShiftState [15:08:21]SAM_PROTO_GetShiftState [15:08:21]wFMCommunicate request_size=4 [15:08:21]MH_SAM_APDU [15:08:21]CAPDU: 80 13 01 00 [15:08:21]Write to MH i2c: E2 08 00 89 03 80 13 01 00 00 00 00 00 09 [15:08:21]Write i2c OK [15:08:21]MH_I2C_Read... [15:08:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:08:21]Read from MH i2c: E2 [15:08:21]MH_I2C_Read... [15:08:21]Read from MH i2c: E2 0E 00 [15:08:21]MH_I2C_Read... [15:08:21]Read from MH i2c: E2 0E 00 89 03 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 9A [15:08:21]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [15:08:21]wFMCommunicate OK [15:08:21]SAM_PROTO_GetShiftState done [15:08:21]FM_GetShiftState done [15:08:21]opened in 1727224020 [15:08:21]opened+sec_in_day 1727310420 [15:08:21]quantity*price = 0 [15:08:21]sum+1 = 1 [15:08:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 51 25.09.2024 15:08 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000959358 ФД: 22478 ФПД: 107043961982579 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T150822&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22478&fm=107043961982579&tin=02508201610067®Number=0000000000146243&sum=0 0 [15:08:22]StoreToDocumentArchive [15:08:22]shift 231 fd 22478 [15:08:22]save to /storage/0231/doc_00022478 [15:08:22]save last doc name /storage/0231/doc_00022478 to /storage/kkm_last_doc_name [15:08:22]save OK [15:08:22]Clear old archive folders... [15:08:22]ProcessDocumentItem done err = 0, tmpTLVsize=311 [15:08:22]tlvbuf is 00200020 [15:08:22]SAM_PROTO_ClearQueue [15:08:22]wFMCommunicate request_size=4 [15:08:22]MH_SAM_APDU [15:08:22]CAPDU: 80 09 00 00 [15:08:22]Write to MH i2c: E2 08 00 96 03 80 09 00 00 00 00 00 00 0B [15:08:22]Write i2c OK [15:08:22]MH_I2C_Read... [15:08:22]Read from MH i2c: E2 [15:08:22]MH_I2C_Read... [15:08:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:08:22]Read from MH i2c: E2 03 00 [15:08:22]MH_I2C_Read... [15:08:22]Read from MH i2c: E2 03 00 96 03 00 90 00 0D [15:08:22]RAPDU: 90 00 [15:08:22]wFMCommunicate OK [15:08:22]SAM_PROTO_ClearQueue done [15:08:22]KKMCreateOFDPacket [15:08:22]OFDProtocolAddRootSTLVToBuf [15:08:22]FM_MakeSignedData [15:08:22]FM_MakeSignedData [15:08:22]SAM_PROTO_SignData [15:08:22]wFMCommunicate request_size=4 [15:08:22]MH_SAM_APDU [15:08:22]CAPDU: 80 0D 01 02 [15:08:22]Write to MH i2c: E2 08 00 97 03 80 0D 01 02 00 00 00 00 13 [15:08:22]Write i2c OK [15:08:22]MH_I2C_Read... [15:08:22]Read from MH i2c: E2 [15:08:22]MH_I2C_Read... [15:08:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:08:22]Read from MH i2c: E2 03 00 [15:08:22]MH_I2C_Read... [15:08:22]Read from MH i2c: E2 03 00 97 03 00 90 00 0E [15:08:22]RAPDU: 90 00 [15:08:22]wFMCommunicate OK [15:08:22]wFMCommunicate request_size=255 [15:08:22]MH_SAM_APDU [15:08:22]CAPDU: 80 0D 02 02 FA 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 38 37 36 31 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D1 82 D1 80 D0 BE D0 BF D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BC D0 B8 D0 BA D1 81 20 30 2C 39 FF 03 08 00 03 E8 03 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 33 00 00 00 F4 03 04 00 66 27 F4 66 0E 04 04 00 E7 00 [15:08:22]Write to MH i2c: E2 02 01 98 03 80 0D 02 02 FA 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 38 37 36 31 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D1 82 D1 80 D0 BE D0 BF D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BC D0 B8 D0 BA D1 81 20 30 2C 39 FF 03 08 00 03 E8 03 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 33 00 00 00 F4 03 04 00 66 27 F4 66 0E 04 04 00 E7 00 00 00 BF [15:08:22]Write i2c OK [15:08:22]MH_I2C_Read... [15:08:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:08:22]Read from MH i2c: E2 [15:08:22]MH_I2C_Read... [15:08:22]Read from MH i2c: E2 03 00 [15:08:22]MH_I2C_Read... [15:08:22]Read from MH i2c: E2 03 00 98 03 00 90 00 0F [15:08:22]RAPDU: 90 00 [15:08:22]wFMCommunicate OK [15:08:22]wFMCommunicate request_size=70 [15:08:22]MH_SAM_APDU [15:08:22]CAPDU: 80 0D 02 02 41 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CE 57 00 00 35 04 06 00 61 5B 1D 54 4E 73 [15:08:22]Write to MH i2c: E2 49 00 99 03 80 0D 02 02 41 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CE 57 00 00 35 04 06 00 61 5B 1D 54 4E 73 00 00 42 [15:08:23]Write i2c OK [15:08:23]MH_I2C_Read... [15:08:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:08:23]Read from MH i2c: E2 [15:08:23]MH_I2C_Read... [15:08:23]Read from MH i2c: E2 03 00 [15:08:23]MH_I2C_Read... [15:08:23]Read from MH i2c: E2 03 00 99 03 00 90 00 10 [15:08:23]RAPDU: 90 00 [15:08:23]wFMCommunicate OK [15:08:23]wFMCommunicate request_size=4 [15:08:23]MH_SAM_APDU [15:08:23]CAPDU: 80 0D 03 02 [15:08:23]Write to MH i2c: E2 08 00 9A 03 80 0D 03 02 00 00 00 00 18 [15:08:23]Write i2c OK [15:08:23]MH_I2C_Read... [15:08:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:08:23]Read from MH i2c: E2 [15:08:23]MH_I2C_Read... [15:08:23]Read from MH i2c: E2 0B 00 [15:08:23]MH_I2C_Read... [15:08:23]Read from MH i2c: E2 0B 00 9A 03 00 57 C8 91 69 21 DA 35 3C 90 00 9E [15:08:23]RAPDU: 57 C8 91 69 21 DA 35 3C 90 00 [15:08:23]wFMCommunicate OK [15:08:23]SAM_PROTO_SignData done [15:08:23]FM_MakeSignedData done [15:08:23]CreateOFDProtocolMessage [15:08:23]wFMCommunicate request_size=4 [15:08:23]MH_SAM_APDU [15:08:23]CAPDU: 80 11 00 00 [15:08:23]Write to MH i2c: E2 08 00 9B 03 80 11 00 00 00 00 00 00 18 [15:08:23]Write i2c OK [15:08:23]MH_I2C_Read... [15:08:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:08:23]Read from MH i2c: E2 [15:08:23]MH_I2C_Read... [15:08:23]Read from MH i2c: E2 17 00 [15:08:23]MH_I2C_Read... [15:08:23]Read from MH i2c: E2 17 00 9B 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 72 [15:08:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [15:08:23]wFMCommunicate OK [15:08:23]CreateOFDProtocolMessage done [15:08:23]OFDSenderStorePacket 22478 [15:08:23]StoreOFDPacket docnum=22478 [15:08:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4B 01 00 00 37 5A 43 01 E0 10 5A 03 01 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 38 37 36 31 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D1 82 D1 80 D0 BE D0 BF D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BC D0 B8 D0 BA D1 81 20 30 2C 39 FF 03 08 00 03 E8 03 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 33 00 00 00 F4 03 04 00 66 27 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CE 57 00 00 35 04 06 00 61 5B 1D 54 4E 73 57 C8 91 69 21 DA 35 3C [15:08:23]CheckFolder [15:08:23]dirname=/storage/ofd_packets [15:08:23]CheckFolder done [15:08:23]ProducePacketName [15:08:23]name=ofd_packets/00022478 [15:08:23]NVStorageSaveData ofd_packets/00022478 [15:08:23]File name is /storage/ofd_packets/00022478 [15:08:23]Write 361 bytes [15:08:23]NVStorageSaveData done [15:08:23]OFDSenderStorePacket done [15:08:23]KKMCreateOFDPacket done [15:08:23]NVStorageSaveData kkm_last_timestamp [15:08:23]File name is /storage/kkm_last_timestamp [15:08:23]Write 4 bytes [15:08:23]NVStorageSaveData done [15:08:23]ExternCall_PrintAddStr [15:08:23]wPrintStart [15:08:23]Write to MH i2c: 01 00 00 9C 03 9F [15:08:23]Write i2c OK [15:08:23]MH_I2C_Read... [15:08:23]Read from MH i2c: 01 [15:08:23]MH_I2C_Read... [15:08:23]Read from MH i2c: 01 07 00 [15:08:23]MH_I2C_Read... [15:08:23]Read from MH i2c: 01 07 00 9C 03 00 00 00 00 00 FF 0F B4 [15:08:23]RasterBufferAndPrint [15:08:23]line Счет N : (3)51681 [15:08:23]line ИНН: 02508201610067 [15:08:23]line Контрольно-Кассовый Чек [15:08:23]line ПРОДАЖА [15:08:23]line Товар: 4601025118761 [15:08:23]line Напиток Фрутмотив тропический микс 0,9 [15:08:23]line 1.000 * 0.00 [15:08:23]line = 0.00 [15:08:23]line НДС 12% НСП 1% [15:08:23]line > о реализуемом товаре [15:08:23]line ИТОГО: 0.00 [15:08:23]line НСП 1% : 0.00 [15:08:23]line НДС 12% : 0.00 [15:08:23]line Наличными: 0.00 [15:08:23]line Безнал.: 0.00 [15:08:23]line Место: АЗС № 88 "Партнер Нефть" [15:08:23]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [15:08:23]line СНО: Общий режим [15:08:23]line Чек 51 25.09.2024 15:08 [15:08:23]line Смена: 231 ФФД: 1.0 [15:08:23]line ЗНМ: 0300000061 [15:08:23]line РНМ: 0000000000146243 [15:08:23]line Версия ККМ: v1.0 [15:08:23]line Платежная система: Mbank [15:08:23]line ФМ: 0000000000959358 [15:08:23]line ФД: 22478 [15:08:23]line ФПД: 107043961982579 [15:08:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T150822&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22478&fm=107043961982579&tin=02508201610067®Number=0000000000146243&sum=0 [15:08:23]line 0 [15:08:23]written 0, free lines is 4095 [15:08:23]OFD Sender: Processing packet 22478 [packets to send 23, broken 22] [15:08:23]ProducePacketName [15:08:23]name=ofd_packets/00022478 [15:08:23]OFD Sender: To server: pG, [15:08:23]CommunicateWithHost lk.salyk.kg:30040 [15:08:23]ConnectInit lk.salyk.kg [15:08:23]Connected sock=10 [15:08:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4B 01 00 00 37 5A 43 01 E0 10 5A 03 01 00 03 00 37 01 1E 04 01 00 01 23 04 89 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 38 37 36 31 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D1 82 D1 80 D0 BE D0 BF D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 D0 BC D0 B8 D0 BA D1 81 20 30 2C 39 FF 03 08 00 03 E8 03 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 33 00 00 00 F4 03 04 00 66 27 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CE 57 00 00 35 04 06 00 61 5B 1D 54 4E 73 57 C8 91 69 21 DA 35 3C [15:08:23]Write to MH i2c: 01 00 00 C6 03 C9 [15:08:23]Write i2c OK [15:08:23]MH_I2C_Read... [15:08:23]Read from MH i2c: 01 [15:08:23]MH_I2C_Read... [15:08:23]Read from MH i2c: 01 07 00 [15:08:23]MH_I2C_Read... [15:08:23]Read from MH i2c: 01 07 00 C6 03 00 00 00 00 00 0E 0D EB [15:08:23]RasterBufferAndPrint [15:08:23]line [15:08:23]line [15:08:23]line [15:08:23]line [15:08:23]line [15:08:23]written 0, free lines is 3351 [15:08:23]MH_Cut [15:08:23]Write to MH i2c: D1 01 00 CD 03 01 A2 [15:08:23]Write i2c OK [15:08:23]MH_I2C_Read... [15:08:23]Read from MH i2c: D1 [15:08:23]MH_I2C_Read... [15:08:23]Read from MH i2c: D1 01 00 [15:08:23]MH_I2C_Read... [15:08:23]Read from MH i2c: D1 01 00 CD 03 00 A1 [15:08:23]Write to MH i2c: 01 00 00 CE 03 D1 [15:08:23]Write i2c OK [15:08:23]MH_I2C_Read... [15:08:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 9C DA 47 00 89 7D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CE 57 00 00 F4 03 04 00 88 D1 F3 66 B6 04 01 00 00 79 2C 48 25 4D 07 6F CC [15:08:23]CommunicateWithHost err = 0 [15:08:23]CheckOFDResponse [15:08:23]1017 (14) - 77093643461234 [15:08:23]1041 (16) - 0000000000959358 [15:08:23]1040 (4) - 22478 [15:08:23]1012 (4) - 25.09.2024 09:02 [15:08:23]1206 (1) - 0 [15:08:23]OFD Sender: Remove packet 22478 [15:08:23]ProducePacketName [15:08:23]name=ofd_packets/00022478 [15:08:23]NVStorageDeleteData [15:08:24]OFD Sender: No OFD packet to send [15:08:24]*** Cut start [15:08:24]*** Partial cut [15:08:24]*** CUTSNS_PIN = 1 [15:08:24]*** CUTSNS_PIN = 0 [15:08:24]*** Brake cut motor [15:08:24]Read from MH i2c: 01 [15:08:24]MH_I2C_Read... [15:08:24]*** Stop cut motor [15:08:24]*** Cut end [15:08:24]Read from MH i2c: 01 07 00 [15:08:24]MH_I2C_Read... [15:08:24]Read from MH i2c: 01 07 00 CE 03 00 00 00 00 00 FF 0F E6 [15:08:24]process_action close_receipt done [15:08:24]requested_data is exist [15:08:24]produce_requested_data [15:08:24]requested_item fm.sn is exist - process it [15:08:24]wFMCommunicate request_size=4 [15:08:24]MH_SAM_APDU [15:08:24]CAPDU: 80 11 00 00 [15:08:24]Write to MH i2c: E2 08 00 CF 03 80 11 00 00 00 00 00 00 4C [15:08:24]Write i2c OK [15:08:24]MH_I2C_Read... [15:08:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:08:24]Read from MH i2c: E2 [15:08:24]MH_I2C_Read... [15:08:24]Read from MH i2c: E2 17 00 [15:08:24]MH_I2C_Read... [15:08:24]Read from MH i2c: E2 17 00 CF 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 A6 [15:08:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [15:08:24]wFMCommunicate OK [15:08:24]requested_item fd.num is exist - process it [15:08:24]SAM_PROTO_GetFieldsCounters [15:08:24]wFMCommunicate request_size=4 [15:08:24]MH_SAM_APDU [15:08:24]CAPDU: 80 13 00 00 [15:08:24]Write to MH i2c: E2 08 00 D0 03 80 13 00 00 00 00 00 00 4F [15:08:24]Write i2c OK [15:08:24]MH_I2C_Read... [15:08:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:08:25]Read from MH i2c: E2 [15:08:25]MH_I2C_Read... [15:08:25]Read from MH i2c: E2 62 00 [15:08:25]MH_I2C_Read... [15:08:25]Read from MH i2c: E2 62 00 D0 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 CE 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 17 [15:08:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 CE 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:08:25]wFMCommunicate OK [15:08:25]SAM_PROTO_GetFieldsCounters done [15:08:25]requested_item shift.num is exist - process it [15:08:25]requested_item shift.opened is exist - process it [15:08:25]req_shift_opened [15:08:25]FM_GetShiftState [15:08:25]SAM_PROTO_GetShiftState [15:08:25]wFMCommunicate request_size=4 [15:08:25]MH_SAM_APDU [15:08:25]CAPDU: 80 13 01 00 [15:08:25]Write to MH i2c: E2 08 00 D1 03 80 13 01 00 00 00 00 00 51 [15:08:25]Write i2c OK [15:08:25]MH_I2C_Read... [15:08:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:08:25]Read from MH i2c: E2 [15:08:25]MH_I2C_Read... [15:08:25]Read from MH i2c: E2 0E 00 [15:08:25]MH_I2C_Read... [15:08:25]Read from MH i2c: E2 0E 00 D1 03 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 E2 [15:08:25]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [15:08:25]wFMCommunicate OK [15:08:25]SAM_PROTO_GetShiftState done [15:08:25]FM_GetShiftState done [15:08:25]req_shift_opened done [15:08:25]requested_item shift.open_date is exist - process it [15:08:25]req_shift_open_date [15:08:25]req_shift_open_date done [15:08:25]produce_requested_data done [15:08:25]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22478,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [15:08:25]process_action_free close_receipt [15:08:25]json_value_free [15:08:25]json_value_free done [15:08:25]process_json_proto returns [15:08:25]Send response to host [15:08:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22478,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [15:08:25]free response buf [15:08:25]execute_script done [15:08:25]execute_script returns [15:08:25]free content buf [15:08:25]Sock 9.Close socket [15:08:25]Sock 9.Thread stoped [15:08:29]OFD Sender: No OFD packet to send [15:08:34]OFD Sender: No OFD packet to send [15:08:39]OFD Sender: No OFD packet to send [15:08:44]OFD Sender: No OFD packet to send [15:08:49]OFD Sender: No OFD packet to send [15:08:54]OFD Sender: No OFD packet to send [15:08:59]OFD Sender: No OFD packet to send [15:09:04]OFD Sender: No OFD packet to send [15:09:09]OFD Sender: No OFD packet to send [15:09:14]OFD Sender: No OFD packet to send [15:09:19]OFD Sender: No OFD packet to send [15:09:24]OFD Sender: No OFD packet to send [15:09:29]OFD Sender: No OFD packet to send [15:09:34]OFD Sender: No OFD packet to send [15:09:39]OFD Sender: No OFD packet to send [15:09:44]OFD Sender: No OFD packet to send [15:09:49]OFD Sender: No OFD packet to send [15:09:54]OFD Sender: No OFD packet to send [15:09:59]OFD Sender: No OFD packet to send [15:10:04]OFD Sender: No OFD packet to send [15:10:09]OFD Sender: No OFD packet to send [15:10:14]OFD Sender: No OFD packet to send [15:10:19]OFD Sender: No OFD packet to send [15:10:24]OFD Sender: No OFD packet to send [15:10:29]OFD Sender: No OFD packet to send [15:10:34]OFD Sender: No OFD packet to send [15:10:39]OFD Sender: No OFD packet to send [15:10:44]OFD Sender: No OFD packet to send [15:10:49]OFD Sender: No OFD packet to send [15:10:54]OFD Sender: No OFD packet to send [15:10:59]OFD Sender: No OFD packet to send [15:11:04]OFD Sender: No OFD packet to send [15:11:09]OFD Sender: No OFD packet to send [15:11:14]OFD Sender: No OFD packet to send [15:11:19]OFD Sender: No OFD packet to send [15:11:24]OFD Sender: No OFD packet to send [15:11:29]OFD Sender: No OFD packet to send [15:11:34]OFD Sender: No OFD packet to send [15:11:39]OFD Sender: No OFD packet to send [15:11:44]OFD Sender: No OFD packet to send [15:11:49]OFD Sender: No OFD packet to send [15:11:54]OFD Sender: No OFD packet to send [15:11:59]OFD Sender: No OFD packet to send [15:12:04]OFD Sender: No OFD packet to send [15:12:09]OFD Sender: No OFD packet to send [15:12:14]OFD Sender: No OFD packet to send [15:12:19]OFD Sender: No OFD packet to send [15:12:24]OFD Sender: No OFD packet to send [15:12:29]OFD Sender: No OFD packet to send [15:12:34]OFD Sender: No OFD packet to send [15:12:39]OFD Sender: No OFD packet to send [15:12:44]OFD Sender: No OFD packet to send [15:12:49]OFD Sender: No OFD packet to send [15:12:54]OFD Sender: No OFD packet to send [15:12:59]OFD Sender: No OFD packet to send [15:13:04]OFD Sender: No OFD packet to send [15:13:09]OFD Sender: No OFD packet to send [15:13:14]OFD Sender: No OFD packet to send [15:13:19]OFD Sender: No OFD packet to send [15:13:24]OFD Sender: No OFD packet to send [15:13:29]OFD Sender: No OFD packet to send [15:13:34]OFD Sender: No OFD packet to send [15:13:39]OFD Sender: No OFD packet to send [15:13:44]OFD Sender: No OFD packet to send [15:13:49]OFD Sender: No OFD packet to send [15:13:54]OFD Sender: No OFD packet to send [15:13:59]OFD Sender: No OFD packet to send [15:14:04]OFD Sender: No OFD packet to send [15:14:09]OFD Sender: No OFD packet to send [15:14:14]OFD Sender: No OFD packet to send [15:14:19]OFD Sender: No OFD packet to send [15:14:24]OFD Sender: No OFD packet to send [15:14:29]OFD Sender: No OFD packet to send [15:14:34]OFD Sender: No OFD packet to send [15:14:39]OFD Sender: No OFD packet to send [15:14:44]OFD Sender: No OFD packet to send [15:14:49]OFD Sender: No OFD packet to send [15:14:54]OFD Sender: No OFD packet to send [15:14:59]OFD Sender: No OFD packet to send [15:15:04]OFD Sender: No OFD packet to send [15:15:09]OFD Sender: No OFD packet to send [15:15:14]OFD Sender: No OFD packet to send [15:15:19]OFD Sender: No OFD packet to send [15:15:24]OFD Sender: No OFD packet to send [15:15:29]OFD Sender: No OFD packet to send [15:15:34]OFD Sender: No OFD packet to send [15:15:39]OFD Sender: No OFD packet to send [15:15:44]OFD Sender: No OFD packet to send [15:15:49]OFD Sender: No OFD packet to send [15:15:54]OFD Sender: No OFD packet to send [15:15:59]OFD Sender: No OFD packet to send [15:16:04]OFD Sender: No OFD packet to send [15:16:09]OFD Sender: No OFD packet to send [15:16:14]OFD Sender: No OFD packet to send [15:16:19]OFD Sender: No OFD packet to send [15:16:24]OFD Sender: No OFD packet to send [15:16:29]OFD Sender: No OFD packet to send [15:16:34]OFD Sender: No OFD packet to send [15:16:39]OFD Sender: No OFD packet to send [15:16:44]OFD Sender: No OFD packet to send [15:16:49]OFD Sender: No OFD packet to send [15:16:54]OFD Sender: No OFD packet to send [15:16:59]OFD Sender: No OFD packet to send [15:17:04]OFD Sender: No OFD packet to send [15:17:09]OFD Sender: No OFD packet to send [15:17:14]OFD Sender: No OFD packet to send [15:17:19]OFD Sender: No OFD packet to send [15:17:24]OFD Sender: No OFD packet to send [15:17:29]OFD Sender: No OFD packet to send [15:17:34]OFD Sender: No OFD packet to send [15:17:39]OFD Sender: No OFD packet to send [15:17:44]OFD Sender: No OFD packet to send [15:17:49]OFD Sender: No OFD packet to send [15:17:54]OFD Sender: No OFD packet to send [15:17:59]OFD Sender: No OFD packet to send [15:18:04]OFD Sender: No OFD packet to send [15:18:09]OFD Sender: No OFD packet to send [15:18:14]OFD Sender: No OFD packet to send [15:18:19]OFD Sender: No OFD packet to send [15:18:24]OFD Sender: No OFD packet to send [15:18:29]OFD Sender: No OFD packet to send [15:18:34]OFD Sender: No OFD packet to send [15:18:39]OFD Sender: No OFD packet to send [15:18:44]OFD Sender: No OFD packet to send [15:18:49]OFD Sender: No OFD packet to send [15:18:54]OFD Sender: No OFD packet to send [15:18:59]OFD Sender: No OFD packet to send [15:19:04]OFD Sender: No OFD packet to send [15:19:09]OFD Sender: No OFD packet to send [15:19:14]OFD Sender: No OFD packet to send [15:19:19]OFD Sender: No OFD packet to send [15:19:24]OFD Sender: No OFD packet to send [15:19:29]OFD Sender: No OFD packet to send [15:19:34]OFD Sender: No OFD packet to send [15:19:39]OFD Sender: No OFD packet to send [15:19:44]OFD Sender: No OFD packet to send [15:19:49]OFD Sender: No OFD packet to send [15:19:54]OFD Sender: No OFD packet to send [15:19:59]OFD Sender: No OFD packet to send [15:20:04]OFD Sender: No OFD packet to send [15:20:09]OFD Sender: No OFD packet to send [15:20:14]OFD Sender: No OFD packet to send [15:20:19]OFD Sender: No OFD packet to send [15:20:24]OFD Sender: No OFD packet to send [15:20:29]OFD Sender: No OFD packet to send [15:20:34]OFD Sender: No OFD packet to send [15:20:39]OFD Sender: No OFD packet to send [15:20:44]OFD Sender: No OFD packet to send [15:20:49]OFD Sender: No OFD packet to send [15:20:54]OFD Sender: No OFD packet to send [15:20:59]OFD Sender: No OFD packet to send [15:21:04]OFD Sender: No OFD packet to send [15:21:09]OFD Sender: No OFD packet to send [15:21:14]OFD Sender: No OFD packet to send [15:21:19]OFD Sender: No OFD packet to send [15:21:24]OFD Sender: No OFD packet to send [15:21:29]OFD Sender: No OFD packet to send [15:21:34]OFD Sender: No OFD packet to send [15:21:39]OFD Sender: No OFD packet to send [15:21:44]OFD Sender: No OFD packet to send [15:21:49]OFD Sender: No OFD packet to send [15:21:54]OFD Sender: No OFD packet to send [15:21:59]OFD Sender: No OFD packet to send [15:22:02]accept exits with 7 [15:22:02]New connection [15:22:02]New thread 3067583844 created [15:22:02]Thread 3067440484 joined [15:22:02]Waiting for new connection... [15:22:02] Sock 7.Parse request [15:22:02]Sock 7.Check first char [15:22:02]Sock 7.First char is OK [15:22:02]request: POST /json_proto HTTP/1.0 [15:22:02]Method: POST [15:22:02]URL: /json_proto [15:22:02]Method is POST - this is cgi request [15:22:02]url: /json_proto [15:22:02]query_string will be loaded in cgi processing [15:22:02]execute_cgi json_proto POST (null) [15:22:02]execute_cgi path=json_proto method=POST [15:22:02]POST find Content-Length [15:22:02]Host: 172.17.43.4:8080 [15:22:02]Content-Length: 2283 [15:22:02]Content-Type: application/json [15:22:02] [15:22:02]POST finish read [15:22:02]Found Content-Length = 2283 [15:22:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51682", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "47803152", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Revo", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 156.00, "quantity" : 2.000, "sum" : 312.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4780014240406", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Sovereign Blue", "price" : 134.00, "quantity" : 3.000, "sum" : 402.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000039440011", "name": "\u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 200 \u043C\u043B", "price" : 40.00, "quantity" : 8.000, "sum" : 320.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1786.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:22:02]execute_script... [15:22:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51682", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "47803152", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Revo", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 156.00, "quantity" : 2.000, "sum" : 312.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4780014240406", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Sovereign Blue", "price" : 134.00, "quantity" : 3.000, "sum" : 402.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000039440011", "name": "\u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 200 \u043C\u043B", "price" : 40.00, "quantity" : 8.000, "sum" : 320.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1786.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:22:03]POST & json_proto [15:22:03]process_json_proto [15:22:03]json parsed OK: [15:22:03]protocol is kg_v1.0 [15:22:03]action value=close_receipt [15:22:03]process_action close_receipt [15:22:03]cmd_close_receipt [15:22:03]MH_GetDate [15:22:03]Write to MH i2c: F0 00 00 D2 03 C4 [15:22:03]Write i2c OK [15:22:03]MH_I2C_Read... [15:22:03]Read from MH i2c: F0 [15:22:03]MH_I2C_Read... [15:22:03]Read from MH i2c: F0 09 00 [15:22:03]MH_I2C_Read... [15:22:03]Read from MH i2c: F0 09 00 D2 03 00 9B 2A F4 66 02 BF CF 66 E2 [15:22:03]GetLastDocTimeStamp 1727276902 [15:22:03]current date 1727277723 [15:22:03]FM_GetShiftState [15:22:03]SAM_PROTO_GetShiftState [15:22:03]wFMCommunicate request_size=4 [15:22:03]MH_SAM_APDU [15:22:03]CAPDU: 80 13 01 00 [15:22:03]Write to MH i2c: E2 08 00 D3 03 80 13 01 00 00 00 00 00 53 [15:22:03]Write i2c OK [15:22:03]MH_I2C_Read... [15:22:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:22:03]Read from MH i2c: E2 [15:22:03]MH_I2C_Read... [15:22:03]Read from MH i2c: E2 0E 00 [15:22:03]MH_I2C_Read... [15:22:03]Read from MH i2c: E2 0E 00 D3 03 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 E4 [15:22:03]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [15:22:03]wFMCommunicate OK [15:22:03]SAM_PROTO_GetShiftState done [15:22:03]FM_GetShiftState done [15:22:03]opened in 1727224020 [15:22:03]opened+sec_in_day 1727310420 [15:22:03]quantity*price = 15000 [15:22:03]sum+1 = 15001 [15:22:03]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4640030091645 Сигареты ESSE Exchange M 1.000 * 150.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 47803152 Сигареты Mevius Revo 1.000 * 159.00 = 159.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48742245 Сигареты Parliament Silver Blue 2.000 * 156.00 = 312.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46230614 Сигареты Richmond Red Edition 1.000 * 154.00 = 154.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4780014240406 Сигареты Sovereign Blue 3.000 * 134.00 = 402.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48745000 Сигареты Winston Purple Mix 1.000 * 139.00 = 139.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000039440011 Чай черный 200 мл 8.000 * 40.00 = 320.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 1786.00 НСП 1% : 15.81 НДС 12% : 189.65 Наличными: 1786.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 52 25.09.2024 15:22 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22479 ФПД: 202644265310748 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T152203&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22479&fm=202644265310748&tin=02508201610067®Number=0000000000146243&sum=178600 0 [15:22:04]StoreToDocumentArchive [15:22:04]shift 231 fd 22479 [15:22:04]save to /storage/0231/doc_00022479 [15:22:04]save last doc name /storage/0231/doc_00022479 to /storage/kkm_last_doc_name [15:22:04]save OK [15:22:04]Clear old archive folders... [15:22:04]ProcessDocumentItem done err = 0, tmpTLVsize=986 [15:22:04]tlvbuf is 00245A40 [15:22:04]SAM_PROTO_ClearQueue [15:22:04]wFMCommunicate request_size=4 [15:22:04]MH_SAM_APDU [15:22:04]CAPDU: 80 09 00 00 [15:22:04]Write to MH i2c: E2 08 00 E0 03 80 09 00 00 00 00 00 00 55 [15:22:04]Write i2c OK [15:22:04]MH_I2C_Read... [15:22:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:22:04]Read from MH i2c: E2 [15:22:04]MH_I2C_Read... [15:22:04]Read from MH i2c: E2 03 00 [15:22:04]MH_I2C_Read... [15:22:04]Read from MH i2c: E2 03 00 E0 03 00 90 00 57 [15:22:04]RAPDU: 90 00 [15:22:04]wFMCommunicate OK [15:22:04]SAM_PROTO_ClearQueue done [15:22:04]KKMCreateOFDPacket [15:22:04]OFDProtocolAddRootSTLVToBuf [15:22:04]FM_MakeSignedData [15:22:04]FM_MakeSignedData [15:22:04]SAM_PROTO_SignData [15:22:04]wFMCommunicate request_size=4 [15:22:04]MH_SAM_APDU [15:22:04]CAPDU: 80 0D 01 02 [15:22:04]Write to MH i2c: E2 08 00 E1 03 80 0D 01 02 00 00 00 00 5D [15:22:04]Write i2c OK [15:22:04]MH_I2C_Read... [15:22:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:22:04]Read from MH i2c: E2 [15:22:04]MH_I2C_Read... [15:22:04]Read from MH i2c: E2 03 00 [15:22:04]MH_I2C_Read... [15:22:04]Read from MH i2c: E2 03 00 E1 03 00 90 00 58 [15:22:04]RAPDU: 90 00 [15:22:04]wFMCommunicate OK [15:22:04]wFMCommunicate request_size=255 [15:22:04]MH_SAM_APDU [15:22:04]CAPDU: 80 0D 02 02 FA 03 00 DA 03 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 [15:22:04]Write to MH i2c: E2 02 01 E2 03 80 0D 02 02 FA 00 03 00 DA 03 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 00 00 E9 [15:22:04]Write i2c OK [15:22:04]MH_I2C_Read... [15:22:04]OFD Sender: No OFD packet to send [15:22:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:22:05]Read from MH i2c: E2 [15:22:05]MH_I2C_Read... [15:22:05]Read from MH i2c: E2 03 00 [15:22:05]MH_I2C_Read... [15:22:05]Read from MH i2c: E2 03 00 E2 03 00 90 00 59 [15:22:05]RAPDU: 90 00 [15:22:05]wFMCommunicate OK [15:22:05]wFMCommunicate request_size=255 [15:22:05]MH_SAM_APDU [15:22:05]CAPDU: 80 0D 02 02 FA 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 E0 79 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 [15:22:05]Write to MH i2c: E2 02 01 E3 03 80 0D 02 02 FA 00 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 E0 79 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 00 00 19 [15:22:05]Write i2c OK [15:22:05]MH_I2C_Read... [15:22:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:22:05]Read from MH i2c: E2 [15:22:05]MH_I2C_Read... [15:22:05]Read from MH i2c: E2 03 00 [15:22:05]MH_I2C_Read... [15:22:05]Read from MH i2c: E2 03 00 E3 03 00 90 00 5A [15:22:05]RAPDU: 90 00 [15:22:05]wFMCommunicate OK [15:22:05]wFMCommunicate request_size=255 [15:22:05]MH_SAM_APDU [15:22:05]CAPDU: 80 0D 02 02 FA 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 08 9D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 30 30 31 31 06 04 1C 00 [15:22:05]Write to MH i2c: E2 02 01 E4 03 80 0D 02 02 FA 00 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 08 9D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 30 30 31 31 06 04 1C 00 00 00 79 [15:22:05]Write i2c OK [15:22:05]MH_I2C_Read... [15:22:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:22:05]Read from MH i2c: E2 [15:22:05]MH_I2C_Read... [15:22:05]Read from MH i2c: E2 03 00 [15:22:05]MH_I2C_Read... [15:22:05]Read from MH i2c: E2 03 00 E4 03 00 90 00 5B [15:22:05]RAPDU: 90 00 [15:22:05]wFMCommunicate OK [15:22:05]wFMCommunicate request_size=245 [15:22:05]MH_SAM_APDU [15:22:05]CAPDU: 80 0D 02 02 F0 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 40 1F 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 B9 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 4A 00 00 00 00 07 04 06 00 A8 B9 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 9B 2A F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CF 57 00 00 35 04 06 00 B8 4D CB 73 1A 1C [15:22:05]Write to MH i2c: E2 F8 00 E5 03 80 0D 02 02 F0 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 40 1F 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 B9 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 4A 00 00 00 00 07 04 06 00 A8 B9 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 9B 2A F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CF 57 00 00 35 04 06 00 B8 4D CB 73 1A 1C 00 00 8A [15:22:05]Write i2c OK [15:22:05]MH_I2C_Read... [15:22:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:22:05]Read from MH i2c: E2 [15:22:05]MH_I2C_Read... [15:22:05]Read from MH i2c: E2 03 00 [15:22:05]MH_I2C_Read... [15:22:05]Read from MH i2c: E2 03 00 E5 03 00 90 00 5C [15:22:05]RAPDU: 90 00 [15:22:05]wFMCommunicate OK [15:22:05]wFMCommunicate request_size=4 [15:22:05]MH_SAM_APDU [15:22:05]CAPDU: 80 0D 03 02 [15:22:05]Write to MH i2c: E2 08 00 E6 03 80 0D 03 02 00 00 00 00 64 [15:22:05]Write i2c OK [15:22:05]MH_I2C_Read... [15:22:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:22:06]Read from MH i2c: E2 [15:22:06]MH_I2C_Read... [15:22:06]Read from MH i2c: E2 0B 00 [15:22:06]MH_I2C_Read... [15:22:06]Read from MH i2c: E2 0B 00 E6 03 00 6A F4 F4 A8 8B 73 08 DF 90 00 44 [15:22:06]RAPDU: 6A F4 F4 A8 8B 73 08 DF 90 00 [15:22:06]wFMCommunicate OK [15:22:06]SAM_PROTO_SignData done [15:22:06]FM_MakeSignedData done [15:22:06]CreateOFDProtocolMessage [15:22:06]wFMCommunicate request_size=4 [15:22:06]MH_SAM_APDU [15:22:06]CAPDU: 80 11 00 00 [15:22:06]Write to MH i2c: E2 08 00 E7 03 80 11 00 00 00 00 00 00 64 [15:22:06]Write i2c OK [15:22:06]MH_I2C_Read... [15:22:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:22:06]Read from MH i2c: E2 [15:22:06]MH_I2C_Read... [15:22:06]Read from MH i2c: E2 17 00 [15:22:06]MH_I2C_Read... [15:22:06]Read from MH i2c: E2 17 00 E7 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 BE [15:22:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [15:22:06]wFMCommunicate OK [15:22:06]CreateOFDProtocolMessage done [15:22:06]OFDSenderStorePacket 22479 [15:22:06]StoreOFDPacket docnum=22479 [15:22:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 EE 03 00 00 DE 81 E6 03 76 E0 5A 03 01 00 03 00 DA 03 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 E0 79 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 08 9D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 30 30 31 31 06 04 1C 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 40 1F 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 B9 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 4A 00 00 00 00 07 04 06 00 A8 B9 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 9B 2A F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CF 57 00 00 35 04 06 00 B8 4D CB 73 1A 1C 6A F4 F4 A8 8B 73 08 DF [15:22:06]CheckFolder [15:22:06]dirname=/storage/ofd_packets [15:22:06]CheckFolder done [15:22:06]ProducePacketName [15:22:06]name=ofd_packets/00022479 [15:22:06]NVStorageSaveData ofd_packets/00022479 [15:22:06]File name is /storage/ofd_packets/00022479 [15:22:06]Write 1036 bytes [15:22:06]NVStorageSaveData done [15:22:06]OFDSenderStorePacket done [15:22:06]KKMCreateOFDPacket done [15:22:06]NVStorageSaveData kkm_last_timestamp [15:22:06]File name is /storage/kkm_last_timestamp [15:22:06]Write 4 bytes [15:22:06]NVStorageSaveData done [15:22:06]ExternCall_PrintAddStr [15:22:06]wPrintStart [15:22:06]Write to MH i2c: 01 00 00 E8 03 EB [15:22:06]Write i2c OK [15:22:06]MH_I2C_Read... [15:22:06]Read from MH i2c: 01 [15:22:06]MH_I2C_Read... [15:22:06]Read from MH i2c: 01 07 00 [15:22:06]MH_I2C_Read... [15:22:06]Read from MH i2c: 01 07 00 E8 03 00 00 00 00 00 FF 0F 00 [15:22:06]RasterBufferAndPrint [15:22:06]line Счет N : (3)51682 [15:22:06]line ИНН: 02508201610067 [15:22:06]line Контрольно-Кассовый Чек [15:22:06]line ПРОДАЖА [15:22:06]line Товар: 4640030091607 [15:22:06]line Сигареты ESSE Exchange [15:22:06]line 1.000 * 150.00 [15:22:06]line = 150.00 [15:22:06]line НДС 12% НСП 1% [15:22:06]line > о реализуемом товаре [15:22:06]line Товар: 4640030091645 [15:22:06]line Сигареты ESSE Exchange M [15:22:06]line 1.000 * 150.00 [15:22:06]line = 150.00 [15:22:06]line НДС 12% НСП 1% [15:22:06]line > о реализуемом товаре [15:22:06]line Товар: 47803152 [15:22:06]line Сигареты Mevius Revo [15:22:06]line 1.000 * 159.00 [15:22:06]line = 159.00 [15:22:06]line НДС 12% НСП 1% [15:22:06]line > о реализуемом товаре [15:22:06]line Товар: 48742245 [15:22:06]line Сигареты Parliament Silver Blue [15:22:06]line 2.000 * 156.00 [15:22:06]line = 312.00 [15:22:06]line НДС 12% НСП 1% [15:22:06]line > о реализуемом товаре [15:22:06]line Товар: 46230614 [15:22:06]line Сигареты Richmond Red Edition [15:22:06]line 1.000 * 154.00 [15:22:06]line = 154.00 [15:22:06]line НДС 12% НСП 1% [15:22:06]line > о реализуемом товаре [15:22:06]line Товар: 4780014240406 [15:22:06]line Сигареты Sovereign Blue [15:22:06]line 3.000 * 134.00 [15:22:06]line = 402.00 [15:22:06]line НДС 12% НСП 1% [15:22:06]line > о реализуемом товаре [15:22:06]line Товар: 48745000 [15:22:06]line Сигареты Winston Purple Mix [15:22:06]line 1.000 * 139.00 [15:22:06]line = 139.00 [15:22:06]line НДС 12% НСП 1% [15:22:06]line > о реализуемом товаре [15:22:06]line Товар: 2000039440011 [15:22:06]line Чай черный 200 мл [15:22:06]line 8.000 * 40.00 [15:22:06]line = 320.00 [15:22:06]line НДС 12% НСП 1% [15:22:06]line > о реализуемом товаре [15:22:06]line ИТОГО: 1786.00 [15:22:06]line НСП 1% : 15.81 [15:22:06]line НДС 12% : 189.65 [15:22:06]line Наличными: 1786.00 [15:22:06]line Безнал.: 0.00 [15:22:06]line Место: АЗС № 88 "Партнер Нефть" [15:22:06]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [15:22:06]line СНО: Общий режим [15:22:06]line Чек 52 25.09.2024 15:22 [15:22:06]line Смена: 231 ФФД: 1.0 [15:22:06]line ЗНМ: 0300000061 [15:22:06]line РНМ: 0000000000146243 [15:22:06]line Версия ККМ: v1.0 [15:22:06]line ФМ: 0000000000959358 [15:22:06]line ФД: 22479 [15:22:06]line ФПД: 202644265310748 [15:22:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T152203&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22479&fm=202644265310748&tin=02508201610067®Number=0000000000146243&sum=178600 [15:22:06]line 0 [15:22:06]written 0, free lines is 4095 [15:22:06]OFD Sender: Processing packet 22479 [packets to send 23, broken 22] [15:22:06]ProducePacketName [15:22:06]name=ofd_packets/00022479 [15:22:06]OFD Sender: To server: pG, [15:22:06]CommunicateWithHost lk.salyk.kg:30040 [15:22:06]ConnectInit lk.salyk.kg [15:22:06]Connected sock=11 [15:22:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 EE 03 00 00 DE 81 E6 03 76 E0 5A 03 01 00 03 00 DA 03 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 E0 79 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 08 9D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 30 30 31 31 06 04 1C 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 40 1F 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 B9 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 4A 00 00 00 00 07 04 06 00 A8 B9 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 9B 2A F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CF 57 00 00 35 04 06 00 B8 4D CB 73 1A 1C 6A F4 F4 A8 8B 73 08 DF [15:22:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 C1 96 47 00 55 BC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 CF 57 00 00 F4 03 04 00 BF D4 F3 66 B6 04 01 00 00 B2 C9 15 72 C2 E9 8C 96 [15:22:07]CommunicateWithHost err = 0 [15:22:07]CheckOFDResponse [15:22:07]1017 (14) - 77093643461234 [15:22:07]1041 (16) - 0000000000959358 [15:22:07]1040 (4) - 22479 [15:22:07]1012 (4) - 25.09.2024 09:15 [15:22:07]1206 (1) - 0 [15:22:07]OFD Sender: Remove packet 22479 [15:22:07]ProducePacketName [15:22:07]name=ofd_packets/00022479 [15:22:07]NVStorageDeleteData [15:22:07]Write to MH i2c: 01 00 00 3C 04 40 [15:22:07]Write i2c OK [15:22:07]MH_I2C_Read... [15:22:07]Read from MH i2c: 01 [15:22:07]MH_I2C_Read... [15:22:07]Read from MH i2c: 01 07 00 [15:22:07]MH_I2C_Read... [15:22:07]Read from MH i2c: 01 07 00 3C 04 00 00 00 00 00 02 0B 54 [15:22:07]RasterBufferAndPrint [15:22:07]line [15:22:07]line [15:22:07]line [15:22:07]line [15:22:07]line [15:22:07]written 0, free lines is 2830 [15:22:07]MH_Cut [15:22:07]Write to MH i2c: D1 01 00 43 04 01 19 [15:22:07]Write i2c OK [15:22:07]MH_I2C_Read... [15:22:07]Read from MH i2c: D1 [15:22:07]MH_I2C_Read... [15:22:07]Read from MH i2c: D1 01 00 [15:22:07]MH_I2C_Read... [15:22:07]Read from MH i2c: D1 01 00 43 04 00 18 [15:22:07]Write to MH i2c: 01 00 00 44 04 48 [15:22:07]Write i2c OK [15:22:07]MH_I2C_Read... [15:22:07]OFD Sender: No OFD packet to send [15:22:08]*** Cut start [15:22:08]*** Partial cut [15:22:08]*** CUTSNS_PIN = 1 [15:22:08]*** CUTSNS_PIN = 0 [15:22:08]*** Brake cut motor [15:22:08]Read from MH i2c: 01 [15:22:08]MH_I2C_Read... [15:22:08]*** Stop cut motor [15:22:08]*** Cut end [15:22:08]Read from MH i2c: 01 07 00 [15:22:08]MH_I2C_Read... [15:22:08]Read from MH i2c: 01 07 00 44 04 00 00 00 00 00 FF 0F 5D [15:22:08]process_action close_receipt done [15:22:08]requested_data is exist [15:22:08]produce_requested_data [15:22:08]requested_item fm.sn is exist - process it [15:22:08]wFMCommunicate request_size=4 [15:22:08]MH_SAM_APDU [15:22:08]CAPDU: 80 11 00 00 [15:22:08]Write to MH i2c: E2 08 00 45 04 80 11 00 00 00 00 00 00 C3 [15:22:08]Write i2c OK [15:22:08]MH_I2C_Read... [15:22:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:22:09]Read from MH i2c: E2 [15:22:09]MH_I2C_Read... [15:22:09]Read from MH i2c: E2 17 00 [15:22:09]MH_I2C_Read... [15:22:09]Read from MH i2c: E2 17 00 45 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 1D [15:22:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [15:22:09]wFMCommunicate OK [15:22:09]requested_item fd.num is exist - process it [15:22:09]SAM_PROTO_GetFieldsCounters [15:22:09]wFMCommunicate request_size=4 [15:22:09]MH_SAM_APDU [15:22:09]CAPDU: 80 13 00 00 [15:22:09]Write to MH i2c: E2 08 00 46 04 80 13 00 00 00 00 00 00 C6 [15:22:09]Write i2c OK [15:22:09]MH_I2C_Read... [15:22:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:22:09]Read from MH i2c: E2 [15:22:09]MH_I2C_Read... [15:22:09]Read from MH i2c: E2 62 00 [15:22:09]MH_I2C_Read... [15:22:09]Read from MH i2c: E2 62 00 46 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 CF 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 92 [15:22:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 CF 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:22:09]wFMCommunicate OK [15:22:09]SAM_PROTO_GetFieldsCounters done [15:22:09]requested_item shift.num is exist - process it [15:22:09]requested_item shift.opened is exist - process it [15:22:09]req_shift_opened [15:22:09]FM_GetShiftState [15:22:09]SAM_PROTO_GetShiftState [15:22:09]wFMCommunicate request_size=4 [15:22:09]MH_SAM_APDU [15:22:09]CAPDU: 80 13 01 00 [15:22:09]Write to MH i2c: E2 08 00 47 04 80 13 01 00 00 00 00 00 C8 [15:22:09]Write i2c OK [15:22:09]MH_I2C_Read... [15:22:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:22:09]Read from MH i2c: E2 [15:22:09]MH_I2C_Read... [15:22:09]Read from MH i2c: E2 0E 00 [15:22:09]MH_I2C_Read... [15:22:09]Read from MH i2c: E2 0E 00 47 04 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 59 [15:22:09]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [15:22:09]wFMCommunicate OK [15:22:09]SAM_PROTO_GetShiftState done [15:22:09]FM_GetShiftState done [15:22:09]req_shift_opened done [15:22:09]requested_item shift.open_date is exist - process it [15:22:09]req_shift_open_date [15:22:09]req_shift_open_date done [15:22:09]produce_requested_data done [15:22:09]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22479,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [15:22:09]process_action_free close_receipt [15:22:09]json_value_free [15:22:09]json_value_free done [15:22:09]process_json_proto returns [15:22:09]Send response to host [15:22:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22479,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [15:22:09]free response buf [15:22:09]execute_script done [15:22:09]execute_script returns [15:22:09]free content buf [15:22:09]Sock 7.Close socket [15:22:09]Sock 7.Thread stoped [15:22:12]OFD Sender: No OFD packet to send [15:22:17]OFD Sender: No OFD packet to send [15:22:22]OFD Sender: No OFD packet to send [15:22:27]OFD Sender: No OFD packet to send [15:22:32]OFD Sender: No OFD packet to send [15:22:37]OFD Sender: No OFD packet to send [15:22:42]OFD Sender: No OFD packet to send [15:22:47]OFD Sender: No OFD packet to send [15:22:52]OFD Sender: No OFD packet to send [15:22:57]OFD Sender: No OFD packet to send [15:23:02]OFD Sender: No OFD packet to send [15:23:07]OFD Sender: No OFD packet to send [15:23:12]OFD Sender: No OFD packet to send [15:23:17]OFD Sender: No OFD packet to send [15:23:22]OFD Sender: No OFD packet to send [15:23:27]OFD Sender: No OFD packet to send [15:23:32]OFD Sender: No OFD packet to send [15:23:37]OFD Sender: No OFD packet to send [15:23:42]OFD Sender: No OFD packet to send [15:23:47]OFD Sender: No OFD packet to send [15:23:52]OFD Sender: No OFD packet to send [15:23:57]OFD Sender: No OFD packet to send [15:24:02]OFD Sender: No OFD packet to send [15:24:07]OFD Sender: No OFD packet to send [15:24:12]OFD Sender: No OFD packet to send [15:24:17]OFD Sender: No OFD packet to send [15:24:22]OFD Sender: No OFD packet to send [15:24:27]OFD Sender: No OFD packet to send [15:24:32]OFD Sender: No OFD packet to send [15:24:37]OFD Sender: No OFD packet to send [15:24:42]OFD Sender: No OFD packet to send [15:24:47]OFD Sender: No OFD packet to send [15:24:52]OFD Sender: No OFD packet to send [15:24:57]OFD Sender: No OFD packet to send [15:25:02]OFD Sender: No OFD packet to send [15:25:07]OFD Sender: No OFD packet to send [15:25:12]OFD Sender: No OFD packet to send [15:25:17]OFD Sender: No OFD packet to send [15:25:22]OFD Sender: No OFD packet to send [15:25:27]OFD Sender: No OFD packet to send [15:25:32]OFD Sender: No OFD packet to send [15:25:37]OFD Sender: No OFD packet to send [15:25:42]OFD Sender: No OFD packet to send [15:25:47]OFD Sender: No OFD packet to send [15:25:52]OFD Sender: No OFD packet to send [15:25:57]OFD Sender: No OFD packet to send [15:26:02]OFD Sender: No OFD packet to send [15:26:07]OFD Sender: No OFD packet to send [15:26:12]OFD Sender: No OFD packet to send [15:26:17]OFD Sender: No OFD packet to send [15:26:22]OFD Sender: No OFD packet to send [15:26:27]OFD Sender: No OFD packet to send [15:26:32]OFD Sender: No OFD packet to send [15:26:37]OFD Sender: No OFD packet to send [15:26:42]OFD Sender: No OFD packet to send [15:26:47]OFD Sender: No OFD packet to send [15:26:52]OFD Sender: No OFD packet to send [15:26:57]OFD Sender: No OFD packet to send [15:27:02]OFD Sender: No OFD packet to send [15:27:07]OFD Sender: No OFD packet to send [15:27:12]OFD Sender: No OFD packet to send [15:27:17]OFD Sender: No OFD packet to send [15:27:22]OFD Sender: No OFD packet to send [15:27:27]OFD Sender: No OFD packet to send [15:27:32]OFD Sender: No OFD packet to send [15:27:37]OFD Sender: No OFD packet to send [15:27:42]OFD Sender: No OFD packet to send [15:27:47]OFD Sender: No OFD packet to send [15:27:52]OFD Sender: No OFD packet to send [15:27:57]OFD Sender: No OFD packet to send [15:28:02]OFD Sender: No OFD packet to send [15:28:07]OFD Sender: No OFD packet to send [15:28:12]OFD Sender: No OFD packet to send [15:28:17]OFD Sender: No OFD packet to send [15:28:22]OFD Sender: No OFD packet to send [15:28:27]OFD Sender: No OFD packet to send [15:28:32]OFD Sender: No OFD packet to send [15:28:37]OFD Sender: No OFD packet to send [15:28:42]OFD Sender: No OFD packet to send [15:28:47]OFD Sender: No OFD packet to send [15:28:52]OFD Sender: No OFD packet to send [15:28:57]OFD Sender: No OFD packet to send [15:29:02]OFD Sender: No OFD packet to send [15:29:07]OFD Sender: No OFD packet to send [15:29:12]OFD Sender: No OFD packet to send [15:29:17]OFD Sender: No OFD packet to send [15:29:22]OFD Sender: No OFD packet to send [15:29:27]OFD Sender: No OFD packet to send [15:29:32]OFD Sender: No OFD packet to send [15:29:37]OFD Sender: No OFD packet to send [15:29:42]OFD Sender: No OFD packet to send [15:29:47]OFD Sender: No OFD packet to send [15:29:52]OFD Sender: No OFD packet to send [15:29:57]OFD Sender: No OFD packet to send [15:30:02]OFD Sender: No OFD packet to send [15:30:07]OFD Sender: No OFD packet to send [15:30:12]OFD Sender: No OFD packet to send [15:30:17]OFD Sender: No OFD packet to send [15:30:22]OFD Sender: No OFD packet to send [15:30:27]OFD Sender: No OFD packet to send [15:30:32]OFD Sender: No OFD packet to send [15:30:37]OFD Sender: No OFD packet to send [15:30:42]OFD Sender: No OFD packet to send [15:30:47]OFD Sender: No OFD packet to send [15:30:52]OFD Sender: No OFD packet to send [15:30:57]OFD Sender: No OFD packet to send [15:31:03]OFD Sender: No OFD packet to send [15:31:08]OFD Sender: No OFD packet to send [15:31:13]OFD Sender: No OFD packet to send [15:31:18]OFD Sender: No OFD packet to send [15:31:23]OFD Sender: No OFD packet to send [15:31:28]OFD Sender: No OFD packet to send [15:31:33]OFD Sender: No OFD packet to send [15:31:38]OFD Sender: No OFD packet to send [15:31:43]OFD Sender: No OFD packet to send [15:31:48]OFD Sender: No OFD packet to send [15:31:53]OFD Sender: No OFD packet to send [15:31:58]OFD Sender: No OFD packet to send [15:32:03]OFD Sender: No OFD packet to send [15:32:08]OFD Sender: No OFD packet to send [15:32:13]OFD Sender: No OFD packet to send [15:32:18]OFD Sender: No OFD packet to send [15:32:23]OFD Sender: No OFD packet to send [15:32:28]OFD Sender: No OFD packet to send [15:32:33]OFD Sender: No OFD packet to send [15:32:38]OFD Sender: No OFD packet to send [15:32:43]OFD Sender: No OFD packet to send [15:32:48]OFD Sender: No OFD packet to send [15:32:53]OFD Sender: No OFD packet to send [15:32:58]OFD Sender: No OFD packet to send [15:33:03]OFD Sender: No OFD packet to send [15:33:08]OFD Sender: No OFD packet to send [15:33:13]OFD Sender: No OFD packet to send [15:33:18]OFD Sender: No OFD packet to send [15:33:23]OFD Sender: No OFD packet to send [15:33:28]OFD Sender: No OFD packet to send [15:33:33]OFD Sender: No OFD packet to send [15:33:38]OFD Sender: No OFD packet to send [15:33:43]OFD Sender: No OFD packet to send [15:33:48]OFD Sender: No OFD packet to send [15:33:53]OFD Sender: No OFD packet to send [15:33:58]OFD Sender: No OFD packet to send [15:34:03]OFD Sender: No OFD packet to send [15:34:08]OFD Sender: No OFD packet to send [15:34:13]OFD Sender: No OFD packet to send [15:34:18]OFD Sender: No OFD packet to send [15:34:23]OFD Sender: No OFD packet to send [15:34:28]OFD Sender: No OFD packet to send [15:34:33]OFD Sender: No OFD packet to send [15:34:38]OFD Sender: No OFD packet to send [15:34:43]OFD Sender: No OFD packet to send [15:34:48]OFD Sender: No OFD packet to send [15:34:53]OFD Sender: No OFD packet to send [15:34:58]OFD Sender: No OFD packet to send [15:35:03]OFD Sender: No OFD packet to send [15:35:08]OFD Sender: No OFD packet to send [15:35:13]OFD Sender: No OFD packet to send [15:35:18]OFD Sender: No OFD packet to send [15:35:23]OFD Sender: No OFD packet to send [15:35:28]OFD Sender: No OFD packet to send [15:35:33]OFD Sender: No OFD packet to send [15:35:38]OFD Sender: No OFD packet to send [15:35:43]OFD Sender: No OFD packet to send [15:35:48]OFD Sender: No OFD packet to send [15:35:53]OFD Sender: No OFD packet to send [15:35:58]OFD Sender: No OFD packet to send [15:36:03]OFD Sender: No OFD packet to send [15:36:08]OFD Sender: No OFD packet to send [15:36:13]OFD Sender: No OFD packet to send [15:36:18]OFD Sender: No OFD packet to send [15:36:23]OFD Sender: No OFD packet to send [15:36:28]OFD Sender: No OFD packet to send [15:36:33]OFD Sender: No OFD packet to send [15:36:38]OFD Sender: No OFD packet to send [15:36:43]OFD Sender: No OFD packet to send [15:36:48]OFD Sender: No OFD packet to send [15:36:53]OFD Sender: No OFD packet to send [15:36:58]OFD Sender: No OFD packet to send [15:37:03]OFD Sender: No OFD packet to send [15:37:08]OFD Sender: No OFD packet to send [15:37:13]OFD Sender: No OFD packet to send [15:37:18]OFD Sender: No OFD packet to send [15:37:23]OFD Sender: No OFD packet to send [15:37:28]OFD Sender: No OFD packet to send [15:37:33]OFD Sender: No OFD packet to send [15:37:38]OFD Sender: No OFD packet to send [15:37:43]OFD Sender: No OFD packet to send [15:37:48]OFD Sender: No OFD packet to send [15:37:53]OFD Sender: No OFD packet to send [15:37:58]OFD Sender: No OFD packet to send [15:38:03]OFD Sender: No OFD packet to send [15:38:08]OFD Sender: No OFD packet to send [15:38:13]OFD Sender: No OFD packet to send [15:38:18]OFD Sender: No OFD packet to send [15:38:23]OFD Sender: No OFD packet to send [15:38:28]OFD Sender: No OFD packet to send [15:38:33]OFD Sender: No OFD packet to send [15:38:38]OFD Sender: No OFD packet to send [15:38:43]OFD Sender: No OFD packet to send [15:38:48]OFD Sender: No OFD packet to send [15:38:53]OFD Sender: No OFD packet to send [15:38:58]OFD Sender: No OFD packet to send [15:39:03]OFD Sender: No OFD packet to send [15:39:08]OFD Sender: No OFD packet to send [15:39:13]OFD Sender: No OFD packet to send [15:39:18]OFD Sender: No OFD packet to send [15:39:23]OFD Sender: No OFD packet to send [15:39:28]OFD Sender: No OFD packet to send [15:39:33]OFD Sender: No OFD packet to send [15:39:38]OFD Sender: No OFD packet to send [15:39:43]OFD Sender: No OFD packet to send [15:39:48]OFD Sender: No OFD packet to send [15:39:53]OFD Sender: No OFD packet to send [15:39:58]OFD Sender: No OFD packet to send [15:40:03]OFD Sender: No OFD packet to send [15:40:08]OFD Sender: No OFD packet to send [15:40:13]OFD Sender: No OFD packet to send [15:40:18]OFD Sender: No OFD packet to send [15:40:23]OFD Sender: No OFD packet to send [15:40:28]OFD Sender: No OFD packet to send [15:40:33]OFD Sender: No OFD packet to send [15:40:38]OFD Sender: No OFD packet to send [15:40:43]OFD Sender: No OFD packet to send [15:40:48]OFD Sender: No OFD packet to send [15:40:53]OFD Sender: No OFD packet to send [15:40:58]OFD Sender: No OFD packet to send [15:41:03]OFD Sender: No OFD packet to send [15:41:08]OFD Sender: No OFD packet to send [15:41:13]OFD Sender: No OFD packet to send [15:41:18]OFD Sender: No OFD packet to send [15:41:23]OFD Sender: No OFD packet to send [15:41:28]OFD Sender: No OFD packet to send [15:41:33]OFD Sender: No OFD packet to send [15:41:38]OFD Sender: No OFD packet to send [15:41:43]OFD Sender: No OFD packet to send [15:41:48]OFD Sender: No OFD packet to send [15:41:53]OFD Sender: No OFD packet to send [15:41:58]OFD Sender: No OFD packet to send [15:42:03]OFD Sender: No OFD packet to send [15:42:08]OFD Sender: No OFD packet to send [15:42:13]OFD Sender: No OFD packet to send [15:42:18]OFD Sender: No OFD packet to send [15:42:23]OFD Sender: No OFD packet to send [15:42:28]OFD Sender: No OFD packet to send [15:42:33]OFD Sender: No OFD packet to send [15:42:38]OFD Sender: No OFD packet to send [15:42:43]OFD Sender: No OFD packet to send [15:42:48]OFD Sender: No OFD packet to send [15:42:53]OFD Sender: No OFD packet to send [15:42:58]OFD Sender: No OFD packet to send [15:43:03]OFD Sender: No OFD packet to send [15:43:08]OFD Sender: No OFD packet to send [15:43:13]OFD Sender: No OFD packet to send [15:43:18]OFD Sender: No OFD packet to send [15:43:23]OFD Sender: No OFD packet to send [15:43:28]OFD Sender: No OFD packet to send [15:43:33]OFD Sender: No OFD packet to send [15:43:38]OFD Sender: No OFD packet to send [15:43:43]OFD Sender: No OFD packet to send [15:43:48]OFD Sender: No OFD packet to send [15:43:53]OFD Sender: No OFD packet to send [15:43:58]OFD Sender: No OFD packet to send [15:44:03]OFD Sender: No OFD packet to send [15:44:08]OFD Sender: No OFD packet to send [15:44:13]OFD Sender: No OFD packet to send [15:44:18]OFD Sender: No OFD packet to send [15:44:23]OFD Sender: No OFD packet to send [15:44:28]OFD Sender: No OFD packet to send [15:44:33]OFD Sender: No OFD packet to send [15:44:38]OFD Sender: No OFD packet to send [15:44:43]OFD Sender: No OFD packet to send [15:44:48]OFD Sender: No OFD packet to send [15:44:53]OFD Sender: No OFD packet to send [15:44:58]OFD Sender: No OFD packet to send [15:45:03]OFD Sender: No OFD packet to send [15:45:08]OFD Sender: No OFD packet to send [15:45:13]OFD Sender: No OFD packet to send [15:45:18]OFD Sender: No OFD packet to send [15:45:23]OFD Sender: No OFD packet to send [15:45:28]OFD Sender: No OFD packet to send [15:45:33]OFD Sender: No OFD packet to send [15:45:38]OFD Sender: No OFD packet to send [15:45:43]OFD Sender: No OFD packet to send [15:45:48]OFD Sender: No OFD packet to send [15:45:53]OFD Sender: No OFD packet to send [15:45:58]OFD Sender: No OFD packet to send [15:46:03]OFD Sender: No OFD packet to send [15:46:08]OFD Sender: No OFD packet to send [15:46:13]OFD Sender: No OFD packet to send [15:46:18]OFD Sender: No OFD packet to send [15:46:23]OFD Sender: No OFD packet to send [15:46:28]OFD Sender: No OFD packet to send [15:46:33]OFD Sender: No OFD packet to send [15:46:38]OFD Sender: No OFD packet to send [15:46:43]OFD Sender: No OFD packet to send [15:46:48]OFD Sender: No OFD packet to send [15:46:53]OFD Sender: No OFD packet to send [15:46:58]OFD Sender: No OFD packet to send [15:47:03]OFD Sender: No OFD packet to send [15:47:08]OFD Sender: No OFD packet to send [15:47:13]OFD Sender: No OFD packet to send [15:47:18]OFD Sender: No OFD packet to send [15:47:23]OFD Sender: No OFD packet to send [15:47:28]OFD Sender: No OFD packet to send [15:47:33]OFD Sender: No OFD packet to send [15:47:38]OFD Sender: No OFD packet to send [15:47:43]OFD Sender: No OFD packet to send [15:47:48]OFD Sender: No OFD packet to send [15:47:53]OFD Sender: No OFD packet to send [15:47:58]OFD Sender: No OFD packet to send [15:48:03]OFD Sender: No OFD packet to send [15:48:08]OFD Sender: No OFD packet to send [15:48:13]OFD Sender: No OFD packet to send [15:48:18]OFD Sender: No OFD packet to send [15:48:23]OFD Sender: No OFD packet to send [15:48:28]OFD Sender: No OFD packet to send [15:48:33]OFD Sender: No OFD packet to send [15:48:38]OFD Sender: No OFD packet to send [15:48:43]OFD Sender: No OFD packet to send [15:48:48]OFD Sender: No OFD packet to send [15:48:53]accept exits with 9 [15:48:53]New connection [15:48:53]New thread 3067440484 created [15:48:53]Thread 3067583844 joined [15:48:53]Waiting for new connection... [15:48:53] Sock 9.Parse request [15:48:53]Sock 9.Check first char [15:48:53]Sock 9.First char is OK [15:48:53]request: POST /json_proto HTTP/1.0 [15:48:53]Method: POST [15:48:53]URL: /json_proto [15:48:53]Method is POST - this is cgi request [15:48:53]url: /json_proto [15:48:53]query_string will be loaded in cgi processing [15:48:53]execute_cgi json_proto POST (null) [15:48:53]execute_cgi path=json_proto method=POST [15:48:53]POST find Content-Length [15:48:53]Host: 172.17.43.4:8080 [15:48:53]Content-Length: 940 [15:48:53]Content-Type: application/json [15:48:53] [15:48:53]POST finish read [15:48:53]Found Content-Length = 940 [15:48:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51683", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189394", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u044F\u0433\u043E\u0434\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:48:53]execute_script... [15:48:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51683", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189394", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u044F\u0433\u043E\u0434\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:48:53]POST & json_proto [15:48:53]process_json_proto [15:48:53]json parsed OK: [15:48:53]protocol is kg_v1.0 [15:48:53]action value=close_receipt [15:48:53]process_action close_receipt [15:48:53]cmd_close_receipt [15:48:53]MH_GetDate [15:48:53]Write to MH i2c: F0 00 00 48 04 3B [15:48:53]Write i2c OK [15:48:53]MH_I2C_Read... [15:48:53]Read from MH i2c: F0 [15:48:53]MH_I2C_Read... [15:48:53]Read from MH i2c: F0 09 00 [15:48:53]MH_I2C_Read... [15:48:53]Read from MH i2c: F0 09 00 48 04 00 E6 30 F4 66 02 BF CF 66 AA [15:48:53]GetLastDocTimeStamp 1727277723 [15:48:53]current date 1727279334 [15:48:53]FM_GetShiftState [15:48:53]SAM_PROTO_GetShiftState [15:48:53]wFMCommunicate request_size=4 [15:48:53]MH_SAM_APDU [15:48:53]CAPDU: 80 13 01 00 [15:48:53]Write to MH i2c: E2 08 00 49 04 80 13 01 00 00 00 00 00 CA [15:48:53]Write i2c OK [15:48:53]MH_I2C_Read... [15:48:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:48:53]Read from MH i2c: E2 [15:48:53]MH_I2C_Read... [15:48:53]Read from MH i2c: E2 0E 00 [15:48:53]MH_I2C_Read... [15:48:53]Read from MH i2c: E2 0E 00 49 04 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 5B [15:48:53]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [15:48:53]wFMCommunicate OK [15:48:53]SAM_PROTO_GetShiftState done [15:48:53]FM_GetShiftState done [15:48:53]opened in 1727224020 [15:48:53]opened+sec_in_day 1727310420 [15:48:53]quantity*price = 8500 [15:48:53]sum+1 = 8501 [15:48:53]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000189394 Холодный чай Fuse ягода 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 160.00 НСП 1% : 1.41 НДС 12% : 16.99 Наличными: 160.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 53 25.09.2024 15:48 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22480 ФПД: 87540176598850 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T154854&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22480&fm=87540176598850&tin=02508201610067®Number=0000000000146243&sum=16000 0 [15:48:54]StoreToDocumentArchive [15:48:54]shift 231 fd 22480 [15:48:54]save to /storage/0231/doc_00022480 [15:48:54]save last doc name /storage/0231/doc_00022480 to /storage/kkm_last_doc_name [15:48:54]save OK [15:48:54]Clear old archive folders... [15:48:54]ProcessDocumentItem done err = 0, tmpTLVsize=411 [15:48:54]tlvbuf is 00261370 [15:48:54]SAM_PROTO_ClearQueue [15:48:54]wFMCommunicate request_size=4 [15:48:54]MH_SAM_APDU [15:48:54]CAPDU: 80 09 00 00 [15:48:54]Write to MH i2c: E2 08 00 56 04 80 09 00 00 00 00 00 00 CC [15:48:54]Write i2c OK [15:48:54]MH_I2C_Read... [15:48:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:48:54]Read from MH i2c: E2 [15:48:54]MH_I2C_Read... [15:48:54]Read from MH i2c: E2 03 00 [15:48:54]MH_I2C_Read... [15:48:54]Read from MH i2c: E2 03 00 56 04 00 90 00 CE [15:48:54]RAPDU: 90 00 [15:48:54]wFMCommunicate OK [15:48:54]SAM_PROTO_ClearQueue done [15:48:54]KKMCreateOFDPacket [15:48:54]OFDProtocolAddRootSTLVToBuf [15:48:54]FM_MakeSignedData [15:48:54]FM_MakeSignedData [15:48:54]SAM_PROTO_SignData [15:48:54]wFMCommunicate request_size=4 [15:48:54]MH_SAM_APDU [15:48:54]CAPDU: 80 0D 01 02 [15:48:54]Write to MH i2c: E2 08 00 57 04 80 0D 01 02 00 00 00 00 D4 [15:48:54]Write i2c OK [15:48:54]MH_I2C_Read... [15:48:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:48:55]Read from MH i2c: E2 [15:48:55]MH_I2C_Read... [15:48:55]Read from MH i2c: E2 03 00 [15:48:55]MH_I2C_Read... [15:48:55]Read from MH i2c: E2 03 00 57 04 00 90 00 CF [15:48:55]RAPDU: 90 00 [15:48:55]wFMCommunicate OK [15:48:55]wFMCommunicate request_size=255 [15:48:55]MH_SAM_APDU [15:48:55]CAPDU: 80 0D 02 02 FA 03 00 9B 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 [15:48:55]Write to MH i2c: E2 02 01 58 04 80 0D 02 02 FA 00 03 00 9B 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 00 00 06 [15:48:55]Write i2c OK [15:48:55]MH_I2C_Read... [15:48:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:48:55]Read from MH i2c: E2 [15:48:55]MH_I2C_Read... [15:48:55]Read from MH i2c: E2 03 00 [15:48:55]MH_I2C_Read... [15:48:55]Read from MH i2c: E2 03 00 58 04 00 90 00 D0 [15:48:55]RAPDU: 90 00 [15:48:55]wFMCommunicate OK [15:48:55]wFMCommunicate request_size=170 [15:48:55]MH_SAM_APDU [15:48:55]CAPDU: 80 0D 02 02 A5 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 E6 30 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D0 57 00 00 35 04 06 00 4F 9E 09 21 37 42 [15:48:55]Write to MH i2c: E2 AD 00 59 04 80 0D 02 02 A5 00 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 E6 30 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D0 57 00 00 35 04 06 00 4F 9E 09 21 37 42 00 00 5A [15:48:55]Write i2c OK [15:48:55]MH_I2C_Read... [15:48:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:48:55]Read from MH i2c: E2 [15:48:55]MH_I2C_Read... [15:48:55]Read from MH i2c: E2 03 00 [15:48:55]MH_I2C_Read... [15:48:55]Read from MH i2c: E2 03 00 59 04 00 90 00 D1 [15:48:55]RAPDU: 90 00 [15:48:55]wFMCommunicate OK [15:48:55]wFMCommunicate request_size=4 [15:48:55]MH_SAM_APDU [15:48:55]CAPDU: 80 0D 03 02 [15:48:55]Write to MH i2c: E2 08 00 5A 04 80 0D 03 02 00 00 00 00 D9 [15:48:55]Write i2c OK [15:48:55]MH_I2C_Read... [15:48:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:48:55]Read from MH i2c: E2 [15:48:55]MH_I2C_Read... [15:48:55]Read from MH i2c: E2 0B 00 [15:48:55]MH_I2C_Read... [15:48:55]Read from MH i2c: E2 0B 00 5A 04 00 FE 84 47 BD 57 3C 91 28 90 00 AC [15:48:55]RAPDU: FE 84 47 BD 57 3C 91 28 90 00 [15:48:55]wFMCommunicate OK [15:48:55]SAM_PROTO_SignData done [15:48:55]FM_MakeSignedData done [15:48:55]CreateOFDProtocolMessage [15:48:55]wFMCommunicate request_size=4 [15:48:55]MH_SAM_APDU [15:48:55]CAPDU: 80 11 00 00 [15:48:55]Write to MH i2c: E2 08 00 5B 04 80 11 00 00 00 00 00 00 D9 [15:48:55]Write i2c OK [15:48:55]MH_I2C_Read... [15:48:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:48:55]Read from MH i2c: E2 [15:48:55]MH_I2C_Read... [15:48:55]Read from MH i2c: E2 17 00 [15:48:55]MH_I2C_Read... [15:48:55]Read from MH i2c: E2 17 00 5B 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 33 [15:48:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [15:48:55]wFMCommunicate OK [15:48:55]CreateOFDProtocolMessage done [15:48:55]OFDSenderStorePacket 22480 [15:48:55]StoreOFDPacket docnum=22480 [15:48:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 AF 01 00 00 EF DD A7 01 B6 30 5A 03 01 00 03 00 9B 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 E6 30 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D0 57 00 00 35 04 06 00 4F 9E 09 21 37 42 FE 84 47 BD 57 3C 91 28 [15:48:55]CheckFolder [15:48:55]dirname=/storage/ofd_packets [15:48:55]CheckFolder done [15:48:55]ProducePacketName [15:48:55]name=ofd_packets/00022480 [15:48:55]NVStorageSaveData ofd_packets/00022480 [15:48:55]File name is /storage/ofd_packets/00022480 [15:48:55]Write 461 bytes [15:48:55]NVStorageSaveData done [15:48:55]OFDSenderStorePacket done [15:48:55]KKMCreateOFDPacket done [15:48:55]NVStorageSaveData kkm_last_timestamp [15:48:55]File name is /storage/kkm_last_timestamp [15:48:55]Write 4 bytes [15:48:55]NVStorageSaveData done [15:48:55]ExternCall_PrintAddStr [15:48:55]wPrintStart [15:48:55]Write to MH i2c: 01 00 00 5C 04 60 [15:48:55]Write i2c OK [15:48:55]MH_I2C_Read... [15:48:55]Read from MH i2c: 01 [15:48:55]MH_I2C_Read... [15:48:55]Read from MH i2c: 01 07 00 [15:48:55]MH_I2C_Read... [15:48:55]OFD Sender: Processing packet 22480 [packets to send 23, broken 22] [15:48:55]ProducePacketName [15:48:55]name=ofd_packets/00022480 [15:48:55]OFD Sender: To server: pG, [15:48:55]CommunicateWithHost lk.salyk.kg:30040 [15:48:55]ConnectInit lk.salyk.kg [15:48:55]Read from MH i2c: 01 07 00 5C 04 00 00 00 00 00 FF 0F 75 [15:48:55]RasterBufferAndPrint [15:48:55]line Счет N : (3)51683 [15:48:55]line ИНН: 02508201610067 [15:48:55]line Контрольно-Кассовый Чек [15:48:55]line ПРОДАЖА [15:48:55]line Товар: 4600682557456 [15:48:55]line Напиток FLash up energy эн ж/б 0,5/0,45л [15:48:55]line 1.000 * 85.00 [15:48:55]line = 85.00 [15:48:55]line НДС 12% НСП 1% [15:48:55]line > о реализуемом товаре [15:48:55]line Товар: 5449000189394 [15:48:55]line Холодный чай Fuse ягода 0,5л [15:48:55]line 1.000 * 75.00 [15:48:55]line = 75.00 [15:48:55]line НДС 12% НСП 1% [15:48:55]line > о реализуемом товаре [15:48:55]line ИТОГО: 160.00 [15:48:55]line НСП 1% : 1.41 [15:48:55]line НДС 12% : 16.99 [15:48:55]line Наличными: 160.00 [15:48:55]line Безнал.: 0.00 [15:48:55]line Место: АЗС № 88 "Партнер Нефть" [15:48:55]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [15:48:55]line СНО: Общий режим [15:48:55]line Чек 53 25.09.2024 15:48 [15:48:55]line Смена: 231 ФФД: 1.0 [15:48:55]line ЗНМ: 0300000061 [15:48:55]line РНМ: 0000000000146243 [15:48:55]line Версия ККМ: v1.0 [15:48:55]line ФМ: 0000000000959358 [15:48:55]line ФД: 22480 [15:48:55]line ФПД: 87540176598850 [15:48:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T154854&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22480&fm=87540176598850&tin=02508201610067®Number=0000000000146243&sum=16000 [15:48:55]line 0 [15:48:55]written 0, free lines is 4095 [15:48:56]Connected sock=10 [15:48:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 AF 01 00 00 EF DD A7 01 B6 30 5A 03 01 00 03 00 9B 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 E6 30 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D0 57 00 00 35 04 06 00 4F 9E 09 21 37 42 FE 84 47 BD 57 3C 91 28 [15:48:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 A9 6B 47 00 07 7B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D0 57 00 00 F4 03 04 00 08 DB F3 66 B6 04 01 00 00 6F A3 BF EF 1F CA D0 BC [15:48:56]CommunicateWithHost err = 0 [15:48:56]CheckOFDResponse [15:48:56]1017 (14) - 77093643461234 [15:48:56]1041 (16) - 0000000000959358 [15:48:56]1040 (4) - 22480 [15:48:56]1012 (4) - 25.09.2024 09:42 [15:48:56]1206 (1) - 0 [15:48:56]OFD Sender: Remove packet 22480 [15:48:56]ProducePacketName [15:48:56]name=ofd_packets/00022480 [15:48:56]NVStorageDeleteData [15:48:56]Write to MH i2c: 01 00 00 8B 04 8F [15:48:56]Write i2c OK [15:48:56]MH_I2C_Read... [15:48:56]Read from MH i2c: 01 [15:48:56]MH_I2C_Read... [15:48:56]Read from MH i2c: 01 07 00 [15:48:56]MH_I2C_Read... [15:48:56]Read from MH i2c: 01 07 00 8B 04 00 00 00 00 00 D2 0C 74 [15:48:56]RasterBufferAndPrint [15:48:56]line [15:48:56]line [15:48:56]line [15:48:56]line [15:48:56]line [15:48:56]written 0, free lines is 3293 [15:48:56]MH_Cut [15:48:56]Write to MH i2c: D1 01 00 92 04 01 68 [15:48:56]Write i2c OK [15:48:56]MH_I2C_Read... [15:48:56]Read from MH i2c: D1 [15:48:56]MH_I2C_Read... [15:48:56]Read from MH i2c: D1 01 00 [15:48:56]MH_I2C_Read... [15:48:56]Read from MH i2c: D1 01 00 92 04 00 67 [15:48:56]Write to MH i2c: 01 00 00 93 04 97 [15:48:56]Write i2c OK [15:48:56]MH_I2C_Read... [15:48:56]OFD Sender: No OFD packet to send [15:48:57]*** Cut start [15:48:57]*** Partial cut [15:48:57]*** CUTSNS_PIN = 1 [15:48:57]*** CUTSNS_PIN = 0 [15:48:57]*** Brake cut motor [15:48:57]Read from MH i2c: 01 [15:48:57]MH_I2C_Read... [15:48:57]*** Stop cut motor [15:48:57]*** Cut end [15:48:57]Read from MH i2c: 01 07 00 [15:48:57]MH_I2C_Read... [15:48:57]Read from MH i2c: 01 07 00 93 04 00 00 00 00 00 FF 0F AC [15:48:57]process_action close_receipt done [15:48:57]requested_data is exist [15:48:57]produce_requested_data [15:48:57]requested_item fm.sn is exist - process it [15:48:57]wFMCommunicate request_size=4 [15:48:57]MH_SAM_APDU [15:48:57]CAPDU: 80 11 00 00 [15:48:57]Write to MH i2c: E2 08 00 94 04 80 11 00 00 00 00 00 00 12 [15:48:57]Write i2c OK [15:48:57]MH_I2C_Read... [15:48:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:48:57]Read from MH i2c: E2 [15:48:57]MH_I2C_Read... [15:48:57]Read from MH i2c: E2 17 00 [15:48:57]MH_I2C_Read... [15:48:57]Read from MH i2c: E2 17 00 94 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 6C [15:48:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [15:48:57]wFMCommunicate OK [15:48:57]requested_item fd.num is exist - process it [15:48:57]SAM_PROTO_GetFieldsCounters [15:48:57]wFMCommunicate request_size=4 [15:48:57]MH_SAM_APDU [15:48:57]CAPDU: 80 13 00 00 [15:48:57]Write to MH i2c: E2 08 00 95 04 80 13 00 00 00 00 00 00 15 [15:48:57]Write i2c OK [15:48:57]MH_I2C_Read... [15:48:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:48:57]Read from MH i2c: E2 [15:48:57]MH_I2C_Read... [15:48:57]Read from MH i2c: E2 62 00 [15:48:57]MH_I2C_Read... [15:48:57]Read from MH i2c: E2 62 00 95 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 D0 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 E5 [15:48:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 D0 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:48:57]wFMCommunicate OK [15:48:57]SAM_PROTO_GetFieldsCounters done [15:48:57]requested_item shift.num is exist - process it [15:48:57]requested_item shift.opened is exist - process it [15:48:57]req_shift_opened [15:48:57]FM_GetShiftState [15:48:57]SAM_PROTO_GetShiftState [15:48:57]wFMCommunicate request_size=4 [15:48:57]MH_SAM_APDU [15:48:57]CAPDU: 80 13 01 00 [15:48:57]Write to MH i2c: E2 08 00 96 04 80 13 01 00 00 00 00 00 17 [15:48:57]Write i2c OK [15:48:57]MH_I2C_Read... [15:48:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:48:57]Read from MH i2c: E2 [15:48:57]MH_I2C_Read... [15:48:57]Read from MH i2c: E2 0E 00 [15:48:57]MH_I2C_Read... [15:48:57]Read from MH i2c: E2 0E 00 96 04 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 A8 [15:48:57]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [15:48:57]wFMCommunicate OK [15:48:57]SAM_PROTO_GetShiftState done [15:48:57]FM_GetShiftState done [15:48:57]req_shift_opened done [15:48:57]requested_item shift.open_date is exist - process it [15:48:57]req_shift_open_date [15:48:57]req_shift_open_date done [15:48:57]produce_requested_data done [15:48:57]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22480,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [15:48:57]process_action_free close_receipt [15:48:57]json_value_free [15:48:57]json_value_free done [15:48:57]process_json_proto returns [15:48:57]Send response to host [15:48:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22480,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [15:48:57]free response buf [15:48:57]execute_script done [15:48:57]execute_script returns [15:48:57]free content buf [15:48:57]Sock 9.Close socket [15:48:57]Sock 9.Thread stoped [15:49:01]OFD Sender: No OFD packet to send [15:49:06]OFD Sender: No OFD packet to send [15:49:11]OFD Sender: No OFD packet to send [15:49:16]OFD Sender: No OFD packet to send [15:49:21]OFD Sender: No OFD packet to send [15:49:26]OFD Sender: No OFD packet to send [15:49:31]OFD Sender: No OFD packet to send [15:49:36]OFD Sender: No OFD packet to send [15:49:41]OFD Sender: No OFD packet to send [15:49:46]OFD Sender: No OFD packet to send [15:49:51]OFD Sender: No OFD packet to send [15:49:56]OFD Sender: No OFD packet to send [15:50:01]OFD Sender: No OFD packet to send [15:50:06]OFD Sender: No OFD packet to send [15:50:11]OFD Sender: No OFD packet to send [15:50:16]OFD Sender: No OFD packet to send [15:50:21]OFD Sender: No OFD packet to send [15:50:26]OFD Sender: No OFD packet to send [15:50:31]OFD Sender: No OFD packet to send [15:50:36]OFD Sender: No OFD packet to send [15:50:41]OFD Sender: No OFD packet to send [15:50:46]OFD Sender: No OFD packet to send [15:50:51]OFD Sender: No OFD packet to send [15:50:57]OFD Sender: No OFD packet to send [15:51:02]OFD Sender: No OFD packet to send [15:51:07]OFD Sender: No OFD packet to send [15:51:12]OFD Sender: No OFD packet to send [15:51:17]OFD Sender: No OFD packet to send [15:51:22]OFD Sender: No OFD packet to send [15:51:27]OFD Sender: No OFD packet to send [15:51:32]OFD Sender: No OFD packet to send [15:51:37]OFD Sender: No OFD packet to send [15:51:42]OFD Sender: No OFD packet to send [15:51:47]OFD Sender: No OFD packet to send [15:51:52]OFD Sender: No OFD packet to send [15:51:57]OFD Sender: No OFD packet to send [15:52:02]OFD Sender: No OFD packet to send [15:52:07]OFD Sender: No OFD packet to send [15:52:12]OFD Sender: No OFD packet to send [15:52:17]OFD Sender: No OFD packet to send [15:52:22]OFD Sender: No OFD packet to send [15:52:27]OFD Sender: No OFD packet to send [15:52:32]OFD Sender: No OFD packet to send [15:52:37]OFD Sender: No OFD packet to send [15:52:42]OFD Sender: No OFD packet to send [15:52:47]OFD Sender: No OFD packet to send [15:52:52]OFD Sender: No OFD packet to send [15:52:57]OFD Sender: No OFD packet to send [15:53:02]OFD Sender: No OFD packet to send [15:53:07]OFD Sender: No OFD packet to send [15:53:08]accept exits with 7 [15:53:08]New connection [15:53:08]New thread 3067583844 created [15:53:08]Thread 3067440484 joined [15:53:08]Waiting for new connection... [15:53:08] Sock 7.Parse request [15:53:08]Sock 7.Check first char [15:53:08]Sock 7.First char is OK [15:53:08]request: POST /json_proto HTTP/1.0 [15:53:08]Method: POST [15:53:08]URL: /json_proto [15:53:08]Method is POST - this is cgi request [15:53:08]url: /json_proto [15:53:08]query_string will be loaded in cgi processing [15:53:08]execute_cgi json_proto POST (null) [15:53:08]execute_cgi path=json_proto method=POST [15:53:08]POST find Content-Length [15:53:08]Host: 172.17.43.4:8080 [15:53:08]Content-Length: 850 [15:53:08]Content-Type: application/json [15:53:08] [15:53:08]POST finish read [15:53:08]Found Content-Length = 850 [15:53:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51684", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 273.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:53:08]execute_script... [15:53:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51684", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 273.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:53:08]POST & json_proto [15:53:08]process_json_proto [15:53:08]json parsed OK: [15:53:08]protocol is kg_v1.0 [15:53:08]action value=close_receipt [15:53:08]process_action close_receipt [15:53:08]cmd_close_receipt [15:53:08]MH_GetDate [15:53:08]Write to MH i2c: F0 00 00 97 04 8A [15:53:08]Write i2c OK [15:53:08]MH_I2C_Read... [15:53:08]Read from MH i2c: F0 [15:53:08]MH_I2C_Read... [15:53:08]Read from MH i2c: F0 09 00 [15:53:08]MH_I2C_Read... [15:53:08]Read from MH i2c: F0 09 00 97 04 00 E5 31 F4 66 02 BF CF 66 F9 [15:53:08]GetLastDocTimeStamp 1727279334 [15:53:08]current date 1727279589 [15:53:08]FM_GetShiftState [15:53:08]SAM_PROTO_GetShiftState [15:53:08]wFMCommunicate request_size=4 [15:53:08]MH_SAM_APDU [15:53:08]CAPDU: 80 13 01 00 [15:53:08]Write to MH i2c: E2 08 00 98 04 80 13 01 00 00 00 00 00 19 [15:53:08]Write i2c OK [15:53:08]MH_I2C_Read... [15:53:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:53:08]Read from MH i2c: E2 [15:53:08]MH_I2C_Read... [15:53:08]Read from MH i2c: E2 0E 00 [15:53:08]MH_I2C_Read... [15:53:08]Read from MH i2c: E2 0E 00 98 04 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 AA [15:53:08]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [15:53:08]wFMCommunicate OK [15:53:08]SAM_PROTO_GetShiftState done [15:53:08]FM_GetShiftState done [15:53:08]opened in 1727224020 [15:53:08]opened+sec_in_day 1727310420 [15:53:08]quantity*price = 13900 [15:53:08]sum+1 = 13901 [15:53:08]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48741156 Сигареты LD Blue 1.000 * 134.00 = 134.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 273.00 НСП 1% : 2.42 НДС 12% : 28.99 Наличными: 273.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 54 25.09.2024 15:53 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22481 ФПД: 194148600494974 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T155309&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22481&fm=194148600494974&tin=02508201610067®Number=0000000000146243&sum=27300 0 [15:53:09]StoreToDocumentArchive [15:53:09]shift 231 fd 22481 [15:53:09]save to /storage/0231/doc_00022481 [15:53:09]save last doc name /storage/0231/doc_00022481 to /storage/kkm_last_doc_name [15:53:09]save OK [15:53:09]Clear old archive folders... [15:53:09]ProcessDocumentItem done err = 0, tmpTLVsize=369 [15:53:09]tlvbuf is 00237570 [15:53:09]SAM_PROTO_ClearQueue [15:53:09]wFMCommunicate request_size=4 [15:53:09]MH_SAM_APDU [15:53:09]CAPDU: 80 09 00 00 [15:53:09]Write to MH i2c: E2 08 00 A5 04 80 09 00 00 00 00 00 00 1B [15:53:09]Write i2c OK [15:53:09]MH_I2C_Read... [15:53:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:53:09]Read from MH i2c: E2 [15:53:09]MH_I2C_Read... [15:53:09]Read from MH i2c: E2 03 00 [15:53:09]MH_I2C_Read... [15:53:09]Read from MH i2c: E2 03 00 A5 04 00 90 00 1D [15:53:09]RAPDU: 90 00 [15:53:09]wFMCommunicate OK [15:53:09]SAM_PROTO_ClearQueue done [15:53:09]KKMCreateOFDPacket [15:53:09]OFDProtocolAddRootSTLVToBuf [15:53:09]FM_MakeSignedData [15:53:09]FM_MakeSignedData [15:53:09]SAM_PROTO_SignData [15:53:09]wFMCommunicate request_size=4 [15:53:09]MH_SAM_APDU [15:53:09]CAPDU: 80 0D 01 02 [15:53:09]Write to MH i2c: E2 08 00 A6 04 80 0D 01 02 00 00 00 00 23 [15:53:09]Write i2c OK [15:53:09]MH_I2C_Read... [15:53:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:53:09]Read from MH i2c: E2 [15:53:09]MH_I2C_Read... [15:53:09]Read from MH i2c: E2 03 00 [15:53:09]MH_I2C_Read... [15:53:09]Read from MH i2c: E2 03 00 A6 04 00 90 00 1E [15:53:09]RAPDU: 90 00 [15:53:09]wFMCommunicate OK [15:53:09]wFMCommunicate request_size=255 [15:53:09]MH_SAM_APDU [15:53:09]CAPDU: 80 0D 02 02 FA 03 00 71 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 6A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 [15:53:09]Write to MH i2c: E2 02 01 A7 04 80 0D 02 02 FA 00 03 00 71 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 6A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 00 00 2C [15:53:09]Write i2c OK [15:53:09]MH_I2C_Read... [15:53:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:53:10]Read from MH i2c: E2 [15:53:10]MH_I2C_Read... [15:53:10]Read from MH i2c: E2 03 00 [15:53:10]MH_I2C_Read... [15:53:10]Read from MH i2c: E2 03 00 A7 04 00 90 00 1F [15:53:10]RAPDU: 90 00 [15:53:10]wFMCommunicate OK [15:53:10]wFMCommunicate request_size=128 [15:53:10]MH_SAM_APDU [15:53:10]CAPDU: 80 0D 02 02 7B F3 03 06 00 53 0B 00 00 00 00 07 04 06 00 A4 6A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 E5 31 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D1 57 00 00 35 04 06 00 B0 93 BE 5D BB 7E [15:53:10]Write to MH i2c: E2 83 00 A8 04 80 0D 02 02 7B 00 F3 03 06 00 53 0B 00 00 00 00 07 04 06 00 A4 6A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 E5 31 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D1 57 00 00 35 04 06 00 B0 93 BE 5D BB 7E 00 00 0C [15:53:10]Write i2c OK [15:53:10]MH_I2C_Read... [15:53:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:53:10]Read from MH i2c: E2 [15:53:10]MH_I2C_Read... [15:53:10]Read from MH i2c: E2 03 00 [15:53:10]MH_I2C_Read... [15:53:10]Read from MH i2c: E2 03 00 A8 04 00 90 00 20 [15:53:10]RAPDU: 90 00 [15:53:10]wFMCommunicate OK [15:53:10]wFMCommunicate request_size=4 [15:53:10]MH_SAM_APDU [15:53:10]CAPDU: 80 0D 03 02 [15:53:10]Write to MH i2c: E2 08 00 A9 04 80 0D 03 02 00 00 00 00 28 [15:53:10]Write i2c OK [15:53:10]MH_I2C_Read... [15:53:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:53:10]Read from MH i2c: E2 [15:53:10]MH_I2C_Read... [15:53:10]Read from MH i2c: E2 0B 00 [15:53:10]MH_I2C_Read... [15:53:10]Read from MH i2c: E2 0B 00 A9 04 00 4C 7D B7 FF 4E 67 07 FE 90 00 62 [15:53:10]RAPDU: 4C 7D B7 FF 4E 67 07 FE 90 00 [15:53:10]wFMCommunicate OK [15:53:10]SAM_PROTO_SignData done [15:53:10]FM_MakeSignedData done [15:53:10]CreateOFDProtocolMessage [15:53:10]wFMCommunicate request_size=4 [15:53:10]MH_SAM_APDU [15:53:10]CAPDU: 80 11 00 00 [15:53:10]Write to MH i2c: E2 08 00 AA 04 80 11 00 00 00 00 00 00 28 [15:53:10]Write i2c OK [15:53:10]MH_I2C_Read... [15:53:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:53:10]Read from MH i2c: E2 [15:53:10]MH_I2C_Read... [15:53:10]Read from MH i2c: E2 17 00 [15:53:10]MH_I2C_Read... [15:53:10]Read from MH i2c: E2 17 00 AA 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 82 [15:53:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [15:53:10]wFMCommunicate OK [15:53:10]CreateOFDProtocolMessage done [15:53:10]OFDSenderStorePacket 22481 [15:53:10]StoreOFDPacket docnum=22481 [15:53:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 85 01 00 00 DC 9B 7D 01 2C B0 5A 03 01 00 03 00 71 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 6A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 53 0B 00 00 00 00 07 04 06 00 A4 6A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 E5 31 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D1 57 00 00 35 04 06 00 B0 93 BE 5D BB 7E 4C 7D B7 FF 4E 67 07 FE [15:53:10]CheckFolder [15:53:10]dirname=/storage/ofd_packets [15:53:10]CheckFolder done [15:53:10]ProducePacketName [15:53:10]name=ofd_packets/00022481 [15:53:10]NVStorageSaveData ofd_packets/00022481 [15:53:10]File name is /storage/ofd_packets/00022481 [15:53:10]Write 419 bytes [15:53:10]NVStorageSaveData done [15:53:10]OFDSenderStorePacket done [15:53:10]KKMCreateOFDPacket done [15:53:10]NVStorageSaveData kkm_last_timestamp [15:53:10]File name is /storage/kkm_last_timestamp [15:53:10]Write 4 bytes [15:53:10]NVStorageSaveData done [15:53:10]ExternCall_PrintAddStr [15:53:10]wPrintStart [15:53:10]Write to MH i2c: 01 00 00 AB 04 AF [15:53:10]Write i2c OK [15:53:10]MH_I2C_Read... [15:53:10]Read from MH i2c: 01 [15:53:10]MH_I2C_Read... [15:53:10]Read from MH i2c: 01 07 00 [15:53:10]MH_I2C_Read... [15:53:10]Read from MH i2c: 01 07 00 AB 04 00 00 00 00 00 FF 0F C4 [15:53:10]RasterBufferAndPrint [15:53:10]line Счет N : (3)51684 [15:53:10]line ИНН: 02508201610067 [15:53:10]line Контрольно-Кассовый Чек [15:53:10]line ПРОДАЖА [15:53:10]line Товар: 48741224 [15:53:10]line Сигареты Winston Super Slims Blue [15:53:10]line 1.000 * 139.00 [15:53:10]line = 139.00 [15:53:10]line НДС 12% НСП 1% [15:53:10]line > о реализуемом товаре [15:53:10]line Товар: 48741156 [15:53:10]line Сигареты LD Blue [15:53:10]line 1.000 * 134.00 [15:53:10]line = 134.00 [15:53:10]line НДС 12% НСП 1% [15:53:10]line > о реализуемом товаре [15:53:10]line ИТОГО: 273.00 [15:53:10]line НСП 1% : 2.42 [15:53:10]line НДС 12% : 28.99 [15:53:10]line Наличными: 273.00 [15:53:10]line Безнал.: 0.00 [15:53:10]line Место: АЗС № 88 "Партнер Нефть" [15:53:10]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [15:53:10]line СНО: Общий режим [15:53:10]line Чек 54 25.09.2024 15:53 [15:53:10]line Смена: 231 ФФД: 1.0 [15:53:10]line ЗНМ: 0300000061 [15:53:10]line РНМ: 0000000000146243 [15:53:10]line Версия ККМ: v1.0 [15:53:10]line ФМ: 0000000000959358 [15:53:10]line ФД: 22481 [15:53:10]line ФПД: 194148600494974 [15:53:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T155309&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22481&fm=194148600494974&tin=02508201610067®Number=0000000000146243&sum=27300 [15:53:10]line 0 [15:53:10]OFD Sender: Processing packet 22481 [packets to send 23, broken 22] [15:53:10]ProducePacketName [15:53:10]name=ofd_packets/00022481 [15:53:10]OFD Sender: To server: pG, [15:53:10]CommunicateWithHost lk.salyk.kg:30040 [15:53:10]ConnectInit lk.salyk.kg [15:53:10]written 0, free lines is 4095 [15:53:10]Connected sock=10 [15:53:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 85 01 00 00 DC 9B 7D 01 2C B0 5A 03 01 00 03 00 71 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 6A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 53 0B 00 00 00 00 07 04 06 00 A4 6A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 E5 31 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D1 57 00 00 35 04 06 00 B0 93 BE 5D BB 7E 4C 7D B7 FF 4E 67 07 FE [15:53:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 28 E9 47 00 AF EF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D1 57 00 00 F4 03 04 00 07 DC F3 66 B6 04 01 00 00 EC EC 6E 8D 79 D2 CE 8D [15:53:11]CommunicateWithHost err = 0 [15:53:11]CheckOFDResponse [15:53:11]1017 (14) - 77093643461234 [15:53:11]1041 (16) - 0000000000959358 [15:53:11]1040 (4) - 22481 [15:53:11]1012 (4) - 25.09.2024 09:46 [15:53:11]1206 (1) - 0 [15:53:11]OFD Sender: Remove packet 22481 [15:53:11]ProducePacketName [15:53:11]name=ofd_packets/00022481 [15:53:11]NVStorageDeleteData [15:53:11]Write to MH i2c: 01 00 00 DA 04 DE [15:53:11]Write i2c OK [15:53:11]MH_I2C_Read... [15:53:11]Read from MH i2c: 01 [15:53:11]MH_I2C_Read... [15:53:11]Read from MH i2c: 01 07 00 [15:53:11]MH_I2C_Read... [15:53:11]Read from MH i2c: 01 07 00 DA 04 00 00 00 00 00 DC 0C CD [15:53:11]RasterBufferAndPrint [15:53:11]line [15:53:11]line [15:53:11]line [15:53:11]line [15:53:11]line [15:53:11]written 0, free lines is 3301 [15:53:11]MH_Cut [15:53:11]Write to MH i2c: D1 01 00 E1 04 01 B7 [15:53:11]Write i2c OK [15:53:11]MH_I2C_Read... [15:53:11]Read from MH i2c: D1 [15:53:11]MH_I2C_Read... [15:53:11]Read from MH i2c: D1 01 00 [15:53:11]MH_I2C_Read... [15:53:11]Read from MH i2c: D1 01 00 E1 04 00 B6 [15:53:11]Write to MH i2c: 01 00 00 E2 04 E6 [15:53:11]Write i2c OK [15:53:11]MH_I2C_Read... [15:53:11]OFD Sender: No OFD packet to send [15:53:12]*** Cut start [15:53:12]*** Partial cut [15:53:12]*** CUTSNS_PIN = 1 [15:53:12]*** CUTSNS_PIN = 0 [15:53:12]*** Brake cut motor [15:53:12]Read from MH i2c: 01 [15:53:12]MH_I2C_Read... [15:53:12]*** Stop cut motor [15:53:12]*** Cut end [15:53:12]Read from MH i2c: 01 07 00 [15:53:12]MH_I2C_Read... [15:53:12]Read from MH i2c: 01 07 00 E2 04 00 00 00 00 00 FF 0F FB [15:53:12]process_action close_receipt done [15:53:12]requested_data is exist [15:53:12]produce_requested_data [15:53:12]requested_item fm.sn is exist - process it [15:53:12]wFMCommunicate request_size=4 [15:53:12]MH_SAM_APDU [15:53:12]CAPDU: 80 11 00 00 [15:53:12]Write to MH i2c: E2 08 00 E3 04 80 11 00 00 00 00 00 00 61 [15:53:12]Write i2c OK [15:53:12]MH_I2C_Read... [15:53:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:53:12]Read from MH i2c: E2 [15:53:12]MH_I2C_Read... [15:53:12]Read from MH i2c: E2 17 00 [15:53:12]MH_I2C_Read... [15:53:12]Read from MH i2c: E2 17 00 E3 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 BB [15:53:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [15:53:12]wFMCommunicate OK [15:53:12]requested_item fd.num is exist - process it [15:53:12]SAM_PROTO_GetFieldsCounters [15:53:12]wFMCommunicate request_size=4 [15:53:12]MH_SAM_APDU [15:53:12]CAPDU: 80 13 00 00 [15:53:12]Write to MH i2c: E2 08 00 E4 04 80 13 00 00 00 00 00 00 64 [15:53:12]Write i2c OK [15:53:12]MH_I2C_Read... [15:53:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:53:12]Read from MH i2c: E2 [15:53:12]MH_I2C_Read... [15:53:12]Read from MH i2c: E2 62 00 [15:53:12]MH_I2C_Read... [15:53:12]Read from MH i2c: E2 62 00 E4 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 D1 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 38 [15:53:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 D1 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:53:12]wFMCommunicate OK [15:53:12]SAM_PROTO_GetFieldsCounters done [15:53:12]requested_item shift.num is exist - process it [15:53:12]requested_item shift.opened is exist - process it [15:53:12]req_shift_opened [15:53:12]FM_GetShiftState [15:53:12]SAM_PROTO_GetShiftState [15:53:12]wFMCommunicate request_size=4 [15:53:12]MH_SAM_APDU [15:53:12]CAPDU: 80 13 01 00 [15:53:12]Write to MH i2c: E2 08 00 E5 04 80 13 01 00 00 00 00 00 66 [15:53:12]Write i2c OK [15:53:12]MH_I2C_Read... [15:53:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:53:12]Read from MH i2c: E2 [15:53:12]MH_I2C_Read... [15:53:12]Read from MH i2c: E2 0E 00 [15:53:12]MH_I2C_Read... [15:53:12]Read from MH i2c: E2 0E 00 E5 04 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 F7 [15:53:12]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [15:53:12]wFMCommunicate OK [15:53:12]SAM_PROTO_GetShiftState done [15:53:12]FM_GetShiftState done [15:53:12]req_shift_opened done [15:53:12]requested_item shift.open_date is exist - process it [15:53:12]req_shift_open_date [15:53:12]req_shift_open_date done [15:53:12]produce_requested_data done [15:53:12]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22481,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [15:53:12]process_action_free close_receipt [15:53:12]json_value_free [15:53:12]json_value_free done [15:53:12]process_json_proto returns [15:53:12]Send response to host [15:53:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22481,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [15:53:12]free response buf [15:53:12]execute_script done [15:53:12]execute_script returns [15:53:12]free content buf [15:53:12]Sock 7.Close socket [15:53:12]Sock 7.Thread stoped [15:53:16]OFD Sender: No OFD packet to send [15:53:21]OFD Sender: No OFD packet to send [15:53:26]OFD Sender: No OFD packet to send [15:53:31]OFD Sender: No OFD packet to send [15:53:36]OFD Sender: No OFD packet to send [15:53:41]OFD Sender: No OFD packet to send [15:53:46]OFD Sender: No OFD packet to send [15:53:51]OFD Sender: No OFD packet to send [15:53:56]OFD Sender: No OFD packet to send [15:54:01]OFD Sender: No OFD packet to send [15:54:06]OFD Sender: No OFD packet to send [15:54:11]OFD Sender: No OFD packet to send [15:54:16]OFD Sender: No OFD packet to send [15:54:21]OFD Sender: No OFD packet to send [15:54:26]OFD Sender: No OFD packet to send [15:54:31]OFD Sender: No OFD packet to send [15:54:36]OFD Sender: No OFD packet to send [15:54:41]OFD Sender: No OFD packet to send [15:54:46]OFD Sender: No OFD packet to send [15:54:51]OFD Sender: No OFD packet to send [15:54:56]OFD Sender: No OFD packet to send [15:55:01]OFD Sender: No OFD packet to send [15:55:06]OFD Sender: No OFD packet to send [15:55:11]OFD Sender: No OFD packet to send [15:55:16]OFD Sender: No OFD packet to send [15:55:21]OFD Sender: No OFD packet to send [15:55:26]OFD Sender: No OFD packet to send [15:55:31]OFD Sender: No OFD packet to send [15:55:36]OFD Sender: No OFD packet to send [15:55:41]OFD Sender: No OFD packet to send [15:55:46]OFD Sender: No OFD packet to send [15:55:51]OFD Sender: No OFD packet to send [15:55:56]OFD Sender: No OFD packet to send [15:56:01]OFD Sender: No OFD packet to send [15:56:06]OFD Sender: No OFD packet to send [15:56:11]OFD Sender: No OFD packet to send [15:56:17]OFD Sender: No OFD packet to send [15:56:22]OFD Sender: No OFD packet to send [15:56:27]OFD Sender: No OFD packet to send [15:56:32]OFD Sender: No OFD packet to send [15:56:37]OFD Sender: No OFD packet to send [15:56:42]OFD Sender: No OFD packet to send [15:56:47]OFD Sender: No OFD packet to send [15:56:52]OFD Sender: No OFD packet to send [15:56:57]OFD Sender: No OFD packet to send [15:57:02]OFD Sender: No OFD packet to send [15:57:07]OFD Sender: No OFD packet to send [15:57:12]OFD Sender: No OFD packet to send [15:57:17]OFD Sender: No OFD packet to send [15:57:22]OFD Sender: No OFD packet to send [15:57:27]OFD Sender: No OFD packet to send [15:57:32]OFD Sender: No OFD packet to send [15:57:37]OFD Sender: No OFD packet to send [15:57:42]OFD Sender: No OFD packet to send [15:57:47]OFD Sender: No OFD packet to send [15:57:52]OFD Sender: No OFD packet to send [15:57:57]OFD Sender: No OFD packet to send [15:58:02]OFD Sender: No OFD packet to send [15:58:07]OFD Sender: No OFD packet to send [15:58:12]OFD Sender: No OFD packet to send [15:58:17]OFD Sender: No OFD packet to send [15:58:22]OFD Sender: No OFD packet to send [15:58:27]OFD Sender: No OFD packet to send [15:58:32]OFD Sender: No OFD packet to send [15:58:37]OFD Sender: No OFD packet to send [15:58:42]OFD Sender: No OFD packet to send [15:58:47]OFD Sender: No OFD packet to send [15:58:52]OFD Sender: No OFD packet to send [15:58:57]OFD Sender: No OFD packet to send [15:59:02]OFD Sender: No OFD packet to send [15:59:07]OFD Sender: No OFD packet to send [15:59:12]OFD Sender: No OFD packet to send [15:59:17]OFD Sender: No OFD packet to send [15:59:22]OFD Sender: No OFD packet to send [15:59:27]OFD Sender: No OFD packet to send [15:59:32]OFD Sender: No OFD packet to send [15:59:37]OFD Sender: No OFD packet to send [15:59:42]OFD Sender: No OFD packet to send [15:59:47]OFD Sender: No OFD packet to send [15:59:52]OFD Sender: No OFD packet to send [15:59:52]accept exits with 9 [15:59:52]New connection [15:59:52]New thread 3067440484 created [15:59:52]Thread 3067583844 joined [15:59:52]Waiting for new connection... [15:59:52] Sock 9.Parse request [15:59:52]Sock 9.Check first char [15:59:52]Sock 9.First char is OK [15:59:52]request: POST /json_proto HTTP/1.0 [15:59:52]Method: POST [15:59:52]URL: /json_proto [15:59:52]Method is POST - this is cgi request [15:59:52]url: /json_proto [15:59:52]query_string will be loaded in cgi processing [15:59:52]execute_cgi json_proto POST (null) [15:59:52]execute_cgi path=json_proto method=POST [15:59:52]POST find Content-Length [15:59:52]Host: 172.17.43.4:8080 [15:59:52]Content-Length: 749 [15:59:52]Content-Type: application/json [15:59:52] [15:59:52]POST finish read [15:59:52]Found Content-Length = 749 [15:59:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51685", "tax_sys" : 0, "items" : [ { "code": "4620006996716", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,1\u043B", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:59:52]execute_script... [15:59:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51685", "tax_sys" : 0, "items" : [ { "code": "4620006996716", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,1\u043B", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:59:52]POST & json_proto [15:59:52]process_json_proto [15:59:52]json parsed OK: [15:59:52]protocol is kg_v1.0 [15:59:52]action value=close_receipt [15:59:52]process_action close_receipt [15:59:52]cmd_close_receipt [15:59:52]MH_GetDate [15:59:52]Write to MH i2c: F0 00 00 E6 04 D9 [15:59:52]Write i2c OK [15:59:52]MH_I2C_Read... [15:59:52]Read from MH i2c: F0 [15:59:52]MH_I2C_Read... [15:59:52]Read from MH i2c: F0 09 00 [15:59:52]MH_I2C_Read... [15:59:52]Read from MH i2c: F0 09 00 E6 04 00 79 33 F4 66 02 BF CF 66 DE [15:59:52]GetLastDocTimeStamp 1727279589 [15:59:52]current date 1727279993 [15:59:52]FM_GetShiftState [15:59:52]SAM_PROTO_GetShiftState [15:59:52]wFMCommunicate request_size=4 [15:59:52]MH_SAM_APDU [15:59:52]CAPDU: 80 13 01 00 [15:59:52]Write to MH i2c: E2 08 00 E7 04 80 13 01 00 00 00 00 00 68 [15:59:52]Write i2c OK [15:59:52]MH_I2C_Read... [15:59:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:59:52]Read from MH i2c: E2 [15:59:52]MH_I2C_Read... [15:59:52]Read from MH i2c: E2 0E 00 [15:59:52]MH_I2C_Read... [15:59:52]Read from MH i2c: E2 0E 00 E7 04 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 F9 [15:59:52]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [15:59:52]wFMCommunicate OK [15:59:52]SAM_PROTO_GetShiftState done [15:59:52]FM_GetShiftState done [15:59:52]opened in 1727224020 [15:59:52]opened+sec_in_day 1727310420 [15:59:52]quantity*price = 0 [15:59:52]sum+1 = 1 [15:59:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 55 25.09.2024 15:59 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000959358 ФД: 22482 ФПД: 22465543349673 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T155953&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22482&fm=22465543349673&tin=02508201610067®Number=0000000000146243&sum=0 0 [15:59:53]StoreToDocumentArchive [15:59:53]shift 231 fd 22482 [15:59:53]save to /storage/0231/doc_00022482 [15:59:53]save last doc name /storage/0231/doc_00022482 to /storage/kkm_last_doc_name [15:59:53]save OK [15:59:53]Clear old archive folders... [15:59:53]ProcessDocumentItem done err = 0, tmpTLVsize=269 [15:59:53]tlvbuf is 0021AB80 [15:59:53]SAM_PROTO_ClearQueue [15:59:53]wFMCommunicate request_size=4 [15:59:53]MH_SAM_APDU [15:59:53]CAPDU: 80 09 00 00 [15:59:53]Write to MH i2c: E2 08 00 F4 04 80 09 00 00 00 00 00 00 6A [15:59:53]Write i2c OK [15:59:53]MH_I2C_Read... [15:59:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:59:53]Read from MH i2c: E2 [15:59:53]MH_I2C_Read... [15:59:53]Read from MH i2c: E2 03 00 [15:59:53]MH_I2C_Read... [15:59:53]Read from MH i2c: E2 03 00 F4 04 00 90 00 6C [15:59:53]RAPDU: 90 00 [15:59:53]wFMCommunicate OK [15:59:53]SAM_PROTO_ClearQueue done [15:59:53]KKMCreateOFDPacket [15:59:53]OFDProtocolAddRootSTLVToBuf [15:59:53]FM_MakeSignedData [15:59:53]FM_MakeSignedData [15:59:53]SAM_PROTO_SignData [15:59:53]wFMCommunicate request_size=4 [15:59:53]MH_SAM_APDU [15:59:53]CAPDU: 80 0D 01 02 [15:59:53]Write to MH i2c: E2 08 00 F5 04 80 0D 01 02 00 00 00 00 72 [15:59:53]Write i2c OK [15:59:53]MH_I2C_Read... [15:59:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:59:53]Read from MH i2c: E2 [15:59:53]MH_I2C_Read... [15:59:53]Read from MH i2c: E2 03 00 [15:59:53]MH_I2C_Read... [15:59:53]Read from MH i2c: E2 03 00 F5 04 00 90 00 6D [15:59:53]RAPDU: 90 00 [15:59:53]wFMCommunicate OK [15:59:53]wFMCommunicate request_size=255 [15:59:53]MH_SAM_APDU [15:59:53]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 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 37 00 00 00 F4 03 04 00 79 33 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [15:59:53]Write to MH i2c: E2 02 01 F6 04 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 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 37 00 00 00 F4 03 04 00 79 33 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 F6 [15:59:53]Write i2c OK [15:59:53]MH_I2C_Read... [15:59:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:59:54]Read from MH i2c: E2 [15:59:54]MH_I2C_Read... [15:59:54]Read from MH i2c: E2 03 00 [15:59:54]MH_I2C_Read... [15:59:54]Read from MH i2c: E2 03 00 F6 04 00 90 00 6E [15:59:54]RAPDU: 90 00 [15:59:54]wFMCommunicate OK [15:59:54]wFMCommunicate request_size=28 [15:59:54]MH_SAM_APDU [15:59:54]CAPDU: 80 0D 02 02 17 35 39 33 35 38 10 04 04 00 D2 57 00 00 35 04 06 00 14 6E AA BB 25 A9 [15:59:54]Write to MH i2c: E2 1F 00 F7 04 80 0D 02 02 17 00 35 39 33 35 38 10 04 04 00 D2 57 00 00 35 04 06 00 14 6E AA BB 25 A9 00 00 E6 [15:59:54]Write i2c OK [15:59:54]MH_I2C_Read... [15:59:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:59:54]Read from MH i2c: E2 [15:59:54]MH_I2C_Read... [15:59:54]Read from MH i2c: E2 03 00 [15:59:54]MH_I2C_Read... [15:59:54]Read from MH i2c: E2 03 00 F7 04 00 90 00 6F [15:59:54]RAPDU: 90 00 [15:59:54]wFMCommunicate OK [15:59:54]wFMCommunicate request_size=4 [15:59:54]MH_SAM_APDU [15:59:54]CAPDU: 80 0D 03 02 [15:59:54]Write to MH i2c: E2 08 00 F8 04 80 0D 03 02 00 00 00 00 77 [15:59:54]Write i2c OK [15:59:54]MH_I2C_Read... [15:59:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:59:54]Read from MH i2c: E2 [15:59:54]MH_I2C_Read... [15:59:54]Read from MH i2c: E2 0B 00 [15:59:54]MH_I2C_Read... [15:59:54]Read from MH i2c: E2 0B 00 F8 04 00 9B D2 5D 71 16 28 B0 DE 90 00 7F [15:59:54]RAPDU: 9B D2 5D 71 16 28 B0 DE 90 00 [15:59:54]wFMCommunicate OK [15:59:54]SAM_PROTO_SignData done [15:59:54]FM_MakeSignedData done [15:59:54]CreateOFDProtocolMessage [15:59:54]wFMCommunicate request_size=4 [15:59:54]MH_SAM_APDU [15:59:54]CAPDU: 80 11 00 00 [15:59:54]Write to MH i2c: E2 08 00 F9 04 80 11 00 00 00 00 00 00 77 [15:59:54]Write i2c OK [15:59:54]MH_I2C_Read... [15:59:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:59:54]Read from MH i2c: E2 [15:59:54]MH_I2C_Read... [15:59:54]Read from MH i2c: E2 17 00 [15:59:54]MH_I2C_Read... [15:59:54]Read from MH i2c: E2 17 00 F9 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 D1 [15:59:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [15:59:54]wFMCommunicate OK [15:59:54]CreateOFDProtocolMessage done [15:59:54]OFDSenderStorePacket 22482 [15:59:54]StoreOFDPacket docnum=22482 [15:59:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 21 01 00 00 95 9E 19 01 0B 67 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 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 37 00 00 00 F4 03 04 00 79 33 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D2 57 00 00 35 04 06 00 14 6E AA BB 25 A9 9B D2 5D 71 16 28 B0 DE [15:59:54]CheckFolder [15:59:54]dirname=/storage/ofd_packets [15:59:54]CheckFolder done [15:59:54]ProducePacketName [15:59:54]name=ofd_packets/00022482 [15:59:54]NVStorageSaveData ofd_packets/00022482 [15:59:54]File name is /storage/ofd_packets/00022482 [15:59:54]Write 319 bytes [15:59:54]NVStorageSaveData done [15:59:54]OFDSenderStorePacket done [15:59:54]KKMCreateOFDPacket done [15:59:54]NVStorageSaveData kkm_last_timestamp [15:59:54]File name is /storage/kkm_last_timestamp [15:59:54]Write 4 bytes [15:59:54]NVStorageSaveData done [15:59:54]ExternCall_PrintAddStr [15:59:54]wPrintStart [15:59:54]Write to MH i2c: 01 00 00 FA 04 FE [15:59:54]Write i2c OK [15:59:54]MH_I2C_Read... [15:59:54]Read from MH i2c: 01 [15:59:54]MH_I2C_Read... [15:59:54]Read from MH i2c: 01 07 00 [15:59:54]MH_I2C_Read... [15:59:54]Read from MH i2c: 01 07 00 FA 04 00 00 00 00 00 FF 0F 13 [15:59:54]RasterBufferAndPrint [15:59:54]line Счет N : (3)51685 [15:59:54]line ИНН: 02508201610067 [15:59:54]line Контрольно-Кассовый Чек [15:59:54]line ПРОДАЖА [15:59:54]line Товар: 4620006996716 [15:59:54]line Водка Талка 0,1л [15:59:54]line 1.000 * 0.00 [15:59:54]line = 0.00 [15:59:54]line НДС 12% НСП 1% [15:59:54]line > о реализуемом товаре [15:59:54]line ИТОГО: 0.00 [15:59:54]line НСП 1% : 0.00 [15:59:54]line НДС 12% : 0.00 [15:59:54]line Наличными: 0.00 [15:59:54]line Безнал.: 0.00 [15:59:54]line Место: АЗС № 88 "Партнер Нефть" [15:59:54]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [15:59:54]line СНО: Общий режим [15:59:54]line Чек 55 25.09.2024 15:59 [15:59:54]line Смена: 231 ФФД: 1.0 [15:59:54]line ЗНМ: 0300000061 [15:59:54]line РНМ: 0000000000146243 [15:59:54]line Версия ККМ: v1.0 [15:59:54]line Платежная система: Mbank [15:59:54]line ФМ: 0000000000959358 [15:59:54]line ФД: 22482 [15:59:54]line ФПД: 22465543349673 [15:59:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T155953&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22482&fm=22465543349673&tin=02508201610067®Number=0000000000146243&sum=0 [15:59:54]line 0 [15:59:54]OFD Sender: Processing packet 22482 [packets to send 23, broken 22] [15:59:54]ProducePacketName [15:59:54]name=ofd_packets/00022482 [15:59:54]OFD Sender: To server: pG, [15:59:54]CommunicateWithHost lk.salyk.kg:30040 [15:59:54]ConnectInit lk.salyk.kg [15:59:54]written 0, free lines is 4095 [15:59:55]Write to MH i2c: 01 00 00 23 05 28 [15:59:55]Write i2c OK [15:59:55]MH_I2C_Read... [15:59:55]Read from MH i2c: 01 [15:59:55]MH_I2C_Read... [15:59:55]Read from MH i2c: 01 07 00 [15:59:55]MH_I2C_Read... [15:59:55]Read from MH i2c: 01 07 00 23 05 00 00 00 00 00 19 0D 55 [15:59:55]RasterBufferAndPrint [15:59:55]line [15:59:55]line [15:59:55]line [15:59:55]line [15:59:55]line [15:59:55]written 0, free lines is 3359 [15:59:55]MH_Cut [15:59:55]Write to MH i2c: D1 01 00 2A 05 01 01 [15:59:55]Write i2c OK [15:59:55]MH_I2C_Read... [15:59:55]Read from MH i2c: D1 [15:59:55]MH_I2C_Read... [15:59:55]Read from MH i2c: D1 01 00 [15:59:55]MH_I2C_Read... [15:59:55]Read from MH i2c: D1 01 00 2A 05 00 00 [15:59:55]Write to MH i2c: 01 00 00 2B 05 30 [15:59:55]Write i2c OK [15:59:55]MH_I2C_Read... [15:59:55]Connected sock=11 [15:59:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 21 01 00 00 95 9E 19 01 0B 67 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 36 37 31 36 06 04 1B 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A2 D0 B0 D0 BB D0 BA D0 B0 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 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 37 00 00 00 F4 03 04 00 79 33 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D2 57 00 00 35 04 06 00 14 6E AA BB 25 A9 9B D2 5D 71 16 28 B0 DE [15:59:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 BB 04 47 00 23 46 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D2 57 00 00 F4 03 04 00 9B DD F3 66 B6 04 01 00 00 34 D9 F0 2F C6 6B DB A8 [15:59:55]CommunicateWithHost err = 0 [15:59:55]CheckOFDResponse [15:59:55]1017 (14) - 77093643461234 [15:59:55]1041 (16) - 0000000000959358 [15:59:55]1040 (4) - 22482 [15:59:55]1012 (4) - 25.09.2024 09:53 [15:59:55]1206 (1) - 0 [15:59:55]OFD Sender: Remove packet 22482 [15:59:55]ProducePacketName [15:59:55]name=ofd_packets/00022482 [15:59:55]NVStorageDeleteData [15:59:55]*** Cut start [15:59:55]*** Partial cut [15:59:55]*** CUTSNS_PIN = 1 [15:59:55]*** CUTSNS_PIN = 0 [15:59:55]OFD Sender: No OFD packet to send [15:59:55]*** Brake cut motor [15:59:56]Read from MH i2c: 01 [15:59:56]MH_I2C_Read... [15:59:56]*** Stop cut motor [15:59:56]Read from MH i2c: 01 *** Cut end [15:59:56]07 00 [15:59:56]MH_I2C_Read... [15:59:56]Read from MH i2c: 01 07 00 2B 05 00 00 00 00 00 FF 0F 45 [15:59:56]process_action close_receipt done [15:59:56]requested_data is exist [15:59:56]produce_requested_data [15:59:56]requested_item fm.sn is exist - process it [15:59:56]wFMCommunicate request_size=4 [15:59:56]MH_SAM_APDU [15:59:56]CAPDU: 80 11 00 00 [15:59:56]Write to MH i2c: E2 08 00 2C 05 80 11 00 00 00 00 00 00 AB [15:59:56]Write i2c OK [15:59:56]MH_I2C_Read... [15:59:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:59:56]Read from MH i2c: E2 [15:59:56]MH_I2C_Read... [15:59:56]Read from MH i2c: E2 17 00 [15:59:56]MH_I2C_Read... [15:59:56]Read from MH i2c: E2 17 00 2C 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 05 [15:59:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [15:59:56]wFMCommunicate OK [15:59:56]requested_item fd.num is exist - process it [15:59:56]SAM_PROTO_GetFieldsCounters [15:59:56]wFMCommunicate request_size=4 [15:59:56]MH_SAM_APDU [15:59:56]CAPDU: 80 13 00 00 [15:59:56]Write to MH i2c: E2 08 00 2D 05 80 13 00 00 00 00 00 00 AE [15:59:56]Write i2c OK [15:59:56]MH_I2C_Read... [15:59:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:59:56]Read from MH i2c: E2 [15:59:56]MH_I2C_Read... [15:59:56]Read from MH i2c: E2 62 00 [15:59:56]MH_I2C_Read... [15:59:56]Read from MH i2c: E2 62 00 2D 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 D2 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 86 [15:59:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 D2 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:59:56]wFMCommunicate OK [15:59:56]SAM_PROTO_GetFieldsCounters done [15:59:56]requested_item shift.num is exist - process it [15:59:56]requested_item shift.opened is exist - process it [15:59:56]req_shift_opened [15:59:56]FM_GetShiftState [15:59:56]SAM_PROTO_GetShiftState [15:59:56]wFMCommunicate request_size=4 [15:59:56]MH_SAM_APDU [15:59:56]CAPDU: 80 13 01 00 [15:59:56]Write to MH i2c: E2 08 00 2E 05 80 13 01 00 00 00 00 00 B0 [15:59:56]Write i2c OK [15:59:56]MH_I2C_Read... [15:59:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:59:56]Read from MH i2c: E2 [15:59:56]MH_I2C_Read... [15:59:56]Read from MH i2c: E2 0E 00 [15:59:56]MH_I2C_Read... [15:59:56]Read from MH i2c: E2 0E 00 2E 05 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 41 [15:59:56]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [15:59:56]wFMCommunicate OK [15:59:56]SAM_PROTO_GetShiftState done [15:59:56]FM_GetShiftState done [15:59:56]req_shift_opened done [15:59:56]requested_item shift.open_date is exist - process it [15:59:56]req_shift_open_date [15:59:56]req_shift_open_date done [15:59:56]produce_requested_data done [15:59:56]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22482,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [15:59:56]process_action_free close_receipt [15:59:56]json_value_free [15:59:56]json_value_free done [15:59:56]process_json_proto returns [15:59:56]Send response to host [15:59:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22482,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [15:59:56]free response buf [15:59:56]execute_script done [15:59:56]execute_script returns [15:59:56]free content buf [15:59:56]Sock 9.Close socket [15:59:56]Sock 9.Thread stoped [16:00:00]OFD Sender: No OFD packet to send [16:00:05]OFD Sender: No OFD packet to send [16:00:10]OFD Sender: No OFD packet to send [16:00:15]OFD Sender: No OFD packet to send [16:00:20]OFD Sender: No OFD packet to send [16:00:25]OFD Sender: No OFD packet to send [16:00:30]OFD Sender: No OFD packet to send [16:00:35]OFD Sender: No OFD packet to send [16:00:40]OFD Sender: No OFD packet to send [16:00:45]OFD Sender: No OFD packet to send [16:00:50]OFD Sender: No OFD packet to send [16:00:55]OFD Sender: No OFD packet to send [16:01:00]OFD Sender: No OFD packet to send [16:01:05]OFD Sender: No OFD packet to send [16:01:10]OFD Sender: No OFD packet to send [16:01:15]OFD Sender: No OFD packet to send [16:01:20]OFD Sender: No OFD packet to send [16:01:25]OFD Sender: No OFD packet to send [16:01:30]OFD Sender: No OFD packet to send [16:01:35]OFD Sender: No OFD packet to send [16:01:40]OFD Sender: No OFD packet to send [16:01:45]OFD Sender: No OFD packet to send [16:01:50]OFD Sender: No OFD packet to send [16:01:55]OFD Sender: No OFD packet to send [16:02:00]OFD Sender: No OFD packet to send [16:02:05]OFD Sender: No OFD packet to send [16:02:10]OFD Sender: No OFD packet to send [16:02:15]OFD Sender: No OFD packet to send [16:02:20]OFD Sender: No OFD packet to send [16:02:25]OFD Sender: No OFD packet to send [16:02:27]accept exits with 7 [16:02:27]New connection [16:02:27]New thread 3067583844 created [16:02:27]Thread 3067440484 joined [16:02:27]Waiting for new connection... [16:02:27] Sock 7.Parse request [16:02:27]Sock 7.Check first char [16:02:27]Sock 7.First char is OK [16:02:27]request: POST /json_proto HTTP/1.0 [16:02:27]Method: POST [16:02:27]URL: /json_proto [16:02:27]Method is POST - this is cgi request [16:02:27]url: /json_proto [16:02:27]query_string will be loaded in cgi processing [16:02:27]execute_cgi json_proto POST (null) [16:02:27]execute_cgi path=json_proto method=POST [16:02:27]POST find Content-Length [16:02:27]Host: 172.17.43.4:8080 [16:02:27]Content-Length: 810 [16:02:27]Content-Type: application/json [16:02:27] [16:02:27]POST finish read [16:02:27]Found Content-Length = 810 [16:02:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51686", "tax_sys" : 0, "items" : [ { "code": "4700003010483", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u044F\u0431\u043B\u043E\u043A\u043E \u041F\u042D\u0422 0,5\u043B", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:02:27]execute_script... [16:02:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51686", "tax_sys" : 0, "items" : [ { "code": "4700003010483", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u044F\u0431\u043B\u043E\u043A\u043E \u041F\u042D\u0422 0,5\u043B", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:02:27]POST & json_proto [16:02:27]process_json_proto [16:02:27]json parsed OK: [16:02:27]protocol is kg_v1.0 [16:02:27]action value=close_receipt [16:02:27]process_action close_receipt [16:02:27]cmd_close_receipt [16:02:27]MH_GetDate [16:02:27]Write to MH i2c: F0 00 00 2F 05 23 [16:02:27]Write i2c OK [16:02:27]MH_I2C_Read... [16:02:27]Read from MH i2c: F0 [16:02:27]MH_I2C_Read... [16:02:27]Read from MH i2c: F0 09 00 [16:02:27]MH_I2C_Read... [16:02:27]Read from MH i2c: F0 09 00 2F 05 00 14 34 F4 66 02 BF CF 66 C4 [16:02:27]GetLastDocTimeStamp 1727279993 [16:02:27]current date 1727280148 [16:02:27]FM_GetShiftState [16:02:27]SAM_PROTO_GetShiftState [16:02:27]wFMCommunicate request_size=4 [16:02:27]MH_SAM_APDU [16:02:27]CAPDU: 80 13 01 00 [16:02:27]Write to MH i2c: E2 08 00 30 05 80 13 01 00 00 00 00 00 B2 [16:02:27]Write i2c OK [16:02:27]MH_I2C_Read... [16:02:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:02:27]Read from MH i2c: E2 [16:02:27]MH_I2C_Read... [16:02:27]Read from MH i2c: E2 0E 00 [16:02:27]MH_I2C_Read... [16:02:27]Read from MH i2c: E2 0E 00 30 05 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 43 [16:02:27]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [16:02:27]wFMCommunicate OK [16:02:27]SAM_PROTO_GetShiftState done [16:02:27]FM_GetShiftState done [16:02:27]opened in 1727224020 [16:02:27]opened+sec_in_day 1727310420 [16:02:27]quantity*price = 0 [16:02:27]sum+1 = 1 [16:02:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 56 25.09.2024 16:02 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000959358 ФД: 22483 ФПД: 250335610392771 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T160228&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22483&fm=250335610392771&tin=02508201610067®Number=0000000000146243&sum=0 0 [16:02:28]StoreToDocumentArchive [16:02:28]shift 231 fd 22483 [16:02:28]save to /storage/0231/doc_00022483 [16:02:28]save last doc name /storage/0231/doc_00022483 to /storage/kkm_last_doc_name [16:02:28]save OK [16:02:28]Clear old archive folders... [16:02:28]ProcessDocumentItem done err = 0, tmpTLVsize=298 [16:02:28]tlvbuf is 001FE1F0 [16:02:28]SAM_PROTO_ClearQueue [16:02:28]wFMCommunicate request_size=4 [16:02:28]MH_SAM_APDU [16:02:28]CAPDU: 80 09 00 00 [16:02:28]Write to MH i2c: E2 08 00 3D 05 80 09 00 00 00 00 00 00 B4 [16:02:28]Write i2c OK [16:02:28]MH_I2C_Read... [16:02:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:02:28]Read from MH i2c: E2 [16:02:28]MH_I2C_Read... [16:02:28]Read from MH i2c: E2 03 00 [16:02:28]MH_I2C_Read... [16:02:28]Read from MH i2c: E2 03 00 3D 05 00 90 00 B6 [16:02:28]RAPDU: 90 00 [16:02:28]wFMCommunicate OK [16:02:28]SAM_PROTO_ClearQueue done [16:02:28]KKMCreateOFDPacket [16:02:28]OFDProtocolAddRootSTLVToBuf [16:02:28]FM_MakeSignedData [16:02:28]FM_MakeSignedData [16:02:28]SAM_PROTO_SignData [16:02:28]wFMCommunicate request_size=4 [16:02:28]MH_SAM_APDU [16:02:28]CAPDU: 80 0D 01 02 [16:02:28]Write to MH i2c: E2 08 00 3E 05 80 0D 01 02 00 00 00 00 BC [16:02:28]Write i2c OK [16:02:28]MH_I2C_Read... [16:02:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:02:28]Read from MH i2c: E2 [16:02:28]MH_I2C_Read... [16:02:28]Read from MH i2c: E2 03 00 [16:02:28]MH_I2C_Read... [16:02:28]Read from MH i2c: E2 03 00 3E 05 00 90 00 B7 [16:02:28]RAPDU: 90 00 [16:02:28]wFMCommunicate OK [16:02:28]wFMCommunicate request_size=255 [16:02:28]MH_SAM_APDU [16:02:28]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 38 33 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 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 38 00 00 00 F4 03 04 00 14 34 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [16:02:28]Write to MH i2c: E2 02 01 3F 05 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 38 33 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 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 38 00 00 00 F4 03 04 00 14 34 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 28 [16:02:28]Write i2c OK [16:02:28]MH_I2C_Read... [16:02:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:02:28]Read from MH i2c: E2 [16:02:28]MH_I2C_Read... [16:02:28]Read from MH i2c: E2 03 00 [16:02:28]MH_I2C_Read... [16:02:28]Read from MH i2c: E2 03 00 3F 05 00 90 00 B8 [16:02:28]RAPDU: 90 00 [16:02:28]wFMCommunicate OK [16:02:28]wFMCommunicate request_size=57 [16:02:28]MH_SAM_APDU [16:02:28]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D3 57 00 00 35 04 06 00 E3 AD CD 21 D0 C3 [16:02:28]Write to MH i2c: E2 3C 00 40 05 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D3 57 00 00 35 04 06 00 E3 AD CD 21 D0 C3 00 00 B9 [16:02:28]Write i2c OK [16:02:28]MH_I2C_Read... [16:02:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:02:29]Read from MH i2c: E2 [16:02:29]MH_I2C_Read... [16:02:29]Read from MH i2c: E2 03 00 [16:02:29]MH_I2C_Read... [16:02:29]Read from MH i2c: E2 03 00 40 05 00 90 00 B9 [16:02:29]RAPDU: 90 00 [16:02:29]wFMCommunicate OK [16:02:29]wFMCommunicate request_size=4 [16:02:29]MH_SAM_APDU [16:02:29]CAPDU: 80 0D 03 02 [16:02:29]Write to MH i2c: E2 08 00 41 05 80 0D 03 02 00 00 00 00 C1 [16:02:29]Write i2c OK [16:02:29]MH_I2C_Read... [16:02:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:02:29]Read from MH i2c: E2 [16:02:29]MH_I2C_Read... [16:02:29]Read from MH i2c: E2 0B 00 [16:02:29]MH_I2C_Read... [16:02:29]Read from MH i2c: E2 0B 00 41 05 00 6F 42 21 1E B2 3F F9 74 90 00 10 [16:02:29]RAPDU: 6F 42 21 1E B2 3F F9 74 90 00 [16:02:29]wFMCommunicate OK [16:02:29]SAM_PROTO_SignData done [16:02:29]FM_MakeSignedData done [16:02:29]CreateOFDProtocolMessage [16:02:29]wFMCommunicate request_size=4 [16:02:29]MH_SAM_APDU [16:02:29]CAPDU: 80 11 00 00 [16:02:29]Write to MH i2c: E2 08 00 42 05 80 11 00 00 00 00 00 00 C1 [16:02:29]Write i2c OK [16:02:29]MH_I2C_Read... [16:02:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:02:29]Read from MH i2c: E2 [16:02:29]MH_I2C_Read... [16:02:29]Read from MH i2c: E2 17 00 [16:02:29]MH_I2C_Read... [16:02:29]Read from MH i2c: E2 17 00 42 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 1B [16:02:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [16:02:29]wFMCommunicate OK [16:02:29]CreateOFDProtocolMessage done [16:02:29]OFDSenderStorePacket 22483 [16:02:29]StoreOFDPacket docnum=22483 [16:02:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 3E 01 00 00 4D 96 36 01 4C CB 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 38 33 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 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 38 00 00 00 F4 03 04 00 14 34 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D3 57 00 00 35 04 06 00 E3 AD CD 21 D0 C3 6F 42 21 1E B2 3F F9 74 [16:02:29]CheckFolder [16:02:29]dirname=/storage/ofd_packets [16:02:29]CheckFolder done [16:02:29]ProducePacketName [16:02:29]name=ofd_packets/00022483 [16:02:29]NVStorageSaveData ofd_packets/00022483 [16:02:29]File name is /storage/ofd_packets/00022483 [16:02:29]Write 348 bytes [16:02:29]NVStorageSaveData done [16:02:29]OFDSenderStorePacket done [16:02:29]KKMCreateOFDPacket done [16:02:29]NVStorageSaveData kkm_last_timestamp [16:02:29]File name is /storage/kkm_last_timestamp [16:02:29]Write 4 bytes [16:02:29]NVStorageSaveData done [16:02:29]ExternCall_PrintAddStr [16:02:29]wPrintStart [16:02:29]Write to MH i2c: 01 00 00 43 05 48 [16:02:29]Write i2c OK [16:02:29]MH_I2C_Read... [16:02:29]Read from MH i2c: 01 [16:02:29]MH_I2C_Read... [16:02:29]Read from MH i2c: 01 07 00 [16:02:29]MH_I2C_Read... [16:02:29]Read from MH i2c: 01 07 00 43 05 00 00 00 00 00 FF 0F 5D [16:02:29]RasterBufferAndPrint [16:02:29]line Счет N : (3)51686 [16:02:29]line ИНН: 02508201610067 [16:02:29]line Контрольно-Кассовый Чек [16:02:29]line ПРОДАЖА [16:02:29]line Товар: 4700003010483 [16:02:29]line Напиток Let`s Go! с/с яблоко ПЭТ 0,5л [16:02:29]line 1.000 * 0.00 [16:02:29]line = 0.00 [16:02:29]line НДС 12% НСП 1% [16:02:29]line > о реализуемом товаре [16:02:29]line ИТОГО: 0.00 [16:02:29]line НСП 1% : 0.00 [16:02:29]line НДС 12% : 0.00 [16:02:29]line Наличными: 0.00 [16:02:29]line Безнал.: 0.00 [16:02:29]line Место: АЗС № 88 "Партнер Нефть" [16:02:29]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [16:02:29]line СНО: Общий режим [16:02:29]line Чек 56 25.09.2024 16:02 [16:02:29]line Смена: 231 ФФД: 1.0 [16:02:29]line ЗНМ: 0300000061 [16:02:29]line РНМ: 0000000000146243 [16:02:29]line Версия ККМ: v1.0 [16:02:29]line Платежная система: Mbank [16:02:29]line ФМ: 0000000000959358 [16:02:29]line ФД: 22483 [16:02:29]line ФПД: 250335610392771 [16:02:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T160228&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22483&fm=250335610392771&tin=02508201610067®Number=0000000000146243&sum=0 [16:02:29]line 0 [16:02:29]OFD Sender: Processing packet 22483 [packets to send 23, broken 22] [16:02:29]ProducePacketName [16:02:29]name=ofd_packets/00022483 [16:02:29]OFD Sender: To server: pG, [16:02:29]CommunicateWithHost lk.salyk.kg:30040 [16:02:29]ConnectInit lk.salyk.kg [16:02:29]written 0, free lines is 4095 [16:02:29]Connected sock=10 [16:02:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 3E 01 00 00 4D 96 36 01 4C CB 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 38 33 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 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 38 00 00 00 F4 03 04 00 14 34 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D3 57 00 00 35 04 06 00 E3 AD CD 21 D0 C3 6F 42 21 1E B2 3F F9 74 [16:02:29]Write to MH i2c: 01 00 00 6D 05 72 [16:02:29]Write i2c OK [16:02:29]MH_I2C_Read... [16:02:29]Read from MH i2c: 01 [16:02:29]MH_I2C_Read... [16:02:29]Read from MH i2c: 01 07 00 [16:02:29]MH_I2C_Read... [16:02:29]Read from MH i2c: 01 07 00 6D 05 00 00 00 00 00 11 0D 97 [16:02:29]RasterBufferAndPrint [16:02:29]line [16:02:29]line [16:02:29]line [16:02:29]line [16:02:29]line [16:02:29]written 0, free lines is 3351 [16:02:29]MH_Cut [16:02:29]Write to MH i2c: D1 01 00 74 05 01 4B [16:02:29]Write i2c OK [16:02:29]MH_I2C_Read... [16:02:29]Read from MH i2c: D1 [16:02:29]MH_I2C_Read... [16:02:29]Read from MH i2c: D1 01 00 [16:02:29]MH_I2C_Read... [16:02:29]Read from MH i2c: D1 01 00 74 05 00 4A [16:02:29]Write to MH i2c: 01 00 00 75 05 7A [16:02:29]Write i2c OK [16:02:29]MH_I2C_Read... [16:02:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 26 50 47 00 B2 75 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D3 57 00 00 F4 03 04 00 36 DE F3 66 B6 04 01 00 00 D4 7D C8 E7 1B 3F 03 D9 [16:02:29]CommunicateWithHost err = 0 [16:02:29]CheckOFDResponse [16:02:29]1017 (14) - 77093643461234 [16:02:29]1041 (16) - 0000000000959358 [16:02:29]1040 (4) - 22483 [16:02:29]1012 (4) - 25.09.2024 09:56 [16:02:29]1206 (1) - 0 [16:02:29]OFD Sender: Remove packet 22483 [16:02:29]ProducePacketName [16:02:29]name=ofd_packets/00022483 [16:02:29]NVStorageDeleteData [16:02:30]OFD Sender: No OFD packet to send [16:02:30]*** Cut start [16:02:30]*** Partial cut [16:02:30]*** CUTSNS_PIN = 1 [16:02:30]*** CUTSNS_PIN = 0 [16:02:30]*** Brake cut motor [16:02:31]Read from MH i2c: 01 [16:02:31]MH_I2C_Read... [16:02:31]*** Stop cut motor [16:02:31]*** Cut end [16:02:31]Read from MH i2c: 01 07 00 [16:02:31]MH_I2C_Read... [16:02:31]Read from MH i2c: 01 07 00 75 05 00 00 00 00 00 FF 0F 8F [16:02:31]process_action close_receipt done [16:02:31]requested_data is exist [16:02:31]produce_requested_data [16:02:31]requested_item fm.sn is exist - process it [16:02:31]wFMCommunicate request_size=4 [16:02:31]MH_SAM_APDU [16:02:31]CAPDU: 80 11 00 00 [16:02:31]Write to MH i2c: E2 08 00 76 05 80 11 00 00 00 00 00 00 F5 [16:02:31]Write i2c OK [16:02:31]MH_I2C_Read... [16:02:31]Read from MH i2c: E2 [16:02:31]MH_I2C_Read... [16:02:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:02:31]Read from MH i2c: E2 17 00 [16:02:31]MH_I2C_Read... [16:02:31]Read from MH i2c: E2 17 00 76 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 4F [16:02:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [16:02:31]wFMCommunicate OK [16:02:31]requested_item fd.num is exist - process it [16:02:31]SAM_PROTO_GetFieldsCounters [16:02:31]wFMCommunicate request_size=4 [16:02:31]MH_SAM_APDU [16:02:31]CAPDU: 80 13 00 00 [16:02:31]Write to MH i2c: E2 08 00 77 05 80 13 00 00 00 00 00 00 F8 [16:02:31]Write i2c OK [16:02:31]MH_I2C_Read... [16:02:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:02:31]Read from MH i2c: E2 [16:02:31]MH_I2C_Read... [16:02:31]Read from MH i2c: E2 62 00 [16:02:31]MH_I2C_Read... [16:02:31]Read from MH i2c: E2 62 00 77 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 D3 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 D4 [16:02:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 D3 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:02:31]wFMCommunicate OK [16:02:31]SAM_PROTO_GetFieldsCounters done [16:02:31]requested_item shift.num is exist - process it [16:02:31]requested_item shift.opened is exist - process it [16:02:31]req_shift_opened [16:02:31]FM_GetShiftState [16:02:31]SAM_PROTO_GetShiftState [16:02:31]wFMCommunicate request_size=4 [16:02:31]MH_SAM_APDU [16:02:31]CAPDU: 80 13 01 00 [16:02:31]Write to MH i2c: E2 08 00 78 05 80 13 01 00 00 00 00 00 FA [16:02:31]Write i2c OK [16:02:31]MH_I2C_Read... [16:02:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:02:31]Read from MH i2c: E2 [16:02:31]MH_I2C_Read... [16:02:31]Read from MH i2c: E2 0E 00 [16:02:31]MH_I2C_Read... [16:02:31]Read from MH i2c: E2 0E 00 78 05 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 8B [16:02:31]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [16:02:31]wFMCommunicate OK [16:02:31]SAM_PROTO_GetShiftState done [16:02:31]FM_GetShiftState done [16:02:31]req_shift_opened done [16:02:31]requested_item shift.open_date is exist - process it [16:02:31]req_shift_open_date [16:02:31]req_shift_open_date done [16:02:31]produce_requested_data done [16:02:31]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22483,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [16:02:31]process_action_free close_receipt [16:02:31]json_value_free [16:02:31]json_value_free done [16:02:31]process_json_proto returns [16:02:31]Send response to host [16:02:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22483,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [16:02:31]free response buf [16:02:31]execute_script done [16:02:31]execute_script returns [16:02:31]free content buf [16:02:31]Sock 7.Close socket [16:02:31]Sock 7.Thread stoped [16:02:35]OFD Sender: No OFD packet to send [16:02:40]OFD Sender: No OFD packet to send [16:02:45]OFD Sender: No OFD packet to send [16:02:50]OFD Sender: No OFD packet to send [16:02:55]OFD Sender: No OFD packet to send [16:03:00]OFD Sender: No OFD packet to send [16:03:05]OFD Sender: No OFD packet to send [16:03:10]OFD Sender: No OFD packet to send [16:03:15]OFD Sender: No OFD packet to send [16:03:20]OFD Sender: No OFD packet to send [16:03:25]OFD Sender: No OFD packet to send [16:03:30]OFD Sender: No OFD packet to send [16:03:35]OFD Sender: No OFD packet to send [16:03:40]OFD Sender: No OFD packet to send [16:03:45]OFD Sender: No OFD packet to send [16:03:50]OFD Sender: No OFD packet to send [16:03:55]OFD Sender: No OFD packet to send [16:04:00]OFD Sender: No OFD packet to send [16:04:05]OFD Sender: No OFD packet to send [16:04:10]OFD Sender: No OFD packet to send [16:04:15]OFD Sender: No OFD packet to send [16:04:20]OFD Sender: No OFD packet to send [16:04:25]OFD Sender: No OFD packet to send [16:04:30]OFD Sender: No OFD packet to send [16:04:35]OFD Sender: No OFD packet to send [16:04:40]OFD Sender: No OFD packet to send [16:04:45]OFD Sender: No OFD packet to send [16:04:50]OFD Sender: No OFD packet to send [16:04:55]OFD Sender: No OFD packet to send [16:05:00]OFD Sender: No OFD packet to send [16:05:05]OFD Sender: No OFD packet to send [16:05:10]OFD Sender: No OFD packet to send [16:05:15]OFD Sender: No OFD packet to send [16:05:20]OFD Sender: No OFD packet to send [16:05:25]OFD Sender: No OFD packet to send [16:05:30]OFD Sender: No OFD packet to send [16:05:35]OFD Sender: No OFD packet to send [16:05:40]OFD Sender: No OFD packet to send [16:05:45]OFD Sender: No OFD packet to send [16:05:50]OFD Sender: No OFD packet to send [16:05:55]OFD Sender: No OFD packet to send [16:06:00]OFD Sender: No OFD packet to send [16:06:05]OFD Sender: No OFD packet to send [16:06:10]OFD Sender: No OFD packet to send [16:06:15]OFD Sender: No OFD packet to send [16:06:20]OFD Sender: No OFD packet to send [16:06:25]OFD Sender: No OFD packet to send [16:06:30]OFD Sender: No OFD packet to send [16:06:35]OFD Sender: No OFD packet to send [16:06:40]OFD Sender: No OFD packet to send [16:06:45]OFD Sender: No OFD packet to send [16:06:50]OFD Sender: No OFD packet to send [16:06:55]OFD Sender: No OFD packet to send [16:07:00]OFD Sender: No OFD packet to send [16:07:05]OFD Sender: No OFD packet to send [16:07:10]OFD Sender: No OFD packet to send [16:07:15]OFD Sender: No OFD packet to send [16:07:20]OFD Sender: No OFD packet to send [16:07:25]OFD Sender: No OFD packet to send [16:07:30]OFD Sender: No OFD packet to send [16:07:35]OFD Sender: No OFD packet to send [16:07:40]OFD Sender: No OFD packet to send [16:07:45]OFD Sender: No OFD packet to send [16:07:50]OFD Sender: No OFD packet to send [16:07:55]OFD Sender: No OFD packet to send [16:08:00]OFD Sender: No OFD packet to send [16:08:05]OFD Sender: No OFD packet to send [16:08:10]OFD Sender: No OFD packet to send [16:08:15]OFD Sender: No OFD packet to send [16:08:20]OFD Sender: No OFD packet to send [16:08:25]OFD Sender: No OFD packet to send [16:08:30]OFD Sender: No OFD packet to send [16:08:35]OFD Sender: No OFD packet to send [16:08:40]OFD Sender: No OFD packet to send [16:08:45]OFD Sender: No OFD packet to send [16:08:50]OFD Sender: No OFD packet to send [16:08:55]OFD Sender: No OFD packet to send [16:09:00]OFD Sender: No OFD packet to send [16:09:05]OFD Sender: No OFD packet to send [16:09:10]OFD Sender: No OFD packet to send [16:09:15]OFD Sender: No OFD packet to send [16:09:20]OFD Sender: No OFD packet to send [16:09:25]OFD Sender: No OFD packet to send [16:09:30]OFD Sender: No OFD packet to send [16:09:35]OFD Sender: No OFD packet to send [16:09:40]OFD Sender: No OFD packet to send [16:09:45]OFD Sender: No OFD packet to send [16:09:50]OFD Sender: No OFD packet to send [16:09:55]OFD Sender: No OFD packet to send [16:10:00]OFD Sender: No OFD packet to send [16:10:05]OFD Sender: No OFD packet to send [16:10:10]OFD Sender: No OFD packet to send [16:10:15]OFD Sender: No OFD packet to send [16:10:20]OFD Sender: No OFD packet to send [16:10:25]OFD Sender: No OFD packet to send [16:10:30]OFD Sender: No OFD packet to send [16:10:35]OFD Sender: No OFD packet to send [16:10:40]OFD Sender: No OFD packet to send [16:10:45]OFD Sender: No OFD packet to send [16:10:50]OFD Sender: No OFD packet to send [16:10:55]OFD Sender: No OFD packet to send [16:11:00]OFD Sender: No OFD packet to send [16:11:05]OFD Sender: No OFD packet to send [16:11:10]OFD Sender: No OFD packet to send [16:11:15]OFD Sender: No OFD packet to send [16:11:20]OFD Sender: No OFD packet to send [16:11:25]OFD Sender: No OFD packet to send [16:11:30]OFD Sender: No OFD packet to send [16:11:35]OFD Sender: No OFD packet to send [16:11:40]OFD Sender: No OFD packet to send [16:11:45]OFD Sender: No OFD packet to send [16:11:50]OFD Sender: No OFD packet to send [16:11:55]OFD Sender: No OFD packet to send [16:12:00]OFD Sender: No OFD packet to send [16:12:05]OFD Sender: No OFD packet to send [16:12:10]OFD Sender: No OFD packet to send [16:12:15]OFD Sender: No OFD packet to send [16:12:20]OFD Sender: No OFD packet to send [16:12:25]OFD Sender: No OFD packet to send [16:12:30]OFD Sender: No OFD packet to send [16:12:35]OFD Sender: No OFD packet to send [16:12:40]OFD Sender: No OFD packet to send [16:12:46]OFD Sender: No OFD packet to send [16:12:51]OFD Sender: No OFD packet to send [16:12:56]OFD Sender: No OFD packet to send [16:13:01]OFD Sender: No OFD packet to send [16:13:06]OFD Sender: No OFD packet to send [16:13:11]OFD Sender: No OFD packet to send [16:13:16]OFD Sender: No OFD packet to send [16:13:21]OFD Sender: No OFD packet to send [16:13:26]OFD Sender: No OFD packet to send [16:13:31]OFD Sender: No OFD packet to send [16:13:36]OFD Sender: No OFD packet to send [16:13:41]OFD Sender: No OFD packet to send [16:13:46]OFD Sender: No OFD packet to send [16:13:51]OFD Sender: No OFD packet to send [16:13:56]OFD Sender: No OFD packet to send [16:14:01]OFD Sender: No OFD packet to send [16:14:06]OFD Sender: No OFD packet to send [16:14:11]OFD Sender: No OFD packet to send [16:14:16]OFD Sender: No OFD packet to send [16:14:21]OFD Sender: No OFD packet to send [16:14:26]OFD Sender: No OFD packet to send [16:14:31]OFD Sender: No OFD packet to send [16:14:36]OFD Sender: No OFD packet to send [16:14:41]OFD Sender: No OFD packet to send [16:14:46]OFD Sender: No OFD packet to send [16:14:51]OFD Sender: No OFD packet to send [16:14:56]OFD Sender: No OFD packet to send [16:15:01]OFD Sender: No OFD packet to send [16:15:06]OFD Sender: No OFD packet to send [16:15:11]OFD Sender: No OFD packet to send [16:15:16]OFD Sender: No OFD packet to send [16:15:21]OFD Sender: No OFD packet to send [16:15:26]OFD Sender: No OFD packet to send [16:15:31]OFD Sender: No OFD packet to send [16:15:36]OFD Sender: No OFD packet to send [16:15:41]OFD Sender: No OFD packet to send [16:15:46]OFD Sender: No OFD packet to send [16:15:51]OFD Sender: No OFD packet to send [16:15:56]OFD Sender: No OFD packet to send [16:16:01]OFD Sender: No OFD packet to send [16:16:06]OFD Sender: No OFD packet to send [16:16:11]OFD Sender: No OFD packet to send [16:16:16]OFD Sender: No OFD packet to send [16:16:21]OFD Sender: No OFD packet to send [16:16:26]OFD Sender: No OFD packet to send [16:16:31]OFD Sender: No OFD packet to send [16:16:36]OFD Sender: No OFD packet to send [16:16:41]OFD Sender: No OFD packet to send [16:16:46]OFD Sender: No OFD packet to send [16:16:51]OFD Sender: No OFD packet to send [16:16:56]OFD Sender: No OFD packet to send [16:17:01]OFD Sender: No OFD packet to send [16:17:06]OFD Sender: No OFD packet to send [16:17:11]OFD Sender: No OFD packet to send [16:17:16]OFD Sender: No OFD packet to send [16:17:21]OFD Sender: No OFD packet to send [16:17:26]OFD Sender: No OFD packet to send [16:17:31]OFD Sender: No OFD packet to send [16:17:36]OFD Sender: No OFD packet to send [16:17:41]OFD Sender: No OFD packet to send [16:17:46]OFD Sender: No OFD packet to send [16:17:51]OFD Sender: No OFD packet to send [16:17:56]OFD Sender: No OFD packet to send [16:18:01]OFD Sender: No OFD packet to send [16:18:06]OFD Sender: No OFD packet to send [16:18:11]OFD Sender: No OFD packet to send [16:18:16]OFD Sender: No OFD packet to send [16:18:21]OFD Sender: No OFD packet to send [16:18:26]OFD Sender: No OFD packet to send [16:18:31]OFD Sender: No OFD packet to send [16:18:36]OFD Sender: No OFD packet to send [16:18:41]OFD Sender: No OFD packet to send [16:18:46]OFD Sender: No OFD packet to send [16:18:51]OFD Sender: No OFD packet to send [16:18:56]OFD Sender: No OFD packet to send [16:19:01]OFD Sender: No OFD packet to send [16:19:06]OFD Sender: No OFD packet to send [16:19:11]OFD Sender: No OFD packet to send [16:19:16]OFD Sender: No OFD packet to send [16:19:21]OFD Sender: No OFD packet to send [16:19:26]OFD Sender: No OFD packet to send [16:19:31]OFD Sender: No OFD packet to send [16:19:36]OFD Sender: No OFD packet to send [16:19:41]OFD Sender: No OFD packet to send [16:19:46]OFD Sender: No OFD packet to send [16:19:51]OFD Sender: No OFD packet to send [16:19:56]OFD Sender: No OFD packet to send [16:20:01]OFD Sender: No OFD packet to send [16:20:06]OFD Sender: No OFD packet to send [16:20:11]OFD Sender: No OFD packet to send [16:20:16]OFD Sender: No OFD packet to send [16:20:21]OFD Sender: No OFD packet to send [16:20:26]OFD Sender: No OFD packet to send [16:20:31]OFD Sender: No OFD packet to send [16:20:36]OFD Sender: No OFD packet to send [16:20:41]OFD Sender: No OFD packet to send [16:20:46]OFD Sender: No OFD packet to send [16:20:51]OFD Sender: No OFD packet to send [16:20:56]OFD Sender: No OFD packet to send [16:21:01]OFD Sender: No OFD packet to send [16:21:06]OFD Sender: No OFD packet to send [16:21:11]OFD Sender: No OFD packet to send [16:21:16]OFD Sender: No OFD packet to send [16:21:21]OFD Sender: No OFD packet to send [16:21:26]OFD Sender: No OFD packet to send [16:21:31]OFD Sender: No OFD packet to send [16:21:36]OFD Sender: No OFD packet to send [16:21:41]OFD Sender: No OFD packet to send [16:21:46]OFD Sender: No OFD packet to send [16:21:51]OFD Sender: No OFD packet to send [16:21:56]OFD Sender: No OFD packet to send [16:22:01]OFD Sender: No OFD packet to send [16:22:06]OFD Sender: No OFD packet to send [16:22:11]OFD Sender: No OFD packet to send [16:22:16]OFD Sender: No OFD packet to send [16:22:21]OFD Sender: No OFD packet to send [16:22:26]OFD Sender: No OFD packet to send [16:22:31]OFD Sender: No OFD packet to send [16:22:36]OFD Sender: No OFD packet to send [16:22:41]OFD Sender: No OFD packet to send [16:22:46]OFD Sender: No OFD packet to send [16:22:51]OFD Sender: No OFD packet to send [16:22:56]OFD Sender: No OFD packet to send [16:23:01]OFD Sender: No OFD packet to send [16:23:06]OFD Sender: No OFD packet to send [16:23:11]OFD Sender: No OFD packet to send [16:23:16]OFD Sender: No OFD packet to send [16:23:21]OFD Sender: No OFD packet to send [16:23:26]OFD Sender: No OFD packet to send [16:23:31]OFD Sender: No OFD packet to send [16:23:36]OFD Sender: No OFD packet to send [16:23:41]OFD Sender: No OFD packet to send [16:23:46]OFD Sender: No OFD packet to send [16:23:51]OFD Sender: No OFD packet to send [16:23:56]OFD Sender: No OFD packet to send [16:24:01]OFD Sender: No OFD packet to send [16:24:06]OFD Sender: No OFD packet to send [16:24:11]accept exits with 9 [16:24:11]New connection [16:24:11]New thread 3067440484 created [16:24:11]Thread 3067583844 joined [16:24:11]Waiting for new connection... [16:24:11] Sock 9.Parse request [16:24:11]Sock 9.Check first char [16:24:11]Sock 9.First char is OK [16:24:11]request: POST /json_proto HTTP/1.0 [16:24:11]Method: POST [16:24:11]URL: /json_proto [16:24:11]Method is POST - this is cgi request [16:24:11]url: /json_proto [16:24:11]query_string will be loaded in cgi processing [16:24:11]execute_cgi json_proto POST (null) [16:24:11]execute_cgi path=json_proto method=POST [16:24:11]POST find Content-Length [16:24:11]Host: 172.17.43.4:8080 [16:24:11]Content-Length: 747 [16:24:11]Content-Type: application/json [16:24:11] [16:24:11]POST finish read [16:24:11]Found Content-Length = 747 [16:24:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51687", "tax_sys" : 0, "items" : [ { "code": "4870202521254", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u043A\u043B\u0443\u0431\u043D", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:24:11]execute_script... [16:24:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51687", "tax_sys" : 0, "items" : [ { "code": "4870202521254", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u043A\u043B\u0443\u0431\u043D", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:24:11]POST & json_proto [16:24:11]process_json_proto [16:24:11]json parsed OK: [16:24:11]protocol is kg_v1.0 [16:24:11]action value=close_receipt [16:24:11]process_action close_receipt [16:24:11]cmd_close_receipt [16:24:11]MH_GetDate [16:24:11]Write to MH i2c: F0 00 00 79 05 6D [16:24:11]Write i2c OK [16:24:11]MH_I2C_Read... [16:24:11]Read from MH i2c: F0 [16:24:11]MH_I2C_Read... [16:24:11]Read from MH i2c: F0 09 00 [16:24:11]MH_I2C_Read... [16:24:11]Read from MH i2c: F0 09 00 79 05 00 2C 39 F4 66 02 BF CF 66 2B [16:24:11]GetLastDocTimeStamp 1727280148 [16:24:11]current date 1727281452 [16:24:11]FM_GetShiftState [16:24:11]SAM_PROTO_GetShiftState [16:24:11]wFMCommunicate request_size=4 [16:24:11]MH_SAM_APDU [16:24:11]CAPDU: 80 13 01 00 [16:24:11]Write to MH i2c: E2 08 00 7A 05 80 13 01 00 00 00 00 00 FC [16:24:11]Write i2c OK [16:24:11]MH_I2C_Read... [16:24:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:24:11]Read from MH i2c: E2 [16:24:11]MH_I2C_Read... [16:24:11]Read from MH i2c: E2 0E 00 [16:24:11]MH_I2C_Read... [16:24:11]Read from MH i2c: E2 0E 00 7A 05 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 8D [16:24:11]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [16:24:11]wFMCommunicate OK [16:24:11]SAM_PROTO_GetShiftState done [16:24:11]FM_GetShiftState done [16:24:11]opened in 1727224020 [16:24:11]opened+sec_in_day 1727310420 [16:24:11]quantity*price = 12500 [16:24:11]sum+1 = 12501 [16:24:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 57 25.09.2024 16:24 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22484 ФПД: 243255125011890 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T162412&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22484&fm=243255125011890&tin=02508201610067®Number=0000000000146243&sum=12500 0 [16:24:12]StoreToDocumentArchive [16:24:12]shift 231 fd 22484 [16:24:12]save to /storage/0231/doc_00022484 [16:24:12]save last doc name /storage/0231/doc_00022484 to /storage/kkm_last_doc_name [16:24:12]save OK [16:24:12]Clear old archive folders... [16:24:12]ProcessDocumentItem done err = 0, tmpTLVsize=312 [16:24:12]tlvbuf is 001FFDB0 [16:24:12]SAM_PROTO_ClearQueue [16:24:12]wFMCommunicate request_size=4 [16:24:12]MH_SAM_APDU [16:24:12]CAPDU: 80 09 00 00 [16:24:12]Write to MH i2c: E2 08 00 87 05 80 09 00 00 00 00 00 00 FE [16:24:12]Write i2c OK [16:24:12]MH_I2C_Read... [16:24:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:24:12]Read from MH i2c: E2 [16:24:12]MH_I2C_Read... [16:24:12]Read from MH i2c: E2 03 00 [16:24:12]MH_I2C_Read... [16:24:12]Read from MH i2c: E2 03 00 87 05 00 90 00 00 [16:24:12]RAPDU: 90 00 [16:24:12]wFMCommunicate OK [16:24:12]SAM_PROTO_ClearQueue done [16:24:12]KKMCreateOFDPacket [16:24:12]OFDProtocolAddRootSTLVToBuf [16:24:12]FM_MakeSignedData [16:24:12]FM_MakeSignedData [16:24:12]SAM_PROTO_SignData [16:24:12]wFMCommunicate request_size=4 [16:24:12]MH_SAM_APDU [16:24:12]CAPDU: 80 0D 01 02 [16:24:12]Write to MH i2c: E2 08 00 88 05 80 0D 01 02 00 00 00 00 06 [16:24:12]Write i2c OK [16:24:12]MH_I2C_Read... [16:24:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:24:12]Read from MH i2c: E2 [16:24:12]MH_I2C_Read... [16:24:12]Read from MH i2c: E2 03 00 [16:24:12]MH_I2C_Read... [16:24:12]Read from MH i2c: E2 03 00 88 05 00 90 00 01 [16:24:12]RAPDU: 90 00 [16:24:12]wFMCommunicate OK [16:24:12]wFMCommunicate request_size=255 [16:24:12]MH_SAM_APDU [16:24:12]CAPDU: 80 0D 02 02 FA 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 2C 39 F4 66 0E 04 04 00 E7 [16:24:12]Write to MH i2c: E2 02 01 89 05 80 0D 02 02 FA 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 2C 39 F4 66 0E 04 04 00 E7 00 00 01 [16:24:12]Write i2c OK [16:24:12]MH_I2C_Read... [16:24:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:24:12]Read from MH i2c: E2 [16:24:12]MH_I2C_Read... [16:24:12]Read from MH i2c: E2 03 00 [16:24:12]MH_I2C_Read... [16:24:12]Read from MH i2c: E2 03 00 89 05 00 90 00 02 [16:24:12]RAPDU: 90 00 [16:24:12]wFMCommunicate OK [16:24:12]wFMCommunicate request_size=71 [16:24:12]MH_SAM_APDU [16:24:12]CAPDU: 80 0D 02 02 42 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D4 57 00 00 35 04 06 00 DD 3D 3F 50 ED B2 [16:24:12]Write to MH i2c: E2 4A 00 8A 05 80 0D 02 02 42 00 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D4 57 00 00 35 04 06 00 DD 3D 3F 50 ED B2 00 00 97 [16:24:12]Write i2c OK [16:24:12]MH_I2C_Read... [16:24:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:24:13]Read from MH i2c: E2 [16:24:13]MH_I2C_Read... [16:24:13]Read from MH i2c: E2 03 00 [16:24:13]MH_I2C_Read... [16:24:13]Read from MH i2c: E2 03 00 8A 05 00 90 00 03 [16:24:13]RAPDU: 90 00 [16:24:13]wFMCommunicate OK [16:24:13]wFMCommunicate request_size=4 [16:24:13]MH_SAM_APDU [16:24:13]CAPDU: 80 0D 03 02 [16:24:13]Write to MH i2c: E2 08 00 8B 05 80 0D 03 02 00 00 00 00 0B [16:24:13]Write i2c OK [16:24:13]MH_I2C_Read... [16:24:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:24:13]Read from MH i2c: E2 [16:24:13]MH_I2C_Read... [16:24:13]Read from MH i2c: E2 0B 00 [16:24:13]MH_I2C_Read... [16:24:13]Read from MH i2c: E2 0B 00 8B 05 00 F0 35 C2 9B 64 7A B5 4A 90 00 6B [16:24:13]RAPDU: F0 35 C2 9B 64 7A B5 4A 90 00 [16:24:13]wFMCommunicate OK [16:24:13]SAM_PROTO_SignData done [16:24:13]FM_MakeSignedData done [16:24:13]CreateOFDProtocolMessage [16:24:13]wFMCommunicate request_size=4 [16:24:13]MH_SAM_APDU [16:24:13]CAPDU: 80 11 00 00 [16:24:13]Write to MH i2c: E2 08 00 8C 05 80 11 00 00 00 00 00 00 0B [16:24:13]Write i2c OK [16:24:13]MH_I2C_Read... [16:24:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:24:13]Read from MH i2c: E2 [16:24:13]MH_I2C_Read... [16:24:13]Read from MH i2c: E2 17 00 [16:24:13]MH_I2C_Read... [16:24:13]Read from MH i2c: E2 17 00 8C 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 65 [16:24:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [16:24:13]wFMCommunicate OK [16:24:13]CreateOFDProtocolMessage done [16:24:13]OFDSenderStorePacket 22484 [16:24:13]StoreOFDPacket docnum=22484 [16:24:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4C 01 00 00 18 BE 44 01 6B 14 5A 03 01 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 2C 39 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D4 57 00 00 35 04 06 00 DD 3D 3F 50 ED B2 F0 35 C2 9B 64 7A B5 4A [16:24:13]CheckFolder [16:24:13]dirname=/storage/ofd_packets [16:24:13]CheckFolder done [16:24:13]ProducePacketName [16:24:13]name=ofd_packets/00022484 [16:24:13]NVStorageSaveData ofd_packets/00022484 [16:24:13]File name is /storage/ofd_packets/00022484 [16:24:13]Write 362 bytes [16:24:13]NVStorageSaveData done [16:24:13]OFDSenderStorePacket done [16:24:13]KKMCreateOFDPacket done [16:24:13]NVStorageSaveData kkm_last_timestamp [16:24:13]File name is /storage/kkm_last_timestamp [16:24:13]Write 4 bytes [16:24:13]NVStorageSaveData done [16:24:13]ExternCall_PrintAddStr [16:24:13]wPrintStart [16:24:13]Write to MH i2c: 01 00 00 8D 05 92 [16:24:13]Write i2c OK [16:24:13]MH_I2C_Read... [16:24:13]Read from MH i2c: 01 [16:24:13]MH_I2C_Read... [16:24:13]Read from MH i2c: 01 07 00 [16:24:13]MH_I2C_Read... [16:24:13]Read from MH i2c: 01 07 00 8D 05 00 00 00 00 00 FF 0F A7 [16:24:13]RasterBufferAndPrint [16:24:13]line Счет N : (3)51687 [16:24:13]line ИНН: 02508201610067 [16:24:13]line Контрольно-Кассовый Чек [16:24:13]line ПРОДАЖА [16:24:13]line Товар: 4870202521254 [16:24:13]line Чай холодный MAXI черный со вкусом клубн [16:24:13]line 1.000 * 125.00 [16:24:13]line = 125.00 [16:24:13]line НДС 12% НСП 1% [16:24:13]line > о реализуемом товаре [16:24:13]line ИТОГО: 125.00 [16:24:13]line НСП 1% : 1.11 [16:24:13]line НДС 12% : 13.27 [16:24:13]line Наличными: 125.00 [16:24:13]line Безнал.: 0.00 [16:24:13]line Место: АЗС № 88 "Партнер Нефть" [16:24:13]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [16:24:13]line СНО: Общий режим [16:24:13]line Чек 57 25.09.2024 16:24 [16:24:13]line Смена: 231 ФФД: 1.0 [16:24:13]line ЗНМ: 0300000061 [16:24:13]line РНМ: 0000000000146243 [16:24:13]line Версия ККМ: v1.0 [16:24:13]line ФМ: 0000000000959358 [16:24:13]line ФД: 22484 [16:24:13]line ФПД: 243255125011890 [16:24:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T162412&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22484&fm=243255125011890&tin=02508201610067®Number=0000000000146243&sum=12500 [16:24:13]line 0 [16:24:13]OFD Sender: Processing packet 22484 [packets to send 23, broken 22] [16:24:13]ProducePacketName [16:24:13]name=ofd_packets/00022484 [16:24:13]OFD Sender: To server: pG, [16:24:13]CommunicateWithHost lk.salyk.kg:30040 [16:24:13]ConnectInit lk.salyk.kg [16:24:13]written 0, free lines is 4095 [16:24:13]Connected sock=10 [16:24:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4C 01 00 00 18 BE 44 01 6B 14 5A 03 01 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 2C 39 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D4 57 00 00 35 04 06 00 DD 3D 3F 50 ED B2 F0 35 C2 9B 64 7A B5 4A [16:24:13]Write to MH i2c: 01 00 00 B6 05 BB [16:24:13]Write i2c OK [16:24:13]MH_I2C_Read... [16:24:13]Read from MH i2c: 01 [16:24:13]MH_I2C_Read... [16:24:13]Read from MH i2c: 01 07 00 [16:24:13]MH_I2C_Read... [16:24:13]Read from MH i2c: 01 07 00 B6 05 00 00 00 00 00 1F 0D EE [16:24:13]RasterBufferAndPrint [16:24:13]line [16:24:13]line [16:24:13]line [16:24:13]line [16:24:13]line [16:24:13]written 0, free lines is 3365 [16:24:13]MH_Cut [16:24:13]Write to MH i2c: D1 01 00 BD 05 01 94 [16:24:13]Write i2c OK [16:24:13]MH_I2C_Read... [16:24:13]Read from MH i2c: D1 [16:24:13]MH_I2C_Read... [16:24:13]Read from MH i2c: D1 01 00 [16:24:13]MH_I2C_Read... [16:24:13]Read from MH i2c: D1 01 00 BD 05 00 93 [16:24:13]Write to MH i2c: 01 00 00 BE 05 C3 [16:24:13]Write i2c OK [16:24:13]MH_I2C_Read... [16:24:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 75 A6 47 00 E2 09 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D4 57 00 00 F4 03 04 00 4E E3 F3 66 B6 04 01 00 00 06 5D 2F 1D B2 B9 FD 13 [16:24:13]CommunicateWithHost err = 0 [16:24:13]CheckOFDResponse [16:24:13]1017 (14) - 77093643461234 [16:24:13]1041 (16) - 0000000000959358 [16:24:13]1040 (4) - 22484 [16:24:13]1012 (4) - 25.09.2024 10:17 [16:24:13]1206 (1) - 0 [16:24:13]OFD Sender: Remove packet 22484 [16:24:13]ProducePacketName [16:24:13]name=ofd_packets/00022484 [16:24:13]NVStorageDeleteData [16:24:14]OFD Sender: No OFD packet to send [16:24:14]*** Cut start [16:24:14]*** Partial cut [16:24:14]*** CUTSNS_PIN = 1 [16:24:14]*** CUTSNS_PIN = 0 [16:24:14]*** Brake cut motor [16:24:15]Read from MH i2c: 01 [16:24:15]MH_I2C_Read... [16:24:15]*** Stop cut motor [16:24:15]*** Cut end [16:24:15]Read from MH i2c: 01 07 00 [16:24:15]MH_I2C_Read... [16:24:15]Read from MH i2c: 01 07 00 BE 05 00 00 00 00 00 FF 0F D8 [16:24:15]process_action close_receipt done [16:24:15]requested_data is exist [16:24:15]produce_requested_data [16:24:15]requested_item fm.sn is exist - process it [16:24:15]wFMCommunicate request_size=4 [16:24:15]MH_SAM_APDU [16:24:15]CAPDU: 80 11 00 00 [16:24:15]Write to MH i2c: E2 08 00 BF 05 80 11 00 00 00 00 00 00 3E [16:24:15]Write i2c OK [16:24:15]MH_I2C_Read... [16:24:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:24:15]Read from MH i2c: E2 [16:24:15]MH_I2C_Read... [16:24:15]Read from MH i2c: E2 17 00 [16:24:15]MH_I2C_Read... [16:24:15]Read from MH i2c: E2 17 00 BF 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 98 [16:24:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [16:24:15]wFMCommunicate OK [16:24:15]requested_item fd.num is exist - process it [16:24:15]SAM_PROTO_GetFieldsCounters [16:24:15]wFMCommunicate request_size=4 [16:24:15]MH_SAM_APDU [16:24:15]CAPDU: 80 13 00 00 [16:24:15]Write to MH i2c: E2 08 00 C0 05 80 13 00 00 00 00 00 00 41 [16:24:15]Write i2c OK [16:24:15]MH_I2C_Read... [16:24:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:24:15]Read from MH i2c: E2 [16:24:15]MH_I2C_Read... [16:24:15]Read from MH i2c: E2 62 00 [16:24:15]MH_I2C_Read... [16:24:15]Read from MH i2c: E2 62 00 C0 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 D4 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 21 [16:24:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 D4 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:24:15]wFMCommunicate OK [16:24:15]SAM_PROTO_GetFieldsCounters done [16:24:15]requested_item shift.num is exist - process it [16:24:15]requested_item shift.opened is exist - process it [16:24:15]req_shift_opened [16:24:15]FM_GetShiftState [16:24:15]SAM_PROTO_GetShiftState [16:24:15]wFMCommunicate request_size=4 [16:24:15]MH_SAM_APDU [16:24:15]CAPDU: 80 13 01 00 [16:24:15]Write to MH i2c: E2 08 00 C1 05 80 13 01 00 00 00 00 00 43 [16:24:15]Write i2c OK [16:24:15]MH_I2C_Read... [16:24:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:24:15]Read from MH i2c: E2 [16:24:15]MH_I2C_Read... [16:24:15]Read from MH i2c: E2 0E 00 [16:24:15]MH_I2C_Read... [16:24:15]Read from MH i2c: E2 0E 00 C1 05 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 D4 [16:24:15]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [16:24:15]wFMCommunicate OK [16:24:15]SAM_PROTO_GetShiftState done [16:24:15]FM_GetShiftState done [16:24:15]req_shift_opened done [16:24:15]requested_item shift.open_date is exist - process it [16:24:15]req_shift_open_date [16:24:15]req_shift_open_date done [16:24:15]produce_requested_data done [16:24:15]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22484,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [16:24:15]process_action_free close_receipt [16:24:15]json_value_free [16:24:15]json_value_free done [16:24:15]process_json_proto returns [16:24:15]Send response to host [16:24:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22484,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [16:24:15]free response buf [16:24:15]execute_script done [16:24:15]execute_script returns [16:24:15]free content buf [16:24:15]Sock 9.Close socket [16:24:15]Sock 9.Thread stoped [16:24:19]OFD Sender: No OFD packet to send [16:24:24]OFD Sender: No OFD packet to send [16:24:29]OFD Sender: No OFD packet to send [16:24:34]OFD Sender: No OFD packet to send [16:24:39]OFD Sender: No OFD packet to send [16:24:44]OFD Sender: No OFD packet to send [16:24:49]OFD Sender: No OFD packet to send [16:24:54]OFD Sender: No OFD packet to send [16:24:59]OFD Sender: No OFD packet to send [16:25:04]OFD Sender: No OFD packet to send [16:25:09]OFD Sender: No OFD packet to send [16:25:14]OFD Sender: No OFD packet to send [16:25:19]OFD Sender: No OFD packet to send [16:25:24]OFD Sender: No OFD packet to send [16:25:29]OFD Sender: No OFD packet to send [16:25:34]OFD Sender: No OFD packet to send [16:25:39]OFD Sender: No OFD packet to send [16:25:44]OFD Sender: No OFD packet to send [16:25:49]OFD Sender: No OFD packet to send [16:25:54]OFD Sender: No OFD packet to send [16:25:59]OFD Sender: No OFD packet to send [16:26:04]OFD Sender: No OFD packet to send [16:26:09]OFD Sender: No OFD packet to send [16:26:14]OFD Sender: No OFD packet to send [16:26:19]OFD Sender: No OFD packet to send [16:26:24]OFD Sender: No OFD packet to send [16:26:29]OFD Sender: No OFD packet to send [16:26:34]OFD Sender: No OFD packet to send [16:26:39]OFD Sender: No OFD packet to send [16:26:44]OFD Sender: No OFD packet to send [16:26:49]OFD Sender: No OFD packet to send [16:26:54]OFD Sender: No OFD packet to send [16:26:59]OFD Sender: No OFD packet to send [16:27:04]OFD Sender: No OFD packet to send [16:27:09]OFD Sender: No OFD packet to send [16:27:14]OFD Sender: No OFD packet to send [16:27:19]OFD Sender: No OFD packet to send [16:27:24]OFD Sender: No OFD packet to send [16:27:29]OFD Sender: No OFD packet to send [16:27:34]OFD Sender: No OFD packet to send [16:27:39]OFD Sender: No OFD packet to send [16:27:44]OFD Sender: No OFD packet to send [16:27:49]OFD Sender: No OFD packet to send [16:27:54]OFD Sender: No OFD packet to send [16:27:59]OFD Sender: No OFD packet to send [16:28:04]OFD Sender: No OFD packet to send [16:28:09]OFD Sender: No OFD packet to send [16:28:14]OFD Sender: No OFD packet to send [16:28:19]OFD Sender: No OFD packet to send [16:28:24]OFD Sender: No OFD packet to send [16:28:29]OFD Sender: No OFD packet to send [16:28:34]OFD Sender: No OFD packet to send [16:28:39]OFD Sender: No OFD packet to send [16:28:44]OFD Sender: No OFD packet to send [16:28:49]OFD Sender: No OFD packet to send [16:28:54]OFD Sender: No OFD packet to send [16:28:59]OFD Sender: No OFD packet to send [16:29:04]OFD Sender: No OFD packet to send [16:29:09]OFD Sender: No OFD packet to send [16:29:14]OFD Sender: No OFD packet to send [16:29:19]OFD Sender: No OFD packet to send [16:29:24]OFD Sender: No OFD packet to send [16:29:29]OFD Sender: No OFD packet to send [16:29:34]OFD Sender: No OFD packet to send [16:29:39]OFD Sender: No OFD packet to send [16:29:44]OFD Sender: No OFD packet to send [16:29:49]OFD Sender: No OFD packet to send [16:29:54]OFD Sender: No OFD packet to send [16:29:59]OFD Sender: No OFD packet to send [16:30:04]OFD Sender: No OFD packet to send [16:30:09]OFD Sender: No OFD packet to send [16:30:14]OFD Sender: No OFD packet to send [16:30:19]OFD Sender: No OFD packet to send [16:30:24]OFD Sender: No OFD packet to send [16:30:29]OFD Sender: No OFD packet to send [16:30:34]OFD Sender: No OFD packet to send [16:30:39]OFD Sender: No OFD packet to send [16:30:44]OFD Sender: No OFD packet to send [16:30:49]OFD Sender: No OFD packet to send [16:30:54]OFD Sender: No OFD packet to send [16:30:59]OFD Sender: No OFD packet to send [16:31:04]OFD Sender: No OFD packet to send [16:31:09]OFD Sender: No OFD packet to send [16:31:14]OFD Sender: No OFD packet to send [16:31:19]OFD Sender: No OFD packet to send [16:31:24]OFD Sender: No OFD packet to send [16:31:29]OFD Sender: No OFD packet to send [16:31:34]OFD Sender: No OFD packet to send [16:31:39]OFD Sender: No OFD packet to send [16:31:44]OFD Sender: No OFD packet to send [16:31:49]OFD Sender: No OFD packet to send [16:31:54]OFD Sender: No OFD packet to send [16:31:59]OFD Sender: No OFD packet to send [16:32:04]OFD Sender: No OFD packet to send [16:32:09]OFD Sender: No OFD packet to send [16:32:14]OFD Sender: No OFD packet to send [16:32:19]OFD Sender: No OFD packet to send [16:32:24]OFD Sender: No OFD packet to send [16:32:29]OFD Sender: No OFD packet to send [16:32:34]OFD Sender: No OFD packet to send [16:32:39]OFD Sender: No OFD packet to send [16:32:44]OFD Sender: No OFD packet to send [16:32:49]OFD Sender: No OFD packet to send [16:32:54]OFD Sender: No OFD packet to send [16:32:59]OFD Sender: No OFD packet to send [16:33:04]OFD Sender: No OFD packet to send [16:33:09]OFD Sender: No OFD packet to send [16:33:14]accept exits with 7 [16:33:14]New connection [16:33:14]New thread 3067583844 created [16:33:14]Thread 3067440484 joined [16:33:14]Waiting for new connection... [16:33:14] Sock 7.Parse request [16:33:14]Sock 7.Check first char [16:33:14]Sock 7.First char is OK [16:33:14]request: POST /json_proto HTTP/1.0 [16:33:14]Method: POST [16:33:14]URL: /json_proto [16:33:14]Method is POST - this is cgi request [16:33:14]url: /json_proto [16:33:14]query_string will be loaded in cgi processing [16:33:14]execute_cgi json_proto POST (null) [16:33:14]execute_cgi path=json_proto method=POST [16:33:14]POST find Content-Length [16:33:14]Host: 172.17.43.4:8080 [16:33:14]Content-Length: 674 [16:33:14]Content-Type: application/json [16:33:14] [16:33:14]POST finish read [16:33:14]Found Content-Length = 674 [16:33:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51688", "tax_sys" : 0, "items" : [ { "code": "4620017451303", "name": "\u041A\u0430\u0440.\u0441 \u0436\u0435\u0432.\u043A\u043E\u043D\u0444.\u0421\u0442\u0440\u0430\u0439\u043A 11.3\u0433/50", "price" : 17.00, "quantity" : 2.000, "sum" : 34.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 34.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:33:14]execute_script... [16:33:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51688", "tax_sys" : 0, "items" : [ { "code": "4620017451303", "name": "\u041A\u0430\u0440.\u0441 \u0436\u0435\u0432.\u043A\u043E\u043D\u0444.\u0421\u0442\u0440\u0430\u0439\u043A 11.3\u0433/50", "price" : 17.00, "quantity" : 2.000, "sum" : 34.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 34.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:33:14]POST & json_proto [16:33:14]process_json_proto [16:33:14]json parsed OK: [16:33:14]protocol is kg_v1.0 [16:33:14]action value=close_receipt [16:33:14]process_action close_receipt [16:33:14]cmd_close_receipt [16:33:14]MH_GetDate [16:33:14]Write to MH i2c: F0 00 00 C2 05 B6 [16:33:14]Write i2c OK [16:33:14]MH_I2C_Read... [16:33:14]Read from MH i2c: F0 [16:33:14]MH_I2C_Read... [16:33:14]Read from MH i2c: F0 09 00 [16:33:14]MH_I2C_Read... [16:33:14]Read from MH i2c: F0 09 00 C2 05 00 4B 3B F4 66 02 BF CF 66 95 [16:33:14]GetLastDocTimeStamp 1727281452 [16:33:14]current date 1727281995 [16:33:14]FM_GetShiftState [16:33:14]SAM_PROTO_GetShiftState [16:33:14]wFMCommunicate request_size=4 [16:33:14]MH_SAM_APDU [16:33:14]CAPDU: 80 13 01 00 [16:33:14]Write to MH i2c: E2 08 00 C3 05 80 13 01 00 00 00 00 00 45 [16:33:14]Write i2c OK [16:33:14]MH_I2C_Read... [16:33:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:33:14]Read from MH i2c: E2 [16:33:14]MH_I2C_Read... [16:33:14]Read from MH i2c: E2 0E 00 [16:33:14]MH_I2C_Read... [16:33:14]Read from MH i2c: E2 0E 00 C3 05 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 D6 [16:33:14]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [16:33:14]wFMCommunicate OK [16:33:14]SAM_PROTO_GetShiftState done [16:33:14]FM_GetShiftState done [16:33:14]opened in 1727224020 [16:33:14]opened+sec_in_day 1727310420 [16:33:14]quantity*price = 3400 [16:33:14]sum+1 = 3401 [16:33:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 34.00 НСП 1% : 0.30 НДС 12% : 3.61 Наличными: 34.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 58 25.09.2024 16:33 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22485 ФПД: 149890581699600 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T163315&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22485&fm=149890581699600&tin=02508201610067®Number=0000000000146243&sum=3400 0 [16:33:15]StoreToDocumentArchive [16:33:15]shift 231 fd 22485 [16:33:15]save to /storage/0231/doc_00022485 [16:33:15]save last doc name /storage/0231/doc_00022485 to /storage/kkm_last_doc_name [16:33:15]save OK [16:33:15]Clear old archive folders... [16:33:15]ProcessDocumentItem done err = 0, tmpTLVsize=290 [16:33:15]tlvbuf is 001E5110 [16:33:15]SAM_PROTO_ClearQueue [16:33:15]wFMCommunicate request_size=4 [16:33:15]MH_SAM_APDU [16:33:15]CAPDU: 80 09 00 00 [16:33:15]Write to MH i2c: E2 08 00 D0 05 80 09 00 00 00 00 00 00 47 [16:33:15]Write i2c OK [16:33:15]MH_I2C_Read... [16:33:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:33:15]Read from MH i2c: E2 [16:33:15]MH_I2C_Read... [16:33:15]Read from MH i2c: E2 03 00 [16:33:15]MH_I2C_Read... [16:33:15]Read from MH i2c: E2 03 00 D0 05 00 90 00 49 [16:33:15]RAPDU: 90 00 [16:33:15]wFMCommunicate OK [16:33:15]SAM_PROTO_ClearQueue done [16:33:15]KKMCreateOFDPacket [16:33:15]OFDProtocolAddRootSTLVToBuf [16:33:15]FM_MakeSignedData [16:33:15]FM_MakeSignedData [16:33:15]SAM_PROTO_SignData [16:33:15]wFMCommunicate request_size=4 [16:33:15]MH_SAM_APDU [16:33:15]CAPDU: 80 0D 01 02 [16:33:15]Write to MH i2c: E2 08 00 D1 05 80 0D 01 02 00 00 00 00 4F [16:33:15]Write i2c OK [16:33:15]MH_I2C_Read... [16:33:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:33:15]Read from MH i2c: E2 [16:33:15]MH_I2C_Read... [16:33:15]Read from MH i2c: E2 03 00 [16:33:15]MH_I2C_Read... [16:33:15]Read from MH i2c: E2 03 00 D1 05 00 90 00 4A [16:33:15]RAPDU: 90 00 [16:33:15]wFMCommunicate OK [16:33:15]wFMCommunicate request_size=255 [16:33:15]MH_SAM_APDU [16:33:15]CAPDU: 80 0D 02 02 FA 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 31 33 30 33 06 04 30 00 D0 9A D0 B0 D1 80 2E D1 81 20 D0 B6 D0 B5 D0 B2 2E D0 BA D0 BE D0 BD D1 84 2E D0 A1 D1 82 D1 80 D0 B0 D0 B9 D0 BA 20 31 31 2E 33 D0 B3 2F 35 30 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A4 06 00 00 00 00 13 04 06 00 48 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 69 01 00 00 00 00 07 04 06 00 48 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 4B 3B F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 [16:33:15]Write to MH i2c: E2 02 01 D2 05 80 0D 02 02 FA 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 31 33 30 33 06 04 30 00 D0 9A D0 B0 D1 80 2E D1 81 20 D0 B6 D0 B5 D0 B2 2E D0 BA D0 BE D0 BD D1 84 2E D0 A1 D1 82 D1 80 D0 B0 D0 B9 D0 BA 20 31 31 2E 33 D0 B3 2F 35 30 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A4 06 00 00 00 00 13 04 06 00 48 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 69 01 00 00 00 00 07 04 06 00 48 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 4B 3B F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 89 [16:33:15]Write i2c OK [16:33:15]MH_I2C_Read... [16:33:15]Read from MH i2c: E2 [16:33:15]MH_I2C_Read... [16:33:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:33:15]Read from MH i2c: E2 03 00 [16:33:15]MH_I2C_Read... [16:33:15]Read from MH i2c: E2 03 00 D2 05 00 90 00 4B [16:33:15]RAPDU: 90 00 [16:33:15]wFMCommunicate OK [16:33:15]wFMCommunicate request_size=49 [16:33:15]MH_SAM_APDU [16:33:15]CAPDU: 80 0D 02 02 2C 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D5 57 00 00 35 04 06 00 88 53 1E E0 9C 10 [16:33:15]Write to MH i2c: E2 34 00 D3 05 80 0D 02 02 2C 00 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D5 57 00 00 35 04 06 00 88 53 1E E0 9C 10 00 00 32 [16:33:15]Write i2c OK [16:33:15]MH_I2C_Read... [16:33:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:33:16]Read from MH i2c: E2 [16:33:16]MH_I2C_Read... [16:33:16]Read from MH i2c: E2 03 00 [16:33:16]MH_I2C_Read... [16:33:16]Read from MH i2c: E2 03 00 D3 05 00 90 00 4C [16:33:16]RAPDU: 90 00 [16:33:16]wFMCommunicate OK [16:33:16]wFMCommunicate request_size=4 [16:33:16]MH_SAM_APDU [16:33:16]CAPDU: 80 0D 03 02 [16:33:16]Write to MH i2c: E2 08 00 D4 05 80 0D 03 02 00 00 00 00 54 [16:33:16]Write i2c OK [16:33:16]MH_I2C_Read... [16:33:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:33:16]Read from MH i2c: E2 [16:33:16]MH_I2C_Read... [16:33:16]Read from MH i2c: E2 0B 00 [16:33:16]MH_I2C_Read... [16:33:16]Read from MH i2c: E2 0B 00 D4 05 00 EB E4 0C 76 45 B6 ED 9C 90 00 2A [16:33:16]RAPDU: EB E4 0C 76 45 B6 ED 9C 90 00 [16:33:16]wFMCommunicate OK [16:33:16]SAM_PROTO_SignData done [16:33:16]FM_MakeSignedData done [16:33:16]CreateOFDProtocolMessage [16:33:16]wFMCommunicate request_size=4 [16:33:16]MH_SAM_APDU [16:33:16]CAPDU: 80 11 00 00 [16:33:16]Write to MH i2c: E2 08 00 D5 05 80 11 00 00 00 00 00 00 54 [16:33:16]Write i2c OK [16:33:16]MH_I2C_Read... [16:33:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:33:16]Read from MH i2c: E2 [16:33:16]MH_I2C_Read... [16:33:16]Read from MH i2c: E2 17 00 [16:33:16]MH_I2C_Read... [16:33:16]Read from MH i2c: E2 17 00 D5 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 AE [16:33:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [16:33:16]wFMCommunicate OK [16:33:16]CreateOFDProtocolMessage done [16:33:16]OFDSenderStorePacket 22485 [16:33:16]StoreOFDPacket docnum=22485 [16:33:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 36 01 00 00 D6 F5 2E 01 80 CF 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 31 33 30 33 06 04 30 00 D0 9A D0 B0 D1 80 2E D1 81 20 D0 B6 D0 B5 D0 B2 2E D0 BA D0 BE D0 BD D1 84 2E D0 A1 D1 82 D1 80 D0 B0 D0 B9 D0 BA 20 31 31 2E 33 D0 B3 2F 35 30 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A4 06 00 00 00 00 13 04 06 00 48 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 69 01 00 00 00 00 07 04 06 00 48 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 4B 3B F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D5 57 00 00 35 04 06 00 88 53 1E E0 9C 10 EB E4 0C 76 45 B6 ED 9C [16:33:16]CheckFolder [16:33:16]dirname=/storage/ofd_packets [16:33:16]CheckFolder done [16:33:16]ProducePacketName [16:33:16]name=ofd_packets/00022485 [16:33:16]NVStorageSaveData ofd_packets/00022485 [16:33:16]File name is /storage/ofd_packets/00022485 [16:33:16]Write 340 bytes [16:33:16]NVStorageSaveData done [16:33:16]OFDSenderStorePacket done [16:33:16]KKMCreateOFDPacket done [16:33:16]NVStorageSaveData kkm_last_timestamp [16:33:16]File name is /storage/kkm_last_timestamp [16:33:16]Write 4 bytes [16:33:16]NVStorageSaveData done [16:33:16]ExternCall_PrintAddStr [16:33:16]wPrintStart [16:33:16]Write to MH i2c: 01 00 00 D6 05 DB [16:33:16]Write i2c OK [16:33:16]MH_I2C_Read... [16:33:16]Read from MH i2c: 01 [16:33:16]MH_I2C_Read... [16:33:16]Read from MH i2c: 01 07 00 [16:33:16]MH_I2C_Read... [16:33:16]Read from MH i2c: 01 07 00 D6 05 00 00 00 00 00 FF 0F F0 [16:33:16]RasterBufferAndPrint [16:33:16]line Счет N : (3)51688 [16:33:16]line ИНН: 02508201610067 [16:33:16]line Контрольно-Кассовый Чек [16:33:16]line ПРОДАЖА [16:33:16]line Товар: 4620017451303 [16:33:16]line Кар.с жев.конф.Страйк 11.3г/50 [16:33:16]line 2.000 * 17.00 [16:33:16]line = 34.00 [16:33:16]line НДС 12% НСП 1% [16:33:16]line > о реализуемом товаре [16:33:16]line ИТОГО: 34.00 [16:33:16]line НСП 1% : 0.30 [16:33:16]line НДС 12% : 3.61 [16:33:16]line Наличными: 34.00 [16:33:16]line Безнал.: 0.00 [16:33:16]line Место: АЗС № 88 "Партнер Нефть" [16:33:16]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [16:33:16]line СНО: Общий режим [16:33:16]line Чек 58 25.09.2024 16:33 [16:33:16]line Смена: 231 ФФД: 1.0 [16:33:16]line ЗНМ: 0300000061 [16:33:16]line РНМ: 0000000000146243 [16:33:16]line Версия ККМ: v1.0 [16:33:16]line ФМ: 0000000000959358 [16:33:16]line ФД: 22485 [16:33:16]line ФПД: 149890581699600 [16:33:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T163315&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22485&fm=149890581699600&tin=02508201610067®Number=0000000000146243&sum=3400 [16:33:16]line 0 [16:33:16]OFD Sender: Processing packet 22485 [packets to send 23, broken 22] [16:33:16]ProducePacketName [16:33:16]name=ofd_packets/00022485 [16:33:16]OFD Sender: To server: pG, [16:33:16]CommunicateWithHost lk.salyk.kg:30040 [16:33:16]ConnectInit lk.salyk.kg [16:33:16]written 0, free lines is 4095 [16:33:16]Connected sock=10 [16:33:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 36 01 00 00 D6 F5 2E 01 80 CF 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 31 33 30 33 06 04 30 00 D0 9A D0 B0 D1 80 2E D1 81 20 D0 B6 D0 B5 D0 B2 2E D0 BA D0 BE D0 BD D1 84 2E D0 A1 D1 82 D1 80 D0 B0 D0 B9 D0 BA 20 31 31 2E 33 D0 B3 2F 35 30 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A4 06 00 00 00 00 13 04 06 00 48 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 69 01 00 00 00 00 07 04 06 00 48 0D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 4B 3B F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D5 57 00 00 35 04 06 00 88 53 1E E0 9C 10 EB E4 0C 76 45 B6 ED 9C [16:33:16]Write to MH i2c: 01 00 00 FF 05 04 [16:33:16]Write i2c OK [16:33:16]MH_I2C_Read... [16:33:16]Read from MH i2c: 01 [16:33:16]MH_I2C_Read... [16:33:16]Read from MH i2c: 01 07 00 [16:33:16]MH_I2C_Read... [16:33:16]Read from MH i2c: 01 07 00 FF 05 00 00 00 00 00 11 0D 29 [16:33:16]RasterBufferAndPrint [16:33:16]line [16:33:16]line [16:33:16]line [16:33:16]line [16:33:16]line [16:33:16]written 0, free lines is 3351 [16:33:16]MH_Cut [16:33:16]Write to MH i2c: D1 01 00 06 06 01 DE [16:33:16]Write i2c OK [16:33:16]MH_I2C_Read... [16:33:16]Read from MH i2c: D1 [16:33:16]MH_I2C_Read... [16:33:16]Read from MH i2c: D1 01 00 [16:33:16]MH_I2C_Read... [16:33:16]Read from MH i2c: D1 01 00 06 06 00 DD [16:33:16]Write to MH i2c: 01 00 00 07 06 0D [16:33:16]Write i2c OK [16:33:16]MH_I2C_Read... [16:33:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 56 C2 47 00 1D 8B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D5 57 00 00 F4 03 04 00 6D E5 F3 66 B6 04 01 00 00 F0 B3 76 36 04 D5 B8 49 [16:33:16]CommunicateWithHost err = 0 [16:33:16]CheckOFDResponse [16:33:16]1017 (14) - 77093643461234 [16:33:16]1041 (16) - 0000000000959358 [16:33:16]1040 (4) - 22485 [16:33:16]1012 (4) - 25.09.2024 10:26 [16:33:16]1206 (1) - 0 [16:33:16]OFD Sender: Remove packet 22485 [16:33:16]ProducePacketName [16:33:16]name=ofd_packets/00022485 [16:33:16]NVStorageDeleteData [16:33:17]OFD Sender: No OFD packet to send [16:33:17]*** Cut start [16:33:17]*** Partial cut [16:33:17]*** CUTSNS_PIN = 1 [16:33:17]*** CUTSNS_PIN = 0 [16:33:17]*** Brake cut motor [16:33:18]Read from MH i2c: 01 [16:33:18]MH_I2C_Read... [16:33:18]*** Stop cut motor [16:33:18]*** Cut end [16:33:18]Read from MH i2c: 01 07 00 [16:33:18]MH_I2C_Read... [16:33:18]Read from MH i2c: 01 07 00 07 06 00 00 00 00 00 FF 0F 22 [16:33:18]process_action close_receipt done [16:33:18]requested_data is exist [16:33:18]produce_requested_data [16:33:18]requested_item fm.sn is exist - process it [16:33:18]wFMCommunicate request_size=4 [16:33:18]MH_SAM_APDU [16:33:18]CAPDU: 80 11 00 00 [16:33:18]Write to MH i2c: E2 08 00 08 06 80 11 00 00 00 00 00 00 88 [16:33:18]Write i2c OK [16:33:18]MH_I2C_Read... [16:33:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:33:18]Read from MH i2c: E2 [16:33:18]MH_I2C_Read... [16:33:18]Read from MH i2c: E2 17 00 [16:33:18]MH_I2C_Read... [16:33:18]Read from MH i2c: E2 17 00 08 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 E2 [16:33:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [16:33:18]wFMCommunicate OK [16:33:18]requested_item fd.num is exist - process it [16:33:18]SAM_PROTO_GetFieldsCounters [16:33:18]wFMCommunicate request_size=4 [16:33:18]MH_SAM_APDU [16:33:18]CAPDU: 80 13 00 00 [16:33:18]Write to MH i2c: E2 08 00 09 06 80 13 00 00 00 00 00 00 8B [16:33:18]Write i2c OK [16:33:18]MH_I2C_Read... [16:33:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:33:18]Read from MH i2c: E2 [16:33:18]MH_I2C_Read... [16:33:18]Read from MH i2c: E2 62 00 [16:33:18]MH_I2C_Read... [16:33:18]Read from MH i2c: E2 62 00 09 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 D5 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 6F [16:33:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 D5 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:33:18]wFMCommunicate OK [16:33:18]SAM_PROTO_GetFieldsCounters done [16:33:18]requested_item shift.num is exist - process it [16:33:18]requested_item shift.opened is exist - process it [16:33:18]req_shift_opened [16:33:18]FM_GetShiftState [16:33:18]SAM_PROTO_GetShiftState [16:33:18]wFMCommunicate request_size=4 [16:33:18]MH_SAM_APDU [16:33:18]CAPDU: 80 13 01 00 [16:33:18]Write to MH i2c: E2 08 00 0A 06 80 13 01 00 00 00 00 00 8D [16:33:18]Write i2c OK [16:33:18]MH_I2C_Read... [16:33:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:33:18]Read from MH i2c: E2 [16:33:18]MH_I2C_Read... [16:33:18]Read from MH i2c: E2 0E 00 [16:33:18]MH_I2C_Read... [16:33:18]Read from MH i2c: E2 0E 00 0A 06 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 1E [16:33:18]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [16:33:18]wFMCommunicate OK [16:33:18]SAM_PROTO_GetShiftState done [16:33:18]FM_GetShiftState done [16:33:18]req_shift_opened done [16:33:18]requested_item shift.open_date is exist - process it [16:33:18]req_shift_open_date [16:33:18]req_shift_open_date done [16:33:18]produce_requested_data done [16:33:18]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22485,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [16:33:18]process_action_free close_receipt [16:33:18]json_value_free [16:33:18]json_value_free done [16:33:18]process_json_proto returns [16:33:18]Send response to host [16:33:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22485,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [16:33:18]free response buf [16:33:18]execute_script done [16:33:18]execute_script returns [16:33:18]free content buf [16:33:18]Sock 7.Close socket [16:33:18]Sock 7.Thread stoped [16:33:22]OFD Sender: No OFD packet to send [16:33:27]OFD Sender: No OFD packet to send [16:33:32]OFD Sender: No OFD packet to send [16:33:37]OFD Sender: No OFD packet to send [16:33:42]OFD Sender: No OFD packet to send [16:33:47]OFD Sender: No OFD packet to send [16:33:52]OFD Sender: No OFD packet to send [16:33:57]OFD Sender: No OFD packet to send [16:34:02]OFD Sender: No OFD packet to send [16:34:07]OFD Sender: No OFD packet to send [16:34:12]OFD Sender: No OFD packet to send [16:34:17]OFD Sender: No OFD packet to send [16:34:22]OFD Sender: No OFD packet to send [16:34:27]OFD Sender: No OFD packet to send [16:34:32]OFD Sender: No OFD packet to send [16:34:37]OFD Sender: No OFD packet to send [16:34:42]OFD Sender: No OFD packet to send [16:34:47]OFD Sender: No OFD packet to send [16:34:52]OFD Sender: No OFD packet to send [16:34:57]OFD Sender: No OFD packet to send [16:35:02]OFD Sender: No OFD packet to send [16:35:07]OFD Sender: No OFD packet to send [16:35:12]OFD Sender: No OFD packet to send [16:35:17]OFD Sender: No OFD packet to send [16:35:22]OFD Sender: No OFD packet to send [16:35:27]OFD Sender: No OFD packet to send [16:35:32]OFD Sender: No OFD packet to send [16:35:37]OFD Sender: No OFD packet to send [16:35:42]OFD Sender: No OFD packet to send [16:35:47]OFD Sender: No OFD packet to send [16:35:52]OFD Sender: No OFD packet to send [16:35:57]OFD Sender: No OFD packet to send [16:36:02]OFD Sender: No OFD packet to send [16:36:07]OFD Sender: No OFD packet to send [16:36:12]OFD Sender: No OFD packet to send [16:36:17]OFD Sender: No OFD packet to send [16:36:22]OFD Sender: No OFD packet to send [16:36:27]OFD Sender: No OFD packet to send [16:36:32]OFD Sender: No OFD packet to send [16:36:37]OFD Sender: No OFD packet to send [16:36:42]OFD Sender: No OFD packet to send [16:36:47]OFD Sender: No OFD packet to send [16:36:52]OFD Sender: No OFD packet to send [16:36:57]OFD Sender: No OFD packet to send [16:37:02]OFD Sender: No OFD packet to send [16:37:07]OFD Sender: No OFD packet to send [16:37:11]accept exits with 9 [16:37:11]New connection [16:37:11]New thread 3067440484 created [16:37:11]Thread 3067583844 joined [16:37:11]Waiting for new connection... [16:37:11] Sock 9.Parse request [16:37:11]Sock 9.Check first char [16:37:11]Sock 9.First char is OK [16:37:11]request: POST /json_proto HTTP/1.0 [16:37:11]Method: POST [16:37:11]URL: /json_proto [16:37:11]Method is POST - this is cgi request [16:37:11]url: /json_proto [16:37:11]query_string will be loaded in cgi processing [16:37:11]execute_cgi json_proto POST (null) [16:37:11]execute_cgi path=json_proto method=POST [16:37:11]POST find Content-Length [16:37:11]Host: 172.17.43.4:8080 [16:37:11]Content-Length: 804 [16:37:11]Content-Type: application/json [16:37:11] [16:37:11]POST finish read [16:37:11]Found Content-Length = 804 [16:37:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51689", "tax_sys" : 0, "items" : [ { "code": "4700003010346", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 0,5\u043B", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:37:11]execute_script... [16:37:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51689", "tax_sys" : 0, "items" : [ { "code": "4700003010346", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 0,5\u043B", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:37:11]POST & json_proto [16:37:11]process_json_proto [16:37:11]json parsed OK: [16:37:11]protocol is kg_v1.0 [16:37:11]action value=close_receipt [16:37:11]process_action close_receipt [16:37:11]cmd_close_receipt [16:37:11]MH_GetDate [16:37:11]Write to MH i2c: F0 00 00 0B 06 00 [16:37:11]Write i2c OK [16:37:11]MH_I2C_Read... [16:37:11]Read from MH i2c: F0 [16:37:11]MH_I2C_Read... [16:37:11]Read from MH i2c: F0 09 00 [16:37:11]MH_I2C_Read... [16:37:11]Read from MH i2c: F0 09 00 0B 06 00 38 3C F4 66 02 BF CF 66 CD [16:37:11]GetLastDocTimeStamp 1727281995 [16:37:11]current date 1727282232 [16:37:11]FM_GetShiftState [16:37:11]SAM_PROTO_GetShiftState [16:37:11]wFMCommunicate request_size=4 [16:37:11]MH_SAM_APDU [16:37:11]CAPDU: 80 13 01 00 [16:37:11]Write to MH i2c: E2 08 00 0C 06 80 13 01 00 00 00 00 00 8F [16:37:11]Write i2c OK [16:37:11]MH_I2C_Read... [16:37:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:37:11]Read from MH i2c: E2 [16:37:11]MH_I2C_Read... [16:37:11]Read from MH i2c: E2 0E 00 [16:37:11]MH_I2C_Read... [16:37:11]Read from MH i2c: E2 0E 00 0C 06 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 20 [16:37:11]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [16:37:11]wFMCommunicate OK [16:37:11]SAM_PROTO_GetShiftState done [16:37:11]FM_GetShiftState done [16:37:11]opened in 1727224020 [16:37:11]opened+sec_in_day 1727310420 [16:37:11]quantity*price = 0 [16:37:11]sum+1 = 1 [16:37:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 59 25.09.2024 16:37 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000959358 ФД: 22486 ФПД: 169011841593457 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T163712&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22486&fm=169011841593457&tin=02508201610067®Number=0000000000146243&sum=0 0 [16:37:12]StoreToDocumentArchive [16:37:12]shift 231 fd 22486 [16:37:12]save to /storage/0231/doc_00022486 [16:37:12]save last doc name /storage/0231/doc_00022486 to /storage/kkm_last_doc_name [16:37:12]save OK [16:37:12]Clear old archive folders... [16:37:12]ProcessDocumentItem done err = 0, tmpTLVsize=296 [16:37:12]tlvbuf is 001E49F0 [16:37:12]SAM_PROTO_ClearQueue [16:37:12]wFMCommunicate request_size=4 [16:37:12]MH_SAM_APDU [16:37:12]CAPDU: 80 09 00 00 [16:37:12]Write to MH i2c: E2 08 00 19 06 80 09 00 00 00 00 00 00 91 [16:37:12]Write i2c OK [16:37:12]MH_I2C_Read... [16:37:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:37:12]Read from MH i2c: E2 [16:37:12]MH_I2C_Read... [16:37:12]Read from MH i2c: E2 03 00 [16:37:12]MH_I2C_Read... [16:37:12]Read from MH i2c: E2 03 00 19 06 00 90 00 93 [16:37:12]RAPDU: 90 00 [16:37:12]wFMCommunicate OK [16:37:12]SAM_PROTO_ClearQueue done [16:37:12]KKMCreateOFDPacket [16:37:12]OFDProtocolAddRootSTLVToBuf [16:37:12]FM_MakeSignedData [16:37:12]FM_MakeSignedData [16:37:12]SAM_PROTO_SignData [16:37:12]wFMCommunicate request_size=4 [16:37:12]MH_SAM_APDU [16:37:12]CAPDU: 80 0D 01 02 [16:37:12]Write to MH i2c: E2 08 00 1A 06 80 0D 01 02 00 00 00 00 99 [16:37:12]Write i2c OK [16:37:12]MH_I2C_Read... [16:37:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:37:12]Read from MH i2c: E2 [16:37:12]MH_I2C_Read... [16:37:12]Read from MH i2c: E2 03 00 [16:37:12]MH_I2C_Read... [16:37:12]Read from MH i2c: E2 03 00 1A 06 00 90 00 94 [16:37:12]RAPDU: 90 00 [16:37:12]wFMCommunicate OK [16:37:12]wFMCommunicate request_size=255 [16:37:12]MH_SAM_APDU [16:37:12]CAPDU: 80 0D 02 02 FA 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 34 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 3B 00 00 00 F4 03 04 00 38 3C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 [16:37:12]Write to MH i2c: E2 02 01 1B 06 80 0D 02 02 FA 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 34 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 3B 00 00 00 F4 03 04 00 38 3C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 00 00 7B [16:37:12]Write i2c OK [16:37:12]MH_I2C_Read... [16:37:12]OFD Sender: No OFD packet to send [16:37:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:37:12]Read from MH i2c: E2 [16:37:12]MH_I2C_Read... [16:37:12]Read from MH i2c: E2 03 00 [16:37:12]MH_I2C_Read... [16:37:12]Read from MH i2c: E2 03 00 1B 06 00 90 00 95 [16:37:12]RAPDU: 90 00 [16:37:12]wFMCommunicate OK [16:37:12]wFMCommunicate request_size=55 [16:37:12]MH_SAM_APDU [16:37:12]CAPDU: 80 0D 02 02 32 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D6 57 00 00 35 04 06 00 99 B7 22 C7 F0 71 [16:37:12]Write to MH i2c: E2 3A 00 1C 06 80 0D 02 02 32 00 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D6 57 00 00 35 04 06 00 99 B7 22 C7 F0 71 00 00 BE [16:37:12]Write i2c OK [16:37:12]MH_I2C_Read... [16:37:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:37:13]Read from MH i2c: E2 [16:37:13]MH_I2C_Read... [16:37:13]Read from MH i2c: E2 03 00 [16:37:13]MH_I2C_Read... [16:37:13]Read from MH i2c: E2 03 00 1C 06 00 90 00 96 [16:37:13]RAPDU: 90 00 [16:37:13]wFMCommunicate OK [16:37:13]wFMCommunicate request_size=4 [16:37:13]MH_SAM_APDU [16:37:13]CAPDU: 80 0D 03 02 [16:37:13]Write to MH i2c: E2 08 00 1D 06 80 0D 03 02 00 00 00 00 9E [16:37:13]Write i2c OK [16:37:13]MH_I2C_Read... [16:37:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:37:13]Read from MH i2c: E2 [16:37:13]MH_I2C_Read... [16:37:13]Read from MH i2c: E2 0B 00 [16:37:13]MH_I2C_Read... [16:37:13]Read from MH i2c: E2 0B 00 1D 06 00 BB 31 FB A4 B1 10 8D 57 90 00 CF [16:37:13]RAPDU: BB 31 FB A4 B1 10 8D 57 90 00 [16:37:13]wFMCommunicate OK [16:37:13]SAM_PROTO_SignData done [16:37:13]FM_MakeSignedData done [16:37:13]CreateOFDProtocolMessage [16:37:13]wFMCommunicate request_size=4 [16:37:13]MH_SAM_APDU [16:37:13]CAPDU: 80 11 00 00 [16:37:13]Write to MH i2c: E2 08 00 1E 06 80 11 00 00 00 00 00 00 9E [16:37:13]Write i2c OK [16:37:13]MH_I2C_Read... [16:37:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:37:13]Read from MH i2c: E2 [16:37:13]MH_I2C_Read... [16:37:13]Read from MH i2c: E2 17 00 [16:37:13]MH_I2C_Read... [16:37:13]Read from MH i2c: E2 17 00 1E 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 F8 [16:37:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [16:37:13]wFMCommunicate OK [16:37:13]CreateOFDProtocolMessage done [16:37:13]OFDSenderStorePacket 22486 [16:37:13]StoreOFDPacket docnum=22486 [16:37:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 3C 01 00 00 92 99 34 01 28 D5 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 34 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 3B 00 00 00 F4 03 04 00 38 3C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D6 57 00 00 35 04 06 00 99 B7 22 C7 F0 71 BB 31 FB A4 B1 10 8D 57 [16:37:13]CheckFolder [16:37:13]dirname=/storage/ofd_packets [16:37:13]CheckFolder done [16:37:13]ProducePacketName [16:37:13]name=ofd_packets/00022486 [16:37:13]NVStorageSaveData ofd_packets/00022486 [16:37:13]File name is /storage/ofd_packets/00022486 [16:37:13]Write 346 bytes [16:37:13]NVStorageSaveData done [16:37:13]OFDSenderStorePacket done [16:37:13]KKMCreateOFDPacket done [16:37:13]NVStorageSaveData kkm_last_timestamp [16:37:13]File name is /storage/kkm_last_timestamp [16:37:13]Write 4 bytes [16:37:13]NVStorageSaveData done [16:37:13]ExternCall_PrintAddStr [16:37:13]wPrintStart [16:37:13]Write to MH i2c: 01 00 00 1F 06 25 [16:37:13]Write i2c OK [16:37:13]MH_I2C_Read... [16:37:13]Read from MH i2c: 01 [16:37:13]MH_I2C_Read... [16:37:13]Read from MH i2c: 01 07 00 [16:37:13]MH_I2C_Read... [16:37:13]Read from MH i2c: 01 07 00 1F 06 00 00 00 00 00 FF 0F 3A [16:37:13]RasterBufferAndPrint [16:37:13]line Счет N : (3)51689 [16:37:13]line ИНН: 02508201610067 [16:37:13]line Контрольно-Кассовый Чек [16:37:13]line ПРОДАЖА [16:37:13]line Товар: 4700003010346 [16:37:13]line Напиток Let`s Go! с/с груша ПЭТ 0,5л [16:37:13]line 1.000 * 0.00 [16:37:13]line = 0.00 [16:37:13]line НДС 12% НСП 1% [16:37:13]line > о реализуемом товаре [16:37:13]line ИТОГО: 0.00 [16:37:13]line НСП 1% : 0.00 [16:37:13]line НДС 12% : 0.00 [16:37:13]line Наличными: 0.00 [16:37:13]line Безнал.: 0.00 [16:37:13]line Место: АЗС № 88 "Партнер Нефть" [16:37:13]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [16:37:13]line СНО: Общий режим [16:37:13]line Чек 59 25.09.2024 16:37 [16:37:13]line Смена: 231 ФФД: 1.0 [16:37:13]line ЗНМ: 0300000061 [16:37:13]line РНМ: 0000000000146243 [16:37:13]line Версия ККМ: v1.0 [16:37:13]line Платежная система: Mbank [16:37:13]line ФМ: 0000000000959358 [16:37:13]line ФД: 22486 [16:37:13]line ФПД: 169011841593457 [16:37:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T163712&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22486&fm=169011841593457&tin=02508201610067®Number=0000000000146243&sum=0 [16:37:13]line 0 [16:37:13]OFD Sender: Processing packet 22486 [packets to send 23, broken 22] [16:37:13]ProducePacketName [16:37:13]name=ofd_packets/00022486 [16:37:13]OFD Sender: To server: pG, [16:37:13]CommunicateWithHost lk.salyk.kg:30040 [16:37:13]ConnectInit lk.salyk.kg [16:37:13]written 0, free lines is 4095 [16:37:13]Connected sock=10 [16:37:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 3C 01 00 00 92 99 34 01 28 D5 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 34 36 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 3B 00 00 00 F4 03 04 00 38 3C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D6 57 00 00 35 04 06 00 99 B7 22 C7 F0 71 BB 31 FB A4 B1 10 8D 57 [16:37:13]Write to MH i2c: 01 00 00 49 06 4F [16:37:13]Write i2c OK [16:37:13]MH_I2C_Read... [16:37:13]Read from MH i2c: 01 [16:37:13]MH_I2C_Read... [16:37:13]Read from MH i2c: 01 07 00 [16:37:13]MH_I2C_Read... [16:37:13]Read from MH i2c: 01 07 00 49 06 00 00 00 00 00 13 0D 76 [16:37:13]RasterBufferAndPrint [16:37:13]line [16:37:13]line [16:37:13]line [16:37:13]line [16:37:13]line [16:37:13]written 0, free lines is 3353 [16:37:13]MH_Cut [16:37:13]Write to MH i2c: D1 01 00 50 06 01 28 [16:37:13]Write i2c OK [16:37:13]MH_I2C_Read... [16:37:13]Read from MH i2c: D1 [16:37:13]MH_I2C_Read... [16:37:13]Read from MH i2c: D1 01 00 [16:37:13]MH_I2C_Read... [16:37:13]Read from MH i2c: D1 01 00 50 06 00 27 [16:37:13]Write to MH i2c: 01 00 00 51 06 57 [16:37:13]Write i2c OK [16:37:13]MH_I2C_Read... [16:37:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 D7 B5 47 00 10 38 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D6 57 00 00 F4 03 04 00 5A E6 F3 66 B6 04 01 00 00 D9 60 1F 69 4E 6D 34 7B [16:37:13]CommunicateWithHost err = 0 [16:37:13]CheckOFDResponse [16:37:13]1017 (14) - 77093643461234 [16:37:13]1041 (16) - 0000000000959358 [16:37:13]1040 (4) - 22486 [16:37:13]1012 (4) - 25.09.2024 10:30 [16:37:13]1206 (1) - 0 [16:37:13]OFD Sender: Remove packet 22486 [16:37:13]ProducePacketName [16:37:13]name=ofd_packets/00022486 [16:37:13]NVStorageDeleteData [16:37:14]OFD Sender: No OFD packet to send [16:37:14]*** Cut start [16:37:14]*** Partial cut [16:37:14]*** CUTSNS_PIN = 1 [16:37:14]*** CUTSNS_PIN = 0 [16:37:14]*** Brake cut motor [16:37:15]Read from MH i2c: 01 [16:37:15]MH_I2C_Read... [16:37:15]*** Stop cut motor [16:37:15]*** Cut end [16:37:15]Read from MH i2c: 01 07 00 [16:37:15]MH_I2C_Read... [16:37:15]Read from MH i2c: 01 07 00 51 06 00 00 00 00 00 FF 0F 6C [16:37:15]process_action close_receipt done [16:37:15]requested_data is exist [16:37:15]produce_requested_data [16:37:15]requested_item fm.sn is exist - process it [16:37:15]wFMCommunicate request_size=4 [16:37:15]MH_SAM_APDU [16:37:15]CAPDU: 80 11 00 00 [16:37:15]Write to MH i2c: E2 08 00 52 06 80 11 00 00 00 00 00 00 D2 [16:37:15]Write i2c OK [16:37:15]MH_I2C_Read... [16:37:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:37:15]Read from MH i2c: E2 [16:37:15]MH_I2C_Read... [16:37:15]Read from MH i2c: E2 17 00 [16:37:15]MH_I2C_Read... [16:37:15]Read from MH i2c: E2 17 00 52 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 2C [16:37:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [16:37:15]wFMCommunicate OK [16:37:15]requested_item fd.num is exist - process it [16:37:15]SAM_PROTO_GetFieldsCounters [16:37:15]wFMCommunicate request_size=4 [16:37:15]MH_SAM_APDU [16:37:15]CAPDU: 80 13 00 00 [16:37:15]Write to MH i2c: E2 08 00 53 06 80 13 00 00 00 00 00 00 D5 [16:37:15]Write i2c OK [16:37:15]MH_I2C_Read... [16:37:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:37:15]Read from MH i2c: E2 [16:37:15]MH_I2C_Read... [16:37:15]Read from MH i2c: E2 62 00 [16:37:15]MH_I2C_Read... [16:37:15]Read from MH i2c: E2 62 00 53 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 D6 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 BD [16:37:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 D6 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:37:15]wFMCommunicate OK [16:37:15]SAM_PROTO_GetFieldsCounters done [16:37:15]requested_item shift.num is exist - process it [16:37:15]requested_item shift.opened is exist - process it [16:37:15]req_shift_opened [16:37:15]FM_GetShiftState [16:37:15]SAM_PROTO_GetShiftState [16:37:15]wFMCommunicate request_size=4 [16:37:15]MH_SAM_APDU [16:37:15]CAPDU: 80 13 01 00 [16:37:15]Write to MH i2c: E2 08 00 54 06 80 13 01 00 00 00 00 00 D7 [16:37:15]Write i2c OK [16:37:15]MH_I2C_Read... [16:37:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:37:15]Read from MH i2c: E2 [16:37:15]MH_I2C_Read... [16:37:15]Read from MH i2c: E2 0E 00 [16:37:15]MH_I2C_Read... [16:37:15]Read from MH i2c: E2 0E 00 54 06 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 68 [16:37:15]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [16:37:15]wFMCommunicate OK [16:37:15]SAM_PROTO_GetShiftState done [16:37:15]FM_GetShiftState done [16:37:15]req_shift_opened done [16:37:15]requested_item shift.open_date is exist - process it [16:37:15]req_shift_open_date [16:37:15]req_shift_open_date done [16:37:15]produce_requested_data done [16:37:15]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22486,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [16:37:15]process_action_free close_receipt [16:37:15]json_value_free [16:37:15]json_value_free done [16:37:15]process_json_proto returns [16:37:15]Send response to host [16:37:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22486,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [16:37:15]free response buf [16:37:15]execute_script done [16:37:15]execute_script returns [16:37:15]free content buf [16:37:15]Sock 9.Close socket [16:37:15]Sock 9.Thread stoped [16:37:19]OFD Sender: No OFD packet to send [16:37:24]OFD Sender: No OFD packet to send [16:37:29]OFD Sender: No OFD packet to send [16:37:34]OFD Sender: No OFD packet to send [16:37:39]OFD Sender: No OFD packet to send [16:37:44]OFD Sender: No OFD packet to send [16:37:49]OFD Sender: No OFD packet to send [16:37:54]OFD Sender: No OFD packet to send [16:37:59]OFD Sender: No OFD packet to send [16:38:04]OFD Sender: No OFD packet to send [16:38:06]accept exits with 7 [16:38:06]New connection [16:38:06]New thread 3067583844 created [16:38:06]Thread 3067440484 joined [16:38:06]Waiting for new connection... [16:38:06] Sock 7.Parse request [16:38:06]Sock 7.Check first char [16:38:06]Sock 7.First char is OK [16:38:06]request: POST /json_proto HTTP/1.0 [16:38:06]Method: POST [16:38:06]URL: /json_proto [16:38:06]Method is POST - this is cgi request [16:38:06]url: /json_proto [16:38:06]query_string will be loaded in cgi processing [16:38:06]execute_cgi json_proto POST (null) [16:38:06]execute_cgi path=json_proto method=POST [16:38:06]POST find Content-Length [16:38:06]Host: 172.17.43.4:8080 [16:38:06]Content-Length: 661 [16:38:06]Content-Type: application/json [16:38:06] [16:38:06]POST finish read [16:38:06]Found Content-Length = 661 [16:38:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51690", "tax_sys" : 0, "items" : [ { "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 100.000, "sum" : 400.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 400.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:38:06]execute_script... [16:38:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51690", "tax_sys" : 0, "items" : [ { "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 100.000, "sum" : 400.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 400.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:38:06]POST & json_proto [16:38:06]process_json_proto [16:38:06]json parsed OK: [16:38:06]protocol is kg_v1.0 [16:38:06]action value=close_receipt [16:38:06]process_action close_receipt [16:38:06]cmd_close_receipt [16:38:06]MH_GetDate [16:38:06]Write to MH i2c: F0 00 00 55 06 4A [16:38:06]Write i2c OK [16:38:06]MH_I2C_Read... [16:38:06]Read from MH i2c: F0 [16:38:06]MH_I2C_Read... [16:38:06]Read from MH i2c: F0 09 00 [16:38:06]MH_I2C_Read... [16:38:06]Read from MH i2c: F0 09 00 55 06 00 6F 3C F4 66 02 BF CF 66 4E [16:38:06]GetLastDocTimeStamp 1727282232 [16:38:06]current date 1727282287 [16:38:06]FM_GetShiftState [16:38:06]SAM_PROTO_GetShiftState [16:38:06]wFMCommunicate request_size=4 [16:38:06]MH_SAM_APDU [16:38:06]CAPDU: 80 13 01 00 [16:38:06]Write to MH i2c: E2 08 00 56 06 80 13 01 00 00 00 00 00 D9 [16:38:06]Write i2c OK [16:38:06]MH_I2C_Read... [16:38:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:38:06]Read from MH i2c: E2 [16:38:06]MH_I2C_Read... [16:38:06]Read from MH i2c: E2 0E 00 [16:38:06]MH_I2C_Read... [16:38:06]Read from MH i2c: E2 0E 00 56 06 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 6A [16:38:06]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [16:38:06]wFMCommunicate OK [16:38:06]SAM_PROTO_GetShiftState done [16:38:06]FM_GetShiftState done [16:38:06]opened in 1727224020 [16:38:06]opened+sec_in_day 1727310420 [16:38:06]quantity*price = 40000 [16:38:06]sum+1 = 40001 [16:38:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 400.00 НСП 1% : 3.54 НДС 12% : 42.48 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 60 25.09.2024 16:38 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22487 ФПД: 27812227560789 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T163807&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22487&fm=27812227560789&tin=02508201610067®Number=0000000000146243&sum=40000 0 [16:38:07]StoreToDocumentArchive [16:38:07]shift 231 fd 22487 [16:38:07]save to /storage/0231/doc_00022487 [16:38:07]save last doc name /storage/0231/doc_00022487 to /storage/kkm_last_doc_name [16:38:07]save OK [16:38:07]Clear old archive folders... [16:38:07]ProcessDocumentItem done err = 0, tmpTLVsize=278 [16:38:07]tlvbuf is 00216500 [16:38:07]SAM_PROTO_ClearQueue [16:38:07]wFMCommunicate request_size=4 [16:38:07]MH_SAM_APDU [16:38:07]CAPDU: 80 09 00 00 [16:38:07]Write to MH i2c: E2 08 00 63 06 80 09 00 00 00 00 00 00 DB [16:38:07]Write i2c OK [16:38:07]MH_I2C_Read... [16:38:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:38:07]Read from MH i2c: E2 [16:38:07]MH_I2C_Read... [16:38:07]Read from MH i2c: E2 03 00 [16:38:07]MH_I2C_Read... [16:38:07]Read from MH i2c: E2 03 00 63 06 00 90 00 DD [16:38:07]RAPDU: 90 00 [16:38:07]wFMCommunicate OK [16:38:07]SAM_PROTO_ClearQueue done [16:38:07]KKMCreateOFDPacket [16:38:07]OFDProtocolAddRootSTLVToBuf [16:38:07]FM_MakeSignedData [16:38:07]FM_MakeSignedData [16:38:07]SAM_PROTO_SignData [16:38:07]wFMCommunicate request_size=4 [16:38:07]MH_SAM_APDU [16:38:07]CAPDU: 80 0D 01 02 [16:38:07]Write to MH i2c: E2 08 00 64 06 80 0D 01 02 00 00 00 00 E3 [16:38:07]Write i2c OK [16:38:07]MH_I2C_Read... [16:38:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:38:07]Read from MH i2c: E2 [16:38:07]MH_I2C_Read... [16:38:07]Read from MH i2c: E2 03 00 [16:38:07]MH_I2C_Read... [16:38:07]Read from MH i2c: E2 03 00 64 06 00 90 00 DE [16:38:07]RAPDU: 90 00 [16:38:07]wFMCommunicate OK [16:38:07]wFMCommunicate request_size=255 [16:38:07]MH_SAM_APDU [16:38:07]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 A0 86 01 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 40 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 6F 3C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 [16:38:07]Write to MH i2c: E2 02 01 65 06 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 A0 86 01 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 40 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 6F 3C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 00 00 3E [16:38:07]Write i2c OK [16:38:07]MH_I2C_Read... [16:38:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:38:07]Read from MH i2c: E2 [16:38:07]MH_I2C_Read... [16:38:07]Read from MH i2c: E2 03 00 [16:38:07]MH_I2C_Read... [16:38:07]Read from MH i2c: E2 03 00 65 06 00 90 00 DF [16:38:07]RAPDU: 90 00 [16:38:07]wFMCommunicate OK [16:38:07]wFMCommunicate request_size=37 [16:38:07]MH_SAM_APDU [16:38:07]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D7 57 00 00 35 04 06 00 19 4B 89 F1 B5 55 [16:38:07]Write to MH i2c: E2 28 00 66 06 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D7 57 00 00 35 04 06 00 19 4B 89 F1 B5 55 00 00 5A [16:38:07]Write i2c OK [16:38:07]MH_I2C_Read... [16:38:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:38:08]Read from MH i2c: E2 [16:38:08]MH_I2C_Read... [16:38:08]Read from MH i2c: E2 03 00 [16:38:08]MH_I2C_Read... [16:38:08]Read from MH i2c: E2 03 00 66 06 00 90 00 E0 [16:38:08]RAPDU: 90 00 [16:38:08]wFMCommunicate OK [16:38:08]wFMCommunicate request_size=4 [16:38:08]MH_SAM_APDU [16:38:08]CAPDU: 80 0D 03 02 [16:38:08]Write to MH i2c: E2 08 00 67 06 80 0D 03 02 00 00 00 00 E8 [16:38:08]Write i2c OK [16:38:08]MH_I2C_Read... [16:38:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:38:08]Read from MH i2c: E2 [16:38:08]MH_I2C_Read... [16:38:08]Read from MH i2c: E2 0B 00 [16:38:08]MH_I2C_Read... [16:38:08]Read from MH i2c: E2 0B 00 67 06 00 BF 78 F2 98 21 CB D1 07 90 00 6E [16:38:08]RAPDU: BF 78 F2 98 21 CB D1 07 90 00 [16:38:08]wFMCommunicate OK [16:38:08]SAM_PROTO_SignData done [16:38:08]FM_MakeSignedData done [16:38:08]CreateOFDProtocolMessage [16:38:08]wFMCommunicate request_size=4 [16:38:08]MH_SAM_APDU [16:38:08]CAPDU: 80 11 00 00 [16:38:08]Write to MH i2c: E2 08 00 68 06 80 11 00 00 00 00 00 00 E8 [16:38:08]Write i2c OK [16:38:08]MH_I2C_Read... [16:38:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:38:08]Read from MH i2c: E2 [16:38:08]MH_I2C_Read... [16:38:08]Read from MH i2c: E2 17 00 [16:38:08]MH_I2C_Read... [16:38:08]Read from MH i2c: E2 17 00 68 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 42 [16:38:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [16:38:08]wFMCommunicate OK [16:38:08]CreateOFDProtocolMessage done [16:38:08]OFDSenderStorePacket 22487 [16:38:08]StoreOFDPacket docnum=22487 [16:38:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 2A 01 00 00 C9 D8 22 01 4E 6E 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 A0 86 01 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 40 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 6F 3C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D7 57 00 00 35 04 06 00 19 4B 89 F1 B5 55 BF 78 F2 98 21 CB D1 07 [16:38:08]CheckFolder [16:38:08]dirname=/storage/ofd_packets [16:38:08]CheckFolder done [16:38:08]ProducePacketName [16:38:08]name=ofd_packets/00022487 [16:38:08]NVStorageSaveData ofd_packets/00022487 [16:38:08]File name is /storage/ofd_packets/00022487 [16:38:08]Write 328 bytes [16:38:08]NVStorageSaveData done [16:38:08]OFDSenderStorePacket done [16:38:08]KKMCreateOFDPacket done [16:38:08]NVStorageSaveData kkm_last_timestamp [16:38:08]File name is /storage/kkm_last_timestamp [16:38:08]Write 4 bytes [16:38:08]NVStorageSaveData done [16:38:08]ExternCall_PrintAddStr [16:38:08]wPrintStart [16:38:08]Write to MH i2c: 01 00 00 69 06 6F [16:38:08]Write i2c OK [16:38:08]MH_I2C_Read... [16:38:08]Read from MH i2c: 01 [16:38:08]MH_I2C_Read... [16:38:08]Read from MH i2c: 01 07 00 [16:38:08]MH_I2C_Read... [16:38:08]Read from MH i2c: 01 07 00 69 06 00 00 00 00 00 FF 0F 84 [16:38:08]RasterBufferAndPrint [16:38:08]line Счет N : (3)51690 [16:38:08]line ИНН: 02508201610067 [16:38:08]line Контрольно-Кассовый Чек [16:38:08]line ПРОДАЖА [16:38:08]line Товар: 2000031750019 [16:38:08]line Пакет Партнер Нефть [16:38:08]line 100.000 * 4.00 [16:38:08]line = 400.00 [16:38:08]line НДС 12% НСП 1% [16:38:08]line > о реализуемом товаре [16:38:08]line ИТОГО: 400.00 [16:38:08]line НСП 1% : 3.54 [16:38:08]line НДС 12% : 42.48 [16:38:08]line Наличными: 400.00 [16:38:08]line Безнал.: 0.00 [16:38:08]line Место: АЗС № 88 "Партнер Нефть" [16:38:08]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [16:38:08]line СНО: Общий режим [16:38:08]line Чек 60 25.09.2024 16:38 [16:38:08]line Смена: 231 ФФД: 1.0 [16:38:08]line ЗНМ: 0300000061 [16:38:08]line РНМ: 0000000000146243 [16:38:08]line Версия ККМ: v1.0 [16:38:08]line ФМ: 0000000000959358 [16:38:08]line ФД: 22487 [16:38:08]line ФПД: 27812227560789 [16:38:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T163807&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22487&fm=27812227560789&tin=02508201610067®Number=0000000000146243&sum=40000 [16:38:08]line 0 [16:38:08]OFD Sender: Processing packet 22487 [packets to send 23, broken 22] [16:38:08]ProducePacketName [16:38:08]name=ofd_packets/00022487 [16:38:08]OFD Sender: To server: pG, [16:38:08]CommunicateWithHost lk.salyk.kg:30040 [16:38:08]ConnectInit lk.salyk.kg [16:38:08]written 0, free lines is 4095 [16:38:08]Connected sock=10 [16:38:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 2A 01 00 00 C9 D8 22 01 4E 6E 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 A0 86 01 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 40 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 6F 3C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D7 57 00 00 35 04 06 00 19 4B 89 F1 B5 55 BF 78 F2 98 21 CB D1 07 [16:38:08]Write to MH i2c: 01 00 00 91 06 97 [16:38:08]Write i2c OK [16:38:08]MH_I2C_Read... [16:38:08]Read from MH i2c: 01 [16:38:08]MH_I2C_Read... [16:38:08]Read from MH i2c: 01 07 00 [16:38:08]MH_I2C_Read... [16:38:08]Read from MH i2c: 01 07 00 91 06 00 00 00 00 00 21 0D CC [16:38:08]RasterBufferAndPrint [16:38:08]line [16:38:08]line [16:38:08]line [16:38:08]line [16:38:08]line [16:38:08]written 0, free lines is 3367 [16:38:08]MH_Cut [16:38:08]Write to MH i2c: D1 01 00 98 06 01 70 [16:38:08]Write i2c OK [16:38:08]MH_I2C_Read... [16:38:08]Read from MH i2c: D1 [16:38:08]MH_I2C_Read... [16:38:08]Read from MH i2c: D1 01 00 [16:38:08]MH_I2C_Read... [16:38:08]Read from MH i2c: D1 01 00 98 06 00 6F [16:38:08]Write to MH i2c: 01 00 00 99 06 9F [16:38:08]Write i2c OK [16:38:08]MH_I2C_Read... [16:38:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 0B 00 47 00 1B 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 30 39 35 39 33 35 38 10 04 04 00 D7 57 00 00 F4 03 04 00 91 E6 F3 66 B6 04 01 00 00 1C E5 49 FC E7 8D 0B 92 [16:38:08]CommunicateWithHost err = 0 [16:38:08]CheckOFDResponse [16:38:08]1017 (14) - 77093643461234 [16:38:08]1041 (16) - 0000000000959358 [16:38:08]1040 (4) - 22487 [16:38:08]1012 (4) - 25.09.2024 10:31 [16:38:08]1206 (1) - 0 [16:38:08]OFD Sender: Remove packet 22487 [16:38:08]ProducePacketName [16:38:08]name=ofd_packets/00022487 [16:38:08]NVStorageDeleteData [16:38:09]OFD Sender: No OFD packet to send [16:38:09]*** Cut start [16:38:09]*** Partial cut [16:38:09]*** CUTSNS_PIN = 1 [16:38:09]*** CUTSNS_PIN = 0 [16:38:09]*** Brake cut motor [16:38:10]Read from MH i2c: 01 [16:38:10]MH_I2C_Read... [16:38:10]*** Stop cut motor [16:38:10]*** Cut end [16:38:10]Read from MH i2c: 01 07 00 [16:38:10]MH_I2C_Read... [16:38:10]Read from MH i2c: 01 07 00 99 06 00 00 00 00 00 FF 0F B4 [16:38:10]process_action close_receipt done [16:38:10]requested_data is exist [16:38:10]produce_requested_data [16:38:10]requested_item fm.sn is exist - process it [16:38:10]wFMCommunicate request_size=4 [16:38:10]MH_SAM_APDU [16:38:10]CAPDU: 80 11 00 00 [16:38:10]Write to MH i2c: E2 08 00 9A 06 80 11 00 00 00 00 00 00 1A [16:38:10]Write i2c OK [16:38:10]MH_I2C_Read... [16:38:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:38:10]Read from MH i2c: E2 [16:38:10]MH_I2C_Read... [16:38:10]Read from MH i2c: E2 17 00 [16:38:10]MH_I2C_Read... [16:38:10]Read from MH i2c: E2 17 00 9A 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 74 [16:38:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [16:38:10]wFMCommunicate OK [16:38:10]requested_item fd.num is exist - process it [16:38:10]SAM_PROTO_GetFieldsCounters [16:38:10]wFMCommunicate request_size=4 [16:38:10]MH_SAM_APDU [16:38:10]CAPDU: 80 13 00 00 [16:38:10]Write to MH i2c: E2 08 00 9B 06 80 13 00 00 00 00 00 00 1D [16:38:10]Write i2c OK [16:38:10]MH_I2C_Read... [16:38:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:38:10]Read from MH i2c: E2 [16:38:10]MH_I2C_Read... [16:38:10]Read from MH i2c: E2 62 00 [16:38:10]MH_I2C_Read... [16:38:10]Read from MH i2c: E2 62 00 9B 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 D7 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 09 [16:38:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 D7 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:38:10]wFMCommunicate OK [16:38:10]SAM_PROTO_GetFieldsCounters done [16:38:10]requested_item shift.num is exist - process it [16:38:10]requested_item shift.opened is exist - process it [16:38:10]req_shift_opened [16:38:10]FM_GetShiftState [16:38:10]SAM_PROTO_GetShiftState [16:38:10]wFMCommunicate request_size=4 [16:38:10]MH_SAM_APDU [16:38:10]CAPDU: 80 13 01 00 [16:38:10]Write to MH i2c: E2 08 00 9C 06 80 13 01 00 00 00 00 00 1F [16:38:10]Write i2c OK [16:38:10]MH_I2C_Read... [16:38:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:38:10]Read from MH i2c: E2 [16:38:10]MH_I2C_Read... [16:38:10]Read from MH i2c: E2 0E 00 [16:38:10]MH_I2C_Read... [16:38:10]Read from MH i2c: E2 0E 00 9C 06 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 B0 [16:38:10]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [16:38:10]wFMCommunicate OK [16:38:10]SAM_PROTO_GetShiftState done [16:38:10]FM_GetShiftState done [16:38:10]req_shift_opened done [16:38:10]requested_item shift.open_date is exist - process it [16:38:10]req_shift_open_date [16:38:10]req_shift_open_date done [16:38:10]produce_requested_data done [16:38:10]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22487,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [16:38:10]process_action_free close_receipt [16:38:10]json_value_free [16:38:10]json_value_free done [16:38:10]process_json_proto returns [16:38:10]Send response to host [16:38:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22487,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [16:38:10]free response buf [16:38:10]execute_script done [16:38:10]execute_script returns [16:38:10]free content buf [16:38:10]Sock 7.Close socket [16:38:10]Sock 7.Thread stoped [16:38:14]OFD Sender: No OFD packet to send [16:38:19]OFD Sender: No OFD packet to send [16:38:24]OFD Sender: No OFD packet to send [16:38:29]OFD Sender: No OFD packet to send [16:38:34]OFD Sender: No OFD packet to send [16:38:39]OFD Sender: No OFD packet to send [16:38:44]OFD Sender: No OFD packet to send [16:38:49]OFD Sender: No OFD packet to send [16:38:54]OFD Sender: No OFD packet to send [16:38:59]OFD Sender: No OFD packet to send [16:39:04]OFD Sender: No OFD packet to send [16:39:09]OFD Sender: No OFD packet to send [16:39:14]OFD Sender: No OFD packet to send [16:39:19]OFD Sender: No OFD packet to send [16:39:24]OFD Sender: No OFD packet to send [16:39:29]OFD Sender: No OFD packet to send [16:39:30]accept exits with 9 [16:39:30]New connection [16:39:30]New thread 3067440484 created [16:39:30]Thread 3067583844 joined [16:39:30]Waiting for new connection... [16:39:30] Sock 9.Parse request [16:39:30]Sock 9.Check first char [16:39:30]Sock 9.First char is OK [16:39:30]request: POST /json_proto HTTP/1.0 [16:39:30]Method: POST [16:39:30]URL: /json_proto [16:39:30]Method is POST - this is cgi request [16:39:30]url: /json_proto [16:39:30]query_string will be loaded in cgi processing [16:39:30]execute_cgi json_proto POST (null) [16:39:30]execute_cgi path=json_proto method=POST [16:39:30]POST find Content-Length [16:39:30]Host: 172.17.43.4:8080 [16:39:30]Content-Length: 694 [16:39:30]Content-Type: application/json [16:39:30] [16:39:30]POST finish read [16:39:30]Found Content-Length = 694 [16:39:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51691", "tax_sys" : 0, "items" : [ { "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 15.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:39:30]execute_script... [16:39:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51691", "tax_sys" : 0, "items" : [ { "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 15.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:39:30]POST & json_proto [16:39:30]process_json_proto [16:39:30]json parsed OK: [16:39:30]protocol is kg_v1.0 [16:39:30]action value=close_receipt [16:39:30]process_action close_receipt [16:39:30]cmd_close_receipt [16:39:30]MH_GetDate [16:39:30]Write to MH i2c: F0 00 00 9D 06 92 [16:39:30]Write i2c OK [16:39:30]MH_I2C_Read... [16:39:30]Read from MH i2c: F0 [16:39:30]MH_I2C_Read... [16:39:30]Read from MH i2c: F0 09 00 [16:39:30]MH_I2C_Read... [16:39:30]Read from MH i2c: F0 09 00 9D 06 00 C3 3C F4 66 02 BF CF 66 EA [16:39:30]GetLastDocTimeStamp 1727282287 [16:39:30]current date 1727282371 [16:39:30]FM_GetShiftState [16:39:30]SAM_PROTO_GetShiftState [16:39:30]wFMCommunicate request_size=4 [16:39:30]MH_SAM_APDU [16:39:30]CAPDU: 80 13 01 00 [16:39:30]Write to MH i2c: E2 08 00 9E 06 80 13 01 00 00 00 00 00 21 [16:39:30]Write i2c OK [16:39:30]MH_I2C_Read... [16:39:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:39:30]Read from MH i2c: E2 [16:39:30]MH_I2C_Read... [16:39:30]Read from MH i2c: E2 0E 00 [16:39:30]MH_I2C_Read... [16:39:30]Read from MH i2c: E2 0E 00 9E 06 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 B2 [16:39:30]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [16:39:30]wFMCommunicate OK [16:39:30]SAM_PROTO_GetShiftState done [16:39:30]FM_GetShiftState done [16:39:30]opened in 1727224020 [16:39:30]opened+sec_in_day 1727310420 [16:39:30]quantity*price = 1500 [16:39:30]sum+1 = 1501 [16:39:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 15.00 НСП 1% : 0.13 НДС 12% : 1.59 Наличными: 15.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 61 25.09.2024 16:39 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22488 ФПД: 56772745254638 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T163931&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22488&fm=56772745254638&tin=02508201610067®Number=0000000000146243&sum=1500 0 [16:39:31]StoreToDocumentArchive [16:39:31]shift 231 fd 22488 [16:39:31]save to /storage/0231/doc_00022488 [16:39:31]save last doc name /storage/0231/doc_00022488 to /storage/kkm_last_doc_name [16:39:31]save OK [16:39:31]Clear old archive folders... [16:39:31]ProcessDocumentItem done err = 0, tmpTLVsize=290 [16:39:31]tlvbuf is 00212C80 [16:39:31]SAM_PROTO_ClearQueue [16:39:31]wFMCommunicate request_size=4 [16:39:31]MH_SAM_APDU [16:39:31]CAPDU: 80 09 00 00 [16:39:31]Write to MH i2c: E2 08 00 AB 06 80 09 00 00 00 00 00 00 23 [16:39:31]Write i2c OK [16:39:31]MH_I2C_Read... [16:39:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:39:31]Read from MH i2c: E2 [16:39:31]MH_I2C_Read... [16:39:31]Read from MH i2c: E2 03 00 [16:39:31]MH_I2C_Read... [16:39:31]Read from MH i2c: E2 03 00 AB 06 00 90 00 25 [16:39:31]RAPDU: 90 00 [16:39:31]wFMCommunicate OK [16:39:31]SAM_PROTO_ClearQueue done [16:39:31]KKMCreateOFDPacket [16:39:31]OFDProtocolAddRootSTLVToBuf [16:39:31]FM_MakeSignedData [16:39:31]FM_MakeSignedData [16:39:31]SAM_PROTO_SignData [16:39:31]wFMCommunicate request_size=4 [16:39:31]MH_SAM_APDU [16:39:31]CAPDU: 80 0D 01 02 [16:39:31]Write to MH i2c: E2 08 00 AC 06 80 0D 01 02 00 00 00 00 2B [16:39:31]Write i2c OK [16:39:31]MH_I2C_Read... [16:39:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:39:31]Read from MH i2c: E2 [16:39:31]MH_I2C_Read... [16:39:31]Read from MH i2c: E2 03 00 [16:39:31]MH_I2C_Read... [16:39:31]Read from MH i2c: E2 03 00 AC 06 00 90 00 26 [16:39:31]RAPDU: 90 00 [16:39:31]wFMCommunicate OK [16:39:31]wFMCommunicate request_size=255 [16:39:31]MH_SAM_APDU [16:39:31]CAPDU: 80 0D 02 02 FA 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 C3 3C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 [16:39:31]Write to MH i2c: E2 02 01 AD 06 80 0D 02 02 FA 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 C3 3C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 66 [16:39:31]Write i2c OK [16:39:31]MH_I2C_Read... [16:39:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:39:31]Read from MH i2c: E2 [16:39:31]MH_I2C_Read... [16:39:31]Read from MH i2c: E2 03 00 [16:39:31]MH_I2C_Read... [16:39:31]Read from MH i2c: E2 03 00 AD 06 00 90 00 27 [16:39:31]RAPDU: 90 00 [16:39:31]wFMCommunicate OK [16:39:31]wFMCommunicate request_size=49 [16:39:31]MH_SAM_APDU [16:39:31]CAPDU: 80 0D 02 02 2C 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D8 57 00 00 35 04 06 00 33 A2 6F 50 56 EE [16:39:31]Write to MH i2c: E2 34 00 AE 06 80 0D 02 02 2C 00 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D8 57 00 00 35 04 06 00 33 A2 6F 50 56 EE 00 00 64 [16:39:31]Write i2c OK [16:39:31]MH_I2C_Read... [16:39:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:39:32]Read from MH i2c: E2 [16:39:32]MH_I2C_Read... [16:39:32]Read from MH i2c: E2 03 00 [16:39:32]MH_I2C_Read... [16:39:32]Read from MH i2c: E2 03 00 AE 06 00 90 00 28 [16:39:32]RAPDU: 90 00 [16:39:32]wFMCommunicate OK [16:39:32]wFMCommunicate request_size=4 [16:39:32]MH_SAM_APDU [16:39:32]CAPDU: 80 0D 03 02 [16:39:32]Write to MH i2c: E2 08 00 AF 06 80 0D 03 02 00 00 00 00 30 [16:39:32]Write i2c OK [16:39:32]MH_I2C_Read... [16:39:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:39:32]Read from MH i2c: E2 [16:39:32]MH_I2C_Read... [16:39:32]Read from MH i2c: E2 0B 00 [16:39:32]MH_I2C_Read... [16:39:32]Read from MH i2c: E2 0B 00 AF 06 00 14 6A 69 7F BE DC 5A DC 90 00 67 [16:39:32]RAPDU: 14 6A 69 7F BE DC 5A DC 90 00 [16:39:32]wFMCommunicate OK [16:39:32]SAM_PROTO_SignData done [16:39:32]FM_MakeSignedData done [16:39:32]CreateOFDProtocolMessage [16:39:32]wFMCommunicate request_size=4 [16:39:32]MH_SAM_APDU [16:39:32]CAPDU: 80 11 00 00 [16:39:32]Write to MH i2c: E2 08 00 B0 06 80 11 00 00 00 00 00 00 30 [16:39:32]Write i2c OK [16:39:32]MH_I2C_Read... [16:39:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:39:32]Read from MH i2c: E2 [16:39:32]MH_I2C_Read... [16:39:32]Read from MH i2c: E2 17 00 [16:39:32]MH_I2C_Read... [16:39:32]Read from MH i2c: E2 17 00 B0 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 8A [16:39:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [16:39:32]wFMCommunicate OK [16:39:32]CreateOFDProtocolMessage done [16:39:32]OFDSenderStorePacket 22488 [16:39:32]StoreOFDPacket docnum=22488 [16:39:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 36 01 00 00 51 41 2E 01 32 43 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 C3 3C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D8 57 00 00 35 04 06 00 33 A2 6F 50 56 EE 14 6A 69 7F BE DC 5A DC [16:39:32]CheckFolder [16:39:32]dirname=/storage/ofd_packets [16:39:32]CheckFolder done [16:39:32]ProducePacketName [16:39:32]name=ofd_packets/00022488 [16:39:32]NVStorageSaveData ofd_packets/00022488 [16:39:32]File name is /storage/ofd_packets/00022488 [16:39:32]Write 340 bytes [16:39:32]NVStorageSaveData done [16:39:32]OFDSenderStorePacket done [16:39:32]KKMCreateOFDPacket done [16:39:32]NVStorageSaveData kkm_last_timestamp [16:39:32]File name is /storage/kkm_last_timestamp [16:39:32]Write 4 bytes [16:39:32]NVStorageSaveData done [16:39:32]ExternCall_PrintAddStr [16:39:32]wPrintStart [16:39:32]Write to MH i2c: 01 00 00 B1 06 B7 [16:39:32]Write i2c OK [16:39:32]MH_I2C_Read... [16:39:32]Read from MH i2c: 01 [16:39:32]MH_I2C_Read... [16:39:32]Read from MH i2c: 01 07 00 [16:39:32]MH_I2C_Read... [16:39:32]Read from MH i2c: 01 07 00 B1 06 00 00 00 00 00 FF 0F CC [16:39:32]RasterBufferAndPrint [16:39:32]line Счет N : (3)51691 [16:39:32]line ИНН: 02508201610067 [16:39:32]line Контрольно-Кассовый Чек [16:39:32]line ПРОДАЖА [16:39:32]line Товар: 4700000160013 [16:39:32]line Снек Курут индивидуальный [16:39:32]line 1.000 * 15.00 [16:39:32]line = 15.00 [16:39:32]line НДС 12% НСП 1% [16:39:32]line > о реализуемом товаре [16:39:32]line ИТОГО: 15.00 [16:39:32]line НСП 1% : 0.13 [16:39:32]line НДС 12% : 1.59 [16:39:32]line Наличными: 15.00 [16:39:32]line Безнал.: 0.00 [16:39:32]line Место: АЗС № 88 "Партнер Нефть" [16:39:32]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [16:39:32]line СНО: Общий режим [16:39:32]line Чек 61 25.09.2024 16:39 [16:39:32]line Смена: 231 ФФД: 1.0 [16:39:32]line ЗНМ: 0300000061 [16:39:32]line РНМ: 0000000000146243 [16:39:32]line Версия ККМ: v1.0 [16:39:32]line ФМ: 0000000000959358 [16:39:32]line ФД: 22488 [16:39:32]line ФПД: 56772745254638 [16:39:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T163931&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22488&fm=56772745254638&tin=02508201610067®Number=0000000000146243&sum=1500 [16:39:32]line 0 [16:39:32]OFD Sender: Processing packet 22488 [packets to send 23, broken 22] [16:39:32]ProducePacketName [16:39:32]name=ofd_packets/00022488 [16:39:32]OFD Sender: To server: pG, [16:39:32]CommunicateWithHost lk.salyk.kg:30040 [16:39:32]ConnectInit lk.salyk.kg [16:39:32]written 0, free lines is 4095 [16:39:32]Connected sock=10 [16:39:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 36 01 00 00 51 41 2E 01 32 43 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 C3 3C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D8 57 00 00 35 04 06 00 33 A2 6F 50 56 EE 14 6A 69 7F BE DC 5A DC [16:39:32]Write to MH i2c: 01 00 00 D9 06 DF [16:39:32]Write i2c OK [16:39:32]MH_I2C_Read... [16:39:32]Read from MH i2c: 01 [16:39:32]MH_I2C_Read... [16:39:32]Read from MH i2c: 01 07 00 [16:39:32]MH_I2C_Read... [16:39:32]Read from MH i2c: 01 07 00 D9 06 00 00 00 00 00 23 0D 16 [16:39:32]RasterBufferAndPrint [16:39:32]line [16:39:32]line [16:39:32]line [16:39:32]line [16:39:32]line [16:39:32]written 0, free lines is 3369 [16:39:32]MH_Cut [16:39:32]Write to MH i2c: D1 01 00 E0 06 01 B8 [16:39:32]Write i2c OK [16:39:32]MH_I2C_Read... [16:39:32]Read from MH i2c: D1 [16:39:32]MH_I2C_Read... [16:39:32]Read from MH i2c: D1 01 00 [16:39:32]MH_I2C_Read... [16:39:32]Read from MH i2c: D1 01 00 E0 06 00 B7 [16:39:32]Write to MH i2c: 01 00 00 E1 06 E7 [16:39:32]Write i2c OK [16:39:32]MH_I2C_Read... [16:39:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 B5 33 47 00 A2 86 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D8 57 00 00 F4 03 04 00 E5 E6 F3 66 B6 04 01 00 00 2C 87 1F 94 8F 66 89 80 [16:39:32]CommunicateWithHost err = 0 [16:39:32]CheckOFDResponse [16:39:32]1017 (14) - 77093643461234 [16:39:32]1041 (16) - 0000000000959358 [16:39:32]1040 (4) - 22488 [16:39:32]1012 (4) - 25.09.2024 10:33 [16:39:32]1206 (1) - 0 [16:39:32]OFD Sender: Remove packet 22488 [16:39:32]ProducePacketName [16:39:32]name=ofd_packets/00022488 [16:39:32]NVStorageDeleteData [16:39:33]OFD Sender: No OFD packet to send [16:39:33]*** Cut start [16:39:33]*** Partial cut [16:39:33]*** CUTSNS_PIN = 1 [16:39:33]*** CUTSNS_PIN = 0 [16:39:33]*** Brake cut motor [16:39:34]Read from MH i2c: 01 [16:39:34]MH_I2C_Read... [16:39:34]*** Stop cut motor [16:39:34]*** Cut end [16:39:34]Read from MH i2c: 01 07 00 [16:39:34]MH_I2C_Read... [16:39:34]Read from MH i2c: 01 07 00 E1 06 00 00 00 00 00 FF 0F FC [16:39:34]process_action close_receipt done [16:39:34]requested_data is exist [16:39:34]produce_requested_data [16:39:34]requested_item fm.sn is exist - process it [16:39:34]wFMCommunicate request_size=4 [16:39:34]MH_SAM_APDU [16:39:34]CAPDU: 80 11 00 00 [16:39:34]Write to MH i2c: E2 08 00 E2 06 80 11 00 00 00 00 00 00 62 [16:39:34]Write i2c OK [16:39:34]MH_I2C_Read... [16:39:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:39:34]Read from MH i2c: E2 [16:39:34]MH_I2C_Read... [16:39:34]Read from MH i2c: E2 17 00 [16:39:34]MH_I2C_Read... [16:39:34]Read from MH i2c: E2 17 00 E2 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 BC [16:39:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [16:39:34]wFMCommunicate OK [16:39:34]requested_item fd.num is exist - process it [16:39:34]SAM_PROTO_GetFieldsCounters [16:39:34]wFMCommunicate request_size=4 [16:39:34]MH_SAM_APDU [16:39:34]CAPDU: 80 13 00 00 [16:39:34]Write to MH i2c: E2 08 00 E3 06 80 13 00 00 00 00 00 00 65 [16:39:34]Write i2c OK [16:39:34]MH_I2C_Read... [16:39:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:39:34]Read from MH i2c: E2 [16:39:34]MH_I2C_Read... [16:39:34]Read from MH i2c: E2 62 00 [16:39:34]MH_I2C_Read... [16:39:34]Read from MH i2c: E2 62 00 E3 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 D8 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 55 [16:39:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 D8 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:39:34]wFMCommunicate OK [16:39:34]SAM_PROTO_GetFieldsCounters done [16:39:34]requested_item shift.num is exist - process it [16:39:34]requested_item shift.opened is exist - process it [16:39:34]req_shift_opened [16:39:34]FM_GetShiftState [16:39:34]SAM_PROTO_GetShiftState [16:39:34]wFMCommunicate request_size=4 [16:39:34]MH_SAM_APDU [16:39:34]CAPDU: 80 13 01 00 [16:39:34]Write to MH i2c: E2 08 00 E4 06 80 13 01 00 00 00 00 00 67 [16:39:34]Write i2c OK [16:39:34]MH_I2C_Read... [16:39:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:39:34]Read from MH i2c: E2 [16:39:34]MH_I2C_Read... [16:39:34]Read from MH i2c: E2 0E 00 [16:39:34]MH_I2C_Read... [16:39:34]Read from MH i2c: E2 0E 00 E4 06 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 F8 [16:39:34]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [16:39:34]wFMCommunicate OK [16:39:34]SAM_PROTO_GetShiftState done [16:39:34]FM_GetShiftState done [16:39:34]req_shift_opened done [16:39:34]requested_item shift.open_date is exist - process it [16:39:34]req_shift_open_date [16:39:34]req_shift_open_date done [16:39:34]produce_requested_data done [16:39:34]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22488,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [16:39:34]process_action_free close_receipt [16:39:34]json_value_free [16:39:34]json_value_free done [16:39:34]process_json_proto returns [16:39:34]Send response to host [16:39:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22488,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [16:39:34]free response buf [16:39:34]execute_script done [16:39:34]execute_script returns [16:39:34]free content buf [16:39:34]Sock 9.Close socket [16:39:34]Sock 9.Thread stoped [16:39:38]OFD Sender: No OFD packet to send [16:39:43]OFD Sender: No OFD packet to send [16:39:48]OFD Sender: No OFD packet to send [16:39:53]OFD Sender: No OFD packet to send [16:39:58]OFD Sender: No OFD packet to send [16:40:03]OFD Sender: No OFD packet to send [16:40:08]OFD Sender: No OFD packet to send [16:40:13]OFD Sender: No OFD packet to send [16:40:18]OFD Sender: No OFD packet to send [16:40:23]OFD Sender: No OFD packet to send [16:40:28]OFD Sender: No OFD packet to send [16:40:33]OFD Sender: No OFD packet to send [16:40:38]OFD Sender: No OFD packet to send [16:40:43]OFD Sender: No OFD packet to send [16:40:48]OFD Sender: No OFD packet to send [16:40:53]OFD Sender: No OFD packet to send [16:40:58]OFD Sender: No OFD packet to send [16:41:03]OFD Sender: No OFD packet to send [16:41:08]OFD Sender: No OFD packet to send [16:41:13]OFD Sender: No OFD packet to send [16:41:18]OFD Sender: No OFD packet to send [16:41:23]OFD Sender: No OFD packet to send [16:41:28]OFD Sender: No OFD packet to send [16:41:33]OFD Sender: No OFD packet to send [16:41:38]OFD Sender: No OFD packet to send [16:41:43]OFD Sender: No OFD packet to send [16:41:48]OFD Sender: No OFD packet to send [16:41:53]OFD Sender: No OFD packet to send [16:41:58]OFD Sender: No OFD packet to send [16:42:03]OFD Sender: No OFD packet to send [16:42:08]OFD Sender: No OFD packet to send [16:42:13]OFD Sender: No OFD packet to send [16:42:18]OFD Sender: No OFD packet to send [16:42:23]OFD Sender: No OFD packet to send [16:42:28]OFD Sender: No OFD packet to send [16:42:33]OFD Sender: No OFD packet to send [16:42:38]OFD Sender: No OFD packet to send [16:42:43]OFD Sender: No OFD packet to send [16:42:48]OFD Sender: No OFD packet to send [16:42:53]OFD Sender: No OFD packet to send [16:42:58]OFD Sender: No OFD packet to send [16:43:03]OFD Sender: No OFD packet to send [16:43:08]OFD Sender: No OFD packet to send [16:43:13]OFD Sender: No OFD packet to send [16:43:18]OFD Sender: No OFD packet to send [16:43:23]OFD Sender: No OFD packet to send [16:43:28]OFD Sender: No OFD packet to send [16:43:33]OFD Sender: No OFD packet to send [16:43:38]OFD Sender: No OFD packet to send [16:43:43]OFD Sender: No OFD packet to send [16:43:48]OFD Sender: No OFD packet to send [16:43:53]OFD Sender: No OFD packet to send [16:43:58]OFD Sender: No OFD packet to send [16:44:03]OFD Sender: No OFD packet to send [16:44:08]OFD Sender: No OFD packet to send [16:44:13]OFD Sender: No OFD packet to send [16:44:18]OFD Sender: No OFD packet to send [16:44:23]OFD Sender: No OFD packet to send [16:44:28]OFD Sender: No OFD packet to send [16:44:33]OFD Sender: No OFD packet to send [16:44:38]OFD Sender: No OFD packet to send [16:44:43]OFD Sender: No OFD packet to send [16:44:48]OFD Sender: No OFD packet to send [16:44:53]OFD Sender: No OFD packet to send [16:44:58]OFD Sender: No OFD packet to send [16:45:03]OFD Sender: No OFD packet to send [16:45:08]OFD Sender: No OFD packet to send [16:45:13]OFD Sender: No OFD packet to send [16:45:18]OFD Sender: No OFD packet to send [16:45:23]OFD Sender: No OFD packet to send [16:45:28]OFD Sender: No OFD packet to send [16:45:33]OFD Sender: No OFD packet to send [16:45:38]OFD Sender: No OFD packet to send [16:45:43]OFD Sender: No OFD packet to send [16:45:48]OFD Sender: No OFD packet to send [16:45:53]OFD Sender: No OFD packet to send [16:45:58]OFD Sender: No OFD packet to send [16:46:03]OFD Sender: No OFD packet to send [16:46:08]OFD Sender: No OFD packet to send [16:46:13]OFD Sender: No OFD packet to send [16:46:18]OFD Sender: No OFD packet to send [16:46:23]OFD Sender: No OFD packet to send [16:46:28]OFD Sender: No OFD packet to send [16:46:33]OFD Sender: No OFD packet to send [16:46:38]OFD Sender: No OFD packet to send [16:46:43]OFD Sender: No OFD packet to send [16:46:48]OFD Sender: No OFD packet to send [16:46:53]OFD Sender: No OFD packet to send [16:46:58]OFD Sender: No OFD packet to send [16:47:03]OFD Sender: No OFD packet to send [16:47:08]OFD Sender: No OFD packet to send [16:47:13]OFD Sender: No OFD packet to send [16:47:18]OFD Sender: No OFD packet to send [16:47:23]OFD Sender: No OFD packet to send [16:47:28]OFD Sender: No OFD packet to send [16:47:33]OFD Sender: No OFD packet to send [16:47:38]OFD Sender: No OFD packet to send [16:47:43]OFD Sender: No OFD packet to send [16:47:48]OFD Sender: No OFD packet to send [16:47:53]OFD Sender: No OFD packet to send [16:47:58]OFD Sender: No OFD packet to send [16:48:03]OFD Sender: No OFD packet to send [16:48:08]OFD Sender: No OFD packet to send [16:48:13]OFD Sender: No OFD packet to send [16:48:18]OFD Sender: No OFD packet to send [16:48:23]OFD Sender: No OFD packet to send [16:48:28]OFD Sender: No OFD packet to send [16:48:33]OFD Sender: No OFD packet to send [16:48:38]OFD Sender: No OFD packet to send [16:48:43]OFD Sender: No OFD packet to send [16:48:48]OFD Sender: No OFD packet to send [16:48:53]OFD Sender: No OFD packet to send [16:48:58]OFD Sender: No OFD packet to send [16:49:03]OFD Sender: No OFD packet to send [16:49:08]OFD Sender: No OFD packet to send [16:49:13]OFD Sender: No OFD packet to send [16:49:18]OFD Sender: No OFD packet to send [16:49:23]OFD Sender: No OFD packet to send [16:49:28]OFD Sender: No OFD packet to send [16:49:33]OFD Sender: No OFD packet to send [16:49:38]OFD Sender: No OFD packet to send [16:49:43]OFD Sender: No OFD packet to send [16:49:48]OFD Sender: No OFD packet to send [16:49:53]OFD Sender: No OFD packet to send [16:49:58]OFD Sender: No OFD packet to send [16:50:03]OFD Sender: No OFD packet to send [16:50:08]OFD Sender: No OFD packet to send [16:50:13]OFD Sender: No OFD packet to send [16:50:18]OFD Sender: No OFD packet to send [16:50:23]OFD Sender: No OFD packet to send [16:50:28]OFD Sender: No OFD packet to send [16:50:33]OFD Sender: No OFD packet to send [16:50:38]OFD Sender: No OFD packet to send [16:50:44]OFD Sender: No OFD packet to send [16:50:49]OFD Sender: No OFD packet to send [16:50:54]OFD Sender: No OFD packet to send [16:50:59]OFD Sender: No OFD packet to send [16:51:04]OFD Sender: No OFD packet to send [16:51:09]OFD Sender: No OFD packet to send [16:51:14]OFD Sender: No OFD packet to send [16:51:19]OFD Sender: No OFD packet to send [16:51:24]OFD Sender: No OFD packet to send [16:51:29]OFD Sender: No OFD packet to send [16:51:34]OFD Sender: No OFD packet to send [16:51:39]OFD Sender: No OFD packet to send [16:51:44]OFD Sender: No OFD packet to send [16:51:49]OFD Sender: No OFD packet to send [16:51:54]OFD Sender: No OFD packet to send [16:51:59]OFD Sender: No OFD packet to send [16:52:04]OFD Sender: No OFD packet to send [16:52:09]OFD Sender: No OFD packet to send [16:52:14]OFD Sender: No OFD packet to send [16:52:19]OFD Sender: No OFD packet to send [16:52:24]OFD Sender: No OFD packet to send [16:52:29]OFD Sender: No OFD packet to send [16:52:34]OFD Sender: No OFD packet to send [16:52:39]OFD Sender: No OFD packet to send [16:52:44]OFD Sender: No OFD packet to send [16:52:49]OFD Sender: No OFD packet to send [16:52:54]OFD Sender: No OFD packet to send [16:52:59]OFD Sender: No OFD packet to send [16:53:04]OFD Sender: No OFD packet to send [16:53:09]OFD Sender: No OFD packet to send [16:53:14]OFD Sender: No OFD packet to send [16:53:19]OFD Sender: No OFD packet to send [16:53:24]OFD Sender: No OFD packet to send [16:53:29]OFD Sender: No OFD packet to send [16:53:34]OFD Sender: No OFD packet to send [16:53:39]OFD Sender: No OFD packet to send [16:53:44]OFD Sender: No OFD packet to send [16:53:49]OFD Sender: No OFD packet to send [16:53:54]OFD Sender: No OFD packet to send [16:53:59]OFD Sender: No OFD packet to send [16:54:04]OFD Sender: No OFD packet to send [16:54:09]OFD Sender: No OFD packet to send [16:54:14]OFD Sender: No OFD packet to send [16:54:19]OFD Sender: No OFD packet to send [16:54:24]OFD Sender: No OFD packet to send [16:54:29]OFD Sender: No OFD packet to send [16:54:34]OFD Sender: No OFD packet to send [16:54:39]OFD Sender: No OFD packet to send [16:54:44]OFD Sender: No OFD packet to send [16:54:49]OFD Sender: No OFD packet to send [16:54:54]OFD Sender: No OFD packet to send [16:54:59]OFD Sender: No OFD packet to send [16:55:04]OFD Sender: No OFD packet to send [16:55:09]OFD Sender: No OFD packet to send [16:55:14]OFD Sender: No OFD packet to send [16:55:19]OFD Sender: No OFD packet to send [16:55:24]OFD Sender: No OFD packet to send [16:55:29]OFD Sender: No OFD packet to send [16:55:34]OFD Sender: No OFD packet to send [16:55:39]OFD Sender: No OFD packet to send [16:55:44]OFD Sender: No OFD packet to send [16:55:49]OFD Sender: No OFD packet to send [16:55:54]OFD Sender: No OFD packet to send [16:55:59]OFD Sender: No OFD packet to send [16:56:04]OFD Sender: No OFD packet to send [16:56:09]OFD Sender: No OFD packet to send [16:56:14]OFD Sender: No OFD packet to send [16:56:19]OFD Sender: No OFD packet to send [16:56:24]OFD Sender: No OFD packet to send [16:56:29]OFD Sender: No OFD packet to send [16:56:34]OFD Sender: No OFD packet to send [16:56:39]OFD Sender: No OFD packet to send [16:56:44]OFD Sender: No OFD packet to send [16:56:49]OFD Sender: No OFD packet to send [16:56:54]OFD Sender: No OFD packet to send [16:56:59]OFD Sender: No OFD packet to send [16:57:04]OFD Sender: No OFD packet to send [16:57:09]OFD Sender: No OFD packet to send [16:57:14]OFD Sender: No OFD packet to send [16:57:19]OFD Sender: No OFD packet to send [16:57:24]OFD Sender: No OFD packet to send [16:57:29]OFD Sender: No OFD packet to send [16:57:34]OFD Sender: No OFD packet to send [16:57:39]OFD Sender: No OFD packet to send [16:57:44]OFD Sender: No OFD packet to send [16:57:49]OFD Sender: No OFD packet to send [16:57:54]OFD Sender: No OFD packet to send [16:57:59]OFD Sender: No OFD packet to send [16:58:04]OFD Sender: No OFD packet to send [16:58:09]OFD Sender: No OFD packet to send [16:58:14]OFD Sender: No OFD packet to send [16:58:19]OFD Sender: No OFD packet to send [16:58:24]OFD Sender: No OFD packet to send [16:58:29]OFD Sender: No OFD packet to send [16:58:34]OFD Sender: No OFD packet to send [16:58:39]OFD Sender: No OFD packet to send [16:58:44]OFD Sender: No OFD packet to send [16:58:49]OFD Sender: No OFD packet to send [16:58:54]OFD Sender: No OFD packet to send [16:58:59]OFD Sender: No OFD packet to send [16:59:04]OFD Sender: No OFD packet to send [16:59:09]OFD Sender: No OFD packet to send [16:59:14]OFD Sender: No OFD packet to send [16:59:19]OFD Sender: No OFD packet to send [16:59:24]OFD Sender: No OFD packet to send [16:59:29]OFD Sender: No OFD packet to send [16:59:34]OFD Sender: No OFD packet to send [16:59:39]OFD Sender: No OFD packet to send [16:59:44]OFD Sender: No OFD packet to send [16:59:49]OFD Sender: No OFD packet to send [16:59:54]OFD Sender: No OFD packet to send [16:59:59]OFD Sender: No OFD packet to send [17:00:04]OFD Sender: No OFD packet to send [17:00:09]OFD Sender: No OFD packet to send [17:00:14]OFD Sender: No OFD packet to send [17:00:19]OFD Sender: No OFD packet to send [17:00:24]OFD Sender: No OFD packet to send [17:00:29]OFD Sender: No OFD packet to send [17:00:34]OFD Sender: No OFD packet to send [17:00:39]OFD Sender: No OFD packet to send [17:00:44]OFD Sender: No OFD packet to send [17:00:49]OFD Sender: No OFD packet to send [17:00:54]OFD Sender: No OFD packet to send [17:00:59]OFD Sender: No OFD packet to send [17:01:04]OFD Sender: No OFD packet to send [17:01:09]OFD Sender: No OFD packet to send [17:01:14]OFD Sender: No OFD packet to send [17:01:19]OFD Sender: No OFD packet to send [17:01:24]OFD Sender: No OFD packet to send [17:01:29]OFD Sender: No OFD packet to send [17:01:34]OFD Sender: No OFD packet to send [17:01:39]OFD Sender: No OFD packet to send [17:01:44]OFD Sender: No OFD packet to send [17:01:49]OFD Sender: No OFD packet to send [17:01:54]OFD Sender: No OFD packet to send [17:01:59]OFD Sender: No OFD packet to send [17:02:04]OFD Sender: No OFD packet to send [17:02:09]OFD Sender: No OFD packet to send [17:02:14]OFD Sender: No OFD packet to send [17:02:19]OFD Sender: No OFD packet to send [17:02:24]OFD Sender: No OFD packet to send [17:02:29]OFD Sender: No OFD packet to send [17:02:34]OFD Sender: No OFD packet to send [17:02:39]OFD Sender: No OFD packet to send [17:02:44]OFD Sender: No OFD packet to send [17:02:49]OFD Sender: No OFD packet to send [17:02:54]OFD Sender: No OFD packet to send [17:02:59]OFD Sender: No OFD packet to send [17:03:04]OFD Sender: No OFD packet to send [17:03:09]OFD Sender: No OFD packet to send [17:03:14]OFD Sender: No OFD packet to send [17:03:19]OFD Sender: No OFD packet to send [17:03:24]OFD Sender: No OFD packet to send [17:03:29]OFD Sender: No OFD packet to send [17:03:34]OFD Sender: No OFD packet to send [17:03:39]OFD Sender: No OFD packet to send [17:03:44]OFD Sender: No OFD packet to send [17:03:49]OFD Sender: No OFD packet to send [17:03:54]OFD Sender: No OFD packet to send [17:03:59]OFD Sender: No OFD packet to send [17:04:04]OFD Sender: No OFD packet to send [17:04:09]OFD Sender: No OFD packet to send [17:04:14]OFD Sender: No OFD packet to send [17:04:19]OFD Sender: No OFD packet to send [17:04:24]OFD Sender: No OFD packet to send [17:04:29]OFD Sender: No OFD packet to send [17:04:34]OFD Sender: No OFD packet to send [17:04:39]OFD Sender: No OFD packet to send [17:04:44]OFD Sender: No OFD packet to send [17:04:49]OFD Sender: No OFD packet to send [17:04:54]OFD Sender: No OFD packet to send [17:04:59]OFD Sender: No OFD packet to send [17:05:04]OFD Sender: No OFD packet to send [17:05:09]OFD Sender: No OFD packet to send [17:05:14]OFD Sender: No OFD packet to send [17:05:19]OFD Sender: No OFD packet to send [17:05:24]OFD Sender: No OFD packet to send [17:05:29]OFD Sender: No OFD packet to send [17:05:34]OFD Sender: No OFD packet to send [17:05:39]OFD Sender: No OFD packet to send [17:05:44]OFD Sender: No OFD packet to send [17:05:49]OFD Sender: No OFD packet to send [17:05:54]OFD Sender: No OFD packet to send [17:05:59]OFD Sender: No OFD packet to send [17:06:04]OFD Sender: No OFD packet to send [17:06:09]OFD Sender: No OFD packet to send [17:06:14]OFD Sender: No OFD packet to send [17:06:19]OFD Sender: No OFD packet to send [17:06:24]OFD Sender: No OFD packet to send [17:06:29]OFD Sender: No OFD packet to send [17:06:34]OFD Sender: No OFD packet to send [17:06:39]OFD Sender: No OFD packet to send [17:06:44]OFD Sender: No OFD packet to send [17:06:49]OFD Sender: No OFD packet to send [17:06:54]OFD Sender: No OFD packet to send [17:06:59]OFD Sender: No OFD packet to send [17:07:04]OFD Sender: No OFD packet to send [17:07:09]OFD Sender: No OFD packet to send [17:07:14]OFD Sender: No OFD packet to send [17:07:19]OFD Sender: No OFD packet to send [17:07:24]OFD Sender: No OFD packet to send [17:07:29]OFD Sender: No OFD packet to send [17:07:34]OFD Sender: No OFD packet to send [17:07:39]OFD Sender: No OFD packet to send [17:07:44]OFD Sender: No OFD packet to send [17:07:49]OFD Sender: No OFD packet to send [17:07:54]OFD Sender: No OFD packet to send [17:07:59]OFD Sender: No OFD packet to send [17:08:04]OFD Sender: No OFD packet to send [17:08:09]OFD Sender: No OFD packet to send [17:08:14]OFD Sender: No OFD packet to send [17:08:19]OFD Sender: No OFD packet to send [17:08:24]OFD Sender: No OFD packet to send [17:08:29]OFD Sender: No OFD packet to send [17:08:34]OFD Sender: No OFD packet to send [17:08:39]OFD Sender: No OFD packet to send [17:08:44]OFD Sender: No OFD packet to send [17:08:49]OFD Sender: No OFD packet to send [17:08:54]OFD Sender: No OFD packet to send [17:08:59]OFD Sender: No OFD packet to send [17:09:04]OFD Sender: No OFD packet to send [17:09:09]OFD Sender: No OFD packet to send [17:09:14]OFD Sender: No OFD packet to send [17:09:19]OFD Sender: No OFD packet to send [17:09:24]OFD Sender: No OFD packet to send [17:09:29]OFD Sender: No OFD packet to send [17:09:34]OFD Sender: No OFD packet to send [17:09:39]OFD Sender: No OFD packet to send [17:09:44]OFD Sender: No OFD packet to send [17:09:49]OFD Sender: No OFD packet to send [17:09:54]OFD Sender: No OFD packet to send [17:09:59]OFD Sender: No OFD packet to send [17:10:04]OFD Sender: No OFD packet to send [17:10:09]OFD Sender: No OFD packet to send [17:10:14]OFD Sender: No OFD packet to send [17:10:19]OFD Sender: No OFD packet to send [17:10:24]OFD Sender: No OFD packet to send [17:10:29]OFD Sender: No OFD packet to send [17:10:34]OFD Sender: No OFD packet to send [17:10:40]OFD Sender: No OFD packet to send [17:10:45]OFD Sender: No OFD packet to send [17:10:50]OFD Sender: No OFD packet to send [17:10:55]OFD Sender: No OFD packet to send [17:11:00]OFD Sender: No OFD packet to send [17:11:05]OFD Sender: No OFD packet to send [17:11:10]OFD Sender: No OFD packet to send [17:11:15]OFD Sender: No OFD packet to send [17:11:20]OFD Sender: No OFD packet to send [17:11:25]OFD Sender: No OFD packet to send [17:11:30]OFD Sender: No OFD packet to send [17:11:35]OFD Sender: No OFD packet to send [17:11:40]OFD Sender: No OFD packet to send [17:11:45]OFD Sender: No OFD packet to send [17:11:50]OFD Sender: No OFD packet to send [17:11:55]OFD Sender: No OFD packet to send [17:12:00]OFD Sender: No OFD packet to send [17:12:05]OFD Sender: No OFD packet to send [17:12:10]OFD Sender: No OFD packet to send [17:12:13]accept exits with 7 [17:12:13]New connection [17:12:13]New thread 3067583844 created [17:12:13]Thread 3067440484 joined [17:12:13]Waiting for new connection... [17:12:13] Sock 7.Parse request [17:12:13]Sock 7.Check first char [17:12:13]Sock 7.First char is OK [17:12:13]request: POST /json_proto HTTP/1.0 [17:12:13]Method: POST [17:12:13]URL: /json_proto [17:12:13]Method is POST - this is cgi request [17:12:13]url: /json_proto [17:12:13]query_string will be loaded in cgi processing [17:12:13]execute_cgi json_proto POST (null) [17:12:13]execute_cgi path=json_proto method=POST [17:12:13]POST find Content-Length [17:12:13]Host: 172.17.43.4:8080 [17:12:13]Content-Length: 644 [17:12:13]Content-Type: application/json [17:12:13] [17:12:13]POST finish read [17:12:13]Found Content-Length = 644 [17:12:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51692", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:12:13]execute_script... [17:12:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51692", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:12:13]POST & json_proto [17:12:13]process_json_proto [17:12:13]json parsed OK: [17:12:13]protocol is kg_v1.0 [17:12:13]action value=close_receipt [17:12:13]process_action close_receipt [17:12:13]cmd_close_receipt [17:12:13]MH_GetDate [17:12:13]Write to MH i2c: F0 00 00 E5 06 DA [17:12:13]Write i2c OK [17:12:13]MH_I2C_Read... [17:12:13]Read from MH i2c: F0 [17:12:13]MH_I2C_Read... [17:12:13]Read from MH i2c: F0 09 00 [17:12:13]MH_I2C_Read... [17:12:13]Read from MH i2c: F0 09 00 E5 06 00 6E 44 F4 66 02 BF CF 66 E5 [17:12:13]GetLastDocTimeStamp 1727282371 [17:12:13]current date 1727284334 [17:12:13]FM_GetShiftState [17:12:13]SAM_PROTO_GetShiftState [17:12:13]wFMCommunicate request_size=4 [17:12:13]MH_SAM_APDU [17:12:13]CAPDU: 80 13 01 00 [17:12:13]Write to MH i2c: E2 08 00 E6 06 80 13 01 00 00 00 00 00 69 [17:12:13]Write i2c OK [17:12:13]MH_I2C_Read... [17:12:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:12:13]Read from MH i2c: E2 [17:12:13]MH_I2C_Read... [17:12:13]Read from MH i2c: E2 0E 00 [17:12:13]MH_I2C_Read... [17:12:13]Read from MH i2c: E2 0E 00 E6 06 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 FA [17:12:13]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [17:12:13]wFMCommunicate OK [17:12:13]SAM_PROTO_GetShiftState done [17:12:13]FM_GetShiftState done [17:12:13]opened in 1727224020 [17:12:13]opened+sec_in_day 1727310420 [17:12:13]quantity*price = 6000 [17:12:13]sum+1 = 6001 [17:12:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 62 25.09.2024 17:12 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22489 ФПД: 184102323344035 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T171214&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22489&fm=184102323344035&tin=02508201610067®Number=0000000000146243&sum=6000 0 [17:12:14]StoreToDocumentArchive [17:12:14]shift 231 fd 22489 [17:12:14]save to /storage/0231/doc_00022489 [17:12:14]save last doc name /storage/0231/doc_00022489 to /storage/kkm_last_doc_name [17:12:14]save OK [17:12:14]Clear old archive folders... [17:12:14]ProcessDocumentItem done err = 0, tmpTLVsize=276 [17:12:14]tlvbuf is 00219D80 [17:12:14]SAM_PROTO_ClearQueue [17:12:14]wFMCommunicate request_size=4 [17:12:14]MH_SAM_APDU [17:12:14]CAPDU: 80 09 00 00 [17:12:14]Write to MH i2c: E2 08 00 F3 06 80 09 00 00 00 00 00 00 6B [17:12:14]Write i2c OK [17:12:14]MH_I2C_Read... [17:12:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:12:14]Read from MH i2c: E2 [17:12:14]MH_I2C_Read... [17:12:14]Read from MH i2c: E2 03 00 [17:12:14]MH_I2C_Read... [17:12:14]Read from MH i2c: E2 03 00 F3 06 00 90 00 6D [17:12:14]RAPDU: 90 00 [17:12:14]wFMCommunicate OK [17:12:14]SAM_PROTO_ClearQueue done [17:12:14]KKMCreateOFDPacket [17:12:14]OFDProtocolAddRootSTLVToBuf [17:12:14]FM_MakeSignedData [17:12:14]FM_MakeSignedData [17:12:14]SAM_PROTO_SignData [17:12:14]wFMCommunicate request_size=4 [17:12:14]MH_SAM_APDU [17:12:14]CAPDU: 80 0D 01 02 [17:12:14]Write to MH i2c: E2 08 00 F4 06 80 0D 01 02 00 00 00 00 73 [17:12:14]Write i2c OK [17:12:14]MH_I2C_Read... [17:12:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:12:14]Read from MH i2c: E2 [17:12:14]MH_I2C_Read... [17:12:14]Read from MH i2c: E2 03 00 [17:12:14]MH_I2C_Read... [17:12:14]Read from MH i2c: E2 03 00 F4 06 00 90 00 6E [17:12:14]RAPDU: 90 00 [17:12:14]wFMCommunicate OK [17:12:14]wFMCommunicate request_size=255 [17:12:14]MH_SAM_APDU [17:12:14]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 6E 44 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 [17:12:14]Write to MH i2c: E2 02 01 F5 06 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 6E 44 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 00 00 DA [17:12:14]Write i2c OK [17:12:14]MH_I2C_Read... [17:12:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:12:14]Read from MH i2c: E2 [17:12:14]MH_I2C_Read... [17:12:14]Read from MH i2c: E2 03 00 [17:12:14]MH_I2C_Read... [17:12:14]Read from MH i2c: E2 03 00 F5 06 00 90 00 6F [17:12:14]RAPDU: 90 00 [17:12:14]wFMCommunicate OK [17:12:14]wFMCommunicate request_size=35 [17:12:14]MH_SAM_APDU [17:12:14]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D9 57 00 00 35 04 06 00 A7 70 A9 95 D2 A3 [17:12:14]Write to MH i2c: E2 26 00 F6 06 80 0D 02 02 1E 00 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D9 57 00 00 35 04 06 00 A7 70 A9 95 D2 A3 00 00 6A [17:12:14]Write i2c OK [17:12:14]MH_I2C_Read... [17:12:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:12:14]Read from MH i2c: E2 [17:12:14]MH_I2C_Read... [17:12:14]Read from MH i2c: E2 03 00 [17:12:14]MH_I2C_Read... [17:12:14]Read from MH i2c: E2 03 00 F6 06 00 90 00 70 [17:12:14]RAPDU: 90 00 [17:12:14]wFMCommunicate OK [17:12:14]wFMCommunicate request_size=4 [17:12:14]MH_SAM_APDU [17:12:14]CAPDU: 80 0D 03 02 [17:12:14]Write to MH i2c: E2 08 00 F7 06 80 0D 03 02 00 00 00 00 78 [17:12:14]Write i2c OK [17:12:14]MH_I2C_Read... [17:12:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:12:14]Read from MH i2c: E2 [17:12:14]MH_I2C_Read... [17:12:14]Read from MH i2c: E2 0B 00 [17:12:14]MH_I2C_Read... [17:12:14]Read from MH i2c: E2 0B 00 F7 06 00 CD 57 14 93 43 38 F4 B6 90 00 69 [17:12:14]RAPDU: CD 57 14 93 43 38 F4 B6 90 00 [17:12:14]wFMCommunicate OK [17:12:14]SAM_PROTO_SignData done [17:12:14]FM_MakeSignedData done [17:12:14]CreateOFDProtocolMessage [17:12:14]wFMCommunicate request_size=4 [17:12:14]MH_SAM_APDU [17:12:14]CAPDU: 80 11 00 00 [17:12:14]Write to MH i2c: E2 08 00 F8 06 80 11 00 00 00 00 00 00 78 [17:12:14]Write i2c OK [17:12:14]MH_I2C_Read... [17:12:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:12:14]Read from MH i2c: E2 [17:12:14]MH_I2C_Read... [17:12:14]Read from MH i2c: E2 17 00 [17:12:14]MH_I2C_Read... [17:12:14]Read from MH i2c: E2 17 00 F8 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 D2 [17:12:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [17:12:14]wFMCommunicate OK [17:12:14]CreateOFDProtocolMessage done [17:12:14]OFDSenderStorePacket 22489 [17:12:14]StoreOFDPacket docnum=22489 [17:12:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 28 01 00 00 FA 3D 20 01 9E 8F 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 6E 44 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D9 57 00 00 35 04 06 00 A7 70 A9 95 D2 A3 CD 57 14 93 43 38 F4 B6 [17:12:14]CheckFolder [17:12:14]dirname=/storage/ofd_packets [17:12:14]CheckFolder done [17:12:14]ProducePacketName [17:12:14]name=ofd_packets/00022489 [17:12:14]NVStorageSaveData ofd_packets/00022489 [17:12:14]File name is /storage/ofd_packets/00022489 [17:12:14]Write 326 bytes [17:12:14]NVStorageSaveData done [17:12:14]OFDSenderStorePacket done [17:12:14]KKMCreateOFDPacket done [17:12:14]NVStorageSaveData kkm_last_timestamp [17:12:14]File name is /storage/kkm_last_timestamp [17:12:14]Write 4 bytes [17:12:14]NVStorageSaveData done [17:12:14]ExternCall_PrintAddStr [17:12:14]wPrintStart [17:12:14]Write to MH i2c: 01 00 00 F9 06 FF [17:12:14]Write i2c OK [17:12:14]MH_I2C_Read... [17:12:14]Read from MH i2c: 01 [17:12:14]MH_I2C_Read... [17:12:14]Read from MH i2c: 01 07 00 [17:12:14]MH_I2C_Read... [17:12:14]Read from MH i2c: 01 07 00 F9 06 00 00 00 00 00 FF 0F 14 [17:12:14]RasterBufferAndPrint [17:12:14]line Счет N : (3)51692 [17:12:14]line ИНН: 02508201610067 [17:12:14]line Контрольно-Кассовый Чек [17:12:14]line ПРОДАЖА [17:12:14]line Товар: 4700000310043 [17:12:14]line Вода Жалалабат 27 1л [17:12:14]line 1.000 * 60.00 [17:12:14]line = 60.00 [17:12:14]line НДС 12% НСП 1% [17:12:14]line > о реализуемом товаре [17:12:14]line ИТОГО: 60.00 [17:12:14]line НСП 1% : 0.53 [17:12:14]line НДС 12% : 6.37 [17:12:14]line Наличными: 60.00 [17:12:14]line Безнал.: 0.00 [17:12:14]line Место: АЗС № 88 "Партнер Нефть" [17:12:14]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [17:12:14]line СНО: Общий режим [17:12:14]line Чек 62 25.09.2024 17:12 [17:12:14]line Смена: 231 ФФД: 1.0 [17:12:14]line ЗНМ: 0300000061 [17:12:14]line РНМ: 0000000000146243 [17:12:14]line Версия ККМ: v1.0 [17:12:14]line ФМ: 0000000000959358 [17:12:14]line ФД: 22489 [17:12:14]line ФПД: 184102323344035 [17:12:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T171214&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22489&fm=184102323344035&tin=02508201610067®Number=0000000000146243&sum=6000 [17:12:15]line 0 [17:12:15]OFD Sender: Processing packet 22489 [packets to send 23, broken 22] [17:12:15]ProducePacketName [17:12:15]name=ofd_packets/00022489 [17:12:15]OFD Sender: To server: pG, [17:12:15]CommunicateWithHost lk.salyk.kg:30040 [17:12:15]ConnectInit lk.salyk.kg [17:12:15]written 0, free lines is 4095 [17:12:15]Connected sock=10 [17:12:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 28 01 00 00 FA 3D 20 01 9E 8F 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 6E 44 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D9 57 00 00 35 04 06 00 A7 70 A9 95 D2 A3 CD 57 14 93 43 38 F4 B6 [17:12:15]Write to MH i2c: 01 00 00 21 07 28 [17:12:15]Write i2c OK [17:12:15]MH_I2C_Read... [17:12:15]Read from MH i2c: 01 [17:12:15]MH_I2C_Read... [17:12:15]Read from MH i2c: 01 07 00 [17:12:15]MH_I2C_Read... [17:12:15]Read from MH i2c: 01 07 00 21 07 00 00 00 00 00 2A 0D 66 [17:12:15]RasterBufferAndPrint [17:12:15]line [17:12:15]line [17:12:15]line [17:12:15]line [17:12:15]line [17:12:15]written 0, free lines is 3377 [17:12:15]MH_Cut [17:12:15]Write to MH i2c: D1 01 00 28 07 01 01 [17:12:15]Write i2c OK [17:12:15]MH_I2C_Read... [17:12:15]Read from MH i2c: D1 [17:12:15]MH_I2C_Read... [17:12:15]Read from MH i2c: D1 01 00 [17:12:15]MH_I2C_Read... [17:12:15]Read from MH i2c: D1 01 00 28 07 00 00 [17:12:15]Write to MH i2c: 01 00 00 29 07 30 [17:12:15]Write i2c OK [17:12:15]MH_I2C_Read... [17:12:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 0F 70 47 00 68 84 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 D9 57 00 00 F4 03 04 00 90 EE F3 66 B6 04 01 00 00 DA 1C 4B 8D EF F5 19 71 [17:12:15]CommunicateWithHost err = 0 [17:12:15]CheckOFDResponse [17:12:15]1017 (14) - 77093643461234 [17:12:15]1041 (16) - 0000000000959358 [17:12:15]1040 (4) - 22489 [17:12:15]1012 (4) - 25.09.2024 11:05 [17:12:15]1206 (1) - 0 [17:12:15]OFD Sender: Remove packet 22489 [17:12:15]ProducePacketName [17:12:15]name=ofd_packets/00022489 [17:12:15]NVStorageDeleteData [17:12:16]OFD Sender: No OFD packet to send [17:12:16]*** Cut start [17:12:16]*** Partial cut [17:12:16]*** CUTSNS_PIN = 1 [17:12:16]*** CUTSNS_PIN = 0 [17:12:16]*** Brake cut motor [17:12:16]Read from MH i2c: 01 [17:12:17]MH_I2C_Read... [17:12:17]*** Stop cut motor [17:12:17]*** Cut end [17:12:17]Read from MH i2c: 01 07 00 [17:12:17]MH_I2C_Read... [17:12:17]Read from MH i2c: 01 07 00 29 07 00 00 00 00 00 FF 0F 45 [17:12:17]process_action close_receipt done [17:12:17]requested_data is exist [17:12:17]produce_requested_data [17:12:17]requested_item fm.sn is exist - process it [17:12:17]wFMCommunicate request_size=4 [17:12:17]MH_SAM_APDU [17:12:17]CAPDU: 80 11 00 00 [17:12:17]Write to MH i2c: E2 08 00 2A 07 80 11 00 00 00 00 00 00 AB [17:12:17]Write i2c OK [17:12:17]MH_I2C_Read... [17:12:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:12:17]Read from MH i2c: E2 [17:12:17]MH_I2C_Read... [17:12:17]Read from MH i2c: E2 17 00 [17:12:17]MH_I2C_Read... [17:12:17]Read from MH i2c: E2 17 00 2A 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 05 [17:12:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [17:12:17]wFMCommunicate OK [17:12:17]requested_item fd.num is exist - process it [17:12:17]SAM_PROTO_GetFieldsCounters [17:12:17]wFMCommunicate request_size=4 [17:12:17]MH_SAM_APDU [17:12:17]CAPDU: 80 13 00 00 [17:12:17]Write to MH i2c: E2 08 00 2B 07 80 13 00 00 00 00 00 00 AE [17:12:17]Write i2c OK [17:12:17]MH_I2C_Read... [17:12:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:12:17]Read from MH i2c: E2 [17:12:17]MH_I2C_Read... [17:12:17]Read from MH i2c: E2 62 00 [17:12:17]MH_I2C_Read... [17:12:17]Read from MH i2c: E2 62 00 2B 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 D9 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 A2 [17:12:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 D9 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:12:17]wFMCommunicate OK [17:12:17]SAM_PROTO_GetFieldsCounters done [17:12:17]requested_item shift.num is exist - process it [17:12:17]requested_item shift.opened is exist - process it [17:12:17]req_shift_opened [17:12:17]FM_GetShiftState [17:12:17]SAM_PROTO_GetShiftState [17:12:17]wFMCommunicate request_size=4 [17:12:17]MH_SAM_APDU [17:12:17]CAPDU: 80 13 01 00 [17:12:17]Write to MH i2c: E2 08 00 2C 07 80 13 01 00 00 00 00 00 B0 [17:12:17]Write i2c OK [17:12:17]MH_I2C_Read... [17:12:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:12:17]Read from MH i2c: E2 [17:12:17]MH_I2C_Read... [17:12:17]Read from MH i2c: E2 0E 00 [17:12:17]MH_I2C_Read... [17:12:17]Read from MH i2c: E2 0E 00 2C 07 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 41 [17:12:17]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [17:12:17]wFMCommunicate OK [17:12:17]SAM_PROTO_GetShiftState done [17:12:17]FM_GetShiftState done [17:12:17]req_shift_opened done [17:12:17]requested_item shift.open_date is exist - process it [17:12:17]req_shift_open_date [17:12:17]req_shift_open_date done [17:12:17]produce_requested_data done [17:12:17]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22489,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [17:12:17]process_action_free close_receipt [17:12:17]json_value_free [17:12:17]json_value_free done [17:12:17]process_json_proto returns [17:12:17]Send response to host [17:12:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22489,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [17:12:17]free response buf [17:12:17]execute_script done [17:12:17]execute_script returns [17:12:17]free content buf [17:12:17]Sock 7.Close socket [17:12:17]Sock 7.Thread stoped [17:12:21]OFD Sender: No OFD packet to send [17:12:26]OFD Sender: No OFD packet to send [17:12:31]OFD Sender: No OFD packet to send [17:12:36]OFD Sender: No OFD packet to send [17:12:41]OFD Sender: No OFD packet to send [17:12:46]OFD Sender: No OFD packet to send [17:12:51]OFD Sender: No OFD packet to send [17:12:56]OFD Sender: No OFD packet to send [17:13:01]OFD Sender: No OFD packet to send [17:13:06]OFD Sender: No OFD packet to send [17:13:11]OFD Sender: No OFD packet to send [17:13:16]OFD Sender: No OFD packet to send [17:13:21]OFD Sender: No OFD packet to send [17:13:26]OFD Sender: No OFD packet to send [17:13:31]OFD Sender: No OFD packet to send [17:13:36]OFD Sender: No OFD packet to send [17:13:41]OFD Sender: No OFD packet to send [17:13:46]OFD Sender: No OFD packet to send [17:13:51]OFD Sender: No OFD packet to send [17:13:56]OFD Sender: No OFD packet to send [17:14:01]OFD Sender: No OFD packet to send [17:14:06]OFD Sender: No OFD packet to send [17:14:11]OFD Sender: No OFD packet to send [17:14:16]OFD Sender: No OFD packet to send [17:14:21]OFD Sender: No OFD packet to send [17:14:26]OFD Sender: No OFD packet to send [17:14:31]OFD Sender: No OFD packet to send [17:14:36]OFD Sender: No OFD packet to send [17:14:41]OFD Sender: No OFD packet to send [17:14:46]OFD Sender: No OFD packet to send [17:14:51]OFD Sender: No OFD packet to send [17:14:56]OFD Sender: No OFD packet to send [17:15:01]OFD Sender: No OFD packet to send [17:15:06]OFD Sender: No OFD packet to send [17:15:11]OFD Sender: No OFD packet to send [17:15:16]OFD Sender: No OFD packet to send [17:15:21]OFD Sender: No OFD packet to send [17:15:26]OFD Sender: No OFD packet to send [17:15:31]OFD Sender: No OFD packet to send [17:15:36]OFD Sender: No OFD packet to send [17:15:41]OFD Sender: No OFD packet to send [17:15:46]OFD Sender: No OFD packet to send [17:15:51]OFD Sender: No OFD packet to send [17:15:56]OFD Sender: No OFD packet to send [17:16:01]OFD Sender: No OFD packet to send [17:16:06]OFD Sender: No OFD packet to send [17:16:11]OFD Sender: No OFD packet to send [17:16:16]OFD Sender: No OFD packet to send [17:16:21]OFD Sender: No OFD packet to send [17:16:26]OFD Sender: No OFD packet to send [17:16:31]OFD Sender: No OFD packet to send [17:16:36]OFD Sender: No OFD packet to send [17:16:41]OFD Sender: No OFD packet to send [17:16:46]OFD Sender: No OFD packet to send [17:16:51]OFD Sender: No OFD packet to send [17:16:56]OFD Sender: No OFD packet to send [17:17:01]OFD Sender: No OFD packet to send [17:17:06]OFD Sender: No OFD packet to send [17:17:11]OFD Sender: No OFD packet to send [17:17:16]OFD Sender: No OFD packet to send [17:17:21]OFD Sender: No OFD packet to send [17:17:26]OFD Sender: No OFD packet to send [17:17:31]OFD Sender: No OFD packet to send [17:17:36]OFD Sender: No OFD packet to send [17:17:41]OFD Sender: No OFD packet to send [17:17:46]OFD Sender: No OFD packet to send [17:17:51]OFD Sender: No OFD packet to send [17:17:56]OFD Sender: No OFD packet to send [17:18:01]OFD Sender: No OFD packet to send [17:18:06]OFD Sender: No OFD packet to send [17:18:11]OFD Sender: No OFD packet to send [17:18:16]OFD Sender: No OFD packet to send [17:18:21]OFD Sender: No OFD packet to send [17:18:26]OFD Sender: No OFD packet to send [17:18:31]OFD Sender: No OFD packet to send [17:18:36]OFD Sender: No OFD packet to send [17:18:41]OFD Sender: No OFD packet to send [17:18:46]OFD Sender: No OFD packet to send [17:18:51]OFD Sender: No OFD packet to send [17:18:56]OFD Sender: No OFD packet to send [17:19:01]OFD Sender: No OFD packet to send [17:19:06]OFD Sender: No OFD packet to send [17:19:11]OFD Sender: No OFD packet to send [17:19:16]OFD Sender: No OFD packet to send [17:19:21]OFD Sender: No OFD packet to send [17:19:26]OFD Sender: No OFD packet to send [17:19:31]OFD Sender: No OFD packet to send [17:19:36]OFD Sender: No OFD packet to send [17:19:41]OFD Sender: No OFD packet to send [17:19:46]OFD Sender: No OFD packet to send [17:19:51]OFD Sender: No OFD packet to send [17:19:56]OFD Sender: No OFD packet to send [17:20:01]OFD Sender: No OFD packet to send [17:20:06]OFD Sender: No OFD packet to send [17:20:11]OFD Sender: No OFD packet to send [17:20:16]OFD Sender: No OFD packet to send [17:20:21]OFD Sender: No OFD packet to send [17:20:26]OFD Sender: No OFD packet to send [17:20:31]OFD Sender: No OFD packet to send [17:20:36]OFD Sender: No OFD packet to send [17:20:41]OFD Sender: No OFD packet to send [17:20:46]OFD Sender: No OFD packet to send [17:20:51]OFD Sender: No OFD packet to send [17:20:56]OFD Sender: No OFD packet to send [17:21:01]OFD Sender: No OFD packet to send [17:21:06]OFD Sender: No OFD packet to send [17:21:11]OFD Sender: No OFD packet to send [17:21:16]OFD Sender: No OFD packet to send [17:21:21]OFD Sender: No OFD packet to send [17:21:26]OFD Sender: No OFD packet to send [17:21:31]OFD Sender: No OFD packet to send [17:21:36]OFD Sender: No OFD packet to send [17:21:41]OFD Sender: No OFD packet to send [17:21:46]OFD Sender: No OFD packet to send [17:21:51]OFD Sender: No OFD packet to send [17:21:56]OFD Sender: No OFD packet to send [17:22:01]OFD Sender: No OFD packet to send [17:22:06]OFD Sender: No OFD packet to send [17:22:11]OFD Sender: No OFD packet to send [17:22:16]OFD Sender: No OFD packet to send [17:22:21]OFD Sender: No OFD packet to send [17:22:26]OFD Sender: No OFD packet to send [17:22:31]OFD Sender: No OFD packet to send [17:22:36]OFD Sender: No OFD packet to send [17:22:41]OFD Sender: No OFD packet to send [17:22:46]OFD Sender: No OFD packet to send [17:22:51]OFD Sender: No OFD packet to send [17:22:56]OFD Sender: No OFD packet to send [17:23:01]OFD Sender: No OFD packet to send [17:23:06]OFD Sender: No OFD packet to send [17:23:11]OFD Sender: No OFD packet to send [17:23:16]OFD Sender: No OFD packet to send [17:23:21]OFD Sender: No OFD packet to send [17:23:26]OFD Sender: No OFD packet to send [17:23:31]OFD Sender: No OFD packet to send [17:23:36]OFD Sender: No OFD packet to send [17:23:41]OFD Sender: No OFD packet to send [17:23:46]OFD Sender: No OFD packet to send [17:23:51]OFD Sender: No OFD packet to send [17:23:56]OFD Sender: No OFD packet to send [17:24:01]OFD Sender: No OFD packet to send [17:24:06]OFD Sender: No OFD packet to send [17:24:11]OFD Sender: No OFD packet to send [17:24:16]OFD Sender: No OFD packet to send [17:24:21]OFD Sender: No OFD packet to send [17:24:26]OFD Sender: No OFD packet to send [17:24:31]OFD Sender: No OFD packet to send [17:24:36]OFD Sender: No OFD packet to send [17:24:41]OFD Sender: No OFD packet to send [17:24:46]OFD Sender: No OFD packet to send [17:24:51]OFD Sender: No OFD packet to send [17:24:56]OFD Sender: No OFD packet to send [17:25:01]OFD Sender: No OFD packet to send [17:25:06]OFD Sender: No OFD packet to send [17:25:11]OFD Sender: No OFD packet to send [17:25:17]OFD Sender: No OFD packet to send [17:25:22]OFD Sender: No OFD packet to send [17:25:27]OFD Sender: No OFD packet to send [17:25:32]OFD Sender: No OFD packet to send [17:25:37]OFD Sender: No OFD packet to send [17:25:42]OFD Sender: No OFD packet to send [17:25:47]OFD Sender: No OFD packet to send [17:25:52]OFD Sender: No OFD packet to send [17:25:57]OFD Sender: No OFD packet to send [17:26:02]OFD Sender: No OFD packet to send [17:26:07]OFD Sender: No OFD packet to send [17:26:12]OFD Sender: No OFD packet to send [17:26:17]OFD Sender: No OFD packet to send [17:26:22]OFD Sender: No OFD packet to send [17:26:27]OFD Sender: No OFD packet to send [17:26:32]OFD Sender: No OFD packet to send [17:26:37]OFD Sender: No OFD packet to send [17:26:42]OFD Sender: No OFD packet to send [17:26:47]OFD Sender: No OFD packet to send [17:26:52]OFD Sender: No OFD packet to send [17:26:57]OFD Sender: No OFD packet to send [17:27:02]OFD Sender: No OFD packet to send [17:27:07]OFD Sender: No OFD packet to send [17:27:12]OFD Sender: No OFD packet to send [17:27:17]OFD Sender: No OFD packet to send [17:27:22]OFD Sender: No OFD packet to send [17:27:27]OFD Sender: No OFD packet to send [17:27:32]OFD Sender: No OFD packet to send [17:27:37]OFD Sender: No OFD packet to send [17:27:42]OFD Sender: No OFD packet to send [17:27:47]OFD Sender: No OFD packet to send [17:27:51]accept exits with 9 [17:27:51]New connection [17:27:51]New thread 3067440484 created [17:27:51]Thread 3067583844 joined [17:27:51]Waiting for new connection... [17:27:51] Sock 9.Parse request [17:27:51]Sock 9.Check first char [17:27:51]Sock 9.First char is OK [17:27:51]request: POST /json_proto HTTP/1.0 [17:27:51]Method: POST [17:27:51]URL: /json_proto [17:27:51]Method is POST - this is cgi request [17:27:51]url: /json_proto [17:27:51]query_string will be loaded in cgi processing [17:27:51]execute_cgi json_proto POST (null) [17:27:51]execute_cgi path=json_proto method=POST [17:27:51]POST find Content-Length [17:27:51]Host: 172.17.43.4:8080 [17:27:51]Content-Length: 1462 [17:27:51]Content-Type: application/json [17:27:51] [17:27:51]POST finish read [17:27:51]Found Content-Length = 1462 [17:27:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51693", "tax_sys" : 0, "items" : [ { "code": "4607015232547", "name": "\u0412\u0430\u0444\u043B\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0441 \u0445\u0430\u043B\u0432\u043E\u0439 200\u0433", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010803", "name": "\u0427\u0430\u0439 \u041B\u0435\u0442\u0441 \u0413\u043E\u0443 \u041C\u0430\u043B\u0438\u043D\u0430 0,9\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226617", "name": "Mentos \u041F\u0412 \u041D\u0435\u0436\u043D\u0430\u044F \u041C\u044F\u0442\u0430 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:27:51]execute_script... [17:27:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51693", "tax_sys" : 0, "items" : [ { "code": "4607015232547", "name": "\u0412\u0430\u0444\u043B\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0441 \u0445\u0430\u043B\u0432\u043E\u0439 200\u0433", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010803", "name": "\u0427\u0430\u0439 \u041B\u0435\u0442\u0441 \u0413\u043E\u0443 \u041C\u0430\u043B\u0438\u043D\u0430 0,9\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226617", "name": "Mentos \u041F\u0412 \u041D\u0435\u0436\u043D\u0430\u044F \u041C\u044F\u0442\u0430 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:27:51]POST & json_proto [17:27:51]process_json_proto [17:27:51]json parsed OK: [17:27:51]protocol is kg_v1.0 [17:27:51]action value=close_receipt [17:27:51]process_action close_receipt [17:27:51]cmd_close_receipt [17:27:51]MH_GetDate [17:27:51]Write to MH i2c: F0 00 00 2D 07 23 [17:27:51]Write i2c OK [17:27:51]MH_I2C_Read... [17:27:51]Read from MH i2c: F0 [17:27:51]MH_I2C_Read... [17:27:51]Read from MH i2c: F0 09 00 [17:27:51]MH_I2C_Read... [17:27:51]Read from MH i2c: F0 09 00 2D 07 00 18 48 F4 66 02 BF CF 66 DC [17:27:51]GetLastDocTimeStamp 1727284334 [17:27:51]current date 1727285272 [17:27:51]FM_GetShiftState [17:27:51]SAM_PROTO_GetShiftState [17:27:52]wFMCommunicate request_size=4 [17:27:52]MH_SAM_APDU [17:27:52]CAPDU: 80 13 01 00 [17:27:52]Write to MH i2c: E2 08 00 2E 07 80 13 01 00 00 00 00 00 B2 [17:27:52]Write i2c OK [17:27:52]MH_I2C_Read... [17:27:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:27:52]OFD Sender: No OFD packet to send [17:27:52]Read from MH i2c: E2 [17:27:52]MH_I2C_Read... [17:27:52]Read from MH i2c: E2 0E 00 [17:27:52]MH_I2C_Read... [17:27:52]Read from MH i2c: E2 0E 00 2E 07 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 43 [17:27:52]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [17:27:52]wFMCommunicate OK [17:27:52]SAM_PROTO_GetShiftState done [17:27:52]FM_GetShiftState done [17:27:52]opened in 1727224020 [17:27:52]opened+sec_in_day 1727310420 [17:27:52]quantity*price = 9500 [17:27:52]sum+1 = 9501 [17:27:52]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700003010803 Чай Летс Гоу Малина 0,9л 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46226624 Mentos ПВ Клубника 6*100*2 1.000 * 10.00 = 10.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46226617 Mentos ПВ Нежная Мята 6*100*2г 1.000 * 10.00 = 10.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 200.00 НСП 1% : 1.77 НДС 12% : 21.24 Наличными: 200.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 63 25.09.2024 17:27 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22490 ФПД: 38982528059288 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T172753&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22490&fm=38982528059288&tin=02508201610067®Number=0000000000146243&sum=20000 0 [17:27:53]StoreToDocumentArchive [17:27:53]shift 231 fd 22490 [17:27:53]save to /storage/0231/doc_00022490 [17:27:53]save last doc name /storage/0231/doc_00022490 to /storage/kkm_last_doc_name [17:27:53]save OK [17:27:53]Clear old archive folders... [17:27:53]ProcessDocumentItem done err = 0, tmpTLVsize=613 [17:27:53]tlvbuf is 00243F60 [17:27:53]SAM_PROTO_ClearQueue [17:27:53]wFMCommunicate request_size=4 [17:27:53]MH_SAM_APDU [17:27:53]CAPDU: 80 09 00 00 [17:27:53]Write to MH i2c: E2 08 00 3B 07 80 09 00 00 00 00 00 00 B4 [17:27:53]Write i2c OK [17:27:53]MH_I2C_Read... [17:27:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:27:53]Read from MH i2c: E2 [17:27:53]MH_I2C_Read... [17:27:53]Read from MH i2c: E2 03 00 [17:27:53]MH_I2C_Read... [17:27:53]Read from MH i2c: E2 03 00 3B 07 00 90 00 B6 [17:27:53]RAPDU: 90 00 [17:27:53]wFMCommunicate OK [17:27:53]SAM_PROTO_ClearQueue done [17:27:53]KKMCreateOFDPacket [17:27:53]OFDProtocolAddRootSTLVToBuf [17:27:53]FM_MakeSignedData [17:27:53]FM_MakeSignedData [17:27:53]SAM_PROTO_SignData [17:27:53]wFMCommunicate request_size=4 [17:27:53]MH_SAM_APDU [17:27:53]CAPDU: 80 0D 01 02 [17:27:53]Write to MH i2c: E2 08 00 3C 07 80 0D 01 02 00 00 00 00 BC [17:27:53]Write i2c OK [17:27:53]MH_I2C_Read... [17:27:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:27:53]Read from MH i2c: E2 [17:27:53]MH_I2C_Read... [17:27:53]Read from MH i2c: E2 03 00 [17:27:53]MH_I2C_Read... [17:27:53]Read from MH i2c: E2 03 00 3C 07 00 90 00 B7 [17:27:53]RAPDU: 90 00 [17:27:53]wFMCommunicate OK [17:27:53]wFMCommunicate request_size=255 [17:27:53]MH_SAM_APDU [17:27:53]CAPDU: 80 0D 02 02 FA 03 00 65 02 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 35 34 37 06 04 2D 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B2 D0 BE D0 B9 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 38 30 33 06 04 29 00 D0 A7 D0 B0 D0 B9 20 D0 9B D0 B5 D1 82 D1 81 20 D0 93 D0 BE D1 83 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 39 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 [17:27:53]Write to MH i2c: E2 02 01 3D 07 80 0D 02 02 FA 00 03 00 65 02 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 35 34 37 06 04 2D 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B2 D0 BE D0 B9 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 38 30 33 06 04 29 00 D0 A7 D0 B0 D0 B9 20 D0 9B D0 B5 D1 82 D1 81 20 D0 93 D0 BE D1 83 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 39 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 00 00 67 [17:27:53]Write i2c OK [17:27:53]MH_I2C_Read... [17:27:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:27:53]Read from MH i2c: E2 [17:27:53]MH_I2C_Read... [17:27:53]Read from MH i2c: E2 03 00 [17:27:53]MH_I2C_Read... [17:27:53]Read from MH i2c: E2 03 00 3D 07 00 90 00 B8 [17:27:53]RAPDU: 90 00 [17:27:53]wFMCommunicate OK [17:27:53]wFMCommunicate request_size=255 [17:27:53]MH_SAM_APDU [17:27:53]CAPDU: 80 0D 02 02 FA 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 [17:27:53]Write to MH i2c: E2 02 01 3E 07 80 0D 02 02 FA 00 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 17 [17:27:53]Write i2c OK [17:27:53]MH_I2C_Read... [17:27:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:27:53]Read from MH i2c: E2 [17:27:53]MH_I2C_Read... [17:27:53]Read from MH i2c: E2 03 00 [17:27:53]MH_I2C_Read... [17:27:53]Read from MH i2c: E2 03 00 3E 07 00 90 00 B9 [17:27:53]RAPDU: 90 00 [17:27:53]wFMCommunicate OK [17:27:53]wFMCommunicate request_size=122 [17:27:53]MH_SAM_APDU [17:27:53]CAPDU: 80 0D 02 02 75 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 19 48 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DA 57 00 00 35 04 06 00 23 74 53 BC C7 98 [17:27:53]Write to MH i2c: E2 7D 00 3F 07 80 0D 02 02 75 00 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 19 48 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DA 57 00 00 35 04 06 00 23 74 53 BC C7 98 00 00 6B [17:27:53]Write i2c OK [17:27:53]MH_I2C_Read... [17:27:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:27:54]Read from MH i2c: E2 [17:27:54]MH_I2C_Read... [17:27:54]Read from MH i2c: E2 03 00 [17:27:54]MH_I2C_Read... [17:27:54]Read from MH i2c: E2 03 00 3F 07 00 90 00 BA [17:27:54]RAPDU: 90 00 [17:27:54]wFMCommunicate OK [17:27:54]wFMCommunicate request_size=4 [17:27:54]MH_SAM_APDU [17:27:54]CAPDU: 80 0D 03 02 [17:27:54]Write to MH i2c: E2 08 00 40 07 80 0D 03 02 00 00 00 00 C2 [17:27:54]Write i2c OK [17:27:54]MH_I2C_Read... [17:27:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:27:54]Read from MH i2c: E2 [17:27:54]MH_I2C_Read... [17:27:54]Read from MH i2c: E2 0B 00 [17:27:54]MH_I2C_Read... [17:27:54]Read from MH i2c: E2 0B 00 40 07 00 D2 3C 73 C0 43 0B 25 CD 90 00 44 [17:27:54]RAPDU: D2 3C 73 C0 43 0B 25 CD 90 00 [17:27:54]wFMCommunicate OK [17:27:54]SAM_PROTO_SignData done [17:27:54]FM_MakeSignedData done [17:27:54]CreateOFDProtocolMessage [17:27:54]wFMCommunicate request_size=4 [17:27:54]MH_SAM_APDU [17:27:54]CAPDU: 80 11 00 00 [17:27:54]Write to MH i2c: E2 08 00 41 07 80 11 00 00 00 00 00 00 C2 [17:27:54]Write i2c OK [17:27:54]MH_I2C_Read... [17:27:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:27:54]Read from MH i2c: E2 [17:27:54]MH_I2C_Read... [17:27:54]Read from MH i2c: E2 17 00 [17:27:54]MH_I2C_Read... [17:27:54]Read from MH i2c: E2 17 00 41 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 1C [17:27:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [17:27:54]wFMCommunicate OK [17:27:54]CreateOFDProtocolMessage done [17:27:54]OFDSenderStorePacket 22490 [17:27:54]StoreOFDPacket docnum=22490 [17:27:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 79 02 00 00 46 45 71 02 DB 0D 5A 03 01 00 03 00 65 02 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 35 34 37 06 04 2D 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B2 D0 BE D0 B9 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 38 30 33 06 04 29 00 D0 A7 D0 B0 D0 B9 20 D0 9B D0 B5 D1 82 D1 81 20 D0 93 D0 BE D1 83 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 39 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 19 48 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DA 57 00 00 35 04 06 00 23 74 53 BC C7 98 D2 3C 73 C0 43 0B 25 CD [17:27:54]CheckFolder [17:27:54]dirname=/storage/ofd_packets [17:27:54]CheckFolder done [17:27:54]ProducePacketName [17:27:54]name=ofd_packets/00022490 [17:27:54]NVStorageSaveData ofd_packets/00022490 [17:27:54]File name is /storage/ofd_packets/00022490 [17:27:54]Write 663 bytes [17:27:54]NVStorageSaveData done [17:27:54]OFDSenderStorePacket done [17:27:54]KKMCreateOFDPacket done [17:27:54]NVStorageSaveData kkm_last_timestamp [17:27:54]File name is /storage/kkm_last_timestamp [17:27:54]Write 4 bytes [17:27:54]NVStorageSaveData done [17:27:54]ExternCall_PrintAddStr [17:27:54]wPrintStart [17:27:54]Write to MH i2c: 01 00 00 42 07 49 [17:27:54]Write i2c OK [17:27:54]MH_I2C_Read... [17:27:54]Read from MH i2c: 01 [17:27:54]MH_I2C_Read... [17:27:54]Read from MH i2c: 01 07 00 [17:27:54]MH_I2C_Read... [17:27:54]Read from MH i2c: 01 07 00 42 07 00 00 00 00 00 FF 0F 5E [17:27:54]RasterBufferAndPrint [17:27:54]line Счет N : (3)51693 [17:27:54]line ИНН: 02508201610067 [17:27:54]line Контрольно-Кассовый Чек [17:27:54]line ПРОДАЖА [17:27:54]line Товар: 4607015232547 [17:27:54]line Вафли Яшкино с халвой 200г [17:27:54]line 1.000 * 95.00 [17:27:54]line = 95.00 [17:27:54]line НДС 12% НСП 1% [17:27:54]line > о реализуемом товаре [17:27:54]line Товар: 4700003010803 [17:27:54]line Чай Летс Гоу Малина 0,9л [17:27:54]line 1.000 * 85.00 [17:27:54]line = 85.00 [17:27:54]line НДС 12% НСП 1% [17:27:54]line > о реализуемом товаре [17:27:54]line Товар: 46226624 [17:27:54]line Mentos ПВ Клубника 6*100*2 [17:27:54]line 1.000 * 10.00 [17:27:54]line = 10.00 [17:27:54]line НДС 12% НСП 1% [17:27:54]line > о реализуемом товаре [17:27:54]line Товар: 46226617 [17:27:54]line Mentos ПВ Нежная Мята 6*100*2г [17:27:54]line 1.000 * 10.00 [17:27:54]line = 10.00 [17:27:54]line НДС 12% НСП 1% [17:27:54]line > о реализуемом товаре [17:27:54]line ИТОГО: 200.00 [17:27:54]line НСП 1% : 1.77 [17:27:54]line НДС 12% : 21.24 [17:27:54]line Наличными: 200.00 [17:27:54]line Безнал.: 0.00 [17:27:54]line Место: АЗС № 88 "Партнер Нефть" [17:27:54]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [17:27:54]line СНО: Общий режим [17:27:54]line Чек 63 25.09.2024 17:27 [17:27:54]line Смена: 231 ФФД: 1.0 [17:27:54]line ЗНМ: 0300000061 [17:27:54]line РНМ: 0000000000146243 [17:27:54]line Версия ККМ: v1.0 [17:27:54]line ФМ: 0000000000959358 [17:27:54]line ФД: 22490 [17:27:54]line ФПД: 38982528059288 [17:27:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T172753&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22490&fm=38982528059288&tin=02508201610067®Number=0000000000146243&sum=20000 [17:27:54]line 0 [17:27:54]OFD Sender: Processing packet 22490 [packets to send 23, broken 22] [17:27:54]ProducePacketName [17:27:54]name=ofd_packets/00022490 [17:27:54]OFD Sender: To server: pG, [17:27:54]CommunicateWithHost lk.salyk.kg:30040 [17:27:54]ConnectInit lk.salyk.kg [17:27:54]written 0, free lines is 4095 [17:27:54]Connected sock=10 [17:27:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 79 02 00 00 46 45 71 02 DB 0D 5A 03 01 00 03 00 65 02 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 35 34 37 06 04 2D 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D1 85 D0 B0 D0 BB D0 B2 D0 BE D0 B9 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 38 30 33 06 04 29 00 D0 A7 D0 B0 D0 B9 20 D0 9B D0 B5 D1 82 D1 81 20 D0 93 D0 BE D1 83 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 39 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 08 00 34 36 32 32 36 36 31 37 06 04 2B 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9D D0 B5 D0 B6 D0 BD D0 B0 D1 8F 20 D0 9C D1 8F D1 82 D0 B0 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 19 48 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DA 57 00 00 35 04 06 00 23 74 53 BC C7 98 D2 3C 73 C0 43 0B 25 CD [17:27:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 CB 1B 47 00 C7 3F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DA 57 00 00 F4 03 04 00 3B F2 F3 66 B6 04 01 00 00 19 67 4F E3 80 B3 91 7C [17:27:54]CommunicateWithHost err = 0 [17:27:54]CheckOFDResponse [17:27:54]1017 (14) - 77093643461234 [17:27:54]1041 (16) - 0000000000959358 [17:27:54]1040 (4) - 22490 [17:27:54]1012 (4) - 25.09.2024 11:21 [17:27:54]1206 (1) - 0 [17:27:54]OFD Sender: Remove packet 22490 [17:27:54]ProducePacketName [17:27:54]name=ofd_packets/00022490 [17:27:54]NVStorageDeleteData [17:27:55]Write to MH i2c: 01 00 00 7D 07 84 [17:27:55]Write i2c OK [17:27:55]MH_I2C_Read... [17:27:55]Read from MH i2c: 01 [17:27:55]MH_I2C_Read... [17:27:55]Read from MH i2c: 01 07 00 [17:27:55]MH_I2C_Read... [17:27:55]Read from MH i2c: 01 07 00 7D 07 00 00 00 00 00 42 0C D9 [17:27:55]RasterBufferAndPrint [17:27:55]line [17:27:55]line [17:27:55]line [17:27:55]line [17:27:55]line [17:27:55]written 0, free lines is 3147 [17:27:55]MH_Cut [17:27:55]Write to MH i2c: D1 01 00 84 07 01 5D [17:27:55]Write i2c OK [17:27:55]MH_I2C_Read... [17:27:55]Read from MH i2c: D1 [17:27:55]MH_I2C_Read... [17:27:55]Read from MH i2c: D1 01 00 [17:27:55]MH_I2C_Read... [17:27:55]Read from MH i2c: D1 01 00 84 07 00 5C [17:27:55]Write to MH i2c: 01 00 00 85 07 8C [17:27:55]Write i2c OK [17:27:55]MH_I2C_Read... [17:27:55]OFD Sender: No OFD packet to send [17:27:55]*** Cut start [17:27:55]*** Partial cut [17:27:55]*** CUTSNS_PIN = 1 [17:27:55]*** CUTSNS_PIN = 0 [17:27:56]*** Brake cut motor [17:27:56]Read from MH i2c: 01 [17:27:56]MH_I2C_Read... [17:27:56]*** Stop cut motor [17:27:56]*** Cut end [17:27:56]Read from MH i2c: 01 07 00 [17:27:56]MH_I2C_Read... [17:27:56]Read from MH i2c: 01 07 00 85 07 00 00 00 00 00 FF 0F A1 [17:27:56]process_action close_receipt done [17:27:56]requested_data is exist [17:27:56]produce_requested_data [17:27:56]requested_item fm.sn is exist - process it [17:27:56]wFMCommunicate request_size=4 [17:27:56]MH_SAM_APDU [17:27:56]CAPDU: 80 11 00 00 [17:27:56]Write to MH i2c: E2 08 00 86 07 80 11 00 00 00 00 00 00 07 [17:27:56]Write i2c OK [17:27:56]MH_I2C_Read... [17:27:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:27:56]Read from MH i2c: E2 [17:27:56]MH_I2C_Read... [17:27:56]Read from MH i2c: E2 17 00 [17:27:56]MH_I2C_Read... [17:27:56]Read from MH i2c: E2 17 00 86 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 61 [17:27:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [17:27:56]wFMCommunicate OK [17:27:56]requested_item fd.num is exist - process it [17:27:56]SAM_PROTO_GetFieldsCounters [17:27:56]wFMCommunicate request_size=4 [17:27:56]MH_SAM_APDU [17:27:56]CAPDU: 80 13 00 00 [17:27:56]Write to MH i2c: E2 08 00 87 07 80 13 00 00 00 00 00 00 0A [17:27:56]Write i2c OK [17:27:56]MH_I2C_Read... [17:27:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:27:56]Read from MH i2c: E2 [17:27:56]MH_I2C_Read... [17:27:56]Read from MH i2c: E2 62 00 [17:27:56]MH_I2C_Read... [17:27:56]Read from MH i2c: E2 62 00 87 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 DA 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 02 [17:27:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 DA 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:27:56]wFMCommunicate OK [17:27:56]SAM_PROTO_GetFieldsCounters done [17:27:56]requested_item shift.num is exist - process it [17:27:56]requested_item shift.opened is exist - process it [17:27:56]req_shift_opened [17:27:56]FM_GetShiftState [17:27:56]SAM_PROTO_GetShiftState [17:27:56]wFMCommunicate request_size=4 [17:27:56]MH_SAM_APDU [17:27:56]CAPDU: 80 13 01 00 [17:27:56]Write to MH i2c: E2 08 00 88 07 80 13 01 00 00 00 00 00 0C [17:27:56]Write i2c OK [17:27:56]MH_I2C_Read... [17:27:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:27:56]Read from MH i2c: E2 [17:27:56]MH_I2C_Read... [17:27:56]Read from MH i2c: E2 0E 00 [17:27:56]MH_I2C_Read... [17:27:56]Read from MH i2c: E2 0E 00 88 07 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 9D [17:27:56]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [17:27:56]wFMCommunicate OK [17:27:56]SAM_PROTO_GetShiftState done [17:27:56]FM_GetShiftState done [17:27:56]req_shift_opened done [17:27:56]requested_item shift.open_date is exist - process it [17:27:56]req_shift_open_date [17:27:56]req_shift_open_date done [17:27:56]produce_requested_data done [17:27:56]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22490,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [17:27:56]process_action_free close_receipt [17:27:56]json_value_free [17:27:56]json_value_free done [17:27:56]process_json_proto returns [17:27:56]Send response to host [17:27:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22490,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [17:27:56]free response buf [17:27:56]execute_script done [17:27:56]execute_script returns [17:27:56]free content buf [17:27:56]Sock 9.Close socket [17:27:56]Sock 9.Thread stoped [17:28:00]OFD Sender: No OFD packet to send [17:28:05]OFD Sender: No OFD packet to send [17:28:10]OFD Sender: No OFD packet to send [17:28:15]OFD Sender: No OFD packet to send [17:28:20]OFD Sender: No OFD packet to send [17:28:25]OFD Sender: No OFD packet to send [17:28:30]OFD Sender: No OFD packet to send [17:28:35]OFD Sender: No OFD packet to send [17:28:40]OFD Sender: No OFD packet to send [17:28:45]OFD Sender: No OFD packet to send [17:28:50]OFD Sender: No OFD packet to send [17:28:55]OFD Sender: No OFD packet to send [17:29:00]OFD Sender: No OFD packet to send [17:29:05]OFD Sender: No OFD packet to send [17:29:10]OFD Sender: No OFD packet to send [17:29:15]OFD Sender: No OFD packet to send [17:29:20]OFD Sender: No OFD packet to send [17:29:25]OFD Sender: No OFD packet to send [17:29:30]OFD Sender: No OFD packet to send [17:29:35]OFD Sender: No OFD packet to send [17:29:40]OFD Sender: No OFD packet to send [17:29:45]OFD Sender: No OFD packet to send [17:29:50]OFD Sender: No OFD packet to send [17:29:55]OFD Sender: No OFD packet to send [17:30:00]OFD Sender: No OFD packet to send [17:30:05]OFD Sender: No OFD packet to send [17:30:10]OFD Sender: No OFD packet to send [17:30:15]OFD Sender: No OFD packet to send [17:30:20]OFD Sender: No OFD packet to send [17:30:25]OFD Sender: No OFD packet to send [17:30:30]OFD Sender: No OFD packet to send [17:30:35]OFD Sender: No OFD packet to send [17:30:40]OFD Sender: No OFD packet to send [17:30:45]OFD Sender: No OFD packet to send [17:30:50]OFD Sender: No OFD packet to send [17:30:55]OFD Sender: No OFD packet to send [17:31:00]OFD Sender: No OFD packet to send [17:31:05]OFD Sender: No OFD packet to send [17:31:10]OFD Sender: No OFD packet to send [17:31:15]OFD Sender: No OFD packet to send [17:31:20]OFD Sender: No OFD packet to send [17:31:25]OFD Sender: No OFD packet to send [17:31:30]OFD Sender: No OFD packet to send [17:31:35]OFD Sender: No OFD packet to send [17:31:40]OFD Sender: No OFD packet to send [17:31:45]OFD Sender: No OFD packet to send [17:31:50]OFD Sender: No OFD packet to send [17:31:55]OFD Sender: No OFD packet to send [17:32:00]OFD Sender: No OFD packet to send [17:32:05]OFD Sender: No OFD packet to send [17:32:10]OFD Sender: No OFD packet to send [17:32:15]OFD Sender: No OFD packet to send [17:32:20]OFD Sender: No OFD packet to send [17:32:25]OFD Sender: No OFD packet to send [17:32:30]OFD Sender: No OFD packet to send [17:32:35]OFD Sender: No OFD packet to send [17:32:40]OFD Sender: No OFD packet to send [17:32:45]OFD Sender: No OFD packet to send [17:32:50]OFD Sender: No OFD packet to send [17:32:55]OFD Sender: No OFD packet to send [17:33:00]OFD Sender: No OFD packet to send [17:33:05]OFD Sender: No OFD packet to send [17:33:10]OFD Sender: No OFD packet to send [17:33:15]OFD Sender: No OFD packet to send [17:33:20]OFD Sender: No OFD packet to send [17:33:25]OFD Sender: No OFD packet to send [17:33:30]OFD Sender: No OFD packet to send [17:33:35]OFD Sender: No OFD packet to send [17:33:40]OFD Sender: No OFD packet to send [17:33:45]OFD Sender: No OFD packet to send [17:33:50]OFD Sender: No OFD packet to send [17:33:55]OFD Sender: No OFD packet to send [17:34:00]OFD Sender: No OFD packet to send [17:34:05]OFD Sender: No OFD packet to send [17:34:10]OFD Sender: No OFD packet to send [17:34:15]OFD Sender: No OFD packet to send [17:34:20]OFD Sender: No OFD packet to send [17:34:25]OFD Sender: No OFD packet to send [17:34:30]OFD Sender: No OFD packet to send [17:34:35]OFD Sender: No OFD packet to send [17:34:40]OFD Sender: No OFD packet to send [17:34:45]OFD Sender: No OFD packet to send [17:34:50]OFD Sender: No OFD packet to send [17:34:55]OFD Sender: No OFD packet to send [17:35:00]OFD Sender: No OFD packet to send [17:35:05]OFD Sender: No OFD packet to send [17:35:10]OFD Sender: No OFD packet to send [17:35:15]OFD Sender: No OFD packet to send [17:35:20]OFD Sender: No OFD packet to send [17:35:25]OFD Sender: No OFD packet to send [17:35:30]OFD Sender: No OFD packet to send [17:35:35]OFD Sender: No OFD packet to send [17:35:40]OFD Sender: No OFD packet to send [17:35:45]OFD Sender: No OFD packet to send [17:35:50]OFD Sender: No OFD packet to send [17:35:55]OFD Sender: No OFD packet to send [17:36:00]OFD Sender: No OFD packet to send [17:36:05]OFD Sender: No OFD packet to send [17:36:10]OFD Sender: No OFD packet to send [17:36:15]OFD Sender: No OFD packet to send [17:36:20]OFD Sender: No OFD packet to send [17:36:25]OFD Sender: No OFD packet to send [17:36:30]OFD Sender: No OFD packet to send [17:36:35]OFD Sender: No OFD packet to send [17:36:40]OFD Sender: No OFD packet to send [17:36:45]OFD Sender: No OFD packet to send [17:36:50]OFD Sender: No OFD packet to send [17:36:55]OFD Sender: No OFD packet to send [17:37:00]OFD Sender: No OFD packet to send [17:37:05]OFD Sender: No OFD packet to send [17:37:10]OFD Sender: No OFD packet to send [17:37:15]OFD Sender: No OFD packet to send [17:37:20]OFD Sender: No OFD packet to send [17:37:25]OFD Sender: No OFD packet to send [17:37:30]OFD Sender: No OFD packet to send [17:37:35]OFD Sender: No OFD packet to send [17:37:40]OFD Sender: No OFD packet to send [17:37:45]OFD Sender: No OFD packet to send [17:37:50]OFD Sender: No OFD packet to send [17:37:55]OFD Sender: No OFD packet to send [17:38:00]OFD Sender: No OFD packet to send [17:38:05]OFD Sender: No OFD packet to send [17:38:11]OFD Sender: No OFD packet to send [17:38:16]OFD Sender: No OFD packet to send [17:38:21]OFD Sender: No OFD packet to send [17:38:26]OFD Sender: No OFD packet to send [17:38:31]OFD Sender: No OFD packet to send [17:38:36]OFD Sender: No OFD packet to send [17:38:41]OFD Sender: No OFD packet to send [17:38:46]OFD Sender: No OFD packet to send [17:38:51]OFD Sender: No OFD packet to send [17:38:56]OFD Sender: No OFD packet to send [17:39:01]OFD Sender: No OFD packet to send [17:39:06]OFD Sender: No OFD packet to send [17:39:11]OFD Sender: No OFD packet to send [17:39:16]OFD Sender: No OFD packet to send [17:39:21]OFD Sender: No OFD packet to send [17:39:26]OFD Sender: No OFD packet to send [17:39:31]OFD Sender: No OFD packet to send [17:39:36]OFD Sender: No OFD packet to send [17:39:41]OFD Sender: No OFD packet to send [17:39:46]OFD Sender: No OFD packet to send [17:39:51]OFD Sender: No OFD packet to send [17:39:56]OFD Sender: No OFD packet to send [17:40:01]OFD Sender: No OFD packet to send [17:40:06]OFD Sender: No OFD packet to send [17:40:11]OFD Sender: No OFD packet to send [17:40:16]OFD Sender: No OFD packet to send [17:40:21]OFD Sender: No OFD packet to send [17:40:26]OFD Sender: No OFD packet to send [17:40:31]OFD Sender: No OFD packet to send [17:40:36]OFD Sender: No OFD packet to send [17:40:41]OFD Sender: No OFD packet to send [17:40:46]OFD Sender: No OFD packet to send [17:40:51]OFD Sender: No OFD packet to send [17:40:56]OFD Sender: No OFD packet to send [17:41:01]OFD Sender: No OFD packet to send [17:41:06]OFD Sender: No OFD packet to send [17:41:11]OFD Sender: No OFD packet to send [17:41:16]OFD Sender: No OFD packet to send [17:41:21]OFD Sender: No OFD packet to send [17:41:26]OFD Sender: No OFD packet to send [17:41:31]OFD Sender: No OFD packet to send [17:41:36]OFD Sender: No OFD packet to send [17:41:41]OFD Sender: No OFD packet to send [17:41:46]OFD Sender: No OFD packet to send [17:41:51]OFD Sender: No OFD packet to send [17:41:56]OFD Sender: No OFD packet to send [17:42:01]OFD Sender: No OFD packet to send [17:42:06]OFD Sender: No OFD packet to send [17:42:11]OFD Sender: No OFD packet to send [17:42:16]OFD Sender: No OFD packet to send [17:42:21]OFD Sender: No OFD packet to send [17:42:26]OFD Sender: No OFD packet to send [17:42:31]OFD Sender: No OFD packet to send [17:42:36]OFD Sender: No OFD packet to send [17:42:41]OFD Sender: No OFD packet to send [17:42:46]OFD Sender: No OFD packet to send [17:42:51]OFD Sender: No OFD packet to send [17:42:56]OFD Sender: No OFD packet to send [17:43:01]OFD Sender: No OFD packet to send [17:43:06]OFD Sender: No OFD packet to send [17:43:11]OFD Sender: No OFD packet to send [17:43:16]OFD Sender: No OFD packet to send [17:43:21]OFD Sender: No OFD packet to send [17:43:26]OFD Sender: No OFD packet to send [17:43:31]OFD Sender: No OFD packet to send [17:43:36]OFD Sender: No OFD packet to send [17:43:41]OFD Sender: No OFD packet to send [17:43:46]OFD Sender: No OFD packet to send [17:43:51]OFD Sender: No OFD packet to send [17:43:56]OFD Sender: No OFD packet to send [17:44:01]OFD Sender: No OFD packet to send [17:44:06]OFD Sender: No OFD packet to send [17:44:11]OFD Sender: No OFD packet to send [17:44:16]OFD Sender: No OFD packet to send [17:44:21]OFD Sender: No OFD packet to send [17:44:26]OFD Sender: No OFD packet to send [17:44:31]OFD Sender: No OFD packet to send [17:44:36]OFD Sender: No OFD packet to send [17:44:41]OFD Sender: No OFD packet to send [17:44:46]OFD Sender: No OFD packet to send [17:44:51]OFD Sender: No OFD packet to send [17:44:56]OFD Sender: No OFD packet to send [17:45:01]OFD Sender: No OFD packet to send [17:45:06]OFD Sender: No OFD packet to send [17:45:11]OFD Sender: No OFD packet to send [17:45:16]OFD Sender: No OFD packet to send [17:45:21]OFD Sender: No OFD packet to send [17:45:26]OFD Sender: No OFD packet to send [17:45:31]OFD Sender: No OFD packet to send [17:45:36]OFD Sender: No OFD packet to send [17:45:41]OFD Sender: No OFD packet to send [17:45:46]OFD Sender: No OFD packet to send [17:45:51]OFD Sender: No OFD packet to send [17:45:56]OFD Sender: No OFD packet to send [17:46:01]OFD Sender: No OFD packet to send [17:46:06]OFD Sender: No OFD packet to send [17:46:11]OFD Sender: No OFD packet to send [17:46:16]OFD Sender: No OFD packet to send [17:46:21]OFD Sender: No OFD packet to send [17:46:26]OFD Sender: No OFD packet to send [17:46:31]OFD Sender: No OFD packet to send [17:46:36]OFD Sender: No OFD packet to send [17:46:41]OFD Sender: No OFD packet to send [17:46:46]OFD Sender: No OFD packet to send [17:46:51]OFD Sender: No OFD packet to send [17:46:56]OFD Sender: No OFD packet to send [17:47:01]OFD Sender: No OFD packet to send [17:47:06]OFD Sender: No OFD packet to send [17:47:11]OFD Sender: No OFD packet to send [17:47:16]OFD Sender: No OFD packet to send [17:47:21]OFD Sender: No OFD packet to send [17:47:26]OFD Sender: No OFD packet to send [17:47:31]OFD Sender: No OFD packet to send [17:47:36]OFD Sender: No OFD packet to send [17:47:41]OFD Sender: No OFD packet to send [17:47:46]OFD Sender: No OFD packet to send [17:47:51]OFD Sender: No OFD packet to send [17:47:56]OFD Sender: No OFD packet to send [17:48:01]OFD Sender: No OFD packet to send [17:48:06]OFD Sender: No OFD packet to send [17:48:11]OFD Sender: No OFD packet to send [17:48:16]OFD Sender: No OFD packet to send [17:48:21]OFD Sender: No OFD packet to send [17:48:26]OFD Sender: No OFD packet to send [17:48:31]OFD Sender: No OFD packet to send [17:48:36]OFD Sender: No OFD packet to send [17:48:41]OFD Sender: No OFD packet to send [17:48:46]OFD Sender: No OFD packet to send [17:48:51]OFD Sender: No OFD packet to send [17:48:56]OFD Sender: No OFD packet to send [17:49:01]OFD Sender: No OFD packet to send [17:49:06]OFD Sender: No OFD packet to send [17:49:11]OFD Sender: No OFD packet to send [17:49:16]OFD Sender: No OFD packet to send [17:49:21]OFD Sender: No OFD packet to send [17:49:26]OFD Sender: No OFD packet to send [17:49:31]OFD Sender: No OFD packet to send [17:49:36]OFD Sender: No OFD packet to send [17:49:41]OFD Sender: No OFD packet to send [17:49:46]OFD Sender: No OFD packet to send [17:49:51]OFD Sender: No OFD packet to send [17:49:56]OFD Sender: No OFD packet to send [17:50:01]OFD Sender: No OFD packet to send [17:50:06]OFD Sender: No OFD packet to send [17:50:11]OFD Sender: No OFD packet to send [17:50:16]OFD Sender: No OFD packet to send [17:50:21]OFD Sender: No OFD packet to send [17:50:26]OFD Sender: No OFD packet to send [17:50:31]OFD Sender: No OFD packet to send [17:50:36]OFD Sender: No OFD packet to send [17:50:41]OFD Sender: No OFD packet to send [17:50:46]OFD Sender: No OFD packet to send [17:50:51]OFD Sender: No OFD packet to send [17:50:56]OFD Sender: No OFD packet to send [17:51:01]OFD Sender: No OFD packet to send [17:51:06]OFD Sender: No OFD packet to send [17:51:11]OFD Sender: No OFD packet to send [17:51:16]OFD Sender: No OFD packet to send [17:51:21]OFD Sender: No OFD packet to send [17:51:26]OFD Sender: No OFD packet to send [17:51:31]OFD Sender: No OFD packet to send [17:51:36]OFD Sender: No OFD packet to send [17:51:41]OFD Sender: No OFD packet to send [17:51:46]OFD Sender: No OFD packet to send [17:51:51]OFD Sender: No OFD packet to send [17:51:56]OFD Sender: No OFD packet to send [17:52:01]OFD Sender: No OFD packet to send [17:52:06]OFD Sender: No OFD packet to send [17:52:11]OFD Sender: No OFD packet to send [17:52:16]OFD Sender: No OFD packet to send [17:52:21]OFD Sender: No OFD packet to send [17:52:26]OFD Sender: No OFD packet to send [17:52:31]OFD Sender: No OFD packet to send [17:52:36]OFD Sender: No OFD packet to send [17:52:41]OFD Sender: No OFD packet to send [17:52:46]OFD Sender: No OFD packet to send [17:52:51]OFD Sender: No OFD packet to send [17:52:56]OFD Sender: No OFD packet to send [17:53:01]OFD Sender: No OFD packet to send [17:53:06]OFD Sender: No OFD packet to send [17:53:11]OFD Sender: No OFD packet to send [17:53:16]OFD Sender: No OFD packet to send [17:53:21]OFD Sender: No OFD packet to send [17:53:26]OFD Sender: No OFD packet to send [17:53:31]OFD Sender: No OFD packet to send [17:53:36]OFD Sender: No OFD packet to send [17:53:41]OFD Sender: No OFD packet to send [17:53:46]OFD Sender: No OFD packet to send [17:53:51]OFD Sender: No OFD packet to send [17:53:56]OFD Sender: No OFD packet to send [17:54:01]OFD Sender: No OFD packet to send [17:54:06]OFD Sender: No OFD packet to send [17:54:11]OFD Sender: No OFD packet to send [17:54:16]OFD Sender: No OFD packet to send [17:54:21]OFD Sender: No OFD packet to send [17:54:26]OFD Sender: No OFD packet to send [17:54:31]OFD Sender: No OFD packet to send [17:54:36]OFD Sender: No OFD packet to send [17:54:41]OFD Sender: No OFD packet to send [17:54:46]OFD Sender: No OFD packet to send [17:54:51]OFD Sender: No OFD packet to send [17:54:56]OFD Sender: No OFD packet to send [17:55:01]OFD Sender: No OFD packet to send [17:55:06]OFD Sender: No OFD packet to send [17:55:11]OFD Sender: No OFD packet to send [17:55:16]OFD Sender: No OFD packet to send [17:55:21]OFD Sender: No OFD packet to send [17:55:26]OFD Sender: No OFD packet to send [17:55:31]OFD Sender: No OFD packet to send [17:55:36]OFD Sender: No OFD packet to send [17:55:41]OFD Sender: No OFD packet to send [17:55:46]OFD Sender: No OFD packet to send [17:55:51]OFD Sender: No OFD packet to send [17:55:56]OFD Sender: No OFD packet to send [17:56:01]OFD Sender: No OFD packet to send [17:56:06]OFD Sender: No OFD packet to send [17:56:11]OFD Sender: No OFD packet to send [17:56:16]OFD Sender: No OFD packet to send [17:56:21]OFD Sender: No OFD packet to send [17:56:26]OFD Sender: No OFD packet to send [17:56:31]OFD Sender: No OFD packet to send [17:56:36]OFD Sender: No OFD packet to send [17:56:41]OFD Sender: No OFD packet to send [17:56:46]OFD Sender: No OFD packet to send [17:56:51]OFD Sender: No OFD packet to send [17:56:56]OFD Sender: No OFD packet to send [17:57:01]OFD Sender: No OFD packet to send [17:57:06]OFD Sender: No OFD packet to send [17:57:11]OFD Sender: No OFD packet to send [17:57:16]OFD Sender: No OFD packet to send [17:57:21]OFD Sender: No OFD packet to send [17:57:26]OFD Sender: No OFD packet to send [17:57:31]OFD Sender: No OFD packet to send [17:57:36]OFD Sender: No OFD packet to send [17:57:41]OFD Sender: No OFD packet to send [17:57:46]OFD Sender: No OFD packet to send [17:57:51]OFD Sender: No OFD packet to send [17:57:56]OFD Sender: No OFD packet to send [17:58:01]OFD Sender: No OFD packet to send [17:58:06]OFD Sender: No OFD packet to send [17:58:11]OFD Sender: No OFD packet to send [17:58:17]OFD Sender: No OFD packet to send [17:58:22]OFD Sender: No OFD packet to send [17:58:27]OFD Sender: No OFD packet to send [17:58:32]OFD Sender: No OFD packet to send [17:58:37]OFD Sender: No OFD packet to send [17:58:42]OFD Sender: No OFD packet to send [17:58:47]OFD Sender: No OFD packet to send [17:58:52]OFD Sender: No OFD packet to send [17:58:57]OFD Sender: No OFD packet to send [17:59:02]OFD Sender: No OFD packet to send [17:59:07]OFD Sender: No OFD packet to send [17:59:12]OFD Sender: No OFD packet to send [17:59:17]OFD Sender: No OFD packet to send [17:59:22]OFD Sender: No OFD packet to send [17:59:27]OFD Sender: No OFD packet to send [17:59:32]OFD Sender: No OFD packet to send [17:59:37]OFD Sender: No OFD packet to send [17:59:40]accept exits with 7 [17:59:40]New connection [17:59:40]New thread 3067583844 created [17:59:40]Thread 3067440484 joined [17:59:40]Waiting for new connection... [17:59:40] Sock 7.Parse request [17:59:40]Sock 7.Check first char [17:59:40]Sock 7.First char is OK [17:59:40]request: POST /json_proto HTTP/1.0 [17:59:40]Method: POST [17:59:40]URL: /json_proto [17:59:40]Method is POST - this is cgi request [17:59:40]url: /json_proto [17:59:40]query_string will be loaded in cgi processing [17:59:40]execute_cgi json_proto POST (null) [17:59:40]execute_cgi path=json_proto method=POST [17:59:40]POST find Content-Length [17:59:40]Host: 172.17.43.4:8080 [17:59:40]Content-Length: 623 [17:59:40]Content-Type: application/json [17:59:40] [17:59:40]POST finish read [17:59:40]Found Content-Length = 623 [17:59:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51694", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 147.00, "quantity" : 1.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 147.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:59:40]execute_script... [17:59:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51694", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 147.00, "quantity" : 1.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 147.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:59:40]POST & json_proto [17:59:40]process_json_proto [17:59:40]json parsed OK: [17:59:40]protocol is kg_v1.0 [17:59:40]action value=close_receipt [17:59:40]process_action close_receipt [17:59:40]cmd_close_receipt [17:59:40]MH_GetDate [17:59:40]Write to MH i2c: F0 00 00 89 07 7F [17:59:40]Write i2c OK [17:59:40]MH_I2C_Read... [17:59:40]Read from MH i2c: F0 [17:59:40]MH_I2C_Read... [17:59:40]Read from MH i2c: F0 09 00 [17:59:40]MH_I2C_Read... [17:59:40]Read from MH i2c: F0 09 00 89 07 00 8D 4F F4 66 02 BF CF 66 B4 [17:59:40]GetLastDocTimeStamp 1727285273 [17:59:40]current date 1727287181 [17:59:40]FM_GetShiftState [17:59:40]SAM_PROTO_GetShiftState [17:59:40]wFMCommunicate request_size=4 [17:59:40]MH_SAM_APDU [17:59:40]CAPDU: 80 13 01 00 [17:59:40]Write to MH i2c: E2 08 00 8A 07 80 13 01 00 00 00 00 00 0E [17:59:40]Write i2c OK [17:59:40]MH_I2C_Read... [17:59:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:59:40]Read from MH i2c: E2 [17:59:40]MH_I2C_Read... [17:59:40]Read from MH i2c: E2 0E 00 [17:59:40]MH_I2C_Read... [17:59:40]Read from MH i2c: E2 0E 00 8A 07 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 9F [17:59:40]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [17:59:40]wFMCommunicate OK [17:59:40]SAM_PROTO_GetShiftState done [17:59:40]FM_GetShiftState done [17:59:40]opened in 1727224020 [17:59:40]opened+sec_in_day 1727310420 [17:59:40]quantity*price = 14700 [17:59:40]sum+1 = 14701 [17:59:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 147.00 НСП 1% : 1.30 НДС 12% : 15.61 Наличными: 147.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 64 25.09.2024 17:59 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22491 ФПД: 152966662138715 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T175941&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22491&fm=152966662138715&tin=02508201610067®Number=0000000000146243&sum=14700 0 [17:59:41]StoreToDocumentArchive [17:59:41]shift 231 fd 22491 [17:59:41]save to /storage/0231/doc_00022491 [17:59:41]save last doc name /storage/0231/doc_00022491 to /storage/kkm_last_doc_name [17:59:41]save OK [17:59:41]Clear old archive folders... [17:59:41]ProcessDocumentItem done err = 0, tmpTLVsize=276 [17:59:41]tlvbuf is 0021ABB0 [17:59:41]SAM_PROTO_ClearQueue [17:59:41]wFMCommunicate request_size=4 [17:59:41]MH_SAM_APDU [17:59:41]CAPDU: 80 09 00 00 [17:59:41]Write to MH i2c: E2 08 00 97 07 80 09 00 00 00 00 00 00 10 [17:59:41]Write i2c OK [17:59:41]MH_I2C_Read... [17:59:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:59:41]Read from MH i2c: E2 [17:59:41]MH_I2C_Read... [17:59:41]Read from MH i2c: E2 03 00 [17:59:41]MH_I2C_Read... [17:59:41]Read from MH i2c: E2 03 00 97 07 00 90 00 12 [17:59:41]RAPDU: 90 00 [17:59:41]wFMCommunicate OK [17:59:41]SAM_PROTO_ClearQueue done [17:59:41]KKMCreateOFDPacket [17:59:41]OFDProtocolAddRootSTLVToBuf [17:59:41]FM_MakeSignedData [17:59:41]FM_MakeSignedData [17:59:41]SAM_PROTO_SignData [17:59:41]wFMCommunicate request_size=4 [17:59:41]MH_SAM_APDU [17:59:41]CAPDU: 80 0D 01 02 [17:59:41]Write to MH i2c: E2 08 00 98 07 80 0D 01 02 00 00 00 00 18 [17:59:41]Write i2c OK [17:59:41]MH_I2C_Read... [17:59:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:59:41]Read from MH i2c: E2 [17:59:41]MH_I2C_Read... [17:59:41]Read from MH i2c: E2 03 00 [17:59:41]MH_I2C_Read... [17:59:41]Read from MH i2c: E2 03 00 98 07 00 90 00 13 [17:59:41]RAPDU: 90 00 [17:59:41]wFMCommunicate OK [17:59:41]wFMCommunicate request_size=255 [17:59:41]MH_SAM_APDU [17:59:41]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 8D 4F F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 [17:59:41]Write to MH i2c: E2 02 01 99 07 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 8D 4F F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 00 00 36 [17:59:41]Write i2c OK [17:59:41]MH_I2C_Read... [17:59:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:59:41]Read from MH i2c: E2 [17:59:41]MH_I2C_Read... [17:59:41]Read from MH i2c: E2 03 00 [17:59:41]MH_I2C_Read... [17:59:41]Read from MH i2c: E2 03 00 99 07 00 90 00 14 [17:59:41]RAPDU: 90 00 [17:59:41]wFMCommunicate OK [17:59:41]wFMCommunicate request_size=35 [17:59:41]MH_SAM_APDU [17:59:41]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DB 57 00 00 35 04 06 00 8B 1F 53 8F 2B 5B [17:59:41]Write to MH i2c: E2 26 00 9A 07 80 0D 02 02 1E 00 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DB 57 00 00 35 04 06 00 8B 1F 53 8F 2B 5B 00 00 59 [17:59:41]Write i2c OK [17:59:41]MH_I2C_Read... [17:59:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:59:41]Read from MH i2c: E2 [17:59:41]MH_I2C_Read... [17:59:41]Read from MH i2c: E2 03 00 [17:59:41]MH_I2C_Read... [17:59:41]Read from MH i2c: E2 03 00 9A 07 00 90 00 15 [17:59:41]RAPDU: 90 00 [17:59:41]wFMCommunicate OK [17:59:41]wFMCommunicate request_size=4 [17:59:41]MH_SAM_APDU [17:59:41]CAPDU: 80 0D 03 02 [17:59:41]Write to MH i2c: E2 08 00 9B 07 80 0D 03 02 00 00 00 00 1D [17:59:41]Write i2c OK [17:59:41]MH_I2C_Read... [17:59:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:59:41]Read from MH i2c: E2 [17:59:41]MH_I2C_Read... [17:59:41]Read from MH i2c: E2 0B 00 [17:59:41]MH_I2C_Read... [17:59:41]Read from MH i2c: E2 0B 00 9B 07 00 E5 41 F2 FE DB BF 72 FD 90 00 3D [17:59:41]RAPDU: E5 41 F2 FE DB BF 72 FD 90 00 [17:59:41]wFMCommunicate OK [17:59:41]SAM_PROTO_SignData done [17:59:41]FM_MakeSignedData done [17:59:41]CreateOFDProtocolMessage [17:59:41]wFMCommunicate request_size=4 [17:59:41]MH_SAM_APDU [17:59:41]CAPDU: 80 11 00 00 [17:59:41]Write to MH i2c: E2 08 00 9C 07 80 11 00 00 00 00 00 00 1D [17:59:41]Write i2c OK [17:59:41]MH_I2C_Read... [17:59:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:59:42]Read from MH i2c: E2 [17:59:42]MH_I2C_Read... [17:59:42]Read from MH i2c: E2 17 00 [17:59:42]MH_I2C_Read... [17:59:42]Read from MH i2c: E2 17 00 9C 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 77 [17:59:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [17:59:42]wFMCommunicate OK [17:59:42]CreateOFDProtocolMessage done [17:59:42]OFDSenderStorePacket 22491 [17:59:42]StoreOFDPacket docnum=22491 [17:59:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 28 01 00 00 84 A1 20 01 5B 4A 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 8D 4F F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DB 57 00 00 35 04 06 00 8B 1F 53 8F 2B 5B E5 41 F2 FE DB BF 72 FD [17:59:42]CheckFolder [17:59:42]dirname=/storage/ofd_packets [17:59:42]CheckFolder done [17:59:42]ProducePacketName [17:59:42]name=ofd_packets/00022491 [17:59:42]NVStorageSaveData ofd_packets/00022491 [17:59:42]File name is /storage/ofd_packets/00022491 [17:59:42]Write 326 bytes [17:59:42]NVStorageSaveData done [17:59:42]OFDSenderStorePacket done [17:59:42]KKMCreateOFDPacket done [17:59:42]NVStorageSaveData kkm_last_timestamp [17:59:42]File name is /storage/kkm_last_timestamp [17:59:42]Write 4 bytes [17:59:42]NVStorageSaveData done [17:59:42]ExternCall_PrintAddStr [17:59:42]wPrintStart [17:59:42]Write to MH i2c: 01 00 00 9D 07 A4 [17:59:42]Write i2c OK [17:59:42]MH_I2C_Read... [17:59:42]Read from MH i2c: 01 [17:59:42]MH_I2C_Read... [17:59:42]Read from MH i2c: 01 07 00 [17:59:42]MH_I2C_Read... [17:59:42]Read from MH i2c: 01 07 00 9D 07 00 00 00 00 00 FF 0F B9 [17:59:42]RasterBufferAndPrint [17:59:42]line Счет N : (3)51694 [17:59:42]line ИНН: 02508201610067 [17:59:42]line Контрольно-Кассовый Чек [17:59:42]line ПРОДАЖА [17:59:42]line Товар: 48744683 [17:59:42]line Сигареты Winston XStyle Caster+ [17:59:42]line 1.000 * 147.00 [17:59:42]line = 147.00 [17:59:42]line НДС 12% НСП 1% [17:59:42]line > о реализуемом товаре [17:59:42]line ИТОГО: 147.00 [17:59:42]line НСП 1% : 1.30 [17:59:42]line НДС 12% : 15.61 [17:59:42]line Наличными: 147.00 [17:59:42]line Безнал.: 0.00 [17:59:42]line Место: АЗС № 88 "Партнер Нефть" [17:59:42]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [17:59:42]line СНО: Общий режим [17:59:42]line Чек 64 25.09.2024 17:59 [17:59:42]line Смена: 231 ФФД: 1.0 [17:59:42]line ЗНМ: 0300000061 [17:59:42]line РНМ: 0000000000146243 [17:59:42]line Версия ККМ: v1.0 [17:59:42]line ФМ: 0000000000959358 [17:59:42]line ФД: 22491 [17:59:42]line ФПД: 152966662138715 [17:59:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T175941&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22491&fm=152966662138715&tin=02508201610067®Number=0000000000146243&sum=14700 [17:59:42]line 0 [17:59:42]OFD Sender: Processing packet 22491 [packets to send 23, broken 22] [17:59:42]ProducePacketName [17:59:42]name=ofd_packets/00022491 [17:59:42]OFD Sender: To server: pG, [17:59:42]CommunicateWithHost lk.salyk.kg:30040 [17:59:42]ConnectInit lk.salyk.kg [17:59:42]written 0, free lines is 4095 [17:59:42]Write to MH i2c: 01 00 00 C6 07 CD [17:59:42]Write i2c OK [17:59:42]MH_I2C_Read... [17:59:42]Read from MH i2c: 01 [17:59:42]MH_I2C_Read... [17:59:42]Read from MH i2c: 01 07 00 [17:59:42]MH_I2C_Read... [17:59:42]Read from MH i2c: 01 07 00 C6 07 00 00 00 00 00 06 0D E7 [17:59:42]RasterBufferAndPrint [17:59:42]line [17:59:42]line [17:59:42]line [17:59:42]line [17:59:42]line [17:59:42]written 0, free lines is 3340 [17:59:42]MH_Cut [17:59:42]Write to MH i2c: D1 01 00 CD 07 01 A6 [17:59:42]Write i2c OK [17:59:42]MH_I2C_Read... [17:59:42]Read from MH i2c: D1 [17:59:42]MH_I2C_Read... [17:59:42]Read from MH i2c: D1 01 00 [17:59:42]MH_I2C_Read... [17:59:42]Read from MH i2c: D1 01 00 CD 07 00 A5 [17:59:42]Write to MH i2c: 01 00 00 CE 07 D5 [17:59:42]Write i2c OK [17:59:42]MH_I2C_Read... [17:59:43]*** Cut start [17:59:43]*** Partial cut [17:59:43]*** CUTSNS_PIN = 1 [17:59:43]*** CUTSNS_PIN = 0 [17:59:43]*** Brake cut motor [17:59:44]Read from MH i2c: 01 [17:59:44]MH_I2C_Read... [17:59:44]*** Stop cut motor [17:59:44]*** Cut end [17:59:44]Read from MH i2c: 01 07 00 [17:59:44]MH_I2C_Read... [17:59:44]Read from MH i2c: 01 07 00 CE 07 00 00 00 00 00 FF 0F EA [17:59:44]process_action close_receipt done [17:59:44]requested_data is exist [17:59:44]produce_requested_data [17:59:44]requested_item fm.sn is exist - process it [17:59:44]wFMCommunicate request_size=4 [17:59:44]MH_SAM_APDU [17:59:44]CAPDU: 80 11 00 00 [17:59:44]Write to MH i2c: E2 08 00 CF 07 80 11 00 00 00 00 00 00 50 [17:59:44]Write i2c OK [17:59:44]MH_I2C_Read... [17:59:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:59:44]Read from MH i2c: E2 [17:59:44]MH_I2C_Read... [17:59:44]Read from MH i2c: E2 17 00 [17:59:44]MH_I2C_Read... [17:59:44]Read from MH i2c: E2 17 00 CF 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 AA [17:59:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [17:59:44]wFMCommunicate OK [17:59:44]requested_item fd.num is exist - process it [17:59:44]SAM_PROTO_GetFieldsCounters [17:59:44]wFMCommunicate request_size=4 [17:59:44]MH_SAM_APDU [17:59:44]CAPDU: 80 13 00 00 [17:59:44]Write to MH i2c: E2 08 00 D0 07 80 13 00 00 00 00 00 00 53 [17:59:44]Write i2c OK [17:59:44]MH_I2C_Read... [17:59:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:59:44]Read from MH i2c: E2 [17:59:44]MH_I2C_Read... [17:59:44]Read from MH i2c: E2 62 00 [17:59:44]MH_I2C_Read... [17:59:44]Read from MH i2c: E2 62 00 D0 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 DB 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 4F [17:59:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 DB 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:59:44]wFMCommunicate OK [17:59:44]SAM_PROTO_GetFieldsCounters done [17:59:44]requested_item shift.num is exist - process it [17:59:44]requested_item shift.opened is exist - process it [17:59:44]req_shift_opened [17:59:44]FM_GetShiftState [17:59:44]SAM_PROTO_GetShiftState [17:59:44]wFMCommunicate request_size=4 [17:59:44]MH_SAM_APDU [17:59:44]CAPDU: 80 13 01 00 [17:59:44]Write to MH i2c: E2 08 00 D1 07 80 13 01 00 00 00 00 00 55 [17:59:44]Write i2c OK [17:59:44]MH_I2C_Read... [17:59:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:59:44]Read from MH i2c: E2 [17:59:44]MH_I2C_Read... [17:59:44]Read from MH i2c: E2 0E 00 [17:59:44]MH_I2C_Read... [17:59:44]Read from MH i2c: E2 0E 00 D1 07 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 E6 [17:59:44]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [17:59:44]wFMCommunicate OK [17:59:44]SAM_PROTO_GetShiftState done [17:59:44]FM_GetShiftState done [17:59:44]req_shift_opened done [17:59:44]requested_item shift.open_date is exist - process it [17:59:44]req_shift_open_date [17:59:44]req_shift_open_date done [17:59:44]produce_requested_data done [17:59:44]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22491,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [17:59:44]process_action_free close_receipt [17:59:44]json_value_free [17:59:44]json_value_free done [17:59:44]process_json_proto returns [17:59:44]Send response to host [17:59:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22491,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [17:59:44]free response buf [17:59:44]execute_script done [17:59:44]execute_script returns [17:59:44]free content buf [17:59:44]Sock 7.Close socket [17:59:44]Sock 7.Thread stoped [18:01:55]ConnectInit Can't connect to host [18:01:55]CommunicateWithHost connect error [18:01:55]CommunicateWithHost err = -1 [18:01:55]OFD Sender: Server communicate error [18:02:00]OFD Sender: Processing packet 22491 [packets to send 23, broken 22] [18:02:00]ProducePacketName [18:02:00]name=ofd_packets/00022491 [18:02:00]OFD Sender: To server: pG, [18:02:00]CommunicateWithHost lk.salyk.kg:30040 [18:02:00]ConnectInit lk.salyk.kg [18:02:00]Connected sock=7 [18:02:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 28 01 00 00 84 A1 20 01 5B 4A 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 8D 4F F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DB 57 00 00 35 04 06 00 8B 1F 53 8F 2B 5B E5 41 F2 FE DB BF 72 FD [18:02:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 89 0C 47 00 8B 9F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DB 57 00 00 F4 03 04 00 39 FA F3 66 B6 04 01 00 00 2B BD 82 41 18 21 B0 79 [18:02:00]CommunicateWithHost err = 0 [18:02:00]CheckOFDResponse [18:02:00]1017 (14) - 77093643461234 [18:02:00]1041 (16) - 0000000000959358 [18:02:00]1040 (4) - 22491 [18:02:00]1012 (4) - 25.09.2024 11:55 [18:02:00]1206 (1) - 0 [18:02:00]OFD Sender: Remove packet 22491 [18:02:00]ProducePacketName [18:02:00]name=ofd_packets/00022491 [18:02:00]NVStorageDeleteData [18:02:01]OFD Sender: No OFD packet to send [18:02:06]OFD Sender: No OFD packet to send [18:02:11]OFD Sender: No OFD packet to send [18:02:16]OFD Sender: No OFD packet to send [18:02:21]OFD Sender: No OFD packet to send [18:02:26]OFD Sender: No OFD packet to send [18:02:31]OFD Sender: No OFD packet to send [18:02:36]OFD Sender: No OFD packet to send [18:02:41]OFD Sender: No OFD packet to send [18:02:46]OFD Sender: No OFD packet to send [18:02:51]OFD Sender: No OFD packet to send [18:02:56]OFD Sender: No OFD packet to send [18:03:01]OFD Sender: No OFD packet to send [18:03:06]OFD Sender: No OFD packet to send [18:03:11]OFD Sender: No OFD packet to send [18:03:16]OFD Sender: No OFD packet to send [18:03:21]OFD Sender: No OFD packet to send [18:03:26]OFD Sender: No OFD packet to send [18:03:31]OFD Sender: No OFD packet to send [18:03:36]OFD Sender: No OFD packet to send [18:03:41]OFD Sender: No OFD packet to send [18:03:46]OFD Sender: No OFD packet to send [18:03:51]OFD Sender: No OFD packet to send [18:03:56]OFD Sender: No OFD packet to send [18:04:01]OFD Sender: No OFD packet to send [18:04:06]OFD Sender: No OFD packet to send [18:04:11]OFD Sender: No OFD packet to send [18:04:16]OFD Sender: No OFD packet to send [18:04:21]OFD Sender: No OFD packet to send [18:04:26]OFD Sender: No OFD packet to send [18:04:31]OFD Sender: No OFD packet to send [18:04:36]OFD Sender: No OFD packet to send [18:04:41]OFD Sender: No OFD packet to send [18:04:46]OFD Sender: No OFD packet to send [18:04:51]OFD Sender: No OFD packet to send [18:04:54]accept exits with 9 [18:04:54]New connection [18:04:54]New thread 3067440484 created [18:04:54]Thread 3067583844 joined [18:04:54]Waiting for new connection... [18:04:54] Sock 9.Parse request [18:04:54]Sock 9.Check first char [18:04:54]Sock 9.First char is OK [18:04:54]request: POST /json_proto HTTP/1.0 [18:04:54]Method: POST [18:04:54]URL: /json_proto [18:04:54]Method is POST - this is cgi request [18:04:54]url: /json_proto [18:04:54]query_string will be loaded in cgi processing [18:04:54]execute_cgi json_proto POST (null) [18:04:54]execute_cgi path=json_proto method=POST [18:04:54]POST find Content-Length [18:04:54]Host: 172.17.43.4:8080 [18:04:54]Content-Length: 783 [18:04:54]Content-Type: application/json [18:04:54] [18:04:54]POST finish read [18:04:54]Found Content-Length = 783 [18:04:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51695", "tax_sys" : 0, "items" : [ { "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:04:54]execute_script... [18:04:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51695", "tax_sys" : 0, "items" : [ { "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:04:54]POST & json_proto [18:04:54]process_json_proto [18:04:54]json parsed OK: [18:04:54]protocol is kg_v1.0 [18:04:54]action value=close_receipt [18:04:54]process_action close_receipt [18:04:54]cmd_close_receipt [18:04:54]MH_GetDate [18:04:54]Write to MH i2c: F0 00 00 D2 07 C8 [18:04:54]Write i2c OK [18:04:54]MH_I2C_Read... [18:04:54]Read from MH i2c: F0 [18:04:54]MH_I2C_Read... [18:04:54]Read from MH i2c: F0 09 00 [18:04:54]MH_I2C_Read... [18:04:54]Read from MH i2c: F0 09 00 D2 07 00 C7 50 F4 66 02 BF CF 66 38 [18:04:54]GetLastDocTimeStamp 1727287181 [18:04:54]current date 1727287495 [18:04:54]FM_GetShiftState [18:04:54]SAM_PROTO_GetShiftState [18:04:54]wFMCommunicate request_size=4 [18:04:54]MH_SAM_APDU [18:04:54]CAPDU: 80 13 01 00 [18:04:54]Write to MH i2c: E2 08 00 D3 07 80 13 01 00 00 00 00 00 57 [18:04:54]Write i2c OK [18:04:54]MH_I2C_Read... [18:04:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:04:54]Read from MH i2c: E2 [18:04:54]MH_I2C_Read... [18:04:54]Read from MH i2c: E2 0E 00 [18:04:54]MH_I2C_Read... [18:04:54]Read from MH i2c: E2 0E 00 D3 07 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 E8 [18:04:54]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:04:54]wFMCommunicate OK [18:04:54]SAM_PROTO_GetShiftState done [18:04:54]FM_GetShiftState done [18:04:54]opened in 1727224020 [18:04:54]opened+sec_in_day 1727310420 [18:04:54]quantity*price = 0 [18:04:54]sum+1 = 1 [18:04:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 65 25.09.2024 18:04 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000959358 ФД: 22492 ФПД: 242144295544993 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T180455&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22492&fm=242144295544993&tin=02508201610067®Number=0000000000146243&sum=0 0 [18:04:55]StoreToDocumentArchive [18:04:55]shift 231 fd 22492 [18:04:55]save to /storage/0231/doc_00022492 [18:04:55]save last doc name /storage/0231/doc_00022492 to /storage/kkm_last_doc_name [18:04:55]save OK [18:04:55]Clear old archive folders... [18:04:55]ProcessDocumentItem done err = 0, tmpTLVsize=287 [18:04:55]tlvbuf is 002485E0 [18:04:55]SAM_PROTO_ClearQueue [18:04:55]wFMCommunicate request_size=4 [18:04:55]MH_SAM_APDU [18:04:55]CAPDU: 80 09 00 00 [18:04:55]Write to MH i2c: E2 08 00 E0 07 80 09 00 00 00 00 00 00 59 [18:04:55]Write i2c OK [18:04:55]MH_I2C_Read... [18:04:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:04:55]Read from MH i2c: E2 [18:04:55]MH_I2C_Read... [18:04:55]Read from MH i2c: E2 03 00 [18:04:55]MH_I2C_Read... [18:04:55]Read from MH i2c: E2 03 00 E0 07 00 90 00 5B [18:04:55]RAPDU: 90 00 [18:04:55]wFMCommunicate OK [18:04:55]SAM_PROTO_ClearQueue done [18:04:55]KKMCreateOFDPacket [18:04:55]OFDProtocolAddRootSTLVToBuf [18:04:55]FM_MakeSignedData [18:04:55]FM_MakeSignedData [18:04:55]SAM_PROTO_SignData [18:04:55]wFMCommunicate request_size=4 [18:04:55]MH_SAM_APDU [18:04:55]CAPDU: 80 0D 01 02 [18:04:55]Write to MH i2c: E2 08 00 E1 07 80 0D 01 02 00 00 00 00 61 [18:04:55]Write i2c OK [18:04:55]MH_I2C_Read... [18:04:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:04:55]Read from MH i2c: E2 [18:04:55]MH_I2C_Read... [18:04:55]Read from MH i2c: E2 03 00 [18:04:55]MH_I2C_Read... [18:04:55]Read from MH i2c: E2 03 00 E1 07 00 90 00 5C [18:04:55]RAPDU: 90 00 [18:04:55]wFMCommunicate OK [18:04:55]wFMCommunicate request_size=255 [18:04:55]MH_SAM_APDU [18:04:55]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 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 41 00 00 00 F4 03 04 00 C7 50 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 [18:04:55]Write to MH i2c: E2 02 01 E2 07 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 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 41 00 00 00 F4 03 04 00 C7 50 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 00 00 2B [18:04:55]Write i2c OK [18:04:55]MH_I2C_Read... [18:04:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:04:55]Read from MH i2c: E2 [18:04:55]MH_I2C_Read... [18:04:55]Read from MH i2c: E2 03 00 [18:04:55]MH_I2C_Read... [18:04:55]Read from MH i2c: E2 03 00 E2 07 00 90 00 5D [18:04:55]RAPDU: 90 00 [18:04:55]wFMCommunicate OK [18:04:55]wFMCommunicate request_size=46 [18:04:55]MH_SAM_APDU [18:04:55]CAPDU: 80 0D 02 02 29 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DC 57 00 00 35 04 06 00 DC 3A 9C B8 68 A1 [18:04:55]Write to MH i2c: E2 31 00 E3 07 80 0D 02 02 29 00 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DC 57 00 00 35 04 06 00 DC 3A 9C B8 68 A1 00 00 98 [18:04:55]Write i2c OK [18:04:55]MH_I2C_Read... [18:04:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:04:55]Read from MH i2c: E2 [18:04:55]MH_I2C_Read... [18:04:55]Read from MH i2c: E2 03 00 [18:04:55]MH_I2C_Read... [18:04:55]Read from MH i2c: E2 03 00 E3 07 00 90 00 5E [18:04:55]RAPDU: 90 00 [18:04:55]wFMCommunicate OK [18:04:55]wFMCommunicate request_size=4 [18:04:55]MH_SAM_APDU [18:04:55]CAPDU: 80 0D 03 02 [18:04:55]Write to MH i2c: E2 08 00 E4 07 80 0D 03 02 00 00 00 00 66 [18:04:55]Write i2c OK [18:04:55]MH_I2C_Read... [18:04:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:04:55]Read from MH i2c: E2 [18:04:55]MH_I2C_Read... [18:04:55]Read from MH i2c: E2 0B 00 [18:04:55]MH_I2C_Read... [18:04:55]Read from MH i2c: E2 0B 00 E4 07 00 20 B8 BC DC 31 E4 FB 8E 90 00 75 [18:04:55]RAPDU: 20 B8 BC DC 31 E4 FB 8E 90 00 [18:04:55]wFMCommunicate OK [18:04:55]SAM_PROTO_SignData done [18:04:55]FM_MakeSignedData done [18:04:55]CreateOFDProtocolMessage [18:04:55]wFMCommunicate request_size=4 [18:04:55]MH_SAM_APDU [18:04:55]CAPDU: 80 11 00 00 [18:04:55]Write to MH i2c: E2 08 00 E5 07 80 11 00 00 00 00 00 00 66 [18:04:55]Write i2c OK [18:04:55]MH_I2C_Read... [18:04:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:04:55]Read from MH i2c: E2 [18:04:55]MH_I2C_Read... [18:04:55]Read from MH i2c: E2 17 00 [18:04:55]MH_I2C_Read... [18:04:55]Read from MH i2c: E2 17 00 E5 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 C0 [18:04:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:04:55]wFMCommunicate OK [18:04:55]CreateOFDProtocolMessage done [18:04:55]OFDSenderStorePacket 22492 [18:04:55]StoreOFDPacket docnum=22492 [18:04:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 33 01 00 00 EB 9D 2B 01 96 8F 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 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 41 00 00 00 F4 03 04 00 C7 50 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DC 57 00 00 35 04 06 00 DC 3A 9C B8 68 A1 20 B8 BC DC 31 E4 FB 8E [18:04:55]CheckFolder [18:04:55]dirname=/storage/ofd_packets [18:04:55]CheckFolder done [18:04:55]ProducePacketName [18:04:55]name=ofd_packets/00022492 [18:04:55]NVStorageSaveData ofd_packets/00022492 [18:04:55]File name is /storage/ofd_packets/00022492 [18:04:55]Write 337 bytes [18:04:55]NVStorageSaveData done [18:04:55]OFDSenderStorePacket done [18:04:55]KKMCreateOFDPacket done [18:04:55]NVStorageSaveData kkm_last_timestamp [18:04:55]File name is /storage/kkm_last_timestamp [18:04:55]Write 4 bytes [18:04:55]NVStorageSaveData done [18:04:55]ExternCall_PrintAddStr [18:04:55]wPrintStart [18:04:55]Write to MH i2c: 01 00 00 E6 07 ED [18:04:55]Write i2c OK [18:04:55]MH_I2C_Read... [18:04:55]Read from MH i2c: 01 [18:04:55]MH_I2C_Read... [18:04:55]Read from MH i2c: 01 07 00 [18:04:55]MH_I2C_Read... [18:04:55]Read from MH i2c: 01 07 00 E6 07 00 00 00 00 00 FF 0F 02 [18:04:55]RasterBufferAndPrint [18:04:55]line Счет N : (3)51695 [18:04:55]line ИНН: 02508201610067 [18:04:55]line Контрольно-Кассовый Чек [18:04:55]line ПРОДАЖА [18:04:55]line Товар: 5449000176448 [18:04:55]line Сок Piko Pulpy апельсин ПЭТ 1л [18:04:55]line 1.000 * 0.00 [18:04:55]line = 0.00 [18:04:55]line НДС 12% НСП 1% [18:04:55]line > о реализуемом товаре [18:04:55]line ИТОГО: 0.00 [18:04:55]line НСП 1% : 0.00 [18:04:55]line НДС 12% : 0.00 [18:04:55]line Наличными: 0.00 [18:04:55]line Безнал.: 0.00 [18:04:55]line Место: АЗС № 88 "Партнер Нефть" [18:04:55]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [18:04:55]line СНО: Общий режим [18:04:55]line Чек 65 25.09.2024 18:04 [18:04:55]line Смена: 231 ФФД: 1.0 [18:04:55]line ЗНМ: 0300000061 [18:04:55]line РНМ: 0000000000146243 [18:04:55]line Версия ККМ: v1.0 [18:04:55]line Платежная система: Mbank [18:04:55]line ФМ: 0000000000959358 [18:04:55]line ФД: 22492 [18:04:55]line ФПД: 242144295544993 [18:04:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T180455&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22492&fm=242144295544993&tin=02508201610067®Number=0000000000146243&sum=0 [18:04:56]line 0 [18:04:56]OFD Sender: Processing packet 22492 [packets to send 23, broken 22] [18:04:56]ProducePacketName [18:04:56]name=ofd_packets/00022492 [18:04:56]OFD Sender: To server: pG, [18:04:56]CommunicateWithHost lk.salyk.kg:30040 [18:04:56]ConnectInit lk.salyk.kg [18:04:56]written 0, free lines is 4095 [18:04:56]Connected sock=10 [18:04:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 33 01 00 00 EB 9D 2B 01 96 8F 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 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 41 00 00 00 F4 03 04 00 C7 50 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DC 57 00 00 35 04 06 00 DC 3A 9C B8 68 A1 20 B8 BC DC 31 E4 FB 8E [18:04:56]Write to MH i2c: 01 00 00 10 08 18 [18:04:56]Write i2c OK [18:04:56]MH_I2C_Read... [18:04:56]Read from MH i2c: 01 [18:04:56]MH_I2C_Read... [18:04:56]Read from MH i2c: 01 07 00 [18:04:56]MH_I2C_Read... [18:04:56]Read from MH i2c: 01 07 00 10 08 00 00 00 00 00 04 0D 30 [18:04:56]RasterBufferAndPrint [18:04:56]line [18:04:56]line [18:04:56]line [18:04:56]line [18:04:56]line [18:04:56]written 0, free lines is 3338 [18:04:56]MH_Cut [18:04:56]Write to MH i2c: D1 01 00 17 08 01 F1 [18:04:56]Write i2c OK [18:04:56]MH_I2C_Read... [18:04:56]Read from MH i2c: D1 [18:04:56]MH_I2C_Read... [18:04:56]Read from MH i2c: D1 01 00 [18:04:56]MH_I2C_Read... [18:04:56]Read from MH i2c: D1 01 00 17 08 00 F0 [18:04:56]Write to MH i2c: 01 00 00 18 08 20 [18:04:56]Write i2c OK [18:04:56]MH_I2C_Read... [18:04:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 4E 2C 47 00 B0 25 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DC 57 00 00 F4 03 04 00 E9 FA F3 66 B6 04 01 00 00 3F C0 C8 E2 78 D7 CE 63 [18:04:56]CommunicateWithHost err = 0 [18:04:56]CheckOFDResponse [18:04:56]1017 (14) - 77093643461234 [18:04:56]1041 (16) - 0000000000959358 [18:04:56]1040 (4) - 22492 [18:04:56]1012 (4) - 25.09.2024 11:58 [18:04:56]1206 (1) - 0 [18:04:56]OFD Sender: Remove packet 22492 [18:04:56]ProducePacketName [18:04:56]name=ofd_packets/00022492 [18:04:56]NVStorageDeleteData [18:04:57]OFD Sender: No OFD packet to send [18:04:57]*** Cut start [18:04:57]*** Partial cut [18:04:57]*** CUTSNS_PIN = 1 [18:04:57]*** CUTSNS_PIN = 0 [18:04:57]*** Brake cut motor [18:04:57]Read from MH i2c: 01 [18:04:57]MH_I2C_Read... [18:04:57]*** Stop cut motor [18:04:57]*** Cut end [18:04:57]Read from MH i2c: 01 07 00 [18:04:57]MH_I2C_Read... [18:04:57]Read from MH i2c: 01 07 00 18 08 00 00 00 00 00 FF 0F 35 [18:04:57]process_action close_receipt done [18:04:57]requested_data is exist [18:04:57]produce_requested_data [18:04:57]requested_item fm.sn is exist - process it [18:04:57]wFMCommunicate request_size=4 [18:04:57]MH_SAM_APDU [18:04:57]CAPDU: 80 11 00 00 [18:04:57]Write to MH i2c: E2 08 00 19 08 80 11 00 00 00 00 00 00 9B [18:04:57]Write i2c OK [18:04:57]MH_I2C_Read... [18:04:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:04:57]Read from MH i2c: E2 [18:04:57]MH_I2C_Read... [18:04:57]Read from MH i2c: E2 17 00 [18:04:57]MH_I2C_Read... [18:04:57]Read from MH i2c: E2 17 00 19 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 F5 [18:04:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:04:58]wFMCommunicate OK [18:04:58]requested_item fd.num is exist - process it [18:04:58]SAM_PROTO_GetFieldsCounters [18:04:58]wFMCommunicate request_size=4 [18:04:58]MH_SAM_APDU [18:04:58]CAPDU: 80 13 00 00 [18:04:58]Write to MH i2c: E2 08 00 1A 08 80 13 00 00 00 00 00 00 9E [18:04:58]Write i2c OK [18:04:58]MH_I2C_Read... [18:04:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:04:58]Read from MH i2c: E2 [18:04:58]MH_I2C_Read... [18:04:58]Read from MH i2c: E2 62 00 [18:04:58]MH_I2C_Read... [18:04:58]Read from MH i2c: E2 62 00 1A 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 DC 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 9E [18:04:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 DC 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:04:58]wFMCommunicate OK [18:04:58]SAM_PROTO_GetFieldsCounters done [18:04:58]requested_item shift.num is exist - process it [18:04:58]requested_item shift.opened is exist - process it [18:04:58]req_shift_opened [18:04:58]FM_GetShiftState [18:04:58]SAM_PROTO_GetShiftState [18:04:58]wFMCommunicate request_size=4 [18:04:58]MH_SAM_APDU [18:04:58]CAPDU: 80 13 01 00 [18:04:58]Write to MH i2c: E2 08 00 1B 08 80 13 01 00 00 00 00 00 A0 [18:04:58]Write i2c OK [18:04:58]MH_I2C_Read... [18:04:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:04:58]Read from MH i2c: E2 [18:04:58]MH_I2C_Read... [18:04:58]Read from MH i2c: E2 0E 00 [18:04:58]MH_I2C_Read... [18:04:58]Read from MH i2c: E2 0E 00 1B 08 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 31 [18:04:58]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:04:58]wFMCommunicate OK [18:04:58]SAM_PROTO_GetShiftState done [18:04:58]FM_GetShiftState done [18:04:58]req_shift_opened done [18:04:58]requested_item shift.open_date is exist - process it [18:04:58]req_shift_open_date [18:04:58]req_shift_open_date done [18:04:58]produce_requested_data done [18:04:58]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22492,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [18:04:58]process_action_free close_receipt [18:04:58]json_value_free [18:04:58]json_value_free done [18:04:58]process_json_proto returns [18:04:58]Send response to host [18:04:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22492,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [18:04:58]free response buf [18:04:58]execute_script done [18:04:58]execute_script returns [18:04:58]free content buf [18:04:58]Sock 9.Close socket [18:04:58]Sock 9.Thread stoped [18:05:02]OFD Sender: No OFD packet to send [18:05:07]OFD Sender: No OFD packet to send [18:05:12]OFD Sender: No OFD packet to send [18:05:17]OFD Sender: No OFD packet to send [18:05:22]OFD Sender: No OFD packet to send [18:05:27]OFD Sender: No OFD packet to send [18:05:32]OFD Sender: No OFD packet to send [18:05:37]OFD Sender: No OFD packet to send [18:05:42]OFD Sender: No OFD packet to send [18:05:47]OFD Sender: No OFD packet to send [18:05:52]OFD Sender: No OFD packet to send [18:05:57]OFD Sender: No OFD packet to send [18:06:02]OFD Sender: No OFD packet to send [18:06:05]accept exits with 7 [18:06:05]New connection [18:06:05]New thread 3067583844 created [18:06:05]Thread 3067440484 joined [18:06:05]Waiting for new connection... [18:06:05] Sock 7.Parse request [18:06:05]Sock 7.Check first char [18:06:05]Sock 7.First char is OK [18:06:05]request: POST /json_proto HTTP/1.0 [18:06:05]Method: POST [18:06:05]URL: /json_proto [18:06:05]Method is POST - this is cgi request [18:06:05]url: /json_proto [18:06:05]query_string will be loaded in cgi processing [18:06:05]execute_cgi json_proto POST (null) [18:06:05]execute_cgi path=json_proto method=POST [18:06:05]POST find Content-Length [18:06:05]Host: 172.17.43.4:8080 [18:06:05]Content-Length: 963 [18:06:05]Content-Type: application/json [18:06:05] [18:06:05]POST finish read [18:06:05]Found Content-Length = 963 [18:06:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51696", "tax_sys" : 0, "items" : [ { "code": "4700003610560", "name": "\u0412\u043E\u0434\u0430 \u042D\u043D\u0435\u0441\u0430\u0439 5\u043B.", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002329470", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041F\u0438\u0430\u043B\u0430 Ice Tea \u043C\u0430\u043D\u0433\u043E,\u0430\u043D\u0430\u043D,\u043B\u0435\u043C 1\u043B", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 165.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:06:05]execute_script... [18:06:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51696", "tax_sys" : 0, "items" : [ { "code": "4700003610560", "name": "\u0412\u043E\u0434\u0430 \u042D\u043D\u0435\u0441\u0430\u0439 5\u043B.", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002329470", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041F\u0438\u0430\u043B\u0430 Ice Tea \u043C\u0430\u043D\u0433\u043E,\u0430\u043D\u0430\u043D,\u043B\u0435\u043C 1\u043B", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 165.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:06:05]POST & json_proto [18:06:05]process_json_proto [18:06:05]json parsed OK: [18:06:05]protocol is kg_v1.0 [18:06:05]action value=close_receipt [18:06:05]process_action close_receipt [18:06:05]cmd_close_receipt [18:06:05]MH_GetDate [18:06:05]Write to MH i2c: F0 00 00 1C 08 13 [18:06:05]Write i2c OK [18:06:05]MH_I2C_Read... [18:06:05]Read from MH i2c: F0 [18:06:05]MH_I2C_Read... [18:06:05]Read from MH i2c: F0 09 00 [18:06:05]MH_I2C_Read... [18:06:05]Read from MH i2c: F0 09 00 1C 08 00 0E 51 F4 66 02 BF CF 66 CB [18:06:05]GetLastDocTimeStamp 1727287495 [18:06:05]current date 1727287566 [18:06:05]FM_GetShiftState [18:06:05]SAM_PROTO_GetShiftState [18:06:05]wFMCommunicate request_size=4 [18:06:05]MH_SAM_APDU [18:06:05]CAPDU: 80 13 01 00 [18:06:05]Write to MH i2c: E2 08 00 1D 08 80 13 01 00 00 00 00 00 A2 [18:06:05]Write i2c OK [18:06:05]MH_I2C_Read... [18:06:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:06:05]Read from MH i2c: E2 [18:06:05]MH_I2C_Read... [18:06:05]Read from MH i2c: E2 0E 00 [18:06:05]MH_I2C_Read... [18:06:05]Read from MH i2c: E2 0E 00 1D 08 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 33 [18:06:05]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:06:05]wFMCommunicate OK [18:06:05]SAM_PROTO_GetShiftState done [18:06:05]FM_GetShiftState done [18:06:05]opened in 1727224020 [18:06:05]opened+sec_in_day 1727310420 [18:06:05]quantity*price = 6000 [18:06:05]sum+1 = 6001 [18:06:05]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870002329470 Напиток Пиала Ice Tea манго,анан,лем 1л 1.000 * 105.00 = 105.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 165.00 НСП 1% : 1.46 НДС 12% : 17.52 Наличными: 165.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 66 25.09.2024 18:06 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22493 ФПД: 275646172092605 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T180606&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22493&fm=275646172092605&tin=02508201610067®Number=0000000000146243&sum=16500 0 [18:06:06]StoreToDocumentArchive [18:06:06]shift 231 fd 22493 [18:06:06]save to /storage/0231/doc_00022493 [18:06:06]save last doc name /storage/0231/doc_00022493 to /storage/kkm_last_doc_name [18:06:06]save OK [18:06:06]Clear old archive folders... [18:06:06]ProcessDocumentItem done err = 0, tmpTLVsize=404 [18:06:06]tlvbuf is 0023EA30 [18:06:06]SAM_PROTO_ClearQueue [18:06:06]wFMCommunicate request_size=4 [18:06:06]MH_SAM_APDU [18:06:06]CAPDU: 80 09 00 00 [18:06:06]Write to MH i2c: E2 08 00 2A 08 80 09 00 00 00 00 00 00 A4 [18:06:06]Write i2c OK [18:06:06]MH_I2C_Read... [18:06:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:06:06]Read from MH i2c: E2 [18:06:06]MH_I2C_Read... [18:06:06]Read from MH i2c: E2 03 00 [18:06:06]MH_I2C_Read... [18:06:06]Read from MH i2c: E2 03 00 2A 08 00 90 00 A6 [18:06:06]RAPDU: 90 00 [18:06:06]wFMCommunicate OK [18:06:06]SAM_PROTO_ClearQueue done [18:06:06]KKMCreateOFDPacket [18:06:06]OFDProtocolAddRootSTLVToBuf [18:06:06]FM_MakeSignedData [18:06:06]FM_MakeSignedData [18:06:06]SAM_PROTO_SignData [18:06:06]wFMCommunicate request_size=4 [18:06:06]MH_SAM_APDU [18:06:06]CAPDU: 80 0D 01 02 [18:06:06]Write to MH i2c: E2 08 00 2B 08 80 0D 01 02 00 00 00 00 AC [18:06:06]Write i2c OK [18:06:06]MH_I2C_Read... [18:06:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:06:06]Read from MH i2c: E2 [18:06:06]MH_I2C_Read... [18:06:06]Read from MH i2c: E2 03 00 [18:06:06]MH_I2C_Read... [18:06:06]Read from MH i2c: E2 03 00 2B 08 00 90 00 A7 [18:06:06]RAPDU: 90 00 [18:06:06]wFMCommunicate OK [18:06:06]wFMCommunicate request_size=255 [18:06:06]MH_SAM_APDU [18:06:06]CAPDU: 80 0D 02 02 FA 03 00 94 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 35 36 30 06 04 1A 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AD D0 BD D0 B5 D1 81 D0 B0 D0 B9 20 35 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 37 30 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9F D0 B8 D0 B0 D0 BB D0 B0 20 49 63 65 20 54 65 61 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D0 B0 D0 BD D0 B0 D0 BD 2C D0 BB D0 B5 D0 BC 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 40 00 [18:06:06]Write to MH i2c: E2 02 01 2C 08 80 0D 02 02 FA 00 03 00 94 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 35 36 30 06 04 1A 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AD D0 BD D0 B5 D1 81 D0 B0 D0 B9 20 35 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 37 30 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9F D0 B8 D0 B0 D0 BB D0 B0 20 49 63 65 20 54 65 61 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D0 B0 D0 BD D0 B0 D0 BD 2C D0 BB D0 B5 D0 BC 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 40 00 00 00 D2 [18:06:06]Write i2c OK [18:06:06]MH_I2C_Read... [18:06:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:06:06]Read from MH i2c: E2 [18:06:06]MH_I2C_Read... [18:06:06]Read from MH i2c: E2 03 00 [18:06:06]MH_I2C_Read... [18:06:06]Read from MH i2c: E2 03 00 2C 08 00 90 00 A8 [18:06:06]RAPDU: 90 00 [18:06:06]wFMCommunicate OK [18:06:06]wFMCommunicate request_size=163 [18:06:06]MH_SAM_APDU [18:06:06]CAPDU: 80 0D 02 02 9E 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 74 40 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 0E 51 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DD 57 00 00 35 04 06 00 FA B2 E0 2B D8 BD [18:06:06]Write to MH i2c: E2 A6 00 2D 08 80 0D 02 02 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 74 40 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 0E 51 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DD 57 00 00 35 04 06 00 FA B2 E0 2B D8 BD 00 00 B0 [18:06:06]Write i2c OK [18:06:06]MH_I2C_Read... [18:06:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:06:07]Read from MH i2c: E2 [18:06:07]MH_I2C_Read... [18:06:07]Read from MH i2c: E2 03 00 [18:06:07]MH_I2C_Read... [18:06:07]Read from MH i2c: E2 03 00 2D 08 00 90 00 A9 [18:06:07]RAPDU: 90 00 [18:06:07]wFMCommunicate OK [18:06:07]wFMCommunicate request_size=4 [18:06:07]MH_SAM_APDU [18:06:07]CAPDU: 80 0D 03 02 [18:06:07]Write to MH i2c: E2 08 00 2E 08 80 0D 03 02 00 00 00 00 B1 [18:06:07]Write i2c OK [18:06:07]MH_I2C_Read... [18:06:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:06:07]Read from MH i2c: E2 [18:06:07]MH_I2C_Read... [18:06:07]Read from MH i2c: E2 0B 00 [18:06:07]MH_I2C_Read... [18:06:07]Read from MH i2c: E2 0B 00 2E 08 00 CE 6B FD 1B 78 27 3C 4B 90 00 29 [18:06:07]RAPDU: CE 6B FD 1B 78 27 3C 4B 90 00 [18:06:07]wFMCommunicate OK [18:06:07]SAM_PROTO_SignData done [18:06:07]FM_MakeSignedData done [18:06:07]CreateOFDProtocolMessage [18:06:07]wFMCommunicate request_size=4 [18:06:07]MH_SAM_APDU [18:06:07]CAPDU: 80 11 00 00 [18:06:07]Write to MH i2c: E2 08 00 2F 08 80 11 00 00 00 00 00 00 B1 [18:06:07]Write i2c OK [18:06:07]MH_I2C_Read... [18:06:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:06:07]Read from MH i2c: E2 [18:06:07]MH_I2C_Read... [18:06:07]Read from MH i2c: E2 17 00 [18:06:07]MH_I2C_Read... [18:06:07]Read from MH i2c: E2 17 00 2F 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 0B [18:06:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:06:07]wFMCommunicate OK [18:06:07]CreateOFDProtocolMessage done [18:06:07]OFDSenderStorePacket 22493 [18:06:07]StoreOFDPacket docnum=22493 [18:06:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 A8 01 00 00 A4 B6 A0 01 5F 29 5A 03 01 00 03 00 94 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 35 36 30 06 04 1A 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AD D0 BD D0 B5 D1 81 D0 B0 D0 B9 20 35 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 37 30 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9F D0 B8 D0 B0 D0 BB D0 B0 20 49 63 65 20 54 65 61 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D0 B0 D0 BD D0 B0 D0 BD 2C D0 BB D0 B5 D0 BC 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 74 40 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 0E 51 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DD 57 00 00 35 04 06 00 FA B2 E0 2B D8 BD CE 6B FD 1B 78 27 3C 4B [18:06:07]CheckFolder [18:06:07]dirname=/storage/ofd_packets [18:06:07]CheckFolder done [18:06:07]ProducePacketName [18:06:07]name=ofd_packets/00022493 [18:06:07]NVStorageSaveData ofd_packets/00022493 [18:06:07]File name is /storage/ofd_packets/00022493 [18:06:07]Write 454 bytes [18:06:07]NVStorageSaveData done [18:06:07]OFDSenderStorePacket done [18:06:07]KKMCreateOFDPacket done [18:06:07]NVStorageSaveData kkm_last_timestamp [18:06:07]File name is /storage/kkm_last_timestamp [18:06:07]Write 4 bytes [18:06:07]NVStorageSaveData done [18:06:07]ExternCall_PrintAddStr [18:06:07]wPrintStart [18:06:07]Write to MH i2c: 01 00 00 30 08 38 [18:06:07]Write i2c OK [18:06:07]MH_I2C_Read... [18:06:07]Read from MH i2c: 01 [18:06:07]MH_I2C_Read... [18:06:07]OFD Sender: Processing packet 22493 [packets to send 23, broken 22] [18:06:07]ProducePacketName [18:06:07]name=ofd_packets/00022493 [18:06:07]OFD Sender: To server: pG, [18:06:07]CommunicateWithHost lk.salyk.kg:30040 [18:06:07]ConnectInit lk.salyk.kg [18:06:07]Read from MH i2c: 01 07 00 [18:06:07]MH_I2C_Read... [18:06:07]Read from MH i2c: 01 07 00 30 08 00 00 00 00 00 FF 0F 4D [18:06:07]RasterBufferAndPrint [18:06:07]line Счет N : (3)51696 [18:06:07]line ИНН: 02508201610067 [18:06:07]line Контрольно-Кассовый Чек [18:06:07]line ПРОДАЖА [18:06:07]line Товар: 4700003610560 [18:06:07]line Вода Энесай 5л. [18:06:07]line 1.000 * 60.00 [18:06:07]line = 60.00 [18:06:07]line НДС 12% НСП 1% [18:06:07]line > о реализуемом товаре [18:06:07]line Товар: 4870002329470 [18:06:07]line Напиток Пиала Ice Tea манго,анан,лем 1л [18:06:07]line 1.000 * 105.00 [18:06:07]line = 105.00 [18:06:07]line НДС 12% НСП 1% [18:06:07]line > о реализуемом товаре [18:06:07]line ИТОГО: 165.00 [18:06:07]line НСП 1% : 1.46 [18:06:07]line НДС 12% : 17.52 [18:06:07]line Наличными: 165.00 [18:06:07]line Безнал.: 0.00 [18:06:07]line Место: АЗС № 88 "Партнер Нефть" [18:06:07]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [18:06:07]line СНО: Общий режим [18:06:07]line Чек 66 25.09.2024 18:06 [18:06:07]line Смена: 231 ФФД: 1.0 [18:06:07]line ЗНМ: 0300000061 [18:06:07]line РНМ: 0000000000146243 [18:06:07]line Версия ККМ: v1.0 [18:06:07]line ФМ: 0000000000959358 [18:06:07]line ФД: 22493 [18:06:07]line ФПД: 275646172092605 [18:06:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T180606&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22493&fm=275646172092605&tin=02508201610067®Number=0000000000146243&sum=16500 [18:06:07]line 0 [18:06:07]written 0, free lines is 4095 [18:06:07]Connected sock=10 [18:06:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 A8 01 00 00 A4 B6 A0 01 5F 29 5A 03 01 00 03 00 94 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 37 30 30 30 30 33 36 31 30 35 36 30 06 04 1A 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AD D0 BD D0 B5 D1 81 D0 B0 D0 B9 20 35 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 37 30 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9F D0 B8 D0 B0 D0 BB D0 B0 20 49 63 65 20 54 65 61 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D0 B0 D0 BD D0 B0 D0 BD 2C D0 BB D0 B5 D0 BC 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 74 40 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 0E 51 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DD 57 00 00 35 04 06 00 FA B2 E0 2B D8 BD CE 6B FD 1B 78 27 3C 4B [18:06:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 9A E0 47 00 18 E1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DD 57 00 00 F4 03 04 00 30 FB F3 66 B6 04 01 00 00 17 74 87 2B A3 21 C4 FF [18:06:08]CommunicateWithHost err = 0 [18:06:08]CheckOFDResponse [18:06:08]1017 (14) - 77093643461234 [18:06:08]1041 (16) - 0000000000959358 [18:06:08]1040 (4) - 22493 [18:06:08]1012 (4) - 25.09.2024 11:59 [18:06:08]1206 (1) - 0 [18:06:08]OFD Sender: Remove packet 22493 [18:06:08]ProducePacketName [18:06:08]name=ofd_packets/00022493 [18:06:08]NVStorageDeleteData [18:06:08]Write to MH i2c: 01 00 00 5F 08 67 [18:06:08]Write i2c OK [18:06:08]MH_I2C_Read... [18:06:08]Read from MH i2c: 01 [18:06:08]MH_I2C_Read... [18:06:08]Read from MH i2c: 01 07 00 [18:06:08]MH_I2C_Read... [18:06:08]Read from MH i2c: 01 07 00 5F 08 00 00 00 00 00 D5 0C 4F [18:06:08]RasterBufferAndPrint [18:06:08]line [18:06:08]line [18:06:08]line [18:06:08]line [18:06:08]line [18:06:08]written 0, free lines is 3294 [18:06:08]MH_Cut [18:06:08]Write to MH i2c: D1 01 00 66 08 01 40 [18:06:08]Write i2c OK [18:06:08]MH_I2C_Read... [18:06:08]Read from MH i2c: D1 [18:06:08]MH_I2C_Read... [18:06:08]Read from MH i2c: D1 01 00 [18:06:08]MH_I2C_Read... [18:06:08]Read from MH i2c: D1 01 00 66 08 00 3F [18:06:08]Write to MH i2c: 01 00 00 67 08 6F [18:06:08]Write i2c OK [18:06:08]MH_I2C_Read... [18:06:08]OFD Sender: No OFD packet to send [18:06:08]*** Cut start [18:06:08]*** Partial cut [18:06:08]*** CUTSNS_PIN = 1 [18:06:08]*** CUTSNS_PIN = 0 [18:06:09]*** Brake cut motor [18:06:09]Read from MH i2c: 01 [18:06:09]MH_I2C_Read... [18:06:09]*** Stop cut motor [18:06:09]*** Cut end [18:06:09]Read from MH i2c: 01 07 00 [18:06:09]MH_I2C_Read... [18:06:09]Read from MH i2c: 01 07 00 67 08 00 00 00 00 00 FF 0F 84 [18:06:09]process_action close_receipt done [18:06:09]requested_data is exist [18:06:09]produce_requested_data [18:06:09]requested_item fm.sn is exist - process it [18:06:09]wFMCommunicate request_size=4 [18:06:09]MH_SAM_APDU [18:06:09]CAPDU: 80 11 00 00 [18:06:09]Write to MH i2c: E2 08 00 68 08 80 11 00 00 00 00 00 00 EA [18:06:09]Write i2c OK [18:06:09]MH_I2C_Read... [18:06:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:06:09]Read from MH i2c: E2 [18:06:09]MH_I2C_Read... [18:06:09]Read from MH i2c: E2 17 00 [18:06:09]MH_I2C_Read... [18:06:09]Read from MH i2c: E2 17 00 68 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 44 [18:06:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:06:09]wFMCommunicate OK [18:06:09]requested_item fd.num is exist - process it [18:06:09]SAM_PROTO_GetFieldsCounters [18:06:09]wFMCommunicate request_size=4 [18:06:09]MH_SAM_APDU [18:06:09]CAPDU: 80 13 00 00 [18:06:09]Write to MH i2c: E2 08 00 69 08 80 13 00 00 00 00 00 00 ED [18:06:09]Write i2c OK [18:06:09]MH_I2C_Read... [18:06:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:06:09]Read from MH i2c: E2 [18:06:09]MH_I2C_Read... [18:06:09]Read from MH i2c: E2 62 00 [18:06:09]MH_I2C_Read... [18:06:09]Read from MH i2c: E2 62 00 69 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 DD 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 F1 [18:06:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 DD 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:06:09]wFMCommunicate OK [18:06:09]SAM_PROTO_GetFieldsCounters done [18:06:09]requested_item shift.num is exist - process it [18:06:09]requested_item shift.opened is exist - process it [18:06:09]req_shift_opened [18:06:09]FM_GetShiftState [18:06:09]SAM_PROTO_GetShiftState [18:06:09]wFMCommunicate request_size=4 [18:06:09]MH_SAM_APDU [18:06:09]CAPDU: 80 13 01 00 [18:06:09]Write to MH i2c: E2 08 00 6A 08 80 13 01 00 00 00 00 00 EF [18:06:09]Write i2c OK [18:06:09]MH_I2C_Read... [18:06:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:06:09]Read from MH i2c: E2 [18:06:09]MH_I2C_Read... [18:06:09]Read from MH i2c: E2 0E 00 [18:06:09]MH_I2C_Read... [18:06:09]Read from MH i2c: E2 0E 00 6A 08 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 80 [18:06:09]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:06:09]wFMCommunicate OK [18:06:09]SAM_PROTO_GetShiftState done [18:06:09]FM_GetShiftState done [18:06:09]req_shift_opened done [18:06:09]requested_item shift.open_date is exist - process it [18:06:09]req_shift_open_date [18:06:09]req_shift_open_date done [18:06:09]produce_requested_data done [18:06:09]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22493,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [18:06:09]process_action_free close_receipt [18:06:09]json_value_free [18:06:09]json_value_free done [18:06:09]process_json_proto returns [18:06:09]Send response to host [18:06:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22493,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [18:06:09]free response buf [18:06:09]execute_script done [18:06:09]execute_script returns [18:06:09]free content buf [18:06:09]Sock 7.Close socket [18:06:09]Sock 7.Thread stoped [18:06:13]OFD Sender: No OFD packet to send [18:06:18]OFD Sender: No OFD packet to send [18:06:23]OFD Sender: No OFD packet to send [18:06:28]OFD Sender: No OFD packet to send [18:06:33]OFD Sender: No OFD packet to send [18:06:38]OFD Sender: No OFD packet to send [18:06:43]OFD Sender: No OFD packet to send [18:06:48]OFD Sender: No OFD packet to send [18:06:53]OFD Sender: No OFD packet to send [18:06:58]OFD Sender: No OFD packet to send [18:07:03]OFD Sender: No OFD packet to send [18:07:08]OFD Sender: No OFD packet to send [18:07:13]OFD Sender: No OFD packet to send [18:07:18]OFD Sender: No OFD packet to send [18:07:23]OFD Sender: No OFD packet to send [18:07:28]OFD Sender: No OFD packet to send [18:07:33]OFD Sender: No OFD packet to send [18:07:38]OFD Sender: No OFD packet to send [18:07:43]OFD Sender: No OFD packet to send [18:07:48]OFD Sender: No OFD packet to send [18:07:53]OFD Sender: No OFD packet to send [18:07:58]OFD Sender: No OFD packet to send [18:08:03]OFD Sender: No OFD packet to send [18:08:08]OFD Sender: No OFD packet to send [18:08:13]OFD Sender: No OFD packet to send [18:08:18]OFD Sender: No OFD packet to send [18:08:23]OFD Sender: No OFD packet to send [18:08:28]OFD Sender: No OFD packet to send [18:08:33]OFD Sender: No OFD packet to send [18:08:38]OFD Sender: No OFD packet to send [18:08:43]OFD Sender: No OFD packet to send [18:08:48]OFD Sender: No OFD packet to send [18:08:53]OFD Sender: No OFD packet to send [18:08:58]OFD Sender: No OFD packet to send [18:09:03]OFD Sender: No OFD packet to send [18:09:08]OFD Sender: No OFD packet to send [18:09:13]OFD Sender: No OFD packet to send [18:09:18]OFD Sender: No OFD packet to send [18:09:23]OFD Sender: No OFD packet to send [18:09:28]OFD Sender: No OFD packet to send [18:09:33]OFD Sender: No OFD packet to send [18:09:38]OFD Sender: No OFD packet to send [18:09:43]OFD Sender: No OFD packet to send [18:09:48]OFD Sender: No OFD packet to send [18:09:53]OFD Sender: No OFD packet to send [18:09:58]OFD Sender: No OFD packet to send [18:10:03]OFD Sender: No OFD packet to send [18:10:08]OFD Sender: No OFD packet to send [18:10:13]OFD Sender: No OFD packet to send [18:10:18]OFD Sender: No OFD packet to send [18:10:23]OFD Sender: No OFD packet to send [18:10:28]OFD Sender: No OFD packet to send [18:10:33]OFD Sender: No OFD packet to send [18:10:38]OFD Sender: No OFD packet to send [18:10:43]OFD Sender: No OFD packet to send [18:10:48]OFD Sender: No OFD packet to send [18:10:53]OFD Sender: No OFD packet to send [18:10:58]OFD Sender: No OFD packet to send [18:11:00]accept exits with 9 [18:11:00]New connection [18:11:00]New thread 3067440484 created [18:11:00]Thread 3067583844 joined [18:11:00]Waiting for new connection... [18:11:00] Sock 9.Parse request [18:11:00]Sock 9.Check first char [18:11:00]Sock 9.First char is OK [18:11:00]request: POST /json_proto HTTP/1.0 [18:11:00]Method: POST [18:11:00]URL: /json_proto [18:11:00]Method is POST - this is cgi request [18:11:00]url: /json_proto [18:11:00]query_string will be loaded in cgi processing [18:11:00]execute_cgi json_proto POST (null) [18:11:00]execute_cgi path=json_proto method=POST [18:11:00]POST find Content-Length [18:11:00]Host: 172.17.43.4:8080 [18:11:00]Content-Length: 884 [18:11:00]Content-Type: application/json [18:11:00] [18:11:00]POST finish read [18:11:00]Found Content-Length = 884 [18:11:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51697", "tax_sys" : 0, "items" : [ { "code": "40822426", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 0,5\u043B \u0431/\u0433", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700007690018", "name": "\u041D\u0435\u0433\u0430\u0437 \u0432\u043E\u0434\u0430 Pamir 0,5 \u043B", "price" : 30.00, "quantity" : 1.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:11:00]execute_script... [18:11:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51697", "tax_sys" : 0, "items" : [ { "code": "40822426", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 0,5\u043B \u0431/\u0433", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700007690018", "name": "\u041D\u0435\u0433\u0430\u0437 \u0432\u043E\u0434\u0430 Pamir 0,5 \u043B", "price" : 30.00, "quantity" : 1.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:11:00]POST & json_proto [18:11:00]process_json_proto [18:11:00]json parsed OK: [18:11:00]protocol is kg_v1.0 [18:11:00]action value=close_receipt [18:11:00]process_action close_receipt [18:11:00]cmd_close_receipt [18:11:00]MH_GetDate [18:11:00]Write to MH i2c: F0 00 00 6B 08 62 [18:11:00]Write i2c OK [18:11:00]MH_I2C_Read... [18:11:00]Read from MH i2c: F0 [18:11:00]MH_I2C_Read... [18:11:00]Read from MH i2c: F0 09 00 [18:11:00]MH_I2C_Read... [18:11:00]Read from MH i2c: F0 09 00 6B 08 00 35 52 F4 66 02 BF CF 66 42 [18:11:00]GetLastDocTimeStamp 1727287566 [18:11:00]current date 1727287861 [18:11:00]FM_GetShiftState [18:11:00]SAM_PROTO_GetShiftState [18:11:00]wFMCommunicate request_size=4 [18:11:00]MH_SAM_APDU [18:11:00]CAPDU: 80 13 01 00 [18:11:00]Write to MH i2c: E2 08 00 6C 08 80 13 01 00 00 00 00 00 F1 [18:11:00]Write i2c OK [18:11:00]MH_I2C_Read... [18:11:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:11:00]Read from MH i2c: E2 [18:11:00]MH_I2C_Read... [18:11:00]Read from MH i2c: E2 0E 00 [18:11:00]MH_I2C_Read... [18:11:00]Read from MH i2c: E2 0E 00 6C 08 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 82 [18:11:00]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:11:00]wFMCommunicate OK [18:11:00]SAM_PROTO_GetShiftState done [18:11:00]FM_GetShiftState done [18:11:00]opened in 1727224020 [18:11:00]opened+sec_in_day 1727310420 [18:11:00]quantity*price = 4000 [18:11:00]sum+1 = 4001 [18:11:00]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700007690018 Негаз вода Pamir 0,5 л 1.000 * 30.00 = 30.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.61 НДС 12% : 7.44 Наличными: 70.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 67 25.09.2024 18:11 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22494 ФПД: 111898767163895 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T181101&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22494&fm=111898767163895&tin=02508201610067®Number=0000000000146243&sum=7000 0 [18:11:01]StoreToDocumentArchive [18:11:01]shift 231 fd 22494 [18:11:01]save to /storage/0231/doc_00022494 [18:11:01]save last doc name /storage/0231/doc_00022494 to /storage/kkm_last_doc_name [18:11:01]save OK [18:11:01]Clear old archive folders... [18:11:01]ProcessDocumentItem done err = 0, tmpTLVsize=376 [18:11:01]tlvbuf is 00236400 [18:11:01]SAM_PROTO_ClearQueue [18:11:01]wFMCommunicate request_size=4 [18:11:01]MH_SAM_APDU [18:11:01]CAPDU: 80 09 00 00 [18:11:01]Write to MH i2c: E2 08 00 79 08 80 09 00 00 00 00 00 00 F3 [18:11:01]Write i2c OK [18:11:01]MH_I2C_Read... [18:11:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:11:01]Read from MH i2c: E2 [18:11:01]MH_I2C_Read... [18:11:01]Read from MH i2c: E2 03 00 [18:11:01]MH_I2C_Read... [18:11:01]Read from MH i2c: E2 03 00 79 08 00 90 00 F5 [18:11:01]RAPDU: 90 00 [18:11:01]wFMCommunicate OK [18:11:01]SAM_PROTO_ClearQueue done [18:11:01]KKMCreateOFDPacket [18:11:01]OFDProtocolAddRootSTLVToBuf [18:11:01]FM_MakeSignedData [18:11:01]FM_MakeSignedData [18:11:01]SAM_PROTO_SignData [18:11:01]wFMCommunicate request_size=4 [18:11:01]MH_SAM_APDU [18:11:01]CAPDU: 80 0D 01 02 [18:11:01]Write to MH i2c: E2 08 00 7A 08 80 0D 01 02 00 00 00 00 FB [18:11:01]Write i2c OK [18:11:01]MH_I2C_Read... [18:11:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:11:01]Read from MH i2c: E2 [18:11:01]MH_I2C_Read... [18:11:01]Read from MH i2c: E2 03 00 [18:11:01]MH_I2C_Read... [18:11:01]Read from MH i2c: E2 03 00 7A 08 00 90 00 F6 [18:11:01]RAPDU: 90 00 [18:11:01]wFMCommunicate OK [18:11:01]wFMCommunicate request_size=255 [18:11:01]MH_SAM_APDU [18:11:01]CAPDU: 80 0D 02 02 FA 03 00 78 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 30 38 32 32 34 32 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 37 36 39 30 30 31 38 06 04 20 00 D0 9D D0 B5 D0 B3 D0 B0 D0 B7 20 D0 B2 D0 BE D0 B4 D0 B0 20 50 61 6D 69 72 20 30 2C 35 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 0B 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 [18:11:01]Write to MH i2c: E2 02 01 7B 08 80 0D 02 02 FA 00 03 00 78 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 30 38 32 32 34 32 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 37 36 39 30 30 31 38 06 04 20 00 D0 9D D0 B5 D0 B3 D0 B0 D0 B7 20 D0 B2 D0 BE D0 B4 D0 B0 20 50 61 6D 69 72 20 30 2C 35 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 0B 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 00 00 62 [18:11:01]Write i2c OK [18:11:01]MH_I2C_Read... [18:11:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:11:01]Read from MH i2c: E2 [18:11:01]MH_I2C_Read... [18:11:01]Read from MH i2c: E2 03 00 [18:11:01]MH_I2C_Read... [18:11:01]Read from MH i2c: E2 03 00 7B 08 00 90 00 F7 [18:11:01]RAPDU: 90 00 [18:11:01]wFMCommunicate OK [18:11:01]wFMCommunicate request_size=135 [18:11:01]MH_SAM_APDU [18:11:01]CAPDU: 80 0D 02 02 82 0F 00 F2 03 01 00 01 F3 03 06 00 E8 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 35 52 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DE 57 00 00 35 04 06 00 65 C5 76 44 81 F7 [18:11:01]Write to MH i2c: E2 8A 00 7C 08 80 0D 02 02 82 00 0F 00 F2 03 01 00 01 F3 03 06 00 E8 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 35 52 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DE 57 00 00 35 04 06 00 65 C5 76 44 81 F7 00 00 39 [18:11:01]Write i2c OK [18:11:01]MH_I2C_Read... [18:11:02]Read from MH i2c: E2 [18:11:02]MH_I2C_Read... [18:11:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:11:02]Read from MH i2c: E2 03 00 [18:11:02]MH_I2C_Read... [18:11:02]Read from MH i2c: E2 03 00 7C 08 00 90 00 F8 [18:11:02]RAPDU: 90 00 [18:11:02]wFMCommunicate OK [18:11:02]wFMCommunicate request_size=4 [18:11:02]MH_SAM_APDU [18:11:02]CAPDU: 80 0D 03 02 [18:11:02]Write to MH i2c: E2 08 00 7D 08 80 0D 03 02 00 00 00 00 00 [18:11:02]Write i2c OK [18:11:02]MH_I2C_Read... [18:11:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:11:02]Read from MH i2c: E2 [18:11:02]MH_I2C_Read... [18:11:02]Read from MH i2c: E2 0B 00 [18:11:02]MH_I2C_Read... [18:11:02]Read from MH i2c: E2 0B 00 7D 08 00 2E 3D 52 18 33 89 A3 32 90 00 67 [18:11:02]RAPDU: 2E 3D 52 18 33 89 A3 32 90 00 [18:11:02]wFMCommunicate OK [18:11:02]SAM_PROTO_SignData done [18:11:02]FM_MakeSignedData done [18:11:02]CreateOFDProtocolMessage [18:11:02]wFMCommunicate request_size=4 [18:11:02]MH_SAM_APDU [18:11:02]CAPDU: 80 11 00 00 [18:11:02]Write to MH i2c: E2 08 00 7E 08 80 11 00 00 00 00 00 00 00 [18:11:02]Write i2c OK [18:11:02]MH_I2C_Read... [18:11:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:11:02]Read from MH i2c: E2 [18:11:02]MH_I2C_Read... [18:11:02]Read from MH i2c: E2 17 00 [18:11:02]MH_I2C_Read... [18:11:02]Read from MH i2c: E2 17 00 7E 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 5A [18:11:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:11:02]wFMCommunicate OK [18:11:02]CreateOFDProtocolMessage done [18:11:02]OFDSenderStorePacket 22494 [18:11:02]StoreOFDPacket docnum=22494 [18:11:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 8C 01 00 00 28 06 84 01 B7 57 5A 03 01 00 03 00 78 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 30 38 32 32 34 32 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 37 36 39 30 30 31 38 06 04 20 00 D0 9D D0 B5 D0 B3 D0 B0 D0 B7 20 D0 B2 D0 BE D0 B4 D0 B0 20 50 61 6D 69 72 20 30 2C 35 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 0B 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 35 52 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DE 57 00 00 35 04 06 00 65 C5 76 44 81 F7 2E 3D 52 18 33 89 A3 32 [18:11:02]CheckFolder [18:11:02]dirname=/storage/ofd_packets [18:11:02]CheckFolder done [18:11:02]ProducePacketName [18:11:02]name=ofd_packets/00022494 [18:11:02]NVStorageSaveData ofd_packets/00022494 [18:11:02]File name is /storage/ofd_packets/00022494 [18:11:02]Write 426 bytes [18:11:02]NVStorageSaveData done [18:11:02]OFDSenderStorePacket done [18:11:02]KKMCreateOFDPacket done [18:11:02]NVStorageSaveData kkm_last_timestamp [18:11:02]File name is /storage/kkm_last_timestamp [18:11:02]Write 4 bytes [18:11:02]NVStorageSaveData done [18:11:02]ExternCall_PrintAddStr [18:11:02]wPrintStart [18:11:02]Write to MH i2c: 01 00 00 7F 08 87 [18:11:02]Write i2c OK [18:11:02]MH_I2C_Read... [18:11:02]Read from MH i2c: 01 [18:11:02]MH_I2C_Read... [18:11:02]Read from MH i2c: 01 07 00 [18:11:02]MH_I2C_Read... [18:11:02]Read from MH i2c: 01 07 00 7F 08 00 00 00 00 00 FF 0F 9C [18:11:02]RasterBufferAndPrint [18:11:02]line Счет N : (3)51697 [18:11:02]line ИНН: 02508201610067 [18:11:02]line Контрольно-Кассовый Чек [18:11:02]line ПРОДАЖА [18:11:02]line Товар: 40822426 [18:11:02]line Вода Бонаква 0,5л б/г [18:11:02]line 1.000 * 40.00 [18:11:02]line = 40.00 [18:11:02]line НДС 12% НСП 1% [18:11:02]line > о реализуемом товаре [18:11:02]line Товар: 4700007690018 [18:11:02]line Негаз вода Pamir 0,5 л [18:11:02]line 1.000 * 30.00 [18:11:02]line = 30.00 [18:11:02]line НДС 12% НСП 1% [18:11:02]line > о реализуемом товаре [18:11:02]line ИТОГО: 70.00 [18:11:02]line НСП 1% : 0.61 [18:11:02]line НДС 12% : 7.44 [18:11:02]line Наличными: 70.00 [18:11:02]line Безнал.: 0.00 [18:11:02]line Место: АЗС № 88 "Партнер Нефть" [18:11:02]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [18:11:02]line СНО: Общий режим [18:11:02]line Чек 67 25.09.2024 18:11 [18:11:02]line Смена: 231 ФФД: 1.0 [18:11:02]line ЗНМ: 0300000061 [18:11:02]line РНМ: 0000000000146243 [18:11:02]line Версия ККМ: v1.0 [18:11:02]line ФМ: 0000000000959358 [18:11:02]line ФД: 22494 [18:11:02]line ФПД: 111898767163895 [18:11:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T181101&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22494&fm=111898767163895&tin=02508201610067®Number=0000000000146243&sum=7000 [18:11:02]line 0 [18:11:02]OFD Sender: Processing packet 22494 [packets to send 23, broken 22] [18:11:02]ProducePacketName [18:11:02]name=ofd_packets/00022494 [18:11:02]OFD Sender: To server: pG, [18:11:02]CommunicateWithHost lk.salyk.kg:30040 [18:11:02]ConnectInit lk.salyk.kg [18:11:02]written 0, free lines is 4095 [18:11:02]Connected sock=10 [18:11:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 8C 01 00 00 28 06 84 01 B7 57 5A 03 01 00 03 00 78 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 30 38 32 32 34 32 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 37 36 39 30 30 31 38 06 04 20 00 D0 9D D0 B5 D0 B3 D0 B0 D0 B7 20 D0 B2 D0 BE D0 B4 D0 B0 20 50 61 6D 69 72 20 30 2C 35 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 0B 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E8 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 35 52 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DE 57 00 00 35 04 06 00 65 C5 76 44 81 F7 2E 3D 52 18 33 89 A3 32 [18:11:02]Write to MH i2c: 01 00 00 AD 08 B5 [18:11:02]Write i2c OK [18:11:02]MH_I2C_Read... [18:11:02]Read from MH i2c: 01 [18:11:02]MH_I2C_Read... [18:11:02]Read from MH i2c: 01 07 00 [18:11:02]MH_I2C_Read... [18:11:02]Read from MH i2c: 01 07 00 AD 08 00 00 00 00 00 CB 0C 93 [18:11:02]RasterBufferAndPrint [18:11:02]line [18:11:02]line [18:11:02]line [18:11:02]line [18:11:02]line [18:11:02]written 0, free lines is 3282 [18:11:02]MH_Cut [18:11:02]Write to MH i2c: D1 01 00 B4 08 01 8E [18:11:02]Write i2c OK [18:11:02]MH_I2C_Read... [18:11:02]Read from MH i2c: D1 [18:11:02]MH_I2C_Read... [18:11:02]Read from MH i2c: D1 01 00 [18:11:02]MH_I2C_Read... [18:11:02]Read from MH i2c: D1 01 00 B4 08 00 8D [18:11:02]Write to MH i2c: 01 00 00 B5 08 BD [18:11:03]Write i2c OK [18:11:03]MH_I2C_Read... [18:11:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 DE 91 47 00 0F 8A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DE 57 00 00 F4 03 04 00 57 FC F3 66 B6 04 01 00 00 D5 6B 35 D5 EE 99 96 A8 [18:11:03]CommunicateWithHost err = 0 [18:11:03]CheckOFDResponse [18:11:03]1017 (14) - 77093643461234 [18:11:03]1041 (16) - 0000000000959358 [18:11:03]1040 (4) - 22494 [18:11:03]1012 (4) - 25.09.2024 12:04 [18:11:03]1206 (1) - 0 [18:11:03]OFD Sender: Remove packet 22494 [18:11:03]ProducePacketName [18:11:03]name=ofd_packets/00022494 [18:11:03]NVStorageDeleteData [18:11:03]OFD Sender: No OFD packet to send [18:11:03]*** Cut start [18:11:03]*** Partial cut [18:11:03]*** CUTSNS_PIN = 1 [18:11:03]*** CUTSNS_PIN = 0 [18:11:03]*** Brake cut motor [18:11:04]Read from MH i2c: 01 [18:11:04]MH_I2C_Read... [18:11:04]*** Stop cut motor [18:11:04]*** Cut end [18:11:04]Read from MH i2c: 01 07 00 [18:11:04]MH_I2C_Read... [18:11:04]Read from MH i2c: 01 07 00 B5 08 00 00 00 00 00 FF 0F D2 [18:11:04]process_action close_receipt done [18:11:04]requested_data is exist [18:11:04]produce_requested_data [18:11:04]requested_item fm.sn is exist - process it [18:11:04]wFMCommunicate request_size=4 [18:11:04]MH_SAM_APDU [18:11:04]CAPDU: 80 11 00 00 [18:11:04]Write to MH i2c: E2 08 00 B6 08 80 11 00 00 00 00 00 00 38 [18:11:04]Write i2c OK [18:11:04]MH_I2C_Read... [18:11:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:11:04]Read from MH i2c: E2 [18:11:04]MH_I2C_Read... [18:11:04]Read from MH i2c: E2 17 00 [18:11:04]MH_I2C_Read... [18:11:04]Read from MH i2c: E2 17 00 B6 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 92 [18:11:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:11:04]wFMCommunicate OK [18:11:04]requested_item fd.num is exist - process it [18:11:04]SAM_PROTO_GetFieldsCounters [18:11:04]wFMCommunicate request_size=4 [18:11:04]MH_SAM_APDU [18:11:04]CAPDU: 80 13 00 00 [18:11:04]Write to MH i2c: E2 08 00 B7 08 80 13 00 00 00 00 00 00 3B [18:11:04]Write i2c OK [18:11:04]MH_I2C_Read... [18:11:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:11:04]Read from MH i2c: E2 [18:11:04]MH_I2C_Read... [18:11:04]Read from MH i2c: E2 62 00 [18:11:04]MH_I2C_Read... [18:11:04]Read from MH i2c: E2 62 00 B7 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 DE 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 43 [18:11:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 DE 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:11:04]wFMCommunicate OK [18:11:04]SAM_PROTO_GetFieldsCounters done [18:11:04]requested_item shift.num is exist - process it [18:11:04]requested_item shift.opened is exist - process it [18:11:04]req_shift_opened [18:11:04]FM_GetShiftState [18:11:04]SAM_PROTO_GetShiftState [18:11:04]wFMCommunicate request_size=4 [18:11:04]MH_SAM_APDU [18:11:04]CAPDU: 80 13 01 00 [18:11:04]Write to MH i2c: E2 08 00 B8 08 80 13 01 00 00 00 00 00 3D [18:11:04]Write i2c OK [18:11:04]MH_I2C_Read... [18:11:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:11:04]Read from MH i2c: E2 [18:11:04]MH_I2C_Read... [18:11:04]Read from MH i2c: E2 0E 00 [18:11:04]MH_I2C_Read... [18:11:04]Read from MH i2c: E2 0E 00 B8 08 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 CE [18:11:04]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:11:04]wFMCommunicate OK [18:11:04]SAM_PROTO_GetShiftState done [18:11:04]FM_GetShiftState done [18:11:04]req_shift_opened done [18:11:04]requested_item shift.open_date is exist - process it [18:11:04]req_shift_open_date [18:11:04]req_shift_open_date done [18:11:04]produce_requested_data done [18:11:04]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22494,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [18:11:04]process_action_free close_receipt [18:11:04]json_value_free [18:11:04]json_value_free done [18:11:04]process_json_proto returns [18:11:04]Send response to host [18:11:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22494,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [18:11:04]free response buf [18:11:04]execute_script done [18:11:04]execute_script returns [18:11:04]free content buf [18:11:04]Sock 9.Close socket [18:11:04]Sock 9.Thread stoped [18:11:08]OFD Sender: No OFD packet to send [18:11:13]OFD Sender: No OFD packet to send [18:11:18]OFD Sender: No OFD packet to send [18:11:23]OFD Sender: No OFD packet to send [18:11:28]OFD Sender: No OFD packet to send [18:11:33]OFD Sender: No OFD packet to send [18:11:38]OFD Sender: No OFD packet to send [18:11:43]OFD Sender: No OFD packet to send [18:11:48]OFD Sender: No OFD packet to send [18:11:53]OFD Sender: No OFD packet to send [18:11:58]OFD Sender: No OFD packet to send [18:12:03]OFD Sender: No OFD packet to send [18:12:08]OFD Sender: No OFD packet to send [18:12:13]OFD Sender: No OFD packet to send [18:12:18]OFD Sender: No OFD packet to send [18:12:23]OFD Sender: No OFD packet to send [18:12:28]OFD Sender: No OFD packet to send [18:12:33]OFD Sender: No OFD packet to send [18:12:38]OFD Sender: No OFD packet to send [18:12:43]OFD Sender: No OFD packet to send [18:12:48]OFD Sender: No OFD packet to send [18:12:53]OFD Sender: No OFD packet to send [18:12:58]OFD Sender: No OFD packet to send [18:13:03]OFD Sender: No OFD packet to send [18:13:08]OFD Sender: No OFD packet to send [18:13:13]OFD Sender: No OFD packet to send [18:13:18]OFD Sender: No OFD packet to send [18:13:23]OFD Sender: No OFD packet to send [18:13:28]OFD Sender: No OFD packet to send [18:13:33]OFD Sender: No OFD packet to send [18:13:38]OFD Sender: No OFD packet to send [18:13:43]OFD Sender: No OFD packet to send [18:13:48]OFD Sender: No OFD packet to send [18:13:53]OFD Sender: No OFD packet to send [18:13:58]OFD Sender: No OFD packet to send [18:14:03]OFD Sender: No OFD packet to send [18:14:08]OFD Sender: No OFD packet to send [18:14:13]OFD Sender: No OFD packet to send [18:14:18]OFD Sender: No OFD packet to send [18:14:23]OFD Sender: No OFD packet to send [18:14:28]OFD Sender: No OFD packet to send [18:14:33]OFD Sender: No OFD packet to send [18:14:38]OFD Sender: No OFD packet to send [18:14:43]OFD Sender: No OFD packet to send [18:14:48]OFD Sender: No OFD packet to send [18:14:53]OFD Sender: No OFD packet to send [18:14:58]OFD Sender: No OFD packet to send [18:15:03]OFD Sender: No OFD packet to send [18:15:05]accept exits with 7 [18:15:05]New connection [18:15:05]New thread 3067583844 created [18:15:05]Thread 3067440484 joined [18:15:05]Waiting for new connection... [18:15:05] Sock 7.Parse request [18:15:05]Sock 7.Check first char [18:15:05]Sock 7.First char is OK [18:15:05]request: POST /json_proto HTTP/1.0 [18:15:05]Method: POST [18:15:05]URL: /json_proto [18:15:05]Method is POST - this is cgi request [18:15:05]url: /json_proto [18:15:05]query_string will be loaded in cgi processing [18:15:05]execute_cgi json_proto POST (null) [18:15:05]execute_cgi path=json_proto method=POST [18:15:05]POST find Content-Length [18:15:05]Host: 172.17.43.4:8080 [18:15:05]Content-Length: 928 [18:15:05]Content-Type: application/json [18:15:05] [18:15:05]POST finish read [18:15:05]Found Content-Length = 928 [18:15:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51698", "tax_sys" : 0, "items" : [ { "code": "4620016300305", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 Absolut classic \u0432\u043B \u0430/\u0431\u0430\u043A\u0442 20 \u0448\u0442", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46231512", "name": "Mentos \u041F\u0424 \u0412\u0438\u043D\u043E\u0433\u0440\u0430\u0434 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:15:05]execute_script... [18:15:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51698", "tax_sys" : 0, "items" : [ { "code": "4620016300305", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 Absolut classic \u0432\u043B \u0430/\u0431\u0430\u043A\u0442 20 \u0448\u0442", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46231512", "name": "Mentos \u041F\u0424 \u0412\u0438\u043D\u043E\u0433\u0440\u0430\u0434 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:15:05]POST & json_proto [18:15:05]process_json_proto [18:15:05]json parsed OK: [18:15:05]protocol is kg_v1.0 [18:15:05]action value=close_receipt [18:15:05]process_action close_receipt [18:15:05]cmd_close_receipt [18:15:05]MH_GetDate [18:15:05]Write to MH i2c: F0 00 00 B9 08 B0 [18:15:05]Write i2c OK [18:15:05]MH_I2C_Read... [18:15:05]Read from MH i2c: F0 [18:15:05]MH_I2C_Read... [18:15:05]Read from MH i2c: F0 09 00 [18:15:05]MH_I2C_Read... [18:15:05]Read from MH i2c: F0 09 00 B9 08 00 2A 53 F4 66 02 BF CF 66 86 [18:15:05]GetLastDocTimeStamp 1727287861 [18:15:05]current date 1727288106 [18:15:05]FM_GetShiftState [18:15:05]SAM_PROTO_GetShiftState [18:15:05]wFMCommunicate request_size=4 [18:15:05]MH_SAM_APDU [18:15:05]CAPDU: 80 13 01 00 [18:15:05]Write to MH i2c: E2 08 00 BA 08 80 13 01 00 00 00 00 00 3F [18:15:05]Write i2c OK [18:15:05]MH_I2C_Read... [18:15:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:15:05]Read from MH i2c: E2 [18:15:05]MH_I2C_Read... [18:15:05]Read from MH i2c: E2 0E 00 [18:15:05]MH_I2C_Read... [18:15:05]Read from MH i2c: E2 0E 00 BA 08 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 D0 [18:15:05]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:15:05]wFMCommunicate OK [18:15:05]SAM_PROTO_GetShiftState done [18:15:05]FM_GetShiftState done [18:15:05]opened in 1727224020 [18:15:05]opened+sec_in_day 1727310420 [18:15:05]quantity*price = 5500 [18:15:05]sum+1 = 5501 [18:15:05]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46231512 Mentos ПФ Виноград 6*100*2г 1.000 * 10.00 = 10.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.58 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 68 25.09.2024 18:15 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22495 ФПД: 257197588658363 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T181506&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22495&fm=257197588658363&tin=02508201610067®Number=0000000000146243&sum=6500 0 [18:15:06]StoreToDocumentArchive [18:15:06]shift 231 fd 22495 [18:15:06]save to /storage/0231/doc_00022495 [18:15:06]save last doc name /storage/0231/doc_00022495 to /storage/kkm_last_doc_name [18:15:06]save OK [18:15:06]Clear old archive folders... [18:15:06]ProcessDocumentItem done err = 0, tmpTLVsize=404 [18:15:06]tlvbuf is 00239360 [18:15:06]SAM_PROTO_ClearQueue [18:15:06]wFMCommunicate request_size=4 [18:15:06]MH_SAM_APDU [18:15:06]CAPDU: 80 09 00 00 [18:15:06]Write to MH i2c: E2 08 00 C7 08 80 09 00 00 00 00 00 00 41 [18:15:06]Write i2c OK [18:15:06]MH_I2C_Read... [18:15:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:15:06]Read from MH i2c: E2 [18:15:06]MH_I2C_Read... [18:15:06]Read from MH i2c: E2 03 00 [18:15:06]MH_I2C_Read... [18:15:06]Read from MH i2c: E2 03 00 C7 08 00 90 00 43 [18:15:06]RAPDU: 90 00 [18:15:06]wFMCommunicate OK [18:15:06]SAM_PROTO_ClearQueue done [18:15:06]KKMCreateOFDPacket [18:15:06]OFDProtocolAddRootSTLVToBuf [18:15:06]FM_MakeSignedData [18:15:06]FM_MakeSignedData [18:15:06]SAM_PROTO_SignData [18:15:06]wFMCommunicate request_size=4 [18:15:06]MH_SAM_APDU [18:15:06]CAPDU: 80 0D 01 02 [18:15:06]Write to MH i2c: E2 08 00 C8 08 80 0D 01 02 00 00 00 00 49 [18:15:06]Write i2c OK [18:15:06]MH_I2C_Read... [18:15:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:15:06]Read from MH i2c: E2 [18:15:06]MH_I2C_Read... [18:15:06]Read from MH i2c: E2 03 00 [18:15:06]MH_I2C_Read... [18:15:06]Read from MH i2c: E2 03 00 C8 08 00 90 00 44 [18:15:06]RAPDU: 90 00 [18:15:06]wFMCommunicate OK [18:15:06]wFMCommunicate request_size=255 [18:15:06]MH_SAM_APDU [18:15:06]CAPDU: 80 0D 02 02 FA 03 00 94 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 30 33 30 35 06 04 39 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 41 62 73 6F 6C 75 74 20 63 6C 61 73 73 69 63 20 D0 B2 D0 BB 20 D0 B0 2F D0 B1 D0 B0 D0 BA D1 82 20 32 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 [18:15:06]Write to MH i2c: E2 02 01 C9 08 80 0D 02 02 FA 00 03 00 94 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 30 33 30 35 06 04 39 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 41 62 73 6F 6C 75 74 20 63 6C 61 73 73 69 63 20 D0 B2 D0 BB 20 D0 B0 2F D0 B1 D0 B0 D0 BA D1 82 20 32 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 C9 [18:15:06]Write i2c OK [18:15:06]MH_I2C_Read... [18:15:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:15:06]Read from MH i2c: E2 [18:15:06]MH_I2C_Read... [18:15:06]Read from MH i2c: E2 03 00 [18:15:06]MH_I2C_Read... [18:15:06]Read from MH i2c: E2 03 00 C9 08 00 90 00 45 [18:15:06]RAPDU: 90 00 [18:15:06]wFMCommunicate OK [18:15:06]wFMCommunicate request_size=163 [18:15:06]MH_SAM_APDU [18:15:06]CAPDU: 80 0D 02 02 9E 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 2A 53 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DF 57 00 00 35 04 06 00 E9 EB 7A E8 B8 BB [18:15:06]Write to MH i2c: E2 A6 00 CA 08 80 0D 02 02 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 2A 53 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DF 57 00 00 35 04 06 00 E9 EB 7A E8 B8 BB 00 00 13 [18:15:06]Write i2c OK [18:15:06]MH_I2C_Read... [18:15:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:15:07]Read from MH i2c: E2 [18:15:07]MH_I2C_Read... [18:15:07]Read from MH i2c: E2 03 00 [18:15:07]MH_I2C_Read... [18:15:07]Read from MH i2c: E2 03 00 CA 08 00 90 00 46 [18:15:07]RAPDU: 90 00 [18:15:07]wFMCommunicate OK [18:15:07]wFMCommunicate request_size=4 [18:15:07]MH_SAM_APDU [18:15:07]CAPDU: 80 0D 03 02 [18:15:07]Write to MH i2c: E2 08 00 CB 08 80 0D 03 02 00 00 00 00 4E [18:15:07]Write i2c OK [18:15:07]MH_I2C_Read... [18:15:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:15:07]Read from MH i2c: E2 [18:15:07]MH_I2C_Read... [18:15:07]Read from MH i2c: E2 0B 00 [18:15:07]MH_I2C_Read... [18:15:07]Read from MH i2c: E2 0B 00 CB 08 00 48 92 1B 17 AF C6 8B CA 90 00 25 [18:15:07]RAPDU: 48 92 1B 17 AF C6 8B CA 90 00 [18:15:07]wFMCommunicate OK [18:15:07]SAM_PROTO_SignData done [18:15:07]FM_MakeSignedData done [18:15:07]CreateOFDProtocolMessage [18:15:07]wFMCommunicate request_size=4 [18:15:07]MH_SAM_APDU [18:15:07]CAPDU: 80 11 00 00 [18:15:07]Write to MH i2c: E2 08 00 CC 08 80 11 00 00 00 00 00 00 4E [18:15:07]Write i2c OK [18:15:07]MH_I2C_Read... [18:15:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:15:07]Read from MH i2c: E2 [18:15:07]MH_I2C_Read... [18:15:07]Read from MH i2c: E2 17 00 [18:15:07]MH_I2C_Read... [18:15:07]Read from MH i2c: E2 17 00 CC 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 A8 [18:15:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:15:07]wFMCommunicate OK [18:15:07]CreateOFDProtocolMessage done [18:15:07]OFDSenderStorePacket 22495 [18:15:07]StoreOFDPacket docnum=22495 [18:15:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 A8 01 00 00 A7 EF A0 01 DA CD 5A 03 01 00 03 00 94 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 30 33 30 35 06 04 39 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 41 62 73 6F 6C 75 74 20 63 6C 61 73 73 69 63 20 D0 B2 D0 BB 20 D0 B0 2F D0 B1 D0 B0 D0 BA D1 82 20 32 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 2A 53 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DF 57 00 00 35 04 06 00 E9 EB 7A E8 B8 BB 48 92 1B 17 AF C6 8B CA [18:15:07]CheckFolder [18:15:07]dirname=/storage/ofd_packets [18:15:07]CheckFolder done [18:15:07]ProducePacketName [18:15:07]name=ofd_packets/00022495 [18:15:07]NVStorageSaveData ofd_packets/00022495 [18:15:07]File name is /storage/ofd_packets/00022495 [18:15:07]Write 454 bytes [18:15:07]NVStorageSaveData done [18:15:07]OFDSenderStorePacket done [18:15:07]KKMCreateOFDPacket done [18:15:07]NVStorageSaveData kkm_last_timestamp [18:15:07]File name is /storage/kkm_last_timestamp [18:15:07]Write 4 bytes [18:15:07]NVStorageSaveData done [18:15:07]ExternCall_PrintAddStr [18:15:07]wPrintStart [18:15:07]Write to MH i2c: 01 00 00 CD 08 D5 [18:15:07]Write i2c OK [18:15:07]MH_I2C_Read... [18:15:07]Read from MH i2c: 01 [18:15:07]MH_I2C_Read... [18:15:07]Read from MH i2c: 01 07 00 [18:15:07]MH_I2C_Read... [18:15:07]Read from MH i2c: 01 07 00 CD 08 00 00 00 00 00 FF 0F EA [18:15:07]RasterBufferAndPrint [18:15:07]line Счет N : (3)51698 [18:15:07]line ИНН: 02508201610067 [18:15:07]line Контрольно-Кассовый Чек [18:15:07]line ПРОДАЖА [18:15:07]line Товар: 4620016300305 [18:15:07]line Салфетки Absolut classic вл а/бакт 20 шт [18:15:07]line 1.000 * 55.00 [18:15:07]line = 55.00 [18:15:07]line НДС 12% НСП 1% [18:15:07]line > о реализуемом товаре [18:15:07]line Товар: 46231512 [18:15:07]line Mentos ПФ Виноград 6*100*2г [18:15:07]line 1.000 * 10.00 [18:15:07]line = 10.00 [18:15:07]line НДС 12% НСП 1% [18:15:07]line > о реализуемом товаре [18:15:07]line ИТОГО: 65.00 [18:15:07]line НСП 1% : 0.58 [18:15:07]line НДС 12% : 6.90 [18:15:07]line Наличными: 65.00 [18:15:07]line Безнал.: 0.00 [18:15:07]line Место: АЗС № 88 "Партнер Нефть" [18:15:07]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [18:15:07]line СНО: Общий режим [18:15:07]line Чек 68 25.09.2024 18:15 [18:15:07]line Смена: 231 ФФД: 1.0 [18:15:07]line ЗНМ: 0300000061 [18:15:07]line РНМ: 0000000000146243 [18:15:07]line Версия ККМ: v1.0 [18:15:07]line ФМ: 0000000000959358 [18:15:07]line ФД: 22495 [18:15:07]line ФПД: 257197588658363 [18:15:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T181506&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22495&fm=257197588658363&tin=02508201610067®Number=0000000000146243&sum=6500 [18:15:07]line 0 [18:15:07]OFD Sender: Processing packet 22495 [packets to send 23, broken 22] [18:15:07]ProducePacketName [18:15:07]name=ofd_packets/00022495 [18:15:07]OFD Sender: To server: pG, [18:15:07]CommunicateWithHost lk.salyk.kg:30040 [18:15:07]ConnectInit lk.salyk.kg [18:15:07]written 0, free lines is 4095 [18:15:08]Write to MH i2c: 01 00 00 FC 08 04 [18:15:08]Write i2c OK [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: 01 [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: 01 07 00 [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: 01 07 00 FC 08 00 00 00 00 00 BA 0C D1 [18:15:08]RasterBufferAndPrint [18:15:08]line [18:15:08]line [18:15:08]line [18:15:08]line [18:15:08]line [18:15:08]written 0, free lines is 3263 [18:15:08]MH_Cut [18:15:08]Write to MH i2c: D1 01 00 03 09 01 DE [18:15:08]Write i2c OK [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: D1 [18:15:08]MH_I2C_Read... [18:15:08]Read from MH i2c: D1 01 00 [18:15:08]MH_I2C_Read... [18:15:08]Connected sock=11 [18:15:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 A8 01 00 00 A7 EF A0 01 DA CD 5A 03 01 00 03 00 94 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 30 33 30 35 06 04 39 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 41 62 73 6F 6C 75 74 20 63 6C 61 73 73 69 63 20 D0 B2 D0 BB 20 D0 B0 2F D0 B1 D0 B0 D0 BA D1 82 20 32 30 20 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 2A 53 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DF 57 00 00 35 04 06 00 E9 EB 7A E8 B8 BB 48 92 1B 17 AF C6 8B CA [18:15:08]Read from MH i2c: D1 01 00 03 09 00 DD [18:15:08]Write to MH i2c: 01 00 00 04 09 0D [18:15:08]Write i2c OK [18:15:08]MH_I2C_Read... [18:15:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 86 B8 47 00 9E 61 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 DF 57 00 00 F4 03 04 00 4D FD F3 66 B6 04 01 00 00 AF 45 AB EE 0F 41 D9 52 [18:15:08]CommunicateWithHost err = 0 [18:15:08]CheckOFDResponse [18:15:08]1017 (14) - 77093643461234 [18:15:08]1041 (16) - 0000000000959358 [18:15:08]1040 (4) - 22495 [18:15:08]1012 (4) - 25.09.2024 12:08 [18:15:08]1206 (1) - 0 [18:15:08]OFD Sender: Remove packet 22495 [18:15:08]ProducePacketName [18:15:08]name=ofd_packets/00022495 [18:15:08]NVStorageDeleteData [18:15:08]*** Cut start [18:15:08]*** Partial cut [18:15:08]*** CUTSNS_PIN = 1 [18:15:08]*** CUTSNS_PIN = 0 [18:15:09]OFD Sender: No OFD packet to send [18:15:09]*** Brake cut motor [18:15:09]Read from MH i2c: 01 [18:15:09]MH_I2C_Read... [18:15:09]*** Stop cut motor [18:15:09]*** Cut end [18:15:09]Read from MH i2c: 01 07 00 [18:15:09]MH_I2C_Read... [18:15:09]Read from MH i2c: 01 07 00 04 09 00 00 00 00 00 FF 0F 22 [18:15:09]process_action close_receipt done [18:15:09]requested_data is exist [18:15:09]produce_requested_data [18:15:09]requested_item fm.sn is exist - process it [18:15:09]wFMCommunicate request_size=4 [18:15:09]MH_SAM_APDU [18:15:09]CAPDU: 80 11 00 00 [18:15:09]Write to MH i2c: E2 08 00 05 09 80 11 00 00 00 00 00 00 88 [18:15:09]Write i2c OK [18:15:09]MH_I2C_Read... [18:15:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:15:09]Read from MH i2c: E2 [18:15:09]MH_I2C_Read... [18:15:09]Read from MH i2c: E2 17 00 [18:15:09]MH_I2C_Read... [18:15:09]Read from MH i2c: E2 17 00 05 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 E2 [18:15:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:15:09]wFMCommunicate OK [18:15:09]requested_item fd.num is exist - process it [18:15:09]SAM_PROTO_GetFieldsCounters [18:15:09]wFMCommunicate request_size=4 [18:15:09]MH_SAM_APDU [18:15:09]CAPDU: 80 13 00 00 [18:15:09]Write to MH i2c: E2 08 00 06 09 80 13 00 00 00 00 00 00 8B [18:15:09]Write i2c OK [18:15:09]MH_I2C_Read... [18:15:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:15:09]Read from MH i2c: E2 [18:15:09]MH_I2C_Read... [18:15:09]Read from MH i2c: E2 62 00 [18:15:09]MH_I2C_Read... [18:15:09]Read from MH i2c: E2 62 00 06 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 DF 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 97 [18:15:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 DF 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:15:09]wFMCommunicate OK [18:15:09]SAM_PROTO_GetFieldsCounters done [18:15:09]requested_item shift.num is exist - process it [18:15:09]requested_item shift.opened is exist - process it [18:15:09]req_shift_opened [18:15:09]FM_GetShiftState [18:15:09]SAM_PROTO_GetShiftState [18:15:09]wFMCommunicate request_size=4 [18:15:09]MH_SAM_APDU [18:15:09]CAPDU: 80 13 01 00 [18:15:09]Write to MH i2c: E2 08 00 07 09 80 13 01 00 00 00 00 00 8D [18:15:09]Write i2c OK [18:15:09]MH_I2C_Read... [18:15:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:15:09]Read from MH i2c: E2 [18:15:09]MH_I2C_Read... [18:15:09]Read from MH i2c: E2 0E 00 [18:15:09]MH_I2C_Read... [18:15:09]Read from MH i2c: E2 0E 00 07 09 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 1E [18:15:09]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:15:09]wFMCommunicate OK [18:15:09]SAM_PROTO_GetShiftState done [18:15:09]FM_GetShiftState done [18:15:09]req_shift_opened done [18:15:09]requested_item shift.open_date is exist - process it [18:15:09]req_shift_open_date [18:15:09]req_shift_open_date done [18:15:09]produce_requested_data done [18:15:09]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22495,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [18:15:09]process_action_free close_receipt [18:15:09]json_value_free [18:15:09]json_value_free done [18:15:09]process_json_proto returns [18:15:09]Send response to host [18:15:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22495,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [18:15:09]free response buf [18:15:09]execute_script done [18:15:09]execute_script returns [18:15:09]free content buf [18:15:09]Sock 7.Close socket [18:15:09]Sock 7.Thread stoped [18:15:14]OFD Sender: No OFD packet to send [18:15:19]OFD Sender: No OFD packet to send [18:15:24]OFD Sender: No OFD packet to send [18:15:29]OFD Sender: No OFD packet to send [18:15:34]OFD Sender: No OFD packet to send [18:15:39]OFD Sender: No OFD packet to send [18:15:44]OFD Sender: No OFD packet to send [18:15:49]OFD Sender: No OFD packet to send [18:15:54]OFD Sender: No OFD packet to send [18:15:59]OFD Sender: No OFD packet to send [18:16:04]OFD Sender: No OFD packet to send [18:16:09]OFD Sender: No OFD packet to send [18:16:14]OFD Sender: No OFD packet to send [18:16:19]OFD Sender: No OFD packet to send [18:16:24]OFD Sender: No OFD packet to send [18:16:29]OFD Sender: No OFD packet to send [18:16:34]OFD Sender: No OFD packet to send [18:16:39]OFD Sender: No OFD packet to send [18:16:44]OFD Sender: No OFD packet to send [18:16:49]OFD Sender: No OFD packet to send [18:16:54]OFD Sender: No OFD packet to send [18:16:59]OFD Sender: No OFD packet to send [18:17:04]OFD Sender: No OFD packet to send [18:17:09]OFD Sender: No OFD packet to send [18:17:14]OFD Sender: No OFD packet to send [18:17:19]OFD Sender: No OFD packet to send [18:17:24]OFD Sender: No OFD packet to send [18:17:29]OFD Sender: No OFD packet to send [18:17:34]OFD Sender: No OFD packet to send [18:17:39]OFD Sender: No OFD packet to send [18:17:44]OFD Sender: No OFD packet to send [18:17:49]OFD Sender: No OFD packet to send [18:17:54]OFD Sender: No OFD packet to send [18:17:59]OFD Sender: No OFD packet to send [18:18:01]accept exits with 9 [18:18:01]New connection [18:18:01]New thread 3067440484 created [18:18:01]Thread 3067583844 joined [18:18:01]Waiting for new connection... [18:18:01] Sock 9.Parse request [18:18:01]Sock 9.Check first char [18:18:01]Sock 9.First char is OK [18:18:01]request: POST /json_proto HTTP/1.0 [18:18:01]Method: POST [18:18:01]URL: /json_proto [18:18:01]Method is POST - this is cgi request [18:18:01]url: /json_proto [18:18:01]query_string will be loaded in cgi processing [18:18:01]execute_cgi json_proto POST (null) [18:18:01]execute_cgi path=json_proto method=POST [18:18:01]POST find Content-Length [18:18:01]Host: 172.17.43.4:8080 [18:18:01]Content-Length: 1002 [18:18:01]Content-Type: application/json [18:18:01] [18:18:01]POST finish read [18:18:01]Found Content-Length = 1002 [18:18:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51699", "tax_sys" : 0, "items" : [ { "code": "4607035653513", "name": "\u0412\u0430\u0444\u043B\u0438 \u0413\u043E\u043B\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0435 \u043A\u0430\u0440\u0430\u043C\u0435\u043B 290", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000027450", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 218.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:18:01]execute_script... [18:18:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51699", "tax_sys" : 0, "items" : [ { "code": "4607035653513", "name": "\u0412\u0430\u0444\u043B\u0438 \u0413\u043E\u043B\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0435 \u043A\u0430\u0440\u0430\u043C\u0435\u043B 290", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000027450", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 218.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:18:01]POST & json_proto [18:18:01]process_json_proto [18:18:01]json parsed OK: [18:18:01]protocol is kg_v1.0 [18:18:01]action value=close_receipt [18:18:01]process_action close_receipt [18:18:01]cmd_close_receipt [18:18:01]MH_GetDate [18:18:01]Write to MH i2c: F0 00 00 08 09 00 [18:18:01]Write i2c OK [18:18:01]MH_I2C_Read... [18:18:01]Read from MH i2c: F0 [18:18:01]MH_I2C_Read... [18:18:01]Read from MH i2c: F0 09 00 [18:18:01]MH_I2C_Read... [18:18:01]Read from MH i2c: F0 09 00 08 09 00 DA 53 F4 66 02 BF CF 66 86 [18:18:01]GetLastDocTimeStamp 1727288106 [18:18:01]current date 1727288282 [18:18:01]FM_GetShiftState [18:18:01]SAM_PROTO_GetShiftState [18:18:01]wFMCommunicate request_size=4 [18:18:01]MH_SAM_APDU [18:18:01]CAPDU: 80 13 01 00 [18:18:01]Write to MH i2c: E2 08 00 09 09 80 13 01 00 00 00 00 00 8F [18:18:01]Write i2c OK [18:18:01]MH_I2C_Read... [18:18:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:18:01]Read from MH i2c: E2 [18:18:01]MH_I2C_Read... [18:18:01]Read from MH i2c: E2 0E 00 [18:18:01]MH_I2C_Read... [18:18:01]Read from MH i2c: E2 0E 00 09 09 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 20 [18:18:01]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:18:01]wFMCommunicate OK [18:18:01]SAM_PROTO_GetShiftState done [18:18:01]FM_GetShiftState done [18:18:01]opened in 1727224020 [18:18:01]opened+sec_in_day 1727310420 [18:18:01]quantity*price = 14300 [18:18:01]sum+1 = 14301 [18:18:01]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000027450 Напиток FuzeTea чай манго,ром 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 218.00 НСП 1% : 1.92 НДС 12% : 23.15 Наличными: 218.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 69 25.09.2024 18:18 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22496 ФПД: 173464976356831 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T181802&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22496&fm=173464976356831&tin=02508201610067®Number=0000000000146243&sum=21800 0 [18:18:02]StoreToDocumentArchive [18:18:02]shift 231 fd 22496 [18:18:02]save to /storage/0231/doc_00022496 [18:18:02]save last doc name /storage/0231/doc_00022496 to /storage/kkm_last_doc_name [18:18:02]save OK [18:18:02]Clear old archive folders... [18:18:02]ProcessDocumentItem done err = 0, tmpTLVsize=419 [18:18:02]tlvbuf is 00235BF0 [18:18:02]SAM_PROTO_ClearQueue [18:18:02]wFMCommunicate request_size=4 [18:18:02]MH_SAM_APDU [18:18:02]CAPDU: 80 09 00 00 [18:18:02]Write to MH i2c: E2 08 00 16 09 80 09 00 00 00 00 00 00 91 [18:18:02]Write i2c OK [18:18:02]MH_I2C_Read... [18:18:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:18:02]Read from MH i2c: E2 [18:18:02]MH_I2C_Read... [18:18:02]Read from MH i2c: E2 03 00 [18:18:02]MH_I2C_Read... [18:18:02]Read from MH i2c: E2 03 00 16 09 00 90 00 93 [18:18:02]RAPDU: 90 00 [18:18:02]wFMCommunicate OK [18:18:02]SAM_PROTO_ClearQueue done [18:18:02]KKMCreateOFDPacket [18:18:02]OFDProtocolAddRootSTLVToBuf [18:18:02]FM_MakeSignedData [18:18:02]FM_MakeSignedData [18:18:02]SAM_PROTO_SignData [18:18:02]wFMCommunicate request_size=4 [18:18:02]MH_SAM_APDU [18:18:02]CAPDU: 80 0D 01 02 [18:18:02]Write to MH i2c: E2 08 00 17 09 80 0D 01 02 00 00 00 00 99 [18:18:02]Write i2c OK [18:18:02]MH_I2C_Read... [18:18:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:18:02]Read from MH i2c: E2 [18:18:02]MH_I2C_Read... [18:18:02]Read from MH i2c: E2 03 00 [18:18:02]MH_I2C_Read... [18:18:02]Read from MH i2c: E2 03 00 17 09 00 90 00 94 [18:18:02]RAPDU: 90 00 [18:18:02]wFMCommunicate OK [18:18:02]wFMCommunicate request_size=255 [18:18:02]MH_SAM_APDU [18:18:02]CAPDU: 80 0D 02 02 FA 03 00 A3 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 37 30 33 35 36 35 33 35 31 33 06 04 34 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 93 D0 BE D0 BB D0 BB D0 B0 D0 BD D0 B4 D1 81 D0 BA D0 B8 D0 B5 20 D0 BA D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB 20 32 39 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 [18:18:02]Write to MH i2c: E2 02 01 18 09 80 0D 02 02 FA 00 03 00 A3 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 37 30 33 35 36 35 33 35 31 33 06 04 34 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 93 D0 BE D0 BB D0 BB D0 B0 D0 BD D0 B4 D1 81 D0 BA D0 B8 D0 B5 20 D0 BA D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB 20 32 39 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 00 00 6B [18:18:02]Write i2c OK [18:18:02]MH_I2C_Read... [18:18:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:18:02]Read from MH i2c: E2 [18:18:02]MH_I2C_Read... [18:18:02]Read from MH i2c: E2 03 00 [18:18:02]MH_I2C_Read... [18:18:02]Read from MH i2c: E2 03 00 18 09 00 90 00 95 [18:18:02]RAPDU: 90 00 [18:18:02]wFMCommunicate OK [18:18:02]wFMCommunicate request_size=178 [18:18:02]MH_SAM_APDU [18:18:02]CAPDU: 80 0D 02 02 AD 01 00 01 BC 04 01 00 01 FC 03 06 00 28 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 09 00 00 00 00 07 04 06 00 28 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 DA 53 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E0 57 00 00 35 04 06 00 9D C3 F6 4B F5 DF [18:18:02]Write to MH i2c: E2 B5 00 19 09 80 0D 02 02 AD 00 01 00 01 BC 04 01 00 01 FC 03 06 00 28 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 09 00 00 00 00 07 04 06 00 28 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 DA 53 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E0 57 00 00 35 04 06 00 9D C3 F6 4B F5 DF 00 00 2B [18:18:02]Write i2c OK [18:18:02]MH_I2C_Read... [18:18:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:18:03]Read from MH i2c: E2 [18:18:03]MH_I2C_Read... [18:18:03]Read from MH i2c: E2 03 00 [18:18:03]MH_I2C_Read... [18:18:03]Read from MH i2c: E2 03 00 19 09 00 90 00 96 [18:18:03]RAPDU: 90 00 [18:18:03]wFMCommunicate OK [18:18:03]wFMCommunicate request_size=4 [18:18:03]MH_SAM_APDU [18:18:03]CAPDU: 80 0D 03 02 [18:18:03]Write to MH i2c: E2 08 00 1A 09 80 0D 03 02 00 00 00 00 9E [18:18:03]Write i2c OK [18:18:03]MH_I2C_Read... [18:18:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:18:03]Read from MH i2c: E2 [18:18:03]MH_I2C_Read... [18:18:03]Read from MH i2c: E2 0B 00 [18:18:03]MH_I2C_Read... [18:18:03]Read from MH i2c: E2 0B 00 1A 09 00 AF 9B 47 CB 11 65 6F 56 90 00 36 [18:18:03]RAPDU: AF 9B 47 CB 11 65 6F 56 90 00 [18:18:03]wFMCommunicate OK [18:18:03]SAM_PROTO_SignData done [18:18:03]FM_MakeSignedData done [18:18:03]CreateOFDProtocolMessage [18:18:03]wFMCommunicate request_size=4 [18:18:03]MH_SAM_APDU [18:18:03]CAPDU: 80 11 00 00 [18:18:03]Write to MH i2c: E2 08 00 1B 09 80 11 00 00 00 00 00 00 9E [18:18:03]Write i2c OK [18:18:03]MH_I2C_Read... [18:18:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:18:03]Read from MH i2c: E2 [18:18:03]MH_I2C_Read... [18:18:03]Read from MH i2c: E2 17 00 [18:18:03]MH_I2C_Read... [18:18:03]Read from MH i2c: E2 17 00 1B 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 F8 [18:18:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:18:03]wFMCommunicate OK [18:18:03]CreateOFDProtocolMessage done [18:18:03]OFDSenderStorePacket 22496 [18:18:03]StoreOFDPacket docnum=22496 [18:18:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 B7 01 00 00 BB 4C AF 01 21 6D 5A 03 01 00 03 00 A3 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 37 30 33 35 36 35 33 35 31 33 06 04 34 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 93 D0 BE D0 BB D0 BB D0 B0 D0 BD D0 B4 D1 81 D0 BA D0 B8 D0 B5 20 D0 BA D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB 20 32 39 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 09 00 00 00 00 07 04 06 00 28 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 DA 53 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E0 57 00 00 35 04 06 00 9D C3 F6 4B F5 DF AF 9B 47 CB 11 65 6F 56 [18:18:03]CheckFolder [18:18:03]dirname=/storage/ofd_packets [18:18:03]CheckFolder done [18:18:03]ProducePacketName [18:18:03]name=ofd_packets/00022496 [18:18:03]NVStorageSaveData ofd_packets/00022496 [18:18:03]File name is /storage/ofd_packets/00022496 [18:18:03]Write 469 bytes [18:18:03]NVStorageSaveData done [18:18:03]OFDSenderStorePacket done [18:18:03]KKMCreateOFDPacket done [18:18:03]NVStorageSaveData kkm_last_timestamp [18:18:03]File name is /storage/kkm_last_timestamp [18:18:03]Write 4 bytes [18:18:03]NVStorageSaveData done [18:18:03]ExternCall_PrintAddStr [18:18:03]wPrintStart [18:18:03]Write to MH i2c: 01 00 00 1C 09 25 [18:18:03]OFD Sender: Processing packet 22496 [packets to send 23, broken 22] [18:18:03]ProducePacketName [18:18:03]name=ofd_packets/00022496 [18:18:03]OFD Sender: To server: pG, [18:18:03]CommunicateWithHost lk.salyk.kg:30040 [18:18:03]ConnectInit lk.salyk.kg [18:18:03]Write i2c OK [18:18:03]MH_I2C_Read... [18:18:03]Read from MH i2c: 01 [18:18:03]MH_I2C_Read... [18:18:03]Read from MH i2c: 01 07 00 [18:18:03]MH_I2C_Read... [18:18:03]Read from MH i2c: 01 07 00 1C 09 00 00 00 00 00 FF 0F 3A [18:18:03]RasterBufferAndPrint [18:18:03]line Счет N : (3)51699 [18:18:03]line ИНН: 02508201610067 [18:18:03]line Контрольно-Кассовый Чек [18:18:03]line ПРОДАЖА [18:18:03]line Товар: 4607035653513 [18:18:03]line Вафли Голландские карамел 290 [18:18:03]line 1.000 * 143.00 [18:18:03]line = 143.00 [18:18:03]line НДС 12% НСП 1% [18:18:03]line > о реализуемом товаре [18:18:03]line Товар: 5449000027450 [18:18:03]line Напиток FuzeTea чай манго,ром 0,5л [18:18:03]line 1.000 * 75.00 [18:18:03]line = 75.00 [18:18:03]line НДС 12% НСП 1% [18:18:03]line > о реализуемом товаре [18:18:03]line ИТОГО: 218.00 [18:18:03]line НСП 1% : 1.92 [18:18:03]line НДС 12% : 23.15 [18:18:03]line Наличными: 218.00 [18:18:03]line Безнал.: 0.00 [18:18:03]line Место: АЗС № 88 "Партнер Нефть" [18:18:03]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [18:18:03]line СНО: Общий режим [18:18:03]line Чек 69 25.09.2024 18:18 [18:18:03]line Смена: 231 ФФД: 1.0 [18:18:03]line ЗНМ: 0300000061 [18:18:03]line РНМ: 0000000000146243 [18:18:03]line Версия ККМ: v1.0 [18:18:03]line ФМ: 0000000000959358 [18:18:03]line ФД: 22496 [18:18:03]line ФПД: 173464976356831 [18:18:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T181802&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22496&fm=173464976356831&tin=02508201610067®Number=0000000000146243&sum=21800 [18:18:03]line 0 [18:18:03]written 0, free lines is 4095 [18:18:03]Connected sock=10 [18:18:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 B7 01 00 00 BB 4C AF 01 21 6D 5A 03 01 00 03 00 A3 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 37 30 33 35 36 35 33 35 31 33 06 04 34 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 93 D0 BE D0 BB D0 BB D0 B0 D0 BD D0 B4 D1 81 D0 BA D0 B8 D0 B5 20 D0 BA D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB 20 32 39 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 09 00 00 00 00 07 04 06 00 28 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 DA 53 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E0 57 00 00 35 04 06 00 9D C3 F6 4B F5 DF AF 9B 47 CB 11 65 6F 56 [18:18:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 61 2D 47 00 5C 4F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E0 57 00 00 F4 03 04 00 FC FD F3 66 B6 04 01 00 00 92 CF 5F C5 5D A9 72 23 [18:18:04]CommunicateWithHost err = 0 [18:18:04]CheckOFDResponse [18:18:04]1017 (14) - 77093643461234 [18:18:04]1041 (16) - 0000000000959358 [18:18:04]1040 (4) - 22496 [18:18:04]1012 (4) - 25.09.2024 12:11 [18:18:04]1206 (1) - 0 [18:18:04]OFD Sender: Remove packet 22496 [18:18:04]ProducePacketName [18:18:04]name=ofd_packets/00022496 [18:18:04]NVStorageDeleteData [18:18:04]Write to MH i2c: 01 00 00 4C 09 55 [18:18:04]Write i2c OK [18:18:04]MH_I2C_Read... [18:18:04]Read from MH i2c: 01 [18:18:04]MH_I2C_Read... [18:18:04]Read from MH i2c: 01 07 00 [18:18:04]MH_I2C_Read... [18:18:04]Read from MH i2c: 01 07 00 4C 09 00 00 00 00 00 A3 0C 0B [18:18:04]RasterBufferAndPrint [18:18:04]line [18:18:04]line [18:18:04]line [18:18:04]line [18:18:04]line [18:18:04]written 0, free lines is 3245 [18:18:04]MH_Cut [18:18:04]Write to MH i2c: D1 01 00 53 09 01 2E [18:18:04]Write i2c OK [18:18:04]MH_I2C_Read... [18:18:04]Read from MH i2c: D1 [18:18:04]MH_I2C_Read... [18:18:04]Read from MH i2c: D1 01 00 [18:18:04]MH_I2C_Read... [18:18:04]Read from MH i2c: D1 01 00 53 09 00 2D [18:18:04]Write to MH i2c: 01 00 00 54 09 5D [18:18:04]Write i2c OK [18:18:04]MH_I2C_Read... [18:18:04]OFD Sender: No OFD packet to send [18:18:04]*** Cut start [18:18:04]*** Partial cut [18:18:04]*** CUTSNS_PIN = 1 [18:18:04]*** CUTSNS_PIN = 0 [18:18:05]*** Brake cut motor [18:18:05]Read from MH i2c: 01 [18:18:05]MH_I2C_Read... [18:18:05]*** Stop cut motor [18:18:05]*** Cut end [18:18:05]Read from MH i2c: 01 07 00 [18:18:05]MH_I2C_Read... [18:18:05]Read from MH i2c: 01 07 00 54 09 00 00 00 00 00 FF 0F 72 [18:18:05]process_action close_receipt done [18:18:05]requested_data is exist [18:18:05]produce_requested_data [18:18:05]requested_item fm.sn is exist - process it [18:18:05]wFMCommunicate request_size=4 [18:18:05]MH_SAM_APDU [18:18:05]CAPDU: 80 11 00 00 [18:18:05]Write to MH i2c: E2 08 00 55 09 80 11 00 00 00 00 00 00 D8 [18:18:05]Write i2c OK [18:18:05]MH_I2C_Read... [18:18:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:18:05]Read from MH i2c: E2 [18:18:05]MH_I2C_Read... [18:18:05]Read from MH i2c: E2 17 00 [18:18:05]MH_I2C_Read... [18:18:05]Read from MH i2c: E2 17 00 55 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 32 [18:18:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:18:05]wFMCommunicate OK [18:18:05]requested_item fd.num is exist - process it [18:18:05]SAM_PROTO_GetFieldsCounters [18:18:05]wFMCommunicate request_size=4 [18:18:05]MH_SAM_APDU [18:18:05]CAPDU: 80 13 00 00 [18:18:05]Write to MH i2c: E2 08 00 56 09 80 13 00 00 00 00 00 00 DB [18:18:05]Write i2c OK [18:18:05]MH_I2C_Read... [18:18:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:18:05]Read from MH i2c: E2 [18:18:05]MH_I2C_Read... [18:18:05]Read from MH i2c: E2 62 00 [18:18:05]MH_I2C_Read... [18:18:05]Read from MH i2c: E2 62 00 56 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 E0 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 EB [18:18:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 E0 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:18:05]wFMCommunicate OK [18:18:05]SAM_PROTO_GetFieldsCounters done [18:18:05]requested_item shift.num is exist - process it [18:18:05]requested_item shift.opened is exist - process it [18:18:05]req_shift_opened [18:18:05]FM_GetShiftState [18:18:05]SAM_PROTO_GetShiftState [18:18:05]wFMCommunicate request_size=4 [18:18:05]MH_SAM_APDU [18:18:05]CAPDU: 80 13 01 00 [18:18:05]Write to MH i2c: E2 08 00 57 09 80 13 01 00 00 00 00 00 DD [18:18:05]Write i2c OK [18:18:05]MH_I2C_Read... [18:18:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:18:05]Read from MH i2c: E2 [18:18:05]MH_I2C_Read... [18:18:05]Read from MH i2c: E2 0E 00 [18:18:05]MH_I2C_Read... [18:18:05]Read from MH i2c: E2 0E 00 57 09 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 6E [18:18:05]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:18:05]wFMCommunicate OK [18:18:05]SAM_PROTO_GetShiftState done [18:18:05]FM_GetShiftState done [18:18:05]req_shift_opened done [18:18:05]requested_item shift.open_date is exist - process it [18:18:05]req_shift_open_date [18:18:05]req_shift_open_date done [18:18:05]produce_requested_data done [18:18:05]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22496,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [18:18:05]process_action_free close_receipt [18:18:05]json_value_free [18:18:05]json_value_free done [18:18:05]process_json_proto returns [18:18:05]Send response to host [18:18:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22496,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [18:18:05]free response buf [18:18:05]execute_script done [18:18:05]execute_script returns [18:18:05]free content buf [18:18:05]Sock 9.Close socket [18:18:05]Sock 9.Thread stoped [18:18:09]OFD Sender: No OFD packet to send [18:18:14]OFD Sender: No OFD packet to send [18:18:19]OFD Sender: No OFD packet to send [18:18:24]OFD Sender: No OFD packet to send [18:18:29]OFD Sender: No OFD packet to send [18:18:34]OFD Sender: No OFD packet to send [18:18:39]OFD Sender: No OFD packet to send [18:18:44]OFD Sender: No OFD packet to send [18:18:49]OFD Sender: No OFD packet to send [18:18:54]OFD Sender: No OFD packet to send [18:18:59]OFD Sender: No OFD packet to send [18:19:04]OFD Sender: No OFD packet to send [18:19:09]OFD Sender: No OFD packet to send [18:19:14]OFD Sender: No OFD packet to send [18:19:19]OFD Sender: No OFD packet to send [18:19:24]OFD Sender: No OFD packet to send [18:19:29]OFD Sender: No OFD packet to send [18:19:34]OFD Sender: No OFD packet to send [18:19:39]OFD Sender: No OFD packet to send [18:19:44]OFD Sender: No OFD packet to send [18:19:49]OFD Sender: No OFD packet to send [18:19:54]OFD Sender: No OFD packet to send [18:19:59]OFD Sender: No OFD packet to send [18:20:04]OFD Sender: No OFD packet to send [18:20:09]OFD Sender: No OFD packet to send [18:20:14]OFD Sender: No OFD packet to send [18:20:19]OFD Sender: No OFD packet to send [18:20:24]OFD Sender: No OFD packet to send [18:20:29]OFD Sender: No OFD packet to send [18:20:34]OFD Sender: No OFD packet to send [18:20:39]OFD Sender: No OFD packet to send [18:20:44]OFD Sender: No OFD packet to send [18:20:49]OFD Sender: No OFD packet to send [18:20:54]OFD Sender: No OFD packet to send [18:20:59]OFD Sender: No OFD packet to send [18:21:04]OFD Sender: No OFD packet to send [18:21:09]OFD Sender: No OFD packet to send [18:21:14]OFD Sender: No OFD packet to send [18:21:19]OFD Sender: No OFD packet to send [18:21:24]OFD Sender: No OFD packet to send [18:21:29]OFD Sender: No OFD packet to send [18:21:34]OFD Sender: No OFD packet to send [18:21:39]OFD Sender: No OFD packet to send [18:21:44]OFD Sender: No OFD packet to send [18:21:49]OFD Sender: No OFD packet to send [18:21:54]OFD Sender: No OFD packet to send [18:21:59]OFD Sender: No OFD packet to send [18:22:04]OFD Sender: No OFD packet to send [18:22:09]OFD Sender: No OFD packet to send [18:22:14]OFD Sender: No OFD packet to send [18:22:19]OFD Sender: No OFD packet to send [18:22:24]OFD Sender: No OFD packet to send [18:22:29]OFD Sender: No OFD packet to send [18:22:34]OFD Sender: No OFD packet to send [18:22:39]OFD Sender: No OFD packet to send [18:22:44]OFD Sender: No OFD packet to send [18:22:49]OFD Sender: No OFD packet to send [18:22:54]OFD Sender: No OFD packet to send [18:22:59]OFD Sender: No OFD packet to send [18:23:04]OFD Sender: No OFD packet to send [18:23:09]OFD Sender: No OFD packet to send [18:23:14]OFD Sender: No OFD packet to send [18:23:19]OFD Sender: No OFD packet to send [18:23:24]OFD Sender: No OFD packet to send [18:23:29]OFD Sender: No OFD packet to send [18:23:34]OFD Sender: No OFD packet to send [18:23:39]OFD Sender: No OFD packet to send [18:23:44]OFD Sender: No OFD packet to send [18:23:49]OFD Sender: No OFD packet to send [18:23:54]OFD Sender: No OFD packet to send [18:23:59]OFD Sender: No OFD packet to send [18:24:04]OFD Sender: No OFD packet to send [18:24:09]OFD Sender: No OFD packet to send [18:24:14]OFD Sender: No OFD packet to send [18:24:19]OFD Sender: No OFD packet to send [18:24:24]OFD Sender: No OFD packet to send [18:24:29]OFD Sender: No OFD packet to send [18:24:34]OFD Sender: No OFD packet to send [18:24:39]OFD Sender: No OFD packet to send [18:24:44]OFD Sender: No OFD packet to send [18:24:49]OFD Sender: No OFD packet to send [18:24:54]OFD Sender: No OFD packet to send [18:24:59]OFD Sender: No OFD packet to send [18:25:04]OFD Sender: No OFD packet to send [18:25:09]OFD Sender: No OFD packet to send [18:25:14]OFD Sender: No OFD packet to send [18:25:19]OFD Sender: No OFD packet to send [18:25:24]OFD Sender: No OFD packet to send [18:25:29]OFD Sender: No OFD packet to send [18:25:34]OFD Sender: No OFD packet to send [18:25:39]OFD Sender: No OFD packet to send [18:25:44]OFD Sender: No OFD packet to send [18:25:49]OFD Sender: No OFD packet to send [18:25:54]OFD Sender: No OFD packet to send [18:25:59]OFD Sender: No OFD packet to send [18:26:04]OFD Sender: No OFD packet to send [18:26:10]OFD Sender: No OFD packet to send [18:26:15]OFD Sender: No OFD packet to send [18:26:20]OFD Sender: No OFD packet to send [18:26:25]OFD Sender: No OFD packet to send [18:26:30]OFD Sender: No OFD packet to send [18:26:35]OFD Sender: No OFD packet to send [18:26:40]OFD Sender: No OFD packet to send [18:26:45]OFD Sender: No OFD packet to send [18:26:50]OFD Sender: No OFD packet to send [18:26:55]OFD Sender: No OFD packet to send [18:27:00]OFD Sender: No OFD packet to send [18:27:05]OFD Sender: No OFD packet to send [18:27:10]OFD Sender: No OFD packet to send [18:27:15]OFD Sender: No OFD packet to send [18:27:20]OFD Sender: No OFD packet to send [18:27:25]OFD Sender: No OFD packet to send [18:27:30]OFD Sender: No OFD packet to send [18:27:35]OFD Sender: No OFD packet to send [18:27:40]OFD Sender: No OFD packet to send [18:27:45]OFD Sender: No OFD packet to send [18:27:50]OFD Sender: No OFD packet to send [18:27:55]OFD Sender: No OFD packet to send [18:28:00]OFD Sender: No OFD packet to send [18:28:05]OFD Sender: No OFD packet to send [18:28:10]OFD Sender: No OFD packet to send [18:28:15]OFD Sender: No OFD packet to send [18:28:20]OFD Sender: No OFD packet to send [18:28:25]OFD Sender: No OFD packet to send [18:28:30]OFD Sender: No OFD packet to send [18:28:35]OFD Sender: No OFD packet to send [18:28:40]OFD Sender: No OFD packet to send [18:28:45]OFD Sender: No OFD packet to send [18:28:50]OFD Sender: No OFD packet to send [18:28:55]OFD Sender: No OFD packet to send [18:29:00]OFD Sender: No OFD packet to send [18:29:05]OFD Sender: No OFD packet to send [18:29:10]OFD Sender: No OFD packet to send [18:29:15]OFD Sender: No OFD packet to send [18:29:20]OFD Sender: No OFD packet to send [18:29:25]OFD Sender: No OFD packet to send [18:29:30]OFD Sender: No OFD packet to send [18:29:35]OFD Sender: No OFD packet to send [18:29:40]OFD Sender: No OFD packet to send [18:29:45]OFD Sender: No OFD packet to send [18:29:50]OFD Sender: No OFD packet to send [18:29:55]OFD Sender: No OFD packet to send [18:30:00]OFD Sender: No OFD packet to send [18:30:05]OFD Sender: No OFD packet to send [18:30:10]OFD Sender: No OFD packet to send [18:30:15]OFD Sender: No OFD packet to send [18:30:20]OFD Sender: No OFD packet to send [18:30:25]OFD Sender: No OFD packet to send [18:30:30]OFD Sender: No OFD packet to send [18:30:35]OFD Sender: No OFD packet to send [18:30:40]OFD Sender: No OFD packet to send [18:30:45]OFD Sender: No OFD packet to send [18:30:50]OFD Sender: No OFD packet to send [18:30:54]accept exits with 7 [18:30:54]New connection [18:30:54]New thread 3067583844 created [18:30:54]Thread 3067440484 joined [18:30:54]Waiting for new connection... [18:30:54] Sock 7.Parse request [18:30:54]Sock 7.Check first char [18:30:54]Sock 7.First char is OK [18:30:54]request: POST /json_proto HTTP/1.0 [18:30:54]Method: POST [18:30:54]URL: /json_proto [18:30:54]Method is POST - this is cgi request [18:30:54]url: /json_proto [18:30:54]query_string will be loaded in cgi processing [18:30:54]execute_cgi json_proto POST (null) [18:30:54]execute_cgi path=json_proto method=POST [18:30:54]POST find Content-Length [18:30:54]Host: 172.17.43.4:8080 [18:30:54]Content-Length: 629 [18:30:54]Content-Type: application/json [18:30:54] [18:30:54]POST finish read [18:30:54]Found Content-Length = 629 [18:30:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51700", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:30:54]execute_script... [18:30:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51700", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:30:54]POST & json_proto [18:30:54]process_json_proto [18:30:54]json parsed OK: [18:30:54]protocol is kg_v1.0 [18:30:54]action value=close_receipt [18:30:54]process_action close_receipt [18:30:54]cmd_close_receipt [18:30:54]MH_GetDate [18:30:54]Write to MH i2c: F0 00 00 58 09 50 [18:30:54]Write i2c OK [18:30:54]MH_I2C_Read... [18:30:54]Read from MH i2c: F0 [18:30:54]MH_I2C_Read... [18:30:54]Read from MH i2c: F0 09 00 [18:30:54]MH_I2C_Read... [18:30:54]Read from MH i2c: F0 09 00 58 09 00 DF 56 F4 66 02 BF CF 66 DE [18:30:54]GetLastDocTimeStamp 1727288282 [18:30:54]current date 1727289055 [18:30:54]FM_GetShiftState [18:30:54]SAM_PROTO_GetShiftState [18:30:54]wFMCommunicate request_size=4 [18:30:54]MH_SAM_APDU [18:30:54]CAPDU: 80 13 01 00 [18:30:54]Write to MH i2c: E2 08 00 59 09 80 13 01 00 00 00 00 00 DF [18:30:54]Write i2c OK [18:30:54]MH_I2C_Read... [18:30:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:30:54]Read from MH i2c: E2 [18:30:54]MH_I2C_Read... [18:30:54]Read from MH i2c: E2 0E 00 [18:30:54]MH_I2C_Read... [18:30:54]Read from MH i2c: E2 0E 00 59 09 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 70 [18:30:54]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:30:54]wFMCommunicate OK [18:30:54]SAM_PROTO_GetShiftState done [18:30:54]FM_GetShiftState done [18:30:54]opened in 1727224020 [18:30:54]opened+sec_in_day 1727310420 [18:30:54]quantity*price = 5000 [18:30:54]sum+1 = 5001 [18:30:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 70 25.09.2024 18:30 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22497 ФПД: 10518939212998 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T183055&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22497&fm=10518939212998&tin=02508201610067®Number=0000000000146243&sum=5000 0 [18:30:55]StoreToDocumentArchive [18:30:55]shift 231 fd 22497 [18:30:55]save to /storage/0231/doc_00022497 [18:30:55]save last doc name /storage/0231/doc_00022497 to /storage/kkm_last_doc_name [18:30:55]save OK [18:30:55]Clear old archive folders... [18:30:55]ProcessDocumentItem done err = 0, tmpTLVsize=269 [18:30:55]tlvbuf is 0023EB00 [18:30:55]SAM_PROTO_ClearQueue [18:30:55]wFMCommunicate request_size=4 [18:30:55]MH_SAM_APDU [18:30:55]CAPDU: 80 09 00 00 [18:30:55]Write to MH i2c: E2 08 00 66 09 80 09 00 00 00 00 00 00 E1 [18:30:55]Write i2c OK [18:30:55]MH_I2C_Read... [18:30:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:30:55]Read from MH i2c: E2 [18:30:55]MH_I2C_Read... [18:30:55]Read from MH i2c: E2 03 00 [18:30:55]MH_I2C_Read... [18:30:55]Read from MH i2c: E2 03 00 66 09 00 90 00 E3 [18:30:55]RAPDU: 90 00 [18:30:55]wFMCommunicate OK [18:30:55]SAM_PROTO_ClearQueue done [18:30:55]KKMCreateOFDPacket [18:30:55]OFDProtocolAddRootSTLVToBuf [18:30:55]FM_MakeSignedData [18:30:55]FM_MakeSignedData [18:30:55]SAM_PROTO_SignData [18:30:55]wFMCommunicate request_size=4 [18:30:55]MH_SAM_APDU [18:30:55]CAPDU: 80 0D 01 02 [18:30:55]Write to MH i2c: E2 08 00 67 09 80 0D 01 02 00 00 00 00 E9 [18:30:55]Write i2c OK [18:30:55]MH_I2C_Read... [18:30:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:30:55]Read from MH i2c: E2 [18:30:55]MH_I2C_Read... [18:30:55]Read from MH i2c: E2 03 00 [18:30:55]MH_I2C_Read... [18:30:55]Read from MH i2c: E2 03 00 67 09 00 90 00 E4 [18:30:55]RAPDU: 90 00 [18:30:55]wFMCommunicate OK [18:30:55]wFMCommunicate request_size=255 [18:30:55]MH_SAM_APDU [18:30:55]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 DF 56 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [18:30:55]Write to MH i2c: E2 02 01 68 09 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 DF 56 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 B8 [18:30:55]Write i2c OK [18:30:55]MH_I2C_Read... [18:30:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:30:55]Read from MH i2c: E2 [18:30:55]MH_I2C_Read... [18:30:55]Read from MH i2c: E2 03 00 [18:30:55]MH_I2C_Read... [18:30:55]Read from MH i2c: E2 03 00 68 09 00 90 00 E5 [18:30:55]RAPDU: 90 00 [18:30:55]wFMCommunicate OK [18:30:55]wFMCommunicate request_size=28 [18:30:55]MH_SAM_APDU [18:30:55]CAPDU: 80 0D 02 02 17 35 39 33 35 38 10 04 04 00 E1 57 00 00 35 04 06 00 09 91 21 A2 9C C6 [18:30:55]Write to MH i2c: E2 1F 00 69 09 80 0D 02 02 17 00 35 39 33 35 38 10 04 04 00 E1 57 00 00 35 04 06 00 09 91 21 A2 9C C6 00 00 76 [18:30:55]Write i2c OK [18:30:55]MH_I2C_Read... [18:30:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:30:55]Read from MH i2c: E2 [18:30:55]MH_I2C_Read... [18:30:55]Read from MH i2c: E2 03 00 [18:30:55]MH_I2C_Read... [18:30:55]Read from MH i2c: E2 03 00 69 09 00 90 00 E6 [18:30:55]RAPDU: 90 00 [18:30:55]wFMCommunicate OK [18:30:55]wFMCommunicate request_size=4 [18:30:55]MH_SAM_APDU [18:30:55]CAPDU: 80 0D 03 02 [18:30:55]Write to MH i2c: E2 08 00 6A 09 80 0D 03 02 00 00 00 00 EE [18:30:55]Write i2c OK [18:30:55]MH_I2C_Read... [18:30:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:30:55]Read from MH i2c: E2 [18:30:55]MH_I2C_Read... [18:30:55]Read from MH i2c: E2 0B 00 [18:30:55]MH_I2C_Read... [18:30:55]Read from MH i2c: E2 0B 00 6A 09 00 55 31 08 C1 B9 40 E5 34 90 00 50 [18:30:55]RAPDU: 55 31 08 C1 B9 40 E5 34 90 00 [18:30:55]wFMCommunicate OK [18:30:55]SAM_PROTO_SignData done [18:30:55]FM_MakeSignedData done [18:30:55]CreateOFDProtocolMessage [18:30:55]wFMCommunicate request_size=4 [18:30:55]MH_SAM_APDU [18:30:55]CAPDU: 80 11 00 00 [18:30:55]Write to MH i2c: E2 08 00 6B 09 80 11 00 00 00 00 00 00 EE [18:30:55]Write i2c OK [18:30:55]MH_I2C_Read... [18:30:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:30:55]Read from MH i2c: E2 [18:30:55]MH_I2C_Read... [18:30:55]Read from MH i2c: E2 17 00 [18:30:55]MH_I2C_Read... [18:30:55]Read from MH i2c: E2 17 00 6B 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 48 [18:30:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:30:55]wFMCommunicate OK [18:30:55]CreateOFDProtocolMessage done [18:30:55]OFDSenderStorePacket 22497 [18:30:55]StoreOFDPacket docnum=22497 [18:30:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 21 01 00 00 67 35 19 01 0F 12 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 DF 56 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E1 57 00 00 35 04 06 00 09 91 21 A2 9C C6 55 31 08 C1 B9 40 E5 34 [18:30:55]CheckFolder [18:30:55]dirname=/storage/ofd_packets [18:30:55]CheckFolder done [18:30:55]ProducePacketName [18:30:55]name=ofd_packets/00022497 [18:30:55]NVStorageSaveData ofd_packets/00022497 [18:30:55]File name is /storage/ofd_packets/00022497 [18:30:55]Write 319 bytes [18:30:55]NVStorageSaveData done [18:30:55]OFDSenderStorePacket done [18:30:55]KKMCreateOFDPacket done [18:30:55]NVStorageSaveData kkm_last_timestamp [18:30:55]File name is /storage/kkm_last_timestamp [18:30:55]Write 4 bytes [18:30:55]NVStorageSaveData done [18:30:55]ExternCall_PrintAddStr [18:30:55]wPrintStart [18:30:55]Write to MH i2c: 01 00 00 6C 09 75 [18:30:55]Write i2c OK [18:30:55]MH_I2C_Read... [18:30:55]Read from MH i2c: 01 [18:30:55]MH_I2C_Read... [18:30:55]Read from MH i2c: 01 07 00 [18:30:55]MH_I2C_Read... [18:30:55]Read from MH i2c: 01 07 00 6C 09 00 00 00 00 00 FF 0F 8A [18:30:55]RasterBufferAndPrint [18:30:55]line Счет N : (3)51700 [18:30:55]line ИНН: 02508201610067 [18:30:55]line Контрольно-Кассовый Чек [18:30:55]line ПРОДАЖА [18:30:55]line Товар: 4700000160358 [18:30:55]line Вода Легенда 1л [18:30:55]line 1.000 * 50.00 [18:30:55]line = 50.00 [18:30:55]line НДС 12% НСП 1% [18:30:55]line > о реализуемом товаре [18:30:55]line ИТОГО: 50.00 [18:30:55]line НСП 1% : 0.44 [18:30:55]line НДС 12% : 5.31 [18:30:55]line Наличными: 50.00 [18:30:55]line Безнал.: 0.00 [18:30:55]line Место: АЗС № 88 "Партнер Нефть" [18:30:55]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [18:30:55]line СНО: Общий режим [18:30:55]line Чек 70 25.09.2024 18:30 [18:30:55]line Смена: 231 ФФД: 1.0 [18:30:55]line ЗНМ: 0300000061 [18:30:55]line РНМ: 0000000000146243 [18:30:55]line Версия ККМ: v1.0 [18:30:55]line ФМ: 0000000000959358 [18:30:55]line ФД: 22497 [18:30:55]line ФПД: 10518939212998 [18:30:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T183055&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22497&fm=10518939212998&tin=02508201610067®Number=0000000000146243&sum=5000 [18:30:56]OFD Sender: Processing packet 22497 [packets to send 23, broken 22] [18:30:56]ProducePacketName [18:30:56]name=ofd_packets/00022497 [18:30:56]OFD Sender: To server: pG, [18:30:56]CommunicateWithHost lk.salyk.kg:30040 [18:30:56]ConnectInit lk.salyk.kg [18:30:56]line 0 [18:30:56]written 0, free lines is 4095 [18:30:56]Connected sock=10 [18:30:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 21 01 00 00 67 35 19 01 0F 12 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 DF 56 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E1 57 00 00 35 04 06 00 09 91 21 A2 9C C6 55 31 08 C1 B9 40 E5 34 [18:30:56]Write to MH i2c: 01 00 00 94 09 9D [18:30:56]Write i2c OK [18:30:56]MH_I2C_Read... [18:30:56]Read from MH i2c: 01 [18:30:56]MH_I2C_Read... [18:30:56]Read from MH i2c: 01 07 00 [18:30:56]MH_I2C_Read... [18:30:56]Read from MH i2c: 01 07 00 94 09 00 00 00 00 00 27 0D D8 [18:30:56]RasterBufferAndPrint [18:30:56]line [18:30:56]line [18:30:56]line [18:30:56]line [18:30:56]line [18:30:56]written 0, free lines is 3373 [18:30:56]MH_Cut [18:30:56]Write to MH i2c: D1 01 00 9B 09 01 76 [18:30:56]Write i2c OK [18:30:56]MH_I2C_Read... [18:30:56]Read from MH i2c: D1 [18:30:56]MH_I2C_Read... [18:30:56]Read from MH i2c: D1 01 00 [18:30:56]MH_I2C_Read... [18:30:56]Read from MH i2c: D1 01 00 9B 09 00 75 [18:30:56]Write to MH i2c: 01 00 00 9C 09 A5 [18:30:56]Write i2c OK [18:30:56]MH_I2C_Read... [18:30:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 EE 45 47 00 CC A6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E1 57 00 00 F4 03 04 00 01 01 F4 66 B6 04 01 00 00 B1 DB CE 33 89 A1 0E 25 [18:30:56]CommunicateWithHost err = 0 [18:30:56]CheckOFDResponse [18:30:56]1017 (14) - 77093643461234 [18:30:56]1041 (16) - 0000000000959358 [18:30:56]1040 (4) - 22497 [18:30:56]1012 (4) - 25.09.2024 12:24 [18:30:56]1206 (1) - 0 [18:30:56]OFD Sender: Remove packet 22497 [18:30:56]ProducePacketName [18:30:56]name=ofd_packets/00022497 [18:30:56]NVStorageDeleteData [18:30:57]OFD Sender: No OFD packet to send [18:30:57]*** Cut start [18:30:57]*** Partial cut [18:30:57]*** CUTSNS_PIN = 1 [18:30:57]*** CUTSNS_PIN = 0 [18:30:57]*** Brake cut motor [18:30:57]Read from MH i2c: 01 [18:30:57]MH_I2C_Read... [18:30:57]*** Stop cut motor [18:30:57]*** Cut end [18:30:57]Read from MH i2c: 01 07 00 [18:30:57]MH_I2C_Read... [18:30:57]Read from MH i2c: 01 07 00 9C 09 00 00 00 00 00 FF 0F BA [18:30:57]process_action close_receipt done [18:30:57]requested_data is exist [18:30:57]produce_requested_data [18:30:57]requested_item fm.sn is exist - process it [18:30:57]wFMCommunicate request_size=4 [18:30:57]MH_SAM_APDU [18:30:57]CAPDU: 80 11 00 00 [18:30:57]Write to MH i2c: E2 08 00 9D 09 80 11 00 00 00 00 00 00 20 [18:30:57]Write i2c OK [18:30:57]MH_I2C_Read... [18:30:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:30:57]Read from MH i2c: E2 [18:30:57]MH_I2C_Read... [18:30:57]Read from MH i2c: E2 17 00 [18:30:57]MH_I2C_Read... [18:30:57]Read from MH i2c: E2 17 00 9D 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 7A [18:30:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:30:57]wFMCommunicate OK [18:30:57]requested_item fd.num is exist - process it [18:30:57]SAM_PROTO_GetFieldsCounters [18:30:57]wFMCommunicate request_size=4 [18:30:57]MH_SAM_APDU [18:30:57]CAPDU: 80 13 00 00 [18:30:57]Write to MH i2c: E2 08 00 9E 09 80 13 00 00 00 00 00 00 23 [18:30:57]Write i2c OK [18:30:57]MH_I2C_Read... [18:30:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:30:58]Read from MH i2c: E2 [18:30:58]MH_I2C_Read... [18:30:58]Read from MH i2c: E2 62 00 [18:30:58]MH_I2C_Read... [18:30:58]Read from MH i2c: E2 62 00 9E 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 E1 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 37 [18:30:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 E1 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:30:58]wFMCommunicate OK [18:30:58]SAM_PROTO_GetFieldsCounters done [18:30:58]requested_item shift.num is exist - process it [18:30:58]requested_item shift.opened is exist - process it [18:30:58]req_shift_opened [18:30:58]FM_GetShiftState [18:30:58]SAM_PROTO_GetShiftState [18:30:58]wFMCommunicate request_size=4 [18:30:58]MH_SAM_APDU [18:30:58]CAPDU: 80 13 01 00 [18:30:58]Write to MH i2c: E2 08 00 9F 09 80 13 01 00 00 00 00 00 25 [18:30:58]Write i2c OK [18:30:58]MH_I2C_Read... [18:30:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:30:58]Read from MH i2c: E2 [18:30:58]MH_I2C_Read... [18:30:58]Read from MH i2c: E2 0E 00 [18:30:58]MH_I2C_Read... [18:30:58]Read from MH i2c: E2 0E 00 9F 09 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 B6 [18:30:58]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:30:58]wFMCommunicate OK [18:30:58]SAM_PROTO_GetShiftState done [18:30:58]FM_GetShiftState done [18:30:58]req_shift_opened done [18:30:58]requested_item shift.open_date is exist - process it [18:30:58]req_shift_open_date [18:30:58]req_shift_open_date done [18:30:58]produce_requested_data done [18:30:58]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22497,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [18:30:58]process_action_free close_receipt [18:30:58]json_value_free [18:30:58]json_value_free done [18:30:58]process_json_proto returns [18:30:58]Send response to host [18:30:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22497,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [18:30:58]free response buf [18:30:58]execute_script done [18:30:58]execute_script returns [18:30:58]free content buf [18:30:58]Sock 7.Close socket [18:30:58]Sock 7.Thread stoped [18:31:02]OFD Sender: No OFD packet to send [18:31:07]OFD Sender: No OFD packet to send [18:31:12]OFD Sender: No OFD packet to send [18:31:17]OFD Sender: No OFD packet to send [18:31:22]OFD Sender: No OFD packet to send [18:31:27]OFD Sender: No OFD packet to send [18:31:32]OFD Sender: No OFD packet to send [18:31:37]OFD Sender: No OFD packet to send [18:31:39]accept exits with 9 [18:31:39]New connection [18:31:39]New thread 3067440484 created [18:31:39]Thread 3067583844 joined [18:31:39]Waiting for new connection... [18:31:39] Sock 9.Parse request [18:31:39]Sock 9.Check first char [18:31:39]Sock 9.First char is OK [18:31:39]request: POST /json_proto HTTP/1.0 [18:31:39]Method: POST [18:31:39]URL: /json_proto [18:31:39]Method is POST - this is cgi request [18:31:39]url: /json_proto [18:31:39]query_string will be loaded in cgi processing [18:31:39]execute_cgi json_proto POST (null) [18:31:39]execute_cgi path=json_proto method=POST [18:31:39]POST find Content-Length [18:31:39]Host: 172.17.43.4:8080 [18:31:39]Content-Length: 762 [18:31:39]Content-Type: application/json [18:31:39] [18:31:39]POST finish read [18:31:39]Found Content-Length = 762 [18:31:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165049", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 0.00, "quantity" : 7.380, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:31:39]execute_script... [18:31:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165049", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 0.00, "quantity" : 7.380, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:31:39]POST & json_proto [18:31:39]process_json_proto [18:31:39]json parsed OK: [18:31:39]protocol is kg_v1.0 [18:31:39]action value=close_receipt [18:31:39]process_action close_receipt [18:31:39]cmd_close_receipt [18:31:39]MH_GetDate [18:31:39]Write to MH i2c: F0 00 00 A0 09 98 [18:31:39]Write i2c OK [18:31:39]MH_I2C_Read... [18:31:39]Read from MH i2c: F0 [18:31:39]MH_I2C_Read... [18:31:39]Read from MH i2c: F0 09 00 [18:31:39]MH_I2C_Read... [18:31:39]Read from MH i2c: F0 09 00 A0 09 00 0C 57 F4 66 02 BF CF 66 54 [18:31:39]GetLastDocTimeStamp 1727289055 [18:31:39]current date 1727289100 [18:31:39]FM_GetShiftState [18:31:39]SAM_PROTO_GetShiftState [18:31:39]wFMCommunicate request_size=4 [18:31:39]MH_SAM_APDU [18:31:39]CAPDU: 80 13 01 00 [18:31:39]Write to MH i2c: E2 08 00 A1 09 80 13 01 00 00 00 00 00 27 [18:31:39]Write i2c OK [18:31:39]MH_I2C_Read... [18:31:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:31:39]Read from MH i2c: E2 [18:31:39]MH_I2C_Read... [18:31:39]Read from MH i2c: E2 0E 00 [18:31:39]MH_I2C_Read... [18:31:39]Read from MH i2c: E2 0E 00 A1 09 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 B8 [18:31:39]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:31:39]wFMCommunicate OK [18:31:39]SAM_PROTO_GetShiftState done [18:31:39]FM_GetShiftState done [18:31:39]opened in 1727224020 [18:31:39]opened+sec_in_day 1727310420 [18:31:39]quantity*price = 0 [18:31:39]sum+1 = 1 [18:31:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 71 25.09.2024 18:31 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000959358 ФД: 22498 ФПД: 55934351082419 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T183140&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22498&fm=55934351082419&tin=02508201610067®Number=0000000000146243&sum=0 [18:31:40]StoreToDocumentArchive [18:31:40]shift 231 fd 22498 [18:31:40]save to /storage/0231/doc_00022498 [18:31:40]save last doc name /storage/0231/doc_00022498 to /storage/kkm_last_doc_name [18:31:40]save OK [18:31:40]Clear old archive folders... [18:31:40]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:31:40]tlvbuf is 00247A90 [18:31:40]SAM_PROTO_ClearQueue [18:31:40]wFMCommunicate request_size=4 [18:31:40]MH_SAM_APDU [18:31:40]CAPDU: 80 09 00 00 [18:31:40]Write to MH i2c: E2 08 00 AE 09 80 09 00 00 00 00 00 00 29 [18:31:40]Write i2c OK [18:31:40]MH_I2C_Read... [18:31:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:31:40]Read from MH i2c: E2 [18:31:40]MH_I2C_Read... [18:31:40]Read from MH i2c: E2 03 00 [18:31:40]MH_I2C_Read... [18:31:40]Read from MH i2c: E2 03 00 AE 09 00 90 00 2B [18:31:40]RAPDU: 90 00 [18:31:40]wFMCommunicate OK [18:31:40]SAM_PROTO_ClearQueue done [18:31:40]KKMCreateOFDPacket [18:31:40]OFDProtocolAddRootSTLVToBuf [18:31:40]FM_MakeSignedData [18:31:40]FM_MakeSignedData [18:31:40]SAM_PROTO_SignData [18:31:40]wFMCommunicate request_size=4 [18:31:40]MH_SAM_APDU [18:31:40]CAPDU: 80 0D 01 02 [18:31:40]Write to MH i2c: E2 08 00 AF 09 80 0D 01 02 00 00 00 00 31 [18:31:40]Write i2c OK [18:31:40]MH_I2C_Read... [18:31:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:31:40]Read from MH i2c: E2 [18:31:40]MH_I2C_Read... [18:31:40]Read from MH i2c: E2 03 00 [18:31:40]MH_I2C_Read... [18:31:40]Read from MH i2c: E2 03 00 AF 09 00 90 00 2C [18:31:40]RAPDU: 90 00 [18:31:40]wFMCommunicate OK [18:31:40]wFMCommunicate request_size=255 [18:31:40]MH_SAM_APDU [18:31: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 D4 1C 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 47 00 00 00 F4 03 04 00 0C 57 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E2 57 00 00 35 04 06 00 32 [18:31:40]Write to MH i2c: E2 02 01 B0 09 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 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 47 00 00 00 F4 03 04 00 0C 57 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E2 57 00 00 35 04 06 00 32 00 00 83 [18:31:40]Write i2c OK [18:31:40]MH_I2C_Read... [18:31:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:31:41]Read from MH i2c: E2 [18:31:41]MH_I2C_Read... [18:31:41]Read from MH i2c: E2 03 00 [18:31:41]MH_I2C_Read... [18:31:41]Read from MH i2c: E2 03 00 B0 09 00 90 00 2D [18:31:41]RAPDU: 90 00 [18:31:41]wFMCommunicate OK [18:31:41]wFMCommunicate request_size=10 [18:31:41]MH_SAM_APDU [18:31:41]CAPDU: 80 0D 02 02 05 DF 3B 20 83 B3 [18:31:41]Write to MH i2c: E2 0D 00 B1 09 80 0D 02 02 05 00 DF 3B 20 83 B3 00 00 AE [18:31:41]Write i2c OK [18:31:41]MH_I2C_Read... [18:31:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:31:41]Read from MH i2c: E2 [18:31:41]MH_I2C_Read... [18:31:41]Read from MH i2c: E2 03 00 [18:31:41]MH_I2C_Read... [18:31:41]Read from MH i2c: E2 03 00 B1 09 00 90 00 2E [18:31:41]RAPDU: 90 00 [18:31:41]wFMCommunicate OK [18:31:41]wFMCommunicate request_size=4 [18:31:41]MH_SAM_APDU [18:31:41]CAPDU: 80 0D 03 02 [18:31:41]Write to MH i2c: E2 08 00 B2 09 80 0D 03 02 00 00 00 00 36 [18:31:41]Write i2c OK [18:31:41]MH_I2C_Read... [18:31:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:31:41]Read from MH i2c: E2 [18:31:41]MH_I2C_Read... [18:31:41]Read from MH i2c: E2 0B 00 [18:31:41]MH_I2C_Read... [18:31:41]Read from MH i2c: E2 0B 00 B2 09 00 E9 19 92 1E D1 DB EE F8 90 00 7B [18:31:41]RAPDU: E9 19 92 1E D1 DB EE F8 90 00 [18:31:41]wFMCommunicate OK [18:31:41]SAM_PROTO_SignData done [18:31:41]FM_MakeSignedData done [18:31:41]CreateOFDProtocolMessage [18:31:41]wFMCommunicate request_size=4 [18:31:41]MH_SAM_APDU [18:31:41]CAPDU: 80 11 00 00 [18:31:41]Write to MH i2c: E2 08 00 B3 09 80 11 00 00 00 00 00 00 36 [18:31:41]Write i2c OK [18:31:41]MH_I2C_Read... [18:31:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:31:41]Read from MH i2c: E2 [18:31:41]MH_I2C_Read... [18:31:41]Read from MH i2c: E2 17 00 [18:31:41]MH_I2C_Read... [18:31:41]Read from MH i2c: E2 17 00 B3 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 90 [18:31:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:31:41]wFMCommunicate OK [18:31:41]CreateOFDProtocolMessage done [18:31:41]OFDSenderStorePacket 22498 [18:31:41]StoreOFDPacket docnum=22498 [18:31:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 5A 6E 07 01 B6 50 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 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 47 00 00 00 F4 03 04 00 0C 57 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E2 57 00 00 35 04 06 00 32 DF 3B 20 83 B3 E9 19 92 1E D1 DB EE F8 [18:31:41]CheckFolder [18:31:41]dirname=/storage/ofd_packets [18:31:41]CheckFolder done [18:31:41]ProducePacketName [18:31:41]name=ofd_packets/00022498 [18:31:41]NVStorageSaveData ofd_packets/00022498 [18:31:41]File name is /storage/ofd_packets/00022498 [18:31:41]Write 301 bytes [18:31:41]NVStorageSaveData done [18:31:41]OFDSenderStorePacket done [18:31:41]KKMCreateOFDPacket done [18:31:41]NVStorageSaveData kkm_last_timestamp [18:31:41]File name is /storage/kkm_last_timestamp [18:31:41]Write 4 bytes [18:31:41]NVStorageSaveData done [18:31:41]ExternCall_PrintAddStr [18:31:41]wPrintStart [18:31:41]Write to MH i2c: 01 00 00 B4 09 BD [18:31:41]Write i2c OK [18:31:41]MH_I2C_Read... [18:31:41]Read from MH i2c: 01 [18:31:41]MH_I2C_Read... [18:31:41]Read from MH i2c: 01 07 00 [18:31:41]MH_I2C_Read... [18:31:41]Read from MH i2c: 01 07 00 B4 09 00 00 00 00 00 FF 0F D2 [18:31:41]RasterBufferAndPrint [18:31:41]line Счет N : (1)2165049 [18:31:41]line ИНН: 02508201610067 [18:31:41]line Контрольно-Кассовый Чек [18:31:41]line ПРОДАЖА [18:31:41]line ТРК (МРК, ГНК) : 12 [18:31:41]line Товар: 2710124130 [18:31:41]line Аи-92-К-5 [18:31:41]line 7.380 * 0.00 [18:31:41]line = 0.00 [18:31:41]line НДС 12% НСП 1% [18:31:41]line > о реализуемом товаре [18:31:41]line ИТОГО: 0.00 [18:31:41]line НСП 1% : 0.00 [18:31:41]line НДС 12% : 0.00 [18:31:41]line Наличными: 0.00 [18:31:41]line Безнал.: 0.00 [18:31:41]line Место: АЗС № 88 "Партнер Нефть" [18:31:41]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [18:31:41]line СНО: Общий режим [18:31:41]line Чек 71 25.09.2024 18:31 [18:31:41]line Смена: 231 ФФД: 1.0 [18:31:41]line ЗНМ: 0300000061 [18:31:41]line РНМ: 0000000000146243 [18:31:41]line Версия ККМ: v1.0 [18:31:41]line Платежная система: Mbank [18:31:41]line ФМ: 0000000000959358 [18:31:41]line ФД: 22498 [18:31:41]line ФПД: 55934351082419 [18:31:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T183140&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22498&fm=55934351082419&tin=02508201610067®Number=0000000000146243&sum=0 [18:31:41]OFD Sender: Processing packet 22498 [packets to send 23, broken 22] [18:31:41]ProducePacketName [18:31:41]name=ofd_packets/00022498 [18:31:41]OFD Sender: To server: pG, [18:31:41]CommunicateWithHost lk.salyk.kg:30040 [18:31:41]ConnectInit lk.salyk.kg [18:31:41]written 0, free lines is 4095 [18:31:41]Connected sock=10 [18:31:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 5A 6E 07 01 B6 50 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 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 47 00 00 00 F4 03 04 00 0C 57 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E2 57 00 00 35 04 06 00 32 DF 3B 20 83 B3 E9 19 92 1E D1 DB EE F8 [18:31:41]Write to MH i2c: 01 00 00 DD 09 E6 [18:31:41]Write i2c OK [18:31:41]MH_I2C_Read... [18:31:41]Read from MH i2c: 01 [18:31:41]MH_I2C_Read... [18:31:41]Read from MH i2c: 01 07 00 [18:31:41]MH_I2C_Read... [18:31:41]Read from MH i2c: 01 07 00 DD 09 00 00 00 00 00 1C 0D 16 [18:31:41]RasterBufferAndPrint [18:31:41]line [18:31:41]line [18:31:41]line [18:31:41]line [18:31:41]line [18:31:41]written 0, free lines is 3362 [18:31:41]MH_Cut [18:31:41]Write to MH i2c: D1 01 00 E4 09 01 BF [18:31:41]Write i2c OK [18:31:41]MH_I2C_Read... [18:31:41]Read from MH i2c: D1 [18:31:41]MH_I2C_Read... [18:31:41]Read from MH i2c: D1 01 00 [18:31:41]MH_I2C_Read... [18:31:41]Read from MH i2c: D1 01 00 E4 09 00 BE [18:31:41]Write to MH i2c: 01 00 00 E5 09 EE [18:31:41]Write i2c OK [18:31:41]MH_I2C_Read... [18:31:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 2E 31 47 00 04 3E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E2 57 00 00 F4 03 04 00 2E 01 F4 66 B6 04 01 00 00 27 A3 90 0A AA 65 5A E8 [18:31:41]CommunicateWithHost err = 0 [18:31:41]CheckOFDResponse [18:31:41]1017 (14) - 77093643461234 [18:31:41]1041 (16) - 0000000000959358 [18:31:41]1040 (4) - 22498 [18:31:41]1012 (4) - 25.09.2024 12:25 [18:31:41]1206 (1) - 0 [18:31:41]OFD Sender: Remove packet 22498 [18:31:41]ProducePacketName [18:31:41]name=ofd_packets/00022498 [18:31:41]NVStorageDeleteData [18:31:42]OFD Sender: No OFD packet to send [18:31:42]*** Cut start [18:31:42]*** Partial cut [18:31:42]*** CUTSNS_PIN = 1 [18:31:42]*** CUTSNS_PIN = 0 [18:31:42]*** Brake cut motor [18:31:43]Read from MH i2c: 01 [18:31:43]MH_I2C_Read... [18:31:43]*** Stop cut motor [18:31:43]*** Cut end [18:31:43]Read from MH i2c: 01 07 00 [18:31:43]MH_I2C_Read... [18:31:43]Read from MH i2c: 01 07 00 E5 09 00 00 00 00 00 FF 0F 03 [18:31:43]process_action close_receipt done [18:31:43]requested_data is exist [18:31:43]produce_requested_data [18:31:43]requested_item fm.sn is exist - process it [18:31:43]wFMCommunicate request_size=4 [18:31:43]MH_SAM_APDU [18:31:43]CAPDU: 80 11 00 00 [18:31:43]Write to MH i2c: E2 08 00 E6 09 80 11 00 00 00 00 00 00 69 [18:31:43]Write i2c OK [18:31:43]MH_I2C_Read... [18:31:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:31:43]Read from MH i2c: E2 [18:31:43]MH_I2C_Read... [18:31:43]Read from MH i2c: E2 17 00 [18:31:43]MH_I2C_Read... [18:31:43]Read from MH i2c: E2 17 00 E6 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 C3 [18:31:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:31:43]wFMCommunicate OK [18:31:43]requested_item fd.num is exist - process it [18:31:43]SAM_PROTO_GetFieldsCounters [18:31:43]wFMCommunicate request_size=4 [18:31:43]MH_SAM_APDU [18:31:43]CAPDU: 80 13 00 00 [18:31:43]Write to MH i2c: E2 08 00 E7 09 80 13 00 00 00 00 00 00 6C [18:31:43]Write i2c OK [18:31:43]MH_I2C_Read... [18:31:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:31:43]Read from MH i2c: E2 [18:31:43]MH_I2C_Read... [18:31:43]Read from MH i2c: E2 62 00 [18:31:43]MH_I2C_Read... [18:31:43]Read from MH i2c: E2 62 00 E7 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 E2 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 84 [18:31:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 E2 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:31:43]wFMCommunicate OK [18:31:43]SAM_PROTO_GetFieldsCounters done [18:31:43]requested_item shift.num is exist - process it [18:31:43]requested_item shift.opened is exist - process it [18:31:43]req_shift_opened [18:31:43]FM_GetShiftState [18:31:43]SAM_PROTO_GetShiftState [18:31:43]wFMCommunicate request_size=4 [18:31:43]MH_SAM_APDU [18:31:43]CAPDU: 80 13 01 00 [18:31:43]Write to MH i2c: E2 08 00 E8 09 80 13 01 00 00 00 00 00 6E [18:31:43]Write i2c OK [18:31:43]MH_I2C_Read... [18:31:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:31:43]Read from MH i2c: E2 [18:31:43]MH_I2C_Read... [18:31:43]Read from MH i2c: E2 0E 00 [18:31:43]MH_I2C_Read... [18:31:43]Read from MH i2c: E2 0E 00 E8 09 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 FF [18:31:43]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:31:43]wFMCommunicate OK [18:31:43]SAM_PROTO_GetShiftState done [18:31:43]FM_GetShiftState done [18:31:43]req_shift_opened done [18:31:43]requested_item shift.open_date is exist - process it [18:31:43]req_shift_open_date [18:31:43]req_shift_open_date done [18:31:43]produce_requested_data done [18:31:43]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22498,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [18:31:43]process_action_free close_receipt [18:31:43]json_value_free [18:31:43]json_value_free done [18:31:43]process_json_proto returns [18:31:43]Send response to host [18:31:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22498,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [18:31:43]free response buf [18:31:43]execute_script done [18:31:43]execute_script returns [18:31:43]free content buf [18:31:43]Sock 9.Close socket [18:31:43]Sock 9.Thread stoped [18:31:47]OFD Sender: No OFD packet to send [18:31:52]OFD Sender: No OFD packet to send [18:31:57]OFD Sender: No OFD packet to send [18:32:02]OFD Sender: No OFD packet to send [18:32:07]OFD Sender: No OFD packet to send [18:32:12]OFD Sender: No OFD packet to send [18:32:17]OFD Sender: No OFD packet to send [18:32:22]OFD Sender: No OFD packet to send [18:32:27]OFD Sender: No OFD packet to send [18:32:32]OFD Sender: No OFD packet to send [18:32:37]OFD Sender: No OFD packet to send [18:32:42]OFD Sender: No OFD packet to send [18:32:47]OFD Sender: No OFD packet to send [18:32:52]OFD Sender: No OFD packet to send [18:32:57]OFD Sender: No OFD packet to send [18:33:02]OFD Sender: No OFD packet to send [18:33:07]OFD Sender: No OFD packet to send [18:33:12]OFD Sender: No OFD packet to send [18:33:17]OFD Sender: No OFD packet to send [18:33:22]OFD Sender: No OFD packet to send [18:33:27]OFD Sender: No OFD packet to send [18:33:32]OFD Sender: No OFD packet to send [18:33:37]OFD Sender: No OFD packet to send [18:33:42]OFD Sender: No OFD packet to send [18:33:47]OFD Sender: No OFD packet to send [18:33:52]OFD Sender: No OFD packet to send [18:33:54]accept exits with 7 [18:33:54]New connection [18:33:54]New thread 3067583844 created [18:33:54]Thread 3067440484 joined [18:33:54]Waiting for new connection... [18:33:54] Sock 7.Parse request [18:33:54]Sock 7.Check first char [18:33:54]Sock 7.First char is OK [18:33:54]request: POST /json_proto HTTP/1.0 [18:33:54]Method: POST [18:33:54]URL: /json_proto [18:33:54]Method is POST - this is cgi request [18:33:54]url: /json_proto [18:33:54]query_string will be loaded in cgi processing [18:33:54]execute_cgi json_proto POST (null) [18:33:54]execute_cgi path=json_proto method=POST [18:33:54]POST find Content-Length [18:33:54]Host: 172.17.43.4:8080 [18:33:54]Content-Length: 680 [18:33:54]Content-Type: application/json [18:33:54] [18:33:54]POST finish read [18:33:54]Found Content-Length = 680 [18:33:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165050", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "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" ] } } [18:33:54]execute_script... [18:33:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165050", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "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" ] } } [18:33:54]POST & json_proto [18:33:54]process_json_proto [18:33:54]json parsed OK: [18:33:54]protocol is kg_v1.0 [18:33:54]action value=close_receipt [18:33:54]process_action close_receipt [18:33:54]cmd_close_receipt [18:33:54]MH_GetDate [18:33:54]Write to MH i2c: F0 00 00 E9 09 E1 [18:33:54]Write i2c OK [18:33:54]MH_I2C_Read... [18:33:54]Read from MH i2c: F0 [18:33:54]MH_I2C_Read... [18:33:54]Read from MH i2c: F0 09 00 [18:33:54]MH_I2C_Read... [18:33:54]Read from MH i2c: F0 09 00 E9 09 00 93 57 F4 66 02 BF CF 66 24 [18:33:54]GetLastDocTimeStamp 1727289100 [18:33:54]current date 1727289235 [18:33:54]FM_GetShiftState [18:33:54]SAM_PROTO_GetShiftState [18:33:54]wFMCommunicate request_size=4 [18:33:54]MH_SAM_APDU [18:33:54]CAPDU: 80 13 01 00 [18:33:54]Write to MH i2c: E2 08 00 EA 09 80 13 01 00 00 00 00 00 70 [18:33:54]Write i2c OK [18:33:54]MH_I2C_Read... [18:33:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:33:54]Read from MH i2c: E2 [18:33:54]MH_I2C_Read... [18:33:54]Read from MH i2c: E2 0E 00 [18:33:54]MH_I2C_Read... [18:33:54]Read from MH i2c: E2 0E 00 EA 09 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 01 [18:33:54]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:33:54]wFMCommunicate OK [18:33:54]SAM_PROTO_GetShiftState done [18:33:54]FM_GetShiftState done [18:33:54]opened in 1727224020 [18:33:54]opened+sec_in_day 1727310420 [18:33:54]quantity*price = 100050 [18:33:54]sum+1 = 100052 [18:33:54]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.51 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.25 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 72 25.09.2024 18:33 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22499 ФПД: 237041805929897 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T183355&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22499&fm=237041805929897&tin=02508201610067®Number=0000000000146243&sum=100000 [18:33:55]StoreToDocumentArchive [18:33:55]shift 231 fd 22499 [18:33:55]save to /storage/0231/doc_00022499 [18:33:55]save last doc name /storage/0231/doc_00022499 to /storage/kkm_last_doc_name [18:33:55]save OK [18:33:55]Clear old archive folders... [18:33:55]ProcessDocumentItem done err = 0, tmpTLVsize=248 [18:33:55]tlvbuf is 00248A30 [18:33:55]SAM_PROTO_ClearQueue [18:33:55]wFMCommunicate request_size=4 [18:33:55]MH_SAM_APDU [18:33:55]CAPDU: 80 09 00 00 [18:33:55]Write to MH i2c: E2 08 00 F7 09 80 09 00 00 00 00 00 00 72 [18:33:55]Write i2c OK [18:33:55]MH_I2C_Read... [18:33:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:33:55]Read from MH i2c: E2 [18:33:55]MH_I2C_Read... [18:33:55]Read from MH i2c: E2 03 00 [18:33:55]MH_I2C_Read... [18:33:55]Read from MH i2c: E2 03 00 F7 09 00 90 00 74 [18:33:55]RAPDU: 90 00 [18:33:55]wFMCommunicate OK [18:33:55]SAM_PROTO_ClearQueue done [18:33:55]KKMCreateOFDPacket [18:33:55]OFDProtocolAddRootSTLVToBuf [18:33:55]FM_MakeSignedData [18:33:55]FM_MakeSignedData [18:33:55]SAM_PROTO_SignData [18:33:55]wFMCommunicate request_size=4 [18:33:55]MH_SAM_APDU [18:33:55]CAPDU: 80 0D 01 02 [18:33:55]Write to MH i2c: E2 08 00 F8 09 80 0D 01 02 00 00 00 00 7A [18:33:55]Write i2c OK [18:33:55]MH_I2C_Read... [18:33:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:33:55]Read from MH i2c: E2 [18:33:55]MH_I2C_Read... [18:33:55]Read from MH i2c: E2 03 00 [18:33:55]MH_I2C_Read... [18:33:55]Read from MH i2c: E2 03 00 F8 09 00 90 00 75 [18:33:55]RAPDU: 90 00 [18:33:55]wFMCommunicate OK [18:33:55]wFMCommunicate request_size=255 [18:33:55]MH_SAM_APDU [18:33:55]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 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 48 00 00 00 F4 03 04 00 93 57 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E3 57 00 00 35 04 06 00 D7 96 98 A3 [18:33:55]Write to MH i2c: E2 02 01 F9 09 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 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 48 00 00 00 F4 03 04 00 93 57 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E3 57 00 00 35 04 06 00 D7 96 98 A3 00 00 56 [18:33:55]Write i2c OK [18:33:55]MH_I2C_Read... [18:33:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:33:55]Read from MH i2c: E2 [18:33:55]MH_I2C_Read... [18:33:55]Read from MH i2c: E2 03 00 [18:33:55]MH_I2C_Read... [18:33:55]Read from MH i2c: E2 03 00 F9 09 00 90 00 76 [18:33:55]RAPDU: 90 00 [18:33:55]wFMCommunicate OK [18:33:55]wFMCommunicate request_size=7 [18:33:55]MH_SAM_APDU [18:33:55]CAPDU: 80 0D 02 02 02 AD A9 [18:33:55]Write to MH i2c: E2 0A 00 FA 09 80 0D 02 02 02 00 AD A9 00 00 D7 [18:33:55]Write i2c OK [18:33:55]MH_I2C_Read... [18:33:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:33:55]Read from MH i2c: E2 [18:33:55]MH_I2C_Read... [18:33:55]Read from MH i2c: E2 03 00 [18:33:55]MH_I2C_Read... [18:33:55]Read from MH i2c: E2 03 00 FA 09 00 90 00 77 [18:33:55]RAPDU: 90 00 [18:33:55]wFMCommunicate OK [18:33:55]wFMCommunicate request_size=4 [18:33:55]MH_SAM_APDU [18:33:55]CAPDU: 80 0D 03 02 [18:33:55]Write to MH i2c: E2 08 00 FB 09 80 0D 03 02 00 00 00 00 7F [18:33:55]Write i2c OK [18:33:55]MH_I2C_Read... [18:33:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:33:55]Read from MH i2c: E2 [18:33:55]MH_I2C_Read... [18:33:55]Read from MH i2c: E2 0B 00 [18:33:55]MH_I2C_Read... [18:33:55]Read from MH i2c: E2 0B 00 FB 09 00 73 9B EF 39 03 31 FF EA 90 00 D3 [18:33:55]RAPDU: 73 9B EF 39 03 31 FF EA 90 00 [18:33:55]wFMCommunicate OK [18:33:55]SAM_PROTO_SignData done [18:33:55]FM_MakeSignedData done [18:33:55]CreateOFDProtocolMessage [18:33:55]wFMCommunicate request_size=4 [18:33:55]MH_SAM_APDU [18:33:55]CAPDU: 80 11 00 00 [18:33:55]Write to MH i2c: E2 08 00 FC 09 80 11 00 00 00 00 00 00 7F [18:33:55]Write i2c OK [18:33:55]MH_I2C_Read... [18:33:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:33:55]Read from MH i2c: E2 [18:33:55]MH_I2C_Read... [18:33:55]Read from MH i2c: E2 17 00 [18:33:55]MH_I2C_Read... [18:33:55]Read from MH i2c: E2 17 00 FC 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 D9 [18:33:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:33:55]wFMCommunicate OK [18:33:55]CreateOFDProtocolMessage done [18:33:55]OFDSenderStorePacket 22499 [18:33:55]StoreOFDPacket docnum=22499 [18:33:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 01 00 00 51 1B 04 01 C4 71 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 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 48 00 00 00 F4 03 04 00 93 57 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E3 57 00 00 35 04 06 00 D7 96 98 A3 AD A9 73 9B EF 39 03 31 FF EA [18:33:55]CheckFolder [18:33:55]dirname=/storage/ofd_packets [18:33:55]CheckFolder done [18:33:55]ProducePacketName [18:33:55]name=ofd_packets/00022499 [18:33:55]NVStorageSaveData ofd_packets/00022499 [18:33:55]File name is /storage/ofd_packets/00022499 [18:33:55]Write 298 bytes [18:33:55]NVStorageSaveData done [18:33:55]OFDSenderStorePacket done [18:33:55]KKMCreateOFDPacket done [18:33:55]NVStorageSaveData kkm_last_timestamp [18:33:55]File name is /storage/kkm_last_timestamp [18:33:55]Write 4 bytes [18:33:55]NVStorageSaveData done [18:33:55]ExternCall_PrintAddStr [18:33:55]wPrintStart [18:33:55]Write to MH i2c: 01 00 00 FD 09 06 [18:33:55]Write i2c OK [18:33:55]MH_I2C_Read... [18:33:55]Read from MH i2c: 01 [18:33:55]MH_I2C_Read... [18:33:55]Read from MH i2c: 01 07 00 [18:33:55]MH_I2C_Read... [18:33:55]Read from MH i2c: 01 07 00 FD 09 00 00 00 00 00 FF 0F 1B [18:33:55]RasterBufferAndPrint [18:33:55]line Счет N : (1)2165050 [18:33:55]line ИНН: 02508201610067 [18:33:55]line Контрольно-Кассовый Чек [18:33:55]line ПРОДАЖА [18:33:55]line ТРК (МРК, ГНК) : 31 [18:33:55]line Товар: 2710194210 [18:33:55]line ДТ-К-5 [18:33:55]line 13.130 * 76.20 [18:33:55]line = 1000.51 [18:33:55]line НДС 12% НСП 1% [18:33:55]line > о реализуемом товаре [18:33:55]line ОКРУГЛЕНИЕ: -0.51 [18:33:55]line ИТОГО: 1000.00 [18:33:55]line Внесено: 1000.00 [18:33:55]line СДАЧА: 0.00 [18:33:55]line НСП 1% : 8.85 [18:33:55]line НДС 12% : 106.25 [18:33:55]line Наличными: 1000.00 [18:33:55]line Безнал.: 0.00 [18:33:55]line Место: АЗС № 88 "Партнер Нефть" [18:33:56]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [18:33:56]line СНО: Общий режим [18:33:56]line Чек 72 25.09.2024 18:33 [18:33:56]line Смена: 231 ФФД: 1.0 [18:33:56]line ЗНМ: 0300000061 [18:33:56]line РНМ: 0000000000146243 [18:33:56]line Версия ККМ: v1.0 [18:33:56]line ФМ: 0000000000959358 [18:33:56]line ФД: 22499 [18:33:56]line ФПД: 237041805929897 [18:33:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T183355&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22499&fm=237041805929897&tin=02508201610067®Number=0000000000146243&sum=100000 [18:33:56]OFD Sender: Processing packet 22499 [packets to send 23, broken 22] [18:33:56]ProducePacketName [18:33:56]name=ofd_packets/00022499 [18:33:56]OFD Sender: To server: pG, [18:33:56]CommunicateWithHost lk.salyk.kg:30040 [18:33:56]ConnectInit lk.salyk.kg [18:33:56]written 0, free lines is 4095 [18:33:56]Connected sock=10 [18:33:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 01 00 00 51 1B 04 01 C4 71 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 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 48 00 00 00 F4 03 04 00 93 57 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E3 57 00 00 35 04 06 00 D7 96 98 A3 AD A9 73 9B EF 39 03 31 FF EA [18:33:56]Write to MH i2c: 01 00 00 28 0A 32 [18:33:56]Write i2c OK [18:33:56]MH_I2C_Read... [18:33:56]Read from MH i2c: 01 [18:33:56]MH_I2C_Read... [18:33:56]Read from MH i2c: 01 07 00 [18:33:56]MH_I2C_Read... [18:33:56]Read from MH i2c: 01 07 00 28 0A 00 00 00 00 00 07 0D 4D [18:33:56]RasterBufferAndPrint [18:33:56]line [18:33:56]line [18:33:56]line [18:33:56]line [18:33:56]line [18:33:56]written 0, free lines is 3341 [18:33:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 B9 A0 47 00 A6 13 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E3 57 00 00 F4 03 04 00 B5 01 F4 66 B6 04 01 00 00 01 D1 FF ED C3 5F BC 3B [18:33:56]CommunicateWithHost err = 0 [18:33:56]CheckOFDResponse [18:33:56]1017 (14) - 77093643461234 [18:33:56]1041 (16) - 0000000000959358 [18:33:56]1040 (4) - 22499 [18:33:56]1012 (4) - 25.09.2024 12:27 [18:33:56]1206 (1) - 0 [18:33:56]OFD Sender: Remove packet 22499 [18:33:56]ProducePacketName [18:33:56]name=ofd_packets/00022499 [18:33:56]NVStorageDeleteData [18:33:56]MH_Cut [18:33:56]Write to MH i2c: D1 01 00 2F 0A 01 0B [18:33:56]Write i2c OK [18:33:56]MH_I2C_Read... [18:33:56]Read from MH i2c: D1 [18:33:56]MH_I2C_Read... [18:33:56]Read from MH i2c: D1 01 00 [18:33:56]MH_I2C_Read... [18:33:56]Read from MH i2c: D1 01 00 2F 0A 00 0A [18:33:56]Write to MH i2c: 01 00 00 30 0A 3A [18:33:56]Write i2c OK [18:33:56]MH_I2C_Read... [18:33:57]OFD Sender: No OFD packet to send [18:33:57]*** Cut start [18:33:57]*** Partial cut [18:33:57]*** CUTSNS_PIN = 1 [18:33:57]*** CUTSNS_PIN = 0 [18:33:57]*** Brake cut motor [18:33:58]Read from MH i2c: 01 [18:33:58]MH_I2C_Read... [18:33:58]*** Stop cut motor [18:33:58]*** Cut end [18:33:58]Read from MH i2c: 01 07 00 [18:33:58]MH_I2C_Read... [18:33:58]Read from MH i2c: 01 07 00 30 0A 00 00 00 00 00 FF 0F 4F [18:33:58]process_action close_receipt done [18:33:58]requested_data is exist [18:33:58]produce_requested_data [18:33:58]requested_item fm.sn is exist - process it [18:33:58]wFMCommunicate request_size=4 [18:33:58]MH_SAM_APDU [18:33:58]CAPDU: 80 11 00 00 [18:33:58]Write to MH i2c: E2 08 00 31 0A 80 11 00 00 00 00 00 00 B5 [18:33:58]Write i2c OK [18:33:58]MH_I2C_Read... [18:33:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:33:58]Read from MH i2c: E2 [18:33:58]MH_I2C_Read... [18:33:58]Read from MH i2c: E2 17 00 [18:33:58]MH_I2C_Read... [18:33:58]Read from MH i2c: E2 17 00 31 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 0F [18:33:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:33:58]wFMCommunicate OK [18:33:58]requested_item fd.num is exist - process it [18:33:58]SAM_PROTO_GetFieldsCounters [18:33:58]wFMCommunicate request_size=4 [18:33:58]MH_SAM_APDU [18:33:58]CAPDU: 80 13 00 00 [18:33:58]Write to MH i2c: E2 08 00 32 0A 80 13 00 00 00 00 00 00 B8 [18:33:58]Write i2c OK [18:33:58]MH_I2C_Read... [18:33:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:33:58]Read from MH i2c: E2 [18:33:58]MH_I2C_Read... [18:33:58]Read from MH i2c: E2 62 00 [18:33:58]MH_I2C_Read... [18:33:58]Read from MH i2c: E2 62 00 32 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 E3 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 D4 [18:33:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 E3 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:33:58]wFMCommunicate OK [18:33:58]SAM_PROTO_GetFieldsCounters done [18:33:58]requested_item shift.num is exist - process it [18:33:58]requested_item shift.opened is exist - process it [18:33:58]req_shift_opened [18:33:58]FM_GetShiftState [18:33:58]SAM_PROTO_GetShiftState [18:33:58]wFMCommunicate request_size=4 [18:33:58]MH_SAM_APDU [18:33:58]CAPDU: 80 13 01 00 [18:33:58]Write to MH i2c: E2 08 00 33 0A 80 13 01 00 00 00 00 00 BA [18:33:58]Write i2c OK [18:33:58]MH_I2C_Read... [18:33:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:33:58]Read from MH i2c: E2 [18:33:58]MH_I2C_Read... [18:33:58]Read from MH i2c: E2 0E 00 [18:33:58]MH_I2C_Read... [18:33:58]Read from MH i2c: E2 0E 00 33 0A 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 4B [18:33:58]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:33:58]wFMCommunicate OK [18:33:58]SAM_PROTO_GetShiftState done [18:33:58]FM_GetShiftState done [18:33:58]req_shift_opened done [18:33:58]requested_item shift.open_date is exist - process it [18:33:58]req_shift_open_date [18:33:58]req_shift_open_date done [18:33:58]produce_requested_data done [18:33:58]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22499,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [18:33:58]process_action_free close_receipt [18:33:58]json_value_free [18:33:58]json_value_free done [18:33:58]process_json_proto returns [18:33:58]Send response to host [18:33:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22499,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [18:33:58]free response buf [18:33:58]execute_script done [18:33:58]execute_script returns [18:33:58]free content buf [18:33:58]Sock 7.Close socket [18:33:58]Sock 7.Thread stoped [18:34:02]OFD Sender: No OFD packet to send [18:34:07]OFD Sender: No OFD packet to send [18:34:12]OFD Sender: No OFD packet to send [18:34:17]OFD Sender: No OFD packet to send [18:34:22]OFD Sender: No OFD packet to send [18:34:25]accept exits with 9 [18:34:25]New connection [18:34:25]New thread 3067440484 created [18:34:25]Thread 3067583844 joined [18:34:25]Waiting for new connection... [18:34:25] Sock 9.Parse request [18:34:25]Sock 9.Check first char [18:34:25]Sock 9.First char is OK [18:34:25]request: POST /json_proto HTTP/1.0 [18:34:25]Method: POST [18:34:25]URL: /json_proto [18:34:25]Method is POST - this is cgi request [18:34:25]url: /json_proto [18:34:25]query_string will be loaded in cgi processing [18:34:25]execute_cgi json_proto POST (null) [18:34:25]execute_cgi path=json_proto method=POST [18:34:25]POST find Content-Length [18:34:25]Host: 172.17.43.4:8080 [18:34:25]Content-Length: 683 [18:34:25]Content-Type: application/json [18:34:25] [18:34:25]POST finish read [18:34:25]Found Content-Length = 683 [18:34:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165051", "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" ] } } [18:34:25]execute_script... [18:34:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165051", "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" ] } } [18:34:25]POST & json_proto [18:34:25]process_json_proto [18:34:25]json parsed OK: [18:34:25]protocol is kg_v1.0 [18:34:25]action value=close_receipt [18:34:25]process_action close_receipt [18:34:25]cmd_close_receipt [18:34:25]MH_GetDate [18:34:25]Write to MH i2c: F0 00 00 34 0A 2D [18:34:25]Write i2c OK [18:34:25]MH_I2C_Read... [18:34:25]Read from MH i2c: F0 [18:34:25]MH_I2C_Read... [18:34:25]Read from MH i2c: F0 09 00 [18:34:25]MH_I2C_Read... [18:34:25]Read from MH i2c: F0 09 00 34 0A 00 B2 57 F4 66 02 BF CF 66 8F [18:34:25]GetLastDocTimeStamp 1727289235 [18:34:25]current date 1727289266 [18:34:25]FM_GetShiftState [18:34:25]SAM_PROTO_GetShiftState [18:34:25]wFMCommunicate request_size=4 [18:34:25]MH_SAM_APDU [18:34:25]CAPDU: 80 13 01 00 [18:34:25]Write to MH i2c: E2 08 00 35 0A 80 13 01 00 00 00 00 00 BC [18:34:25]Write i2c OK [18:34:25]MH_I2C_Read... [18:34:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:34:25]Read from MH i2c: E2 [18:34:25]MH_I2C_Read... [18:34:25]Read from MH i2c: E2 0E 00 [18:34:25]MH_I2C_Read... [18:34:25]Read from MH i2c: E2 0E 00 35 0A 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 4D [18:34:25]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:34:25]wFMCommunicate OK [18:34:25]SAM_PROTO_GetShiftState done [18:34:25]FM_GetShiftState done [18:34:25]opened in 1727224020 [18:34:25]opened+sec_in_day 1727310420 [18:34:25]quantity*price = 100005 [18:34:25]sum+1 = 100006 [18:34:25]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.05 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.20 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 73 25.09.2024 18:34 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22500 ФПД: 107428373340085 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T183426&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22500&fm=107428373340085&tin=02508201610067®Number=0000000000146243&sum=100000 [18:34:26]StoreToDocumentArchive [18:34:26]shift 231 fd 22500 [18:34:26]save to /storage/0231/doc_00022500 [18:34:26]save last doc name /storage/0231/doc_00022500 to /storage/kkm_last_doc_name [18:34:26]save OK [18:34:26]Clear old archive folders... [18:34:26]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:34:26]tlvbuf is 00204310 [18:34:26]SAM_PROTO_ClearQueue [18:34:26]wFMCommunicate request_size=4 [18:34:26]MH_SAM_APDU [18:34:26]CAPDU: 80 09 00 00 [18:34:26]Write to MH i2c: E2 08 00 42 0A 80 09 00 00 00 00 00 00 BE [18:34:26]Write i2c OK [18:34:26]MH_I2C_Read... [18:34:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:34:26]Read from MH i2c: E2 [18:34:26]MH_I2C_Read... [18:34:26]Read from MH i2c: E2 03 00 [18:34:26]MH_I2C_Read... [18:34:26]Read from MH i2c: E2 03 00 42 0A 00 90 00 C0 [18:34:26]RAPDU: 90 00 [18:34:26]wFMCommunicate OK [18:34:26]SAM_PROTO_ClearQueue done [18:34:26]KKMCreateOFDPacket [18:34:26]OFDProtocolAddRootSTLVToBuf [18:34:26]FM_MakeSignedData [18:34:26]FM_MakeSignedData [18:34:26]SAM_PROTO_SignData [18:34:26]wFMCommunicate request_size=4 [18:34:26]MH_SAM_APDU [18:34:26]CAPDU: 80 0D 01 02 [18:34:26]Write to MH i2c: E2 08 00 43 0A 80 0D 01 02 00 00 00 00 C6 [18:34:26]Write i2c OK [18:34:26]MH_I2C_Read... [18:34:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:34:26]Read from MH i2c: E2 [18:34:26]MH_I2C_Read... [18:34:26]Read from MH i2c: E2 03 00 [18:34:26]MH_I2C_Read... [18:34:26]Read from MH i2c: E2 03 00 43 0A 00 90 00 C1 [18:34:26]RAPDU: 90 00 [18:34:26]wFMCommunicate OK [18:34:26]wFMCommunicate request_size=255 [18:34:26]MH_SAM_APDU [18:34:26]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 49 00 00 00 F4 03 04 00 B2 57 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E4 57 00 00 35 04 06 00 61 [18:34:26]Write to MH i2c: E2 02 01 44 0A 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 49 00 00 00 F4 03 04 00 B2 57 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E4 57 00 00 35 04 06 00 61 00 00 05 [18:34:26]Write i2c OK [18:34:26]MH_I2C_Read... [18:34:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:34:26]Read from MH i2c: E2 [18:34:26]MH_I2C_Read... [18:34:26]Read from MH i2c: E2 03 00 [18:34:26]MH_I2C_Read... [18:34:26]Read from MH i2c: E2 03 00 44 0A 00 90 00 C2 [18:34:26]RAPDU: 90 00 [18:34:26]wFMCommunicate OK [18:34:26]wFMCommunicate request_size=10 [18:34:26]MH_SAM_APDU [18:34:26]CAPDU: 80 0D 02 02 05 B4 9E 08 1F B5 [18:34:26]Write to MH i2c: E2 0D 00 45 0A 80 0D 02 02 05 00 B4 9E 08 1F B5 00 00 01 [18:34:26]Write i2c OK [18:34:26]MH_I2C_Read... [18:34:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:34:27]Read from MH i2c: E2 [18:34:27]MH_I2C_Read... [18:34:27]Read from MH i2c: E2 03 00 [18:34:27]MH_I2C_Read... [18:34:27]Read from MH i2c: E2 03 00 45 0A 00 90 00 C3 [18:34:27]RAPDU: 90 00 [18:34:27]wFMCommunicate OK [18:34:27]wFMCommunicate request_size=4 [18:34:27]MH_SAM_APDU [18:34:27]CAPDU: 80 0D 03 02 [18:34:27]Write to MH i2c: E2 08 00 46 0A 80 0D 03 02 00 00 00 00 CB [18:34:27]Write i2c OK [18:34:27]MH_I2C_Read... [18:34:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:34:27]Read from MH i2c: E2 [18:34:27]MH_I2C_Read... [18:34:27]Read from MH i2c: E2 0B 00 [18:34:27]MH_I2C_Read... [18:34:27]Read from MH i2c: E2 0B 00 46 0A 00 02 2F E0 37 E1 B0 FC 6C 90 00 0D [18:34:27]RAPDU: 02 2F E0 37 E1 B0 FC 6C 90 00 [18:34:27]wFMCommunicate OK [18:34:27]SAM_PROTO_SignData done [18:34:27]FM_MakeSignedData done [18:34:27]CreateOFDProtocolMessage [18:34:27]wFMCommunicate request_size=4 [18:34:27]MH_SAM_APDU [18:34:27]CAPDU: 80 11 00 00 [18:34:27]Write to MH i2c: E2 08 00 47 0A 80 11 00 00 00 00 00 00 CB [18:34:27]Write i2c OK [18:34:27]MH_I2C_Read... [18:34:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:34:27]Read from MH i2c: E2 [18:34:27]MH_I2C_Read... [18:34:27]Read from MH i2c: E2 17 00 [18:34:27]MH_I2C_Read... [18:34:27]Read from MH i2c: E2 17 00 47 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 25 [18:34:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:34:27]wFMCommunicate OK [18:34:27]CreateOFDProtocolMessage done [18:34:27]OFDSenderStorePacket 22500 [18:34:27]StoreOFDPacket docnum=22500 [18:34:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 9D 39 07 01 A0 C8 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 49 00 00 00 F4 03 04 00 B2 57 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E4 57 00 00 35 04 06 00 61 B4 9E 08 1F B5 02 2F E0 37 E1 B0 FC 6C [18:34:27]CheckFolder [18:34:27]dirname=/storage/ofd_packets [18:34:27]CheckFolder done [18:34:27]ProducePacketName [18:34:27]name=ofd_packets/00022500 [18:34:27]NVStorageSaveData ofd_packets/00022500 [18:34:27]File name is /storage/ofd_packets/00022500 [18:34:27]Write 301 bytes [18:34:27]NVStorageSaveData done [18:34:27]OFDSenderStorePacket done [18:34:27]KKMCreateOFDPacket done [18:34:27]NVStorageSaveData kkm_last_timestamp [18:34:27]File name is /storage/kkm_last_timestamp [18:34:27]Write 4 bytes [18:34:27]NVStorageSaveData done [18:34:27]ExternCall_PrintAddStr [18:34:27]wPrintStart [18:34:27]Write to MH i2c: 01 00 00 48 0A 52 [18:34:27]Write i2c OK [18:34:27]MH_I2C_Read... [18:34:27]Read from MH i2c: 01 [18:34:27]MH_I2C_Read... [18:34:27]Read from MH i2c: 01 07 00 [18:34:27]MH_I2C_Read... [18:34:27]Read from MH i2c: 01 07 00 48 0A 00 00 00 00 00 FF 0F 67 [18:34:27]RasterBufferAndPrint [18:34:27]line Счет N : (1)2165051 [18:34:27]line ИНН: 02508201610067 [18:34:27]line Контрольно-Кассовый Чек [18:34:27]line ПРОДАЖА [18:34:27]line ТРК (МРК, ГНК) : 43 [18:34:27]line Товар: 2710124130 [18:34:27]line Аи-92-К-5 [18:34:27]line 14.750 * 67.80 [18:34:27]line = 1000.05 [18:34:27]line НДС 12% НСП 1% [18:34:27]line > о реализуемом товаре [18:34:27]line ОКРУГЛЕНИЕ: -0.05 [18:34:27]line ИТОГО: 1000.00 [18:34:27]line Внесено: 1000.00 [18:34:27]line СДАЧА: 0.00 [18:34:27]line НСП 1% : 8.85 [18:34:27]line НДС 12% : 106.20 [18:34:27]line Наличными: 1000.00 [18:34:27]line Безнал.: 0.00 [18:34:27]line Место: АЗС № 88 "Партнер Нефть" [18:34:27]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [18:34:27]line СНО: Общий режим [18:34:27]line Чек 73 25.09.2024 18:34 [18:34:27]line Смена: 231 ФФД: 1.0 [18:34:27]line ЗНМ: 0300000061 [18:34:27]line РНМ: 0000000000146243 [18:34:27]line Версия ККМ: v1.0 [18:34:27]line ФМ: 0000000000959358 [18:34:27]line ФД: 22500 [18:34:27]line ФПД: 107428373340085 [18:34:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T183426&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22500&fm=107428373340085&tin=02508201610067®Number=0000000000146243&sum=100000 [18:34:27]OFD Sender: Processing packet 22500 [packets to send 23, broken 22] [18:34:27]ProducePacketName [18:34:27]name=ofd_packets/00022500 [18:34:27]OFD Sender: To server: pG, [18:34:27]CommunicateWithHost lk.salyk.kg:30040 [18:34:27]ConnectInit lk.salyk.kg [18:34:27]written 0, free lines is 4095 [18:34:27]Connected sock=10 [18:34:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 9D 39 07 01 A0 C8 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 49 00 00 00 F4 03 04 00 B2 57 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E4 57 00 00 35 04 06 00 61 B4 9E 08 1F B5 02 2F E0 37 E1 B0 FC 6C [18:34:27]Write to MH i2c: 01 00 00 73 0A 7D [18:34:27]Write i2c OK [18:34:27]MH_I2C_Read... [18:34:27]Read from MH i2c: 01 [18:34:27]MH_I2C_Read... [18:34:27]Read from MH i2c: 01 07 00 [18:34:27]MH_I2C_Read... [18:34:27]Read from MH i2c: 01 07 00 73 0A 00 00 00 00 00 FE 0C 8E [18:34:27]RasterBufferAndPrint [18:34:27]line [18:34:27]line [18:34:27]line [18:34:27]line [18:34:27]line [18:34:27]written 0, free lines is 3332 [18:34:27]MH_Cut [18:34:27]Write to MH i2c: D1 01 00 7A 0A 01 56 [18:34:27]Write i2c OK [18:34:27]MH_I2C_Read... [18:34:27]Read from MH i2c: D1 [18:34:27]MH_I2C_Read... [18:34:27]Read from MH i2c: D1 01 00 [18:34:27]MH_I2C_Read... [18:34:27]Read from MH i2c: D1 01 00 7A 0A 00 55 [18:34:27]Write to MH i2c: 01 00 00 7B 0A 85 [18:34:27]Write i2c OK [18:34:27]MH_I2C_Read... [18:34:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 71 9E 47 00 55 7D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E4 57 00 00 F4 03 04 00 D4 01 F4 66 B6 04 01 00 00 B1 08 C3 E3 27 93 96 D7 [18:34:27]CommunicateWithHost err = 0 [18:34:27]CheckOFDResponse [18:34:27]1017 (14) - 77093643461234 [18:34:27]1041 (16) - 0000000000959358 [18:34:27]1040 (4) - 22500 [18:34:27]1012 (4) - 25.09.2024 12:28 [18:34:27]1206 (1) - 0 [18:34:27]OFD Sender: Remove packet 22500 [18:34:27]ProducePacketName [18:34:27]name=ofd_packets/00022500 [18:34:27]NVStorageDeleteData [18:34:28]OFD Sender: No OFD packet to send [18:34:28]*** Cut start [18:34:28]*** Partial cut [18:34:28]*** CUTSNS_PIN = 1 [18:34:28]*** CUTSNS_PIN = 0 [18:34:28]*** Brake cut motor [18:34:29]Read from MH i2c: 01 [18:34:29]MH_I2C_Read... [18:34:29]*** Stop cut motor [18:34:29]*** Cut end [18:34:29]Read from MH i2c: 01 07 00 [18:34:29]MH_I2C_Read... [18:34:29]Read from MH i2c: 01 07 00 7B 0A 00 00 00 00 00 FF 0F 9A [18:34:29]process_action close_receipt done [18:34:29]requested_data is exist [18:34:29]produce_requested_data [18:34:29]requested_item fm.sn is exist - process it [18:34:29]wFMCommunicate request_size=4 [18:34:29]MH_SAM_APDU [18:34:29]CAPDU: 80 11 00 00 [18:34:29]Write to MH i2c: E2 08 00 7C 0A 80 11 00 00 00 00 00 00 00 [18:34:29]Write i2c OK [18:34:29]MH_I2C_Read... [18:34:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:34:29]Read from MH i2c: E2 [18:34:29]MH_I2C_Read... [18:34:29]Read from MH i2c: E2 17 00 [18:34:29]MH_I2C_Read... [18:34:29]Read from MH i2c: E2 17 00 7C 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 5A [18:34:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:34:29]wFMCommunicate OK [18:34:29]requested_item fd.num is exist - process it [18:34:29]SAM_PROTO_GetFieldsCounters [18:34:29]wFMCommunicate request_size=4 [18:34:29]MH_SAM_APDU [18:34:29]CAPDU: 80 13 00 00 [18:34:29]Write to MH i2c: E2 08 00 7D 0A 80 13 00 00 00 00 00 00 03 [18:34:29]Write i2c OK [18:34:29]MH_I2C_Read... [18:34:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:34:29]Read from MH i2c: E2 [18:34:29]MH_I2C_Read... [18:34:29]Read from MH i2c: E2 62 00 [18:34:29]MH_I2C_Read... [18:34:29]Read from MH i2c: E2 62 00 7D 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 E4 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 23 [18:34:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 E4 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:34:29]wFMCommunicate OK [18:34:29]SAM_PROTO_GetFieldsCounters done [18:34:29]requested_item shift.num is exist - process it [18:34:29]requested_item shift.opened is exist - process it [18:34:29]req_shift_opened [18:34:29]FM_GetShiftState [18:34:29]SAM_PROTO_GetShiftState [18:34:29]wFMCommunicate request_size=4 [18:34:29]MH_SAM_APDU [18:34:29]CAPDU: 80 13 01 00 [18:34:29]Write to MH i2c: E2 08 00 7E 0A 80 13 01 00 00 00 00 00 05 [18:34:29]Write i2c OK [18:34:29]MH_I2C_Read... [18:34:29]Read from MH i2c: E2 [18:34:29]MH_I2C_Read... [18:34:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:34:29]Read from MH i2c: E2 0E 00 [18:34:29]MH_I2C_Read... [18:34:29]Read from MH i2c: E2 0E 00 7E 0A 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 96 [18:34:29]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:34:29]wFMCommunicate OK [18:34:29]SAM_PROTO_GetShiftState done [18:34:29]FM_GetShiftState done [18:34:29]req_shift_opened done [18:34:29]requested_item shift.open_date is exist - process it [18:34:29]req_shift_open_date [18:34:29]req_shift_open_date done [18:34:29]produce_requested_data done [18:34:29]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22500,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [18:34:29]process_action_free close_receipt [18:34:29]json_value_free [18:34:29]json_value_free done [18:34:29]process_json_proto returns [18:34:29]Send response to host [18:34:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22500,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [18:34:29]free response buf [18:34:29]execute_script done [18:34:29]execute_script returns [18:34:29]free content buf [18:34:29]Sock 9.Close socket [18:34:29]Sock 9.Thread stoped [18:34:33]OFD Sender: No OFD packet to send [18:34:38]OFD Sender: No OFD packet to send [18:34:43]OFD Sender: No OFD packet to send [18:34:48]OFD Sender: No OFD packet to send [18:34:53]OFD Sender: No OFD packet to send [18:34:58]OFD Sender: No OFD packet to send [18:35:03]OFD Sender: No OFD packet to send [18:35:08]OFD Sender: No OFD packet to send [18:35:13]OFD Sender: No OFD packet to send [18:35:16]accept exits with 7 [18:35:16]New connection [18:35:16]New thread 3067583844 created [18:35:16]Thread 3067440484 joined [18:35:16]Waiting for new connection... [18:35:16] Sock 7.Parse request [18:35:16]Sock 7.Check first char [18:35:16]Sock 7.First char is OK [18:35:16]request: POST /json_proto HTTP/1.0 [18:35:16]Method: POST [18:35:16]URL: /json_proto [18:35:16]Method is POST - this is cgi request [18:35:16]url: /json_proto [18:35:16]query_string will be loaded in cgi processing [18:35:16]execute_cgi json_proto POST (null) [18:35:16]execute_cgi path=json_proto method=POST [18:35:16]POST find Content-Length [18:35:16]Host: 172.17.43.4:8080 [18:35:16]Content-Length: 676 [18:35:16]Content-Type: application/json [18:35:16] [18:35:16]POST finish read [18:35:16]Found Content-Length = 676 [18:35:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165052", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 10.500, "sum" : 800.10, "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" ] } } [18:35:16]execute_script... [18:35:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165052", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 10.500, "sum" : 800.10, "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" ] } } [18:35:16]POST & json_proto [18:35:16]process_json_proto [18:35:16]json parsed OK: [18:35:16]protocol is kg_v1.0 [18:35:16]action value=close_receipt [18:35:16]process_action close_receipt [18:35:16]cmd_close_receipt [18:35:16]MH_GetDate [18:35:16]Write to MH i2c: F0 00 00 7F 0A 78 [18:35:16]Write i2c OK [18:35:16]MH_I2C_Read... [18:35:16]Read from MH i2c: F0 [18:35:16]MH_I2C_Read... [18:35:16]Read from MH i2c: F0 09 00 [18:35:16]MH_I2C_Read... [18:35:16]Read from MH i2c: F0 09 00 7F 0A 00 E5 57 F4 66 02 BF CF 66 0D [18:35:16]GetLastDocTimeStamp 1727289266 [18:35:16]current date 1727289317 [18:35:16]FM_GetShiftState [18:35:16]SAM_PROTO_GetShiftState [18:35:16]wFMCommunicate request_size=4 [18:35:16]MH_SAM_APDU [18:35:16]CAPDU: 80 13 01 00 [18:35:16]Write to MH i2c: E2 08 00 80 0A 80 13 01 00 00 00 00 00 07 [18:35:16]Write i2c OK [18:35:16]MH_I2C_Read... [18:35:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:35:16]Read from MH i2c: E2 [18:35:16]MH_I2C_Read... [18:35:16]Read from MH i2c: E2 0E 00 [18:35:16]MH_I2C_Read... [18:35:16]Read from MH i2c: E2 0E 00 80 0A 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 98 [18:35:16]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:35:16]wFMCommunicate OK [18:35:16]SAM_PROTO_GetShiftState done [18:35:16]FM_GetShiftState done [18:35:16]opened in 1727224020 [18:35:16]opened+sec_in_day 1727310420 [18:35:16]quantity*price = 80010 [18:35:16]sum+1 = 80011 [18:35:16]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.10 ИТОГО: 800.00 Внесено: 800.00 СДАЧА: 0.00 НСП 1% : 7.08 НДС 12% : 84.97 Наличными: 800.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 74 25.09.2024 18:35 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22501 ФПД: 30306400447715 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T183517&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22501&fm=30306400447715&tin=02508201610067®Number=0000000000146243&sum=80000 [18:35:17]StoreToDocumentArchive [18:35:17]shift 231 fd 22501 [18:35:17]save to /storage/0231/doc_00022501 [18:35:17]save last doc name /storage/0231/doc_00022501 to /storage/kkm_last_doc_name [18:35:17]save OK [18:35:17]Clear old archive folders... [18:35:17]ProcessDocumentItem done err = 0, tmpTLVsize=248 [18:35:17]tlvbuf is 00233EF0 [18:35:17]SAM_PROTO_ClearQueue [18:35:17]wFMCommunicate request_size=4 [18:35:17]MH_SAM_APDU [18:35:17]CAPDU: 80 09 00 00 [18:35:17]Write to MH i2c: E2 08 00 8D 0A 80 09 00 00 00 00 00 00 09 [18:35:17]Write i2c OK [18:35:17]MH_I2C_Read... [18:35:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:35:17]Read from MH i2c: E2 [18:35:17]MH_I2C_Read... [18:35:17]Read from MH i2c: E2 03 00 [18:35:17]MH_I2C_Read... [18:35:17]Read from MH i2c: E2 03 00 8D 0A 00 90 00 0B [18:35:17]RAPDU: 90 00 [18:35:17]wFMCommunicate OK [18:35:17]SAM_PROTO_ClearQueue done [18:35:17]KKMCreateOFDPacket [18:35:17]OFDProtocolAddRootSTLVToBuf [18:35:17]FM_MakeSignedData [18:35:17]FM_MakeSignedData [18:35:17]SAM_PROTO_SignData [18:35:17]wFMCommunicate request_size=4 [18:35:17]MH_SAM_APDU [18:35:17]CAPDU: 80 0D 01 02 [18:35:17]Write to MH i2c: E2 08 00 8E 0A 80 0D 01 02 00 00 00 00 11 [18:35:17]Write i2c OK [18:35:17]MH_I2C_Read... [18:35:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:35:17]Read from MH i2c: E2 [18:35:17]MH_I2C_Read... [18:35:17]Read from MH i2c: E2 03 00 [18:35:17]MH_I2C_Read... [18:35:17]Read from MH i2c: E2 03 00 8E 0A 00 90 00 0C [18:35:17]RAPDU: 90 00 [18:35:17]wFMCommunicate OK [18:35:17]wFMCommunicate request_size=255 [18:35:17]MH_SAM_APDU [18:35:17]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 04 29 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8A 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 31 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 4A 00 00 00 F4 03 04 00 E5 57 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E5 57 00 00 35 04 06 00 1B 90 42 3B [18:35:17]Write to MH i2c: E2 02 01 8F 0A 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 04 29 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8A 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 31 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 4A 00 00 00 F4 03 04 00 E5 57 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E5 57 00 00 35 04 06 00 1B 90 42 3B 00 00 F6 [18:35:17]Write i2c OK [18:35:17]MH_I2C_Read... [18:35:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:35:18]Read from MH i2c: E2 [18:35:18]MH_I2C_Read... [18:35:18]Read from MH i2c: E2 03 00 [18:35:18]MH_I2C_Read... [18:35:18]Read from MH i2c: E2 03 00 8F 0A 00 90 00 0D [18:35:18]RAPDU: 90 00 [18:35:18]wFMCommunicate OK [18:35:18]wFMCommunicate request_size=7 [18:35:18]MH_SAM_APDU [18:35:18]CAPDU: 80 0D 02 02 02 AC E3 [18:35:18]Write to MH i2c: E2 0A 00 90 0A 80 0D 02 02 02 00 AC E3 00 00 A7 [18:35:18]Write i2c OK [18:35:18]MH_I2C_Read... [18:35:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:35:18]Read from MH i2c: E2 [18:35:18]MH_I2C_Read... [18:35:18]Read from MH i2c: E2 03 00 [18:35:18]MH_I2C_Read... [18:35:18]Read from MH i2c: E2 03 00 90 0A 00 90 00 0E [18:35:18]RAPDU: 90 00 [18:35:18]wFMCommunicate OK [18:35:18]wFMCommunicate request_size=4 [18:35:18]MH_SAM_APDU [18:35:18]CAPDU: 80 0D 03 02 [18:35:18]Write to MH i2c: E2 08 00 91 0A 80 0D 03 02 00 00 00 00 16 [18:35:18]Write i2c OK [18:35:18]MH_I2C_Read... [18:35:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:35:18]Read from MH i2c: E2 [18:35:18]MH_I2C_Read... [18:35:18]Read from MH i2c: E2 0B 00 [18:35:18]MH_I2C_Read... [18:35:18]Read from MH i2c: E2 0B 00 91 0A 00 14 42 59 0C B8 7C 0B 66 90 00 77 [18:35:18]RAPDU: 14 42 59 0C B8 7C 0B 66 90 00 [18:35:18]wFMCommunicate OK [18:35:18]SAM_PROTO_SignData done [18:35:18]FM_MakeSignedData done [18:35:18]CreateOFDProtocolMessage [18:35:18]wFMCommunicate request_size=4 [18:35:18]MH_SAM_APDU [18:35:18]CAPDU: 80 11 00 00 [18:35:18]Write to MH i2c: E2 08 00 92 0A 80 11 00 00 00 00 00 00 16 [18:35:18]Write i2c OK [18:35:18]MH_I2C_Read... [18:35:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:35:18]Read from MH i2c: E2 [18:35:18]MH_I2C_Read... [18:35:18]Read from MH i2c: E2 17 00 [18:35:18]MH_I2C_Read... [18:35:18]Read from MH i2c: E2 17 00 92 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 70 [18:35:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:35:18]wFMCommunicate OK [18:35:18]CreateOFDProtocolMessage done [18:35:18]OFDSenderStorePacket 22501 [18:35:18]StoreOFDPacket docnum=22501 [18:35:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 01 00 00 6F DC 04 01 92 D9 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 04 29 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8A 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 31 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 4A 00 00 00 F4 03 04 00 E5 57 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E5 57 00 00 35 04 06 00 1B 90 42 3B AC E3 14 42 59 0C B8 7C 0B 66 [18:35:18]CheckFolder [18:35:18]dirname=/storage/ofd_packets [18:35:18]CheckFolder done [18:35:18]ProducePacketName [18:35:18]name=ofd_packets/00022501 [18:35:18]NVStorageSaveData ofd_packets/00022501 [18:35:18]File name is /storage/ofd_packets/00022501 [18:35:18]Write 298 bytes [18:35:18]NVStorageSaveData done [18:35:18]OFDSenderStorePacket done [18:35:18]KKMCreateOFDPacket done [18:35:18]NVStorageSaveData kkm_last_timestamp [18:35:18]File name is /storage/kkm_last_timestamp [18:35:18]Write 4 bytes [18:35:18]NVStorageSaveData done [18:35:18]ExternCall_PrintAddStr [18:35:18]wPrintStart [18:35:18]Write to MH i2c: 01 00 00 93 0A 9D [18:35:18]Write i2c OK [18:35:18]MH_I2C_Read... [18:35:18]Read from MH i2c: 01 [18:35:18]MH_I2C_Read... [18:35:18]Read from MH i2c: 01 07 00 [18:35:18]MH_I2C_Read... [18:35:18]Read from MH i2c: 01 07 00 93 0A 00 00 00 00 00 FF 0F B2 [18:35:18]RasterBufferAndPrint [18:35:18]line Счет N : (1)2165052 [18:35:18]line ИНН: 02508201610067 [18:35:18]line Контрольно-Кассовый Чек [18:35:18]line ПРОДАЖА [18:35:18]line ТРК (МРК, ГНК) : 31 [18:35:18]line Товар: 2710194210 [18:35:18]line ДТ-К-5 [18:35:18]line 10.500 * 76.20 [18:35:18]line = 800.10 [18:35:18]line НДС 12% НСП 1% [18:35:18]line > о реализуемом товаре [18:35:18]line ОКРУГЛЕНИЕ: -0.10 [18:35:18]line ИТОГО: 800.00 [18:35:18]line Внесено: 800.00 [18:35:18]line СДАЧА: 0.00 [18:35:18]line НСП 1% : 7.08 [18:35:18]line НДС 12% : 84.97 [18:35:18]line Наличными: 800.00 [18:35:18]line Безнал.: 0.00 [18:35:18]line Место: АЗС № 88 "Партнер Нефть" [18:35:18]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [18:35:18]line СНО: Общий режим [18:35:18]line Чек 74 25.09.2024 18:35 [18:35:18]line Смена: 231 ФФД: 1.0 [18:35:18]line ЗНМ: 0300000061 [18:35:18]line РНМ: 0000000000146243 [18:35:18]line Версия ККМ: v1.0 [18:35:18]line ФМ: 0000000000959358 [18:35:18]line ФД: 22501 [18:35:18]line ФПД: 30306400447715 [18:35:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T183517&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22501&fm=30306400447715&tin=02508201610067®Number=0000000000146243&sum=80000 [18:35:18]OFD Sender: Processing packet 22501 [packets to send 23, broken 22] [18:35:18]ProducePacketName [18:35:18]name=ofd_packets/00022501 [18:35:18]OFD Sender: To server: pG, [18:35:18]CommunicateWithHost lk.salyk.kg:30040 [18:35:18]ConnectInit lk.salyk.kg [18:35:18]written 0, free lines is 4095 [18:35:18]Connected sock=10 [18:35:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 01 00 00 6F DC 04 01 92 D9 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 04 29 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 8A 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 31 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 4A 00 00 00 F4 03 04 00 E5 57 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E5 57 00 00 35 04 06 00 1B 90 42 3B AC E3 14 42 59 0C B8 7C 0B 66 [18:35:18]Write to MH i2c: 01 00 00 BE 0A C8 [18:35:18]Write i2c OK [18:35:18]MH_I2C_Read... [18:35:18]Read from MH i2c: 01 [18:35:18]MH_I2C_Read... [18:35:18]Read from MH i2c: 01 07 00 [18:35:18]MH_I2C_Read... [18:35:18]Read from MH i2c: 01 07 00 BE 0A 00 00 00 00 00 FA 0C D5 [18:35:18]RasterBufferAndPrint [18:35:18]line [18:35:18]line [18:35:18]line [18:35:18]line [18:35:18]line [18:35:18]written 0, free lines is 3328 [18:35:18]MH_Cut [18:35:18]Write to MH i2c: D1 01 00 C5 0A 01 A1 [18:35:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 20 1D 47 00 47 7E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E5 57 00 00 F4 03 04 00 07 02 F4 66 B6 04 01 00 00 35 FA 7C 34 28 8D 2B A3 [18:35:18]CommunicateWithHost err = 0 [18:35:18]CheckOFDResponse [18:35:18]1017 (14) - 77093643461234 [18:35:18]1041 (16) - 0000000000959358 [18:35:18]1040 (4) - 22501 [18:35:18]1012 (4) - 25.09.2024 12:28 [18:35:18]1206 (1) - 0 [18:35:18]OFD Sender: Remove packet 22501 [18:35:18]ProducePacketName [18:35:18]name=ofd_packets/00022501 [18:35:18]NVStorageDeleteData [18:35:18]Write i2c OK [18:35:18]MH_I2C_Read... [18:35:18]Read from MH i2c: D1 [18:35:18]MH_I2C_Read... [18:35:18]Read from MH i2c: D1 01 00 [18:35:18]MH_I2C_Read... [18:35:18]Read from MH i2c: D1 01 00 C5 0A 00 A0 [18:35:18]Write to MH i2c: 01 00 00 C6 0A D0 [18:35:18]Write i2c OK [18:35:18]MH_I2C_Read... [18:35:19]OFD Sender: No OFD packet to send [18:35:19]*** Cut start [18:35:19]*** Partial cut [18:35:19]*** CUTSNS_PIN = 1 [18:35:19]*** CUTSNS_PIN = 0 [18:35:19]*** Brake cut motor [18:35:20]Read from MH i2c: 01 [18:35:20]MH_I2C_Read... [18:35:20]*** Stop cut motor [18:35:20]*** Cut end [18:35:20]Read from MH i2c: 01 07 00 [18:35:20]MH_I2C_Read... [18:35:20]Read from MH i2c: 01 07 00 C6 0A 00 00 00 00 00 FF 0F E5 [18:35:20]process_action close_receipt done [18:35:20]requested_data is exist [18:35:20]produce_requested_data [18:35:20]requested_item fm.sn is exist - process it [18:35:20]wFMCommunicate request_size=4 [18:35:20]MH_SAM_APDU [18:35:20]CAPDU: 80 11 00 00 [18:35:20]Write to MH i2c: E2 08 00 C7 0A 80 11 00 00 00 00 00 00 4B [18:35:20]Write i2c OK [18:35:20]MH_I2C_Read... [18:35:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:35:20]Read from MH i2c: E2 [18:35:20]MH_I2C_Read... [18:35:20]Read from MH i2c: E2 17 00 [18:35:20]MH_I2C_Read... [18:35:20]Read from MH i2c: E2 17 00 C7 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 A5 [18:35:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:35:20]wFMCommunicate OK [18:35:20]requested_item fd.num is exist - process it [18:35:20]SAM_PROTO_GetFieldsCounters [18:35:20]wFMCommunicate request_size=4 [18:35:20]MH_SAM_APDU [18:35:20]CAPDU: 80 13 00 00 [18:35:20]Write to MH i2c: E2 08 00 C8 0A 80 13 00 00 00 00 00 00 4E [18:35:20]Write i2c OK [18:35:20]MH_I2C_Read... [18:35:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:35:20]Read from MH i2c: E2 [18:35:20]MH_I2C_Read... [18:35:20]Read from MH i2c: E2 62 00 [18:35:20]MH_I2C_Read... [18:35:20]Read from MH i2c: E2 62 00 C8 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 E5 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 72 [18:35:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 E5 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:35:20]wFMCommunicate OK [18:35:20]SAM_PROTO_GetFieldsCounters done [18:35:20]requested_item shift.num is exist - process it [18:35:20]requested_item shift.opened is exist - process it [18:35:20]req_shift_opened [18:35:20]FM_GetShiftState [18:35:20]SAM_PROTO_GetShiftState [18:35:20]wFMCommunicate request_size=4 [18:35:20]MH_SAM_APDU [18:35:20]CAPDU: 80 13 01 00 [18:35:20]Write to MH i2c: E2 08 00 C9 0A 80 13 01 00 00 00 00 00 50 [18:35:20]Write i2c OK [18:35:20]MH_I2C_Read... [18:35:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:35:20]Read from MH i2c: E2 [18:35:20]MH_I2C_Read... [18:35:20]Read from MH i2c: E2 0E 00 [18:35:20]MH_I2C_Read... [18:35:20]Read from MH i2c: E2 0E 00 C9 0A 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 E1 [18:35:20]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:35:20]wFMCommunicate OK [18:35:20]SAM_PROTO_GetShiftState done [18:35:20]FM_GetShiftState done [18:35:20]req_shift_opened done [18:35:20]requested_item shift.open_date is exist - process it [18:35:20]req_shift_open_date [18:35:20]req_shift_open_date done [18:35:20]produce_requested_data done [18:35:20]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22501,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [18:35:20]process_action_free close_receipt [18:35:20]json_value_free [18:35:20]json_value_free done [18:35:20]process_json_proto returns [18:35:20]Send response to host [18:35:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22501,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [18:35:20]free response buf [18:35:20]execute_script done [18:35:20]execute_script returns [18:35:20]free content buf [18:35:20]Sock 7.Close socket [18:35:20]Sock 7.Thread stoped [18:35:24]OFD Sender: No OFD packet to send [18:35:29]OFD Sender: No OFD packet to send [18:35:34]OFD Sender: No OFD packet to send [18:35:39]OFD Sender: No OFD packet to send [18:35:44]OFD Sender: No OFD packet to send [18:35:49]OFD Sender: No OFD packet to send [18:35:54]OFD Sender: No OFD packet to send [18:35:59]OFD Sender: No OFD packet to send [18:36:04]OFD Sender: No OFD packet to send [18:36:09]OFD Sender: No OFD packet to send [18:36:14]OFD Sender: No OFD packet to send [18:36:19]OFD Sender: No OFD packet to send [18:36:24]OFD Sender: No OFD packet to send [18:36:29]OFD Sender: No OFD packet to send [18:36:34]OFD Sender: No OFD packet to send [18:36:39]OFD Sender: No OFD packet to send [18:36:44]OFD Sender: No OFD packet to send [18:36:49]accept exits with 9 [18:36:49]New connection [18:36:49]New thread 3067440484 created [18:36:49]Thread 3067583844 joined [18:36:49]Waiting for new connection... [18:36:49] Sock 9.Parse request [18:36:49]Sock 9.Check first char [18:36:49]Sock 9.First char is OK [18:36:49]request: POST /json_proto HTTP/1.0 [18:36:49]Method: POST [18:36:49]URL: /json_proto [18:36:49]Method is POST - this is cgi request [18:36:49]url: /json_proto [18:36:49]query_string will be loaded in cgi processing [18:36:49]execute_cgi json_proto POST (null) [18:36:49]execute_cgi path=json_proto method=POST [18:36:49]POST find Content-Length [18:36:49]Host: 172.17.43.4:8080 [18:36:49]Content-Length: 763 [18:36:49]Content-Type: application/json [18:36:49] [18:36:49]POST finish read [18:36:49]Found Content-Length = 763 [18:36:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165053", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 0.00, "quantity" : 13.480, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:36:49]execute_script... [18:36: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)2165053", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 0.00, "quantity" : 13.480, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:36:49]POST & json_proto [18:36:49]process_json_proto [18:36:49]json parsed OK: [18:36:49]protocol is kg_v1.0 [18:36:49]action value=close_receipt [18:36:49]process_action close_receipt [18:36:49]cmd_close_receipt [18:36:49]MH_GetDate [18:36:49]Write to MH i2c: F0 00 00 CA 0A C3 [18:36:49]Write i2c OK [18:36:49]MH_I2C_Read... [18:36:49]Read from MH i2c: F0 [18:36:49]MH_I2C_Read... [18:36:49]Read from MH i2c: F0 09 00 [18:36:49]MH_I2C_Read... [18:36:49]Read from MH i2c: F0 09 00 CA 0A 00 42 58 F4 66 02 BF CF 66 B6 [18:36:49]GetLastDocTimeStamp 1727289317 [18:36:49]current date 1727289410 [18:36:49]FM_GetShiftState [18:36:49]SAM_PROTO_GetShiftState [18:36:49]wFMCommunicate request_size=4 [18:36:49]MH_SAM_APDU [18:36:49]CAPDU: 80 13 01 00 [18:36:49]Write to MH i2c: E2 08 00 CB 0A 80 13 01 00 00 00 00 00 52 [18:36:49]Write i2c OK [18:36:49]MH_I2C_Read... [18:36:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:36:49]Read from MH i2c: E2 [18:36:49]MH_I2C_Read... [18:36:49]Read from MH i2c: E2 0E 00 [18:36:49]MH_I2C_Read... [18:36:49]Read from MH i2c: E2 0E 00 CB 0A 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 E3 [18:36:49]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:36:49]wFMCommunicate OK [18:36:49]SAM_PROTO_GetShiftState done [18:36:49]FM_GetShiftState done [18:36:49]opened in 1727224020 [18:36:49]opened+sec_in_day 1727310420 [18:36:49]quantity*price = 0 [18:36:49]sum+1 = 1 [18:36:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 75 25.09.2024 18:36 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000959358 ФД: 22502 ФПД: 144395883354482 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T183650&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22502&fm=144395883354482&tin=02508201610067®Number=0000000000146243&sum=0 [18:36:50]StoreToDocumentArchive [18:36:50]shift 231 fd 22502 [18:36:50]save to /storage/0231/doc_00022502 [18:36:50]save last doc name /storage/0231/doc_00022502 to /storage/kkm_last_doc_name [18:36:50]save OK [18:36:50]Clear old archive folders... [18:36:50]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:36:50]tlvbuf is 00203A70 [18:36:50]SAM_PROTO_ClearQueue [18:36:50]wFMCommunicate request_size=4 [18:36:50]MH_SAM_APDU [18:36:50]CAPDU: 80 09 00 00 [18:36:50]Write to MH i2c: E2 08 00 D8 0A 80 09 00 00 00 00 00 00 54 [18:36:50]Write i2c OK [18:36:50]MH_I2C_Read... [18:36:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:36:50]Read from MH i2c: E2 [18:36:50]MH_I2C_Read... [18:36:50]Read from MH i2c: E2 03 00 [18:36:50]MH_I2C_Read... [18:36:50]Read from MH i2c: E2 03 00 D8 0A 00 90 00 56 [18:36:50]RAPDU: 90 00 [18:36:50]wFMCommunicate OK [18:36:50]SAM_PROTO_ClearQueue done [18:36:50]KKMCreateOFDPacket [18:36:50]OFDProtocolAddRootSTLVToBuf [18:36:50]FM_MakeSignedData [18:36:50]FM_MakeSignedData [18:36:50]SAM_PROTO_SignData [18:36:50]wFMCommunicate request_size=4 [18:36:50]MH_SAM_APDU [18:36:50]CAPDU: 80 0D 01 02 [18:36:50]Write to MH i2c: E2 08 00 D9 0A 80 0D 01 02 00 00 00 00 5C [18:36:50]Write i2c OK [18:36:50]MH_I2C_Read... [18:36:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:36:50]Read from MH i2c: E2 [18:36:50]MH_I2C_Read... [18:36:50]Read from MH i2c: E2 03 00 [18:36:50]MH_I2C_Read... [18:36:50]Read from MH i2c: E2 03 00 D9 0A 00 90 00 57 [18:36:50]RAPDU: 90 00 [18:36:50]wFMCommunicate OK [18:36:50]wFMCommunicate request_size=255 [18:36:50]MH_SAM_APDU [18:36:50]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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 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 4B 00 00 00 F4 03 04 00 42 58 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E6 57 00 00 35 04 06 00 83 [18:36:50]Write to MH i2c: E2 02 01 DA 0A 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 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 4B 00 00 00 F4 03 04 00 42 58 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E6 57 00 00 35 04 06 00 83 00 00 2E [18:36:50]Write i2c OK [18:36:50]MH_I2C_Read... [18:36:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:36:50]Read from MH i2c: E2 [18:36:50]MH_I2C_Read... [18:36:50]Read from MH i2c: E2 03 00 [18:36:50]MH_I2C_Read... [18:36:50]Read from MH i2c: E2 03 00 DA 0A 00 90 00 58 [18:36:50]RAPDU: 90 00 [18:36:50]wFMCommunicate OK [18:36:50]wFMCommunicate request_size=10 [18:36:50]MH_SAM_APDU [18:36:50]CAPDU: 80 0D 02 02 05 53 C9 55 99 72 [18:36:50]Write to MH i2c: E2 0D 00 DB 0A 80 0D 02 02 05 00 53 C9 55 99 72 00 00 E5 [18:36:50]Write i2c OK [18:36:50]MH_I2C_Read... [18:36:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:36:50]Read from MH i2c: E2 [18:36:50]MH_I2C_Read... [18:36:50]Read from MH i2c: E2 03 00 [18:36:50]MH_I2C_Read... [18:36:50]Read from MH i2c: E2 03 00 DB 0A 00 90 00 59 [18:36:50]RAPDU: 90 00 [18:36:50]wFMCommunicate OK [18:36:50]wFMCommunicate request_size=4 [18:36:50]MH_SAM_APDU [18:36:50]CAPDU: 80 0D 03 02 [18:36:50]Write to MH i2c: E2 08 00 DC 0A 80 0D 03 02 00 00 00 00 61 [18:36:50]Write i2c OK [18:36:50]MH_I2C_Read... [18:36:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:36:50]Read from MH i2c: E2 [18:36:50]MH_I2C_Read... [18:36:50]Read from MH i2c: E2 0B 00 [18:36:50]MH_I2C_Read... [18:36:50]Read from MH i2c: E2 0B 00 DC 0A 00 2D 9A A7 D2 7E DB 5C EE 90 00 45 [18:36:50]RAPDU: 2D 9A A7 D2 7E DB 5C EE 90 00 [18:36:50]wFMCommunicate OK [18:36:50]SAM_PROTO_SignData done [18:36:50]FM_MakeSignedData done [18:36:50]CreateOFDProtocolMessage [18:36:50]wFMCommunicate request_size=4 [18:36:50]MH_SAM_APDU [18:36:50]CAPDU: 80 11 00 00 [18:36:50]Write to MH i2c: E2 08 00 DD 0A 80 11 00 00 00 00 00 00 61 [18:36:50]Write i2c OK [18:36:50]MH_I2C_Read... [18:36:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:36:50]Read from MH i2c: E2 [18:36:50]MH_I2C_Read... [18:36:50]Read from MH i2c: E2 17 00 [18:36:50]MH_I2C_Read... [18:36:50]Read from MH i2c: E2 17 00 DD 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 BB [18:36:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:36:50]wFMCommunicate OK [18:36:50]CreateOFDProtocolMessage done [18:36:50]OFDSenderStorePacket 22502 [18:36:50]StoreOFDPacket docnum=22502 [18:36:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 E8 FE 07 01 B6 82 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 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 4B 00 00 00 F4 03 04 00 42 58 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E6 57 00 00 35 04 06 00 83 53 C9 55 99 72 2D 9A A7 D2 7E DB 5C EE [18:36:50]CheckFolder [18:36:50]dirname=/storage/ofd_packets [18:36:50]CheckFolder done [18:36:50]ProducePacketName [18:36:50]name=ofd_packets/00022502 [18:36:50]NVStorageSaveData ofd_packets/00022502 [18:36:50]File name is /storage/ofd_packets/00022502 [18:36:50]Write 301 bytes [18:36:50]NVStorageSaveData done [18:36:50]OFDSenderStorePacket done [18:36:50]KKMCreateOFDPacket done [18:36:50]NVStorageSaveData kkm_last_timestamp [18:36:50]File name is /storage/kkm_last_timestamp [18:36:50]Write 4 bytes [18:36:50]NVStorageSaveData done [18:36:50]ExternCall_PrintAddStr [18:36:50]wPrintStart [18:36:50]Write to MH i2c: 01 00 00 DE 0A E8 [18:36:50]Write i2c OK [18:36:50]MH_I2C_Read... [18:36:50]Read from MH i2c: 01 [18:36:50]MH_I2C_Read... [18:36:50]Read from MH i2c: 01 07 00 [18:36:50]MH_I2C_Read... [18:36:50]Read from MH i2c: 01 07 00 DE 0A 00 00 00 00 00 FF 0F FD [18:36:50]RasterBufferAndPrint [18:36:50]line Счет N : (1)2165053 [18:36:50]line ИНН: 02508201610067 [18:36:50]line Контрольно-Кассовый Чек [18:36:50]line ПРОДАЖА [18:36:50]line ТРК (МРК, ГНК) : 13 [18:36:50]line Товар: 2710124500 [18:36:50]line Аи-95-К-5 [18:36:50]line 13.480 * 0.00 [18:36:50]line = 0.00 [18:36:50]line НДС 12% НСП 1% [18:36:50]line > о реализуемом товаре [18:36:50]line ИТОГО: 0.00 [18:36:50]line НСП 1% : 0.00 [18:36:50]line НДС 12% : 0.00 [18:36:50]line Наличными: 0.00 [18:36:50]line Безнал.: 0.00 [18:36:50]line Место: АЗС № 88 "Партнер Нефть" [18:36:50]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [18:36:50]line СНО: Общий режим [18:36:50]line Чек 75 25.09.2024 18:36 [18:36:50]line Смена: 231 ФФД: 1.0 [18:36:50]line ЗНМ: 0300000061 [18:36:50]line РНМ: 0000000000146243 [18:36:50]line Версия ККМ: v1.0 [18:36:50]line Платежная система: Mbank [18:36:50]line ФМ: 0000000000959358 [18:36:50]line ФД: 22502 [18:36:50]line ФПД: 144395883354482 [18:36:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T183650&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22502&fm=144395883354482&tin=02508201610067®Number=0000000000146243&sum=0 [18:36:51]OFD Sender: Processing packet 22502 [packets to send 23, broken 22] [18:36:51]ProducePacketName [18:36:51]name=ofd_packets/00022502 [18:36:51]OFD Sender: To server: pG, [18:36:51]CommunicateWithHost lk.salyk.kg:30040 [18:36:51]ConnectInit lk.salyk.kg [18:36:51]written 0, free lines is 4095 [18:36:51]Connected sock=10 [18:36:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 E8 FE 07 01 B6 82 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 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 4B 00 00 00 F4 03 04 00 42 58 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E6 57 00 00 35 04 06 00 83 53 C9 55 99 72 2D 9A A7 D2 7E DB 5C EE [18:36:51]Write to MH i2c: 01 00 00 07 0B 12 [18:36:51]Write i2c OK [18:36:51]MH_I2C_Read... [18:36:51]Read from MH i2c: 01 [18:36:51]MH_I2C_Read... [18:36:51]Read from MH i2c: 01 07 00 [18:36:51]MH_I2C_Read... [18:36:51]Read from MH i2c: 01 07 00 07 0B 00 00 00 00 00 22 0D 48 [18:36:51]RasterBufferAndPrint [18:36:51]line [18:36:51]line [18:36:51]line [18:36:51]line [18:36:51]line [18:36:51]written 0, free lines is 3368 [18:36:51]MH_Cut [18:36:51]Write to MH i2c: D1 01 00 0E 0B 01 EB [18:36:51]Write i2c OK [18:36:51]MH_I2C_Read... [18:36:51]Read from MH i2c: D1 [18:36:51]MH_I2C_Read... [18:36:51]Read from MH i2c: D1 01 00 [18:36:51]MH_I2C_Read... [18:36:51]Read from MH i2c: D1 01 00 0E 0B 00 EA [18:36:51]Write to MH i2c: 01 00 00 0F 0B 1A [18:36:51]Write i2c OK [18:36:51]MH_I2C_Read... [18:36:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 B3 35 47 00 67 37 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E6 57 00 00 F4 03 04 00 64 02 F4 66 B6 04 01 00 00 4C 02 70 71 FC FC 0D 56 [18:36:51]CommunicateWithHost err = 0 [18:36:51]CheckOFDResponse [18:36:51]1017 (14) - 77093643461234 [18:36:51]1041 (16) - 0000000000959358 [18:36:51]1040 (4) - 22502 [18:36:51]1012 (4) - 25.09.2024 12:30 [18:36:51]1206 (1) - 0 [18:36:51]OFD Sender: Remove packet 22502 [18:36:51]ProducePacketName [18:36:51]name=ofd_packets/00022502 [18:36:51]NVStorageDeleteData [18:36:52]OFD Sender: No OFD packet to send [18:36:52]*** Cut start [18:36:52]*** Partial cut [18:36:52]*** CUTSNS_PIN = 1 [18:36:52]*** CUTSNS_PIN = 0 [18:36:52]*** Brake cut motor [18:36:52]Read from MH i2c: 01 [18:36:52]MH_I2C_Read... [18:36:52]*** Stop cut motor [18:36:52]*** Cut end [18:36:52]Read from MH i2c: 01 07 00 [18:36:52]MH_I2C_Read... [18:36:52]Read from MH i2c: 01 07 00 0F 0B 00 00 00 00 00 FF 0F 2F [18:36:52]process_action close_receipt done [18:36:52]requested_data is exist [18:36:52]produce_requested_data [18:36:52]requested_item fm.sn is exist - process it [18:36:52]wFMCommunicate request_size=4 [18:36:52]MH_SAM_APDU [18:36:52]CAPDU: 80 11 00 00 [18:36:52]Write to MH i2c: E2 08 00 10 0B 80 11 00 00 00 00 00 00 95 [18:36:52]Write i2c OK [18:36:52]MH_I2C_Read... [18:36:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:36:52]Read from MH i2c: E2 [18:36:52]MH_I2C_Read... [18:36:52]Read from MH i2c: E2 17 00 [18:36:52]MH_I2C_Read... [18:36:52]Read from MH i2c: E2 17 00 10 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 EF [18:36:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:36:52]wFMCommunicate OK [18:36:52]requested_item fd.num is exist - process it [18:36:52]SAM_PROTO_GetFieldsCounters [18:36:52]wFMCommunicate request_size=4 [18:36:52]MH_SAM_APDU [18:36:52]CAPDU: 80 13 00 00 [18:36:52]Write to MH i2c: E2 08 00 11 0B 80 13 00 00 00 00 00 00 98 [18:36:52]Write i2c OK [18:36:52]MH_I2C_Read... [18:36:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:36:53]Read from MH i2c: E2 [18:36:53]MH_I2C_Read... [18:36:53]Read from MH i2c: E2 62 00 [18:36:53]MH_I2C_Read... [18:36:53]Read from MH i2c: E2 62 00 11 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 E6 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 C0 [18:36:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 E6 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:36:53]wFMCommunicate OK [18:36:53]SAM_PROTO_GetFieldsCounters done [18:36:53]requested_item shift.num is exist - process it [18:36:53]requested_item shift.opened is exist - process it [18:36:53]req_shift_opened [18:36:53]FM_GetShiftState [18:36:53]SAM_PROTO_GetShiftState [18:36:53]wFMCommunicate request_size=4 [18:36:53]MH_SAM_APDU [18:36:53]CAPDU: 80 13 01 00 [18:36:53]Write to MH i2c: E2 08 00 12 0B 80 13 01 00 00 00 00 00 9A [18:36:53]Write i2c OK [18:36:53]MH_I2C_Read... [18:36:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:36:53]Read from MH i2c: E2 [18:36:53]MH_I2C_Read... [18:36:53]Read from MH i2c: E2 0E 00 [18:36:53]MH_I2C_Read... [18:36:53]Read from MH i2c: E2 0E 00 12 0B 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 2B [18:36:53]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:36:53]wFMCommunicate OK [18:36:53]SAM_PROTO_GetShiftState done [18:36:53]FM_GetShiftState done [18:36:53]req_shift_opened done [18:36:53]requested_item shift.open_date is exist - process it [18:36:53]req_shift_open_date [18:36:53]req_shift_open_date done [18:36:53]produce_requested_data done [18:36:53]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22502,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [18:36:53]process_action_free close_receipt [18:36:53]json_value_free [18:36:53]json_value_free done [18:36:53]process_json_proto returns [18:36:53]Send response to host [18:36:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22502,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [18:36:53]free response buf [18:36:53]execute_script done [18:36:53]execute_script returns [18:36:53]free content buf [18:36:53]Sock 9.Close socket [18:36:53]Sock 9.Thread stoped [18:36:57]OFD Sender: No OFD packet to send [18:37:02]OFD Sender: No OFD packet to send [18:37:07]OFD Sender: No OFD packet to send [18:37:12]OFD Sender: No OFD packet to send [18:37:17]OFD Sender: No OFD packet to send [18:37:22]OFD Sender: No OFD packet to send [18:37:27]OFD Sender: No OFD packet to send [18:37:32]OFD Sender: No OFD packet to send [18:37:37]OFD Sender: No OFD packet to send [18:37:40]accept exits with 7 [18:37:40]New connection [18:37:40]New thread 3067583844 created [18:37:40]Thread 3067440484 joined [18:37:40]Waiting for new connection... [18:37:40] Sock 7.Parse request [18:37:40]Sock 7.Check first char [18:37:40]Sock 7.First char is OK [18:37:40]request: POST /json_proto HTTP/1.0 [18:37:40]Method: POST [18:37:40]URL: /json_proto [18:37:40]Method is POST - this is cgi request [18:37:40]url: /json_proto [18:37:40]query_string will be loaded in cgi processing [18:37:40]execute_cgi json_proto POST (null) [18:37:40]execute_cgi path=json_proto method=POST [18:37:40]POST find Content-Length [18:37:40]Host: 172.17.43.4:8080 [18:37:40]Content-Length: 763 [18:37:40]Content-Type: application/json [18:37:40] [18:37:40]POST finish read [18:37:40]Found Content-Length = 763 [18:37:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165054", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 0.00, "quantity" : 13.480, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:37:40]execute_script... [18:37:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165054", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 0.00, "quantity" : 13.480, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:37:40]POST & json_proto [18:37:40]process_json_proto [18:37:40]json parsed OK: [18:37:40]protocol is kg_v1.0 [18:37:40]action value=close_receipt [18:37:40]process_action close_receipt [18:37:40]cmd_close_receipt [18:37:40]MH_GetDate [18:37:40]Write to MH i2c: F0 00 00 13 0B 0D [18:37:40]Write i2c OK [18:37:40]MH_I2C_Read... [18:37:40]Read from MH i2c: F0 [18:37:40]MH_I2C_Read... [18:37:40]Read from MH i2c: F0 09 00 [18:37:40]MH_I2C_Read... [18:37:40]Read from MH i2c: F0 09 00 13 0B 00 75 58 F4 66 02 BF CF 66 33 [18:37:40]GetLastDocTimeStamp 1727289410 [18:37:40]current date 1727289461 [18:37:40]FM_GetShiftState [18:37:40]SAM_PROTO_GetShiftState [18:37:40]wFMCommunicate request_size=4 [18:37:40]MH_SAM_APDU [18:37:40]CAPDU: 80 13 01 00 [18:37:40]Write to MH i2c: E2 08 00 14 0B 80 13 01 00 00 00 00 00 9C [18:37:40]Write i2c OK [18:37:40]MH_I2C_Read... [18:37:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:37:40]Read from MH i2c: E2 [18:37:40]MH_I2C_Read... [18:37:40]Read from MH i2c: E2 0E 00 [18:37:40]MH_I2C_Read... [18:37:40]Read from MH i2c: E2 0E 00 14 0B 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 2D [18:37:40]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:37:40]wFMCommunicate OK [18:37:40]SAM_PROTO_GetShiftState done [18:37:40]FM_GetShiftState done [18:37:40]opened in 1727224020 [18:37:40]opened+sec_in_day 1727310420 [18:37:40]quantity*price = 0 [18:37:40]sum+1 = 1 [18:37:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 76 25.09.2024 18:37 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000959358 ФД: 22503 ФПД: 11154927608843 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T183741&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22503&fm=11154927608843&tin=02508201610067®Number=0000000000146243&sum=0 [18:37:41]StoreToDocumentArchive [18:37:41]shift 231 fd 22503 [18:37:41]save to /storage/0231/doc_00022503 [18:37:41]save last doc name /storage/0231/doc_00022503 to /storage/kkm_last_doc_name [18:37:41]save OK [18:37:41]Clear old archive folders... [18:37:41]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:37:41]tlvbuf is 001E4BD0 [18:37:41]SAM_PROTO_ClearQueue [18:37:41]wFMCommunicate request_size=4 [18:37:41]MH_SAM_APDU [18:37:41]CAPDU: 80 09 00 00 [18:37:41]Write to MH i2c: E2 08 00 21 0B 80 09 00 00 00 00 00 00 9E [18:37:41]Write i2c OK [18:37:41]MH_I2C_Read... [18:37:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:37:41]Read from MH i2c: E2 [18:37:41]MH_I2C_Read... [18:37:41]Read from MH i2c: E2 03 00 [18:37:41]MH_I2C_Read... [18:37:41]Read from MH i2c: E2 03 00 21 0B 00 90 00 A0 [18:37:41]RAPDU: 90 00 [18:37:41]wFMCommunicate OK [18:37:41]SAM_PROTO_ClearQueue done [18:37:41]KKMCreateOFDPacket [18:37:41]OFDProtocolAddRootSTLVToBuf [18:37:41]FM_MakeSignedData [18:37:41]FM_MakeSignedData [18:37:41]SAM_PROTO_SignData [18:37:41]wFMCommunicate request_size=4 [18:37:41]MH_SAM_APDU [18:37:41]CAPDU: 80 0D 01 02 [18:37:41]Write to MH i2c: E2 08 00 22 0B 80 0D 01 02 00 00 00 00 A6 [18:37:41]Write i2c OK [18:37:41]MH_I2C_Read... [18:37:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:37:41]Read from MH i2c: E2 [18:37:41]MH_I2C_Read... [18:37:41]Read from MH i2c: E2 03 00 [18:37:41]MH_I2C_Read... [18:37:41]Read from MH i2c: E2 03 00 22 0B 00 90 00 A1 [18:37:41]RAPDU: 90 00 [18:37:41]wFMCommunicate OK [18:37:41]wFMCommunicate request_size=255 [18:37:41]MH_SAM_APDU [18:37:41]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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 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 4C 00 00 00 F4 03 04 00 75 58 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E7 57 00 00 35 04 06 00 0A [18:37:41]Write to MH i2c: E2 02 01 23 0B 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 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 4C 00 00 00 F4 03 04 00 75 58 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E7 57 00 00 35 04 06 00 0A 00 00 34 [18:37:41]Write i2c OK [18:37:41]MH_I2C_Read... [18:37:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:37:41]Read from MH i2c: E2 [18:37:41]MH_I2C_Read... [18:37:41]Read from MH i2c: E2 03 00 [18:37:41]MH_I2C_Read... [18:37:41]Read from MH i2c: E2 03 00 23 0B 00 90 00 A2 [18:37:41]RAPDU: 90 00 [18:37:41]wFMCommunicate OK [18:37:41]wFMCommunicate request_size=10 [18:37:41]MH_SAM_APDU [18:37:41]CAPDU: 80 0D 02 02 05 25 35 7F 64 0B [18:37:41]Write to MH i2c: E2 0D 00 24 0B 80 0D 02 02 05 00 25 35 7F 64 0B 00 00 FB [18:37:41]Write i2c OK [18:37:41]MH_I2C_Read... [18:37:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:37:41]Read from MH i2c: E2 [18:37:41]MH_I2C_Read... [18:37:41]Read from MH i2c: E2 03 00 [18:37:41]MH_I2C_Read... [18:37:41]Read from MH i2c: E2 03 00 24 0B 00 90 00 A3 [18:37:41]RAPDU: 90 00 [18:37:41]wFMCommunicate OK [18:37:41]wFMCommunicate request_size=4 [18:37:41]MH_SAM_APDU [18:37:41]CAPDU: 80 0D 03 02 [18:37:41]Write to MH i2c: E2 08 00 25 0B 80 0D 03 02 00 00 00 00 AB [18:37:41]Write i2c OK [18:37:41]MH_I2C_Read... [18:37:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:37:41]Read from MH i2c: E2 [18:37:41]MH_I2C_Read... [18:37:41]Read from MH i2c: E2 0B 00 [18:37:41]MH_I2C_Read... [18:37:41]Read from MH i2c: E2 0B 00 25 0B 00 85 B4 46 6F 92 79 1D 45 90 00 07 [18:37:41]RAPDU: 85 B4 46 6F 92 79 1D 45 90 00 [18:37:41]wFMCommunicate OK [18:37:41]SAM_PROTO_SignData done [18:37:41]FM_MakeSignedData done [18:37:41]CreateOFDProtocolMessage [18:37:41]wFMCommunicate request_size=4 [18:37:41]MH_SAM_APDU [18:37:41]CAPDU: 80 11 00 00 [18:37:41]Write to MH i2c: E2 08 00 26 0B 80 11 00 00 00 00 00 00 AB [18:37:41]Write i2c OK [18:37:41]MH_I2C_Read... [18:37:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:37:41]Read from MH i2c: E2 [18:37:41]MH_I2C_Read... [18:37:41]Read from MH i2c: E2 17 00 [18:37:41]MH_I2C_Read... [18:37:41]Read from MH i2c: E2 17 00 26 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 05 [18:37:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:37:41]wFMCommunicate OK [18:37:41]CreateOFDProtocolMessage done [18:37:41]OFDSenderStorePacket 22503 [18:37:41]StoreOFDPacket docnum=22503 [18:37:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 A0 38 07 01 A2 C3 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 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 4C 00 00 00 F4 03 04 00 75 58 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E7 57 00 00 35 04 06 00 0A 25 35 7F 64 0B 85 B4 46 6F 92 79 1D 45 [18:37:41]CheckFolder [18:37:41]dirname=/storage/ofd_packets [18:37:41]CheckFolder done [18:37:41]ProducePacketName [18:37:41]name=ofd_packets/00022503 [18:37:41]NVStorageSaveData ofd_packets/00022503 [18:37:41]File name is /storage/ofd_packets/00022503 [18:37:41]Write 301 bytes [18:37:41]NVStorageSaveData done [18:37:41]OFDSenderStorePacket done [18:37:41]KKMCreateOFDPacket done [18:37:41]NVStorageSaveData kkm_last_timestamp [18:37:41]File name is /storage/kkm_last_timestamp [18:37:41]Write 4 bytes [18:37:41]NVStorageSaveData done [18:37:41]ExternCall_PrintAddStr [18:37:41]wPrintStart [18:37:41]Write to MH i2c: 01 00 00 27 0B 32 [18:37:41]Write i2c OK [18:37:41]MH_I2C_Read... [18:37:41]Read from MH i2c: 01 [18:37:41]MH_I2C_Read... [18:37:41]Read from MH i2c: 01 07 00 [18:37:41]MH_I2C_Read... [18:37:41]Read from MH i2c: 01 07 00 27 0B 00 00 00 00 00 FF 0F 47 [18:37:41]RasterBufferAndPrint [18:37:41]line Счет N : (1)2165054 [18:37:41]line ИНН: 02508201610067 [18:37:41]line Контрольно-Кассовый Чек [18:37:41]line ПРОДАЖА [18:37:41]line ТРК (МРК, ГНК) : 23 [18:37:41]line Товар: 2710124500 [18:37:41]line Аи-95-К-5 [18:37:41]line 13.480 * 0.00 [18:37:41]line = 0.00 [18:37:41]line НДС 12% НСП 1% [18:37:41]line > о реализуемом товаре [18:37:41]line ИТОГО: 0.00 [18:37:41]line НСП 1% : 0.00 [18:37:41]line НДС 12% : 0.00 [18:37:41]line Наличными: 0.00 [18:37:41]line Безнал.: 0.00 [18:37:41]line Место: АЗС № 88 "Партнер Нефть" [18:37:41]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [18:37:41]line СНО: Общий режим [18:37:41]line Чек 76 25.09.2024 18:37 [18:37:41]line Смена: 231 ФФД: 1.0 [18:37:41]line ЗНМ: 0300000061 [18:37:41]line РНМ: 0000000000146243 [18:37:41]line Версия ККМ: v1.0 [18:37:41]line Платежная система: Mbank [18:37:41]line ФМ: 0000000000959358 [18:37:41]line ФД: 22503 [18:37:41]line ФПД: 11154927608843 [18:37:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T183741&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22503&fm=11154927608843&tin=02508201610067®Number=0000000000146243&sum=0 [18:37:42]OFD Sender: Processing packet 22503 [packets to send 23, broken 22] [18:37:42]ProducePacketName [18:37:42]name=ofd_packets/00022503 [18:37:42]OFD Sender: To server: pG, [18:37:42]CommunicateWithHost lk.salyk.kg:30040 [18:37:42]ConnectInit lk.salyk.kg [18:37:42]written 0, free lines is 4095 [18:37:42]Connected sock=10 [18:37:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 A0 38 07 01 A2 C3 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 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 A8 34 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 4C 00 00 00 F4 03 04 00 75 58 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E7 57 00 00 35 04 06 00 0A 25 35 7F 64 0B 85 B4 46 6F 92 79 1D 45 [18:37:42]Write to MH i2c: 01 00 00 50 0B 5B [18:37:42]Write i2c OK [18:37:42]MH_I2C_Read... [18:37:42]Read from MH i2c: 01 [18:37:42]MH_I2C_Read... [18:37:42]Read from MH i2c: 01 07 00 [18:37:42]MH_I2C_Read... [18:37:42]Read from MH i2c: 01 07 00 50 0B 00 00 00 00 00 23 0D 92 [18:37:42]RasterBufferAndPrint [18:37:42]line [18:37:42]line [18:37:42]line [18:37:42]line [18:37:42]line [18:37:42]written 0, free lines is 3369 [18:37:42]MH_Cut [18:37:42]Write to MH i2c: D1 01 00 57 0B 01 34 [18:37:42]Write i2c OK [18:37:42]MH_I2C_Read... [18:37:42]Read from MH i2c: D1 [18:37:42]MH_I2C_Read... [18:37:42]Read from MH i2c: D1 01 00 [18:37:42]MH_I2C_Read... [18:37:42]Read from MH i2c: D1 01 00 57 0B 00 33 [18:37:42]Write to MH i2c: 01 00 00 58 0B 63 [18:37:42]Write i2c OK [18:37:42]MH_I2C_Read... [18:37:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 FD 24 47 00 52 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 30 39 35 39 33 35 38 10 04 04 00 E7 57 00 00 F4 03 04 00 97 02 F4 66 B6 04 01 00 00 2B 21 2C BC 47 8F 58 E8 [18:37:42]CommunicateWithHost err = 0 [18:37:42]CheckOFDResponse [18:37:42]1017 (14) - 77093643461234 [18:37:42]1041 (16) - 0000000000959358 [18:37:42]1040 (4) - 22503 [18:37:42]1012 (4) - 25.09.2024 12:31 [18:37:42]1206 (1) - 0 [18:37:42]OFD Sender: Remove packet 22503 [18:37:42]ProducePacketName [18:37:42]name=ofd_packets/00022503 [18:37:42]NVStorageDeleteData [18:37:43]OFD Sender: No OFD packet to send [18:37:43]*** Cut start [18:37:43]*** Partial cut [18:37:43]*** CUTSNS_PIN = 1 [18:37:43]*** CUTSNS_PIN = 0 [18:37:43]*** Brake cut motor [18:37:43]Read from MH i2c: 01 [18:37:43]MH_I2C_Read... [18:37:43]*** Stop cut motor [18:37:43]*** Cut end [18:37:43]Read from MH i2c: 01 07 00 [18:37:43]MH_I2C_Read... [18:37:43]Read from MH i2c: 01 07 00 58 0B 00 00 00 00 00 FF 0F 78 [18:37:43]process_action close_receipt done [18:37:43]requested_data is exist [18:37:43]produce_requested_data [18:37:43]requested_item fm.sn is exist - process it [18:37:43]wFMCommunicate request_size=4 [18:37:43]MH_SAM_APDU [18:37:43]CAPDU: 80 11 00 00 [18:37:43]Write to MH i2c: E2 08 00 59 0B 80 11 00 00 00 00 00 00 DE [18:37:43]Write i2c OK [18:37:43]MH_I2C_Read... [18:37:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:37:43]Read from MH i2c: E2 [18:37:43]MH_I2C_Read... [18:37:43]Read from MH i2c: E2 17 00 [18:37:43]MH_I2C_Read... [18:37:43]Read from MH i2c: E2 17 00 59 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 38 [18:37:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:37:43]wFMCommunicate OK [18:37:43]requested_item fd.num is exist - process it [18:37:43]SAM_PROTO_GetFieldsCounters [18:37:43]wFMCommunicate request_size=4 [18:37:43]MH_SAM_APDU [18:37:43]CAPDU: 80 13 00 00 [18:37:43]Write to MH i2c: E2 08 00 5A 0B 80 13 00 00 00 00 00 00 E1 [18:37:43]Write i2c OK [18:37:43]MH_I2C_Read... [18:37:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:37:44]Read from MH i2c: E2 [18:37:44]MH_I2C_Read... [18:37:44]Read from MH i2c: E2 62 00 [18:37:44]MH_I2C_Read... [18:37:44]Read from MH i2c: E2 62 00 5A 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 E7 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 0D [18:37:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 E7 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:37:44]wFMCommunicate OK [18:37:44]SAM_PROTO_GetFieldsCounters done [18:37:44]requested_item shift.num is exist - process it [18:37:44]requested_item shift.opened is exist - process it [18:37:44]req_shift_opened [18:37:44]FM_GetShiftState [18:37:44]SAM_PROTO_GetShiftState [18:37:44]wFMCommunicate request_size=4 [18:37:44]MH_SAM_APDU [18:37:44]CAPDU: 80 13 01 00 [18:37:44]Write to MH i2c: E2 08 00 5B 0B 80 13 01 00 00 00 00 00 E3 [18:37:44]Write i2c OK [18:37:44]MH_I2C_Read... [18:37:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:37:44]Read from MH i2c: E2 [18:37:44]MH_I2C_Read... [18:37:44]Read from MH i2c: E2 0E 00 [18:37:44]MH_I2C_Read... [18:37:44]Read from MH i2c: E2 0E 00 5B 0B 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 74 [18:37:44]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:37:44]wFMCommunicate OK [18:37:44]SAM_PROTO_GetShiftState done [18:37:44]FM_GetShiftState done [18:37:44]req_shift_opened done [18:37:44]requested_item shift.open_date is exist - process it [18:37:44]req_shift_open_date [18:37:44]req_shift_open_date done [18:37:44]produce_requested_data done [18:37:44]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22503,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [18:37:44]process_action_free close_receipt [18:37:44]json_value_free [18:37:44]json_value_free done [18:37:44]process_json_proto returns [18:37:44]Send response to host [18:37:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22503,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [18:37:44]free response buf [18:37:44]execute_script done [18:37:44]execute_script returns [18:37:44]free content buf [18:37:44]Sock 7.Close socket [18:37:44]Sock 7.Thread stoped [18:37:48]OFD Sender: No OFD packet to send [18:37:53]OFD Sender: No OFD packet to send [18:37:58]OFD Sender: No OFD packet to send [18:38:03]OFD Sender: No OFD packet to send [18:38:08]OFD Sender: No OFD packet to send [18:38:13]OFD Sender: No OFD packet to send [18:38:18]OFD Sender: No OFD packet to send [18:38:23]OFD Sender: No OFD packet to send [18:38:28]OFD Sender: No OFD packet to send [18:38:33]OFD Sender: No OFD packet to send [18:38:38]OFD Sender: No OFD packet to send [18:38:43]OFD Sender: No OFD packet to send [18:38:48]OFD Sender: No OFD packet to send [18:38:53]OFD Sender: No OFD packet to send [18:38:58]OFD Sender: No OFD packet to send [18:39:03]OFD Sender: No OFD packet to send [18:39:08]OFD Sender: No OFD packet to send [18:39:13]OFD Sender: No OFD packet to send [18:39:18]OFD Sender: No OFD packet to send [18:39:23]OFD Sender: No OFD packet to send [18:39:28]OFD Sender: No OFD packet to send [18:39:33]OFD Sender: No OFD packet to send [18:39:38]OFD Sender: No OFD packet to send [18:39:43]OFD Sender: No OFD packet to send [18:39:48]OFD Sender: No OFD packet to send [18:39:53]OFD Sender: No OFD packet to send [18:39:58]OFD Sender: No OFD packet to send [18:40:03]OFD Sender: No OFD packet to send [18:40:08]OFD Sender: No OFD packet to send [18:40:13]OFD Sender: No OFD packet to send [18:40:18]OFD Sender: No OFD packet to send [18:40:23]OFD Sender: No OFD packet to send [18:40:28]OFD Sender: No OFD packet to send [18:40:33]OFD Sender: No OFD packet to send [18:40:38]OFD Sender: No OFD packet to send [18:40:43]OFD Sender: No OFD packet to send [18:40:48]OFD Sender: No OFD packet to send [18:40:53]OFD Sender: No OFD packet to send [18:40:58]OFD Sender: No OFD packet to send [18:41:03]OFD Sender: No OFD packet to send [18:41:08]OFD Sender: No OFD packet to send [18:41:13]OFD Sender: No OFD packet to send [18:41:18]OFD Sender: No OFD packet to send [18:41:23]OFD Sender: No OFD packet to send [18:41:28]OFD Sender: No OFD packet to send [18:41:33]OFD Sender: No OFD packet to send [18:41:38]OFD Sender: No OFD packet to send [18:41:43]OFD Sender: No OFD packet to send [18:41:48]OFD Sender: No OFD packet to send [18:41:53]OFD Sender: No OFD packet to send [18:41:58]OFD Sender: No OFD packet to send [18:42:03]OFD Sender: No OFD packet to send [18:42:08]OFD Sender: No OFD packet to send [18:42:13]OFD Sender: No OFD packet to send [18:42:18]OFD Sender: No OFD packet to send [18:42:23]OFD Sender: No OFD packet to send [18:42:28]OFD Sender: No OFD packet to send [18:42:33]OFD Sender: No OFD packet to send [18:42:38]OFD Sender: No OFD packet to send [18:42:43]OFD Sender: No OFD packet to send [18:42:48]OFD Sender: No OFD packet to send [18:42:53]OFD Sender: No OFD packet to send [18:42:58]OFD Sender: No OFD packet to send [18:43:03]OFD Sender: No OFD packet to send [18:43:08]OFD Sender: No OFD packet to send [18:43:13]OFD Sender: No OFD packet to send [18:43:18]OFD Sender: No OFD packet to send [18:43:23]OFD Sender: No OFD packet to send [18:43:28]OFD Sender: No OFD packet to send [18:43:33]OFD Sender: No OFD packet to send [18:43:38]OFD Sender: No OFD packet to send [18:43:43]OFD Sender: No OFD packet to send [18:43:48]OFD Sender: No OFD packet to send [18:43:53]OFD Sender: No OFD packet to send [18:43:58]OFD Sender: No OFD packet to send [18:44:03]OFD Sender: No OFD packet to send [18:44:08]OFD Sender: No OFD packet to send [18:44:13]OFD Sender: No OFD packet to send [18:44:18]OFD Sender: No OFD packet to send [18:44:23]OFD Sender: No OFD packet to send [18:44:28]OFD Sender: No OFD packet to send [18:44:33]OFD Sender: No OFD packet to send [18:44:38]OFD Sender: No OFD packet to send [18:44:43]OFD Sender: No OFD packet to send [18:44:48]OFD Sender: No OFD packet to send [18:44:53]OFD Sender: No OFD packet to send [18:44:58]OFD Sender: No OFD packet to send [18:45:03]OFD Sender: No OFD packet to send [18:45:08]OFD Sender: No OFD packet to send [18:45:13]OFD Sender: No OFD packet to send [18:45:18]OFD Sender: No OFD packet to send [18:45:23]OFD Sender: No OFD packet to send [18:45:28]OFD Sender: No OFD packet to send [18:45:33]OFD Sender: No OFD packet to send [18:45:38]OFD Sender: No OFD packet to send [18:45:43]OFD Sender: No OFD packet to send [18:45:48]OFD Sender: No OFD packet to send [18:45:53]OFD Sender: No OFD packet to send [18:45:58]OFD Sender: No OFD packet to send [18:46:03]OFD Sender: No OFD packet to send [18:46:08]OFD Sender: No OFD packet to send [18:46:13]OFD Sender: No OFD packet to send [18:46:18]OFD Sender: No OFD packet to send [18:46:23]OFD Sender: No OFD packet to send [18:46:28]OFD Sender: No OFD packet to send [18:46:33]OFD Sender: No OFD packet to send [18:46:38]OFD Sender: No OFD packet to send [18:46:43]OFD Sender: No OFD packet to send [18:46:48]OFD Sender: No OFD packet to send [18:46:53]OFD Sender: No OFD packet to send [18:46:58]OFD Sender: No OFD packet to send [18:47:03]OFD Sender: No OFD packet to send [18:47:08]OFD Sender: No OFD packet to send [18:47:13]OFD Sender: No OFD packet to send [18:47:18]OFD Sender: No OFD packet to send [18:47:23]OFD Sender: No OFD packet to send [18:47:28]OFD Sender: No OFD packet to send [18:47:33]OFD Sender: No OFD packet to send [18:47:38]OFD Sender: No OFD packet to send [18:47:43]OFD Sender: No OFD packet to send [18:47:48]OFD Sender: No OFD packet to send [18:47:53]OFD Sender: No OFD packet to send [18:47:58]OFD Sender: No OFD packet to send [18:48:03]OFD Sender: No OFD packet to send [18:48:08]OFD Sender: No OFD packet to send [18:48:13]OFD Sender: No OFD packet to send [18:48:18]OFD Sender: No OFD packet to send [18:48:23]OFD Sender: No OFD packet to send [18:48:28]OFD Sender: No OFD packet to send [18:48:33]OFD Sender: No OFD packet to send [18:48:38]OFD Sender: No OFD packet to send [18:48:43]OFD Sender: No OFD packet to send [18:48:48]OFD Sender: No OFD packet to send [18:48:53]OFD Sender: No OFD packet to send [18:48:58]OFD Sender: No OFD packet to send [18:49:03]OFD Sender: No OFD packet to send [18:49:08]OFD Sender: No OFD packet to send [18:49:13]OFD Sender: No OFD packet to send [18:49:18]OFD Sender: No OFD packet to send [18:49:23]OFD Sender: No OFD packet to send [18:49:28]OFD Sender: No OFD packet to send [18:49:33]OFD Sender: No OFD packet to send [18:49:38]OFD Sender: No OFD packet to send [18:49:43]OFD Sender: No OFD packet to send [18:49:48]OFD Sender: No OFD packet to send [18:49:53]OFD Sender: No OFD packet to send [18:49:58]OFD Sender: No OFD packet to send [18:50:03]OFD Sender: No OFD packet to send [18:50:08]OFD Sender: No OFD packet to send [18:50:13]OFD Sender: No OFD packet to send [18:50:18]OFD Sender: No OFD packet to send [18:50:23]OFD Sender: No OFD packet to send [18:50:28]OFD Sender: No OFD packet to send [18:50:33]OFD Sender: No OFD packet to send [18:50:38]OFD Sender: No OFD packet to send [18:50:43]OFD Sender: No OFD packet to send [18:50:48]OFD Sender: No OFD packet to send [18:50:53]OFD Sender: No OFD packet to send [18:50:58]OFD Sender: No OFD packet to send [18:51:03]OFD Sender: No OFD packet to send [18:51:04]accept exits with 9 [18:51:04]New connection [18:51:04]New thread 3067440484 created [18:51:04]Thread 3067583844 joined [18:51:04]Waiting for new connection... [18:51:04] Sock 9.Parse request [18:51:04]Sock 9.Check first char [18:51:04]Sock 9.First char is OK [18:51:04]request: POST /json_proto HTTP/1.0 [18:51:04]Method: POST [18:51:04]URL: /json_proto [18:51:04]Method is POST - this is cgi request [18:51:04]url: /json_proto [18:51:04]query_string will be loaded in cgi processing [18:51:04]execute_cgi json_proto POST (null) [18:51:04]execute_cgi path=json_proto method=POST [18:51:04]POST find Content-Length [18:51:04]Host: 172.17.43.4:8080 [18:51:04]Content-Length: 603 [18:51:04]Content-Type: application/json [18:51:04] [18:51:04]POST finish read [18:51:04]Found Content-Length = 603 [18:51:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51701", "tax_sys" : 0, "items" : [ { "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 55.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:51:04]execute_script... [18:51:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51701", "tax_sys" : 0, "items" : [ { "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 55.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:51:04]POST & json_proto [18:51:04]process_json_proto [18:51:04]json parsed OK: [18:51:04]protocol is kg_v1.0 [18:51:04]action value=close_receipt [18:51:04]process_action close_receipt [18:51:04]cmd_close_receipt [18:51:04]MH_GetDate [18:51:04]Write to MH i2c: F0 00 00 5C 0B 56 [18:51:04]Write i2c OK [18:51:04]MH_I2C_Read... [18:51:04]Read from MH i2c: F0 [18:51:04]MH_I2C_Read... [18:51:04]Read from MH i2c: F0 09 00 [18:51:04]MH_I2C_Read... [18:51:04]Read from MH i2c: F0 09 00 5C 0B 00 99 5B F4 66 02 BF CF 66 A3 [18:51:04]GetLastDocTimeStamp 1727289461 [18:51:04]current date 1727290265 [18:51:04]FM_GetShiftState [18:51:04]SAM_PROTO_GetShiftState [18:51:04]wFMCommunicate request_size=4 [18:51:04]MH_SAM_APDU [18:51:04]CAPDU: 80 13 01 00 [18:51:04]Write to MH i2c: E2 08 00 5D 0B 80 13 01 00 00 00 00 00 E5 [18:51:04]Write i2c OK [18:51:04]MH_I2C_Read... [18:51:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:51:04]Read from MH i2c: E2 [18:51:04]MH_I2C_Read... [18:51:04]Read from MH i2c: E2 0E 00 [18:51:04]MH_I2C_Read... [18:51:04]Read from MH i2c: E2 0E 00 5D 0B 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 76 [18:51:04]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:51:04]wFMCommunicate OK [18:51:04]SAM_PROTO_GetShiftState done [18:51:04]FM_GetShiftState done [18:51:04]opened in 1727224020 [18:51:04]opened+sec_in_day 1727310420 [18:51:04]quantity*price = 5500 [18:51:04]sum+1 = 5501 [18:51:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 55.00 НСП 1% : 0.49 НДС 12% : 5.84 Наличными: 55.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 77 25.09.2024 18:51 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22504 ФПД: 272455889227824 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T185105&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22504&fm=272455889227824&tin=02508201610067®Number=0000000000146243&sum=5500 0 [18:51:05]StoreToDocumentArchive [18:51:05]shift 231 fd 22504 [18:51:05]save to /storage/0231/doc_00022504 [18:51:05]save last doc name /storage/0231/doc_00022504 to /storage/kkm_last_doc_name [18:51:05]save OK [18:51:05]Clear old archive folders... [18:51:05]ProcessDocumentItem done err = 0, tmpTLVsize=275 [18:51:05]tlvbuf is 0021F440 [18:51:05]SAM_PROTO_ClearQueue [18:51:05]wFMCommunicate request_size=4 [18:51:05]MH_SAM_APDU [18:51:05]CAPDU: 80 09 00 00 [18:51:05]Write to MH i2c: E2 08 00 6A 0B 80 09 00 00 00 00 00 00 E7 [18:51:05]Write i2c OK [18:51:05]MH_I2C_Read... [18:51:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:51:05]Read from MH i2c: E2 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: E2 03 00 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: E2 03 00 6A 0B 00 90 00 E9 [18:51:05]RAPDU: 90 00 [18:51:05]wFMCommunicate OK [18:51:05]SAM_PROTO_ClearQueue done [18:51:05]KKMCreateOFDPacket [18:51:05]OFDProtocolAddRootSTLVToBuf [18:51:05]FM_MakeSignedData [18:51:05]FM_MakeSignedData [18:51:05]SAM_PROTO_SignData [18:51:05]wFMCommunicate request_size=4 [18:51:05]MH_SAM_APDU [18:51:05]CAPDU: 80 0D 01 02 [18:51:05]Write to MH i2c: E2 08 00 6B 0B 80 0D 01 02 00 00 00 00 EF [18:51:05]Write i2c OK [18:51:05]MH_I2C_Read... [18:51:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:51:05]Read from MH i2c: E2 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: E2 03 00 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: E2 03 00 6B 0B 00 90 00 EA [18:51:05]RAPDU: 90 00 [18:51:05]wFMCommunicate OK [18:51:05]wFMCommunicate request_size=255 [18:51:05]MH_SAM_APDU [18:51:05]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 7C 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 99 5B F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 [18:51:05]Write to MH i2c: E2 02 01 6C 0B 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 7C 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 99 5B F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 00 00 C6 [18:51:05]Write i2c OK [18:51:05]MH_I2C_Read... [18:51:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:51:05]Read from MH i2c: E2 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: E2 03 00 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: E2 03 00 6C 0B 00 90 00 EB [18:51:05]RAPDU: 90 00 [18:51:05]wFMCommunicate OK [18:51:05]wFMCommunicate request_size=34 [18:51:05]MH_SAM_APDU [18:51:05]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E8 57 00 00 35 04 06 00 F7 CC 14 7E 90 30 [18:51:05]Write to MH i2c: E2 25 00 6D 0B 80 0D 02 02 1D 00 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E8 57 00 00 35 04 06 00 F7 CC 14 7E 90 30 00 00 0E [18:51:05]Write i2c OK [18:51:05]MH_I2C_Read... [18:51:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:51:05]Read from MH i2c: E2 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: E2 03 00 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: E2 03 00 6D 0B 00 90 00 EC [18:51:05]RAPDU: 90 00 [18:51:05]wFMCommunicate OK [18:51:05]wFMCommunicate request_size=4 [18:51:05]MH_SAM_APDU [18:51:05]CAPDU: 80 0D 03 02 [18:51:05]Write to MH i2c: E2 08 00 6E 0B 80 0D 03 02 00 00 00 00 F4 [18:51:05]Write i2c OK [18:51:05]MH_I2C_Read... [18:51:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:51:05]Read from MH i2c: E2 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: E2 0B 00 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: E2 0B 00 6E 0B 00 E6 A3 91 74 00 33 43 17 90 00 10 [18:51:05]RAPDU: E6 A3 91 74 00 33 43 17 90 00 [18:51:05]wFMCommunicate OK [18:51:05]SAM_PROTO_SignData done [18:51:05]FM_MakeSignedData done [18:51:05]CreateOFDProtocolMessage [18:51:05]wFMCommunicate request_size=4 [18:51:05]MH_SAM_APDU [18:51:05]CAPDU: 80 11 00 00 [18:51:05]Write to MH i2c: E2 08 00 6F 0B 80 11 00 00 00 00 00 00 F4 [18:51:05]Write i2c OK [18:51:05]MH_I2C_Read... [18:51:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:51:05]Read from MH i2c: E2 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: E2 17 00 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: E2 17 00 6F 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 4E [18:51:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:51:05]wFMCommunicate OK [18:51:05]CreateOFDProtocolMessage done [18:51:05]OFDSenderStorePacket 22504 [18:51:05]StoreOFDPacket docnum=22504 [18:51:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 27 01 00 00 3C 75 1F 01 42 D8 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 7C 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 99 5B F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E8 57 00 00 35 04 06 00 F7 CC 14 7E 90 30 E6 A3 91 74 00 33 43 17 [18:51:05]CheckFolder [18:51:05]dirname=/storage/ofd_packets [18:51:05]CheckFolder done [18:51:05]ProducePacketName [18:51:05]name=ofd_packets/00022504 [18:51:05]NVStorageSaveData ofd_packets/00022504 [18:51:05]File name is /storage/ofd_packets/00022504 [18:51:05]Write 325 bytes [18:51:05]NVStorageSaveData done [18:51:05]OFDSenderStorePacket done [18:51:05]KKMCreateOFDPacket done [18:51:05]NVStorageSaveData kkm_last_timestamp [18:51:05]File name is /storage/kkm_last_timestamp [18:51:05]Write 4 bytes [18:51:05]NVStorageSaveData done [18:51:05]ExternCall_PrintAddStr [18:51:05]wPrintStart [18:51:05]Write to MH i2c: 01 00 00 70 0B 7B [18:51:05]Write i2c OK [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: 01 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: 01 07 00 [18:51:05]MH_I2C_Read... [18:51:05]Read from MH i2c: 01 07 00 70 0B 00 00 00 00 00 FF 0F 90 [18:51:05]RasterBufferAndPrint [18:51:05]line Счет N : (3)51701 [18:51:05]line ИНН: 02508201610067 [18:51:05]line Контрольно-Кассовый Чек [18:51:05]line ПРОДАЖА [18:51:05]line Товар: 4870112003925 [18:51:05]line Конд ULKER-Albeni 40gr (6*24) [18:51:05]line 1.000 * 55.00 [18:51:05]line = 55.00 [18:51:05]line НДС 12% НСП 1% [18:51:05]line > о реализуемом товаре [18:51:05]line ИТОГО: 55.00 [18:51:05]line НСП 1% : 0.49 [18:51:05]line НДС 12% : 5.84 [18:51:05]line Наличными: 55.00 [18:51:05]line Безнал.: 0.00 [18:51:05]line Место: АЗС № 88 "Партнер Нефть" [18:51:05]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [18:51:05]line СНО: Общий режим [18:51:05]line Чек 77 25.09.2024 18:51 [18:51:05]line Смена: 231 ФФД: 1.0 [18:51:05]line ЗНМ: 0300000061 [18:51:05]line РНМ: 0000000000146243 [18:51:05]line Версия ККМ: v1.0 [18:51:05]line ФМ: 0000000000959358 [18:51:05]line ФД: 22504 [18:51:05]line ФПД: 272455889227824 [18:51:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T185105&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22504&fm=272455889227824&tin=02508201610067®Number=0000000000146243&sum=5500 [18:51:06]line 0 [18:51:06]OFD Sender: Processing packet 22504 [packets to send 23, broken 22] [18:51:06]ProducePacketName [18:51:06]name=ofd_packets/00022504 [18:51:06]OFD Sender: To server: pG, [18:51:06]CommunicateWithHost lk.salyk.kg:30040 [18:51:06]ConnectInit lk.salyk.kg [18:51:06]written 0, free lines is 4095 [18:51:06]Connected sock=7 [18:51:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 27 01 00 00 3C 75 1F 01 42 D8 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 7C 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 7C 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 99 5B F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E8 57 00 00 35 04 06 00 F7 CC 14 7E 90 30 E6 A3 91 74 00 33 43 17 [18:51:06]Write to MH i2c: 01 00 00 98 0B A3 [18:51:06]Write i2c OK [18:51:06]MH_I2C_Read... [18:51:06]Read from MH i2c: 01 [18:51:06]MH_I2C_Read... [18:51:06]Read from MH i2c: 01 07 00 [18:51:06]MH_I2C_Read... [18:51:06]Read from MH i2c: 01 07 00 98 0B 00 00 00 00 00 36 0D ED [18:51:06]RasterBufferAndPrint [18:51:06]line [18:51:06]line [18:51:06]line [18:51:06]line [18:51:06]line [18:51:06]written 0, free lines is 3388 [18:51:06]MH_Cut [18:51:06]Write to MH i2c: D1 01 00 9F 0B 01 7C [18:51:06]Write i2c OK [18:51:06]MH_I2C_Read... [18:51:06]Read from MH i2c: D1 [18:51:06]MH_I2C_Read... [18:51:06]Read from MH i2c: D1 01 00 [18:51:06]MH_I2C_Read... [18:51:06]Read from MH i2c: D1 01 00 9F 0B 00 7B [18:51:06]Write to MH i2c: 01 00 00 A0 0B AB [18:51:06]Write i2c OK [18:51:06]MH_I2C_Read... [18:51:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 34 48 47 00 F2 DF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E8 57 00 00 F4 03 04 00 BB 05 F4 66 B6 04 01 00 00 11 42 9C 4B 50 7C 12 72 [18:51:06]CommunicateWithHost err = 0 [18:51:06]CheckOFDResponse [18:51:06]1017 (14) - 77093643461234 [18:51:06]1041 (16) - 0000000000959358 [18:51:06]1040 (4) - 22504 [18:51:06]1012 (4) - 25.09.2024 12:44 [18:51:06]1206 (1) - 0 [18:51:06]OFD Sender: Remove packet 22504 [18:51:06]ProducePacketName [18:51:06]name=ofd_packets/00022504 [18:51:06]NVStorageDeleteData [18:51:07]OFD Sender: No OFD packet to send [18:51:07]*** Cut start [18:51:07]*** Partial cut [18:51:07]*** CUTSNS_PIN = 1 [18:51:07]*** CUTSNS_PIN = 0 [18:51:07]*** Brake cut motor [18:51:07]Read from MH i2c: 01 [18:51:07]MH_I2C_Read... [18:51:07]*** Stop cut motor [18:51:07]*** Cut end [18:51:07]Read from MH i2c: 01 07 00 [18:51:07]MH_I2C_Read... [18:51:07]Read from MH i2c: 01 07 00 A0 0B 00 00 00 00 00 FF 0F C0 [18:51:07]process_action close_receipt done [18:51:07]requested_data is exist [18:51:07]produce_requested_data [18:51:07]requested_item fm.sn is exist - process it [18:51:07]wFMCommunicate request_size=4 [18:51:07]MH_SAM_APDU [18:51:07]CAPDU: 80 11 00 00 [18:51:07]Write to MH i2c: E2 08 00 A1 0B 80 11 00 00 00 00 00 00 26 [18:51:07]Write i2c OK [18:51:07]MH_I2C_Read... [18:51:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:51:07]Read from MH i2c: E2 [18:51:07]MH_I2C_Read... [18:51:07]Read from MH i2c: E2 17 00 [18:51:07]MH_I2C_Read... [18:51:07]Read from MH i2c: E2 17 00 A1 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 80 [18:51:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:51:07]wFMCommunicate OK [18:51:07]requested_item fd.num is exist - process it [18:51:07]SAM_PROTO_GetFieldsCounters [18:51:07]wFMCommunicate request_size=4 [18:51:07]MH_SAM_APDU [18:51:07]CAPDU: 80 13 00 00 [18:51:07]Write to MH i2c: E2 08 00 A2 0B 80 13 00 00 00 00 00 00 29 [18:51:07]Write i2c OK [18:51:07]MH_I2C_Read... [18:51:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:51:08]Read from MH i2c: E2 [18:51:08]MH_I2C_Read... [18:51:08]Read from MH i2c: E2 62 00 [18:51:08]MH_I2C_Read... [18:51:08]Read from MH i2c: E2 62 00 A2 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 E8 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 59 [18:51:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 E8 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:51:08]wFMCommunicate OK [18:51:08]SAM_PROTO_GetFieldsCounters done [18:51:08]requested_item shift.num is exist - process it [18:51:08]requested_item shift.opened is exist - process it [18:51:08]req_shift_opened [18:51:08]FM_GetShiftState [18:51:08]SAM_PROTO_GetShiftState [18:51:08]wFMCommunicate request_size=4 [18:51:08]MH_SAM_APDU [18:51:08]CAPDU: 80 13 01 00 [18:51:08]Write to MH i2c: E2 08 00 A3 0B 80 13 01 00 00 00 00 00 2B [18:51:08]Write i2c OK [18:51:08]MH_I2C_Read... [18:51:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:51:08]Read from MH i2c: E2 [18:51:08]MH_I2C_Read... [18:51:08]Read from MH i2c: E2 0E 00 [18:51:08]MH_I2C_Read... [18:51:08]Read from MH i2c: E2 0E 00 A3 0B 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 BC [18:51:08]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:51:08]wFMCommunicate OK [18:51:08]SAM_PROTO_GetShiftState done [18:51:08]FM_GetShiftState done [18:51:08]req_shift_opened done [18:51:08]requested_item shift.open_date is exist - process it [18:51:08]req_shift_open_date [18:51:08]req_shift_open_date done [18:51:08]produce_requested_data done [18:51:08]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22504,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [18:51:08]process_action_free close_receipt [18:51:08]json_value_free [18:51:08]json_value_free done [18:51:08]process_json_proto returns [18:51:08]Send response to host [18:51:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22504,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [18:51:08]free response buf [18:51:08]execute_script done [18:51:08]execute_script returns [18:51:08]free content buf [18:51:08]Sock 9.Close socket [18:51:08]Sock 9.Thread stoped [18:51:12]OFD Sender: No OFD packet to send [18:51:17]OFD Sender: No OFD packet to send [18:51:22]OFD Sender: No OFD packet to send [18:51:27]OFD Sender: No OFD packet to send [18:51:32]OFD Sender: No OFD packet to send [18:51:37]OFD Sender: No OFD packet to send [18:51:42]OFD Sender: No OFD packet to send [18:51:47]OFD Sender: No OFD packet to send [18:51:52]OFD Sender: No OFD packet to send [18:51:57]OFD Sender: No OFD packet to send [18:52:02]OFD Sender: No OFD packet to send [18:52:07]OFD Sender: No OFD packet to send [18:52:12]OFD Sender: No OFD packet to send [18:52:17]OFD Sender: No OFD packet to send [18:52:22]OFD Sender: No OFD packet to send [18:52:27]OFD Sender: No OFD packet to send [18:52:32]OFD Sender: No OFD packet to send [18:52:37]OFD Sender: No OFD packet to send [18:52:42]OFD Sender: No OFD packet to send [18:52:47]OFD Sender: No OFD packet to send [18:52:52]OFD Sender: No OFD packet to send [18:52:57]OFD Sender: No OFD packet to send [18:53:02]OFD Sender: No OFD packet to send [18:53:07]OFD Sender: No OFD packet to send [18:53:12]OFD Sender: No OFD packet to send [18:53:17]OFD Sender: No OFD packet to send [18:53:22]OFD Sender: No OFD packet to send [18:53:27]OFD Sender: No OFD packet to send [18:53:32]OFD Sender: No OFD packet to send [18:53:37]OFD Sender: No OFD packet to send [18:53:42]OFD Sender: No OFD packet to send [18:53:47]OFD Sender: No OFD packet to send [18:53:52]OFD Sender: No OFD packet to send [18:53:57]OFD Sender: No OFD packet to send [18:54:02]OFD Sender: No OFD packet to send [18:54:07]OFD Sender: No OFD packet to send [18:54:12]OFD Sender: No OFD packet to send [18:54:17]OFD Sender: No OFD packet to send [18:54:22]OFD Sender: No OFD packet to send [18:54:27]OFD Sender: No OFD packet to send [18:54:32]OFD Sender: No OFD packet to send [18:54:37]OFD Sender: No OFD packet to send [18:54:42]OFD Sender: No OFD packet to send [18:54:47]OFD Sender: No OFD packet to send [18:54:52]OFD Sender: No OFD packet to send [18:54:57]OFD Sender: No OFD packet to send [18:55:02]OFD Sender: No OFD packet to send [18:55:07]OFD Sender: No OFD packet to send [18:55:12]OFD Sender: No OFD packet to send [18:55:17]OFD Sender: No OFD packet to send [18:55:22]OFD Sender: No OFD packet to send [18:55:27]OFD Sender: No OFD packet to send [18:55:32]OFD Sender: No OFD packet to send [18:55:37]OFD Sender: No OFD packet to send [18:55:42]OFD Sender: No OFD packet to send [18:55:47]OFD Sender: No OFD packet to send [18:55:52]OFD Sender: No OFD packet to send [18:55:57]OFD Sender: No OFD packet to send [18:56:02]OFD Sender: No OFD packet to send [18:56:07]OFD Sender: No OFD packet to send [18:56:10]accept exits with 10 [18:56:10]New connection [18:56:10]New thread 3067583844 created [18:56:10]Thread 3067440484 joined [18:56:10]Waiting for new connection... [18:56:10] Sock 10.Parse request [18:56:10]Sock 10.Check first char [18:56:10]Sock 10.First char is OK [18:56:10]request: POST /json_proto HTTP/1.0 [18:56:10]Method: POST [18:56:10]URL: /json_proto [18:56:10]Method is POST - this is cgi request [18:56:10]url: /json_proto [18:56:10]query_string will be loaded in cgi processing [18:56:10]execute_cgi json_proto POST (null) [18:56:10]execute_cgi path=json_proto method=POST [18:56:10]POST find Content-Length [18:56:10]Host: 172.17.43.4:8080 [18:56:10]Content-Length: 687 [18:56:10]Content-Type: application/json [18:56:10] [18:56:10]POST finish read [18:56:10]Found Content-Length = 687 [18:56:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51702", "tax_sys" : 0, "items" : [ { "code": "4700003010070", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,25\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:56:10]execute_script... [18:56:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51702", "tax_sys" : 0, "items" : [ { "code": "4700003010070", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0447\u0435\u0440 \u043F\u0435\u0440\u0441\u0438\u043A \u041F\u042D\u0422 1,25\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:56:10]POST & json_proto [18:56:10]process_json_proto [18:56:10]json parsed OK: [18:56:10]protocol is kg_v1.0 [18:56:10]action value=close_receipt [18:56:10]process_action close_receipt [18:56:10]cmd_close_receipt [18:56:10]MH_GetDate [18:56:10]Write to MH i2c: F0 00 00 A4 0B 9E [18:56:10]Write i2c OK [18:56:10]MH_I2C_Read... [18:56:10]Read from MH i2c: F0 [18:56:10]MH_I2C_Read... [18:56:10]Read from MH i2c: F0 09 00 [18:56:10]MH_I2C_Read... [18:56:10]Read from MH i2c: F0 09 00 A4 0B 00 CB 5C F4 66 02 BF CF 66 1E [18:56:10]GetLastDocTimeStamp 1727290265 [18:56:10]current date 1727290571 [18:56:10]FM_GetShiftState [18:56:10]SAM_PROTO_GetShiftState [18:56:10]wFMCommunicate request_size=4 [18:56:10]MH_SAM_APDU [18:56:10]CAPDU: 80 13 01 00 [18:56:10]Write to MH i2c: E2 08 00 A5 0B 80 13 01 00 00 00 00 00 2D [18:56:10]Write i2c OK [18:56:10]MH_I2C_Read... [18:56:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:56:10]Read from MH i2c: E2 [18:56:10]MH_I2C_Read... [18:56:10]Read from MH i2c: E2 0E 00 [18:56:10]MH_I2C_Read... [18:56:10]Read from MH i2c: E2 0E 00 A5 0B 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 BE [18:56:10]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:56:10]wFMCommunicate OK [18:56:10]SAM_PROTO_GetShiftState done [18:56:10]FM_GetShiftState done [18:56:10]opened in 1727224020 [18:56:10]opened+sec_in_day 1727310420 [18:56:10]quantity*price = 9500 [18:56:10]sum+1 = 9501 [18:56:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 78 25.09.2024 18:56 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22505 ФПД: 140667402457172 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T185611&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22505&fm=140667402457172&tin=02508201610067®Number=0000000000146243&sum=9500 0 [18:56:11]StoreToDocumentArchive [18:56:11]shift 231 fd 22505 [18:56:11]save to /storage/0231/doc_00022505 [18:56:11]save last doc name /storage/0231/doc_00022505 to /storage/kkm_last_doc_name [18:56:11]save OK [18:56:11]Clear old archive folders... [18:56:11]ProcessDocumentItem done err = 0, tmpTLVsize=299 [18:56:11]tlvbuf is 001E4FE0 [18:56:11]SAM_PROTO_ClearQueue [18:56:11]wFMCommunicate request_size=4 [18:56:11]MH_SAM_APDU [18:56:11]CAPDU: 80 09 00 00 [18:56:11]Write to MH i2c: E2 08 00 B2 0B 80 09 00 00 00 00 00 00 2F [18:56:11]Write i2c OK [18:56:11]MH_I2C_Read... [18:56:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:56:11]Read from MH i2c: E2 [18:56:11]MH_I2C_Read... [18:56:11]Read from MH i2c: E2 03 00 [18:56:11]MH_I2C_Read... [18:56:11]Read from MH i2c: E2 03 00 B2 0B 00 90 00 31 [18:56:11]RAPDU: 90 00 [18:56:11]wFMCommunicate OK [18:56:11]SAM_PROTO_ClearQueue done [18:56:11]KKMCreateOFDPacket [18:56:11]OFDProtocolAddRootSTLVToBuf [18:56:11]FM_MakeSignedData [18:56:11]FM_MakeSignedData [18:56:11]SAM_PROTO_SignData [18:56:11]wFMCommunicate request_size=4 [18:56:11]MH_SAM_APDU [18:56:11]CAPDU: 80 0D 01 02 [18:56:11]Write to MH i2c: E2 08 00 B3 0B 80 0D 01 02 00 00 00 00 37 [18:56:11]Write i2c OK [18:56:11]MH_I2C_Read... [18:56:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:56:11]Read from MH i2c: E2 [18:56:11]MH_I2C_Read... [18:56:11]Read from MH i2c: E2 03 00 [18:56:11]MH_I2C_Read... [18:56:11]Read from MH i2c: E2 03 00 B3 0B 00 90 00 32 [18:56:11]RAPDU: 90 00 [18:56:11]wFMCommunicate OK [18:56:11]wFMCommunicate request_size=255 [18:56:11]MH_SAM_APDU [18:56:11]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 37 30 06 04 39 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 CB 5C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 [18:56:11]Write to MH i2c: E2 02 01 B4 0B 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 37 30 06 04 39 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 CB 5C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 94 [18:56:11]Write i2c OK [18:56:11]MH_I2C_Read... [18:56:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:56:11]Read from MH i2c: E2 [18:56:11]MH_I2C_Read... [18:56:11]Read from MH i2c: E2 03 00 [18:56:11]MH_I2C_Read... [18:56:11]Read from MH i2c: E2 03 00 B4 0B 00 90 00 33 [18:56:11]RAPDU: 90 00 [18:56:11]wFMCommunicate OK [18:56:11]wFMCommunicate request_size=58 [18:56:11]MH_SAM_APDU [18:56:11]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E9 57 00 00 35 04 06 00 7F EF AE 8E 10 54 [18:56:11]Write to MH i2c: E2 3D 00 B5 0B 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E9 57 00 00 35 04 06 00 7F EF AE 8E 10 54 00 00 79 [18:56:11]Write i2c OK [18:56:11]MH_I2C_Read... [18:56:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:56:11]Read from MH i2c: E2 [18:56:11]MH_I2C_Read... [18:56:11]Read from MH i2c: E2 03 00 [18:56:11]MH_I2C_Read... [18:56:11]Read from MH i2c: E2 03 00 B5 0B 00 90 00 34 [18:56:11]RAPDU: 90 00 [18:56:11]wFMCommunicate OK [18:56:11]wFMCommunicate request_size=4 [18:56:11]MH_SAM_APDU [18:56:11]CAPDU: 80 0D 03 02 [18:56:11]Write to MH i2c: E2 08 00 B6 0B 80 0D 03 02 00 00 00 00 3C [18:56:11]Write i2c OK [18:56:11]MH_I2C_Read... [18:56:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:56:11]Read from MH i2c: E2 [18:56:11]MH_I2C_Read... [18:56:11]Read from MH i2c: E2 0B 00 [18:56:11]MH_I2C_Read... [18:56:11]Read from MH i2c: E2 0B 00 B6 0B 00 57 18 D5 B1 15 07 24 4D 90 00 BF [18:56:11]RAPDU: 57 18 D5 B1 15 07 24 4D 90 00 [18:56:11]wFMCommunicate OK [18:56:11]SAM_PROTO_SignData done [18:56:11]FM_MakeSignedData done [18:56:11]CreateOFDProtocolMessage [18:56:11]wFMCommunicate request_size=4 [18:56:11]MH_SAM_APDU [18:56:11]CAPDU: 80 11 00 00 [18:56:11]Write to MH i2c: E2 08 00 B7 0B 80 11 00 00 00 00 00 00 3C [18:56:11]Write i2c OK [18:56:11]MH_I2C_Read... [18:56:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:56:11]Read from MH i2c: E2 [18:56:11]MH_I2C_Read... [18:56:11]Read from MH i2c: E2 17 00 [18:56:11]MH_I2C_Read... [18:56:11]Read from MH i2c: E2 17 00 B7 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 96 [18:56:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:56:11]wFMCommunicate OK [18:56:11]CreateOFDProtocolMessage done [18:56:11]OFDSenderStorePacket 22505 [18:56:11]StoreOFDPacket docnum=22505 [18:56:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 3F 01 00 00 19 D1 37 01 BD 22 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 37 30 06 04 39 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 CB 5C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E9 57 00 00 35 04 06 00 7F EF AE 8E 10 54 57 18 D5 B1 15 07 24 4D [18:56:11]CheckFolder [18:56:11]dirname=/storage/ofd_packets [18:56:11]CheckFolder done [18:56:11]ProducePacketName [18:56:11]name=ofd_packets/00022505 [18:56:11]NVStorageSaveData ofd_packets/00022505 [18:56:11]File name is /storage/ofd_packets/00022505 [18:56:11]Write 349 bytes [18:56:11]NVStorageSaveData done [18:56:11]OFDSenderStorePacket done [18:56:11]KKMCreateOFDPacket done [18:56:11]NVStorageSaveData kkm_last_timestamp [18:56:11]File name is /storage/kkm_last_timestamp [18:56:11]Write 4 bytes [18:56:11]NVStorageSaveData done [18:56:11]ExternCall_PrintAddStr [18:56:11]wPrintStart [18:56:11]Write to MH i2c: 01 00 00 B8 0B C3 [18:56:11]Write i2c OK [18:56:11]MH_I2C_Read... [18:56:11]Read from MH i2c: 01 [18:56:11]MH_I2C_Read... [18:56:11]Read from MH i2c: 01 07 00 [18:56:11]MH_I2C_Read... [18:56:11]Read from MH i2c: 01 07 00 B8 0B 00 00 00 00 00 FF 0F D8 [18:56:11]RasterBufferAndPrint [18:56:11]line Счет N : (3)51702 [18:56:11]line ИНН: 02508201610067 [18:56:11]line Контрольно-Кассовый Чек [18:56:11]line ПРОДАЖА [18:56:11]line Товар: 4700003010070 [18:56:11]line Чай хол Let`s Go! чер персик ПЭТ 1,25л [18:56:11]line 1.000 * 95.00 [18:56:11]line = 95.00 [18:56:11]line НДС 12% НСП 1% [18:56:11]line > о реализуемом товаре [18:56:11]line ИТОГО: 95.00 [18:56:11]line НСП 1% : 0.84 [18:56:11]line НДС 12% : 10.09 [18:56:11]line Наличными: 95.00 [18:56:11]line Безнал.: 0.00 [18:56:11]line Место: АЗС № 88 "Партнер Нефть" [18:56:11]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [18:56:11]line СНО: Общий режим [18:56:11]line Чек 78 25.09.2024 18:56 [18:56:11]line Смена: 231 ФФД: 1.0 [18:56:11]line ЗНМ: 0300000061 [18:56:11]line РНМ: 0000000000146243 [18:56:11]line Версия ККМ: v1.0 [18:56:11]line ФМ: 0000000000959358 [18:56:11]line ФД: 22505 [18:56:12]line ФПД: 140667402457172 [18:56:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T185611&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22505&fm=140667402457172&tin=02508201610067®Number=0000000000146243&sum=9500 [18:56:12]line 0 [18:56:12]OFD Sender: Processing packet 22505 [packets to send 23, broken 22] [18:56:12]ProducePacketName [18:56:12]name=ofd_packets/00022505 [18:56:12]OFD Sender: To server: pG, [18:56:12]CommunicateWithHost lk.salyk.kg:30040 [18:56:12]ConnectInit lk.salyk.kg [18:56:12]written 0, free lines is 4095 [18:56:12]Connected sock=9 [18:56:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 3F 01 00 00 19 D1 37 01 BD 22 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 37 30 06 04 39 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D1 87 D0 B5 D1 80 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 CB 5C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E9 57 00 00 35 04 06 00 7F EF AE 8E 10 54 57 18 D5 B1 15 07 24 4D [18:56:12]Write to MH i2c: 01 00 00 E1 0B EC [18:56:12]Write i2c OK [18:56:12]MH_I2C_Read... [18:56:12]Read from MH i2c: 01 [18:56:12]MH_I2C_Read... [18:56:12]Read from MH i2c: 01 07 00 [18:56:12]MH_I2C_Read... [18:56:12]Read from MH i2c: 01 07 00 E1 0B 00 00 00 00 00 14 0D 14 [18:56:12]RasterBufferAndPrint [18:56:12]line [18:56:12]line [18:56:12]line [18:56:12]line [18:56:12]line [18:56:12]written 0, free lines is 3354 [18:56:12]MH_Cut [18:56:12]Write to MH i2c: D1 01 00 E8 0B 01 C5 [18:56:12]Write i2c OK [18:56:12]MH_I2C_Read... [18:56:12]Read from MH i2c: D1 [18:56:12]MH_I2C_Read... [18:56:12]Read from MH i2c: D1 01 00 [18:56:12]MH_I2C_Read... [18:56:12]Read from MH i2c: D1 01 00 E8 0B 00 C4 [18:56:12]Write to MH i2c: 01 00 00 E9 0B F4 [18:56:12]Write i2c OK [18:56:12]MH_I2C_Read... [18:56:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 B7 AB 47 00 50 83 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 E9 57 00 00 F4 03 04 00 ED 06 F4 66 B6 04 01 00 00 F7 BC BA DD BA 97 B1 87 [18:56:12]CommunicateWithHost err = 0 [18:56:12]CheckOFDResponse [18:56:12]1017 (14) - 77093643461234 [18:56:12]1041 (16) - 0000000000959358 [18:56:12]1040 (4) - 22505 [18:56:12]1012 (4) - 25.09.2024 12:49 [18:56:12]1206 (1) - 0 [18:56:12]OFD Sender: Remove packet 22505 [18:56:12]ProducePacketName [18:56:12]name=ofd_packets/00022505 [18:56:12]NVStorageDeleteData [18:56:13]OFD Sender: No OFD packet to send [18:56:13]*** Cut start [18:56:13]*** Partial cut [18:56:13]*** CUTSNS_PIN = 1 [18:56:13]*** CUTSNS_PIN = 0 [18:56:13]*** Brake cut motor [18:56:13]Read from MH i2c: 01 [18:56:13]MH_I2C_Read... [18:56:13]*** Stop cut motor [18:56:13]*** Cut end [18:56:13]Read from MH i2c: 01 07 00 [18:56:13]MH_I2C_Read... [18:56:13]Read from MH i2c: 01 07 00 E9 0B 00 00 00 00 00 FF 0F 09 [18:56:13]process_action close_receipt done [18:56:13]requested_data is exist [18:56:13]produce_requested_data [18:56:13]requested_item fm.sn is exist - process it [18:56:13]wFMCommunicate request_size=4 [18:56:13]MH_SAM_APDU [18:56:13]CAPDU: 80 11 00 00 [18:56:13]Write to MH i2c: E2 08 00 EA 0B 80 11 00 00 00 00 00 00 6F [18:56:13]Write i2c OK [18:56:13]MH_I2C_Read... [18:56:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:56:13]Read from MH i2c: E2 [18:56:13]MH_I2C_Read... [18:56:13]Read from MH i2c: E2 17 00 [18:56:13]MH_I2C_Read... [18:56:13]Read from MH i2c: E2 17 00 EA 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 C9 [18:56:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:56:13]wFMCommunicate OK [18:56:13]requested_item fd.num is exist - process it [18:56:13]SAM_PROTO_GetFieldsCounters [18:56:13]wFMCommunicate request_size=4 [18:56:13]MH_SAM_APDU [18:56:13]CAPDU: 80 13 00 00 [18:56:13]Write to MH i2c: E2 08 00 EB 0B 80 13 00 00 00 00 00 00 72 [18:56:13]Write i2c OK [18:56:13]MH_I2C_Read... [18:56:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:56:14]Read from MH i2c: E2 [18:56:14]MH_I2C_Read... [18:56:14]Read from MH i2c: E2 62 00 [18:56:14]MH_I2C_Read... [18:56:14]Read from MH i2c: E2 62 00 EB 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 E9 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 A6 [18:56:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 E9 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:56:14]wFMCommunicate OK [18:56:14]SAM_PROTO_GetFieldsCounters done [18:56:14]requested_item shift.num is exist - process it [18:56:14]requested_item shift.opened is exist - process it [18:56:14]req_shift_opened [18:56:14]FM_GetShiftState [18:56:14]SAM_PROTO_GetShiftState [18:56:14]wFMCommunicate request_size=4 [18:56:14]MH_SAM_APDU [18:56:14]CAPDU: 80 13 01 00 [18:56:14]Write to MH i2c: E2 08 00 EC 0B 80 13 01 00 00 00 00 00 74 [18:56:14]Write i2c OK [18:56:14]MH_I2C_Read... [18:56:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:56:14]Read from MH i2c: E2 [18:56:14]MH_I2C_Read... [18:56:14]Read from MH i2c: E2 0E 00 [18:56:14]MH_I2C_Read... [18:56:14]Read from MH i2c: E2 0E 00 EC 0B 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 05 [18:56:14]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:56:14]wFMCommunicate OK [18:56:14]SAM_PROTO_GetShiftState done [18:56:14]FM_GetShiftState done [18:56:14]req_shift_opened done [18:56:14]requested_item shift.open_date is exist - process it [18:56:14]req_shift_open_date [18:56:14]req_shift_open_date done [18:56:14]produce_requested_data done [18:56:14]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22505,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [18:56:14]process_action_free close_receipt [18:56:14]json_value_free [18:56:14]json_value_free done [18:56:14]process_json_proto returns [18:56:14]Send response to host [18:56:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22505,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [18:56:14]free response buf [18:56:14]execute_script done [18:56:14]execute_script returns [18:56:14]free content buf [18:56:14]Sock 10.Close socket [18:56:14]Sock 10.Thread stoped [18:56:18]OFD Sender: No OFD packet to send [18:56:23]OFD Sender: No OFD packet to send [18:56:28]OFD Sender: No OFD packet to send [18:56:33]OFD Sender: No OFD packet to send [18:56:38]OFD Sender: No OFD packet to send [18:56:43]OFD Sender: No OFD packet to send [18:56:48]OFD Sender: No OFD packet to send [18:56:53]OFD Sender: No OFD packet to send [18:56:58]OFD Sender: No OFD packet to send [18:57:03]OFD Sender: No OFD packet to send [18:57:08]OFD Sender: No OFD packet to send [18:57:13]OFD Sender: No OFD packet to send [18:57:18]OFD Sender: No OFD packet to send [18:57:23]OFD Sender: No OFD packet to send [18:57:28]OFD Sender: No OFD packet to send [18:57:33]OFD Sender: No OFD packet to send [18:57:38]OFD Sender: No OFD packet to send [18:57:43]OFD Sender: No OFD packet to send [18:57:48]OFD Sender: No OFD packet to send [18:57:53]OFD Sender: No OFD packet to send [18:57:58]OFD Sender: No OFD packet to send [18:58:03]OFD Sender: No OFD packet to send [18:58:08]OFD Sender: No OFD packet to send [18:58:13]OFD Sender: No OFD packet to send [18:58:18]OFD Sender: No OFD packet to send [18:58:23]OFD Sender: No OFD packet to send [18:58:28]OFD Sender: No OFD packet to send [18:58:33]OFD Sender: No OFD packet to send [18:58:38]OFD Sender: No OFD packet to send [18:58:43]OFD Sender: No OFD packet to send [18:58:48]OFD Sender: No OFD packet to send [18:58:53]OFD Sender: No OFD packet to send [18:58:58]OFD Sender: No OFD packet to send [18:59:03]OFD Sender: No OFD packet to send [18:59:08]OFD Sender: No OFD packet to send [18:59:13]OFD Sender: No OFD packet to send [18:59:18]OFD Sender: No OFD packet to send [18:59:23]OFD Sender: No OFD packet to send [18:59:28]OFD Sender: No OFD packet to send [18:59:33]OFD Sender: No OFD packet to send [18:59:38]OFD Sender: No OFD packet to send [18:59:43]OFD Sender: No OFD packet to send [18:59:48]OFD Sender: No OFD packet to send [18:59:52]accept exits with 7 [18:59:52]New connection [18:59:52]New thread 3067440484 created [18:59:52]Thread 3067583844 joined [18:59:52]Waiting for new connection... [18:59:52] Sock 7.Parse request [18:59:52]Sock 7.Check first char [18:59:52]Sock 7.First char is OK [18:59:52]request: POST /json_proto HTTP/1.0 [18:59:52]Method: POST [18:59:52]URL: /json_proto [18:59:52]Method is POST - this is cgi request [18:59:52]url: /json_proto [18:59:52]query_string will be loaded in cgi processing [18:59:52]execute_cgi json_proto POST (null) [18:59:52]execute_cgi path=json_proto method=POST [18:59:52]POST find Content-Length [18:59:52]Host: 172.17.43.4:8080 [18:59:52]Content-Length: 654 [18:59:52]Content-Type: application/json [18:59:52] [18:59:52]POST finish read [18:59:52]Found Content-Length = 654 [18:59:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51703", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:59:52]execute_script... [18:59:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51703", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:59:52]POST & json_proto [18:59:52]process_json_proto [18:59:52]json parsed OK: [18:59:52]protocol is kg_v1.0 [18:59:52]action value=close_receipt [18:59:52]process_action close_receipt [18:59:52]cmd_close_receipt [18:59:52]MH_GetDate [18:59:52]Write to MH i2c: F0 00 00 ED 0B E7 [18:59:52]Write i2c OK [18:59:52]MH_I2C_Read... [18:59:52]Read from MH i2c: F0 [18:59:52]MH_I2C_Read... [18:59:52]Read from MH i2c: F0 09 00 [18:59:52]MH_I2C_Read... [18:59:52]Read from MH i2c: F0 09 00 ED 0B 00 A9 5D F4 66 02 BF CF 66 46 [18:59:52]GetLastDocTimeStamp 1727290571 [18:59:52]current date 1727290793 [18:59:52]FM_GetShiftState [18:59:52]SAM_PROTO_GetShiftState [18:59:52]wFMCommunicate request_size=4 [18:59:52]MH_SAM_APDU [18:59:52]CAPDU: 80 13 01 00 [18:59:52]Write to MH i2c: E2 08 00 EE 0B 80 13 01 00 00 00 00 00 76 [18:59:52]Write i2c OK [18:59:52]MH_I2C_Read... [18:59:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:59:52]Read from MH i2c: E2 [18:59:52]MH_I2C_Read... [18:59:52]Read from MH i2c: E2 0E 00 [18:59:52]MH_I2C_Read... [18:59:52]Read from MH i2c: E2 0E 00 EE 0B 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 07 [18:59:52]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:59:52]wFMCommunicate OK [18:59:52]SAM_PROTO_GetShiftState done [18:59:52]FM_GetShiftState done [18:59:52]opened in 1727224020 [18:59:52]opened+sec_in_day 1727310420 [18:59:52]quantity*price = 8500 [18:59:52]sum+1 = 8501 [18:59:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 85.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 79 25.09.2024 18:59 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22506 ФПД: 113526227315451 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T185953&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22506&fm=113526227315451&tin=02508201610067®Number=0000000000146243&sum=8500 0 [18:59:53]StoreToDocumentArchive [18:59:53]shift 231 fd 22506 [18:59:53]save to /storage/0231/doc_00022506 [18:59:53]save last doc name /storage/0231/doc_00022506 to /storage/kkm_last_doc_name [18:59:53]save OK [18:59:53]Clear old archive folders... [18:59:53]ProcessDocumentItem done err = 0, tmpTLVsize=294 [18:59:53]tlvbuf is 0022D870 [18:59:53]SAM_PROTO_ClearQueue [18:59:53]wFMCommunicate request_size=4 [18:59:53]MH_SAM_APDU [18:59:53]CAPDU: 80 09 00 00 [18:59:53]Write to MH i2c: E2 08 00 FB 0B 80 09 00 00 00 00 00 00 78 [18:59:53]Write i2c OK [18:59:53]MH_I2C_Read... [18:59:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:59:53]Read from MH i2c: E2 [18:59:53]MH_I2C_Read... [18:59:53]Read from MH i2c: E2 03 00 [18:59:53]MH_I2C_Read... [18:59:53]Read from MH i2c: E2 03 00 FB 0B 00 90 00 7A [18:59:53]RAPDU: 90 00 [18:59:53]wFMCommunicate OK [18:59:53]SAM_PROTO_ClearQueue done [18:59:53]KKMCreateOFDPacket [18:59:53]OFDProtocolAddRootSTLVToBuf [18:59:53]FM_MakeSignedData [18:59:53]FM_MakeSignedData [18:59:53]SAM_PROTO_SignData [18:59:53]wFMCommunicate request_size=4 [18:59:53]MH_SAM_APDU [18:59:53]CAPDU: 80 0D 01 02 [18:59:53]Write to MH i2c: E2 08 00 FC 0B 80 0D 01 02 00 00 00 00 80 [18:59:53]Write i2c OK [18:59:53]MH_I2C_Read... [18:59:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:59:53]Read from MH i2c: E2 [18:59:53]MH_I2C_Read... [18:59:53]Read from MH i2c: E2 03 00 [18:59:53]MH_I2C_Read... [18:59:53]Read from MH i2c: E2 03 00 FC 0B 00 90 00 7B [18:59:53]RAPDU: 90 00 [18:59:53]wFMCommunicate OK [18:59:53]wFMCommunicate request_size=255 [18:59:53]MH_SAM_APDU [18:59:53]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 A9 5D F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [18:59:53]Write to MH i2c: E2 02 01 FD 0B 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 A9 5D F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 FA [18:59:53]Write i2c OK [18:59:53]MH_I2C_Read... [18:59:53]OFD Sender: No OFD packet to send [18:59:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:59:53]Read from MH i2c: E2 [18:59:53]MH_I2C_Read... [18:59:53]Read from MH i2c: E2 03 00 [18:59:53]MH_I2C_Read... [18:59:53]Read from MH i2c: E2 03 00 FD 0B 00 90 00 7C [18:59:53]RAPDU: 90 00 [18:59:53]wFMCommunicate OK [18:59:53]wFMCommunicate request_size=53 [18:59:53]MH_SAM_APDU [18:59:53]CAPDU: 80 0D 02 02 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 EA 57 00 00 35 04 06 00 67 40 62 73 AA FB [18:59:53]Write to MH i2c: E2 38 00 FE 0B 80 0D 02 02 30 00 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 EA 57 00 00 35 04 06 00 67 40 62 73 AA FB 00 00 DC [18:59:53]Write i2c OK [18:59:53]MH_I2C_Read... [18:59:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:59:53]Read from MH i2c: E2 [18:59:53]MH_I2C_Read... [18:59:53]Read from MH i2c: E2 03 00 [18:59:53]MH_I2C_Read... [18:59:53]Read from MH i2c: E2 03 00 FE 0B 00 90 00 7D [18:59:53]RAPDU: 90 00 [18:59:53]wFMCommunicate OK [18:59:53]wFMCommunicate request_size=4 [18:59:53]MH_SAM_APDU [18:59:53]CAPDU: 80 0D 03 02 [18:59:53]Write to MH i2c: E2 08 00 FF 0B 80 0D 03 02 00 00 00 00 85 [18:59:53]Write i2c OK [18:59:53]MH_I2C_Read... [18:59:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:59:53]Read from MH i2c: E2 [18:59:53]MH_I2C_Read... [18:59:53]Read from MH i2c: E2 0B 00 [18:59:53]MH_I2C_Read... [18:59:53]Read from MH i2c: E2 0B 00 FF 0B 00 26 E0 93 36 CD 71 ED 2A 90 00 AA [18:59:53]RAPDU: 26 E0 93 36 CD 71 ED 2A 90 00 [18:59:53]wFMCommunicate OK [18:59:53]SAM_PROTO_SignData done [18:59:53]FM_MakeSignedData done [18:59:53]CreateOFDProtocolMessage [18:59:53]wFMCommunicate request_size=4 [18:59:53]MH_SAM_APDU [18:59:53]CAPDU: 80 11 00 00 [18:59:53]Write to MH i2c: E2 08 00 00 0C 80 11 00 00 00 00 00 00 86 [18:59:53]Write i2c OK [18:59:53]MH_I2C_Read... [18:59:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:59:53]Read from MH i2c: E2 [18:59:53]MH_I2C_Read... [18:59:53]Read from MH i2c: E2 17 00 [18:59:53]MH_I2C_Read... [18:59:53]Read from MH i2c: E2 17 00 00 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 E0 [18:59:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:59:53]wFMCommunicate OK [18:59:53]CreateOFDProtocolMessage done [18:59:53]OFDSenderStorePacket 22506 [18:59:53]StoreOFDPacket docnum=22506 [18:59:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 3A 01 00 00 EA 0F 32 01 AD 4A 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 A9 5D F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 EA 57 00 00 35 04 06 00 67 40 62 73 AA FB 26 E0 93 36 CD 71 ED 2A [18:59:53]CheckFolder [18:59:53]dirname=/storage/ofd_packets [18:59:53]CheckFolder done [18:59:53]ProducePacketName [18:59:53]name=ofd_packets/00022506 [18:59:53]NVStorageSaveData ofd_packets/00022506 [18:59:53]File name is /storage/ofd_packets/00022506 [18:59:53]Write 344 bytes [18:59:53]NVStorageSaveData done [18:59:53]OFDSenderStorePacket done [18:59:53]KKMCreateOFDPacket done [18:59:53]NVStorageSaveData kkm_last_timestamp [18:59:53]File name is /storage/kkm_last_timestamp [18:59:53]Write 4 bytes [18:59:53]NVStorageSaveData done [18:59:53]ExternCall_PrintAddStr [18:59:53]wPrintStart [18:59:53]Write to MH i2c: 01 00 00 01 0C 0D [18:59:53]Write i2c OK [18:59:53]MH_I2C_Read... [18:59:53]Read from MH i2c: 01 [18:59:53]MH_I2C_Read... [18:59:53]Read from MH i2c: 01 07 00 [18:59:53]MH_I2C_Read... [18:59:53]Read from MH i2c: 01 07 00 01 0C 00 00 00 00 00 FF 0F 22 [18:59:53]RasterBufferAndPrint [18:59:53]line Счет N : (3)51703 [18:59:53]line ИНН: 02508201610067 [18:59:53]line Контрольно-Кассовый Чек [18:59:53]line ПРОДАЖА [18:59:53]line Товар: 4600682557456 [18:59:53]line Напиток FLash up energy эн ж/б 0,5/0,45л [18:59:53]line 1.000 * 85.00 [18:59:53]line = 85.00 [18:59:53]line НДС 12% НСП 1% [18:59:53]line > о реализуемом товаре [18:59:53]line ИТОГО: 85.00 [18:59:53]line НСП 1% : 0.75 [18:59:53]line НДС 12% : 9.03 [18:59:53]line Наличными: 85.00 [18:59:53]line Безнал.: 0.00 [18:59:53]line Место: АЗС № 88 "Партнер Нефть" [18:59:53]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [18:59:53]line СНО: Общий режим [18:59:53]line Чек 79 25.09.2024 18:59 [18:59:53]line Смена: 231 ФФД: 1.0 [18:59:53]line ЗНМ: 0300000061 [18:59:53]line РНМ: 0000000000146243 [18:59:53]line Версия ККМ: v1.0 [18:59:53]line ФМ: 0000000000959358 [18:59:53]line ФД: 22506 [18:59:53]line ФПД: 113526227315451 [18:59:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T185953&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22506&fm=113526227315451&tin=02508201610067®Number=0000000000146243&sum=8500 [18:59:54]line 0 [18:59:54]OFD Sender: Processing packet 22506 [packets to send 23, broken 22] [18:59:54]ProducePacketName [18:59:54]name=ofd_packets/00022506 [18:59:54]OFD Sender: To server: pG, [18:59:54]CommunicateWithHost lk.salyk.kg:30040 [18:59:54]ConnectInit lk.salyk.kg [18:59:54]written 0, free lines is 4095 [18:59:54]Connected sock=9 [18:59:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 3A 01 00 00 EA 0F 32 01 AD 4A 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 A9 5D F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 EA 57 00 00 35 04 06 00 67 40 62 73 AA FB 26 E0 93 36 CD 71 ED 2A [18:59:54]Write to MH i2c: 01 00 00 2A 0C 36 [18:59:54]Write i2c OK [18:59:54]MH_I2C_Read... [18:59:54]Read from MH i2c: 01 [18:59:54]MH_I2C_Read... [18:59:54]Read from MH i2c: 01 07 00 [18:59:54]MH_I2C_Read... [18:59:54]Read from MH i2c: 01 07 00 2A 0C 00 00 00 00 00 12 0D 5C [18:59:54]RasterBufferAndPrint [18:59:54]line [18:59:54]line [18:59:54]line [18:59:54]line [18:59:54]line [18:59:54]written 0, free lines is 3352 [18:59:54]MH_Cut [18:59:54]Write to MH i2c: D1 01 00 31 0C 01 0F [18:59:54]Write i2c OK [18:59:54]MH_I2C_Read... [18:59:54]Read from MH i2c: D1 [18:59:54]MH_I2C_Read... [18:59:54]Read from MH i2c: D1 01 00 [18:59:54]MH_I2C_Read... [18:59:54]Read from MH i2c: D1 01 00 31 0C 00 0E [18:59:54]Write to MH i2c: 01 00 00 32 0C 3E [18:59:54]Write i2c OK [18:59:54]MH_I2C_Read... [18:59:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 14 8A 47 00 6F DC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 EA 57 00 00 F4 03 04 00 CB 07 F4 66 B6 04 01 00 00 ED 07 5B 0E 60 01 90 5E [18:59:54]CommunicateWithHost err = 0 [18:59:54]CheckOFDResponse [18:59:54]1017 (14) - 77093643461234 [18:59:54]1041 (16) - 0000000000959358 [18:59:54]1040 (4) - 22506 [18:59:54]1012 (4) - 25.09.2024 12:53 [18:59:54]1206 (1) - 0 [18:59:54]OFD Sender: Remove packet 22506 [18:59:54]ProducePacketName [18:59:54]name=ofd_packets/00022506 [18:59:54]NVStorageDeleteData [18:59:55]OFD Sender: No OFD packet to send [18:59:55]*** Cut start [18:59:55]*** Partial cut [18:59:55]*** CUTSNS_PIN = 1 [18:59:55]*** CUTSNS_PIN = 0 [18:59:55]*** Brake cut motor [18:59:55]Read from MH i2c: 01 [18:59:55]MH_I2C_Read... [18:59:55]*** Stop cut motor [18:59:55]*** Cut end [18:59:55]Read from MH i2c: 01 07 00 [18:59:55]MH_I2C_Read... [18:59:55]Read from MH i2c: 01 07 00 32 0C 00 00 00 00 00 FF 0F 53 [18:59:55]process_action close_receipt done [18:59:55]requested_data is exist [18:59:55]produce_requested_data [18:59:55]requested_item fm.sn is exist - process it [18:59:55]wFMCommunicate request_size=4 [18:59:55]MH_SAM_APDU [18:59:55]CAPDU: 80 11 00 00 [18:59:55]Write to MH i2c: E2 08 00 33 0C 80 11 00 00 00 00 00 00 B9 [18:59:55]Write i2c OK [18:59:55]MH_I2C_Read... [18:59:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:59:55]Read from MH i2c: E2 [18:59:55]MH_I2C_Read... [18:59:55]Read from MH i2c: E2 17 00 [18:59:55]MH_I2C_Read... [18:59:55]Read from MH i2c: E2 17 00 33 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 13 [18:59:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [18:59:55]wFMCommunicate OK [18:59:55]requested_item fd.num is exist - process it [18:59:55]SAM_PROTO_GetFieldsCounters [18:59:55]wFMCommunicate request_size=4 [18:59:55]MH_SAM_APDU [18:59:55]CAPDU: 80 13 00 00 [18:59:55]Write to MH i2c: E2 08 00 34 0C 80 13 00 00 00 00 00 00 BC [18:59:55]Write i2c OK [18:59:55]MH_I2C_Read... [18:59:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:59:55]Read from MH i2c: E2 [18:59:55]MH_I2C_Read... [18:59:55]Read from MH i2c: E2 62 00 [18:59:55]MH_I2C_Read... [18:59:55]Read from MH i2c: E2 62 00 34 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 EA 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 F4 [18:59:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 EA 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:59:55]wFMCommunicate OK [18:59:55]SAM_PROTO_GetFieldsCounters done [18:59:55]requested_item shift.num is exist - process it [18:59:55]requested_item shift.opened is exist - process it [18:59:55]req_shift_opened [18:59:55]FM_GetShiftState [18:59:55]SAM_PROTO_GetShiftState [18:59:55]wFMCommunicate request_size=4 [18:59:55]MH_SAM_APDU [18:59:55]CAPDU: 80 13 01 00 [18:59:55]Write to MH i2c: E2 08 00 35 0C 80 13 01 00 00 00 00 00 BE [18:59:55]Write i2c OK [18:59:55]MH_I2C_Read... [18:59:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:59:56]Read from MH i2c: E2 [18:59:56]MH_I2C_Read... [18:59:56]Read from MH i2c: E2 0E 00 [18:59:56]MH_I2C_Read... [18:59:56]Read from MH i2c: E2 0E 00 35 0C 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 4F [18:59:56]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [18:59:56]wFMCommunicate OK [18:59:56]SAM_PROTO_GetShiftState done [18:59:56]FM_GetShiftState done [18:59:56]req_shift_opened done [18:59:56]requested_item shift.open_date is exist - process it [18:59:56]req_shift_open_date [18:59:56]req_shift_open_date done [18:59:56]produce_requested_data done [18:59:56]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22506,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [18:59:56]process_action_free close_receipt [18:59:56]json_value_free [18:59:56]json_value_free done [18:59:56]process_json_proto returns [18:59:56]Send response to host [18:59:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22506,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [18:59:56]free response buf [18:59:56]execute_script done [18:59:56]execute_script returns [18:59:56]free content buf [18:59:56]Sock 7.Close socket [18:59:56]Sock 7.Thread stoped [19:00:00]OFD Sender: No OFD packet to send [19:00:05]OFD Sender: No OFD packet to send [19:00:10]OFD Sender: No OFD packet to send [19:00:15]OFD Sender: No OFD packet to send [19:00:20]OFD Sender: No OFD packet to send [19:00:25]OFD Sender: No OFD packet to send [19:00:30]OFD Sender: No OFD packet to send [19:00:35]OFD Sender: No OFD packet to send [19:00:40]OFD Sender: No OFD packet to send [19:00:45]OFD Sender: No OFD packet to send [19:00:50]OFD Sender: No OFD packet to send [19:00:55]OFD Sender: No OFD packet to send [19:01:00]OFD Sender: No OFD packet to send [19:01:01]accept exits with 10 [19:01:01]New connection [19:01:01]New thread 3067583844 created [19:01:01]Thread 3067440484 joined [19:01:01]Waiting for new connection... [19:01:01] Sock 10.Parse request [19:01:01]Sock 10.Check first char [19:01:01]Sock 10.First char is OK [19:01:01]request: POST /json_proto HTTP/1.0 [19:01:01]Method: POST [19:01:01]URL: /json_proto [19:01:01]Method is POST - this is cgi request [19:01:01]url: /json_proto [19:01:01]query_string will be loaded in cgi processing [19:01:01]execute_cgi json_proto POST (null) [19:01:01]execute_cgi path=json_proto method=POST [19:01:01]POST find Content-Length [19:01:01]Host: 172.17.43.4:8080 [19:01:01]Content-Length: 683 [19:01:01]Content-Type: application/json [19:01:01] [19:01:01]POST finish read [19:01:01]Found Content-Length = 683 [19:01:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165073", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "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" ] } } [19:01:01]execute_script... [19:01:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165073", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "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" ] } } [19:01:01]POST & json_proto [19:01:01]process_json_proto [19:01:01]json parsed OK: [19:01:01]protocol is kg_v1.0 [19:01:01]action value=close_receipt [19:01:01]process_action close_receipt [19:01:01]cmd_close_receipt [19:01:01]MH_GetDate [19:01:01]Write to MH i2c: F0 00 00 36 0C 31 [19:01:01]Write i2c OK [19:01:01]MH_I2C_Read... [19:01:01]Read from MH i2c: F0 [19:01:01]MH_I2C_Read... [19:01:01]Read from MH i2c: F0 09 00 [19:01:01]MH_I2C_Read... [19:01:01]Read from MH i2c: F0 09 00 36 0C 00 EF 5D F4 66 02 BF CF 66 D6 [19:01:01]GetLastDocTimeStamp 1727290793 [19:01:01]current date 1727290863 [19:01:01]FM_GetShiftState [19:01:01]SAM_PROTO_GetShiftState [19:01:01]wFMCommunicate request_size=4 [19:01:01]MH_SAM_APDU [19:01:01]CAPDU: 80 13 01 00 [19:01:01]Write to MH i2c: E2 08 00 37 0C 80 13 01 00 00 00 00 00 C0 [19:01:01]Write i2c OK [19:01:01]MH_I2C_Read... [19:01:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:01:01]Read from MH i2c: E2 [19:01:01]MH_I2C_Read... [19:01:01]Read from MH i2c: E2 0E 00 [19:01:01]MH_I2C_Read... [19:01:01]Read from MH i2c: E2 0E 00 37 0C 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 51 [19:01:01]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [19:01:01]wFMCommunicate OK [19:01:01]SAM_PROTO_GetShiftState done [19:01:01]FM_GetShiftState done [19:01:01]opened in 1727224020 [19:01:01]opened+sec_in_day 1727310420 [19:01:01]quantity*price = 100005 [19:01:01]sum+1 = 100006 [19:01:01]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.05 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.20 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 80 25.09.2024 19:01 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22507 ФПД: 70252085784482 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T190103&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22507&fm=70252085784482&tin=02508201610067®Number=0000000000146243&sum=100000 [19:01:02]StoreToDocumentArchive [19:01:02]shift 231 fd 22507 [19:01:02]save to /storage/0231/doc_00022507 [19:01:02]save last doc name /storage/0231/doc_00022507 to /storage/kkm_last_doc_name [19:01:02]save OK [19:01:02]Clear old archive folders... [19:01:02]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:01:02]tlvbuf is 00204730 [19:01:02]SAM_PROTO_ClearQueue [19:01:02]wFMCommunicate request_size=4 [19:01:02]MH_SAM_APDU [19:01:02]CAPDU: 80 09 00 00 [19:01:02]Write to MH i2c: E2 08 00 44 0C 80 09 00 00 00 00 00 00 C2 [19:01:02]Write i2c OK [19:01:02]MH_I2C_Read... [19:01:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:01:02]Read from MH i2c: E2 [19:01:02]MH_I2C_Read... [19:01:02]Read from MH i2c: E2 03 00 [19:01:02]MH_I2C_Read... [19:01:02]Read from MH i2c: E2 03 00 44 0C 00 90 00 C4 [19:01:02]RAPDU: 90 00 [19:01:02]wFMCommunicate OK [19:01:02]SAM_PROTO_ClearQueue done [19:01:02]KKMCreateOFDPacket [19:01:02]OFDProtocolAddRootSTLVToBuf [19:01:02]FM_MakeSignedData [19:01:02]FM_MakeSignedData [19:01:02]SAM_PROTO_SignData [19:01:02]wFMCommunicate request_size=4 [19:01:02]MH_SAM_APDU [19:01:02]CAPDU: 80 0D 01 02 [19:01:02]Write to MH i2c: E2 08 00 45 0C 80 0D 01 02 00 00 00 00 CA [19:01:02]Write i2c OK [19:01:02]MH_I2C_Read... [19:01:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:01:02]Read from MH i2c: E2 [19:01:02]MH_I2C_Read... [19:01:02]Read from MH i2c: E2 03 00 [19:01:02]MH_I2C_Read... [19:01:02]Read from MH i2c: E2 03 00 45 0C 00 90 00 C5 [19:01:02]RAPDU: 90 00 [19:01:02]wFMCommunicate OK [19:01:02]wFMCommunicate request_size=255 [19:01:02]MH_SAM_APDU [19:01:02]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 50 00 00 00 F4 03 04 00 EF 5D F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 EB 57 00 00 35 04 06 00 3F [19:01:02]Write to MH i2c: E2 02 01 46 0C 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 50 00 00 00 F4 03 04 00 EF 5D F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 EB 57 00 00 35 04 06 00 3F 00 00 38 [19:01:02]Write i2c OK [19:01:02]MH_I2C_Read... [19:01:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:01:03]Read from MH i2c: E2 [19:01:03]MH_I2C_Read... [19:01:03]Read from MH i2c: E2 03 00 [19:01:03]MH_I2C_Read... [19:01:03]Read from MH i2c: E2 03 00 46 0C 00 90 00 C6 [19:01:03]RAPDU: 90 00 [19:01:03]wFMCommunicate OK [19:01:03]wFMCommunicate request_size=10 [19:01:03]MH_SAM_APDU [19:01:03]CAPDU: 80 0D 02 02 05 E4 D6 9E 2F A2 [19:01:03]Write to MH i2c: E2 0D 00 47 0C 80 0D 02 02 05 00 E4 D6 9E 2F A2 00 00 00 [19:01:03]Write i2c OK [19:01:03]MH_I2C_Read... [19:01:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:01:03]Read from MH i2c: E2 [19:01:03]MH_I2C_Read... [19:01:03]Read from MH i2c: E2 03 00 [19:01:03]MH_I2C_Read... [19:01:03]Read from MH i2c: E2 03 00 47 0C 00 90 00 C7 [19:01:03]RAPDU: 90 00 [19:01:03]wFMCommunicate OK [19:01:03]wFMCommunicate request_size=4 [19:01:03]MH_SAM_APDU [19:01:03]CAPDU: 80 0D 03 02 [19:01:03]Write to MH i2c: E2 08 00 48 0C 80 0D 03 02 00 00 00 00 CF [19:01:03]Write i2c OK [19:01:03]MH_I2C_Read... [19:01:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:01:03]Read from MH i2c: E2 [19:01:03]MH_I2C_Read... [19:01:03]Read from MH i2c: E2 0B 00 [19:01:03]MH_I2C_Read... [19:01:03]Read from MH i2c: E2 0B 00 48 0C 00 51 69 11 0A C0 09 63 EB 90 00 BC [19:01:03]RAPDU: 51 69 11 0A C0 09 63 EB 90 00 [19:01:03]wFMCommunicate OK [19:01:03]SAM_PROTO_SignData done [19:01:03]FM_MakeSignedData done [19:01:03]CreateOFDProtocolMessage [19:01:03]wFMCommunicate request_size=4 [19:01:03]MH_SAM_APDU [19:01:03]CAPDU: 80 11 00 00 [19:01:03]Write to MH i2c: E2 08 00 49 0C 80 11 00 00 00 00 00 00 CF [19:01:03]Write i2c OK [19:01:03]MH_I2C_Read... [19:01:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:01:03]Read from MH i2c: E2 [19:01:03]MH_I2C_Read... [19:01:03]Read from MH i2c: E2 17 00 [19:01:03]MH_I2C_Read... [19:01:03]Read from MH i2c: E2 17 00 49 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 29 [19:01:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [19:01:03]wFMCommunicate OK [19:01:03]CreateOFDProtocolMessage done [19:01:03]OFDSenderStorePacket 22507 [19:01:03]StoreOFDPacket docnum=22507 [19:01:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 26 ED 07 01 1B D4 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 50 00 00 00 F4 03 04 00 EF 5D F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 EB 57 00 00 35 04 06 00 3F E4 D6 9E 2F A2 51 69 11 0A C0 09 63 EB [19:01:03]CheckFolder [19:01:03]dirname=/storage/ofd_packets [19:01:03]CheckFolder done [19:01:03]ProducePacketName [19:01:03]name=ofd_packets/00022507 [19:01:03]NVStorageSaveData ofd_packets/00022507 [19:01:03]File name is /storage/ofd_packets/00022507 [19:01:03]Write 301 bytes [19:01:03]NVStorageSaveData done [19:01:03]OFDSenderStorePacket done [19:01:03]KKMCreateOFDPacket done [19:01:03]NVStorageSaveData kkm_last_timestamp [19:01:03]File name is /storage/kkm_last_timestamp [19:01:03]Write 4 bytes [19:01:03]NVStorageSaveData done [19:01:03]ExternCall_PrintAddStr [19:01:03]wPrintStart [19:01:03]Write to MH i2c: 01 00 00 4A 0C 56 [19:01:03]Write i2c OK [19:01:03]MH_I2C_Read... [19:01:03]Read from MH i2c: 01 [19:01:03]MH_I2C_Read... [19:01:03]Read from MH i2c: 01 07 00 [19:01:03]MH_I2C_Read... [19:01:03]Read from MH i2c: 01 07 00 4A 0C 00 00 00 00 00 FF 0F 6B [19:01:03]RasterBufferAndPrint [19:01:03]line Счет N : (1)2165073 [19:01:03]line ИНН: 02508201610067 [19:01:03]line Контрольно-Кассовый Чек [19:01:03]line ПРОДАЖА [19:01:03]line ТРК (МРК, ГНК) : 12 [19:01:03]line Товар: 2710124130 [19:01:03]line Аи-92-К-5 [19:01:03]line 14.750 * 67.80 [19:01:03]line = 1000.05 [19:01:03]line НДС 12% НСП 1% [19:01:03]line > о реализуемом товаре [19:01:03]line ОКРУГЛЕНИЕ: -0.05 [19:01:03]line ИТОГО: 1000.00 [19:01:03]line Внесено: 1000.00 [19:01:03]line СДАЧА: 0.00 [19:01:03]line НСП 1% : 8.85 [19:01:03]line НДС 12% : 106.20 [19:01:03]line Наличными: 1000.00 [19:01:03]line Безнал.: 0.00 [19:01:03]line Место: АЗС № 88 "Партнер Нефть" [19:01:03]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [19:01:03]line СНО: Общий режим [19:01:03]line Чек 80 25.09.2024 19:01 [19:01:03]line Смена: 231 ФФД: 1.0 [19:01:03]line ЗНМ: 0300000061 [19:01:03]line РНМ: 0000000000146243 [19:01:03]line Версия ККМ: v1.0 [19:01:03]line ФМ: 0000000000959358 [19:01:03]line ФД: 22507 [19:01:03]line ФПД: 70252085784482 [19:01:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T190103&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22507&fm=70252085784482&tin=02508201610067®Number=0000000000146243&sum=100000 [19:01:03]OFD Sender: Processing packet 22507 [packets to send 23, broken 22] [19:01:03]ProducePacketName [19:01:03]name=ofd_packets/00022507 [19:01:03]OFD Sender: To server: pG, [19:01:03]CommunicateWithHost lk.salyk.kg:30040 [19:01:03]ConnectInit lk.salyk.kg [19:01:03]written 0, free lines is 4095 [19:01:03]Connected sock=11 [19:01:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0F 01 00 00 26 ED 07 01 1B D4 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 50 00 00 00 F4 03 04 00 EF 5D F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 EB 57 00 00 35 04 06 00 3F E4 D6 9E 2F A2 51 69 11 0A C0 09 63 EB [19:01:04]Write to MH i2c: 01 00 00 75 0C 81 [19:01:04]Write i2c OK [19:01:04]MH_I2C_Read... [19:01:04]Read from MH i2c: 01 [19:01:04]MH_I2C_Read... [19:01:04]Read from MH i2c: 01 07 00 [19:01:04]MH_I2C_Read... [19:01:04]Read from MH i2c: 01 07 00 75 0C 00 00 00 00 00 FB 0C 8F [19:01:04]RasterBufferAndPrint [19:01:04]line [19:01:04]line [19:01:04]line [19:01:04]line [19:01:04]line [19:01:04]written 0, free lines is 3330 [19:01:04]MH_Cut [19:01:04]Write to MH i2c: D1 01 00 7C 0C 01 5A [19:01:04]Write i2c OK [19:01:04]MH_I2C_Read... [19:01:04]Read from MH i2c: D1 [19:01:04]MH_I2C_Read... [19:01:04]Read from MH i2c: D1 01 00 [19:01:04]MH_I2C_Read... [19:01:04]Read from MH i2c: D1 01 00 7C 0C 00 59 [19:01:04]Write to MH i2c: 01 00 00 7D 0C 89 [19:01:04]Write i2c OK [19:01:04]MH_I2C_Read... [19:01:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 99 1A 47 00 B0 37 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 EB 57 00 00 F4 03 04 00 10 08 F4 66 B6 04 01 00 00 57 B2 38 77 74 0C E5 6C [19:01:04]CommunicateWithHost err = 0 [19:01:04]CheckOFDResponse [19:01:04]1017 (14) - 77093643461234 [19:01:04]1041 (16) - 0000000000959358 [19:01:04]1040 (4) - 22507 [19:01:04]1012 (4) - 25.09.2024 12:54 [19:01:04]1206 (1) - 0 [19:01:04]OFD Sender: Remove packet 22507 [19:01:04]ProducePacketName [19:01:04]name=ofd_packets/00022507 [19:01:04]NVStorageDeleteData [19:01:04]OFD Sender: No OFD packet to send [19:01:04]*** Cut start [19:01:04]*** Partial cut [19:01:04]*** CUTSNS_PIN = 1 [19:01:04]*** CUTSNS_PIN = 0 [19:01:05]*** Brake cut motor [19:01:05]Read from MH i2c: 01 [19:01:05]MH_I2C_Read... [19:01:05]*** Stop cut motor [19:01:05]*** Cut end [19:01:05]Read from MH i2c: 01 07 00 [19:01:05]MH_I2C_Read... [19:01:05]Read from MH i2c: 01 07 00 7D 0C 00 00 00 00 00 FF 0F 9E [19:01:05]process_action close_receipt done [19:01:05]requested_data is exist [19:01:05]produce_requested_data [19:01:05]requested_item fm.sn is exist - process it [19:01:05]wFMCommunicate request_size=4 [19:01:05]MH_SAM_APDU [19:01:05]CAPDU: 80 11 00 00 [19:01:05]Write to MH i2c: E2 08 00 7E 0C 80 11 00 00 00 00 00 00 04 [19:01:05]Write i2c OK [19:01:05]MH_I2C_Read... [19:01:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:01:05]Read from MH i2c: E2 [19:01:05]MH_I2C_Read... [19:01:05]Read from MH i2c: E2 17 00 [19:01:05]MH_I2C_Read... [19:01:05]Read from MH i2c: E2 17 00 7E 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 5E [19:01:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [19:01:05]wFMCommunicate OK [19:01:05]requested_item fd.num is exist - process it [19:01:05]SAM_PROTO_GetFieldsCounters [19:01:05]wFMCommunicate request_size=4 [19:01:05]MH_SAM_APDU [19:01:05]CAPDU: 80 13 00 00 [19:01:05]Write to MH i2c: E2 08 00 7F 0C 80 13 00 00 00 00 00 00 07 [19:01:05]Write i2c OK [19:01:05]MH_I2C_Read... [19:01:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:01:05]Read from MH i2c: E2 [19:01:05]MH_I2C_Read... [19:01:05]Read from MH i2c: E2 62 00 [19:01:05]MH_I2C_Read... [19:01:05]Read from MH i2c: E2 62 00 7F 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 EB 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 43 [19:01:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 EB 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:01:05]wFMCommunicate OK [19:01:05]SAM_PROTO_GetFieldsCounters done [19:01:05]requested_item shift.num is exist - process it [19:01:05]requested_item shift.opened is exist - process it [19:01:05]req_shift_opened [19:01:05]FM_GetShiftState [19:01:05]SAM_PROTO_GetShiftState [19:01:05]wFMCommunicate request_size=4 [19:01:05]MH_SAM_APDU [19:01:05]CAPDU: 80 13 01 00 [19:01:05]Write to MH i2c: E2 08 00 80 0C 80 13 01 00 00 00 00 00 09 [19:01:05]Write i2c OK [19:01:05]MH_I2C_Read... [19:01:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:01:05]Read from MH i2c: E2 [19:01:05]MH_I2C_Read... [19:01:05]Read from MH i2c: E2 0E 00 [19:01:05]MH_I2C_Read... [19:01:05]Read from MH i2c: E2 0E 00 80 0C 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 9A [19:01:05]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [19:01:05]wFMCommunicate OK [19:01:05]SAM_PROTO_GetShiftState done [19:01:05]FM_GetShiftState done [19:01:05]req_shift_opened done [19:01:05]requested_item shift.open_date is exist - process it [19:01:05]req_shift_open_date [19:01:05]req_shift_open_date done [19:01:05]produce_requested_data done [19:01:05]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22507,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [19:01:05]process_action_free close_receipt [19:01:05]json_value_free [19:01:05]json_value_free done [19:01:05]process_json_proto returns [19:01:05]Send response to host [19:01:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22507,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [19:01:05]free response buf [19:01:05]execute_script done [19:01:05]execute_script returns [19:01:05]free content buf [19:01:05]Sock 10.Close socket [19:01:05]Sock 10.Thread stoped [19:01:06]accept exits with 7 [19:01:06]New connection [19:01:06]New thread 3067440484 created [19:01:06]Thread 3067583844 joined [19:01:06]Waiting for new connection... [19:01:06] Sock 7.Parse request [19:01:06]Sock 7.Check first char [19:01:06]Sock 7.First char is OK [19:01:06]request: POST /json_proto HTTP/1.0 [19:01:06]Method: POST [19:01:06]URL: /json_proto [19:01:06]Method is POST - this is cgi request [19:01:06]url: /json_proto [19:01:06]query_string will be loaded in cgi processing [19:01:06]execute_cgi json_proto POST (null) [19:01:06]execute_cgi path=json_proto method=POST [19:01:06]POST find Content-Length [19:01:06]Host: 172.17.43.4:8080 [19:01:06]Content-Length: 671 [19:01:06]Content-Type: application/json [19:01:06] [19:01:06]POST finish read [19:01:06]Found Content-Length = 671 [19:01:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165075", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124130", "name": "Super-92-\u041A-5", "price" : 69.30, "quantity" : 8.660, "sum" : 600.14, "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" ] } } [19:01:06]execute_script... [19:01: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)2165075", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710124130", "name": "Super-92-\u041A-5", "price" : 69.30, "quantity" : 8.660, "sum" : 600.14, "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" ] } } [19:01:06]POST & json_proto [19:01:06]process_json_proto [19:01:06]json parsed OK: [19:01:06]protocol is kg_v1.0 [19:01:06]action value=close_receipt [19:01:06]process_action close_receipt [19:01:06]cmd_close_receipt [19:01:06]MH_GetDate [19:01:06]Write to MH i2c: F0 00 00 81 0C 7C [19:01:06]Write i2c OK [19:01:06]MH_I2C_Read... [19:01:06]Read from MH i2c: F0 [19:01:06]MH_I2C_Read... [19:01:06]Read from MH i2c: F0 09 00 [19:01:06]MH_I2C_Read... [19:01:06]Read from MH i2c: F0 09 00 81 0C 00 F3 5D F4 66 02 BF CF 66 25 [19:01:06]GetLastDocTimeStamp 1727290863 [19:01:06]current date 1727290867 [19:01:06]FM_GetShiftState [19:01:06]SAM_PROTO_GetShiftState [19:01:06]wFMCommunicate request_size=4 [19:01:06]MH_SAM_APDU [19:01:06]CAPDU: 80 13 01 00 [19:01:06]Write to MH i2c: E2 08 00 82 0C 80 13 01 00 00 00 00 00 0B [19:01:06]Write i2c OK [19:01:06]MH_I2C_Read... [19:01:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:01:06]Read from MH i2c: E2 [19:01:06]MH_I2C_Read... [19:01:06]Read from MH i2c: E2 0E 00 [19:01:06]MH_I2C_Read... [19:01:06]Read from MH i2c: E2 0E 00 82 0C 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 9C [19:01:06]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [19:01:06]wFMCommunicate OK [19:01:06]SAM_PROTO_GetShiftState done [19:01:06]FM_GetShiftState done [19:01:06]opened in 1727224020 [19:01:06]opened+sec_in_day 1727310420 [19:01:06]quantity*price = 60013 [19:01:06]sum+1 = 60015 [19:01:06]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.14 ИТОГО: 600.00 Внесено: 600.00 СДАЧА: 0.00 НСП 1% : 5.31 НДС 12% : 63.73 Наличными: 600.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 81 25.09.2024 19:01 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22508 ФПД: 53124960278537 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T190107&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22508&fm=53124960278537&tin=02508201610067®Number=0000000000146243&sum=60000 [19:01:07]StoreToDocumentArchive [19:01:07]shift 231 fd 22508 [19:01:07]save to /storage/0231/doc_00022508 [19:01:07]save last doc name /storage/0231/doc_00022508 to /storage/kkm_last_doc_name [19:01:07]save OK [19:01:07]Clear old archive folders... [19:01:07]ProcessDocumentItem done err = 0, tmpTLVsize=252 [19:01:07]tlvbuf is 00251E10 [19:01:07]SAM_PROTO_ClearQueue [19:01:07]wFMCommunicate request_size=4 [19:01:07]MH_SAM_APDU [19:01:07]CAPDU: 80 09 00 00 [19:01:07]Write to MH i2c: E2 08 00 8F 0C 80 09 00 00 00 00 00 00 0D [19:01:07]Write i2c OK [19:01:07]MH_I2C_Read... [19:01:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:01:07]Read from MH i2c: E2 [19:01:07]MH_I2C_Read... [19:01:07]Read from MH i2c: E2 03 00 [19:01:07]MH_I2C_Read... [19:01:07]Read from MH i2c: E2 03 00 8F 0C 00 90 00 0F [19:01:07]RAPDU: 90 00 [19:01:07]wFMCommunicate OK [19:01:07]SAM_PROTO_ClearQueue done [19:01:07]KKMCreateOFDPacket [19:01:07]OFDProtocolAddRootSTLVToBuf [19:01:07]FM_MakeSignedData [19:01:07]FM_MakeSignedData [19:01:07]SAM_PROTO_SignData [19:01:07]wFMCommunicate request_size=4 [19:01:07]MH_SAM_APDU [19:01:07]CAPDU: 80 0D 01 02 [19:01:07]Write to MH i2c: E2 08 00 90 0C 80 0D 01 02 00 00 00 00 15 [19:01:07]Write i2c OK [19:01:07]MH_I2C_Read... [19:01:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:01:07]Read from MH i2c: E2 [19:01:07]MH_I2C_Read... [19:01:07]Read from MH i2c: E2 03 00 [19:01:07]MH_I2C_Read... [19:01:07]Read from MH i2c: E2 03 00 90 0C 00 90 00 10 [19:01:07]RAPDU: 90 00 [19:01:07]wFMCommunicate OK [19:01:07]wFMCommunicate request_size=255 [19:01:07]MH_SAM_APDU [19:01: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 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D4 21 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 6E 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 E5 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 51 00 00 00 F4 03 04 00 F3 5D F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 EC 57 00 00 35 04 06 00 [19:01:07]Write to MH i2c: E2 02 01 91 0C 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 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D4 21 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 6E 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 E5 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 51 00 00 00 F4 03 04 00 F3 5D F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 EC 57 00 00 35 04 06 00 00 00 90 [19:01:07]Write i2c OK [19:01:07]MH_I2C_Read... [19:01:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:01:07]Read from MH i2c: E2 [19:01:07]MH_I2C_Read... [19:01:07]Read from MH i2c: E2 03 00 [19:01:07]MH_I2C_Read... [19:01:07]Read from MH i2c: E2 03 00 91 0C 00 90 00 11 [19:01:07]RAPDU: 90 00 [19:01:07]wFMCommunicate OK [19:01:07]wFMCommunicate request_size=11 [19:01:07]MH_SAM_APDU [19:01:07]CAPDU: 80 0D 02 02 06 30 51 1E 62 D8 09 [19:01:07]Write to MH i2c: E2 0E 00 92 0C 80 0D 02 02 06 00 30 51 1E 62 D8 09 00 00 06 [19:01:07]Write i2c OK [19:01:07]MH_I2C_Read... [19:01:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:01:07]Read from MH i2c: E2 [19:01:07]MH_I2C_Read... [19:01:07]Read from MH i2c: E2 03 00 [19:01:07]MH_I2C_Read... [19:01:07]Read from MH i2c: E2 03 00 92 0C 00 90 00 12 [19:01:07]RAPDU: 90 00 [19:01:07]wFMCommunicate OK [19:01:07]wFMCommunicate request_size=4 [19:01:07]MH_SAM_APDU [19:01:07]CAPDU: 80 0D 03 02 [19:01:07]Write to MH i2c: E2 08 00 93 0C 80 0D 03 02 00 00 00 00 1A [19:01:07]Write i2c OK [19:01:07]MH_I2C_Read... [19:01:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:01:08]Read from MH i2c: E2 [19:01:08]MH_I2C_Read... [19:01:08]Read from MH i2c: E2 0B 00 [19:01:08]MH_I2C_Read... [19:01:08]Read from MH i2c: E2 0B 00 93 0C 00 E5 98 EE 93 E1 E3 17 40 90 00 34 [19:01:08]RAPDU: E5 98 EE 93 E1 E3 17 40 90 00 [19:01:08]wFMCommunicate OK [19:01:08]SAM_PROTO_SignData done [19:01:08]FM_MakeSignedData done [19:01:08]CreateOFDProtocolMessage [19:01:08]wFMCommunicate request_size=4 [19:01:08]MH_SAM_APDU [19:01:08]CAPDU: 80 11 00 00 [19:01:08]Write to MH i2c: E2 08 00 94 0C 80 11 00 00 00 00 00 00 1A [19:01:08]Write i2c OK [19:01:08]MH_I2C_Read... [19:01:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:01:08]Read from MH i2c: E2 [19:01:08]MH_I2C_Read... [19:01:08]Read from MH i2c: E2 17 00 [19:01:08]MH_I2C_Read... [19:01:08]Read from MH i2c: E2 17 00 94 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 74 [19:01:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [19:01:08]wFMCommunicate OK [19:01:08]CreateOFDProtocolMessage done [19:01:08]OFDSenderStorePacket 22508 [19:01:08]StoreOFDPacket docnum=22508 [19:01:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 01 00 00 EE C5 08 01 44 E3 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 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D4 21 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 6E 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 E5 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 51 00 00 00 F4 03 04 00 F3 5D F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 EC 57 00 00 35 04 06 00 30 51 1E 62 D8 09 E5 98 EE 93 E1 E3 17 40 [19:01:08]CheckFolder [19:01:08]dirname=/storage/ofd_packets [19:01:08]CheckFolder done [19:01:08]ProducePacketName [19:01:08]name=ofd_packets/00022508 [19:01:08]NVStorageSaveData ofd_packets/00022508 [19:01:08]File name is /storage/ofd_packets/00022508 [19:01:08]Write 302 bytes [19:01:08]NVStorageSaveData done [19:01:08]OFDSenderStorePacket done [19:01:08]KKMCreateOFDPacket done [19:01:08]NVStorageSaveData kkm_last_timestamp [19:01:08]File name is /storage/kkm_last_timestamp [19:01:08]Write 4 bytes [19:01:08]NVStorageSaveData done [19:01:08]ExternCall_PrintAddStr [19:01:08]wPrintStart [19:01:08]Write to MH i2c: 01 00 00 95 0C A1 [19:01:08]Write i2c OK [19:01:08]MH_I2C_Read... [19:01:08]Read from MH i2c: 01 [19:01:08]MH_I2C_Read... [19:01:08]Read from MH i2c: 01 07 00 [19:01:08]MH_I2C_Read... [19:01:08]Read from MH i2c: 01 07 00 95 0C 00 00 00 00 00 FF 0F B6 [19:01:08]RasterBufferAndPrint [19:01:08]line Счет N : (1)2165075 [19:01:08]line ИНН: 02508201610067 [19:01:08]line Контрольно-Кассовый Чек [19:01:08]line ПРОДАЖА [19:01:08]line ТРК (МРК, ГНК) : 21 [19:01:08]line Товар: 2710124130 [19:01:08]line Super-92-К-5 [19:01:08]line 8.660 * 69.30 [19:01:08]line = 600.14 [19:01:08]line НДС 12% НСП 1% [19:01:08]line > о реализуемом товаре [19:01:08]line ОКРУГЛЕНИЕ: -0.14 [19:01:08]line ИТОГО: 600.00 [19:01:08]line Внесено: 600.00 [19:01:08]line СДАЧА: 0.00 [19:01:08]line НСП 1% : 5.31 [19:01:08]line НДС 12% : 63.73 [19:01:08]line Наличными: 600.00 [19:01:08]line Безнал.: 0.00 [19:01:08]line Место: АЗС № 88 "Партнер Нефть" [19:01:08]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [19:01:08]line СНО: Общий режим [19:01:08]line Чек 81 25.09.2024 19:01 [19:01:08]line Смена: 231 ФФД: 1.0 [19:01:08]line ЗНМ: 0300000061 [19:01:08]line РНМ: 0000000000146243 [19:01:08]line Версия ККМ: v1.0 [19:01:08]line ФМ: 0000000000959358 [19:01:08]line ФД: 22508 [19:01:08]line ФПД: 53124960278537 [19:01:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T190107&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22508&fm=53124960278537&tin=02508201610067®Number=0000000000146243&sum=60000 [19:01:08]OFD Sender: Processing packet 22508 [packets to send 23, broken 22] [19:01:08]ProducePacketName [19:01:08]name=ofd_packets/00022508 [19:01:08]OFD Sender: To server: pG, [19:01:08]CommunicateWithHost lk.salyk.kg:30040 [19:01:08]ConnectInit lk.salyk.kg [19:01:08]written 0, free lines is 4095 [19:01:08]Connected sock=10 [19:01:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 01 00 00 EE C5 08 01 44 E3 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 32 34 31 33 30 06 04 0D 00 53 75 70 65 72 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D4 21 00 00 00 00 00 37 04 06 00 12 1B 00 00 00 00 13 04 06 00 6E 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 E5 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 51 00 00 00 F4 03 04 00 F3 5D F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 EC 57 00 00 35 04 06 00 30 51 1E 62 D8 09 E5 98 EE 93 E1 E3 17 40 [19:01:08]Write to MH i2c: 01 00 00 C0 0C CC [19:01:08]Write i2c OK [19:01:08]MH_I2C_Read... [19:01:08]Read from MH i2c: 01 [19:01:08]MH_I2C_Read... [19:01:08]Read from MH i2c: 01 07 00 [19:01:08]MH_I2C_Read... [19:01:08]Read from MH i2c: 01 07 00 C0 0C 00 00 00 00 00 F2 0C D1 [19:01:08]RasterBufferAndPrint [19:01:08]line [19:01:08]line [19:01:08]line [19:01:08]line [19:01:08]line [19:01:08]written 0, free lines is 3323 [19:01:08]MH_Cut [19:01:08]Write to MH i2c: D1 01 00 C7 0C 01 A5 [19:01:08]Write i2c OK [19:01:08]MH_I2C_Read... [19:01:08]Read from MH i2c: D1 [19:01:08]MH_I2C_Read... [19:01:08]Read from MH i2c: D1 01 00 [19:01:08]MH_I2C_Read... [19:01:08]Read from MH i2c: D1 01 00 C7 0C 00 A4 [19:01:08]Write to MH i2c: 01 00 00 C8 0C D4 [19:01:08]Write i2c OK [19:01:08]MH_I2C_Read... [19:01:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 63 92 47 00 1B 9A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 EC 57 00 00 F4 03 04 00 15 08 F4 66 B6 04 01 00 00 26 81 E1 0D 3C A7 51 FC [19:01:09]CommunicateWithHost err = 0 [19:01:09]CheckOFDResponse [19:01:09]1017 (14) - 77093643461234 [19:01:09]1041 (16) - 0000000000959358 [19:01:09]1040 (4) - 22508 [19:01:09]1012 (4) - 25.09.2024 12:54 [19:01:09]1206 (1) - 0 [19:01:09]OFD Sender: Remove packet 22508 [19:01:09]ProducePacketName [19:01:09]name=ofd_packets/00022508 [19:01:09]NVStorageDeleteData [19:01:09]OFD Sender: No OFD packet to send [19:01:09]*** Cut start [19:01:09]*** Partial cut [19:01:09]*** CUTSNS_PIN = 1 [19:01:09]*** CUTSNS_PIN = 0 [19:01:09]*** Brake cut motor [19:01:10]Read from MH i2c: 01 [19:01:10]MH_I2C_Read... [19:01:10]*** Stop cut motor [19:01:10]*** Cut end [19:01:10]Read from MH i2c: 01 07 00 [19:01:10]MH_I2C_Read... [19:01:10]Read from MH i2c: 01 07 00 C8 0C 00 00 00 00 00 FF 0F E9 [19:01:10]process_action close_receipt done [19:01:10]requested_data is exist [19:01:10]produce_requested_data [19:01:10]requested_item fm.sn is exist - process it [19:01:10]wFMCommunicate request_size=4 [19:01:10]MH_SAM_APDU [19:01:10]CAPDU: 80 11 00 00 [19:01:10]Write to MH i2c: E2 08 00 C9 0C 80 11 00 00 00 00 00 00 4F [19:01:10]Write i2c OK [19:01:10]MH_I2C_Read... [19:01:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:01:10]Read from MH i2c: E2 [19:01:10]MH_I2C_Read... [19:01:10]Read from MH i2c: E2 17 00 [19:01:10]MH_I2C_Read... [19:01:10]Read from MH i2c: E2 17 00 C9 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 A9 [19:01:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [19:01:10]wFMCommunicate OK [19:01:10]requested_item fd.num is exist - process it [19:01:10]SAM_PROTO_GetFieldsCounters [19:01:10]wFMCommunicate request_size=4 [19:01:10]MH_SAM_APDU [19:01:10]CAPDU: 80 13 00 00 [19:01:10]Write to MH i2c: E2 08 00 CA 0C 80 13 00 00 00 00 00 00 52 [19:01:10]Write i2c OK [19:01:10]MH_I2C_Read... [19:01:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:01:10]Read from MH i2c: E2 [19:01:10]MH_I2C_Read... [19:01:10]Read from MH i2c: E2 62 00 [19:01:10]MH_I2C_Read... [19:01:10]Read from MH i2c: E2 62 00 CA 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 EC 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 92 [19:01:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 EC 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:01:10]wFMCommunicate OK [19:01:10]SAM_PROTO_GetFieldsCounters done [19:01:10]requested_item shift.num is exist - process it [19:01:10]requested_item shift.opened is exist - process it [19:01:10]req_shift_opened [19:01:10]FM_GetShiftState [19:01:10]SAM_PROTO_GetShiftState [19:01:10]wFMCommunicate request_size=4 [19:01:10]MH_SAM_APDU [19:01:10]CAPDU: 80 13 01 00 [19:01:10]Write to MH i2c: E2 08 00 CB 0C 80 13 01 00 00 00 00 00 54 [19:01:10]Write i2c OK [19:01:10]MH_I2C_Read... [19:01:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:01:10]Read from MH i2c: E2 [19:01:10]MH_I2C_Read... [19:01:10]Read from MH i2c: E2 0E 00 [19:01:10]MH_I2C_Read... [19:01:10]Read from MH i2c: E2 0E 00 CB 0C 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 E5 [19:01:10]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [19:01:10]wFMCommunicate OK [19:01:10]SAM_PROTO_GetShiftState done [19:01:10]FM_GetShiftState done [19:01:10]req_shift_opened done [19:01:10]requested_item shift.open_date is exist - process it [19:01:10]req_shift_open_date [19:01:10]req_shift_open_date done [19:01:10]produce_requested_data done [19:01:10]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22508,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [19:01:10]process_action_free close_receipt [19:01:10]json_value_free [19:01:10]json_value_free done [19:01:10]process_json_proto returns [19:01:10]Send response to host [19:01:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22508,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [19:01:10]free response buf [19:01:10]execute_script done [19:01:10]execute_script returns [19:01:10]free content buf [19:01:10]Sock 7.Close socket [19:01:10]Sock 7.Thread stoped [19:01:14]OFD Sender: No OFD packet to send [19:01:19]OFD Sender: No OFD packet to send [19:01:24]OFD Sender: No OFD packet to send [19:01:29]OFD Sender: No OFD packet to send [19:01:34]OFD Sender: No OFD packet to send [19:01:39]OFD Sender: No OFD packet to send [19:01:44]OFD Sender: No OFD packet to send [19:01:49]OFD Sender: No OFD packet to send [19:01:54]OFD Sender: No OFD packet to send [19:01:59]OFD Sender: No OFD packet to send [19:02:04]OFD Sender: No OFD packet to send [19:02:09]OFD Sender: No OFD packet to send [19:02:14]OFD Sender: No OFD packet to send [19:02:19]OFD Sender: No OFD packet to send [19:02:24]OFD Sender: No OFD packet to send [19:02:29]OFD Sender: No OFD packet to send [19:02:34]OFD Sender: No OFD packet to send [19:02:39]OFD Sender: No OFD packet to send [19:02:44]OFD Sender: No OFD packet to send [19:02:49]OFD Sender: No OFD packet to send [19:02:54]OFD Sender: No OFD packet to send [19:02:59]OFD Sender: No OFD packet to send [19:03:04]OFD Sender: No OFD packet to send [19:03:09]OFD Sender: No OFD packet to send [19:03:14]OFD Sender: No OFD packet to send [19:03:19]OFD Sender: No OFD packet to send [19:03:24]OFD Sender: No OFD packet to send [19:03:29]OFD Sender: No OFD packet to send [19:03:34]OFD Sender: No OFD packet to send [19:03:39]OFD Sender: No OFD packet to send [19:03:44]OFD Sender: No OFD packet to send [19:03:49]OFD Sender: No OFD packet to send [19:03:54]OFD Sender: No OFD packet to send [19:03:59]OFD Sender: No OFD packet to send [19:04:04]OFD Sender: No OFD packet to send [19:04:09]OFD Sender: No OFD packet to send [19:04:14]OFD Sender: No OFD packet to send [19:04:19]OFD Sender: No OFD packet to send [19:04:24]OFD Sender: No OFD packet to send [19:04:29]OFD Sender: No OFD packet to send [19:04:34]OFD Sender: No OFD packet to send [19:04:39]OFD Sender: No OFD packet to send [19:04:44]OFD Sender: No OFD packet to send [19:04:49]OFD Sender: No OFD packet to send [19:04:54]OFD Sender: No OFD packet to send [19:04:59]OFD Sender: No OFD packet to send [19:05:04]OFD Sender: No OFD packet to send [19:05:09]OFD Sender: No OFD packet to send [19:05:14]OFD Sender: No OFD packet to send [19:05:19]OFD Sender: No OFD packet to send [19:05:24]OFD Sender: No OFD packet to send [19:05:29]OFD Sender: No OFD packet to send [19:05:34]OFD Sender: No OFD packet to send [19:05:39]OFD Sender: No OFD packet to send [19:05:44]OFD Sender: No OFD packet to send [19:05:49]OFD Sender: No OFD packet to send [19:05:54]OFD Sender: No OFD packet to send [19:05:59]OFD Sender: No OFD packet to send [19:06:04]OFD Sender: No OFD packet to send [19:06:09]OFD Sender: No OFD packet to send [19:06:14]OFD Sender: No OFD packet to send [19:06:19]OFD Sender: No OFD packet to send [19:06:24]OFD Sender: No OFD packet to send [19:06:29]OFD Sender: No OFD packet to send [19:06:34]OFD Sender: No OFD packet to send [19:06:39]OFD Sender: No OFD packet to send [19:06:44]OFD Sender: No OFD packet to send [19:06:49]OFD Sender: No OFD packet to send [19:06:54]OFD Sender: No OFD packet to send [19:06:59]OFD Sender: No OFD packet to send [19:07:04]OFD Sender: No OFD packet to send [19:07:09]OFD Sender: No OFD packet to send [19:07:14]OFD Sender: No OFD packet to send [19:07:19]OFD Sender: No OFD packet to send [19:07:24]OFD Sender: No OFD packet to send [19:07:29]OFD Sender: No OFD packet to send [19:07:34]OFD Sender: No OFD packet to send [19:07:39]OFD Sender: No OFD packet to send [19:07:44]OFD Sender: No OFD packet to send [19:07:49]OFD Sender: No OFD packet to send [19:07:54]OFD Sender: No OFD packet to send [19:07:59]OFD Sender: No OFD packet to send [19:08:04]OFD Sender: No OFD packet to send [19:08:09]OFD Sender: No OFD packet to send [19:08:14]OFD Sender: No OFD packet to send [19:08:19]OFD Sender: No OFD packet to send [19:08:24]OFD Sender: No OFD packet to send [19:08:29]OFD Sender: No OFD packet to send [19:08:34]OFD Sender: No OFD packet to send [19:08:39]OFD Sender: No OFD packet to send [19:08:44]OFD Sender: No OFD packet to send [19:08:49]OFD Sender: No OFD packet to send [19:08:54]OFD Sender: No OFD packet to send [19:08:59]OFD Sender: No OFD packet to send [19:09:04]OFD Sender: No OFD packet to send [19:09:09]OFD Sender: No OFD packet to send [19:09:14]OFD Sender: No OFD packet to send [19:09:19]OFD Sender: No OFD packet to send [19:09:24]OFD Sender: No OFD packet to send [19:09:29]OFD Sender: No OFD packet to send [19:09:34]OFD Sender: No OFD packet to send [19:09:39]OFD Sender: No OFD packet to send [19:09:44]OFD Sender: No OFD packet to send [19:09:49]OFD Sender: No OFD packet to send [19:09:54]OFD Sender: No OFD packet to send [19:10:00]OFD Sender: No OFD packet to send [19:10:05]OFD Sender: No OFD packet to send [19:10:10]OFD Sender: No OFD packet to send [19:10:15]OFD Sender: No OFD packet to send [19:10:20]OFD Sender: No OFD packet to send [19:10:25]OFD Sender: No OFD packet to send [19:10:30]OFD Sender: No OFD packet to send [19:10:35]OFD Sender: No OFD packet to send [19:10:40]OFD Sender: No OFD packet to send [19:10:45]OFD Sender: No OFD packet to send [19:10:50]OFD Sender: No OFD packet to send [19:10:55]OFD Sender: No OFD packet to send [19:11:00]OFD Sender: No OFD packet to send [19:11:05]OFD Sender: No OFD packet to send [19:11:10]OFD Sender: No OFD packet to send [19:11:15]OFD Sender: No OFD packet to send [19:11:20]OFD Sender: No OFD packet to send [19:11:25]OFD Sender: No OFD packet to send [19:11:30]OFD Sender: No OFD packet to send [19:11:35]OFD Sender: No OFD packet to send [19:11:40]OFD Sender: No OFD packet to send [19:11:45]OFD Sender: No OFD packet to send [19:11:50]OFD Sender: No OFD packet to send [19:11:53]accept exits with 9 [19:11:53]New connection [19:11:53]New thread 3067583844 created [19:11:53]Thread 3067440484 joined [19:11:53]Waiting for new connection... [19:11:53] Sock 9.Parse request [19:11:53]Sock 9.Check first char [19:11:53]Sock 9.First char is OK [19:11:53]request: POST /json_proto HTTP/1.0 [19:11:53]Method: POST [19:11:53]URL: /json_proto [19:11:53]Method is POST - this is cgi request [19:11:53]url: /json_proto [19:11:53]query_string will be loaded in cgi processing [19:11:53]execute_cgi json_proto POST (null) [19:11:53]execute_cgi path=json_proto method=POST [19:11:53]POST find Content-Length [19:11:53]Host: 172.17.43.4:8080 [19:11:53]Content-Length: 981 [19:11:53]Content-Type: application/json [19:11:53] [19:11:53]POST finish read [19:11:53]Found Content-Length = 981 [19:11:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51704", "tax_sys" : 0, "items" : [ { "code": "4700003150806", "name": "\u0412\u043E\u0434\u043A\u0430 \u041D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u0438\u0435 V \u043F\u0440\u0435\u043C\u0438\u0443\u043C 40% 0,7\u043B", "price" : 795.00, "quantity" : 1.000, "sum" : 795.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 799.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:11:53]execute_script... [19:11:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51704", "tax_sys" : 0, "items" : [ { "code": "4700003150806", "name": "\u0412\u043E\u0434\u043A\u0430 \u041D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u0438\u0435 V \u043F\u0440\u0435\u043C\u0438\u0443\u043C 40% 0,7\u043B", "price" : 795.00, "quantity" : 1.000, "sum" : 795.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 799.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:11:53]POST & json_proto [19:11:53]process_json_proto [19:11:53]json parsed OK: [19:11:53]protocol is kg_v1.0 [19:11:53]action value=close_receipt [19:11:53]process_action close_receipt [19:11:53]cmd_close_receipt [19:11:53]MH_GetDate [19:11:53]Write to MH i2c: F0 00 00 CC 0C C7 [19:11:53]Write i2c OK [19:11:53]MH_I2C_Read... [19:11:53]Read from MH i2c: F0 [19:11:53]MH_I2C_Read... [19:11:53]Read from MH i2c: F0 09 00 [19:11:53]MH_I2C_Read... [19:11:53]Read from MH i2c: F0 09 00 CC 0C 00 7A 60 F4 66 02 BF CF 66 FA [19:11:53]GetLastDocTimeStamp 1727290867 [19:11:53]current date 1727291514 [19:11:53]FM_GetShiftState [19:11:53]SAM_PROTO_GetShiftState [19:11:53]wFMCommunicate request_size=4 [19:11:53]MH_SAM_APDU [19:11:53]CAPDU: 80 13 01 00 [19:11:53]Write to MH i2c: E2 08 00 CD 0C 80 13 01 00 00 00 00 00 56 [19:11:53]Write i2c OK [19:11:53]MH_I2C_Read... [19:11:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:11:53]Read from MH i2c: E2 [19:11:53]MH_I2C_Read... [19:11:53]Read from MH i2c: E2 0E 00 [19:11:53]MH_I2C_Read... [19:11:53]Read from MH i2c: E2 0E 00 CD 0C 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 E7 [19:11:53]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [19:11:53]wFMCommunicate OK [19:11:53]SAM_PROTO_GetShiftState done [19:11:53]FM_GetShiftState done [19:11:53]opened in 1727224020 [19:11:53]opened+sec_in_day 1727310420 [19:11:53]quantity*price = 79500 [19:11:53]sum+1 = 79501 [19:11:53]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000031750019 Пакет Партнер Нефть 1.000 * 4.00 = 4.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 799.00 НСП 1% : 7.06 НДС 12% : 84.84 Наличными: 799.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 82 25.09.2024 19:11 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22509 ФПД: 193801096909545 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T191154&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22509&fm=193801096909545&tin=02508201610067®Number=0000000000146243&sum=79900 0 [19:11:54]StoreToDocumentArchive [19:11:54]shift 231 fd 22509 [19:11:54]save to /storage/0231/doc_00022509 [19:11:54]save last doc name /storage/0231/doc_00022509 to /storage/kkm_last_doc_name [19:11:54]save OK [19:11:54]Clear old archive folders... [19:11:54]ProcessDocumentItem done err = 0, tmpTLVsize=408 [19:11:54]tlvbuf is 00224A50 [19:11:54]SAM_PROTO_ClearQueue [19:11:54]wFMCommunicate request_size=4 [19:11:54]MH_SAM_APDU [19:11:54]CAPDU: 80 09 00 00 [19:11:54]Write to MH i2c: E2 08 00 DA 0C 80 09 00 00 00 00 00 00 58 [19:11:54]Write i2c OK [19:11:54]MH_I2C_Read... [19:11:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:11:54]Read from MH i2c: E2 [19:11:54]MH_I2C_Read... [19:11:54]Read from MH i2c: E2 03 00 [19:11:54]MH_I2C_Read... [19:11:54]Read from MH i2c: E2 03 00 DA 0C 00 90 00 5A [19:11:54]RAPDU: 90 00 [19:11:54]wFMCommunicate OK [19:11:54]SAM_PROTO_ClearQueue done [19:11:54]KKMCreateOFDPacket [19:11:54]OFDProtocolAddRootSTLVToBuf [19:11:54]FM_MakeSignedData [19:11:54]FM_MakeSignedData [19:11:54]SAM_PROTO_SignData [19:11:54]wFMCommunicate request_size=4 [19:11:54]MH_SAM_APDU [19:11:54]CAPDU: 80 0D 01 02 [19:11:54]Write to MH i2c: E2 08 00 DB 0C 80 0D 01 02 00 00 00 00 60 [19:11:54]Write i2c OK [19:11:54]MH_I2C_Read... [19:11:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:11:54]Read from MH i2c: E2 [19:11:54]MH_I2C_Read... [19:11:54]Read from MH i2c: E2 03 00 [19:11:54]MH_I2C_Read... [19:11:54]Read from MH i2c: E2 03 00 DB 0C 00 90 00 5B [19:11:54]RAPDU: 90 00 [19:11:54]wFMCommunicate OK [19:11:54]wFMCommunicate request_size=255 [19:11:54]MH_SAM_APDU [19:11:54]CAPDU: 80 0D 02 02 FA 03 00 98 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 38 30 36 06 04 3A 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9D D0 B0 D1 81 D1 82 D1 80 D0 BE D0 B5 D0 BD D0 B8 D0 B5 20 56 20 D0 BF D1 80 D0 B5 D0 BC D0 B8 D1 83 D0 BC 20 34 30 25 20 30 2C 37 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 36 01 00 00 00 13 04 06 00 8C 36 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 [19:11:54]Write to MH i2c: E2 02 01 DC 0C 80 0D 02 02 FA 00 03 00 98 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 38 30 36 06 04 3A 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9D D0 B0 D1 81 D1 82 D1 80 D0 BE D0 B5 D0 BD D0 B8 D0 B5 20 56 20 D0 BF D1 80 D0 B5 D0 BC D0 B8 D1 83 D0 BC 20 34 30 25 20 30 2C 37 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 36 01 00 00 00 13 04 06 00 8C 36 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 54 [19:11:54]Write i2c OK [19:11:54]MH_I2C_Read... [19:11:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:11:54]Read from MH i2c: E2 [19:11:54]MH_I2C_Read... [19:11:54]Read from MH i2c: E2 03 00 [19:11:54]MH_I2C_Read... [19:11:54]Read from MH i2c: E2 03 00 DC 0C 00 90 00 5C [19:11:54]RAPDU: 90 00 [19:11:54]wFMCommunicate OK [19:11:54]wFMCommunicate request_size=167 [19:11:54]MH_SAM_APDU [19:11:54]CAPDU: 80 0D 02 02 A2 00 1C 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C2 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 21 00 00 00 00 07 04 06 00 1C 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 52 00 00 00 F4 03 04 00 7A 60 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 ED 57 00 00 35 04 06 00 B0 42 D5 89 D2 E9 [19:11:54]Write to MH i2c: E2 AA 00 DD 0C 80 0D 02 02 A2 00 00 1C 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C2 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 21 00 00 00 00 07 04 06 00 1C 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 52 00 00 00 F4 03 04 00 7A 60 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 ED 57 00 00 35 04 06 00 B0 42 D5 89 D2 E9 00 00 55 [19:11:54]Write i2c OK [19:11:54]MH_I2C_Read... [19:11:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:11:55]Read from MH i2c: E2 [19:11:55]MH_I2C_Read... [19:11:55]Read from MH i2c: E2 03 00 [19:11:55]MH_I2C_Read... [19:11:55]Read from MH i2c: E2 03 00 DD 0C 00 90 00 5D [19:11:55]RAPDU: 90 00 [19:11:55]wFMCommunicate OK [19:11:55]wFMCommunicate request_size=4 [19:11:55]MH_SAM_APDU [19:11:55]CAPDU: 80 0D 03 02 [19:11:55]Write to MH i2c: E2 08 00 DE 0C 80 0D 03 02 00 00 00 00 65 [19:11:55]Write i2c OK [19:11:55]MH_I2C_Read... [19:11:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:11:55]OFD Sender: No OFD packet to send [19:11:55]Read from MH i2c: E2 [19:11:55]MH_I2C_Read... [19:11:55]Read from MH i2c: E2 0B 00 [19:11:55]MH_I2C_Read... [19:11:55]Read from MH i2c: E2 0B 00 DE 0C 00 57 2B A9 A8 12 30 EC 42 90 00 A9 [19:11:55]RAPDU: 57 2B A9 A8 12 30 EC 42 90 00 [19:11:55]wFMCommunicate OK [19:11:55]SAM_PROTO_SignData done [19:11:55]FM_MakeSignedData done [19:11:55]CreateOFDProtocolMessage [19:11:55]wFMCommunicate request_size=4 [19:11:55]MH_SAM_APDU [19:11:55]CAPDU: 80 11 00 00 [19:11:55]Write to MH i2c: E2 08 00 DF 0C 80 11 00 00 00 00 00 00 65 [19:11:55]Write i2c OK [19:11:55]MH_I2C_Read... [19:11:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:11:55]Read from MH i2c: E2 [19:11:55]MH_I2C_Read... [19:11:55]Read from MH i2c: E2 17 00 [19:11:55]MH_I2C_Read... [19:11:55]Read from MH i2c: E2 17 00 DF 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 BF [19:11:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [19:11:55]wFMCommunicate OK [19:11:55]CreateOFDProtocolMessage done [19:11:55]OFDSenderStorePacket 22509 [19:11:55]StoreOFDPacket docnum=22509 [19:11:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 AC 01 00 00 86 4B A4 01 47 79 5A 03 01 00 03 00 98 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 38 30 36 06 04 3A 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9D D0 B0 D1 81 D1 82 D1 80 D0 BE D0 B5 D0 BD D0 B8 D0 B5 20 56 20 D0 BF D1 80 D0 B5 D0 BC D0 B8 D1 83 D0 BC 20 34 30 25 20 30 2C 37 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 36 01 00 00 00 13 04 06 00 8C 36 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C2 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 21 00 00 00 00 07 04 06 00 1C 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 52 00 00 00 F4 03 04 00 7A 60 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 ED 57 00 00 35 04 06 00 B0 42 D5 89 D2 E9 57 2B A9 A8 12 30 EC 42 [19:11:55]CheckFolder [19:11:55]dirname=/storage/ofd_packets [19:11:55]CheckFolder done [19:11:55]ProducePacketName [19:11:55]name=ofd_packets/00022509 [19:11:55]NVStorageSaveData ofd_packets/00022509 [19:11:55]File name is /storage/ofd_packets/00022509 [19:11:55]Write 458 bytes [19:11:55]NVStorageSaveData done [19:11:55]OFDSenderStorePacket done [19:11:55]KKMCreateOFDPacket done [19:11:55]NVStorageSaveData kkm_last_timestamp [19:11:55]File name is /storage/kkm_last_timestamp [19:11:55]Write 4 bytes [19:11:55]NVStorageSaveData done [19:11:55]ExternCall_PrintAddStr [19:11:55]wPrintStart [19:11:55]Write to MH i2c: 01 00 00 E0 0C EC [19:11:55]Write i2c OK [19:11:55]MH_I2C_Read... [19:11:55]Read from MH i2c: 01 [19:11:55]MH_I2C_Read... [19:11:55]Read from MH i2c: 01 07 00 [19:11:55]MH_I2C_Read... [19:11:55]Read from MH i2c: 01 07 00 E0 0C 00 00 00 00 00 FF 0F 01 [19:11:55]RasterBufferAndPrint [19:11:55]line Счет N : (3)51704 [19:11:55]line ИНН: 02508201610067 [19:11:55]line Контрольно-Кассовый Чек [19:11:55]line ПРОДАЖА [19:11:55]line Товар: 4700003150806 [19:11:55]line Водка Настроение V премиум 40% 0,7л [19:11:55]line 1.000 * 795.00 [19:11:55]line = 795.00 [19:11:55]line НДС 12% НСП 1% [19:11:55]line > о реализуемом товаре [19:11:55]line Товар: 2000031750019 [19:11:55]line Пакет Партнер Нефть [19:11:55]line 1.000 * 4.00 [19:11:55]line = 4.00 [19:11:55]line НДС 12% НСП 1% [19:11:55]line > о реализуемом товаре [19:11:55]line ИТОГО: 799.00 [19:11:55]line НСП 1% : 7.06 [19:11:55]line НДС 12% : 84.84 [19:11:55]line Наличными: 799.00 [19:11:55]line Безнал.: 0.00 [19:11:55]line Место: АЗС № 88 "Партнер Нефть" [19:11:55]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [19:11:55]line СНО: Общий режим [19:11:55]line Чек 82 25.09.2024 19:11 [19:11:55]line Смена: 231 ФФД: 1.0 [19:11:55]line ЗНМ: 0300000061 [19:11:55]line РНМ: 0000000000146243 [19:11:55]line Версия ККМ: v1.0 [19:11:55]line ФМ: 0000000000959358 [19:11:55]line ФД: 22509 [19:11:55]line ФПД: 193801096909545 [19:11:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T191154&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22509&fm=193801096909545&tin=02508201610067®Number=0000000000146243&sum=79900 [19:11:55]line 0 [19:11:55]written 0, free lines is 4095 [19:11:55]OFD Sender: Processing packet 22509 [packets to send 23, broken 22] [19:11:55]ProducePacketName [19:11:55]name=ofd_packets/00022509 [19:11:55]OFD Sender: To server: pG, [19:11:55]CommunicateWithHost lk.salyk.kg:30040 [19:11:55]ConnectInit lk.salyk.kg [19:11:55]Connected sock=10 [19:11:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 AC 01 00 00 86 4B A4 01 47 79 5A 03 01 00 03 00 98 01 1E 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 38 30 36 06 04 3A 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9D D0 B0 D1 81 D1 82 D1 80 D0 BE D0 B5 D0 BD D0 B8 D0 B5 20 56 20 D0 BF D1 80 D0 B5 D0 BC D0 B8 D1 83 D0 BC 20 34 30 25 20 30 2C 37 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 36 01 00 00 00 13 04 06 00 8C 36 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C2 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 21 00 00 00 00 07 04 06 00 1C 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 52 00 00 00 F4 03 04 00 7A 60 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 ED 57 00 00 35 04 06 00 B0 42 D5 89 D2 E9 57 2B A9 A8 12 30 EC 42 [19:11:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 A3 70 47 00 79 78 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 ED 57 00 00 F4 03 04 00 9C 0A F4 66 B6 04 01 00 00 EB 4A 84 84 07 73 24 20 [19:11:55]CommunicateWithHost err = 0 [19:11:55]CheckOFDResponse [19:11:55]1017 (14) - 77093643461234 [19:11:55]1041 (16) - 0000000000959358 [19:11:55]1040 (4) - 22509 [19:11:55]1012 (4) - 25.09.2024 13:05 [19:11:55]1206 (1) - 0 [19:11:55]OFD Sender: Remove packet 22509 [19:11:55]ProducePacketName [19:11:55]name=ofd_packets/00022509 [19:11:55]NVStorageDeleteData [19:11:55]Write to MH i2c: 01 00 00 0F 0D 1C [19:11:55]Write i2c OK [19:11:55]MH_I2C_Read... [19:11:55]Read from MH i2c: 01 [19:11:55]MH_I2C_Read... [19:11:55]Read from MH i2c: 01 07 00 [19:11:55]MH_I2C_Read... [19:11:55]Read from MH i2c: 01 07 00 0F 0D 00 00 00 00 00 EA 0C 19 [19:11:55]RasterBufferAndPrint [19:11:55]line [19:11:55]line [19:11:55]line [19:11:55]line [19:11:55]line [19:11:55]written 0, free lines is 3312 [19:11:55]MH_Cut [19:11:55]Write to MH i2c: D1 01 00 16 0D 01 F5 [19:11:55]Write i2c OK [19:11:55]MH_I2C_Read... [19:11:55]Read from MH i2c: D1 [19:11:55]MH_I2C_Read... [19:11:55]Read from MH i2c: D1 01 00 [19:11:55]MH_I2C_Read... [19:11:55]Read from MH i2c: D1 01 00 16 0D 00 F4 [19:11:55]Write to MH i2c: 01 00 00 17 0D 24 [19:11:55]Write i2c OK [19:11:55]MH_I2C_Read... [19:11:56]OFD Sender: No OFD packet to send [19:11:56]*** Cut start [19:11:56]*** Partial cut [19:11:56]*** CUTSNS_PIN = 1 [19:11:56]*** CUTSNS_PIN = 0 [19:11:56]*** Brake cut motor [19:11:56]Read from MH i2c: 01 [19:11:56]MH_I2C_Read... [19:11:56]*** Stop cut motor [19:11:56]*** Cut end [19:11:56]Read from MH i2c: 01 07 00 [19:11:56]MH_I2C_Read... [19:11:56]Read from MH i2c: 01 07 00 17 0D 00 00 00 00 00 FF 0F 39 [19:11:56]process_action close_receipt done [19:11:56]requested_data is exist [19:11:56]produce_requested_data [19:11:56]requested_item fm.sn is exist - process it [19:11:56]wFMCommunicate request_size=4 [19:11:56]MH_SAM_APDU [19:11:56]CAPDU: 80 11 00 00 [19:11:57]Write to MH i2c: E2 08 00 18 0D 80 11 00 00 00 00 00 00 9F [19:11:57]Write i2c OK [19:11:57]MH_I2C_Read... [19:11:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:11:57]Read from MH i2c: E2 [19:11:57]MH_I2C_Read... [19:11:57]Read from MH i2c: E2 17 00 [19:11:57]MH_I2C_Read... [19:11:57]Read from MH i2c: E2 17 00 18 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 F9 [19:11:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [19:11:57]wFMCommunicate OK [19:11:57]requested_item fd.num is exist - process it [19:11:57]SAM_PROTO_GetFieldsCounters [19:11:57]wFMCommunicate request_size=4 [19:11:57]MH_SAM_APDU [19:11:57]CAPDU: 80 13 00 00 [19:11:57]Write to MH i2c: E2 08 00 19 0D 80 13 00 00 00 00 00 00 A2 [19:11:57]Write i2c OK [19:11:57]MH_I2C_Read... [19:11:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:11:57]Read from MH i2c: E2 [19:11:57]MH_I2C_Read... [19:11:57]Read from MH i2c: E2 62 00 [19:11:57]MH_I2C_Read... [19:11:57]Read from MH i2c: E2 62 00 19 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 ED 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 E6 [19:11:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 ED 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:11:57]wFMCommunicate OK [19:11:57]SAM_PROTO_GetFieldsCounters done [19:11:57]requested_item shift.num is exist - process it [19:11:57]requested_item shift.opened is exist - process it [19:11:57]req_shift_opened [19:11:57]FM_GetShiftState [19:11:57]SAM_PROTO_GetShiftState [19:11:57]wFMCommunicate request_size=4 [19:11:57]MH_SAM_APDU [19:11:57]CAPDU: 80 13 01 00 [19:11:57]Write to MH i2c: E2 08 00 1A 0D 80 13 01 00 00 00 00 00 A4 [19:11:57]Write i2c OK [19:11:57]MH_I2C_Read... [19:11:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:11:57]Read from MH i2c: E2 [19:11:57]MH_I2C_Read... [19:11:57]Read from MH i2c: E2 0E 00 [19:11:57]MH_I2C_Read... [19:11:57]Read from MH i2c: E2 0E 00 1A 0D 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 35 [19:11:57]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [19:11:57]wFMCommunicate OK [19:11:57]SAM_PROTO_GetShiftState done [19:11:57]FM_GetShiftState done [19:11:57]req_shift_opened done [19:11:57]requested_item shift.open_date is exist - process it [19:11:57]req_shift_open_date [19:11:57]req_shift_open_date done [19:11:57]produce_requested_data done [19:11:57]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22509,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [19:11:57]process_action_free close_receipt [19:11:57]json_value_free [19:11:57]json_value_free done [19:11:57]process_json_proto returns [19:11:57]Send response to host [19:11:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22509,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [19:11:57]free response buf [19:11:57]execute_script done [19:11:57]execute_script returns [19:11:57]free content buf [19:11:57]Sock 9.Close socket [19:11:57]Sock 9.Thread stoped [19:12:01]OFD Sender: No OFD packet to send [19:12:06]OFD Sender: No OFD packet to send [19:12:11]OFD Sender: No OFD packet to send [19:12:16]OFD Sender: No OFD packet to send [19:12:21]OFD Sender: No OFD packet to send [19:12:26]OFD Sender: No OFD packet to send [19:12:31]OFD Sender: No OFD packet to send [19:12:36]OFD Sender: No OFD packet to send [19:12:41]OFD Sender: No OFD packet to send [19:12:46]OFD Sender: No OFD packet to send [19:12:51]OFD Sender: No OFD packet to send [19:12:56]OFD Sender: No OFD packet to send [19:13:01]OFD Sender: No OFD packet to send [19:13:06]OFD Sender: No OFD packet to send [19:13:11]OFD Sender: No OFD packet to send [19:13:16]OFD Sender: No OFD packet to send [19:13:21]OFD Sender: No OFD packet to send [19:13:26]OFD Sender: No OFD packet to send [19:13:31]OFD Sender: No OFD packet to send [19:13:36]OFD Sender: No OFD packet to send [19:13:41]OFD Sender: No OFD packet to send [19:13:46]OFD Sender: No OFD packet to send [19:13:51]OFD Sender: No OFD packet to send [19:13:56]OFD Sender: No OFD packet to send [19:14:01]OFD Sender: No OFD packet to send [19:14:06]OFD Sender: No OFD packet to send [19:14:11]OFD Sender: No OFD packet to send [19:14:16]OFD Sender: No OFD packet to send [19:14:21]OFD Sender: No OFD packet to send [19:14:26]OFD Sender: No OFD packet to send [19:14:31]OFD Sender: No OFD packet to send [19:14:36]OFD Sender: No OFD packet to send [19:14:41]OFD Sender: No OFD packet to send [19:14:46]OFD Sender: No OFD packet to send [19:14:51]OFD Sender: No OFD packet to send [19:14:56]OFD Sender: No OFD packet to send [19:15:01]OFD Sender: No OFD packet to send [19:15:06]OFD Sender: No OFD packet to send [19:15:11]OFD Sender: No OFD packet to send [19:15:16]OFD Sender: No OFD packet to send [19:15:21]OFD Sender: No OFD packet to send [19:15:26]OFD Sender: No OFD packet to send [19:15:31]OFD Sender: No OFD packet to send [19:15:36]OFD Sender: No OFD packet to send [19:15:41]OFD Sender: No OFD packet to send [19:15:46]OFD Sender: No OFD packet to send [19:15:51]OFD Sender: No OFD packet to send [19:15:56]OFD Sender: No OFD packet to send [19:16:01]OFD Sender: No OFD packet to send [19:16:06]OFD Sender: No OFD packet to send [19:16:11]OFD Sender: No OFD packet to send [19:16:16]OFD Sender: No OFD packet to send [19:16:21]OFD Sender: No OFD packet to send [19:16:26]OFD Sender: No OFD packet to send [19:16:31]OFD Sender: No OFD packet to send [19:16:36]OFD Sender: No OFD packet to send [19:16:41]OFD Sender: No OFD packet to send [19:16:46]OFD Sender: No OFD packet to send [19:16:51]OFD Sender: No OFD packet to send [19:16:56]OFD Sender: No OFD packet to send [19:17:01]OFD Sender: No OFD packet to send [19:17:06]OFD Sender: No OFD packet to send [19:17:11]OFD Sender: No OFD packet to send [19:17:16]OFD Sender: No OFD packet to send [19:17:21]OFD Sender: No OFD packet to send [19:17:26]OFD Sender: No OFD packet to send [19:17:26]accept exits with 7 [19:17:26]New connection [19:17:26]New thread 3067440484 created [19:17:26]Thread 3067583844 joined [19:17:26]Waiting for new connection... [19:17:26] Sock 7.Parse request [19:17:26]Sock 7.Check first char [19:17:26]Sock 7.First char is OK [19:17:26]request: POST /json_proto HTTP/1.0 [19:17:26]Method: POST [19:17:26]URL: /json_proto [19:17:26]Method is POST - this is cgi request [19:17:26]url: /json_proto [19:17:26]query_string will be loaded in cgi processing [19:17:26]execute_cgi json_proto POST (null) [19:17:26]execute_cgi path=json_proto method=POST [19:17:26]POST find Content-Length [19:17:26]Host: 172.17.43.4:8080 [19:17:26]Content-Length: 680 [19:17:26]Content-Type: application/json [19:17:26] [19:17:26]POST finish read [19:17:26]Found Content-Length = 680 [19:17:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2165096", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "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" ] } } [19:17:26]execute_script... [19:17: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)2165096", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 31", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "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" ] } } [19:17:26]POST & json_proto [19:17:26]process_json_proto [19:17:26]json parsed OK: [19:17:26]protocol is kg_v1.0 [19:17:26]action value=close_receipt [19:17:26]process_action close_receipt [19:17:26]cmd_close_receipt [19:17:26]MH_GetDate [19:17:26]Write to MH i2c: F0 00 00 1B 0D 17 [19:17:26]Write i2c OK [19:17:26]MH_I2C_Read... [19:17:26]Read from MH i2c: F0 [19:17:26]MH_I2C_Read... [19:17:26]Read from MH i2c: F0 09 00 [19:17:26]MH_I2C_Read... [19:17:26]Read from MH i2c: F0 09 00 1B 0D 00 C8 61 F4 66 02 BF CF 66 99 [19:17:26]GetLastDocTimeStamp 1727291514 [19:17:26]current date 1727291848 [19:17:26]FM_GetShiftState [19:17:26]SAM_PROTO_GetShiftState [19:17:26]wFMCommunicate request_size=4 [19:17:26]MH_SAM_APDU [19:17:26]CAPDU: 80 13 01 00 [19:17:26]Write to MH i2c: E2 08 00 1C 0D 80 13 01 00 00 00 00 00 A6 [19:17:26]Write i2c OK [19:17:26]MH_I2C_Read... [19:17:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:17:26]Read from MH i2c: E2 [19:17:26]MH_I2C_Read... [19:17:26]Read from MH i2c: E2 0E 00 [19:17:26]MH_I2C_Read... [19:17:26]Read from MH i2c: E2 0E 00 1C 0D 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 37 [19:17:26]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [19:17:26]wFMCommunicate OK [19:17:26]SAM_PROTO_GetShiftState done [19:17:26]FM_GetShiftState done [19:17:26]opened in 1727224020 [19:17:26]opened+sec_in_day 1727310420 [19:17:26]quantity*price = 100050 [19:17:26]sum+1 = 100052 [19:17:26]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.51 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.25 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 83 25.09.2024 19:17 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22510 ФПД: 75303482200065 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T191728&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22510&fm=75303482200065&tin=02508201610067®Number=0000000000146243&sum=100000 [19:17:27]StoreToDocumentArchive [19:17:27]shift 231 fd 22510 [19:17:27]save to /storage/0231/doc_00022510 [19:17:27]save last doc name /storage/0231/doc_00022510 to /storage/kkm_last_doc_name [19:17:27]save OK [19:17:27]Clear old archive folders... [19:17:27]ProcessDocumentItem done err = 0, tmpTLVsize=248 [19:17:27]tlvbuf is 0022CDD0 [19:17:27]SAM_PROTO_ClearQueue [19:17:27]wFMCommunicate request_size=4 [19:17:27]MH_SAM_APDU [19:17:27]CAPDU: 80 09 00 00 [19:17:27]Write to MH i2c: E2 08 00 29 0D 80 09 00 00 00 00 00 00 A8 [19:17:27]Write i2c OK [19:17:27]MH_I2C_Read... [19:17:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:17:27]Read from MH i2c: E2 [19:17:27]MH_I2C_Read... [19:17:27]Read from MH i2c: E2 03 00 [19:17:27]MH_I2C_Read... [19:17:27]Read from MH i2c: E2 03 00 29 0D 00 90 00 AA [19:17:27]RAPDU: 90 00 [19:17:27]wFMCommunicate OK [19:17:27]SAM_PROTO_ClearQueue done [19:17:27]KKMCreateOFDPacket [19:17:27]OFDProtocolAddRootSTLVToBuf [19:17:27]FM_MakeSignedData [19:17:27]FM_MakeSignedData [19:17:27]SAM_PROTO_SignData [19:17:27]wFMCommunicate request_size=4 [19:17:27]MH_SAM_APDU [19:17:27]CAPDU: 80 0D 01 02 [19:17:27]Write to MH i2c: E2 08 00 2A 0D 80 0D 01 02 00 00 00 00 B0 [19:17:27]Write i2c OK [19:17:27]MH_I2C_Read... [19:17:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:17:27]Read from MH i2c: E2 [19:17:27]MH_I2C_Read... [19:17:27]Read from MH i2c: E2 03 00 [19:17:27]MH_I2C_Read... [19:17:27]Read from MH i2c: E2 03 00 2A 0D 00 90 00 AB [19:17:27]RAPDU: 90 00 [19:17:27]wFMCommunicate OK [19:17:27]wFMCommunicate request_size=255 [19:17:27]MH_SAM_APDU [19:17:27]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 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 53 00 00 00 F4 03 04 00 C8 61 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 EE 57 00 00 35 04 06 00 44 7C F5 4E [19:17:27]Write to MH i2c: E2 02 01 2B 0D 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 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 53 00 00 00 F4 03 04 00 C8 61 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 EE 57 00 00 35 04 06 00 44 7C F5 4E 00 00 3C [19:17:27]Write i2c OK [19:17:27]MH_I2C_Read... [19:17:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:17:28]Read from MH i2c: E2 [19:17:28]MH_I2C_Read... [19:17:28]Read from MH i2c: E2 03 00 [19:17:28]MH_I2C_Read... [19:17:28]Read from MH i2c: E2 03 00 2B 0D 00 90 00 AC [19:17:28]RAPDU: 90 00 [19:17:28]wFMCommunicate OK [19:17:28]wFMCommunicate request_size=7 [19:17:28]MH_SAM_APDU [19:17:28]CAPDU: 80 0D 02 02 02 90 01 [19:17:28]Write to MH i2c: E2 0A 00 2C 0D 80 0D 02 02 02 00 90 01 00 00 48 [19:17:28]Write i2c OK [19:17:28]MH_I2C_Read... [19:17:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:17:28]Read from MH i2c: E2 [19:17:28]MH_I2C_Read... [19:17:28]Read from MH i2c: E2 03 00 [19:17:28]MH_I2C_Read... [19:17:28]Read from MH i2c: E2 03 00 2C 0D 00 90 00 AD [19:17:28]RAPDU: 90 00 [19:17:28]wFMCommunicate OK [19:17:28]wFMCommunicate request_size=4 [19:17:28]MH_SAM_APDU [19:17:28]CAPDU: 80 0D 03 02 [19:17:28]Write to MH i2c: E2 08 00 2D 0D 80 0D 03 02 00 00 00 00 B5 [19:17:28]Write i2c OK [19:17:28]MH_I2C_Read... [19:17:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:17:28]Read from MH i2c: E2 [19:17:28]MH_I2C_Read... [19:17:28]Read from MH i2c: E2 0B 00 [19:17:28]MH_I2C_Read... [19:17:28]Read from MH i2c: E2 0B 00 2D 0D 00 BC C8 83 8C 5C F1 52 50 90 00 38 [19:17:28]RAPDU: BC C8 83 8C 5C F1 52 50 90 00 [19:17:28]wFMCommunicate OK [19:17:28]SAM_PROTO_SignData done [19:17:28]FM_MakeSignedData done [19:17:28]CreateOFDProtocolMessage [19:17:28]wFMCommunicate request_size=4 [19:17:28]MH_SAM_APDU [19:17:28]CAPDU: 80 11 00 00 [19:17:28]Write to MH i2c: E2 08 00 2E 0D 80 11 00 00 00 00 00 00 B5 [19:17:28]Write i2c OK [19:17:28]MH_I2C_Read... [19:17:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:17:28]Read from MH i2c: E2 [19:17:28]MH_I2C_Read... [19:17:28]Read from MH i2c: E2 17 00 [19:17:28]MH_I2C_Read... [19:17:28]Read from MH i2c: E2 17 00 2E 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 0F [19:17:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [19:17:28]wFMCommunicate OK [19:17:28]CreateOFDProtocolMessage done [19:17:28]OFDSenderStorePacket 22510 [19:17:28]StoreOFDPacket docnum=22510 [19:17:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 01 00 00 CA 1C 04 01 9B 0B 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 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 53 00 00 00 F4 03 04 00 C8 61 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 EE 57 00 00 35 04 06 00 44 7C F5 4E 90 01 BC C8 83 8C 5C F1 52 50 [19:17:28]CheckFolder [19:17:28]dirname=/storage/ofd_packets [19:17:28]CheckFolder done [19:17:28]ProducePacketName [19:17:28]name=ofd_packets/00022510 [19:17:28]NVStorageSaveData ofd_packets/00022510 [19:17:28]File name is /storage/ofd_packets/00022510 [19:17:28]Write 298 bytes [19:17:28]NVStorageSaveData done [19:17:28]OFDSenderStorePacket done [19:17:28]KKMCreateOFDPacket done [19:17:28]NVStorageSaveData kkm_last_timestamp [19:17:28]File name is /storage/kkm_last_timestamp [19:17:28]Write 4 bytes [19:17:28]NVStorageSaveData done [19:17:28]ExternCall_PrintAddStr [19:17:28]wPrintStart [19:17:28]Write to MH i2c: 01 00 00 2F 0D 3C [19:17:28]Write i2c OK [19:17:28]MH_I2C_Read... [19:17:28]Read from MH i2c: 01 [19:17:28]MH_I2C_Read... [19:17:28]Read from MH i2c: 01 07 00 [19:17:28]MH_I2C_Read... [19:17:28]Read from MH i2c: 01 07 00 2F 0D 00 00 00 00 00 FF 0F 51 [19:17:28]RasterBufferAndPrint [19:17:28]line Счет N : (1)2165096 [19:17:28]line ИНН: 02508201610067 [19:17:28]line Контрольно-Кассовый Чек [19:17:28]line ПРОДАЖА [19:17:28]line ТРК (МРК, ГНК) : 31 [19:17:28]line Товар: 2710194210 [19:17:28]line ДТ-К-5 [19:17:28]line 13.130 * 76.20 [19:17:28]line = 1000.51 [19:17:28]line НДС 12% НСП 1% [19:17:28]line > о реализуемом товаре [19:17:28]line ОКРУГЛЕНИЕ: -0.51 [19:17:28]line ИТОГО: 1000.00 [19:17:28]line Внесено: 1000.00 [19:17:28]line СДАЧА: 0.00 [19:17:28]line НСП 1% : 8.85 [19:17:28]line НДС 12% : 106.25 [19:17:28]line Наличными: 1000.00 [19:17:28]line Безнал.: 0.00 [19:17:28]line Место: АЗС № 88 "Партнер Нефть" [19:17:28]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [19:17:28]line СНО: Общий режим [19:17:28]line Чек 83 25.09.2024 19:17 [19:17:28]line Смена: 231 ФФД: 1.0 [19:17:28]line ЗНМ: 0300000061 [19:17:28]line РНМ: 0000000000146243 [19:17:28]line Версия ККМ: v1.0 [19:17:28]line ФМ: 0000000000959358 [19:17:28]line ФД: 22510 [19:17:28]line ФПД: 75303482200065 [19:17:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T191728&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22510&fm=75303482200065&tin=02508201610067®Number=0000000000146243&sum=100000 [19:17:28]OFD Sender: Processing packet 22510 [packets to send 23, broken 22] [19:17:28]ProducePacketName [19:17:28]name=ofd_packets/00022510 [19:17:28]OFD Sender: To server: pG, [19:17:28]CommunicateWithHost lk.salyk.kg:30040 [19:17:28]ConnectInit lk.salyk.kg [19:17:28]written 0, free lines is 4095 [19:17:28]Connected sock=9 [19:17:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 01 00 00 CA 1C 04 01 9B 0B 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 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 53 00 00 00 F4 03 04 00 C8 61 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 EE 57 00 00 35 04 06 00 44 7C F5 4E 90 01 BC C8 83 8C 5C F1 52 50 [19:17:29]Write to MH i2c: 01 00 00 5A 0D 67 [19:17:29]Write i2c OK [19:17:29]MH_I2C_Read... [19:17:29]Read from MH i2c: 01 [19:17:29]MH_I2C_Read... [19:17:29]Read from MH i2c: 01 07 00 [19:17:29]MH_I2C_Read... [19:17:29]Read from MH i2c: 01 07 00 5A 0D 00 00 00 00 00 F6 0C 70 [19:17:29]RasterBufferAndPrint [19:17:29]line [19:17:29]line [19:17:29]line [19:17:29]line [19:17:29]line [19:17:29]written 0, free lines is 3324 [19:17:29]MH_Cut [19:17:29]Write to MH i2c: D1 01 00 61 0D 01 40 [19:17:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 54 84 47 00 E4 69 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 EE 57 00 00 F4 03 04 00 E9 0B F4 66 B6 04 01 00 00 FA CF 29 AA 47 B2 EE EE [19:17:29]CommunicateWithHost err = 0 [19:17:29]CheckOFDResponse [19:17:29]1017 (14) - 77093643461234 [19:17:29]1041 (16) - 0000000000959358 [19:17:29]1040 (4) - 22510 [19:17:29]1012 (4) - 25.09.2024 13:11 [19:17:29]1206 (1) - 0 [19:17:29]OFD Sender: Remove packet 22510 [19:17:29]ProducePacketName [19:17:29]name=ofd_packets/00022510 [19:17:29]NVStorageDeleteData [19:17:29]Write i2c OK [19:17:29]MH_I2C_Read... [19:17:29]Read from MH i2c: D1 [19:17:29]MH_I2C_Read... [19:17:29]Read from MH i2c: D1 01 00 [19:17:29]MH_I2C_Read... [19:17:29]Read from MH i2c: D1 01 00 61 0D 00 3F [19:17:29]Write to MH i2c: 01 00 00 62 0D 6F [19:17:29]Write i2c OK [19:17:29]MH_I2C_Read... [19:17:29]OFD Sender: No OFD packet to send [19:17:29]*** Cut start [19:17:29]*** Partial cut [19:17:29]*** CUTSNS_PIN = 1 [19:17:29]*** CUTSNS_PIN = 0 [19:17:30]*** Brake cut motor [19:17:30]Read from MH i2c: 01 [19:17:30]MH_I2C_Read... [19:17:30]*** Stop cut motor [19:17:30]*** Cut end [19:17:30]Read from MH i2c: 01 07 00 [19:17:30]MH_I2C_Read... [19:17:30]Read from MH i2c: 01 07 00 62 0D 00 00 00 00 00 FF 0F 84 [19:17:30]process_action close_receipt done [19:17:30]requested_data is exist [19:17:30]produce_requested_data [19:17:30]requested_item fm.sn is exist - process it [19:17:30]wFMCommunicate request_size=4 [19:17:30]MH_SAM_APDU [19:17:30]CAPDU: 80 11 00 00 [19:17:30]Write to MH i2c: E2 08 00 63 0D 80 11 00 00 00 00 00 00 EA [19:17:30]Write i2c OK [19:17:30]MH_I2C_Read... [19:17:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:17:30]Read from MH i2c: E2 [19:17:30]MH_I2C_Read... [19:17:30]Read from MH i2c: E2 17 00 [19:17:30]MH_I2C_Read... [19:17:30]Read from MH i2c: E2 17 00 63 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 44 [19:17:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [19:17:30]wFMCommunicate OK [19:17:30]requested_item fd.num is exist - process it [19:17:30]SAM_PROTO_GetFieldsCounters [19:17:30]wFMCommunicate request_size=4 [19:17:30]MH_SAM_APDU [19:17:30]CAPDU: 80 13 00 00 [19:17:30]Write to MH i2c: E2 08 00 64 0D 80 13 00 00 00 00 00 00 ED [19:17:30]Write i2c OK [19:17:30]MH_I2C_Read... [19:17:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:17:30]Read from MH i2c: E2 [19:17:30]MH_I2C_Read... [19:17:30]Read from MH i2c: E2 62 00 [19:17:30]MH_I2C_Read... [19:17:30]Read from MH i2c: E2 62 00 64 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 EE 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 35 [19:17:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 EE 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:17:30]wFMCommunicate OK [19:17:30]SAM_PROTO_GetFieldsCounters done [19:17:30]requested_item shift.num is exist - process it [19:17:30]requested_item shift.opened is exist - process it [19:17:30]req_shift_opened [19:17:30]FM_GetShiftState [19:17:30]SAM_PROTO_GetShiftState [19:17:30]wFMCommunicate request_size=4 [19:17:30]MH_SAM_APDU [19:17:30]CAPDU: 80 13 01 00 [19:17:30]Write to MH i2c: E2 08 00 65 0D 80 13 01 00 00 00 00 00 EF [19:17:30]Write i2c OK [19:17:30]MH_I2C_Read... [19:17:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:17:30]Read from MH i2c: E2 [19:17:30]MH_I2C_Read... [19:17:30]Read from MH i2c: E2 0E 00 [19:17:30]MH_I2C_Read... [19:17:30]Read from MH i2c: E2 0E 00 65 0D 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 80 [19:17:30]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [19:17:30]wFMCommunicate OK [19:17:30]SAM_PROTO_GetShiftState done [19:17:30]FM_GetShiftState done [19:17:30]req_shift_opened done [19:17:30]requested_item shift.open_date is exist - process it [19:17:30]req_shift_open_date [19:17:30]req_shift_open_date done [19:17:30]produce_requested_data done [19:17:30]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22510,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [19:17:30]process_action_free close_receipt [19:17:30]json_value_free [19:17:30]json_value_free done [19:17:30]process_json_proto returns [19:17:30]Send response to host [19:17:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22510,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [19:17:30]free response buf [19:17:30]execute_script done [19:17:30]execute_script returns [19:17:30]free content buf [19:17:30]Sock 7.Close socket [19:17:30]Sock 7.Thread stoped [19:17:32]accept exits with 10 [19:17:32]New connection [19:17:32]New thread 3067583844 created [19:17:32]Thread 3067440484 joined [19:17:32]Waiting for new connection... [19:17:32] Sock 10.Parse request [19:17:32]Sock 10.Check first char [19:17:32]Sock 10.First char is OK [19:17:32]request: POST /json_proto HTTP/1.0 [19:17:32]Method: POST [19:17:32]URL: /json_proto [19:17:32]Method is POST - this is cgi request [19:17:32]url: /json_proto [19:17:32]query_string will be loaded in cgi processing [19:17:32]execute_cgi json_proto POST (null) [19:17:32]execute_cgi path=json_proto method=POST [19:17:32]POST find Content-Length [19:17:32]Host: 172.17.43.4:8080 [19:17:32]Content-Length: 932 [19:17:32]Content-Type: application/json [19:17:32] [19:17:32]POST finish read [19:17:32]Found Content-Length = 932 [19:17:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51705", "tax_sys" : 0, "items" : [ { "code": "47018716", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F \u0441\u0442\u043E\u043F\u043A\u0430 0,07", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:17:32]execute_script... [19:17:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51705", "tax_sys" : 0, "items" : [ { "code": "47018716", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F \u0441\u0442\u043E\u043F\u043A\u0430 0,07", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700002082931", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u043E\u0440\u043E\u0448\u0430\u044F 0,1\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:17:32]POST & json_proto [19:17:32]process_json_proto [19:17:32]json parsed OK: [19:17:32]protocol is kg_v1.0 [19:17:32]action value=close_receipt [19:17:32]process_action close_receipt [19:17:32]cmd_close_receipt [19:17:32]MH_GetDate [19:17:32]Write to MH i2c: F0 00 00 66 0D 62 [19:17:32]Write i2c OK [19:17:32]MH_I2C_Read... [19:17:32]Read from MH i2c: F0 [19:17:32]MH_I2C_Read... [19:17:32]Read from MH i2c: F0 09 00 [19:17:32]MH_I2C_Read... [19:17:32]Read from MH i2c: F0 09 00 66 0D 00 CD 61 F4 66 02 BF CF 66 E9 [19:17:32]GetLastDocTimeStamp 1727291848 [19:17:32]current date 1727291853 [19:17:32]FM_GetShiftState [19:17:32]SAM_PROTO_GetShiftState [19:17:32]wFMCommunicate request_size=4 [19:17:32]MH_SAM_APDU [19:17:32]CAPDU: 80 13 01 00 [19:17:32]Write to MH i2c: E2 08 00 67 0D 80 13 01 00 00 00 00 00 F1 [19:17:32]Write i2c OK [19:17:32]MH_I2C_Read... [19:17:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:17:32]Read from MH i2c: E2 [19:17:32]MH_I2C_Read... [19:17:32]Read from MH i2c: E2 0E 00 [19:17:32]MH_I2C_Read... [19:17:32]Read from MH i2c: E2 0E 00 67 0D 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 82 [19:17:32]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [19:17:32]wFMCommunicate OK [19:17:32]SAM_PROTO_GetShiftState done [19:17:32]FM_GetShiftState done [19:17:32]opened in 1727224020 [19:17:32]opened+sec_in_day 1727310420 [19:17:32]quantity*price = 6500 [19:17:32]sum+1 = 6501 [19:17:32]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700002082931 Водка Хорошая 0,1л 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.33 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 84 25.09.2024 19:17 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22511 ФПД: 1905041722487 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T191733&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22511&fm=1905041722487&tin=02508201610067®Number=0000000000146243&sum=13500 0 [19:17:33]StoreToDocumentArchive [19:17:33]shift 231 fd 22511 [19:17:33]save to /storage/0231/doc_00022511 [19:17:33]save last doc name /storage/0231/doc_00022511 to /storage/kkm_last_doc_name [19:17:33]save OK [19:17:33]Clear old archive folders... [19:17:33]ProcessDocumentItem done err = 0, tmpTLVsize=387 [19:17:33]tlvbuf is 00233EF0 [19:17:33]SAM_PROTO_ClearQueue [19:17:33]wFMCommunicate request_size=4 [19:17:33]MH_SAM_APDU [19:17:33]CAPDU: 80 09 00 00 [19:17:33]Write to MH i2c: E2 08 00 74 0D 80 09 00 00 00 00 00 00 F3 [19:17:33]Write i2c OK [19:17:33]MH_I2C_Read... [19:17:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:17:33]Read from MH i2c: E2 [19:17:33]MH_I2C_Read... [19:17:33]Read from MH i2c: E2 03 00 [19:17:33]MH_I2C_Read... [19:17:33]Read from MH i2c: E2 03 00 74 0D 00 90 00 F5 [19:17:33]RAPDU: 90 00 [19:17:33]wFMCommunicate OK [19:17:33]SAM_PROTO_ClearQueue done [19:17:33]KKMCreateOFDPacket [19:17:33]OFDProtocolAddRootSTLVToBuf [19:17:33]FM_MakeSignedData [19:17:33]FM_MakeSignedData [19:17:33]SAM_PROTO_SignData [19:17:33]wFMCommunicate request_size=4 [19:17:33]MH_SAM_APDU [19:17:33]CAPDU: 80 0D 01 02 [19:17:33]Write to MH i2c: E2 08 00 75 0D 80 0D 01 02 00 00 00 00 FB [19:17:33]Write i2c OK [19:17:33]MH_I2C_Read... [19:17:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:17:33]Read from MH i2c: E2 [19:17:33]MH_I2C_Read... [19:17:33]Read from MH i2c: E2 03 00 [19:17:33]MH_I2C_Read... [19:17:33]Read from MH i2c: E2 03 00 75 0D 00 90 00 F6 [19:17:33]RAPDU: 90 00 [19:17:33]wFMCommunicate OK [19:17:33]wFMCommunicate request_size=255 [19:17:33]MH_SAM_APDU [19:17:33]CAPDU: 80 0D 02 02 FA 03 00 83 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 37 30 31 38 37 31 36 06 04 2F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 D1 81 D1 82 D0 BE D0 BF D0 BA D0 B0 20 30 2C 30 37 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 [19:17:33]Write to MH i2c: E2 02 01 76 0D 80 0D 02 02 FA 00 03 00 83 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 37 30 31 38 37 31 36 06 04 2F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 D1 81 D1 82 D0 BE D0 BF D0 BA D0 B0 20 30 2C 30 37 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 00 00 FA [19:17:33]Write i2c OK [19:17:33]MH_I2C_Read... [19:17:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:17:34]Read from MH i2c: E2 [19:17:34]MH_I2C_Read... [19:17:34]Read from MH i2c: E2 03 00 [19:17:34]MH_I2C_Read... [19:17:34]Read from MH i2c: E2 03 00 76 0D 00 90 00 F7 [19:17:34]RAPDU: 90 00 [19:17:34]wFMCommunicate OK [19:17:34]wFMCommunicate request_size=146 [19:17:34]MH_SAM_APDU [19:17:34]CAPDU: 80 0D 02 02 8D 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 99 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 CD 61 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 EF 57 00 00 35 04 06 00 01 BB 8D 55 CC 77 [19:17:34]Write to MH i2c: E2 95 00 77 0D 80 0D 02 02 8D 00 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 99 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 CD 61 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 EF 57 00 00 35 04 06 00 01 BB 8D 55 CC 77 00 00 3F [19:17:34]Write i2c OK [19:17:34]MH_I2C_Read... [19:17:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:17:34]Read from MH i2c: E2 [19:17:34]MH_I2C_Read... [19:17:34]Read from MH i2c: E2 03 00 [19:17:34]MH_I2C_Read... [19:17:34]Read from MH i2c: E2 03 00 77 0D 00 90 00 F8 [19:17:34]RAPDU: 90 00 [19:17:34]wFMCommunicate OK [19:17:34]wFMCommunicate request_size=4 [19:17:34]MH_SAM_APDU [19:17:34]CAPDU: 80 0D 03 02 [19:17:34]Write to MH i2c: E2 08 00 78 0D 80 0D 03 02 00 00 00 00 00 [19:17:34]Write i2c OK [19:17:34]MH_I2C_Read... [19:17:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:17:34]Read from MH i2c: E2 [19:17:34]MH_I2C_Read... [19:17:34]Read from MH i2c: E2 0B 00 [19:17:34]MH_I2C_Read... [19:17:34]Read from MH i2c: E2 0B 00 78 0D 00 CB DE 24 C6 28 8F 80 0C 90 00 D7 [19:17:34]RAPDU: CB DE 24 C6 28 8F 80 0C 90 00 [19:17:34]wFMCommunicate OK [19:17:34]SAM_PROTO_SignData done [19:17:34]FM_MakeSignedData done [19:17:34]CreateOFDProtocolMessage [19:17:34]wFMCommunicate request_size=4 [19:17:34]MH_SAM_APDU [19:17:34]CAPDU: 80 11 00 00 [19:17:34]Write to MH i2c: E2 08 00 79 0D 80 11 00 00 00 00 00 00 00 [19:17:34]Write i2c OK [19:17:34]MH_I2C_Read... [19:17:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:17:34]Read from MH i2c: E2 [19:17:34]MH_I2C_Read... [19:17:34]Read from MH i2c: E2 17 00 [19:17:34]MH_I2C_Read... [19:17:34]Read from MH i2c: E2 17 00 79 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 5A [19:17:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [19:17:34]wFMCommunicate OK [19:17:34]CreateOFDProtocolMessage done [19:17:34]OFDSenderStorePacket 22511 [19:17:34]StoreOFDPacket docnum=22511 [19:17:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 97 01 00 00 7A 34 8F 01 EE F9 5A 03 01 00 03 00 83 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 37 30 31 38 37 31 36 06 04 2F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 D1 81 D1 82 D0 BE D0 BF D0 BA D0 B0 20 30 2C 30 37 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 99 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 CD 61 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 EF 57 00 00 35 04 06 00 01 BB 8D 55 CC 77 CB DE 24 C6 28 8F 80 0C [19:17:34]CheckFolder [19:17:34]dirname=/storage/ofd_packets [19:17:34]CheckFolder done [19:17:34]ProducePacketName [19:17:34]name=ofd_packets/00022511 [19:17:34]NVStorageSaveData ofd_packets/00022511 [19:17:34]File name is /storage/ofd_packets/00022511 [19:17:34]Write 437 bytes [19:17:34]NVStorageSaveData done [19:17:34]OFDSenderStorePacket done [19:17:34]KKMCreateOFDPacket done [19:17:34]NVStorageSaveData kkm_last_timestamp [19:17:34]File name is /storage/kkm_last_timestamp [19:17:34]Write 4 bytes [19:17:34]NVStorageSaveData done [19:17:34]ExternCall_PrintAddStr [19:17:34]wPrintStart [19:17:34]Write to MH i2c: 01 00 00 7A 0D 87 [19:17:34]Write i2c OK [19:17:34]MH_I2C_Read... [19:17:34]Read from MH i2c: 01 [19:17:34]MH_I2C_Read... [19:17:34]Read from MH i2c: 01 07 00 [19:17:34]MH_I2C_Read... [19:17:34]Read from MH i2c: 01 07 00 7A 0D 00 00 00 00 00 FF 0F 9C [19:17:34]RasterBufferAndPrint [19:17:34]line Счет N : (3)51705 [19:17:34]line ИНН: 02508201610067 [19:17:34]line Контрольно-Кассовый Чек [19:17:34]line ПРОДАЖА [19:17:34]line Товар: 47018716 [19:17:34]line Водка Пшеничная стопка 0,07 [19:17:34]line 1.000 * 65.00 [19:17:34]line = 65.00 [19:17:34]line НДС 12% НСП 1% [19:17:34]line > о реализуемом товаре [19:17:34]line Товар: 4700002082931 [19:17:34]line Водка Хорошая 0,1л [19:17:34]line 1.000 * 70.00 [19:17:34]line = 70.00 [19:17:34]line НДС 12% НСП 1% [19:17:34]line > о реализуемом товаре [19:17:34]line ИТОГО: 135.00 [19:17:34]line НСП 1% : 1.19 [19:17:34]line НДС 12% : 14.33 [19:17:34]line Наличными: 135.00 [19:17:34]line Безнал.: 0.00 [19:17:34]line Место: АЗС № 88 "Партнер Нефть" [19:17:34]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [19:17:34]line СНО: Общий режим [19:17:34]line Чек 84 25.09.2024 19:17 [19:17:34]line Смена: 231 ФФД: 1.0 [19:17:34]line ЗНМ: 0300000061 [19:17:34]line РНМ: 0000000000146243 [19:17:34]line Версия ККМ: v1.0 [19:17:34]line ФМ: 0000000000959358 [19:17:34]line ФД: 22511 [19:17:34]line ФПД: 1905041722487 [19:17:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T191733&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22511&fm=1905041722487&tin=02508201610067®Number=0000000000146243&sum=13500 [19:17:34]OFD Sender: Processing packet 22511 [packets to send 23, broken 22] [19:17:34]ProducePacketName [19:17:34]name=ofd_packets/00022511 [19:17:34]OFD Sender: To server: pG, [19:17:34]CommunicateWithHost lk.salyk.kg:30040 [19:17:34]ConnectInit lk.salyk.kg [19:17:34]line 0 [19:17:34]written 0, free lines is 4095 [19:17:34]Connected sock=7 [19:17:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 97 01 00 00 7A 34 8F 01 EE F9 5A 03 01 00 03 00 83 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 37 30 31 38 37 31 36 06 04 2F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 D1 81 D1 82 D0 BE D0 BF D0 BA D0 B0 20 30 2C 30 37 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 39 33 31 06 04 1F 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 BE D1 80 D0 BE D1 88 D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 99 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 CD 61 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 EF 57 00 00 35 04 06 00 01 BB 8D 55 CC 77 CB DE 24 C6 28 8F 80 0C [19:17:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 B2 07 47 00 CF DE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 EF 57 00 00 F4 03 04 00 EF 0B F4 66 B6 04 01 00 00 0A 4A 6A 96 CF BA 59 BE [19:17:35]CommunicateWithHost err = 0 [19:17:35]CheckOFDResponse [19:17:35]1017 (14) - 77093643461234 [19:17:35]1041 (16) - 0000000000959358 [19:17:35]1040 (4) - 22511 [19:17:35]1012 (4) - 25.09.2024 13:11 [19:17:35]1206 (1) - 0 [19:17:35]OFD Sender: Remove packet 22511 [19:17:35]ProducePacketName [19:17:35]name=ofd_packets/00022511 [19:17:35]NVStorageDeleteData [19:17:35]Write to MH i2c: 01 00 00 A8 0D B5 [19:17:35]Write i2c OK [19:17:35]MH_I2C_Read... [19:17:35]Read from MH i2c: 01 [19:17:35]MH_I2C_Read... [19:17:35]Read from MH i2c: 01 07 00 [19:17:35]MH_I2C_Read... [19:17:35]Read from MH i2c: 01 07 00 A8 0D 00 00 00 00 00 F8 0C C0 [19:17:35]RasterBufferAndPrint [19:17:35]line [19:17:35]line [19:17:35]line [19:17:35]line [19:17:35]line [19:17:35]written 0, free lines is 3335 [19:17:35]MH_Cut [19:17:35]Write to MH i2c: D1 01 00 AF 0D 01 8E [19:17:35]Write i2c OK [19:17:35]MH_I2C_Read... [19:17:35]Read from MH i2c: D1 [19:17:35]MH_I2C_Read... [19:17:35]Read from MH i2c: D1 01 00 [19:17:35]MH_I2C_Read... [19:17:35]Read from MH i2c: D1 01 00 AF 0D 00 8D [19:17:35]Write to MH i2c: 01 00 00 B0 0D BD [19:17:35]Write i2c OK [19:17:35]MH_I2C_Read... [19:17:35]OFD Sender: No OFD packet to send [19:17:35]*** Cut start [19:17:35]*** Partial cut [19:17:35]*** CUTSNS_PIN = 1 [19:17:35]*** CUTSNS_PIN = 0 [19:17:36]*** Brake cut motor [19:17:36]Read from MH i2c: 01 [19:17:36]MH_I2C_Read... [19:17:36]*** Stop cut motor [19:17:36]*** Cut end [19:17:36]Read from MH i2c: 01 07 00 [19:17:36]MH_I2C_Read... [19:17:36]Read from MH i2c: 01 07 00 B0 0D 00 00 00 00 00 FF 0F D2 [19:17:36]process_action close_receipt done [19:17:36]requested_data is exist [19:17:36]produce_requested_data [19:17:36]requested_item fm.sn is exist - process it [19:17:36]wFMCommunicate request_size=4 [19:17:36]MH_SAM_APDU [19:17:36]CAPDU: 80 11 00 00 [19:17:36]Write to MH i2c: E2 08 00 B1 0D 80 11 00 00 00 00 00 00 38 [19:17:36]Write i2c OK [19:17:36]MH_I2C_Read... [19:17:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:17:36]Read from MH i2c: E2 [19:17:36]MH_I2C_Read... [19:17:36]Read from MH i2c: E2 17 00 [19:17:36]MH_I2C_Read... [19:17:36]Read from MH i2c: E2 17 00 B1 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 92 [19:17:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [19:17:36]wFMCommunicate OK [19:17:36]requested_item fd.num is exist - process it [19:17:36]SAM_PROTO_GetFieldsCounters [19:17:36]wFMCommunicate request_size=4 [19:17:36]MH_SAM_APDU [19:17:36]CAPDU: 80 13 00 00 [19:17:36]Write to MH i2c: E2 08 00 B2 0D 80 13 00 00 00 00 00 00 3B [19:17:36]Write i2c OK [19:17:36]MH_I2C_Read... [19:17:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:17:36]Read from MH i2c: E2 [19:17:36]MH_I2C_Read... [19:17:36]Read from MH i2c: E2 62 00 [19:17:36]MH_I2C_Read... [19:17:36]Read from MH i2c: E2 62 00 B2 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 EF 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 87 [19:17:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 EF 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:17:36]wFMCommunicate OK [19:17:36]SAM_PROTO_GetFieldsCounters done [19:17:36]requested_item shift.num is exist - process it [19:17:36]requested_item shift.opened is exist - process it [19:17:36]req_shift_opened [19:17:36]FM_GetShiftState [19:17:36]SAM_PROTO_GetShiftState [19:17:36]wFMCommunicate request_size=4 [19:17:36]MH_SAM_APDU [19:17:36]CAPDU: 80 13 01 00 [19:17:36]Write to MH i2c: E2 08 00 B3 0D 80 13 01 00 00 00 00 00 3D [19:17:36]Write i2c OK [19:17:36]MH_I2C_Read... [19:17:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:17:36]Read from MH i2c: E2 [19:17:36]MH_I2C_Read... [19:17:36]Read from MH i2c: E2 0E 00 [19:17:36]MH_I2C_Read... [19:17:36]Read from MH i2c: E2 0E 00 B3 0D 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 CE [19:17:36]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [19:17:36]wFMCommunicate OK [19:17:36]SAM_PROTO_GetShiftState done [19:17:36]FM_GetShiftState done [19:17:36]req_shift_opened done [19:17:36]requested_item shift.open_date is exist - process it [19:17:36]req_shift_open_date [19:17:36]req_shift_open_date done [19:17:36]produce_requested_data done [19:17:36]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22511,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [19:17:36]process_action_free close_receipt [19:17:36]json_value_free [19:17:36]json_value_free done [19:17:36]process_json_proto returns [19:17:36]Send response to host [19:17:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22511,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [19:17:36]free response buf [19:17:36]execute_script done [19:17:36]execute_script returns [19:17:36]free content buf [19:17:36]Sock 10.Close socket [19:17:36]Sock 10.Thread stoped [19:17:40]OFD Sender: No OFD packet to send [19:17:45]OFD Sender: No OFD packet to send [19:17:50]OFD Sender: No OFD packet to send [19:17:55]OFD Sender: No OFD packet to send [19:18:00]OFD Sender: No OFD packet to send [19:18:05]OFD Sender: No OFD packet to send [19:18:10]OFD Sender: No OFD packet to send [19:18:15]OFD Sender: No OFD packet to send [19:18:20]OFD Sender: No OFD packet to send [19:18:25]OFD Sender: No OFD packet to send [19:18:30]OFD Sender: No OFD packet to send [19:18:35]OFD Sender: No OFD packet to send [19:18:40]OFD Sender: No OFD packet to send [19:18:45]OFD Sender: No OFD packet to send [19:18:50]OFD Sender: No OFD packet to send [19:18:55]OFD Sender: No OFD packet to send [19:19:00]OFD Sender: No OFD packet to send [19:19:05]OFD Sender: No OFD packet to send [19:19:10]OFD Sender: No OFD packet to send [19:19:15]OFD Sender: No OFD packet to send [19:19:20]OFD Sender: No OFD packet to send [19:19:25]OFD Sender: No OFD packet to send [19:19:30]OFD Sender: No OFD packet to send [19:19:35]OFD Sender: No OFD packet to send [19:19:40]OFD Sender: No OFD packet to send [19:19:45]OFD Sender: No OFD packet to send [19:19:50]OFD Sender: No OFD packet to send [19:19:55]OFD Sender: No OFD packet to send [19:20:00]OFD Sender: No OFD packet to send [19:20:05]OFD Sender: No OFD packet to send [19:20:10]OFD Sender: No OFD packet to send [19:20:15]OFD Sender: No OFD packet to send [19:20:20]OFD Sender: No OFD packet to send [19:20:25]OFD Sender: No OFD packet to send [19:20:30]OFD Sender: No OFD packet to send [19:20:35]OFD Sender: No OFD packet to send [19:20:40]OFD Sender: No OFD packet to send [19:20:45]OFD Sender: No OFD packet to send [19:20:50]OFD Sender: No OFD packet to send [19:20:55]OFD Sender: No OFD packet to send [19:21:00]OFD Sender: No OFD packet to send [19:21:05]OFD Sender: No OFD packet to send [19:21:10]OFD Sender: No OFD packet to send [19:21:15]OFD Sender: No OFD packet to send [19:21:20]OFD Sender: No OFD packet to send [19:21:25]OFD Sender: No OFD packet to send [19:21:30]OFD Sender: No OFD packet to send [19:21:35]OFD Sender: No OFD packet to send [19:21:40]OFD Sender: No OFD packet to send [19:21:45]OFD Sender: No OFD packet to send [19:21:50]OFD Sender: No OFD packet to send [19:21:55]OFD Sender: No OFD packet to send [19:22:00]OFD Sender: No OFD packet to send [19:22:06]OFD Sender: No OFD packet to send [19:22:11]OFD Sender: No OFD packet to send [19:22:16]OFD Sender: No OFD packet to send [19:22:21]OFD Sender: No OFD packet to send [19:22:26]OFD Sender: No OFD packet to send [19:22:31]OFD Sender: No OFD packet to send [19:22:36]OFD Sender: No OFD packet to send [19:22:41]OFD Sender: No OFD packet to send [19:22:46]OFD Sender: No OFD packet to send [19:22:51]OFD Sender: No OFD packet to send [19:22:56]OFD Sender: No OFD packet to send [19:23:01]OFD Sender: No OFD packet to send [19:23:06]OFD Sender: No OFD packet to send [19:23:11]OFD Sender: No OFD packet to send [19:23:16]OFD Sender: No OFD packet to send [19:23:21]OFD Sender: No OFD packet to send [19:23:26]OFD Sender: No OFD packet to send [19:23:31]OFD Sender: No OFD packet to send [19:23:36]OFD Sender: No OFD packet to send [19:23:41]OFD Sender: No OFD packet to send [19:23:46]OFD Sender: No OFD packet to send [19:23:51]OFD Sender: No OFD packet to send [19:23:56]OFD Sender: No OFD packet to send [19:24:01]OFD Sender: No OFD packet to send [19:24:06]OFD Sender: No OFD packet to send [19:24:11]OFD Sender: No OFD packet to send [19:24:16]OFD Sender: No OFD packet to send [19:24:21]OFD Sender: No OFD packet to send [19:24:26]OFD Sender: No OFD packet to send [19:24:31]OFD Sender: No OFD packet to send [19:24:36]OFD Sender: No OFD packet to send [19:24:41]OFD Sender: No OFD packet to send [19:24:46]OFD Sender: No OFD packet to send [19:24:51]OFD Sender: No OFD packet to send [19:24:56]OFD Sender: No OFD packet to send [19:25:01]OFD Sender: No OFD packet to send [19:25:06]OFD Sender: No OFD packet to send [19:25:11]OFD Sender: No OFD packet to send [19:25:16]OFD Sender: No OFD packet to send [19:25:21]OFD Sender: No OFD packet to send [19:25:26]OFD Sender: No OFD packet to send [19:25:31]OFD Sender: No OFD packet to send [19:25:36]OFD Sender: No OFD packet to send [19:25:41]OFD Sender: No OFD packet to send [19:25:46]OFD Sender: No OFD packet to send [19:25:51]OFD Sender: No OFD packet to send [19:25:56]OFD Sender: No OFD packet to send [19:26:01]OFD Sender: No OFD packet to send [19:26:06]OFD Sender: No OFD packet to send [19:26:11]OFD Sender: No OFD packet to send [19:26:16]OFD Sender: No OFD packet to send [19:26:21]OFD Sender: No OFD packet to send [19:26:26]OFD Sender: No OFD packet to send [19:26:31]OFD Sender: No OFD packet to send [19:26:36]OFD Sender: No OFD packet to send [19:26:41]OFD Sender: No OFD packet to send [19:26:46]OFD Sender: No OFD packet to send [19:26:51]OFD Sender: No OFD packet to send [19:26:56]OFD Sender: No OFD packet to send [19:27:01]OFD Sender: No OFD packet to send [19:27:06]OFD Sender: No OFD packet to send [19:27:11]OFD Sender: No OFD packet to send [19:27:16]OFD Sender: No OFD packet to send [19:27:21]OFD Sender: No OFD packet to send [19:27:26]OFD Sender: No OFD packet to send [19:27:31]OFD Sender: No OFD packet to send [19:27:36]OFD Sender: No OFD packet to send [19:27:41]OFD Sender: No OFD packet to send [19:27:46]OFD Sender: No OFD packet to send [19:27:51]OFD Sender: No OFD packet to send [19:27:56]OFD Sender: No OFD packet to send [19:28:01]OFD Sender: No OFD packet to send [19:28:06]OFD Sender: No OFD packet to send [19:28:11]OFD Sender: No OFD packet to send [19:28:16]OFD Sender: No OFD packet to send [19:28:21]OFD Sender: No OFD packet to send [19:28:26]OFD Sender: No OFD packet to send [19:28:31]OFD Sender: No OFD packet to send [19:28:36]OFD Sender: No OFD packet to send [19:28:41]OFD Sender: No OFD packet to send [19:28:46]OFD Sender: No OFD packet to send [19:28:51]OFD Sender: No OFD packet to send [19:28:56]OFD Sender: No OFD packet to send [19:29:01]OFD Sender: No OFD packet to send [19:29:06]OFD Sender: No OFD packet to send [19:29:11]OFD Sender: No OFD packet to send [19:29:16]OFD Sender: No OFD packet to send [19:29:21]OFD Sender: No OFD packet to send [19:29:26]OFD Sender: No OFD packet to send [19:29:31]OFD Sender: No OFD packet to send [19:29:36]OFD Sender: No OFD packet to send [19:29:41]OFD Sender: No OFD packet to send [19:29:46]OFD Sender: No OFD packet to send [19:29:51]OFD Sender: No OFD packet to send [19:29:56]OFD Sender: No OFD packet to send [19:30:01]OFD Sender: No OFD packet to send [19:30:06]OFD Sender: No OFD packet to send [19:30:11]OFD Sender: No OFD packet to send [19:30:16]OFD Sender: No OFD packet to send [19:30:21]OFD Sender: No OFD packet to send [19:30:26]OFD Sender: No OFD packet to send [19:30:31]OFD Sender: No OFD packet to send [19:30:36]OFD Sender: No OFD packet to send [19:30:41]OFD Sender: No OFD packet to send [19:30:46]OFD Sender: No OFD packet to send [19:30:51]OFD Sender: No OFD packet to send [19:30:56]OFD Sender: No OFD packet to send [19:31:01]OFD Sender: No OFD packet to send [19:31:06]OFD Sender: No OFD packet to send [19:31:11]OFD Sender: No OFD packet to send [19:31:16]OFD Sender: No OFD packet to send [19:31:21]OFD Sender: No OFD packet to send [19:31:26]OFD Sender: No OFD packet to send [19:31:31]OFD Sender: No OFD packet to send [19:31:36]OFD Sender: No OFD packet to send [19:31:41]OFD Sender: No OFD packet to send [19:31:46]OFD Sender: No OFD packet to send [19:31:51]OFD Sender: No OFD packet to send [19:31:56]OFD Sender: No OFD packet to send [19:32:01]OFD Sender: No OFD packet to send [19:32:06]OFD Sender: No OFD packet to send [19:32:11]OFD Sender: No OFD packet to send [19:32:16]OFD Sender: No OFD packet to send [19:32:21]OFD Sender: No OFD packet to send [19:32:26]OFD Sender: No OFD packet to send [19:32:31]OFD Sender: No OFD packet to send [19:32:36]OFD Sender: No OFD packet to send [19:32:41]OFD Sender: No OFD packet to send [19:32:46]OFD Sender: No OFD packet to send [19:32:51]OFD Sender: No OFD packet to send [19:32:56]OFD Sender: No OFD packet to send [19:33:01]OFD Sender: No OFD packet to send [19:33:06]OFD Sender: No OFD packet to send [19:33:11]OFD Sender: No OFD packet to send [19:33:16]OFD Sender: No OFD packet to send [19:33:21]OFD Sender: No OFD packet to send [19:33:26]OFD Sender: No OFD packet to send [19:33:31]OFD Sender: No OFD packet to send [19:33:36]OFD Sender: No OFD packet to send [19:33:41]OFD Sender: No OFD packet to send [19:33:46]OFD Sender: No OFD packet to send [19:33:51]OFD Sender: No OFD packet to send [19:33:56]OFD Sender: No OFD packet to send [19:34:01]OFD Sender: No OFD packet to send [19:34:06]OFD Sender: No OFD packet to send [19:34:11]OFD Sender: No OFD packet to send [19:34:16]OFD Sender: No OFD packet to send [19:34:21]OFD Sender: No OFD packet to send [19:34:26]OFD Sender: No OFD packet to send [19:34:31]OFD Sender: No OFD packet to send [19:34:36]OFD Sender: No OFD packet to send [19:34:41]OFD Sender: No OFD packet to send [19:34:46]OFD Sender: No OFD packet to send [19:34:51]OFD Sender: No OFD packet to send [19:34:56]OFD Sender: No OFD packet to send [19:35:01]OFD Sender: No OFD packet to send [19:35:06]OFD Sender: No OFD packet to send [19:35:11]OFD Sender: No OFD packet to send [19:35:16]OFD Sender: No OFD packet to send [19:35:21]OFD Sender: No OFD packet to send [19:35:26]OFD Sender: No OFD packet to send [19:35:31]OFD Sender: No OFD packet to send [19:35:36]OFD Sender: No OFD packet to send [19:35:41]OFD Sender: No OFD packet to send [19:35:46]OFD Sender: No OFD packet to send [19:35:51]OFD Sender: No OFD packet to send [19:35:56]OFD Sender: No OFD packet to send [19:36:01]OFD Sender: No OFD packet to send [19:36:06]OFD Sender: No OFD packet to send [19:36:11]OFD Sender: No OFD packet to send [19:36:16]OFD Sender: No OFD packet to send [19:36:21]OFD Sender: No OFD packet to send [19:36:26]OFD Sender: No OFD packet to send [19:36:31]OFD Sender: No OFD packet to send [19:36:36]OFD Sender: No OFD packet to send [19:36:41]OFD Sender: No OFD packet to send [19:36:46]OFD Sender: No OFD packet to send [19:36:51]OFD Sender: No OFD packet to send [19:36:56]OFD Sender: No OFD packet to send [19:37:01]OFD Sender: No OFD packet to send [19:37:06]OFD Sender: No OFD packet to send [19:37:11]OFD Sender: No OFD packet to send [19:37:16]OFD Sender: No OFD packet to send [19:37:21]OFD Sender: No OFD packet to send [19:37:26]OFD Sender: No OFD packet to send [19:37:31]OFD Sender: No OFD packet to send [19:37:36]OFD Sender: No OFD packet to send [19:37:41]OFD Sender: No OFD packet to send [19:37:46]OFD Sender: No OFD packet to send [19:37:51]OFD Sender: No OFD packet to send [19:37:56]OFD Sender: No OFD packet to send [19:38:01]OFD Sender: No OFD packet to send [19:38:06]OFD Sender: No OFD packet to send [19:38:11]OFD Sender: No OFD packet to send [19:38:16]OFD Sender: No OFD packet to send [19:38:21]OFD Sender: No OFD packet to send [19:38:26]OFD Sender: No OFD packet to send [19:38:31]OFD Sender: No OFD packet to send [19:38:36]OFD Sender: No OFD packet to send [19:38:41]OFD Sender: No OFD packet to send [19:38:46]OFD Sender: No OFD packet to send [19:38:51]OFD Sender: No OFD packet to send [19:38:56]OFD Sender: No OFD packet to send [19:39:01]OFD Sender: No OFD packet to send [19:39:06]OFD Sender: No OFD packet to send [19:39:11]OFD Sender: No OFD packet to send [19:39:16]OFD Sender: No OFD packet to send [19:39:21]OFD Sender: No OFD packet to send [19:39:26]OFD Sender: No OFD packet to send [19:39:31]OFD Sender: No OFD packet to send [19:39:36]OFD Sender: No OFD packet to send [19:39:41]OFD Sender: No OFD packet to send [19:39:46]OFD Sender: No OFD packet to send [19:39:51]OFD Sender: No OFD packet to send [19:39:56]OFD Sender: No OFD packet to send [19:40:01]OFD Sender: No OFD packet to send [19:40:06]OFD Sender: No OFD packet to send [19:40:11]OFD Sender: No OFD packet to send [19:40:16]OFD Sender: No OFD packet to send [19:40:21]OFD Sender: No OFD packet to send [19:40:26]OFD Sender: No OFD packet to send [19:40:31]OFD Sender: No OFD packet to send [19:40:36]OFD Sender: No OFD packet to send [19:40:41]OFD Sender: No OFD packet to send [19:40:46]OFD Sender: No OFD packet to send [19:40:51]OFD Sender: No OFD packet to send [19:40:56]OFD Sender: No OFD packet to send [19:41:01]OFD Sender: No OFD packet to send [19:41:06]OFD Sender: No OFD packet to send [19:41:11]OFD Sender: No OFD packet to send [19:41:16]OFD Sender: No OFD packet to send [19:41:21]OFD Sender: No OFD packet to send [19:41:26]OFD Sender: No OFD packet to send [19:41:31]OFD Sender: No OFD packet to send [19:41:36]OFD Sender: No OFD packet to send [19:41:41]OFD Sender: No OFD packet to send [19:41:46]OFD Sender: No OFD packet to send [19:41:51]OFD Sender: No OFD packet to send [19:41:56]OFD Sender: No OFD packet to send [19:42:01]OFD Sender: No OFD packet to send [19:42:06]OFD Sender: No OFD packet to send [19:42:11]OFD Sender: No OFD packet to send [19:42:16]OFD Sender: No OFD packet to send [19:42:22]OFD Sender: No OFD packet to send [19:42:27]OFD Sender: No OFD packet to send [19:42:32]OFD Sender: No OFD packet to send [19:42:37]OFD Sender: No OFD packet to send [19:42:42]OFD Sender: No OFD packet to send [19:42:47]OFD Sender: No OFD packet to send [19:42:52]OFD Sender: No OFD packet to send [19:42:57]OFD Sender: No OFD packet to send [19:43:02]OFD Sender: No OFD packet to send [19:43:07]OFD Sender: No OFD packet to send [19:43:12]OFD Sender: No OFD packet to send [19:43:17]OFD Sender: No OFD packet to send [19:43:22]OFD Sender: No OFD packet to send [19:43:27]OFD Sender: No OFD packet to send [19:43:32]OFD Sender: No OFD packet to send [19:43:37]OFD Sender: No OFD packet to send [19:43:42]OFD Sender: No OFD packet to send [19:43:47]OFD Sender: No OFD packet to send [19:43:52]OFD Sender: No OFD packet to send [19:43:57]OFD Sender: No OFD packet to send [19:44:02]OFD Sender: No OFD packet to send [19:44:07]OFD Sender: No OFD packet to send [19:44:12]OFD Sender: No OFD packet to send [19:44:17]OFD Sender: No OFD packet to send [19:44:22]OFD Sender: No OFD packet to send [19:44:27]OFD Sender: No OFD packet to send [19:44:32]OFD Sender: No OFD packet to send [19:44:37]OFD Sender: No OFD packet to send [19:44:42]OFD Sender: No OFD packet to send [19:44:47]OFD Sender: No OFD packet to send [19:44:52]OFD Sender: No OFD packet to send [19:44:57]OFD Sender: No OFD packet to send [19:45:02]OFD Sender: No OFD packet to send [19:45:07]OFD Sender: No OFD packet to send [19:45:12]OFD Sender: No OFD packet to send [19:45:17]OFD Sender: No OFD packet to send [19:45:22]OFD Sender: No OFD packet to send [19:45:27]OFD Sender: No OFD packet to send [19:45:32]OFD Sender: No OFD packet to send [19:45:37]OFD Sender: No OFD packet to send [19:45:42]OFD Sender: No OFD packet to send [19:45:47]OFD Sender: No OFD packet to send [19:45:52]OFD Sender: No OFD packet to send [19:45:57]OFD Sender: No OFD packet to send [19:46:02]OFD Sender: No OFD packet to send [19:46:07]OFD Sender: No OFD packet to send [19:46:12]OFD Sender: No OFD packet to send [19:46:17]OFD Sender: No OFD packet to send [19:46:22]OFD Sender: No OFD packet to send [19:46:27]OFD Sender: No OFD packet to send [19:46:32]OFD Sender: No OFD packet to send [19:46:37]OFD Sender: No OFD packet to send [19:46:42]OFD Sender: No OFD packet to send [19:46:47]OFD Sender: No OFD packet to send [19:46:52]OFD Sender: No OFD packet to send [19:46:57]OFD Sender: No OFD packet to send [19:47:02]OFD Sender: No OFD packet to send [19:47:07]OFD Sender: No OFD packet to send [19:47:12]OFD Sender: No OFD packet to send [19:47:17]OFD Sender: No OFD packet to send [19:47:22]OFD Sender: No OFD packet to send [19:47:27]OFD Sender: No OFD packet to send [19:47:32]OFD Sender: No OFD packet to send [19:47:37]OFD Sender: No OFD packet to send [19:47:42]OFD Sender: No OFD packet to send [19:47:47]OFD Sender: No OFD packet to send [19:47:52]OFD Sender: No OFD packet to send [19:47:57]OFD Sender: No OFD packet to send [19:48:02]OFD Sender: No OFD packet to send [19:48:07]OFD Sender: No OFD packet to send [19:48:12]OFD Sender: No OFD packet to send [19:48:17]OFD Sender: No OFD packet to send [19:48:22]OFD Sender: No OFD packet to send [19:48:27]OFD Sender: No OFD packet to send [19:48:32]OFD Sender: No OFD packet to send [19:48:37]OFD Sender: No OFD packet to send [19:48:42]OFD Sender: No OFD packet to send [19:48:47]OFD Sender: No OFD packet to send [19:48:52]OFD Sender: No OFD packet to send [19:48:57]OFD Sender: No OFD packet to send [19:49:02]OFD Sender: No OFD packet to send [19:49:07]OFD Sender: No OFD packet to send [19:49:12]OFD Sender: No OFD packet to send [19:49:17]OFD Sender: No OFD packet to send [19:49:22]OFD Sender: No OFD packet to send [19:49:27]OFD Sender: No OFD packet to send [19:49:32]OFD Sender: No OFD packet to send [19:49:37]OFD Sender: No OFD packet to send [19:49:42]OFD Sender: No OFD packet to send [19:49:47]OFD Sender: No OFD packet to send [19:49:52]OFD Sender: No OFD packet to send [19:49:57]OFD Sender: No OFD packet to send [19:50:02]OFD Sender: No OFD packet to send [19:50:07]OFD Sender: No OFD packet to send [19:50:12]OFD Sender: No OFD packet to send [19:50:17]OFD Sender: No OFD packet to send [19:50:22]OFD Sender: No OFD packet to send [19:50:27]OFD Sender: No OFD packet to send [19:50:32]OFD Sender: No OFD packet to send [19:50:37]OFD Sender: No OFD packet to send [19:50:42]OFD Sender: No OFD packet to send [19:50:47]OFD Sender: No OFD packet to send [19:50:52]OFD Sender: No OFD packet to send [19:50:57]OFD Sender: No OFD packet to send [19:51:02]OFD Sender: No OFD packet to send [19:51:07]OFD Sender: No OFD packet to send [19:51:12]OFD Sender: No OFD packet to send [19:51:17]OFD Sender: No OFD packet to send [19:51:22]OFD Sender: No OFD packet to send [19:51:27]OFD Sender: No OFD packet to send [19:51:32]OFD Sender: No OFD packet to send [19:51:37]OFD Sender: No OFD packet to send [19:51:42]OFD Sender: No OFD packet to send [19:51:47]OFD Sender: No OFD packet to send [19:51:52]OFD Sender: No OFD packet to send [19:51:57]OFD Sender: No OFD packet to send [19:52:02]OFD Sender: No OFD packet to send [19:52:07]OFD Sender: No OFD packet to send [19:52:12]OFD Sender: No OFD packet to send [19:52:17]OFD Sender: No OFD packet to send [19:52:22]OFD Sender: No OFD packet to send [19:52:27]OFD Sender: No OFD packet to send [19:52:32]OFD Sender: No OFD packet to send [19:52:37]OFD Sender: No OFD packet to send [19:52:42]OFD Sender: No OFD packet to send [19:52:47]OFD Sender: No OFD packet to send [19:52:52]OFD Sender: No OFD packet to send [19:52:57]OFD Sender: No OFD packet to send [19:53:02]OFD Sender: No OFD packet to send [19:53:07]OFD Sender: No OFD packet to send [19:53:12]OFD Sender: No OFD packet to send [19:53:17]OFD Sender: No OFD packet to send [19:53:22]OFD Sender: No OFD packet to send [19:53:27]OFD Sender: No OFD packet to send [19:53:32]OFD Sender: No OFD packet to send [19:53:37]OFD Sender: No OFD packet to send [19:53:42]OFD Sender: No OFD packet to send [19:53:47]OFD Sender: No OFD packet to send [19:53:52]OFD Sender: No OFD packet to send [19:53:57]OFD Sender: No OFD packet to send [19:54:02]OFD Sender: No OFD packet to send [19:54:07]OFD Sender: No OFD packet to send [19:54:12]OFD Sender: No OFD packet to send [19:54:17]OFD Sender: No OFD packet to send [19:54:22]OFD Sender: No OFD packet to send [19:54:27]OFD Sender: No OFD packet to send [19:54:32]OFD Sender: No OFD packet to send [19:54:37]OFD Sender: No OFD packet to send [19:54:42]OFD Sender: No OFD packet to send [19:54:47]OFD Sender: No OFD packet to send [19:54:52]OFD Sender: No OFD packet to send [19:54:57]OFD Sender: No OFD packet to send [19:55:02]OFD Sender: No OFD packet to send [19:55:07]OFD Sender: No OFD packet to send [19:55:12]OFD Sender: No OFD packet to send [19:55:17]OFD Sender: No OFD packet to send [19:55:22]OFD Sender: No OFD packet to send [19:55:27]OFD Sender: No OFD packet to send [19:55:32]OFD Sender: No OFD packet to send [19:55:37]OFD Sender: No OFD packet to send [19:55:42]OFD Sender: No OFD packet to send [19:55:47]OFD Sender: No OFD packet to send [19:55:52]OFD Sender: No OFD packet to send [19:55:57]OFD Sender: No OFD packet to send [19:56:02]OFD Sender: No OFD packet to send [19:56:07]OFD Sender: No OFD packet to send [19:56:12]OFD Sender: No OFD packet to send [19:56:17]OFD Sender: No OFD packet to send [19:56:22]OFD Sender: No OFD packet to send [19:56:27]OFD Sender: No OFD packet to send [19:56:32]OFD Sender: No OFD packet to send [19:56:37]OFD Sender: No OFD packet to send [19:56:42]OFD Sender: No OFD packet to send [19:56:47]OFD Sender: No OFD packet to send [19:56:52]OFD Sender: No OFD packet to send [19:56:57]OFD Sender: No OFD packet to send [19:57:02]OFD Sender: No OFD packet to send [19:57:07]OFD Sender: No OFD packet to send [19:57:12]OFD Sender: No OFD packet to send [19:57:17]OFD Sender: No OFD packet to send [19:57:22]OFD Sender: No OFD packet to send [19:57:27]OFD Sender: No OFD packet to send [19:57:32]OFD Sender: No OFD packet to send [19:57:37]OFD Sender: No OFD packet to send [19:57:42]OFD Sender: No OFD packet to send [19:57:47]OFD Sender: No OFD packet to send [19:57:52]OFD Sender: No OFD packet to send [19:57:57]OFD Sender: No OFD packet to send [19:58:02]OFD Sender: No OFD packet to send [19:58:07]OFD Sender: No OFD packet to send [19:58:12]OFD Sender: No OFD packet to send [19:58:17]OFD Sender: No OFD packet to send [19:58:22]OFD Sender: No OFD packet to send [19:58:27]OFD Sender: No OFD packet to send [19:58:32]OFD Sender: No OFD packet to send [19:58:37]OFD Sender: No OFD packet to send [19:58:42]OFD Sender: No OFD packet to send [19:58:47]OFD Sender: No OFD packet to send [19:58:52]OFD Sender: No OFD packet to send [19:58:57]OFD Sender: No OFD packet to send [19:59:02]OFD Sender: No OFD packet to send [19:59:07]OFD Sender: No OFD packet to send [19:59:12]OFD Sender: No OFD packet to send [19:59:17]OFD Sender: No OFD packet to send [19:59:22]OFD Sender: No OFD packet to send [19:59:27]OFD Sender: No OFD packet to send [19:59:32]OFD Sender: No OFD packet to send [19:59:37]OFD Sender: No OFD packet to send [19:59:42]OFD Sender: No OFD packet to send [19:59:47]OFD Sender: No OFD packet to send [19:59:52]OFD Sender: No OFD packet to send [19:59:57]OFD Sender: No OFD packet to send [20:00:02]OFD Sender: No OFD packet to send [20:00:07]OFD Sender: No OFD packet to send [20:00:12]OFD Sender: No OFD packet to send [20:00:17]OFD Sender: No OFD packet to send [20:00:22]OFD Sender: No OFD packet to send [20:00:27]OFD Sender: No OFD packet to send [20:00:32]OFD Sender: No OFD packet to send [20:00:37]OFD Sender: No OFD packet to send [20:00:42]OFD Sender: No OFD packet to send [20:00:47]OFD Sender: No OFD packet to send [20:00:52]OFD Sender: No OFD packet to send [20:00:57]OFD Sender: No OFD packet to send [20:01:02]OFD Sender: No OFD packet to send [20:01:07]OFD Sender: No OFD packet to send [20:01:12]OFD Sender: No OFD packet to send [20:01:17]OFD Sender: No OFD packet to send [20:01:22]OFD Sender: No OFD packet to send [20:01:27]OFD Sender: No OFD packet to send [20:01:32]OFD Sender: No OFD packet to send [20:01:37]OFD Sender: No OFD packet to send [20:01:42]OFD Sender: No OFD packet to send [20:01:47]OFD Sender: No OFD packet to send [20:01:52]OFD Sender: No OFD packet to send [20:01:57]OFD Sender: No OFD packet to send [20:02:02]OFD Sender: No OFD packet to send [20:02:07]OFD Sender: No OFD packet to send [20:02:12]OFD Sender: No OFD packet to send [20:02:17]OFD Sender: No OFD packet to send [20:02:22]OFD Sender: No OFD packet to send [20:02:27]OFD Sender: No OFD packet to send [20:02:33]OFD Sender: No OFD packet to send [20:02:38]OFD Sender: No OFD packet to send [20:02:43]OFD Sender: No OFD packet to send [20:02:48]OFD Sender: No OFD packet to send [20:02:53]OFD Sender: No OFD packet to send [20:02:58]OFD Sender: No OFD packet to send [20:03:03]OFD Sender: No OFD packet to send [20:03:08]OFD Sender: No OFD packet to send [20:03:13]OFD Sender: No OFD packet to send [20:03:18]OFD Sender: No OFD packet to send [20:03:23]OFD Sender: No OFD packet to send [20:03:28]OFD Sender: No OFD packet to send [20:03:33]OFD Sender: No OFD packet to send [20:03:38]OFD Sender: No OFD packet to send [20:03:43]OFD Sender: No OFD packet to send [20:03:48]OFD Sender: No OFD packet to send [20:03:53]OFD Sender: No OFD packet to send [20:03:58]OFD Sender: No OFD packet to send [20:04:03]OFD Sender: No OFD packet to send [20:04:08]OFD Sender: No OFD packet to send [20:04:13]OFD Sender: No OFD packet to send [20:04:18]OFD Sender: No OFD packet to send [20:04:23]OFD Sender: No OFD packet to send [20:04:28]OFD Sender: No OFD packet to send [20:04:33]OFD Sender: No OFD packet to send [20:04:38]OFD Sender: No OFD packet to send [20:04:43]OFD Sender: No OFD packet to send [20:04:48]OFD Sender: No OFD packet to send [20:04:53]OFD Sender: No OFD packet to send [20:04:58]OFD Sender: No OFD packet to send [20:05:03]OFD Sender: No OFD packet to send [20:05:08]OFD Sender: No OFD packet to send [20:05:13]OFD Sender: No OFD packet to send [20:05:18]OFD Sender: No OFD packet to send [20:05:23]OFD Sender: No OFD packet to send [20:05:28]OFD Sender: No OFD packet to send [20:05:33]OFD Sender: No OFD packet to send [20:05:38]OFD Sender: No OFD packet to send [20:05:43]OFD Sender: No OFD packet to send [20:05:48]OFD Sender: No OFD packet to send [20:05:53]OFD Sender: No OFD packet to send [20:05:58]OFD Sender: No OFD packet to send [20:06:03]OFD Sender: No OFD packet to send [20:06:08]OFD Sender: No OFD packet to send [20:06:13]OFD Sender: No OFD packet to send [20:06:18]OFD Sender: No OFD packet to send [20:06:23]OFD Sender: No OFD packet to send [20:06:28]OFD Sender: No OFD packet to send [20:06:33]OFD Sender: No OFD packet to send [20:06:38]OFD Sender: No OFD packet to send [20:06:43]OFD Sender: No OFD packet to send [20:06:48]OFD Sender: No OFD packet to send [20:06:53]OFD Sender: No OFD packet to send [20:06:58]OFD Sender: No OFD packet to send [20:07:03]OFD Sender: No OFD packet to send [20:07:08]OFD Sender: No OFD packet to send [20:07:13]OFD Sender: No OFD packet to send [20:07:18]OFD Sender: No OFD packet to send [20:07:23]OFD Sender: No OFD packet to send [20:07:28]OFD Sender: No OFD packet to send [20:07:33]OFD Sender: No OFD packet to send [20:07:38]OFD Sender: No OFD packet to send [20:07:43]OFD Sender: No OFD packet to send [20:07:48]OFD Sender: No OFD packet to send [20:07:53]OFD Sender: No OFD packet to send [20:07:58]OFD Sender: No OFD packet to send [20:08:03]OFD Sender: No OFD packet to send [20:08:08]OFD Sender: No OFD packet to send [20:08:13]OFD Sender: No OFD packet to send [20:08:18]OFD Sender: No OFD packet to send [20:08:23]OFD Sender: No OFD packet to send [20:08:28]OFD Sender: No OFD packet to send [20:08:33]OFD Sender: No OFD packet to send [20:08:38]OFD Sender: No OFD packet to send [20:08:43]OFD Sender: No OFD packet to send [20:08:48]OFD Sender: No OFD packet to send [20:08:53]OFD Sender: No OFD packet to send [20:08:58]OFD Sender: No OFD packet to send [20:09:03]OFD Sender: No OFD packet to send [20:09:08]OFD Sender: No OFD packet to send [20:09:13]OFD Sender: No OFD packet to send [20:09:18]OFD Sender: No OFD packet to send [20:09:23]OFD Sender: No OFD packet to send [20:09:28]OFD Sender: No OFD packet to send [20:09:33]OFD Sender: No OFD packet to send [20:09:38]OFD Sender: No OFD packet to send [20:09:43]OFD Sender: No OFD packet to send [20:09:48]OFD Sender: No OFD packet to send [20:09:53]OFD Sender: No OFD packet to send [20:09:58]OFD Sender: No OFD packet to send [20:10:03]OFD Sender: No OFD packet to send [20:10:08]OFD Sender: No OFD packet to send [20:10:13]OFD Sender: No OFD packet to send [20:10:18]OFD Sender: No OFD packet to send [20:10:23]OFD Sender: No OFD packet to send [20:10:28]OFD Sender: No OFD packet to send [20:10:33]OFD Sender: No OFD packet to send [20:10:38]OFD Sender: No OFD packet to send [20:10:43]OFD Sender: No OFD packet to send [20:10:48]OFD Sender: No OFD packet to send [20:10:53]OFD Sender: No OFD packet to send [20:10:58]OFD Sender: No OFD packet to send [20:11:03]OFD Sender: No OFD packet to send [20:11:08]OFD Sender: No OFD packet to send [20:11:13]OFD Sender: No OFD packet to send [20:11:18]OFD Sender: No OFD packet to send [20:11:23]OFD Sender: No OFD packet to send [20:11:28]OFD Sender: No OFD packet to send [20:11:33]OFD Sender: No OFD packet to send [20:11:38]OFD Sender: No OFD packet to send [20:11:43]OFD Sender: No OFD packet to send [20:11:48]OFD Sender: No OFD packet to send [20:11:53]OFD Sender: No OFD packet to send [20:11:58]OFD Sender: No OFD packet to send [20:12:03]OFD Sender: No OFD packet to send [20:12:08]OFD Sender: No OFD packet to send [20:12:08]accept exits with 9 [20:12:08]New connection [20:12:08]New thread 3067440484 created [20:12:08]Thread 3067583844 joined [20:12:08]Waiting for new connection... [20:12:08] Sock 9.Parse request [20:12:08]Sock 9.Check first char [20:12:08]Sock 9.First char is OK [20:12:08]request: POST /json_proto HTTP/1.0 [20:12:08]Method: POST [20:12:08]URL: /json_proto [20:12:08]Method is POST - this is cgi request [20:12:08]url: /json_proto [20:12:08]query_string will be loaded in cgi processing [20:12:08]execute_cgi json_proto POST (null) [20:12:08]execute_cgi path=json_proto method=POST [20:12:08]POST find Content-Length [20:12:08]Host: 172.17.43.4:8080 [20:12:08]Content-Length: 871 [20:12:08]Content-Type: application/json [20:12:08] [20:12:08]POST finish read [20:12:08]Found Content-Length = 871 [20:12:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51706", "tax_sys" : 0, "items" : [ { "code": "48741415", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Super Slims Violet", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 194.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:12:08]execute_script... [20:12:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51706", "tax_sys" : 0, "items" : [ { "code": "48741415", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Super Slims Violet", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 194.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:12:08]POST & json_proto [20:12:08]process_json_proto [20:12:08]json parsed OK: [20:12:08]protocol is kg_v1.0 [20:12:08]action value=close_receipt [20:12:08]process_action close_receipt [20:12:08]cmd_close_receipt [20:12:08]MH_GetDate [20:12:08]Write to MH i2c: F0 00 00 B4 0D B0 [20:12:08]Write i2c OK [20:12:08]MH_I2C_Read... [20:12:08]Read from MH i2c: F0 [20:12:08]MH_I2C_Read... [20:12:08]Read from MH i2c: F0 09 00 [20:12:08]MH_I2C_Read... [20:12:08]Read from MH i2c: F0 09 00 B4 0D 00 9A 6E F4 66 02 BF CF 66 11 [20:12:08]GetLastDocTimeStamp 1727291853 [20:12:08]current date 1727295130 [20:12:08]FM_GetShiftState [20:12:08]SAM_PROTO_GetShiftState [20:12:08]wFMCommunicate request_size=4 [20:12:08]MH_SAM_APDU [20:12:08]CAPDU: 80 13 01 00 [20:12:08]Write to MH i2c: E2 08 00 B5 0D 80 13 01 00 00 00 00 00 3F [20:12:08]Write i2c OK [20:12:08]MH_I2C_Read... [20:12:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:12:08]Read from MH i2c: E2 [20:12:08]MH_I2C_Read... [20:12:08]Read from MH i2c: E2 0E 00 [20:12:08]MH_I2C_Read... [20:12:08]Read from MH i2c: E2 0E 00 B5 0D 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 D0 [20:12:08]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [20:12:08]wFMCommunicate OK [20:12:08]SAM_PROTO_GetShiftState done [20:12:08]FM_GetShiftState done [20:12:08]opened in 1727224020 [20:12:08]opened+sec_in_day 1727310420 [20:12:08]quantity*price = 13400 [20:12:08]sum+1 = 13401 [20:12:08]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160204 Вода Легенда 1,5л 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 194.00 НСП 1% : 1.72 НДС 12% : 20.60 Наличными: 194.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 85 25.09.2024 20:12 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22512 ФПД: 152909646584385 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T201210&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22512&fm=152909646584385&tin=02508201610067®Number=0000000000146243&sum=19400 0 [20:12:10]StoreToDocumentArchive [20:12:10]shift 231 fd 22512 [20:12:10]save to /storage/0231/doc_00022512 [20:12:10]save last doc name /storage/0231/doc_00022512 to /storage/kkm_last_doc_name [20:12:10]save OK [20:12:10]Clear old archive folders... [20:12:10]ProcessDocumentItem done err = 0, tmpTLVsize=376 [20:12:10]tlvbuf is 00220130 [20:12:10]SAM_PROTO_ClearQueue [20:12:10]wFMCommunicate request_size=4 [20:12:10]MH_SAM_APDU [20:12:10]CAPDU: 80 09 00 00 [20:12:10]Write to MH i2c: E2 08 00 C2 0D 80 09 00 00 00 00 00 00 41 [20:12:10]Write i2c OK [20:12:10]MH_I2C_Read... [20:12:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:12:10]Read from MH i2c: E2 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 03 00 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 03 00 C2 0D 00 90 00 43 [20:12:10]RAPDU: 90 00 [20:12:10]wFMCommunicate OK [20:12:10]SAM_PROTO_ClearQueue done [20:12:10]KKMCreateOFDPacket [20:12:10]OFDProtocolAddRootSTLVToBuf [20:12:10]FM_MakeSignedData [20:12:10]FM_MakeSignedData [20:12:10]SAM_PROTO_SignData [20:12:10]wFMCommunicate request_size=4 [20:12:10]MH_SAM_APDU [20:12:10]CAPDU: 80 0D 01 02 [20:12:10]Write to MH i2c: E2 08 00 C3 0D 80 0D 01 02 00 00 00 00 49 [20:12:10]Write i2c OK [20:12:10]MH_I2C_Read... [20:12:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:12:10]Read from MH i2c: E2 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 03 00 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 03 00 C3 0D 00 90 00 44 [20:12:10]RAPDU: 90 00 [20:12:10]wFMCommunicate OK [20:12:10]wFMCommunicate request_size=255 [20:12:10]MH_SAM_APDU [20:12:10]CAPDU: 80 0D 02 02 FA 03 00 78 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 31 34 31 35 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 56 69 6F 6C 65 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 00 EE 03 [20:12:10]Write to MH i2c: E2 02 01 C4 0D 80 0D 02 02 FA 00 03 00 78 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 31 34 31 35 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 56 69 6F 6C 65 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 00 EE 03 00 00 9A [20:12:10]Write i2c OK [20:12:10]MH_I2C_Read... [20:12:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:12:10]Read from MH i2c: E2 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 03 00 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 03 00 C4 0D 00 90 00 45 [20:12:10]RAPDU: 90 00 [20:12:10]wFMCommunicate OK [20:12:10]wFMCommunicate request_size=135 [20:12:10]MH_SAM_APDU [20:12:10]CAPDU: 80 0D 02 02 82 0F 00 F2 03 01 00 01 F3 03 06 00 0C 08 00 00 00 00 07 04 06 00 C8 4B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 9A 6E F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F0 57 00 00 35 04 06 00 8B 12 0D 2A DA 41 [20:12:10]Write to MH i2c: E2 8A 00 C5 0D 80 0D 02 02 82 00 0F 00 F2 03 01 00 01 F3 03 06 00 0C 08 00 00 00 00 07 04 06 00 C8 4B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 9A 6E F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F0 57 00 00 35 04 06 00 8B 12 0D 2A DA 41 00 00 89 [20:12:10]Write i2c OK [20:12:10]MH_I2C_Read... [20:12:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:12:10]Read from MH i2c: E2 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 03 00 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 03 00 C5 0D 00 90 00 46 [20:12:10]RAPDU: 90 00 [20:12:10]wFMCommunicate OK [20:12:10]wFMCommunicate request_size=4 [20:12:10]MH_SAM_APDU [20:12:10]CAPDU: 80 0D 03 02 [20:12:10]Write to MH i2c: E2 08 00 C6 0D 80 0D 03 02 00 00 00 00 4E [20:12:10]Write i2c OK [20:12:10]MH_I2C_Read... [20:12:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:12:10]Read from MH i2c: E2 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 0B 00 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 0B 00 C6 0D 00 4B E4 DA DB 65 BA 0F F2 90 00 53 [20:12:10]RAPDU: 4B E4 DA DB 65 BA 0F F2 90 00 [20:12:10]wFMCommunicate OK [20:12:10]SAM_PROTO_SignData done [20:12:10]FM_MakeSignedData done [20:12:10]CreateOFDProtocolMessage [20:12:10]wFMCommunicate request_size=4 [20:12:10]MH_SAM_APDU [20:12:10]CAPDU: 80 11 00 00 [20:12:10]Write to MH i2c: E2 08 00 C7 0D 80 11 00 00 00 00 00 00 4E [20:12:10]Write i2c OK [20:12:10]MH_I2C_Read... [20:12:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:12:10]Read from MH i2c: E2 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 17 00 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: E2 17 00 C7 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 A8 [20:12:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [20:12:10]wFMCommunicate OK [20:12:10]CreateOFDProtocolMessage done [20:12:10]OFDSenderStorePacket 22512 [20:12:10]StoreOFDPacket docnum=22512 [20:12:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 8C 01 00 00 3F 18 84 01 DB 28 5A 03 01 00 03 00 78 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 31 34 31 35 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 56 69 6F 6C 65 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0C 08 00 00 00 00 07 04 06 00 C8 4B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 9A 6E F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F0 57 00 00 35 04 06 00 8B 12 0D 2A DA 41 4B E4 DA DB 65 BA 0F F2 [20:12:10]CheckFolder [20:12:10]dirname=/storage/ofd_packets [20:12:10]CheckFolder done [20:12:10]ProducePacketName [20:12:10]name=ofd_packets/00022512 [20:12:10]NVStorageSaveData ofd_packets/00022512 [20:12:10]File name is /storage/ofd_packets/00022512 [20:12:10]Write 426 bytes [20:12:10]NVStorageSaveData done [20:12:10]OFDSenderStorePacket done [20:12:10]KKMCreateOFDPacket done [20:12:10]NVStorageSaveData kkm_last_timestamp [20:12:10]File name is /storage/kkm_last_timestamp [20:12:10]Write 4 bytes [20:12:10]NVStorageSaveData done [20:12:10]ExternCall_PrintAddStr [20:12:10]wPrintStart [20:12:10]Write to MH i2c: 01 00 00 C8 0D D5 [20:12:10]Write i2c OK [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: 01 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: 01 07 00 [20:12:10]MH_I2C_Read... [20:12:10]Read from MH i2c: 01 07 00 C8 0D 00 00 00 00 00 FF 0F EA [20:12:10]RasterBufferAndPrint [20:12:10]line Счет N : (3)51706 [20:12:10]line ИНН: 02508201610067 [20:12:10]line Контрольно-Кассовый Чек [20:12:10]line ПРОДАЖА [20:12:10]line Товар: 48741415 [20:12:10]line Сигареты LD Super Slims Violet [20:12:10]line 1.000 * 134.00 [20:12:10]line = 134.00 [20:12:10]line НДС 12% НСП 1% [20:12:10]line > о реализуемом товаре [20:12:10]line Товар: 4700000160204 [20:12:10]line Вода Легенда 1,5л [20:12:10]line 1.000 * 60.00 [20:12:10]line = 60.00 [20:12:10]line НДС 12% НСП 1% [20:12:10]line > о реализуемом товаре [20:12:10]line ИТОГО: 194.00 [20:12:10]line НСП 1% : 1.72 [20:12:10]line НДС 12% : 20.60 [20:12:10]line Наличными: 194.00 [20:12:10]line Безнал.: 0.00 [20:12:10]line Место: АЗС № 88 "Партнер Нефть" [20:12:10]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [20:12:10]line СНО: Общий режим [20:12:10]line Чек 85 25.09.2024 20:12 [20:12:10]line Смена: 231 ФФД: 1.0 [20:12:10]line ЗНМ: 0300000061 [20:12:10]line РНМ: 0000000000146243 [20:12:10]line Версия ККМ: v1.0 [20:12:10]line ФМ: 0000000000959358 [20:12:10]line ФД: 22512 [20:12:10]line ФПД: 152909646584385 [20:12:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T201210&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22512&fm=152909646584385&tin=02508201610067®Number=0000000000146243&sum=19400 [20:12:10]OFD Sender: Processing packet 22512 [packets to send 23, broken 22] [20:12:10]ProducePacketName [20:12:10]name=ofd_packets/00022512 [20:12:10]OFD Sender: To server: pG, [20:12:10]CommunicateWithHost lk.salyk.kg:30040 [20:12:10]ConnectInit lk.salyk.kg [20:12:10]line 0 [20:12:10]written 0, free lines is 4095 [20:12:11]Connected sock=10 [20:12:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 8C 01 00 00 3F 18 84 01 DB 28 5A 03 01 00 03 00 78 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 31 34 31 35 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 56 69 6F 6C 65 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0C 08 00 00 00 00 07 04 06 00 C8 4B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 9A 6E F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F0 57 00 00 35 04 06 00 8B 12 0D 2A DA 41 4B E4 DA DB 65 BA 0F F2 [20:12:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 44 D6 47 00 00 CB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F0 57 00 00 F4 03 04 00 BC 18 F4 66 B6 04 01 00 00 1E DC 51 4E 65 18 16 D4 [20:12:11]CommunicateWithHost err = 0 [20:12:11]CheckOFDResponse [20:12:11]1017 (14) - 77093643461234 [20:12:11]1041 (16) - 0000000000959358 [20:12:11]1040 (4) - 22512 [20:12:11]1012 (4) - 25.09.2024 14:05 [20:12:11]1206 (1) - 0 [20:12:11]OFD Sender: Remove packet 22512 [20:12:11]ProducePacketName [20:12:11]name=ofd_packets/00022512 [20:12:11]NVStorageDeleteData [20:12:11]Write to MH i2c: 01 00 00 F7 0D 04 [20:12:11]Write i2c OK [20:12:11]MH_I2C_Read... [20:12:11]Read from MH i2c: 01 [20:12:11]MH_I2C_Read... [20:12:11]Read from MH i2c: 01 07 00 [20:12:11]MH_I2C_Read... [20:12:11]Read from MH i2c: 01 07 00 F7 0D 00 00 00 00 00 B8 0C CF [20:12:11]RasterBufferAndPrint [20:12:11]line [20:12:11]line [20:12:11]line [20:12:11]line [20:12:11]line [20:12:11]written 0, free lines is 3263 [20:12:11]MH_Cut [20:12:11]Write to MH i2c: D1 01 00 FE 0D 01 DD [20:12:11]Write i2c OK [20:12:11]MH_I2C_Read... [20:12:11]Read from MH i2c: D1 [20:12:11]MH_I2C_Read... [20:12:11]Read from MH i2c: D1 01 00 [20:12:11]MH_I2C_Read... [20:12:11]Read from MH i2c: D1 01 00 FE 0D 00 DC [20:12:11]Write to MH i2c: 01 00 00 FF 0D 0C [20:12:11]Write i2c OK [20:12:11]MH_I2C_Read... [20:12:11]OFD Sender: No OFD packet to send [20:12:12]*** Cut start [20:12:12]*** Partial cut [20:12:12]*** CUTSNS_PIN = 1 [20:12:12]*** CUTSNS_PIN = 0 [20:12:12]*** Brake cut motor [20:12:12]Read from MH i2c: 01 [20:12:12]MH_I2C_Read... [20:12:12]*** Stop cut motor [20:12:12]*** Cut end [20:12:12]Read from MH i2c: 01 07 00 [20:12:12]MH_I2C_Read... [20:12:12]Read from MH i2c: 01 07 00 FF 0D 00 00 00 00 00 FF 0F 21 [20:12:12]process_action close_receipt done [20:12:12]requested_data is exist [20:12:12]produce_requested_data [20:12:12]requested_item fm.sn is exist - process it [20:12:12]wFMCommunicate request_size=4 [20:12:12]MH_SAM_APDU [20:12:12]CAPDU: 80 11 00 00 [20:12:12]Write to MH i2c: E2 08 00 00 0E 80 11 00 00 00 00 00 00 88 [20:12:12]Write i2c OK [20:12:12]MH_I2C_Read... [20:12:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:12:12]Read from MH i2c: E2 [20:12:12]MH_I2C_Read... [20:12:12]Read from MH i2c: E2 17 00 [20:12:12]MH_I2C_Read... [20:12:12]Read from MH i2c: E2 17 00 00 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 E2 [20:12:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [20:12:12]wFMCommunicate OK [20:12:12]requested_item fd.num is exist - process it [20:12:12]SAM_PROTO_GetFieldsCounters [20:12:12]wFMCommunicate request_size=4 [20:12:12]MH_SAM_APDU [20:12:12]CAPDU: 80 13 00 00 [20:12:12]Write to MH i2c: E2 08 00 01 0E 80 13 00 00 00 00 00 00 8B [20:12:12]Write i2c OK [20:12:12]MH_I2C_Read... [20:12:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:12:12]Read from MH i2c: E2 [20:12:12]MH_I2C_Read... [20:12:12]Read from MH i2c: E2 62 00 [20:12:12]MH_I2C_Read... [20:12:12]Read from MH i2c: E2 62 00 01 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 F0 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 55 00 00 00 5E 04 04 00 55 00 00 00 57 04 04 00 56 00 00 00 19 04 04 00 00 00 00 00 90 00 DB [20:12:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 F0 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 55 00 00 00 5E 04 04 00 55 00 00 00 57 04 04 00 56 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:12:12]wFMCommunicate OK [20:12:12]SAM_PROTO_GetFieldsCounters done [20:12:12]requested_item shift.num is exist - process it [20:12:12]requested_item shift.opened is exist - process it [20:12:12]req_shift_opened [20:12:12]FM_GetShiftState [20:12:12]SAM_PROTO_GetShiftState [20:12:12]wFMCommunicate request_size=4 [20:12:12]MH_SAM_APDU [20:12:12]CAPDU: 80 13 01 00 [20:12:12]Write to MH i2c: E2 08 00 02 0E 80 13 01 00 00 00 00 00 8D [20:12:12]Write i2c OK [20:12:12]MH_I2C_Read... [20:12:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:12:13]Read from MH i2c: E2 [20:12:13]MH_I2C_Read... [20:12:13]Read from MH i2c: E2 0E 00 [20:12:13]MH_I2C_Read... [20:12:13]Read from MH i2c: E2 0E 00 02 0E 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 1E [20:12:13]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [20:12:13]wFMCommunicate OK [20:12:13]SAM_PROTO_GetShiftState done [20:12:13]FM_GetShiftState done [20:12:13]req_shift_opened done [20:12:13]requested_item shift.open_date is exist - process it [20:12:13]req_shift_open_date [20:12:13]req_shift_open_date done [20:12:13]produce_requested_data done [20:12:13]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22512,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [20:12:13]process_action_free close_receipt [20:12:13]json_value_free [20:12:13]json_value_free done [20:12:13]process_json_proto returns [20:12:13]Send response to host [20:12:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22512,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [20:12:13]free response buf [20:12:13]execute_script done [20:12:13]execute_script returns [20:12:13]free content buf [20:12:13]Sock 9.Close socket [20:12:13]Sock 9.Thread stoped [20:12:16]OFD Sender: No OFD packet to send [20:12:21]OFD Sender: No OFD packet to send [20:12:27]OFD Sender: No OFD packet to send [20:12:32]OFD Sender: No OFD packet to send [20:12:37]OFD Sender: No OFD packet to send [20:12:42]OFD Sender: No OFD packet to send [20:12:47]OFD Sender: No OFD packet to send [20:12:52]OFD Sender: No OFD packet to send [20:12:57]OFD Sender: No OFD packet to send [20:13:02]OFD Sender: No OFD packet to send [20:13:07]OFD Sender: No OFD packet to send [20:13:12]OFD Sender: No OFD packet to send [20:13:17]OFD Sender: No OFD packet to send [20:13:22]OFD Sender: No OFD packet to send [20:13:27]OFD Sender: No OFD packet to send [20:13:32]OFD Sender: No OFD packet to send [20:13:37]OFD Sender: No OFD packet to send [20:13:42]OFD Sender: No OFD packet to send [20:13:47]OFD Sender: No OFD packet to send [20:13:52]OFD Sender: No OFD packet to send [20:13:57]OFD Sender: No OFD packet to send [20:14:02]OFD Sender: No OFD packet to send [20:14:07]OFD Sender: No OFD packet to send [20:14:12]OFD Sender: No OFD packet to send [20:14:17]OFD Sender: No OFD packet to send [20:14:22]OFD Sender: No OFD packet to send [20:14:27]OFD Sender: No OFD packet to send [20:14:32]OFD Sender: No OFD packet to send [20:14:37]OFD Sender: No OFD packet to send [20:14:42]OFD Sender: No OFD packet to send [20:14:47]OFD Sender: No OFD packet to send [20:14:52]OFD Sender: No OFD packet to send [20:14:57]OFD Sender: No OFD packet to send [20:15:02]OFD Sender: No OFD packet to send [20:15:07]OFD Sender: No OFD packet to send [20:15:12]OFD Sender: No OFD packet to send [20:15:17]OFD Sender: No OFD packet to send [20:15:22]OFD Sender: No OFD packet to send [20:15:27]OFD Sender: No OFD packet to send [20:15:32]OFD Sender: No OFD packet to send [20:15:37]OFD Sender: No OFD packet to send [20:15:42]OFD Sender: No OFD packet to send [20:15:47]OFD Sender: No OFD packet to send [20:15:52]OFD Sender: No OFD packet to send [20:15:57]OFD Sender: No OFD packet to send [20:16:02]OFD Sender: No OFD packet to send [20:16:07]OFD Sender: No OFD packet to send [20:16:12]OFD Sender: No OFD packet to send [20:16:17]OFD Sender: No OFD packet to send [20:16:22]OFD Sender: No OFD packet to send [20:16:27]OFD Sender: No OFD packet to send [20:16:32]OFD Sender: No OFD packet to send [20:16:37]OFD Sender: No OFD packet to send [20:16:42]OFD Sender: No OFD packet to send [20:16:47]OFD Sender: No OFD packet to send [20:16:52]OFD Sender: No OFD packet to send [20:16:57]OFD Sender: No OFD packet to send [20:17:02]OFD Sender: No OFD packet to send [20:17:07]OFD Sender: No OFD packet to send [20:17:12]OFD Sender: No OFD packet to send [20:17:17]OFD Sender: No OFD packet to send [20:17:22]OFD Sender: No OFD packet to send [20:17:27]OFD Sender: No OFD packet to send [20:17:32]OFD Sender: No OFD packet to send [20:17:37]OFD Sender: No OFD packet to send [20:17:42]OFD Sender: No OFD packet to send [20:17:47]OFD Sender: No OFD packet to send [20:17:52]OFD Sender: No OFD packet to send [20:17:57]OFD Sender: No OFD packet to send [20:18:02]OFD Sender: No OFD packet to send [20:18:07]OFD Sender: No OFD packet to send [20:18:12]OFD Sender: No OFD packet to send [20:18:17]OFD Sender: No OFD packet to send [20:18:22]OFD Sender: No OFD packet to send [20:18:27]OFD Sender: No OFD packet to send [20:18:32]OFD Sender: No OFD packet to send [20:18:37]OFD Sender: No OFD packet to send [20:18:42]OFD Sender: No OFD packet to send [20:18:47]OFD Sender: No OFD packet to send [20:18:52]OFD Sender: No OFD packet to send [20:18:57]OFD Sender: No OFD packet to send [20:19:02]OFD Sender: No OFD packet to send [20:19:07]OFD Sender: No OFD packet to send [20:19:12]OFD Sender: No OFD packet to send [20:19:17]OFD Sender: No OFD packet to send [20:19:22]OFD Sender: No OFD packet to send [20:19:27]OFD Sender: No OFD packet to send [20:19:32]OFD Sender: No OFD packet to send [20:19:37]OFD Sender: No OFD packet to send [20:19:42]OFD Sender: No OFD packet to send [20:19:47]OFD Sender: No OFD packet to send [20:19:52]OFD Sender: No OFD packet to send [20:19:57]OFD Sender: No OFD packet to send [20:20:02]OFD Sender: No OFD packet to send [20:20:07]OFD Sender: No OFD packet to send [20:20:12]OFD Sender: No OFD packet to send [20:20:17]OFD Sender: No OFD packet to send [20:20:22]OFD Sender: No OFD packet to send [20:20:27]OFD Sender: No OFD packet to send [20:20:32]OFD Sender: No OFD packet to send [20:20:37]OFD Sender: No OFD packet to send [20:20:42]OFD Sender: No OFD packet to send [20:20:47]OFD Sender: No OFD packet to send [20:20:52]OFD Sender: No OFD packet to send [20:20:57]OFD Sender: No OFD packet to send [20:21:02]OFD Sender: No OFD packet to send [20:21:07]OFD Sender: No OFD packet to send [20:21:12]OFD Sender: No OFD packet to send [20:21:17]OFD Sender: No OFD packet to send [20:21:22]OFD Sender: No OFD packet to send [20:21:27]OFD Sender: No OFD packet to send [20:21:32]OFD Sender: No OFD packet to send [20:21:37]OFD Sender: No OFD packet to send [20:21:42]OFD Sender: No OFD packet to send [20:21:47]OFD Sender: No OFD packet to send [20:21:52]OFD Sender: No OFD packet to send [20:21:57]OFD Sender: No OFD packet to send [20:22:02]OFD Sender: No OFD packet to send [20:22:07]OFD Sender: No OFD packet to send [20:22:12]OFD Sender: No OFD packet to send [20:22:17]OFD Sender: No OFD packet to send [20:22:22]OFD Sender: No OFD packet to send [20:22:27]OFD Sender: No OFD packet to send [20:22:32]OFD Sender: No OFD packet to send [20:22:37]OFD Sender: No OFD packet to send [20:22:42]OFD Sender: No OFD packet to send [20:22:47]OFD Sender: No OFD packet to send [20:22:52]OFD Sender: No OFD packet to send [20:22:57]OFD Sender: No OFD packet to send [20:23:02]OFD Sender: No OFD packet to send [20:23:07]OFD Sender: No OFD packet to send [20:23:12]OFD Sender: No OFD packet to send [20:23:17]OFD Sender: No OFD packet to send [20:23:22]OFD Sender: No OFD packet to send [20:23:27]OFD Sender: No OFD packet to send [20:23:32]OFD Sender: No OFD packet to send [20:23:37]OFD Sender: No OFD packet to send [20:23:42]OFD Sender: No OFD packet to send [20:23:47]OFD Sender: No OFD packet to send [20:23:52]OFD Sender: No OFD packet to send [20:23:57]OFD Sender: No OFD packet to send [20:24:02]OFD Sender: No OFD packet to send [20:24:07]OFD Sender: No OFD packet to send [20:24:12]OFD Sender: No OFD packet to send [20:24:17]OFD Sender: No OFD packet to send [20:24:22]OFD Sender: No OFD packet to send [20:24:27]OFD Sender: No OFD packet to send [20:24:32]OFD Sender: No OFD packet to send [20:24:37]OFD Sender: No OFD packet to send [20:24:42]OFD Sender: No OFD packet to send [20:24:47]OFD Sender: No OFD packet to send [20:24:52]OFD Sender: No OFD packet to send [20:24:57]OFD Sender: No OFD packet to send [20:25:02]OFD Sender: No OFD packet to send [20:25:07]OFD Sender: No OFD packet to send [20:25:12]OFD Sender: No OFD packet to send [20:25:17]OFD Sender: No OFD packet to send [20:25:22]OFD Sender: No OFD packet to send [20:25:27]OFD Sender: No OFD packet to send [20:25:32]OFD Sender: No OFD packet to send [20:25:37]OFD Sender: No OFD packet to send [20:25:42]OFD Sender: No OFD packet to send [20:25:47]OFD Sender: No OFD packet to send [20:25:52]OFD Sender: No OFD packet to send [20:25:57]OFD Sender: No OFD packet to send [20:26:02]OFD Sender: No OFD packet to send [20:26:07]OFD Sender: No OFD packet to send [20:26:12]OFD Sender: No OFD packet to send [20:26:17]OFD Sender: No OFD packet to send [20:26:17]accept exits with 7 [20:26:17]New connection [20:26:17]New thread 3067583844 created [20:26:17]Thread 3067440484 joined [20:26:17]Waiting for new connection... [20:26:17] Sock 7.Parse request [20:26:17]Sock 7.Check first char [20:26:17]Sock 7.First char is OK [20:26:17]request: POST /json_proto HTTP/1.0 [20:26:17]Method: POST [20:26:17]URL: /json_proto [20:26:17]Method is POST - this is cgi request [20:26:17]url: /json_proto [20:26:17]query_string will be loaded in cgi processing [20:26:17]execute_cgi json_proto POST (null) [20:26:17]execute_cgi path=json_proto method=POST [20:26:17]POST find Content-Length [20:26:17]Host: 172.17.43.4:8080 [20:26:17]Content-Length: 621 [20:26:17]Content-Type: application/json [20:26:17] [20:26:17]POST finish read [20:26:17]Found Content-Length = 621 [20:26:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51707", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:26:17]execute_script... [20:26:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51707", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:26:17]POST & json_proto [20:26:17]process_json_proto [20:26:17]json parsed OK: [20:26:17]protocol is kg_v1.0 [20:26:17]action value=close_receipt [20:26:17]process_action close_receipt [20:26:17]cmd_close_receipt [20:26:17]MH_GetDate [20:26:17]Write to MH i2c: F0 00 00 03 0E 00 [20:26:17]Write i2c OK [20:26:17]MH_I2C_Read... [20:26:17]Read from MH i2c: F0 [20:26:17]MH_I2C_Read... [20:26:17]Read from MH i2c: F0 09 00 [20:26:17]MH_I2C_Read... [20:26:17]Read from MH i2c: F0 09 00 03 0E 00 EB 71 F4 66 02 BF CF 66 B5 [20:26:17]GetLastDocTimeStamp 1727295130 [20:26:17]current date 1727295979 [20:26:17]FM_GetShiftState [20:26:17]SAM_PROTO_GetShiftState [20:26:17]wFMCommunicate request_size=4 [20:26:17]MH_SAM_APDU [20:26:17]CAPDU: 80 13 01 00 [20:26:17]Write to MH i2c: E2 08 00 04 0E 80 13 01 00 00 00 00 00 8F [20:26:17]Write i2c OK [20:26:17]MH_I2C_Read... [20:26:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:26:17]Read from MH i2c: E2 [20:26:17]MH_I2C_Read... [20:26:17]Read from MH i2c: E2 0E 00 [20:26:17]MH_I2C_Read... [20:26:17]Read from MH i2c: E2 0E 00 04 0E 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 20 [20:26:17]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [20:26:17]wFMCommunicate OK [20:26:17]SAM_PROTO_GetShiftState done [20:26:17]FM_GetShiftState done [20:26:17]opened in 1727224020 [20:26:17]opened+sec_in_day 1727310420 [20:26:17]quantity*price = 15000 [20:26:17]sum+1 = 15001 [20:26:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 86 25.09.2024 20:26 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22513 ФПД: 125493307634907 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T202619&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22513&fm=125493307634907&tin=02508201610067®Number=0000000000146243&sum=15000 0 [20:26:19]StoreToDocumentArchive [20:26:19]shift 231 fd 22513 [20:26:19]save to /storage/0231/doc_00022513 [20:26:19]save last doc name /storage/0231/doc_00022513 to /storage/kkm_last_doc_name [20:26:19]save OK [20:26:19]Clear old archive folders... [20:26:19]ProcessDocumentItem done err = 0, tmpTLVsize=274 [20:26:19]tlvbuf is 00233E40 [20:26:19]SAM_PROTO_ClearQueue [20:26:19]wFMCommunicate request_size=4 [20:26:19]MH_SAM_APDU [20:26:19]CAPDU: 80 09 00 00 [20:26:19]Write to MH i2c: E2 08 00 11 0E 80 09 00 00 00 00 00 00 91 [20:26:19]Write i2c OK [20:26:19]MH_I2C_Read... [20:26:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:26:19]Read from MH i2c: E2 [20:26:19]MH_I2C_Read... [20:26:19]Read from MH i2c: E2 03 00 [20:26:19]MH_I2C_Read... [20:26:19]Read from MH i2c: E2 03 00 11 0E 00 90 00 93 [20:26:19]RAPDU: 90 00 [20:26:19]wFMCommunicate OK [20:26:19]SAM_PROTO_ClearQueue done [20:26:19]KKMCreateOFDPacket [20:26:19]OFDProtocolAddRootSTLVToBuf [20:26:19]FM_MakeSignedData [20:26:19]FM_MakeSignedData [20:26:19]SAM_PROTO_SignData [20:26:19]wFMCommunicate request_size=4 [20:26:19]MH_SAM_APDU [20:26:19]CAPDU: 80 0D 01 02 [20:26:19]Write to MH i2c: E2 08 00 12 0E 80 0D 01 02 00 00 00 00 99 [20:26:19]Write i2c OK [20:26:19]MH_I2C_Read... [20:26:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:26:19]Read from MH i2c: E2 [20:26:19]MH_I2C_Read... [20:26:19]Read from MH i2c: E2 03 00 [20:26:19]MH_I2C_Read... [20:26:19]Read from MH i2c: E2 03 00 12 0E 00 90 00 94 [20:26:19]RAPDU: 90 00 [20:26:19]wFMCommunicate OK [20:26:19]wFMCommunicate request_size=255 [20:26:19]MH_SAM_APDU [20:26:19]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 EB 71 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 [20:26:19]Write to MH i2c: E2 02 01 13 0E 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 EB 71 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 00 00 24 [20:26:19]Write i2c OK [20:26:19]MH_I2C_Read... [20:26:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:26:19]Read from MH i2c: E2 [20:26:19]MH_I2C_Read... [20:26:19]Read from MH i2c: E2 03 00 [20:26:19]MH_I2C_Read... [20:26:19]Read from MH i2c: E2 03 00 13 0E 00 90 00 95 [20:26:19]RAPDU: 90 00 [20:26:19]wFMCommunicate OK [20:26:19]wFMCommunicate request_size=33 [20:26:19]MH_SAM_APDU [20:26:19]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F1 57 00 00 35 04 06 00 72 22 B0 05 F4 DB [20:26:19]Write to MH i2c: E2 24 00 14 0E 80 0D 02 02 1C 00 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F1 57 00 00 35 04 06 00 72 22 B0 05 F4 DB 00 00 92 [20:26:19]Write i2c OK [20:26:19]MH_I2C_Read... [20:26:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:26:19]Read from MH i2c: E2 [20:26:19]MH_I2C_Read... [20:26:19]Read from MH i2c: E2 03 00 [20:26:19]MH_I2C_Read... [20:26:19]Read from MH i2c: E2 03 00 14 0E 00 90 00 96 [20:26:19]RAPDU: 90 00 [20:26:19]wFMCommunicate OK [20:26:19]wFMCommunicate request_size=4 [20:26:19]MH_SAM_APDU [20:26:19]CAPDU: 80 0D 03 02 [20:26:19]Write to MH i2c: E2 08 00 15 0E 80 0D 03 02 00 00 00 00 9E [20:26:19]Write i2c OK [20:26:19]MH_I2C_Read... [20:26:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:26:19]Read from MH i2c: E2 [20:26:19]MH_I2C_Read... [20:26:19]Read from MH i2c: E2 0B 00 [20:26:19]MH_I2C_Read... [20:26:19]Read from MH i2c: E2 0B 00 15 0E 00 03 99 39 7D AE AA EA 51 90 00 84 [20:26:19]RAPDU: 03 99 39 7D AE AA EA 51 90 00 [20:26:19]wFMCommunicate OK [20:26:19]SAM_PROTO_SignData done [20:26:19]FM_MakeSignedData done [20:26:19]CreateOFDProtocolMessage [20:26:19]wFMCommunicate request_size=4 [20:26:19]MH_SAM_APDU [20:26:19]CAPDU: 80 11 00 00 [20:26:19]Write to MH i2c: E2 08 00 16 0E 80 11 00 00 00 00 00 00 9E [20:26:19]Write i2c OK [20:26:19]MH_I2C_Read... [20:26:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:26:19]Read from MH i2c: E2 [20:26:19]MH_I2C_Read... [20:26:19]Read from MH i2c: E2 17 00 [20:26:19]MH_I2C_Read... [20:26:19]Read from MH i2c: E2 17 00 16 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 F8 [20:26:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [20:26:19]wFMCommunicate OK [20:26:19]CreateOFDProtocolMessage done [20:26:19]OFDSenderStorePacket 22513 [20:26:19]StoreOFDPacket docnum=22513 [20:26:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 26 01 00 00 A2 EA 1E 01 33 1A 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 EB 71 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F1 57 00 00 35 04 06 00 72 22 B0 05 F4 DB 03 99 39 7D AE AA EA 51 [20:26:19]CheckFolder [20:26:19]dirname=/storage/ofd_packets [20:26:19]CheckFolder done [20:26:19]ProducePacketName [20:26:19]name=ofd_packets/00022513 [20:26:19]NVStorageSaveData ofd_packets/00022513 [20:26:19]File name is /storage/ofd_packets/00022513 [20:26:19]Write 324 bytes [20:26:19]NVStorageSaveData done [20:26:19]OFDSenderStorePacket done [20:26:19]KKMCreateOFDPacket done [20:26:19]NVStorageSaveData kkm_last_timestamp [20:26:19]File name is /storage/kkm_last_timestamp [20:26:19]Write 4 bytes [20:26:19]NVStorageSaveData done [20:26:19]ExternCall_PrintAddStr [20:26:19]wPrintStart [20:26:19]Write to MH i2c: 01 00 00 17 0E 25 [20:26:19]Write i2c OK [20:26:19]MH_I2C_Read... [20:26:19]Read from MH i2c: 01 [20:26:19]MH_I2C_Read... [20:26:19]Read from MH i2c: 01 07 00 [20:26:19]MH_I2C_Read... [20:26:19]Read from MH i2c: 01 07 00 17 0E 00 00 00 00 00 FF 0F 3A [20:26:19]RasterBufferAndPrint [20:26:19]line Счет N : (3)51707 [20:26:19]line ИНН: 02508201610067 [20:26:19]line Контрольно-Кассовый Чек [20:26:19]line ПРОДАЖА [20:26:19]line Товар: 4640030091645 [20:26:19]line Сигареты ESSE Exchange M [20:26:19]line 1.000 * 150.00 [20:26:19]line = 150.00 [20:26:19]line НДС 12% НСП 1% [20:26:19]line > о реализуемом товаре [20:26:19]line ИТОГО: 150.00 [20:26:19]line НСП 1% : 1.33 [20:26:19]line НДС 12% : 15.93 [20:26:19]line Наличными: 150.00 [20:26:19]line Безнал.: 0.00 [20:26:19]line Место: АЗС № 88 "Партнер Нефть" [20:26:19]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [20:26:19]line СНО: Общий режим [20:26:19]line Чек 86 25.09.2024 20:26 [20:26:19]line Смена: 231 ФФД: 1.0 [20:26:19]line ЗНМ: 0300000061 [20:26:19]line РНМ: 0000000000146243 [20:26:19]line Версия ККМ: v1.0 [20:26:19]line ФМ: 0000000000959358 [20:26:19]line ФД: 22513 [20:26:19]line ФПД: 125493307634907 [20:26:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T202619&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22513&fm=125493307634907&tin=02508201610067®Number=0000000000146243&sum=15000 [20:26:19]line 0 [20:26:19]OFD Sender: Processing packet 22513 [packets to send 23, broken 22] [20:26:19]ProducePacketName [20:26:19]name=ofd_packets/00022513 [20:26:19]OFD Sender: To server: pG, [20:26:19]CommunicateWithHost lk.salyk.kg:30040 [20:26:19]ConnectInit lk.salyk.kg [20:26:19]written 0, free lines is 4095 [20:26:20]Write to MH i2c: 01 00 00 3F 0E 4D [20:26:20]Write i2c OK [20:26:20]MH_I2C_Read... [20:26:20]Read from MH i2c: 01 [20:26:20]MH_I2C_Read... [20:26:20]Read from MH i2c: 01 07 00 [20:26:20]MH_I2C_Read... [20:26:20]Read from MH i2c: 01 07 00 3F 0E 00 00 00 00 00 20 0D 81 [20:26:20]RasterBufferAndPrint [20:26:20]line [20:26:20]line [20:26:20]line [20:26:20]line [20:26:20]line [20:26:20]written 0, free lines is 3366 [20:26:20]Connected sock=11 [20:26:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 26 01 00 00 A2 EA 1E 01 33 1A 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 EB 71 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F1 57 00 00 35 04 06 00 72 22 B0 05 F4 DB 03 99 39 7D AE AA EA 51 [20:26:20]MH_Cut [20:26:20]Write to MH i2c: D1 01 00 46 0E 01 26 [20:26:20]Write i2c OK [20:26:20]MH_I2C_Read... [20:26:20]Read from MH i2c: D1 [20:26:20]MH_I2C_Read... [20:26:20]Read from MH i2c: D1 01 00 [20:26:20]MH_I2C_Read... [20:26:20]Read from MH i2c: D1 01 00 46 0E 00 25 [20:26:20]Write to MH i2c: 01 00 00 47 0E 55 [20:26:20]Write i2c OK [20:26:20]MH_I2C_Read... [20:26:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 CF B9 47 00 C1 21 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F1 57 00 00 F4 03 04 00 0D 1C F4 66 B6 04 01 00 00 C7 A0 C5 CD 43 65 94 64 [20:26:20]CommunicateWithHost err = 0 [20:26:20]CheckOFDResponse [20:26:20]1017 (14) - 77093643461234 [20:26:20]1041 (16) - 0000000000959358 [20:26:20]1040 (4) - 22513 [20:26:20]1012 (4) - 25.09.2024 14:19 [20:26:20]1206 (1) - 0 [20:26:20]OFD Sender: Remove packet 22513 [20:26:20]ProducePacketName [20:26:20]name=ofd_packets/00022513 [20:26:20]NVStorageDeleteData [20:26:20]*** Cut start [20:26:20]*** Partial cut [20:26:20]*** CUTSNS_PIN = 1 [20:26:21]*** CUTSNS_PIN = 0 [20:26:21]OFD Sender: No OFD packet to send [20:26:21]*** Brake cut motor [20:26:21]Read from MH i2c: 01 [20:26:21]MH_I2C_Read... [20:26:21]*** Stop cut motor [20:26:21]*** Cut end [20:26:21]Read from MH i2c: 01 07 00 [20:26:21]MH_I2C_Read... [20:26:21]Read from MH i2c: 01 07 00 47 0E 00 00 00 00 00 FF 0F 6A [20:26:21]process_action close_receipt done [20:26:21]requested_data is exist [20:26:21]produce_requested_data [20:26:21]requested_item fm.sn is exist - process it [20:26:21]wFMCommunicate request_size=4 [20:26:21]MH_SAM_APDU [20:26:21]CAPDU: 80 11 00 00 [20:26:21]Write to MH i2c: E2 08 00 48 0E 80 11 00 00 00 00 00 00 D0 [20:26:21]Write i2c OK [20:26:21]MH_I2C_Read... [20:26:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:26:21]Read from MH i2c: E2 [20:26:21]MH_I2C_Read... [20:26:21]Read from MH i2c: E2 17 00 [20:26:21]MH_I2C_Read... [20:26:21]Read from MH i2c: E2 17 00 48 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 2A [20:26:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [20:26:21]wFMCommunicate OK [20:26:21]requested_item fd.num is exist - process it [20:26:21]SAM_PROTO_GetFieldsCounters [20:26:21]wFMCommunicate request_size=4 [20:26:21]MH_SAM_APDU [20:26:21]CAPDU: 80 13 00 00 [20:26:21]Write to MH i2c: E2 08 00 49 0E 80 13 00 00 00 00 00 00 D3 [20:26:21]Write i2c OK [20:26:21]MH_I2C_Read... [20:26:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:26:21]Read from MH i2c: E2 [20:26:21]MH_I2C_Read... [20:26:21]Read from MH i2c: E2 62 00 [20:26:21]MH_I2C_Read... [20:26:21]Read from MH i2c: E2 62 00 49 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 F1 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 57 00 00 00 19 04 04 00 00 00 00 00 90 00 27 [20:26:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 F1 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 57 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:26:21]wFMCommunicate OK [20:26:21]SAM_PROTO_GetFieldsCounters done [20:26:21]requested_item shift.num is exist - process it [20:26:21]requested_item shift.opened is exist - process it [20:26:21]req_shift_opened [20:26:21]FM_GetShiftState [20:26:21]SAM_PROTO_GetShiftState [20:26:21]wFMCommunicate request_size=4 [20:26:21]MH_SAM_APDU [20:26:21]CAPDU: 80 13 01 00 [20:26:21]Write to MH i2c: E2 08 00 4A 0E 80 13 01 00 00 00 00 00 D5 [20:26:21]Write i2c OK [20:26:21]MH_I2C_Read... [20:26:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:26:21]Read from MH i2c: E2 [20:26:21]MH_I2C_Read... [20:26:21]Read from MH i2c: E2 0E 00 [20:26:21]MH_I2C_Read... [20:26:21]Read from MH i2c: E2 0E 00 4A 0E 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 66 [20:26:21]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [20:26:21]wFMCommunicate OK [20:26:21]SAM_PROTO_GetShiftState done [20:26:21]FM_GetShiftState done [20:26:21]req_shift_opened done [20:26:21]requested_item shift.open_date is exist - process it [20:26:21]req_shift_open_date [20:26:21]req_shift_open_date done [20:26:21]produce_requested_data done [20:26:21]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22513,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [20:26:21]process_action_free close_receipt [20:26:21]json_value_free [20:26:21]json_value_free done [20:26:21]process_json_proto returns [20:26:21]Send response to host [20:26:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22513,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [20:26:21]free response buf [20:26:21]execute_script done [20:26:21]execute_script returns [20:26:21]free content buf [20:26:21]Sock 7.Close socket [20:26:21]Sock 7.Thread stoped [20:26:26]OFD Sender: No OFD packet to send [20:26:31]OFD Sender: No OFD packet to send [20:26:36]OFD Sender: No OFD packet to send [20:26:41]OFD Sender: No OFD packet to send [20:26:46]OFD Sender: No OFD packet to send [20:26:51]OFD Sender: No OFD packet to send [20:26:56]OFD Sender: No OFD packet to send [20:27:01]OFD Sender: No OFD packet to send [20:27:06]OFD Sender: No OFD packet to send [20:27:11]OFD Sender: No OFD packet to send [20:27:16]OFD Sender: No OFD packet to send [20:27:21]OFD Sender: No OFD packet to send [20:27:26]OFD Sender: No OFD packet to send [20:27:31]OFD Sender: No OFD packet to send [20:27:36]OFD Sender: No OFD packet to send [20:27:41]OFD Sender: No OFD packet to send [20:27:46]OFD Sender: No OFD packet to send [20:27:51]OFD Sender: No OFD packet to send [20:27:56]OFD Sender: No OFD packet to send [20:28:01]OFD Sender: No OFD packet to send [20:28:06]OFD Sender: No OFD packet to send [20:28:11]OFD Sender: No OFD packet to send [20:28:16]OFD Sender: No OFD packet to send [20:28:21]OFD Sender: No OFD packet to send [20:28:26]OFD Sender: No OFD packet to send [20:28:31]OFD Sender: No OFD packet to send [20:28:36]OFD Sender: No OFD packet to send [20:28:41]OFD Sender: No OFD packet to send [20:28:46]OFD Sender: No OFD packet to send [20:28:51]OFD Sender: No OFD packet to send [20:28:56]OFD Sender: No OFD packet to send [20:29:01]OFD Sender: No OFD packet to send [20:29:06]OFD Sender: No OFD packet to send [20:29:11]OFD Sender: No OFD packet to send [20:29:16]OFD Sender: No OFD packet to send [20:29:21]OFD Sender: No OFD packet to send [20:29:26]OFD Sender: No OFD packet to send [20:29:31]OFD Sender: No OFD packet to send [20:29:36]OFD Sender: No OFD packet to send [20:29:41]OFD Sender: No OFD packet to send [20:29:46]OFD Sender: No OFD packet to send [20:29:51]OFD Sender: No OFD packet to send [20:29:56]OFD Sender: No OFD packet to send [20:30:01]OFD Sender: No OFD packet to send [20:30:06]OFD Sender: No OFD packet to send [20:30:11]OFD Sender: No OFD packet to send [20:30:16]OFD Sender: No OFD packet to send [20:30:21]OFD Sender: No OFD packet to send [20:30:26]OFD Sender: No OFD packet to send [20:30:31]OFD Sender: No OFD packet to send [20:30:36]OFD Sender: No OFD packet to send [20:30:41]OFD Sender: No OFD packet to send [20:30:46]OFD Sender: No OFD packet to send [20:30:51]OFD Sender: No OFD packet to send [20:30:56]OFD Sender: No OFD packet to send [20:31:01]OFD Sender: No OFD packet to send [20:31:06]OFD Sender: No OFD packet to send [20:31:11]OFD Sender: No OFD packet to send [20:31:16]OFD Sender: No OFD packet to send [20:31:21]OFD Sender: No OFD packet to send [20:31:26]OFD Sender: No OFD packet to send [20:31:31]OFD Sender: No OFD packet to send [20:31:36]OFD Sender: No OFD packet to send [20:31:41]OFD Sender: No OFD packet to send [20:31:46]OFD Sender: No OFD packet to send [20:31:51]OFD Sender: No OFD packet to send [20:31:56]OFD Sender: No OFD packet to send [20:32:01]OFD Sender: No OFD packet to send [20:32:06]OFD Sender: No OFD packet to send [20:32:11]OFD Sender: No OFD packet to send [20:32:16]OFD Sender: No OFD packet to send [20:32:21]OFD Sender: No OFD packet to send [20:32:26]OFD Sender: No OFD packet to send [20:32:31]OFD Sender: No OFD packet to send [20:32:36]OFD Sender: No OFD packet to send [20:32:41]OFD Sender: No OFD packet to send [20:32:46]OFD Sender: No OFD packet to send [20:32:51]OFD Sender: No OFD packet to send [20:32:56]OFD Sender: No OFD packet to send [20:33:01]OFD Sender: No OFD packet to send [20:33:06]OFD Sender: No OFD packet to send [20:33:11]OFD Sender: No OFD packet to send [20:33:16]OFD Sender: No OFD packet to send [20:33:21]OFD Sender: No OFD packet to send [20:33:26]OFD Sender: No OFD packet to send [20:33:31]OFD Sender: No OFD packet to send [20:33:36]OFD Sender: No OFD packet to send [20:33:41]OFD Sender: No OFD packet to send [20:33:46]OFD Sender: No OFD packet to send [20:33:51]OFD Sender: No OFD packet to send [20:33:56]OFD Sender: No OFD packet to send [20:34:01]OFD Sender: No OFD packet to send [20:34:06]OFD Sender: No OFD packet to send [20:34:11]OFD Sender: No OFD packet to send [20:34:16]OFD Sender: No OFD packet to send [20:34:21]OFD Sender: No OFD packet to send [20:34:26]OFD Sender: No OFD packet to send [20:34:31]OFD Sender: No OFD packet to send [20:34:36]OFD Sender: No OFD packet to send [20:34:41]OFD Sender: No OFD packet to send [20:34:46]OFD Sender: No OFD packet to send [20:34:51]OFD Sender: No OFD packet to send [20:34:56]OFD Sender: No OFD packet to send [20:35:01]OFD Sender: No OFD packet to send [20:35:06]OFD Sender: No OFD packet to send [20:35:11]OFD Sender: No OFD packet to send [20:35:16]OFD Sender: No OFD packet to send [20:35:21]OFD Sender: No OFD packet to send [20:35:26]OFD Sender: No OFD packet to send [20:35:31]OFD Sender: No OFD packet to send [20:35:36]OFD Sender: No OFD packet to send [20:35:41]OFD Sender: No OFD packet to send [20:35:46]OFD Sender: No OFD packet to send [20:35:51]OFD Sender: No OFD packet to send [20:35:56]OFD Sender: No OFD packet to send [20:36:01]OFD Sender: No OFD packet to send [20:36:06]OFD Sender: No OFD packet to send [20:36:11]OFD Sender: No OFD packet to send [20:36:16]OFD Sender: No OFD packet to send [20:36:21]OFD Sender: No OFD packet to send [20:36:26]OFD Sender: No OFD packet to send [20:36:31]OFD Sender: No OFD packet to send [20:36:36]OFD Sender: No OFD packet to send [20:36:41]OFD Sender: No OFD packet to send [20:36:46]OFD Sender: No OFD packet to send [20:36:51]OFD Sender: No OFD packet to send [20:36:56]OFD Sender: No OFD packet to send [20:37:01]OFD Sender: No OFD packet to send [20:37:06]OFD Sender: No OFD packet to send [20:37:11]OFD Sender: No OFD packet to send [20:37:16]OFD Sender: No OFD packet to send [20:37:21]OFD Sender: No OFD packet to send [20:37:26]OFD Sender: No OFD packet to send [20:37:31]OFD Sender: No OFD packet to send [20:37:36]OFD Sender: No OFD packet to send [20:37:41]OFD Sender: No OFD packet to send [20:37:46]OFD Sender: No OFD packet to send [20:37:51]OFD Sender: No OFD packet to send [20:37:56]OFD Sender: No OFD packet to send [20:37:59]accept exits with 9 [20:37:59]New connection [20:37:59]New thread 3067440484 created [20:37:59]Thread 3067583844 joined [20:37:59]Waiting for new connection... [20:37:59] Sock 9.Parse request [20:37:59]Sock 9.Check first char [20:37:59]Sock 9.First char is OK [20:37:59]request: POST /json_proto HTTP/1.0 [20:37:59]Method: POST [20:37:59]URL: /json_proto [20:37:59]Method is POST - this is cgi request [20:37:59]url: /json_proto [20:37:59]query_string will be loaded in cgi processing [20:37:59]execute_cgi json_proto POST (null) [20:37:59]execute_cgi path=json_proto method=POST [20:37:59]POST find Content-Length [20:37:59]Host: 172.17.43.4:8080 [20:37:59]Content-Length: 1252 [20:37:59]Content-Type: application/json [20:37:59] [20:37:59]POST finish read [20:37:59]Found Content-Length = 1252 [20:37:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51708", "tax_sys" : 0, "items" : [ { "code": "4630007400976", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 \u0436\u0430\u0440\u0435\u043D \u041A\u0430\u0440\u0430\u0432\u0430\u043D \u043E\u0440\u0435\u0445\u043E\u0432 \u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442 90 ", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 156.00, "quantity" : 1.000, "sum" : 156.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 290.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:37:59]execute_script... [20:37:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51708", "tax_sys" : 0, "items" : [ { "code": "4630007400976", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 \u0436\u0430\u0440\u0435\u043D \u041A\u0430\u0440\u0430\u0432\u0430\u043D \u043E\u0440\u0435\u0445\u043E\u0432 \u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442 90 ", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 156.00, "quantity" : 1.000, "sum" : 156.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 290.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:37:59]POST & json_proto [20:37:59]process_json_proto [20:37:59]json parsed OK: [20:37:59]protocol is kg_v1.0 [20:37:59]action value=close_receipt [20:37:59]process_action close_receipt [20:37:59]cmd_close_receipt [20:37:59]MH_GetDate [20:37:59]Write to MH i2c: F0 00 00 4B 0E 48 [20:37:59]Write i2c OK [20:37:59]MH_I2C_Read... [20:37:59]Read from MH i2c: F0 [20:37:59]MH_I2C_Read... [20:37:59]Read from MH i2c: F0 09 00 [20:37:59]MH_I2C_Read... [20:37:59]Read from MH i2c: F0 09 00 4B 0E 00 A9 74 F4 66 02 BF CF 66 BE [20:37:59]GetLastDocTimeStamp 1727295979 [20:37:59]current date 1727296681 [20:37:59]FM_GetShiftState [20:37:59]SAM_PROTO_GetShiftState [20:37:59]wFMCommunicate request_size=4 [20:37:59]MH_SAM_APDU [20:37:59]CAPDU: 80 13 01 00 [20:37:59]Write to MH i2c: E2 08 00 4C 0E 80 13 01 00 00 00 00 00 D7 [20:37:59]Write i2c OK [20:37:59]MH_I2C_Read... [20:37:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:37:59]Read from MH i2c: E2 [20:37:59]MH_I2C_Read... [20:37:59]Read from MH i2c: E2 0E 00 [20:37:59]MH_I2C_Read... [20:37:59]Read from MH i2c: E2 0E 00 4C 0E 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 68 [20:37:59]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [20:37:59]wFMCommunicate OK [20:37:59]SAM_PROTO_GetShiftState done [20:37:59]FM_GetShiftState done [20:37:59]opened in 1727224020 [20:37:59]opened+sec_in_day 1727310420 [20:37:59]quantity*price = 7500 [20:37:59]sum+1 = 7501 [20:37:59]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607065001445 Шок батончик Snickers 50,5г 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48741958 Сигареты Parliament Aqua Blue 1.000 * 156.00 = 156.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 290.00 НСП 1% : 2.56 НДС 12% : 30.79 Наличными: 290.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 87 25.09.2024 20:38 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22514 ФПД: 196341280736677 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T203801&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22514&fm=196341280736677&tin=02508201610067®Number=0000000000146243&sum=29000 0 [20:38:00]StoreToDocumentArchive [20:38:00]shift 231 fd 22514 [20:38:00]save to /storage/0231/doc_00022514 [20:38:00]save last doc name /storage/0231/doc_00022514 to /storage/kkm_last_doc_name [20:38:00]save OK [20:38:00]Clear old archive folders... [20:38:00]ProcessDocumentItem done err = 0, tmpTLVsize=529 [20:38:00]tlvbuf is 0021FCF0 [20:38:00]SAM_PROTO_ClearQueue [20:38:00]wFMCommunicate request_size=4 [20:38:00]MH_SAM_APDU [20:38:00]CAPDU: 80 09 00 00 [20:38:00]Write to MH i2c: E2 08 00 59 0E 80 09 00 00 00 00 00 00 D9 [20:38:00]Write i2c OK [20:38:00]MH_I2C_Read... [20:38:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:38:00]Read from MH i2c: E2 [20:38:00]MH_I2C_Read... [20:38:00]Read from MH i2c: E2 03 00 [20:38:00]MH_I2C_Read... [20:38:00]Read from MH i2c: E2 03 00 59 0E 00 90 00 DB [20:38:00]RAPDU: 90 00 [20:38:00]wFMCommunicate OK [20:38:00]SAM_PROTO_ClearQueue done [20:38:00]KKMCreateOFDPacket [20:38:00]OFDProtocolAddRootSTLVToBuf [20:38:00]FM_MakeSignedData [20:38:00]FM_MakeSignedData [20:38:00]SAM_PROTO_SignData [20:38:00]wFMCommunicate request_size=4 [20:38:00]MH_SAM_APDU [20:38:00]CAPDU: 80 0D 01 02 [20:38:00]Write to MH i2c: E2 08 00 5A 0E 80 0D 01 02 00 00 00 00 E1 [20:38:00]Write i2c OK [20:38:00]MH_I2C_Read... [20:38:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:38:00]Read from MH i2c: E2 [20:38:00]MH_I2C_Read... [20:38:00]Read from MH i2c: E2 03 00 [20:38:00]MH_I2C_Read... [20:38:00]Read from MH i2c: E2 03 00 5A 0E 00 90 00 DC [20:38:00]RAPDU: 90 00 [20:38:00]wFMCommunicate OK [20:38:00]wFMCommunicate request_size=255 [20:38:00]MH_SAM_APDU [20:38:00]CAPDU: 80 0D 02 02 FA 03 00 11 02 1E 04 01 00 01 23 04 8C 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 37 36 06 04 48 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 39 30 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 [20:38:00]Write to MH i2c: E2 02 01 5B 0E 80 0D 02 02 FA 00 03 00 11 02 1E 04 01 00 01 23 04 8C 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 37 36 06 04 48 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 39 30 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 00 00 86 [20:38:00]Write i2c OK [20:38:00]MH_I2C_Read... [20:38:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:38:01]Read from MH i2c: E2 [20:38:01]MH_I2C_Read... [20:38:01]Read from MH i2c: E2 03 00 [20:38:01]MH_I2C_Read... [20:38:01]Read from MH i2c: E2 03 00 5B 0E 00 90 00 DD [20:38:01]RAPDU: 90 00 [20:38:01]wFMCommunicate OK [20:38:01]wFMCommunicate request_size=255 [20:38:01]MH_SAM_APDU [20:38:01]CAPDU: 80 0D 02 02 FA 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 07 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 A9 74 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 [20:38:01]Write to MH i2c: E2 02 01 5C 0E 80 0D 02 02 FA 00 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 07 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 A9 74 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 00 00 2A [20:38:01]Write i2c OK [20:38:01]MH_I2C_Read... [20:38:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:38:01]Read from MH i2c: E2 [20:38:01]MH_I2C_Read... [20:38:01]Read from MH i2c: E2 03 00 [20:38:01]MH_I2C_Read... [20:38:01]Read from MH i2c: E2 03 00 5C 0E 00 90 00 DE [20:38:01]RAPDU: 90 00 [20:38:01]wFMCommunicate OK [20:38:01]wFMCommunicate request_size=38 [20:38:01]MH_SAM_APDU [20:38:01]CAPDU: 80 0D 02 02 21 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F2 57 00 00 35 04 06 00 B2 92 44 4B 05 A5 [20:38:01]Write to MH i2c: E2 29 00 5D 0E 80 0D 02 02 21 00 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F2 57 00 00 35 04 06 00 B2 92 44 4B 05 A5 00 00 3B [20:38:01]Write i2c OK [20:38:01]MH_I2C_Read... [20:38:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:38:01]Read from MH i2c: E2 [20:38:01]MH_I2C_Read... [20:38:01]Read from MH i2c: E2 03 00 [20:38:01]MH_I2C_Read... [20:38:01]Read from MH i2c: E2 03 00 5D 0E 00 90 00 DF [20:38:01]RAPDU: 90 00 [20:38:01]wFMCommunicate OK [20:38:01]wFMCommunicate request_size=4 [20:38:01]MH_SAM_APDU [20:38:01]CAPDU: 80 0D 03 02 [20:38:01]Write to MH i2c: E2 08 00 5E 0E 80 0D 03 02 00 00 00 00 E7 [20:38:01]Write i2c OK [20:38:01]MH_I2C_Read... [20:38:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:38:01]Read from MH i2c: E2 [20:38:01]MH_I2C_Read... [20:38:01]Read from MH i2c: E2 0B 00 [20:38:01]MH_I2C_Read... [20:38:01]Read from MH i2c: E2 0B 00 5E 0E 00 4F 07 35 7D E7 1B 83 41 90 00 B6 [20:38:01]RAPDU: 4F 07 35 7D E7 1B 83 41 90 00 [20:38:01]wFMCommunicate OK [20:38:01]SAM_PROTO_SignData done [20:38:01]FM_MakeSignedData done [20:38:01]CreateOFDProtocolMessage [20:38:01]wFMCommunicate request_size=4 [20:38:01]MH_SAM_APDU [20:38:01]CAPDU: 80 11 00 00 [20:38:01]Write to MH i2c: E2 08 00 5F 0E 80 11 00 00 00 00 00 00 E7 [20:38:01]Write i2c OK [20:38:01]MH_I2C_Read... [20:38:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:38:01]Read from MH i2c: E2 [20:38:01]MH_I2C_Read... [20:38:01]Read from MH i2c: E2 17 00 [20:38:01]MH_I2C_Read... [20:38:01]Read from MH i2c: E2 17 00 5F 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 41 [20:38:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [20:38:01]wFMCommunicate OK [20:38:01]CreateOFDProtocolMessage done [20:38:01]OFDSenderStorePacket 22514 [20:38:01]StoreOFDPacket docnum=22514 [20:38:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 25 02 00 00 8E FA 1D 02 7F 39 5A 03 01 00 03 00 11 02 1E 04 01 00 01 23 04 8C 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 37 36 06 04 48 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 39 30 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 07 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 A9 74 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F2 57 00 00 35 04 06 00 B2 92 44 4B 05 A5 4F 07 35 7D E7 1B 83 41 [20:38:01]CheckFolder [20:38:01]dirname=/storage/ofd_packets [20:38:01]CheckFolder done [20:38:01]ProducePacketName [20:38:01]name=ofd_packets/00022514 [20:38:01]NVStorageSaveData ofd_packets/00022514 [20:38:01]File name is /storage/ofd_packets/00022514 [20:38:01]Write 579 bytes [20:38:01]NVStorageSaveData done [20:38:01]OFDSenderStorePacket done [20:38:01]KKMCreateOFDPacket done [20:38:01]NVStorageSaveData kkm_last_timestamp [20:38:01]File name is /storage/kkm_last_timestamp [20:38:01]Write 4 bytes [20:38:01]NVStorageSaveData done [20:38:01]ExternCall_PrintAddStr [20:38:01]wPrintStart [20:38:01]Write to MH i2c: 01 00 00 60 0E 6E [20:38:01]Write i2c OK [20:38:01]MH_I2C_Read... [20:38:01]Read from MH i2c: 01 [20:38:01]MH_I2C_Read... [20:38:01]Read from MH i2c: 01 07 00 [20:38:01]MH_I2C_Read... [20:38:01]Read from MH i2c: 01 07 00 60 0E 00 00 00 00 00 FF 0F 83 [20:38:01]RasterBufferAndPrint [20:38:01]line Счет N : (3)51708 [20:38:01]line ИНН: 02508201610067 [20:38:01]line Контрольно-Кассовый Чек [20:38:01]line ПРОДАЖА [20:38:01]line Товар: 4630007400976 [20:38:01]line Арахис жарен Караван орехов Стандарт 90 [20:38:01]line 1.000 * 75.00 [20:38:01]line = 75.00 [20:38:01]line НДС 12% НСП 1% [20:38:01]line > о реализуемом товаре [20:38:01]line Товар: 4607065001445 [20:38:01]line Шок батончик Snickers 50,5г [20:38:01]line 1.000 * 59.00 [20:38:01]line = 59.00 [20:38:01]line НДС 12% НСП 1% [20:38:01]line > о реализуемом товаре [20:38:01]line Товар: 48741958 [20:38:01]line Сигареты Parliament Aqua Blue [20:38:01]line 1.000 * 156.00 [20:38:01]line = 156.00 [20:38:01]line НДС 12% НСП 1% [20:38:01]line > о реализуемом товаре [20:38:01]line ИТОГО: 290.00 [20:38:01]line НСП 1% : 2.56 [20:38:01]line НДС 12% : 30.79 [20:38:01]line Наличными: 290.00 [20:38:01]line Безнал.: 0.00 [20:38:01]line Место: АЗС № 88 "Партнер Нефть" [20:38:01]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [20:38:01]line СНО: Общий режим [20:38:01]line Чек 87 25.09.2024 20:38 [20:38:01]line Смена: 231 ФФД: 1.0 [20:38:01]line ЗНМ: 0300000061 [20:38:01]line РНМ: 0000000000146243 [20:38:01]line Версия ККМ: v1.0 [20:38:01]line ФМ: 0000000000959358 [20:38:01]line ФД: 22514 [20:38:01]line ФПД: 196341280736677 [20:38:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T203801&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22514&fm=196341280736677&tin=02508201610067®Number=0000000000146243&sum=29000 [20:38:01]line 0 [20:38:01]OFD Sender: Processing packet 22514 [packets to send 23, broken 22] [20:38:01]ProducePacketName [20:38:01]name=ofd_packets/00022514 [20:38:01]OFD Sender: To server: pG, [20:38:01]CommunicateWithHost lk.salyk.kg:30040 [20:38:01]ConnectInit lk.salyk.kg [20:38:01]written 0, free lines is 4095 [20:38:02]Connected sock=10 [20:38:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 25 02 00 00 8E FA 1D 02 7F 39 5A 03 01 00 03 00 11 02 1E 04 01 00 01 23 04 8C 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 37 36 06 04 48 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 39 30 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 07 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 A9 74 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F2 57 00 00 35 04 06 00 B2 92 44 4B 05 A5 4F 07 35 7D E7 1B 83 41 [20:38:02]Write to MH i2c: 01 00 00 96 0E A4 [20:38:02]Write i2c OK [20:38:02]MH_I2C_Read... [20:38:02]Read from MH i2c: 01 [20:38:02]MH_I2C_Read... [20:38:02]Read from MH i2c: 01 07 00 [20:38:02]MH_I2C_Read... [20:38:02]Read from MH i2c: 01 07 00 96 0E 00 00 00 00 00 6B 0C 22 [20:38:02]RasterBufferAndPrint [20:38:02]line [20:38:02]line [20:38:02]line [20:38:02]line [20:38:02]line [20:38:02]written 0, free lines is 3185 [20:38:02]MH_Cut [20:38:02]Write to MH i2c: D1 01 00 9D 0E 01 7D [20:38:02]Write i2c OK [20:38:02]MH_I2C_Read... [20:38:02]Read from MH i2c: D1 [20:38:02]MH_I2C_Read... [20:38:02]Read from MH i2c: D1 01 00 [20:38:02]MH_I2C_Read... [20:38:02]Read from MH i2c: D1 01 00 9D 0E 00 7C [20:38:02]Write to MH i2c: 01 00 00 9E 0E AC [20:38:02]Write i2c OK [20:38:02]MH_I2C_Read... [20:38:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 C8 DE 47 00 EC 19 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F2 57 00 00 F4 03 04 00 CB 1E F4 66 B6 04 01 00 00 CA E0 6B 86 15 52 A9 33 [20:38:02]CommunicateWithHost err = 0 [20:38:02]CheckOFDResponse [20:38:02]1017 (14) - 77093643461234 [20:38:02]1041 (16) - 0000000000959358 [20:38:02]1040 (4) - 22514 [20:38:02]1012 (4) - 25.09.2024 14:31 [20:38:02]1206 (1) - 0 [20:38:02]OFD Sender: Remove packet 22514 [20:38:02]ProducePacketName [20:38:02]name=ofd_packets/00022514 [20:38:02]NVStorageDeleteData [20:38:03]OFD Sender: No OFD packet to send [20:38:03]*** Cut start [20:38:03]*** Partial cut [20:38:03]*** CUTSNS_PIN = 1 [20:38:03]*** CUTSNS_PIN = 0 [20:38:03]*** Brake cut motor [20:38:03]Read from MH i2c: 01 [20:38:03]MH_I2C_Read... [20:38:03]*** Stop cut motor [20:38:03]*** Cut end [20:38:03]Read from MH i2c: 01 07 00 [20:38:03]MH_I2C_Read... [20:38:03]Read from MH i2c: 01 07 00 9E 0E 00 00 00 00 00 FF 0F C1 [20:38:03]process_action close_receipt done [20:38:03]requested_data is exist [20:38:03]produce_requested_data [20:38:03]requested_item fm.sn is exist - process it [20:38:03]wFMCommunicate request_size=4 [20:38:03]MH_SAM_APDU [20:38:03]CAPDU: 80 11 00 00 [20:38:03]Write to MH i2c: E2 08 00 9F 0E 80 11 00 00 00 00 00 00 27 [20:38:03]Write i2c OK [20:38:03]MH_I2C_Read... [20:38:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:38:03]Read from MH i2c: E2 [20:38:03]MH_I2C_Read... [20:38:03]Read from MH i2c: E2 17 00 [20:38:03]MH_I2C_Read... [20:38:03]Read from MH i2c: E2 17 00 9F 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 81 [20:38:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [20:38:03]wFMCommunicate OK [20:38:03]requested_item fd.num is exist - process it [20:38:03]SAM_PROTO_GetFieldsCounters [20:38:03]wFMCommunicate request_size=4 [20:38:03]MH_SAM_APDU [20:38:03]CAPDU: 80 13 00 00 [20:38:03]Write to MH i2c: E2 08 00 A0 0E 80 13 00 00 00 00 00 00 2A [20:38:03]Write i2c OK [20:38:03]MH_I2C_Read... [20:38:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:38:04]Read from MH i2c: E2 [20:38:04]MH_I2C_Read... [20:38:04]Read from MH i2c: E2 62 00 [20:38:04]MH_I2C_Read... [20:38:04]Read from MH i2c: E2 62 00 A0 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 F2 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 82 [20:38:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 F2 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:38:04]wFMCommunicate OK [20:38:04]SAM_PROTO_GetFieldsCounters done [20:38:04]requested_item shift.num is exist - process it [20:38:04]requested_item shift.opened is exist - process it [20:38:04]req_shift_opened [20:38:04]FM_GetShiftState [20:38:04]SAM_PROTO_GetShiftState [20:38:04]wFMCommunicate request_size=4 [20:38:04]MH_SAM_APDU [20:38:04]CAPDU: 80 13 01 00 [20:38:04]Write to MH i2c: E2 08 00 A1 0E 80 13 01 00 00 00 00 00 2C [20:38:04]Write i2c OK [20:38:04]MH_I2C_Read... [20:38:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:38:04]Read from MH i2c: E2 [20:38:04]MH_I2C_Read... [20:38:04]Read from MH i2c: E2 0E 00 [20:38:04]MH_I2C_Read... [20:38:04]Read from MH i2c: E2 0E 00 A1 0E 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 BD [20:38:04]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [20:38:04]wFMCommunicate OK [20:38:04]SAM_PROTO_GetShiftState done [20:38:04]FM_GetShiftState done [20:38:04]req_shift_opened done [20:38:04]requested_item shift.open_date is exist - process it [20:38:04]req_shift_open_date [20:38:04]req_shift_open_date done [20:38:04]produce_requested_data done [20:38:04]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22514,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [20:38:04]process_action_free close_receipt [20:38:04]json_value_free [20:38:04]json_value_free done [20:38:04]process_json_proto returns [20:38:04]Send response to host [20:38:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22514,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [20:38:04]free response buf [20:38:04]execute_script done [20:38:04]execute_script returns [20:38:04]free content buf [20:38:04]Sock 9.Close socket [20:38:04]Sock 9.Thread stoped [20:38:08]OFD Sender: No OFD packet to send [20:38:13]OFD Sender: No OFD packet to send [20:38:18]OFD Sender: No OFD packet to send [20:38:23]OFD Sender: No OFD packet to send [20:38:28]OFD Sender: No OFD packet to send [20:38:33]OFD Sender: No OFD packet to send [20:38:38]OFD Sender: No OFD packet to send [20:38:43]OFD Sender: No OFD packet to send [20:38:48]OFD Sender: No OFD packet to send [20:38:53]OFD Sender: No OFD packet to send [20:38:58]OFD Sender: No OFD packet to send [20:39:03]OFD Sender: No OFD packet to send [20:39:08]OFD Sender: No OFD packet to send [20:39:13]OFD Sender: No OFD packet to send [20:39:18]OFD Sender: No OFD packet to send [20:39:23]OFD Sender: No OFD packet to send [20:39:28]OFD Sender: No OFD packet to send [20:39:33]OFD Sender: No OFD packet to send [20:39:38]OFD Sender: No OFD packet to send [20:39:43]OFD Sender: No OFD packet to send [20:39:48]OFD Sender: No OFD packet to send [20:39:53]OFD Sender: No OFD packet to send [20:39:58]OFD Sender: No OFD packet to send [20:40:03]OFD Sender: No OFD packet to send [20:40:08]OFD Sender: No OFD packet to send [20:40:13]OFD Sender: No OFD packet to send [20:40:18]OFD Sender: No OFD packet to send [20:40:23]OFD Sender: No OFD packet to send [20:40:28]OFD Sender: No OFD packet to send [20:40:33]OFD Sender: No OFD packet to send [20:40:38]OFD Sender: No OFD packet to send [20:40:43]OFD Sender: No OFD packet to send [20:40:48]OFD Sender: No OFD packet to send [20:40:53]OFD Sender: No OFD packet to send [20:40:58]OFD Sender: No OFD packet to send [20:41:03]OFD Sender: No OFD packet to send [20:41:08]OFD Sender: No OFD packet to send [20:41:13]OFD Sender: No OFD packet to send [20:41:18]OFD Sender: No OFD packet to send [20:41:23]OFD Sender: No OFD packet to send [20:41:28]OFD Sender: No OFD packet to send [20:41:33]OFD Sender: No OFD packet to send [20:41:38]OFD Sender: No OFD packet to send [20:41:43]OFD Sender: No OFD packet to send [20:41:48]OFD Sender: No OFD packet to send [20:41:53]OFD Sender: No OFD packet to send [20:41:58]OFD Sender: No OFD packet to send [20:42:03]OFD Sender: No OFD packet to send [20:42:08]OFD Sender: No OFD packet to send [20:42:13]OFD Sender: No OFD packet to send [20:42:18]OFD Sender: No OFD packet to send [20:42:23]OFD Sender: No OFD packet to send [20:42:28]OFD Sender: No OFD packet to send [20:42:33]OFD Sender: No OFD packet to send [20:42:38]OFD Sender: No OFD packet to send [20:42:43]OFD Sender: No OFD packet to send [20:42:48]OFD Sender: No OFD packet to send [20:42:53]OFD Sender: No OFD packet to send [20:42:58]OFD Sender: No OFD packet to send [20:43:03]OFD Sender: No OFD packet to send [20:43:08]OFD Sender: No OFD packet to send [20:43:13]OFD Sender: No OFD packet to send [20:43:18]OFD Sender: No OFD packet to send [20:43:23]OFD Sender: No OFD packet to send [20:43:28]OFD Sender: No OFD packet to send [20:43:33]OFD Sender: No OFD packet to send [20:43:38]OFD Sender: No OFD packet to send [20:43:43]OFD Sender: No OFD packet to send [20:43:48]OFD Sender: No OFD packet to send [20:43:53]OFD Sender: No OFD packet to send [20:43:58]OFD Sender: No OFD packet to send [20:44:03]OFD Sender: No OFD packet to send [20:44:08]OFD Sender: No OFD packet to send [20:44:13]OFD Sender: No OFD packet to send [20:44:18]OFD Sender: No OFD packet to send [20:44:23]OFD Sender: No OFD packet to send [20:44:28]OFD Sender: No OFD packet to send [20:44:33]OFD Sender: No OFD packet to send [20:44:38]OFD Sender: No OFD packet to send [20:44:43]OFD Sender: No OFD packet to send [20:44:48]OFD Sender: No OFD packet to send [20:44:53]OFD Sender: No OFD packet to send [20:44:58]OFD Sender: No OFD packet to send [20:45:03]OFD Sender: No OFD packet to send [20:45:08]OFD Sender: No OFD packet to send [20:45:13]OFD Sender: No OFD packet to send [20:45:18]OFD Sender: No OFD packet to send [20:45:23]OFD Sender: No OFD packet to send [20:45:28]OFD Sender: No OFD packet to send [20:45:33]OFD Sender: No OFD packet to send [20:45:38]OFD Sender: No OFD packet to send [20:45:43]OFD Sender: No OFD packet to send [20:45:48]OFD Sender: No OFD packet to send [20:45:53]OFD Sender: No OFD packet to send [20:45:58]OFD Sender: No OFD packet to send [20:46:03]OFD Sender: No OFD packet to send [20:46:08]OFD Sender: No OFD packet to send [20:46:13]OFD Sender: No OFD packet to send [20:46:18]OFD Sender: No OFD packet to send [20:46:23]OFD Sender: No OFD packet to send [20:46:28]OFD Sender: No OFD packet to send [20:46:33]OFD Sender: No OFD packet to send [20:46:38]OFD Sender: No OFD packet to send [20:46:43]OFD Sender: No OFD packet to send [20:46:48]OFD Sender: No OFD packet to send [20:46:53]OFD Sender: No OFD packet to send [20:46:58]OFD Sender: No OFD packet to send [20:47:03]OFD Sender: No OFD packet to send [20:47:08]OFD Sender: No OFD packet to send [20:47:13]OFD Sender: No OFD packet to send [20:47:18]OFD Sender: No OFD packet to send [20:47:23]OFD Sender: No OFD packet to send [20:47:28]OFD Sender: No OFD packet to send [20:47:33]OFD Sender: No OFD packet to send [20:47:38]OFD Sender: No OFD packet to send [20:47:43]OFD Sender: No OFD packet to send [20:47:48]OFD Sender: No OFD packet to send [20:47:53]OFD Sender: No OFD packet to send [20:47:58]OFD Sender: No OFD packet to send [20:48:03]OFD Sender: No OFD packet to send [20:48:08]OFD Sender: No OFD packet to send [20:48:13]OFD Sender: No OFD packet to send [20:48:18]OFD Sender: No OFD packet to send [20:48:23]OFD Sender: No OFD packet to send [20:48:28]OFD Sender: No OFD packet to send [20:48:33]OFD Sender: No OFD packet to send [20:48:38]OFD Sender: No OFD packet to send [20:48:43]OFD Sender: No OFD packet to send [20:48:48]OFD Sender: No OFD packet to send [20:48:53]OFD Sender: No OFD packet to send [20:48:58]OFD Sender: No OFD packet to send [20:49:03]OFD Sender: No OFD packet to send [20:49:08]OFD Sender: No OFD packet to send [20:49:13]OFD Sender: No OFD packet to send [20:49:18]OFD Sender: No OFD packet to send [20:49:23]OFD Sender: No OFD packet to send [20:49:28]OFD Sender: No OFD packet to send [20:49:33]OFD Sender: No OFD packet to send [20:49:36]accept exits with 7 [20:49:36]New connection [20:49:36]New thread 3067583844 created [20:49:36]Thread 3067440484 joined [20:49:36]Waiting for new connection... [20:49:36] Sock 7.Parse request [20:49:36]Sock 7.Check first char [20:49:36]Sock 7.First char is OK [20:49:36]request: POST /json_proto HTTP/1.0 [20:49:36]Method: POST [20:49:36]URL: /json_proto [20:49:36]Method is POST - this is cgi request [20:49:36]url: /json_proto [20:49:36]query_string will be loaded in cgi processing [20:49:36]execute_cgi json_proto POST (null) [20:49:36]execute_cgi path=json_proto method=POST [20:49:36]POST find Content-Length [20:49:36]Host: 172.17.43.4:8080 [20:49:36]Content-Length: 622 [20:49:36]Content-Type: application/json [20:49:36] [20:49:36]POST finish read [20:49:36]Found Content-Length = 622 [20:49:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51709", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:49:36]execute_script... [20:49:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51709", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:49:36]POST & json_proto [20:49:36]process_json_proto [20:49:36]json parsed OK: [20:49:36]protocol is kg_v1.0 [20:49:36]action value=close_receipt [20:49:36]process_action close_receipt [20:49:36]cmd_close_receipt [20:49:36]MH_GetDate [20:49:36]Write to MH i2c: F0 00 00 A2 0E 9F [20:49:36]Write i2c OK [20:49:36]MH_I2C_Read... [20:49:36]Read from MH i2c: F0 [20:49:36]MH_I2C_Read... [20:49:36]Read from MH i2c: F0 09 00 [20:49:36]MH_I2C_Read... [20:49:36]Read from MH i2c: F0 09 00 A2 0E 00 62 77 F4 66 02 BF CF 66 D1 [20:49:36]GetLastDocTimeStamp 1727296681 [20:49:36]current date 1727297378 [20:49:36]FM_GetShiftState [20:49:36]SAM_PROTO_GetShiftState [20:49:36]wFMCommunicate request_size=4 [20:49:36]MH_SAM_APDU [20:49:36]CAPDU: 80 13 01 00 [20:49:36]Write to MH i2c: E2 08 00 A3 0E 80 13 01 00 00 00 00 00 2E [20:49:36]Write i2c OK [20:49:36]MH_I2C_Read... [20:49:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:49:36]Read from MH i2c: E2 [20:49:36]MH_I2C_Read... [20:49:36]Read from MH i2c: E2 0E 00 [20:49:36]MH_I2C_Read... [20:49:36]Read from MH i2c: E2 0E 00 A3 0E 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 BF [20:49:36]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [20:49:36]wFMCommunicate OK [20:49:36]SAM_PROTO_GetShiftState done [20:49:36]FM_GetShiftState done [20:49:36]opened in 1727224020 [20:49:36]opened+sec_in_day 1727310420 [20:49:36]quantity*price = 14400 [20:49:36]sum+1 = 14401 [20:49:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 88 25.09.2024 20:49 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22515 ФПД: 109830966932526 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T204938&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22515&fm=109830966932526&tin=02508201610067®Number=0000000000146243&sum=14400 0 [20:49:37]StoreToDocumentArchive [20:49:37]shift 231 fd 22515 [20:49:37]save to /storage/0231/doc_00022515 [20:49:37]save last doc name /storage/0231/doc_00022515 to /storage/kkm_last_doc_name [20:49:37]save OK [20:49:37]Clear old archive folders... [20:49:37]ProcessDocumentItem done err = 0, tmpTLVsize=275 [20:49:37]tlvbuf is 00257960 [20:49:37]SAM_PROTO_ClearQueue [20:49:37]wFMCommunicate request_size=4 [20:49:37]MH_SAM_APDU [20:49:37]CAPDU: 80 09 00 00 [20:49:37]Write to MH i2c: E2 08 00 B0 0E 80 09 00 00 00 00 00 00 30 [20:49:37]Write i2c OK [20:49:37]MH_I2C_Read... [20:49:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:49:38]Read from MH i2c: E2 [20:49:38]MH_I2C_Read... [20:49:38]Read from MH i2c: E2 03 00 [20:49:38]MH_I2C_Read... [20:49:38]Read from MH i2c: E2 03 00 B0 0E 00 90 00 32 [20:49:38]RAPDU: 90 00 [20:49:38]wFMCommunicate OK [20:49:38]SAM_PROTO_ClearQueue done [20:49:38]KKMCreateOFDPacket [20:49:38]OFDProtocolAddRootSTLVToBuf [20:49:38]FM_MakeSignedData [20:49:38]FM_MakeSignedData [20:49:38]SAM_PROTO_SignData [20:49:38]wFMCommunicate request_size=4 [20:49:38]MH_SAM_APDU [20:49:38]CAPDU: 80 0D 01 02 [20:49:38]Write to MH i2c: E2 08 00 B1 0E 80 0D 01 02 00 00 00 00 38 [20:49:38]Write i2c OK [20:49:38]MH_I2C_Read... [20:49:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:49:38]Read from MH i2c: E2 [20:49:38]MH_I2C_Read... [20:49:38]Read from MH i2c: E2 03 00 [20:49:38]MH_I2C_Read... [20:49:38]Read from MH i2c: E2 03 00 B1 0E 00 90 00 33 [20:49:38]RAPDU: 90 00 [20:49:38]wFMCommunicate OK [20:49:38]wFMCommunicate request_size=255 [20:49:38]MH_SAM_APDU [20:49:38]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 58 00 00 00 F4 03 04 00 62 77 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 [20:49:38]Write to MH i2c: E2 02 01 B2 0E 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 58 00 00 00 F4 03 04 00 62 77 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 00 00 AA [20:49:38]Write i2c OK [20:49:38]MH_I2C_Read... [20:49:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:49:38]Read from MH i2c: E2 [20:49:38]MH_I2C_Read... [20:49:38]Read from MH i2c: E2 03 00 [20:49:38]MH_I2C_Read... [20:49:38]Read from MH i2c: E2 03 00 B2 0E 00 90 00 34 [20:49:38]RAPDU: 90 00 [20:49:38]wFMCommunicate OK [20:49:38]wFMCommunicate request_size=34 [20:49:38]MH_SAM_APDU [20:49:38]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F3 57 00 00 35 04 06 00 63 E4 03 C4 F4 2E [20:49:38]Write to MH i2c: E2 25 00 B3 0E 80 0D 02 02 1D 00 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F3 57 00 00 35 04 06 00 63 E4 03 C4 F4 2E 00 00 7D [20:49:38]Write i2c OK [20:49:38]MH_I2C_Read... [20:49:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:49:38]Read from MH i2c: E2 [20:49:38]MH_I2C_Read... [20:49:38]Read from MH i2c: E2 03 00 [20:49:38]MH_I2C_Read... [20:49:38]Read from MH i2c: E2 03 00 B3 0E 00 90 00 35 [20:49:38]RAPDU: 90 00 [20:49:38]wFMCommunicate OK [20:49:38]wFMCommunicate request_size=4 [20:49:38]MH_SAM_APDU [20:49:38]CAPDU: 80 0D 03 02 [20:49:38]Write to MH i2c: E2 08 00 B4 0E 80 0D 03 02 00 00 00 00 3D [20:49:38]Write i2c OK [20:49:38]MH_I2C_Read... [20:49:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:49:38]Read from MH i2c: E2 [20:49:38]MH_I2C_Read... [20:49:38]Read from MH i2c: E2 0B 00 [20:49:38]MH_I2C_Read... [20:49:38]Read from MH i2c: E2 0B 00 B4 0E 00 84 87 66 FC FA C6 D7 E3 90 00 25 [20:49:38]RAPDU: 84 87 66 FC FA C6 D7 E3 90 00 [20:49:38]wFMCommunicate OK [20:49:38]SAM_PROTO_SignData done [20:49:38]FM_MakeSignedData done [20:49:38]CreateOFDProtocolMessage [20:49:38]wFMCommunicate request_size=4 [20:49:38]MH_SAM_APDU [20:49:38]CAPDU: 80 11 00 00 [20:49:38]Write to MH i2c: E2 08 00 B5 0E 80 11 00 00 00 00 00 00 3D [20:49:38]Write i2c OK [20:49:38]MH_I2C_Read... [20:49:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:49:38]Read from MH i2c: E2 [20:49:38]MH_I2C_Read... [20:49:38]Read from MH i2c: E2 17 00 [20:49:38]MH_I2C_Read... [20:49:38]Read from MH i2c: E2 17 00 B5 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 97 [20:49:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [20:49:38]wFMCommunicate OK [20:49:38]CreateOFDProtocolMessage done [20:49:38]OFDSenderStorePacket 22515 [20:49:38]StoreOFDPacket docnum=22515 [20:49:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 27 01 00 00 C8 C9 1F 01 61 30 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 58 00 00 00 F4 03 04 00 62 77 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F3 57 00 00 35 04 06 00 63 E4 03 C4 F4 2E 84 87 66 FC FA C6 D7 E3 [20:49:38]CheckFolder [20:49:38]dirname=/storage/ofd_packets [20:49:38]CheckFolder done [20:49:38]ProducePacketName [20:49:38]name=ofd_packets/00022515 [20:49:38]NVStorageSaveData ofd_packets/00022515 [20:49:38]File name is /storage/ofd_packets/00022515 [20:49:38]Write 325 bytes [20:49:38]NVStorageSaveData done [20:49:38]OFDSenderStorePacket done [20:49:38]KKMCreateOFDPacket done [20:49:38]NVStorageSaveData kkm_last_timestamp [20:49:38]File name is /storage/kkm_last_timestamp [20:49:38]Write 4 bytes [20:49:38]NVStorageSaveData done [20:49:38]ExternCall_PrintAddStr [20:49:38]wPrintStart [20:49:38]Write to MH i2c: 01 00 00 B6 0E C4 [20:49:38]Write i2c OK [20:49:38]MH_I2C_Read... [20:49:38]Read from MH i2c: 01 [20:49:38]MH_I2C_Read... [20:49:38]Read from MH i2c: 01 07 00 [20:49:38]MH_I2C_Read... [20:49:38]Read from MH i2c: 01 07 00 B6 0E 00 00 00 00 00 FF 0F D9 [20:49:38]RasterBufferAndPrint [20:49:38]line Счет N : (3)51709 [20:49:38]line ИНН: 02508201610067 [20:49:38]line Контрольно-Кассовый Чек [20:49:38]line ПРОДАЖА [20:49:38]line Товар: 48743587 [20:49:38]line Сигареты Winston XStyle Silver [20:49:38]line 1.000 * 144.00 [20:49:38]line = 144.00 [20:49:38]line НДС 12% НСП 1% [20:49:38]line > о реализуемом товаре [20:49:38]line ИТОГО: 144.00 [20:49:38]line НСП 1% : 1.27 [20:49:38]line НДС 12% : 15.29 [20:49:38]line Наличными: 144.00 [20:49:38]line Безнал.: 0.00 [20:49:38]line Место: АЗС № 88 "Партнер Нефть" [20:49:38]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [20:49:38]line СНО: Общий режим [20:49:38]line Чек 88 25.09.2024 20:49 [20:49:38]line Смена: 231 ФФД: 1.0 [20:49:38]line ЗНМ: 0300000061 [20:49:38]line РНМ: 0000000000146243 [20:49:38]line Версия ККМ: v1.0 [20:49:38]line ФМ: 0000000000959358 [20:49:38]line ФД: 22515 [20:49:38]line ФПД: 109830966932526 [20:49:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T204938&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22515&fm=109830966932526&tin=02508201610067®Number=0000000000146243&sum=14400 [20:49:38]line 0 [20:49:38]OFD Sender: Processing packet 22515 [packets to send 23, broken 22] [20:49:38]ProducePacketName [20:49:38]name=ofd_packets/00022515 [20:49:38]OFD Sender: To server: pG, [20:49:38]CommunicateWithHost lk.salyk.kg:30040 [20:49:38]ConnectInit lk.salyk.kg [20:49:38]written 0, free lines is 4095 [20:49:39]Connected sock=10 [20:49:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 27 01 00 00 C8 C9 1F 01 61 30 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 58 00 00 00 F4 03 04 00 62 77 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F3 57 00 00 35 04 06 00 63 E4 03 C4 F4 2E 84 87 66 FC FA C6 D7 E3 [20:49:39]Write to MH i2c: 01 00 00 DF 0E ED [20:49:39]Write i2c OK [20:49:39]MH_I2C_Read... [20:49:39]Read from MH i2c: 01 [20:49:39]MH_I2C_Read... [20:49:39]Read from MH i2c: 01 07 00 [20:49:39]MH_I2C_Read... [20:49:39]Read from MH i2c: 01 07 00 DF 0E 00 00 00 00 00 07 0D 08 [20:49:39]RasterBufferAndPrint [20:49:39]line [20:49:39]line [20:49:39]line [20:49:39]line [20:49:39]line [20:49:39]written 0, free lines is 3341 [20:49:39]MH_Cut [20:49:39]Write to MH i2c: D1 01 00 E6 0E 01 C6 [20:49:39]Write i2c OK [20:49:39]MH_I2C_Read... [20:49:39]Read from MH i2c: D1 [20:49:39]MH_I2C_Read... [20:49:39]Read from MH i2c: D1 01 00 [20:49:39]MH_I2C_Read... [20:49:39]Read from MH i2c: D1 01 00 E6 0E 00 C5 [20:49:39]Write to MH i2c: 01 00 00 E7 0E F5 [20:49:39]Write i2c OK [20:49:39]MH_I2C_Read... [20:49:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 59 3D 47 00 38 CF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F3 57 00 00 F4 03 04 00 84 21 F4 66 B6 04 01 00 00 A4 F5 2F 26 3C A5 A6 E5 [20:49:39]CommunicateWithHost err = 0 [20:49:39]CheckOFDResponse [20:49:39]1017 (14) - 77093643461234 [20:49:39]1041 (16) - 0000000000959358 [20:49:39]1040 (4) - 22515 [20:49:39]1012 (4) - 25.09.2024 14:43 [20:49:39]1206 (1) - 0 [20:49:39]OFD Sender: Remove packet 22515 [20:49:39]ProducePacketName [20:49:39]name=ofd_packets/00022515 [20:49:39]NVStorageDeleteData [20:49:39]OFD Sender: No OFD packet to send [20:49:39]*** Cut start [20:49:39]*** Partial cut [20:49:39]*** CUTSNS_PIN = 1 [20:49:39]*** CUTSNS_PIN = 0 [20:49:40]*** Brake cut motor [20:49:40]Read from MH i2c: 01 [20:49:40]MH_I2C_Read... [20:49:40]*** Stop cut motor [20:49:40]*** Cut end [20:49:40]Read from MH i2c: 01 07 00 [20:49:40]MH_I2C_Read... [20:49:40]Read from MH i2c: 01 07 00 E7 0E 00 00 00 00 00 FF 0F 0A [20:49:40]process_action close_receipt done [20:49:40]requested_data is exist [20:49:40]produce_requested_data [20:49:40]requested_item fm.sn is exist - process it [20:49:40]wFMCommunicate request_size=4 [20:49:40]MH_SAM_APDU [20:49:40]CAPDU: 80 11 00 00 [20:49:40]Write to MH i2c: E2 08 00 E8 0E 80 11 00 00 00 00 00 00 70 [20:49:40]Write i2c OK [20:49:40]MH_I2C_Read... [20:49:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:49:40]Read from MH i2c: E2 [20:49:40]MH_I2C_Read... [20:49:40]Read from MH i2c: E2 17 00 [20:49:40]MH_I2C_Read... [20:49:40]Read from MH i2c: E2 17 00 E8 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 CA [20:49:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [20:49:40]wFMCommunicate OK [20:49:40]requested_item fd.num is exist - process it [20:49:40]SAM_PROTO_GetFieldsCounters [20:49:40]wFMCommunicate request_size=4 [20:49:40]MH_SAM_APDU [20:49:40]CAPDU: 80 13 00 00 [20:49:40]Write to MH i2c: E2 08 00 E9 0E 80 13 00 00 00 00 00 00 73 [20:49:40]Write i2c OK [20:49:40]MH_I2C_Read... [20:49:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:49:40]Read from MH i2c: E2 [20:49:40]MH_I2C_Read... [20:49:40]Read from MH i2c: E2 62 00 [20:49:40]MH_I2C_Read... [20:49:40]Read from MH i2c: E2 62 00 E9 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 F3 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 CF [20:49:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 F3 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:49:40]wFMCommunicate OK [20:49:40]SAM_PROTO_GetFieldsCounters done [20:49:40]requested_item shift.num is exist - process it [20:49:40]requested_item shift.opened is exist - process it [20:49:40]req_shift_opened [20:49:40]FM_GetShiftState [20:49:40]SAM_PROTO_GetShiftState [20:49:40]wFMCommunicate request_size=4 [20:49:40]MH_SAM_APDU [20:49:40]CAPDU: 80 13 01 00 [20:49:40]Write to MH i2c: E2 08 00 EA 0E 80 13 01 00 00 00 00 00 75 [20:49:40]Write i2c OK [20:49:40]MH_I2C_Read... [20:49:40]Read from MH i2c: E2 [20:49:40]MH_I2C_Read... [20:49:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:49:40]Read from MH i2c: E2 0E 00 [20:49:40]MH_I2C_Read... [20:49:40]Read from MH i2c: E2 0E 00 EA 0E 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 06 [20:49:40]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [20:49:40]wFMCommunicate OK [20:49:40]SAM_PROTO_GetShiftState done [20:49:40]FM_GetShiftState done [20:49:40]req_shift_opened done [20:49:40]requested_item shift.open_date is exist - process it [20:49:40]req_shift_open_date [20:49:40]req_shift_open_date done [20:49:40]produce_requested_data done [20:49:40]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22515,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [20:49:40]process_action_free close_receipt [20:49:40]json_value_free [20:49:40]json_value_free done [20:49:40]process_json_proto returns [20:49:40]Send response to host [20:49:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22515,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [20:49:40]free response buf [20:49:40]execute_script done [20:49:40]execute_script returns [20:49:40]free content buf [20:49:40]Sock 7.Close socket [20:49:40]Sock 7.Thread stoped [20:49:44]OFD Sender: No OFD packet to send [20:49:49]OFD Sender: No OFD packet to send [20:49:54]OFD Sender: No OFD packet to send [20:49:59]OFD Sender: No OFD packet to send [20:50:04]OFD Sender: No OFD packet to send [20:50:09]OFD Sender: No OFD packet to send [20:50:14]OFD Sender: No OFD packet to send [20:50:19]OFD Sender: No OFD packet to send [20:50:24]OFD Sender: No OFD packet to send [20:50:29]OFD Sender: No OFD packet to send [20:50:34]OFD Sender: No OFD packet to send [20:50:39]OFD Sender: No OFD packet to send [20:50:44]OFD Sender: No OFD packet to send [20:50:49]OFD Sender: No OFD packet to send [20:50:54]OFD Sender: No OFD packet to send [20:50:59]OFD Sender: No OFD packet to send [20:51:04]OFD Sender: No OFD packet to send [20:51:09]OFD Sender: No OFD packet to send [20:51:14]OFD Sender: No OFD packet to send [20:51:19]OFD Sender: No OFD packet to send [20:51:24]OFD Sender: No OFD packet to send [20:51:29]OFD Sender: No OFD packet to send [20:51:34]OFD Sender: No OFD packet to send [20:51:39]OFD Sender: No OFD packet to send [20:51:44]OFD Sender: No OFD packet to send [20:51:49]OFD Sender: No OFD packet to send [20:51:54]OFD Sender: No OFD packet to send [20:51:59]OFD Sender: No OFD packet to send [20:52:04]OFD Sender: No OFD packet to send [20:52:09]OFD Sender: No OFD packet to send [20:52:14]OFD Sender: No OFD packet to send [20:52:19]OFD Sender: No OFD packet to send [20:52:24]OFD Sender: No OFD packet to send [20:52:29]OFD Sender: No OFD packet to send [20:52:34]OFD Sender: No OFD packet to send [20:52:39]OFD Sender: No OFD packet to send [20:52:44]OFD Sender: No OFD packet to send [20:52:49]OFD Sender: No OFD packet to send [20:52:55]OFD Sender: No OFD packet to send [20:53:00]OFD Sender: No OFD packet to send [20:53:05]OFD Sender: No OFD packet to send [20:53:05]accept exits with 9 [20:53:05]New connection [20:53:05]New thread 3067440484 created [20:53:05]Thread 3067583844 joined [20:53:05]Waiting for new connection... [20:53:05] Sock 9.Parse request [20:53:05]Sock 9.Check first char [20:53:05]Sock 9.First char is OK [20:53:05]request: POST /json_proto HTTP/1.0 [20:53:05]Method: POST [20:53:05]URL: /json_proto [20:53:05]Method is POST - this is cgi request [20:53:05]url: /json_proto [20:53:05]query_string will be loaded in cgi processing [20:53:05]execute_cgi json_proto POST (null) [20:53:05]execute_cgi path=json_proto method=POST [20:53:05]POST find Content-Length [20:53:05]Host: 172.17.43.4:8080 [20:53:05]Content-Length: 654 [20:53:05]Content-Type: application/json [20:53:05] [20:53:05]POST finish read [20:53:05]Found Content-Length = 654 [20:53:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51710", "tax_sys" : 0, "items" : [ { "code": "4700002086380", "name": "\u0412\u043E\u0434\u043A\u0430 \u0421\u0430\u0440\u044B \u0447\u0435\u043B\u0435\u043A 0,35\u043B", "price" : 260.00, "quantity" : 1.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:53:05]execute_script... [20:53:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51710", "tax_sys" : 0, "items" : [ { "code": "4700002086380", "name": "\u0412\u043E\u0434\u043A\u0430 \u0421\u0430\u0440\u044B \u0447\u0435\u043B\u0435\u043A 0,35\u043B", "price" : 260.00, "quantity" : 1.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:53:05]POST & json_proto [20:53:05]process_json_proto [20:53:05]json parsed OK: [20:53:05]protocol is kg_v1.0 [20:53:05]action value=close_receipt [20:53:05]process_action close_receipt [20:53:05]cmd_close_receipt [20:53:05]MH_GetDate [20:53:05]Write to MH i2c: F0 00 00 EB 0E E8 [20:53:05]Write i2c OK [20:53:05]MH_I2C_Read... [20:53:05]Read from MH i2c: F0 [20:53:05]MH_I2C_Read... [20:53:05]Read from MH i2c: F0 09 00 [20:53:05]MH_I2C_Read... [20:53:05]Read from MH i2c: F0 09 00 EB 0E 00 33 78 F4 66 02 BF CF 66 EC [20:53:05]GetLastDocTimeStamp 1727297378 [20:53:05]current date 1727297587 [20:53:05]FM_GetShiftState [20:53:05]SAM_PROTO_GetShiftState [20:53:05]wFMCommunicate request_size=4 [20:53:05]MH_SAM_APDU [20:53:05]CAPDU: 80 13 01 00 [20:53:05]Write to MH i2c: E2 08 00 EC 0E 80 13 01 00 00 00 00 00 77 [20:53:05]Write i2c OK [20:53:05]MH_I2C_Read... [20:53:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:53:05]Read from MH i2c: E2 [20:53:05]MH_I2C_Read... [20:53:05]Read from MH i2c: E2 0E 00 [20:53:05]MH_I2C_Read... [20:53:05]Read from MH i2c: E2 0E 00 EC 0E 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 08 [20:53:05]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [20:53:05]wFMCommunicate OK [20:53:05]SAM_PROTO_GetShiftState done [20:53:05]FM_GetShiftState done [20:53:05]opened in 1727224020 [20:53:05]opened+sec_in_day 1727310420 [20:53:05]quantity*price = 26000 [20:53:05]sum+1 = 26001 [20:53:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 260.00 НСП 1% : 2.30 НДС 12% : 27.61 Наличными: 260.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 89 25.09.2024 20:53 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22516 ФПД: 45561803709464 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T205307&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22516&fm=45561803709464&tin=02508201610067®Number=0000000000146243&sum=26000 0 [20:53:06]StoreToDocumentArchive [20:53:06]shift 231 fd 22516 [20:53:06]save to /storage/0231/doc_00022516 [20:53:06]save last doc name /storage/0231/doc_00022516 to /storage/kkm_last_doc_name [20:53:06]save OK [20:53:06]Clear old archive folders... [20:53:06]ProcessDocumentItem done err = 0, tmpTLVsize=279 [20:53:06]tlvbuf is 00204B30 [20:53:06]SAM_PROTO_ClearQueue [20:53:06]wFMCommunicate request_size=4 [20:53:06]MH_SAM_APDU [20:53:06]CAPDU: 80 09 00 00 [20:53:06]Write to MH i2c: E2 08 00 F9 0E 80 09 00 00 00 00 00 00 79 [20:53:06]Write i2c OK [20:53:06]MH_I2C_Read... [20:53:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:53:06]Read from MH i2c: E2 [20:53:06]MH_I2C_Read... [20:53:06]Read from MH i2c: E2 03 00 [20:53:06]MH_I2C_Read... [20:53:06]Read from MH i2c: E2 03 00 F9 0E 00 90 00 7B [20:53:06]RAPDU: 90 00 [20:53:06]wFMCommunicate OK [20:53:06]SAM_PROTO_ClearQueue done [20:53:06]KKMCreateOFDPacket [20:53:06]OFDProtocolAddRootSTLVToBuf [20:53:06]FM_MakeSignedData [20:53:06]FM_MakeSignedData [20:53:06]SAM_PROTO_SignData [20:53:06]wFMCommunicate request_size=4 [20:53:06]MH_SAM_APDU [20:53:06]CAPDU: 80 0D 01 02 [20:53:06]Write to MH i2c: E2 08 00 FA 0E 80 0D 01 02 00 00 00 00 81 [20:53:06]Write i2c OK [20:53:06]MH_I2C_Read... [20:53:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:53:07]Read from MH i2c: E2 [20:53:07]MH_I2C_Read... [20:53:07]Read from MH i2c: E2 03 00 [20:53:07]MH_I2C_Read... [20:53:07]Read from MH i2c: E2 03 00 FA 0E 00 90 00 7C [20:53:07]RAPDU: 90 00 [20:53:07]wFMCommunicate OK [20:53:07]wFMCommunicate request_size=255 [20:53:07]MH_SAM_APDU [20:53:07]CAPDU: 80 0D 02 02 FA 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 36 33 38 30 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 59 00 00 00 F4 03 04 00 33 78 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 [20:53:07]Write to MH i2c: E2 02 01 FB 0E 80 0D 02 02 FA 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 36 33 38 30 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 59 00 00 00 F4 03 04 00 33 78 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 00 00 BB [20:53:07]Write i2c OK [20:53:07]MH_I2C_Read... [20:53:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:53:07]Read from MH i2c: E2 [20:53:07]MH_I2C_Read... [20:53:07]Read from MH i2c: E2 03 00 [20:53:07]MH_I2C_Read... [20:53:07]Read from MH i2c: E2 03 00 FB 0E 00 90 00 7D [20:53:07]RAPDU: 90 00 [20:53:07]wFMCommunicate OK [20:53:07]wFMCommunicate request_size=38 [20:53:07]MH_SAM_APDU [20:53:07]CAPDU: 80 0D 02 02 21 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F4 57 00 00 35 04 06 00 29 70 2F 20 1C 18 [20:53:07]Write to MH i2c: E2 29 00 FC 0E 80 0D 02 02 21 00 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F4 57 00 00 35 04 06 00 29 70 2F 20 1C 18 00 00 7B [20:53:07]Write i2c OK [20:53:07]MH_I2C_Read... [20:53:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:53:07]Read from MH i2c: E2 [20:53:07]MH_I2C_Read... [20:53:07]Read from MH i2c: E2 03 00 [20:53:07]MH_I2C_Read... [20:53:07]Read from MH i2c: E2 03 00 FC 0E 00 90 00 7E [20:53:07]RAPDU: 90 00 [20:53:07]wFMCommunicate OK [20:53:07]wFMCommunicate request_size=4 [20:53:07]MH_SAM_APDU [20:53:07]CAPDU: 80 0D 03 02 [20:53:07]Write to MH i2c: E2 08 00 FD 0E 80 0D 03 02 00 00 00 00 86 [20:53:07]Write i2c OK [20:53:07]MH_I2C_Read... [20:53:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:53:07]Read from MH i2c: E2 [20:53:07]MH_I2C_Read... [20:53:07]Read from MH i2c: E2 0B 00 [20:53:07]MH_I2C_Read... [20:53:07]Read from MH i2c: E2 0B 00 FD 0E 00 AE BE D6 77 63 11 75 55 90 00 7E [20:53:07]RAPDU: AE BE D6 77 63 11 75 55 90 00 [20:53:07]wFMCommunicate OK [20:53:07]SAM_PROTO_SignData done [20:53:07]FM_MakeSignedData done [20:53:07]CreateOFDProtocolMessage [20:53:07]wFMCommunicate request_size=4 [20:53:07]MH_SAM_APDU [20:53:07]CAPDU: 80 11 00 00 [20:53:07]Write to MH i2c: E2 08 00 FE 0E 80 11 00 00 00 00 00 00 86 [20:53:07]Write i2c OK [20:53:07]MH_I2C_Read... [20:53:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:53:07]Read from MH i2c: E2 [20:53:07]MH_I2C_Read... [20:53:07]Read from MH i2c: E2 17 00 [20:53:07]MH_I2C_Read... [20:53:07]Read from MH i2c: E2 17 00 FE 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 E0 [20:53:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [20:53:07]wFMCommunicate OK [20:53:07]CreateOFDProtocolMessage done [20:53:07]OFDSenderStorePacket 22516 [20:53:07]StoreOFDPacket docnum=22516 [20:53:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 2B 01 00 00 B0 FF 23 01 99 12 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 36 33 38 30 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 59 00 00 00 F4 03 04 00 33 78 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F4 57 00 00 35 04 06 00 29 70 2F 20 1C 18 AE BE D6 77 63 11 75 55 [20:53:07]CheckFolder [20:53:07]dirname=/storage/ofd_packets [20:53:07]CheckFolder done [20:53:07]ProducePacketName [20:53:07]name=ofd_packets/00022516 [20:53:07]NVStorageSaveData ofd_packets/00022516 [20:53:07]File name is /storage/ofd_packets/00022516 [20:53:07]Write 329 bytes [20:53:07]NVStorageSaveData done [20:53:07]OFDSenderStorePacket done [20:53:07]KKMCreateOFDPacket done [20:53:07]NVStorageSaveData kkm_last_timestamp [20:53:07]File name is /storage/kkm_last_timestamp [20:53:07]Write 4 bytes [20:53:07]NVStorageSaveData done [20:53:07]ExternCall_PrintAddStr [20:53:07]wPrintStart [20:53:07]Write to MH i2c: 01 00 00 FF 0E 0D [20:53:07]Write i2c OK [20:53:07]MH_I2C_Read... [20:53:07]Read from MH i2c: 01 [20:53:07]MH_I2C_Read... [20:53:07]Read from MH i2c: 01 07 00 [20:53:07]MH_I2C_Read... [20:53:07]Read from MH i2c: 01 07 00 FF 0E 00 00 00 00 00 FF 0F 22 [20:53:07]RasterBufferAndPrint [20:53:07]line Счет N : (3)51710 [20:53:07]line ИНН: 02508201610067 [20:53:07]line Контрольно-Кассовый Чек [20:53:07]line ПРОДАЖА [20:53:07]line Товар: 4700002086380 [20:53:07]line Водка Сары челек 0,35л [20:53:07]line 1.000 * 260.00 [20:53:07]line = 260.00 [20:53:07]line НДС 12% НСП 1% [20:53:07]line > о реализуемом товаре [20:53:07]line ИТОГО: 260.00 [20:53:07]line НСП 1% : 2.30 [20:53:07]line НДС 12% : 27.61 [20:53:07]line Наличными: 260.00 [20:53:07]line Безнал.: 0.00 [20:53:07]line Место: АЗС № 88 "Партнер Нефть" [20:53:07]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [20:53:07]line СНО: Общий режим [20:53:07]line Чек 89 25.09.2024 20:53 [20:53:07]line Смена: 231 ФФД: 1.0 [20:53:07]line ЗНМ: 0300000061 [20:53:07]line РНМ: 0000000000146243 [20:53:07]line Версия ККМ: v1.0 [20:53:07]line ФМ: 0000000000959358 [20:53:07]line ФД: 22516 [20:53:07]line ФПД: 45561803709464 [20:53:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T205307&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22516&fm=45561803709464&tin=02508201610067®Number=0000000000146243&sum=26000 [20:53:07]line 0 [20:53:07]OFD Sender: Processing packet 22516 [packets to send 23, broken 22] [20:53:07]ProducePacketName [20:53:07]name=ofd_packets/00022516 [20:53:07]OFD Sender: To server: pG, [20:53:07]CommunicateWithHost lk.salyk.kg:30040 [20:53:07]ConnectInit lk.salyk.kg [20:53:07]written 0, free lines is 4095 [20:53:07]Connected sock=10 [20:53:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 2B 01 00 00 B0 FF 23 01 99 12 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 36 33 38 30 06 04 25 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A1 D0 B0 D1 80 D1 8B 20 D1 87 D0 B5 D0 BB D0 B5 D0 BA 20 30 2C 33 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 65 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 59 00 00 00 F4 03 04 00 33 78 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F4 57 00 00 35 04 06 00 29 70 2F 20 1C 18 AE BE D6 77 63 11 75 55 [20:53:08]Write to MH i2c: 01 00 00 27 0F 36 [20:53:08]Write i2c OK [20:53:08]MH_I2C_Read... [20:53:08]Read from MH i2c: 01 [20:53:08]MH_I2C_Read... [20:53:08]Read from MH i2c: 01 07 00 [20:53:08]MH_I2C_Read... [20:53:08]Read from MH i2c: 01 07 00 27 0F 00 00 00 00 00 2D 0D 77 [20:53:08]RasterBufferAndPrint [20:53:08]line [20:53:08]line [20:53:08]line [20:53:08]line [20:53:08]line [20:53:08]written 0, free lines is 3382 [20:53:08]MH_Cut [20:53:08]Write to MH i2c: D1 01 00 2E 0F 01 0F [20:53:08]Write i2c OK [20:53:08]MH_I2C_Read... [20:53:08]Read from MH i2c: D1 [20:53:08]MH_I2C_Read... [20:53:08]Read from MH i2c: D1 01 00 [20:53:08]MH_I2C_Read... [20:53:08]Read from MH i2c: D1 01 00 2E 0F 00 0E [20:53:08]Write to MH i2c: 01 00 00 2F 0F 3E [20:53:08]Write i2c OK [20:53:08]MH_I2C_Read... [20:53:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 AF 97 47 00 ED 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 30 39 35 39 33 35 38 10 04 04 00 F4 57 00 00 F4 03 04 00 55 22 F4 66 B6 04 01 00 00 67 3C AD D5 97 8A C2 B3 [20:53:08]CommunicateWithHost err = 0 [20:53:08]CheckOFDResponse [20:53:08]1017 (14) - 77093643461234 [20:53:08]1041 (16) - 0000000000959358 [20:53:08]1040 (4) - 22516 [20:53:08]1012 (4) - 25.09.2024 14:46 [20:53:08]1206 (1) - 0 [20:53:08]OFD Sender: Remove packet 22516 [20:53:08]ProducePacketName [20:53:08]name=ofd_packets/00022516 [20:53:08]NVStorageDeleteData [20:53:08]OFD Sender: No OFD packet to send [20:53:08]*** Cut start [20:53:08]*** Partial cut [20:53:08]*** CUTSNS_PIN = 1 [20:53:08]*** CUTSNS_PIN = 0 [20:53:09]*** Brake cut motor [20:53:09]Read from MH i2c: 01 [20:53:09]MH_I2C_Read... [20:53:09]*** Stop cut motor [20:53:09]*** Cut end [20:53:09]Read from MH i2c: 01 07 00 [20:53:09]MH_I2C_Read... [20:53:09]Read from MH i2c: 01 07 00 2F 0F 00 00 00 00 00 FF 0F 53 [20:53:09]process_action close_receipt done [20:53:09]requested_data is exist [20:53:09]produce_requested_data [20:53:09]requested_item fm.sn is exist - process it [20:53:09]wFMCommunicate request_size=4 [20:53:09]MH_SAM_APDU [20:53:09]CAPDU: 80 11 00 00 [20:53:09]Write to MH i2c: E2 08 00 30 0F 80 11 00 00 00 00 00 00 B9 [20:53:09]Write i2c OK [20:53:09]MH_I2C_Read... [20:53:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:53:09]Read from MH i2c: E2 [20:53:09]MH_I2C_Read... [20:53:09]Read from MH i2c: E2 17 00 [20:53:09]MH_I2C_Read... [20:53:09]Read from MH i2c: E2 17 00 30 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 13 [20:53:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [20:53:09]wFMCommunicate OK [20:53:09]requested_item fd.num is exist - process it [20:53:09]SAM_PROTO_GetFieldsCounters [20:53:09]wFMCommunicate request_size=4 [20:53:09]MH_SAM_APDU [20:53:09]CAPDU: 80 13 00 00 [20:53:09]Write to MH i2c: E2 08 00 31 0F 80 13 00 00 00 00 00 00 BC [20:53:09]Write i2c OK [20:53:09]MH_I2C_Read... [20:53:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:53:09]Read from MH i2c: E2 [20:53:09]MH_I2C_Read... [20:53:09]Read from MH i2c: E2 62 00 [20:53:09]MH_I2C_Read... [20:53:09]Read from MH i2c: E2 62 00 31 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 F4 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 59 00 00 00 5E 04 04 00 59 00 00 00 57 04 04 00 5A 00 00 00 19 04 04 00 00 00 00 00 90 00 1C [20:53:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 F4 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 59 00 00 00 5E 04 04 00 59 00 00 00 57 04 04 00 5A 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:53:09]wFMCommunicate OK [20:53:09]SAM_PROTO_GetFieldsCounters done [20:53:09]requested_item shift.num is exist - process it [20:53:09]requested_item shift.opened is exist - process it [20:53:09]req_shift_opened [20:53:09]FM_GetShiftState [20:53:09]SAM_PROTO_GetShiftState [20:53:09]wFMCommunicate request_size=4 [20:53:09]MH_SAM_APDU [20:53:09]CAPDU: 80 13 01 00 [20:53:09]Write to MH i2c: E2 08 00 32 0F 80 13 01 00 00 00 00 00 BE [20:53:09]Write i2c OK [20:53:09]MH_I2C_Read... [20:53:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:53:09]Read from MH i2c: E2 [20:53:09]MH_I2C_Read... [20:53:09]Read from MH i2c: E2 0E 00 [20:53:09]MH_I2C_Read... [20:53:09]Read from MH i2c: E2 0E 00 32 0F 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 4F [20:53:09]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [20:53:09]wFMCommunicate OK [20:53:09]SAM_PROTO_GetShiftState done [20:53:09]FM_GetShiftState done [20:53:09]req_shift_opened done [20:53:09]requested_item shift.open_date is exist - process it [20:53:09]req_shift_open_date [20:53:09]req_shift_open_date done [20:53:09]produce_requested_data done [20:53:09]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22516,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [20:53:09]process_action_free close_receipt [20:53:09]json_value_free [20:53:09]json_value_free done [20:53:09]process_json_proto returns [20:53:09]Send response to host [20:53:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22516,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [20:53:09]free response buf [20:53:09]execute_script done [20:53:09]execute_script returns [20:53:09]free content buf [20:53:09]Sock 9.Close socket [20:53:09]Sock 9.Thread stoped [20:53:13]OFD Sender: No OFD packet to send [20:53:18]OFD Sender: No OFD packet to send [20:53:23]OFD Sender: No OFD packet to send [20:53:28]OFD Sender: No OFD packet to send [20:53:33]OFD Sender: No OFD packet to send [20:53:38]OFD Sender: No OFD packet to send [20:53:43]OFD Sender: No OFD packet to send [20:53:48]OFD Sender: No OFD packet to send [20:53:53]OFD Sender: No OFD packet to send [20:53:58]OFD Sender: No OFD packet to send [20:54:03]OFD Sender: No OFD packet to send [20:54:08]OFD Sender: No OFD packet to send [20:54:13]OFD Sender: No OFD packet to send [20:54:18]OFD Sender: No OFD packet to send [20:54:23]OFD Sender: No OFD packet to send [20:54:28]OFD Sender: No OFD packet to send [20:54:33]OFD Sender: No OFD packet to send [20:54:38]OFD Sender: No OFD packet to send [20:54:43]OFD Sender: No OFD packet to send [20:54:48]OFD Sender: No OFD packet to send [20:54:53]OFD Sender: No OFD packet to send [20:54:58]OFD Sender: No OFD packet to send [20:55:03]OFD Sender: No OFD packet to send [20:55:08]OFD Sender: No OFD packet to send [20:55:13]OFD Sender: No OFD packet to send [20:55:18]OFD Sender: No OFD packet to send [20:55:23]OFD Sender: No OFD packet to send [20:55:28]OFD Sender: No OFD packet to send [20:55:33]OFD Sender: No OFD packet to send [20:55:38]OFD Sender: No OFD packet to send [20:55:43]OFD Sender: No OFD packet to send [20:55:48]OFD Sender: No OFD packet to send [20:55:53]OFD Sender: No OFD packet to send [20:55:58]OFD Sender: No OFD packet to send [20:56:03]OFD Sender: No OFD packet to send [20:56:08]OFD Sender: No OFD packet to send [20:56:13]OFD Sender: No OFD packet to send [20:56:18]OFD Sender: No OFD packet to send [20:56:23]OFD Sender: No OFD packet to send [20:56:28]OFD Sender: No OFD packet to send [20:56:33]OFD Sender: No OFD packet to send [20:56:39]OFD Sender: No OFD packet to send [20:56:44]OFD Sender: No OFD packet to send [20:56:49]OFD Sender: No OFD packet to send [20:56:54]OFD Sender: No OFD packet to send [20:56:59]OFD Sender: No OFD packet to send [20:57:04]OFD Sender: No OFD packet to send [20:57:09]OFD Sender: No OFD packet to send [20:57:14]OFD Sender: No OFD packet to send [20:57:19]OFD Sender: No OFD packet to send [20:57:24]OFD Sender: No OFD packet to send [20:57:29]OFD Sender: No OFD packet to send [20:57:34]OFD Sender: No OFD packet to send [20:57:39]OFD Sender: No OFD packet to send [20:57:44]OFD Sender: No OFD packet to send [20:57:49]OFD Sender: No OFD packet to send [20:57:54]OFD Sender: No OFD packet to send [20:57:59]OFD Sender: No OFD packet to send [20:58:04]OFD Sender: No OFD packet to send [20:58:09]OFD Sender: No OFD packet to send [20:58:14]OFD Sender: No OFD packet to send [20:58:19]OFD Sender: No OFD packet to send [20:58:24]OFD Sender: No OFD packet to send [20:58:29]OFD Sender: No OFD packet to send [20:58:34]OFD Sender: No OFD packet to send [20:58:39]OFD Sender: No OFD packet to send [20:58:44]OFD Sender: No OFD packet to send [20:58:49]OFD Sender: No OFD packet to send [20:58:54]OFD Sender: No OFD packet to send [20:58:59]OFD Sender: No OFD packet to send [20:59:04]OFD Sender: No OFD packet to send [20:59:09]OFD Sender: No OFD packet to send [20:59:14]OFD Sender: No OFD packet to send [20:59:19]OFD Sender: No OFD packet to send [20:59:24]OFD Sender: No OFD packet to send [20:59:29]OFD Sender: No OFD packet to send [20:59:34]OFD Sender: No OFD packet to send [20:59:39]OFD Sender: No OFD packet to send [20:59:44]OFD Sender: No OFD packet to send [20:59:49]OFD Sender: No OFD packet to send [20:59:54]OFD Sender: No OFD packet to send [20:59:59]OFD Sender: No OFD packet to send [21:00:04]OFD Sender: No OFD packet to send [21:00:09]OFD Sender: No OFD packet to send [21:00:14]OFD Sender: No OFD packet to send [21:00:19]OFD Sender: No OFD packet to send [21:00:24]OFD Sender: No OFD packet to send [21:00:29]OFD Sender: No OFD packet to send [21:00:34]OFD Sender: No OFD packet to send [21:00:39]OFD Sender: No OFD packet to send [21:00:44]OFD Sender: No OFD packet to send [21:00:49]OFD Sender: No OFD packet to send [21:00:54]OFD Sender: No OFD packet to send [21:00:59]OFD Sender: No OFD packet to send [21:01:04]OFD Sender: No OFD packet to send [21:01:09]OFD Sender: No OFD packet to send [21:01:14]OFD Sender: No OFD packet to send [21:01:19]OFD Sender: No OFD packet to send [21:01:24]OFD Sender: No OFD packet to send [21:01:29]OFD Sender: No OFD packet to send [21:01:34]OFD Sender: No OFD packet to send [21:01:39]OFD Sender: No OFD packet to send [21:01:44]OFD Sender: No OFD packet to send [21:01:49]OFD Sender: No OFD packet to send [21:01:54]OFD Sender: No OFD packet to send [21:01:59]OFD Sender: No OFD packet to send [21:02:04]OFD Sender: No OFD packet to send [21:02:08]accept exits with 7 [21:02:08]New connection [21:02:08]New thread 3067583844 created [21:02:08]Thread 3067440484 joined [21:02:08]Waiting for new connection... [21:02:08] Sock 7.Parse request [21:02:08]Sock 7.Check first char [21:02:08]Sock 7.First char is OK [21:02:08]request: POST /json_proto HTTP/1.0 [21:02:08]Method: POST [21:02:08]URL: /json_proto [21:02:08]Method is POST - this is cgi request [21:02:08]url: /json_proto [21:02:08]query_string will be loaded in cgi processing [21:02:08]execute_cgi json_proto POST (null) [21:02:08]execute_cgi path=json_proto method=POST [21:02:08]POST find Content-Length [21:02:08]Host: 172.17.43.4:8080 [21:02:08]Content-Length: 620 [21:02:08]Content-Type: application/json [21:02:08] [21:02:08]POST finish read [21:02:08]Found Content-Length = 620 [21:02:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51711", "tax_sys" : 0, "items" : [ { "code": "4780014240406", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Sovereign Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:02:08]execute_script... [21:02:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51711", "tax_sys" : 0, "items" : [ { "code": "4780014240406", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Sovereign Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:02:08]POST & json_proto [21:02:08]process_json_proto [21:02:08]json parsed OK: [21:02:08]protocol is kg_v1.0 [21:02:08]action value=close_receipt [21:02:08]process_action close_receipt [21:02:08]cmd_close_receipt [21:02:08]MH_GetDate [21:02:08]Write to MH i2c: F0 00 00 33 0F 31 [21:02:08]Write i2c OK [21:02:08]MH_I2C_Read... [21:02:08]Read from MH i2c: F0 [21:02:08]MH_I2C_Read... [21:02:08]Read from MH i2c: F0 09 00 [21:02:08]MH_I2C_Read... [21:02:08]Read from MH i2c: F0 09 00 33 0F 00 52 7A F4 66 02 BF CF 66 56 [21:02:08]GetLastDocTimeStamp 1727297587 [21:02:08]current date 1727298130 [21:02:08]FM_GetShiftState [21:02:08]SAM_PROTO_GetShiftState [21:02:08]wFMCommunicate request_size=4 [21:02:08]MH_SAM_APDU [21:02:08]CAPDU: 80 13 01 00 [21:02:08]Write to MH i2c: E2 08 00 34 0F 80 13 01 00 00 00 00 00 C0 [21:02:08]Write i2c OK [21:02:08]MH_I2C_Read... [21:02:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:02:08]Read from MH i2c: E2 [21:02:08]MH_I2C_Read... [21:02:08]Read from MH i2c: E2 0E 00 [21:02:08]MH_I2C_Read... [21:02:08]Read from MH i2c: E2 0E 00 34 0F 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 51 [21:02:08]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [21:02:08]wFMCommunicate OK [21:02:08]SAM_PROTO_GetShiftState done [21:02:08]FM_GetShiftState done [21:02:08]opened in 1727224020 [21:02:08]opened+sec_in_day 1727310420 [21:02:08]quantity*price = 13400 [21:02:08]sum+1 = 13401 [21:02:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 134.00 НСП 1% : 1.19 НДС 12% : 14.23 Наличными: 134.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 90 25.09.2024 21:02 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22517 ФПД: 123996908129763 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T210210&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22517&fm=123996908129763&tin=02508201610067®Number=0000000000146243&sum=13400 0 [21:02:10]StoreToDocumentArchive [21:02:10]shift 231 fd 22517 [21:02:10]save to /storage/0231/doc_00022517 [21:02:10]save last doc name /storage/0231/doc_00022517 to /storage/kkm_last_doc_name [21:02:10]save OK [21:02:10]Clear old archive folders... [21:02:10]ProcessDocumentItem done err = 0, tmpTLVsize=273 [21:02:10]tlvbuf is 002044F0 [21:02:10]SAM_PROTO_ClearQueue [21:02:10]wFMCommunicate request_size=4 [21:02:10]MH_SAM_APDU [21:02:10]CAPDU: 80 09 00 00 [21:02:10]Write to MH i2c: E2 08 00 41 0F 80 09 00 00 00 00 00 00 C2 [21:02:10]Write i2c OK [21:02:10]MH_I2C_Read... [21:02:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:02:10]Read from MH i2c: E2 [21:02:10]MH_I2C_Read... [21:02:10]Read from MH i2c: E2 03 00 [21:02:10]MH_I2C_Read... [21:02:10]Read from MH i2c: E2 03 00 41 0F 00 90 00 C4 [21:02:10]RAPDU: 90 00 [21:02:10]wFMCommunicate OK [21:02:10]SAM_PROTO_ClearQueue done [21:02:10]KKMCreateOFDPacket [21:02:10]OFDProtocolAddRootSTLVToBuf [21:02:10]FM_MakeSignedData [21:02:10]FM_MakeSignedData [21:02:10]SAM_PROTO_SignData [21:02:10]wFMCommunicate request_size=4 [21:02:10]MH_SAM_APDU [21:02:10]CAPDU: 80 0D 01 02 [21:02:10]Write to MH i2c: E2 08 00 42 0F 80 0D 01 02 00 00 00 00 CA [21:02:10]Write i2c OK [21:02:10]MH_I2C_Read... [21:02:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:02:10]Read from MH i2c: E2 [21:02:10]MH_I2C_Read... [21:02:10]Read from MH i2c: E2 03 00 [21:02:10]MH_I2C_Read... [21:02:10]Read from MH i2c: E2 03 00 42 0F 00 90 00 C5 [21:02:10]RAPDU: 90 00 [21:02:10]wFMCommunicate OK [21:02:10]wFMCommunicate request_size=255 [21:02:10]MH_SAM_APDU [21:02:10]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5A 00 00 00 F4 03 04 00 52 7A F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 [21:02:10]Write to MH i2c: E2 02 01 43 0F 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5A 00 00 00 F4 03 04 00 52 7A F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 00 00 9D [21:02:10]Write i2c OK [21:02:10]MH_I2C_Read... [21:02:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:02:10]Read from MH i2c: E2 [21:02:10]MH_I2C_Read... [21:02:10]Read from MH i2c: E2 03 00 [21:02:10]MH_I2C_Read... [21:02:10]Read from MH i2c: E2 03 00 43 0F 00 90 00 C6 [21:02:10]RAPDU: 90 00 [21:02:10]wFMCommunicate OK [21:02:10]wFMCommunicate request_size=32 [21:02:10]MH_SAM_APDU [21:02:10]CAPDU: 80 0D 02 02 1B 30 30 30 39 35 39 33 35 38 10 04 04 00 F5 57 00 00 35 04 06 00 70 C6 47 A9 8D E3 [21:02:10]Write to MH i2c: E2 23 00 44 0F 80 0D 02 02 1B 00 30 30 30 39 35 39 33 35 38 10 04 04 00 F5 57 00 00 35 04 06 00 70 C6 47 A9 8D E3 00 00 13 [21:02:10]Write i2c OK [21:02:10]MH_I2C_Read... [21:02:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:02:10]Read from MH i2c: E2 [21:02:10]MH_I2C_Read... [21:02:10]Read from MH i2c: E2 03 00 [21:02:10]MH_I2C_Read... [21:02:10]Read from MH i2c: E2 03 00 44 0F 00 90 00 C7 [21:02:10]RAPDU: 90 00 [21:02:10]wFMCommunicate OK [21:02:10]wFMCommunicate request_size=4 [21:02:10]MH_SAM_APDU [21:02:10]CAPDU: 80 0D 03 02 [21:02:10]Write to MH i2c: E2 08 00 45 0F 80 0D 03 02 00 00 00 00 CF [21:02:10]Write i2c OK [21:02:10]MH_I2C_Read... [21:02:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:02:10]Read from MH i2c: E2 [21:02:10]MH_I2C_Read... [21:02:10]Read from MH i2c: E2 0B 00 [21:02:10]MH_I2C_Read... [21:02:10]Read from MH i2c: E2 0B 00 45 0F 00 C0 EF 6D F4 42 3F E4 6C 90 00 B1 [21:02:10]RAPDU: C0 EF 6D F4 42 3F E4 6C 90 00 [21:02:10]wFMCommunicate OK [21:02:10]SAM_PROTO_SignData done [21:02:10]FM_MakeSignedData done [21:02:10]CreateOFDProtocolMessage [21:02:10]wFMCommunicate request_size=4 [21:02:10]MH_SAM_APDU [21:02:10]CAPDU: 80 11 00 00 [21:02:10]Write to MH i2c: E2 08 00 46 0F 80 11 00 00 00 00 00 00 CF [21:02:10]Write i2c OK [21:02:10]MH_I2C_Read... [21:02:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:02:10]Read from MH i2c: E2 [21:02:10]MH_I2C_Read... [21:02:10]Read from MH i2c: E2 17 00 [21:02:10]MH_I2C_Read... [21:02:10]Read from MH i2c: E2 17 00 46 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 29 [21:02:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [21:02:10]wFMCommunicate OK [21:02:10]CreateOFDProtocolMessage done [21:02:10]OFDSenderStorePacket 22517 [21:02:10]StoreOFDPacket docnum=22517 [21:02:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 25 01 00 00 22 A5 1D 01 2E 25 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5A 00 00 00 F4 03 04 00 52 7A F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F5 57 00 00 35 04 06 00 70 C6 47 A9 8D E3 C0 EF 6D F4 42 3F E4 6C [21:02:10]CheckFolder [21:02:10]dirname=/storage/ofd_packets [21:02:10]CheckFolder done [21:02:10]ProducePacketName [21:02:10]name=ofd_packets/00022517 [21:02:10]NVStorageSaveData ofd_packets/00022517 [21:02:10]File name is /storage/ofd_packets/00022517 [21:02:10]Write 323 bytes [21:02:10]NVStorageSaveData done [21:02:10]OFDSenderStorePacket done [21:02:10]KKMCreateOFDPacket done [21:02:10]NVStorageSaveData kkm_last_timestamp [21:02:10]File name is /storage/kkm_last_timestamp [21:02:10]Write 4 bytes [21:02:10]NVStorageSaveData done [21:02:10]ExternCall_PrintAddStr [21:02:10]wPrintStart [21:02:10]Write to MH i2c: 01 00 00 47 0F 56 [21:02:10]Write i2c OK [21:02:10]MH_I2C_Read... [21:02:10]Read from MH i2c: 01 [21:02:10]MH_I2C_Read... [21:02:10]Read from MH i2c: 01 07 00 [21:02:10]MH_I2C_Read... [21:02:10]Read from MH i2c: 01 07 00 47 0F 00 00 00 00 00 FF 0F 6B [21:02:10]RasterBufferAndPrint [21:02:10]line Счет N : (3)51711 [21:02:10]line ИНН: 02508201610067 [21:02:10]line Контрольно-Кассовый Чек [21:02:10]line ПРОДАЖА [21:02:10]line Товар: 4780014240406 [21:02:10]line Сигареты Sovereign Blue [21:02:10]line 1.000 * 134.00 [21:02:10]line = 134.00 [21:02:10]line НДС 12% НСП 1% [21:02:10]line > о реализуемом товаре [21:02:10]line ИТОГО: 134.00 [21:02:10]line НСП 1% : 1.19 [21:02:10]line НДС 12% : 14.23 [21:02:10]line Наличными: 134.00 [21:02:10]line Безнал.: 0.00 [21:02:10]line Место: АЗС № 88 "Партнер Нефть" [21:02:10]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [21:02:10]line СНО: Общий режим [21:02:10]line Чек 90 25.09.2024 21:02 [21:02:10]line Смена: 231 ФФД: 1.0 [21:02:10]line ЗНМ: 0300000061 [21:02:10]line РНМ: 0000000000146243 [21:02:10]line Версия ККМ: v1.0 [21:02:10]line ФМ: 0000000000959358 [21:02:10]line ФД: 22517 [21:02:10]line ФПД: 123996908129763 [21:02:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T210210&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22517&fm=123996908129763&tin=02508201610067®Number=0000000000146243&sum=13400 [21:02:10]line 0 [21:02:10]OFD Sender: Processing packet 22517 [packets to send 23, broken 22] [21:02:10]ProducePacketName [21:02:10]name=ofd_packets/00022517 [21:02:10]OFD Sender: To server: pG, [21:02:10]CommunicateWithHost lk.salyk.kg:30040 [21:02:10]ConnectInit lk.salyk.kg [21:02:10]written 0, free lines is 4095 [21:02:11]Connected sock=10 [21:02:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 25 01 00 00 22 A5 1D 01 2E 25 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5A 00 00 00 F4 03 04 00 52 7A F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F5 57 00 00 35 04 06 00 70 C6 47 A9 8D E3 C0 EF 6D F4 42 3F E4 6C [21:02:11]Write to MH i2c: 01 00 00 6F 0F 7E [21:02:11]Write i2c OK [21:02:11]MH_I2C_Read... [21:02:11]Read from MH i2c: 01 [21:02:11]MH_I2C_Read... [21:02:11]Read from MH i2c: 01 07 00 [21:02:11]MH_I2C_Read... [21:02:11]Read from MH i2c: 01 07 00 6F 0F 00 00 00 00 00 33 0D C5 [21:02:11]RasterBufferAndPrint [21:02:11]line [21:02:11]line [21:02:11]line [21:02:11]line [21:02:11]line [21:02:11]written 0, free lines is 3390 [21:02:11]MH_Cut [21:02:11]Write to MH i2c: D1 01 00 76 0F 01 57 [21:02:11]Write i2c OK [21:02:11]MH_I2C_Read... [21:02:11]Read from MH i2c: D1 [21:02:11]MH_I2C_Read... [21:02:11]Read from MH i2c: D1 01 00 [21:02:11]MH_I2C_Read... [21:02:11]Read from MH i2c: D1 01 00 76 0F 00 56 [21:02:11]Write to MH i2c: 01 00 00 77 0F 86 [21:02:11]Write i2c OK [21:02:11]MH_I2C_Read... [21:02:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 FD 5C 47 00 9F 78 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F5 57 00 00 F4 03 04 00 74 24 F4 66 B6 04 01 00 00 69 C0 79 CB 52 97 BF 35 [21:02:11]CommunicateWithHost err = 0 [21:02:11]CheckOFDResponse [21:02:11]1017 (14) - 77093643461234 [21:02:11]1041 (16) - 0000000000959358 [21:02:11]1040 (4) - 22517 [21:02:11]1012 (4) - 25.09.2024 14:55 [21:02:11]1206 (1) - 0 [21:02:11]OFD Sender: Remove packet 22517 [21:02:11]ProducePacketName [21:02:11]name=ofd_packets/00022517 [21:02:11]NVStorageDeleteData [21:02:11]OFD Sender: No OFD packet to send [21:02:12]*** Cut start [21:02:12]*** Partial cut [21:02:12]*** CUTSNS_PIN = 1 [21:02:12]*** CUTSNS_PIN = 0 [21:02:12]*** Brake cut motor [21:02:12]Read from MH i2c: 01 [21:02:12]MH_I2C_Read... [21:02:12]*** Stop cut motor [21:02:12]*** Cut end [21:02:12]Read from MH i2c: 01 07 00 [21:02:12]MH_I2C_Read... [21:02:12]Read from MH i2c: 01 07 00 77 0F 00 00 00 00 00 FF 0F 9B [21:02:12]process_action close_receipt done [21:02:12]requested_data is exist [21:02:12]produce_requested_data [21:02:12]requested_item fm.sn is exist - process it [21:02:12]wFMCommunicate request_size=4 [21:02:12]MH_SAM_APDU [21:02:12]CAPDU: 80 11 00 00 [21:02:12]Write to MH i2c: E2 08 00 78 0F 80 11 00 00 00 00 00 00 01 [21:02:12]Write i2c OK [21:02:12]MH_I2C_Read... [21:02:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:02:12]Read from MH i2c: E2 [21:02:12]MH_I2C_Read... [21:02:12]Read from MH i2c: E2 17 00 [21:02:12]MH_I2C_Read... [21:02:12]Read from MH i2c: E2 17 00 78 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 5B [21:02:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [21:02:12]wFMCommunicate OK [21:02:12]requested_item fd.num is exist - process it [21:02:12]SAM_PROTO_GetFieldsCounters [21:02:12]wFMCommunicate request_size=4 [21:02:12]MH_SAM_APDU [21:02:12]CAPDU: 80 13 00 00 [21:02:12]Write to MH i2c: E2 08 00 79 0F 80 13 00 00 00 00 00 00 04 [21:02:12]Write i2c OK [21:02:12]MH_I2C_Read... [21:02:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:02:12]Read from MH i2c: E2 [21:02:12]MH_I2C_Read... [21:02:12]Read from MH i2c: E2 62 00 [21:02:12]MH_I2C_Read... [21:02:12]Read from MH i2c: E2 62 00 79 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 F5 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 5A 00 00 00 5E 04 04 00 5A 00 00 00 57 04 04 00 5B 00 00 00 19 04 04 00 00 00 00 00 90 00 68 [21:02:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 F5 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 5A 00 00 00 5E 04 04 00 5A 00 00 00 57 04 04 00 5B 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:02:12]wFMCommunicate OK [21:02:12]SAM_PROTO_GetFieldsCounters done [21:02:12]requested_item shift.num is exist - process it [21:02:12]requested_item shift.opened is exist - process it [21:02:12]req_shift_opened [21:02:12]FM_GetShiftState [21:02:12]SAM_PROTO_GetShiftState [21:02:12]wFMCommunicate request_size=4 [21:02:12]MH_SAM_APDU [21:02:12]CAPDU: 80 13 01 00 [21:02:12]Write to MH i2c: E2 08 00 7A 0F 80 13 01 00 00 00 00 00 06 [21:02:12]Write i2c OK [21:02:12]MH_I2C_Read... [21:02:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:02:12]Read from MH i2c: E2 [21:02:12]MH_I2C_Read... [21:02:12]Read from MH i2c: E2 0E 00 [21:02:12]MH_I2C_Read... [21:02:12]Read from MH i2c: E2 0E 00 7A 0F 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 97 [21:02:12]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [21:02:12]wFMCommunicate OK [21:02:12]SAM_PROTO_GetShiftState done [21:02:12]FM_GetShiftState done [21:02:12]req_shift_opened done [21:02:12]requested_item shift.open_date is exist - process it [21:02:12]req_shift_open_date [21:02:12]req_shift_open_date done [21:02:12]produce_requested_data done [21:02:12]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22517,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [21:02:12]process_action_free close_receipt [21:02:12]json_value_free [21:02:12]json_value_free done [21:02:12]process_json_proto returns [21:02:12]Send response to host [21:02:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22517,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [21:02:12]free response buf [21:02:12]execute_script done [21:02:12]execute_script returns [21:02:12]free content buf [21:02:12]Sock 7.Close socket [21:02:12]Sock 7.Thread stoped [21:02:16]OFD Sender: No OFD packet to send [21:02:21]OFD Sender: No OFD packet to send [21:02:26]OFD Sender: No OFD packet to send [21:02:31]OFD Sender: No OFD packet to send [21:02:36]OFD Sender: No OFD packet to send [21:02:41]OFD Sender: No OFD packet to send [21:02:46]OFD Sender: No OFD packet to send [21:02:51]OFD Sender: No OFD packet to send [21:02:56]OFD Sender: No OFD packet to send [21:03:01]OFD Sender: No OFD packet to send [21:03:06]OFD Sender: No OFD packet to send [21:03:11]OFD Sender: No OFD packet to send [21:03:16]OFD Sender: No OFD packet to send [21:03:21]OFD Sender: No OFD packet to send [21:03:26]OFD Sender: No OFD packet to send [21:03:31]OFD Sender: No OFD packet to send [21:03:36]OFD Sender: No OFD packet to send [21:03:41]OFD Sender: No OFD packet to send [21:03:47]OFD Sender: No OFD packet to send [21:03:52]OFD Sender: No OFD packet to send [21:03:57]OFD Sender: No OFD packet to send [21:04:02]OFD Sender: No OFD packet to send [21:04:07]OFD Sender: No OFD packet to send [21:04:12]OFD Sender: No OFD packet to send [21:04:17]OFD Sender: No OFD packet to send [21:04:22]OFD Sender: No OFD packet to send [21:04:27]OFD Sender: No OFD packet to send [21:04:32]OFD Sender: No OFD packet to send [21:04:37]OFD Sender: No OFD packet to send [21:04:42]OFD Sender: No OFD packet to send [21:04:47]OFD Sender: No OFD packet to send [21:04:52]OFD Sender: No OFD packet to send [21:04:57]OFD Sender: No OFD packet to send [21:05:02]OFD Sender: No OFD packet to send [21:05:07]OFD Sender: No OFD packet to send [21:05:12]OFD Sender: No OFD packet to send [21:05:17]OFD Sender: No OFD packet to send [21:05:22]OFD Sender: No OFD packet to send [21:05:27]OFD Sender: No OFD packet to send [21:05:32]OFD Sender: No OFD packet to send [21:05:37]OFD Sender: No OFD packet to send [21:05:42]OFD Sender: No OFD packet to send [21:05:47]OFD Sender: No OFD packet to send [21:05:52]OFD Sender: No OFD packet to send [21:05:57]OFD Sender: No OFD packet to send [21:06:02]OFD Sender: No OFD packet to send [21:06:07]OFD Sender: No OFD packet to send [21:06:12]OFD Sender: No OFD packet to send [21:06:17]OFD Sender: No OFD packet to send [21:06:22]OFD Sender: No OFD packet to send [21:06:27]OFD Sender: No OFD packet to send [21:06:32]OFD Sender: No OFD packet to send [21:06:37]OFD Sender: No OFD packet to send [21:06:42]OFD Sender: No OFD packet to send [21:06:47]OFD Sender: No OFD packet to send [21:06:52]OFD Sender: No OFD packet to send [21:06:57]OFD Sender: No OFD packet to send [21:07:02]OFD Sender: No OFD packet to send [21:07:07]OFD Sender: No OFD packet to send [21:07:12]OFD Sender: No OFD packet to send [21:07:17]OFD Sender: No OFD packet to send [21:07:22]OFD Sender: No OFD packet to send [21:07:27]OFD Sender: No OFD packet to send [21:07:32]OFD Sender: No OFD packet to send [21:07:37]OFD Sender: No OFD packet to send [21:07:42]OFD Sender: No OFD packet to send [21:07:47]OFD Sender: No OFD packet to send [21:07:52]OFD Sender: No OFD packet to send [21:07:57]OFD Sender: No OFD packet to send [21:08:02]OFD Sender: No OFD packet to send [21:08:07]OFD Sender: No OFD packet to send [21:08:12]OFD Sender: No OFD packet to send [21:08:17]OFD Sender: No OFD packet to send [21:08:22]OFD Sender: No OFD packet to send [21:08:27]OFD Sender: No OFD packet to send [21:08:32]OFD Sender: No OFD packet to send [21:08:37]OFD Sender: No OFD packet to send [21:08:42]OFD Sender: No OFD packet to send [21:08:47]OFD Sender: No OFD packet to send [21:08:52]OFD Sender: No OFD packet to send [21:08:57]OFD Sender: No OFD packet to send [21:09:02]OFD Sender: No OFD packet to send [21:09:07]OFD Sender: No OFD packet to send [21:09:12]OFD Sender: No OFD packet to send [21:09:17]OFD Sender: No OFD packet to send [21:09:22]OFD Sender: No OFD packet to send [21:09:27]OFD Sender: No OFD packet to send [21:09:32]OFD Sender: No OFD packet to send [21:09:37]OFD Sender: No OFD packet to send [21:09:42]OFD Sender: No OFD packet to send [21:09:47]OFD Sender: No OFD packet to send [21:09:52]OFD Sender: No OFD packet to send [21:09:57]OFD Sender: No OFD packet to send [21:10:02]OFD Sender: No OFD packet to send [21:10:07]OFD Sender: No OFD packet to send [21:10:12]OFD Sender: No OFD packet to send [21:10:17]OFD Sender: No OFD packet to send [21:10:22]OFD Sender: No OFD packet to send [21:10:27]OFD Sender: No OFD packet to send [21:10:32]OFD Sender: No OFD packet to send [21:10:37]OFD Sender: No OFD packet to send [21:10:42]OFD Sender: No OFD packet to send [21:10:47]OFD Sender: No OFD packet to send [21:10:52]OFD Sender: No OFD packet to send [21:10:57]OFD Sender: No OFD packet to send [21:11:02]OFD Sender: No OFD packet to send [21:11:07]OFD Sender: No OFD packet to send [21:11:12]OFD Sender: No OFD packet to send [21:11:17]OFD Sender: No OFD packet to send [21:11:22]OFD Sender: No OFD packet to send [21:11:27]OFD Sender: No OFD packet to send [21:11:32]OFD Sender: No OFD packet to send [21:11:37]OFD Sender: No OFD packet to send [21:11:42]OFD Sender: No OFD packet to send [21:11:47]OFD Sender: No OFD packet to send [21:11:52]OFD Sender: No OFD packet to send [21:11:57]OFD Sender: No OFD packet to send [21:12:02]OFD Sender: No OFD packet to send [21:12:07]OFD Sender: No OFD packet to send [21:12:12]OFD Sender: No OFD packet to send [21:12:17]OFD Sender: No OFD packet to send [21:12:22]OFD Sender: No OFD packet to send [21:12:27]OFD Sender: No OFD packet to send [21:12:32]OFD Sender: No OFD packet to send [21:12:37]OFD Sender: No OFD packet to send [21:12:42]OFD Sender: No OFD packet to send [21:12:47]OFD Sender: No OFD packet to send [21:12:52]OFD Sender: No OFD packet to send [21:12:57]OFD Sender: No OFD packet to send [21:13:02]OFD Sender: No OFD packet to send [21:13:07]OFD Sender: No OFD packet to send [21:13:12]OFD Sender: No OFD packet to send [21:13:17]OFD Sender: No OFD packet to send [21:13:22]OFD Sender: No OFD packet to send [21:13:27]OFD Sender: No OFD packet to send [21:13:32]OFD Sender: No OFD packet to send [21:13:37]OFD Sender: No OFD packet to send [21:13:42]OFD Sender: No OFD packet to send [21:13:47]OFD Sender: No OFD packet to send [21:13:52]OFD Sender: No OFD packet to send [21:13:57]OFD Sender: No OFD packet to send [21:14:02]OFD Sender: No OFD packet to send [21:14:07]OFD Sender: No OFD packet to send [21:14:12]OFD Sender: No OFD packet to send [21:14:17]OFD Sender: No OFD packet to send [21:14:22]OFD Sender: No OFD packet to send [21:14:27]OFD Sender: No OFD packet to send [21:14:32]OFD Sender: No OFD packet to send [21:14:37]OFD Sender: No OFD packet to send [21:14:42]OFD Sender: No OFD packet to send [21:14:47]OFD Sender: No OFD packet to send [21:14:52]OFD Sender: No OFD packet to send [21:14:57]OFD Sender: No OFD packet to send [21:15:02]OFD Sender: No OFD packet to send [21:15:07]OFD Sender: No OFD packet to send [21:15:12]OFD Sender: No OFD packet to send [21:15:17]OFD Sender: No OFD packet to send [21:15:22]OFD Sender: No OFD packet to send [21:15:27]OFD Sender: No OFD packet to send [21:15:32]OFD Sender: No OFD packet to send [21:15:37]OFD Sender: No OFD packet to send [21:15:42]OFD Sender: No OFD packet to send [21:15:47]OFD Sender: No OFD packet to send [21:15:52]OFD Sender: No OFD packet to send [21:15:57]OFD Sender: No OFD packet to send [21:16:02]OFD Sender: No OFD packet to send [21:16:07]OFD Sender: No OFD packet to send [21:16:12]OFD Sender: No OFD packet to send [21:16:17]OFD Sender: No OFD packet to send [21:16:22]OFD Sender: No OFD packet to send [21:16:27]OFD Sender: No OFD packet to send [21:16:32]OFD Sender: No OFD packet to send [21:16:37]OFD Sender: No OFD packet to send [21:16:42]OFD Sender: No OFD packet to send [21:16:47]OFD Sender: No OFD packet to send [21:16:52]OFD Sender: No OFD packet to send [21:16:57]OFD Sender: No OFD packet to send [21:17:02]OFD Sender: No OFD packet to send [21:17:07]OFD Sender: No OFD packet to send [21:17:12]OFD Sender: No OFD packet to send [21:17:17]OFD Sender: No OFD packet to send [21:17:22]OFD Sender: No OFD packet to send [21:17:27]OFD Sender: No OFD packet to send [21:17:32]OFD Sender: No OFD packet to send [21:17:37]OFD Sender: No OFD packet to send [21:17:42]OFD Sender: No OFD packet to send [21:17:47]OFD Sender: No OFD packet to send [21:17:52]OFD Sender: No OFD packet to send [21:17:57]OFD Sender: No OFD packet to send [21:18:02]OFD Sender: No OFD packet to send [21:18:07]OFD Sender: No OFD packet to send [21:18:12]OFD Sender: No OFD packet to send [21:18:17]OFD Sender: No OFD packet to send [21:18:22]OFD Sender: No OFD packet to send [21:18:27]OFD Sender: No OFD packet to send [21:18:32]OFD Sender: No OFD packet to send [21:18:37]OFD Sender: No OFD packet to send [21:18:42]OFD Sender: No OFD packet to send [21:18:47]OFD Sender: No OFD packet to send [21:18:52]OFD Sender: No OFD packet to send [21:18:57]OFD Sender: No OFD packet to send [21:19:02]OFD Sender: No OFD packet to send [21:19:07]OFD Sender: No OFD packet to send [21:19:12]OFD Sender: No OFD packet to send [21:19:17]OFD Sender: No OFD packet to send [21:19:22]OFD Sender: No OFD packet to send [21:19:27]OFD Sender: No OFD packet to send [21:19:32]OFD Sender: No OFD packet to send [21:19:37]OFD Sender: No OFD packet to send [21:19:42]OFD Sender: No OFD packet to send [21:19:47]OFD Sender: No OFD packet to send [21:19:52]OFD Sender: No OFD packet to send [21:19:57]OFD Sender: No OFD packet to send [21:20:02]OFD Sender: No OFD packet to send [21:20:07]OFD Sender: No OFD packet to send [21:20:12]OFD Sender: No OFD packet to send [21:20:17]OFD Sender: No OFD packet to send [21:20:22]OFD Sender: No OFD packet to send [21:20:23]accept exits with 9 [21:20:23]New connection [21:20:23]New thread 3067440484 created [21:20:23]Thread 3067583844 joined [21:20:23]Waiting for new connection... [21:20:23] Sock 9.Parse request [21:20:23]Sock 9.Check first char [21:20:23]Sock 9.First char is OK [21:20:23]request: POST /json_proto HTTP/1.0 [21:20:23]Method: POST [21:20:23]URL: /json_proto [21:20:23]Method is POST - this is cgi request [21:20:23]url: /json_proto [21:20:23]query_string will be loaded in cgi processing [21:20:23]execute_cgi json_proto POST (null) [21:20:23]execute_cgi path=json_proto method=POST [21:20:23]POST find Content-Length [21:20:23]Host: 172.17.43.4:8080 [21:20:23]Content-Length: 1107 [21:20:23]Content-Type: application/json [21:20:23] [21:20:23]POST finish read [21:20:23]Found Content-Length = 1107 [21:20:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51712", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 156.00, "quantity" : 1.000, "sum" : 156.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4780014240406", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Sovereign Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 330.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:20:23]execute_script... [21:20:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51712", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 156.00, "quantity" : 1.000, "sum" : 156.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4780014240406", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Sovereign Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 330.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:20:23]POST & json_proto [21:20:23]process_json_proto [21:20:23]json parsed OK: [21:20:23]protocol is kg_v1.0 [21:20:23]action value=close_receipt [21:20:23]process_action close_receipt [21:20:23]cmd_close_receipt [21:20:23]MH_GetDate [21:20:23]Write to MH i2c: F0 00 00 7B 0F 79 [21:20:23]Write i2c OK [21:20:23]MH_I2C_Read... [21:20:23]Read from MH i2c: F0 [21:20:23]MH_I2C_Read... [21:20:23]Read from MH i2c: F0 09 00 [21:20:23]MH_I2C_Read... [21:20:23]Read from MH i2c: F0 09 00 7B 0F 00 99 7E F4 66 02 BF CF 66 E9 [21:20:23]GetLastDocTimeStamp 1727298130 [21:20:23]current date 1727299225 [21:20:23]FM_GetShiftState [21:20:23]SAM_PROTO_GetShiftState [21:20:23]wFMCommunicate request_size=4 [21:20:23]MH_SAM_APDU [21:20:23]CAPDU: 80 13 01 00 [21:20:23]Write to MH i2c: E2 08 00 7C 0F 80 13 01 00 00 00 00 00 08 [21:20:23]Write i2c OK [21:20:23]MH_I2C_Read... [21:20:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:20:23]Read from MH i2c: E2 [21:20:23]MH_I2C_Read... [21:20:23]Read from MH i2c: E2 0E 00 [21:20:23]MH_I2C_Read... [21:20:23]Read from MH i2c: E2 0E 00 7C 0F 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 99 [21:20:23]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [21:20:23]wFMCommunicate OK [21:20:23]SAM_PROTO_GetShiftState done [21:20:23]FM_GetShiftState done [21:20:23]opened in 1727224020 [21:20:23]opened+sec_in_day 1727310420 [21:20:23]quantity*price = 15600 [21:20:23]sum+1 = 15601 [21:20:23]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160211 Вода Легенда 0,5л 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4780014240406 Сигареты Sovereign Blue 1.000 * 134.00 = 134.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 330.00 НСП 1% : 2.92 НДС 12% : 35.05 Наличными: 330.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 91 25.09.2024 21:20 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22518 ФПД: 37713756936391 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T212025&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22518&fm=37713756936391&tin=02508201610067®Number=0000000000146243&sum=33000 0 [21:20:24]StoreToDocumentArchive [21:20:24]shift 231 fd 22518 [21:20:24]save to /storage/0231/doc_00022518 [21:20:24]save last doc name /storage/0231/doc_00022518 to /storage/kkm_last_doc_name [21:20:24]save OK [21:20:24]Clear old archive folders... [21:20:24]ProcessDocumentItem done err = 0, tmpTLVsize=478 [21:20:24]tlvbuf is 0022D470 [21:20:24]SAM_PROTO_ClearQueue [21:20:24]wFMCommunicate request_size=4 [21:20:24]MH_SAM_APDU [21:20:24]CAPDU: 80 09 00 00 [21:20:24]Write to MH i2c: E2 08 00 89 0F 80 09 00 00 00 00 00 00 0A [21:20:24]Write i2c OK [21:20:24]MH_I2C_Read... [21:20:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:20:24]Read from MH i2c: E2 [21:20:24]MH_I2C_Read... [21:20:24]Read from MH i2c: E2 03 00 [21:20:24]MH_I2C_Read... [21:20:24]Read from MH i2c: E2 03 00 89 0F 00 90 00 0C [21:20:24]RAPDU: 90 00 [21:20:24]wFMCommunicate OK [21:20:24]SAM_PROTO_ClearQueue done [21:20:24]KKMCreateOFDPacket [21:20:24]OFDProtocolAddRootSTLVToBuf [21:20:24]FM_MakeSignedData [21:20:24]FM_MakeSignedData [21:20:24]SAM_PROTO_SignData [21:20:24]wFMCommunicate request_size=4 [21:20:24]MH_SAM_APDU [21:20:24]CAPDU: 80 0D 01 02 [21:20:24]Write to MH i2c: E2 08 00 8A 0F 80 0D 01 02 00 00 00 00 12 [21:20:24]Write i2c OK [21:20:24]MH_I2C_Read... [21:20:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:20:24]Read from MH i2c: E2 [21:20:24]MH_I2C_Read... [21:20:24]Read from MH i2c: E2 03 00 [21:20:24]MH_I2C_Read... [21:20:24]Read from MH i2c: E2 03 00 8A 0F 00 90 00 0D [21:20:24]RAPDU: 90 00 [21:20:24]wFMCommunicate OK [21:20:24]wFMCommunicate request_size=255 [21:20:24]MH_SAM_APDU [21:20:24]CAPDU: 80 0D 02 02 FA 03 00 DE 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 [21:20:24]Write to MH i2c: E2 02 01 8B 0F 80 0D 02 02 FA 00 03 00 DE 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 00 00 81 [21:20:24]Write i2c OK [21:20:24]MH_I2C_Read... [21:20:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:20:25]Read from MH i2c: E2 [21:20:25]MH_I2C_Read... [21:20:25]Read from MH i2c: E2 03 00 [21:20:25]MH_I2C_Read... [21:20:25]Read from MH i2c: E2 03 00 8B 0F 00 90 00 0E [21:20:25]RAPDU: 90 00 [21:20:25]wFMCommunicate OK [21:20:25]wFMCommunicate request_size=237 [21:20:25]MH_SAM_APDU [21:20:25]CAPDU: 80 0D 02 02 E8 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 0D 00 00 00 00 07 04 06 00 E8 80 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 99 7E F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F6 57 00 00 35 04 06 00 22 4C EB 15 D8 C7 [21:20:25]Write to MH i2c: E2 F0 00 8C 0F 80 0D 02 02 E8 00 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 0D 00 00 00 00 07 04 06 00 E8 80 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 99 7E F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F6 57 00 00 35 04 06 00 22 4C EB 15 D8 C7 00 00 E9 [21:20:25]Write i2c OK [21:20:25]MH_I2C_Read... [21:20:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:20:25]Read from MH i2c: E2 [21:20:25]MH_I2C_Read... [21:20:25]Read from MH i2c: E2 03 00 [21:20:25]MH_I2C_Read... [21:20:25]Read from MH i2c: E2 03 00 8C 0F 00 90 00 0F [21:20:25]RAPDU: 90 00 [21:20:25]wFMCommunicate OK [21:20:25]wFMCommunicate request_size=4 [21:20:25]MH_SAM_APDU [21:20:25]CAPDU: 80 0D 03 02 [21:20:25]Write to MH i2c: E2 08 00 8D 0F 80 0D 03 02 00 00 00 00 17 [21:20:25]Write i2c OK [21:20:25]MH_I2C_Read... [21:20:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:20:25]Read from MH i2c: E2 [21:20:25]MH_I2C_Read... [21:20:25]Read from MH i2c: E2 0B 00 [21:20:25]MH_I2C_Read... [21:20:25]Read from MH i2c: E2 0B 00 8D 0F 00 FD D6 4D 73 FB 03 BC A3 90 00 08 [21:20:25]RAPDU: FD D6 4D 73 FB 03 BC A3 90 00 [21:20:25]wFMCommunicate OK [21:20:25]SAM_PROTO_SignData done [21:20:25]FM_MakeSignedData done [21:20:25]CreateOFDProtocolMessage [21:20:25]wFMCommunicate request_size=4 [21:20:25]MH_SAM_APDU [21:20:25]CAPDU: 80 11 00 00 [21:20:25]Write to MH i2c: E2 08 00 8E 0F 80 11 00 00 00 00 00 00 17 [21:20:25]Write i2c OK [21:20:25]MH_I2C_Read... [21:20:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:20:25]Read from MH i2c: E2 [21:20:25]MH_I2C_Read... [21:20:25]Read from MH i2c: E2 17 00 [21:20:25]MH_I2C_Read... [21:20:25]Read from MH i2c: E2 17 00 8E 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 71 [21:20:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [21:20:25]wFMCommunicate OK [21:20:25]CreateOFDProtocolMessage done [21:20:25]OFDSenderStorePacket 22518 [21:20:25]StoreOFDPacket docnum=22518 [21:20:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 F2 01 00 00 6A 1D EA 01 63 4E 5A 03 01 00 03 00 DE 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 0D 00 00 00 00 07 04 06 00 E8 80 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 99 7E F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F6 57 00 00 35 04 06 00 22 4C EB 15 D8 C7 FD D6 4D 73 FB 03 BC A3 [21:20:25]CheckFolder [21:20:25]dirname=/storage/ofd_packets [21:20:25]CheckFolder done [21:20:25]ProducePacketName [21:20:25]name=ofd_packets/00022518 [21:20:25]NVStorageSaveData ofd_packets/00022518 [21:20:25]File name is /storage/ofd_packets/00022518 [21:20:25]Write 528 bytes [21:20:25]NVStorageSaveData done [21:20:25]OFDSenderStorePacket done [21:20:25]KKMCreateOFDPacket done [21:20:25]NVStorageSaveData kkm_last_timestamp [21:20:25]File name is /storage/kkm_last_timestamp [21:20:25]Write 4 bytes [21:20:25]NVStorageSaveData done [21:20:25]ExternCall_PrintAddStr [21:20:25]wPrintStart [21:20:25]Write to MH i2c: 01 00 00 8F 0F 9E [21:20:25]Write i2c OK [21:20:25]MH_I2C_Read... [21:20:25]Read from MH i2c: 01 [21:20:25]MH_I2C_Read... [21:20:25]Read from MH i2c: 01 07 00 [21:20:25]MH_I2C_Read... [21:20:25]Read from MH i2c: 01 07 00 8F 0F 00 00 00 00 00 FF 0F B3 [21:20:25]RasterBufferAndPrint [21:20:25]line Счет N : (3)51712 [21:20:25]line ИНН: 02508201610067 [21:20:25]line Контрольно-Кассовый Чек [21:20:25]line ПРОДАЖА [21:20:25]line Товар: 48741958 [21:20:25]line Сигареты Parliament Aqua Blue [21:20:25]line 1.000 * 156.00 [21:20:25]line = 156.00 [21:20:25]line НДС 12% НСП 1% [21:20:25]line > о реализуемом товаре [21:20:25]line Товар: 4700000160211 [21:20:25]line Вода Легенда 0,5л [21:20:25]line 1.000 * 40.00 [21:20:25]line = 40.00 [21:20:25]line НДС 12% НСП 1% [21:20:25]line > о реализуемом товаре [21:20:25]line Товар: 4780014240406 [21:20:25]line Сигареты Sovereign Blue [21:20:25]line 1.000 * 134.00 [21:20:25]line = 134.00 [21:20:25]line НДС 12% НСП 1% [21:20:25]line > о реализуемом товаре [21:20:25]line ИТОГО: 330.00 [21:20:25]line НСП 1% : 2.92 [21:20:25]line НДС 12% : 35.05 [21:20:25]line Наличными: 330.00 [21:20:25]line Безнал.: 0.00 [21:20:25]line Место: АЗС № 88 "Партнер Нефть" [21:20:25]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [21:20:25]line СНО: Общий режим [21:20:25]line Чек 91 25.09.2024 21:20 [21:20:25]line Смена: 231 ФФД: 1.0 [21:20:25]line ЗНМ: 0300000061 [21:20:25]line РНМ: 0000000000146243 [21:20:25]line Версия ККМ: v1.0 [21:20:25]line ФМ: 0000000000959358 [21:20:25]line ФД: 22518 [21:20:25]line ФПД: 37713756936391 [21:20:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T212025&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22518&fm=37713756936391&tin=02508201610067®Number=0000000000146243&sum=33000 [21:20:25]line 0 [21:20:25]written 0, free lines is 4095 [21:20:25]OFD Sender: Processing packet 22518 [packets to send 23, broken 22] [21:20:25]ProducePacketName [21:20:25]name=ofd_packets/00022518 [21:20:25]OFD Sender: To server: pG, [21:20:25]CommunicateWithHost lk.salyk.kg:30040 [21:20:25]ConnectInit lk.salyk.kg [21:20:25]Connected sock=10 [21:20:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 F2 01 00 00 6A 1D EA 01 63 4E 5A 03 01 00 03 00 DE 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 0D 00 00 00 00 07 04 06 00 E8 80 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 99 7E F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F6 57 00 00 35 04 06 00 22 4C EB 15 D8 C7 FD D6 4D 73 FB 03 BC A3 [21:20:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 5E CF 47 00 68 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 30 39 35 39 33 35 38 10 04 04 00 F6 57 00 00 F4 03 04 00 BA 28 F4 66 B6 04 01 00 00 C7 6E E2 BF E7 5F 73 D5 [21:20:26]CommunicateWithHost err = 0 [21:20:26]CheckOFDResponse [21:20:26]1017 (14) - 77093643461234 [21:20:26]1041 (16) - 0000000000959358 [21:20:26]1040 (4) - 22518 [21:20:26]1012 (4) - 25.09.2024 15:14 [21:20:26]1206 (1) - 0 [21:20:26]OFD Sender: Remove packet 22518 [21:20:26]ProducePacketName [21:20:26]name=ofd_packets/00022518 [21:20:26]NVStorageDeleteData [21:20:26]Write to MH i2c: 01 00 00 C4 0F D3 [21:20:26]Write i2c OK [21:20:26]MH_I2C_Read... [21:20:26]Read from MH i2c: 01 [21:20:26]MH_I2C_Read... [21:20:26]Read from MH i2c: 01 07 00 [21:20:26]MH_I2C_Read... [21:20:26]Read from MH i2c: 01 07 00 C4 0F 00 00 00 00 00 8D 0C 73 [21:20:26]RasterBufferAndPrint [21:20:26]line [21:20:26]line [21:20:26]line [21:20:26]line [21:20:26]line [21:20:26]written 0, free lines is 3223 [21:20:26]MH_Cut [21:20:26]Write to MH i2c: D1 01 00 CB 0F 01 AC [21:20:26]Write i2c OK [21:20:26]MH_I2C_Read... [21:20:26]Read from MH i2c: D1 [21:20:26]MH_I2C_Read... [21:20:26]Read from MH i2c: D1 01 00 [21:20:26]MH_I2C_Read... [21:20:26]Read from MH i2c: D1 01 00 CB 0F 00 AB [21:20:26]Write to MH i2c: 01 00 00 CC 0F DB [21:20:26]Write i2c OK [21:20:26]MH_I2C_Read... [21:20:26]OFD Sender: No OFD packet to send [21:20:26]*** Cut start [21:20:26]*** Partial cut [21:20:26]*** CUTSNS_PIN = 1 [21:20:26]*** CUTSNS_PIN = 0 [21:20:27]*** Brake cut motor [21:20:27]Read from MH i2c: 01 [21:20:27]MH_I2C_Read... [21:20:27]*** Stop cut motor [21:20:27]*** Cut end [21:20:27]Read from MH i2c: 01 07 00 [21:20:27]MH_I2C_Read... [21:20:27]Read from MH i2c: 01 07 00 CC 0F 00 00 00 00 00 FF 0F F0 [21:20:27]process_action close_receipt done [21:20:27]requested_data is exist [21:20:27]produce_requested_data [21:20:27]requested_item fm.sn is exist - process it [21:20:27]wFMCommunicate request_size=4 [21:20:27]MH_SAM_APDU [21:20:27]CAPDU: 80 11 00 00 [21:20:27]Write to MH i2c: E2 08 00 CD 0F 80 11 00 00 00 00 00 00 56 [21:20:27]Write i2c OK [21:20:27]MH_I2C_Read... [21:20:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:20:27]Read from MH i2c: E2 [21:20:27]MH_I2C_Read... [21:20:27]Read from MH i2c: E2 17 00 [21:20:27]MH_I2C_Read... [21:20:27]Read from MH i2c: E2 17 00 CD 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 B0 [21:20:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [21:20:27]wFMCommunicate OK [21:20:27]requested_item fd.num is exist - process it [21:20:27]SAM_PROTO_GetFieldsCounters [21:20:27]wFMCommunicate request_size=4 [21:20:27]MH_SAM_APDU [21:20:27]CAPDU: 80 13 00 00 [21:20:27]Write to MH i2c: E2 08 00 CE 0F 80 13 00 00 00 00 00 00 59 [21:20:27]Write i2c OK [21:20:27]MH_I2C_Read... [21:20:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:20:27]Read from MH i2c: E2 [21:20:27]MH_I2C_Read... [21:20:27]Read from MH i2c: E2 62 00 [21:20:27]MH_I2C_Read... [21:20:27]Read from MH i2c: E2 62 00 CE 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 F6 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 5B 00 00 00 5E 04 04 00 5B 00 00 00 57 04 04 00 5C 00 00 00 19 04 04 00 00 00 00 00 90 00 C1 [21:20:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 F6 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 5B 00 00 00 5E 04 04 00 5B 00 00 00 57 04 04 00 5C 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:20:27]wFMCommunicate OK [21:20:27]SAM_PROTO_GetFieldsCounters done [21:20:27]requested_item shift.num is exist - process it [21:20:27]requested_item shift.opened is exist - process it [21:20:27]req_shift_opened [21:20:27]FM_GetShiftState [21:20:27]SAM_PROTO_GetShiftState [21:20:27]wFMCommunicate request_size=4 [21:20:27]MH_SAM_APDU [21:20:27]CAPDU: 80 13 01 00 [21:20:27]Write to MH i2c: E2 08 00 CF 0F 80 13 01 00 00 00 00 00 5B [21:20:27]Write i2c OK [21:20:27]MH_I2C_Read... [21:20:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:20:27]Read from MH i2c: E2 [21:20:27]MH_I2C_Read... [21:20:27]Read from MH i2c: E2 0E 00 [21:20:27]MH_I2C_Read... [21:20:27]Read from MH i2c: E2 0E 00 CF 0F 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 EC [21:20:27]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [21:20:27]wFMCommunicate OK [21:20:27]SAM_PROTO_GetShiftState done [21:20:27]FM_GetShiftState done [21:20:27]req_shift_opened done [21:20:27]requested_item shift.open_date is exist - process it [21:20:27]req_shift_open_date [21:20:27]req_shift_open_date done [21:20:27]produce_requested_data done [21:20:27]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22518,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [21:20:27]process_action_free close_receipt [21:20:27]json_value_free [21:20:27]json_value_free done [21:20:27]process_json_proto returns [21:20:27]Send response to host [21:20:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22518,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [21:20:27]free response buf [21:20:27]execute_script done [21:20:27]execute_script returns [21:20:27]free content buf [21:20:27]Sock 9.Close socket [21:20:27]Sock 9.Thread stoped [21:20:31]OFD Sender: No OFD packet to send [21:20:36]OFD Sender: No OFD packet to send [21:20:41]OFD Sender: No OFD packet to send [21:20:46]OFD Sender: No OFD packet to send [21:20:51]OFD Sender: No OFD packet to send [21:20:56]OFD Sender: No OFD packet to send [21:21:01]OFD Sender: No OFD packet to send [21:21:06]OFD Sender: No OFD packet to send [21:21:11]OFD Sender: No OFD packet to send [21:21:16]OFD Sender: No OFD packet to send [21:21:21]OFD Sender: No OFD packet to send [21:21:26]OFD Sender: No OFD packet to send [21:21:31]OFD Sender: No OFD packet to send [21:21:36]OFD Sender: No OFD packet to send [21:21:41]OFD Sender: No OFD packet to send [21:21:46]OFD Sender: No OFD packet to send [21:21:51]OFD Sender: No OFD packet to send [21:21:56]OFD Sender: No OFD packet to send [21:22:01]OFD Sender: No OFD packet to send [21:22:06]OFD Sender: No OFD packet to send [21:22:11]OFD Sender: No OFD packet to send [21:22:16]OFD Sender: No OFD packet to send [21:22:21]OFD Sender: No OFD packet to send [21:22:26]OFD Sender: No OFD packet to send [21:22:31]OFD Sender: No OFD packet to send [21:22:36]OFD Sender: No OFD packet to send [21:22:41]OFD Sender: No OFD packet to send [21:22:46]OFD Sender: No OFD packet to send [21:22:51]OFD Sender: No OFD packet to send [21:22:56]OFD Sender: No OFD packet to send [21:23:01]OFD Sender: No OFD packet to send [21:23:06]OFD Sender: No OFD packet to send [21:23:11]OFD Sender: No OFD packet to send [21:23:16]OFD Sender: No OFD packet to send [21:23:21]OFD Sender: No OFD packet to send [21:23:26]OFD Sender: No OFD packet to send [21:23:31]OFD Sender: No OFD packet to send [21:23:36]OFD Sender: No OFD packet to send [21:23:41]OFD Sender: No OFD packet to send [21:23:46]OFD Sender: No OFD packet to send [21:23:51]OFD Sender: No OFD packet to send [21:23:56]OFD Sender: No OFD packet to send [21:24:01]OFD Sender: No OFD packet to send [21:24:06]OFD Sender: No OFD packet to send [21:24:11]OFD Sender: No OFD packet to send [21:24:16]OFD Sender: No OFD packet to send [21:24:21]OFD Sender: No OFD packet to send [21:24:26]OFD Sender: No OFD packet to send [21:24:31]OFD Sender: No OFD packet to send [21:24:36]OFD Sender: No OFD packet to send [21:24:41]OFD Sender: No OFD packet to send [21:24:46]OFD Sender: No OFD packet to send [21:24:51]OFD Sender: No OFD packet to send [21:24:56]OFD Sender: No OFD packet to send [21:25:01]OFD Sender: No OFD packet to send [21:25:06]OFD Sender: No OFD packet to send [21:25:11]OFD Sender: No OFD packet to send [21:25:16]OFD Sender: No OFD packet to send [21:25:21]OFD Sender: No OFD packet to send [21:25:26]OFD Sender: No OFD packet to send [21:25:31]OFD Sender: No OFD packet to send [21:25:36]OFD Sender: No OFD packet to send [21:25:41]OFD Sender: No OFD packet to send [21:25:46]OFD Sender: No OFD packet to send [21:25:51]OFD Sender: No OFD packet to send [21:25:56]OFD Sender: No OFD packet to send [21:26:01]OFD Sender: No OFD packet to send [21:26:06]OFD Sender: No OFD packet to send [21:26:11]OFD Sender: No OFD packet to send [21:26:16]OFD Sender: No OFD packet to send [21:26:21]OFD Sender: No OFD packet to send [21:26:26]OFD Sender: No OFD packet to send [21:26:31]OFD Sender: No OFD packet to send [21:26:36]OFD Sender: No OFD packet to send [21:26:41]OFD Sender: No OFD packet to send [21:26:46]OFD Sender: No OFD packet to send [21:26:51]OFD Sender: No OFD packet to send [21:26:56]OFD Sender: No OFD packet to send [21:27:01]OFD Sender: No OFD packet to send [21:27:06]OFD Sender: No OFD packet to send [21:27:11]OFD Sender: No OFD packet to send [21:27:16]OFD Sender: No OFD packet to send [21:27:21]OFD Sender: No OFD packet to send [21:27:26]OFD Sender: No OFD packet to send [21:27:31]OFD Sender: No OFD packet to send [21:27:36]OFD Sender: No OFD packet to send [21:27:41]OFD Sender: No OFD packet to send [21:27:46]OFD Sender: No OFD packet to send [21:27:51]OFD Sender: No OFD packet to send [21:27:56]OFD Sender: No OFD packet to send [21:28:01]OFD Sender: No OFD packet to send [21:28:06]OFD Sender: No OFD packet to send [21:28:11]OFD Sender: No OFD packet to send [21:28:16]OFD Sender: No OFD packet to send [21:28:21]OFD Sender: No OFD packet to send [21:28:26]OFD Sender: No OFD packet to send [21:28:31]OFD Sender: No OFD packet to send [21:28:36]OFD Sender: No OFD packet to send [21:28:41]OFD Sender: No OFD packet to send [21:28:46]OFD Sender: No OFD packet to send [21:28:51]OFD Sender: No OFD packet to send [21:28:56]OFD Sender: No OFD packet to send [21:29:01]OFD Sender: No OFD packet to send [21:29:06]OFD Sender: No OFD packet to send [21:29:11]OFD Sender: No OFD packet to send [21:29:17]OFD Sender: No OFD packet to send [21:29:22]OFD Sender: No OFD packet to send [21:29:27]OFD Sender: No OFD packet to send [21:29:32]OFD Sender: No OFD packet to send [21:29:37]OFD Sender: No OFD packet to send [21:29:42]OFD Sender: No OFD packet to send [21:29:47]OFD Sender: No OFD packet to send [21:29:52]OFD Sender: No OFD packet to send [21:29:57]OFD Sender: No OFD packet to send [21:30:02]OFD Sender: No OFD packet to send [21:30:07]OFD Sender: No OFD packet to send [21:30:12]OFD Sender: No OFD packet to send [21:30:17]OFD Sender: No OFD packet to send [21:30:22]OFD Sender: No OFD packet to send [21:30:25]accept exits with 7 [21:30:25]New connection [21:30:25]New thread 3067583844 created [21:30:25]Thread 3067440484 joined [21:30:25]Waiting for new connection... [21:30:25] Sock 7.Parse request [21:30:25]Sock 7.Check first char [21:30:25]Sock 7.First char is OK [21:30:25]request: POST /json_proto HTTP/1.0 [21:30:25]Method: POST [21:30:25]URL: /json_proto [21:30:25]Method is POST - this is cgi request [21:30:25]url: /json_proto [21:30:25]query_string will be loaded in cgi processing [21:30:25]execute_cgi json_proto POST (null) [21:30:25]execute_cgi path=json_proto method=POST [21:30:25]POST find Content-Length [21:30:25]Host: 172.17.43.4:8080 [21:30:25]Content-Length: 743 [21:30:25]Content-Type: application/json [21:30:25] [21:30:25]POST finish read [21:30:25]Found Content-Length = 743 [21:30:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51713", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:30:25]execute_script... [21:30:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51713", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:30:25]POST & json_proto [21:30:25]process_json_proto [21:30:25]json parsed OK: [21:30:25]protocol is kg_v1.0 [21:30:25]action value=close_receipt [21:30:25]process_action close_receipt [21:30:25]cmd_close_receipt [21:30:25]MH_GetDate [21:30:25]Write to MH i2c: F0 00 00 D0 0F CE [21:30:25]Write i2c OK [21:30:25]MH_I2C_Read... [21:30:25]Read from MH i2c: F0 [21:30:25]MH_I2C_Read... [21:30:25]Read from MH i2c: F0 09 00 [21:30:25]MH_I2C_Read... [21:30:25]Read from MH i2c: F0 09 00 D0 0F 00 F3 80 F4 66 02 BF CF 66 9A [21:30:25]GetLastDocTimeStamp 1727299225 [21:30:25]current date 1727299827 [21:30:25]FM_GetShiftState [21:30:25]SAM_PROTO_GetShiftState [21:30:25]wFMCommunicate request_size=4 [21:30:25]MH_SAM_APDU [21:30:25]CAPDU: 80 13 01 00 [21:30:25]Write to MH i2c: E2 08 00 D1 0F 80 13 01 00 00 00 00 00 5D [21:30:25]Write i2c OK [21:30:25]MH_I2C_Read... [21:30:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:30:25]Read from MH i2c: E2 [21:30:25]MH_I2C_Read... [21:30:25]Read from MH i2c: E2 0E 00 [21:30:25]MH_I2C_Read... [21:30:25]Read from MH i2c: E2 0E 00 D1 0F 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 EE [21:30:25]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [21:30:25]wFMCommunicate OK [21:30:25]SAM_PROTO_GetShiftState done [21:30:25]FM_GetShiftState done [21:30:25]opened in 1727224020 [21:30:25]opened+sec_in_day 1727310420 [21:30:25]quantity*price = 0 [21:30:25]sum+1 = 1 [21:30:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 92 25.09.2024 21:30 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000959358 ФД: 22519 ФПД: 197282502892038 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T213027&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22519&fm=197282502892038&tin=02508201610067®Number=0000000000146243&sum=0 0 [21:30:26]StoreToDocumentArchive [21:30:26]shift 231 fd 22519 [21:30:26]save to /storage/0231/doc_00022519 [21:30:26]save last doc name /storage/0231/doc_00022519 to /storage/kkm_last_doc_name [21:30:26]save OK [21:30:26]Clear old archive folders... [21:30:26]ProcessDocumentItem done err = 0, tmpTLVsize=275 [21:30:26]tlvbuf is 0024BBC0 [21:30:26]SAM_PROTO_ClearQueue [21:30:26]wFMCommunicate request_size=4 [21:30:26]MH_SAM_APDU [21:30:26]CAPDU: 80 09 00 00 [21:30:26]Write to MH i2c: E2 08 00 DE 0F 80 09 00 00 00 00 00 00 5F [21:30:26]Write i2c OK [21:30:26]MH_I2C_Read... [21:30:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:30:26]Read from MH i2c: E2 [21:30:26]MH_I2C_Read... [21:30:26]Read from MH i2c: E2 03 00 [21:30:26]MH_I2C_Read... [21:30:26]Read from MH i2c: E2 03 00 DE 0F 00 90 00 61 [21:30:26]RAPDU: 90 00 [21:30:26]wFMCommunicate OK [21:30:26]SAM_PROTO_ClearQueue done [21:30:26]KKMCreateOFDPacket [21:30:26]OFDProtocolAddRootSTLVToBuf [21:30:26]FM_MakeSignedData [21:30:26]FM_MakeSignedData [21:30:26]SAM_PROTO_SignData [21:30:26]wFMCommunicate request_size=4 [21:30:26]MH_SAM_APDU [21:30:26]CAPDU: 80 0D 01 02 [21:30:26]Write to MH i2c: E2 08 00 DF 0F 80 0D 01 02 00 00 00 00 67 [21:30:26]Write i2c OK [21:30:26]MH_I2C_Read... [21:30:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:30:27]Read from MH i2c: E2 [21:30:27]MH_I2C_Read... [21:30:27]Read from MH i2c: E2 03 00 [21:30:27]MH_I2C_Read... [21:30:27]Read from MH i2c: E2 03 00 DF 0F 00 90 00 62 [21:30:27]RAPDU: 90 00 [21:30:27]wFMCommunicate OK [21:30:27]wFMCommunicate request_size=255 [21:30:27]MH_SAM_APDU [21:30:27]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 5C 00 00 00 F4 03 04 00 F3 80 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 [21:30:27]Write to MH i2c: E2 02 01 E0 0F 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 5C 00 00 00 F4 03 04 00 F3 80 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 00 00 1A [21:30:27]Write i2c OK [21:30:27]MH_I2C_Read... [21:30:27]OFD Sender: No OFD packet to send [21:30:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:30:27]Read from MH i2c: E2 [21:30:27]MH_I2C_Read... [21:30:27]Read from MH i2c: E2 03 00 [21:30:27]MH_I2C_Read... [21:30:27]Read from MH i2c: E2 03 00 E0 0F 00 90 00 63 [21:30:27]RAPDU: 90 00 [21:30:27]wFMCommunicate OK [21:30:27]wFMCommunicate request_size=34 [21:30:27]MH_SAM_APDU [21:30:27]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F7 57 00 00 35 04 06 00 B3 6D 69 81 5A 06 [21:30:27]Write to MH i2c: E2 25 00 E1 0F 80 0D 02 02 1D 00 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F7 57 00 00 35 04 06 00 B3 6D 69 81 5A 06 00 00 EA [21:30:27]Write i2c OK [21:30:27]MH_I2C_Read... [21:30:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:30:27]Read from MH i2c: E2 [21:30:27]MH_I2C_Read... [21:30:27]Read from MH i2c: E2 03 00 [21:30:27]MH_I2C_Read... [21:30:27]Read from MH i2c: E2 03 00 E1 0F 00 90 00 64 [21:30:27]RAPDU: 90 00 [21:30:27]wFMCommunicate OK [21:30:27]wFMCommunicate request_size=4 [21:30:27]MH_SAM_APDU [21:30:27]CAPDU: 80 0D 03 02 [21:30:27]Write to MH i2c: E2 08 00 E2 0F 80 0D 03 02 00 00 00 00 6C [21:30:27]Write i2c OK [21:30:27]MH_I2C_Read... [21:30:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:30:27]Read from MH i2c: E2 [21:30:27]MH_I2C_Read... [21:30:27]Read from MH i2c: E2 0B 00 [21:30:27]MH_I2C_Read... [21:30:27]Read from MH i2c: E2 0B 00 E2 0F 00 22 6F E0 25 81 BB 69 B2 90 00 5A [21:30:27]RAPDU: 22 6F E0 25 81 BB 69 B2 90 00 [21:30:27]wFMCommunicate OK [21:30:27]SAM_PROTO_SignData done [21:30:27]FM_MakeSignedData done [21:30:27]CreateOFDProtocolMessage [21:30:27]wFMCommunicate request_size=4 [21:30:27]MH_SAM_APDU [21:30:27]CAPDU: 80 11 00 00 [21:30:27]Write to MH i2c: E2 08 00 E3 0F 80 11 00 00 00 00 00 00 6C [21:30:27]Write i2c OK [21:30:27]MH_I2C_Read... [21:30:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:30:27]Read from MH i2c: E2 [21:30:27]MH_I2C_Read... [21:30:27]Read from MH i2c: E2 17 00 [21:30:27]MH_I2C_Read... [21:30:27]Read from MH i2c: E2 17 00 E3 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 C6 [21:30:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [21:30:27]wFMCommunicate OK [21:30:27]CreateOFDProtocolMessage done [21:30:27]OFDSenderStorePacket 22519 [21:30:27]StoreOFDPacket docnum=22519 [21:30:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 27 01 00 00 81 51 1F 01 7C 53 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 5C 00 00 00 F4 03 04 00 F3 80 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F7 57 00 00 35 04 06 00 B3 6D 69 81 5A 06 22 6F E0 25 81 BB 69 B2 [21:30:27]CheckFolder [21:30:27]dirname=/storage/ofd_packets [21:30:27]CheckFolder done [21:30:27]ProducePacketName [21:30:27]name=ofd_packets/00022519 [21:30:27]NVStorageSaveData ofd_packets/00022519 [21:30:27]File name is /storage/ofd_packets/00022519 [21:30:27]Write 325 bytes [21:30:27]NVStorageSaveData done [21:30:27]OFDSenderStorePacket done [21:30:27]KKMCreateOFDPacket done [21:30:27]NVStorageSaveData kkm_last_timestamp [21:30:27]File name is /storage/kkm_last_timestamp [21:30:27]Write 4 bytes [21:30:27]NVStorageSaveData done [21:30:27]ExternCall_PrintAddStr [21:30:27]wPrintStart [21:30:27]Write to MH i2c: 01 00 00 E4 0F F3 [21:30:27]Write i2c OK [21:30:27]MH_I2C_Read... [21:30:27]Read from MH i2c: 01 [21:30:27]MH_I2C_Read... [21:30:27]Read from MH i2c: 01 07 00 [21:30:27]MH_I2C_Read... [21:30:27]Read from MH i2c: 01 07 00 E4 0F 00 00 00 00 00 FF 0F 08 [21:30:27]RasterBufferAndPrint [21:30:27]line Счет N : (3)51713 [21:30:27]line ИНН: 02508201610067 [21:30:27]line Контрольно-Кассовый Чек [21:30:27]line ПРОДАЖА [21:30:27]line Товар: 48743587 [21:30:27]line Сигареты Winston XStyle Silver [21:30:27]line 1.000 * 0.00 [21:30:27]line = 0.00 [21:30:27]line НДС 12% НСП 1% [21:30:27]line > о реализуемом товаре [21:30:27]line ИТОГО: 0.00 [21:30:27]line НСП 1% : 0.00 [21:30:27]line НДС 12% : 0.00 [21:30:27]line Наличными: 0.00 [21:30:27]line Безнал.: 0.00 [21:30:27]line Место: АЗС № 88 "Партнер Нефть" [21:30:27]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [21:30:27]line СНО: Общий режим [21:30:27]line Чек 92 25.09.2024 21:30 [21:30:27]line Смена: 231 ФФД: 1.0 [21:30:27]line ЗНМ: 0300000061 [21:30:27]line РНМ: 0000000000146243 [21:30:27]line Версия ККМ: v1.0 [21:30:27]line Платежная система: Mbank [21:30:27]line ФМ: 0000000000959358 [21:30:27]line ФД: 22519 [21:30:27]line ФПД: 197282502892038 [21:30:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T213027&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22519&fm=197282502892038&tin=02508201610067®Number=0000000000146243&sum=0 [21:30:27]line 0 [21:30:27]OFD Sender: Processing packet 22519 [packets to send 23, broken 22] [21:30:27]ProducePacketName [21:30:27]name=ofd_packets/00022519 [21:30:27]OFD Sender: To server: pG, [21:30:27]CommunicateWithHost lk.salyk.kg:30040 [21:30:27]ConnectInit lk.salyk.kg [21:30:27]written 0, free lines is 4095 [21:30:27]Connected sock=10 [21:30:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 27 01 00 00 81 51 1F 01 7C 53 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 5C 00 00 00 F4 03 04 00 F3 80 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F7 57 00 00 35 04 06 00 B3 6D 69 81 5A 06 22 6F E0 25 81 BB 69 B2 [21:30:28]Write to MH i2c: 01 00 00 0E 10 1E [21:30:28]Write i2c OK [21:30:28]MH_I2C_Read... [21:30:28]Read from MH i2c: 01 [21:30:28]MH_I2C_Read... [21:30:28]Read from MH i2c: 01 07 00 [21:30:28]MH_I2C_Read... [21:30:28]Read from MH i2c: 01 07 00 0E 10 00 00 00 00 00 0E 0D 40 [21:30:28]RasterBufferAndPrint [21:30:28]line [21:30:28]line [21:30:28]line [21:30:28]line [21:30:28]line [21:30:28]written 0, free lines is 3347 [21:30:28]MH_Cut [21:30:28]Write to MH i2c: D1 01 00 15 10 01 F7 [21:30:28]Write i2c OK [21:30:28]MH_I2C_Read... [21:30:28]Read from MH i2c: D1 [21:30:28]MH_I2C_Read... [21:30:28]Read from MH i2c: D1 01 00 [21:30:28]MH_I2C_Read... [21:30:28]Read from MH i2c: D1 01 00 15 10 00 F6 [21:30:28]Write to MH i2c: 01 00 00 16 10 26 [21:30:28]Write i2c OK [21:30:28]MH_I2C_Read... [21:30:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 E9 A0 47 00 45 A9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F7 57 00 00 F4 03 04 00 15 2B F4 66 B6 04 01 00 00 99 96 1C 13 03 5B 92 FF [21:30:28]CommunicateWithHost err = 0 [21:30:28]CheckOFDResponse [21:30:28]1017 (14) - 77093643461234 [21:30:28]1041 (16) - 0000000000959358 [21:30:28]1040 (4) - 22519 [21:30:28]1012 (4) - 25.09.2024 15:24 [21:30:28]1206 (1) - 0 [21:30:28]OFD Sender: Remove packet 22519 [21:30:28]ProducePacketName [21:30:28]name=ofd_packets/00022519 [21:30:28]NVStorageDeleteData [21:30:28]OFD Sender: No OFD packet to send [21:30:28]*** Cut start [21:30:28]*** Partial cut [21:30:28]*** CUTSNS_PIN = 1 [21:30:28]*** CUTSNS_PIN = 0 [21:30:29]*** Brake cut motor [21:30:29]Read from MH i2c: 01 [21:30:29]MH_I2C_Read... [21:30:29]*** Stop cut motor [21:30:29]*** Cut end [21:30:29]Read from MH i2c: 01 07 00 [21:30:29]MH_I2C_Read... [21:30:29]Read from MH i2c: 01 07 00 16 10 00 00 00 00 00 FF 0F 3B [21:30:29]process_action close_receipt done [21:30:29]requested_data is exist [21:30:29]produce_requested_data [21:30:29]requested_item fm.sn is exist - process it [21:30:29]wFMCommunicate request_size=4 [21:30:29]MH_SAM_APDU [21:30:29]CAPDU: 80 11 00 00 [21:30:29]Write to MH i2c: E2 08 00 17 10 80 11 00 00 00 00 00 00 A1 [21:30:29]Write i2c OK [21:30:29]MH_I2C_Read... [21:30:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:30:29]Read from MH i2c: E2 [21:30:29]MH_I2C_Read... [21:30:29]Read from MH i2c: E2 17 00 [21:30:29]MH_I2C_Read... [21:30:29]Read from MH i2c: E2 17 00 17 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 FB [21:30:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [21:30:29]wFMCommunicate OK [21:30:29]requested_item fd.num is exist - process it [21:30:29]SAM_PROTO_GetFieldsCounters [21:30:29]wFMCommunicate request_size=4 [21:30:29]MH_SAM_APDU [21:30:29]CAPDU: 80 13 00 00 [21:30:29]Write to MH i2c: E2 08 00 18 10 80 13 00 00 00 00 00 00 A4 [21:30:29]Write i2c OK [21:30:29]MH_I2C_Read... [21:30:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:30:29]Read from MH i2c: E2 [21:30:29]MH_I2C_Read... [21:30:29]Read from MH i2c: E2 62 00 [21:30:29]MH_I2C_Read... [21:30:29]Read from MH i2c: E2 62 00 18 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 F7 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 5C 00 00 00 5E 04 04 00 5C 00 00 00 57 04 04 00 5D 00 00 00 19 04 04 00 00 00 00 00 90 00 10 [21:30:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 F7 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 5C 00 00 00 5E 04 04 00 5C 00 00 00 57 04 04 00 5D 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:30:29]wFMCommunicate OK [21:30:29]SAM_PROTO_GetFieldsCounters done [21:30:29]requested_item shift.num is exist - process it [21:30:29]requested_item shift.opened is exist - process it [21:30:29]req_shift_opened [21:30:29]FM_GetShiftState [21:30:29]SAM_PROTO_GetShiftState [21:30:29]wFMCommunicate request_size=4 [21:30:29]MH_SAM_APDU [21:30:29]CAPDU: 80 13 01 00 [21:30:29]Write to MH i2c: E2 08 00 19 10 80 13 01 00 00 00 00 00 A6 [21:30:29]Write i2c OK [21:30:29]MH_I2C_Read... [21:30:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:30:29]Read from MH i2c: E2 [21:30:29]MH_I2C_Read... [21:30:29]Read from MH i2c: E2 0E 00 [21:30:29]MH_I2C_Read... [21:30:29]Read from MH i2c: E2 0E 00 19 10 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 37 [21:30:29]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [21:30:29]wFMCommunicate OK [21:30:29]SAM_PROTO_GetShiftState done [21:30:29]FM_GetShiftState done [21:30:29]req_shift_opened done [21:30:29]requested_item shift.open_date is exist - process it [21:30:29]req_shift_open_date [21:30:29]req_shift_open_date done [21:30:29]produce_requested_data done [21:30:29]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22519,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [21:30:29]process_action_free close_receipt [21:30:29]json_value_free [21:30:29]json_value_free done [21:30:29]process_json_proto returns [21:30:29]Send response to host [21:30:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22519,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [21:30:29]free response buf [21:30:29]execute_script done [21:30:29]execute_script returns [21:30:29]free content buf [21:30:29]Sock 7.Close socket [21:30:29]Sock 7.Thread stoped [21:30:33]OFD Sender: No OFD packet to send [21:30:38]OFD Sender: No OFD packet to send [21:30:43]OFD Sender: No OFD packet to send [21:30:48]OFD Sender: No OFD packet to send [21:30:53]OFD Sender: No OFD packet to send [21:30:58]OFD Sender: No OFD packet to send [21:31:03]OFD Sender: No OFD packet to send [21:31:08]OFD Sender: No OFD packet to send [21:31:13]OFD Sender: No OFD packet to send [21:31:18]OFD Sender: No OFD packet to send [21:31:23]OFD Sender: No OFD packet to send [21:31:28]OFD Sender: No OFD packet to send [21:31:33]OFD Sender: No OFD packet to send [21:31:38]OFD Sender: No OFD packet to send [21:31:43]OFD Sender: No OFD packet to send [21:31:48]OFD Sender: No OFD packet to send [21:31:53]OFD Sender: No OFD packet to send [21:31:58]OFD Sender: No OFD packet to send [21:32:03]OFD Sender: No OFD packet to send [21:32:08]OFD Sender: No OFD packet to send [21:32:13]OFD Sender: No OFD packet to send [21:32:18]OFD Sender: No OFD packet to send [21:32:23]OFD Sender: No OFD packet to send [21:32:28]OFD Sender: No OFD packet to send [21:32:33]OFD Sender: No OFD packet to send [21:32:38]OFD Sender: No OFD packet to send [21:32:43]OFD Sender: No OFD packet to send [21:32:48]OFD Sender: No OFD packet to send [21:32:53]OFD Sender: No OFD packet to send [21:32:58]OFD Sender: No OFD packet to send [21:33:03]OFD Sender: No OFD packet to send [21:33:08]OFD Sender: No OFD packet to send [21:33:13]OFD Sender: No OFD packet to send [21:33:18]OFD Sender: No OFD packet to send [21:33:23]OFD Sender: No OFD packet to send [21:33:28]OFD Sender: No OFD packet to send [21:33:33]OFD Sender: No OFD packet to send [21:33:38]OFD Sender: No OFD packet to send [21:33:43]OFD Sender: No OFD packet to send [21:33:48]OFD Sender: No OFD packet to send [21:33:53]OFD Sender: No OFD packet to send [21:33:58]OFD Sender: No OFD packet to send [21:34:03]OFD Sender: No OFD packet to send [21:34:08]OFD Sender: No OFD packet to send [21:34:13]OFD Sender: No OFD packet to send [21:34:18]OFD Sender: No OFD packet to send [21:34:23]OFD Sender: No OFD packet to send [21:34:28]OFD Sender: No OFD packet to send [21:34:34]OFD Sender: No OFD packet to send [21:34:39]OFD Sender: No OFD packet to send [21:34:44]OFD Sender: No OFD packet to send [21:34:49]OFD Sender: No OFD packet to send [21:34:54]OFD Sender: No OFD packet to send [21:34:59]OFD Sender: No OFD packet to send [21:35:04]OFD Sender: No OFD packet to send [21:35:09]OFD Sender: No OFD packet to send [21:35:14]OFD Sender: No OFD packet to send [21:35:19]OFD Sender: No OFD packet to send [21:35:24]OFD Sender: No OFD packet to send [21:35:29]OFD Sender: No OFD packet to send [21:35:34]OFD Sender: No OFD packet to send [21:35:39]OFD Sender: No OFD packet to send [21:35:44]OFD Sender: No OFD packet to send [21:35:49]OFD Sender: No OFD packet to send [21:35:54]OFD Sender: No OFD packet to send [21:35:59]OFD Sender: No OFD packet to send [21:36:04]OFD Sender: No OFD packet to send [21:36:09]OFD Sender: No OFD packet to send [21:36:14]OFD Sender: No OFD packet to send [21:36:19]OFD Sender: No OFD packet to send [21:36:24]OFD Sender: No OFD packet to send [21:36:29]OFD Sender: No OFD packet to send [21:36:34]OFD Sender: No OFD packet to send [21:36:39]OFD Sender: No OFD packet to send [21:36:44]OFD Sender: No OFD packet to send [21:36:49]OFD Sender: No OFD packet to send [21:36:54]OFD Sender: No OFD packet to send [21:36:59]OFD Sender: No OFD packet to send [21:37:04]OFD Sender: No OFD packet to send [21:37:09]OFD Sender: No OFD packet to send [21:37:14]OFD Sender: No OFD packet to send [21:37:19]OFD Sender: No OFD packet to send [21:37:24]OFD Sender: No OFD packet to send [21:37:29]OFD Sender: No OFD packet to send [21:37:34]OFD Sender: No OFD packet to send [21:37:39]OFD Sender: No OFD packet to send [21:37:44]OFD Sender: No OFD packet to send [21:37:49]OFD Sender: No OFD packet to send [21:37:54]OFD Sender: No OFD packet to send [21:37:59]OFD Sender: No OFD packet to send [21:38:04]OFD Sender: No OFD packet to send [21:38:09]OFD Sender: No OFD packet to send [21:38:14]OFD Sender: No OFD packet to send [21:38:19]OFD Sender: No OFD packet to send [21:38:24]OFD Sender: No OFD packet to send [21:38:29]OFD Sender: No OFD packet to send [21:38:34]OFD Sender: No OFD packet to send [21:38:39]OFD Sender: No OFD packet to send [21:38:44]OFD Sender: No OFD packet to send [21:38:49]OFD Sender: No OFD packet to send [21:38:54]OFD Sender: No OFD packet to send [21:38:59]OFD Sender: No OFD packet to send [21:39:04]OFD Sender: No OFD packet to send [21:39:09]OFD Sender: No OFD packet to send [21:39:14]OFD Sender: No OFD packet to send [21:39:19]OFD Sender: No OFD packet to send [21:39:24]OFD Sender: No OFD packet to send [21:39:29]OFD Sender: No OFD packet to send [21:39:34]OFD Sender: No OFD packet to send [21:39:39]OFD Sender: No OFD packet to send [21:39:44]OFD Sender: No OFD packet to send [21:39:49]OFD Sender: No OFD packet to send [21:39:54]OFD Sender: No OFD packet to send [21:39:59]OFD Sender: No OFD packet to send [21:40:04]OFD Sender: No OFD packet to send [21:40:09]OFD Sender: No OFD packet to send [21:40:14]OFD Sender: No OFD packet to send [21:40:19]OFD Sender: No OFD packet to send [21:40:24]OFD Sender: No OFD packet to send [21:40:29]OFD Sender: No OFD packet to send [21:40:34]OFD Sender: No OFD packet to send [21:40:39]OFD Sender: No OFD packet to send [21:40:44]OFD Sender: No OFD packet to send [21:40:49]OFD Sender: No OFD packet to send [21:40:54]OFD Sender: No OFD packet to send [21:40:59]OFD Sender: No OFD packet to send [21:41:04]OFD Sender: No OFD packet to send [21:41:09]OFD Sender: No OFD packet to send [21:41:14]OFD Sender: No OFD packet to send [21:41:19]OFD Sender: No OFD packet to send [21:41:24]OFD Sender: No OFD packet to send [21:41:29]OFD Sender: No OFD packet to send [21:41:34]OFD Sender: No OFD packet to send [21:41:39]OFD Sender: No OFD packet to send [21:41:44]OFD Sender: No OFD packet to send [21:41:49]OFD Sender: No OFD packet to send [21:41:54]OFD Sender: No OFD packet to send [21:41:59]OFD Sender: No OFD packet to send [21:42:04]OFD Sender: No OFD packet to send [21:42:09]OFD Sender: No OFD packet to send [21:42:14]OFD Sender: No OFD packet to send [21:42:19]OFD Sender: No OFD packet to send [21:42:24]OFD Sender: No OFD packet to send [21:42:29]OFD Sender: No OFD packet to send [21:42:34]OFD Sender: No OFD packet to send [21:42:39]OFD Sender: No OFD packet to send [21:42:44]OFD Sender: No OFD packet to send [21:42:49]OFD Sender: No OFD packet to send [21:42:54]OFD Sender: No OFD packet to send [21:42:59]OFD Sender: No OFD packet to send [21:43:04]OFD Sender: No OFD packet to send [21:43:09]OFD Sender: No OFD packet to send [21:43:14]OFD Sender: No OFD packet to send [21:43:19]OFD Sender: No OFD packet to send [21:43:24]OFD Sender: No OFD packet to send [21:43:29]OFD Sender: No OFD packet to send [21:43:34]OFD Sender: No OFD packet to send [21:43:39]OFD Sender: No OFD packet to send [21:43:44]OFD Sender: No OFD packet to send [21:43:49]OFD Sender: No OFD packet to send [21:43:54]OFD Sender: No OFD packet to send [21:43:59]OFD Sender: No OFD packet to send [21:44:04]OFD Sender: No OFD packet to send [21:44:09]OFD Sender: No OFD packet to send [21:44:14]OFD Sender: No OFD packet to send [21:44:19]OFD Sender: No OFD packet to send [21:44:24]OFD Sender: No OFD packet to send [21:44:29]OFD Sender: No OFD packet to send [21:44:34]OFD Sender: No OFD packet to send [21:44:39]OFD Sender: No OFD packet to send [21:44:44]OFD Sender: No OFD packet to send [21:44:49]OFD Sender: No OFD packet to send [21:44:54]OFD Sender: No OFD packet to send [21:44:59]OFD Sender: No OFD packet to send [21:45:04]OFD Sender: No OFD packet to send [21:45:09]OFD Sender: No OFD packet to send [21:45:14]OFD Sender: No OFD packet to send [21:45:19]OFD Sender: No OFD packet to send [21:45:24]OFD Sender: No OFD packet to send [21:45:29]OFD Sender: No OFD packet to send [21:45:34]OFD Sender: No OFD packet to send [21:45:39]OFD Sender: No OFD packet to send [21:45:44]OFD Sender: No OFD packet to send [21:45:49]OFD Sender: No OFD packet to send [21:45:54]OFD Sender: No OFD packet to send [21:45:59]OFD Sender: No OFD packet to send [21:46:04]OFD Sender: No OFD packet to send [21:46:09]OFD Sender: No OFD packet to send [21:46:14]OFD Sender: No OFD packet to send [21:46:19]OFD Sender: No OFD packet to send [21:46:24]OFD Sender: No OFD packet to send [21:46:29]OFD Sender: No OFD packet to send [21:46:34]OFD Sender: No OFD packet to send [21:46:39]OFD Sender: No OFD packet to send [21:46:44]OFD Sender: No OFD packet to send [21:46:49]OFD Sender: No OFD packet to send [21:46:54]OFD Sender: No OFD packet to send [21:46:59]OFD Sender: No OFD packet to send [21:47:00]accept exits with 9 [21:47:00]New connection [21:47:00]New thread 3067440484 created [21:47:00]Thread 3067583844 joined [21:47:00]Waiting for new connection... [21:47:00] Sock 9.Parse request [21:47:00]Sock 9.Check first char [21:47:00]Sock 9.First char is OK [21:47:00]request: POST /json_proto HTTP/1.0 [21:47:00]Method: POST [21:47:00]URL: /json_proto [21:47:00]Method is POST - this is cgi request [21:47:00]url: /json_proto [21:47:00]query_string will be loaded in cgi processing [21:47:00]execute_cgi json_proto POST (null) [21:47:00]execute_cgi path=json_proto method=POST [21:47:00]POST find Content-Length [21:47:00]Host: 172.17.43.4:8080 [21:47:00]Content-Length: 689 [21:47:00]Content-Type: application/json [21:47:00] [21:47:00]POST finish read [21:47:00]Found Content-Length = 689 [21:47:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51714", "tax_sys" : 0, "items" : [ { "code": "4870202521247", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043F\u0435\u0440\u0441\u0438\u043A", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:47:00]execute_script... [21:47:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51714", "tax_sys" : 0, "items" : [ { "code": "4870202521247", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043F\u0435\u0440\u0441\u0438\u043A", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:47:00]POST & json_proto [21:47:00]process_json_proto [21:47:00]json parsed OK: [21:47:00]protocol is kg_v1.0 [21:47:00]action value=close_receipt [21:47:00]process_action close_receipt [21:47:00]cmd_close_receipt [21:47:00]MH_GetDate [21:47:00]Write to MH i2c: F0 00 00 1A 10 19 [21:47:00]Write i2c OK [21:47:00]MH_I2C_Read... [21:47:00]Read from MH i2c: F0 [21:47:00]MH_I2C_Read... [21:47:00]Read from MH i2c: F0 09 00 [21:47:00]MH_I2C_Read... [21:47:00]Read from MH i2c: F0 09 00 1A 10 00 D6 84 F4 66 02 BF CF 66 CC [21:47:00]GetLastDocTimeStamp 1727299827 [21:47:00]current date 1727300822 [21:47:00]FM_GetShiftState [21:47:00]SAM_PROTO_GetShiftState [21:47:00]wFMCommunicate request_size=4 [21:47:00]MH_SAM_APDU [21:47:00]CAPDU: 80 13 01 00 [21:47:00]Write to MH i2c: E2 08 00 1B 10 80 13 01 00 00 00 00 00 A8 [21:47:00]Write i2c OK [21:47:00]MH_I2C_Read... [21:47:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:47:00]Read from MH i2c: E2 [21:47:00]MH_I2C_Read... [21:47:00]Read from MH i2c: E2 0E 00 [21:47:00]MH_I2C_Read... [21:47:00]Read from MH i2c: E2 0E 00 1B 10 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 39 [21:47:00]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [21:47:00]wFMCommunicate OK [21:47:00]SAM_PROTO_GetShiftState done [21:47:00]FM_GetShiftState done [21:47:00]opened in 1727224020 [21:47:00]opened+sec_in_day 1727310420 [21:47:00]quantity*price = 12500 [21:47:00]sum+1 = 12501 [21:47:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 93 25.09.2024 21:47 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22520 ФПД: 203010870163284 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T214702&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22520&fm=203010870163284&tin=02508201610067®Number=0000000000146243&sum=12500 0 [21:47:01]StoreToDocumentArchive [21:47:01]shift 231 fd 22520 [21:47:01]save to /storage/0231/doc_00022520 [21:47:01]save last doc name /storage/0231/doc_00022520 to /storage/kkm_last_doc_name [21:47:01]save OK [21:47:01]Clear old archive folders... [21:47:01]ProcessDocumentItem done err = 0, tmpTLVsize=294 [21:47:01]tlvbuf is 00241CB0 [21:47:01]SAM_PROTO_ClearQueue [21:47:01]wFMCommunicate request_size=4 [21:47:01]MH_SAM_APDU [21:47:01]CAPDU: 80 09 00 00 [21:47:01]Write to MH i2c: E2 08 00 28 10 80 09 00 00 00 00 00 00 AA [21:47:01]Write i2c OK [21:47:01]MH_I2C_Read... [21:47:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:47:01]Read from MH i2c: E2 [21:47:01]MH_I2C_Read... [21:47:01]Read from MH i2c: E2 03 00 [21:47:01]MH_I2C_Read... [21:47:01]Read from MH i2c: E2 03 00 28 10 00 90 00 AC [21:47:01]RAPDU: 90 00 [21:47:01]wFMCommunicate OK [21:47:01]SAM_PROTO_ClearQueue done [21:47:01]KKMCreateOFDPacket [21:47:01]OFDProtocolAddRootSTLVToBuf [21:47:01]FM_MakeSignedData [21:47:01]FM_MakeSignedData [21:47:01]SAM_PROTO_SignData [21:47:01]wFMCommunicate request_size=4 [21:47:01]MH_SAM_APDU [21:47:01]CAPDU: 80 0D 01 02 [21:47:01]Write to MH i2c: E2 08 00 29 10 80 0D 01 02 00 00 00 00 B2 [21:47:01]Write i2c OK [21:47:01]MH_I2C_Read... [21:47:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:47:01]Read from MH i2c: E2 [21:47:01]MH_I2C_Read... [21:47:01]Read from MH i2c: E2 03 00 [21:47:01]MH_I2C_Read... [21:47:01]Read from MH i2c: E2 03 00 29 10 00 90 00 AD [21:47:01]RAPDU: 90 00 [21:47:01]wFMCommunicate OK [21:47:01]wFMCommunicate request_size=255 [21:47:01]MH_SAM_APDU [21:47:01]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 34 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5D 00 00 00 F4 03 04 00 D6 84 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [21:47:01]Write to MH i2c: E2 02 01 2A 10 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 34 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5D 00 00 00 F4 03 04 00 D6 84 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 2D [21:47:01]Write i2c OK [21:47:01]MH_I2C_Read... [21:47:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:47:02]Read from MH i2c: E2 [21:47:02]MH_I2C_Read... [21:47:02]Read from MH i2c: E2 03 00 [21:47:02]MH_I2C_Read... [21:47:02]Read from MH i2c: E2 03 00 2A 10 00 90 00 AE [21:47:02]RAPDU: 90 00 [21:47:02]wFMCommunicate OK [21:47:02]wFMCommunicate request_size=53 [21:47:02]MH_SAM_APDU [21:47:02]CAPDU: 80 0D 02 02 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F8 57 00 00 35 04 06 00 B8 A3 26 CD 37 54 [21:47:02]Write to MH i2c: E2 38 00 2B 10 80 0D 02 02 30 00 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F8 57 00 00 35 04 06 00 B8 A3 26 CD 37 54 00 00 D4 [21:47:02]Write i2c OK [21:47:02]MH_I2C_Read... [21:47:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:47:02]Read from MH i2c: E2 [21:47:02]MH_I2C_Read... [21:47:02]Read from MH i2c: E2 03 00 [21:47:02]MH_I2C_Read... [21:47:02]Read from MH i2c: E2 03 00 2B 10 00 90 00 AF [21:47:02]RAPDU: 90 00 [21:47:02]wFMCommunicate OK [21:47:02]wFMCommunicate request_size=4 [21:47:02]MH_SAM_APDU [21:47:02]CAPDU: 80 0D 03 02 [21:47:02]Write to MH i2c: E2 08 00 2C 10 80 0D 03 02 00 00 00 00 B7 [21:47:02]Write i2c OK [21:47:02]MH_I2C_Read... [21:47:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:47:02]Read from MH i2c: E2 [21:47:02]MH_I2C_Read... [21:47:02]Read from MH i2c: E2 0B 00 [21:47:02]MH_I2C_Read... [21:47:02]Read from MH i2c: E2 0B 00 2C 10 00 48 22 89 A1 55 D6 3D 63 90 00 17 [21:47:02]RAPDU: 48 22 89 A1 55 D6 3D 63 90 00 [21:47:02]wFMCommunicate OK [21:47:02]SAM_PROTO_SignData done [21:47:02]FM_MakeSignedData done [21:47:02]CreateOFDProtocolMessage [21:47:02]wFMCommunicate request_size=4 [21:47:02]MH_SAM_APDU [21:47:02]CAPDU: 80 11 00 00 [21:47:02]Write to MH i2c: E2 08 00 2D 10 80 11 00 00 00 00 00 00 B7 [21:47:02]Write i2c OK [21:47:02]MH_I2C_Read... [21:47:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:47:02]Read from MH i2c: E2 [21:47:02]MH_I2C_Read... [21:47:02]Read from MH i2c: E2 17 00 [21:47:02]MH_I2C_Read... [21:47:02]Read from MH i2c: E2 17 00 2D 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 11 [21:47:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [21:47:02]wFMCommunicate OK [21:47:02]CreateOFDProtocolMessage done [21:47:02]OFDSenderStorePacket 22520 [21:47:02]StoreOFDPacket docnum=22520 [21:47:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 3A 01 00 00 7B 6D 32 01 02 3D 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 34 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5D 00 00 00 F4 03 04 00 D6 84 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F8 57 00 00 35 04 06 00 B8 A3 26 CD 37 54 48 22 89 A1 55 D6 3D 63 [21:47:02]CheckFolder [21:47:02]dirname=/storage/ofd_packets [21:47:02]CheckFolder done [21:47:02]ProducePacketName [21:47:02]name=ofd_packets/00022520 [21:47:02]NVStorageSaveData ofd_packets/00022520 [21:47:02]File name is /storage/ofd_packets/00022520 [21:47:02]Write 344 bytes [21:47:02]NVStorageSaveData done [21:47:02]OFDSenderStorePacket done [21:47:02]KKMCreateOFDPacket done [21:47:02]NVStorageSaveData kkm_last_timestamp [21:47:02]File name is /storage/kkm_last_timestamp [21:47:02]Write 4 bytes [21:47:02]NVStorageSaveData done [21:47:02]ExternCall_PrintAddStr [21:47:02]wPrintStart [21:47:02]Write to MH i2c: 01 00 00 2E 10 3E [21:47:02]Write i2c OK [21:47:02]MH_I2C_Read... [21:47:02]Read from MH i2c: 01 [21:47:02]MH_I2C_Read... [21:47:02]Read from MH i2c: 01 07 00 [21:47:02]MH_I2C_Read... [21:47:02]Read from MH i2c: 01 07 00 2E 10 00 00 00 00 00 FF 0F 53 [21:47:02]RasterBufferAndPrint [21:47:02]line Счет N : (3)51714 [21:47:02]line ИНН: 02508201610067 [21:47:02]line Контрольно-Кассовый Чек [21:47:02]line ПРОДАЖА [21:47:02]line Товар: 4870202521247 [21:47:02]line Напиток MAXI чай 1,2 черн.персик [21:47:02]line 1.000 * 125.00 [21:47:02]line = 125.00 [21:47:02]line НДС 12% НСП 1% [21:47:02]line > о реализуемом товаре [21:47:02]line ИТОГО: 125.00 [21:47:02]line НСП 1% : 1.11 [21:47:02]line НДС 12% : 13.27 [21:47:02]line Наличными: 125.00 [21:47:02]line Безнал.: 0.00 [21:47:02]line Место: АЗС № 88 "Партнер Нефть" [21:47:02]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [21:47:02]line СНО: Общий режим [21:47:02]line Чек 93 25.09.2024 21:47 [21:47:02]line Смена: 231 ФФД: 1.0 [21:47:02]line ЗНМ: 0300000061 [21:47:02]line РНМ: 0000000000146243 [21:47:02]line Версия ККМ: v1.0 [21:47:02]line ФМ: 0000000000959358 [21:47:02]line ФД: 22520 [21:47:02]line ФПД: 203010870163284 [21:47:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T214702&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22520&fm=203010870163284&tin=02508201610067®Number=0000000000146243&sum=12500 [21:47:02]line 0 [21:47:02]OFD Sender: Processing packet 22520 [packets to send 23, broken 22] [21:47:02]ProducePacketName [21:47:02]name=ofd_packets/00022520 [21:47:02]OFD Sender: To server: pG, [21:47:02]CommunicateWithHost lk.salyk.kg:30040 [21:47:02]ConnectInit lk.salyk.kg [21:47:02]written 0, free lines is 4095 [21:47:02]Connected sock=10 [21:47:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 3A 01 00 00 7B 6D 32 01 02 3D 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 34 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5D 00 00 00 F4 03 04 00 D6 84 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F8 57 00 00 35 04 06 00 B8 A3 26 CD 37 54 48 22 89 A1 55 D6 3D 63 [21:47:03]Write to MH i2c: 01 00 00 57 10 67 [21:47:03]Write i2c OK [21:47:03]MH_I2C_Read... [21:47:03]Read from MH i2c: 01 [21:47:03]MH_I2C_Read... [21:47:03]Read from MH i2c: 01 07 00 [21:47:03]MH_I2C_Read... [21:47:03]Read from MH i2c: 01 07 00 57 10 00 00 00 00 00 03 0D 7E [21:47:03]RasterBufferAndPrint [21:47:03]line [21:47:03]line [21:47:03]line [21:47:03]line [21:47:03]line [21:47:03]written 0, free lines is 3340 [21:47:03]MH_Cut [21:47:03]Write to MH i2c: D1 01 00 5E 10 01 40 [21:47:03]Write i2c OK [21:47:03]MH_I2C_Read... [21:47:03]Read from MH i2c: D1 [21:47:03]MH_I2C_Read... [21:47:03]Read from MH i2c: D1 01 00 [21:47:03]MH_I2C_Read... [21:47:03]Read from MH i2c: D1 01 00 5E 10 00 3F [21:47:03]Write to MH i2c: 01 00 00 5F 10 6F [21:47:03]Write i2c OK [21:47:03]MH_I2C_Read... [21:47:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 C0 61 47 00 17 4F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F8 57 00 00 F4 03 04 00 F8 2E F4 66 B6 04 01 00 00 DD C8 7A 48 23 33 1B 58 [21:47:03]CommunicateWithHost err = 0 [21:47:03]CheckOFDResponse [21:47:03]1017 (14) - 77093643461234 [21:47:03]1041 (16) - 0000000000959358 [21:47:03]1040 (4) - 22520 [21:47:03]1012 (4) - 25.09.2024 15:40 [21:47:03]1206 (1) - 0 [21:47:03]OFD Sender: Remove packet 22520 [21:47:03]ProducePacketName [21:47:03]name=ofd_packets/00022520 [21:47:03]NVStorageDeleteData [21:47:03]OFD Sender: No OFD packet to send [21:47:03]*** Cut start [21:47:03]*** Partial cut [21:47:03]*** CUTSNS_PIN = 1 [21:47:03]*** CUTSNS_PIN = 0 [21:47:04]*** Brake cut motor [21:47:04]Read from MH i2c: 01 [21:47:04]MH_I2C_Read... [21:47:04]*** Stop cut motor [21:47:04]*** Cut end [21:47:04]Read from MH i2c: 01 07 00 [21:47:04]MH_I2C_Read... [21:47:04]Read from MH i2c: 01 07 00 5F 10 00 00 00 00 00 FF 0F 84 [21:47:04]process_action close_receipt done [21:47:04]requested_data is exist [21:47:04]produce_requested_data [21:47:04]requested_item fm.sn is exist - process it [21:47:04]wFMCommunicate request_size=4 [21:47:04]MH_SAM_APDU [21:47:04]CAPDU: 80 11 00 00 [21:47:04]Write to MH i2c: E2 08 00 60 10 80 11 00 00 00 00 00 00 EA [21:47:04]Write i2c OK [21:47:04]MH_I2C_Read... [21:47:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:47:04]Read from MH i2c: E2 [21:47:04]MH_I2C_Read... [21:47:04]Read from MH i2c: E2 17 00 [21:47:04]MH_I2C_Read... [21:47:04]Read from MH i2c: E2 17 00 60 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 44 [21:47:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [21:47:04]wFMCommunicate OK [21:47:04]requested_item fd.num is exist - process it [21:47:04]SAM_PROTO_GetFieldsCounters [21:47:04]wFMCommunicate request_size=4 [21:47:04]MH_SAM_APDU [21:47:04]CAPDU: 80 13 00 00 [21:47:04]Write to MH i2c: E2 08 00 61 10 80 13 00 00 00 00 00 00 ED [21:47:04]Write i2c OK [21:47:04]MH_I2C_Read... [21:47:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:47:04]Read from MH i2c: E2 [21:47:04]MH_I2C_Read... [21:47:04]Read from MH i2c: E2 62 00 [21:47:04]MH_I2C_Read... [21:47:04]Read from MH i2c: E2 62 00 61 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 F8 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 5D 00 00 00 5E 04 04 00 5D 00 00 00 57 04 04 00 5E 00 00 00 19 04 04 00 00 00 00 00 90 00 5D [21:47:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 F8 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 5D 00 00 00 5E 04 04 00 5D 00 00 00 57 04 04 00 5E 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:47:04]wFMCommunicate OK [21:47:04]SAM_PROTO_GetFieldsCounters done [21:47:04]requested_item shift.num is exist - process it [21:47:04]requested_item shift.opened is exist - process it [21:47:04]req_shift_opened [21:47:04]FM_GetShiftState [21:47:04]SAM_PROTO_GetShiftState [21:47:04]wFMCommunicate request_size=4 [21:47:04]MH_SAM_APDU [21:47:04]CAPDU: 80 13 01 00 [21:47:04]Write to MH i2c: E2 08 00 62 10 80 13 01 00 00 00 00 00 EF [21:47:04]Write i2c OK [21:47:04]MH_I2C_Read... [21:47:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:47:04]Read from MH i2c: E2 [21:47:04]MH_I2C_Read... [21:47:04]Read from MH i2c: E2 0E 00 [21:47:04]MH_I2C_Read... [21:47:04]Read from MH i2c: E2 0E 00 62 10 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 80 [21:47:04]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [21:47:04]wFMCommunicate OK [21:47:04]SAM_PROTO_GetShiftState done [21:47:04]FM_GetShiftState done [21:47:04]req_shift_opened done [21:47:04]requested_item shift.open_date is exist - process it [21:47:04]req_shift_open_date [21:47:04]req_shift_open_date done [21:47:04]produce_requested_data done [21:47:04]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22520,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [21:47:04]process_action_free close_receipt [21:47:04]json_value_free [21:47:04]json_value_free done [21:47:04]process_json_proto returns [21:47:04]Send response to host [21:47:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22520,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [21:47:04]free response buf [21:47:04]execute_script done [21:47:04]execute_script returns [21:47:04]free content buf [21:47:04]Sock 9.Close socket [21:47:04]Sock 9.Thread stoped [21:47:08]OFD Sender: No OFD packet to send [21:47:13]OFD Sender: No OFD packet to send [21:47:18]OFD Sender: No OFD packet to send [21:47:23]OFD Sender: No OFD packet to send [21:47:28]OFD Sender: No OFD packet to send [21:47:33]OFD Sender: No OFD packet to send [21:47:38]OFD Sender: No OFD packet to send [21:47:43]OFD Sender: No OFD packet to send [21:47:48]OFD Sender: No OFD packet to send [21:47:53]OFD Sender: No OFD packet to send [21:47:58]OFD Sender: No OFD packet to send [21:48:03]OFD Sender: No OFD packet to send [21:48:08]OFD Sender: No OFD packet to send [21:48:13]OFD Sender: No OFD packet to send [21:48:18]OFD Sender: No OFD packet to send [21:48:23]OFD Sender: No OFD packet to send [21:48:28]OFD Sender: No OFD packet to send [21:48:33]OFD Sender: No OFD packet to send [21:48:38]OFD Sender: No OFD packet to send [21:48:43]OFD Sender: No OFD packet to send [21:48:48]OFD Sender: No OFD packet to send [21:48:53]OFD Sender: No OFD packet to send [21:48:58]OFD Sender: No OFD packet to send [21:49:03]OFD Sender: No OFD packet to send [21:49:08]OFD Sender: No OFD packet to send [21:49:13]OFD Sender: No OFD packet to send [21:49:18]OFD Sender: No OFD packet to send [21:49:23]OFD Sender: No OFD packet to send [21:49:28]OFD Sender: No OFD packet to send [21:49:33]OFD Sender: No OFD packet to send [21:49:38]OFD Sender: No OFD packet to send [21:49:43]OFD Sender: No OFD packet to send [21:49:48]OFD Sender: No OFD packet to send [21:49:53]OFD Sender: No OFD packet to send [21:49:58]OFD Sender: No OFD packet to send [21:50:03]OFD Sender: No OFD packet to send [21:50:08]OFD Sender: No OFD packet to send [21:50:13]OFD Sender: No OFD packet to send [21:50:18]OFD Sender: No OFD packet to send [21:50:23]OFD Sender: No OFD packet to send [21:50:28]OFD Sender: No OFD packet to send [21:50:33]OFD Sender: No OFD packet to send [21:50:38]OFD Sender: No OFD packet to send [21:50:43]OFD Sender: No OFD packet to send [21:50:48]OFD Sender: No OFD packet to send [21:50:53]OFD Sender: No OFD packet to send [21:50:58]OFD Sender: No OFD packet to send [21:51:03]OFD Sender: No OFD packet to send [21:51:08]OFD Sender: No OFD packet to send [21:51:13]OFD Sender: No OFD packet to send [21:51:18]OFD Sender: No OFD packet to send [21:51:23]OFD Sender: No OFD packet to send [21:51:28]OFD Sender: No OFD packet to send [21:51:33]OFD Sender: No OFD packet to send [21:51:38]OFD Sender: No OFD packet to send [21:51:43]OFD Sender: No OFD packet to send [21:51:49]OFD Sender: No OFD packet to send [21:51:54]OFD Sender: No OFD packet to send [21:51:59]OFD Sender: No OFD packet to send [21:52:04]OFD Sender: No OFD packet to send [21:52:09]OFD Sender: No OFD packet to send [21:52:14]OFD Sender: No OFD packet to send [21:52:19]OFD Sender: No OFD packet to send [21:52:24]OFD Sender: No OFD packet to send [21:52:29]OFD Sender: No OFD packet to send [21:52:34]OFD Sender: No OFD packet to send [21:52:39]OFD Sender: No OFD packet to send [21:52:44]OFD Sender: No OFD packet to send [21:52:49]OFD Sender: No OFD packet to send [21:52:54]OFD Sender: No OFD packet to send [21:52:59]OFD Sender: No OFD packet to send [21:53:04]OFD Sender: No OFD packet to send [21:53:09]OFD Sender: No OFD packet to send [21:53:14]OFD Sender: No OFD packet to send [21:53:19]OFD Sender: No OFD packet to send [21:53:24]OFD Sender: No OFD packet to send [21:53:29]OFD Sender: No OFD packet to send [21:53:34]OFD Sender: No OFD packet to send [21:53:39]OFD Sender: No OFD packet to send [21:53:44]OFD Sender: No OFD packet to send [21:53:49]OFD Sender: No OFD packet to send [21:53:53]accept exits with 7 [21:53:53]New connection [21:53:53]New thread 3067583844 created [21:53:53]Thread 3067440484 joined [21:53:53]Waiting for new connection... [21:53:53] Sock 7.Parse request [21:53:53]Sock 7.Check first char [21:53:53]Sock 7.First char is OK [21:53:53]request: POST /json_proto HTTP/1.0 [21:53:53]Method: POST [21:53:53]URL: /json_proto [21:53:53]Method is POST - this is cgi request [21:53:53]url: /json_proto [21:53:53]query_string will be loaded in cgi processing [21:53:53]execute_cgi json_proto POST (null) [21:53:53]execute_cgi path=json_proto method=POST [21:53:53]POST find Content-Length [21:53:53]Host: 172.17.43.4:8080 [21:53:53]Content-Length: 767 [21:53:53]Content-Type: application/json [21:53:53] [21:53:53]POST finish read [21:53:53]Found Content-Length = 767 [21:53:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51715", "tax_sys" : 0, "items" : [ { "code": "4700001061104", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0421\u0435\u043C\u0435\u0442\u0435\u0439 0,2\u043B", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:53:53]execute_script... [21:53:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51715", "tax_sys" : 0, "items" : [ { "code": "4700001061104", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0421\u0435\u043C\u0435\u0442\u0435\u0439 0,2\u043B", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:53:53]POST & json_proto [21:53:53]process_json_proto [21:53:53]json parsed OK: [21:53:53]protocol is kg_v1.0 [21:53:53]action value=close_receipt [21:53:53]process_action close_receipt [21:53:53]cmd_close_receipt [21:53:53]MH_GetDate [21:53:53]Write to MH i2c: F0 00 00 63 10 62 [21:53:53]Write i2c OK [21:53:53]MH_I2C_Read... [21:53:53]Read from MH i2c: F0 [21:53:53]MH_I2C_Read... [21:53:53]Read from MH i2c: F0 09 00 [21:53:53]MH_I2C_Read... [21:53:53]Read from MH i2c: F0 09 00 63 10 00 73 86 F4 66 02 BF CF 66 B4 [21:53:53]GetLastDocTimeStamp 1727300822 [21:53:53]current date 1727301235 [21:53:53]FM_GetShiftState [21:53:53]SAM_PROTO_GetShiftState [21:53:53]wFMCommunicate request_size=4 [21:53:53]MH_SAM_APDU [21:53:53]CAPDU: 80 13 01 00 [21:53:53]Write to MH i2c: E2 08 00 64 10 80 13 01 00 00 00 00 00 F1 [21:53:53]Write i2c OK [21:53:53]MH_I2C_Read... [21:53:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:53:53]Read from MH i2c: E2 [21:53:53]MH_I2C_Read... [21:53:53]Read from MH i2c: E2 0E 00 [21:53:53]MH_I2C_Read... [21:53:53]Read from MH i2c: E2 0E 00 64 10 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 82 [21:53:53]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [21:53:53]wFMCommunicate OK [21:53:53]SAM_PROTO_GetShiftState done [21:53:53]FM_GetShiftState done [21:53:53]opened in 1727224020 [21:53:53]opened+sec_in_day 1727310420 [21:53:53]quantity*price = 0 [21:53:53]sum+1 = 1 [21:53:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 94 25.09.2024 21:53 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000959358 ФД: 22521 ФПД: 149885157105687 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T215355&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22521&fm=149885157105687&tin=02508201610067®Number=0000000000146243&sum=0 0 [21:53:55]StoreToDocumentArchive [21:53:55]shift 231 fd 22521 [21:53:55]save to /storage/0231/doc_00022521 [21:53:55]save last doc name /storage/0231/doc_00022521 to /storage/kkm_last_doc_name [21:53:55]save OK [21:53:55]Clear old archive folders... [21:53:55]ProcessDocumentItem done err = 0, tmpTLVsize=275 [21:53:55]tlvbuf is 00241B90 [21:53:55]SAM_PROTO_ClearQueue [21:53:55]wFMCommunicate request_size=4 [21:53:55]MH_SAM_APDU [21:53:55]CAPDU: 80 09 00 00 [21:53:55]Write to MH i2c: E2 08 00 71 10 80 09 00 00 00 00 00 00 F3 [21:53:55]Write i2c OK [21:53:55]MH_I2C_Read... [21:53:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:53:55]Read from MH i2c: E2 [21:53:55]MH_I2C_Read... [21:53:55]Read from MH i2c: E2 03 00 [21:53:55]MH_I2C_Read... [21:53:55]Read from MH i2c: E2 03 00 71 10 00 90 00 F5 [21:53:55]RAPDU: 90 00 [21:53:55]wFMCommunicate OK [21:53:55]SAM_PROTO_ClearQueue done [21:53:55]KKMCreateOFDPacket [21:53:55]OFDProtocolAddRootSTLVToBuf [21:53:55]FM_MakeSignedData [21:53:55]FM_MakeSignedData [21:53:55]SAM_PROTO_SignData [21:53:55]wFMCommunicate request_size=4 [21:53:55]MH_SAM_APDU [21:53:55]CAPDU: 80 0D 01 02 [21:53:55]Write to MH i2c: E2 08 00 72 10 80 0D 01 02 00 00 00 00 FB [21:53:55]Write i2c OK [21:53:55]MH_I2C_Read... [21:53:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:53:55]Read from MH i2c: E2 [21:53:55]MH_I2C_Read... [21:53:55]Read from MH i2c: E2 03 00 [21:53:55]MH_I2C_Read... [21:53:55]Read from MH i2c: E2 03 00 72 10 00 90 00 F6 [21:53:55]RAPDU: 90 00 [21:53:55]wFMCommunicate OK [21:53:55]wFMCommunicate request_size=255 [21:53:55]MH_SAM_APDU [21:53:55]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 31 31 30 34 06 04 21 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 A1 D0 B5 D0 BC D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 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 5E 00 00 00 F4 03 04 00 73 86 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 [21:53:55]Write to MH i2c: E2 02 01 73 10 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 31 31 30 34 06 04 21 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 A1 D0 B5 D0 BC D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 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 5E 00 00 00 F4 03 04 00 73 86 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 00 00 EC [21:53:55]Write i2c OK [21:53:55]MH_I2C_Read... [21:53:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:53:55]Read from MH i2c: E2 [21:53:55]MH_I2C_Read... [21:53:55]Read from MH i2c: E2 03 00 [21:53:55]MH_I2C_Read... [21:53:55]Read from MH i2c: E2 03 00 73 10 00 90 00 F7 [21:53:55]RAPDU: 90 00 [21:53:55]wFMCommunicate OK [21:53:55]wFMCommunicate request_size=34 [21:53:55]MH_SAM_APDU [21:53:55]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F9 57 00 00 35 04 06 00 88 51 DB 8B E0 17 [21:53:55]Write to MH i2c: E2 25 00 74 10 80 0D 02 02 1D 00 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F9 57 00 00 35 04 06 00 88 51 DB 8B E0 17 00 00 4C [21:53:55]Write i2c OK [21:53:55]MH_I2C_Read... [21:53:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:53:55]Read from MH i2c: E2 [21:53:55]MH_I2C_Read... [21:53:55]Read from MH i2c: E2 03 00 [21:53:55]MH_I2C_Read... [21:53:55]Read from MH i2c: E2 03 00 74 10 00 90 00 F8 [21:53:55]RAPDU: 90 00 [21:53:55]wFMCommunicate OK [21:53:55]wFMCommunicate request_size=4 [21:53:55]MH_SAM_APDU [21:53:55]CAPDU: 80 0D 03 02 [21:53:55]Write to MH i2c: E2 08 00 75 10 80 0D 03 02 00 00 00 00 00 [21:53:55]Write i2c OK [21:53:55]MH_I2C_Read... [21:53:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:53:55]Read from MH i2c: E2 [21:53:55]MH_I2C_Read... [21:53:55]Read from MH i2c: E2 0B 00 [21:53:55]MH_I2C_Read... [21:53:55]Read from MH i2c: E2 0B 00 75 10 00 7E B1 7C A8 C8 6A B0 BB 90 00 F1 [21:53:55]RAPDU: 7E B1 7C A8 C8 6A B0 BB 90 00 [21:53:55]wFMCommunicate OK [21:53:55]SAM_PROTO_SignData done [21:53:55]FM_MakeSignedData done [21:53:55]CreateOFDProtocolMessage [21:53:55]wFMCommunicate request_size=4 [21:53:55]MH_SAM_APDU [21:53:55]CAPDU: 80 11 00 00 [21:53:55]Write to MH i2c: E2 08 00 76 10 80 11 00 00 00 00 00 00 00 [21:53:55]Write i2c OK [21:53:55]MH_I2C_Read... [21:53:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:53:55]Read from MH i2c: E2 [21:53:55]MH_I2C_Read... [21:53:55]Read from MH i2c: E2 17 00 [21:53:55]MH_I2C_Read... [21:53:55]Read from MH i2c: E2 17 00 76 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 5A [21:53:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [21:53:55]wFMCommunicate OK [21:53:55]CreateOFDProtocolMessage done [21:53:55]OFDSenderStorePacket 22521 [21:53:55]StoreOFDPacket docnum=22521 [21:53:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 27 01 00 00 B3 D2 1F 01 B1 E0 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 31 31 30 34 06 04 21 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 A1 D0 B5 D0 BC D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 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 5E 00 00 00 F4 03 04 00 73 86 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F9 57 00 00 35 04 06 00 88 51 DB 8B E0 17 7E B1 7C A8 C8 6A B0 BB [21:53:55]CheckFolder [21:53:55]dirname=/storage/ofd_packets [21:53:55]CheckFolder done [21:53:55]ProducePacketName [21:53:55]name=ofd_packets/00022521 [21:53:55]NVStorageSaveData ofd_packets/00022521 [21:53:55]File name is /storage/ofd_packets/00022521 [21:53:55]Write 325 bytes [21:53:55]NVStorageSaveData done [21:53:55]OFDSenderStorePacket done [21:53:55]KKMCreateOFDPacket done [21:53:55]NVStorageSaveData kkm_last_timestamp [21:53:55]File name is /storage/kkm_last_timestamp [21:53:55]Write 4 bytes [21:53:55]NVStorageSaveData done [21:53:55]ExternCall_PrintAddStr [21:53:55]wPrintStart [21:53:55]Write to MH i2c: 01 00 00 77 10 87 [21:53:55]Write i2c OK [21:53:55]MH_I2C_Read... [21:53:55]Read from MH i2c: 01 [21:53:55]MH_I2C_Read... [21:53:55]Read from MH i2c: 01 07 00 [21:53:55]MH_I2C_Read... [21:53:55]Read from MH i2c: 01 07 00 77 10 00 00 00 00 00 FF 0F 9C [21:53:55]RasterBufferAndPrint [21:53:55]line Счет N : (3)51715 [21:53:55]line ИНН: 02508201610067 [21:53:55]line Контрольно-Кассовый Чек [21:53:55]line ПРОДАЖА [21:53:55]line Товар: 4700001061104 [21:53:55]line Коньяк Семетей 0,2л [21:53:55]line 1.000 * 0.00 [21:53:55]line = 0.00 [21:53:55]line НДС 12% НСП 1% [21:53:55]line > о реализуемом товаре [21:53:55]line ИТОГО: 0.00 [21:53:55]line НСП 1% : 0.00 [21:53:55]line НДС 12% : 0.00 [21:53:55]line Наличными: 0.00 [21:53:55]line Безнал.: 0.00 [21:53:55]line Место: АЗС № 88 "Партнер Нефть" [21:53:55]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [21:53:55]line СНО: Общий режим [21:53:55]line Чек 94 25.09.2024 21:53 [21:53:55]line Смена: 231 ФФД: 1.0 [21:53:55]line ЗНМ: 0300000061 [21:53:55]line РНМ: 0000000000146243 [21:53:55]line Версия ККМ: v1.0 [21:53:55]line Платежная система: Mbank [21:53:55]line ФМ: 0000000000959358 [21:53:55]line ФД: 22521 [21:53:55]line ФПД: 149885157105687 [21:53:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T215355&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22521&fm=149885157105687&tin=02508201610067®Number=0000000000146243&sum=0 [21:53:55]line 0 [21:53:55]OFD Sender: Processing packet 22521 [packets to send 23, broken 22] [21:53:55]ProducePacketName [21:53:55]name=ofd_packets/00022521 [21:53:55]OFD Sender: To server: pG, [21:53:55]CommunicateWithHost lk.salyk.kg:30040 [21:53:55]ConnectInit lk.salyk.kg [21:53:55]written 0, free lines is 4095 [21:53:56]Connected sock=10 [21:53:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 27 01 00 00 B3 D2 1F 01 B1 E0 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 31 31 30 34 06 04 21 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 A1 D0 B5 D0 BC D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 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 5E 00 00 00 F4 03 04 00 73 86 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F9 57 00 00 35 04 06 00 88 51 DB 8B E0 17 7E B1 7C A8 C8 6A B0 BB [21:53:56]Write to MH i2c: 01 00 00 A0 10 B0 [21:53:56]Write i2c OK [21:53:56]MH_I2C_Read... [21:53:56]Read from MH i2c: 01 [21:53:56]MH_I2C_Read... [21:53:56]Read from MH i2c: 01 07 00 [21:53:56]MH_I2C_Read... [21:53:56]Read from MH i2c: 01 07 00 A0 10 00 00 00 00 00 1E 0D E2 [21:53:56]RasterBufferAndPrint [21:53:56]line [21:53:56]line [21:53:56]line [21:53:56]line [21:53:56]line [21:53:56]written 0, free lines is 3364 [21:53:56]MH_Cut [21:53:56]Write to MH i2c: D1 01 00 A7 10 01 89 [21:53:56]Write i2c OK [21:53:56]MH_I2C_Read... [21:53:56]Read from MH i2c: D1 [21:53:56]MH_I2C_Read... [21:53:56]Read from MH i2c: D1 01 00 [21:53:56]MH_I2C_Read... [21:53:56]Read from MH i2c: D1 01 00 A7 10 00 88 [21:53:56]Write to MH i2c: 01 00 00 A8 10 B8 [21:53:56]Write i2c OK [21:53:56]MH_I2C_Read... [21:53:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 67 17 47 00 EE AE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 F9 57 00 00 F4 03 04 00 95 30 F4 66 B6 04 01 00 00 07 F8 59 95 3D 39 F1 F6 [21:53:56]CommunicateWithHost err = 0 [21:53:56]CheckOFDResponse [21:53:56]1017 (14) - 77093643461234 [21:53:56]1041 (16) - 0000000000959358 [21:53:56]1040 (4) - 22521 [21:53:56]1012 (4) - 25.09.2024 15:47 [21:53:56]1206 (1) - 0 [21:53:56]OFD Sender: Remove packet 22521 [21:53:56]ProducePacketName [21:53:56]name=ofd_packets/00022521 [21:53:56]NVStorageDeleteData [21:53:56]OFD Sender: No OFD packet to send [21:53:56]*** Cut start [21:53:56]*** Partial cut [21:53:56]*** CUTSNS_PIN = 1 [21:53:57]*** CUTSNS_PIN = 0 [21:53:57]*** Brake cut motor [21:53:57]Read from MH i2c: 01 [21:53:57]MH_I2C_Read... [21:53:57]*** Stop cut motor [21:53:57]*** Cut end [21:53:57]Read from MH i2c: 01 07 00 [21:53:57]MH_I2C_Read... [21:53:57]Read from MH i2c: 01 07 00 A8 10 00 00 00 00 00 FF 0F CD [21:53:57]process_action close_receipt done [21:53:57]requested_data is exist [21:53:57]produce_requested_data [21:53:57]requested_item fm.sn is exist - process it [21:53:57]wFMCommunicate request_size=4 [21:53:57]MH_SAM_APDU [21:53:57]CAPDU: 80 11 00 00 [21:53:57]Write to MH i2c: E2 08 00 A9 10 80 11 00 00 00 00 00 00 33 [21:53:57]Write i2c OK [21:53:57]MH_I2C_Read... [21:53:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:53:57]Read from MH i2c: E2 [21:53:57]MH_I2C_Read... [21:53:57]Read from MH i2c: E2 17 00 [21:53:57]MH_I2C_Read... [21:53:57]Read from MH i2c: E2 17 00 A9 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 8D [21:53:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [21:53:57]wFMCommunicate OK [21:53:57]requested_item fd.num is exist - process it [21:53:57]SAM_PROTO_GetFieldsCounters [21:53:57]wFMCommunicate request_size=4 [21:53:57]MH_SAM_APDU [21:53:57]CAPDU: 80 13 00 00 [21:53:57]Write to MH i2c: E2 08 00 AA 10 80 13 00 00 00 00 00 00 36 [21:53:57]Write i2c OK [21:53:57]MH_I2C_Read... [21:53:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:53:57]Read from MH i2c: E2 [21:53:57]MH_I2C_Read... [21:53:57]Read from MH i2c: E2 62 00 [21:53:57]MH_I2C_Read... [21:53:57]Read from MH i2c: E2 62 00 AA 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 F9 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 5E 00 00 00 5E 04 04 00 5E 00 00 00 57 04 04 00 5F 00 00 00 19 04 04 00 00 00 00 00 90 00 AA [21:53:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 F9 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 5E 00 00 00 5E 04 04 00 5E 00 00 00 57 04 04 00 5F 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:53:57]wFMCommunicate OK [21:53:57]SAM_PROTO_GetFieldsCounters done [21:53:57]requested_item shift.num is exist - process it [21:53:57]requested_item shift.opened is exist - process it [21:53:57]req_shift_opened [21:53:57]FM_GetShiftState [21:53:57]SAM_PROTO_GetShiftState [21:53:57]wFMCommunicate request_size=4 [21:53:57]MH_SAM_APDU [21:53:57]CAPDU: 80 13 01 00 [21:53:57]Write to MH i2c: E2 08 00 AB 10 80 13 01 00 00 00 00 00 38 [21:53:57]Write i2c OK [21:53:57]MH_I2C_Read... [21:53:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:53:57]Read from MH i2c: E2 [21:53:57]MH_I2C_Read... [21:53:57]Read from MH i2c: E2 0E 00 [21:53:57]MH_I2C_Read... [21:53:57]Read from MH i2c: E2 0E 00 AB 10 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 C9 [21:53:57]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [21:53:57]wFMCommunicate OK [21:53:57]SAM_PROTO_GetShiftState done [21:53:57]FM_GetShiftState done [21:53:57]req_shift_opened done [21:53:57]requested_item shift.open_date is exist - process it [21:53:57]req_shift_open_date [21:53:57]req_shift_open_date done [21:53:57]produce_requested_data done [21:53:57]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22521,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [21:53:57]process_action_free close_receipt [21:53:57]json_value_free [21:53:57]json_value_free done [21:53:57]process_json_proto returns [21:53:57]Send response to host [21:53:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22521,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [21:53:57]free response buf [21:53:57]execute_script done [21:53:57]execute_script returns [21:53:57]free content buf [21:53:57]Sock 7.Close socket [21:53:57]Sock 7.Thread stoped [21:54:01]OFD Sender: No OFD packet to send [21:54:06]OFD Sender: No OFD packet to send [21:54:11]OFD Sender: No OFD packet to send [21:54:16]OFD Sender: No OFD packet to send [21:54:21]OFD Sender: No OFD packet to send [21:54:26]OFD Sender: No OFD packet to send [21:54:31]OFD Sender: No OFD packet to send [21:54:36]OFD Sender: No OFD packet to send [21:54:41]OFD Sender: No OFD packet to send [21:54:46]OFD Sender: No OFD packet to send [21:54:51]OFD Sender: No OFD packet to send [21:54:56]OFD Sender: No OFD packet to send [21:55:01]OFD Sender: No OFD packet to send [21:55:06]OFD Sender: No OFD packet to send [21:55:11]OFD Sender: No OFD packet to send [21:55:16]OFD Sender: No OFD packet to send [21:55:21]OFD Sender: No OFD packet to send [21:55:26]OFD Sender: No OFD packet to send [21:55:31]OFD Sender: No OFD packet to send [21:55:36]OFD Sender: No OFD packet to send [21:55:41]OFD Sender: No OFD packet to send [21:55:46]OFD Sender: No OFD packet to send [21:55:52]OFD Sender: No OFD packet to send [21:55:57]OFD Sender: No OFD packet to send [21:56:02]OFD Sender: No OFD packet to send [21:56:07]OFD Sender: No OFD packet to send [21:56:12]OFD Sender: No OFD packet to send [21:56:17]OFD Sender: No OFD packet to send [21:56:22]OFD Sender: No OFD packet to send [21:56:27]OFD Sender: No OFD packet to send [21:56:32]OFD Sender: No OFD packet to send [21:56:37]OFD Sender: No OFD packet to send [21:56:42]OFD Sender: No OFD packet to send [21:56:47]OFD Sender: No OFD packet to send [21:56:52]OFD Sender: No OFD packet to send [21:56:57]OFD Sender: No OFD packet to send [21:56:57]accept exits with 9 [21:56:57]New connection [21:56:57]New thread 3067440484 created [21:56:57]Thread 3067583844 joined [21:56:57]Waiting for new connection... [21:56:57] Sock 9.Parse request [21:56:57]Sock 9.Check first char [21:56:57]Sock 9.First char is OK [21:56:57]request: POST /json_proto HTTP/1.0 [21:56:57]Method: POST [21:56:57]URL: /json_proto [21:56:57]Method is POST - this is cgi request [21:56:57]url: /json_proto [21:56:57]query_string will be loaded in cgi processing [21:56:57]execute_cgi json_proto POST (null) [21:56:57]execute_cgi path=json_proto method=POST [21:56:57]POST find Content-Length [21:56:57]Host: 172.17.43.4:8080 [21:56:57]Content-Length: 1511 [21:56:57]Content-Type: application/json [21:56:57] [21:56:57]POST finish read [21:56:57]Found Content-Length = 1511 [21:56:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51716", "tax_sys" : 0, "items" : [ { "code": "4700001610012", "name": "\u041F\u0438\u0432\u043E \u0410\u0440\u043F\u0430 0,5\u043B", "price" : 145.00, "quantity" : 4.000, "sum" : 580.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202522015", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0413\u0440\u0443\u0448\u0435\u0432\u044B\u0439 1,2\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400990", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D \u0412\u0435\u043B\u0438\u043A\u0430\u043D 100\u0433\u0440", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4670003190051", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u041640 \u043A\u0440\u0430\u0441 1\u043B", "price" : 225.00, "quantity" : 1.000, "sum" : 225.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1050.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:56:57]execute_script... [21:56:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51716", "tax_sys" : 0, "items" : [ { "code": "4700001610012", "name": "\u041F\u0438\u0432\u043E \u0410\u0440\u043F\u0430 0,5\u043B", "price" : 145.00, "quantity" : 4.000, "sum" : 580.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202522015", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0413\u0440\u0443\u0448\u0435\u0432\u044B\u0439 1,2\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400990", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D \u0412\u0435\u043B\u0438\u043A\u0430\u043D 100\u0433\u0440", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4670003190051", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u041640 \u043A\u0440\u0430\u0441 1\u043B", "price" : 225.00, "quantity" : 1.000, "sum" : 225.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1050.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:56:57]POST & json_proto [21:56:57]process_json_proto [21:56:57]json parsed OK: [21:56:57]protocol is kg_v1.0 [21:56:57]action value=close_receipt [21:56:57]process_action close_receipt [21:56:57]cmd_close_receipt [21:56:57]MH_GetDate [21:56:57]Write to MH i2c: F0 00 00 AC 10 AB [21:56:57]Write i2c OK [21:56:57]MH_I2C_Read... [21:56:57]Read from MH i2c: F0 [21:56:57]MH_I2C_Read... [21:56:57]Read from MH i2c: F0 09 00 [21:56:57]MH_I2C_Read... [21:56:57]Read from MH i2c: F0 09 00 AC 10 00 2B 87 F4 66 02 BF CF 66 B6 [21:56:57]GetLastDocTimeStamp 1727301235 [21:56:57]current date 1727301419 [21:56:57]FM_GetShiftState [21:56:57]SAM_PROTO_GetShiftState [21:56:57]wFMCommunicate request_size=4 [21:56:57]MH_SAM_APDU [21:56:57]CAPDU: 80 13 01 00 [21:56:57]Write to MH i2c: E2 08 00 AD 10 80 13 01 00 00 00 00 00 3A [21:56:57]Write i2c OK [21:56:57]MH_I2C_Read... [21:56:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:56:57]Read from MH i2c: E2 [21:56:57]MH_I2C_Read... [21:56:57]Read from MH i2c: E2 0E 00 [21:56:57]MH_I2C_Read... [21:56:57]Read from MH i2c: E2 0E 00 AD 10 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 CB [21:56:57]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [21:56:57]wFMCommunicate OK [21:56:57]SAM_PROTO_GetShiftState done [21:56:57]FM_GetShiftState done [21:56:57]opened in 1727224020 [21:56:57]opened+sec_in_day 1727310420 [21:56:57]quantity*price = 58000 [21:56:57]sum+1 = 58001 [21:56:57]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870202522015 Напиток Maxi Чай Грушевый 1,2л 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4630007400990 Семечки ДЖИНН Великан 100гр 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4670003190051 Антифриз SIBIRIA ANTIFREEZE ОЖ40 крас 1л 1.000 * 225.00 = 225.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 1050.00 НСП 1% : 9.29 НДС 12% : 111.49 Наличными: 1050.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 95 25.09.2024 21:56 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22522 ФПД: 139932263509441 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T215659&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22522&fm=139932263509441&tin=02508201610067®Number=0000000000146243&sum=105000 0 [21:56:58]StoreToDocumentArchive [21:56:58]shift 231 fd 22522 [21:56:58]save to /storage/0231/doc_00022522 [21:56:58]save last doc name /storage/0231/doc_00022522 to /storage/kkm_last_doc_name [21:56:58]save OK [21:56:58]Clear old archive folders... [21:56:58]ProcessDocumentItem done err = 0, tmpTLVsize=633 [21:56:58]tlvbuf is 00233FA0 [21:56:58]SAM_PROTO_ClearQueue [21:56:58]wFMCommunicate request_size=4 [21:56:58]MH_SAM_APDU [21:56:58]CAPDU: 80 09 00 00 [21:56:58]Write to MH i2c: E2 08 00 BA 10 80 09 00 00 00 00 00 00 3C [21:56:58]Write i2c OK [21:56:58]MH_I2C_Read... [21:56:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:56:58]Read from MH i2c: E2 [21:56:58]MH_I2C_Read... [21:56:58]Read from MH i2c: E2 03 00 [21:56:58]MH_I2C_Read... [21:56:58]Read from MH i2c: E2 03 00 BA 10 00 90 00 3E [21:56:58]RAPDU: 90 00 [21:56:58]wFMCommunicate OK [21:56:58]SAM_PROTO_ClearQueue done [21:56:58]KKMCreateOFDPacket [21:56:58]OFDProtocolAddRootSTLVToBuf [21:56:58]FM_MakeSignedData [21:56:58]FM_MakeSignedData [21:56:58]SAM_PROTO_SignData [21:56:58]wFMCommunicate request_size=4 [21:56:58]MH_SAM_APDU [21:56:58]CAPDU: 80 0D 01 02 [21:56:58]Write to MH i2c: E2 08 00 BB 10 80 0D 01 02 00 00 00 00 44 [21:56:58]Write i2c OK [21:56:58]MH_I2C_Read... [21:56:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:56:59]Read from MH i2c: E2 [21:56:59]MH_I2C_Read... [21:56:59]Read from MH i2c: E2 03 00 [21:56:59]MH_I2C_Read... [21:56:59]Read from MH i2c: E2 03 00 BB 10 00 90 00 3F [21:56:59]RAPDU: 90 00 [21:56:59]wFMCommunicate OK [21:56:59]wFMCommunicate request_size=255 [21:56:59]MH_SAM_APDU [21:56:59]CAPDU: 80 0D 02 02 FA 03 00 79 02 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 90 E2 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 39 30 06 04 30 00 [21:56:59]Write to MH i2c: E2 02 01 BC 10 80 0D 02 02 FA 00 03 00 79 02 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 90 E2 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 39 30 06 04 30 00 00 00 69 [21:56:59]Write i2c OK [21:56:59]MH_I2C_Read... [21:56:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:56:59]Read from MH i2c: E2 [21:56:59]MH_I2C_Read... [21:56:59]Read from MH i2c: E2 03 00 [21:56:59]MH_I2C_Read... [21:56:59]Read from MH i2c: E2 03 00 BC 10 00 90 00 40 [21:56:59]RAPDU: 90 00 [21:56:59]wFMCommunicate OK [21:56:59]wFMCommunicate request_size=255 [21:56:59]MH_SAM_APDU [21:56:59]CAPDU: 80 0D 02 02 FA D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 D0 92 D0 B5 D0 BB D0 B8 D0 BA D0 B0 D0 BD 20 31 30 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 06 04 37 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 9A 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A1 [21:56:59]Write to MH i2c: E2 02 01 BD 10 80 0D 02 02 FA 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 D0 92 D0 B5 D0 BB D0 B8 D0 BA D0 B0 D0 BD 20 31 30 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 06 04 37 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 9A 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A1 00 00 EE [21:56:59]Write i2c OK [21:56:59]MH_I2C_Read... [21:56:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:56:59]Read from MH i2c: E2 [21:56:59]MH_I2C_Read... [21:56:59]Read from MH i2c: E2 03 00 [21:56:59]MH_I2C_Read... [21:56:59]Read from MH i2c: E2 03 00 BD 10 00 90 00 41 [21:56:59]RAPDU: 90 00 [21:56:59]wFMCommunicate OK [21:56:59]wFMCommunicate request_size=142 [21:56:59]MH_SAM_APDU [21:56:59]CAPDU: 80 0D 02 02 89 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8D 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 5F 00 00 00 F4 03 04 00 2B 87 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FA 57 00 00 35 04 06 00 7F 44 84 DB ED C1 [21:56:59]Write to MH i2c: E2 91 00 BE 10 80 0D 02 02 89 00 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8D 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 5F 00 00 00 F4 03 04 00 2B 87 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FA 57 00 00 35 04 06 00 7F 44 84 DB ED C1 00 00 7A [21:56:59]Write i2c OK [21:56:59]MH_I2C_Read... [21:56:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:56:59]Read from MH i2c: E2 [21:56:59]MH_I2C_Read... [21:56:59]Read from MH i2c: E2 03 00 [21:56:59]MH_I2C_Read... [21:56:59]Read from MH i2c: E2 03 00 BE 10 00 90 00 42 [21:56:59]RAPDU: 90 00 [21:56:59]wFMCommunicate OK [21:56:59]wFMCommunicate request_size=4 [21:56:59]MH_SAM_APDU [21:56:59]CAPDU: 80 0D 03 02 [21:56:59]Write to MH i2c: E2 08 00 BF 10 80 0D 03 02 00 00 00 00 4A [21:56:59]Write i2c OK [21:56:59]MH_I2C_Read... [21:56:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:56:59]Read from MH i2c: E2 [21:56:59]MH_I2C_Read... [21:56:59]Read from MH i2c: E2 0B 00 [21:56:59]MH_I2C_Read... [21:56:59]Read from MH i2c: E2 0B 00 BF 10 00 58 F1 D0 0F 4B 2B 7F 18 90 00 80 [21:56:59]RAPDU: 58 F1 D0 0F 4B 2B 7F 18 90 00 [21:56:59]wFMCommunicate OK [21:56:59]SAM_PROTO_SignData done [21:56:59]FM_MakeSignedData done [21:56:59]CreateOFDProtocolMessage [21:56:59]wFMCommunicate request_size=4 [21:56:59]MH_SAM_APDU [21:56:59]CAPDU: 80 11 00 00 [21:56:59]Write to MH i2c: E2 08 00 C0 10 80 11 00 00 00 00 00 00 4A [21:56:59]Write i2c OK [21:56:59]MH_I2C_Read... [21:56:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:56:59]Read from MH i2c: E2 [21:56:59]MH_I2C_Read... [21:56:59]Read from MH i2c: E2 17 00 [21:56:59]MH_I2C_Read... [21:56:59]Read from MH i2c: E2 17 00 C0 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 A4 [21:56:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [21:56:59]wFMCommunicate OK [21:56:59]CreateOFDProtocolMessage done [21:56:59]OFDSenderStorePacket 22522 [21:56:59]StoreOFDPacket docnum=22522 [21:56:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 8D 02 00 00 C4 DE 85 02 A4 AD 5A 03 01 00 03 00 79 02 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 90 E2 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 39 30 06 04 30 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 D0 92 D0 B5 D0 BB D0 B8 D0 BA D0 B0 D0 BD 20 31 30 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 06 04 37 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 8D 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 5F 00 00 00 F4 03 04 00 2B 87 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FA 57 00 00 35 04 06 00 7F 44 84 DB ED C1 58 F1 D0 0F 4B 2B 7F 18 [21:56:59]CheckFolder [21:56:59]dirname=/storage/ofd_packets [21:56:59]CheckFolder done [21:56:59]ProducePacketName [21:56:59]name=ofd_packets/00022522 [21:56:59]NVStorageSaveData ofd_packets/00022522 [21:56:59]File name is /storage/ofd_packets/00022522 [21:56:59]Write 683 bytes [21:56:59]NVStorageSaveData done [21:56:59]OFDSenderStorePacket done [21:56:59]KKMCreateOFDPacket done [21:56:59]NVStorageSaveData kkm_last_timestamp [21:56:59]File name is /storage/kkm_last_timestamp [21:56:59]Write 4 bytes [21:56:59]NVStorageSaveData done [21:56:59]ExternCall_PrintAddStr [21:56:59]wPrintStart [21:56:59]Write to MH i2c: 01 00 00 C1 10 D1 [21:56:59]Write i2c OK [21:56:59]MH_I2C_Read... [21:56:59]Read from MH i2c: 01 [21:56:59]MH_I2C_Read... [21:56:59]Read from MH i2c: 01 07 00 [21:56:59]MH_I2C_Read... [21:56:59]Read from MH i2c: 01 07 00 C1 10 00 00 00 00 00 FF 0F E6 [21:56:59]RasterBufferAndPrint [21:56:59]line Счет N : (3)51716 [21:56:59]line ИНН: 02508201610067 [21:56:59]line Контрольно-Кассовый Чек [21:56:59]line ПРОДАЖА [21:56:59]line Товар: 4700001610012 [21:56:59]line Пиво Арпа 0,5л [21:56:59]line 4.000 * 145.00 [21:56:59]line = 580.00 [21:56:59]line НДС 12% НСП 1% [21:57:00]line > о реализуемом товаре [21:57:00]line Товар: 4870202522015 [21:57:00]line Напиток Maxi Чай Грушевый 1,2л [21:57:00]line 1.000 * 125.00 [21:57:00]line = 125.00 [21:57:00]line НДС 12% НСП 1% [21:57:00]line > о реализуемом товаре [21:57:00]line Товар: 4630007400990 [21:57:00]line Семечки ДЖИНН Великан 100гр [21:57:00]line 1.000 * 120.00 [21:57:00]line = 120.00 [21:57:00]line НДС 12% НСП 1% [21:57:00]line > о реализуемом товаре [21:57:00]line Товар: 4670003190051 [21:57:00]line Антифриз SIBIRIA ANTIFREEZE ОЖ40 крас 1л [21:57:00]line 1.000 * 225.00 [21:57:00]line = 225.00 [21:57:00]line НДС 12% НСП 1% [21:57:00]line > о реализуемом товаре [21:57:00]line ИТОГО: 1050.00 [21:57:00]line НСП 1% : 9.29 [21:57:00]line НДС 12% : 111.49 [21:57:00]line Наличными: 1050.00 [21:57:00]line Безнал.: 0.00 [21:57:00]line Место: АЗС № 88 "Партнер Нефть" [21:57:00]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [21:57:00]line СНО: Общий режим [21:57:00]line Чек 95 25.09.2024 21:56 [21:57:00]line Смена: 231 ФФД: 1.0 [21:57:00]line ЗНМ: 0300000061 [21:57:00]line РНМ: 0000000000146243 [21:57:00]line Версия ККМ: v1.0 [21:57:00]line ФМ: 0000000000959358 [21:57:00]line ФД: 22522 [21:57:00]line ФПД: 139932263509441 [21:57:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T215659&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22522&fm=139932263509441&tin=02508201610067®Number=0000000000146243&sum=105000 [21:57:00]OFD Sender: Processing packet 22522 [packets to send 23, broken 22] [21:57:00]ProducePacketName [21:57:00]name=ofd_packets/00022522 [21:57:00]OFD Sender: To server: pG, [21:57:00]CommunicateWithHost lk.salyk.kg:30040 [21:57:00]ConnectInit lk.salyk.kg [21:57:00]line 0 [21:57:00]written 0, free lines is 4095 [21:57:00]Connected sock=10 [21:57:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 8D 02 00 00 C4 DE 85 02 A4 AD 5A 03 01 00 03 00 79 02 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 90 E2 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 39 30 06 04 30 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 D0 92 D0 B5 D0 BB D0 B8 D0 BA D0 B0 D0 BD 20 31 30 30 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 30 30 35 31 06 04 37 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 34 30 20 D0 BA D1 80 D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 E4 57 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 8D 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 5F 00 00 00 F4 03 04 00 2B 87 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FA 57 00 00 35 04 06 00 7F 44 84 DB ED C1 58 F1 D0 0F 4B 2B 7F 18 [21:57:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 5F 04 47 00 5D F3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FA 57 00 00 F4 03 04 00 4D 31 F4 66 B6 04 01 00 00 54 0B 28 E2 63 65 1C 82 [21:57:00]CommunicateWithHost err = 0 [21:57:00]CheckOFDResponse [21:57:00]1017 (14) - 77093643461234 [21:57:00]1041 (16) - 0000000000959358 [21:57:00]1040 (4) - 22522 [21:57:00]1012 (4) - 25.09.2024 15:50 [21:57:00]1206 (1) - 0 [21:57:00]OFD Sender: Remove packet 22522 [21:57:00]ProducePacketName [21:57:00]name=ofd_packets/00022522 [21:57:00]NVStorageDeleteData [21:57:00]Write to MH i2c: 01 00 00 FE 10 0E [21:57:00]Write i2c OK [21:57:00]MH_I2C_Read... [21:57:00]Read from MH i2c: 01 [21:57:00]MH_I2C_Read... [21:57:00]Read from MH i2c: 01 07 00 [21:57:00]MH_I2C_Read... [21:57:00]Read from MH i2c: 01 07 00 FE 10 00 00 00 00 00 20 0C 41 [21:57:00]RasterBufferAndPrint [21:57:00]line [21:57:00]line [21:57:00]line [21:57:00]line [21:57:00]line [21:57:00]written 0, free lines is 3115 [21:57:00]MH_Cut [21:57:00]Write to MH i2c: D1 01 00 05 11 01 E8 [21:57:00]Write i2c OK [21:57:00]MH_I2C_Read... [21:57:00]Read from MH i2c: D1 [21:57:00]MH_I2C_Read... [21:57:00]Read from MH i2c: D1 01 00 [21:57:00]MH_I2C_Read... [21:57:00]Read from MH i2c: D1 01 00 05 11 00 E7 [21:57:00]Write to MH i2c: 01 00 00 06 11 17 [21:57:00]Write i2c OK [21:57:00]MH_I2C_Read... [21:57:01]OFD Sender: No OFD packet to send [21:57:01]*** Cut start [21:57:01]*** Partial cut [21:57:01]*** CUTSNS_PIN = 1 [21:57:01]*** CUTSNS_PIN = 0 [21:57:01]*** Brake cut motor [21:57:02]Read from MH i2c: 01 [21:57:02]MH_I2C_Read... [21:57:02]*** Stop cut motor [21:57:02]*** Cut end [21:57:02]Read from MH i2c: 01 07 00 [21:57:02]MH_I2C_Read... [21:57:02]Read from MH i2c: 01 07 00 06 11 00 00 00 00 00 FF 0F 2C [21:57:02]process_action close_receipt done [21:57:02]requested_data is exist [21:57:02]produce_requested_data [21:57:02]requested_item fm.sn is exist - process it [21:57:02]wFMCommunicate request_size=4 [21:57:02]MH_SAM_APDU [21:57:02]CAPDU: 80 11 00 00 [21:57:02]Write to MH i2c: E2 08 00 07 11 80 11 00 00 00 00 00 00 92 [21:57:02]Write i2c OK [21:57:02]MH_I2C_Read... [21:57:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:57:02]Read from MH i2c: E2 [21:57:02]MH_I2C_Read... [21:57:02]Read from MH i2c: E2 17 00 [21:57:02]MH_I2C_Read... [21:57:02]Read from MH i2c: E2 17 00 07 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 EC [21:57:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [21:57:02]wFMCommunicate OK [21:57:02]requested_item fd.num is exist - process it [21:57:02]SAM_PROTO_GetFieldsCounters [21:57:02]wFMCommunicate request_size=4 [21:57:02]MH_SAM_APDU [21:57:02]CAPDU: 80 13 00 00 [21:57:02]Write to MH i2c: E2 08 00 08 11 80 13 00 00 00 00 00 00 95 [21:57:02]Write i2c OK [21:57:02]MH_I2C_Read... [21:57:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:57:02]Read from MH i2c: E2 [21:57:02]MH_I2C_Read... [21:57:02]Read from MH i2c: E2 62 00 [21:57:02]MH_I2C_Read... [21:57:02]Read from MH i2c: E2 62 00 08 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 FA 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 5F 00 00 00 5E 04 04 00 5F 00 00 00 57 04 04 00 60 00 00 00 19 04 04 00 00 00 00 00 90 00 0D [21:57:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 FA 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 5F 00 00 00 5E 04 04 00 5F 00 00 00 57 04 04 00 60 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:57:02]wFMCommunicate OK [21:57:02]SAM_PROTO_GetFieldsCounters done [21:57:02]requested_item shift.num is exist - process it [21:57:02]requested_item shift.opened is exist - process it [21:57:02]req_shift_opened [21:57:02]FM_GetShiftState [21:57:02]SAM_PROTO_GetShiftState [21:57:02]wFMCommunicate request_size=4 [21:57:02]MH_SAM_APDU [21:57:02]CAPDU: 80 13 01 00 [21:57:02]Write to MH i2c: E2 08 00 09 11 80 13 01 00 00 00 00 00 97 [21:57:02]Write i2c OK [21:57:02]MH_I2C_Read... [21:57:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:57:02]Read from MH i2c: E2 [21:57:02]MH_I2C_Read... [21:57:02]Read from MH i2c: E2 0E 00 [21:57:02]MH_I2C_Read... [21:57:02]Read from MH i2c: E2 0E 00 09 11 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 28 [21:57:02]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [21:57:02]wFMCommunicate OK [21:57:02]SAM_PROTO_GetShiftState done [21:57:02]FM_GetShiftState done [21:57:02]req_shift_opened done [21:57:02]requested_item shift.open_date is exist - process it [21:57:02]req_shift_open_date [21:57:02]req_shift_open_date done [21:57:02]produce_requested_data done [21:57:02]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22522,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [21:57:02]process_action_free close_receipt [21:57:02]json_value_free [21:57:02]json_value_free done [21:57:02]process_json_proto returns [21:57:02]Send response to host [21:57:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22522,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [21:57:02]free response buf [21:57:02]execute_script done [21:57:02]execute_script returns [21:57:02]free content buf [21:57:02]Sock 9.Close socket [21:57:02]Sock 9.Thread stoped [21:57:06]OFD Sender: No OFD packet to send [21:57:11]OFD Sender: No OFD packet to send [21:57:16]OFD Sender: No OFD packet to send [21:57:21]OFD Sender: No OFD packet to send [21:57:26]OFD Sender: No OFD packet to send [21:57:31]OFD Sender: No OFD packet to send [21:57:36]OFD Sender: No OFD packet to send [21:57:41]OFD Sender: No OFD packet to send [21:57:46]OFD Sender: No OFD packet to send [21:57:51]OFD Sender: No OFD packet to send [21:57:56]OFD Sender: No OFD packet to send [21:58:01]OFD Sender: No OFD packet to send [21:58:06]OFD Sender: No OFD packet to send [21:58:11]OFD Sender: No OFD packet to send [21:58:16]OFD Sender: No OFD packet to send [21:58:21]OFD Sender: No OFD packet to send [21:58:26]OFD Sender: No OFD packet to send [21:58:31]OFD Sender: No OFD packet to send [21:58:36]OFD Sender: No OFD packet to send [21:58:41]OFD Sender: No OFD packet to send [21:58:46]OFD Sender: No OFD packet to send [21:58:51]OFD Sender: No OFD packet to send [21:58:56]OFD Sender: No OFD packet to send [21:59:01]OFD Sender: No OFD packet to send [21:59:06]OFD Sender: No OFD packet to send [21:59:11]OFD Sender: No OFD packet to send [21:59:16]OFD Sender: No OFD packet to send [21:59:21]OFD Sender: No OFD packet to send [21:59:26]OFD Sender: No OFD packet to send [21:59:31]OFD Sender: No OFD packet to send [21:59:36]OFD Sender: No OFD packet to send [21:59:41]OFD Sender: No OFD packet to send [21:59:46]OFD Sender: No OFD packet to send [21:59:51]OFD Sender: No OFD packet to send [21:59:56]OFD Sender: No OFD packet to send [22:00:01]OFD Sender: No OFD packet to send [22:00:06]OFD Sender: No OFD packet to send [22:00:11]OFD Sender: No OFD packet to send [22:00:16]OFD Sender: No OFD packet to send [22:00:21]OFD Sender: No OFD packet to send [22:00:26]OFD Sender: No OFD packet to send [22:00:31]OFD Sender: No OFD packet to send [22:00:36]OFD Sender: No OFD packet to send [22:00:41]OFD Sender: No OFD packet to send [22:00:46]OFD Sender: No OFD packet to send [22:00:51]OFD Sender: No OFD packet to send [22:00:56]OFD Sender: No OFD packet to send [22:01:01]OFD Sender: No OFD packet to send [22:01:06]OFD Sender: No OFD packet to send [22:01:11]OFD Sender: No OFD packet to send [22:01:16]OFD Sender: No OFD packet to send [22:01:21]OFD Sender: No OFD packet to send [22:01:26]OFD Sender: No OFD packet to send [22:01:31]OFD Sender: No OFD packet to send [22:01:36]OFD Sender: No OFD packet to send [22:01:41]OFD Sender: No OFD packet to send [22:01:46]OFD Sender: No OFD packet to send [22:01:51]OFD Sender: No OFD packet to send [22:01:56]OFD Sender: No OFD packet to send [22:02:01]OFD Sender: No OFD packet to send [22:02:06]OFD Sender: No OFD packet to send [22:02:11]OFD Sender: No OFD packet to send [22:02:16]OFD Sender: No OFD packet to send [22:02:21]OFD Sender: No OFD packet to send [22:02:26]OFD Sender: No OFD packet to send [22:02:31]OFD Sender: No OFD packet to send [22:02:36]OFD Sender: No OFD packet to send [22:02:41]OFD Sender: No OFD packet to send [22:02:46]OFD Sender: No OFD packet to send [22:02:51]OFD Sender: No OFD packet to send [22:02:56]OFD Sender: No OFD packet to send [22:03:01]OFD Sender: No OFD packet to send [22:03:06]OFD Sender: No OFD packet to send [22:03:11]OFD Sender: No OFD packet to send [22:03:16]OFD Sender: No OFD packet to send [22:03:21]OFD Sender: No OFD packet to send [22:03:26]OFD Sender: No OFD packet to send [22:03:31]OFD Sender: No OFD packet to send [22:03:36]OFD Sender: No OFD packet to send [22:03:41]OFD Sender: No OFD packet to send [22:03:46]OFD Sender: No OFD packet to send [22:03:51]OFD Sender: No OFD packet to send [22:03:56]OFD Sender: No OFD packet to send [22:04:01]OFD Sender: No OFD packet to send [22:04:06]OFD Sender: No OFD packet to send [22:04:11]OFD Sender: No OFD packet to send [22:04:16]OFD Sender: No OFD packet to send [22:04:21]OFD Sender: No OFD packet to send [22:04:26]OFD Sender: No OFD packet to send [22:04:31]OFD Sender: No OFD packet to send [22:04:36]OFD Sender: No OFD packet to send [22:04:41]OFD Sender: No OFD packet to send [22:04:46]OFD Sender: No OFD packet to send [22:04:51]OFD Sender: No OFD packet to send [22:04:56]OFD Sender: No OFD packet to send [22:05:01]OFD Sender: No OFD packet to send [22:05:06]OFD Sender: No OFD packet to send [22:05:11]OFD Sender: No OFD packet to send [22:05:16]OFD Sender: No OFD packet to send [22:05:21]OFD Sender: No OFD packet to send [22:05:26]OFD Sender: No OFD packet to send [22:05:31]OFD Sender: No OFD packet to send [22:05:36]OFD Sender: No OFD packet to send [22:05:41]OFD Sender: No OFD packet to send [22:05:46]OFD Sender: No OFD packet to send [22:05:51]OFD Sender: No OFD packet to send [22:05:56]OFD Sender: No OFD packet to send [22:06:01]OFD Sender: No OFD packet to send [22:06:06]OFD Sender: No OFD packet to send [22:06:11]OFD Sender: No OFD packet to send [22:06:16]OFD Sender: No OFD packet to send [22:06:21]OFD Sender: No OFD packet to send [22:06:26]OFD Sender: No OFD packet to send [22:06:31]OFD Sender: No OFD packet to send [22:06:36]OFD Sender: No OFD packet to send [22:06:41]OFD Sender: No OFD packet to send [22:06:46]OFD Sender: No OFD packet to send [22:06:51]OFD Sender: No OFD packet to send [22:06:56]OFD Sender: No OFD packet to send [22:07:01]OFD Sender: No OFD packet to send [22:07:06]OFD Sender: No OFD packet to send [22:07:11]OFD Sender: No OFD packet to send [22:07:16]OFD Sender: No OFD packet to send [22:07:21]OFD Sender: No OFD packet to send [22:07:26]OFD Sender: No OFD packet to send [22:07:31]OFD Sender: No OFD packet to send [22:07:36]OFD Sender: No OFD packet to send [22:07:41]OFD Sender: No OFD packet to send [22:07:46]OFD Sender: No OFD packet to send [22:07:51]OFD Sender: No OFD packet to send [22:07:56]OFD Sender: No OFD packet to send [22:08:01]OFD Sender: No OFD packet to send [22:08:06]OFD Sender: No OFD packet to send [22:08:08]accept exits with 7 [22:08:08]New connection [22:08:08]New thread 3067583844 created [22:08:08]Thread 3067440484 joined [22:08:08]Waiting for new connection... [22:08:08] Sock 7.Parse request [22:08:08]Sock 7.Check first char [22:08:08]Sock 7.First char is OK [22:08:08]request: POST /json_proto HTTP/1.0 [22:08:08]Method: POST [22:08:08]URL: /json_proto [22:08:08]Method is POST - this is cgi request [22:08:08]url: /json_proto [22:08:08]query_string will be loaded in cgi processing [22:08:08]execute_cgi json_proto POST (null) [22:08:08]execute_cgi path=json_proto method=POST [22:08:08]POST find Content-Length [22:08:08]Host: 172.17.43.4:8080 [22:08:08]Content-Length: 747 [22:08:08]Content-Type: application/json [22:08:08] [22:08:08]POST finish read [22:08:08]Found Content-Length = 747 [22:08:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51717", "tax_sys" : 0, "items" : [ { "code": "4870202521254", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u043A\u043B\u0443\u0431\u043D", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:08:08]execute_script... [22:08:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51717", "tax_sys" : 0, "items" : [ { "code": "4870202521254", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 MAXI \u0447\u0435\u0440\u043D\u044B\u0439 \u0441\u043E \u0432\u043A\u0443\u0441\u043E\u043C \u043A\u043B\u0443\u0431\u043D", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:08:08]POST & json_proto [22:08:08]process_json_proto [22:08:08]json parsed OK: [22:08:08]protocol is kg_v1.0 [22:08:08]action value=close_receipt [22:08:08]process_action close_receipt [22:08:08]cmd_close_receipt [22:08:08]MH_GetDate [22:08:08]Write to MH i2c: F0 00 00 0A 11 0A [22:08:08]Write i2c OK [22:08:08]MH_I2C_Read... [22:08:08]Read from MH i2c: F0 [22:08:08]MH_I2C_Read... [22:08:08]Read from MH i2c: F0 09 00 [22:08:08]MH_I2C_Read... [22:08:08]Read from MH i2c: F0 09 00 0A 11 00 CA 89 F4 66 02 BF CF 66 B6 [22:08:08]GetLastDocTimeStamp 1727301419 [22:08:08]current date 1727302090 [22:08:08]FM_GetShiftState [22:08:08]SAM_PROTO_GetShiftState [22:08:08]wFMCommunicate request_size=4 [22:08:08]MH_SAM_APDU [22:08:08]CAPDU: 80 13 01 00 [22:08:08]Write to MH i2c: E2 08 00 0B 11 80 13 01 00 00 00 00 00 99 [22:08:08]Write i2c OK [22:08:08]MH_I2C_Read... [22:08:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:08:08]Read from MH i2c: E2 [22:08:08]MH_I2C_Read... [22:08:08]Read from MH i2c: E2 0E 00 [22:08:08]MH_I2C_Read... [22:08:08]Read from MH i2c: E2 0E 00 0B 11 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 2A [22:08:08]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [22:08:08]wFMCommunicate OK [22:08:08]SAM_PROTO_GetShiftState done [22:08:08]FM_GetShiftState done [22:08:08]opened in 1727224020 [22:08:08]opened+sec_in_day 1727310420 [22:08:08]quantity*price = 12500 [22:08:08]sum+1 = 12501 [22:08:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 96 25.09.2024 22:08 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22523 ФПД: 14631492467503 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T220810&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22523&fm=14631492467503&tin=02508201610067®Number=0000000000146243&sum=12500 0 [22:08:09]StoreToDocumentArchive [22:08:09]shift 231 fd 22523 [22:08:09]save to /storage/0231/doc_00022523 [22:08:09]save last doc name /storage/0231/doc_00022523 to /storage/kkm_last_doc_name [22:08:09]save OK [22:08:09]Clear old archive folders... [22:08:09]ProcessDocumentItem done err = 0, tmpTLVsize=312 [22:08:09]tlvbuf is B6F5BE40 [22:08:09]SAM_PROTO_ClearQueue [22:08:09]wFMCommunicate request_size=4 [22:08:09]MH_SAM_APDU [22:08:09]CAPDU: 80 09 00 00 [22:08:09]Write to MH i2c: E2 08 00 18 11 80 09 00 00 00 00 00 00 9B [22:08:09]Write i2c OK [22:08:09]MH_I2C_Read... [22:08:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:08:09]Read from MH i2c: E2 [22:08:09]MH_I2C_Read... [22:08:09]Read from MH i2c: E2 03 00 [22:08:09]MH_I2C_Read... [22:08:09]Read from MH i2c: E2 03 00 18 11 00 90 00 9D [22:08:09]RAPDU: 90 00 [22:08:09]wFMCommunicate OK [22:08:09]SAM_PROTO_ClearQueue done [22:08:09]KKMCreateOFDPacket [22:08:09]OFDProtocolAddRootSTLVToBuf [22:08:09]FM_MakeSignedData [22:08:09]FM_MakeSignedData [22:08:09]SAM_PROTO_SignData [22:08:09]wFMCommunicate request_size=4 [22:08:09]MH_SAM_APDU [22:08:09]CAPDU: 80 0D 01 02 [22:08:09]Write to MH i2c: E2 08 00 19 11 80 0D 01 02 00 00 00 00 A3 [22:08:09]Write i2c OK [22:08:09]MH_I2C_Read... [22:08:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:08:09]Read from MH i2c: E2 [22:08:09]MH_I2C_Read... [22:08:09]Read from MH i2c: E2 03 00 [22:08:09]MH_I2C_Read... [22:08:09]Read from MH i2c: E2 03 00 19 11 00 90 00 9E [22:08:09]RAPDU: 90 00 [22:08:09]wFMCommunicate OK [22:08:09]wFMCommunicate request_size=255 [22:08:09]MH_SAM_APDU [22:08:09]CAPDU: 80 0D 02 02 FA 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 60 00 00 00 F4 03 04 00 CA 89 F4 66 0E 04 04 00 E7 [22:08:09]Write to MH i2c: E2 02 01 1A 11 80 0D 02 02 FA 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 60 00 00 00 F4 03 04 00 CA 89 F4 66 0E 04 04 00 E7 00 00 B3 [22:08:09]Write i2c OK [22:08:09]MH_I2C_Read... [22:08:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:08:10]Read from MH i2c: E2 [22:08:10]MH_I2C_Read... [22:08:10]Read from MH i2c: E2 03 00 [22:08:10]MH_I2C_Read... [22:08:10]Read from MH i2c: E2 03 00 1A 11 00 90 00 9F [22:08:10]RAPDU: 90 00 [22:08:10]wFMCommunicate OK [22:08:10]wFMCommunicate request_size=71 [22:08:10]MH_SAM_APDU [22:08:10]CAPDU: 80 0D 02 02 42 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FB 57 00 00 35 04 06 00 0D 4E A8 E9 3B 2F [22:08:10]Write to MH i2c: E2 4A 00 1B 11 80 0D 02 02 42 00 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FB 57 00 00 35 04 06 00 0D 4E A8 E9 3B 2F 00 00 69 [22:08:10]Write i2c OK [22:08:10]MH_I2C_Read... [22:08:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:08:10]Read from MH i2c: E2 [22:08:10]MH_I2C_Read... [22:08:10]Read from MH i2c: E2 03 00 [22:08:10]MH_I2C_Read... [22:08:10]Read from MH i2c: E2 03 00 1B 11 00 90 00 A0 [22:08:10]RAPDU: 90 00 [22:08:10]wFMCommunicate OK [22:08:10]wFMCommunicate request_size=4 [22:08:10]MH_SAM_APDU [22:08:10]CAPDU: 80 0D 03 02 [22:08:10]Write to MH i2c: E2 08 00 1C 11 80 0D 03 02 00 00 00 00 A8 [22:08:10]Write i2c OK [22:08:10]MH_I2C_Read... [22:08:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:08:10]Read from MH i2c: E2 [22:08:10]MH_I2C_Read... [22:08:10]Read from MH i2c: E2 0B 00 [22:08:10]MH_I2C_Read... [22:08:10]Read from MH i2c: E2 0B 00 1C 11 00 E1 98 DC CB 3A 43 6E 1D 90 00 D1 [22:08:10]RAPDU: E1 98 DC CB 3A 43 6E 1D 90 00 [22:08:10]wFMCommunicate OK [22:08:10]SAM_PROTO_SignData done [22:08:10]FM_MakeSignedData done [22:08:10]CreateOFDProtocolMessage [22:08:10]wFMCommunicate request_size=4 [22:08:10]MH_SAM_APDU [22:08:10]CAPDU: 80 11 00 00 [22:08:10]Write to MH i2c: E2 08 00 1D 11 80 11 00 00 00 00 00 00 A8 [22:08:10]Write i2c OK [22:08:10]MH_I2C_Read... [22:08:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:08:10]Read from MH i2c: E2 [22:08:10]MH_I2C_Read... [22:08:10]Read from MH i2c: E2 17 00 [22:08:10]MH_I2C_Read... [22:08:10]Read from MH i2c: E2 17 00 1D 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 02 [22:08:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [22:08:10]wFMCommunicate OK [22:08:10]CreateOFDProtocolMessage done [22:08:10]OFDSenderStorePacket 22523 [22:08:10]StoreOFDPacket docnum=22523 [22:08:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4C 01 00 00 D7 8B 44 01 1D F1 5A 03 01 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 60 00 00 00 F4 03 04 00 CA 89 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FB 57 00 00 35 04 06 00 0D 4E A8 E9 3B 2F E1 98 DC CB 3A 43 6E 1D [22:08:10]CheckFolder [22:08:10]dirname=/storage/ofd_packets [22:08:10]CheckFolder done [22:08:10]ProducePacketName [22:08:10]name=ofd_packets/00022523 [22:08:10]NVStorageSaveData ofd_packets/00022523 [22:08:10]File name is /storage/ofd_packets/00022523 [22:08:10]Write 362 bytes [22:08:10]NVStorageSaveData done [22:08:10]OFDSenderStorePacket done [22:08:10]KKMCreateOFDPacket done [22:08:10]NVStorageSaveData kkm_last_timestamp [22:08:10]File name is /storage/kkm_last_timestamp [22:08:10]Write 4 bytes [22:08:10]NVStorageSaveData done [22:08:10]ExternCall_PrintAddStr [22:08:10]wPrintStart [22:08:10]Write to MH i2c: 01 00 00 1E 11 2F [22:08:10]Write i2c OK [22:08:10]MH_I2C_Read... [22:08:10]Read from MH i2c: 01 [22:08:10]MH_I2C_Read... [22:08:10]Read from MH i2c: 01 07 00 [22:08:10]MH_I2C_Read... [22:08:10]Read from MH i2c: 01 07 00 1E 11 00 00 00 00 00 FF 0F 44 [22:08:10]RasterBufferAndPrint [22:08:10]line Счет N : (3)51717 [22:08:10]line ИНН: 02508201610067 [22:08:10]line Контрольно-Кассовый Чек [22:08:10]line ПРОДАЖА [22:08:10]line Товар: 4870202521254 [22:08:10]line Чай холодный MAXI черный со вкусом клубн [22:08:10]line 1.000 * 125.00 [22:08:10]line = 125.00 [22:08:10]line НДС 12% НСП 1% [22:08:10]line > о реализуемом товаре [22:08:10]line ИТОГО: 125.00 [22:08:10]line НСП 1% : 1.11 [22:08:10]line НДС 12% : 13.27 [22:08:10]line Наличными: 125.00 [22:08:10]line Безнал.: 0.00 [22:08:10]line Место: АЗС № 88 "Партнер Нефть" [22:08:10]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [22:08:10]line СНО: Общий режим [22:08:10]line Чек 96 25.09.2024 22:08 [22:08:10]line Смена: 231 ФФД: 1.0 [22:08:10]line ЗНМ: 0300000061 [22:08:10]line РНМ: 0000000000146243 [22:08:10]line Версия ККМ: v1.0 [22:08:10]line ФМ: 0000000000959358 [22:08:10]line ФД: 22523 [22:08:10]line ФПД: 14631492467503 [22:08:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T220810&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22523&fm=14631492467503&tin=02508201610067®Number=0000000000146243&sum=12500 [22:08:10]line 0 [22:08:10]OFD Sender: Processing packet 22523 [packets to send 23, broken 22] [22:08:10]ProducePacketName [22:08:10]name=ofd_packets/00022523 [22:08:10]OFD Sender: To server: pG, [22:08:10]CommunicateWithHost lk.salyk.kg:30040 [22:08:10]ConnectInit lk.salyk.kg [22:08:10]written 0, free lines is 4095 [22:08:10]Connected sock=10 [22:08:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4C 01 00 00 D7 8B 44 01 1D F1 5A 03 01 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 35 34 06 04 46 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 4D 41 58 49 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D1 81 D0 BE 20 D0 B2 D0 BA D1 83 D1 81 D0 BE D0 BC 20 D0 BA D0 BB D1 83 D0 B1 D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 60 00 00 00 F4 03 04 00 CA 89 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FB 57 00 00 35 04 06 00 0D 4E A8 E9 3B 2F E1 98 DC CB 3A 43 6E 1D [22:08:11]Write to MH i2c: 01 00 00 47 11 58 [22:08:11]Write i2c OK [22:08:11]MH_I2C_Read... [22:08:11]Read from MH i2c: 01 [22:08:11]MH_I2C_Read... [22:08:11]Read from MH i2c: 01 07 00 [22:08:11]MH_I2C_Read... [22:08:11]Read from MH i2c: 01 07 00 47 11 00 00 00 00 00 16 0D 82 [22:08:11]RasterBufferAndPrint [22:08:11]line [22:08:11]line [22:08:11]line [22:08:11]line [22:08:11]line [22:08:11]written 0, free lines is 3356 [22:08:11]MH_Cut [22:08:11]Write to MH i2c: D1 01 00 4E 11 01 31 [22:08:11]Write i2c OK [22:08:11]MH_I2C_Read... [22:08:11]Read from MH i2c: D1 [22:08:11]MH_I2C_Read... [22:08:11]Read from MH i2c: D1 01 00 [22:08:11]MH_I2C_Read... [22:08:11]Read from MH i2c: D1 01 00 4E 11 00 30 [22:08:11]Write to MH i2c: 01 00 00 4F 11 60 [22:08:11]Write i2c OK [22:08:11]MH_I2C_Read... [22:08:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 32 1D 47 00 77 0E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FB 57 00 00 F4 03 04 00 EC 33 F4 66 B6 04 01 00 00 E8 D7 06 15 2A A0 3C 3A [22:08:11]CommunicateWithHost err = 0 [22:08:11]CheckOFDResponse [22:08:11]1017 (14) - 77093643461234 [22:08:11]1041 (16) - 0000000000959358 [22:08:11]1040 (4) - 22523 [22:08:11]1012 (4) - 25.09.2024 16:01 [22:08:11]1206 (1) - 0 [22:08:11]OFD Sender: Remove packet 22523 [22:08:11]ProducePacketName [22:08:11]name=ofd_packets/00022523 [22:08:11]NVStorageDeleteData [22:08:11]OFD Sender: No OFD packet to send [22:08:11]*** Cut start [22:08:11]*** Partial cut [22:08:11]*** CUTSNS_PIN = 1 [22:08:11]*** CUTSNS_PIN = 0 [22:08:12]*** Brake cut motor [22:08:12]Read from MH i2c: 01 [22:08:12]MH_I2C_Read... [22:08:12]*** Stop cut motor [22:08:12]*** Cut end [22:08:12]Read from MH i2c: 01 07 00 [22:08:12]MH_I2C_Read... [22:08:12]Read from MH i2c: 01 07 00 4F 11 00 00 00 00 00 FF 0F 75 [22:08:12]process_action close_receipt done [22:08:12]requested_data is exist [22:08:12]produce_requested_data [22:08:12]requested_item fm.sn is exist - process it [22:08:12]wFMCommunicate request_size=4 [22:08:12]MH_SAM_APDU [22:08:12]CAPDU: 80 11 00 00 [22:08:12]Write to MH i2c: E2 08 00 50 11 80 11 00 00 00 00 00 00 DB [22:08:12]Write i2c OK [22:08:12]MH_I2C_Read... [22:08:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:08:12]Read from MH i2c: E2 [22:08:12]MH_I2C_Read... [22:08:12]Read from MH i2c: E2 17 00 [22:08:12]MH_I2C_Read... [22:08:12]Read from MH i2c: E2 17 00 50 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 35 [22:08:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [22:08:12]wFMCommunicate OK [22:08:12]requested_item fd.num is exist - process it [22:08:12]SAM_PROTO_GetFieldsCounters [22:08:12]wFMCommunicate request_size=4 [22:08:12]MH_SAM_APDU [22:08:12]CAPDU: 80 13 00 00 [22:08:12]Write to MH i2c: E2 08 00 51 11 80 13 00 00 00 00 00 00 DE [22:08:12]Write i2c OK [22:08:12]MH_I2C_Read... [22:08:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:08:12]Read from MH i2c: E2 [22:08:12]MH_I2C_Read... [22:08:12]Read from MH i2c: E2 62 00 [22:08:12]MH_I2C_Read... [22:08:12]Read from MH i2c: E2 62 00 51 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 FB 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 60 00 00 00 5E 04 04 00 60 00 00 00 57 04 04 00 61 00 00 00 19 04 04 00 00 00 00 00 90 00 5A [22:08:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 FB 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 60 00 00 00 5E 04 04 00 60 00 00 00 57 04 04 00 61 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:08:12]wFMCommunicate OK [22:08:12]SAM_PROTO_GetFieldsCounters done [22:08:12]requested_item shift.num is exist - process it [22:08:12]requested_item shift.opened is exist - process it [22:08:12]req_shift_opened [22:08:12]FM_GetShiftState [22:08:12]SAM_PROTO_GetShiftState [22:08:12]wFMCommunicate request_size=4 [22:08:12]MH_SAM_APDU [22:08:12]CAPDU: 80 13 01 00 [22:08:12]Write to MH i2c: E2 08 00 52 11 80 13 01 00 00 00 00 00 E0 [22:08:12]Write i2c OK [22:08:12]MH_I2C_Read... [22:08:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:08:12]Read from MH i2c: E2 [22:08:12]MH_I2C_Read... [22:08:12]Read from MH i2c: E2 0E 00 [22:08:12]MH_I2C_Read... [22:08:12]Read from MH i2c: E2 0E 00 52 11 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 71 [22:08:12]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [22:08:12]wFMCommunicate OK [22:08:12]SAM_PROTO_GetShiftState done [22:08:12]FM_GetShiftState done [22:08:12]req_shift_opened done [22:08:12]requested_item shift.open_date is exist - process it [22:08:12]req_shift_open_date [22:08:12]req_shift_open_date done [22:08:12]produce_requested_data done [22:08:12]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22523,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [22:08:12]process_action_free close_receipt [22:08:12]json_value_free [22:08:12]json_value_free done [22:08:12]process_json_proto returns [22:08:12]Send response to host [22:08:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22523,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [22:08:12]free response buf [22:08:12]execute_script done [22:08:12]execute_script returns [22:08:12]free content buf [22:08:12]Sock 7.Close socket [22:08:12]Sock 7.Thread stoped [22:08:16]OFD Sender: No OFD packet to send [22:08:21]OFD Sender: No OFD packet to send [22:08:26]OFD Sender: No OFD packet to send [22:08:31]OFD Sender: No OFD packet to send [22:08:36]OFD Sender: No OFD packet to send [22:08:41]OFD Sender: No OFD packet to send [22:08:46]OFD Sender: No OFD packet to send [22:08:51]OFD Sender: No OFD packet to send [22:08:56]OFD Sender: No OFD packet to send [22:09:01]OFD Sender: No OFD packet to send [22:09:06]OFD Sender: No OFD packet to send [22:09:11]OFD Sender: No OFD packet to send [22:09:16]OFD Sender: No OFD packet to send [22:09:21]OFD Sender: No OFD packet to send [22:09:25]accept exits with 9 [22:09:25]New connection [22:09:25]New thread 3067440484 created [22:09:25]Thread 3067583844 joined [22:09:25]Waiting for new connection... [22:09:25] Sock 9.Parse request [22:09:25]Sock 9.Check first char [22:09:25]Sock 9.First char is OK [22:09:25]request: POST /json_proto HTTP/1.0 [22:09:25]Method: POST [22:09:25]URL: /json_proto [22:09:25]Method is POST - this is cgi request [22:09:25]url: /json_proto [22:09:25]query_string will be loaded in cgi processing [22:09:25]execute_cgi json_proto POST (null) [22:09:25]execute_cgi path=json_proto method=POST [22:09:25]POST find Content-Length [22:09:25]Host: 172.17.43.4:8080 [22:09:25]Content-Length: 625 [22:09:25]Content-Type: application/json [22:09:25] [22:09:25]POST finish read [22:09:25]Found Content-Length = 625 [22:09:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51718", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 3.000, "sum" : 345.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 345.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:09:25]execute_script... [22:09:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51718", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 3.000, "sum" : 345.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 345.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:09:25]POST & json_proto [22:09:25]process_json_proto [22:09:25]json parsed OK: [22:09:25]protocol is kg_v1.0 [22:09:25]action value=close_receipt [22:09:25]process_action close_receipt [22:09:25]cmd_close_receipt [22:09:25]MH_GetDate [22:09:25]Write to MH i2c: F0 00 00 53 11 53 [22:09:25]Write i2c OK [22:09:25]MH_I2C_Read... [22:09:25]Read from MH i2c: F0 [22:09:25]MH_I2C_Read... [22:09:25]Read from MH i2c: F0 09 00 [22:09:25]MH_I2C_Read... [22:09:25]Read from MH i2c: F0 09 00 53 11 00 17 8A F4 66 02 BF CF 66 4D [22:09:25]GetLastDocTimeStamp 1727302090 [22:09:25]current date 1727302167 [22:09:25]FM_GetShiftState [22:09:25]SAM_PROTO_GetShiftState [22:09:25]wFMCommunicate request_size=4 [22:09:25]MH_SAM_APDU [22:09:25]CAPDU: 80 13 01 00 [22:09:25]Write to MH i2c: E2 08 00 54 11 80 13 01 00 00 00 00 00 E2 [22:09:25]Write i2c OK [22:09:25]MH_I2C_Read... [22:09:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:09:25]Read from MH i2c: E2 [22:09:25]MH_I2C_Read... [22:09:25]Read from MH i2c: E2 0E 00 [22:09:25]MH_I2C_Read... [22:09:25]Read from MH i2c: E2 0E 00 54 11 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 73 [22:09:25]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [22:09:25]wFMCommunicate OK [22:09:25]SAM_PROTO_GetShiftState done [22:09:25]FM_GetShiftState done [22:09:25]opened in 1727224020 [22:09:25]opened+sec_in_day 1727310420 [22:09:25]quantity*price = 34500 [22:09:25]sum+1 = 34501 [22:09:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 345.00 НСП 1% : 3.05 НДС 12% : 36.64 Наличными: 345.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 97 25.09.2024 22:09 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22524 ФПД: 19278690241584 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T220927&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22524&fm=19278690241584&tin=02508201610067®Number=0000000000146243&sum=34500 0 [22:09:26]StoreToDocumentArchive [22:09:26]shift 231 fd 22524 [22:09:26]save to /storage/0231/doc_00022524 [22:09:26]save last doc name /storage/0231/doc_00022524 to /storage/kkm_last_doc_name [22:09:26]save OK [22:09:26]Clear old archive folders... [22:09:26]ProcessDocumentItem done err = 0, tmpTLVsize=274 [22:09:26]tlvbuf is B6F42220 [22:09:26]SAM_PROTO_ClearQueue [22:09:26]wFMCommunicate request_size=4 [22:09:26]MH_SAM_APDU [22:09:26]CAPDU: 80 09 00 00 [22:09:26]Write to MH i2c: E2 08 00 61 11 80 09 00 00 00 00 00 00 E4 [22:09:26]Write i2c OK [22:09:26]MH_I2C_Read... [22:09:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:09:26]Read from MH i2c: E2 [22:09:26]MH_I2C_Read... [22:09:26]Read from MH i2c: E2 03 00 [22:09:26]MH_I2C_Read... [22:09:26]Read from MH i2c: E2 03 00 61 11 00 90 00 E6 [22:09:26]RAPDU: 90 00 [22:09:26]wFMCommunicate OK [22:09:26]SAM_PROTO_ClearQueue done [22:09:26]KKMCreateOFDPacket [22:09:26]OFDProtocolAddRootSTLVToBuf [22:09:26]FM_MakeSignedData [22:09:26]FM_MakeSignedData [22:09:26]SAM_PROTO_SignData [22:09:26]wFMCommunicate request_size=4 [22:09:26]MH_SAM_APDU [22:09:26]CAPDU: 80 0D 01 02 [22:09:26]Write to MH i2c: E2 08 00 62 11 80 0D 01 02 00 00 00 00 EC [22:09:26]Write i2c OK [22:09:26]MH_I2C_Read... [22:09:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:09:27]Read from MH i2c: E2 [22:09:27]MH_I2C_Read... [22:09:27]Read from MH i2c: E2 03 00 [22:09:27]MH_I2C_Read... [22:09:27]Read from MH i2c: E2 03 00 62 11 00 90 00 E7 [22:09:27]RAPDU: 90 00 [22:09:27]wFMCommunicate OK [22:09:27]wFMCommunicate request_size=255 [22:09:27]MH_SAM_APDU [22:09:27]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 C4 86 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 0E 00 00 00 00 07 04 06 00 C4 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 61 00 00 00 F4 03 04 00 17 8A F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 [22:09:27]Write to MH i2c: E2 02 01 63 11 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 C4 86 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 0E 00 00 00 00 07 04 06 00 C4 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 61 00 00 00 F4 03 04 00 17 8A F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 00 00 95 [22:09:27]Write i2c OK [22:09:27]MH_I2C_Read... [22:09:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:09:27]Read from MH i2c: E2 [22:09:27]MH_I2C_Read... [22:09:27]Read from MH i2c: E2 03 00 [22:09:27]MH_I2C_Read... [22:09:27]Read from MH i2c: E2 03 00 63 11 00 90 00 E8 [22:09:27]RAPDU: 90 00 [22:09:27]wFMCommunicate OK [22:09:27]wFMCommunicate request_size=33 [22:09:27]MH_SAM_APDU [22:09:27]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FC 57 00 00 35 04 06 00 11 88 AB 7B CC 30 [22:09:27]Write to MH i2c: E2 24 00 64 11 80 0D 02 02 1C 00 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FC 57 00 00 35 04 06 00 11 88 AB 7B CC 30 00 00 93 [22:09:27]Write i2c OK [22:09:27]MH_I2C_Read... [22:09:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:09:27]Read from MH i2c: E2 [22:09:27]MH_I2C_Read... [22:09:27]Read from MH i2c: E2 03 00 [22:09:27]MH_I2C_Read... [22:09:27]Read from MH i2c: E2 03 00 64 11 00 90 00 E9 [22:09:27]RAPDU: 90 00 [22:09:27]wFMCommunicate OK [22:09:27]wFMCommunicate request_size=4 [22:09:27]MH_SAM_APDU [22:09:27]CAPDU: 80 0D 03 02 [22:09:27]Write to MH i2c: E2 08 00 65 11 80 0D 03 02 00 00 00 00 F1 [22:09:27]Write i2c OK [22:09:27]MH_I2C_Read... [22:09:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:09:27]Read from MH i2c: E2 [22:09:27]MH_I2C_Read... [22:09:27]Read from MH i2c: E2 0B 00 [22:09:27]MH_I2C_Read... [22:09:27]Read from MH i2c: E2 0B 00 65 11 00 CF 6B C0 86 F8 1F F2 05 90 00 80 [22:09:27]RAPDU: CF 6B C0 86 F8 1F F2 05 90 00 [22:09:27]wFMCommunicate OK [22:09:27]SAM_PROTO_SignData done [22:09:27]FM_MakeSignedData done [22:09:27]CreateOFDProtocolMessage [22:09:27]wFMCommunicate request_size=4 [22:09:27]MH_SAM_APDU [22:09:27]CAPDU: 80 11 00 00 [22:09:27]Write to MH i2c: E2 08 00 66 11 80 11 00 00 00 00 00 00 F1 [22:09:27]Write i2c OK [22:09:27]MH_I2C_Read... [22:09:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:09:27]Read from MH i2c: E2 [22:09:27]MH_I2C_Read... [22:09:27]Read from MH i2c: E2 17 00 [22:09:27]MH_I2C_Read... [22:09:27]Read from MH i2c: E2 17 00 66 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 4B [22:09:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [22:09:27]wFMCommunicate OK [22:09:27]CreateOFDProtocolMessage done [22:09:27]OFDSenderStorePacket 22524 [22:09:27]StoreOFDPacket docnum=22524 [22:09:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 26 01 00 00 34 23 1E 01 68 09 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 C4 86 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 0E 00 00 00 00 07 04 06 00 C4 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 61 00 00 00 F4 03 04 00 17 8A F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FC 57 00 00 35 04 06 00 11 88 AB 7B CC 30 CF 6B C0 86 F8 1F F2 05 [22:09:27]CheckFolder [22:09:27]dirname=/storage/ofd_packets [22:09:27]CheckFolder done [22:09:27]ProducePacketName [22:09:27]name=ofd_packets/00022524 [22:09:27]NVStorageSaveData ofd_packets/00022524 [22:09:27]File name is /storage/ofd_packets/00022524 [22:09:27]Write 324 bytes [22:09:27]NVStorageSaveData done [22:09:27]OFDSenderStorePacket done [22:09:27]KKMCreateOFDPacket done [22:09:27]NVStorageSaveData kkm_last_timestamp [22:09:27]File name is /storage/kkm_last_timestamp [22:09:27]Write 4 bytes [22:09:27]NVStorageSaveData done [22:09:27]ExternCall_PrintAddStr [22:09:27]wPrintStart [22:09:27]Write to MH i2c: 01 00 00 67 11 78 [22:09:27]Write i2c OK [22:09:27]MH_I2C_Read... [22:09:27]Read from MH i2c: 01 [22:09:27]MH_I2C_Read... [22:09:27]Read from MH i2c: 01 07 00 [22:09:27]MH_I2C_Read... [22:09:27]Read from MH i2c: 01 07 00 67 11 00 00 00 00 00 FF 0F 8D [22:09:27]RasterBufferAndPrint [22:09:27]line Счет N : (3)51718 [22:09:27]line ИНН: 02508201610067 [22:09:27]line Контрольно-Кассовый Чек [22:09:27]line ПРОДАЖА [22:09:27]line Товар: 2000036240010 [22:09:27]line Кофе Латте (GABB TRADE) [22:09:27]line 3.000 * 115.00 [22:09:27]line = 345.00 [22:09:27]line НДС 12% НСП 1% [22:09:27]line > о реализуемом товаре [22:09:27]line ИТОГО: 345.00 [22:09:27]line НСП 1% : 3.05 [22:09:27]line НДС 12% : 36.64 [22:09:27]line Наличными: 345.00 [22:09:27]line Безнал.: 0.00 [22:09:27]line Место: АЗС № 88 "Партнер Нефть" [22:09:27]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [22:09:27]line СНО: Общий режим [22:09:27]line Чек 97 25.09.2024 22:09 [22:09:27]line Смена: 231 ФФД: 1.0 [22:09:27]line ЗНМ: 0300000061 [22:09:27]line РНМ: 0000000000146243 [22:09:27]line Версия ККМ: v1.0 [22:09:27]line ФМ: 0000000000959358 [22:09:27]line ФД: 22524 [22:09:27]line ФПД: 19278690241584 [22:09:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T220927&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22524&fm=19278690241584&tin=02508201610067®Number=0000000000146243&sum=34500 [22:09:27]line 0 [22:09:27]OFD Sender: Processing packet 22524 [packets to send 23, broken 22] [22:09:27]ProducePacketName [22:09:27]name=ofd_packets/00022524 [22:09:27]OFD Sender: To server: pG, [22:09:27]CommunicateWithHost lk.salyk.kg:30040 [22:09:27]ConnectInit lk.salyk.kg [22:09:27]written 0, free lines is 4095 [22:09:27]Connected sock=10 [22:09:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 26 01 00 00 34 23 1E 01 68 09 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 C4 86 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 0E 00 00 00 00 07 04 06 00 C4 86 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 61 00 00 00 F4 03 04 00 17 8A F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FC 57 00 00 35 04 06 00 11 88 AB 7B CC 30 CF 6B C0 86 F8 1F F2 05 [22:09:28]Write to MH i2c: 01 00 00 8F 11 A0 [22:09:28]Write i2c OK [22:09:28]MH_I2C_Read... [22:09:28]Read from MH i2c: 01 [22:09:28]MH_I2C_Read... [22:09:28]Read from MH i2c: 01 07 00 [22:09:28]MH_I2C_Read... [22:09:28]Read from MH i2c: 01 07 00 8F 11 00 00 00 00 00 26 0D DA [22:09:28]RasterBufferAndPrint [22:09:28]line [22:09:28]line [22:09:28]line [22:09:28]line [22:09:28]line [22:09:28]written 0, free lines is 3372 [22:09:28]MH_Cut [22:09:28]Write to MH i2c: D1 01 00 96 11 01 79 [22:09:28]Write i2c OK [22:09:28]MH_I2C_Read... [22:09:28]Read from MH i2c: D1 [22:09:28]MH_I2C_Read... [22:09:28]Read from MH i2c: D1 01 00 [22:09:28]MH_I2C_Read... [22:09:28]Read from MH i2c: D1 01 00 96 11 00 78 [22:09:28]Write to MH i2c: 01 00 00 97 11 A8 [22:09:28]Write i2c OK [22:09:28]MH_I2C_Read... [22:09:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 FB 36 47 00 FC DE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FC 57 00 00 F4 03 04 00 39 34 F4 66 B6 04 01 00 00 9B 2B 23 D7 3C B2 D5 E6 [22:09:28]CommunicateWithHost err = 0 [22:09:28]CheckOFDResponse [22:09:28]1017 (14) - 77093643461234 [22:09:28]1041 (16) - 0000000000959358 [22:09:28]1040 (4) - 22524 [22:09:28]1012 (4) - 25.09.2024 16:03 [22:09:28]1206 (1) - 0 [22:09:28]OFD Sender: Remove packet 22524 [22:09:28]ProducePacketName [22:09:28]name=ofd_packets/00022524 [22:09:28]NVStorageDeleteData [22:09:28]OFD Sender: No OFD packet to send [22:09:28]*** Cut start [22:09:28]*** Partial cut [22:09:28]*** CUTSNS_PIN = 1 [22:09:28]*** CUTSNS_PIN = 0 [22:09:29]*** Brake cut motor [22:09:29]Read from MH i2c: 01 [22:09:29]MH_I2C_Read... [22:09:29]*** Stop cut motor [22:09:29]*** Cut end [22:09:29]Read from MH i2c: 01 07 00 [22:09:29]MH_I2C_Read... [22:09:29]Read from MH i2c: 01 07 00 97 11 00 00 00 00 00 FF 0F BD [22:09:29]process_action close_receipt done [22:09:29]requested_data is exist [22:09:29]produce_requested_data [22:09:29]requested_item fm.sn is exist - process it [22:09:29]wFMCommunicate request_size=4 [22:09:29]MH_SAM_APDU [22:09:29]CAPDU: 80 11 00 00 [22:09:29]Write to MH i2c: E2 08 00 98 11 80 11 00 00 00 00 00 00 23 [22:09:29]Write i2c OK [22:09:29]MH_I2C_Read... [22:09:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:09:29]Read from MH i2c: E2 [22:09:29]MH_I2C_Read... [22:09:29]Read from MH i2c: E2 17 00 [22:09:29]MH_I2C_Read... [22:09:29]Read from MH i2c: E2 17 00 98 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 7D [22:09:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [22:09:29]wFMCommunicate OK [22:09:29]requested_item fd.num is exist - process it [22:09:29]SAM_PROTO_GetFieldsCounters [22:09:29]wFMCommunicate request_size=4 [22:09:29]MH_SAM_APDU [22:09:29]CAPDU: 80 13 00 00 [22:09:29]Write to MH i2c: E2 08 00 99 11 80 13 00 00 00 00 00 00 26 [22:09:29]Write i2c OK [22:09:29]MH_I2C_Read... [22:09:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:09:29]Read from MH i2c: E2 [22:09:29]MH_I2C_Read... [22:09:29]Read from MH i2c: E2 62 00 [22:09:29]MH_I2C_Read... [22:09:29]Read from MH i2c: E2 62 00 99 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 FC 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 61 00 00 00 5E 04 04 00 61 00 00 00 57 04 04 00 62 00 00 00 19 04 04 00 00 00 00 00 90 00 A6 [22:09:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 FC 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 61 00 00 00 5E 04 04 00 61 00 00 00 57 04 04 00 62 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:09:29]wFMCommunicate OK [22:09:29]SAM_PROTO_GetFieldsCounters done [22:09:29]requested_item shift.num is exist - process it [22:09:29]requested_item shift.opened is exist - process it [22:09:29]req_shift_opened [22:09:29]FM_GetShiftState [22:09:29]SAM_PROTO_GetShiftState [22:09:29]wFMCommunicate request_size=4 [22:09:29]MH_SAM_APDU [22:09:29]CAPDU: 80 13 01 00 [22:09:29]Write to MH i2c: E2 08 00 9A 11 80 13 01 00 00 00 00 00 28 [22:09:29]Write i2c OK [22:09:29]MH_I2C_Read... [22:09:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:09:29]Read from MH i2c: E2 [22:09:29]MH_I2C_Read... [22:09:29]Read from MH i2c: E2 0E 00 [22:09:29]MH_I2C_Read... [22:09:29]Read from MH i2c: E2 0E 00 9A 11 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 B9 [22:09:29]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [22:09:29]wFMCommunicate OK [22:09:29]SAM_PROTO_GetShiftState done [22:09:29]FM_GetShiftState done [22:09:29]req_shift_opened done [22:09:29]requested_item shift.open_date is exist - process it [22:09:29]req_shift_open_date [22:09:29]req_shift_open_date done [22:09:29]produce_requested_data done [22:09:29]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22524,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [22:09:29]process_action_free close_receipt [22:09:29]json_value_free [22:09:29]json_value_free done [22:09:29]process_json_proto returns [22:09:29]Send response to host [22:09:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22524,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [22:09:29]free response buf [22:09:29]execute_script done [22:09:29]execute_script returns [22:09:29]free content buf [22:09:29]Sock 9.Close socket [22:09:29]Sock 9.Thread stoped [22:09:33]OFD Sender: No OFD packet to send [22:09:38]OFD Sender: No OFD packet to send [22:09:43]OFD Sender: No OFD packet to send [22:09:48]OFD Sender: No OFD packet to send [22:09:53]OFD Sender: No OFD packet to send [22:09:58]OFD Sender: No OFD packet to send [22:10:03]OFD Sender: No OFD packet to send [22:10:08]OFD Sender: No OFD packet to send [22:10:13]OFD Sender: No OFD packet to send [22:10:18]OFD Sender: No OFD packet to send [22:10:23]OFD Sender: No OFD packet to send [22:10:28]OFD Sender: No OFD packet to send [22:10:33]OFD Sender: No OFD packet to send [22:10:38]OFD Sender: No OFD packet to send [22:10:43]OFD Sender: No OFD packet to send [22:10:48]OFD Sender: No OFD packet to send [22:10:53]OFD Sender: No OFD packet to send [22:10:58]OFD Sender: No OFD packet to send [22:11:03]OFD Sender: No OFD packet to send [22:11:08]OFD Sender: No OFD packet to send [22:11:13]OFD Sender: No OFD packet to send [22:11:18]OFD Sender: No OFD packet to send [22:11:23]OFD Sender: No OFD packet to send [22:11:28]OFD Sender: No OFD packet to send [22:11:33]OFD Sender: No OFD packet to send [22:11:38]OFD Sender: No OFD packet to send [22:11:43]OFD Sender: No OFD packet to send [22:11:48]OFD Sender: No OFD packet to send [22:11:53]OFD Sender: No OFD packet to send [22:11:58]OFD Sender: No OFD packet to send [22:12:03]OFD Sender: No OFD packet to send [22:12:08]OFD Sender: No OFD packet to send [22:12:13]OFD Sender: No OFD packet to send [22:12:18]OFD Sender: No OFD packet to send [22:12:23]OFD Sender: No OFD packet to send [22:12:28]OFD Sender: No OFD packet to send [22:12:33]OFD Sender: No OFD packet to send [22:12:38]OFD Sender: No OFD packet to send [22:12:43]OFD Sender: No OFD packet to send [22:12:48]OFD Sender: No OFD packet to send [22:12:54]OFD Sender: No OFD packet to send [22:12:59]OFD Sender: No OFD packet to send [22:13:04]OFD Sender: No OFD packet to send [22:13:09]OFD Sender: No OFD packet to send [22:13:14]OFD Sender: No OFD packet to send [22:13:19]OFD Sender: No OFD packet to send [22:13:24]OFD Sender: No OFD packet to send [22:13:29]OFD Sender: No OFD packet to send [22:13:34]OFD Sender: No OFD packet to send [22:13:39]OFD Sender: No OFD packet to send [22:13:44]OFD Sender: No OFD packet to send [22:13:49]OFD Sender: No OFD packet to send [22:13:54]OFD Sender: No OFD packet to send [22:13:59]OFD Sender: No OFD packet to send [22:14:04]OFD Sender: No OFD packet to send [22:14:09]OFD Sender: No OFD packet to send [22:14:14]OFD Sender: No OFD packet to send [22:14:19]OFD Sender: No OFD packet to send [22:14:24]OFD Sender: No OFD packet to send [22:14:29]OFD Sender: No OFD packet to send [22:14:34]OFD Sender: No OFD packet to send [22:14:39]OFD Sender: No OFD packet to send [22:14:44]OFD Sender: No OFD packet to send [22:14:49]OFD Sender: No OFD packet to send [22:14:54]OFD Sender: No OFD packet to send [22:14:59]OFD Sender: No OFD packet to send [22:15:04]OFD Sender: No OFD packet to send [22:15:09]OFD Sender: No OFD packet to send [22:15:14]OFD Sender: No OFD packet to send [22:15:19]OFD Sender: No OFD packet to send [22:15:24]OFD Sender: No OFD packet to send [22:15:29]OFD Sender: No OFD packet to send [22:15:34]OFD Sender: No OFD packet to send [22:15:39]OFD Sender: No OFD packet to send [22:15:44]OFD Sender: No OFD packet to send [22:15:49]OFD Sender: No OFD packet to send [22:15:54]OFD Sender: No OFD packet to send [22:15:59]OFD Sender: No OFD packet to send [22:16:04]OFD Sender: No OFD packet to send [22:16:09]OFD Sender: No OFD packet to send [22:16:14]OFD Sender: No OFD packet to send [22:16:19]OFD Sender: No OFD packet to send [22:16:24]OFD Sender: No OFD packet to send [22:16:29]OFD Sender: No OFD packet to send [22:16:34]OFD Sender: No OFD packet to send [22:16:39]OFD Sender: No OFD packet to send [22:16:44]OFD Sender: No OFD packet to send [22:16:49]OFD Sender: No OFD packet to send [22:16:54]OFD Sender: No OFD packet to send [22:16:59]OFD Sender: No OFD packet to send [22:17:04]OFD Sender: No OFD packet to send [22:17:09]OFD Sender: No OFD packet to send [22:17:14]OFD Sender: No OFD packet to send [22:17:19]OFD Sender: No OFD packet to send [22:17:24]OFD Sender: No OFD packet to send [22:17:29]OFD Sender: No OFD packet to send [22:17:34]OFD Sender: No OFD packet to send [22:17:39]OFD Sender: No OFD packet to send [22:17:44]OFD Sender: No OFD packet to send [22:17:49]OFD Sender: No OFD packet to send [22:17:54]OFD Sender: No OFD packet to send [22:17:59]OFD Sender: No OFD packet to send [22:18:04]OFD Sender: No OFD packet to send [22:18:09]OFD Sender: No OFD packet to send [22:18:14]OFD Sender: No OFD packet to send [22:18:19]OFD Sender: No OFD packet to send [22:18:24]OFD Sender: No OFD packet to send [22:18:29]OFD Sender: No OFD packet to send [22:18:34]OFD Sender: No OFD packet to send [22:18:39]OFD Sender: No OFD packet to send [22:18:44]OFD Sender: No OFD packet to send [22:18:49]OFD Sender: No OFD packet to send [22:18:54]OFD Sender: No OFD packet to send [22:18:59]OFD Sender: No OFD packet to send [22:19:04]OFD Sender: No OFD packet to send [22:19:09]OFD Sender: No OFD packet to send [22:19:14]OFD Sender: No OFD packet to send [22:19:19]OFD Sender: No OFD packet to send [22:19:24]OFD Sender: No OFD packet to send [22:19:29]OFD Sender: No OFD packet to send [22:19:34]OFD Sender: No OFD packet to send [22:19:39]OFD Sender: No OFD packet to send [22:19:44]OFD Sender: No OFD packet to send [22:19:49]OFD Sender: No OFD packet to send [22:19:54]OFD Sender: No OFD packet to send [22:19:59]OFD Sender: No OFD packet to send [22:20:04]OFD Sender: No OFD packet to send [22:20:09]OFD Sender: No OFD packet to send [22:20:14]OFD Sender: No OFD packet to send [22:20:19]OFD Sender: No OFD packet to send [22:20:24]OFD Sender: No OFD packet to send [22:20:29]OFD Sender: No OFD packet to send [22:20:34]OFD Sender: No OFD packet to send [22:20:39]OFD Sender: No OFD packet to send [22:20:44]OFD Sender: No OFD packet to send [22:20:49]OFD Sender: No OFD packet to send [22:20:51]accept exits with 7 [22:20:51]New connection [22:20:51]New thread 3067583844 created [22:20:51]Thread 3067440484 joined [22:20:51]Waiting for new connection... [22:20:51] Sock 7.Parse request [22:20:51]Sock 7.Check first char [22:20:51]Sock 7.First char is OK [22:20:51]request: POST /json_proto HTTP/1.0 [22:20:51]Method: POST [22:20:51]URL: /json_proto [22:20:51]Method is POST - this is cgi request [22:20:51]url: /json_proto [22:20:51]query_string will be loaded in cgi processing [22:20:51]execute_cgi json_proto POST (null) [22:20:51]execute_cgi path=json_proto method=POST [22:20:51]POST find Content-Length [22:20:51]Host: 172.17.43.4:8080 [22:20:51]Content-Length: 1427 [22:20:51]Content-Type: application/json [22:20:51] [22:20:51]POST finish read [22:20:51]Found Content-Length = 1427 [22:20:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51719", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4823077633317", "name": "\u041F\u0435\u0447 LOVITA CLASSIC COOKIES \u043A\u0430\u043A\u0430\u043E \u0438 \u043A\u0443\u0441\u043E\u0447", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4823077636400", "name": "\u041F\u0435\u0447 \u043A\u0430\u043A\u0430\u043E LOVITA SOFT CREAM COOKIES \u043C\u043E\u043B\u043E", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 635.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:20:51]execute_script... [22:20:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51719", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4823077633317", "name": "\u041F\u0435\u0447 LOVITA CLASSIC COOKIES \u043A\u0430\u043A\u0430\u043E \u0438 \u043A\u0443\u0441\u043E\u0447", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4823077636400", "name": "\u041F\u0435\u0447 \u043A\u0430\u043A\u0430\u043E LOVITA SOFT CREAM COOKIES \u043C\u043E\u043B\u043E", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 635.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:20:51]POST & json_proto [22:20:51]process_json_proto [22:20:51]json parsed OK: [22:20:51]protocol is kg_v1.0 [22:20:51]action value=close_receipt [22:20:51]process_action close_receipt [22:20:51]cmd_close_receipt [22:20:51]MH_GetDate [22:20:51]Write to MH i2c: F0 00 00 9B 11 9B [22:20:51]Write i2c OK [22:20:51]MH_I2C_Read... [22:20:51]Read from MH i2c: F0 [22:20:51]MH_I2C_Read... [22:20:51]Read from MH i2c: F0 09 00 [22:20:51]MH_I2C_Read... [22:20:51]Read from MH i2c: F0 09 00 9B 11 00 C5 8C F4 66 02 BF CF 66 45 [22:20:51]GetLastDocTimeStamp 1727302167 [22:20:51]current date 1727302853 [22:20:51]FM_GetShiftState [22:20:51]SAM_PROTO_GetShiftState [22:20:51]wFMCommunicate request_size=4 [22:20:51]MH_SAM_APDU [22:20:51]CAPDU: 80 13 01 00 [22:20:51]Write to MH i2c: E2 08 00 9C 11 80 13 01 00 00 00 00 00 2A [22:20:51]Write i2c OK [22:20:51]MH_I2C_Read... [22:20:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:20:51]Read from MH i2c: E2 [22:20:51]MH_I2C_Read... [22:20:51]Read from MH i2c: E2 0E 00 [22:20:51]MH_I2C_Read... [22:20:51]Read from MH i2c: E2 0E 00 9C 11 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 BB [22:20:51]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [22:20:51]wFMCommunicate OK [22:20:51]SAM_PROTO_GetShiftState done [22:20:51]FM_GetShiftState done [22:20:51]opened in 1727224020 [22:20:51]opened+sec_in_day 1727310420 [22:20:51]quantity*price = 26000 [22:20:51]sum+1 = 26001 [22:20:51]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036240010 Кофе Латте (GABB TRADE) 1.000 * 115.00 = 115.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4823077633317 Печ LOVITA CLASSIC COOKIES какао и кусоч 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4823077636400 Печ какао LOVITA SOFT CREAM COOKIES моло 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 635.00 НСП 1% : 5.62 НДС 12% : 67.42 Наличными: 635.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 98 25.09.2024 22:20 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22525 ФПД: 264079057602038 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T222053&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22525&fm=264079057602038&tin=02508201610067®Number=0000000000146243&sum=63500 0 [22:20:52]StoreToDocumentArchive [22:20:52]shift 231 fd 22525 [22:20:52]save to /storage/0231/doc_00022525 [22:20:52]save last doc name /storage/0231/doc_00022525 to /storage/kkm_last_doc_name [22:20:52]save OK [22:20:52]Clear old archive folders... [22:20:52]ProcessDocumentItem done err = 0, tmpTLVsize=630 [22:20:52]tlvbuf is 001E4950 [22:20:52]SAM_PROTO_ClearQueue [22:20:52]wFMCommunicate request_size=4 [22:20:52]MH_SAM_APDU [22:20:52]CAPDU: 80 09 00 00 [22:20:52]Write to MH i2c: E2 08 00 A9 11 80 09 00 00 00 00 00 00 2C [22:20:52]Write i2c OK [22:20:52]MH_I2C_Read... [22:20:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:20:52]Read from MH i2c: E2 [22:20:52]MH_I2C_Read... [22:20:52]Read from MH i2c: E2 03 00 [22:20:52]MH_I2C_Read... [22:20:52]Read from MH i2c: E2 03 00 A9 11 00 90 00 2E [22:20:52]RAPDU: 90 00 [22:20:52]wFMCommunicate OK [22:20:52]SAM_PROTO_ClearQueue done [22:20:52]KKMCreateOFDPacket [22:20:52]OFDProtocolAddRootSTLVToBuf [22:20:52]FM_MakeSignedData [22:20:52]FM_MakeSignedData [22:20:52]SAM_PROTO_SignData [22:20:52]wFMCommunicate request_size=4 [22:20:52]MH_SAM_APDU [22:20:52]CAPDU: 80 0D 01 02 [22:20:52]Write to MH i2c: E2 08 00 AA 11 80 0D 01 02 00 00 00 00 34 [22:20:52]Write i2c OK [22:20:52]MH_I2C_Read... [22:20:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:20:53]Read from MH i2c: E2 [22:20:53]MH_I2C_Read... [22:20:53]Read from MH i2c: E2 03 00 [22:20:53]MH_I2C_Read... [22:20:53]Read from MH i2c: E2 03 00 AA 11 00 90 00 2F [22:20:53]RAPDU: 90 00 [22:20:53]wFMCommunicate OK [22:20:53]wFMCommunicate request_size=255 [22:20:53]MH_SAM_APDU [22:20:53]CAPDU: 80 0D 02 02 FA 03 00 76 02 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 33 33 31 37 06 04 36 00 D0 9F D0 B5 D1 87 [22:20:53]Write to MH i2c: E2 02 01 AB 11 80 0D 02 02 FA 00 03 00 76 02 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 33 33 31 37 06 04 36 00 D0 9F D0 B5 D1 87 00 00 CD [22:20:53]Write i2c OK [22:20:53]MH_I2C_Read... [22:20:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:20:53]Read from MH i2c: E2 [22:20:53]MH_I2C_Read... [22:20:53]Read from MH i2c: E2 03 00 [22:20:53]MH_I2C_Read... [22:20:53]Read from MH i2c: E2 03 00 AB 11 00 90 00 30 [22:20:53]RAPDU: 90 00 [22:20:53]wFMCommunicate OK [22:20:53]wFMCommunicate request_size=255 [22:20:53]MH_SAM_APDU [22:20:53]CAPDU: 80 0D 02 02 FA 20 4C 4F 56 49 54 41 20 43 4C 41 53 53 49 43 20 43 4F 4F 4B 49 45 53 20 D0 BA D0 B0 D0 BA D0 B0 D0 BE 20 D0 B8 20 D0 BA D1 83 D1 81 D0 BE D1 87 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 36 34 30 30 06 04 34 00 D0 9F D0 B5 D1 87 20 D0 BA D0 B0 D0 BA D0 B0 D0 BE 20 4C 4F 56 49 54 41 20 53 4F 46 54 20 43 52 45 41 4D 20 43 4F 4F 4B 49 45 53 20 D0 BC D0 BE D0 BB D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C F8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 32 02 00 00 [22:20:53]Write to MH i2c: E2 02 01 AC 11 80 0D 02 02 FA 00 20 4C 4F 56 49 54 41 20 43 4C 41 53 53 49 43 20 43 4F 4F 4B 49 45 53 20 D0 BA D0 B0 D0 BA D0 B0 D0 BE 20 D0 B8 20 D0 BA D1 83 D1 81 D0 BE D1 87 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 36 34 30 30 06 04 34 00 D0 9F D0 B5 D1 87 20 D0 BA D0 B0 D0 BA D0 B0 D0 BE 20 4C 4F 56 49 54 41 20 53 4F 46 54 20 43 52 45 41 4D 20 43 4F 4F 4B 49 45 53 20 D0 BC D0 BE D0 BB D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C F8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 32 02 00 00 00 00 CE [22:20:53]Write i2c OK [22:20:53]MH_I2C_Read... [22:20:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:20:53]Read from MH i2c: E2 [22:20:53]MH_I2C_Read... [22:20:53]Read from MH i2c: E2 03 00 [22:20:53]MH_I2C_Read... [22:20:53]Read from MH i2c: E2 03 00 AC 11 00 90 00 31 [22:20:53]RAPDU: 90 00 [22:20:53]wFMCommunicate OK [22:20:53]wFMCommunicate request_size=139 [22:20:53]MH_SAM_APDU [22:20:53]CAPDU: 80 0D 02 02 86 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 56 1A 00 00 00 00 07 04 06 00 0C F8 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 62 00 00 00 F4 03 04 00 C5 8C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FD 57 00 00 35 04 06 00 F0 2D B2 6B C5 F6 [22:20:53]Write to MH i2c: E2 8E 00 AD 11 80 0D 02 02 86 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 56 1A 00 00 00 00 07 04 06 00 0C F8 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 62 00 00 00 F4 03 04 00 C5 8C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FD 57 00 00 35 04 06 00 F0 2D B2 6B C5 F6 00 00 24 [22:20:53]Write i2c OK [22:20:53]MH_I2C_Read... [22:20:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:20:53]Read from MH i2c: E2 [22:20:53]MH_I2C_Read... [22:20:53]Read from MH i2c: E2 03 00 [22:20:53]MH_I2C_Read... [22:20:53]Read from MH i2c: E2 03 00 AD 11 00 90 00 32 [22:20:53]RAPDU: 90 00 [22:20:53]wFMCommunicate OK [22:20:53]wFMCommunicate request_size=4 [22:20:53]MH_SAM_APDU [22:20:53]CAPDU: 80 0D 03 02 [22:20:53]Write to MH i2c: E2 08 00 AE 11 80 0D 03 02 00 00 00 00 3A [22:20:53]Write i2c OK [22:20:53]MH_I2C_Read... [22:20:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:20:53]Read from MH i2c: E2 [22:20:53]MH_I2C_Read... [22:20:53]Read from MH i2c: E2 0B 00 [22:20:53]MH_I2C_Read... [22:20:53]Read from MH i2c: E2 0B 00 AE 11 00 FC 06 AD 7B F0 BB D7 73 90 00 5A [22:20:53]RAPDU: FC 06 AD 7B F0 BB D7 73 90 00 [22:20:53]wFMCommunicate OK [22:20:53]SAM_PROTO_SignData done [22:20:53]FM_MakeSignedData done [22:20:53]CreateOFDProtocolMessage [22:20:53]wFMCommunicate request_size=4 [22:20:53]MH_SAM_APDU [22:20:53]CAPDU: 80 11 00 00 [22:20:53]Write to MH i2c: E2 08 00 AF 11 80 11 00 00 00 00 00 00 3A [22:20:53]Write i2c OK [22:20:53]MH_I2C_Read... [22:20:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:20:53]Read from MH i2c: E2 [22:20:53]MH_I2C_Read... [22:20:53]Read from MH i2c: E2 17 00 [22:20:53]MH_I2C_Read... [22:20:53]Read from MH i2c: E2 17 00 AF 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 94 [22:20:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [22:20:53]wFMCommunicate OK [22:20:53]CreateOFDProtocolMessage done [22:20:53]OFDSenderStorePacket 22525 [22:20:53]StoreOFDPacket docnum=22525 [22:20:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 8A 02 00 00 6C 5C 82 02 76 21 5A 03 01 00 03 00 76 02 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 33 33 31 37 06 04 36 00 D0 9F D0 B5 D1 87 20 4C 4F 56 49 54 41 20 43 4C 41 53 53 49 43 20 43 4F 4F 4B 49 45 53 20 D0 BA D0 B0 D0 BA D0 B0 D0 BE 20 D0 B8 20 D0 BA D1 83 D1 81 D0 BE D1 87 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 36 34 30 30 06 04 34 00 D0 9F D0 B5 D1 87 20 D0 BA D0 B0 D0 BA D0 B0 D0 BE 20 4C 4F 56 49 54 41 20 53 4F 46 54 20 43 52 45 41 4D 20 43 4F 4F 4B 49 45 53 20 D0 BC D0 BE D0 BB D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C F8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 32 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 56 1A 00 00 00 00 07 04 06 00 0C F8 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 62 00 00 00 F4 03 04 00 C5 8C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FD 57 00 00 35 04 06 00 F0 2D B2 6B C5 F6 FC 06 AD 7B F0 BB D7 73 [22:20:53]CheckFolder [22:20:53]dirname=/storage/ofd_packets [22:20:53]CheckFolder done [22:20:53]ProducePacketName [22:20:53]name=ofd_packets/00022525 [22:20:53]NVStorageSaveData ofd_packets/00022525 [22:20:53]File name is /storage/ofd_packets/00022525 [22:20:53]Write 680 bytes [22:20:53]NVStorageSaveData done [22:20:53]OFDSenderStorePacket done [22:20:53]KKMCreateOFDPacket done [22:20:53]NVStorageSaveData kkm_last_timestamp [22:20:53]File name is /storage/kkm_last_timestamp [22:20:53]Write 4 bytes [22:20:53]NVStorageSaveData done [22:20:53]ExternCall_PrintAddStr [22:20:53]wPrintStart [22:20:53]Write to MH i2c: 01 00 00 B0 11 C1 [22:20:53]Write i2c OK [22:20:53]MH_I2C_Read... [22:20:53]Read from MH i2c: 01 [22:20:53]MH_I2C_Read... [22:20:53]Read from MH i2c: 01 07 00 [22:20:53]MH_I2C_Read... [22:20:53]Read from MH i2c: 01 07 00 B0 11 00 00 00 00 00 FF 0F D6 [22:20:53]RasterBufferAndPrint [22:20:53]line Счет N : (3)51719 [22:20:53]line ИНН: 02508201610067 [22:20:53]line Контрольно-Кассовый Чек [22:20:53]line ПРОДАЖА [22:20:53]line Товар: 2000036230011 [22:20:53]line Кофе Латте XL(GABB TRADE) [22:20:53]line 2.000 * 130.00 [22:20:53]line = 260.00 [22:20:53]line НДС 12% НСП 1% [22:20:53]line > о реализуемом товаре [22:20:53]line Товар: 2000036240010 [22:20:53]line Кофе Латте (GABB TRADE) [22:20:53]line 1.000 * 115.00 [22:20:53]line = 115.00 [22:20:53]line НДС 12% НСП 1% [22:20:53]line > о реализуемом товаре [22:20:53]line Товар: 4823077633317 [22:20:53]line Печ LOVITA CLASSIC COOKIES какао и кусоч [22:20:53]line 1.000 * 130.00 [22:20:53]line = 130.00 [22:20:53]line НДС 12% НСП 1% [22:20:53]line > о реализуемом товаре [22:20:53]line Товар: 4823077636400 [22:20:53]line Печ какао LOVITA SOFT CREAM COOKIES моло [22:20:53]line 1.000 * 130.00 [22:20:53]line = 130.00 [22:20:53]line НДС 12% НСП 1% [22:20:53]line > о реализуемом товаре [22:20:53]line ИТОГО: 635.00 [22:20:53]line НСП 1% : 5.62 [22:20:53]line НДС 12% : 67.42 [22:20:53]line Наличными: 635.00 [22:20:53]line Безнал.: 0.00 [22:20:53]line Место: АЗС № 88 "Партнер Нефть" [22:20:53]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [22:20:53]line СНО: Общий режим [22:20:53]line Чек 98 25.09.2024 22:20 [22:20:54]line Смена: 231 ФФД: 1.0 [22:20:54]line ЗНМ: 0300000061 [22:20:54]line РНМ: 0000000000146243 [22:20:54]line Версия ККМ: v1.0 [22:20:54]line ФМ: 0000000000959358 [22:20:54]line ФД: 22525 [22:20:54]line ФПД: 264079057602038 [22:20:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T222053&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22525&fm=264079057602038&tin=02508201610067®Number=0000000000146243&sum=63500 [22:20:54]line 0 [22:20:54]OFD Sender: Processing packet 22525 [packets to send 23, broken 22] [22:20:54]ProducePacketName [22:20:54]name=ofd_packets/00022525 [22:20:54]OFD Sender: To server: pG, [22:20:54]CommunicateWithHost lk.salyk.kg:30040 [22:20:54]ConnectInit lk.salyk.kg [22:20:54]written 0, free lines is 4095 [22:20:54]Connected sock=11 [22:20:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 8A 02 00 00 6C 5C 82 02 76 21 5A 03 01 00 03 00 76 02 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 33 33 31 37 06 04 36 00 D0 9F D0 B5 D1 87 20 4C 4F 56 49 54 41 20 43 4C 41 53 53 49 43 20 43 4F 4F 4B 49 45 53 20 D0 BA D0 B0 D0 BA D0 B0 D0 BE 20 D0 B8 20 D0 BA D1 83 D1 81 D0 BE D1 87 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 32 33 30 37 37 36 33 36 34 30 30 06 04 34 00 D0 9F D0 B5 D1 87 20 D0 BA D0 B0 D0 BA D0 B0 D0 BE 20 4C 4F 56 49 54 41 20 53 4F 46 54 20 43 52 45 41 4D 20 43 4F 4F 4B 49 45 53 20 D0 BC D0 BE D0 BB D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C F8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 32 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 56 1A 00 00 00 00 07 04 06 00 0C F8 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 62 00 00 00 F4 03 04 00 C5 8C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FD 57 00 00 35 04 06 00 F0 2D B2 6B C5 F6 FC 06 AD 7B F0 BB D7 73 [22:20:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 D9 82 47 00 B2 85 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FD 57 00 00 F4 03 04 00 E7 36 F4 66 B6 04 01 00 00 24 44 C3 98 55 FC 8C EF [22:20:54]CommunicateWithHost err = 0 [22:20:54]CheckOFDResponse [22:20:54]1017 (14) - 77093643461234 [22:20:54]1041 (16) - 0000000000959358 [22:20:54]1040 (4) - 22525 [22:20:54]1012 (4) - 25.09.2024 16:14 [22:20:54]1206 (1) - 0 [22:20:54]OFD Sender: Remove packet 22525 [22:20:54]ProducePacketName [22:20:54]name=ofd_packets/00022525 [22:20:54]NVStorageDeleteData [22:20:54]Write to MH i2c: 01 00 00 EC 11 FD [22:20:54]Write i2c OK [22:20:54]MH_I2C_Read... [22:20:54]Read from MH i2c: 01 [22:20:54]MH_I2C_Read... [22:20:54]Read from MH i2c: 01 07 00 [22:20:54]MH_I2C_Read... [22:20:54]Read from MH i2c: 01 07 00 EC 11 00 00 00 00 00 56 0C 66 [22:20:54]RasterBufferAndPrint [22:20:54]line [22:20:54]line [22:20:54]line [22:20:54]line [22:20:54]line [22:20:54]written 0, free lines is 3167 [22:20:54]MH_Cut [22:20:54]Write to MH i2c: D1 01 00 F3 11 01 D6 [22:20:54]Write i2c OK [22:20:54]MH_I2C_Read... [22:20:54]Read from MH i2c: D1 [22:20:54]MH_I2C_Read... [22:20:54]Read from MH i2c: D1 01 00 [22:20:54]MH_I2C_Read... [22:20:54]Read from MH i2c: D1 01 00 F3 11 00 D5 [22:20:54]Write to MH i2c: 01 00 00 F4 11 05 [22:20:54]Write i2c OK [22:20:54]MH_I2C_Read... [22:20:55]OFD Sender: No OFD packet to send [22:20:55]*** Cut start [22:20:55]*** Partial cut [22:20:55]*** CUTSNS_PIN = 1 [22:20:55]*** CUTSNS_PIN = 0 [22:20:55]*** Brake cut motor [22:20:56]Read from MH i2c: 01 [22:20:56]MH_I2C_Read... [22:20:56]*** Stop cut motor [22:20:56]*** Cut end [22:20:56]Read from MH i2c: 01 07 00 [22:20:56]MH_I2C_Read... [22:20:56]Read from MH i2c: 01 07 00 F4 11 00 00 00 00 00 FF 0F 1A [22:20:56]process_action close_receipt done [22:20:56]requested_data is exist [22:20:56]produce_requested_data [22:20:56]requested_item fm.sn is exist - process it [22:20:56]wFMCommunicate request_size=4 [22:20:56]MH_SAM_APDU [22:20:56]CAPDU: 80 11 00 00 [22:20:56]Write to MH i2c: E2 08 00 F5 11 80 11 00 00 00 00 00 00 80 [22:20:56]Write i2c OK [22:20:56]MH_I2C_Read... [22:20:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:20:56]Read from MH i2c: E2 [22:20:56]MH_I2C_Read... [22:20:56]Read from MH i2c: E2 17 00 [22:20:56]MH_I2C_Read... [22:20:56]Read from MH i2c: E2 17 00 F5 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 DA [22:20:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [22:20:56]wFMCommunicate OK [22:20:56]requested_item fd.num is exist - process it [22:20:56]SAM_PROTO_GetFieldsCounters [22:20:56]wFMCommunicate request_size=4 [22:20:56]MH_SAM_APDU [22:20:56]CAPDU: 80 13 00 00 [22:20:56]Write to MH i2c: E2 08 00 F6 11 80 13 00 00 00 00 00 00 83 [22:20:56]Write i2c OK [22:20:56]MH_I2C_Read... [22:20:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:20:56]Read from MH i2c: E2 [22:20:56]MH_I2C_Read... [22:20:56]Read from MH i2c: E2 62 00 [22:20:56]MH_I2C_Read... [22:20:56]Read from MH i2c: E2 62 00 F6 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 FD 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 62 00 00 00 5E 04 04 00 62 00 00 00 57 04 04 00 63 00 00 00 19 04 04 00 00 00 00 00 90 00 07 [22:20:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 FD 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 62 00 00 00 5E 04 04 00 62 00 00 00 57 04 04 00 63 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:20:56]wFMCommunicate OK [22:20:56]SAM_PROTO_GetFieldsCounters done [22:20:56]requested_item shift.num is exist - process it [22:20:56]requested_item shift.opened is exist - process it [22:20:56]req_shift_opened [22:20:56]FM_GetShiftState [22:20:56]SAM_PROTO_GetShiftState [22:20:56]wFMCommunicate request_size=4 [22:20:56]MH_SAM_APDU [22:20:56]CAPDU: 80 13 01 00 [22:20:56]Write to MH i2c: E2 08 00 F7 11 80 13 01 00 00 00 00 00 85 [22:20:56]Write i2c OK [22:20:56]MH_I2C_Read... [22:20:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:20:56]Read from MH i2c: E2 [22:20:56]MH_I2C_Read... [22:20:56]Read from MH i2c: E2 0E 00 [22:20:56]MH_I2C_Read... [22:20:56]Read from MH i2c: E2 0E 00 F7 11 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 16 [22:20:56]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [22:20:56]wFMCommunicate OK [22:20:56]SAM_PROTO_GetShiftState done [22:20:56]FM_GetShiftState done [22:20:56]req_shift_opened done [22:20:56]requested_item shift.open_date is exist - process it [22:20:56]req_shift_open_date [22:20:56]req_shift_open_date done [22:20:56]produce_requested_data done [22:20:56]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22525,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [22:20:56]process_action_free close_receipt [22:20:56]json_value_free [22:20:56]json_value_free done [22:20:56]process_json_proto returns [22:20:56]Send response to host [22:20:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22525,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [22:20:56]free response buf [22:20:56]execute_script done [22:20:56]execute_script returns [22:20:56]free content buf [22:20:56]Sock 7.Close socket [22:20:56]Sock 7.Thread stoped [22:21:00]OFD Sender: No OFD packet to send [22:21:05]OFD Sender: No OFD packet to send [22:21:10]OFD Sender: No OFD packet to send [22:21:15]OFD Sender: No OFD packet to send [22:21:18]accept exits with 9 [22:21:18]New connection [22:21:18]New thread 3067440484 created [22:21:18]Thread 3067583844 joined [22:21:18]Waiting for new connection... [22:21:18] Sock 9.Parse request [22:21:18]Sock 9.Check first char [22:21:18]Sock 9.First char is OK [22:21:18]request: POST /json_proto HTTP/1.0 [22:21:18]Method: POST [22:21:18]URL: /json_proto [22:21:18]Method is POST - this is cgi request [22:21:18]url: /json_proto [22:21:18]query_string will be loaded in cgi processing [22:21:18]execute_cgi json_proto POST (null) [22:21:18]execute_cgi path=json_proto method=POST [22:21:18]POST find Content-Length [22:21:18]Host: 172.17.43.4:8080 [22:21:18]Content-Length: 1026 [22:21:18]Content-Type: application/json [22:21:18] [22:21:18]POST finish read [22:21:18]Found Content-Length = 1026 [22:21:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51720", "tax_sys" : 0, "items" : [ { "code": "4870002328404", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:21:18]execute_script... [22:21:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51720", "tax_sys" : 0, "items" : [ { "code": "4870002328404", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:21:18]POST & json_proto [22:21:18]process_json_proto [22:21:18]json parsed OK: [22:21:18]protocol is kg_v1.0 [22:21:18]action value=close_receipt [22:21:18]process_action close_receipt [22:21:18]cmd_close_receipt [22:21:18]MH_GetDate [22:21:18]Write to MH i2c: F0 00 00 F8 11 F8 [22:21:18]Write i2c OK [22:21:18]MH_I2C_Read... [22:21:18]Read from MH i2c: F0 [22:21:18]MH_I2C_Read... [22:21:18]Read from MH i2c: F0 09 00 [22:21:18]MH_I2C_Read... [22:21:18]Read from MH i2c: F0 09 00 F8 11 00 E1 8C F4 66 02 BF CF 66 BE [22:21:18]GetLastDocTimeStamp 1727302853 [22:21:18]current date 1727302881 [22:21:18]FM_GetShiftState [22:21:18]SAM_PROTO_GetShiftState [22:21:18]wFMCommunicate request_size=4 [22:21:18]MH_SAM_APDU [22:21:18]CAPDU: 80 13 01 00 [22:21:18]Write to MH i2c: E2 08 00 F9 11 80 13 01 00 00 00 00 00 87 [22:21:18]Write i2c OK [22:21:18]MH_I2C_Read... [22:21:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:21:18]Read from MH i2c: E2 [22:21:18]MH_I2C_Read... [22:21:18]Read from MH i2c: E2 0E 00 [22:21:18]MH_I2C_Read... [22:21:18]Read from MH i2c: E2 0E 00 F9 11 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 18 [22:21:18]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [22:21:18]wFMCommunicate OK [22:21:18]SAM_PROTO_GetShiftState done [22:21:18]FM_GetShiftState done [22:21:18]opened in 1727224020 [22:21:18]opened+sec_in_day 1727310420 [22:21:18]quantity*price = 6500 [22:21:18]sum+1 = 6501 [22:21:18]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000027474 Напиток FuzeTea зел чай манго,ромашка 1л 1.000 * 105.00 = 105.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 170.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 99 25.09.2024 22:21 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22526 ФПД: 69612265616 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T222121&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22526&fm=69612265616&tin=02508201610067®Number=0000000000146243&sum=17000 0 [22:21:20]StoreToDocumentArchive [22:21:20]shift 231 fd 22526 [22:21:20]save to /storage/0231/doc_00022526 [22:21:20]save last doc name /storage/0231/doc_00022526 to /storage/kkm_last_doc_name [22:21:20]save OK [22:21:20]Clear old archive folders... [22:21:20]ProcessDocumentItem done err = 0, tmpTLVsize=431 [22:21:20]tlvbuf is 0024B4B0 [22:21:20]SAM_PROTO_ClearQueue [22:21:20]wFMCommunicate request_size=4 [22:21:20]MH_SAM_APDU [22:21:20]CAPDU: 80 09 00 00 [22:21:20]Write to MH i2c: E2 08 00 06 12 80 09 00 00 00 00 00 00 8A [22:21:20]Write i2c OK [22:21:20]MH_I2C_Read... [22:21:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:21:20]Read from MH i2c: E2 [22:21:20]MH_I2C_Read... [22:21:20]Read from MH i2c: E2 03 00 [22:21:20]MH_I2C_Read... [22:21:20]Read from MH i2c: E2 03 00 06 12 00 90 00 8C [22:21:20]RAPDU: 90 00 [22:21:20]wFMCommunicate OK [22:21:20]SAM_PROTO_ClearQueue done [22:21:20]KKMCreateOFDPacket [22:21:20]OFDProtocolAddRootSTLVToBuf [22:21:20]FM_MakeSignedData [22:21:20]FM_MakeSignedData [22:21:20]SAM_PROTO_SignData [22:21:20]wFMCommunicate request_size=4 [22:21:20]MH_SAM_APDU [22:21:20]CAPDU: 80 0D 01 02 [22:21:20]Write to MH i2c: E2 08 00 07 12 80 0D 01 02 00 00 00 00 92 [22:21:20]Write i2c OK [22:21:20]MH_I2C_Read... [22:21:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:21:20]Read from MH i2c: E2 [22:21:20]MH_I2C_Read... [22:21:20]Read from MH i2c: E2 03 00 [22:21:20]MH_I2C_Read... [22:21:20]Read from MH i2c: E2 03 00 07 12 00 90 00 8D [22:21:20]RAPDU: 90 00 [22:21:20]wFMCommunicate OK [22:21:20]wFMCommunicate request_size=255 [22:21:20]MH_SAM_APDU [22:21:20]CAPDU: 80 0D 02 02 FA 03 00 AF 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 34 30 34 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 [22:21:20]Write to MH i2c: E2 02 01 08 12 80 0D 02 02 FA 00 03 00 AF 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 34 30 34 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 00 00 4D [22:21:20]Write i2c OK [22:21:20]MH_I2C_Read... [22:21:20]OFD Sender: No OFD packet to send [22:21:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:21:20]Read from MH i2c: E2 [22:21:20]MH_I2C_Read... [22:21:20]Read from MH i2c: E2 03 00 [22:21:20]MH_I2C_Read... [22:21:20]Read from MH i2c: E2 03 00 08 12 00 90 00 8E [22:21:20]RAPDU: 90 00 [22:21:20]wFMCommunicate OK [22:21:20]wFMCommunicate request_size=190 [22:21:20]MH_SAM_APDU [22:21:20]CAPDU: 80 0D 02 02 B9 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 63 00 00 00 F4 03 04 00 E1 8C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FE 57 00 00 35 04 06 00 00 10 35 36 E0 90 [22:21:20]Write to MH i2c: E2 C1 00 09 12 80 0D 02 02 B9 00 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 63 00 00 00 F4 03 04 00 E1 8C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FE 57 00 00 35 04 06 00 00 10 35 36 E0 90 00 00 77 [22:21:20]Write i2c OK [22:21:20]MH_I2C_Read... [22:21:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:21:20]Read from MH i2c: E2 [22:21:20]MH_I2C_Read... [22:21:20]Read from MH i2c: E2 03 00 [22:21:20]MH_I2C_Read... [22:21:20]Read from MH i2c: E2 03 00 09 12 00 90 00 8F [22:21:20]RAPDU: 90 00 [22:21:20]wFMCommunicate OK [22:21:20]wFMCommunicate request_size=4 [22:21:20]MH_SAM_APDU [22:21:20]CAPDU: 80 0D 03 02 [22:21:20]Write to MH i2c: E2 08 00 0A 12 80 0D 03 02 00 00 00 00 97 [22:21:20]Write i2c OK [22:21:20]MH_I2C_Read... [22:21:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:21:20]Read from MH i2c: E2 [22:21:20]MH_I2C_Read... [22:21:20]Read from MH i2c: E2 0B 00 [22:21:20]MH_I2C_Read... [22:21:20]Read from MH i2c: E2 0B 00 0A 12 00 BC 83 95 94 0E F0 E6 2A 90 00 0E [22:21:20]RAPDU: BC 83 95 94 0E F0 E6 2A 90 00 [22:21:20]wFMCommunicate OK [22:21:20]SAM_PROTO_SignData done [22:21:20]FM_MakeSignedData done [22:21:20]CreateOFDProtocolMessage [22:21:20]wFMCommunicate request_size=4 [22:21:20]MH_SAM_APDU [22:21:20]CAPDU: 80 11 00 00 [22:21:20]Write to MH i2c: E2 08 00 0B 12 80 11 00 00 00 00 00 00 97 [22:21:20]Write i2c OK [22:21:20]MH_I2C_Read... [22:21:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:21:20]Read from MH i2c: E2 [22:21:20]MH_I2C_Read... [22:21:20]Read from MH i2c: E2 17 00 [22:21:20]MH_I2C_Read... [22:21:20]Read from MH i2c: E2 17 00 0B 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 F1 [22:21:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [22:21:20]wFMCommunicate OK [22:21:20]CreateOFDProtocolMessage done [22:21:20]OFDSenderStorePacket 22526 [22:21:20]StoreOFDPacket docnum=22526 [22:21:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 C3 01 00 00 D4 8F BB 01 BC 86 5A 03 01 00 03 00 AF 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 34 30 34 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 63 00 00 00 F4 03 04 00 E1 8C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FE 57 00 00 35 04 06 00 00 10 35 36 E0 90 BC 83 95 94 0E F0 E6 2A [22:21:20]CheckFolder [22:21:20]dirname=/storage/ofd_packets [22:21:20]CheckFolder done [22:21:20]ProducePacketName [22:21:20]name=ofd_packets/00022526 [22:21:20]NVStorageSaveData ofd_packets/00022526 [22:21:20]File name is /storage/ofd_packets/00022526 [22:21:20]Write 481 bytes [22:21:20]NVStorageSaveData done [22:21:20]OFDSenderStorePacket done [22:21:21]KKMCreateOFDPacket done [22:21:21]NVStorageSaveData kkm_last_timestamp [22:21:21]File name is /storage/kkm_last_timestamp [22:21:21]Write 4 bytes [22:21:21]NVStorageSaveData done [22:21:21]ExternCall_PrintAddStr [22:21:21]wPrintStart [22:21:21]Write to MH i2c: 01 00 00 0C 12 1E [22:21:21]OFD Sender: Processing packet 22526 [packets to send 23, broken 22] [22:21:21]ProducePacketName [22:21:21]name=ofd_packets/00022526 [22:21:21]OFD Sender: To server: pG, [22:21:21]CommunicateWithHost lk.salyk.kg:30040 [22:21:21]ConnectInit lk.salyk.kg [22:21:21]Write i2c OK [22:21:21]MH_I2C_Read... [22:21:21]Read from MH i2c: 01 [22:21:21]MH_I2C_Read... [22:21:21]Read from MH i2c: 01 07 00 [22:21:21]MH_I2C_Read... [22:21:21]Read from MH i2c: 01 07 00 0C 12 00 00 00 00 00 FF 0F 33 [22:21:21]RasterBufferAndPrint [22:21:21]line Счет N : (3)51720 [22:21:21]line ИНН: 02508201610067 [22:21:21]line Контрольно-Кассовый Чек [22:21:21]line ПРОДАЖА [22:21:21]line Товар: 4870002328404 [22:21:21]line Вода ASU пит н.газ мята ПЭТ 0,5л [22:21:21]line 1.000 * 65.00 [22:21:21]line = 65.00 [22:21:21]line НДС 12% НСП 1% [22:21:21]line > о реализуемом товаре [22:21:21]line Товар: 5449000027474 [22:21:21]line Напиток FuzeTea зел чай манго,ромашка 1л [22:21:21]line 1.000 * 105.00 [22:21:21]line = 105.00 [22:21:21]line НДС 12% НСП 1% [22:21:21]line > о реализуемом товаре [22:21:21]line ИТОГО: 170.00 [22:21:21]line НСП 1% : 1.50 [22:21:21]line НДС 12% : 18.05 [22:21:21]line Наличными: 170.00 [22:21:21]line Безнал.: 0.00 [22:21:21]line Место: АЗС № 88 "Партнер Нефть" [22:21:21]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [22:21:21]line СНО: Общий режим [22:21:21]line Чек 99 25.09.2024 22:21 [22:21:21]line Смена: 231 ФФД: 1.0 [22:21:21]line ЗНМ: 0300000061 [22:21:21]line РНМ: 0000000000146243 [22:21:21]line Версия ККМ: v1.0 [22:21:21]line ФМ: 0000000000959358 [22:21:21]line ФД: 22526 [22:21:21]line ФПД: 69612265616 [22:21:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T222121&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22526&fm=69612265616&tin=02508201610067®Number=0000000000146243&sum=17000 [22:21:21]line 0 [22:21:21]written 0, free lines is 4095 [22:21:21]Connected sock=10 [22:21:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 C3 01 00 00 D4 8F BB 01 BC 86 5A 03 01 00 03 00 AF 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 34 30 34 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 63 00 00 00 F4 03 04 00 E1 8C F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FE 57 00 00 35 04 06 00 00 10 35 36 E0 90 BC 83 95 94 0E F0 E6 2A [22:21:21]Write to MH i2c: 01 00 00 3C 12 4E [22:21:21]Write i2c OK [22:21:21]MH_I2C_Read... [22:21:21]Read from MH i2c: 01 [22:21:21]MH_I2C_Read... [22:21:21]Read from MH i2c: 01 07 00 [22:21:21]MH_I2C_Read... [22:21:21]Read from MH i2c: 01 07 00 3C 12 00 00 00 00 00 BA 0C 1B [22:21:21]RasterBufferAndPrint [22:21:21]line [22:21:21]line [22:21:21]line [22:21:21]line [22:21:21]line [22:21:21]written 0, free lines is 3265 [22:21:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 0E A3 47 00 6B 07 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FE 57 00 00 F4 03 04 00 02 37 F4 66 B6 04 01 00 00 86 99 3B D5 03 9B A8 3B [22:21:21]CommunicateWithHost err = 0 [22:21:21]CheckOFDResponse [22:21:21]1017 (14) - 77093643461234 [22:21:21]1041 (16) - 0000000000959358 [22:21:21]1040 (4) - 22526 [22:21:21]1012 (4) - 25.09.2024 16:14 [22:21:21]1206 (1) - 0 [22:21:21]OFD Sender: Remove packet 22526 [22:21:21]ProducePacketName [22:21:21]name=ofd_packets/00022526 [22:21:21]NVStorageDeleteData [22:21:21]MH_Cut [22:21:21]Write to MH i2c: D1 01 00 43 12 01 27 [22:21:21]Write i2c OK [22:21:21]MH_I2C_Read... [22:21:21]Read from MH i2c: D1 [22:21:21]MH_I2C_Read... [22:21:21]Read from MH i2c: D1 01 00 [22:21:21]MH_I2C_Read... [22:21:21]Read from MH i2c: D1 01 00 43 12 00 26 [22:21:21]Write to MH i2c: 01 00 00 44 12 56 [22:21:21]Write i2c OK [22:21:21]MH_I2C_Read... [22:21:22]OFD Sender: No OFD packet to send [22:21:22]*** Cut start [22:21:22]*** Partial cut [22:21:22]*** CUTSNS_PIN = 1 [22:21:22]*** CUTSNS_PIN = 0 [22:21:22]*** Brake cut motor [22:21:22]Read from MH i2c: 01 [22:21:22]MH_I2C_Read... [22:21:22]*** Stop cut motor [22:21:22]*** Cut end [22:21:22]Read from MH i2c: 01 07 00 [22:21:22]MH_I2C_Read... [22:21:22]Read from MH i2c: 01 07 00 44 12 00 00 00 00 00 FF 0F 6B [22:21:22]process_action close_receipt done [22:21:22]requested_data is exist [22:21:22]produce_requested_data [22:21:22]requested_item fm.sn is exist - process it [22:21:22]wFMCommunicate request_size=4 [22:21:22]MH_SAM_APDU [22:21:22]CAPDU: 80 11 00 00 [22:21:22]Write to MH i2c: E2 08 00 45 12 80 11 00 00 00 00 00 00 D1 [22:21:22]Write i2c OK [22:21:22]MH_I2C_Read... [22:21:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:21:23]Read from MH i2c: E2 [22:21:23]MH_I2C_Read... [22:21:23]Read from MH i2c: E2 17 00 [22:21:23]MH_I2C_Read... [22:21:23]Read from MH i2c: E2 17 00 45 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 2B [22:21:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [22:21:23]wFMCommunicate OK [22:21:23]requested_item fd.num is exist - process it [22:21:23]SAM_PROTO_GetFieldsCounters [22:21:23]wFMCommunicate request_size=4 [22:21:23]MH_SAM_APDU [22:21:23]CAPDU: 80 13 00 00 [22:21:23]Write to MH i2c: E2 08 00 46 12 80 13 00 00 00 00 00 00 D4 [22:21:23]Write i2c OK [22:21:23]MH_I2C_Read... [22:21:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:21:23]Read from MH i2c: E2 [22:21:23]MH_I2C_Read... [22:21:23]Read from MH i2c: E2 62 00 [22:21:23]MH_I2C_Read... [22:21:23]Read from MH i2c: E2 62 00 46 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 FE 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 63 00 00 00 5E 04 04 00 63 00 00 00 57 04 04 00 64 00 00 00 19 04 04 00 00 00 00 00 90 00 5C [22:21:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 FE 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 63 00 00 00 5E 04 04 00 63 00 00 00 57 04 04 00 64 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:21:23]wFMCommunicate OK [22:21:23]SAM_PROTO_GetFieldsCounters done [22:21:23]requested_item shift.num is exist - process it [22:21:23]requested_item shift.opened is exist - process it [22:21:23]req_shift_opened [22:21:23]FM_GetShiftState [22:21:23]SAM_PROTO_GetShiftState [22:21:23]wFMCommunicate request_size=4 [22:21:23]MH_SAM_APDU [22:21:23]CAPDU: 80 13 01 00 [22:21:23]Write to MH i2c: E2 08 00 47 12 80 13 01 00 00 00 00 00 D6 [22:21:23]Write i2c OK [22:21:23]MH_I2C_Read... [22:21:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:21:23]Read from MH i2c: E2 [22:21:23]MH_I2C_Read... [22:21:23]Read from MH i2c: E2 0E 00 [22:21:23]MH_I2C_Read... [22:21:23]Read from MH i2c: E2 0E 00 47 12 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 67 [22:21:23]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [22:21:23]wFMCommunicate OK [22:21:23]SAM_PROTO_GetShiftState done [22:21:23]FM_GetShiftState done [22:21:23]req_shift_opened done [22:21:23]requested_item shift.open_date is exist - process it [22:21:23]req_shift_open_date [22:21:23]req_shift_open_date done [22:21:23]produce_requested_data done [22:21:23]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22526,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [22:21:23]process_action_free close_receipt [22:21:23]json_value_free [22:21:23]json_value_free done [22:21:23]process_json_proto returns [22:21:23]Send response to host [22:21:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22526,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [22:21:23]free response buf [22:21:23]execute_script done [22:21:23]execute_script returns [22:21:23]free content buf [22:21:23]Sock 9.Close socket [22:21:23]Sock 9.Thread stoped [22:21:27]OFD Sender: No OFD packet to send [22:21:32]OFD Sender: No OFD packet to send [22:21:37]OFD Sender: No OFD packet to send [22:21:42]OFD Sender: No OFD packet to send [22:21:47]OFD Sender: No OFD packet to send [22:21:52]OFD Sender: No OFD packet to send [22:21:57]OFD Sender: No OFD packet to send [22:22:02]OFD Sender: No OFD packet to send [22:22:07]OFD Sender: No OFD packet to send [22:22:12]OFD Sender: No OFD packet to send [22:22:17]OFD Sender: No OFD packet to send [22:22:22]OFD Sender: No OFD packet to send [22:22:27]OFD Sender: No OFD packet to send [22:22:32]OFD Sender: No OFD packet to send [22:22:37]OFD Sender: No OFD packet to send [22:22:42]OFD Sender: No OFD packet to send [22:22:47]OFD Sender: No OFD packet to send [22:22:52]OFD Sender: No OFD packet to send [22:22:57]OFD Sender: No OFD packet to send [22:23:02]OFD Sender: No OFD packet to send [22:23:07]OFD Sender: No OFD packet to send [22:23:12]OFD Sender: No OFD packet to send [22:23:17]OFD Sender: No OFD packet to send [22:23:22]OFD Sender: No OFD packet to send [22:23:27]OFD Sender: No OFD packet to send [22:23:29]accept exits with 7 [22:23:29]New connection [22:23:29]New thread 3067583844 created [22:23:29]Thread 3067440484 joined [22:23:29]Waiting for new connection... [22:23:29] Sock 7.Parse request [22:23:29]Sock 7.Check first char [22:23:29]Sock 7.First char is OK [22:23:29]request: POST /json_proto HTTP/1.0 [22:23:29]Method: POST [22:23:29]URL: /json_proto [22:23:29]Method is POST - this is cgi request [22:23:29]url: /json_proto [22:23:29]query_string will be loaded in cgi processing [22:23:29]execute_cgi json_proto POST (null) [22:23:29]execute_cgi path=json_proto method=POST [22:23:29]POST find Content-Length [22:23:29]Host: 172.17.43.4:8080 [22:23:29]Content-Length: 646 [22:23:29]Content-Type: application/json [22:23:29] [22:23:29]POST finish read [22:23:29]Found Content-Length = 646 [22:23:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51721", "tax_sys" : 0, "items" : [ { "code": "4700001061104", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0421\u0435\u043C\u0435\u0442\u0435\u0439 0,2\u043B", "price" : 250.00, "quantity" : 1.000, "sum" : 250.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 250.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:23:29]execute_script... [22:23:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51721", "tax_sys" : 0, "items" : [ { "code": "4700001061104", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0421\u0435\u043C\u0435\u0442\u0435\u0439 0,2\u043B", "price" : 250.00, "quantity" : 1.000, "sum" : 250.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 250.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:23:29]POST & json_proto [22:23:29]process_json_proto [22:23:29]json parsed OK: [22:23:29]protocol is kg_v1.0 [22:23:29]action value=close_receipt [22:23:29]process_action close_receipt [22:23:29]cmd_close_receipt [22:23:29]MH_GetDate [22:23:29]Write to MH i2c: F0 00 00 48 12 49 [22:23:29]Write i2c OK [22:23:29]MH_I2C_Read... [22:23:29]Read from MH i2c: F0 [22:23:29]MH_I2C_Read... [22:23:29]Read from MH i2c: F0 09 00 [22:23:29]MH_I2C_Read... [22:23:29]Read from MH i2c: F0 09 00 48 12 00 63 8D F4 66 02 BF CF 66 92 [22:23:29]GetLastDocTimeStamp 1727302881 [22:23:29]current date 1727303011 [22:23:29]FM_GetShiftState [22:23:29]SAM_PROTO_GetShiftState [22:23:29]wFMCommunicate request_size=4 [22:23:29]MH_SAM_APDU [22:23:29]CAPDU: 80 13 01 00 [22:23:29]Write to MH i2c: E2 08 00 49 12 80 13 01 00 00 00 00 00 D8 [22:23:29]Write i2c OK [22:23:29]MH_I2C_Read... [22:23:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:23:29]Read from MH i2c: E2 [22:23:29]MH_I2C_Read... [22:23:29]Read from MH i2c: E2 0E 00 [22:23:29]MH_I2C_Read... [22:23:29]Read from MH i2c: E2 0E 00 49 12 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 69 [22:23:29]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [22:23:29]wFMCommunicate OK [22:23:29]SAM_PROTO_GetShiftState done [22:23:29]FM_GetShiftState done [22:23:29]opened in 1727224020 [22:23:29]opened+sec_in_day 1727310420 [22:23:29]quantity*price = 25000 [22:23:29]sum+1 = 25001 [22:23:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 250.00 НСП 1% : 2.21 НДС 12% : 26.55 Наличными: 250.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 100 25.09.2024 22:23 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22527 ФПД: 164907716067385 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T222331&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22527&fm=164907716067385&tin=02508201610067®Number=0000000000146243&sum=25000 0 [22:23:30]StoreToDocumentArchive [22:23:30]shift 231 fd 22527 [22:23:30]save to /storage/0231/doc_00022527 [22:23:30]save last doc name /storage/0231/doc_00022527 to /storage/kkm_last_doc_name [22:23:30]save OK [22:23:30]Clear old archive folders... [22:23:30]ProcessDocumentItem done err = 0, tmpTLVsize=275 [22:23:30]tlvbuf is 00224DE0 [22:23:30]SAM_PROTO_ClearQueue [22:23:30]wFMCommunicate request_size=4 [22:23:30]MH_SAM_APDU [22:23:30]CAPDU: 80 09 00 00 [22:23:30]Write to MH i2c: E2 08 00 56 12 80 09 00 00 00 00 00 00 DA [22:23:30]Write i2c OK [22:23:30]MH_I2C_Read... [22:23:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:23:30]Read from MH i2c: E2 [22:23:30]MH_I2C_Read... [22:23:30]Read from MH i2c: E2 03 00 [22:23:30]MH_I2C_Read... [22:23:30]Read from MH i2c: E2 03 00 56 12 00 90 00 DC [22:23:30]RAPDU: 90 00 [22:23:30]wFMCommunicate OK [22:23:30]SAM_PROTO_ClearQueue done [22:23:30]KKMCreateOFDPacket [22:23:30]OFDProtocolAddRootSTLVToBuf [22:23:30]FM_MakeSignedData [22:23:30]FM_MakeSignedData [22:23:30]SAM_PROTO_SignData [22:23:30]wFMCommunicate request_size=4 [22:23:30]MH_SAM_APDU [22:23:30]CAPDU: 80 0D 01 02 [22:23:30]Write to MH i2c: E2 08 00 57 12 80 0D 01 02 00 00 00 00 E2 [22:23:30]Write i2c OK [22:23:30]MH_I2C_Read... [22:23:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:23:30]Read from MH i2c: E2 [22:23:30]MH_I2C_Read... [22:23:30]Read from MH i2c: E2 03 00 [22:23:30]MH_I2C_Read... [22:23:30]Read from MH i2c: E2 03 00 57 12 00 90 00 DD [22:23:30]RAPDU: 90 00 [22:23:30]wFMCommunicate OK [22:23:30]wFMCommunicate request_size=255 [22:23:30]MH_SAM_APDU [22:23:30]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 31 31 30 34 06 04 21 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 A1 D0 B5 D0 BC D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A8 61 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 A8 61 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 64 00 00 00 F4 03 04 00 63 8D F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 [22:23:30]Write to MH i2c: E2 02 01 58 12 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 31 31 30 34 06 04 21 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 A1 D0 B5 D0 BC D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A8 61 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 A8 61 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 64 00 00 00 F4 03 04 00 63 8D F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 00 00 3A [22:23:30]Write i2c OK [22:23:30]MH_I2C_Read... [22:23:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:23:31]Read from MH i2c: E2 [22:23:31]MH_I2C_Read... [22:23:31]Read from MH i2c: E2 03 00 [22:23:31]MH_I2C_Read... [22:23:31]Read from MH i2c: E2 03 00 58 12 00 90 00 DE [22:23:31]RAPDU: 90 00 [22:23:31]wFMCommunicate OK [22:23:31]wFMCommunicate request_size=34 [22:23:31]MH_SAM_APDU [22:23:31]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FF 57 00 00 35 04 06 00 95 FB 91 D6 40 39 [22:23:31]Write to MH i2c: E2 25 00 59 12 80 0D 02 02 1D 00 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FF 57 00 00 35 04 06 00 95 FB 91 D6 40 39 00 00 73 [22:23:31]Write i2c OK [22:23:31]MH_I2C_Read... [22:23:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:23:31]Read from MH i2c: E2 [22:23:31]MH_I2C_Read... [22:23:31]Read from MH i2c: E2 03 00 [22:23:31]MH_I2C_Read... [22:23:31]Read from MH i2c: E2 03 00 59 12 00 90 00 DF [22:23:31]RAPDU: 90 00 [22:23:31]wFMCommunicate OK [22:23:31]wFMCommunicate request_size=4 [22:23:31]MH_SAM_APDU [22:23:31]CAPDU: 80 0D 03 02 [22:23:31]Write to MH i2c: E2 08 00 5A 12 80 0D 03 02 00 00 00 00 E7 [22:23:31]Write i2c OK [22:23:31]MH_I2C_Read... [22:23:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:23:31]Read from MH i2c: E2 [22:23:31]MH_I2C_Read... [22:23:31]Read from MH i2c: E2 0B 00 [22:23:31]MH_I2C_Read... [22:23:31]Read from MH i2c: E2 0B 00 5A 12 00 F4 B7 C2 19 85 F6 0C 16 90 00 0B [22:23:31]RAPDU: F4 B7 C2 19 85 F6 0C 16 90 00 [22:23:31]wFMCommunicate OK [22:23:31]SAM_PROTO_SignData done [22:23:31]FM_MakeSignedData done [22:23:31]CreateOFDProtocolMessage [22:23:31]wFMCommunicate request_size=4 [22:23:31]MH_SAM_APDU [22:23:31]CAPDU: 80 11 00 00 [22:23:31]Write to MH i2c: E2 08 00 5B 12 80 11 00 00 00 00 00 00 E7 [22:23:31]Write i2c OK [22:23:31]MH_I2C_Read... [22:23:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:23:31]Read from MH i2c: E2 [22:23:31]MH_I2C_Read... [22:23:31]Read from MH i2c: E2 17 00 [22:23:31]MH_I2C_Read... [22:23:31]Read from MH i2c: E2 17 00 5B 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 41 [22:23:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [22:23:31]wFMCommunicate OK [22:23:31]CreateOFDProtocolMessage done [22:23:31]OFDSenderStorePacket 22527 [22:23:31]StoreOFDPacket docnum=22527 [22:23:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 27 01 00 00 4A 05 1F 01 63 00 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 31 31 30 34 06 04 21 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 A1 D0 B5 D0 BC D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A8 61 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 A8 61 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 64 00 00 00 F4 03 04 00 63 8D F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FF 57 00 00 35 04 06 00 95 FB 91 D6 40 39 F4 B7 C2 19 85 F6 0C 16 [22:23:31]CheckFolder [22:23:31]dirname=/storage/ofd_packets [22:23:31]CheckFolder done [22:23:31]ProducePacketName [22:23:31]name=ofd_packets/00022527 [22:23:31]NVStorageSaveData ofd_packets/00022527 [22:23:31]File name is /storage/ofd_packets/00022527 [22:23:31]Write 325 bytes [22:23:31]NVStorageSaveData done [22:23:31]OFDSenderStorePacket done [22:23:31]KKMCreateOFDPacket done [22:23:31]NVStorageSaveData kkm_last_timestamp [22:23:31]File name is /storage/kkm_last_timestamp [22:23:31]Write 4 bytes [22:23:31]NVStorageSaveData done [22:23:31]OFD Sender: Processing packet 22527 [packets to send 23, broken 22] [22:23:31]ProducePacketName [22:23:31]name=ofd_packets/00022527 [22:23:31]OFD Sender: To server: pG, [22:23:31]CommunicateWithHost lk.salyk.kg:30040 [22:23:31]ConnectInit lk.salyk.kg [22:23:31]ExternCall_PrintAddStr [22:23:31]wPrintStart [22:23:31]Write to MH i2c: 01 00 00 5C 12 6E [22:23:31]Write i2c OK [22:23:31]MH_I2C_Read... [22:23:31]Read from MH i2c: 01 [22:23:31]MH_I2C_Read... [22:23:31]Read from MH i2c: 01 07 00 [22:23:31]MH_I2C_Read... [22:23:31]Read from MH i2c: 01 07 00 5C 12 00 00 00 00 00 FF 0F 83 [22:23:31]RasterBufferAndPrint [22:23:31]line Счет N : (3)51721 [22:23:31]line ИНН: 02508201610067 [22:23:31]line Контрольно-Кассовый Чек [22:23:31]line ПРОДАЖА [22:23:31]line Товар: 4700001061104 [22:23:31]line Коньяк Семетей 0,2л [22:23:31]line 1.000 * 250.00 [22:23:31]line = 250.00 [22:23:31]line НДС 12% НСП 1% [22:23:31]line > о реализуемом товаре [22:23:31]line ИТОГО: 250.00 [22:23:31]line НСП 1% : 2.21 [22:23:31]line НДС 12% : 26.55 [22:23:31]line Наличными: 250.00 [22:23:31]line Безнал.: 0.00 [22:23:31]line Место: АЗС № 88 "Партнер Нефть" [22:23:31]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [22:23:31]line СНО: Общий режим [22:23:31]line Чек 100 25.09.2024 22:23 [22:23:31]line Смена: 231 ФФД: 1.0 [22:23:31]line ЗНМ: 0300000061 [22:23:31]line РНМ: 0000000000146243 [22:23:31]line Версия ККМ: v1.0 [22:23:31]line ФМ: 0000000000959358 [22:23:31]line ФД: 22527 [22:23:31]line ФПД: 164907716067385 [22:23:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T222331&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22527&fm=164907716067385&tin=02508201610067®Number=0000000000146243&sum=25000 [22:23:31]line 0 [22:23:31]Connected sock=11 [22:23:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 27 01 00 00 4A 05 1F 01 63 00 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 31 31 30 34 06 04 21 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 A1 D0 B5 D0 BC D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A8 61 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 A8 61 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 64 00 00 00 F4 03 04 00 63 8D F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FF 57 00 00 35 04 06 00 95 FB 91 D6 40 39 F4 B7 C2 19 85 F6 0C 16 [22:23:31]written 0, free lines is 4095 [22:23:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 8A E2 47 00 48 83 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 FF 57 00 00 F4 03 04 00 84 37 F4 66 B6 04 01 00 00 F1 26 AF A0 60 3E 32 73 [22:23:31]CommunicateWithHost err = 0 [22:23:31]CheckOFDResponse [22:23:31]1017 (14) - 77093643461234 [22:23:31]1041 (16) - 0000000000959358 [22:23:31]1040 (4) - 22527 [22:23:31]1012 (4) - 25.09.2024 16:17 [22:23:31]1206 (1) - 0 [22:23:31]OFD Sender: Remove packet 22527 [22:23:31]ProducePacketName [22:23:31]name=ofd_packets/00022527 [22:23:31]NVStorageDeleteData [22:23:32]Write to MH i2c: 01 00 00 84 12 96 [22:23:32]Write i2c OK [22:23:32]MH_I2C_Read... [22:23:32]Read from MH i2c: 01 [22:23:32]MH_I2C_Read... [22:23:32]Read from MH i2c: 01 07 00 [22:23:32]MH_I2C_Read... [22:23:32]Read from MH i2c: 01 07 00 84 12 00 00 00 00 00 2A 0D D4 [22:23:32]RasterBufferAndPrint [22:23:32]line [22:23:32]line [22:23:32]line [22:23:32]line [22:23:32]line [22:23:32]written 0, free lines is 3377 [22:23:32]MH_Cut [22:23:32]Write to MH i2c: D1 01 00 8B 12 01 6F [22:23:32]Write i2c OK [22:23:32]MH_I2C_Read... [22:23:32]Read from MH i2c: D1 [22:23:32]MH_I2C_Read... [22:23:32]Read from MH i2c: D1 01 00 [22:23:32]MH_I2C_Read... [22:23:32]Read from MH i2c: D1 01 00 8B 12 00 6E [22:23:32]Write to MH i2c: 01 00 00 8C 12 9E [22:23:32]Write i2c OK [22:23:32]MH_I2C_Read... [22:23:32]OFD Sender: No OFD packet to send [22:23:32]*** Cut start [22:23:32]*** Partial cut [22:23:32]*** CUTSNS_PIN = 1 [22:23:32]*** CUTSNS_PIN = 0 [22:23:33]*** Brake cut motor [22:23:33]Read from MH i2c: 01 [22:23:33]MH_I2C_Read... [22:23:33]*** Stop cut motor [22:23:33]*** Cut end [22:23:33]Read from MH i2c: 01 07 00 [22:23:33]MH_I2C_Read... [22:23:33]Read from MH i2c: 01 07 00 8C 12 00 00 00 00 00 FF 0F B3 [22:23:33]process_action close_receipt done [22:23:33]requested_data is exist [22:23:33]produce_requested_data [22:23:33]requested_item fm.sn is exist - process it [22:23:33]wFMCommunicate request_size=4 [22:23:33]MH_SAM_APDU [22:23:33]CAPDU: 80 11 00 00 [22:23:33]Write to MH i2c: E2 08 00 8D 12 80 11 00 00 00 00 00 00 19 [22:23:33]Write i2c OK [22:23:33]MH_I2C_Read... [22:23:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:23:33]Read from MH i2c: E2 [22:23:33]MH_I2C_Read... [22:23:33]Read from MH i2c: E2 17 00 [22:23:33]MH_I2C_Read... [22:23:33]Read from MH i2c: E2 17 00 8D 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 73 [22:23:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [22:23:33]wFMCommunicate OK [22:23:33]requested_item fd.num is exist - process it [22:23:33]SAM_PROTO_GetFieldsCounters [22:23:33]wFMCommunicate request_size=4 [22:23:33]MH_SAM_APDU [22:23:33]CAPDU: 80 13 00 00 [22:23:33]Write to MH i2c: E2 08 00 8E 12 80 13 00 00 00 00 00 00 1C [22:23:33]Write i2c OK [22:23:33]MH_I2C_Read... [22:23:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:23:33]Read from MH i2c: E2 [22:23:33]MH_I2C_Read... [22:23:33]Read from MH i2c: E2 62 00 [22:23:33]MH_I2C_Read... [22:23:33]Read from MH i2c: E2 62 00 8E 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 FF 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 64 00 00 00 5E 04 04 00 64 00 00 00 57 04 04 00 65 00 00 00 19 04 04 00 00 00 00 00 90 00 A8 [22:23:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 FF 57 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 64 00 00 00 5E 04 04 00 64 00 00 00 57 04 04 00 65 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:23:33]wFMCommunicate OK [22:23:33]SAM_PROTO_GetFieldsCounters done [22:23:33]requested_item shift.num is exist - process it [22:23:33]requested_item shift.opened is exist - process it [22:23:33]req_shift_opened [22:23:33]FM_GetShiftState [22:23:33]SAM_PROTO_GetShiftState [22:23:33]wFMCommunicate request_size=4 [22:23:33]MH_SAM_APDU [22:23:33]CAPDU: 80 13 01 00 [22:23:33]Write to MH i2c: E2 08 00 8F 12 80 13 01 00 00 00 00 00 1E [22:23:33]Write i2c OK [22:23:33]MH_I2C_Read... [22:23:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:23:33]Read from MH i2c: E2 [22:23:33]MH_I2C_Read... [22:23:33]Read from MH i2c: E2 0E 00 [22:23:33]MH_I2C_Read... [22:23:33]Read from MH i2c: E2 0E 00 8F 12 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 AF [22:23:33]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [22:23:33]wFMCommunicate OK [22:23:33]SAM_PROTO_GetShiftState done [22:23:33]FM_GetShiftState done [22:23:33]req_shift_opened done [22:23:33]requested_item shift.open_date is exist - process it [22:23:33]req_shift_open_date [22:23:33]req_shift_open_date done [22:23:33]produce_requested_data done [22:23:33]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22527,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [22:23:33]process_action_free close_receipt [22:23:33]json_value_free [22:23:33]json_value_free done [22:23:33]process_json_proto returns [22:23:33]Send response to host [22:23:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22527,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [22:23:33]free response buf [22:23:33]execute_script done [22:23:33]execute_script returns [22:23:33]free content buf [22:23:33]Sock 7.Close socket [22:23:33]Sock 7.Thread stoped [22:23:37]OFD Sender: No OFD packet to send [22:23:42]OFD Sender: No OFD packet to send [22:23:47]OFD Sender: No OFD packet to send [22:23:52]OFD Sender: No OFD packet to send [22:23:57]OFD Sender: No OFD packet to send [22:24:02]OFD Sender: No OFD packet to send [22:24:07]OFD Sender: No OFD packet to send [22:24:12]OFD Sender: No OFD packet to send [22:24:17]OFD Sender: No OFD packet to send [22:24:22]OFD Sender: No OFD packet to send [22:24:27]OFD Sender: No OFD packet to send [22:24:32]OFD Sender: No OFD packet to send [22:24:37]OFD Sender: No OFD packet to send [22:24:42]OFD Sender: No OFD packet to send [22:24:47]OFD Sender: No OFD packet to send [22:24:52]OFD Sender: No OFD packet to send [22:24:57]OFD Sender: No OFD packet to send [22:25:02]OFD Sender: No OFD packet to send [22:25:07]OFD Sender: No OFD packet to send [22:25:12]OFD Sender: No OFD packet to send [22:25:17]OFD Sender: No OFD packet to send [22:25:22]OFD Sender: No OFD packet to send [22:25:27]OFD Sender: No OFD packet to send [22:25:32]OFD Sender: No OFD packet to send [22:25:37]OFD Sender: No OFD packet to send [22:25:42]OFD Sender: No OFD packet to send [22:25:47]OFD Sender: No OFD packet to send [22:25:52]OFD Sender: No OFD packet to send [22:25:57]OFD Sender: No OFD packet to send [22:26:02]OFD Sender: No OFD packet to send [22:26:07]OFD Sender: No OFD packet to send [22:26:12]OFD Sender: No OFD packet to send [22:26:17]OFD Sender: No OFD packet to send [22:26:22]OFD Sender: No OFD packet to send [22:26:27]OFD Sender: No OFD packet to send [22:26:32]OFD Sender: No OFD packet to send [22:26:33]accept exits with 9 [22:26:33]New connection [22:26:33]New thread 3067440484 created [22:26:33]Thread 3067583844 joined [22:26:33]Waiting for new connection... [22:26:33] Sock 9.Parse request [22:26:33]Sock 9.Check first char [22:26:33]Sock 9.First char is OK [22:26:33]request: POST /json_proto HTTP/1.0 [22:26:33]Method: POST [22:26:33]URL: /json_proto [22:26:33]Method is POST - this is cgi request [22:26:33]url: /json_proto [22:26:33]query_string will be loaded in cgi processing [22:26:33]execute_cgi json_proto POST (null) [22:26:33]execute_cgi path=json_proto method=POST [22:26:33]POST find Content-Length [22:26:33]Host: 172.17.43.4:8080 [22:26:33]Content-Length: 567 [22:26:33]Content-Type: application/json [22:26:33] [22:26:33]POST finish read [22:26:33]Found Content-Length = 567 [22:26:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51722", "tax_sys" : 0, "items" : [ { "code": "48744539", "name": "LD Compact Blue", "price" : 134.00, "quantity" : 2.000, "sum" : 268.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 268.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:26:33]execute_script... [22:26:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51722", "tax_sys" : 0, "items" : [ { "code": "48744539", "name": "LD Compact Blue", "price" : 134.00, "quantity" : 2.000, "sum" : 268.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 268.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:26:33]POST & json_proto [22:26:33]process_json_proto [22:26:33]json parsed OK: [22:26:33]protocol is kg_v1.0 [22:26:33]action value=close_receipt [22:26:33]process_action close_receipt [22:26:33]cmd_close_receipt [22:26:33]MH_GetDate [22:26:33]Write to MH i2c: F0 00 00 90 12 91 [22:26:33]Write i2c OK [22:26:33]MH_I2C_Read... [22:26:33]Read from MH i2c: F0 [22:26:33]MH_I2C_Read... [22:26:33]Read from MH i2c: F0 09 00 [22:26:33]MH_I2C_Read... [22:26:33]Read from MH i2c: F0 09 00 90 12 00 1B 8E F4 66 02 BF CF 66 93 [22:26:33]GetLastDocTimeStamp 1727303011 [22:26:33]current date 1727303195 [22:26:33]FM_GetShiftState [22:26:33]SAM_PROTO_GetShiftState [22:26:33]wFMCommunicate request_size=4 [22:26:33]MH_SAM_APDU [22:26:33]CAPDU: 80 13 01 00 [22:26:33]Write to MH i2c: E2 08 00 91 12 80 13 01 00 00 00 00 00 20 [22:26:33]Write i2c OK [22:26:33]MH_I2C_Read... [22:26:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:26:33]Read from MH i2c: E2 [22:26:33]MH_I2C_Read... [22:26:33]Read from MH i2c: E2 0E 00 [22:26:33]MH_I2C_Read... [22:26:33]Read from MH i2c: E2 0E 00 91 12 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 B1 [22:26:33]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [22:26:33]wFMCommunicate OK [22:26:33]SAM_PROTO_GetShiftState done [22:26:33]FM_GetShiftState done [22:26:33]opened in 1727224020 [22:26:33]opened+sec_in_day 1727310420 [22:26:33]quantity*price = 26800 [22:26:33]sum+1 = 26801 [22:26:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 268.00 НСП 1% : 2.37 НДС 12% : 28.46 Наличными: 268.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 101 25.09.2024 22:26 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22528 ФПД: 147703081634518 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T222635&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22528&fm=147703081634518&tin=02508201610067®Number=0000000000146243&sum=26800 0 [22:26:34]StoreToDocumentArchive [22:26:34]shift 231 fd 22528 [22:26:34]save to /storage/0231/doc_00022528 [22:26:34]save last doc name /storage/0231/doc_00022528 to /storage/kkm_last_doc_name [22:26:34]save OK [22:26:34]Clear old archive folders... [22:26:34]ProcessDocumentItem done err = 0, tmpTLVsize=252 [22:26:34]tlvbuf is 0024B700 [22:26:34]SAM_PROTO_ClearQueue [22:26:34]wFMCommunicate request_size=4 [22:26:34]MH_SAM_APDU [22:26:34]CAPDU: 80 09 00 00 [22:26:34]Write to MH i2c: E2 08 00 9E 12 80 09 00 00 00 00 00 00 22 [22:26:34]Write i2c OK [22:26:34]MH_I2C_Read... [22:26:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:26:34]Read from MH i2c: E2 [22:26:34]MH_I2C_Read... [22:26:34]Read from MH i2c: E2 03 00 [22:26:34]MH_I2C_Read... [22:26:34]Read from MH i2c: E2 03 00 9E 12 00 90 00 24 [22:26:34]RAPDU: 90 00 [22:26:34]wFMCommunicate OK [22:26:34]SAM_PROTO_ClearQueue done [22:26:34]KKMCreateOFDPacket [22:26:34]OFDProtocolAddRootSTLVToBuf [22:26:34]FM_MakeSignedData [22:26:34]FM_MakeSignedData [22:26:34]SAM_PROTO_SignData [22:26:34]wFMCommunicate request_size=4 [22:26:34]MH_SAM_APDU [22:26:34]CAPDU: 80 0D 01 02 [22:26:34]Write to MH i2c: E2 08 00 9F 12 80 0D 01 02 00 00 00 00 2A [22:26:34]Write i2c OK [22:26:34]MH_I2C_Read... [22:26:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:26:34]Read from MH i2c: E2 [22:26:34]MH_I2C_Read... [22:26:34]Read from MH i2c: E2 03 00 [22:26:34]MH_I2C_Read... [22:26:34]Read from MH i2c: E2 03 00 9F 12 00 90 00 25 [22:26:34]RAPDU: 90 00 [22:26:34]wFMCommunicate OK [22:26:34]wFMCommunicate request_size=255 [22:26:34]MH_SAM_APDU [22:26:34]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 0B 00 00 00 00 07 04 06 00 B0 68 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 65 00 00 00 F4 03 04 00 1B 8E F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 00 58 00 00 35 04 06 00 [22:26:34]Write to MH i2c: E2 02 01 A0 12 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 0B 00 00 00 00 07 04 06 00 B0 68 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 65 00 00 00 F4 03 04 00 1B 8E F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 00 58 00 00 35 04 06 00 00 00 FE [22:26:34]Write i2c OK [22:26:34]MH_I2C_Read... [22:26:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:26:35]Read from MH i2c: E2 [22:26:35]MH_I2C_Read... [22:26:35]Read from MH i2c: E2 03 00 [22:26:35]MH_I2C_Read... [22:26:35]Read from MH i2c: E2 03 00 A0 12 00 90 00 26 [22:26:35]RAPDU: 90 00 [22:26:35]wFMCommunicate OK [22:26:35]wFMCommunicate request_size=11 [22:26:35]MH_SAM_APDU [22:26:35]CAPDU: 80 0D 02 02 06 86 55 CD B6 8A D6 [22:26:35]Write to MH i2c: E2 0E 00 A1 12 80 0D 02 02 06 00 86 55 CD B6 8A D6 00 00 F7 [22:26:35]Write i2c OK [22:26:35]MH_I2C_Read... [22:26:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:26:35]Read from MH i2c: E2 [22:26:35]MH_I2C_Read... [22:26:35]Read from MH i2c: E2 03 00 [22:26:35]MH_I2C_Read... [22:26:35]Read from MH i2c: E2 03 00 A1 12 00 90 00 27 [22:26:35]RAPDU: 90 00 [22:26:35]wFMCommunicate OK [22:26:35]wFMCommunicate request_size=4 [22:26:35]MH_SAM_APDU [22:26:35]CAPDU: 80 0D 03 02 [22:26:35]Write to MH i2c: E2 08 00 A2 12 80 0D 03 02 00 00 00 00 2F [22:26:35]Write i2c OK [22:26:35]MH_I2C_Read... [22:26:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:26:35]Read from MH i2c: E2 [22:26:35]MH_I2C_Read... [22:26:35]Read from MH i2c: E2 0B 00 [22:26:35]MH_I2C_Read... [22:26:35]Read from MH i2c: E2 0B 00 A2 12 00 31 AC 24 46 F0 3F 13 E4 90 00 9D [22:26:35]RAPDU: 31 AC 24 46 F0 3F 13 E4 90 00 [22:26:35]wFMCommunicate OK [22:26:35]SAM_PROTO_SignData done [22:26:35]FM_MakeSignedData done [22:26:35]CreateOFDProtocolMessage [22:26:35]wFMCommunicate request_size=4 [22:26:35]MH_SAM_APDU [22:26:35]CAPDU: 80 11 00 00 [22:26:35]Write to MH i2c: E2 08 00 A3 12 80 11 00 00 00 00 00 00 2F [22:26:35]Write i2c OK [22:26:35]MH_I2C_Read... [22:26:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:26:35]Read from MH i2c: E2 [22:26:35]MH_I2C_Read... [22:26:35]Read from MH i2c: E2 17 00 [22:26:35]MH_I2C_Read... [22:26:35]Read from MH i2c: E2 17 00 A3 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 89 [22:26:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [22:26:35]wFMCommunicate OK [22:26:35]CreateOFDProtocolMessage done [22:26:35]OFDSenderStorePacket 22528 [22:26:35]StoreOFDPacket docnum=22528 [22:26:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 01 00 00 4C DC 08 01 29 64 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 0B 00 00 00 00 07 04 06 00 B0 68 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 65 00 00 00 F4 03 04 00 1B 8E F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 00 58 00 00 35 04 06 00 86 55 CD B6 8A D6 31 AC 24 46 F0 3F 13 E4 [22:26:35]CheckFolder [22:26:35]dirname=/storage/ofd_packets [22:26:35]CheckFolder done [22:26:35]ProducePacketName [22:26:35]name=ofd_packets/00022528 [22:26:35]NVStorageSaveData ofd_packets/00022528 [22:26:35]File name is /storage/ofd_packets/00022528 [22:26:35]Write 302 bytes [22:26:35]NVStorageSaveData done [22:26:35]OFDSenderStorePacket done [22:26:35]KKMCreateOFDPacket done [22:26:35]NVStorageSaveData kkm_last_timestamp [22:26:35]File name is /storage/kkm_last_timestamp [22:26:35]Write 4 bytes [22:26:35]NVStorageSaveData done [22:26:35]ExternCall_PrintAddStr [22:26:35]wPrintStart [22:26:35]Write to MH i2c: 01 00 00 A4 12 B6 [22:26:35]Write i2c OK [22:26:35]MH_I2C_Read... [22:26:35]Read from MH i2c: 01 [22:26:35]MH_I2C_Read... [22:26:35]Read from MH i2c: 01 07 00 [22:26:35]MH_I2C_Read... [22:26:35]Read from MH i2c: 01 07 00 A4 12 00 00 00 00 00 FF 0F CB [22:26:35]RasterBufferAndPrint [22:26:35]line Счет N : (3)51722 [22:26:35]line ИНН: 02508201610067 [22:26:35]line Контрольно-Кассовый Чек [22:26:35]line ПРОДАЖА [22:26:35]line Товар: 48744539 [22:26:35]line LD Compact Blue [22:26:35]line 2.000 * 134.00 [22:26:35]line = 268.00 [22:26:35]line НДС 12% НСП 1% [22:26:35]line > о реализуемом товаре [22:26:35]line ИТОГО: 268.00 [22:26:35]line НСП 1% : 2.37 [22:26:35]line НДС 12% : 28.46 [22:26:35]line Наличными: 268.00 [22:26:35]line Безнал.: 0.00 [22:26:35]line Место: АЗС № 88 "Партнер Нефть" [22:26:35]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [22:26:35]line СНО: Общий режим [22:26:35]line Чек 101 25.09.2024 22:26 [22:26:35]line Смена: 231 ФФД: 1.0 [22:26:35]line ЗНМ: 0300000061 [22:26:35]line РНМ: 0000000000146243 [22:26:35]line Версия ККМ: v1.0 [22:26:35]line ФМ: 0000000000959358 [22:26:35]line ФД: 22528 [22:26:35]line ФПД: 147703081634518 [22:26:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T222635&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22528&fm=147703081634518&tin=02508201610067®Number=0000000000146243&sum=26800 [22:26:35]line 0 [22:26:35]OFD Sender: Processing packet 22528 [packets to send 23, broken 22] [22:26:35]ProducePacketName [22:26:35]name=ofd_packets/00022528 [22:26:35]OFD Sender: To server: pG, [22:26:35]CommunicateWithHost lk.salyk.kg:30040 [22:26:35]ConnectInit lk.salyk.kg [22:26:35]written 0, free lines is 4095 [22:26:35]Connected sock=10 [22:26:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 01 00 00 4C DC 08 01 29 64 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 0B 00 00 00 00 07 04 06 00 B0 68 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 65 00 00 00 F4 03 04 00 1B 8E F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 00 58 00 00 35 04 06 00 86 55 CD B6 8A D6 31 AC 24 46 F0 3F 13 E4 [22:26:36]Write to MH i2c: 01 00 00 CC 12 DE [22:26:36]Write i2c OK [22:26:36]MH_I2C_Read... [22:26:36]Read from MH i2c: 01 [22:26:36]MH_I2C_Read... [22:26:36]Read from MH i2c: 01 07 00 [22:26:36]MH_I2C_Read... [22:26:36]Read from MH i2c: 01 07 00 CC 12 00 00 00 00 00 24 0D 16 [22:26:36]RasterBufferAndPrint [22:26:36]line [22:26:36]line [22:26:36]line [22:26:36]line [22:26:36]line [22:26:36]written 0, free lines is 3370 [22:26:36]MH_Cut [22:26:36]Write to MH i2c: D1 01 00 D3 12 01 B7 [22:26:36]Write i2c OK [22:26:36]MH_I2C_Read... [22:26:36]Read from MH i2c: D1 [22:26:36]MH_I2C_Read... [22:26:36]Read from MH i2c: D1 01 00 [22:26:36]MH_I2C_Read... [22:26:36]Read from MH i2c: D1 01 00 D3 12 00 B6 [22:26:36]Write to MH i2c: 01 00 00 D4 12 E6 [22:26:36]Write i2c OK [22:26:36]MH_I2C_Read... [22:26:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 F2 FF 47 00 36 91 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 00 58 00 00 F4 03 04 00 3D 38 F4 66 B6 04 01 00 00 E3 24 32 4C D1 2E 58 B7 [22:26:36]CommunicateWithHost err = 0 [22:26:36]CheckOFDResponse [22:26:36]1017 (14) - 77093643461234 [22:26:36]1041 (16) - 0000000000959358 [22:26:36]1040 (4) - 22528 [22:26:36]1012 (4) - 25.09.2024 16:20 [22:26:36]1206 (1) - 0 [22:26:36]OFD Sender: Remove packet 22528 [22:26:36]ProducePacketName [22:26:36]name=ofd_packets/00022528 [22:26:36]NVStorageDeleteData [22:26:36]OFD Sender: No OFD packet to send [22:26:36]*** Cut start [22:26:36]*** Partial cut [22:26:36]*** CUTSNS_PIN = 1 [22:26:36]*** CUTSNS_PIN = 0 [22:26:36]*** Brake cut motor [22:26:37]Read from MH i2c: 01 [22:26:37]MH_I2C_Read... [22:26:37]*** Stop cut motor [22:26:37]*** Cut end [22:26:37]Read from MH i2c: 01 07 00 [22:26:37]MH_I2C_Read... [22:26:37]Read from MH i2c: 01 07 00 D4 12 00 00 00 00 00 FF 0F FB [22:26:37]process_action close_receipt done [22:26:37]requested_data is exist [22:26:37]produce_requested_data [22:26:37]requested_item fm.sn is exist - process it [22:26:37]wFMCommunicate request_size=4 [22:26:37]MH_SAM_APDU [22:26:37]CAPDU: 80 11 00 00 [22:26:37]Write to MH i2c: E2 08 00 D5 12 80 11 00 00 00 00 00 00 61 [22:26:37]Write i2c OK [22:26:37]MH_I2C_Read... [22:26:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:26:37]Read from MH i2c: E2 [22:26:37]MH_I2C_Read... [22:26:37]Read from MH i2c: E2 17 00 [22:26:37]MH_I2C_Read... [22:26:37]Read from MH i2c: E2 17 00 D5 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 BB [22:26:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [22:26:37]wFMCommunicate OK [22:26:37]requested_item fd.num is exist - process it [22:26:37]SAM_PROTO_GetFieldsCounters [22:26:37]wFMCommunicate request_size=4 [22:26:37]MH_SAM_APDU [22:26:37]CAPDU: 80 13 00 00 [22:26:37]Write to MH i2c: E2 08 00 D6 12 80 13 00 00 00 00 00 00 64 [22:26:37]Write i2c OK [22:26:37]MH_I2C_Read... [22:26:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:26:37]Read from MH i2c: E2 [22:26:37]MH_I2C_Read... [22:26:37]Read from MH i2c: E2 62 00 [22:26:37]MH_I2C_Read... [22:26:37]Read from MH i2c: E2 62 00 D6 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 00 58 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 65 00 00 00 5E 04 04 00 65 00 00 00 57 04 04 00 66 00 00 00 19 04 04 00 00 00 00 00 90 00 F5 [22:26:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 00 58 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 65 00 00 00 5E 04 04 00 65 00 00 00 57 04 04 00 66 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:26:37]wFMCommunicate OK [22:26:37]SAM_PROTO_GetFieldsCounters done [22:26:37]requested_item shift.num is exist - process it [22:26:37]requested_item shift.opened is exist - process it [22:26:37]req_shift_opened [22:26:37]FM_GetShiftState [22:26:37]SAM_PROTO_GetShiftState [22:26:37]wFMCommunicate request_size=4 [22:26:37]MH_SAM_APDU [22:26:37]CAPDU: 80 13 01 00 [22:26:37]Write to MH i2c: E2 08 00 D7 12 80 13 01 00 00 00 00 00 66 [22:26:37]Write i2c OK [22:26:37]MH_I2C_Read... [22:26:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:26:37]Read from MH i2c: E2 [22:26:37]MH_I2C_Read... [22:26:37]Read from MH i2c: E2 0E 00 [22:26:37]MH_I2C_Read... [22:26:37]Read from MH i2c: E2 0E 00 D7 12 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 F7 [22:26:37]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [22:26:37]wFMCommunicate OK [22:26:37]SAM_PROTO_GetShiftState done [22:26:37]FM_GetShiftState done [22:26:37]req_shift_opened done [22:26:37]requested_item shift.open_date is exist - process it [22:26:37]req_shift_open_date [22:26:37]req_shift_open_date done [22:26:37]produce_requested_data done [22:26:37]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22528,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [22:26:37]process_action_free close_receipt [22:26:37]json_value_free [22:26:37]json_value_free done [22:26:37]process_json_proto returns [22:26:37]Send response to host [22:26:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22528,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [22:26:37]free response buf [22:26:37]execute_script done [22:26:37]execute_script returns [22:26:37]free content buf [22:26:37]Sock 9.Close socket [22:26:37]Sock 9.Thread stoped [22:26:41]OFD Sender: No OFD packet to send [22:26:46]OFD Sender: No OFD packet to send [22:26:51]OFD Sender: No OFD packet to send [22:26:56]OFD Sender: No OFD packet to send [22:27:01]OFD Sender: No OFD packet to send [22:27:06]OFD Sender: No OFD packet to send [22:27:11]OFD Sender: No OFD packet to send [22:27:16]OFD Sender: No OFD packet to send [22:27:21]OFD Sender: No OFD packet to send [22:27:26]OFD Sender: No OFD packet to send [22:27:31]OFD Sender: No OFD packet to send [22:27:36]OFD Sender: No OFD packet to send [22:27:41]OFD Sender: No OFD packet to send [22:27:46]OFD Sender: No OFD packet to send [22:27:51]OFD Sender: No OFD packet to send [22:27:56]OFD Sender: No OFD packet to send [22:28:01]OFD Sender: No OFD packet to send [22:28:06]OFD Sender: No OFD packet to send [22:28:11]OFD Sender: No OFD packet to send [22:28:16]OFD Sender: No OFD packet to send [22:28:21]OFD Sender: No OFD packet to send [22:28:26]OFD Sender: No OFD packet to send [22:28:31]OFD Sender: No OFD packet to send [22:28:36]OFD Sender: No OFD packet to send [22:28:41]OFD Sender: No OFD packet to send [22:28:46]OFD Sender: No OFD packet to send [22:28:51]OFD Sender: No OFD packet to send [22:28:56]OFD Sender: No OFD packet to send [22:29:01]OFD Sender: No OFD packet to send [22:29:06]OFD Sender: No OFD packet to send [22:29:11]OFD Sender: No OFD packet to send [22:29:16]OFD Sender: No OFD packet to send [22:29:21]OFD Sender: No OFD packet to send [22:29:26]OFD Sender: No OFD packet to send [22:29:31]OFD Sender: No OFD packet to send [22:29:36]OFD Sender: No OFD packet to send [22:29:41]OFD Sender: No OFD packet to send [22:29:46]OFD Sender: No OFD packet to send [22:29:51]OFD Sender: No OFD packet to send [22:29:56]OFD Sender: No OFD packet to send [22:30:01]OFD Sender: No OFD packet to send [22:30:06]OFD Sender: No OFD packet to send [22:30:11]OFD Sender: No OFD packet to send [22:30:16]OFD Sender: No OFD packet to send [22:30:21]OFD Sender: No OFD packet to send [22:30:26]OFD Sender: No OFD packet to send [22:30:31]OFD Sender: No OFD packet to send [22:30:36]OFD Sender: No OFD packet to send [22:30:41]OFD Sender: No OFD packet to send [22:30:46]OFD Sender: No OFD packet to send [22:30:51]OFD Sender: No OFD packet to send [22:30:56]OFD Sender: No OFD packet to send [22:31:01]OFD Sender: No OFD packet to send [22:31:06]OFD Sender: No OFD packet to send [22:31:11]OFD Sender: No OFD packet to send [22:31:16]OFD Sender: No OFD packet to send [22:31:21]OFD Sender: No OFD packet to send [22:31:26]OFD Sender: No OFD packet to send [22:31:31]OFD Sender: No OFD packet to send [22:31:36]OFD Sender: No OFD packet to send [22:31:41]OFD Sender: No OFD packet to send [22:31:46]OFD Sender: No OFD packet to send [22:31:51]OFD Sender: No OFD packet to send [22:31:56]OFD Sender: No OFD packet to send [22:32:01]OFD Sender: No OFD packet to send [22:32:06]OFD Sender: No OFD packet to send [22:32:11]OFD Sender: No OFD packet to send [22:32:16]OFD Sender: No OFD packet to send [22:32:21]OFD Sender: No OFD packet to send [22:32:26]OFD Sender: No OFD packet to send [22:32:31]OFD Sender: No OFD packet to send [22:32:36]OFD Sender: No OFD packet to send [22:32:41]OFD Sender: No OFD packet to send [22:32:46]OFD Sender: No OFD packet to send [22:32:51]OFD Sender: No OFD packet to send [22:32:56]OFD Sender: No OFD packet to send [22:33:01]OFD Sender: No OFD packet to send [22:33:06]OFD Sender: No OFD packet to send [22:33:11]OFD Sender: No OFD packet to send [22:33:16]OFD Sender: No OFD packet to send [22:33:21]OFD Sender: No OFD packet to send [22:33:26]OFD Sender: No OFD packet to send [22:33:31]OFD Sender: No OFD packet to send [22:33:36]OFD Sender: No OFD packet to send [22:33:41]OFD Sender: No OFD packet to send [22:33:46]OFD Sender: No OFD packet to send [22:33:51]OFD Sender: No OFD packet to send [22:33:56]OFD Sender: No OFD packet to send [22:34:01]OFD Sender: No OFD packet to send [22:34:06]OFD Sender: No OFD packet to send [22:34:12]OFD Sender: No OFD packet to send [22:34:17]OFD Sender: No OFD packet to send [22:34:22]OFD Sender: No OFD packet to send [22:34:27]OFD Sender: No OFD packet to send [22:34:32]OFD Sender: No OFD packet to send [22:34:37]OFD Sender: No OFD packet to send [22:34:42]OFD Sender: No OFD packet to send [22:34:47]OFD Sender: No OFD packet to send [22:34:52]OFD Sender: No OFD packet to send [22:34:57]OFD Sender: No OFD packet to send [22:35:02]OFD Sender: No OFD packet to send [22:35:07]OFD Sender: No OFD packet to send [22:35:12]OFD Sender: No OFD packet to send [22:35:17]OFD Sender: No OFD packet to send [22:35:22]OFD Sender: No OFD packet to send [22:35:27]OFD Sender: No OFD packet to send [22:35:32]OFD Sender: No OFD packet to send [22:35:37]OFD Sender: No OFD packet to send [22:35:42]OFD Sender: No OFD packet to send [22:35:47]OFD Sender: No OFD packet to send [22:35:52]OFD Sender: No OFD packet to send [22:35:55]accept exits with 7 [22:35:55]New connection [22:35:55]New thread 3067583844 created [22:35:55]Thread 3067440484 joined [22:35:55]Waiting for new connection... [22:35:55] Sock 7.Parse request [22:35:55]Sock 7.Check first char [22:35:55]Sock 7.First char is OK [22:35:55]request: POST /json_proto HTTP/1.0 [22:35:55]Method: POST [22:35:55]URL: /json_proto [22:35:55]Method is POST - this is cgi request [22:35:55]url: /json_proto [22:35:55]query_string will be loaded in cgi processing [22:35:55]execute_cgi json_proto POST (null) [22:35:55]execute_cgi path=json_proto method=POST [22:35:55]POST find Content-Length [22:35:55]Host: 172.17.43.4:8080 [22:35:55]Content-Length: 1074 [22:35:55]Content-Type: application/json [22:35:55] [22:35:55]POST finish read [22:35:55]Found Content-Length = 1074 [22:35:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51723", "tax_sys" : 0, "items" : [ { "code": "4650243871224", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u0436/\u0431 0,45\u043B (\u041F\u0418\u0422\u0410\u0419\u042F \u0410\u041D\u0410\u041D\u0410\u0421", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870003984128", "name": "\u041F\u0438\u0432\u043E \u041A\u0430\u0440\u0430\u0433 \u0414\u0440\u0430\u0444\u0442 \u041C\u044F\u0433\u043A\u043E\u0435 \u041A\u0440\u0443\u0436\u043A\u0430 \u0441\u0432\u0435\u0436 0,5\u043B", "price" : 125.00, "quantity" : 3.000, "sum" : 375.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 465.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:35:55]execute_script... [22:35:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51723", "tax_sys" : 0, "items" : [ { "code": "4650243871224", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u0436/\u0431 0,45\u043B (\u041F\u0418\u0422\u0410\u0419\u042F \u0410\u041D\u0410\u041D\u0410\u0421", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870003984128", "name": "\u041F\u0438\u0432\u043E \u041A\u0430\u0440\u0430\u0433 \u0414\u0440\u0430\u0444\u0442 \u041C\u044F\u0433\u043A\u043E\u0435 \u041A\u0440\u0443\u0436\u043A\u0430 \u0441\u0432\u0435\u0436 0,5\u043B", "price" : 125.00, "quantity" : 3.000, "sum" : 375.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 465.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:35:55]POST & json_proto [22:35:55]process_json_proto [22:35:55]json parsed OK: [22:35:55]protocol is kg_v1.0 [22:35:55]action value=close_receipt [22:35:55]process_action close_receipt [22:35:55]cmd_close_receipt [22:35:55]MH_GetDate [22:35:55]Write to MH i2c: F0 00 00 D8 12 D9 [22:35:55]Write i2c OK [22:35:55]MH_I2C_Read... [22:35:55]Read from MH i2c: F0 [22:35:55]MH_I2C_Read... [22:35:55]Read from MH i2c: F0 09 00 [22:35:55]MH_I2C_Read... [22:35:55]Read from MH i2c: F0 09 00 D8 12 00 4E 90 F4 66 02 BF CF 66 10 [22:35:55]GetLastDocTimeStamp 1727303195 [22:35:55]current date 1727303758 [22:35:55]FM_GetShiftState [22:35:55]SAM_PROTO_GetShiftState [22:35:55]wFMCommunicate request_size=4 [22:35:55]MH_SAM_APDU [22:35:55]CAPDU: 80 13 01 00 [22:35:55]Write to MH i2c: E2 08 00 D9 12 80 13 01 00 00 00 00 00 68 [22:35:55]Write i2c OK [22:35:55]MH_I2C_Read... [22:35:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:35:55]Read from MH i2c: E2 [22:35:55]MH_I2C_Read... [22:35:55]Read from MH i2c: E2 0E 00 [22:35:55]MH_I2C_Read... [22:35:55]Read from MH i2c: E2 0E 00 D9 12 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 F9 [22:35:55]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [22:35:55]wFMCommunicate OK [22:35:55]SAM_PROTO_GetShiftState done [22:35:55]FM_GetShiftState done [22:35:55]opened in 1727224020 [22:35:55]opened+sec_in_day 1727310420 [22:35:55]quantity*price = 9000 [22:35:55]sum+1 = 9001 [22:35:55]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870003984128 Пиво Караг Драфт Мягкое Кружка свеж 0,5л 3.000 * 125.00 = 375.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 465.00 НСП 1% : 4.12 НДС 12% : 49.38 Наличными: 465.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 102 25.09.2024 22:35 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22529 ФПД: 62912424688739 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T223558&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22529&fm=62912424688739&tin=02508201610067®Number=0000000000146243&sum=46500 0 [22:35:57]StoreToDocumentArchive [22:35:57]shift 231 fd 22529 [22:35:57]save to /storage/0231/doc_00022529 [22:35:57]save last doc name /storage/0231/doc_00022529 to /storage/kkm_last_doc_name [22:35:57]save OK [22:35:57]Clear old archive folders... [22:35:57]ProcessDocumentItem done err = 0, tmpTLVsize=447 [22:35:57]tlvbuf is 00233500 [22:35:57]SAM_PROTO_ClearQueue [22:35:57]wFMCommunicate request_size=4 [22:35:57]MH_SAM_APDU [22:35:57]CAPDU: 80 09 00 00 [22:35:57]Write to MH i2c: E2 08 00 E6 12 80 09 00 00 00 00 00 00 6A [22:35:57]Write i2c OK [22:35:57]MH_I2C_Read... [22:35:57]OFD Sender: No OFD packet to send [22:35:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:35:57]Read from MH i2c: E2 [22:35:57]MH_I2C_Read... [22:35:57]Read from MH i2c: E2 03 00 [22:35:57]MH_I2C_Read... [22:35:57]Read from MH i2c: E2 03 00 E6 12 00 90 00 6C [22:35:57]RAPDU: 90 00 [22:35:57]wFMCommunicate OK [22:35:57]SAM_PROTO_ClearQueue done [22:35:57]KKMCreateOFDPacket [22:35:57]OFDProtocolAddRootSTLVToBuf [22:35:57]FM_MakeSignedData [22:35:57]FM_MakeSignedData [22:35:57]SAM_PROTO_SignData [22:35:57]wFMCommunicate request_size=4 [22:35:57]MH_SAM_APDU [22:35:57]CAPDU: 80 0D 01 02 [22:35:57]Write to MH i2c: E2 08 00 E7 12 80 0D 01 02 00 00 00 00 72 [22:35:57]Write i2c OK [22:35:57]MH_I2C_Read... [22:35:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:35:57]Read from MH i2c: E2 [22:35:57]MH_I2C_Read... [22:35:57]Read from MH i2c: E2 03 00 [22:35:57]MH_I2C_Read... [22:35:57]Read from MH i2c: E2 03 00 E7 12 00 90 00 6D [22:35:57]RAPDU: 90 00 [22:35:57]wFMCommunicate OK [22:35:57]wFMCommunicate request_size=255 [22:35:57]MH_SAM_APDU [22:35:57]CAPDU: 80 0D 02 02 FA 03 00 BF 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 32 32 34 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 28 D0 9F D0 98 D0 A2 D0 90 D0 99 D0 AF 20 D0 90 D0 9D D0 90 D0 9D D0 90 D0 A1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 37 30 30 30 33 39 38 34 31 32 38 06 04 47 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9A D0 B0 D1 80 D0 B0 D0 B3 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 D0 9C D1 8F D0 B3 D0 BA D0 BE D0 B5 20 D0 9A D1 80 D1 83 D0 B6 D0 BA D0 B0 20 D1 81 D0 B2 D0 B5 D0 B6 20 30 2C 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 [22:35:57]Write to MH i2c: E2 02 01 E8 12 80 0D 02 02 FA 00 03 00 BF 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 32 32 34 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 28 D0 9F D0 98 D0 A2 D0 90 D0 99 D0 AF 20 D0 90 D0 9D D0 90 D0 9D D0 90 D0 A1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 37 30 30 30 33 39 38 34 31 32 38 06 04 47 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9A D0 B0 D1 80 D0 B0 D0 B3 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 D0 9C D1 8F D0 B3 D0 BA D0 BE D0 B5 20 D0 9A D1 80 D1 83 D0 B6 D0 BA D0 B0 20 D1 81 D0 B2 D0 B5 D0 B6 20 30 2C 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 00 1B [22:35:57]Write i2c OK [22:35:57]MH_I2C_Read... [22:35:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:35:57]Read from MH i2c: E2 [22:35:57]MH_I2C_Read... [22:35:57]Read from MH i2c: E2 03 00 [22:35:57]MH_I2C_Read... [22:35:57]Read from MH i2c: E2 03 00 E8 12 00 90 00 6E [22:35:57]RAPDU: 90 00 [22:35:57]wFMCommunicate OK [22:35:57]wFMCommunicate request_size=206 [22:35:57]MH_SAM_APDU [22:35:57]CAPDU: 80 0D 02 02 C9 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 7C 92 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 B5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 13 00 00 00 00 07 04 06 00 A4 B5 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 66 00 00 00 F4 03 04 00 4E 90 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 01 58 00 00 35 04 06 00 39 37 F0 B9 BC 63 [22:35:57]Write to MH i2c: E2 D1 00 E9 12 80 0D 02 02 C9 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 7C 92 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 B5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 13 00 00 00 00 07 04 06 00 A4 B5 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 66 00 00 00 F4 03 04 00 4E 90 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 01 58 00 00 35 04 06 00 39 37 F0 B9 BC 63 00 00 31 [22:35:57]Write i2c OK [22:35:57]MH_I2C_Read... [22:35:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:35:57]Read from MH i2c: E2 [22:35:57]MH_I2C_Read... [22:35:57]Read from MH i2c: E2 03 00 [22:35:57]MH_I2C_Read... [22:35:57]Read from MH i2c: E2 03 00 E9 12 00 90 00 6F [22:35:57]RAPDU: 90 00 [22:35:57]wFMCommunicate OK [22:35:57]wFMCommunicate request_size=4 [22:35:57]MH_SAM_APDU [22:35:57]CAPDU: 80 0D 03 02 [22:35:57]Write to MH i2c: E2 08 00 EA 12 80 0D 03 02 00 00 00 00 77 [22:35:57]Write i2c OK [22:35:57]MH_I2C_Read... [22:35:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:35:57]Read from MH i2c: E2 [22:35:57]MH_I2C_Read... [22:35:57]Read from MH i2c: E2 0B 00 [22:35:57]MH_I2C_Read... [22:35:57]Read from MH i2c: E2 0B 00 EA 12 00 09 30 19 17 96 B8 44 7E 90 00 F1 [22:35:57]RAPDU: 09 30 19 17 96 B8 44 7E 90 00 [22:35:57]wFMCommunicate OK [22:35:57]SAM_PROTO_SignData done [22:35:57]FM_MakeSignedData done [22:35:57]CreateOFDProtocolMessage [22:35:57]wFMCommunicate request_size=4 [22:35:57]MH_SAM_APDU [22:35:57]CAPDU: 80 11 00 00 [22:35:57]Write to MH i2c: E2 08 00 EB 12 80 11 00 00 00 00 00 00 77 [22:35:57]Write i2c OK [22:35:57]MH_I2C_Read... [22:35:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:35:57]Read from MH i2c: E2 [22:35:57]MH_I2C_Read... [22:35:57]Read from MH i2c: E2 17 00 [22:35:57]MH_I2C_Read... [22:35:57]Read from MH i2c: E2 17 00 EB 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 D1 [22:35:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [22:35:57]wFMCommunicate OK [22:35:57]CreateOFDProtocolMessage done [22:35:57]OFDSenderStorePacket 22529 [22:35:57]StoreOFDPacket docnum=22529 [22:35:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 D3 01 00 00 DD D4 CB 01 B1 BF 5A 03 01 00 03 00 BF 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 32 32 34 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 28 D0 9F D0 98 D0 A2 D0 90 D0 99 D0 AF 20 D0 90 D0 9D D0 90 D0 9D D0 90 D0 A1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 37 30 30 30 33 39 38 34 31 32 38 06 04 47 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9A D0 B0 D1 80 D0 B0 D0 B3 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 D0 9C D1 8F D0 B3 D0 BA D0 BE D0 B5 20 D0 9A D1 80 D1 83 D0 B6 D0 BA D0 B0 20 D1 81 D0 B2 D0 B5 D0 B6 20 30 2C 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 7C 92 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 B5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 13 00 00 00 00 07 04 06 00 A4 B5 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 66 00 00 00 F4 03 04 00 4E 90 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 01 58 00 00 35 04 06 00 39 37 F0 B9 BC 63 09 30 19 17 96 B8 44 7E [22:35:57]CheckFolder [22:35:57]dirname=/storage/ofd_packets [22:35:57]CheckFolder done [22:35:57]ProducePacketName [22:35:57]name=ofd_packets/00022529 [22:35:57]NVStorageSaveData ofd_packets/00022529 [22:35:57]File name is /storage/ofd_packets/00022529 [22:35:57]Write 497 bytes [22:35:57]NVStorageSaveData done [22:35:57]OFDSenderStorePacket done [22:35:57]KKMCreateOFDPacket done [22:35:57]NVStorageSaveData kkm_last_timestamp [22:35:57]File name is /storage/kkm_last_timestamp [22:35:57]Write 4 bytes [22:35:58]NVStorageSaveData done [22:35:58]ExternCall_PrintAddStr [22:35:58]wPrintStart [22:35:58]Write to MH i2c: 01 00 00 EC 12 FE [22:35:58]OFD Sender: Processing packet 22529 [packets to send 23, broken 22] [22:35:58]ProducePacketName [22:35:58]name=ofd_packets/00022529 [22:35:58]OFD Sender: To server: pG, [22:35:58]CommunicateWithHost lk.salyk.kg:30040 [22:35:58]ConnectInit lk.salyk.kg [22:35:58]Write i2c OK [22:35:58]MH_I2C_Read... [22:35:58]Read from MH i2c: 01 [22:35:58]MH_I2C_Read... [22:35:58]Read from MH i2c: 01 07 00 [22:35:58]MH_I2C_Read... [22:35:58]Read from MH i2c: 01 07 00 EC 12 00 00 00 00 00 FF 0F 13 [22:35:58]RasterBufferAndPrint [22:35:58]line Счет N : (3)51723 [22:35:58]line ИНН: 02508201610067 [22:35:58]line Контрольно-Кассовый Чек [22:35:58]line ПРОДАЖА [22:35:58]line Товар: 4650243871224 [22:35:58]line Напиток Gorilla ж/б 0,45л (ПИТАЙЯ АНАНАС [22:35:58]line 1.000 * 90.00 [22:35:58]line = 90.00 [22:35:58]line НДС 12% НСП 1% [22:35:58]line > о реализуемом товаре [22:35:58]line Товар: 4870003984128 [22:35:58]line Пиво Караг Драфт Мягкое Кружка свеж 0,5л [22:35:58]line 3.000 * 125.00 [22:35:58]line = 375.00 [22:35:58]line НДС 12% НСП 1% [22:35:58]line > о реализуемом товаре [22:35:58]line ИТОГО: 465.00 [22:35:58]line НСП 1% : 4.12 [22:35:58]line НДС 12% : 49.38 [22:35:58]line Наличными: 465.00 [22:35:58]line Безнал.: 0.00 [22:35:58]line Место: АЗС № 88 "Партнер Нефть" [22:35:58]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [22:35:58]line СНО: Общий режим [22:35:58]line Чек 102 25.09.2024 22:35 [22:35:58]line Смена: 231 ФФД: 1.0 [22:35:58]line ЗНМ: 0300000061 [22:35:58]line РНМ: 0000000000146243 [22:35:58]line Версия ККМ: v1.0 [22:35:58]line ФМ: 0000000000959358 [22:35:58]line ФД: 22529 [22:35:58]line ФПД: 62912424688739 [22:35:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T223558&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22529&fm=62912424688739&tin=02508201610067®Number=0000000000146243&sum=46500 [22:35:58]line 0 [22:35:58]written 0, free lines is 4095 [22:35:58]Connected sock=10 [22:35:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 D3 01 00 00 DD D4 CB 01 B1 BF 5A 03 01 00 03 00 BF 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 32 32 34 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 28 D0 9F D0 98 D0 A2 D0 90 D0 99 D0 AF 20 D0 90 D0 9D D0 90 D0 9D D0 90 D0 A1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 37 30 30 30 33 39 38 34 31 32 38 06 04 47 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9A D0 B0 D1 80 D0 B0 D0 B3 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 D0 9C D1 8F D0 B3 D0 BA D0 BE D0 B5 20 D0 9A D1 80 D1 83 D0 B6 D0 BA D0 B0 20 D1 81 D0 B2 D0 B5 D0 B6 20 30 2C 35 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 7C 92 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 B5 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 13 00 00 00 00 07 04 06 00 A4 B5 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 66 00 00 00 F4 03 04 00 4E 90 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 01 58 00 00 35 04 06 00 39 37 F0 B9 BC 63 09 30 19 17 96 B8 44 7E [22:35:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 F8 E8 47 00 53 82 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 01 58 00 00 F4 03 04 00 6F 3A F4 66 B6 04 01 00 00 E4 5D 11 F6 CC D9 D8 9A [22:35:58]CommunicateWithHost err = 0 [22:35:58]CheckOFDResponse [22:35:58]1017 (14) - 77093643461234 [22:35:58]1041 (16) - 0000000000959358 [22:35:58]1040 (4) - 22529 [22:35:58]1012 (4) - 25.09.2024 16:29 [22:35:58]1206 (1) - 0 [22:35:58]OFD Sender: Remove packet 22529 [22:35:58]ProducePacketName [22:35:58]name=ofd_packets/00022529 [22:35:58]NVStorageDeleteData [22:35:58]Write to MH i2c: 01 00 00 1C 13 2F [22:35:58]Write i2c OK [22:35:58]MH_I2C_Read... [22:35:58]Read from MH i2c: 01 [22:35:58]MH_I2C_Read... [22:35:58]Read from MH i2c: 01 07 00 [22:35:58]MH_I2C_Read... [22:35:58]Read from MH i2c: 01 07 00 1C 13 00 00 00 00 00 D5 0C 17 [22:35:58]RasterBufferAndPrint [22:35:58]line [22:35:58]line [22:35:58]line [22:35:58]line [22:35:58]line [22:35:58]written 0, free lines is 3294 [22:35:58]MH_Cut [22:35:58]Write to MH i2c: D1 01 00 23 13 01 08 [22:35:58]Write i2c OK [22:35:58]MH_I2C_Read... [22:35:58]Read from MH i2c: D1 [22:35:58]MH_I2C_Read... [22:35:58]Read from MH i2c: D1 01 00 [22:35:58]MH_I2C_Read... [22:35:58]Read from MH i2c: D1 01 00 23 13 00 07 [22:35:58]Write to MH i2c: 01 00 00 24 13 37 [22:35:58]Write i2c OK [22:35:58]MH_I2C_Read... [22:35:59]OFD Sender: No OFD packet to send [22:35:59]*** Cut start [22:35:59]*** Partial cut [22:35:59]*** CUTSNS_PIN = 1 [22:35:59]*** CUTSNS_PIN = 0 [22:35:59]*** Brake cut motor [22:35:59]Read from MH i2c: 01 [22:35:59]MH_I2C_Read... [22:35:59]*** Stop cut motor [22:35:59]*** Cut end [22:35:59]Read from MH i2c: 01 07 00 [22:35:59]MH_I2C_Read... [22:35:59]Read from MH i2c: 01 07 00 24 13 00 00 00 00 00 FF 0F 4C [22:35:59]process_action close_receipt done [22:35:59]requested_data is exist [22:35:59]produce_requested_data [22:35:59]requested_item fm.sn is exist - process it [22:35:59]wFMCommunicate request_size=4 [22:35:59]MH_SAM_APDU [22:35:59]CAPDU: 80 11 00 00 [22:35:59]Write to MH i2c: E2 08 00 25 13 80 11 00 00 00 00 00 00 B2 [22:35:59]Write i2c OK [22:35:59]MH_I2C_Read... [22:36:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:36:00]Read from MH i2c: E2 [22:36:00]MH_I2C_Read... [22:36:00]Read from MH i2c: E2 17 00 [22:36:00]MH_I2C_Read... [22:36:00]Read from MH i2c: E2 17 00 25 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 0C [22:36:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [22:36:00]wFMCommunicate OK [22:36:00]requested_item fd.num is exist - process it [22:36:00]SAM_PROTO_GetFieldsCounters [22:36:00]wFMCommunicate request_size=4 [22:36:00]MH_SAM_APDU [22:36:00]CAPDU: 80 13 00 00 [22:36:00]Write to MH i2c: E2 08 00 26 13 80 13 00 00 00 00 00 00 B5 [22:36:00]Write i2c OK [22:36:00]MH_I2C_Read... [22:36:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:36:00]Read from MH i2c: E2 [22:36:00]MH_I2C_Read... [22:36:00]Read from MH i2c: E2 62 00 [22:36:00]MH_I2C_Read... [22:36:00]Read from MH i2c: E2 62 00 26 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 01 58 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 66 00 00 00 5E 04 04 00 66 00 00 00 57 04 04 00 67 00 00 00 19 04 04 00 00 00 00 00 90 00 4A [22:36:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 01 58 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 66 00 00 00 5E 04 04 00 66 00 00 00 57 04 04 00 67 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:36:00]wFMCommunicate OK [22:36:00]SAM_PROTO_GetFieldsCounters done [22:36:00]requested_item shift.num is exist - process it [22:36:00]requested_item shift.opened is exist - process it [22:36:00]req_shift_opened [22:36:00]FM_GetShiftState [22:36:00]SAM_PROTO_GetShiftState [22:36:00]wFMCommunicate request_size=4 [22:36:00]MH_SAM_APDU [22:36:00]CAPDU: 80 13 01 00 [22:36:00]Write to MH i2c: E2 08 00 27 13 80 13 01 00 00 00 00 00 B7 [22:36:00]Write i2c OK [22:36:00]MH_I2C_Read... [22:36:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:36:00]Read from MH i2c: E2 [22:36:00]MH_I2C_Read... [22:36:00]Read from MH i2c: E2 0E 00 [22:36:00]MH_I2C_Read... [22:36:00]Read from MH i2c: E2 0E 00 27 13 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 48 [22:36:00]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [22:36:00]wFMCommunicate OK [22:36:00]SAM_PROTO_GetShiftState done [22:36:00]FM_GetShiftState done [22:36:00]req_shift_opened done [22:36:00]requested_item shift.open_date is exist - process it [22:36:00]req_shift_open_date [22:36:00]req_shift_open_date done [22:36:00]produce_requested_data done [22:36:00]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22529,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [22:36:00]process_action_free close_receipt [22:36:00]json_value_free [22:36:00]json_value_free done [22:36:00]process_json_proto returns [22:36:00]Send response to host [22:36:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22529,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [22:36:00]free response buf [22:36:00]execute_script done [22:36:00]execute_script returns [22:36:00]free content buf [22:36:00]Sock 7.Close socket [22:36:00]Sock 7.Thread stoped [22:36:04]OFD Sender: No OFD packet to send [22:36:09]OFD Sender: No OFD packet to send [22:36:14]OFD Sender: No OFD packet to send [22:36:19]OFD Sender: No OFD packet to send [22:36:24]OFD Sender: No OFD packet to send [22:36:29]OFD Sender: No OFD packet to send [22:36:34]OFD Sender: No OFD packet to send [22:36:39]OFD Sender: No OFD packet to send [22:36:44]OFD Sender: No OFD packet to send [22:36:49]OFD Sender: No OFD packet to send [22:36:54]OFD Sender: No OFD packet to send [22:36:59]OFD Sender: No OFD packet to send [22:37:04]OFD Sender: No OFD packet to send [22:37:09]OFD Sender: No OFD packet to send [22:37:14]OFD Sender: No OFD packet to send [22:37:19]OFD Sender: No OFD packet to send [22:37:24]OFD Sender: No OFD packet to send [22:37:29]OFD Sender: No OFD packet to send [22:37:34]OFD Sender: No OFD packet to send [22:37:39]OFD Sender: No OFD packet to send [22:37:44]OFD Sender: No OFD packet to send [22:37:49]OFD Sender: No OFD packet to send [22:37:54]OFD Sender: No OFD packet to send [22:37:59]OFD Sender: No OFD packet to send [22:38:04]OFD Sender: No OFD packet to send [22:38:09]OFD Sender: No OFD packet to send [22:38:14]OFD Sender: No OFD packet to send [22:38:19]OFD Sender: No OFD packet to send [22:38:24]OFD Sender: No OFD packet to send [22:38:29]OFD Sender: No OFD packet to send [22:38:34]OFD Sender: No OFD packet to send [22:38:39]OFD Sender: No OFD packet to send [22:38:44]OFD Sender: No OFD packet to send [22:38:49]OFD Sender: No OFD packet to send [22:38:54]OFD Sender: No OFD packet to send [22:38:59]OFD Sender: No OFD packet to send [22:39:04]OFD Sender: No OFD packet to send [22:39:09]OFD Sender: No OFD packet to send [22:39:14]OFD Sender: No OFD packet to send [22:39:19]OFD Sender: No OFD packet to send [22:39:24]OFD Sender: No OFD packet to send [22:39:29]OFD Sender: No OFD packet to send [22:39:34]OFD Sender: No OFD packet to send [22:39:39]OFD Sender: No OFD packet to send [22:39:44]OFD Sender: No OFD packet to send [22:39:49]OFD Sender: No OFD packet to send [22:39:54]OFD Sender: No OFD packet to send [22:39:59]OFD Sender: No OFD packet to send [22:40:04]OFD Sender: No OFD packet to send [22:40:09]OFD Sender: No OFD packet to send [22:40:14]OFD Sender: No OFD packet to send [22:40:19]OFD Sender: No OFD packet to send [22:40:24]OFD Sender: No OFD packet to send [22:40:29]OFD Sender: No OFD packet to send [22:40:34]OFD Sender: No OFD packet to send [22:40:39]OFD Sender: No OFD packet to send [22:40:44]OFD Sender: No OFD packet to send [22:40:49]OFD Sender: No OFD packet to send [22:40:54]OFD Sender: No OFD packet to send [22:40:59]OFD Sender: No OFD packet to send [22:41:04]OFD Sender: No OFD packet to send [22:41:09]OFD Sender: No OFD packet to send [22:41:14]OFD Sender: No OFD packet to send [22:41:19]OFD Sender: No OFD packet to send [22:41:24]OFD Sender: No OFD packet to send [22:41:29]OFD Sender: No OFD packet to send [22:41:34]OFD Sender: No OFD packet to send [22:41:39]OFD Sender: No OFD packet to send [22:41:44]OFD Sender: No OFD packet to send [22:41:49]OFD Sender: No OFD packet to send [22:41:54]OFD Sender: No OFD packet to send [22:41:59]OFD Sender: No OFD packet to send [22:42:04]OFD Sender: No OFD packet to send [22:42:09]OFD Sender: No OFD packet to send [22:42:14]OFD Sender: No OFD packet to send [22:42:19]OFD Sender: No OFD packet to send [22:42:24]OFD Sender: No OFD packet to send [22:42:29]OFD Sender: No OFD packet to send [22:42:34]OFD Sender: No OFD packet to send [22:42:39]OFD Sender: No OFD packet to send [22:42:44]OFD Sender: No OFD packet to send [22:42:49]OFD Sender: No OFD packet to send [22:42:54]OFD Sender: No OFD packet to send [22:42:59]OFD Sender: No OFD packet to send [22:43:04]OFD Sender: No OFD packet to send [22:43:09]OFD Sender: No OFD packet to send [22:43:14]OFD Sender: No OFD packet to send [22:43:19]OFD Sender: No OFD packet to send [22:43:24]OFD Sender: No OFD packet to send [22:43:29]OFD Sender: No OFD packet to send [22:43:34]OFD Sender: No OFD packet to send [22:43:39]OFD Sender: No OFD packet to send [22:43:44]OFD Sender: No OFD packet to send [22:43:49]OFD Sender: No OFD packet to send [22:43:54]OFD Sender: No OFD packet to send [22:43:59]OFD Sender: No OFD packet to send [22:44:04]OFD Sender: No OFD packet to send [22:44:09]OFD Sender: No OFD packet to send [22:44:14]OFD Sender: No OFD packet to send [22:44:19]OFD Sender: No OFD packet to send [22:44:24]OFD Sender: No OFD packet to send [22:44:29]OFD Sender: No OFD packet to send [22:44:34]OFD Sender: No OFD packet to send [22:44:39]OFD Sender: No OFD packet to send [22:44:44]OFD Sender: No OFD packet to send [22:44:49]OFD Sender: No OFD packet to send [22:44:54]OFD Sender: No OFD packet to send [22:44:59]OFD Sender: No OFD packet to send [22:45:04]OFD Sender: No OFD packet to send [22:45:09]OFD Sender: No OFD packet to send [22:45:14]OFD Sender: No OFD packet to send [22:45:19]OFD Sender: No OFD packet to send [22:45:24]OFD Sender: No OFD packet to send [22:45:29]OFD Sender: No OFD packet to send [22:45:34]OFD Sender: No OFD packet to send [22:45:39]OFD Sender: No OFD packet to send [22:45:44]OFD Sender: No OFD packet to send [22:45:49]OFD Sender: No OFD packet to send [22:45:54]OFD Sender: No OFD packet to send [22:45:59]OFD Sender: No OFD packet to send [22:46:04]OFD Sender: No OFD packet to send [22:46:09]OFD Sender: No OFD packet to send [22:46:14]OFD Sender: No OFD packet to send [22:46:19]OFD Sender: No OFD packet to send [22:46:24]OFD Sender: No OFD packet to send [22:46:29]OFD Sender: No OFD packet to send [22:46:34]OFD Sender: No OFD packet to send [22:46:39]OFD Sender: No OFD packet to send [22:46:44]OFD Sender: No OFD packet to send [22:46:49]OFD Sender: No OFD packet to send [22:46:54]OFD Sender: No OFD packet to send [22:46:59]OFD Sender: No OFD packet to send [22:47:04]OFD Sender: No OFD packet to send [22:47:09]OFD Sender: No OFD packet to send [22:47:14]OFD Sender: No OFD packet to send [22:47:19]OFD Sender: No OFD packet to send [22:47:24]OFD Sender: No OFD packet to send [22:47:29]OFD Sender: No OFD packet to send [22:47:34]OFD Sender: No OFD packet to send [22:47:39]OFD Sender: No OFD packet to send [22:47:44]OFD Sender: No OFD packet to send [22:47:49]OFD Sender: No OFD packet to send [22:47:54]OFD Sender: No OFD packet to send [22:47:59]OFD Sender: No OFD packet to send [22:48:04]OFD Sender: No OFD packet to send [22:48:09]OFD Sender: No OFD packet to send [22:48:14]OFD Sender: No OFD packet to send [22:48:19]OFD Sender: No OFD packet to send [22:48:24]OFD Sender: No OFD packet to send [22:48:29]OFD Sender: No OFD packet to send [22:48:34]OFD Sender: No OFD packet to send [22:48:39]OFD Sender: No OFD packet to send [22:48:44]OFD Sender: No OFD packet to send [22:48:45]accept exits with 9 [22:48:45]New connection [22:48:45]New thread 3067440484 created [22:48:45]Thread 3067583844 joined [22:48:45]Waiting for new connection... [22:48:45] Sock 9.Parse request [22:48:45]Sock 9.Check first char [22:48:45]Sock 9.First char is OK [22:48:45]request: POST /json_proto HTTP/1.0 [22:48:45]Method: POST [22:48:45]URL: /json_proto [22:48:45]Method is POST - this is cgi request [22:48:45]url: /json_proto [22:48:45]query_string will be loaded in cgi processing [22:48:45]execute_cgi json_proto POST (null) [22:48:45]execute_cgi path=json_proto method=POST [22:48:45]POST find Content-Length [22:48:45]Host: 172.17.43.4:8080 [22:48:45]Content-Length: 766 [22:48:45]Content-Type: application/json [22:48:45] [22:48:45]POST finish read [22:48:45]Found Content-Length = 766 [22:48:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51724", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 0.00, "quantity" : 2.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:48:45]execute_script... [22:48:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51724", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 0.00, "quantity" : 2.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:48:45]POST & json_proto [22:48:45]process_json_proto [22:48:45]json parsed OK: [22:48:45]protocol is kg_v1.0 [22:48:45]action value=close_receipt [22:48:45]process_action close_receipt [22:48:45]cmd_close_receipt [22:48:45]MH_GetDate [22:48:45]Write to MH i2c: F0 00 00 28 13 2A [22:48:45]Write i2c OK [22:48:45]MH_I2C_Read... [22:48:45]Read from MH i2c: F0 [22:48:45]MH_I2C_Read... [22:48:45]Read from MH i2c: F0 09 00 [22:48:45]MH_I2C_Read... [22:48:45]Read from MH i2c: F0 09 00 28 13 00 4F 93 F4 66 02 BF CF 66 65 [22:48:45]GetLastDocTimeStamp 1727303758 [22:48:45]current date 1727304527 [22:48:45]FM_GetShiftState [22:48:45]SAM_PROTO_GetShiftState [22:48:45]wFMCommunicate request_size=4 [22:48:45]MH_SAM_APDU [22:48:45]CAPDU: 80 13 01 00 [22:48:45]Write to MH i2c: E2 08 00 29 13 80 13 01 00 00 00 00 00 B9 [22:48:45]Write i2c OK [22:48:45]MH_I2C_Read... [22:48:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:48:45]Read from MH i2c: E2 [22:48:45]MH_I2C_Read... [22:48:45]Read from MH i2c: E2 0E 00 [22:48:45]MH_I2C_Read... [22:48:45]Read from MH i2c: E2 0E 00 29 13 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 4A [22:48:45]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [22:48:45]wFMCommunicate OK [22:48:45]SAM_PROTO_GetShiftState done [22:48:45]FM_GetShiftState done [22:48:45]opened in 1727224020 [22:48:45]opened+sec_in_day 1727310420 [22:48:45]quantity*price = 0 [22:48:45]sum+1 = 1 [22:48:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 103 25.09.2024 22:48 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000959358 ФД: 22530 ФПД: 131987829819446 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T224847&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22530&fm=131987829819446&tin=02508201610067®Number=0000000000146243&sum=0 0 [22:48:46]StoreToDocumentArchive [22:48:46]shift 231 fd 22530 [22:48:46]save to /storage/0231/doc_00022530 [22:48:46]save last doc name /storage/0231/doc_00022530 to /storage/kkm_last_doc_name [22:48:46]save OK [22:48:46]Clear old archive folders... [22:48:46]ProcessDocumentItem done err = 0, tmpTLVsize=282 [22:48:46]tlvbuf is 00242480 [22:48:46]SAM_PROTO_ClearQueue [22:48:46]wFMCommunicate request_size=4 [22:48:46]MH_SAM_APDU [22:48:46]CAPDU: 80 09 00 00 [22:48:46]Write to MH i2c: E2 08 00 36 13 80 09 00 00 00 00 00 00 BB [22:48:46]Write i2c OK [22:48:46]MH_I2C_Read... [22:48:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:48:46]Read from MH i2c: E2 [22:48:46]MH_I2C_Read... [22:48:46]Read from MH i2c: E2 03 00 [22:48:46]MH_I2C_Read... [22:48:46]Read from MH i2c: E2 03 00 36 13 00 90 00 BD [22:48:46]RAPDU: 90 00 [22:48:46]wFMCommunicate OK [22:48:46]SAM_PROTO_ClearQueue done [22:48:46]KKMCreateOFDPacket [22:48:46]OFDProtocolAddRootSTLVToBuf [22:48:46]FM_MakeSignedData [22:48:46]FM_MakeSignedData [22:48:46]SAM_PROTO_SignData [22:48:46]wFMCommunicate request_size=4 [22:48:46]MH_SAM_APDU [22:48:46]CAPDU: 80 0D 01 02 [22:48:46]Write to MH i2c: E2 08 00 37 13 80 0D 01 02 00 00 00 00 C3 [22:48:46]Write i2c OK [22:48:46]MH_I2C_Read... [22:48:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:48:46]Read from MH i2c: E2 [22:48:46]MH_I2C_Read... [22:48:46]Read from MH i2c: E2 03 00 [22:48:46]MH_I2C_Read... [22:48:46]Read from MH i2c: E2 03 00 37 13 00 90 00 BE [22:48:46]RAPDU: 90 00 [22:48:46]wFMCommunicate OK [22:48:46]wFMCommunicate request_size=255 [22:48:46]MH_SAM_APDU [22:48:46]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 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 67 00 00 00 F4 03 04 00 4F 93 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 [22:48:46]Write to MH i2c: E2 02 01 38 13 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 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 67 00 00 00 F4 03 04 00 4F 93 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 00 00 7F [22:48:46]Write i2c OK [22:48:46]MH_I2C_Read... [22:48:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:48:47]Read from MH i2c: E2 [22:48:47]MH_I2C_Read... [22:48:47]Read from MH i2c: E2 03 00 [22:48:47]MH_I2C_Read... [22:48:47]Read from MH i2c: E2 03 00 38 13 00 90 00 BF [22:48:47]RAPDU: 90 00 [22:48:47]wFMCommunicate OK [22:48:47]wFMCommunicate request_size=41 [22:48:47]MH_SAM_APDU [22:48:47]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 02 58 00 00 35 04 06 00 78 0A CF B6 08 36 [22:48:47]Write to MH i2c: E2 2C 00 39 13 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 02 58 00 00 35 04 06 00 78 0A CF B6 08 36 00 00 3B [22:48:47]Write i2c OK [22:48:47]MH_I2C_Read... [22:48:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:48:47]Read from MH i2c: E2 [22:48:47]MH_I2C_Read... [22:48:47]Read from MH i2c: E2 03 00 [22:48:47]MH_I2C_Read... [22:48:47]Read from MH i2c: E2 03 00 39 13 00 90 00 C0 [22:48:47]RAPDU: 90 00 [22:48:47]wFMCommunicate OK [22:48:47]wFMCommunicate request_size=4 [22:48:47]MH_SAM_APDU [22:48:47]CAPDU: 80 0D 03 02 [22:48:47]Write to MH i2c: E2 08 00 3A 13 80 0D 03 02 00 00 00 00 C8 [22:48:47]Write i2c OK [22:48:47]MH_I2C_Read... [22:48:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:48:47]Read from MH i2c: E2 [22:48:47]MH_I2C_Read... [22:48:47]Read from MH i2c: E2 0B 00 [22:48:47]MH_I2C_Read... [22:48:47]Read from MH i2c: E2 0B 00 3A 13 00 E2 8D 46 07 65 E4 D3 66 90 00 07 [22:48:47]RAPDU: E2 8D 46 07 65 E4 D3 66 90 00 [22:48:47]wFMCommunicate OK [22:48:47]SAM_PROTO_SignData done [22:48:47]FM_MakeSignedData done [22:48:47]CreateOFDProtocolMessage [22:48:47]wFMCommunicate request_size=4 [22:48:47]MH_SAM_APDU [22:48:47]CAPDU: 80 11 00 00 [22:48:47]Write to MH i2c: E2 08 00 3B 13 80 11 00 00 00 00 00 00 C8 [22:48:47]Write i2c OK [22:48:47]MH_I2C_Read... [22:48:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:48:47]Read from MH i2c: E2 [22:48:47]MH_I2C_Read... [22:48:47]Read from MH i2c: E2 17 00 [22:48:47]MH_I2C_Read... [22:48:47]Read from MH i2c: E2 17 00 3B 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 22 [22:48:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [22:48:47]wFMCommunicate OK [22:48:47]CreateOFDProtocolMessage done [22:48:47]OFDSenderStorePacket 22530 [22:48:47]StoreOFDPacket docnum=22530 [22:48:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 2E 01 00 00 F8 60 26 01 D4 20 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 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 67 00 00 00 F4 03 04 00 4F 93 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 02 58 00 00 35 04 06 00 78 0A CF B6 08 36 E2 8D 46 07 65 E4 D3 66 [22:48:47]CheckFolder [22:48:47]dirname=/storage/ofd_packets [22:48:47]CheckFolder done [22:48:47]ProducePacketName [22:48:47]name=ofd_packets/00022530 [22:48:47]NVStorageSaveData ofd_packets/00022530 [22:48:47]File name is /storage/ofd_packets/00022530 [22:48:47]Write 332 bytes [22:48:47]NVStorageSaveData done [22:48:47]OFDSenderStorePacket done [22:48:47]KKMCreateOFDPacket done [22:48:47]NVStorageSaveData kkm_last_timestamp [22:48:47]File name is /storage/kkm_last_timestamp [22:48:47]Write 4 bytes [22:48:47]NVStorageSaveData done [22:48:47]ExternCall_PrintAddStr [22:48:47]wPrintStart [22:48:47]Write to MH i2c: 01 00 00 3C 13 4F [22:48:47]Write i2c OK [22:48:47]MH_I2C_Read... [22:48:47]Read from MH i2c: 01 [22:48:47]MH_I2C_Read... [22:48:47]Read from MH i2c: 01 07 00 [22:48:47]MH_I2C_Read... [22:48:47]Read from MH i2c: 01 07 00 3C 13 00 00 00 00 00 FF 0F 64 [22:48:47]RasterBufferAndPrint [22:48:47]line Счет N : (3)51724 [22:48:47]line ИНН: 02508201610067 [22:48:47]line Контрольно-Кассовый Чек [22:48:47]line ПРОДАЖА [22:48:47]line Товар: 2000036220012 [22:48:47]line Кофе Капучино XL(GABB TRADE) [22:48:47]line 2.000 * 0.00 [22:48:47]line = 0.00 [22:48:47]line НДС 12% НСП 1% [22:48:47]line > о реализуемом товаре [22:48:47]line ИТОГО: 0.00 [22:48:47]line НСП 1% : 0.00 [22:48:47]line НДС 12% : 0.00 [22:48:47]line Наличными: 0.00 [22:48:47]line Безнал.: 0.00 [22:48:47]line Место: АЗС № 88 "Партнер Нефть" [22:48:47]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [22:48:47]line СНО: Общий режим [22:48:47]line Чек 103 25.09.2024 22:48 [22:48:47]line Смена: 231 ФФД: 1.0 [22:48:47]line ЗНМ: 0300000061 [22:48:47]line РНМ: 0000000000146243 [22:48:47]line Версия ККМ: v1.0 [22:48:47]line Платежная система: Mbank [22:48:47]line ФМ: 0000000000959358 [22:48:47]line ФД: 22530 [22:48:47]line ФПД: 131987829819446 [22:48:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T224847&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22530&fm=131987829819446&tin=02508201610067®Number=0000000000146243&sum=0 [22:48:47]line 0 [22:48:47]OFD Sender: Processing packet 22530 [packets to send 23, broken 22] [22:48:47]ProducePacketName [22:48:47]name=ofd_packets/00022530 [22:48:47]OFD Sender: To server: pG, [22:48:47]CommunicateWithHost lk.salyk.kg:30040 [22:48:47]ConnectInit lk.salyk.kg [22:48:47]written 0, free lines is 4095 [22:48:47]Connected sock=10 [22:48:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 2E 01 00 00 F8 60 26 01 D4 20 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 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 67 00 00 00 F4 03 04 00 4F 93 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 02 58 00 00 35 04 06 00 78 0A CF B6 08 36 E2 8D 46 07 65 E4 D3 66 [22:48:48]Write to MH i2c: 01 00 00 66 13 79 [22:48:48]Write i2c OK [22:48:48]MH_I2C_Read... [22:48:48]Read from MH i2c: 01 [22:48:48]MH_I2C_Read... [22:48:48]Read from MH i2c: 01 07 00 [22:48:48]MH_I2C_Read... [22:48:48]Read from MH i2c: 01 07 00 66 13 00 00 00 00 00 05 0D 92 [22:48:48]RasterBufferAndPrint [22:48:48]line [22:48:48]line [22:48:48]line [22:48:48]line [22:48:48]line [22:48:48]written 0, free lines is 3339 [22:48:48]MH_Cut [22:48:48]Write to MH i2c: D1 01 00 6D 13 01 52 [22:48:48]Write i2c OK [22:48:48]MH_I2C_Read... [22:48:48]Read from MH i2c: D1 [22:48:48]MH_I2C_Read... [22:48:48]Read from MH i2c: D1 01 00 [22:48:48]MH_I2C_Read... [22:48:48]Read from MH i2c: D1 01 00 6D 13 00 51 [22:48:48]Write to MH i2c: 01 00 00 6E 13 81 [22:48:48]Write i2c OK [22:48:48]MH_I2C_Read... [22:48:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 F1 42 47 00 F3 17 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 02 58 00 00 F4 03 04 00 71 3D F4 66 B6 04 01 00 00 AA CF E7 29 B7 2B 71 BE [22:48:48]CommunicateWithHost err = 0 [22:48:48]CheckOFDResponse [22:48:48]1017 (14) - 77093643461234 [22:48:48]1041 (16) - 0000000000959358 [22:48:48]1040 (4) - 22530 [22:48:48]1012 (4) - 25.09.2024 16:42 [22:48:48]1206 (1) - 0 [22:48:48]OFD Sender: Remove packet 22530 [22:48:48]ProducePacketName [22:48:48]name=ofd_packets/00022530 [22:48:48]NVStorageDeleteData [22:48:48]OFD Sender: No OFD packet to send [22:48:48]*** Cut start [22:48:48]*** Partial cut [22:48:48]*** CUTSNS_PIN = 1 [22:48:48]*** CUTSNS_PIN = 0 [22:48:48]*** Brake cut motor [22:48:49]Read from MH i2c: 01 [22:48:49]MH_I2C_Read... [22:48:49]*** Stop cut motor [22:48:49]*** Cut end [22:48:49]Read from MH i2c: 01 07 00 [22:48:49]MH_I2C_Read... [22:48:49]Read from MH i2c: 01 07 00 6E 13 00 00 00 00 00 FF 0F 96 [22:48:49]process_action close_receipt done [22:48:49]requested_data is exist [22:48:49]produce_requested_data [22:48:49]requested_item fm.sn is exist - process it [22:48:49]wFMCommunicate request_size=4 [22:48:49]MH_SAM_APDU [22:48:49]CAPDU: 80 11 00 00 [22:48:49]Write to MH i2c: E2 08 00 6F 13 80 11 00 00 00 00 00 00 FC [22:48:49]Write i2c OK [22:48:49]MH_I2C_Read... [22:48:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:48:49]Read from MH i2c: E2 [22:48:49]MH_I2C_Read... [22:48:49]Read from MH i2c: E2 17 00 [22:48:49]MH_I2C_Read... [22:48:49]Read from MH i2c: E2 17 00 6F 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 56 [22:48:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [22:48:49]wFMCommunicate OK [22:48:49]requested_item fd.num is exist - process it [22:48:49]SAM_PROTO_GetFieldsCounters [22:48:49]wFMCommunicate request_size=4 [22:48:49]MH_SAM_APDU [22:48:49]CAPDU: 80 13 00 00 [22:48:49]Write to MH i2c: E2 08 00 70 13 80 13 00 00 00 00 00 00 FF [22:48:49]Write i2c OK [22:48:49]MH_I2C_Read... [22:48:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:48:49]Read from MH i2c: E2 [22:48:49]MH_I2C_Read... [22:48:49]Read from MH i2c: E2 62 00 [22:48:49]MH_I2C_Read... [22:48:49]Read from MH i2c: E2 62 00 70 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 02 58 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 67 00 00 00 5E 04 04 00 67 00 00 00 57 04 04 00 68 00 00 00 19 04 04 00 00 00 00 00 90 00 98 [22:48:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 02 58 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 67 00 00 00 5E 04 04 00 67 00 00 00 57 04 04 00 68 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:48:49]wFMCommunicate OK [22:48:49]SAM_PROTO_GetFieldsCounters done [22:48:49]requested_item shift.num is exist - process it [22:48:49]requested_item shift.opened is exist - process it [22:48:49]req_shift_opened [22:48:49]FM_GetShiftState [22:48:49]SAM_PROTO_GetShiftState [22:48:49]wFMCommunicate request_size=4 [22:48:49]MH_SAM_APDU [22:48:49]CAPDU: 80 13 01 00 [22:48:49]Write to MH i2c: E2 08 00 71 13 80 13 01 00 00 00 00 00 01 [22:48:49]Write i2c OK [22:48:49]MH_I2C_Read... [22:48:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:48:49]Read from MH i2c: E2 [22:48:49]MH_I2C_Read... [22:48:49]Read from MH i2c: E2 0E 00 [22:48:49]MH_I2C_Read... [22:48:49]Read from MH i2c: E2 0E 00 71 13 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 92 [22:48:49]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [22:48:49]wFMCommunicate OK [22:48:49]SAM_PROTO_GetShiftState done [22:48:49]FM_GetShiftState done [22:48:49]req_shift_opened done [22:48:49]requested_item shift.open_date is exist - process it [22:48:49]req_shift_open_date [22:48:49]req_shift_open_date done [22:48:49]produce_requested_data done [22:48:49]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22530,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [22:48:49]process_action_free close_receipt [22:48:49]json_value_free [22:48:49]json_value_free done [22:48:49]process_json_proto returns [22:48:49]Send response to host [22:48:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22530,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [22:48:49]free response buf [22:48:49]execute_script done [22:48:49]execute_script returns [22:48:49]free content buf [22:48:49]Sock 9.Close socket [22:48:49]Sock 9.Thread stoped [22:48:53]OFD Sender: No OFD packet to send [22:48:58]OFD Sender: No OFD packet to send [22:49:03]OFD Sender: No OFD packet to send [22:49:08]OFD Sender: No OFD packet to send [22:49:13]OFD Sender: No OFD packet to send [22:49:18]OFD Sender: No OFD packet to send [22:49:23]OFD Sender: No OFD packet to send [22:49:28]OFD Sender: No OFD packet to send [22:49:33]OFD Sender: No OFD packet to send [22:49:38]OFD Sender: No OFD packet to send [22:49:43]OFD Sender: No OFD packet to send [22:49:48]OFD Sender: No OFD packet to send [22:49:53]OFD Sender: No OFD packet to send [22:49:58]OFD Sender: No OFD packet to send [22:50:03]OFD Sender: No OFD packet to send [22:50:08]OFD Sender: No OFD packet to send [22:50:13]OFD Sender: No OFD packet to send [22:50:18]OFD Sender: No OFD packet to send [22:50:23]OFD Sender: No OFD packet to send [22:50:28]OFD Sender: No OFD packet to send [22:50:33]OFD Sender: No OFD packet to send [22:50:38]OFD Sender: No OFD packet to send [22:50:43]OFD Sender: No OFD packet to send [22:50:48]OFD Sender: No OFD packet to send [22:50:53]OFD Sender: No OFD packet to send [22:50:58]OFD Sender: No OFD packet to send [22:51:03]OFD Sender: No OFD packet to send [22:51:08]OFD Sender: No OFD packet to send [22:51:13]OFD Sender: No OFD packet to send [22:51:18]OFD Sender: No OFD packet to send [22:51:23]OFD Sender: No OFD packet to send [22:51:28]OFD Sender: No OFD packet to send [22:51:33]OFD Sender: No OFD packet to send [22:51:38]OFD Sender: No OFD packet to send [22:51:43]OFD Sender: No OFD packet to send [22:51:48]OFD Sender: No OFD packet to send [22:51:53]OFD Sender: No OFD packet to send [22:51:58]OFD Sender: No OFD packet to send [22:52:03]OFD Sender: No OFD packet to send [22:52:08]OFD Sender: No OFD packet to send [22:52:13]OFD Sender: No OFD packet to send [22:52:18]OFD Sender: No OFD packet to send [22:52:23]OFD Sender: No OFD packet to send [22:52:28]OFD Sender: No OFD packet to send [22:52:33]OFD Sender: No OFD packet to send [22:52:38]OFD Sender: No OFD packet to send [22:52:43]OFD Sender: No OFD packet to send [22:52:48]OFD Sender: No OFD packet to send [22:52:53]OFD Sender: No OFD packet to send [22:52:58]OFD Sender: No OFD packet to send [22:53:03]OFD Sender: No OFD packet to send [22:53:08]OFD Sender: No OFD packet to send [22:53:13]OFD Sender: No OFD packet to send [22:53:18]OFD Sender: No OFD packet to send [22:53:23]OFD Sender: No OFD packet to send [22:53:28]OFD Sender: No OFD packet to send [22:53:33]OFD Sender: No OFD packet to send [22:53:38]OFD Sender: No OFD packet to send [22:53:43]OFD Sender: No OFD packet to send [22:53:48]OFD Sender: No OFD packet to send [22:53:53]OFD Sender: No OFD packet to send [22:53:58]OFD Sender: No OFD packet to send [22:54:03]OFD Sender: No OFD packet to send [22:54:08]OFD Sender: No OFD packet to send [22:54:13]OFD Sender: No OFD packet to send [22:54:18]OFD Sender: No OFD packet to send [22:54:23]OFD Sender: No OFD packet to send [22:54:28]OFD Sender: No OFD packet to send [22:54:33]OFD Sender: No OFD packet to send [22:54:38]OFD Sender: No OFD packet to send [22:54:43]OFD Sender: No OFD packet to send [22:54:48]OFD Sender: No OFD packet to send [22:54:53]OFD Sender: No OFD packet to send [22:54:58]OFD Sender: No OFD packet to send [22:55:03]OFD Sender: No OFD packet to send [22:55:08]OFD Sender: No OFD packet to send [22:55:13]OFD Sender: No OFD packet to send [22:55:18]OFD Sender: No OFD packet to send [22:55:23]OFD Sender: No OFD packet to send [22:55:28]OFD Sender: No OFD packet to send [22:55:33]OFD Sender: No OFD packet to send [22:55:38]OFD Sender: No OFD packet to send [22:55:43]OFD Sender: No OFD packet to send [22:55:48]OFD Sender: No OFD packet to send [22:55:54]OFD Sender: No OFD packet to send [22:55:59]OFD Sender: No OFD packet to send [22:56:04]OFD Sender: No OFD packet to send [22:56:09]OFD Sender: No OFD packet to send [22:56:14]OFD Sender: No OFD packet to send [22:56:19]OFD Sender: No OFD packet to send [22:56:24]OFD Sender: No OFD packet to send [22:56:29]OFD Sender: No OFD packet to send [22:56:34]OFD Sender: No OFD packet to send [22:56:39]OFD Sender: No OFD packet to send [22:56:44]OFD Sender: No OFD packet to send [22:56:49]OFD Sender: No OFD packet to send [22:56:54]OFD Sender: No OFD packet to send [22:56:59]OFD Sender: No OFD packet to send [22:57:04]OFD Sender: No OFD packet to send [22:57:09]OFD Sender: No OFD packet to send [22:57:14]OFD Sender: No OFD packet to send [22:57:19]OFD Sender: No OFD packet to send [22:57:24]OFD Sender: No OFD packet to send [22:57:29]OFD Sender: No OFD packet to send [22:57:34]OFD Sender: No OFD packet to send [22:57:39]OFD Sender: No OFD packet to send [22:57:44]OFD Sender: No OFD packet to send [22:57:49]OFD Sender: No OFD packet to send [22:57:54]OFD Sender: No OFD packet to send [22:57:59]OFD Sender: No OFD packet to send [22:58:04]OFD Sender: No OFD packet to send [22:58:09]OFD Sender: No OFD packet to send [22:58:14]OFD Sender: No OFD packet to send [22:58:19]OFD Sender: No OFD packet to send [22:58:24]OFD Sender: No OFD packet to send [22:58:29]OFD Sender: No OFD packet to send [22:58:34]OFD Sender: No OFD packet to send [22:58:39]OFD Sender: No OFD packet to send [22:58:44]OFD Sender: No OFD packet to send [22:58:49]OFD Sender: No OFD packet to send [22:58:54]OFD Sender: No OFD packet to send [22:58:59]OFD Sender: No OFD packet to send [22:59:04]OFD Sender: No OFD packet to send [22:59:09]OFD Sender: No OFD packet to send [22:59:14]OFD Sender: No OFD packet to send [22:59:19]OFD Sender: No OFD packet to send [22:59:24]OFD Sender: No OFD packet to send [22:59:29]OFD Sender: No OFD packet to send [22:59:34]OFD Sender: No OFD packet to send [22:59:39]OFD Sender: No OFD packet to send [22:59:44]OFD Sender: No OFD packet to send [22:59:49]OFD Sender: No OFD packet to send [22:59:54]OFD Sender: No OFD packet to send [22:59:59]OFD Sender: No OFD packet to send [23:00:04]OFD Sender: No OFD packet to send [23:00:09]OFD Sender: No OFD packet to send [23:00:14]OFD Sender: No OFD packet to send [23:00:19]OFD Sender: No OFD packet to send [23:00:24]OFD Sender: No OFD packet to send [23:00:29]OFD Sender: No OFD packet to send [23:00:34]OFD Sender: No OFD packet to send [23:00:39]OFD Sender: No OFD packet to send [23:00:44]OFD Sender: No OFD packet to send [23:00:49]OFD Sender: No OFD packet to send [23:00:54]OFD Sender: No OFD packet to send [23:00:59]OFD Sender: No OFD packet to send [23:01:04]OFD Sender: No OFD packet to send [23:01:09]OFD Sender: No OFD packet to send [23:01:14]OFD Sender: No OFD packet to send [23:01:19]OFD Sender: No OFD packet to send [23:01:24]OFD Sender: No OFD packet to send [23:01:29]OFD Sender: No OFD packet to send [23:01:34]OFD Sender: No OFD packet to send [23:01:39]OFD Sender: No OFD packet to send [23:01:44]OFD Sender: No OFD packet to send [23:01:49]OFD Sender: No OFD packet to send [23:01:54]OFD Sender: No OFD packet to send [23:01:59]OFD Sender: No OFD packet to send [23:02:04]OFD Sender: No OFD packet to send [23:02:09]OFD Sender: No OFD packet to send [23:02:14]OFD Sender: No OFD packet to send [23:02:19]OFD Sender: No OFD packet to send [23:02:24]OFD Sender: No OFD packet to send [23:02:25]accept exits with 7 [23:02:25]New connection [23:02:25]New thread 3067583844 created [23:02:25]Thread 3067440484 joined [23:02:25]Waiting for new connection... [23:02:25] Sock 7.Parse request [23:02:25]Sock 7.Check first char [23:02:25]Sock 7.First char is OK [23:02:25]request: POST /json_proto HTTP/1.0 [23:02:25]Method: POST [23:02:25]URL: /json_proto [23:02:25]Method is POST - this is cgi request [23:02:25]url: /json_proto [23:02:25]query_string will be loaded in cgi processing [23:02:25]execute_cgi json_proto POST (null) [23:02:25]execute_cgi path=json_proto method=POST [23:02:25]POST find Content-Length [23:02:25]Host: 172.17.43.4:8080 [23:02:25]Content-Length: 645 [23:02:25]Content-Type: application/json [23:02:25] [23:02:25]POST finish read [23:02:25]Found Content-Length = 645 [23:02:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51725", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:02:25]execute_script... [23:02:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51725", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:02:25]POST & json_proto [23:02:25]process_json_proto [23:02:25]json parsed OK: [23:02:25]protocol is kg_v1.0 [23:02:25]action value=close_receipt [23:02:25]process_action close_receipt [23:02:25]cmd_close_receipt [23:02:25]MH_GetDate [23:02:25]Write to MH i2c: F0 00 00 72 13 74 [23:02:25]Write i2c OK [23:02:25]MH_I2C_Read... [23:02:25]Read from MH i2c: F0 [23:02:25]MH_I2C_Read... [23:02:25]Read from MH i2c: F0 09 00 [23:02:25]MH_I2C_Read... [23:02:25]Read from MH i2c: F0 09 00 72 13 00 83 96 F4 66 02 BF CF 66 E6 [23:02:25]GetLastDocTimeStamp 1727304527 [23:02:25]current date 1727305347 [23:02:25]FM_GetShiftState [23:02:25]SAM_PROTO_GetShiftState [23:02:25]wFMCommunicate request_size=4 [23:02:25]MH_SAM_APDU [23:02:25]CAPDU: 80 13 01 00 [23:02:25]Write to MH i2c: E2 08 00 73 13 80 13 01 00 00 00 00 00 03 [23:02:25]Write i2c OK [23:02:25]MH_I2C_Read... [23:02:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:02:25]Read from MH i2c: E2 [23:02:25]MH_I2C_Read... [23:02:25]Read from MH i2c: E2 0E 00 [23:02:25]MH_I2C_Read... [23:02:25]Read from MH i2c: E2 0E 00 73 13 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 94 [23:02:25]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [23:02:25]wFMCommunicate OK [23:02:25]SAM_PROTO_GetShiftState done [23:02:25]FM_GetShiftState done [23:02:25]opened in 1727224020 [23:02:25]opened+sec_in_day 1727310420 [23:02:25]quantity*price = 26000 [23:02:25]sum+1 = 26001 [23:02:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 260.00 НСП 1% : 2.30 НДС 12% : 27.61 Наличными: 260.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 104 25.09.2024 23:02 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22531 ФПД: 237774820482925 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T230228&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22531&fm=237774820482925&tin=02508201610067®Number=0000000000146243&sum=26000 0 [23:02:26]StoreToDocumentArchive [23:02:26]shift 231 fd 22531 [23:02:26]save to /storage/0231/doc_00022531 [23:02:26]save last doc name /storage/0231/doc_00022531 to /storage/kkm_last_doc_name [23:02:26]save OK [23:02:26]Clear old archive folders... [23:02:26]ProcessDocumentItem done err = 0, tmpTLVsize=282 [23:02:26]tlvbuf is 002418F0 [23:02:26]SAM_PROTO_ClearQueue [23:02:26]wFMCommunicate request_size=4 [23:02:26]MH_SAM_APDU [23:02:26]CAPDU: 80 09 00 00 [23:02:26]Write to MH i2c: E2 08 00 80 13 80 09 00 00 00 00 00 00 05 [23:02:26]Write i2c OK [23:02:26]MH_I2C_Read... [23:02:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:02:26]Read from MH i2c: E2 [23:02:26]MH_I2C_Read... [23:02:26]Read from MH i2c: E2 03 00 [23:02:26]MH_I2C_Read... [23:02:26]Read from MH i2c: E2 03 00 80 13 00 90 00 07 [23:02:26]RAPDU: 90 00 [23:02:26]wFMCommunicate OK [23:02:26]SAM_PROTO_ClearQueue done [23:02:26]KKMCreateOFDPacket [23:02:26]OFDProtocolAddRootSTLVToBuf [23:02:26]FM_MakeSignedData [23:02:26]FM_MakeSignedData [23:02:26]SAM_PROTO_SignData [23:02:26]wFMCommunicate request_size=4 [23:02:26]MH_SAM_APDU [23:02:26]CAPDU: 80 0D 01 02 [23:02:26]Write to MH i2c: E2 08 00 81 13 80 0D 01 02 00 00 00 00 0D [23:02:26]Write i2c OK [23:02:26]MH_I2C_Read... [23:02:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:02:26]Read from MH i2c: E2 [23:02:26]MH_I2C_Read... [23:02:26]Read from MH i2c: E2 03 00 [23:02:26]MH_I2C_Read... [23:02:26]Read from MH i2c: E2 03 00 81 13 00 90 00 08 [23:02:26]RAPDU: 90 00 [23:02:26]wFMCommunicate OK [23:02:26]wFMCommunicate request_size=255 [23:02:26]MH_SAM_APDU [23:02:26]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 68 00 00 00 F4 03 04 00 84 96 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 [23:02:26]Write to MH i2c: E2 02 01 82 13 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 68 00 00 00 F4 03 04 00 84 96 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 00 00 94 [23:02:26]Write i2c OK [23:02:26]MH_I2C_Read... [23:02:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:02:27]Read from MH i2c: E2 [23:02:27]MH_I2C_Read... [23:02:27]Read from MH i2c: E2 03 00 [23:02:27]MH_I2C_Read... [23:02:27]Read from MH i2c: E2 03 00 82 13 00 90 00 09 [23:02:27]RAPDU: 90 00 [23:02:27]wFMCommunicate OK [23:02:27]wFMCommunicate request_size=41 [23:02:27]MH_SAM_APDU [23:02:27]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 03 58 00 00 35 04 06 00 D8 41 43 B6 1F 6D [23:02:27]Write to MH i2c: E2 2C 00 83 13 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 03 58 00 00 35 04 06 00 D8 41 43 B6 1F 6D 00 00 DF [23:02:27]Write i2c OK [23:02:27]MH_I2C_Read... [23:02:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:02:27]Read from MH i2c: E2 [23:02:27]MH_I2C_Read... [23:02:27]Read from MH i2c: E2 03 00 [23:02:27]MH_I2C_Read... [23:02:27]Read from MH i2c: E2 03 00 83 13 00 90 00 0A [23:02:27]RAPDU: 90 00 [23:02:27]wFMCommunicate OK [23:02:27]wFMCommunicate request_size=4 [23:02:27]MH_SAM_APDU [23:02:27]CAPDU: 80 0D 03 02 [23:02:27]Write to MH i2c: E2 08 00 84 13 80 0D 03 02 00 00 00 00 12 [23:02:27]Write i2c OK [23:02:27]MH_I2C_Read... [23:02:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:02:27]Read from MH i2c: E2 [23:02:27]MH_I2C_Read... [23:02:27]Read from MH i2c: E2 0B 00 [23:02:27]MH_I2C_Read... [23:02:27]Read from MH i2c: E2 0B 00 84 13 00 D7 A3 23 82 EC 34 6E DD 90 00 9D [23:02:27]RAPDU: D7 A3 23 82 EC 34 6E DD 90 00 [23:02:27]wFMCommunicate OK [23:02:27]SAM_PROTO_SignData done [23:02:27]FM_MakeSignedData done [23:02:27]CreateOFDProtocolMessage [23:02:27]wFMCommunicate request_size=4 [23:02:27]MH_SAM_APDU [23:02:27]CAPDU: 80 11 00 00 [23:02:27]Write to MH i2c: E2 08 00 85 13 80 11 00 00 00 00 00 00 12 [23:02:27]Write i2c OK [23:02:27]MH_I2C_Read... [23:02:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:02:27]Read from MH i2c: E2 [23:02:27]MH_I2C_Read... [23:02:27]Read from MH i2c: E2 17 00 [23:02:27]MH_I2C_Read... [23:02:27]Read from MH i2c: E2 17 00 85 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 6C [23:02:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [23:02:27]wFMCommunicate OK [23:02:27]CreateOFDProtocolMessage done [23:02:27]OFDSenderStorePacket 22531 [23:02:27]StoreOFDPacket docnum=22531 [23:02:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 2E 01 00 00 AD 47 26 01 20 8B 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 68 00 00 00 F4 03 04 00 84 96 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 03 58 00 00 35 04 06 00 D8 41 43 B6 1F 6D D7 A3 23 82 EC 34 6E DD [23:02:27]CheckFolder [23:02:27]dirname=/storage/ofd_packets [23:02:27]CheckFolder done [23:02:27]ProducePacketName [23:02:27]name=ofd_packets/00022531 [23:02:27]NVStorageSaveData ofd_packets/00022531 [23:02:27]File name is /storage/ofd_packets/00022531 [23:02:27]Write 332 bytes [23:02:27]NVStorageSaveData done [23:02:27]OFDSenderStorePacket done [23:02:27]KKMCreateOFDPacket done [23:02:27]NVStorageSaveData kkm_last_timestamp [23:02:27]File name is /storage/kkm_last_timestamp [23:02:27]Write 4 bytes [23:02:27]NVStorageSaveData done [23:02:27]ExternCall_PrintAddStr [23:02:27]wPrintStart [23:02:27]Write to MH i2c: 01 00 00 86 13 99 [23:02:27]Write i2c OK [23:02:27]MH_I2C_Read... [23:02:27]Read from MH i2c: 01 [23:02:27]MH_I2C_Read... [23:02:27]Read from MH i2c: 01 07 00 [23:02:27]MH_I2C_Read... [23:02:27]Read from MH i2c: 01 07 00 86 13 00 00 00 00 00 FF 0F AE [23:02:27]RasterBufferAndPrint [23:02:27]line Счет N : (3)51725 [23:02:27]line ИНН: 02508201610067 [23:02:27]line Контрольно-Кассовый Чек [23:02:27]line ПРОДАЖА [23:02:27]line Товар: 2000036220012 [23:02:27]line Кофе Капучино XL(GABB TRADE) [23:02:27]line 2.000 * 130.00 [23:02:27]line = 260.00 [23:02:27]line НДС 12% НСП 1% [23:02:27]line > о реализуемом товаре [23:02:27]line ИТОГО: 260.00 [23:02:27]line НСП 1% : 2.30 [23:02:27]line НДС 12% : 27.61 [23:02:27]line Наличными: 260.00 [23:02:27]line Безнал.: 0.00 [23:02:27]line Место: АЗС № 88 "Партнер Нефть" [23:02:27]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [23:02:27]line СНО: Общий режим [23:02:27]line Чек 104 25.09.2024 23:02 [23:02:27]line Смена: 231 ФФД: 1.0 [23:02:27]line ЗНМ: 0300000061 [23:02:27]line РНМ: 0000000000146243 [23:02:27]line Версия ККМ: v1.0 [23:02:27]line ФМ: 0000000000959358 [23:02:27]line ФД: 22531 [23:02:27]line ФПД: 237774820482925 [23:02:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T230228&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22531&fm=237774820482925&tin=02508201610067®Number=0000000000146243&sum=26000 [23:02:27]line 0 [23:02:27]OFD Sender: Processing packet 22531 [packets to send 23, broken 22] [23:02:27]ProducePacketName [23:02:27]name=ofd_packets/00022531 [23:02:27]OFD Sender: To server: pG, [23:02:27]CommunicateWithHost lk.salyk.kg:30040 [23:02:27]ConnectInit lk.salyk.kg [23:02:27]written 0, free lines is 4095 [23:02:27]Connected sock=10 [23:02:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 2E 01 00 00 AD 47 26 01 20 8B 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 68 00 00 00 F4 03 04 00 84 96 F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 03 58 00 00 35 04 06 00 D8 41 43 B6 1F 6D D7 A3 23 82 EC 34 6E DD [23:02:28]Write to MH i2c: 01 00 00 AF 13 C2 [23:02:28]Write i2c OK [23:02:28]MH_I2C_Read... [23:02:28]Read from MH i2c: 01 [23:02:28]MH_I2C_Read... [23:02:28]Read from MH i2c: 01 07 00 [23:02:28]MH_I2C_Read... [23:02:28]Read from MH i2c: 01 07 00 AF 13 00 00 00 00 00 22 0D F8 [23:02:28]RasterBufferAndPrint [23:02:28]line [23:02:28]line [23:02:28]line [23:02:28]line [23:02:28]line [23:02:28]written 0, free lines is 3369 [23:02:28]MH_Cut [23:02:28]Write to MH i2c: D1 01 00 B6 13 01 9B [23:02:28]Write i2c OK [23:02:28]MH_I2C_Read... [23:02:28]Read from MH i2c: D1 [23:02:28]MH_I2C_Read... [23:02:28]Read from MH i2c: D1 01 00 [23:02:28]MH_I2C_Read... [23:02:28]Read from MH i2c: D1 01 00 B6 13 00 9A [23:02:28]Write to MH i2c: 01 00 00 B7 13 CA [23:02:28]Write i2c OK [23:02:28]MH_I2C_Read... [23:02:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 C9 BC 47 00 D3 4D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 03 58 00 00 F4 03 04 00 A5 40 F4 66 B6 04 01 00 00 0F 65 64 0E 3D 02 FF 26 [23:02:28]CommunicateWithHost err = 0 [23:02:28]CheckOFDResponse [23:02:28]1017 (14) - 77093643461234 [23:02:28]1041 (16) - 0000000000959358 [23:02:28]1040 (4) - 22531 [23:02:28]1012 (4) - 25.09.2024 16:56 [23:02:28]1206 (1) - 0 [23:02:28]OFD Sender: Remove packet 22531 [23:02:28]ProducePacketName [23:02:28]name=ofd_packets/00022531 [23:02:28]NVStorageDeleteData [23:02:28]OFD Sender: No OFD packet to send [23:02:28]*** Cut start [23:02:28]*** Partial cut [23:02:28]*** CUTSNS_PIN = 1 [23:02:28]*** CUTSNS_PIN = 0 [23:02:29]*** Brake cut motor [23:02:29]Read from MH i2c: 01 [23:02:29]MH_I2C_Read... [23:02:29]*** Stop cut motor [23:02:29]*** Cut end [23:02:29]Read from MH i2c: 01 07 00 [23:02:29]MH_I2C_Read... [23:02:29]Read from MH i2c: 01 07 00 B7 13 00 00 00 00 00 FF 0F DF [23:02:29]process_action close_receipt done [23:02:29]requested_data is exist [23:02:29]produce_requested_data [23:02:29]requested_item fm.sn is exist - process it [23:02:29]wFMCommunicate request_size=4 [23:02:29]MH_SAM_APDU [23:02:29]CAPDU: 80 11 00 00 [23:02:29]Write to MH i2c: E2 08 00 B8 13 80 11 00 00 00 00 00 00 45 [23:02:29]Write i2c OK [23:02:29]MH_I2C_Read... [23:02:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:02:29]Read from MH i2c: E2 [23:02:29]MH_I2C_Read... [23:02:29]Read from MH i2c: E2 17 00 [23:02:29]MH_I2C_Read... [23:02:29]Read from MH i2c: E2 17 00 B8 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 9F [23:02:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [23:02:29]wFMCommunicate OK [23:02:29]requested_item fd.num is exist - process it [23:02:29]SAM_PROTO_GetFieldsCounters [23:02:29]wFMCommunicate request_size=4 [23:02:29]MH_SAM_APDU [23:02:29]CAPDU: 80 13 00 00 [23:02:29]Write to MH i2c: E2 08 00 B9 13 80 13 00 00 00 00 00 00 48 [23:02:29]Write i2c OK [23:02:29]MH_I2C_Read... [23:02:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:02:29]Read from MH i2c: E2 [23:02:29]MH_I2C_Read... [23:02:29]Read from MH i2c: E2 62 00 [23:02:29]MH_I2C_Read... [23:02:29]Read from MH i2c: E2 62 00 B9 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 03 58 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 68 00 00 00 5E 04 04 00 68 00 00 00 57 04 04 00 69 00 00 00 19 04 04 00 00 00 00 00 90 00 E5 [23:02:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 03 58 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 68 00 00 00 5E 04 04 00 68 00 00 00 57 04 04 00 69 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:02:29]wFMCommunicate OK [23:02:29]SAM_PROTO_GetFieldsCounters done [23:02:29]requested_item shift.num is exist - process it [23:02:29]requested_item shift.opened is exist - process it [23:02:29]req_shift_opened [23:02:29]FM_GetShiftState [23:02:29]SAM_PROTO_GetShiftState [23:02:29]wFMCommunicate request_size=4 [23:02:29]MH_SAM_APDU [23:02:29]CAPDU: 80 13 01 00 [23:02:29]Write to MH i2c: E2 08 00 BA 13 80 13 01 00 00 00 00 00 4A [23:02:29]Write i2c OK [23:02:29]MH_I2C_Read... [23:02:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:02:29]Read from MH i2c: E2 [23:02:29]MH_I2C_Read... [23:02:29]Read from MH i2c: E2 0E 00 [23:02:29]MH_I2C_Read... [23:02:29]Read from MH i2c: E2 0E 00 BA 13 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 DB [23:02:29]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [23:02:29]wFMCommunicate OK [23:02:29]SAM_PROTO_GetShiftState done [23:02:29]FM_GetShiftState done [23:02:29]req_shift_opened done [23:02:29]requested_item shift.open_date is exist - process it [23:02:29]req_shift_open_date [23:02:29]req_shift_open_date done [23:02:29]produce_requested_data done [23:02:29]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22531,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [23:02:29]process_action_free close_receipt [23:02:29]json_value_free [23:02:29]json_value_free done [23:02:29]process_json_proto returns [23:02:29]Send response to host [23:02:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22531,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [23:02:29]free response buf [23:02:29]execute_script done [23:02:29]execute_script returns [23:02:29]free content buf [23:02:29]Sock 7.Close socket [23:02:29]Sock 7.Thread stoped [23:02:33]OFD Sender: No OFD packet to send [23:02:38]OFD Sender: No OFD packet to send [23:02:43]OFD Sender: No OFD packet to send [23:02:48]OFD Sender: No OFD packet to send [23:02:53]OFD Sender: No OFD packet to send [23:02:58]OFD Sender: No OFD packet to send [23:03:03]OFD Sender: No OFD packet to send [23:03:08]OFD Sender: No OFD packet to send [23:03:13]OFD Sender: No OFD packet to send [23:03:18]OFD Sender: No OFD packet to send [23:03:23]OFD Sender: No OFD packet to send [23:03:28]OFD Sender: No OFD packet to send [23:03:33]OFD Sender: No OFD packet to send [23:03:38]OFD Sender: No OFD packet to send [23:03:43]OFD Sender: No OFD packet to send [23:03:48]OFD Sender: No OFD packet to send [23:03:53]OFD Sender: No OFD packet to send [23:03:58]OFD Sender: No OFD packet to send [23:04:03]OFD Sender: No OFD packet to send [23:04:08]OFD Sender: No OFD packet to send [23:04:13]OFD Sender: No OFD packet to send [23:04:18]OFD Sender: No OFD packet to send [23:04:23]OFD Sender: No OFD packet to send [23:04:28]OFD Sender: No OFD packet to send [23:04:33]OFD Sender: No OFD packet to send [23:04:38]OFD Sender: No OFD packet to send [23:04:43]OFD Sender: No OFD packet to send [23:04:48]OFD Sender: No OFD packet to send [23:04:53]OFD Sender: No OFD packet to send [23:04:58]OFD Sender: No OFD packet to send [23:05:03]OFD Sender: No OFD packet to send [23:05:08]OFD Sender: No OFD packet to send [23:05:13]OFD Sender: No OFD packet to send [23:05:18]OFD Sender: No OFD packet to send [23:05:23]OFD Sender: No OFD packet to send [23:05:28]OFD Sender: No OFD packet to send [23:05:33]OFD Sender: No OFD packet to send [23:05:38]OFD Sender: No OFD packet to send [23:05:43]OFD Sender: No OFD packet to send [23:05:48]OFD Sender: No OFD packet to send [23:05:53]OFD Sender: No OFD packet to send [23:05:58]OFD Sender: No OFD packet to send [23:06:03]OFD Sender: No OFD packet to send [23:06:08]OFD Sender: No OFD packet to send [23:06:13]OFD Sender: No OFD packet to send [23:06:18]OFD Sender: No OFD packet to send [23:06:23]OFD Sender: No OFD packet to send [23:06:28]OFD Sender: No OFD packet to send [23:06:33]OFD Sender: No OFD packet to send [23:06:38]OFD Sender: No OFD packet to send [23:06:43]OFD Sender: No OFD packet to send [23:06:48]OFD Sender: No OFD packet to send [23:06:53]OFD Sender: No OFD packet to send [23:06:58]OFD Sender: No OFD packet to send [23:07:03]OFD Sender: No OFD packet to send [23:07:08]OFD Sender: No OFD packet to send [23:07:13]OFD Sender: No OFD packet to send [23:07:18]OFD Sender: No OFD packet to send [23:07:23]OFD Sender: No OFD packet to send [23:07:29]OFD Sender: No OFD packet to send [23:07:34]OFD Sender: No OFD packet to send [23:07:39]OFD Sender: No OFD packet to send [23:07:44]OFD Sender: No OFD packet to send [23:07:49]OFD Sender: No OFD packet to send [23:07:54]OFD Sender: No OFD packet to send [23:07:59]OFD Sender: No OFD packet to send [23:08:04]OFD Sender: No OFD packet to send [23:08:09]OFD Sender: No OFD packet to send [23:08:14]OFD Sender: No OFD packet to send [23:08:19]OFD Sender: No OFD packet to send [23:08:24]OFD Sender: No OFD packet to send [23:08:29]OFD Sender: No OFD packet to send [23:08:34]OFD Sender: No OFD packet to send [23:08:39]OFD Sender: No OFD packet to send [23:08:44]OFD Sender: No OFD packet to send [23:08:49]OFD Sender: No OFD packet to send [23:08:54]OFD Sender: No OFD packet to send [23:08:59]OFD Sender: No OFD packet to send [23:09:04]OFD Sender: No OFD packet to send [23:09:09]OFD Sender: No OFD packet to send [23:09:14]OFD Sender: No OFD packet to send [23:09:19]OFD Sender: No OFD packet to send [23:09:24]OFD Sender: No OFD packet to send [23:09:29]OFD Sender: No OFD packet to send [23:09:34]OFD Sender: No OFD packet to send [23:09:39]OFD Sender: No OFD packet to send [23:09:44]OFD Sender: No OFD packet to send [23:09:49]OFD Sender: No OFD packet to send [23:09:54]OFD Sender: No OFD packet to send [23:09:59]OFD Sender: No OFD packet to send [23:10:04]OFD Sender: No OFD packet to send [23:10:09]OFD Sender: No OFD packet to send [23:10:14]OFD Sender: No OFD packet to send [23:10:19]OFD Sender: No OFD packet to send [23:10:24]OFD Sender: No OFD packet to send [23:10:29]OFD Sender: No OFD packet to send [23:10:34]OFD Sender: No OFD packet to send [23:10:39]OFD Sender: No OFD packet to send [23:10:44]OFD Sender: No OFD packet to send [23:10:49]OFD Sender: No OFD packet to send [23:10:54]OFD Sender: No OFD packet to send [23:10:59]OFD Sender: No OFD packet to send [23:11:04]OFD Sender: No OFD packet to send [23:11:09]OFD Sender: No OFD packet to send [23:11:14]OFD Sender: No OFD packet to send [23:11:19]OFD Sender: No OFD packet to send [23:11:24]OFD Sender: No OFD packet to send [23:11:29]OFD Sender: No OFD packet to send [23:11:34]OFD Sender: No OFD packet to send [23:11:39]OFD Sender: No OFD packet to send [23:11:44]OFD Sender: No OFD packet to send [23:11:49]OFD Sender: No OFD packet to send [23:11:54]OFD Sender: No OFD packet to send [23:11:59]OFD Sender: No OFD packet to send [23:12:04]OFD Sender: No OFD packet to send [23:12:09]OFD Sender: No OFD packet to send [23:12:14]OFD Sender: No OFD packet to send [23:12:19]OFD Sender: No OFD packet to send [23:12:24]OFD Sender: No OFD packet to send [23:12:29]OFD Sender: No OFD packet to send [23:12:34]OFD Sender: No OFD packet to send [23:12:39]OFD Sender: No OFD packet to send [23:12:44]OFD Sender: No OFD packet to send [23:12:49]OFD Sender: No OFD packet to send [23:12:54]OFD Sender: No OFD packet to send [23:12:59]OFD Sender: No OFD packet to send [23:13:04]OFD Sender: No OFD packet to send [23:13:09]OFD Sender: No OFD packet to send [23:13:14]OFD Sender: No OFD packet to send [23:13:19]OFD Sender: No OFD packet to send [23:13:24]OFD Sender: No OFD packet to send [23:13:29]OFD Sender: No OFD packet to send [23:13:34]OFD Sender: No OFD packet to send [23:13:39]OFD Sender: No OFD packet to send [23:13:44]OFD Sender: No OFD packet to send [23:13:49]OFD Sender: No OFD packet to send [23:13:54]OFD Sender: No OFD packet to send [23:13:59]OFD Sender: No OFD packet to send [23:14:04]OFD Sender: No OFD packet to send [23:14:09]OFD Sender: No OFD packet to send [23:14:14]OFD Sender: No OFD packet to send [23:14:19]OFD Sender: No OFD packet to send [23:14:24]OFD Sender: No OFD packet to send [23:14:29]OFD Sender: No OFD packet to send [23:14:34]OFD Sender: No OFD packet to send [23:14:39]OFD Sender: No OFD packet to send [23:14:44]OFD Sender: No OFD packet to send [23:14:49]OFD Sender: No OFD packet to send [23:14:54]OFD Sender: No OFD packet to send [23:14:59]OFD Sender: No OFD packet to send [23:15:04]OFD Sender: No OFD packet to send [23:15:09]OFD Sender: No OFD packet to send [23:15:14]OFD Sender: No OFD packet to send [23:15:19]OFD Sender: No OFD packet to send [23:15:24]OFD Sender: No OFD packet to send [23:15:29]OFD Sender: No OFD packet to send [23:15:34]OFD Sender: No OFD packet to send [23:15:39]OFD Sender: No OFD packet to send [23:15:44]OFD Sender: No OFD packet to send [23:15:49]OFD Sender: No OFD packet to send [23:15:54]OFD Sender: No OFD packet to send [23:15:59]OFD Sender: No OFD packet to send [23:16:04]OFD Sender: No OFD packet to send [23:16:09]OFD Sender: No OFD packet to send [23:16:14]OFD Sender: No OFD packet to send [23:16:19]OFD Sender: No OFD packet to send [23:16:24]OFD Sender: No OFD packet to send [23:16:29]OFD Sender: No OFD packet to send [23:16:34]OFD Sender: No OFD packet to send [23:16:39]OFD Sender: No OFD packet to send [23:16:44]OFD Sender: No OFD packet to send [23:16:49]OFD Sender: No OFD packet to send [23:16:54]OFD Sender: No OFD packet to send [23:16:59]OFD Sender: No OFD packet to send [23:17:04]OFD Sender: No OFD packet to send [23:17:09]OFD Sender: No OFD packet to send [23:17:14]OFD Sender: No OFD packet to send [23:17:19]OFD Sender: No OFD packet to send [23:17:24]OFD Sender: No OFD packet to send [23:17:29]OFD Sender: No OFD packet to send [23:17:34]OFD Sender: No OFD packet to send [23:17:39]OFD Sender: No OFD packet to send [23:17:44]OFD Sender: No OFD packet to send [23:17:49]OFD Sender: No OFD packet to send [23:17:54]OFD Sender: No OFD packet to send [23:17:59]OFD Sender: No OFD packet to send [23:18:04]OFD Sender: No OFD packet to send [23:18:09]OFD Sender: No OFD packet to send [23:18:14]OFD Sender: No OFD packet to send [23:18:19]OFD Sender: No OFD packet to send [23:18:24]OFD Sender: No OFD packet to send [23:18:29]OFD Sender: No OFD packet to send [23:18:34]OFD Sender: No OFD packet to send [23:18:39]OFD Sender: No OFD packet to send [23:18:44]OFD Sender: No OFD packet to send [23:18:49]OFD Sender: No OFD packet to send [23:18:54]OFD Sender: No OFD packet to send [23:18:59]OFD Sender: No OFD packet to send [23:19:04]OFD Sender: No OFD packet to send [23:19:09]OFD Sender: No OFD packet to send [23:19:14]OFD Sender: No OFD packet to send [23:19:19]OFD Sender: No OFD packet to send [23:19:24]OFD Sender: No OFD packet to send [23:19:29]OFD Sender: No OFD packet to send [23:19:34]OFD Sender: No OFD packet to send [23:19:39]OFD Sender: No OFD packet to send [23:19:44]OFD Sender: No OFD packet to send [23:19:49]OFD Sender: No OFD packet to send [23:19:54]OFD Sender: No OFD packet to send [23:19:59]OFD Sender: No OFD packet to send [23:20:04]OFD Sender: No OFD packet to send [23:20:09]OFD Sender: No OFD packet to send [23:20:14]OFD Sender: No OFD packet to send [23:20:19]OFD Sender: No OFD packet to send [23:20:24]OFD Sender: No OFD packet to send [23:20:29]OFD Sender: No OFD packet to send [23:20:34]OFD Sender: No OFD packet to send [23:20:39]OFD Sender: No OFD packet to send [23:20:44]OFD Sender: No OFD packet to send [23:20:49]OFD Sender: No OFD packet to send [23:20:54]OFD Sender: No OFD packet to send [23:20:59]OFD Sender: No OFD packet to send [23:21:04]OFD Sender: No OFD packet to send [23:21:09]OFD Sender: No OFD packet to send [23:21:14]OFD Sender: No OFD packet to send [23:21:19]OFD Sender: No OFD packet to send [23:21:24]OFD Sender: No OFD packet to send [23:21:29]OFD Sender: No OFD packet to send [23:21:34]OFD Sender: No OFD packet to send [23:21:39]OFD Sender: No OFD packet to send [23:21:44]OFD Sender: No OFD packet to send [23:21:49]OFD Sender: No OFD packet to send [23:21:54]OFD Sender: No OFD packet to send [23:21:59]OFD Sender: No OFD packet to send [23:22:04]OFD Sender: No OFD packet to send [23:22:09]OFD Sender: No OFD packet to send [23:22:14]OFD Sender: No OFD packet to send [23:22:19]OFD Sender: No OFD packet to send [23:22:24]OFD Sender: No OFD packet to send [23:22:29]OFD Sender: No OFD packet to send [23:22:34]OFD Sender: No OFD packet to send [23:22:39]OFD Sender: No OFD packet to send [23:22:44]OFD Sender: No OFD packet to send [23:22:49]OFD Sender: No OFD packet to send [23:22:54]OFD Sender: No OFD packet to send [23:22:59]OFD Sender: No OFD packet to send [23:23:04]OFD Sender: No OFD packet to send [23:23:09]OFD Sender: No OFD packet to send [23:23:14]OFD Sender: No OFD packet to send [23:23:19]OFD Sender: No OFD packet to send [23:23:24]OFD Sender: No OFD packet to send [23:23:29]OFD Sender: No OFD packet to send [23:23:34]OFD Sender: No OFD packet to send [23:23:39]OFD Sender: No OFD packet to send [23:23:44]OFD Sender: No OFD packet to send [23:23:49]OFD Sender: No OFD packet to send [23:23:54]OFD Sender: No OFD packet to send [23:23:59]OFD Sender: No OFD packet to send [23:24:04]OFD Sender: No OFD packet to send [23:24:09]OFD Sender: No OFD packet to send [23:24:14]OFD Sender: No OFD packet to send [23:24:19]OFD Sender: No OFD packet to send [23:24:24]OFD Sender: No OFD packet to send [23:24:29]OFD Sender: No OFD packet to send [23:24:33]accept exits with 9 [23:24:33]New connection [23:24:33]New thread 3067440484 created [23:24:33]Thread 3067583844 joined [23:24:33]Waiting for new connection... [23:24:33] Sock 9.Parse request [23:24:33]Sock 9.Check first char [23:24:33]Sock 9.First char is OK [23:24:33]request: POST /json_proto HTTP/1.0 [23:24:33]Method: POST [23:24:33]URL: /json_proto [23:24:33]Method is POST - this is cgi request [23:24:33]url: /json_proto [23:24:33]query_string will be loaded in cgi processing [23:24:33]execute_cgi json_proto POST (null) [23:24:33]execute_cgi path=json_proto method=POST [23:24:33]POST find Content-Length [23:24:33]Host: 172.17.43.4:8080 [23:24:33]Content-Length: 694 [23:24:33]Content-Type: application/json [23:24:33] [23:24:33]POST finish read [23:24:33]Found Content-Length = 694 [23:24:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51726", "tax_sys" : 0, "items" : [ { "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 15.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:24:33]execute_script... [23:24:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51726", "tax_sys" : 0, "items" : [ { "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 15.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:24:33]POST & json_proto [23:24:33]process_json_proto [23:24:33]json parsed OK: [23:24:33]protocol is kg_v1.0 [23:24:33]action value=close_receipt [23:24:33]process_action close_receipt [23:24:33]cmd_close_receipt [23:24:33]MH_GetDate [23:24:33]Write to MH i2c: F0 00 00 BB 13 BD [23:24:33]Write i2c OK [23:24:33]MH_I2C_Read... [23:24:33]Read from MH i2c: F0 [23:24:33]MH_I2C_Read... [23:24:33]Read from MH i2c: F0 09 00 [23:24:33]MH_I2C_Read... [23:24:33]Read from MH i2c: F0 09 00 BB 13 00 B3 9B F4 66 02 BF CF 66 64 [23:24:33]GetLastDocTimeStamp 1727305348 [23:24:33]current date 1727306675 [23:24:33]FM_GetShiftState [23:24:33]SAM_PROTO_GetShiftState [23:24:33]wFMCommunicate request_size=4 [23:24:33]MH_SAM_APDU [23:24:33]CAPDU: 80 13 01 00 [23:24:33]Write to MH i2c: E2 08 00 BC 13 80 13 01 00 00 00 00 00 4C [23:24:33]Write i2c OK [23:24:33]MH_I2C_Read... [23:24:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:24:33]Read from MH i2c: E2 [23:24:33]MH_I2C_Read... [23:24:33]Read from MH i2c: E2 0E 00 [23:24:33]MH_I2C_Read... [23:24:33]Read from MH i2c: E2 0E 00 BC 13 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 DD [23:24:33]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [23:24:33]wFMCommunicate OK [23:24:33]SAM_PROTO_GetShiftState done [23:24:33]FM_GetShiftState done [23:24:33]opened in 1727224020 [23:24:33]opened+sec_in_day 1727310420 [23:24:33]quantity*price = 1500 [23:24:33]sum+1 = 1501 [23:24:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 15.00 НСП 1% : 0.13 НДС 12% : 1.59 Наличными: 15.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 105 25.09.2024 23:24 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22532 ФПД: 270683879775767 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T232436&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22532&fm=270683879775767&tin=02508201610067®Number=0000000000146243&sum=1500 0 [23:24:34]StoreToDocumentArchive [23:24:34]shift 231 fd 22532 [23:24:34]save to /storage/0231/doc_00022532 [23:24:34]save last doc name /storage/0231/doc_00022532 to /storage/kkm_last_doc_name [23:24:34]save OK [23:24:34]Clear old archive folders... [23:24:34]ProcessDocumentItem done err = 0, tmpTLVsize=290 [23:24:34]tlvbuf is 00255610 [23:24:34]SAM_PROTO_ClearQueue [23:24:34]wFMCommunicate request_size=4 [23:24:34]MH_SAM_APDU [23:24:34]CAPDU: 80 09 00 00 [23:24:34]Write to MH i2c: E2 08 00 C9 13 80 09 00 00 00 00 00 00 4E [23:24:34]Write i2c OK [23:24:34]MH_I2C_Read... [23:24:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:24:34]Read from MH i2c: E2 [23:24:34]MH_I2C_Read... [23:24:34]Read from MH i2c: E2 03 00 [23:24:34]MH_I2C_Read... [23:24:34]Read from MH i2c: E2 03 00 C9 13 00 90 00 50 [23:24:34]RAPDU: 90 00 [23:24:34]wFMCommunicate OK [23:24:34]SAM_PROTO_ClearQueue done [23:24:34]KKMCreateOFDPacket [23:24:34]OFDProtocolAddRootSTLVToBuf [23:24:34]FM_MakeSignedData [23:24:34]FM_MakeSignedData [23:24:34]SAM_PROTO_SignData [23:24:34]wFMCommunicate request_size=4 [23:24:34]MH_SAM_APDU [23:24:34]CAPDU: 80 0D 01 02 [23:24:34]Write to MH i2c: E2 08 00 CA 13 80 0D 01 02 00 00 00 00 56 [23:24:34]Write i2c OK [23:24:34]MH_I2C_Read... [23:24:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:24:34]Read from MH i2c: E2 [23:24:34]MH_I2C_Read... [23:24:34]Read from MH i2c: E2 03 00 [23:24:34]MH_I2C_Read... [23:24:34]Read from MH i2c: E2 03 00 CA 13 00 90 00 51 [23:24:34]RAPDU: 90 00 [23:24:34]wFMCommunicate OK [23:24:34]wFMCommunicate request_size=255 [23:24:34]MH_SAM_APDU [23:24:34]CAPDU: 80 0D 02 02 FA 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 69 00 00 00 F4 03 04 00 B4 9B F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 [23:24:34]Write to MH i2c: E2 02 01 CB 13 80 0D 02 02 FA 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 69 00 00 00 F4 03 04 00 B4 9B F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 0D [23:24:34]Write i2c OK [23:24:34]MH_I2C_Read... [23:24:34]OFD Sender: No OFD packet to send [23:24:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:24:35]Read from MH i2c: E2 [23:24:35]MH_I2C_Read... [23:24:35]Read from MH i2c: E2 03 00 [23:24:35]MH_I2C_Read... [23:24:35]Read from MH i2c: E2 03 00 CB 13 00 90 00 52 [23:24:35]RAPDU: 90 00 [23:24:35]wFMCommunicate OK [23:24:35]wFMCommunicate request_size=49 [23:24:35]MH_SAM_APDU [23:24:35]CAPDU: 80 0D 02 02 2C 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 04 58 00 00 35 04 06 00 F6 2F 80 80 1E 17 [23:24:35]Write to MH i2c: E2 34 00 CC 13 80 0D 02 02 2C 00 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 04 58 00 00 35 04 06 00 F6 2F 80 80 1E 17 00 00 3E [23:24:35]Write i2c OK [23:24:35]MH_I2C_Read... [23:24:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:24:35]Read from MH i2c: E2 [23:24:35]MH_I2C_Read... [23:24:35]Read from MH i2c: E2 03 00 [23:24:35]MH_I2C_Read... [23:24:35]Read from MH i2c: E2 03 00 CC 13 00 90 00 53 [23:24:35]RAPDU: 90 00 [23:24:35]wFMCommunicate OK [23:24:35]wFMCommunicate request_size=4 [23:24:35]MH_SAM_APDU [23:24:35]CAPDU: 80 0D 03 02 [23:24:35]Write to MH i2c: E2 08 00 CD 13 80 0D 03 02 00 00 00 00 5B [23:24:35]Write i2c OK [23:24:35]MH_I2C_Read... [23:24:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:24:35]Read from MH i2c: E2 [23:24:35]MH_I2C_Read... [23:24:35]Read from MH i2c: E2 0B 00 [23:24:35]MH_I2C_Read... [23:24:35]Read from MH i2c: E2 0B 00 CD 13 00 16 82 AD 0D 8D 2F EB 07 90 00 5C [23:24:35]RAPDU: 16 82 AD 0D 8D 2F EB 07 90 00 [23:24:35]wFMCommunicate OK [23:24:35]SAM_PROTO_SignData done [23:24:35]FM_MakeSignedData done [23:24:35]CreateOFDProtocolMessage [23:24:35]wFMCommunicate request_size=4 [23:24:35]MH_SAM_APDU [23:24:35]CAPDU: 80 11 00 00 [23:24:35]Write to MH i2c: E2 08 00 CE 13 80 11 00 00 00 00 00 00 5B [23:24:35]Write i2c OK [23:24:35]MH_I2C_Read... [23:24:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:24:35]Read from MH i2c: E2 [23:24:35]MH_I2C_Read... [23:24:35]Read from MH i2c: E2 17 00 [23:24:35]MH_I2C_Read... [23:24:35]Read from MH i2c: E2 17 00 CE 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 B5 [23:24:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [23:24:35]wFMCommunicate OK [23:24:35]CreateOFDProtocolMessage done [23:24:35]OFDSenderStorePacket 22532 [23:24:35]StoreOFDPacket docnum=22532 [23:24:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 36 01 00 00 FD 93 2E 01 DF 41 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 69 00 00 00 F4 03 04 00 B4 9B F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 04 58 00 00 35 04 06 00 F6 2F 80 80 1E 17 16 82 AD 0D 8D 2F EB 07 [23:24:35]CheckFolder [23:24:35]dirname=/storage/ofd_packets [23:24:35]CheckFolder done [23:24:35]ProducePacketName [23:24:35]name=ofd_packets/00022532 [23:24:35]NVStorageSaveData ofd_packets/00022532 [23:24:35]File name is /storage/ofd_packets/00022532 [23:24:35]Write 340 bytes [23:24:35]NVStorageSaveData done [23:24:35]OFDSenderStorePacket done [23:24:35]KKMCreateOFDPacket done [23:24:35]NVStorageSaveData kkm_last_timestamp [23:24:35]File name is /storage/kkm_last_timestamp [23:24:35]Write 4 bytes [23:24:35]NVStorageSaveData done [23:24:35]ExternCall_PrintAddStr [23:24:35]wPrintStart [23:24:35]Write to MH i2c: 01 00 00 CF 13 E2 [23:24:35]Write i2c OK [23:24:35]MH_I2C_Read... [23:24:35]Read from MH i2c: 01 [23:24:35]MH_I2C_Read... [23:24:35]Read from MH i2c: 01 07 00 [23:24:35]MH_I2C_Read... [23:24:35]Read from MH i2c: 01 07 00 CF 13 00 00 00 00 00 FF 0F F7 [23:24:35]RasterBufferAndPrint [23:24:35]line Счет N : (3)51726 [23:24:35]line ИНН: 02508201610067 [23:24:35]line Контрольно-Кассовый Чек [23:24:35]line ПРОДАЖА [23:24:35]line Товар: 4700000160013 [23:24:35]line Снек Курут индивидуальный [23:24:35]line 1.000 * 15.00 [23:24:35]line = 15.00 [23:24:35]line НДС 12% НСП 1% [23:24:35]line > о реализуемом товаре [23:24:35]line ИТОГО: 15.00 [23:24:35]line НСП 1% : 0.13 [23:24:35]line НДС 12% : 1.59 [23:24:35]line Наличными: 15.00 [23:24:35]line Безнал.: 0.00 [23:24:35]line Место: АЗС № 88 "Партнер Нефть" [23:24:35]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [23:24:35]line СНО: Общий режим [23:24:35]line Чек 105 25.09.2024 23:24 [23:24:35]line Смена: 231 ФФД: 1.0 [23:24:35]line ЗНМ: 0300000061 [23:24:35]line РНМ: 0000000000146243 [23:24:35]line Версия ККМ: v1.0 [23:24:35]line ФМ: 0000000000959358 [23:24:35]line ФД: 22532 [23:24:35]line ФПД: 270683879775767 [23:24:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T232436&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22532&fm=270683879775767&tin=02508201610067®Number=0000000000146243&sum=1500 [23:24:35]line 0 [23:24:35]OFD Sender: Processing packet 22532 [packets to send 23, broken 22] [23:24:35]ProducePacketName [23:24:35]name=ofd_packets/00022532 [23:24:35]OFD Sender: To server: pG, [23:24:35]CommunicateWithHost lk.salyk.kg:30040 [23:24:35]ConnectInit lk.salyk.kg [23:24:35]written 0, free lines is 4095 [23:24:35]Connected sock=10 [23:24:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 36 01 00 00 FD 93 2E 01 DF 41 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 69 00 00 00 F4 03 04 00 B4 9B F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 04 58 00 00 35 04 06 00 F6 2F 80 80 1E 17 16 82 AD 0D 8D 2F EB 07 [23:24:36]Write to MH i2c: 01 00 00 F7 13 0A [23:24:36]Write i2c OK [23:24:36]MH_I2C_Read... [23:24:36]Read from MH i2c: 01 [23:24:36]MH_I2C_Read... [23:24:36]Read from MH i2c: 01 07 00 [23:24:36]MH_I2C_Read... [23:24:36]Read from MH i2c: 01 07 00 F7 13 00 00 00 00 00 29 0D 47 [23:24:36]RasterBufferAndPrint [23:24:36]line [23:24:36]line [23:24:36]line [23:24:36]line [23:24:36]line [23:24:36]written 0, free lines is 3375 [23:24:36]MH_Cut [23:24:36]Write to MH i2c: D1 01 00 FE 13 01 E3 [23:24:36]Write i2c OK [23:24:36]MH_I2C_Read... [23:24:36]Read from MH i2c: D1 [23:24:36]MH_I2C_Read... [23:24:36]Read from MH i2c: D1 01 00 [23:24:36]MH_I2C_Read... [23:24:36]Read from MH i2c: D1 01 00 FE 13 00 E2 [23:24:36]Write to MH i2c: 01 00 00 FF 13 12 [23:24:36]Write i2c OK [23:24:36]MH_I2C_Read... [23:24:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 68 59 47 00 F7 3D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 04 58 00 00 F4 03 04 00 D5 45 F4 66 B6 04 01 00 00 EC 70 28 D9 54 28 92 7A [23:24:36]CommunicateWithHost err = 0 [23:24:36]CheckOFDResponse [23:24:36]1017 (14) - 77093643461234 [23:24:36]1041 (16) - 0000000000959358 [23:24:36]1040 (4) - 22532 [23:24:36]1012 (4) - 25.09.2024 17:18 [23:24:36]1206 (1) - 0 [23:24:36]OFD Sender: Remove packet 22532 [23:24:36]ProducePacketName [23:24:36]name=ofd_packets/00022532 [23:24:36]NVStorageDeleteData [23:24:36]OFD Sender: No OFD packet to send [23:24:36]*** Cut start [23:24:36]*** Partial cut [23:24:36]*** CUTSNS_PIN = 1 [23:24:36]*** CUTSNS_PIN = 0 [23:24:36]*** Brake cut motor [23:24:37]Read from MH i2c: 01 [23:24:37]MH_I2C_Read... [23:24:37]*** Stop cut motor [23:24:37]*** Cut end [23:24:37]Read from MH i2c: 01 07 00 [23:24:37]MH_I2C_Read... [23:24:37]Read from MH i2c: 01 07 00 FF 13 00 00 00 00 00 FF 0F 27 [23:24:37]process_action close_receipt done [23:24:37]requested_data is exist [23:24:37]produce_requested_data [23:24:37]requested_item fm.sn is exist - process it [23:24:37]wFMCommunicate request_size=4 [23:24:37]MH_SAM_APDU [23:24:37]CAPDU: 80 11 00 00 [23:24:37]Write to MH i2c: E2 08 00 00 14 80 11 00 00 00 00 00 00 8E [23:24:37]Write i2c OK [23:24:37]MH_I2C_Read... [23:24:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:24:37]Read from MH i2c: E2 [23:24:37]MH_I2C_Read... [23:24:37]Read from MH i2c: E2 17 00 [23:24:37]MH_I2C_Read... [23:24:37]Read from MH i2c: E2 17 00 00 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 E8 [23:24:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [23:24:37]wFMCommunicate OK [23:24:37]requested_item fd.num is exist - process it [23:24:37]SAM_PROTO_GetFieldsCounters [23:24:37]wFMCommunicate request_size=4 [23:24:37]MH_SAM_APDU [23:24:37]CAPDU: 80 13 00 00 [23:24:37]Write to MH i2c: E2 08 00 01 14 80 13 00 00 00 00 00 00 91 [23:24:37]Write i2c OK [23:24:37]MH_I2C_Read... [23:24:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:24:37]Read from MH i2c: E2 [23:24:37]MH_I2C_Read... [23:24:37]Read from MH i2c: E2 62 00 [23:24:37]MH_I2C_Read... [23:24:37]Read from MH i2c: E2 62 00 01 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 04 58 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 69 00 00 00 5E 04 04 00 69 00 00 00 57 04 04 00 6A 00 00 00 19 04 04 00 00 00 00 00 90 00 32 [23:24:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 04 58 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 69 00 00 00 5E 04 04 00 69 00 00 00 57 04 04 00 6A 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:24:37]wFMCommunicate OK [23:24:37]SAM_PROTO_GetFieldsCounters done [23:24:37]requested_item shift.num is exist - process it [23:24:37]requested_item shift.opened is exist - process it [23:24:37]req_shift_opened [23:24:37]FM_GetShiftState [23:24:37]SAM_PROTO_GetShiftState [23:24:37]wFMCommunicate request_size=4 [23:24:37]MH_SAM_APDU [23:24:37]CAPDU: 80 13 01 00 [23:24:37]Write to MH i2c: E2 08 00 02 14 80 13 01 00 00 00 00 00 93 [23:24:37]Write i2c OK [23:24:37]MH_I2C_Read... [23:24:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:24:37]Read from MH i2c: E2 [23:24:37]MH_I2C_Read... [23:24:37]Read from MH i2c: E2 0E 00 [23:24:37]MH_I2C_Read... [23:24:37]Read from MH i2c: E2 0E 00 02 14 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 24 [23:24:37]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [23:24:37]wFMCommunicate OK [23:24:37]SAM_PROTO_GetShiftState done [23:24:37]FM_GetShiftState done [23:24:37]req_shift_opened done [23:24:37]requested_item shift.open_date is exist - process it [23:24:37]req_shift_open_date [23:24:37]req_shift_open_date done [23:24:37]produce_requested_data done [23:24:37]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22532,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [23:24:37]process_action_free close_receipt [23:24:37]json_value_free [23:24:37]json_value_free done [23:24:37]process_json_proto returns [23:24:37]Send response to host [23:24:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22532,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [23:24:37]free response buf [23:24:37]execute_script done [23:24:37]execute_script returns [23:24:37]free content buf [23:24:37]Sock 9.Close socket [23:24:37]Sock 9.Thread stoped [23:24:41]OFD Sender: No OFD packet to send [23:24:46]OFD Sender: No OFD packet to send [23:24:51]OFD Sender: No OFD packet to send [23:24:56]OFD Sender: No OFD packet to send [23:25:01]OFD Sender: No OFD packet to send [23:25:06]OFD Sender: No OFD packet to send [23:25:11]OFD Sender: No OFD packet to send [23:25:16]OFD Sender: No OFD packet to send [23:25:21]OFD Sender: No OFD packet to send [23:25:26]OFD Sender: No OFD packet to send [23:25:31]OFD Sender: No OFD packet to send [23:25:32]accept exits with 7 [23:25:32]New connection [23:25:32]New thread 3067583844 created [23:25:32]Thread 3067440484 joined [23:25:32]Waiting for new connection... [23:25:32] Sock 7.Parse request [23:25:32]Sock 7.Check first char [23:25:32]Sock 7.First char is OK [23:25:32]request: POST /json_proto HTTP/1.0 [23:25:32]Method: POST [23:25:32]URL: /json_proto [23:25:32]Method is POST - this is cgi request [23:25:32]url: /json_proto [23:25:32]query_string will be loaded in cgi processing [23:25:32]execute_cgi json_proto POST (null) [23:25:32]execute_cgi path=json_proto method=POST [23:25:32]POST find Content-Length [23:25:32]Host: 172.17.43.4:8080 [23:25:32]Content-Length: 777 [23:25:32]Content-Type: application/json [23:25:32] [23:25:32]POST finish read [23:25:32]Found Content-Length = 777 [23:25:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51727", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:25:32]execute_script... [23:25:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51727", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:25:32]POST & json_proto [23:25:32]process_json_proto [23:25:32]json parsed OK: [23:25:32]protocol is kg_v1.0 [23:25:32]action value=close_receipt [23:25:32]process_action close_receipt [23:25:32]cmd_close_receipt [23:25:32]MH_GetDate [23:25:32]Write to MH i2c: F0 00 00 03 14 06 [23:25:32]Write i2c OK [23:25:32]MH_I2C_Read... [23:25:32]Read from MH i2c: F0 [23:25:32]MH_I2C_Read... [23:25:32]Read from MH i2c: F0 09 00 [23:25:32]MH_I2C_Read... [23:25:32]Read from MH i2c: F0 09 00 03 14 00 EE 9B F4 66 02 BF CF 66 E8 [23:25:32]GetLastDocTimeStamp 1727306676 [23:25:32]current date 1727306734 [23:25:32]FM_GetShiftState [23:25:32]SAM_PROTO_GetShiftState [23:25:32]wFMCommunicate request_size=4 [23:25:32]MH_SAM_APDU [23:25:32]CAPDU: 80 13 01 00 [23:25:32]Write to MH i2c: E2 08 00 04 14 80 13 01 00 00 00 00 00 95 [23:25:32]Write i2c OK [23:25:32]MH_I2C_Read... [23:25:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:25:32]Read from MH i2c: E2 [23:25:32]MH_I2C_Read... [23:25:32]Read from MH i2c: E2 0E 00 [23:25:32]MH_I2C_Read... [23:25:32]Read from MH i2c: E2 0E 00 04 14 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 26 [23:25:32]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [23:25:32]wFMCommunicate OK [23:25:32]SAM_PROTO_GetShiftState done [23:25:32]FM_GetShiftState done [23:25:32]opened in 1727224020 [23:25:32]opened+sec_in_day 1727310420 [23:25:32]quantity*price = 0 [23:25:32]sum+1 = 1 [23:25:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 106 25.09.2024 23:25 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000959358 ФД: 22533 ФПД: 259100786249625 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T232535&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22533&fm=259100786249625&tin=02508201610067®Number=0000000000146243&sum=0 0 [23:25:33]StoreToDocumentArchive [23:25:33]shift 231 fd 22533 [23:25:33]save to /storage/0231/doc_00022533 [23:25:33]save last doc name /storage/0231/doc_00022533 to /storage/kkm_last_doc_name [23:25:33]save OK [23:25:33]Clear old archive folders... [23:25:33]ProcessDocumentItem done err = 0, tmpTLVsize=293 [23:25:33]tlvbuf is B6F42510 [23:25:33]SAM_PROTO_ClearQueue [23:25:33]wFMCommunicate request_size=4 [23:25:33]MH_SAM_APDU [23:25:33]CAPDU: 80 09 00 00 [23:25:33]Write to MH i2c: E2 08 00 11 14 80 09 00 00 00 00 00 00 97 [23:25:33]Write i2c OK [23:25:33]MH_I2C_Read... [23:25:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:25:33]Read from MH i2c: E2 [23:25:33]MH_I2C_Read... [23:25:33]Read from MH i2c: E2 03 00 [23:25:33]MH_I2C_Read... [23:25:33]Read from MH i2c: E2 03 00 11 14 00 90 00 99 [23:25:33]RAPDU: 90 00 [23:25:33]wFMCommunicate OK [23:25:33]SAM_PROTO_ClearQueue done [23:25:33]KKMCreateOFDPacket [23:25:33]OFDProtocolAddRootSTLVToBuf [23:25:33]FM_MakeSignedData [23:25:33]FM_MakeSignedData [23:25:33]SAM_PROTO_SignData [23:25:33]wFMCommunicate request_size=4 [23:25:33]MH_SAM_APDU [23:25:33]CAPDU: 80 0D 01 02 [23:25:33]Write to MH i2c: E2 08 00 12 14 80 0D 01 02 00 00 00 00 9F [23:25:33]Write i2c OK [23:25:33]MH_I2C_Read... [23:25:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:25:33]Read from MH i2c: E2 [23:25:33]MH_I2C_Read... [23:25:33]Read from MH i2c: E2 03 00 [23:25:33]MH_I2C_Read... [23:25:33]Read from MH i2c: E2 03 00 12 14 00 90 00 9A [23:25:33]RAPDU: 90 00 [23:25:33]wFMCommunicate OK [23:25:33]wFMCommunicate request_size=255 [23:25:33]MH_SAM_APDU [23:25:33]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 6A 00 00 00 F4 03 04 00 EF 9B F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [23:25:33]Write to MH i2c: E2 02 01 13 14 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 6A 00 00 00 F4 03 04 00 EF 9B F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 28 [23:25:33]Write i2c OK [23:25:33]MH_I2C_Read... [23:25:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:25:34]Read from MH i2c: E2 [23:25:34]MH_I2C_Read... [23:25:34]Read from MH i2c: E2 03 00 [23:25:34]MH_I2C_Read... [23:25:34]Read from MH i2c: E2 03 00 13 14 00 90 00 9B [23:25:34]RAPDU: 90 00 [23:25:34]wFMCommunicate OK [23:25:34]wFMCommunicate request_size=52 [23:25:34]MH_SAM_APDU [23:25:34]CAPDU: 80 0D 02 02 2F 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 05 58 00 00 35 04 06 00 EB A6 9A 53 4F 99 [23:25:34]Write to MH i2c: E2 37 00 14 14 80 0D 02 02 2F 00 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 05 58 00 00 35 04 06 00 EB A6 9A 53 4F 99 00 00 2A [23:25:34]Write i2c OK [23:25:34]MH_I2C_Read... [23:25:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:25:34]Read from MH i2c: E2 [23:25:34]MH_I2C_Read... [23:25:34]Read from MH i2c: E2 03 00 [23:25:34]MH_I2C_Read... [23:25:34]Read from MH i2c: E2 03 00 14 14 00 90 00 9C [23:25:34]RAPDU: 90 00 [23:25:34]wFMCommunicate OK [23:25:34]wFMCommunicate request_size=4 [23:25:34]MH_SAM_APDU [23:25:34]CAPDU: 80 0D 03 02 [23:25:34]Write to MH i2c: E2 08 00 15 14 80 0D 03 02 00 00 00 00 A4 [23:25:34]Write i2c OK [23:25:34]MH_I2C_Read... [23:25:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:25:34]Read from MH i2c: E2 [23:25:34]MH_I2C_Read... [23:25:34]Read from MH i2c: E2 0B 00 [23:25:34]MH_I2C_Read... [23:25:34]Read from MH i2c: E2 0B 00 15 14 00 FC 43 FB 50 EC E7 AF 3F 90 00 F0 [23:25:34]RAPDU: FC 43 FB 50 EC E7 AF 3F 90 00 [23:25:34]wFMCommunicate OK [23:25:34]SAM_PROTO_SignData done [23:25:34]FM_MakeSignedData done [23:25:34]CreateOFDProtocolMessage [23:25:34]wFMCommunicate request_size=4 [23:25:34]MH_SAM_APDU [23:25:34]CAPDU: 80 11 00 00 [23:25:34]Write to MH i2c: E2 08 00 16 14 80 11 00 00 00 00 00 00 A4 [23:25:34]Write i2c OK [23:25:34]MH_I2C_Read... [23:25:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:25:34]Read from MH i2c: E2 [23:25:34]MH_I2C_Read... [23:25:34]Read from MH i2c: E2 17 00 [23:25:34]MH_I2C_Read... [23:25:34]Read from MH i2c: E2 17 00 16 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 FE [23:25:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [23:25:34]wFMCommunicate OK [23:25:34]CreateOFDProtocolMessage done [23:25:34]OFDSenderStorePacket 22533 [23:25:34]StoreOFDPacket docnum=22533 [23:25:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 39 01 00 00 E4 62 31 01 48 4D 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 6A 00 00 00 F4 03 04 00 EF 9B F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 05 58 00 00 35 04 06 00 EB A6 9A 53 4F 99 FC 43 FB 50 EC E7 AF 3F [23:25:34]CheckFolder [23:25:34]dirname=/storage/ofd_packets [23:25:34]CheckFolder done [23:25:34]ProducePacketName [23:25:34]name=ofd_packets/00022533 [23:25:34]NVStorageSaveData ofd_packets/00022533 [23:25:34]File name is /storage/ofd_packets/00022533 [23:25:34]Write 343 bytes [23:25:34]NVStorageSaveData done [23:25:34]OFDSenderStorePacket done [23:25:34]KKMCreateOFDPacket done [23:25:34]NVStorageSaveData kkm_last_timestamp [23:25:34]File name is /storage/kkm_last_timestamp [23:25:34]Write 4 bytes [23:25:34]NVStorageSaveData done [23:25:34]ExternCall_PrintAddStr [23:25:34]wPrintStart [23:25:34]Write to MH i2c: 01 00 00 17 14 2B [23:25:34]Write i2c OK [23:25:34]MH_I2C_Read... [23:25:34]Read from MH i2c: 01 [23:25:34]MH_I2C_Read... [23:25:34]Read from MH i2c: 01 07 00 [23:25:34]MH_I2C_Read... [23:25:34]Read from MH i2c: 01 07 00 17 14 00 00 00 00 00 FF 0F 40 [23:25:34]RasterBufferAndPrint [23:25:34]line Счет N : (3)51727 [23:25:34]line ИНН: 02508201610067 [23:25:34]line Контрольно-Кассовый Чек [23:25:34]line ПРОДАЖА [23:25:34]line Товар: 4700000480050 [23:25:34]line Напиток Nitro Energy эн green ж/б 0,45л [23:25:34]line 1.000 * 0.00 [23:25:34]line = 0.00 [23:25:34]line НДС 12% НСП 1% [23:25:34]line > о реализуемом товаре [23:25:34]line ИТОГО: 0.00 [23:25:34]line НСП 1% : 0.00 [23:25:34]line НДС 12% : 0.00 [23:25:34]line Наличными: 0.00 [23:25:34]line Безнал.: 0.00 [23:25:34]line Место: АЗС № 88 "Партнер Нефть" [23:25:34]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [23:25:34]line СНО: Общий режим [23:25:34]line Чек 106 25.09.2024 23:25 [23:25:34]line Смена: 231 ФФД: 1.0 [23:25:34]line ЗНМ: 0300000061 [23:25:34]line РНМ: 0000000000146243 [23:25:34]line Версия ККМ: v1.0 [23:25:34]line Платежная система: Mbank [23:25:34]line ФМ: 0000000000959358 [23:25:34]line ФД: 22533 [23:25:34]line ФПД: 259100786249625 [23:25:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T232535&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22533&fm=259100786249625&tin=02508201610067®Number=0000000000146243&sum=0 [23:25:34]line 0 [23:25:34]OFD Sender: Processing packet 22533 [packets to send 23, broken 22] [23:25:34]ProducePacketName [23:25:34]name=ofd_packets/00022533 [23:25:34]OFD Sender: To server: pG, [23:25:34]CommunicateWithHost lk.salyk.kg:30040 [23:25:34]ConnectInit lk.salyk.kg [23:25:34]written 0, free lines is 4095 [23:25:34]Connected sock=11 [23:25:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 39 01 00 00 E4 62 31 01 48 4D 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 6A 00 00 00 F4 03 04 00 EF 9B F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 05 58 00 00 35 04 06 00 EB A6 9A 53 4F 99 FC 43 FB 50 EC E7 AF 3F [23:25:35]Write to MH i2c: 01 00 00 41 14 55 [23:25:35]Write i2c OK [23:25:35]MH_I2C_Read... [23:25:35]Read from MH i2c: 01 [23:25:35]MH_I2C_Read... [23:25:35]Read from MH i2c: 01 07 00 [23:25:35]MH_I2C_Read... [23:25:35]Read from MH i2c: 01 07 00 41 14 00 00 00 00 00 11 0D 7A [23:25:35]RasterBufferAndPrint [23:25:35]line [23:25:35]line [23:25:35]line [23:25:35]line [23:25:35]line [23:25:35]written 0, free lines is 3351 [23:25:35]MH_Cut [23:25:35]Write to MH i2c: D1 01 00 48 14 01 2E [23:25:35]Write i2c OK [23:25:35]MH_I2C_Read... [23:25:35]Read from MH i2c: D1 [23:25:35]MH_I2C_Read... [23:25:35]Read from MH i2c: D1 01 00 [23:25:35]MH_I2C_Read... [23:25:35]Read from MH i2c: D1 01 00 48 14 00 2D [23:25:35]Write to MH i2c: 01 00 00 49 14 5D [23:25:35]Write i2c OK [23:25:35]MH_I2C_Read... [23:25:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 D8 16 47 00 DC 56 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 05 58 00 00 F4 03 04 00 10 46 F4 66 B6 04 01 00 00 FF D4 13 3C 3A F5 96 3E [23:25:35]CommunicateWithHost err = 0 [23:25:35]CheckOFDResponse [23:25:35]1017 (14) - 77093643461234 [23:25:35]1041 (16) - 0000000000959358 [23:25:35]1040 (4) - 22533 [23:25:35]1012 (4) - 25.09.2024 17:19 [23:25:35]1206 (1) - 0 [23:25:35]OFD Sender: Remove packet 22533 [23:25:35]ProducePacketName [23:25:35]name=ofd_packets/00022533 [23:25:35]NVStorageDeleteData [23:25:35]OFD Sender: No OFD packet to send [23:25:35]*** Cut start [23:25:35]*** Partial cut [23:25:35]*** CUTSNS_PIN = 1 [23:25:35]*** CUTSNS_PIN = 0 [23:25:36]*** Brake cut motor [23:25:36]Read from MH i2c: 01 [23:25:36]MH_I2C_Read... [23:25:36]*** Stop cut motor [23:25:36]*** Cut end [23:25:36]Read from MH i2c: 01 07 00 [23:25:36]MH_I2C_Read... [23:25:36]Read from MH i2c: 01 07 00 49 14 00 00 00 00 00 FF 0F 72 [23:25:36]process_action close_receipt done [23:25:36]requested_data is exist [23:25:36]produce_requested_data [23:25:36]requested_item fm.sn is exist - process it [23:25:36]wFMCommunicate request_size=4 [23:25:36]MH_SAM_APDU [23:25:36]CAPDU: 80 11 00 00 [23:25:36]Write to MH i2c: E2 08 00 4A 14 80 11 00 00 00 00 00 00 D8 [23:25:36]Write i2c OK [23:25:36]MH_I2C_Read... [23:25:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:25:36]Read from MH i2c: E2 [23:25:36]MH_I2C_Read... [23:25:36]Read from MH i2c: E2 17 00 [23:25:36]MH_I2C_Read... [23:25:36]Read from MH i2c: E2 17 00 4A 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 32 [23:25:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [23:25:36]wFMCommunicate OK [23:25:36]requested_item fd.num is exist - process it [23:25:36]SAM_PROTO_GetFieldsCounters [23:25:36]wFMCommunicate request_size=4 [23:25:36]MH_SAM_APDU [23:25:36]CAPDU: 80 13 00 00 [23:25:36]Write to MH i2c: E2 08 00 4B 14 80 13 00 00 00 00 00 00 DB [23:25:36]Write i2c OK [23:25:36]MH_I2C_Read... [23:25:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:25:36]Read from MH i2c: E2 [23:25:36]MH_I2C_Read... [23:25:36]Read from MH i2c: E2 62 00 [23:25:36]MH_I2C_Read... [23:25:36]Read from MH i2c: E2 62 00 4B 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 05 58 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 6A 00 00 00 5E 04 04 00 6A 00 00 00 57 04 04 00 6B 00 00 00 19 04 04 00 00 00 00 00 90 00 80 [23:25:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 05 58 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 6A 00 00 00 5E 04 04 00 6A 00 00 00 57 04 04 00 6B 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:25:36]wFMCommunicate OK [23:25:36]SAM_PROTO_GetFieldsCounters done [23:25:36]requested_item shift.num is exist - process it [23:25:36]requested_item shift.opened is exist - process it [23:25:36]req_shift_opened [23:25:36]FM_GetShiftState [23:25:36]SAM_PROTO_GetShiftState [23:25:36]wFMCommunicate request_size=4 [23:25:36]MH_SAM_APDU [23:25:36]CAPDU: 80 13 01 00 [23:25:36]Write to MH i2c: E2 08 00 4C 14 80 13 01 00 00 00 00 00 DD [23:25:36]Write i2c OK [23:25:36]MH_I2C_Read... [23:25:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:25:36]Read from MH i2c: E2 [23:25:36]MH_I2C_Read... [23:25:36]Read from MH i2c: E2 0E 00 [23:25:36]MH_I2C_Read... [23:25:36]Read from MH i2c: E2 0E 00 4C 14 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 6E [23:25:36]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [23:25:36]wFMCommunicate OK [23:25:36]SAM_PROTO_GetShiftState done [23:25:36]FM_GetShiftState done [23:25:36]req_shift_opened done [23:25:36]requested_item shift.open_date is exist - process it [23:25:36]req_shift_open_date [23:25:36]req_shift_open_date done [23:25:36]produce_requested_data done [23:25:36]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22533,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [23:25:36]process_action_free close_receipt [23:25:36]json_value_free [23:25:36]json_value_free done [23:25:36]process_json_proto returns [23:25:36]Send response to host [23:25:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22533,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [23:25:36]free response buf [23:25:36]execute_script done [23:25:36]execute_script returns [23:25:36]free content buf [23:25:36]Sock 7.Close socket [23:25:36]Sock 7.Thread stoped [23:25:40]OFD Sender: No OFD packet to send [23:25:45]OFD Sender: No OFD packet to send [23:25:50]OFD Sender: No OFD packet to send [23:25:55]OFD Sender: No OFD packet to send [23:26:00]OFD Sender: No OFD packet to send [23:26:05]OFD Sender: No OFD packet to send [23:26:10]OFD Sender: No OFD packet to send [23:26:15]OFD Sender: No OFD packet to send [23:26:20]OFD Sender: No OFD packet to send [23:26:25]OFD Sender: No OFD packet to send [23:26:30]OFD Sender: No OFD packet to send [23:26:35]OFD Sender: No OFD packet to send [23:26:40]OFD Sender: No OFD packet to send [23:26:45]OFD Sender: No OFD packet to send [23:26:50]OFD Sender: No OFD packet to send [23:26:55]OFD Sender: No OFD packet to send [23:27:00]OFD Sender: No OFD packet to send [23:27:05]OFD Sender: No OFD packet to send [23:27:10]OFD Sender: No OFD packet to send [23:27:15]OFD Sender: No OFD packet to send [23:27:20]OFD Sender: No OFD packet to send [23:27:25]OFD Sender: No OFD packet to send [23:27:30]OFD Sender: No OFD packet to send [23:27:35]OFD Sender: No OFD packet to send [23:27:40]OFD Sender: No OFD packet to send [23:27:45]OFD Sender: No OFD packet to send [23:27:50]OFD Sender: No OFD packet to send [23:27:55]OFD Sender: No OFD packet to send [23:28:00]OFD Sender: No OFD packet to send [23:28:05]OFD Sender: No OFD packet to send [23:28:10]OFD Sender: No OFD packet to send [23:28:15]OFD Sender: No OFD packet to send [23:28:20]OFD Sender: No OFD packet to send [23:28:25]OFD Sender: No OFD packet to send [23:28:30]OFD Sender: No OFD packet to send [23:28:35]OFD Sender: No OFD packet to send [23:28:40]OFD Sender: No OFD packet to send [23:28:45]OFD Sender: No OFD packet to send [23:28:50]OFD Sender: No OFD packet to send [23:28:55]OFD Sender: No OFD packet to send [23:29:00]OFD Sender: No OFD packet to send [23:29:05]OFD Sender: No OFD packet to send [23:29:10]OFD Sender: No OFD packet to send [23:29:15]OFD Sender: No OFD packet to send [23:29:20]OFD Sender: No OFD packet to send [23:29:25]OFD Sender: No OFD packet to send [23:29:30]OFD Sender: No OFD packet to send [23:29:35]OFD Sender: No OFD packet to send [23:29:40]OFD Sender: No OFD packet to send [23:29:45]OFD Sender: No OFD packet to send [23:29:50]OFD Sender: No OFD packet to send [23:29:55]OFD Sender: No OFD packet to send [23:30:00]OFD Sender: No OFD packet to send [23:30:05]OFD Sender: No OFD packet to send [23:30:10]OFD Sender: No OFD packet to send [23:30:15]OFD Sender: No OFD packet to send [23:30:20]OFD Sender: No OFD packet to send [23:30:25]OFD Sender: No OFD packet to send [23:30:30]OFD Sender: No OFD packet to send [23:30:35]OFD Sender: No OFD packet to send [23:30:40]OFD Sender: No OFD packet to send [23:30:45]OFD Sender: No OFD packet to send [23:30:50]OFD Sender: No OFD packet to send [23:30:55]OFD Sender: No OFD packet to send [23:31:00]OFD Sender: No OFD packet to send [23:31:05]OFD Sender: No OFD packet to send [23:31:10]OFD Sender: No OFD packet to send [23:31:15]OFD Sender: No OFD packet to send [23:31:21]OFD Sender: No OFD packet to send [23:31:26]OFD Sender: No OFD packet to send [23:31:31]OFD Sender: No OFD packet to send [23:31:36]OFD Sender: No OFD packet to send [23:31:41]OFD Sender: No OFD packet to send [23:31:46]OFD Sender: No OFD packet to send [23:31:51]OFD Sender: No OFD packet to send [23:31:56]OFD Sender: No OFD packet to send [23:32:01]OFD Sender: No OFD packet to send [23:32:06]OFD Sender: No OFD packet to send [23:32:11]OFD Sender: No OFD packet to send [23:32:16]OFD Sender: No OFD packet to send [23:32:21]OFD Sender: No OFD packet to send [23:32:26]OFD Sender: No OFD packet to send [23:32:31]OFD Sender: No OFD packet to send [23:32:36]OFD Sender: No OFD packet to send [23:32:41]OFD Sender: No OFD packet to send [23:32:46]OFD Sender: No OFD packet to send [23:32:51]OFD Sender: No OFD packet to send [23:32:56]OFD Sender: No OFD packet to send [23:33:01]OFD Sender: No OFD packet to send [23:33:06]OFD Sender: No OFD packet to send [23:33:11]OFD Sender: No OFD packet to send [23:33:16]OFD Sender: No OFD packet to send [23:33:21]OFD Sender: No OFD packet to send [23:33:26]OFD Sender: No OFD packet to send [23:33:31]OFD Sender: No OFD packet to send [23:33:36]OFD Sender: No OFD packet to send [23:33:41]OFD Sender: No OFD packet to send [23:33:46]OFD Sender: No OFD packet to send [23:33:51]OFD Sender: No OFD packet to send [23:33:56]OFD Sender: No OFD packet to send [23:34:01]OFD Sender: No OFD packet to send [23:34:06]OFD Sender: No OFD packet to send [23:34:11]OFD Sender: No OFD packet to send [23:34:16]OFD Sender: No OFD packet to send [23:34:21]OFD Sender: No OFD packet to send [23:34:26]OFD Sender: No OFD packet to send [23:34:31]OFD Sender: No OFD packet to send [23:34:36]OFD Sender: No OFD packet to send [23:34:41]OFD Sender: No OFD packet to send [23:34:46]OFD Sender: No OFD packet to send [23:34:51]OFD Sender: No OFD packet to send [23:34:56]OFD Sender: No OFD packet to send [23:35:01]OFD Sender: No OFD packet to send [23:35:06]OFD Sender: No OFD packet to send [23:35:11]OFD Sender: No OFD packet to send [23:35:16]OFD Sender: No OFD packet to send [23:35:21]OFD Sender: No OFD packet to send [23:35:26]OFD Sender: No OFD packet to send [23:35:31]OFD Sender: No OFD packet to send [23:35:36]OFD Sender: No OFD packet to send [23:35:41]OFD Sender: No OFD packet to send [23:35:46]OFD Sender: No OFD packet to send [23:35:51]OFD Sender: No OFD packet to send [23:35:56]OFD Sender: No OFD packet to send [23:36:01]OFD Sender: No OFD packet to send [23:36:06]OFD Sender: No OFD packet to send [23:36:11]OFD Sender: No OFD packet to send [23:36:16]OFD Sender: No OFD packet to send [23:36:21]OFD Sender: No OFD packet to send [23:36:26]OFD Sender: No OFD packet to send [23:36:31]OFD Sender: No OFD packet to send [23:36:36]OFD Sender: No OFD packet to send [23:36:41]OFD Sender: No OFD packet to send [23:36:46]OFD Sender: No OFD packet to send [23:36:51]OFD Sender: No OFD packet to send [23:36:56]OFD Sender: No OFD packet to send [23:36:58]accept exits with 9 [23:36:58]New connection [23:36:58]New thread 3067440484 created [23:36:58]Thread 3067583844 joined [23:36:58]Waiting for new connection... [23:36:58] Sock 9.Parse request [23:36:58]Sock 9.Check first char [23:36:58]Sock 9.First char is OK [23:36:58]request: POST /json_proto HTTP/1.0 [23:36:58]Method: POST [23:36:58]URL: /json_proto [23:36:58]Method is POST - this is cgi request [23:36:58]url: /json_proto [23:36:58]query_string will be loaded in cgi processing [23:36:58]execute_cgi json_proto POST (null) [23:36:58]execute_cgi path=json_proto method=POST [23:36:58]POST find Content-Length [23:36:58]Host: 172.17.43.4:8080 [23:36:58]Content-Length: 752 [23:36:58]Content-Type: application/json [23:36:58] [23:36:58]POST finish read [23:36:58]Found Content-Length = 752 [23:36:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51728", "tax_sys" : 0, "items" : [ { "code": "4870003984128", "name": "\u041F\u0438\u0432\u043E \u041A\u0430\u0440\u0430\u0433 \u0414\u0440\u0430\u0444\u0442 \u041C\u044F\u0433\u043A\u043E\u0435 \u041A\u0440\u0443\u0436\u043A\u0430 \u0441\u0432\u0435\u0436 0,5\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:36:58]execute_script... [23:36:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51728", "tax_sys" : 0, "items" : [ { "code": "4870003984128", "name": "\u041F\u0438\u0432\u043E \u041A\u0430\u0440\u0430\u0433 \u0414\u0440\u0430\u0444\u0442 \u041C\u044F\u0433\u043A\u043E\u0435 \u041A\u0440\u0443\u0436\u043A\u0430 \u0441\u0432\u0435\u0436 0,5\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:36:58]POST & json_proto [23:36:58]process_json_proto [23:36:58]json parsed OK: [23:36:58]protocol is kg_v1.0 [23:36:58]action value=close_receipt [23:36:58]process_action close_receipt [23:36:58]cmd_close_receipt [23:36:58]MH_GetDate [23:36:58]Write to MH i2c: F0 00 00 4D 14 50 [23:36:58]Write i2c OK [23:36:58]MH_I2C_Read... [23:36:58]Read from MH i2c: F0 [23:36:58]MH_I2C_Read... [23:36:58]Read from MH i2c: F0 09 00 [23:36:58]MH_I2C_Read... [23:36:58]Read from MH i2c: F0 09 00 4D 14 00 9D 9E F4 66 02 BF CF 66 E4 [23:36:58]GetLastDocTimeStamp 1727306735 [23:36:58]current date 1727307421 [23:36:58]FM_GetShiftState [23:36:58]SAM_PROTO_GetShiftState [23:36:58]wFMCommunicate request_size=4 [23:36:58]MH_SAM_APDU [23:36:58]CAPDU: 80 13 01 00 [23:36:58]Write to MH i2c: E2 08 00 4E 14 80 13 01 00 00 00 00 00 DF [23:36:58]Write i2c OK [23:36:58]MH_I2C_Read... [23:36:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:36:58]Read from MH i2c: E2 [23:36:58]MH_I2C_Read... [23:36:58]Read from MH i2c: E2 0E 00 [23:36:58]MH_I2C_Read... [23:36:58]Read from MH i2c: E2 0E 00 4E 14 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 70 [23:36:58]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [23:36:58]wFMCommunicate OK [23:36:58]SAM_PROTO_GetShiftState done [23:36:58]FM_GetShiftState done [23:36:58]opened in 1727224020 [23:36:58]opened+sec_in_day 1727310420 [23:36:58]quantity*price = 12500 [23:36:58]sum+1 = 12501 [23:36:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 107 25.09.2024 23:37 Смена: 231 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22534 ФПД: 122438902531395 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T233701&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22534&fm=122438902531395&tin=02508201610067®Number=0000000000146243&sum=12500 0 [23:36:59]StoreToDocumentArchive [23:36:59]shift 231 fd 22534 [23:36:59]save to /storage/0231/doc_00022534 [23:36:59]save last doc name /storage/0231/doc_00022534 to /storage/kkm_last_doc_name [23:36:59]save OK [23:36:59]Clear old archive folders... [23:36:59]ProcessDocumentItem done err = 0, tmpTLVsize=313 [23:36:59]tlvbuf is 0024B720 [23:36:59]SAM_PROTO_ClearQueue [23:36:59]wFMCommunicate request_size=4 [23:36:59]MH_SAM_APDU [23:36:59]CAPDU: 80 09 00 00 [23:36:59]Write to MH i2c: E2 08 00 5B 14 80 09 00 00 00 00 00 00 E1 [23:36:59]Write i2c OK [23:36:59]MH_I2C_Read... [23:36:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:36:59]Read from MH i2c: E2 [23:36:59]MH_I2C_Read... [23:36:59]Read from MH i2c: E2 03 00 [23:36:59]MH_I2C_Read... [23:36:59]Read from MH i2c: E2 03 00 5B 14 00 90 00 E3 [23:36:59]RAPDU: 90 00 [23:36:59]wFMCommunicate OK [23:36:59]SAM_PROTO_ClearQueue done [23:36:59]KKMCreateOFDPacket [23:36:59]OFDProtocolAddRootSTLVToBuf [23:36:59]FM_MakeSignedData [23:36:59]FM_MakeSignedData [23:36:59]SAM_PROTO_SignData [23:36:59]wFMCommunicate request_size=4 [23:36:59]MH_SAM_APDU [23:36:59]CAPDU: 80 0D 01 02 [23:36:59]Write to MH i2c: E2 08 00 5C 14 80 0D 01 02 00 00 00 00 E9 [23:36:59]Write i2c OK [23:36:59]MH_I2C_Read... [23:36:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:36:59]Read from MH i2c: E2 [23:36:59]MH_I2C_Read... [23:36:59]Read from MH i2c: E2 03 00 [23:36:59]MH_I2C_Read... [23:36:59]Read from MH i2c: E2 03 00 5C 14 00 90 00 E4 [23:36:59]RAPDU: 90 00 [23:36:59]wFMCommunicate OK [23:36:59]wFMCommunicate request_size=255 [23:36:59]MH_SAM_APDU [23:36:59]CAPDU: 80 0D 02 02 FA 03 00 39 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 37 30 30 30 33 39 38 34 31 32 38 06 04 47 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9A D0 B0 D1 80 D0 B0 D0 B3 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 D0 9C D1 8F D0 B3 D0 BA D0 BE D0 B5 20 D0 9A D1 80 D1 83 D0 B6 D0 BA D0 B0 20 D1 81 D0 B2 D0 B5 D0 B6 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6B 00 00 00 F4 03 04 00 9D 9E F4 66 0E 04 04 00 [23:36:59]Write to MH i2c: E2 02 01 5D 14 80 0D 02 02 FA 00 03 00 39 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 37 30 30 30 33 39 38 34 31 32 38 06 04 47 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9A D0 B0 D1 80 D0 B0 D0 B3 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 D0 9C D1 8F D0 B3 D0 BA D0 BE D0 B5 20 D0 9A D1 80 D1 83 D0 B6 D0 BA D0 B0 20 D1 81 D0 B2 D0 B5 D0 B6 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6B 00 00 00 F4 03 04 00 9D 9E F4 66 0E 04 04 00 00 00 57 [23:36:59]Write i2c OK [23:36:59]MH_I2C_Read... [23:37:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:37:00]Read from MH i2c: E2 [23:37:00]MH_I2C_Read... [23:37:00]Read from MH i2c: E2 03 00 [23:37:00]MH_I2C_Read... [23:37:00]Read from MH i2c: E2 03 00 5D 14 00 90 00 E5 [23:37:00]RAPDU: 90 00 [23:37:00]wFMCommunicate OK [23:37:00]wFMCommunicate request_size=72 [23:37:00]MH_SAM_APDU [23:37:00]CAPDU: 80 0D 02 02 43 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 06 58 00 00 35 04 06 00 6F 5B 87 4A C5 43 [23:37:00]Write to MH i2c: E2 4B 00 5E 14 80 0D 02 02 43 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 06 58 00 00 35 04 06 00 6F 5B 87 4A C5 43 00 00 F1 [23:37:00]Write i2c OK [23:37:00]MH_I2C_Read... [23:37:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:37:00]Read from MH i2c: E2 [23:37:00]MH_I2C_Read... [23:37:00]Read from MH i2c: E2 03 00 [23:37:00]MH_I2C_Read... [23:37:00]Read from MH i2c: E2 03 00 5E 14 00 90 00 E6 [23:37:00]RAPDU: 90 00 [23:37:00]wFMCommunicate OK [23:37:00]wFMCommunicate request_size=4 [23:37:00]MH_SAM_APDU [23:37:00]CAPDU: 80 0D 03 02 [23:37:00]Write to MH i2c: E2 08 00 5F 14 80 0D 03 02 00 00 00 00 EE [23:37:00]Write i2c OK [23:37:00]MH_I2C_Read... [23:37:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:37:00]Read from MH i2c: E2 [23:37:00]MH_I2C_Read... [23:37:00]Read from MH i2c: E2 0B 00 [23:37:00]MH_I2C_Read... [23:37:00]Read from MH i2c: E2 0B 00 5F 14 00 75 45 AC 96 E4 55 D1 DE 90 00 D3 [23:37:00]RAPDU: 75 45 AC 96 E4 55 D1 DE 90 00 [23:37:00]wFMCommunicate OK [23:37:00]SAM_PROTO_SignData done [23:37:00]FM_MakeSignedData done [23:37:00]CreateOFDProtocolMessage [23:37:00]wFMCommunicate request_size=4 [23:37:00]MH_SAM_APDU [23:37:00]CAPDU: 80 11 00 00 [23:37:00]Write to MH i2c: E2 08 00 60 14 80 11 00 00 00 00 00 00 EE [23:37:00]Write i2c OK [23:37:00]MH_I2C_Read... [23:37:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:37:00]Read from MH i2c: E2 [23:37:00]MH_I2C_Read... [23:37:00]Read from MH i2c: E2 17 00 [23:37:00]MH_I2C_Read... [23:37:00]Read from MH i2c: E2 17 00 60 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 48 [23:37:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [23:37:00]wFMCommunicate OK [23:37:00]CreateOFDProtocolMessage done [23:37:00]OFDSenderStorePacket 22534 [23:37:00]StoreOFDPacket docnum=22534 [23:37:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4D 01 00 00 CA C4 45 01 46 73 5A 03 01 00 03 00 39 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 37 30 30 30 33 39 38 34 31 32 38 06 04 47 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9A D0 B0 D1 80 D0 B0 D0 B3 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 D0 9C D1 8F D0 B3 D0 BA D0 BE D0 B5 20 D0 9A D1 80 D1 83 D0 B6 D0 BA D0 B0 20 D1 81 D0 B2 D0 B5 D0 B6 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6B 00 00 00 F4 03 04 00 9D 9E F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 06 58 00 00 35 04 06 00 6F 5B 87 4A C5 43 75 45 AC 96 E4 55 D1 DE [23:37:00]CheckFolder [23:37:00]dirname=/storage/ofd_packets [23:37:00]CheckFolder done [23:37:00]ProducePacketName [23:37:00]name=ofd_packets/00022534 [23:37:00]NVStorageSaveData ofd_packets/00022534 [23:37:00]File name is /storage/ofd_packets/00022534 [23:37:00]Write 363 bytes [23:37:00]NVStorageSaveData done [23:37:00]OFDSenderStorePacket done [23:37:00]KKMCreateOFDPacket done [23:37:00]NVStorageSaveData kkm_last_timestamp [23:37:00]File name is /storage/kkm_last_timestamp [23:37:00]Write 4 bytes [23:37:00]NVStorageSaveData done [23:37:00]ExternCall_PrintAddStr [23:37:00]wPrintStart [23:37:00]Write to MH i2c: 01 00 00 61 14 75 [23:37:00]Write i2c OK [23:37:00]MH_I2C_Read... [23:37:00]Read from MH i2c: 01 [23:37:00]MH_I2C_Read... [23:37:00]Read from MH i2c: 01 07 00 [23:37:00]MH_I2C_Read... [23:37:00]Read from MH i2c: 01 07 00 61 14 00 00 00 00 00 FF 0F 8A [23:37:00]RasterBufferAndPrint [23:37:00]line Счет N : (3)51728 [23:37:00]line ИНН: 02508201610067 [23:37:00]line Контрольно-Кассовый Чек [23:37:00]line ПРОДАЖА [23:37:00]line Товар: 4870003984128 [23:37:00]line Пиво Караг Драфт Мягкое Кружка свеж 0,5л [23:37:00]line 1.000 * 125.00 [23:37:00]line = 125.00 [23:37:00]line НДС 12% НСП 1% [23:37:00]line > о реализуемом товаре [23:37:00]line ИТОГО: 125.00 [23:37:00]line НСП 1% : 1.11 [23:37:00]line НДС 12% : 13.27 [23:37:00]line Наличными: 125.00 [23:37:00]line Безнал.: 0.00 [23:37:00]line Место: АЗС № 88 "Партнер Нефть" [23:37:00]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [23:37:00]line СНО: Общий режим [23:37:00]line Чек 107 25.09.2024 23:37 [23:37:00]line Смена: 231 ФФД: 1.0 [23:37:00]line ЗНМ: 0300000061 [23:37:00]line РНМ: 0000000000146243 [23:37:00]line Версия ККМ: v1.0 [23:37:00]line ФМ: 0000000000959358 [23:37:00]line ФД: 22534 [23:37:00]line ФПД: 122438902531395 [23:37:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240925T233701&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22534&fm=122438902531395&tin=02508201610067®Number=0000000000146243&sum=12500 [23:37:00]line 0 [23:37:00]OFD Sender: Processing packet 22534 [packets to send 23, broken 22] [23:37:00]ProducePacketName [23:37:00]name=ofd_packets/00022534 [23:37:00]OFD Sender: To server: pG, [23:37:00]CommunicateWithHost lk.salyk.kg:30040 [23:37:00]ConnectInit lk.salyk.kg [23:37:00]written 0, free lines is 4095 [23:37:00]Connected sock=10 [23:37:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4D 01 00 00 CA C4 45 01 46 73 5A 03 01 00 03 00 39 01 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 37 30 30 30 33 39 38 34 31 32 38 06 04 47 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9A D0 B0 D1 80 D0 B0 D0 B3 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 D0 9C D1 8F D0 B3 D0 BA D0 BE D0 B5 20 D0 9A D1 80 D1 83 D0 B6 D0 BA D0 B0 20 D1 81 D0 B2 D0 B5 D0 B6 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6B 00 00 00 F4 03 04 00 9D 9E F4 66 0E 04 04 00 E7 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 06 58 00 00 35 04 06 00 6F 5B 87 4A C5 43 75 45 AC 96 E4 55 D1 DE [23:37:01]Write to MH i2c: 01 00 00 8A 14 9E [23:37:01]Write i2c OK [23:37:01]MH_I2C_Read... [23:37:01]Read from MH i2c: 01 [23:37:01]MH_I2C_Read... [23:37:01]Read from MH i2c: 01 07 00 [23:37:01]MH_I2C_Read... [23:37:01]Read from MH i2c: 01 07 00 8A 14 00 00 00 00 00 26 0D D8 [23:37:01]RasterBufferAndPrint [23:37:01]line [23:37:01]line [23:37:01]line [23:37:01]line [23:37:01]line [23:37:01]written 0, free lines is 3375 [23:37:01]MH_Cut [23:37:01]Write to MH i2c: D1 01 00 91 14 01 77 [23:37:01]Write i2c OK [23:37:01]MH_I2C_Read... [23:37:01]Read from MH i2c: D1 [23:37:01]MH_I2C_Read... [23:37:01]Read from MH i2c: D1 01 00 [23:37:01]MH_I2C_Read... [23:37:01]Read from MH i2c: D1 01 00 91 14 00 76 [23:37:01]Write to MH i2c: 01 00 00 92 14 A6 [23:37:01]Write i2c OK [23:37:01]MH_I2C_Read... [23:37:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 05 7C 47 00 EC 6A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 06 58 00 00 F4 03 04 00 BE 48 F4 66 B6 04 01 00 00 DD 47 65 1B 47 A3 C8 07 [23:37:01]CommunicateWithHost err = 0 [23:37:01]CheckOFDResponse [23:37:01]1017 (14) - 77093643461234 [23:37:01]1041 (16) - 0000000000959358 [23:37:01]1040 (4) - 22534 [23:37:01]1012 (4) - 25.09.2024 17:30 [23:37:01]1206 (1) - 0 [23:37:01]OFD Sender: Remove packet 22534 [23:37:01]ProducePacketName [23:37:01]name=ofd_packets/00022534 [23:37:01]NVStorageDeleteData [23:37:01]OFD Sender: No OFD packet to send [23:37:01]*** Cut start [23:37:01]*** Partial cut [23:37:01]*** CUTSNS_PIN = 1 [23:37:01]*** CUTSNS_PIN = 0 [23:37:02]*** Brake cut motor [23:37:02]Read from MH i2c: 01 [23:37:02]MH_I2C_Read... [23:37:02]*** Stop cut motor [23:37:02]*** Cut end [23:37:02]Read from MH i2c: 01 07 00 [23:37:02]MH_I2C_Read... [23:37:02]Read from MH i2c: 01 07 00 92 14 00 00 00 00 00 FF 0F BB [23:37:02]process_action close_receipt done [23:37:02]requested_data is exist [23:37:02]produce_requested_data [23:37:02]requested_item fm.sn is exist - process it [23:37:02]wFMCommunicate request_size=4 [23:37:02]MH_SAM_APDU [23:37:02]CAPDU: 80 11 00 00 [23:37:02]Write to MH i2c: E2 08 00 93 14 80 11 00 00 00 00 00 00 21 [23:37:02]Write i2c OK [23:37:02]MH_I2C_Read... [23:37:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:37:02]Read from MH i2c: E2 [23:37:02]MH_I2C_Read... [23:37:02]Read from MH i2c: E2 17 00 [23:37:02]MH_I2C_Read... [23:37:02]Read from MH i2c: E2 17 00 93 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 7B [23:37:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [23:37:02]wFMCommunicate OK [23:37:02]requested_item fd.num is exist - process it [23:37:02]SAM_PROTO_GetFieldsCounters [23:37:02]wFMCommunicate request_size=4 [23:37:02]MH_SAM_APDU [23:37:02]CAPDU: 80 13 00 00 [23:37:02]Write to MH i2c: E2 08 00 94 14 80 13 00 00 00 00 00 00 24 [23:37:02]Write i2c OK [23:37:02]MH_I2C_Read... [23:37:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:37:02]Read from MH i2c: E2 [23:37:02]MH_I2C_Read... [23:37:02]Read from MH i2c: E2 62 00 [23:37:02]MH_I2C_Read... [23:37:02]Read from MH i2c: E2 62 00 94 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 06 58 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 6B 00 00 00 5E 04 04 00 6B 00 00 00 57 04 04 00 6C 00 00 00 19 04 04 00 00 00 00 00 90 00 CD [23:37:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 06 58 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 6B 00 00 00 5E 04 04 00 6B 00 00 00 57 04 04 00 6C 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:37:02]wFMCommunicate OK [23:37:02]SAM_PROTO_GetFieldsCounters done [23:37:02]requested_item shift.num is exist - process it [23:37:02]requested_item shift.opened is exist - process it [23:37:02]req_shift_opened [23:37:02]FM_GetShiftState [23:37:02]SAM_PROTO_GetShiftState [23:37:02]wFMCommunicate request_size=4 [23:37:02]MH_SAM_APDU [23:37:02]CAPDU: 80 13 01 00 [23:37:02]Write to MH i2c: E2 08 00 95 14 80 13 01 00 00 00 00 00 26 [23:37:02]Write i2c OK [23:37:02]MH_I2C_Read... [23:37:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:37:02]Read from MH i2c: E2 [23:37:02]MH_I2C_Read... [23:37:02]Read from MH i2c: E2 0E 00 [23:37:02]MH_I2C_Read... [23:37:02]Read from MH i2c: E2 0E 00 95 14 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 B7 [23:37:02]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [23:37:02]wFMCommunicate OK [23:37:02]SAM_PROTO_GetShiftState done [23:37:02]FM_GetShiftState done [23:37:02]req_shift_opened done [23:37:02]requested_item shift.open_date is exist - process it [23:37:02]req_shift_open_date [23:37:02]req_shift_open_date done [23:37:02]produce_requested_data done [23:37:02]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22534,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [23:37:02]process_action_free close_receipt [23:37:02]json_value_free [23:37:02]json_value_free done [23:37:02]process_json_proto returns [23:37:02]Send response to host [23:37:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22534,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [23:37:02]free response buf [23:37:02]execute_script done [23:37:02]execute_script returns [23:37:02]free content buf [23:37:02]Sock 9.Close socket [23:37:02]Sock 9.Thread stoped [23:37:06]OFD Sender: No OFD packet to send [23:37:11]OFD Sender: No OFD packet to send [23:37:16]OFD Sender: No OFD packet to send [23:37:21]OFD Sender: No OFD packet to send [23:37:26]OFD Sender: No OFD packet to send [23:37:31]OFD Sender: No OFD packet to send [23:37:36]OFD Sender: No OFD packet to send [23:37:41]OFD Sender: No OFD packet to send [23:37:46]OFD Sender: No OFD packet to send [23:37:51]OFD Sender: No OFD packet to send [23:37:56]OFD Sender: No OFD packet to send [23:38:01]OFD Sender: No OFD packet to send [23:38:06]OFD Sender: No OFD packet to send [23:38:11]OFD Sender: No OFD packet to send [23:38:16]OFD Sender: No OFD packet to send [23:38:21]OFD Sender: No OFD packet to send [23:38:26]OFD Sender: No OFD packet to send [23:38:31]OFD Sender: No OFD packet to send [23:38:36]OFD Sender: No OFD packet to send [23:38:41]OFD Sender: No OFD packet to send [23:38:46]OFD Sender: No OFD packet to send [23:38:51]OFD Sender: No OFD packet to send [23:38:56]OFD Sender: No OFD packet to send [23:39:01]OFD Sender: No OFD packet to send [23:39:06]OFD Sender: No OFD packet to send [23:39:11]OFD Sender: No OFD packet to send [23:39:16]OFD Sender: No OFD packet to send [23:39:21]OFD Sender: No OFD packet to send [23:39:26]OFD Sender: No OFD packet to send [23:39:31]OFD Sender: No OFD packet to send [23:39:36]OFD Sender: No OFD packet to send [23:39:41]OFD Sender: No OFD packet to send [23:39:46]OFD Sender: No OFD packet to send [23:39:51]OFD Sender: No OFD packet to send [23:39:56]OFD Sender: No OFD packet to send [23:40:01]OFD Sender: No OFD packet to send [23:40:06]OFD Sender: No OFD packet to send [23:40:11]OFD Sender: No OFD packet to send [23:40:16]OFD Sender: No OFD packet to send [23:40:21]OFD Sender: No OFD packet to send [23:40:26]OFD Sender: No OFD packet to send [23:40:31]OFD Sender: No OFD packet to send [23:40:36]OFD Sender: No OFD packet to send [23:40:41]OFD Sender: No OFD packet to send [23:40:46]OFD Sender: No OFD packet to send [23:40:51]OFD Sender: No OFD packet to send [23:40:56]OFD Sender: No OFD packet to send [23:41:01]OFD Sender: No OFD packet to send [23:41:06]OFD Sender: No OFD packet to send [23:41:11]OFD Sender: No OFD packet to send [23:41:16]OFD Sender: No OFD packet to send [23:41:21]OFD Sender: No OFD packet to send [23:41:26]OFD Sender: No OFD packet to send [23:41:31]OFD Sender: No OFD packet to send [23:41:36]OFD Sender: No OFD packet to send [23:41:41]OFD Sender: No OFD packet to send [23:41:46]OFD Sender: No OFD packet to send [23:41:51]OFD Sender: No OFD packet to send [23:41:56]OFD Sender: No OFD packet to send [23:42:01]OFD Sender: No OFD packet to send [23:42:06]OFD Sender: No OFD packet to send [23:42:12]OFD Sender: No OFD packet to send [23:42:17]OFD Sender: No OFD packet to send [23:42:22]OFD Sender: No OFD packet to send [23:42:27]OFD Sender: No OFD packet to send [23:42:32]OFD Sender: No OFD packet to send [23:42:37]OFD Sender: No OFD packet to send [23:42:42]OFD Sender: No OFD packet to send [23:42:47]OFD Sender: No OFD packet to send [23:42:52]OFD Sender: No OFD packet to send [23:42:57]OFD Sender: No OFD packet to send [23:43:02]OFD Sender: No OFD packet to send [23:43:07]OFD Sender: No OFD packet to send [23:43:12]OFD Sender: No OFD packet to send [23:43:17]OFD Sender: No OFD packet to send [23:43:22]OFD Sender: No OFD packet to send [23:43:27]OFD Sender: No OFD packet to send [23:43:32]OFD Sender: No OFD packet to send [23:43:37]OFD Sender: No OFD packet to send [23:43:42]OFD Sender: No OFD packet to send [23:43:47]OFD Sender: No OFD packet to send [23:43:52]OFD Sender: No OFD packet to send [23:43:57]OFD Sender: No OFD packet to send [23:44:02]OFD Sender: No OFD packet to send [23:44:07]OFD Sender: No OFD packet to send [23:44:12]OFD Sender: No OFD packet to send [23:44:17]OFD Sender: No OFD packet to send [23:44:22]OFD Sender: No OFD packet to send [23:44:27]OFD Sender: No OFD packet to send [23:44:32]OFD Sender: No OFD packet to send [23:44:37]OFD Sender: No OFD packet to send [23:44:42]OFD Sender: No OFD packet to send [23:44:47]OFD Sender: No OFD packet to send [23:44:52]OFD Sender: No OFD packet to send [23:44:57]OFD Sender: No OFD packet to send [23:45:02]OFD Sender: No OFD packet to send [23:45:07]OFD Sender: No OFD packet to send [23:45:12]OFD Sender: No OFD packet to send [23:45:17]OFD Sender: No OFD packet to send [23:45:22]OFD Sender: No OFD packet to send [23:45:27]OFD Sender: No OFD packet to send [23:45:32]OFD Sender: No OFD packet to send [23:45:37]OFD Sender: No OFD packet to send [23:45:42]OFD Sender: No OFD packet to send [23:45:47]OFD Sender: No OFD packet to send [23:45:52]OFD Sender: No OFD packet to send [23:45:57]OFD Sender: No OFD packet to send [23:46:02]OFD Sender: No OFD packet to send [23:46:07]OFD Sender: No OFD packet to send [23:46:12]OFD Sender: No OFD packet to send [23:46:17]OFD Sender: No OFD packet to send [23:46:22]OFD Sender: No OFD packet to send [23:46:27]OFD Sender: No OFD packet to send [23:46:32]OFD Sender: No OFD packet to send [23:46:37]OFD Sender: No OFD packet to send [23:46:42]OFD Sender: No OFD packet to send [23:46:47]OFD Sender: No OFD packet to send [23:46:52]OFD Sender: No OFD packet to send [23:46:57]OFD Sender: No OFD packet to send [23:47:02]OFD Sender: No OFD packet to send [23:47:07]OFD Sender: No OFD packet to send [23:47:12]OFD Sender: No OFD packet to send [23:47:17]OFD Sender: No OFD packet to send [23:47:22]OFD Sender: No OFD packet to send [23:47:27]OFD Sender: No OFD packet to send [23:47:32]OFD Sender: No OFD packet to send [23:47:37]OFD Sender: No OFD packet to send [23:47:42]OFD Sender: No OFD packet to send [23:47:47]OFD Sender: No OFD packet to send [23:47:52]OFD Sender: No OFD packet to send [23:47:57]OFD Sender: No OFD packet to send [23:48:02]OFD Sender: No OFD packet to send [23:48:07]OFD Sender: No OFD packet to send [23:48:12]OFD Sender: No OFD packet to send [23:48:17]OFD Sender: No OFD packet to send [23:48:22]OFD Sender: No OFD packet to send [23:48:27]OFD Sender: No OFD packet to send [23:48:32]OFD Sender: No OFD packet to send [23:48:37]OFD Sender: No OFD packet to send [23:48:42]OFD Sender: No OFD packet to send [23:48:47]OFD Sender: No OFD packet to send [23:48:52]OFD Sender: No OFD packet to send [23:48:57]OFD Sender: No OFD packet to send [23:49:02]OFD Sender: No OFD packet to send [23:49:07]OFD Sender: No OFD packet to send [23:49:12]OFD Sender: No OFD packet to send [23:49:17]OFD Sender: No OFD packet to send [23:49:22]OFD Sender: No OFD packet to send [23:49:27]OFD Sender: No OFD packet to send [23:49:32]OFD Sender: No OFD packet to send [23:49:37]OFD Sender: No OFD packet to send [23:49:42]OFD Sender: No OFD packet to send [23:49:47]OFD Sender: No OFD packet to send [23:49:52]OFD Sender: No OFD packet to send [23:49:57]OFD Sender: No OFD packet to send [23:50:02]OFD Sender: No OFD packet to send [23:50:07]OFD Sender: No OFD packet to send [23:50:12]OFD Sender: No OFD packet to send [23:50:17]OFD Sender: No OFD packet to send [23:50:22]OFD Sender: No OFD packet to send [23:50:27]OFD Sender: No OFD packet to send [23:50:32]OFD Sender: No OFD packet to send [23:50:37]OFD Sender: No OFD packet to send [23:50:42]OFD Sender: No OFD packet to send [23:50:47]OFD Sender: No OFD packet to send [23:50:52]OFD Sender: No OFD packet to send [23:50:57]OFD Sender: No OFD packet to send [23:51:02]OFD Sender: No OFD packet to send [23:51:07]OFD Sender: No OFD packet to send [23:51:12]OFD Sender: No OFD packet to send [23:51:17]OFD Sender: No OFD packet to send [23:51:22]OFD Sender: No OFD packet to send [23:51:27]OFD Sender: No OFD packet to send [23:51:32]OFD Sender: No OFD packet to send [23:51:37]OFD Sender: No OFD packet to send [23:51:37]accept exits with 7 [23:51:37]New connection [23:51:37]New thread 3067583844 created [23:51:37]Thread 3067440484 joined [23:51:37]Waiting for new connection... [23:51:37] Sock 7.Parse request [23:51:37]Sock 7.Check first char [23:51:37]Sock 7.First char is OK [23:51:37]request: POST /json_proto HTTP/1.0 [23:51:37]Method: POST [23:51:37]URL: /json_proto [23:51:37]Method is POST - this is cgi request [23:51:37]url: /json_proto [23:51:37]query_string will be loaded in cgi processing [23:51:37]execute_cgi json_proto POST (null) [23:51:37]execute_cgi path=json_proto method=POST [23:51:37]POST find Content-Length [23:51:37]Host: 172.17.43.4:8080 [23:51:37]Content-Length: 215 [23:51:37]Content-Type: application/json [23:51:37] [23:51:37]POST finish read [23:51:37]Found Content-Length = 215 [23:51:37]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" ] } } [23:51:37]execute_script... [23:51:37]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" ] } } [23:51:37]POST & json_proto [23:51:37]process_json_proto [23:51:37]json parsed OK: [23:51:37]protocol is kg_v1.0 [23:51:37]action value=get_value [23:51:37]process_action get_value [23:51:37]cmd_get_value [23:51:37]process_action get_value done [23:51:37]requested_data is exist [23:51:37]produce_requested_data [23:51:37]requested_item kkm.sn is exist - process it [23:51:37]requested_item kkm.ver is exist - process it [23:51:37]requested_item fm.sn is exist - process it [23:51:37]wFMCommunicate request_size=4 [23:51:37]MH_SAM_APDU [23:51:37]CAPDU: 80 11 00 00 [23:51:37]Write to MH i2c: E2 08 00 96 14 80 11 00 00 00 00 00 00 24 [23:51:37]Write i2c OK [23:51:37]MH_I2C_Read... [23:51:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:51:37]Read from MH i2c: E2 [23:51:37]MH_I2C_Read... [23:51:37]Read from MH i2c: E2 17 00 [23:51:37]MH_I2C_Read... [23:51:37]Read from MH i2c: E2 17 00 96 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 7E [23:51:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [23:51:37]wFMCommunicate OK [23:51:37]requested_item fd.num is exist - process it [23:51:37]SAM_PROTO_GetFieldsCounters [23:51:37]wFMCommunicate request_size=4 [23:51:37]MH_SAM_APDU [23:51:37]CAPDU: 80 13 00 00 [23:51:37]Write to MH i2c: E2 08 00 97 14 80 13 00 00 00 00 00 00 27 [23:51:37]Write i2c OK [23:51:37]MH_I2C_Read... [23:51:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:51:38]Read from MH i2c: E2 [23:51:38]MH_I2C_Read... [23:51:38]Read from MH i2c: E2 62 00 [23:51:38]MH_I2C_Read... [23:51:38]Read from MH i2c: E2 62 00 97 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 06 58 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 6B 00 00 00 5E 04 04 00 6B 00 00 00 57 04 04 00 6C 00 00 00 19 04 04 00 00 00 00 00 90 00 D0 [23:51:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 06 58 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 6B 00 00 00 5E 04 04 00 6B 00 00 00 57 04 04 00 6C 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:51:38]wFMCommunicate OK [23:51:38]SAM_PROTO_GetFieldsCounters done [23:51:38]requested_item shift.num is exist - process it [23:51:38]requested_item shift.opened is exist - process it [23:51:38]req_shift_opened [23:51:38]FM_GetShiftState [23:51:38]SAM_PROTO_GetShiftState [23:51:38]wFMCommunicate request_size=4 [23:51:38]MH_SAM_APDU [23:51:38]CAPDU: 80 13 01 00 [23:51:38]Write to MH i2c: E2 08 00 98 14 80 13 01 00 00 00 00 00 29 [23:51:38]Write i2c OK [23:51:38]MH_I2C_Read... [23:51:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:51:38]Read from MH i2c: E2 [23:51:38]MH_I2C_Read... [23:51:38]Read from MH i2c: E2 0E 00 [23:51:38]MH_I2C_Read... [23:51:38]Read from MH i2c: E2 0E 00 98 14 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 BA [23:51:38]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [23:51:38]wFMCommunicate OK [23:51:38]SAM_PROTO_GetShiftState done [23:51:38]FM_GetShiftState done [23:51:38]req_shift_opened done [23:51:38]requested_item shift.open_date is exist - process it [23:51:38]req_shift_open_date [23:51:38]req_shift_open_date done [23:51:38]produce_requested_data done [23:51:38]produce_requested_data return {"kkm.sn":"0300000061","kkm.ver":"v1.0","fm.sn":"0000000000959358","fd.num":22534,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [23:51:38]process_action_free get_value [23:51:38]json_value_free [23:51:38]json_value_free done [23:51:38]process_json_proto returns [23:51:38]Send response to host [23:51:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000061","kkm.ver":"v1.0","fm.sn":"0000000000959358","fd.num":22534,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [23:51:38]free response buf [23:51:38]execute_script done [23:51:38]execute_script returns [23:51:38]free content buf [23:51:38]Sock 7.Close socket [23:51:38]Sock 7.Thread stoped [23:51:38]accept exits with 9 [23:51:38]New connection [23:51:38]New thread 3067440484 created [23:51:38]Thread 3067583844 joined [23:51:38]Waiting for new connection... [23:51:38] Sock 9.Parse request [23:51:38]Sock 9.Check first char [23:51:38]Sock 9.First char is OK [23:51:38]request: POST /json_proto HTTP/1.0 [23:51:38]Method: POST [23:51:38]URL: /json_proto [23:51:38]Method is POST - this is cgi request [23:51:38]url: /json_proto [23:51:38]query_string will be loaded in cgi processing [23:51:38]execute_cgi json_proto POST (null) [23:51:38]execute_cgi path=json_proto method=POST [23:51:38]POST find Content-Length [23:51:38]Host: 172.17.43.4:8080 [23:51:38]Content-Length: 331 [23:51:38]Content-Type: application/json [23:51:38] [23:51:38]POST finish read [23:51:38]Found Content-Length = 331 [23:51:38]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" ] } } [23:51:38]execute_script... [23:51:38]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" ] } } [23:51:38]POST & json_proto [23:51:38]process_json_proto [23:51:38]json parsed OK: [23:51:38]protocol is kg_v1.0 [23:51:38]action value=get_value [23:51:38]process_action get_value [23:51:38]cmd_get_value [23:51:38]process_action get_value done [23:51:38]requested_data is exist [23:51:38]produce_requested_data [23:51:38]requested_item fm.sale.total is exist - process it [23:51:38]SAM_PROTO_GetFMData [23:51:38]wFMCommunicate request_size=4 [23:51:38]MH_SAM_APDU [23:51:38]CAPDU: 80 13 03 00 [23:51:38]Write to MH i2c: E2 08 00 99 14 80 13 03 00 00 00 00 00 2C [23:51:38]Write i2c OK [23:51:38]MH_I2C_Read... [23:51:38]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:51:38]Read from MH i2c: E2 [23:51:38]MH_I2C_Read... [23:51:38]Read from MH i2c: E2 FD 00 [23:51:38]MH_I2C_Read... [23:51:38]Read from MH i2c: E2 FD 00 99 14 00 BA 04 85 04 B6 04 6E 04 04 00 38 56 00 00 69 04 9C 00 6F 04 04 00 33 56 00 00 B1 04 04 00 D0 E7 53 30 70 04 04 00 D0 E7 53 30 72 04 00 00 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 EA 2B 22 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 27 7B 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 98 00 6F 04 04 00 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 E1 [23:51:38]RAPDU: BA 04 85 04 B6 04 6E 04 04 00 38 56 00 00 69 04 9C 00 6F 04 04 00 33 56 00 00 B1 04 04 00 D0 E7 53 30 70 04 04 00 D0 E7 53 30 72 04 00 00 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 EA 2B 22 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 27 7B 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 98 00 6F 04 04 00 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 [23:51:38]wFMCommunicate OK [23:51:38]wFMCommunicate request_size=4 [23:51:38]MH_SAM_APDU [23:51:38]CAPDU: 80 17 00 00 [23:51:38]Write to MH i2c: E2 08 00 9A 14 80 17 00 00 00 00 00 00 2E [23:51:38]Write i2c OK [23:51:38]MH_I2C_Read... [23:51:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:51:39]Read from MH i2c: E2 [23:51:39]MH_I2C_Read... [23:51:39]Read from MH i2c: E2 FD 00 [23:51:39]MH_I2C_Read... [23:51:39]Read from MH i2c: E2 FD 00 9A 14 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 48 [23:51:39]RAPDU: EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:51:39]wFMCommunicate OK [23:51:39]wFMCommunicate request_size=4 [23:51:39]MH_SAM_APDU [23:51:39]CAPDU: 80 17 00 00 [23:51:39]Write to MH i2c: E2 08 00 9B 14 80 17 00 00 00 00 00 00 2F [23:51:39]Write i2c OK [23:51:39]MH_I2C_Read... [23:51:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:51:39]Read from MH i2c: E2 [23:51:39]MH_I2C_Read... [23:51:39]Read from MH i2c: E2 FD 00 [23:51:39]MH_I2C_Read... [23:51:39]Read from MH i2c: E2 FD 00 9B 14 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 5B [23:51:39]RAPDU: 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:51:39]wFMCommunicate OK [23:51:39]wFMCommunicate request_size=4 [23:51:39]MH_SAM_APDU [23:51:39]CAPDU: 80 17 00 00 [23:51:39]Write to MH i2c: E2 08 00 9C 14 80 17 00 00 00 00 00 00 30 [23:51:39]Write i2c OK [23:51:39]MH_I2C_Read... [23:51:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:51:39]Read from MH i2c: E2 [23:51:39]MH_I2C_Read... [23:51:39]Read from MH i2c: E2 FD 00 [23:51:39]MH_I2C_Read... [23:51:39]Read from MH i2c: E2 FD 00 9C 14 00 00 EF 03 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 90 00 A8 [23:51:39]RAPDU: 00 EF 03 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 90 00 [23:51:39]wFMCommunicate OK [23:51:39]wFMCommunicate request_size=4 [23:51:39]MH_SAM_APDU [23:51:39]CAPDU: 80 17 00 00 [23:51:39]Write to MH i2c: E2 08 00 9D 14 80 17 00 00 00 00 00 00 31 [23:51:39]Write i2c OK [23:51:39]MH_I2C_Read... [23:51:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 212! [23:51:39]Read from MH i2c: E2 [23:51:39]MH_I2C_Read... [23:51:39]Read from MH i2c: E2 D7 00 [23:51:39]MH_I2C_Read... [23:51:39]Read from MH i2c: E2 D7 00 9D 14 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 14 [23:51:39]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:51:39]wFMCommunicate OK [23:51:39]SAM_PROTO_GetFMData done [23:51:39]requested_item fm.sale_refund.total is exist - process it [23:51:39]requested_item fm.buy.total is exist - process it [23:51:39]requested_item shift.sale.total is exist - process it [23:51:39]SAM_PROTO_GetShiftData [23:51:39]wFMCommunicate request_size=4 [23:51:39]MH_SAM_APDU [23:51:39]CAPDU: 80 13 02 00 [23:51:39]Write to MH i2c: E2 08 00 9E 14 80 13 02 00 00 00 00 00 30 [23:51:39]Write i2c OK [23:51:39]MH_I2C_Read... [23:51:40]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:51:40]Read from MH i2c: E2 [23:51:40]MH_I2C_Read... [23:51:40]Read from MH i2c: E2 FD 00 [23:51:40]MH_I2C_Read... [23:51:40]Read from MH i2c: E2 FD 00 9E 14 00 AB 04 AA 04 A7 04 6E 04 04 00 6B 00 00 00 69 04 98 00 6F 04 04 00 6B 00 00 00 B1 04 03 00 40 19 33 70 04 03 00 40 19 33 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 4E 6D 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 C1 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 CA [23:51:40]RAPDU: AB 04 AA 04 A7 04 6E 04 04 00 6B 00 00 00 69 04 98 00 6F 04 04 00 6B 00 00 00 B1 04 03 00 40 19 33 70 04 03 00 40 19 33 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 4E 6D 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 C1 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:51:40]wFMCommunicate OK [23:51:40]wFMCommunicate request_size=4 [23:51:40]MH_SAM_APDU [23:51:40]CAPDU: 80 17 00 00 [23:51:40]Write to MH i2c: E2 08 00 9F 14 80 17 00 00 00 00 00 00 33 [23:51:40]Write i2c OK [23:51:40]MH_I2C_Read... [23:51:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:51:40]Read from MH i2c: E2 [23:51:40]MH_I2C_Read... [23:51:40]Read from MH i2c: E2 FD 00 [23:51:40]MH_I2C_Read... [23:51:40]Read from MH i2c: E2 FD 00 9F 14 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 48 [23:51:40]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 [23:51:40]wFMCommunicate OK [23:51:40]wFMCommunicate request_size=4 [23:51:40]MH_SAM_APDU [23:51:40]CAPDU: 80 17 00 00 [23:51:40]Write to MH i2c: E2 08 00 A0 14 80 17 00 00 00 00 00 00 34 [23:51:40]Write i2c OK [23:51:40]MH_I2C_Read... [23:51:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:51:40]Read from MH i2c: E2 [23:51:40]MH_I2C_Read... [23:51:40]Read from MH i2c: E2 FD 00 [23:51:40]MH_I2C_Read... [23:51:40]Read from MH i2c: E2 FD 00 A0 14 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 E4 [23:51:40]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 [23:51:40]wFMCommunicate OK [23:51:40]wFMCommunicate request_size=4 [23:51:40]MH_SAM_APDU [23:51:40]CAPDU: 80 17 00 00 [23:51:40]Write to MH i2c: E2 08 00 A1 14 80 17 00 00 00 00 00 00 35 [23:51:41]Write i2c OK [23:51:41]MH_I2C_Read... [23:51:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:51:41]Read from MH i2c: E2 [23:51:41]MH_I2C_Read... [23:51:41]Read from MH i2c: E2 FD 00 [23:51:41]MH_I2C_Read... [23:51:41]Read from MH i2c: E2 FD 00 A1 14 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 BB [23:51:41]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 [23:51:41]wFMCommunicate OK [23:51:41]wFMCommunicate request_size=4 [23:51:41]MH_SAM_APDU [23:51:41]CAPDU: 80 17 00 00 [23:51:41]Write to MH i2c: E2 08 00 A2 14 80 17 00 00 00 00 00 00 36 [23:51:41]Write i2c OK [23:51:41]MH_I2C_Read... [23:51:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 197! [23:51:41]Read from MH i2c: E2 [23:51:41]MH_I2C_Read... [23:51:41]Read from MH i2c: E2 C8 00 [23:51:41]MH_I2C_Read... [23:51:41]Read from MH i2c: E2 C8 00 A2 14 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:51:41]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 [23:51:41]wFMCommunicate OK [23:51:41]SAM_PROTO_GetShiftData done [23:51:41]requested_item shift.sale.total_cash is exist - process it [23:51:41]requested_item shift.sale_refund.total is exist - process it [23:51:41]requested_item shift.sale_refund.total_cash is exist - process it [23:51:41]requested_item shift.buy.total is exist - process it [23:51:41]requested_item shift.buy.total_cash is exist - process it [23:51:41]produce_requested_data done [23:51:41]produce_requested_data return {"fm.sale.total":8108052.00,"fm.sale_refund.total":6752.00,"fm.buy.total":0.00,"shift.sale.total":33488.00,"shift.sale.total_cash":33488.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} [23:51:41]process_action_free get_value [23:51:41]json_value_free [23:51:41]json_value_free done [23:51:41]process_json_proto returns [23:51:41]Send response to host [23:51:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8108052.00,"fm.sale_refund.total":6752.00,"fm.buy.total":0.00,"shift.sale.total":33488.00,"shift.sale.total_cash":33488.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}}} [23:51:41]free response buf [23:51:41]execute_script done [23:51:41]execute_script returns [23:51:41]free content buf [23:51:41]Sock 9.Close socket [23:51:41]Sock 9.Thread stoped [23:51:41]accept exits with 7 [23:51:41]New connection [23:51:41]New thread 3067583844 created [23:51:41]Thread 3067440484 joined [23:51:41]Waiting for new connection... [23:51:41] Sock 7.Parse request [23:51:41]Sock 7.Check first char [23:51:41]Sock 7.First char is OK [23:51:41]request: POST /json_proto HTTP/1.0 [23:51:41]Method: POST [23:51:41]URL: /json_proto [23:51:41]Method is POST - this is cgi request [23:51:41]url: /json_proto [23:51:41]query_string will be loaded in cgi processing [23:51:41]execute_cgi json_proto POST (null) [23:51:41]execute_cgi path=json_proto method=POST [23:51:41]POST find Content-Length [23:51:41]Host: 172.17.43.4:8080 [23:51:41]Content-Length: 331 [23:51:41]Content-Type: application/json [23:51:41] [23:51:41]POST finish read [23:51:41]Found Content-Length = 331 [23:51:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:51:41]execute_script... [23:51:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:51:41]POST & json_proto [23:51:41]process_json_proto [23:51:41]json parsed OK: [23:51:41]protocol is kg_v1.0 [23:51:41]action value=get_value [23:51:41]process_action get_value [23:51:41]cmd_get_value [23:51:41]process_action get_value done [23:51:41]requested_data is exist [23:51:41]produce_requested_data [23:51:41]requested_item fm.sale.total is exist - process it [23:51:41]SAM_PROTO_GetFMData [23:51:41]wFMCommunicate request_size=4 [23:51:41]MH_SAM_APDU [23:51:41]CAPDU: 80 13 03 00 [23:51:41]Write to MH i2c: E2 08 00 A3 14 80 13 03 00 00 00 00 00 36 [23:51:41]Write i2c OK [23:51:41]MH_I2C_Read... [23:51:42]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:51:42]Read from MH i2c: E2 [23:51:42]MH_I2C_Read... [23:51:42]Read from MH i2c: E2 FD 00 [23:51:42]MH_I2C_Read... [23:51:42]Read from MH i2c: E2 FD 00 A3 14 00 BA 04 85 04 B6 04 6E 04 04 00 38 56 00 00 69 04 9C 00 6F 04 04 00 33 56 00 00 B1 04 04 00 D0 E7 53 30 70 04 04 00 D0 E7 53 30 72 04 00 00 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 EA 2B 22 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 27 7B 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 98 00 6F 04 04 00 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 EB [23:51:42]RAPDU: BA 04 85 04 B6 04 6E 04 04 00 38 56 00 00 69 04 9C 00 6F 04 04 00 33 56 00 00 B1 04 04 00 D0 E7 53 30 70 04 04 00 D0 E7 53 30 72 04 00 00 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 EA 2B 22 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 27 7B 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 98 00 6F 04 04 00 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 [23:51:42]wFMCommunicate OK [23:51:42]wFMCommunicate request_size=4 [23:51:42]MH_SAM_APDU [23:51:42]CAPDU: 80 17 00 00 [23:51:42]Write to MH i2c: E2 08 00 A4 14 80 17 00 00 00 00 00 00 38 [23:51:42]Write i2c OK [23:51:42]MH_I2C_Read... [23:51:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:51:42]Read from MH i2c: E2 [23:51:42]MH_I2C_Read... [23:51:42]Read from MH i2c: E2 FD 00 [23:51:42]MH_I2C_Read... [23:51:42]Read from MH i2c: E2 FD 00 A4 14 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 52 [23:51:42]RAPDU: EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 OFD Sender: No OFD packet to send [23:51:42]00 70 04 00 00 72 04 00 00 00 90 00 [23:51:42]wFMCommunicate OK [23:51:42]wFMCommunicate request_size=4 [23:51:42]MH_SAM_APDU [23:51:42]CAPDU: 80 17 00 00 [23:51:42]Write to MH i2c: E2 08 00 A5 14 80 17 00 00 00 00 00 00 39 [23:51:42]Write i2c OK [23:51:42]MH_I2C_Read... [23:51:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:51:42]Read from MH i2c: E2 [23:51:42]MH_I2C_Read... [23:51:42]Read from MH i2c: E2 FD 00 [23:51:42]MH_I2C_Read... [23:51:42]Read from MH i2c: E2 FD 00 A5 14 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 65 [23:51:42]RAPDU: 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:51:42]wFMCommunicate OK [23:51:42]wFMCommunicate request_size=4 [23:51:42]MH_SAM_APDU [23:51:42]CAPDU: 80 17 00 00 [23:51:42]Write to MH i2c: E2 08 00 A6 14 80 17 00 00 00 00 00 00 3A [23:51:42]Write i2c OK [23:51:42]MH_I2C_Read... [23:51:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:51:43]Read from MH i2c: E2 [23:51:43]MH_I2C_Read... [23:51:43]Read from MH i2c: E2 FD 00 [23:51:43]MH_I2C_Read... [23:51:43]Read from MH i2c: E2 FD 00 A6 14 00 00 EF 03 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 90 00 B2 [23:51:43]RAPDU: 00 EF 03 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 90 00 [23:51:43]wFMCommunicate OK [23:51:43]wFMCommunicate request_size=4 [23:51:43]MH_SAM_APDU [23:51:43]CAPDU: 80 17 00 00 [23:51:43]Write to MH i2c: E2 08 00 A7 14 80 17 00 00 00 00 00 00 3B [23:51:43]Write i2c OK [23:51:43]MH_I2C_Read... [23:51:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 212! [23:51:43]Read from MH i2c: E2 [23:51:43]MH_I2C_Read... [23:51:43]Read from MH i2c: E2 D7 00 [23:51:43]MH_I2C_Read... [23:51:43]Read from MH i2c: E2 D7 00 A7 14 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 1E [23:51:43]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:51:43]wFMCommunicate OK [23:51:43]SAM_PROTO_GetFMData done [23:51:43]requested_item fm.sale_refund.total is exist - process it [23:51:43]requested_item fm.buy.total is exist - process it [23:51:43]requested_item shift.sale.total is exist - process it [23:51:43]SAM_PROTO_GetShiftData [23:51:43]wFMCommunicate request_size=4 [23:51:43]MH_SAM_APDU [23:51:43]CAPDU: 80 13 02 00 [23:51:43]Write to MH i2c: E2 08 00 A8 14 80 13 02 00 00 00 00 00 3A [23:51:43]Write i2c OK [23:51:43]MH_I2C_Read... [23:51:44]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:51:44]Read from MH i2c: E2 [23:51:44]MH_I2C_Read... [23:51:44]Read from MH i2c: E2 FD 00 [23:51:44]MH_I2C_Read... [23:51:44]Read from MH i2c: E2 FD 00 A8 14 00 AB 04 AA 04 A7 04 6E 04 04 00 6B 00 00 00 69 04 98 00 6F 04 04 00 6B 00 00 00 B1 04 03 00 40 19 33 70 04 03 00 40 19 33 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 4E 6D 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 C1 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D4 [23:51:44]RAPDU: AB 04 AA 04 A7 04 6E 04 04 00 6B 00 00 00 69 04 98 00 6F 04 04 00 6B 00 00 00 B1 04 03 00 40 19 33 70 04 03 00 40 19 33 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 4E 6D 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 C1 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:51:44]wFMCommunicate OK [23:51:44]wFMCommunicate request_size=4 [23:51:44]MH_SAM_APDU [23:51:44]CAPDU: 80 17 00 00 [23:51:44]Write to MH i2c: E2 08 00 A9 14 80 17 00 00 00 00 00 00 3D [23:51:44]Write i2c OK [23:51:44]MH_I2C_Read... [23:51:44]Read from MH i2c: E2 [23:51:44]MH_I2C_Read... [23:51:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:51:44]Read from MH i2c: E2 FD 00 [23:51:44]MH_I2C_Read... [23:51:44]Read from MH i2c: E2 FD 00 A9 14 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 52 [23:51:44]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 [23:51:44]wFMCommunicate OK [23:51:44]wFMCommunicate request_size=4 [23:51:44]MH_SAM_APDU [23:51:44]CAPDU: 80 17 00 00 [23:51:44]Write to MH i2c: E2 08 00 AA 14 80 17 00 00 00 00 00 00 3E [23:51:44]Write i2c OK [23:51:44]MH_I2C_Read... [23:51:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:51:44]Read from MH i2c: E2 [23:51:44]MH_I2C_Read... [23:51:44]Read from MH i2c: E2 FD 00 [23:51:44]MH_I2C_Read... [23:51:44]Read from MH i2c: E2 FD 00 AA 14 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 EE [23:51:45]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 [23:51:45]wFMCommunicate OK [23:51:45]wFMCommunicate request_size=4 [23:51:45]MH_SAM_APDU [23:51:45]CAPDU: 80 17 00 00 [23:51:45]Write to MH i2c: E2 08 00 AB 14 80 17 00 00 00 00 00 00 3F [23:51:45]Write i2c OK [23:51:45]MH_I2C_Read... [23:51:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:51:45]Read from MH i2c: E2 [23:51:45]MH_I2C_Read... [23:51:45]Read from MH i2c: E2 FD 00 [23:51:45]MH_I2C_Read... [23:51:45]Read from MH i2c: E2 FD 00 AB 14 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 C5 [23:51:45]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 [23:51:45]wFMCommunicate OK [23:51:45]wFMCommunicate request_size=4 [23:51:45]MH_SAM_APDU [23:51:45]CAPDU: 80 17 00 00 [23:51:45]Write to MH i2c: E2 08 00 AC 14 80 17 00 00 00 00 00 00 40 [23:51:45]Write i2c OK [23:51:45]MH_I2C_Read... [23:51:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 197! [23:51:45]Read from MH i2c: E2 [23:51:45]MH_I2C_Read... [23:51:45]Read from MH i2c: E2 C8 00 [23:51:45]MH_I2C_Read... [23:51:45]Read from MH i2c: E2 C8 00 AC 14 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 23 [23:51:45]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 [23:51:45]wFMCommunicate OK [23:51:45]SAM_PROTO_GetShiftData done [23:51:45]requested_item shift.sale.total_cash is exist - process it [23:51:45]requested_item shift.sale_refund.total is exist - process it [23:51:45]requested_item shift.sale_refund.total_cash is exist - process it [23:51:45]requested_item shift.buy.total is exist - process it [23:51:45]requested_item shift.buy.total_cash is exist - process it [23:51:45]produce_requested_data done [23:51:45]produce_requested_data return {"fm.sale.total":8108052.00,"fm.sale_refund.total":6752.00,"fm.buy.total":0.00,"shift.sale.total":33488.00,"shift.sale.total_cash":33488.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} [23:51:45]process_action_free get_value [23:51:45]json_value_free [23:51:45]json_value_free done [23:51:45]process_json_proto returns [23:51:45]Send response to host [23:51:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8108052.00,"fm.sale_refund.total":6752.00,"fm.buy.total":0.00,"shift.sale.total":33488.00,"shift.sale.total_cash":33488.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}}} [23:51:45]free response buf [23:51:45]execute_script done [23:51:45]execute_script returns [23:51:45]free content buf [23:51:45]Sock 7.Close socket [23:51:45]Sock 7.Thread stoped [23:51:45]accept exits with 9 [23:51:45]New connection [23:51:45]New thread 3067440484 created [23:51:45]Thread 3067583844 joined [23:51:45]Waiting for new connection... [23:51:45] Sock 9.Parse request [23:51:45]Sock 9.Check first char [23:51:45]Sock 9.First char is OK [23:51:45]request: POST /json_proto HTTP/1.0 [23:51:45]Method: POST [23:51:45]URL: /json_proto [23:51:45]Method is POST - this is cgi request [23:51:45]url: /json_proto [23:51:45]query_string will be loaded in cgi processing [23:51:45]execute_cgi json_proto POST (null) [23:51:45]execute_cgi path=json_proto method=POST [23:51:45]POST find Content-Length [23:51:45]Host: 172.17.43.4:8080 [23:51:45]Content-Length: 251 [23:51:45]Content-Type: application/json [23:51:45] [23:51:45]POST finish read [23:51:45]Found Content-Length = 251 [23:51:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041A\u0430\u0440\u0438\u043C\u043E\u0432 \u0421. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:51:45]execute_script... [23:51:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041A\u0430\u0440\u0438\u043C\u043E\u0432 \u0421. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:51:45]POST & json_proto [23:51:45]process_json_proto [23:51:45]json parsed OK: [23:51:45]protocol is kg_v1.0 [23:51:45]action value=x_report [23:51:45]process_action x_report [23:51:45]cmd_x_report [23:51:45]MH_GetDate [23:51:45]Write to MH i2c: F0 00 00 AD 14 B0 [23:51:45]Write i2c OK [23:51:45]MH_I2C_Read... [23:51:45]Read from MH i2c: F0 [23:51:45]MH_I2C_Read... [23:51:45]Read from MH i2c: F0 09 00 [23:51:45]MH_I2C_Read... [23:51:45]Read from MH i2c: F0 09 00 AD 14 00 14 A2 F4 66 02 BF CF 66 BF [23:51:45]GetLastDocTimeStamp 1727307421 [23:51:45]current date 1727308308 [23:51:45]FM_GetShiftState [23:51:45]SAM_PROTO_GetShiftState [23:51:45]wFMCommunicate request_size=4 [23:51:45]MH_SAM_APDU [23:51:45]CAPDU: 80 13 01 00 [23:51:46]Write to MH i2c: E2 08 00 AE 14 80 13 01 00 00 00 00 00 3F [23:51:46]Write i2c OK [23:51:46]MH_I2C_Read... [23:51:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:51:46]Read from MH i2c: E2 [23:51:46]MH_I2C_Read... [23:51:46]Read from MH i2c: E2 0E 00 [23:51:46]MH_I2C_Read... [23:51:46]Read from MH i2c: E2 0E 00 AE 14 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 D0 [23:51:46]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [23:51:46]wFMCommunicate OK [23:51:46]SAM_PROTO_GetShiftState done [23:51:46]FM_GetShiftState done [23:51:46]KKMCreateXReportDocument [23:51:46]Load OK [23:51:46]Malloc new data [23:51:46]MH_GetDate [23:51:46]Write to MH i2c: F0 00 00 AF 14 B2 [23:51:46]Write i2c OK [23:51:46]MH_I2C_Read... [23:51:46]Read from MH i2c: F0 [23:51:46]MH_I2C_Read... [23:51:46]Read from MH i2c: F0 09 00 [23:51:46]MH_I2C_Read... [23:51:46]Read from MH i2c: F0 09 00 AF 14 00 14 A2 F4 66 02 BF CF 66 C1 [23:51:46]Malloc new data [23:51:46]Malloc new data [23:51:46]wFMCommunicate request_size=4 [23:51:46]MH_SAM_APDU [23:51:46]CAPDU: 80 11 00 00 [23:51:46]Write to MH i2c: E2 08 00 B0 14 80 11 00 00 00 00 00 00 3E [23:51:46]Write i2c OK [23:51:46]MH_I2C_Read... [23:51:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:51:46]Read from MH i2c: E2 [23:51:46]MH_I2C_Read... [23:51:46]Read from MH i2c: E2 17 00 [23:51:46]MH_I2C_Read... [23:51:46]Read from MH i2c: E2 17 00 B0 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 98 [23:51:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [23:51:46]wFMCommunicate OK [23:51:46]SAM_PROTO_GetFieldsCounters [23:51:46]wFMCommunicate request_size=4 [23:51:46]MH_SAM_APDU [23:51:46]CAPDU: 80 13 00 00 [23:51:46]Write to MH i2c: E2 08 00 B1 14 80 13 00 00 00 00 00 00 41 [23:51:46]Write i2c OK [23:51:46]MH_I2C_Read... [23:51:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:51:46]Read from MH i2c: E2 [23:51:46]MH_I2C_Read... [23:51:46]Read from MH i2c: E2 62 00 [23:51:46]MH_I2C_Read... [23:51:46]Read from MH i2c: E2 62 00 B1 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 06 58 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 6B 00 00 00 5E 04 04 00 6B 00 00 00 57 04 04 00 6C 00 00 00 19 04 04 00 00 00 00 00 90 00 EA [23:51:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 06 58 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 6B 00 00 00 5E 04 04 00 6B 00 00 00 57 04 04 00 6C 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:51:46]wFMCommunicate OK [23:51:46]SAM_PROTO_GetFieldsCounters done [23:51:46]Malloc new data [23:51:46]Malloc new data [23:51:46]Malloc new data [23:51:46]KKMCreateXReportDocument OK [23:51:46]KKMSetXReportData OK [23:51:46]KKMPrepareXReportFMData [23:51:46]SAM_PROTO_GetShiftData [23:51:46]wFMCommunicate request_size=4 [23:51:46]MH_SAM_APDU [23:51:46]CAPDU: 80 13 02 00 [23:51:46]Write to MH i2c: E2 08 00 B2 14 80 13 02 00 00 00 00 00 44 [23:51:46]Write i2c OK [23:51:46]MH_I2C_Read... [23:51:46]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:51:46]Read from MH i2c: E2 [23:51:46]MH_I2C_Read... [23:51:46]Read from MH i2c: E2 FD 00 [23:51:46]MH_I2C_Read... [23:51:46]Read from MH i2c: E2 FD 00 B2 14 00 AB 04 AA 04 A7 04 6E 04 04 00 6B 00 00 00 69 04 98 00 6F 04 04 00 6B 00 00 00 B1 04 03 00 40 19 33 70 04 03 00 40 19 33 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 4E 6D 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 C1 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 DE [23:51:46]RAPDU: AB 04 AA 04 A7 04 6E 04 04 00 6B 00 00 00 69 04 98 00 6F 04 04 00 6B 00 00 00 B1 04 03 00 40 19 33 70 04 03 00 40 19 33 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 4E 6D 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 C1 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:51:47]wFMCommunicate OK [23:51:47]wFMCommunicate request_size=4 [23:51:47]MH_SAM_APDU [23:51:47]CAPDU: 80 17 00 00 [23:51:47]Write to MH i2c: E2 08 00 B3 14 80 17 00 00 00 00 00 00 47 [23:51:47]Write i2c OK [23:51:47]MH_I2C_Read... [23:51:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:51:47]Read from MH i2c: E2 [23:51:47]MH_I2C_Read... [23:51:47]Read from MH i2c: E2 FD 00 [23:51:47]MH_I2C_Read... [23:51:47]Read from MH i2c: E2 FD 00 B3 14 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 5C [23:51:47]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 [23:51:47]wFMCommunicate OK [23:51:47]wFMCommunicate request_size=4 [23:51:47]MH_SAM_APDU [23:51:47]CAPDU: 80 17 00 00 [23:51:47]Write to MH i2c: E2 08 00 B4 14 80 17 00 00 00 00 00 00 48 [23:51:47]Write i2c OK [23:51:47]MH_I2C_Read... [23:51:47]OFD Sender: No OFD packet to send [23:51:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:51:47]Read from MH i2c: E2 [23:51:47]MH_I2C_Read... [23:51:47]Read from MH i2c: E2 FD 00 [23:51:47]MH_I2C_Read... [23:51:47]Read from MH i2c: E2 FD 00 B4 14 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F8 [23:51:47]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 [23:51:48]wFMCommunicate OK [23:51:48]wFMCommunicate request_size=4 [23:51:48]MH_SAM_APDU [23:51:48]CAPDU: 80 17 00 00 [23:51:48]Write to MH i2c: E2 08 00 B5 14 80 17 00 00 00 00 00 00 49 [23:51:48]Write i2c OK [23:51:48]MH_I2C_Read... [23:51:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:51:48]Read from MH i2c: E2 [23:51:48]MH_I2C_Read... [23:51:48]Read from MH i2c: E2 FD 00 [23:51:48]MH_I2C_Read... [23:51:48]Read from MH i2c: E2 FD 00 B5 14 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 CF [23:51:48]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 [23:51:48]wFMCommunicate OK [23:51:48]wFMCommunicate request_size=4 [23:51:48]MH_SAM_APDU [23:51:48]CAPDU: 80 17 00 00 [23:51:48]Write to MH i2c: E2 08 00 B6 14 80 17 00 00 00 00 00 00 4A [23:51:48]Write i2c OK [23:51:48]MH_I2C_Read... [23:51:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 197! [23:51:48]Read from MH i2c: E2 [23:51:48]MH_I2C_Read... [23:51:48]Read from MH i2c: E2 C8 00 [23:51:48]MH_I2C_Read... [23:51:48]Read from MH i2c: E2 C8 00 B6 14 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 2D [23:51:48]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 [23:51:48]wFMCommunicate OK [23:51:48]SAM_PROTO_GetShiftData done [23:51:48]1194 (1191) - счетчики итогов смены [23:51:48] 1134 (4) - 107 - количество чеков со всеми признаками расчетов [23:51:48] 1129 (152) - счетчики операций «приход» [23:51:48] 1135 (4) - 107 - количество чеков по признаку расчетов [23:51:48] 1201 (3) - 33488.00 - общая итоговая сумма в чеках [23:51:48] 1136 (3) - 33488.00 - итоговая сумма в чеках наличными [23:51:48] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:51:48] 1024 (122) - суммы налогов [23:51:48] 1006 (9) - суммы НДС [23:51:48] 1010 (1) - 0% - код ставки НДС [23:51:48] 1011 (0) - 0.00 - сумма НДС по ставке [23:51:48] 1006 (12) - суммы НДС [23:51:48] 1010 (1) - 12% - код ставки НДС [23:51:48] 1011 (3) - 3556.62 - сумма НДС по ставке [23:51:48] 1007 (9) - суммы НСП [23:51:48] 1014 (1) - 0% - код ставки НСП [23:51:48] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:48] 1007 (11) - суммы НСП [23:51:48] 1014 (1) - 1% - код ставки НСП [23:51:48] 1015 (2) - 296.33 - сумма НСП по ставке [23:51:48] 1007 (9) - суммы НСП [23:51:48] 1014 (1) - 2% - код ставки НСП [23:51:48] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:48] 1007 (9) - суммы НСП [23:51:48] 1014 (1) - 3% - код ставки НСП [23:51:48] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:48] 1007 (9) - суммы НСП [23:51:48] 1014 (1) - 5% - код ставки НСП [23:51:48] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:49] 1007 (9) - суммы НСП [23:51:49] 1014 (1) - 0,50% - код ставки НСП [23:51:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:49] 1007 (9) - суммы НСП [23:51:49] 1014 (1) - 1,50% - код ставки НСП [23:51:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:49] 1130 (141) - счетчики операций «возврат прихода» [23:51:49] 1135 (4) - 0 - количество чеков по признаку расчетов [23:51:49] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:51:49] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:51:49] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:51:49] 1024 (117) - суммы налогов [23:51:49] 1006 (9) - суммы НДС [23:51:49] 1010 (1) - 0% - код ставки НДС [23:51:49] 1011 (0) - 0.00 - сумма НДС по ставке [23:51:49] 1006 (9) - суммы НДС [23:51:49] 1010 (1) - 12% - код ставки НДС [23:51:49] 1011 (0) - 0.00 - сумма НДС по ставке [23:51:49] 1007 (9) - суммы НСП [23:51:49] 1014 (1) - 0% - код ставки НСП [23:51:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:49] 1007 (9) - суммы НСП [23:51:49] 1014 (1) - 1% - код ставки НСП [23:51:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:49] 1007 (9) - суммы НСП [23:51:49] 1014 (1) - 2% - код ставки НСП [23:51:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:49] 1007 (9) - суммы НСП [23:51:49] 1014 (1) - 3% - код ставки НСП [23:51:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:49] 1007 (9) - суммы НСП [23:51:49] 1014 (1) - 5% - код ставки НСП [23:51:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:49] 1007 (9) - суммы НСП [23:51:49] 1014 (1) - 0,50% - код ставки НСП [23:51:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:49] 1007 (9) - суммы НСП [23:51:49] 1014 (1) - 1,50% - код ставки НСП [23:51:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:49] 1131 (141) - счетчики операций «расход» [23:51:49] 1135 (4) - 0 - количество чеков по признаку расчетов [23:51:49] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:51:49] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:51:49] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:51:49] 1024 (117) - суммы налогов [23:51:49] 1006 (9) - суммы НДС [23:51:49] 1010 (1) - 0% - код ставки НДС [23:51:49] 1011 (0) - 0.00 - сумма НДС по ставке [23:51:49] 1006 (9) - суммы НДС [23:51:49] 1010 (1) - 12% - код ставки НДС [23:51:49] 1011 (0) - 0.00 - сумма НДС по ставке [23:51:49] 1007 (9) - суммы НСП [23:51:49] 1014 (1) - 0% - код ставки НСП [23:51:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:49] 1007 (9) - суммы НСП [23:51:49] 1014 (1) - 1% - код ставки НСП [23:51:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:49] 1007 (9) - суммы НСП [23:51:49] 1014 (1) - 2% - код ставки НСП [23:51:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:49] 1007 (9) - суммы НСП [23:51:49] 1014 (1) - 3% - код ставки НСП [23:51:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:49] 1007 (9) - суммы НСП [23:51:49] 1014 (1) - 5% - код ставки НСП [23:51:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:49] 1007 (9) - суммы НСП [23:51:49] 1014 (1) - 0,50% - код ставки НСП [23:51:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:49] 1007 (9) - суммы НСП [23:51:49] 1014 (1) - 1,50% - код ставки НСП [23:51:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:49] 1132 (141) - счетчики операций «возврат расхода» [23:51:49] 1135 (4) - 0 - количество чеков по признаку расчетов [23:51:49] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:51:49] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:51:49] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:51:49] 1024 (117) - суммы налогов [23:51:49] 1006 (9) - суммы НДС [23:51:49] 1010 (1) - 0% - код ставки НДС [23:51:49] 1011 (0) - 0.00 - сумма НДС по ставке [23:51:49] 1006 (9) - суммы НДС [23:51:49] 1010 (1) - 12% - код ставки НДС [23:51:49] 1011 (0) - 0.00 - сумма НДС по ставке [23:51:49] 1007 (9) - суммы НСП [23:51:49] 1014 (1) - 0% - код ставки НСП [23:51:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:49] 1007 (9) - суммы НСП [23:51:49] 1014 (1) - 1% - код ставки НСП [23:51:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:49] 1007 (9) - суммы НСП [23:51:49] 1014 (1) - 2% - код ставки НСП [23:51:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:49] 1007 (9) - суммы НСП [23:51:49] 1014 (1) - 3% - код ставки НСП [23:51:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:49] 1007 (9) - суммы НСП [23:51:49] 1014 (1) - 5% - код ставки НСП [23:51:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:49] 1007 (9) - суммы НСП [23:51:49] 1014 (1) - 0,50% - код ставки НСП [23:51:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:49] 1007 (9) - суммы НСП [23:51:49] 1014 (1) - 1,50% - код ставки НСП [23:51:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:51:49] 1133 (588) - - счетчики коррекции - не используются [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1194 (04AA) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1134 (046E) [23:51:49]Malloc new data [23:51:49]Processing tag 1129 (0469) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1135 (046F) [23:51:49]Malloc new data [23:51:49]Processing tag 1201 (04B1) [23:51:49]Malloc new data [23:51:49]Processing tag 1136 (0470) [23:51:49]Malloc new data [23:51:49]Processing tag 1138 (0472) [23:51:49]Malloc new data [23:51:49]Processing tag 1024 (0400) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1006 (03EE) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1010 (03F2) [23:51:49]Malloc new data [23:51:49]Processing tag 1011 (03F3) [23:51:49]Malloc new data [23:51:49]SetTLVBufToDocument err=0 [23:51:49]Processing tag 1006 (03EE) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1010 (03F2) [23:51:49]Malloc new data [23:51:49]Processing tag 1011 (03F3) [23:51:49]Malloc new data [23:51:49]SetTLVBufToDocument err=0 [23:51:49]Processing tag 1007 (03EF) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1014 (03F6) [23:51:49]Malloc new data [23:51:49]Processing tag 1015 (03F7) [23:51:49]Malloc new data [23:51:49]SetTLVBufToDocument err=0 [23:51:49]Processing tag 1007 (03EF) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1014 (03F6) [23:51:49]Malloc new data [23:51:49]Processing tag 1015 (03F7) [23:51:49]Malloc new data [23:51:49]SetTLVBufToDocument err=0 [23:51:49]Processing tag 1007 (03EF) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1014 (03F6) [23:51:49]Malloc new data [23:51:49]Processing tag 1015 (03F7) [23:51:49]Malloc new data [23:51:49]SetTLVBufToDocument err=0 [23:51:49]Processing tag 1007 (03EF) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1014 (03F6) [23:51:49]Malloc new data [23:51:49]Processing tag 1015 (03F7) [23:51:49]Malloc new data [23:51:49]SetTLVBufToDocument err=0 [23:51:49]Processing tag 1007 (03EF) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1014 (03F6) [23:51:49]Malloc new data [23:51:49]Processing tag 1015 (03F7) [23:51:49]Malloc new data [23:51:49]SetTLVBufToDocument err=0 [23:51:49]Processing tag 1007 (03EF) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1014 (03F6) [23:51:49]Malloc new data [23:51:49]Processing tag 1015 (03F7) [23:51:49]Malloc new data [23:51:49]SetTLVBufToDocument err=0 [23:51:49]Processing tag 1007 (03EF) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1014 (03F6) [23:51:49]Malloc new data [23:51:49]Processing tag 1015 (03F7) [23:51:49]Malloc new data [23:51:49]SetTLVBufToDocument err=0 [23:51:49]SetTLVBufToDocument err=0 [23:51:49]SetTLVBufToDocument err=0 [23:51:49]Processing tag 1130 (046A) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1135 (046F) [23:51:49]Malloc new data [23:51:49]Processing tag 1201 (04B1) [23:51:49]Malloc new data [23:51:49]Processing tag 1136 (0470) [23:51:49]Malloc new data [23:51:49]Processing tag 1138 (0472) [23:51:49]Malloc new data [23:51:49]Processing tag 1024 (0400) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1006 (03EE) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1010 (03F2) [23:51:49]Malloc new data [23:51:49]Processing tag 1011 (03F3) [23:51:49]Malloc new data [23:51:49]SetTLVBufToDocument err=0 [23:51:49]Processing tag 1006 (03EE) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1010 (03F2) [23:51:49]Malloc new data [23:51:49]Processing tag 1011 (03F3) [23:51:49]Malloc new data [23:51:49]SetTLVBufToDocument err=0 [23:51:49]Processing tag 1007 (03EF) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1014 (03F6) [23:51:49]Malloc new data [23:51:49]Processing tag 1015 (03F7) [23:51:49]Malloc new data [23:51:49]SetTLVBufToDocument err=0 [23:51:49]Processing tag 1007 (03EF) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1014 (03F6) [23:51:49]Malloc new data [23:51:49]Processing tag 1015 (03F7) [23:51:49]Malloc new data [23:51:49]SetTLVBufToDocument err=0 [23:51:49]Processing tag 1007 (03EF) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1014 (03F6) [23:51:49]Malloc new data [23:51:49]Processing tag 1015 (03F7) [23:51:49]Malloc new data [23:51:49]SetTLVBufToDocument err=0 [23:51:49]Processing tag 1007 (03EF) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1014 (03F6) [23:51:49]Malloc new data [23:51:49]Processing tag 1015 (03F7) [23:51:49]Malloc new data [23:51:49]SetTLVBufToDocument err=0 [23:51:49]Processing tag 1007 (03EF) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1014 (03F6) [23:51:49]Malloc new data [23:51:49]Processing tag 1015 (03F7) [23:51:49]Malloc new data [23:51:49]SetTLVBufToDocument err=0 [23:51:49]Processing tag 1007 (03EF) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1014 (03F6) [23:51:49]Malloc new data [23:51:49]Processing tag 1015 (03F7) [23:51:49]Malloc new data [23:51:49]SetTLVBufToDocument err=0 [23:51:49]Processing tag 1007 (03EF) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1014 (03F6) [23:51:49]Malloc new data [23:51:49]Processing tag 1015 (03F7) [23:51:49]Malloc new data [23:51:49]SetTLVBufToDocument err=0 [23:51:49]SetTLVBufToDocument err=0 [23:51:49]SetTLVBufToDocument err=0 [23:51:49]Processing tag 1131 (046B) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1135 (046F) [23:51:49]Malloc new data [23:51:49]Processing tag 1201 (04B1) [23:51:49]Malloc new data [23:51:49]Processing tag 1136 (0470) [23:51:49]Malloc new data [23:51:49]Processing tag 1138 (0472) [23:51:49]Malloc new data [23:51:49]Processing tag 1024 (0400) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1006 (03EE) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1010 (03F2) [23:51:49]Malloc new data [23:51:49]Processing tag 1011 (03F3) [23:51:49]Malloc new data [23:51:49]SetTLVBufToDocument err=0 [23:51:49]Processing tag 1006 (03EE) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1010 (03F2) [23:51:49]Malloc new data [23:51:49]Processing tag 1011 (03F3) [23:51:49]Malloc new data [23:51:49]SetTLVBufToDocument err=0 [23:51:49]Processing tag 1007 (03EF) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1014 (03F6) [23:51:49]Malloc new data [23:51:49]Processing tag 1015 (03F7) [23:51:49]Malloc new data [23:51:49]SetTLVBufToDocument err=0 [23:51:49]Processing tag 1007 (03EF) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1014 (03F6) [23:51:49]Malloc new data [23:51:49]Processing tag 1015 (03F7) [23:51:49]Malloc new data [23:51:49]SetTLVBufToDocument err=0 [23:51:49]Processing tag 1007 (03EF) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1014 (03F6) [23:51:49]Malloc new data [23:51:49]Processing tag 1015 (03F7) [23:51:49]Malloc new data [23:51:49]SetTLVBufToDocument err=0 [23:51:49]Processing tag 1007 (03EF) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1014 (03F6) [23:51:49]Malloc new data [23:51:49]Processing tag 1015 (03F7) [23:51:49]Malloc new data [23:51:49]SetTLVBufToDocument err=0 [23:51:49]Processing tag 1007 (03EF) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1014 (03F6) [23:51:49]Malloc new data [23:51:49]Processing tag 1015 (03F7) [23:51:49]Malloc new data [23:51:49]SetTLVBufToDocument err=0 [23:51:49]Processing tag 1007 (03EF) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1014 (03F6) [23:51:49]Malloc new data [23:51:49]Processing tag 1015 (03F7) [23:51:49]Malloc new data [23:51:49]SetTLVBufToDocument err=0 [23:51:49]Processing tag 1007 (03EF) [23:51:49]Load OK [23:51:49]SetTLVBufToDocument [23:51:49]Processing tag 1014 (03F6) [23:51:50]Malloc new data [23:51:50]Processing tag 1015 (03F7) [23:51:50]Malloc new data [23:51:50]SetTLVBufToDocument err=0 [23:51:50]SetTLVBufToDocument err=0 [23:51:50]SetTLVBufToDocument err=0 [23:51:50]Processing tag 1132 (046C) [23:51:50]Load OK [23:51:50]SetTLVBufToDocument [23:51:50]Processing tag 1135 (046F) [23:51:50]Malloc new data [23:51:50]Processing tag 1201 (04B1) [23:51:50]Malloc new data [23:51:50]Processing tag 1136 (0470) [23:51:50]Malloc new data [23:51:50]Processing tag 1138 (0472) [23:51:50]Malloc new data [23:51:50]Processing tag 1024 (0400) [23:51:50]Load OK [23:51:50]SetTLVBufToDocument [23:51:50]Processing tag 1006 (03EE) [23:51:50]Load OK [23:51:50]SetTLVBufToDocument [23:51:50]Processing tag 1010 (03F2) [23:51:50]Malloc new data [23:51:50]Processing tag 1011 (03F3) [23:51:50]Malloc new data [23:51:50]SetTLVBufToDocument err=0 [23:51:50]Processing tag 1006 (03EE) [23:51:50]Load OK [23:51:50]SetTLVBufToDocument [23:51:50]Processing tag 1010 (03F2) [23:51:50]Malloc new data [23:51:50]Processing tag 1011 (03F3) [23:51:50]Malloc new data [23:51:50]SetTLVBufToDocument err=0 [23:51:50]Processing tag 1007 (03EF) [23:51:50]Load OK [23:51:50]SetTLVBufToDocument [23:51:50]Processing tag 1014 (03F6) [23:51:50]Malloc new data [23:51:50]Processing tag 1015 (03F7) [23:51:50]Malloc new data [23:51:50]SetTLVBufToDocument err=0 [23:51:50]Processing tag 1007 (03EF) [23:51:50]Load OK [23:51:50]SetTLVBufToDocument [23:51:50]Processing tag 1014 (03F6) [23:51:50]Malloc new data [23:51:50]Processing tag 1015 (03F7) [23:51:50]Malloc new data [23:51:50]SetTLVBufToDocument err=0 [23:51:50]Processing tag 1007 (03EF) [23:51:50]Load OK [23:51:50]SetTLVBufToDocument [23:51:50]Processing tag 1014 (03F6) [23:51:50]Malloc new data [23:51:50]Processing tag 1015 (03F7) [23:51:50]Malloc new data [23:51:50]SetTLVBufToDocument err=0 [23:51:50]Processing tag 1007 (03EF) [23:51:50]Load OK [23:51:50]SetTLVBufToDocument [23:51:50]Processing tag 1014 (03F6) [23:51:50]Malloc new data [23:51:50]Processing tag 1015 (03F7) [23:51:50]Malloc new data [23:51:50]SetTLVBufToDocument err=0 [23:51:50]Processing tag 1007 (03EF) [23:51:50]Load OK [23:51:50]SetTLVBufToDocument [23:51:50]Processing tag 1014 (03F6) [23:51:50]Malloc new data [23:51:50]Processing tag 1015 (03F7) [23:51:50]Malloc new data [23:51:50]SetTLVBufToDocument err=0 [23:51:50]Processing tag 1007 (03EF) [23:51:50]Load OK [23:51:50]SetTLVBufToDocument [23:51:50]Processing tag 1014 (03F6) [23:51:50]Malloc new data [23:51:50]Processing tag 1015 (03F7) [23:51:50]Malloc new data [23:51:50]SetTLVBufToDocument err=0 [23:51:50]Processing tag 1007 (03EF) [23:51:50]Load OK [23:51:50]SetTLVBufToDocument [23:51:50]Processing tag 1014 (03F6) [23:51:50]Malloc new data [23:51:50]Processing tag 1015 (03F7) [23:51:50]Malloc new data [23:51:50]SetTLVBufToDocument err=0 [23:51:50]SetTLVBufToDocument err=0 [23:51:50]SetTLVBufToDocument err=0 [23:51:50]Processing tag 1133 (046D) [23:51:50]Malloc new data [23:51:50]SetTLVBufToDocument err=0 [23:51:50]SetTLVBufToDocument err=0 [23:51:50]Malloc new data [23:51:50]SAM_PROTO_GetFMData [23:51:50]wFMCommunicate request_size=4 [23:51:50]MH_SAM_APDU [23:51:50]CAPDU: 80 13 03 00 [23:51:50]Write to MH i2c: E2 08 00 B7 14 80 13 03 00 00 00 00 00 4A [23:51:50]Write i2c OK [23:51:50]MH_I2C_Read... [23:51:50]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:51:50]Read from MH i2c: E2 [23:51:50]MH_I2C_Read... [23:51:50]Read from MH i2c: E2 FD 00 [23:51:50]MH_I2C_Read... [23:51:50]Read from MH i2c: E2 FD 00 B7 14 00 BA 04 85 04 B6 04 6E 04 04 00 38 56 00 00 69 04 9C 00 6F 04 04 00 33 56 00 00 B1 04 04 00 D0 E7 53 30 70 04 04 00 D0 E7 53 30 72 04 00 00 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 EA 2B 22 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 27 7B 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 98 00 6F 04 04 00 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 FF [23:51:50]RAPDU: BA 04 85 04 B6 04 6E 04 04 00 38 56 00 00 69 04 9C 00 6F 04 04 00 33 56 00 00 B1 04 04 00 D0 E7 53 30 70 04 04 00 D0 E7 53 30 72 04 00 00 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 EA 2B 22 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 27 7B 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 98 00 6F 04 04 00 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 [23:51:50]wFMCommunicate OK [23:51:50]wFMCommunicate request_size=4 [23:51:50]MH_SAM_APDU [23:51:50]CAPDU: 80 17 00 00 [23:51:50]Write to MH i2c: E2 08 00 B8 14 80 17 00 00 00 00 00 00 4C [23:51:50]Write i2c OK [23:51:50]MH_I2C_Read... [23:51:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:51:51]Read from MH i2c: E2 [23:51:51]MH_I2C_Read... [23:51:51]Read from MH i2c: E2 FD 00 [23:51:51]MH_I2C_Read... [23:51:51]Read from MH i2c: E2 FD 00 B8 14 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 66 [23:51:51]RAPDU: EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:51:51]wFMCommunicate OK [23:51:51]wFMCommunicate request_size=4 [23:51:51]MH_SAM_APDU [23:51:51]CAPDU: 80 17 00 00 [23:51:51]Write to MH i2c: E2 08 00 B9 14 80 17 00 00 00 00 00 00 4D [23:51:51]Write i2c OK [23:51:51]MH_I2C_Read... [23:51:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:51:51]Read from MH i2c: E2 [23:51:51]MH_I2C_Read... [23:51:51]Read from MH i2c: E2 FD 00 [23:51:51]MH_I2C_Read... [23:51:51]Read from MH i2c: E2 FD 00 B9 14 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 79 [23:51:51]RAPDU: 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:51:51]wFMCommunicate OK [23:51:51]wFMCommunicate request_size=4 [23:51:51]MH_SAM_APDU [23:51:51]CAPDU: 80 17 00 00 [23:51:51]Write to MH i2c: E2 08 00 BA 14 80 17 00 00 00 00 00 00 4E [23:51:51]Write i2c OK [23:51:51]MH_I2C_Read... [23:51:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:51:52]Read from MH i2c: E2 [23:51:52]MH_I2C_Read... [23:51:52]Read from MH i2c: E2 FD 00 [23:51:52]MH_I2C_Read... [23:51:52]Read from MH i2c: E2 FD 00 BA 14 00 00 EF 03 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 90 00 C6 [23:51:52]RAPDU: 00 EF 03 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 90 00 [23:51:52]wFMCommunicate OK [23:51:52]wFMCommunicate request_size=4 [23:51:52]MH_SAM_APDU [23:51:52]CAPDU: 80 17 00 00 [23:51:52]Write to MH i2c: E2 08 00 BB 14 80 17 00 00 00 00 00 00 4F [23:51:52]Write i2c OK [23:51:52]MH_I2C_Read... [23:51:52]Read from MH i2c: E2 [23:51:52]MH_I2C_Read... [23:51:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 212! [23:51:52]Read from MH i2c: E2 D7 00 [23:51:52]MH_I2C_Read... [23:51:52]Read from MH i2c: E2 D7 00 BB 14 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 32 [23:51:52]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 OFD Sender: No OFD packet to send [23:51:52]EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:51:53]wFMCommunicate OK [23:51:53]SAM_PROTO_GetFMData done [23:51:53]FM_GetFMData:85 04 B6 04 6E 04 04 00 38 56 00 00 69 04 9C 00 6F 04 04 00 33 56 00 00 B1 04 04 00 D0 E7 53 30 70 04 04 00 D0 E7 53 30 72 04 00 00 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 EA 2B 22 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 27 7B 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 98 00 6F 04 04 00 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:51:53]oper:6F 04 04 00 33 56 00 00 B1 04 04 00 D0 E7 53 30 70 04 04 00 D0 E7 53 30 72 04 00 00 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 EA 2B 22 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 27 7B 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:51:53]total:D0 E7 53 30 [23:51:53]Malloc new data [23:51:53]oper:6F 04 04 00 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:51:53]total:80 4D 0A [23:51:53]Malloc new data [23:51:53]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:51:54]total: [23:51:54]Malloc new data [23:51:54]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:51:54]total: [23:51:54]Malloc new data [23:51:54]KKMPrepareXReportFMData err=0 [23:51:54]Х отчет ИНН: 02508201610067 Кассир: Каримов С. 25.09.2024 23:51 Смена: 10 РНМ: 0000000000146243 ЗНМ: 0300000061 СНО: Общий режим Всего чеков: 107 ИТОГИ ПРИХОД Чеков: 107 Общий итог: 33488.00 Итого наличными: 33488.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 3556.62 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 296.33 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 33488.00 НС Приход: 8108052.00 НС Возвр.Прихода: 6752.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000959358 [23:51:54]StoreToDocumentArchive [23:51:54]MH_GetDate [23:51:54]Write to MH i2c: F0 00 00 BC 14 BF [23:51:54]Write i2c OK [23:51:54]MH_I2C_Read... [23:51:54]Read from MH i2c: F0 [23:51:54]MH_I2C_Read... [23:51:54]Read from MH i2c: F0 09 00 [23:51:54]MH_I2C_Read... [23:51:54]Read from MH i2c: F0 09 00 BC 14 00 1C A2 F4 66 02 BF CF 66 D6 [23:51:54]shift 10 fd 1727308316 [23:51:54]Create dir for shift 0010 [23:51:54]save to /storage/0010/doc_1727308316 [23:51:54]save last doc name /storage/0010/doc_1727308316 to /storage/kkm_last_doc_name [23:51:54]save OK [23:51:54]Clear old archive folders... [23:51:54]NVStorageSaveData kkm_last_timestamp [23:51:54]File name is /storage/kkm_last_timestamp [23:51:54]Write 4 bytes [23:51:54]NVStorageSaveData done [23:51:54]ExternCall_PrintAddStr [23:51:54]wPrintStart [23:51:54]Write to MH i2c: 01 00 00 BD 14 D1 [23:51:54]Write i2c OK [23:51:54]MH_I2C_Read... [23:51:54]Read from MH i2c: 01 [23:51:54]MH_I2C_Read... [23:51:54]Read from MH i2c: 01 07 00 [23:51:54]MH_I2C_Read... [23:51:54]Read from MH i2c: 01 07 00 BD 14 00 00 00 00 00 FF 0F E6 [23:51:54]RasterBufferAndPrint [23:51:54]line Х отчет [23:51:54]line ИНН: 02508201610067 [23:51:54]line Кассир: Каримов С. [23:51:54]line 25.09.2024 23:51 [23:51:54]line Смена: 10 [23:51:54]line РНМ: 0000000000146243 [23:51:54]line ЗНМ: 0300000061 [23:51:54]line СНО: Общий режим [23:51:54]line Всего чеков: 107 [23:51:54]line ИТОГИ ПРИХОД [23:51:54]line Чеков: 107 [23:51:54]line Общий итог: 33488.00 [23:51:54]line Итого наличными: 33488.00 [23:51:54]line Итого безнал.: 0.00 [23:51:54]line НДС 0% : 0.00 [23:51:54]line НДС 12% : 3556.62 [23:51:54]line НСП 0% : 0.00 [23:51:54]line НСП 1,50% : 0.00 [23:51:54]line НСП 0,50% : 0.00 [23:51:54]line НСП 5% : 0.00 [23:51:54]line НСП 3% : 0.00 [23:51:54]line НСП 2% : 0.00 [23:51:54]line НСП 1% : 296.33 [23:51:54]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:51:54]line Чеков: 0 [23:51:54]line Общий итог: 0.00 [23:51:54]line Итого наличными: 0.00 [23:51:54]line Итого безнал.: 0.00 [23:51:54]line НДС 0% : 0.00 [23:51:54]line НДС 12% : 0.00 [23:51:54]line НСП 0% : 0.00 [23:51:54]line НСП 1,50% : 0.00 [23:51:54]line НСП 0,50% : 0.00 [23:51:54]line НСП 5% : 0.00 [23:51:54]line НСП 3% : 0.00 [23:51:54]line НСП 2% : 0.00 [23:51:54]line НСП 1% : 0.00 [23:51:54]line ИТОГИ РАСХОД [23:51:54]line Чеков: 0 [23:51:54]line Общий итог: 0.00 [23:51:54]line Итого наличными: 0.00 [23:51:54]line Итого безнал.: 0.00 [23:51:54]line НДС 0% : 0.00 [23:51:54]line НДС 12% : 0.00 [23:51:54]line НСП 0% : 0.00 [23:51:54]line НСП 1,50% : 0.00 [23:51:54]line НСП 0,50% : 0.00 [23:51:54]line НСП 5% : 0.00 [23:51:54]line НСП 3% : 0.00 [23:51:54]line НСП 2% : 0.00 [23:51:54]line НСП 1% : 0.00 [23:51:54]line ИТОГИ ВОЗВРАТ РАСХОДА [23:51:54]line Чеков: 0 [23:51:54]line Общий итог: 0.00 [23:51:54]line Итого наличными: 0.00 [23:51:54]line Итого безнал.: 0.00 [23:51:54]line НДС 0% : 0.00 [23:51:54]line НДС 12% : 0.00 [23:51:54]line НСП 0% : 0.00 [23:51:54]line НСП 1,50% : 0.00 [23:51:54]line НСП 0,50% : 0.00 [23:51:54]line НСП 5% : 0.00 [23:51:54]line НСП 3% : 0.00 [23:51:54]line НСП 2% : 0.00 [23:51:54]line НСП 1% : 0.00 [23:51:54]line Сумма внесений: 0.00 [23:51:54]line Сумма выплат: 0.00 [23:51:54]line Нал. в кассе: 33488.00 [23:51:54]line НС Приход: 8108052.00 [23:51:54]line НС Возвр.Прихода: 6752.00 [23:51:54]line НС Расход: 0.00 [23:51:54]line НС Возвр.Расхода: 0.00 [23:51:54]line ФМ: 0000000000959358 [23:51:54]written 0, free lines is 4095 [23:51:54]Write to MH i2c: 01 00 00 08 15 1D [23:51:54]Write i2c OK [23:51:54]MH_I2C_Read... [23:51:54]Read from MH i2c: 01 [23:51:54]MH_I2C_Read... [23:51:54]Read from MH i2c: 01 07 00 [23:51:54]MH_I2C_Read... [23:51:54]Read from MH i2c: 01 07 00 08 15 00 00 00 00 00 13 0B 42 [23:51:54]RasterBufferAndPrint [23:51:55]line [23:51:55]line [23:51:55]line [23:51:55]line [23:51:55]line [23:51:55]written 0, free lines is 2873 [23:51:55]MH_Cut [23:51:55]Write to MH i2c: D1 01 00 0F 15 01 F6 [23:51:55]Write i2c OK [23:51:55]MH_I2C_Read... [23:51:55]Read from MH i2c: D1 [23:51:55]MH_I2C_Read... [23:51:55]Read from MH i2c: D1 01 00 [23:51:55]MH_I2C_Read... [23:51:55]Read from MH i2c: D1 01 00 0F 15 00 F5 [23:51:55]Write to MH i2c: 01 00 00 10 15 25 [23:51:55]Write i2c OK [23:51:55]MH_I2C_Read... [23:51:55]*** Cut start [23:51:55]*** Partial cut [23:51:55]*** CUTSNS_PIN = 1 [23:51:55]*** CUTSNS_PIN = 0 [23:51:56]*** Brake cut motor [23:51:56]Read from MH i2c: 01 [23:51:56]MH_I2C_Read... [23:51:56]*** Stop cut motor [23:51:56]*** Cut end [23:51:56]Read from MH i2c: 01 07 00 [23:51:56]MH_I2C_Read... [23:51:56]Read from MH i2c: 01 07 00 10 15 00 00 00 00 00 FF 0F 3A [23:51:56]process_action x_report done [23:51:56]requested_data is exist [23:51:56]produce_requested_data [23:51:56]requested_item fd.num is exist - process it [23:51:56]SAM_PROTO_GetFieldsCounters [23:51:56]wFMCommunicate request_size=4 [23:51:56]MH_SAM_APDU [23:51:56]CAPDU: 80 13 00 00 [23:51:56]Write to MH i2c: E2 08 00 11 15 80 13 00 00 00 00 00 00 A2 [23:51:56]Write i2c OK [23:51:56]MH_I2C_Read... [23:51:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:51:56]Read from MH i2c: E2 [23:51:56]MH_I2C_Read... [23:51:56]Read from MH i2c: E2 62 00 [23:51:56]MH_I2C_Read... [23:51:56]Read from MH i2c: E2 62 00 11 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 06 58 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 6B 00 00 00 5E 04 04 00 6B 00 00 00 57 04 04 00 6C 00 00 00 19 04 04 00 00 00 00 00 90 00 4B [23:51:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 06 58 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 6B 00 00 00 5E 04 04 00 6B 00 00 00 57 04 04 00 6C 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:51:56]wFMCommunicate OK [23:51:56]SAM_PROTO_GetFieldsCounters done [23:51:56]requested_item shift.num is exist - process it [23:51:56]requested_item shift.opened is exist - process it [23:51:56]req_shift_opened [23:51:56]FM_GetShiftState [23:51:56]SAM_PROTO_GetShiftState [23:51:56]wFMCommunicate request_size=4 [23:51:56]MH_SAM_APDU [23:51:56]CAPDU: 80 13 01 00 [23:51:56]Write to MH i2c: E2 08 00 12 15 80 13 01 00 00 00 00 00 A4 [23:51:56]Write i2c OK [23:51:56]MH_I2C_Read... [23:51:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:51:56]Read from MH i2c: E2 [23:51:56]MH_I2C_Read... [23:51:56]Read from MH i2c: E2 0E 00 [23:51:56]MH_I2C_Read... [23:51:56]Read from MH i2c: E2 0E 00 12 15 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 35 [23:51:56]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [23:51:56]wFMCommunicate OK [23:51:56]SAM_PROTO_GetShiftState done [23:51:56]FM_GetShiftState done [23:51:56]req_shift_opened done [23:51:56]requested_item shift.open_date is exist - process it [23:51:56]req_shift_open_date [23:51:56]req_shift_open_date done [23:51:56]produce_requested_data done [23:51:56]produce_requested_data return {"fd.num":22534,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [23:51:56]process_action_free x_report [23:51:56]json_value_free [23:51:56]json_value_free done [23:51:56]process_json_proto returns [23:51:56]Send response to host [23:51:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":22534,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [23:51:56]free response buf [23:51:56]execute_script done [23:51:56]execute_script returns [23:51:56]free content buf [23:51:56]Sock 9.Close socket [23:51:56]Sock 9.Thread stoped [23:51:57]OFD Sender: No OFD packet to send [23:52:02]OFD Sender: No OFD packet to send [23:52:07]OFD Sender: No OFD packet to send [23:52:12]OFD Sender: No OFD packet to send [23:52:17]OFD Sender: No OFD packet to send [23:52:22]OFD Sender: No OFD packet to send [23:52:27]OFD Sender: No OFD packet to send [23:52:31]accept exits with 7 [23:52:31]New connection [23:52:31]New thread 3067583844 created [23:52:31]Thread 3067440484 joined [23:52:31]Waiting for new connection... [23:52:31] Sock 7.Parse request [23:52:31]Sock 7.Check first char [23:52:31]Sock 7.First char is OK [23:52:31]request: POST /json_proto HTTP/1.0 [23:52:31]Method: POST [23:52:31]URL: /json_proto [23:52:31]Method is POST - this is cgi request [23:52:31]url: /json_proto [23:52:31]query_string will be loaded in cgi processing [23:52:31]execute_cgi json_proto POST (null) [23:52:31]execute_cgi path=json_proto method=POST [23:52:31]POST find Content-Length [23:52:31]Host: 172.17.43.4:8080 [23:52:31]Content-Length: 215 [23:52:31]Content-Type: application/json [23:52:31] [23:52:31]POST finish read [23:52:31]Found Content-Length = 215 [23:52:31]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" ] } } [23:52:31]execute_script... [23:52:31]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" ] } } [23:52:31]POST & json_proto [23:52:31]process_json_proto [23:52:31]json parsed OK: [23:52:31]protocol is kg_v1.0 [23:52:31]action value=get_value [23:52:31]process_action get_value [23:52:31]cmd_get_value [23:52:31]process_action get_value done [23:52:31]requested_data is exist [23:52:31]produce_requested_data [23:52:31]requested_item kkm.sn is exist - process it [23:52:31]requested_item kkm.ver is exist - process it [23:52:31]requested_item fm.sn is exist - process it [23:52:31]wFMCommunicate request_size=4 [23:52:31]MH_SAM_APDU [23:52:31]CAPDU: 80 11 00 00 [23:52:31]Write to MH i2c: E2 08 00 13 15 80 11 00 00 00 00 00 00 A2 [23:52:31]Write i2c OK [23:52:31]MH_I2C_Read... [23:52:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:52:31]Read from MH i2c: E2 [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: E2 17 00 [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: E2 17 00 13 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 FC [23:52:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [23:52:31]wFMCommunicate OK [23:52:31]requested_item fd.num is exist - process it [23:52:31]SAM_PROTO_GetFieldsCounters [23:52:31]wFMCommunicate request_size=4 [23:52:31]MH_SAM_APDU [23:52:31]CAPDU: 80 13 00 00 [23:52:31]Write to MH i2c: E2 08 00 14 15 80 13 00 00 00 00 00 00 A5 [23:52:31]Write i2c OK [23:52:31]MH_I2C_Read... [23:52:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:52:31]Read from MH i2c: E2 [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: E2 62 00 [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: E2 62 00 14 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 06 58 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 6B 00 00 00 5E 04 04 00 6B 00 00 00 57 04 04 00 6C 00 00 00 19 04 04 00 00 00 00 00 90 00 4E [23:52:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 06 58 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 6B 00 00 00 5E 04 04 00 6B 00 00 00 57 04 04 00 6C 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:52:31]wFMCommunicate OK [23:52:31]SAM_PROTO_GetFieldsCounters done [23:52:31]requested_item shift.num is exist - process it [23:52:31]requested_item shift.opened is exist - process it [23:52:31]req_shift_opened [23:52:31]FM_GetShiftState [23:52:31]SAM_PROTO_GetShiftState [23:52:31]wFMCommunicate request_size=4 [23:52:31]MH_SAM_APDU [23:52:31]CAPDU: 80 13 01 00 [23:52:31]Write to MH i2c: E2 08 00 15 15 80 13 01 00 00 00 00 00 A7 [23:52:31]Write i2c OK [23:52:31]MH_I2C_Read... [23:52:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:52:31]Read from MH i2c: E2 [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: E2 0E 00 [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: E2 0E 00 15 15 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 38 [23:52:31]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [23:52:31]wFMCommunicate OK [23:52:31]SAM_PROTO_GetShiftState done [23:52:31]FM_GetShiftState done [23:52:31]req_shift_opened done [23:52:31]requested_item shift.open_date is exist - process it [23:52:31]req_shift_open_date [23:52:31]req_shift_open_date done [23:52:31]produce_requested_data done [23:52:31]produce_requested_data return {"kkm.sn":"0300000061","kkm.ver":"v1.0","fm.sn":"0000000000959358","fd.num":22534,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020} [23:52:31]process_action_free get_value [23:52:31]json_value_free [23:52:31]json_value_free done [23:52:31]process_json_proto returns [23:52:31]Send response to host [23:52:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000061","kkm.ver":"v1.0","fm.sn":"0000000000959358","fd.num":22534,"shift.num":231,"shift.opened":1,"shift.open_date":1727224020}}} [23:52:31]free response buf [23:52:31]execute_script done [23:52:31]execute_script returns [23:52:31]free content buf [23:52:31]Sock 7.Close socket [23:52:31]Sock 7.Thread stoped [23:52:31]accept exits with 9 [23:52:31]New connection [23:52:31]New thread 3067440484 created [23:52:31]Thread 3067583844 joined [23:52:31]Waiting for new connection... [23:52:31] Sock 9.Parse request [23:52:31]Sock 9.Check first char [23:52:31]Sock 9.First char is OK [23:52:31]request: POST /json_proto HTTP/1.0 [23:52:31]Method: POST [23:52:31]URL: /json_proto [23:52:31]Method is POST - this is cgi request [23:52:31]url: /json_proto [23:52:31]query_string will be loaded in cgi processing [23:52:31]execute_cgi json_proto POST (null) [23:52:31]execute_cgi path=json_proto method=POST [23:52:31]POST find Content-Length [23:52:31]Host: 172.17.43.4:8080 [23:52:31]Content-Length: 331 [23:52:31]Content-Type: application/json [23:52:31] [23:52:31]POST finish read [23:52:31]Found Content-Length = 331 [23:52:31]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" ] } } [23:52:31]execute_script... [23:52:31]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" ] } } [23:52:31]POST & json_proto [23:52:31]process_json_proto [23:52:31]json parsed OK: [23:52:31]protocol is kg_v1.0 [23:52:31]action value=get_value [23:52:31]process_action get_value [23:52:31]cmd_get_value [23:52:31]process_action get_value done [23:52:31]requested_data is exist [23:52:31]produce_requested_data [23:52:31]requested_item fm.sale.total is exist - process it [23:52:31]SAM_PROTO_GetFMData [23:52:31]wFMCommunicate request_size=4 [23:52:31]MH_SAM_APDU [23:52:31]CAPDU: 80 13 03 00 [23:52:31]Write to MH i2c: E2 08 00 16 15 80 13 03 00 00 00 00 00 AA [23:52:31]Write i2c OK [23:52:31]MH_I2C_Read... [23:52:31]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:52:31]Read from MH i2c: E2 [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: E2 FD 00 [23:52:31]MH_I2C_Read... [23:52:31]Read from MH i2c: E2 FD 00 16 15 00 BA 04 85 04 B6 04 6E 04 04 00 38 56 00 00 69 04 9C 00 6F 04 04 00 33 56 00 00 B1 04 04 00 D0 E7 53 30 70 04 04 00 D0 E7 53 30 72 04 00 00 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 EA 2B 22 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 27 7B 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 98 00 6F 04 04 00 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 5F [23:52:31]RAPDU: BA 04 85 04 B6 04 6E 04 04 00 38 56 00 00 69 04 9C 00 6F 04 04 00 33 56 00 00 B1 04 04 00 D0 E7 53 30 70 04 04 00 D0 E7 53 30 72 04 00 00 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 EA 2B 22 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 27 7B 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 98 00 6F 04 04 00 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 [23:52:31]wFMCommunicate OK [23:52:31]wFMCommunicate request_size=4 [23:52:31]MH_SAM_APDU [23:52:31]CAPDU: 80 17 00 00 [23:52:31]Write to MH i2c: E2 08 00 17 15 80 17 00 00 00 00 00 00 AC [23:52:31]Write i2c OK [23:52:31]MH_I2C_Read... [23:52:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:32]Read from MH i2c: E2 [23:52:32]MH_I2C_Read... [23:52:32]Read from MH i2c: E2 FD 00 [23:52:32]MH_I2C_Read... [23:52:32]Read from MH i2c: E2 FD 00 17 15 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C6 [23:52:32]RAPDU: EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:52:32]wFMCommunicate OK [23:52:32]wFMCommunicate request_size=4 [23:52:32]MH_SAM_APDU [23:52:32]CAPDU: 80 17 00 00 [23:52:32]Write to MH i2c: E2 08 00 18 15 80 17 00 00 00 00 00 00 AD [23:52:32]Write i2c OK [23:52:32]MH_I2C_Read... [23:52:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:32]Read from MH i2c: E2 [23:52:32]MH_I2C_Read... [23:52:32]Read from MH i2c: E2 FD 00 [23:52:32]MH_I2C_Read... [23:52:32]Read from MH i2c: E2 FD 00 18 15 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D9 [23:52:32]RAPDU: 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:52:32]wFMCommunicate OK [23:52:32]wFMCommunicate request_size=4 [23:52:32]MH_SAM_APDU [23:52:32]CAPDU: 80 17 00 00 [23:52:32]Write to MH i2c: E2 08 00 19 15 80 17 00 00 00 00 00 00 AE [23:52:32]Write i2c OK [23:52:32]MH_I2C_Read... [23:52:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:32]Read from MH i2c: E2 [23:52:32]MH_I2C_Read... [23:52:32]Read from MH i2c: E2 FD 00 [23:52:32]MH_I2C_Read... [23:52:32]Read from MH i2c: E2 FD 00 19 15 00 00 EF 03 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 90 00 26 [23:52:32]RAPDU: 00 EF 03 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 90 00 [23:52:32]wFMCommunicate OK [23:52:32]wFMCommunicate request_size=4 [23:52:32]MH_SAM_APDU [23:52:32]CAPDU: 80 17 00 00 [23:52:32]Write to MH i2c: E2 08 00 1A 15 80 17 00 00 00 00 00 00 AF [23:52:32]Write i2c OK [23:52:32]MH_I2C_Read... [23:52:32]OFD Sender: No OFD packet to send [23:52:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 212! [23:52:33]Read from MH i2c: E2 [23:52:33]MH_I2C_Read... [23:52:33]Read from MH i2c: E2 D7 00 [23:52:33]MH_I2C_Read... [23:52:33]Read from MH i2c: E2 D7 00 1A 15 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:52:33]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:52:33]wFMCommunicate OK [23:52:33]SAM_PROTO_GetFMData done [23:52:33]requested_item fm.sale_refund.total is exist - process it [23:52:33]requested_item fm.buy.total is exist - process it [23:52:33]requested_item shift.sale.total is exist - process it [23:52:33]SAM_PROTO_GetShiftData [23:52:33]wFMCommunicate request_size=4 [23:52:33]MH_SAM_APDU [23:52:33]CAPDU: 80 13 02 00 [23:52:33]Write to MH i2c: E2 08 00 1B 15 80 13 02 00 00 00 00 00 AE [23:52:33]Write i2c OK [23:52:33]MH_I2C_Read... [23:52:33]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:52:33]Read from MH i2c: E2 [23:52:33]MH_I2C_Read... [23:52:33]Read from MH i2c: E2 FD 00 [23:52:33]MH_I2C_Read... [23:52:33]Read from MH i2c: E2 FD 00 1B 15 00 AB 04 AA 04 A7 04 6E 04 04 00 6B 00 00 00 69 04 98 00 6F 04 04 00 6B 00 00 00 B1 04 03 00 40 19 33 70 04 03 00 40 19 33 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 4E 6D 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 C1 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 48 [23:52:33]RAPDU: AB 04 AA 04 A7 04 6E 04 04 00 6B 00 00 00 69 04 98 00 6F 04 04 00 6B 00 00 00 B1 04 03 00 40 19 33 70 04 03 00 40 19 33 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 4E 6D 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 C1 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:52:33]wFMCommunicate OK [23:52:33]wFMCommunicate request_size=4 [23:52:33]MH_SAM_APDU [23:52:33]CAPDU: 80 17 00 00 [23:52:33]Write to MH i2c: E2 08 00 1C 15 80 17 00 00 00 00 00 00 B1 [23:52:33]Write i2c OK [23:52:33]MH_I2C_Read... [23:52:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:34]Read from MH i2c: E2 [23:52:34]MH_I2C_Read... [23:52:34]Read from MH i2c: E2 FD 00 [23:52:34]MH_I2C_Read... [23:52:34]Read from MH i2c: E2 FD 00 1C 15 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C6 [23:52:34]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 [23:52:34]wFMCommunicate OK [23:52:34]wFMCommunicate request_size=4 [23:52:34]MH_SAM_APDU [23:52:34]CAPDU: 80 17 00 00 [23:52:34]Write to MH i2c: E2 08 00 1D 15 80 17 00 00 00 00 00 00 B2 [23:52:34]Write i2c OK [23:52:34]MH_I2C_Read... [23:52:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:34]Read from MH i2c: E2 [23:52:34]MH_I2C_Read... [23:52:34]Read from MH i2c: E2 FD 00 [23:52:34]MH_I2C_Read... [23:52:34]Read from MH i2c: E2 FD 00 1D 15 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 62 [23:52:34]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 [23:52:34]wFMCommunicate OK [23:52:34]wFMCommunicate request_size=4 [23:52:34]MH_SAM_APDU [23:52:34]CAPDU: 80 17 00 00 [23:52:34]Write to MH i2c: E2 08 00 1E 15 80 17 00 00 00 00 00 00 B3 [23:52:34]Write i2c OK [23:52:34]MH_I2C_Read... [23:52:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:34]Read from MH i2c: E2 [23:52:34]MH_I2C_Read... [23:52:34]Read from MH i2c: E2 FD 00 [23:52:34]MH_I2C_Read... [23:52:34]Read from MH i2c: E2 FD 00 1E 15 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 39 [23:52:34]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 [23:52:34]wFMCommunicate OK [23:52:34]wFMCommunicate request_size=4 [23:52:34]MH_SAM_APDU [23:52:34]CAPDU: 80 17 00 00 [23:52:34]Write to MH i2c: E2 08 00 1F 15 80 17 00 00 00 00 00 00 B4 [23:52:34]Write i2c OK [23:52:34]MH_I2C_Read... [23:52:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 197! [23:52:35]Read from MH i2c: E2 [23:52:35]MH_I2C_Read... [23:52:35]Read from MH i2c: E2 C8 00 [23:52:35]MH_I2C_Read... [23:52:35]Read from MH i2c: E2 C8 00 1F 15 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 97 [23:52:35]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 [23:52:35]wFMCommunicate OK [23:52:35]SAM_PROTO_GetShiftData done [23:52:35]requested_item shift.sale.total_cash is exist - process it [23:52:35]requested_item shift.sale_refund.total is exist - process it [23:52:35]requested_item shift.sale_refund.total_cash is exist - process it [23:52:35]requested_item shift.buy.total is exist - process it [23:52:35]requested_item shift.buy.total_cash is exist - process it [23:52:35]produce_requested_data done [23:52:35]produce_requested_data return {"fm.sale.total":8108052.00,"fm.sale_refund.total":6752.00,"fm.buy.total":0.00,"shift.sale.total":33488.00,"shift.sale.total_cash":33488.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} [23:52:35]process_action_free get_value [23:52:35]json_value_free [23:52:35]json_value_free done [23:52:35]process_json_proto returns [23:52:35]Send response to host [23:52:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8108052.00,"fm.sale_refund.total":6752.00,"fm.buy.total":0.00,"shift.sale.total":33488.00,"shift.sale.total_cash":33488.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}}} [23:52:35]free response buf [23:52:35]execute_script done [23:52:35]execute_script returns [23:52:35]free content buf [23:52:35]Sock 9.Close socket [23:52:35]Sock 9.Thread stoped [23:52:35]accept exits with 7 [23:52:35]New connection [23:52:35]New thread 3067583844 created [23:52:35]Thread 3067440484 joined [23:52:35]Waiting for new connection... [23:52:35] Sock 7.Parse request [23:52:35]Sock 7.Check first char [23:52:35]Sock 7.First char is OK [23:52:35]request: POST /json_proto HTTP/1.0 [23:52:35]Method: POST [23:52:35]URL: /json_proto [23:52:35]Method is POST - this is cgi request [23:52:35]url: /json_proto [23:52:35]query_string will be loaded in cgi processing [23:52:35]execute_cgi json_proto POST (null) [23:52:35]execute_cgi path=json_proto method=POST [23:52:35]POST find Content-Length [23:52:35]Host: 172.17.43.4:8080 [23:52:35]Content-Length: 331 [23:52:35]Content-Type: application/json [23:52:35] [23:52:35]POST finish read [23:52:35]Found Content-Length = 331 [23:52:35]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" ] } } [23:52:35]execute_script... [23:52:35]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" ] } } [23:52:35]POST & json_proto [23:52:35]process_json_proto [23:52:35]json parsed OK: [23:52:35]protocol is kg_v1.0 [23:52:35]action value=get_value [23:52:35]process_action get_value [23:52:35]cmd_get_value [23:52:35]process_action get_value done [23:52:35]requested_data is exist [23:52:35]produce_requested_data [23:52:35]requested_item fm.sale.total is exist - process it [23:52:35]SAM_PROTO_GetFMData [23:52:35]wFMCommunicate request_size=4 [23:52:35]MH_SAM_APDU [23:52:35]CAPDU: 80 13 03 00 [23:52:35]Write to MH i2c: E2 08 00 20 15 80 13 03 00 00 00 00 00 B4 [23:52:35]Write i2c OK [23:52:35]MH_I2C_Read... [23:52:35]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:52:35]Read from MH i2c: E2 [23:52:35]MH_I2C_Read... [23:52:35]Read from MH i2c: E2 FD 00 [23:52:35]MH_I2C_Read... [23:52:35]Read from MH i2c: E2 FD 00 20 15 00 BA 04 85 04 B6 04 6E 04 04 00 38 56 00 00 69 04 9C 00 6F 04 04 00 33 56 00 00 B1 04 04 00 D0 E7 53 30 70 04 04 00 D0 E7 53 30 72 04 00 00 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 EA 2B 22 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 27 7B 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 98 00 6F 04 04 00 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 69 [23:52:35]RAPDU: BA 04 85 04 B6 04 6E 04 04 00 38 56 00 00 69 04 9C 00 6F 04 04 00 33 56 00 00 B1 04 04 00 D0 E7 53 30 70 04 04 00 D0 E7 53 30 72 04 00 00 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 EA 2B 22 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 27 7B 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 98 00 6F 04 04 00 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 [23:52:36]wFMCommunicate OK [23:52:36]wFMCommunicate request_size=4 [23:52:36]MH_SAM_APDU [23:52:36]CAPDU: 80 17 00 00 [23:52:36]Write to MH i2c: E2 08 00 21 15 80 17 00 00 00 00 00 00 B6 [23:52:36]Write i2c OK [23:52:36]MH_I2C_Read... [23:52:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:36]Read from MH i2c: E2 [23:52:36]MH_I2C_Read... [23:52:36]Read from MH i2c: E2 FD 00 [23:52:36]MH_I2C_Read... [23:52:36]Read from MH i2c: E2 FD 00 21 15 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D0 [23:52:36]RAPDU: EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:52:36]wFMCommunicate OK [23:52:36]wFMCommunicate request_size=4 [23:52:36]MH_SAM_APDU [23:52:36]CAPDU: 80 17 00 00 [23:52:36]Write to MH i2c: E2 08 00 22 15 80 17 00 00 00 00 00 00 B7 [23:52:36]Write i2c OK [23:52:36]MH_I2C_Read... [23:52:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:36]Read from MH i2c: E2 [23:52:36]MH_I2C_Read... [23:52:36]Read from MH i2c: E2 FD 00 [23:52:36]MH_I2C_Read... [23:52:36]Read from MH i2c: E2 FD 00 22 15 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E3 [23:52:36]RAPDU: 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:52:36]wFMCommunicate OK [23:52:36]wFMCommunicate request_size=4 [23:52:36]MH_SAM_APDU [23:52:36]CAPDU: 80 17 00 00 [23:52:36]Write to MH i2c: E2 08 00 23 15 80 17 00 00 00 00 00 00 B8 [23:52:36]Write i2c OK [23:52:36]MH_I2C_Read... [23:52:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:37]Read from MH i2c: E2 [23:52:37]MH_I2C_Read... [23:52:37]Read from MH i2c: E2 FD 00 [23:52:37]MH_I2C_Read... [23:52:37]Read from MH i2c: E2 FD 00 23 15 00 00 EF 03 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 90 00 30 [23:52:37]RAPDU: 00 EF 03 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 90 00 [23:52:37]wFMCommunicate OK [23:52:37]wFMCommunicate request_size=4 [23:52:37]MH_SAM_APDU [23:52:37]CAPDU: 80 17 00 00 [23:52:37]Write to MH i2c: E2 08 00 24 15 80 17 00 00 00 00 00 00 B9 [23:52:37]Write i2c OK [23:52:37]MH_I2C_Read... [23:52:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 212! [23:52:37]Read from MH i2c: E2 [23:52:37]MH_I2C_Read... [23:52:37]Read from MH i2c: E2 D7 00 [23:52:37]MH_I2C_Read... [23:52:37]Read from MH i2c: E2 D7 00 24 15 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:52:37]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:52:37]wFMCommunicate OK [23:52:37]SAM_PROTO_GetFMData done [23:52:37]requested_item fm.sale_refund.total is exist - process it [23:52:37]requested_item fm.buy.total is exist - process it [23:52:37]requested_item shift.sale.total is exist - process it [23:52:37]SAM_PROTO_GetShiftData [23:52:37]wFMCommunicate request_size=4 [23:52:37]MH_SAM_APDU [23:52:37]CAPDU: 80 13 02 00 [23:52:37]Write to MH i2c: E2 08 00 25 15 80 13 02 00 00 00 00 00 B8 [23:52:37]Write i2c OK [23:52:37]MH_I2C_Read... [23:52:38]OFD Sender: No OFD packet to send [23:52:38]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:52:38]Read from MH i2c: E2 [23:52:38]MH_I2C_Read... [23:52:38]Read from MH i2c: E2 FD 00 [23:52:38]MH_I2C_Read... [23:52:38]Read from MH i2c: E2 FD 00 25 15 00 AB 04 AA 04 A7 04 6E 04 04 00 6B 00 00 00 69 04 98 00 6F 04 04 00 6B 00 00 00 B1 04 03 00 40 19 33 70 04 03 00 40 19 33 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 4E 6D 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 C1 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 52 [23:52:38]RAPDU: AB 04 AA 04 A7 04 6E 04 04 00 6B 00 00 00 69 04 98 00 6F 04 04 00 6B 00 00 00 B1 04 03 00 40 19 33 70 04 03 00 40 19 33 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 4E 6D 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 C1 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:52:38]wFMCommunicate OK [23:52:38]wFMCommunicate request_size=4 [23:52:38]MH_SAM_APDU [23:52:38]CAPDU: 80 17 00 00 [23:52:38]Write to MH i2c: E2 08 00 26 15 80 17 00 00 00 00 00 00 BB [23:52:38]Write i2c OK [23:52:38]MH_I2C_Read... [23:52:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:38]Read from MH i2c: E2 [23:52:38]MH_I2C_Read... [23:52:38]Read from MH i2c: E2 FD 00 [23:52:38]MH_I2C_Read... [23:52:38]Read from MH i2c: E2 FD 00 26 15 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D0 [23:52:38]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 [23:52:39]wFMCommunicate OK [23:52:39]wFMCommunicate request_size=4 [23:52:39]MH_SAM_APDU [23:52:39]CAPDU: 80 17 00 00 [23:52:39]Write to MH i2c: E2 08 00 27 15 80 17 00 00 00 00 00 00 BC [23:52:39]Write i2c OK [23:52:39]MH_I2C_Read... [23:52:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:39]Read from MH i2c: E2 [23:52:39]MH_I2C_Read... [23:52:39]Read from MH i2c: E2 FD 00 [23:52:39]MH_I2C_Read... [23:52:39]Read from MH i2c: E2 FD 00 27 15 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 6C [23:52:39]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 [23:52:39]wFMCommunicate OK [23:52:39]wFMCommunicate request_size=4 [23:52:39]MH_SAM_APDU [23:52:39]CAPDU: 80 17 00 00 [23:52:39]Write to MH i2c: E2 08 00 28 15 80 17 00 00 00 00 00 00 BD [23:52:39]Write i2c OK [23:52:39]MH_I2C_Read... [23:52:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:39]Read from MH i2c: E2 [23:52:39]MH_I2C_Read... [23:52:39]Read from MH i2c: E2 FD 00 [23:52:39]MH_I2C_Read... [23:52:39]Read from MH i2c: E2 FD 00 28 15 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 43 [23:52:39]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 [23:52:40]wFMCommunicate OK [23:52:40]wFMCommunicate request_size=4 [23:52:40]MH_SAM_APDU [23:52:40]CAPDU: 80 17 00 00 [23:52:40]Write to MH i2c: E2 08 00 29 15 80 17 00 00 00 00 00 00 BE [23:52:40]Write i2c OK [23:52:40]MH_I2C_Read... [23:52:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 197! [23:52:40]Read from MH i2c: E2 [23:52:40]MH_I2C_Read... [23:52:40]Read from MH i2c: E2 C8 00 [23:52:40]MH_I2C_Read... [23:52:40]Read from MH i2c: E2 C8 00 29 15 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [23:52:40]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 [23:52:40]wFMCommunicate OK [23:52:40]SAM_PROTO_GetShiftData done [23:52:40]requested_item shift.sale.total_cash is exist - process it [23:52:40]requested_item shift.sale_refund.total is exist - process it [23:52:40]requested_item shift.sale_refund.total_cash is exist - process it [23:52:40]requested_item shift.buy.total is exist - process it [23:52:40]requested_item shift.buy.total_cash is exist - process it [23:52:40]produce_requested_data done [23:52:40]produce_requested_data return {"fm.sale.total":8108052.00,"fm.sale_refund.total":6752.00,"fm.buy.total":0.00,"shift.sale.total":33488.00,"shift.sale.total_cash":33488.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} [23:52:40]process_action_free get_value [23:52:40]json_value_free [23:52:40]json_value_free done [23:52:40]process_json_proto returns [23:52:40]Send response to host [23:52:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8108052.00,"fm.sale_refund.total":6752.00,"fm.buy.total":0.00,"shift.sale.total":33488.00,"shift.sale.total_cash":33488.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}}} [23:52:40]free response buf [23:52:40]execute_script done [23:52:40]execute_script returns [23:52:40]free content buf [23:52:40]Sock 7.Close socket [23:52:40]Sock 7.Thread stoped [23:52:40]accept exits with 9 [23:52:40]New connection [23:52:40]New thread 3067440484 created [23:52:40]Thread 3067583844 joined [23:52:40]Waiting for new connection... [23:52:40] Sock 9.Parse request [23:52:40]Sock 9.Check first char [23:52:40]Sock 9.First char is OK [23:52:40]request: POST /json_proto HTTP/1.0 [23:52:40]Method: POST [23:52:40]URL: /json_proto [23:52:40]Method is POST - this is cgi request [23:52:40]url: /json_proto [23:52:40]query_string will be loaded in cgi processing [23:52:40]execute_cgi json_proto POST (null) [23:52:40]execute_cgi path=json_proto method=POST [23:52:40]POST find Content-Length [23:52:40]Host: 172.17.43.4:8080 [23:52:40]Content-Length: 254 [23:52:40]Content-Type: application/json [23:52:40] [23:52:40]POST finish read [23:52:40]Found Content-Length = 254 [23:52:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041A\u0430\u0440\u0438\u043C\u043E\u0432 \u0421. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:52:40]execute_script... [23:52:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041A\u0430\u0440\u0438\u043C\u043E\u0432 \u0421. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:52:40]POST & json_proto [23:52:40]process_json_proto [23:52:40]json parsed OK: [23:52:40]protocol is kg_v1.0 [23:52:40]action value=close_shift [23:52:40]process_action close_shift [23:52:40]cmd_close_shift [23:52:40]MH_GetDate [23:52:40]Write to MH i2c: F0 00 00 2A 15 2E [23:52:40]Write i2c OK [23:52:40]MH_I2C_Read... [23:52:40]Read from MH i2c: F0 [23:52:40]MH_I2C_Read... [23:52:40]Read from MH i2c: F0 09 00 [23:52:40]MH_I2C_Read... [23:52:40]Read from MH i2c: F0 09 00 2A 15 00 4A A2 F4 66 02 BF CF 66 73 [23:52:40]GetLastDocTimeStamp 1727308308 [23:52:40]current date 1727308362 [23:52:40]FM_GetShiftState [23:52:40]SAM_PROTO_GetShiftState [23:52:40]wFMCommunicate request_size=4 [23:52:40]MH_SAM_APDU [23:52:40]CAPDU: 80 13 01 00 [23:52:40]Write to MH i2c: E2 08 00 2B 15 80 13 01 00 00 00 00 00 BD [23:52:40]Write i2c OK [23:52:40]MH_I2C_Read... [23:52:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:52:40]Read from MH i2c: E2 [23:52:40]MH_I2C_Read... [23:52:40]Read from MH i2c: E2 0E 00 [23:52:40]MH_I2C_Read... [23:52:40]Read from MH i2c: E2 0E 00 2B 15 00 09 00 01 D4 58 F3 66 00 00 00 00 90 00 4E [23:52:40]RAPDU: 09 00 01 D4 58 F3 66 00 00 00 00 90 00 [23:52:40]wFMCommunicate OK [23:52:40]SAM_PROTO_GetShiftState done [23:52:40]FM_GetShiftState done [23:52:40]KKMCreateCloseShiftDocument [23:52:40]Load OK [23:52:40]Malloc new data [23:52:40]MH_GetDate [23:52:40]Write to MH i2c: F0 00 00 2C 15 30 [23:52:40]Write i2c OK [23:52:40]MH_I2C_Read... [23:52:40]Read from MH i2c: F0 [23:52:40]MH_I2C_Read... [23:52:40]Read from MH i2c: F0 09 00 [23:52:40]MH_I2C_Read... [23:52:40]Read from MH i2c: F0 09 00 2C 15 00 4B A2 F4 66 02 BF CF 66 76 [23:52:40]Malloc new data [23:52:40]Malloc new data [23:52:40]Malloc new data [23:52:40]Malloc new data [23:52:40]KKMCreateCloseShiftDocument OK [23:52:40]KKMSetCloseShiftData OK [23:52:40]ProcessDocumentItem done err = 0, tmpTLVsize=69 [23:52:40]tlvbuf is 002DDF80 [23:52:40]KKMLoadAndSignCloseShiftData [23:52:40]SAM_PROTO_ProcessDocument [23:52:40]wFMCommunicate request_size=9 [23:52:40]MH_SAM_APDU [23:52:40]CAPDU: 80 15 01 00 04 05 00 45 00 [23:52:40]Write to MH i2c: E2 0C 00 2D 15 80 15 01 00 04 00 05 00 45 00 00 00 13 [23:52:40]Write i2c OK [23:52:40]MH_I2C_Read... [23:52:40]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [23:52:40]Read from MH i2c: E2 [23:52:40]MH_I2C_Read... [23:52:40]Read from MH i2c: E2 03 00 [23:52:40]MH_I2C_Read... [23:52:40]Read from MH i2c: E2 03 00 2D 15 00 90 00 B6 [23:52:40]RAPDU: 90 00 [23:52:40]wFMCommunicate OK [23:52:40]wFMCommunicate request_size=23 [23:52:40]MH_SAM_APDU [23:52:40]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [23:52:40]Write to MH i2c: E2 1A 00 2E 15 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 B8 [23:52:40]Write i2c OK [23:52:40]MH_I2C_Read... [23:52:40]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:52:40]Read from MH i2c: E2 [23:52:40]MH_I2C_Read... [23:52:40]Read from MH i2c: E2 03 00 [23:52:40]MH_I2C_Read... [23:52:40]Read from MH i2c: E2 03 00 2E 15 00 90 00 B7 [23:52:40]RAPDU: 90 00 [23:52:40]wFMCommunicate OK [23:52:40]wFMCommunicate request_size=28 [23:52:40]MH_SAM_APDU [23:52:40]CAPDU: 80 15 02 00 17 FD 03 13 00 D0 9A D0 B0 D1 80 D0 B8 D0 BC D0 BE D0 B2 20 D0 A1 2E 20 [23:52:40]Write to MH i2c: E2 1F 00 2F 15 80 15 02 00 17 00 FD 03 13 00 D0 9A D0 B0 D1 80 D0 B8 D0 BC D0 BE D0 B2 20 D0 A1 2E 20 00 00 43 [23:52:40]Write i2c OK [23:52:40]MH_I2C_Read... [23:52:40]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:52:40]Read from MH i2c: E2 [23:52:40]MH_I2C_Read... [23:52:40]Read from MH i2c: E2 03 00 [23:52:40]MH_I2C_Read... [23:52:40]Read from MH i2c: E2 03 00 2F 15 00 90 00 B8 [23:52:40]RAPDU: 90 00 [23:52:40]wFMCommunicate OK [23:52:40]wFMCommunicate request_size=13 [23:52:40]MH_SAM_APDU [23:52:40]CAPDU: 80 15 02 00 08 F4 03 04 00 4B A2 F4 66 [23:52:40]Write to MH i2c: E2 10 00 30 15 80 15 02 00 08 00 F4 03 04 00 4B A2 F4 66 00 00 17 [23:52:40]Write i2c OK [23:52:40]MH_I2C_Read... [23:52:40]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:52:40]Read from MH i2c: E2 [23:52:40]MH_I2C_Read... [23:52:40]Read from MH i2c: E2 03 00 [23:52:41]MH_I2C_Read... [23:52:41]Read from MH i2c: E2 03 00 30 15 00 90 00 B9 [23:52:41]RAPDU: 90 00 [23:52:41]wFMCommunicate OK [23:52:41]wFMCommunicate request_size=25 [23:52:41]MH_SAM_APDU [23:52:41]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 [23:52:41]Write to MH i2c: E2 1C 00 31 15 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 00 00 23 [23:52:41]Write i2c OK [23:52:41]MH_I2C_Read... [23:52:41]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:52:41]Read from MH i2c: E2 [23:52:41]MH_I2C_Read... [23:52:41]Read from MH i2c: E2 03 00 [23:52:41]MH_I2C_Read... [23:52:41]Read from MH i2c: E2 03 00 31 15 00 90 00 BA [23:52:41]RAPDU: 90 00 [23:52:41]wFMCommunicate OK [23:52:41]wFMCommunicate request_size=4 [23:52:41]MH_SAM_APDU [23:52:41]CAPDU: 80 15 03 00 [23:52:41]Write to MH i2c: E2 08 00 32 15 80 15 03 00 00 00 00 00 C8 [23:52:41]Write i2c OK [23:52:41]MH_I2C_Read... [23:52:41]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [23:52:41]Read from MH i2c: E2 [23:52:41]MH_I2C_Read... [23:52:41]Read from MH i2c: E2 FD 00 [23:52:41]MH_I2C_Read... [23:52:41]Read from MH i2c: E2 FD 00 32 15 00 EE 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 07 58 00 00 0E 04 04 00 E7 00 00 00 5E 04 04 00 6B 00 00 00 57 04 04 00 6D 00 00 00 AA 04 A7 04 6E 04 04 00 6B 00 00 00 69 04 98 00 6F 04 04 00 6B 00 00 00 B1 04 03 00 40 19 33 70 04 03 00 40 19 33 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 4E 6D 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 C1 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 99 [23:52:41]RAPDU: EE 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 07 58 00 00 0E 04 04 00 E7 00 00 00 5E 04 04 00 6B 00 00 00 57 04 04 00 6D 00 00 00 AA 04 A7 04 6E 04 04 00 6B 00 00 00 69 04 98 00 6F 04 04 00 6B 00 00 00 B1 04 03 00 40 19 33 70 04 03 00 40 19 33 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 4E 6D 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 C1 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:52:41]wFMCommunicate OK [23:52:41]SAM_PROTO_ProcessDocument answer len = 1262 [23:52:41]SAM_PROTO_ProcessDocument remain to read = 1014 [23:52:41]wFMCommunicate request_size=4 [23:52:41]MH_SAM_APDU [23:52:41]CAPDU: 80 17 00 00 [23:52:41]Write to MH i2c: E2 08 00 33 15 80 17 00 00 00 00 00 00 C8 [23:52:41]Write i2c OK [23:52:41]MH_I2C_Read... [23:52:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:42]Read from MH i2c: E2 [23:52:42]MH_I2C_Read... [23:52:42]Read from MH i2c: E2 FD 00 [23:52:42]MH_I2C_Read... [23:52:42]Read from MH i2c: E2 FD 00 33 15 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A1 [23:52:42]RAPDU: 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:52:42]wFMCommunicate OK [23:52:42]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:52:42]SAM_PROTO_ProcessDocument remain to read = 764 [23:52:42]wFMCommunicate request_size=4 [23:52:42]MH_SAM_APDU [23:52:42]CAPDU: 80 17 00 00 [23:52:42]Write to MH i2c: E2 08 00 34 15 80 17 00 00 00 00 00 00 C9 [23:52:42]Write i2c OK [23:52:42]MH_I2C_Read... [23:52:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:42]Read from MH i2c: E2 [23:52:42]MH_I2C_Read... [23:52:42]Read from MH i2c: E2 FD 00 [23:52:42]MH_I2C_Read... [23:52:42]Read from MH i2c: E2 FD 00 34 15 00 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 90 00 27 [23:52:42]RAPDU: 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 90 00 [23:52:42]wFMCommunicate OK [23:52:42]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:52:42]SAM_PROTO_ProcessDocument remain to read = 514 [23:52:42]wFMCommunicate request_size=4 [23:52:42]MH_SAM_APDU [23:52:42]CAPDU: 80 17 00 00 [23:52:42]Write to MH i2c: E2 08 00 35 15 80 17 00 00 00 00 00 00 CA [23:52:43]Write i2c OK [23:52:43]MH_I2C_Read... [23:52:43]OFD Sender: No OFD packet to send [23:52:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:43]Read from MH i2c: E2 [23:52:43]MH_I2C_Read... [23:52:43]Read from MH i2c: E2 FD 00 [23:52:43]MH_I2C_Read... [23:52:43]Read from MH i2c: E2 FD 00 35 15 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 56 [23:52:43]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:52:43]wFMCommunicate OK [23:52:43]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:52:43]SAM_PROTO_ProcessDocument remain to read = 264 [23:52:43]wFMCommunicate request_size=4 [23:52:43]MH_SAM_APDU [23:52:43]CAPDU: 80 17 00 00 [23:52:43]Write to MH i2c: E2 08 00 36 15 80 17 00 00 00 00 00 00 CB [23:52:43]Write i2c OK [23:52:43]MH_I2C_Read... [23:52:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:43]Read from MH i2c: E2 [23:52:43]MH_I2C_Read... [23:52:43]Read from MH i2c: E2 FD 00 [23:52:43]MH_I2C_Read... [23:52:43]Read from MH i2c: E2 FD 00 36 15 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 96 [23:52:43]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:52:44]wFMCommunicate OK [23:52:44]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:52:44]SAM_PROTO_ProcessDocument remain to read = 14 [23:52:44]wFMCommunicate request_size=4 [23:52:44]MH_SAM_APDU [23:52:44]CAPDU: 80 17 00 00 [23:52:44]Write to MH i2c: E2 08 00 37 15 80 17 00 00 00 00 00 00 CC [23:52:44]Write i2c OK [23:52:44]MH_I2C_Read... [23:52:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 14! [23:52:44]Read from MH i2c: E2 [23:52:44]MH_I2C_Read... [23:52:44]Read from MH i2c: E2 11 00 [23:52:44]MH_I2C_Read... [23:52:44]Read from MH i2c: E2 11 00 37 15 00 F7 03 00 00 35 04 06 00 0B 65 79 28 ED C9 90 00 CE [23:52:44]RAPDU: F7 03 00 00 35 04 06 00 0B 65 79 28 ED C9 90 00 [23:52:44]wFMCommunicate OK [23:52:44]SAM_PROTO_ProcessDocument received (without SW) 14 bytes [23:52:44]SAM_PROTO_ProcessDocument done [23:52:44]1209 (1) - 1.0 - номер версии ФФД [23:52:44]1041 (16) - 0000000000959358 - номер ФМ [23:52:44]1040 (4) - 22535 - номер ФД [23:52:44]1038 (4) - 231 - номер смены [23:52:44]1118 (4) - 107 - количество кассовых чеков за смену [23:52:44]1111 (4) - 109 - общее количество ФД за смену [23:52:44]1194 (1191) - счетчики итогов смены [23:52:44] 1134 (4) - 107 - количество чеков со всеми признаками расчетов [23:52:44] 1129 (152) - счетчики операций «приход» [23:52:44] 1135 (4) - 107 - количество чеков по признаку расчетов [23:52:44] 1201 (3) - 33488.00 - общая итоговая сумма в чеках [23:52:44] 1136 (3) - 33488.00 - итоговая сумма в чеках наличными [23:52:44] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:52:44] 1024 (122) - суммы налогов [23:52:44] 1006 (9) - суммы НДС [23:52:44] 1010 (1) - 0% - код ставки НДС [23:52:44] 1011 (0) - 0.00 - сумма НДС по ставке [23:52:44] 1006 (12) - суммы НДС [23:52:44] 1010 (1) - 12% - код ставки НДС [23:52:44] 1011 (3) - 3556.62 - сумма НДС по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 0% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1007 (11) - суммы НСП [23:52:44] 1014 (1) - 1% - код ставки НСП [23:52:44] 1015 (2) - 296.33 - сумма НСП по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 2% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 3% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 5% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 0,50% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 1,50% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1130 (141) - счетчики операций «возврат прихода» [23:52:44] 1135 (4) - 0 - количество чеков по признаку расчетов [23:52:44] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:52:44] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:52:44] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:52:44] 1024 (117) - суммы налогов [23:52:44] 1006 (9) - суммы НДС [23:52:44] 1010 (1) - 0% - код ставки НДС [23:52:44] 1011 (0) - 0.00 - сумма НДС по ставке [23:52:44] 1006 (9) - суммы НДС [23:52:44] 1010 (1) - 12% - код ставки НДС [23:52:44] 1011 (0) - 0.00 - сумма НДС по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 0% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 1% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 2% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 3% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 5% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 0,50% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 1,50% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1131 (141) - счетчики операций «расход» [23:52:44] 1135 (4) - 0 - количество чеков по признаку расчетов [23:52:44] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:52:44] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:52:44] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:52:44] 1024 (117) - суммы налогов [23:52:44] 1006 (9) - суммы НДС [23:52:44] 1010 (1) - 0% - код ставки НДС [23:52:44] 1011 (0) - 0.00 - сумма НДС по ставке [23:52:44] 1006 (9) - суммы НДС [23:52:44] 1010 (1) - 12% - код ставки НДС [23:52:44] 1011 (0) - 0.00 - сумма НДС по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 0% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 1% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 2% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 3% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 5% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 0,50% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 1,50% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1132 (141) - счетчики операций «возврат расхода» [23:52:44] 1135 (4) - 0 - количество чеков по признаку расчетов [23:52:44] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:52:44] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:52:44] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:52:44] 1024 (117) - суммы налогов [23:52:44] 1006 (9) - суммы НДС [23:52:44] 1010 (1) - 0% - код ставки НДС [23:52:44] 1011 (0) - 0.00 - сумма НДС по ставке [23:52:44] 1006 (9) - суммы НДС [23:52:44] 1010 (1) - 12% - код ставки НДС [23:52:44] 1011 (0) - 0.00 - сумма НДС по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 0% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 1% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 2% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 3% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 5% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 0,50% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1007 (9) - суммы НСП [23:52:44] 1014 (1) - 1,50% - код ставки НСП [23:52:44] 1015 (0) - 0.00 - сумма НСП по ставке [23:52:44] 1133 (588) - - счетчики коррекции - не используются [23:52:44]1077 (6) - 12530452327881 - ФПД [23:52:44]SetTLVBufToDocument [23:52:44]Processing tag 1209 (04B9) [23:52:44]Malloc new data [23:52:44]Processing tag 1041 (0411) [23:52:44]Processing tag 1040 (0410) [23:52:44]Malloc new data [23:52:44]Processing tag 1038 (040E) [23:52:44]Malloc new data [23:52:44]Processing tag 1118 (045E) [23:52:44]Malloc new data [23:52:44]Processing tag 1111 (0457) [23:52:44]Malloc new data [23:52:44]Processing tag 1194 (04AA) [23:52:44]Load OK [23:52:44]SetTLVBufToDocument [23:52:44]Processing tag 1134 (046E) [23:52:44]Malloc new data [23:52:44]Processing tag 1129 (0469) [23:52:44]Load OK [23:52:44]SetTLVBufToDocument [23:52:44]Processing tag 1135 (046F) [23:52:44]Malloc new data [23:52:44]Processing tag 1201 (04B1) [23:52:44]Malloc new data [23:52:44]Processing tag 1136 (0470) [23:52:44]Malloc new data [23:52:44]Processing tag 1138 (0472) [23:52:44]Malloc new data [23:52:44]Processing tag 1024 (0400) [23:52:44]Load OK [23:52:44]SetTLVBufToDocument [23:52:44]Processing tag 1006 (03EE) [23:52:44]Load OK [23:52:44]SetTLVBufToDocument [23:52:44]Processing tag 1010 (03F2) [23:52:44]Malloc new data [23:52:44]Processing tag 1011 (03F3) [23:52:44]Malloc new data [23:52:44]SetTLVBufToDocument err=0 [23:52:44]Processing tag 1006 (03EE) [23:52:44]Load OK [23:52:44]SetTLVBufToDocument [23:52:44]Processing tag 1010 (03F2) [23:52:44]Malloc new data [23:52:44]Processing tag 1011 (03F3) [23:52:44]Malloc new data [23:52:44]SetTLVBufToDocument err=0 [23:52:44]Processing tag 1007 (03EF) [23:52:44]Load OK [23:52:44]SetTLVBufToDocument [23:52:44]Processing tag 1014 (03F6) [23:52:44]Malloc new data [23:52:44]Processing tag 1015 (03F7) [23:52:44]Malloc new data [23:52:44]SetTLVBufToDocument err=0 [23:52:44]Processing tag 1007 (03EF) [23:52:44]Load OK [23:52:44]SetTLVBufToDocument [23:52:44]Processing tag 1014 (03F6) [23:52:44]Malloc new data [23:52:44]Processing tag 1015 (03F7) [23:52:44]Malloc new data [23:52:44]SetTLVBufToDocument err=0 [23:52:44]Processing tag 1007 (03EF) [23:52:44]Load OK [23:52:44]SetTLVBufToDocument [23:52:44]Processing tag 1014 (03F6) [23:52:44]Malloc new data [23:52:44]Processing tag 1015 (03F7) [23:52:44]Malloc new data [23:52:44]SetTLVBufToDocument err=0 [23:52:44]Processing tag 1007 (03EF) [23:52:44]Load OK [23:52:44]SetTLVBufToDocument [23:52:44]Processing tag 1014 (03F6) [23:52:44]Malloc new data [23:52:44]Processing tag 1015 (03F7) [23:52:44]Malloc new data [23:52:44]SetTLVBufToDocument err=0 [23:52:44]Processing tag 1007 (03EF) [23:52:44]Load OK [23:52:44]SetTLVBufToDocument [23:52:44]Processing tag 1014 (03F6) [23:52:44]Malloc new data [23:52:44]Processing tag 1015 (03F7) [23:52:44]Malloc new data [23:52:44]SetTLVBufToDocument err=0 [23:52:44]Processing tag 1007 (03EF) [23:52:44]Load OK [23:52:44]SetTLVBufToDocument [23:52:44]Processing tag 1014 (03F6) [23:52:44]Malloc new data [23:52:44]Processing tag 1015 (03F7) [23:52:44]Malloc new data [23:52:44]SetTLVBufToDocument err=0 [23:52:44]Processing tag 1007 (03EF) [23:52:44]Load OK [23:52:44]SetTLVBufToDocument [23:52:44]Processing tag 1014 (03F6) [23:52:44]Malloc new data [23:52:44]Processing tag 1015 (03F7) [23:52:44]Malloc new data [23:52:44]SetTLVBufToDocument err=0 [23:52:44]SetTLVBufToDocument err=0 [23:52:44]SetTLVBufToDocument err=0 [23:52:44]Processing tag 1130 (046A) [23:52:44]Load OK [23:52:44]SetTLVBufToDocument [23:52:44]Processing tag 1135 (046F) [23:52:44]Malloc new data [23:52:44]Processing tag 1201 (04B1) [23:52:44]Malloc new data [23:52:44]Processing tag 1136 (0470) [23:52:44]Malloc new data [23:52:44]Processing tag 1138 (0472) [23:52:44]Malloc new data [23:52:44]Processing tag 1024 (0400) [23:52:44]Load OK [23:52:44]SetTLVBufToDocument [23:52:44]Processing tag 1006 (03EE) [23:52:44]Load OK [23:52:44]SetTLVBufToDocument [23:52:44]Processing tag 1010 (03F2) [23:52:45]Malloc new data [23:52:45]Processing tag 1011 (03F3) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1006 (03EE) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1010 (03F2) [23:52:45]Malloc new data [23:52:45]Processing tag 1011 (03F3) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1007 (03EF) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1014 (03F6) [23:52:45]Malloc new data [23:52:45]Processing tag 1015 (03F7) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1007 (03EF) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1014 (03F6) [23:52:45]Malloc new data [23:52:45]Processing tag 1015 (03F7) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1007 (03EF) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1014 (03F6) [23:52:45]Malloc new data [23:52:45]Processing tag 1015 (03F7) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1007 (03EF) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1014 (03F6) [23:52:45]Malloc new data [23:52:45]Processing tag 1015 (03F7) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1007 (03EF) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1014 (03F6) [23:52:45]Malloc new data [23:52:45]Processing tag 1015 (03F7) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1007 (03EF) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1014 (03F6) [23:52:45]Malloc new data [23:52:45]Processing tag 1015 (03F7) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1007 (03EF) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1014 (03F6) [23:52:45]Malloc new data [23:52:45]Processing tag 1015 (03F7) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]SetTLVBufToDocument err=0 [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1131 (046B) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1135 (046F) [23:52:45]Malloc new data [23:52:45]Processing tag 1201 (04B1) [23:52:45]Malloc new data [23:52:45]Processing tag 1136 (0470) [23:52:45]Malloc new data [23:52:45]Processing tag 1138 (0472) [23:52:45]Malloc new data [23:52:45]Processing tag 1024 (0400) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1006 (03EE) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1010 (03F2) [23:52:45]Malloc new data [23:52:45]Processing tag 1011 (03F3) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1006 (03EE) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1010 (03F2) [23:52:45]Malloc new data [23:52:45]Processing tag 1011 (03F3) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1007 (03EF) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1014 (03F6) [23:52:45]Malloc new data [23:52:45]Processing tag 1015 (03F7) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1007 (03EF) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1014 (03F6) [23:52:45]Malloc new data [23:52:45]Processing tag 1015 (03F7) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1007 (03EF) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1014 (03F6) [23:52:45]Malloc new data [23:52:45]Processing tag 1015 (03F7) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1007 (03EF) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1014 (03F6) [23:52:45]Malloc new data [23:52:45]Processing tag 1015 (03F7) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1007 (03EF) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1014 (03F6) [23:52:45]Malloc new data [23:52:45]Processing tag 1015 (03F7) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1007 (03EF) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1014 (03F6) [23:52:45]Malloc new data [23:52:45]Processing tag 1015 (03F7) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1007 (03EF) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1014 (03F6) [23:52:45]Malloc new data [23:52:45]Processing tag 1015 (03F7) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]SetTLVBufToDocument err=0 [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1132 (046C) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1135 (046F) [23:52:45]Malloc new data [23:52:45]Processing tag 1201 (04B1) [23:52:45]Malloc new data [23:52:45]Processing tag 1136 (0470) [23:52:45]Malloc new data [23:52:45]Processing tag 1138 (0472) [23:52:45]Malloc new data [23:52:45]Processing tag 1024 (0400) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1006 (03EE) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1010 (03F2) [23:52:45]Malloc new data [23:52:45]Processing tag 1011 (03F3) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1006 (03EE) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1010 (03F2) [23:52:45]Malloc new data [23:52:45]Processing tag 1011 (03F3) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1007 (03EF) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1014 (03F6) [23:52:45]Malloc new data [23:52:45]Processing tag 1015 (03F7) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1007 (03EF) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1014 (03F6) [23:52:45]Malloc new data [23:52:45]Processing tag 1015 (03F7) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1007 (03EF) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1014 (03F6) [23:52:45]Malloc new data [23:52:45]Processing tag 1015 (03F7) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1007 (03EF) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1014 (03F6) [23:52:45]Malloc new data [23:52:45]Processing tag 1015 (03F7) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1007 (03EF) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1014 (03F6) [23:52:45]Malloc new data [23:52:45]Processing tag 1015 (03F7) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1007 (03EF) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1014 (03F6) [23:52:45]Malloc new data [23:52:45]Processing tag 1015 (03F7) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1007 (03EF) [23:52:45]Load OK [23:52:45]SetTLVBufToDocument [23:52:45]Processing tag 1014 (03F6) [23:52:45]Malloc new data [23:52:45]Processing tag 1015 (03F7) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]SetTLVBufToDocument err=0 [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1133 (046D) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Processing tag 1077 (0435) [23:52:45]Malloc new data [23:52:45]SetTLVBufToDocument err=0 [23:52:45]Malloc new data [23:52:45]SAM_PROTO_GetFMData [23:52:45]wFMCommunicate request_size=4 [23:52:45]MH_SAM_APDU [23:52:45]CAPDU: 80 13 03 00 [23:52:45]Write to MH i2c: E2 08 00 38 15 80 13 03 00 00 00 00 00 CC [23:52:45]Write i2c OK [23:52:45]MH_I2C_Read... [23:52:45]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:52:45]Read from MH i2c: E2 [23:52:45]MH_I2C_Read... [23:52:45]Read from MH i2c: E2 FD 00 [23:52:45]MH_I2C_Read... [23:52:45]Read from MH i2c: E2 FD 00 38 15 00 BA 04 85 04 B6 04 6E 04 04 00 38 56 00 00 69 04 9C 00 6F 04 04 00 33 56 00 00 B1 04 04 00 D0 E7 53 30 70 04 04 00 D0 E7 53 30 72 04 00 00 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 EA 2B 22 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 27 7B 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 98 00 6F 04 04 00 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 81 [23:52:45]RAPDU: BA 04 85 04 B6 04 6E 04 04 00 38 56 00 00 69 04 9C 00 6F 04 04 00 33 56 00 00 B1 04 04 00 D0 E7 53 30 70 04 04 00 D0 E7 53 30 72 04 00 00 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 EA 2B 22 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 27 7B 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 98 00 6F 04 04 00 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 [23:52:46]wFMCommunicate OK [23:52:46]wFMCommunicate request_size=4 [23:52:46]MH_SAM_APDU [23:52:46]CAPDU: 80 17 00 00 [23:52:46]Write to MH i2c: E2 08 00 39 15 80 17 00 00 00 00 00 00 CE [23:52:46]Write i2c OK [23:52:46]MH_I2C_Read... [23:52:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:46]Read from MH i2c: E2 [23:52:46]MH_I2C_Read... [23:52:46]Read from MH i2c: E2 FD 00 [23:52:46]MH_I2C_Read... [23:52:46]Read from MH i2c: E2 FD 00 39 15 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E8 [23:52:46]RAPDU: EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:52:46]wFMCommunicate OK [23:52:46]wFMCommunicate request_size=4 [23:52:46]MH_SAM_APDU [23:52:46]CAPDU: 80 17 00 00 [23:52:46]Write to MH i2c: E2 08 00 3A 15 80 17 00 00 00 00 00 00 CF [23:52:46]Write i2c OK [23:52:46]MH_I2C_Read... [23:52:46]Read from MH i2c: E2 [23:52:46]MH_I2C_Read... [23:52:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:46]Read from MH i2c: E2 FD 00 [23:52:46]MH_I2C_Read... [23:52:46]Read from MH i2c: E2 FD 00 3A 15 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FB [23:52:47]RAPDU: 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:52:47]wFMCommunicate OK [23:52:47]wFMCommunicate request_size=4 [23:52:47]MH_SAM_APDU [23:52:47]CAPDU: 80 17 00 00 [23:52:47]Write to MH i2c: E2 08 00 3B 15 80 17 00 00 00 00 00 00 D0 [23:52:47]Write i2c OK [23:52:47]MH_I2C_Read... [23:52:47]Read from MH i2c: E2 [23:52:47]MH_I2C_Read... [23:52:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:52:47]Read from MH i2c: E2 FD 00 [23:52:47]MH_I2C_Read... [23:52:47]Read from MH i2c: E2 FD 00 3B 15 00 00 EF 03 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 90 00 48 [23:52:47]RAPDU: 00 EF 03 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 90 00 [23:52:47]wFMCommunicate OK [23:52:47]wFMCommunicate request_size=4 [23:52:47]MH_SAM_APDU [23:52:47]CAPDU: 80 17 00 00 [23:52:47]Write to MH i2c: E2 08 00 3C 15 80 17 00 00 00 00 00 00 D1 [23:52:47]Write i2c OK [23:52:47]MH_I2C_Read... [23:52:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 212! [23:52:48]OFD Sender: No OFD packet to send [23:52:48]Read from MH i2c: E2 [23:52:48]MH_I2C_Read... [23:52:48]Read from MH i2c: E2 D7 00 [23:52:48]MH_I2C_Read... [23:52:48]Read from MH i2c: E2 D7 00 3C 15 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 B4 [23:52:48]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:52:48]wFMCommunicate OK [23:52:48]SAM_PROTO_GetFMData done [23:52:48]Malloc new data [23:52:48]Malloc new data [23:52:48]Malloc new data [23:52:48]Malloc new data [23:52:48]KKMLoadAndSignCloseShiftData err=0 [23:52:48]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Каримов С. 25.09.2024 23:52 Смена: 231 РНМ: 0000000000146243 ЗНМ: 0300000061 СНО: Общий режим Чеков за смену: 107 ФД за смену: 109 Всего чеков: 107 ИТОГИ ПРИХОД Чеков: 107 Общий итог: 33488.00 Итого наличными: 33488.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 3556.62 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 296.33 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 33488.00 НС Приход: 8108052.00 НС Возвр.Прихода: 6752.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 22535 ФМ: 0000000000959358 ФПД: 12530452327881 [23:52:48]StoreToDocumentArchive [23:52:48]shift 231 fd 22535 [23:52:48]save to /storage/0231/doc_00022535 [23:52:48]save last doc name /storage/0231/doc_00022535 to /storage/kkm_last_doc_name [23:52:48]save OK [23:52:48]Clear old archive folders... [23:52:48]Remove dir /storage/0010 [23:52:48]opendir ok [23:52:48]file . [23:52:48]file .. [23:52:48]file doc_1727308316 [23:52:48]remove file /storage/0010/doc_1727308316 [23:52:48]remove dir /storage/0010 [23:52:48]NVStorageSaveData kkm_registers [23:52:48]File name is /storage/kkm_registers [23:52:48]Write 24 bytes [23:52:48]NVStorageSaveData done [23:52:48]NVStorageSaveData kkm_registers [23:52:48]File name is /storage/kkm_registers [23:52:48]Write 24 bytes [23:52:48]NVStorageSaveData done [23:52:48]ProcessDocumentItem done err = 0, tmpTLVsize=1375 [23:52:48]tlvbuf is 003550F0 [23:52:48]SAM_PROTO_ClearQueue [23:52:48]wFMCommunicate request_size=4 [23:52:48]MH_SAM_APDU [23:52:48]CAPDU: 80 09 00 00 [23:52:48]Write to MH i2c: E2 08 00 3D 15 80 09 00 00 00 00 00 00 C4 [23:52:48]Write i2c OK [23:52:48]MH_I2C_Read... [23:52:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:52:48]Read from MH i2c: E2 [23:52:48]MH_I2C_Read... [23:52:48]Read from MH i2c: E2 03 00 [23:52:48]MH_I2C_Read... [23:52:48]Read from MH i2c: E2 03 00 3D 15 00 90 00 C6 [23:52:48]RAPDU: 90 00 [23:52:48]wFMCommunicate OK [23:52:48]SAM_PROTO_ClearQueue done [23:52:48]KKMCreateOFDPacket [23:52:48]OFDProtocolAddRootSTLVToBuf [23:52:48]FM_MakeSignedData [23:52:48]FM_MakeSignedData [23:52:48]SAM_PROTO_SignData [23:52:48]wFMCommunicate request_size=4 [23:52:48]MH_SAM_APDU [23:52:48]CAPDU: 80 0D 01 02 [23:52:48]Write to MH i2c: E2 08 00 3E 15 80 0D 01 02 00 00 00 00 CC [23:52:48]Write i2c OK [23:52:48]MH_I2C_Read... [23:52:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:52:48]Read from MH i2c: E2 [23:52:48]MH_I2C_Read... [23:52:48]Read from MH i2c: E2 03 00 [23:52:48]MH_I2C_Read... [23:52:48]Read from MH i2c: E2 03 00 3E 15 00 90 00 C7 [23:52:48]RAPDU: 90 00 [23:52:48]wFMCommunicate OK [23:52:48]wFMCommunicate request_size=255 [23:52:48]MH_SAM_APDU [23:52:48]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 13 00 D0 9A D0 B0 D1 80 D0 B8 D0 BC D0 BE D0 B2 20 D0 A1 2E 20 F4 03 04 00 4B A2 F4 66 0E 04 04 00 E7 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 5E 04 04 00 6B 00 00 00 57 04 04 00 6D 00 00 00 AA 04 D3 04 6E 04 04 00 6B 00 00 00 69 04 A0 00 6F 04 04 00 6B 00 00 00 B1 04 03 00 40 19 33 70 04 03 00 40 19 33 72 04 01 00 00 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 4E 6D 05 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 [23:52:48]Write to MH i2c: E2 02 01 3F 15 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 13 00 D0 9A D0 B0 D1 80 D0 B8 D0 BC D0 BE D0 B2 20 D0 A1 2E 20 F4 03 04 00 4B A2 F4 66 0E 04 04 00 E7 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 5E 04 04 00 6B 00 00 00 57 04 04 00 6D 00 00 00 AA 04 D3 04 6E 04 04 00 6B 00 00 00 69 04 A0 00 6F 04 04 00 6B 00 00 00 B1 04 03 00 40 19 33 70 04 03 00 40 19 33 72 04 01 00 00 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 4E 6D 05 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 01 [23:52:49]Write i2c OK [23:52:49]MH_I2C_Read... [23:52:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:52:49]Read from MH i2c: E2 [23:52:49]MH_I2C_Read... [23:52:49]Read from MH i2c: E2 03 00 [23:52:49]MH_I2C_Read... [23:52:49]Read from MH i2c: E2 03 00 3F 15 00 90 00 C8 [23:52:49]RAPDU: 90 00 [23:52:49]wFMCommunicate OK [23:52:49]wFMCommunicate request_size=255 [23:52:49]MH_SAM_APDU [23:52:49]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 C1 73 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 [23:52:49]Write to MH i2c: E2 02 01 40 15 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 C1 73 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 78 [23:52:49]Write i2c OK [23:52:49]MH_I2C_Read... [23:52:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:52:50]Read from MH i2c: E2 [23:52:50]MH_I2C_Read... [23:52:50]Read from MH i2c: E2 03 00 [23:52:50]MH_I2C_Read... [23:52:50]Read from MH i2c: E2 03 00 40 15 00 90 00 C9 [23:52:50]RAPDU: 90 00 [23:52:50]wFMCommunicate OK [23:52:50]wFMCommunicate request_size=255 [23:52:50]MH_SAM_APDU [23:52:50]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 [23:52:50]Write to MH i2c: E2 02 01 41 15 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 0A [23:52:50]Write i2c OK [23:52:50]MH_I2C_Read... [23:52:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:52:50]Read from MH i2c: E2 [23:52:50]MH_I2C_Read... [23:52:50]Read from MH i2c: E2 03 00 [23:52:50]MH_I2C_Read... [23:52:50]Read from MH i2c: E2 03 00 41 15 00 90 00 CA [23:52:50]RAPDU: 90 00 [23:52:50]wFMCommunicate OK [23:52:50]wFMCommunicate request_size=255 [23:52:50]MH_SAM_APDU [23:52:50]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 [23:52:50]Write to MH i2c: E2 02 01 42 15 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 18 [23:52:51]Write i2c OK [23:52:51]MH_I2C_Read... [23:52:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:52:51]Read from MH i2c: E2 [23:52:51]MH_I2C_Read... [23:52:51]Read from MH i2c: E2 03 00 [23:52:51]MH_I2C_Read... [23:52:51]Read from MH i2c: E2 03 00 42 15 00 90 00 CB [23:52:51]RAPDU: 90 00 [23:52:51]wFMCommunicate OK [23:52:51]wFMCommunicate request_size=255 [23:52:51]MH_SAM_APDU [23:52:51]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 [23:52:51]Write to MH i2c: E2 02 01 43 15 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 69 [23:52:51]Write i2c OK [23:52:51]MH_I2C_Read... [23:52:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:52:51]Read from MH i2c: E2 [23:52:51]MH_I2C_Read... [23:52:51]Read from MH i2c: E2 03 00 [23:52:51]MH_I2C_Read... [23:52:51]Read from MH i2c: E2 03 00 43 15 00 90 00 CC [23:52:52]RAPDU: 90 00 [23:52:52]wFMCommunicate OK [23:52:52]wFMCommunicate request_size=134 [23:52:52]MH_SAM_APDU [23:52:52]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 07 58 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 35 04 06 00 0B 65 79 28 ED C9 [23:52:52]Write to MH i2c: E2 89 00 44 15 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 07 58 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 35 04 06 00 0B 65 79 28 ED C9 00 00 3C [23:52:52]Write i2c OK [23:52:52]MH_I2C_Read... [23:52:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:52:52]Read from MH i2c: E2 [23:52:52]MH_I2C_Read... [23:52:52]Read from MH i2c: E2 03 00 [23:52:52]MH_I2C_Read... [23:52:52]Read from MH i2c: E2 03 00 44 15 00 90 00 CD [23:52:52]RAPDU: 90 00 [23:52:52]wFMCommunicate OK [23:52:52]wFMCommunicate request_size=4 [23:52:52]MH_SAM_APDU [23:52:52]CAPDU: 80 0D 03 02 [23:52:52]Write to MH i2c: E2 08 00 45 15 80 0D 03 02 00 00 00 00 D5 [23:52:52]Write i2c OK [23:52:52]MH_I2C_Read... [23:52:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:52:52]Read from MH i2c: E2 [23:52:52]MH_I2C_Read... [23:52:52]Read from MH i2c: E2 0B 00 [23:52:52]MH_I2C_Read... [23:52:52]Read from MH i2c: E2 0B 00 45 15 00 16 AB BA AB B4 16 CC 33 90 00 C5 [23:52:52]RAPDU: 16 AB BA AB B4 16 CC 33 90 00 [23:52:52]wFMCommunicate OK [23:52:52]SAM_PROTO_SignData done [23:52:52]FM_MakeSignedData done [23:52:52]CreateOFDProtocolMessage [23:52:52]wFMCommunicate request_size=4 [23:52:52]MH_SAM_APDU [23:52:52]CAPDU: 80 11 00 00 [23:52:52]Write to MH i2c: E2 08 00 46 15 80 11 00 00 00 00 00 00 D5 [23:52:52]Write i2c OK [23:52:52]MH_I2C_Read... [23:52:52]Read from MH i2c: E2 [23:52:52]MH_I2C_Read... [23:52:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:52:52]Read from MH i2c: E2 17 00 [23:52:52]MH_I2C_Read... [23:52:52]Read from MH i2c: E2 17 00 46 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 2F [23:52:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [23:52:52]wFMCommunicate OK [23:52:52]CreateOFDProtocolMessage done [23:52:52]OFDSenderStorePacket 22535 [23:52:52]StoreOFDPacket docnum=22535 [23:52:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 73 05 00 00 98 D2 6B 05 A7 D2 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 13 00 D0 9A D0 B0 D1 80 D0 B8 D0 BC D0 BE D0 B2 20 D0 A1 2E 20 F4 03 04 00 4B A2 F4 66 0E 04 04 00 E7 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 5E 04 04 00 6B 00 00 00 57 04 04 00 6D 00 00 00 AA 04 D3 04 6E 04 04 00 6B 00 00 00 69 04 A0 00 6F 04 04 00 6B 00 00 00 B1 04 03 00 40 19 33 70 04 03 00 40 19 33 72 04 01 00 00 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 4E 6D 05 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 C1 73 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 07 58 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 35 04 06 00 0B 65 79 28 ED C9 16 AB BA AB B4 16 CC 33 [23:52:52]CheckFolder [23:52:52]dirname=/storage/ofd_packets [23:52:52]CheckFolder done [23:52:52]ProducePacketName [23:52:52]name=ofd_packets/00022535 [23:52:52]NVStorageSaveData ofd_packets/00022535 [23:52:52]File name is /storage/ofd_packets/00022535 [23:52:52]Write 1425 bytes [23:52:52]NVStorageSaveData done [23:52:52]OFDSenderStorePacket done [23:52:52]KKMCreateOFDPacket done [23:52:52]NVStorageSaveData kkm_last_timestamp [23:52:52]File name is /storage/kkm_last_timestamp [23:52:52]Write 4 bytes [23:52:52]NVStorageSaveData done [23:52:52]ExternCall_PrintAddStr [23:52:52]wPrintStart [23:52:52]Write to MH i2c: 01 00 00 47 15 5C [23:52:52]Write i2c OK [23:52:52]MH_I2C_Read... [23:52:52]Read from MH i2c: 01 [23:52:52]MH_I2C_Read... [23:52:52]Read from MH i2c: 01 07 00 [23:52:52]MH_I2C_Read... [23:52:52]Read from MH i2c: 01 07 00 47 15 00 00 00 00 00 FF 0F 71 [23:52:52]RasterBufferAndPrint [23:52:52]line Отчет о закрытии смены [23:52:52]line ФФД: 1.0 [23:52:52]line ИНН: 02508201610067 [23:52:52]line Кассир: Каримов С. [23:52:52]line 25.09.2024 23:52 [23:52:52]line Смена: 231 [23:52:52]line РНМ: 0000000000146243 [23:52:52]line ЗНМ: 0300000061 [23:52:52]line СНО: Общий режим [23:52:52]line Чеков за смену: 107 [23:52:52]line ФД за смену: 109 [23:52:53]line Всего чеков: 107 [23:52:53]line ИТОГИ ПРИХОД [23:52:53]line Чеков: 107 [23:52:53]line Общий итог: 33488.00 [23:52:53]line Итого наличными: 33488.00 [23:52:53]line Итого безнал.: 0.00 [23:52:53]line НДС 0% : 0.00 [23:52:53]line НДС 12% : 3556.62 [23:52:53]line НСП 0% : 0.00 [23:52:53]line НСП 1,50% : 0.00 [23:52:53]line НСП 0,50% : 0.00 [23:52:53]line НСП 5% : 0.00 [23:52:53]line НСП 3% : 0.00 [23:52:53]line НСП 2% : 0.00 [23:52:53]line НСП 1% : 296.33 [23:52:53]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:52:53]line Чеков: 0 [23:52:53]line Общий итог: 0.00 [23:52:53]line Итого наличными: 0.00 [23:52:53]line Итого безнал.: 0.00 [23:52:53]line НДС 0% : 0.00 [23:52:53]line НДС 12% : 0.00 [23:52:53]line НСП 0% : 0.00 [23:52:53]line НСП 1,50% : 0.00 [23:52:53]line НСП 0,50% : 0.00 [23:52:53]line НСП 5% : 0.00 [23:52:53]line НСП 3% : 0.00 [23:52:53]line НСП 2% : 0.00 [23:52:53]line НСП 1% : 0.00 [23:52:53]line ИТОГИ РАСХОД [23:52:53]line Чеков: 0 [23:52:53]line Общий итог: 0.00 [23:52:53]line Итого наличными: 0.00 [23:52:53]line Итого безнал.: 0.00 [23:52:53]line НДС 0% : 0.00 [23:52:53]line НДС 12% : 0.00 [23:52:53]line НСП 0% : 0.00 [23:52:53]line НСП 1,50% : 0.00 [23:52:53]line НСП 0,50% : 0.00 [23:52:53]line НСП 5% : 0.00 [23:52:53]line НСП 3% : 0.00 [23:52:53]line НСП 2% : 0.00 [23:52:53]line НСП 1% : 0.00 [23:52:53]line ИТОГИ ВОЗВРАТ РАСХОДА [23:52:53]line Чеков: 0 [23:52:53]line Общий итог: 0.00 [23:52:53]line Итого наличными: 0.00 [23:52:53]line Итого безнал.: 0.00 [23:52:53]line НДС 0% : 0.00 [23:52:53]line НДС 12% : 0.00 [23:52:53]line НСП 0% : 0.00 [23:52:53]line НСП 1,50% : 0.00 [23:52:53]line НСП 0,50% : 0.00 [23:52:53]line НСП 5% : 0.00 [23:52:53]line НСП 3% : 0.00 [23:52:53]line НСП 2% : 0.00 [23:52:53]line НСП 1% : 0.00 [23:52:53]line Сумма внесений: 0.00 [23:52:53]line Сумма выплат: 0.00 [23:52:53]line Нал. в кассе: 33488.00 [23:52:53]line НС Приход: 8108052.00 [23:52:53]line НС Возвр.Прихода: 6752.00 [23:52:53]line НС Расход: 0.00 [23:52:53]line НС Возвр.Расхода: 0.00 [23:52:53]line ФД: 22535 [23:52:53]line ФМ: 0000000000959358 [23:52:53]line ФПД: 12530452327881 [23:52:53]OFD Sender: Processing packet 22535 [packets to send 23, broken 22] [23:52:53]ProducePacketName [23:52:53]name=ofd_packets/00022535 [23:52:53]OFD Sender: To server: pG, [23:52:53]CommunicateWithHost lk.salyk.kg:30040 [23:52:53]ConnectInit lk.salyk.kg [23:52:53]written 0, free lines is 4095 [23:52:53]Connected sock=10 [23:52:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 73 05 00 00 98 D2 6B 05 A7 D2 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 13 00 D0 9A D0 B0 D1 80 D0 B8 D0 BC D0 BE D0 B2 20 D0 A1 2E 20 F4 03 04 00 4B A2 F4 66 0E 04 04 00 E7 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 5E 04 04 00 6B 00 00 00 57 04 04 00 6D 00 00 00 AA 04 D3 04 6E 04 04 00 6B 00 00 00 69 04 A0 00 6F 04 04 00 6B 00 00 00 B1 04 03 00 40 19 33 70 04 03 00 40 19 33 72 04 01 00 00 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 4E 6D 05 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 C1 73 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 Write to MH i2c: EE 01 03 00 09 00 00 97 F2 15 03 AC [23:52:54]01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 Write i2c OK [23:52:54]03 MH_I2C_Read... [23:52:54]00 00 EF 03 Read from MH i2c: 09 01 00 [23:52:54]F6 MH_I2C_Read... [23:52:54]03 01 00 01 F7 03 Read from MH i2c: 00 01 00 07 EF 00 03 [23:52:54]09 MH_I2C_Read... [23:52:54]00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 Read from MH i2c: 03 01 01 07 00 00 03 97 F7 15 03 00 00 00 00 00 EF 00 03 00 09 10 00 0D F6 03 01 00 04 F7 03 00 00 EF 03 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 D0 01 [23:52:54]00 RasterBufferAndPrint [23:52:54]01 line [23:52:54]F7 line [23:52:54]03 line [23:52:54]00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 line [23:52:54]00 line [23:52:54]EF 03 written 0, free lines is 3803 [23:52:54]09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 MH_Cut [23:52:54]01 Write to MH i2c: 00 D1 04 01 F7 00 03 9E 00 15 00 01 EF 85 03 [23:52:54]09 00 F6 03 01 00 05 F7 03 00 Write i2c OK [23:52:54]00 MH_I2C_Read... [23:52:54]EF Read from MH i2c: 03 D1 09 [23:52:54]00 MH_I2C_Read... [23:52:54]F6 Read from MH i2c: 03 D1 01 01 00 00 06 [23:52:54]F7 MH_I2C_Read... [23:52:54]03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 Read from MH i2c: 00 D1 B1 01 04 00 00 9E 00 15 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 00 84 F2 [23:52:54]03 Write to MH i2c: 01 01 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 00 01 9F F3 15 03 B4 00 [23:52:54]00 EF 03 09 00 F6 Write i2c OK [23:52:54]03 MH_I2C_Read... [23:52:54]01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 07 58 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 35 04 06 00 0B 65 79 28 ED C9 16 AB BA AB B4 16 CC 33 [23:52:54]*** Cut start [23:52:54]*** Partial cut [23:52:54]*** CUTSNS_PIN = 1 [23:52:54]*** CUTSNS_PIN = 0 [23:52:55]*** Brake cut motor [23:52:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 84 C1 47 00 E4 73 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 07 58 00 00 F4 03 04 00 78 4C F4 66 B6 04 01 00 00 60 8C DC 25 64 FD 37 66 [23:52:55]CommunicateWithHost err = 0 [23:52:55]CheckOFDResponse [23:52:55]1017 (14) - 77093643461234 [23:52:55]1041 (16) - 0000000000959358 [23:52:55]1040 (4) - 22535 [23:52:55]1012 (4) - 25.09.2024 17:46 [23:52:55]1206 (1) - 0 [23:52:55]OFD Sender: Remove packet 22535 [23:52:55]ProducePacketName [23:52:55]name=ofd_packets/00022535 [23:52:55]NVStorageDeleteData [23:52:55]Read from MH i2c: 01 [23:52:55]MH_I2C_Read... [23:52:55]*** Stop cut motor [23:52:55]*** Cut end [23:52:55]Read from MH i2c: 01 07 00 [23:52:55]MH_I2C_Read... [23:52:55]Read from MH i2c: 01 07 00 9F 15 00 00 00 00 00 FF 0F C9 [23:52:55]process_action close_shift done [23:52:55]requested_data is exist [23:52:55]produce_requested_data [23:52:55]requested_item fd.num is exist - process it [23:52:55]SAM_PROTO_GetFieldsCounters [23:52:55]wFMCommunicate request_size=4 [23:52:55]MH_SAM_APDU [23:52:55]CAPDU: 80 13 00 00 [23:52:55]Write to MH i2c: E2 08 00 A0 15 80 13 00 00 00 00 00 00 31 [23:52:55]Write i2c OK [23:52:55]MH_I2C_Read... [23:52:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:52:55]Read from MH i2c: E2 [23:52:55]MH_I2C_Read... [23:52:55]Read from MH i2c: E2 62 00 [23:52:55]MH_I2C_Read... [23:52:55]Read from MH i2c: E2 62 00 A0 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 07 58 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 6B 00 00 00 5E 04 04 00 6B 00 00 00 57 04 04 00 6D 00 00 00 19 04 04 00 00 00 00 00 90 00 DC [23:52:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 07 58 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 6B 00 00 00 5E 04 04 00 6B 00 00 00 57 04 04 00 6D 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:52:55]wFMCommunicate OK [23:52:55]SAM_PROTO_GetFieldsCounters done [23:52:55]requested_item shift.num is exist - process it [23:52:55]requested_item shift.opened is exist - process it [23:52:55]req_shift_opened [23:52:55]FM_GetShiftState [23:52:55]SAM_PROTO_GetShiftState [23:52:55]wFMCommunicate request_size=4 [23:52:55]MH_SAM_APDU [23:52:55]CAPDU: 80 13 01 00 [23:52:55]Write to MH i2c: E2 08 00 A1 15 80 13 01 00 00 00 00 00 33 [23:52:56]OFD Sender: No OFD packet to send [23:52:56]Write i2c OK [23:52:56]MH_I2C_Read... [23:52:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:52:56]Read from MH i2c: E2 [23:52:56]MH_I2C_Read... [23:52:56]Read from MH i2c: E2 0E 00 [23:52:56]MH_I2C_Read... [23:52:56]Read from MH i2c: E2 0E 00 A1 15 00 09 00 00 00 00 00 00 00 00 00 00 90 00 3E [23:52:56]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:52:56]wFMCommunicate OK [23:52:56]SAM_PROTO_GetShiftState done [23:52:56]FM_GetShiftState done [23:52:56]req_shift_opened done [23:52:56]requested_item shift.open_date is exist - process it [23:52:56]req_shift_open_date [23:52:56]FM_GetShiftState [23:52:56]SAM_PROTO_GetShiftState [23:52:56]wFMCommunicate request_size=4 [23:52:56]MH_SAM_APDU [23:52:56]CAPDU: 80 13 01 00 [23:52:56]Write to MH i2c: E2 08 00 A2 15 80 13 01 00 00 00 00 00 34 [23:52:56]Write i2c OK [23:52:56]MH_I2C_Read... [23:52:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:52:56]Read from MH i2c: E2 [23:52:56]MH_I2C_Read... [23:52:56]Read from MH i2c: E2 0E 00 [23:52:56]MH_I2C_Read... [23:52:56]Read from MH i2c: E2 0E 00 A2 15 00 09 00 00 00 00 00 00 00 00 00 00 90 00 3F [23:52:56]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:52:56]wFMCommunicate OK [23:52:56]SAM_PROTO_GetShiftState done [23:52:56]FM_GetShiftState done [23:52:56]req_shift_open_date done [23:52:56]produce_requested_data done [23:52:56]produce_requested_data return {"fd.num":22535,"shift.num":231,"shift.opened":0,"shift.open_date":0} [23:52:56]process_action_free close_shift [23:52:56]json_value_free [23:52:56]json_value_free done [23:52:56]process_json_proto returns [23:52:56]Send response to host [23:52:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":22535,"shift.num":231,"shift.opened":0,"shift.open_date":0}}} [23:52:56]free response buf [23:52:56]execute_script done [23:52:56]execute_script returns [23:52:56]free content buf [23:52:56]Sock 9.Close socket [23:52:56]Sock 9.Thread stoped [23:53:01]OFD Sender: No OFD packet to send [23:53:06]OFD Sender: No OFD packet to send [23:53:11]OFD Sender: No OFD packet to send [23:53:16]OFD Sender: No OFD packet to send [23:53:21]OFD Sender: No OFD packet to send [23:53:26]OFD Sender: No OFD packet to send [23:53:31]OFD Sender: No OFD packet to send [23:53:36]OFD Sender: No OFD packet to send [23:53:41]OFD Sender: No OFD packet to send [23:53:46]OFD Sender: No OFD packet to send [23:53:51]OFD Sender: No OFD packet to send [23:53:56]OFD Sender: No OFD packet to send [23:54:01]OFD Sender: No OFD packet to send [23:54:06]OFD Sender: No OFD packet to send [23:54:11]OFD Sender: No OFD packet to send [23:54:16]OFD Sender: No OFD packet to send [23:54:21]OFD Sender: No OFD packet to send [23:54:26]OFD Sender: No OFD packet to send [23:54:31]OFD Sender: No OFD packet to send [23:54:36]OFD Sender: No OFD packet to send [23:54:41]OFD Sender: No OFD packet to send [23:54:46]OFD Sender: No OFD packet to send [23:54:51]OFD Sender: No OFD packet to send [23:54:56]OFD Sender: No OFD packet to send [23:55:01]OFD Sender: No OFD packet to send [23:55:06]OFD Sender: No OFD packet to send [23:55:11]OFD Sender: No OFD packet to send [23:55:16]OFD Sender: No OFD packet to send [23:55:21]OFD Sender: No OFD packet to send [23:55:26]OFD Sender: No OFD packet to send [23:55:31]OFD Sender: No OFD packet to send [23:55:36]OFD Sender: No OFD packet to send [23:55:41]OFD Sender: No OFD packet to send [23:55:46]OFD Sender: No OFD packet to send [23:55:51]OFD Sender: No OFD packet to send [23:55:56]OFD Sender: No OFD packet to send [23:56:01]OFD Sender: No OFD packet to send [23:56:06]OFD Sender: No OFD packet to send [23:56:11]OFD Sender: No OFD packet to send [23:56:16]OFD Sender: No OFD packet to send [23:56:21]OFD Sender: No OFD packet to send [23:56:26]OFD Sender: No OFD packet to send [23:56:31]OFD Sender: No OFD packet to send [23:56:36]OFD Sender: No OFD packet to send [23:56:41]OFD Sender: No OFD packet to send [23:56:46]OFD Sender: No OFD packet to send [23:56:51]OFD Sender: No OFD packet to send [23:56:56]OFD Sender: No OFD packet to send [23:57:01]OFD Sender: No OFD packet to send [23:57:06]OFD Sender: No OFD packet to send [23:57:11]OFD Sender: No OFD packet to send [23:57:16]OFD Sender: No OFD packet to send [23:57:21]OFD Sender: No OFD packet to send [23:57:26]OFD Sender: No OFD packet to send [23:57:31]OFD Sender: No OFD packet to send [23:57:36]OFD Sender: No OFD packet to send [23:57:41]OFD Sender: No OFD packet to send [23:57:46]OFD Sender: No OFD packet to send [23:57:51]OFD Sender: No OFD packet to send [23:57:56]OFD Sender: No OFD packet to send [23:58:01]OFD Sender: No OFD packet to send [23:58:06]OFD Sender: No OFD packet to send [23:58:11]OFD Sender: No OFD packet to send [23:58:16]OFD Sender: No OFD packet to send [23:58:21]OFD Sender: No OFD packet to send [23:58:26]OFD Sender: No OFD packet to send [23:58:31]OFD Sender: No OFD packet to send [23:58:36]OFD Sender: No OFD packet to send [23:58:41]OFD Sender: No OFD packet to send [23:58:46]OFD Sender: No OFD packet to send [23:58:51]OFD Sender: No OFD packet to send [23:58:56]OFD Sender: No OFD packet to send [23:59:01]OFD Sender: No OFD packet to send [23:59:06]OFD Sender: No OFD packet to send [23:59:11]OFD Sender: No OFD packet to send [23:59:16]OFD Sender: No OFD packet to send [23:59:21]OFD Sender: No OFD packet to send [23:59:26]OFD Sender: No OFD packet to send [23:59:31]OFD Sender: No OFD packet to send [23:59:36]OFD Sender: No OFD packet to send [23:59:41]OFD Sender: No OFD packet to send [23:59:46]OFD Sender: No OFD packet to send [23:59:51]OFD Sender: No OFD packet to send [23:59:56]OFD Sender: No OFD packet to send [00:00:01]OFD Sender: No OFD packet to send [00:00:06]OFD Sender: No OFD packet to send [00:00:11]OFD Sender: No OFD packet to send [00:00:16]OFD Sender: No OFD packet to send [00:00:21]OFD Sender: No OFD packet to send [00:00:26]OFD Sender: No OFD packet to send [00:00:31]OFD Sender: No OFD packet to send [00:00:36]OFD Sender: No OFD packet to send [00:00:41]OFD Sender: No OFD packet to send [00:00:46]OFD Sender: No OFD packet to send [00:00:51]OFD Sender: No OFD packet to send [00:00:56]OFD Sender: No OFD packet to send [00:01:01]OFD Sender: No OFD packet to send [00:01:06]OFD Sender: No OFD packet to send [00:01:11]OFD Sender: No OFD packet to send [00:01:16]OFD Sender: No OFD packet to send [00:01:21]OFD Sender: No OFD packet to send [00:01:26]OFD Sender: No OFD packet to send [00:01:31]OFD Sender: No OFD packet to send [00:01:36]OFD Sender: No OFD packet to send [00:01:41]OFD Sender: No OFD packet to send [00:01:46]OFD Sender: No OFD packet to send [00:01:51]OFD Sender: No OFD packet to send [00:01:56]OFD Sender: No OFD packet to send [00:02:01]OFD Sender: No OFD packet to send [00:02:06]OFD Sender: No OFD packet to send [00:02:11]OFD Sender: No OFD packet to send [00:02:16]OFD Sender: No OFD packet to send [00:02:21]OFD Sender: No OFD packet to send [00:02:26]OFD Sender: No OFD packet to send [00:02:31]OFD Sender: No OFD packet to send [00:02:36]OFD Sender: No OFD packet to send [00:02:41]OFD Sender: No OFD packet to send [00:02:46]OFD Sender: No OFD packet to send [00:02:51]OFD Sender: No OFD packet to send [00:02:56]OFD Sender: No OFD packet to send [00:03:01]OFD Sender: No OFD packet to send [00:03:06]OFD Sender: No OFD packet to send [00:03:11]OFD Sender: No OFD packet to send [00:03:16]OFD Sender: No OFD packet to send [00:03:21]OFD Sender: No OFD packet to send [00:03:26]OFD Sender: No OFD packet to send [00:03:31]OFD Sender: No OFD packet to send [00:03:36]OFD Sender: No OFD packet to send [00:03:41]OFD Sender: No OFD packet to send [00:03:46]OFD Sender: No OFD packet to send [00:03:51]OFD Sender: No OFD packet to send [00:03:56]OFD Sender: No OFD packet to send [00:04:01]OFD Sender: No OFD packet to send [00:04:06]OFD Sender: No OFD packet to send [00:04:11]OFD Sender: No OFD packet to send [00:04:16]OFD Sender: No OFD packet to send [00:04:21]OFD Sender: No OFD packet to send [00:04:26]OFD Sender: No OFD packet to send [00:04:31]OFD Sender: No OFD packet to send [00:04:36]OFD Sender: No OFD packet to send [00:04:41]OFD Sender: No OFD packet to send [00:04:46]OFD Sender: No OFD packet to send [00:04:51]OFD Sender: No OFD packet to send [00:04:56]OFD Sender: No OFD packet to send [00:05:01]OFD Sender: No OFD packet to send [00:05:06]OFD Sender: No OFD packet to send [00:05:11]OFD Sender: No OFD packet to send [00:05:16]OFD Sender: No OFD packet to send [00:05:21]OFD Sender: No OFD packet to send [00:05:26]OFD Sender: No OFD packet to send [00:05:31]OFD Sender: No OFD packet to send [00:05:36]OFD Sender: No OFD packet to send [00:05:41]OFD Sender: No OFD packet to send [00:05:46]OFD Sender: No OFD packet to send [00:05:51]OFD Sender: No OFD packet to send [00:05:56]OFD Sender: No OFD packet to send [00:06:01]OFD Sender: No OFD packet to send [00:06:06]OFD Sender: No OFD packet to send [00:06:11]OFD Sender: No OFD packet to send [00:06:16]OFD Sender: No OFD packet to send [00:06:21]OFD Sender: No OFD packet to send [00:06:26]OFD Sender: No OFD packet to send [00:06:31]OFD Sender: No OFD packet to send [00:06:36]OFD Sender: No OFD packet to send [00:06:41]OFD Sender: No OFD packet to send [00:06:46]OFD Sender: No OFD packet to send [00:06:51]OFD Sender: No OFD packet to send [00:06:56]OFD Sender: No OFD packet to send [00:07:01]OFD Sender: No OFD packet to send [00:07:06]OFD Sender: No OFD packet to send [00:07:11]OFD Sender: No OFD packet to send [00:07:16]OFD Sender: No OFD packet to send [00:07:21]OFD Sender: No OFD packet to send [00:07:26]OFD Sender: No OFD packet to send [00:07:31]OFD Sender: No OFD packet to send [00:07:36]OFD Sender: No OFD packet to send [00:07:41]OFD Sender: No OFD packet to send [00:07:46]OFD Sender: No OFD packet to send [00:07:51]OFD Sender: No OFD packet to send [00:07:56]OFD Sender: No OFD packet to send [00:08:01]OFD Sender: No OFD packet to send [00:08:06]OFD Sender: No OFD packet to send [00:08:11]OFD Sender: No OFD packet to send [00:08:16]OFD Sender: No OFD packet to send [00:08:21]OFD Sender: No OFD packet to send [00:08:26]OFD Sender: No OFD packet to send [00:08:31]OFD Sender: No OFD packet to send [00:08:36]OFD Sender: No OFD packet to send [00:08:41]OFD Sender: No OFD packet to send [00:08:46]OFD Sender: No OFD packet to send [00:08:51]OFD Sender: No OFD packet to send [00:08:56]OFD Sender: No OFD packet to send [00:09:01]OFD Sender: No OFD packet to send [00:09:06]OFD Sender: No OFD packet to send [00:09:11]OFD Sender: No OFD packet to send [00:09:16]OFD Sender: No OFD packet to send [00:09:21]OFD Sender: No OFD packet to send [00:09:26]OFD Sender: No OFD packet to send [00:09:31]OFD Sender: No OFD packet to send [00:09:36]OFD Sender: No OFD packet to send [00:09:41]OFD Sender: No OFD packet to send [00:09:46]OFD Sender: No OFD packet to send [00:09:51]OFD Sender: No OFD packet to send [00:09:56]OFD Sender: No OFD packet to send [00:10:01]OFD Sender: No OFD packet to send [00:10:06]OFD Sender: No OFD packet to send [00:10:11]OFD Sender: No OFD packet to send [00:10:16]OFD Sender: No OFD packet to send [00:10:21]OFD Sender: No OFD packet to send [00:10:26]OFD Sender: No OFD packet to send [00:10:31]OFD Sender: No OFD packet to send [00:10:36]OFD Sender: No OFD packet to send [00:10:41]OFD Sender: No OFD packet to send [00:10:46]OFD Sender: No OFD packet to send [00:10:51]OFD Sender: No OFD packet to send [00:10:56]OFD Sender: No OFD packet to send [00:11:01]OFD Sender: No OFD packet to send [00:11:06]OFD Sender: No OFD packet to send [00:11:11]OFD Sender: No OFD packet to send [00:11:16]OFD Sender: No OFD packet to send [00:11:21]OFD Sender: No OFD packet to send [00:11:26]accept exits with 7 [00:11:26]New connection [00:11:26]New thread 3067583844 created [00:11:26]Thread 3067440484 joined [00:11:26]Waiting for new connection... [00:11:26] Sock 7.Parse request [00:11:26]Sock 7.Check first char [00:11:26]Sock 7.First char is OK [00:11:26]request: POST /json_proto HTTP/1.0 [00:11:26]Method: POST [00:11:26]URL: /json_proto [00:11:26]Method is POST - this is cgi request [00:11:26]url: /json_proto [00:11:26]query_string will be loaded in cgi processing [00:11:26]execute_cgi json_proto POST (null) [00:11:26]execute_cgi path=json_proto method=POST [00:11:26]POST find Content-Length [00:11:26]Host: 172.17.43.4:8080 [00:11:26]Content-Length: 215 [00:11:26]Content-Type: application/json [00:11:26] [00:11:26]POST finish read [00:11:26]Found Content-Length = 215 [00:11: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" ] } } [00:11:26]execute_script... [00:11: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" ] } } [00:11:26]POST & json_proto [00:11:26]process_json_proto [00:11:26]json parsed OK: [00:11:26]protocol is kg_v1.0 [00:11:26]action value=get_value [00:11:26]process_action get_value [00:11:26]cmd_get_value [00:11:26]process_action get_value done [00:11:26]requested_data is exist [00:11:26]produce_requested_data [00:11:26]requested_item kkm.sn is exist - process it [00:11:26]requested_item kkm.ver is exist - process it [00:11:26]requested_item fm.sn is exist - process it [00:11:26]wFMCommunicate request_size=4 [00:11:26]MH_SAM_APDU [00:11:26]CAPDU: 80 11 00 00 [00:11:26]Write to MH i2c: E2 08 00 A3 15 80 11 00 00 00 00 00 00 32 [00:11:26]Write i2c OK [00:11:26]MH_I2C_Read... [00:11:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:11:26]Read from MH i2c: E2 [00:11:26]MH_I2C_Read... [00:11:26]Read from MH i2c: E2 17 00 [00:11:26]MH_I2C_Read... [00:11:26]Read from MH i2c: E2 17 00 A3 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 8C [00:11:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [00:11:26]wFMCommunicate OK [00:11:26]requested_item fd.num is exist - process it [00:11:26]SAM_PROTO_GetFieldsCounters [00:11:26]wFMCommunicate request_size=4 [00:11:26]MH_SAM_APDU [00:11:26]CAPDU: 80 13 00 00 [00:11:26]Write to MH i2c: E2 08 00 A4 15 80 13 00 00 00 00 00 00 35 [00:11:26]Write i2c OK [00:11:26]MH_I2C_Read... [00:11:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:11:26]Read from MH i2c: E2 [00:11:26]MH_I2C_Read... [00:11:26]Read from MH i2c: E2 62 00 [00:11:26]MH_I2C_Read... [00:11:26]Read from MH i2c: E2 62 00 A4 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 07 58 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 6B 00 00 00 5E 04 04 00 6B 00 00 00 57 04 04 00 6D 00 00 00 19 04 04 00 00 00 00 00 90 00 E0 [00:11:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 07 58 00 00 0E 04 04 00 E7 00 00 00 12 04 04 00 6B 00 00 00 5E 04 04 00 6B 00 00 00 57 04 04 00 6D 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:11:26]wFMCommunicate OK [00:11:26]SAM_PROTO_GetFieldsCounters done [00:11:26]requested_item shift.num is exist - process it [00:11:26]requested_item shift.opened is exist - process it [00:11:26]req_shift_opened [00:11:26]FM_GetShiftState [00:11:26]SAM_PROTO_GetShiftState [00:11:26]wFMCommunicate request_size=4 [00:11:26]MH_SAM_APDU [00:11:26]CAPDU: 80 13 01 00 [00:11:26]Write to MH i2c: E2 08 00 A5 15 80 13 01 00 00 00 00 00 37 [00:11:26]Write i2c OK [00:11:26]MH_I2C_Read... [00:11:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:26]Read from MH i2c: E2 [00:11:26]MH_I2C_Read... [00:11:26]Read from MH i2c: E2 0E 00 [00:11:26]MH_I2C_Read... [00:11:26]Read from MH i2c: E2 0E 00 A5 15 00 09 00 00 00 00 00 00 00 00 00 00 90 00 42 [00:11:26]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:11:26]wFMCommunicate OK [00:11:26]SAM_PROTO_GetShiftState done [00:11:26]FM_GetShiftState done [00:11:26]req_shift_opened done [00:11:26]requested_item shift.open_date is exist - process it [00:11:26]req_shift_open_date [00:11:26]FM_GetShiftState [00:11:26]SAM_PROTO_GetShiftState [00:11:26]wFMCommunicate request_size=4 [00:11:26]MH_SAM_APDU [00:11:26]CAPDU: 80 13 01 00 [00:11:26]Write to MH i2c: E2 08 00 A6 15 80 13 01 00 00 00 00 00 38 [00:11:26]Write i2c OK [00:11:26]MH_I2C_Read... [00:11:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:26]Read from MH i2c: E2 [00:11:26]MH_I2C_Read... [00:11:26]Read from MH i2c: E2 0E 00 [00:11:26]MH_I2C_Read... [00:11:26]Read from MH i2c: E2 0E 00 A6 15 00 09 00 00 00 00 00 00 00 00 00 00 90 00 43 [00:11:26]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:11:26]wFMCommunicate OK [00:11:26]SAM_PROTO_GetShiftState done [00:11:26]FM_GetShiftState done [00:11:26]req_shift_open_date done [00:11:26]produce_requested_data done [00:11:26]produce_requested_data return {"kkm.sn":"0300000061","kkm.ver":"v1.0","fm.sn":"0000000000959358","fd.num":22535,"shift.num":231,"shift.opened":0,"shift.open_date":0} [00:11:26]process_action_free get_value [00:11:26]json_value_free [00:11:26]json_value_free done [00:11:26]process_json_proto returns [00:11:26]Send response to host [00:11:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000061","kkm.ver":"v1.0","fm.sn":"0000000000959358","fd.num":22535,"shift.num":231,"shift.opened":0,"shift.open_date":0}}} [00:11:26]free response buf [00:11:26]execute_script done [00:11:26]execute_script returns [00:11:26]free content buf [00:11:26]Sock 7.Close socket [00:11:26]Sock 7.Thread stoped [00:11:26]accept exits with 9 [00:11:26]New connection [00:11:26]New thread 3067440484 created [00:11:26]Thread 3067583844 joined [00:11:26]Waiting for new connection... [00:11:26] Sock 9.Parse request [00:11:26]Sock 9.Check first char [00:11:26]Sock 9.First char is OK [00:11:26]request: POST /json_proto HTTP/1.0 [00:11:26]Method: POST [00:11:26]URL: /json_proto [00:11:26]Method is POST - this is cgi request [00:11:26]url: /json_proto [00:11:26]query_string will be loaded in cgi processing [00:11:26]execute_cgi json_proto POST (null) [00:11:26]execute_cgi path=json_proto method=POST [00:11:26]POST find Content-Length [00:11:26]Host: 172.17.43.4:8080 [00:11:26]Content-Length: 331 [00:11:26]Content-Type: application/json [00:11:26] [00:11:26]POST finish read [00:11:26]Found Content-Length = 331 [00:11:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:11:26]execute_script... [00:11:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:11:26]POST & json_proto [00:11:26]process_json_proto [00:11:26]json parsed OK: [00:11:26]protocol is kg_v1.0 [00:11:26]action value=get_value [00:11:26]process_action get_value [00:11:26]cmd_get_value [00:11:26]process_action get_value done [00:11:26]requested_data is exist [00:11:26]produce_requested_data [00:11:26]requested_item fm.sale.total is exist - process it [00:11:26]SAM_PROTO_GetFMData [00:11:26]wFMCommunicate request_size=4 [00:11:26]MH_SAM_APDU [00:11:26]CAPDU: 80 13 03 00 [00:11:26]Write to MH i2c: E2 08 00 A7 15 80 13 03 00 00 00 00 00 3B [00:11:26]OFD Sender: No OFD packet to send [00:11:27]Write i2c OK [00:11:27]MH_I2C_Read... [00:11:27]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:11:27]Read from MH i2c: E2 [00:11:27]MH_I2C_Read... [00:11:27]Read from MH i2c: E2 FD 00 [00:11:27]MH_I2C_Read... [00:11:27]Read from MH i2c: E2 FD 00 A7 15 00 BA 04 85 04 B6 04 6E 04 04 00 38 56 00 00 69 04 9C 00 6F 04 04 00 33 56 00 00 B1 04 04 00 D0 E7 53 30 70 04 04 00 D0 E7 53 30 72 04 00 00 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 EA 2B 22 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 27 7B 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 98 00 6F 04 04 00 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 F0 [00:11:27]RAPDU: BA 04 85 04 B6 04 6E 04 04 00 38 56 00 00 69 04 9C 00 6F 04 04 00 33 56 00 00 B1 04 04 00 D0 E7 53 30 70 04 04 00 D0 E7 53 30 72 04 00 00 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 EA 2B 22 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 27 7B 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 98 00 6F 04 04 00 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 [00:11:27]wFMCommunicate OK [00:11:27]wFMCommunicate request_size=4 [00:11:27]MH_SAM_APDU [00:11:27]CAPDU: 80 17 00 00 [00:11:27]Write to MH i2c: E2 08 00 A8 15 80 17 00 00 00 00 00 00 3D [00:11:27]Write i2c OK [00:11:27]MH_I2C_Read... [00:11:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:27]Read from MH i2c: E2 [00:11:27]MH_I2C_Read... [00:11:27]Read from MH i2c: E2 FD 00 [00:11:27]MH_I2C_Read... [00:11:27]Read from MH i2c: E2 FD 00 A8 15 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 57 [00:11:27]RAPDU: EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:27]wFMCommunicate OK [00:11:27]wFMCommunicate request_size=4 [00:11:27]MH_SAM_APDU [00:11:27]CAPDU: 80 17 00 00 [00:11:27]Write to MH i2c: E2 08 00 A9 15 80 17 00 00 00 00 00 00 3E [00:11:27]Write i2c OK [00:11:27]MH_I2C_Read... [00:11:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:27]Read from MH i2c: E2 [00:11:27]MH_I2C_Read... [00:11:27]Read from MH i2c: E2 FD 00 [00:11:27]MH_I2C_Read... [00:11:27]Read from MH i2c: E2 FD 00 A9 15 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 6A [00:11:27]RAPDU: 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:27]wFMCommunicate OK [00:11:27]wFMCommunicate request_size=4 [00:11:27]MH_SAM_APDU [00:11:27]CAPDU: 80 17 00 00 [00:11:27]Write to MH i2c: E2 08 00 AA 15 80 17 00 00 00 00 00 00 3F [00:11:27]Write i2c OK [00:11:27]MH_I2C_Read... [00:11:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:28]Read from MH i2c: E2 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 FD 00 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 FD 00 AA 15 00 00 EF 03 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 90 00 B7 [00:11:28]RAPDU: 00 EF 03 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 90 00 [00:11:28]wFMCommunicate OK [00:11:28]wFMCommunicate request_size=4 [00:11:28]MH_SAM_APDU [00:11:28]CAPDU: 80 17 00 00 [00:11:28]Write to MH i2c: E2 08 00 AB 15 80 17 00 00 00 00 00 00 40 [00:11:28]Write i2c OK [00:11:28]MH_I2C_Read... [00:11:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 212! [00:11:28]Read from MH i2c: E2 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 D7 00 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 D7 00 AB 15 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 23 [00:11:28]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:11:28]wFMCommunicate OK [00:11:28]SAM_PROTO_GetFMData done [00:11:28]requested_item fm.sale_refund.total is exist - process it [00:11:28]requested_item fm.buy.total is exist - process it [00:11:28]requested_item shift.sale.total is exist - process it [00:11:28]SAM_PROTO_GetShiftData [00:11:28]wFMCommunicate request_size=4 [00:11:28]MH_SAM_APDU [00:11:28]CAPDU: 80 13 02 00 [00:11:28]Write to MH i2c: E2 08 00 AC 15 80 13 02 00 00 00 00 00 3F [00:11:28]Write i2c OK [00:11:28]MH_I2C_Read... [00:11:28]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:11:28]Read from MH i2c: E2 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 FD 00 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 FD 00 AC 15 00 AB 04 AA 04 A7 04 6E 04 04 00 6B 00 00 00 69 04 98 00 6F 04 04 00 6B 00 00 00 B1 04 03 00 40 19 33 70 04 03 00 40 19 33 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 4E 6D 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 C1 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D9 [00:11:28]RAPDU: AB 04 AA 04 A7 04 6E 04 04 00 6B 00 00 00 69 04 98 00 6F 04 04 00 6B 00 00 00 B1 04 03 00 40 19 33 70 04 03 00 40 19 33 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 4E 6D 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 C1 73 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [00:11:28]wFMCommunicate OK [00:11:28]wFMCommunicate request_size=4 [00:11:28]MH_SAM_APDU [00:11:28]CAPDU: 80 17 00 00 [00:11:28]Write to MH i2c: E2 08 00 AD 15 80 17 00 00 00 00 00 00 42 [00:11:28]Write i2c OK [00:11:28]MH_I2C_Read... [00:11:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:29]Read from MH i2c: E2 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: E2 FD 00 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: E2 FD 00 AD 15 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 57 [00:11:29]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 [00:11:29]wFMCommunicate OK [00:11:29]wFMCommunicate request_size=4 [00:11:29]MH_SAM_APDU [00:11:29]CAPDU: 80 17 00 00 [00:11:29]Write to MH i2c: E2 08 00 AE 15 80 17 00 00 00 00 00 00 43 [00:11:29]Write i2c OK [00:11:29]MH_I2C_Read... [00:11:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:29]Read from MH i2c: E2 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: E2 FD 00 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: E2 FD 00 AE 15 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F3 [00:11:29]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 [00:11:29]wFMCommunicate OK [00:11:29]wFMCommunicate request_size=4 [00:11:29]MH_SAM_APDU [00:11:29]CAPDU: 80 17 00 00 [00:11:29]Write to MH i2c: E2 08 00 AF 15 80 17 00 00 00 00 00 00 44 [00:11:29]Write i2c OK [00:11:29]MH_I2C_Read... [00:11:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:29]Read from MH i2c: E2 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: E2 FD 00 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: E2 FD 00 AF 15 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 CA [00:11:29]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 [00:11:29]wFMCommunicate OK [00:11:29]wFMCommunicate request_size=4 [00:11:29]MH_SAM_APDU [00:11:29]CAPDU: 80 17 00 00 [00:11:29]Write to MH i2c: E2 08 00 B0 15 80 17 00 00 00 00 00 00 45 [00:11:29]Write i2c OK [00:11:29]MH_I2C_Read... [00:11:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 197! [00:11:30]Read from MH i2c: E2 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 C8 00 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 C8 00 B0 15 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 28 [00:11:30]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 [00:11:30]wFMCommunicate OK [00:11:30]SAM_PROTO_GetShiftData done [00:11:30]requested_item shift.sale.total_cash is exist - process it [00:11:30]requested_item shift.sale_refund.total is exist - process it [00:11:30]requested_item shift.sale_refund.total_cash is exist - process it [00:11:30]requested_item shift.buy.total is exist - process it [00:11:30]requested_item shift.buy.total_cash is exist - process it [00:11:30]produce_requested_data done [00:11:30]produce_requested_data return {"fm.sale.total":8108052.00,"fm.sale_refund.total":6752.00,"fm.buy.total":0.00,"shift.sale.total":33488.00,"shift.sale.total_cash":33488.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:11:30]process_action_free get_value [00:11:30]json_value_free [00:11:30]json_value_free done [00:11:30]process_json_proto returns [00:11:30]Send response to host [00:11:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8108052.00,"fm.sale_refund.total":6752.00,"fm.buy.total":0.00,"shift.sale.total":33488.00,"shift.sale.total_cash":33488.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:11:30]free response buf [00:11:30]execute_script done [00:11:30]execute_script returns [00:11:30]free content buf [00:11:30]Sock 9.Close socket [00:11:30]Sock 9.Thread stoped [00:11:30]accept exits with 7 [00:11:30]New connection [00:11:30]New thread 3067583844 created [00:11:30]Thread 3067440484 joined [00:11:30]Waiting for new connection... [00:11:30] Sock 7.Parse request [00:11:30]Sock 7.Check first char [00:11:30]Sock 7.First char is OK [00:11:30]request: POST /json_proto HTTP/1.0 [00:11:30]Method: POST [00:11:30]URL: /json_proto [00:11:30]Method is POST - this is cgi request [00:11:30]url: /json_proto [00:11:30]query_string will be loaded in cgi processing [00:11:30]execute_cgi json_proto POST (null) [00:11:30]execute_cgi path=json_proto method=POST [00:11:30]POST find Content-Length [00:11:30]Host: 172.17.43.4:8080 [00:11:30]Content-Length: 273 [00:11:30]Content-Type: application/json [00:11:30] [00:11:30]POST finish read [00:11:30]Found Content-Length = 273 [00:11:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041C\u0430\u0448\u0440\u0430\u043F\u0431\u0430\u0439 \u041A. \u041F. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:11:30]execute_script... [00:11:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041C\u0430\u0448\u0440\u0430\u043F\u0431\u0430\u0439 \u041A. \u041F. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:11:30]POST & json_proto [00:11:30]process_json_proto [00:11:30]json parsed OK: [00:11:30]protocol is kg_v1.0 [00:11:30]action value=open_shift [00:11:30]process_action open_shift [00:11:30]cmd_open_shift [00:11:30]MH_GetDate [00:11:30]Write to MH i2c: F0 00 00 B1 15 B5 [00:11:30]Write i2c OK [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: F0 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: F0 09 00 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: F0 09 00 B1 15 00 B4 A6 F4 66 02 BF CF 66 68 [00:11:30]GetLastDocTimeStamp 1727308363 [00:11:30]current date 1727309492 [00:11:30]FM_GetShiftState [00:11:30]SAM_PROTO_GetShiftState [00:11:30]wFMCommunicate request_size=4 [00:11:30]MH_SAM_APDU [00:11:30]CAPDU: 80 13 01 00 [00:11:30]Write to MH i2c: E2 08 00 B2 15 80 13 01 00 00 00 00 00 44 [00:11:30]Write i2c OK [00:11:30]MH_I2C_Read... [00:11:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:30]Read from MH i2c: E2 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 0E 00 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 0E 00 B2 15 00 09 00 00 00 00 00 00 00 00 00 00 90 00 4F [00:11:30]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:11:30]wFMCommunicate OK [00:11:30]SAM_PROTO_GetShiftState done [00:11:30]FM_GetShiftState done [00:11:30]KKMCreateOpenShiftDocument [00:11:30]Load OK [00:11:30]Malloc new data [00:11:30]MH_GetDate [00:11:30]Write to MH i2c: F0 00 00 B3 15 B7 [00:11:30]Write i2c OK [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: F0 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: F0 09 00 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: F0 09 00 B3 15 00 B4 A6 F4 66 02 BF CF 66 6A [00:11:30]Malloc new data [00:11:30]KKMCreateOpenShiftDocument OK [00:11:30]KKMSetOpenShiftData OK [00:11:30]ProcessDocumentItem done err = 0, tmpTLVsize=221 [00:11:30]tlvbuf is 002DB590 [00:11:30]KKMLoadAndSignOpenShiftData [00:11:30]SAM_PROTO_ProcessDocument [00:11:30]wFMCommunicate request_size=9 [00:11:30]MH_SAM_APDU [00:11:30]CAPDU: 80 15 01 00 04 02 00 DD 00 [00:11:30]Write to MH i2c: E2 0C 00 B4 15 80 15 01 00 04 00 02 00 DD 00 00 00 2F [00:11:30]Write i2c OK [00:11:30]MH_I2C_Read... [00:11:30]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:11:30]Read from MH i2c: E2 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 03 00 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 03 00 B4 15 00 90 00 3D [00:11:30]RAPDU: 90 00 [00:11:30]wFMCommunicate OK [00:11:30]wFMCommunicate request_size=23 [00:11:30]MH_SAM_APDU [00:11:30]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:11:30]Write to MH i2c: E2 1A 00 B5 15 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 3F [00:11:30]Write i2c OK [00:11:30]MH_I2C_Read... [00:11:30]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:11:30]Read from MH i2c: E2 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 03 00 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 03 00 B5 15 00 90 00 3E [00:11:30]RAPDU: 90 00 [00:11:30]wFMCommunicate OK [00:11:30]wFMCommunicate request_size=36 [00:11:30]MH_SAM_APDU [00:11:30]CAPDU: 80 15 02 00 1F FD 03 1B 00 D0 9C D0 B0 D1 88 D1 80 D0 B0 D0 BF D0 B1 D0 B0 D0 B9 20 D0 9A 2E 20 D0 9F 2E 20 [00:11:30]Write to MH i2c: E2 27 00 B6 15 80 15 02 00 1F 00 FD 03 1B 00 D0 9C D0 B0 D1 88 D1 80 D0 B0 D0 BF D0 B1 D0 B0 D0 B9 20 D0 9A 2E 20 D0 9F 2E 20 00 00 68 [00:11:30]Write i2c OK [00:11:30]MH_I2C_Read... [00:11:30]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:11:30]Read from MH i2c: E2 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 03 00 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 03 00 B6 15 00 90 00 3F [00:11:30]RAPDU: 90 00 [00:11:30]wFMCommunicate OK [00:11:30]wFMCommunicate request_size=104 [00:11:30]MH_SAM_APDU [00:11:30]CAPDU: 80 15 02 00 63 F1 03 5F 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D0 B0 D1 88 D0 BA D0 B0 D1 80 2D D0 9A D1 8B D1 88 D1 82 D0 B0 D0 BA 2C 20 D0 9A D0 B0 D1 80 D0 B0 2D D0 A1 D1 83 D1 83 D0 B9 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 20 34 30 2E 36 34 38 35 31 31 2C 37 32 2E 38 34 35 35 34 37 [00:11:30]Write to MH i2c: E2 6B 00 B7 15 80 15 02 00 63 00 F1 03 5F 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D0 B0 D1 88 D0 BA D0 B0 D1 80 2D D0 9A D1 8B D1 88 D1 82 D0 B0 D0 BA 2C 20 D0 9A D0 B0 D1 80 D0 B0 2D D0 A1 D1 83 D1 83 D0 B9 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 20 34 30 2E 36 34 38 35 31 31 2C 37 32 2E 38 34 35 35 34 37 00 00 09 [00:11:30]Write i2c OK [00:11:30]MH_I2C_Read... [00:11:30]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:11:30]Read from MH i2c: E2 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 03 00 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 03 00 B7 15 00 90 00 40 [00:11:30]RAPDU: 90 00 [00:11:30]wFMCommunicate OK [00:11:30]wFMCommunicate request_size=50 [00:11:30]MH_SAM_APDU [00:11:30]CAPDU: 80 15 02 00 2D A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 38 38 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 [00:11:30]Write to MH i2c: E2 35 00 B8 15 80 15 02 00 2D 00 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 38 38 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 00 00 CC [00:11:30]Write i2c OK [00:11:30]MH_I2C_Read... [00:11:30]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:11:30]Read from MH i2c: E2 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 03 00 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 03 00 B8 15 00 90 00 41 [00:11:30]RAPDU: 90 00 [00:11:30]wFMCommunicate OK [00:11:30]wFMCommunicate request_size=13 [00:11:30]MH_SAM_APDU [00:11:30]CAPDU: 80 15 02 00 08 F4 03 04 00 B4 A6 F4 66 [00:11:30]Write to MH i2c: E2 10 00 B9 15 80 15 02 00 08 00 F4 03 04 00 B4 A6 F4 66 00 00 0D [00:11:30]Write i2c OK [00:11:30]MH_I2C_Read... [00:11:30]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:11:30]Read from MH i2c: E2 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 03 00 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 03 00 B9 15 00 90 00 42 [00:11:30]RAPDU: 90 00 [00:11:30]wFMCommunicate OK [00:11:30]wFMCommunicate request_size=25 [00:11:30]MH_SAM_APDU [00:11:30]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 [00:11:30]Write to MH i2c: E2 1C 00 BA 15 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 00 00 AC [00:11:30]Write i2c OK [00:11:30]MH_I2C_Read... [00:11:30]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:11:30]Read from MH i2c: E2 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 03 00 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 03 00 BA 15 00 90 00 43 [00:11:30]RAPDU: 90 00 [00:11:30]wFMCommunicate OK [00:11:30]wFMCommunicate request_size=4 [00:11:30]MH_SAM_APDU [00:11:30]CAPDU: 80 15 03 00 [00:11:30]Write to MH i2c: E2 08 00 BB 15 80 15 03 00 00 00 00 00 51 [00:11:30]Write i2c OK [00:11:30]MH_I2C_Read... [00:11:31]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:11:31]Read from MH i2c: E2 [00:11:31]MH_I2C_Read... [00:11:31]Read from MH i2c: E2 38 00 [00:11:31]MH_I2C_Read... [00:11:31]Read from MH i2c: E2 38 00 BB 15 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 08 58 00 00 0E 04 04 00 E8 00 00 00 35 04 06 00 04 B2 35 6C DB 32 90 00 D0 [00:11:31]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 08 58 00 00 0E 04 04 00 E8 00 00 00 35 04 06 00 04 B2 35 6C DB 32 90 00 [00:11:31]wFMCommunicate OK [00:11:31]SAM_PROTO_ProcessDocument answer len = 51 [00:11:31]SAM_PROTO_ProcessDocument done [00:11:31]SetTLVBufToDocument [00:11:31]Processing tag 1209 (04B9) [00:11:31]Malloc new data [00:11:31]Processing tag 1041 (0411) [00:11:31]Processing tag 1040 (0410) [00:11:31]Malloc new data [00:11:31]Processing tag 1038 (040E) [00:11:31]Malloc new data [00:11:31]Processing tag 1077 (0435) [00:11:31]Malloc new data [00:11:31]SetTLVBufToDocument err=0 [00:11:31]KKMLoadAndSignOpenShiftData store KKM data [00:11:31]KKMLoadAndSignOpenShiftData err=0 [00:11:31]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Машрапбай К. П. Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 Место: АЗС № 88 "Партнер Нефть" 26.09.2024 00:11 Смена: 232 РНМ: 0000000000146243 ЗНМ: 0300000061 ФД: 22536 ФМ: 0000000000959358 ФПД: 5163447016242 [00:11:31]StoreToDocumentArchive [00:11:31]shift 232 fd 22536 [00:11:31]Create dir for shift 0232 [00:11:31]save to /storage/0232/doc_00022536 [00:11:31]save last doc name /storage/0232/doc_00022536 to /storage/kkm_last_doc_name [00:11:31]save OK [00:11:31]Clear old archive folders... [00:11:31]Remove dir /storage/0231 [00:11:31]opendir ok [00:11:31]file . [00:11:31]file .. [00:11:31]file doc_00022427 [00:11:31]remove file /storage/0231/doc_00022427 [00:11:31]file doc_00022428 [00:11:31]remove file /storage/0231/doc_00022428 [00:11:31]file doc_00022429 [00:11:31]remove file /storage/0231/doc_00022429 [00:11:31]file doc_00022430 [00:11:31]remove file /storage/0231/doc_00022430 [00:11:31]file doc_00022431 [00:11:31]remove file /storage/0231/doc_00022431 [00:11:31]file doc_00022432 [00:11:31]remove file /storage/0231/doc_00022432 [00:11:31]file doc_00022433 [00:11:31]remove file /storage/0231/doc_00022433 [00:11:31]file doc_00022434 [00:11:31]remove file /storage/0231/doc_00022434 [00:11:31]file doc_00022435 [00:11:31]remove file /storage/0231/doc_00022435 [00:11:31]file doc_00022436 [00:11:31]remove file /storage/0231/doc_00022436 [00:11:31]file doc_00022437 [00:11:31]remove file /storage/0231/doc_00022437 [00:11:31]file doc_00022438 [00:11:31]remove file /storage/0231/doc_00022438 [00:11:31]file doc_00022439 [00:11:31]remove file /storage/0231/doc_00022439 [00:11:31]file doc_00022440 [00:11:31]remove file /storage/0231/doc_00022440 [00:11:31]file doc_00022441 [00:11:31]remove file /storage/0231/doc_00022441 [00:11:31]file doc_00022442 [00:11:31]remove file /storage/0231/doc_00022442 [00:11:31]file doc_00022443 [00:11:31]remove file /storage/0231/doc_00022443 [00:11:31]file doc_00022444 [00:11:31]remove file /storage/0231/doc_00022444 [00:11:31]file doc_00022445 [00:11:31]remove file /storage/0231/doc_00022445 [00:11:31]file doc_00022446 [00:11:31]remove file /storage/0231/doc_00022446 [00:11:31]file doc_00022447 [00:11:31]remove file /storage/0231/doc_00022447 [00:11:31]file doc_00022448 [00:11:31]remove file /storage/0231/doc_00022448 [00:11:31]file doc_00022449 [00:11:31]remove file /storage/0231/doc_00022449 [00:11:31]file doc_00022450 [00:11:31]remove file /storage/0231/doc_00022450 [00:11:31]file doc_00022451 [00:11:31]remove file /storage/0231/doc_00022451 [00:11:31]file doc_00022452 [00:11:31]remove file /storage/0231/doc_00022452 [00:11:31]file doc_00022453 [00:11:31]remove file /storage/0231/doc_00022453 [00:11:31]file doc_00022454 [00:11:31]remove file /storage/0231/doc_00022454 [00:11:31]file doc_00022455 [00:11:31]remove file /storage/0231/doc_00022455 [00:11:31]file doc_00022456 [00:11:31]remove file /storage/0231/doc_00022456 [00:11:31]file doc_00022457 [00:11:31]remove file /storage/0231/doc_00022457 [00:11:31]file doc_00022458 [00:11:31]remove file /storage/0231/doc_00022458 [00:11:31]file doc_00022459 [00:11:31]remove file /storage/0231/doc_00022459 [00:11:31]file doc_00022460 [00:11:31]remove file /storage/0231/doc_00022460 [00:11:31]file doc_00022461 [00:11:31]remove file /storage/0231/doc_00022461 [00:11:31]file doc_00022462 [00:11:31]remove file /storage/0231/doc_00022462 [00:11:31]file doc_00022463 [00:11:31]remove file /storage/0231/doc_00022463 [00:11:31]file doc_00022464 [00:11:31]remove file /storage/0231/doc_00022464 [00:11:31]file doc_00022465 [00:11:31]remove file /storage/0231/doc_00022465 [00:11:31]file doc_00022466 [00:11:31]remove file /storage/0231/doc_00022466 [00:11:31]file doc_00022467 [00:11:31]remove file /storage/0231/doc_00022467 [00:11:31]file doc_00022468 [00:11:31]remove file /storage/0231/doc_00022468 [00:11:31]file doc_00022469 [00:11:31]remove file /storage/0231/doc_00022469 [00:11:31]file doc_00022470 [00:11:31]remove file /storage/0231/doc_00022470 [00:11:31]file doc_00022471 [00:11:31]remove file /storage/0231/doc_00022471 [00:11:31]file doc_00022472 [00:11:31]remove file /storage/0231/doc_00022472 [00:11:31]file doc_00022473 [00:11:31]remove file /storage/0231/doc_00022473 [00:11:31]file doc_00022474 [00:11:31]remove file /storage/0231/doc_00022474 [00:11:31]file doc_00022475 [00:11:31]remove file /storage/0231/doc_00022475 [00:11:31]file doc_00022476 [00:11:31]remove file /storage/0231/doc_00022476 [00:11:31]file doc_00022477 [00:11:31]remove file /storage/0231/doc_00022477 [00:11:31]file doc_00022478 [00:11:31]remove file /storage/0231/doc_00022478 [00:11:31]file doc_00022479 [00:11:31]remove file /storage/0231/doc_00022479 [00:11:31]file doc_00022480 [00:11:31]remove file /storage/0231/doc_00022480 [00:11:31]file doc_00022481 [00:11:31]remove file /storage/0231/doc_00022481 [00:11:31]file doc_00022482 [00:11:31]remove file /storage/0231/doc_00022482 [00:11:31]file doc_00022483 [00:11:31]remove file /storage/0231/doc_00022483 [00:11:31]file doc_00022484 [00:11:31]remove file /storage/0231/doc_00022484 [00:11:31]file doc_00022485 [00:11:31]remove file /storage/0231/doc_00022485 [00:11:31]file doc_00022486 [00:11:31]remove file /storage/0231/doc_00022486 [00:11:31]file doc_00022487 [00:11:31]remove file /storage/0231/doc_00022487 [00:11:31]file doc_00022488 [00:11:31]remove file /storage/0231/doc_00022488 [00:11:31]file doc_00022489 [00:11:31]remove file /storage/0231/doc_00022489 [00:11:31]file doc_00022490 [00:11:31]remove file /storage/0231/doc_00022490 [00:11:31]file doc_00022491 [00:11:31]remove file /storage/0231/doc_00022491 [00:11:31]file doc_00022492 [00:11:31]remove file /storage/0231/doc_00022492 [00:11:31]file doc_00022493 [00:11:31]remove file /storage/0231/doc_00022493 [00:11:31]file doc_00022494 [00:11:31]remove file /storage/0231/doc_00022494 [00:11:31]file doc_00022495 [00:11:31]remove file /storage/0231/doc_00022495 [00:11:31]file doc_00022496 [00:11:31]remove file /storage/0231/doc_00022496 [00:11:31]file doc_00022497 [00:11:31]remove file /storage/0231/doc_00022497 [00:11:31]file doc_00022498 [00:11:31]remove file /storage/0231/doc_00022498 [00:11:31]file doc_00022499 [00:11:31]remove file /storage/0231/doc_00022499 [00:11:31]file doc_00022500 [00:11:31]remove file /storage/0231/doc_00022500 [00:11:31]file doc_00022501 [00:11:31]remove file /storage/0231/doc_00022501 [00:11:31]file doc_00022502 [00:11:31]remove file /storage/0231/doc_00022502 [00:11:31]file doc_00022503 [00:11:31]remove file /storage/0231/doc_00022503 [00:11:31]file doc_00022504 [00:11:31]remove file /storage/0231/doc_00022504 [00:11:31]file doc_00022505 [00:11:31]remove file /storage/0231/doc_00022505 [00:11:31]file doc_00022506 [00:11:31]remove file /storage/0231/doc_00022506 [00:11:31]file doc_00022507 [00:11:31]remove file /storage/0231/doc_00022507 [00:11:31]file doc_00022508 [00:11:31]remove file /storage/0231/doc_00022508 [00:11:31]file doc_00022509 [00:11:31]remove file /storage/0231/doc_00022509 [00:11:31]file doc_00022510 [00:11:31]remove file /storage/0231/doc_00022510 [00:11:31]file doc_00022511 [00:11:31]remove file /storage/0231/doc_00022511 [00:11:31]file doc_00022512 [00:11:31]remove file /storage/0231/doc_00022512 [00:11:31]file doc_00022513 [00:11:31]remove file /storage/0231/doc_00022513 [00:11:31]file doc_00022514 [00:11:31]remove file /storage/0231/doc_00022514 [00:11:31]file doc_00022515 [00:11:31]remove file /storage/0231/doc_00022515 [00:11:31]file doc_00022516 [00:11:31]remove file /storage/0231/doc_00022516 [00:11:31]file doc_00022517 [00:11:31]remove file /storage/0231/doc_00022517 [00:11:31]file doc_00022518 [00:11:31]remove file /storage/0231/doc_00022518 [00:11:31]file doc_00022519 [00:11:31]remove file /storage/0231/doc_00022519 [00:11:31]file doc_00022520 [00:11:31]remove file /storage/0231/doc_00022520 [00:11:31]file doc_00022521 [00:11:31]remove file /storage/0231/doc_00022521 [00:11:31]file doc_00022522 [00:11:31]remove file /storage/0231/doc_00022522 [00:11:31]file doc_00022523 [00:11:31]remove file /storage/0231/doc_00022523 [00:11:31]file doc_00022524 [00:11:31]remove file /storage/0231/doc_00022524 [00:11:31]file doc_00022525 [00:11:31]remove file /storage/0231/doc_00022525 [00:11:31]file doc_00022526 [00:11:31]remove file /storage/0231/doc_00022526 [00:11:31]file doc_00022527 [00:11:31]remove file /storage/0231/doc_00022527 [00:11:31]file doc_00022528 [00:11:31]remove file /storage/0231/doc_00022528 [00:11:31]file doc_00022529 [00:11:31]remove file /storage/0231/doc_00022529 [00:11:31]file doc_00022530 [00:11:31]remove file /storage/0231/doc_00022530 [00:11:31]file doc_00022531 [00:11:31]remove file /storage/0231/doc_00022531 [00:11:31]file doc_00022532 [00:11:31]remove file /storage/0231/doc_00022532 [00:11:31]file doc_00022533 [00:11:31]remove file /storage/0231/doc_00022533 [00:11:31]file doc_00022534 [00:11:31]remove file /storage/0231/doc_00022534 [00:11:31]file doc_00022535 [00:11:31]remove file /storage/0231/doc_00022535 [00:11:31]remove dir /storage/0231 [00:11:31]ProcessDocumentItem done err = 0, tmpTLVsize=272 [00:11:31]tlvbuf is 00279470 [00:11:31]SAM_PROTO_ClearQueue [00:11:31]wFMCommunicate request_size=4 [00:11:31]MH_SAM_APDU [00:11:31]CAPDU: 80 09 00 00 [00:11:31]Write to MH i2c: E2 08 00 BC 15 80 09 00 00 00 00 00 00 43 [00:11:32]Write i2c OK [00:11:32]MH_I2C_Read... [00:11:32]Read from MH i2c: E2 [00:11:32]MH_I2C_Read... [00:11:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:11:32]Read from MH i2c: E2 03 00 [00:11:32]MH_I2C_Read... [00:11:32]Read from MH i2c: E2 03 00 BC 15 00 90 00 45 [00:11:32]RAPDU: 90 00 [00:11:32]wFMCommunicate OK [00:11:32]SAM_PROTO_ClearQueue done [00:11:32]KKMCreateOFDPacket [00:11:32]OFDProtocolAddRootSTLVToBuf [00:11:32]FM_MakeSignedData [00:11:32]FM_MakeSignedData [00:11:32]SAM_PROTO_SignData [00:11:32]wFMCommunicate request_size=4 [00:11:32]MH_SAM_APDU [00:11:32]CAPDU: 80 0D 01 02 [00:11:32]Write to MH i2c: E2 08 00 BD 15 80 0D 01 02 00 00 00 00 4B [00:11:32]OFD Sender: No OFD packet to send [00:11:32]Write i2c OK [00:11:32]MH_I2C_Read... [00:11:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:11:32]Read from MH i2c: E2 [00:11:32]MH_I2C_Read... [00:11:32]Read from MH i2c: E2 03 00 [00:11:32]MH_I2C_Read... [00:11:32]Read from MH i2c: E2 03 00 BD 15 00 90 00 46 [00:11:32]RAPDU: 90 00 [00:11:32]wFMCommunicate OK [00:11:32]wFMCommunicate request_size=255 [00:11:32]MH_SAM_APDU [00:11:32]CAPDU: 80 0D 02 02 FA 02 00 10 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 9C D0 B0 D1 88 D1 80 D0 B0 D0 BF D0 B1 D0 B0 D0 B9 20 D0 9A 2E 20 D0 9F 2E 20 F1 03 5F 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D0 B0 D1 88 D0 BA D0 B0 D1 80 2D D0 9A D1 8B D1 88 D1 82 D0 B0 D0 BA 2C 20 D0 9A D0 B0 D1 80 D0 B0 2D D0 A1 D1 83 D1 83 D0 B9 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 20 34 30 2E 36 34 38 35 31 31 2C 37 32 2E 38 34 35 35 34 37 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 38 38 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 B4 A6 F4 66 0E 04 04 00 E8 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 08 58 00 00 11 04 10 00 [00:11:32]Write to MH i2c: E2 02 01 BE 15 80 0D 02 02 FA 00 02 00 10 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 9C D0 B0 D1 88 D1 80 D0 B0 D0 BF D0 B1 D0 B0 D0 B9 20 D0 9A 2E 20 D0 9F 2E 20 F1 03 5F 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D0 B0 D1 88 D0 BA D0 B0 D1 80 2D D0 9A D1 8B D1 88 D1 82 D0 B0 D0 BA 2C 20 D0 9A D0 B0 D1 80 D0 B0 2D D0 A1 D1 83 D1 83 D0 B9 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 20 34 30 2E 36 34 38 35 31 31 2C 37 32 2E 38 34 35 35 34 37 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 38 38 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 B4 A6 F4 66 0E 04 04 00 E8 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 08 58 00 00 11 04 10 00 00 00 5F [00:11:32]Write i2c OK [00:11:32]MH_I2C_Read... [00:11:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:32]Read from MH i2c: E2 [00:11:32]MH_I2C_Read... [00:11:32]Read from MH i2c: E2 03 00 [00:11:32]MH_I2C_Read... [00:11:32]Read from MH i2c: E2 03 00 BE 15 00 90 00 47 [00:11:32]RAPDU: 90 00 [00:11:32]wFMCommunicate OK [00:11:32]wFMCommunicate request_size=31 [00:11:32]MH_SAM_APDU [00:11:32]CAPDU: 80 0D 02 02 1A 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 35 04 06 00 04 B2 35 6C DB 32 [00:11:32]Write to MH i2c: E2 22 00 BF 15 80 0D 02 02 1A 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 35 04 06 00 04 B2 35 6C DB 32 00 00 4C [00:11:32]Write i2c OK [00:11:32]MH_I2C_Read... [00:11:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:32]Read from MH i2c: E2 [00:11:32]MH_I2C_Read... [00:11:32]Read from MH i2c: E2 03 00 [00:11:32]MH_I2C_Read... [00:11:32]Read from MH i2c: E2 03 00 BF 15 00 90 00 48 [00:11:32]RAPDU: 90 00 [00:11:32]wFMCommunicate OK [00:11:32]wFMCommunicate request_size=4 [00:11:32]MH_SAM_APDU [00:11:32]CAPDU: 80 0D 03 02 [00:11:32]Write to MH i2c: E2 08 00 C0 15 80 0D 03 02 00 00 00 00 50 [00:11:32]Write i2c OK [00:11:32]MH_I2C_Read... [00:11:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:11:32]Read from MH i2c: E2 [00:11:32]MH_I2C_Read... [00:11:32]Read from MH i2c: E2 0B 00 [00:11:32]MH_I2C_Read... [00:11:32]Read from MH i2c: E2 0B 00 C0 15 00 20 D2 18 29 67 41 FA 92 90 00 B8 [00:11:32]RAPDU: 20 D2 18 29 67 41 FA 92 90 00 [00:11:32]wFMCommunicate OK [00:11:32]SAM_PROTO_SignData done [00:11:32]FM_MakeSignedData done [00:11:32]CreateOFDProtocolMessage [00:11:32]wFMCommunicate request_size=4 [00:11:32]MH_SAM_APDU [00:11:32]CAPDU: 80 11 00 00 [00:11:32]Write to MH i2c: E2 08 00 C1 15 80 11 00 00 00 00 00 00 50 [00:11:32]Write i2c OK [00:11:32]MH_I2C_Read... [00:11:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:11:32]Read from MH i2c: E2 [00:11:32]MH_I2C_Read... [00:11:32]Read from MH i2c: E2 17 00 [00:11:32]MH_I2C_Read... [00:11:32]Read from MH i2c: E2 17 00 C1 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 AA [00:11:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [00:11:32]wFMCommunicate OK [00:11:32]CreateOFDProtocolMessage done [00:11:32]OFDSenderStorePacket 22536 [00:11:32]StoreOFDPacket docnum=22536 [00:11:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 24 01 00 00 AE 99 1C 01 3E C6 5A 02 01 00 02 00 10 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 9C D0 B0 D1 88 D1 80 D0 B0 D0 BF D0 B1 D0 B0 D0 B9 20 D0 9A 2E 20 D0 9F 2E 20 F1 03 5F 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D0 B0 D1 88 D0 BA D0 B0 D1 80 2D D0 9A D1 8B D1 88 D1 82 D0 B0 D0 BA 2C 20 D0 9A D0 B0 D1 80 D0 B0 2D D0 A1 D1 83 D1 83 D0 B9 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 20 34 30 2E 36 34 38 35 31 31 2C 37 32 2E 38 34 35 35 34 37 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 38 38 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 B4 A6 F4 66 0E 04 04 00 E8 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 08 58 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 35 04 06 00 04 B2 35 6C DB 32 20 D2 18 29 67 41 FA 92 [00:11:32]CheckFolder [00:11:32]dirname=/storage/ofd_packets [00:11:32]CheckFolder done [00:11:32]ProducePacketName [00:11:32]name=ofd_packets/00022536 [00:11:32]NVStorageSaveData ofd_packets/00022536 [00:11:32]File name is /storage/ofd_packets/00022536 [00:11:32]Write 322 bytes [00:11:32]NVStorageSaveData done [00:11:32]OFDSenderStorePacket done [00:11:32]KKMCreateOFDPacket done [00:11:32]NVStorageSaveData kkm_last_timestamp [00:11:32]File name is /storage/kkm_last_timestamp [00:11:32]Write 4 bytes [00:11:32]NVStorageSaveData done [00:11:32]ExternCall_PrintAddStr [00:11:32]wPrintStart [00:11:32]Write to MH i2c: 01 00 00 C2 15 D7 [00:11:32]Write i2c OK [00:11:32]MH_I2C_Read... [00:11:32]Read from MH i2c: 01 [00:11:32]MH_I2C_Read... [00:11:32]Read from MH i2c: 01 07 00 [00:11:32]MH_I2C_Read... [00:11:32]OFD Sender: Processing packet 22536 [packets to send 23, broken 22] [00:11:32]ProducePacketName [00:11:32]name=ofd_packets/00022536 [00:11:32]OFD Sender: To server: pG, [00:11:32]CommunicateWithHost lk.salyk.kg:30040 [00:11:32]ConnectInit lk.salyk.kg [00:11:32]Read from MH i2c: 01 07 00 C2 15 00 00 00 00 00 FF 0F EC [00:11:32]RasterBufferAndPrint [00:11:32]line Отчет об открытии смены [00:11:32]line ФФД: 1.0 [00:11:32]line ИНН: 02508201610067 [00:11:32]line Кассир: Машрапбай К. П. [00:11:32]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [00:11:32]line Место: АЗС № 88 "Партнер Нефть" [00:11:32]line 26.09.2024 00:11 [00:11:32]line Смена: 232 [00:11:32]line РНМ: 0000000000146243 [00:11:32]line ЗНМ: 0300000061 [00:11:32]line ФД: 22536 [00:11:32]line ФМ: 0000000000959358 [00:11:32]line ФПД: 5163447016242 [00:11:32]written 0, free lines is 4095 [00:11:32]Connected sock=10 [00:11:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 24 01 00 00 AE 99 1C 01 3E C6 5A 02 01 00 02 00 10 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 9C D0 B0 D1 88 D1 80 D0 B0 D0 BF D0 B1 D0 B0 D0 B9 20 D0 9A 2E 20 D0 9F 2E 20 F1 03 5F 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D0 B0 D1 88 D0 BA D0 B0 D1 80 2D D0 9A D1 8B D1 88 D1 82 D0 B0 D0 BA 2C 20 D0 9A D0 B0 D1 80 D0 B0 2D D0 A1 D1 83 D1 83 D0 B9 D1 81 D0 BA D0 B8 D0 B9 20 D1 80 D0 B0 D0 B9 D0 BE D0 BD 20 34 30 2E 36 34 38 35 31 31 2C 37 32 2E 38 34 35 35 34 37 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 38 38 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 B4 A6 F4 66 0E 04 04 00 E8 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 08 58 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 35 04 06 00 04 B2 35 6C DB 32 20 D2 18 29 67 41 FA 92 [00:11:33]Write to MH i2c: 01 00 00 D4 15 E9 [00:11:33]Write i2c OK [00:11:33]MH_I2C_Read... [00:11:33]Read from MH i2c: 01 [00:11:33]MH_I2C_Read... [00:11:33]Read from MH i2c: 01 07 00 [00:11:33]MH_I2C_Read... [00:11:33]Read from MH i2c: 01 07 00 D4 15 00 00 00 00 00 5A 0E 58 [00:11:33]RasterBufferAndPrint [00:11:33]line [00:11:33]line [00:11:33]line [00:11:33]line [00:11:33]line [00:11:33]written 0, free lines is 3683 [00:11:33]MH_Cut [00:11:33]Write to MH i2c: D1 01 00 DB 15 01 C2 [00:11:33]Write i2c OK [00:11:33]MH_I2C_Read... [00:11:33]Read from MH i2c: D1 [00:11:33]MH_I2C_Read... [00:11:33]Read from MH i2c: D1 01 00 [00:11:33]MH_I2C_Read... [00:11:33]Read from MH i2c: D1 01 00 DB 15 00 C1 [00:11:33]Write to MH i2c: 01 00 00 DC 15 F1 [00:11:33]Write i2c OK [00:11:33]MH_I2C_Read... [00:11:33]*** Cut start [00:11:33]*** Partial cut [00:11:33]*** CUTSNS_PIN = 1 [00:11:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 9A 61 47 00 2D F1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 08 58 00 00 F4 03 04 00 D6 50 F4 66 B6 04 01 00 00 2E 5E BC B9 08 ED 9C 78 [00:11:33]CommunicateWithHost err = 0 [00:11:33]CheckOFDResponse [00:11:33]1017 (14) - 77093643461234 [00:11:33]1041 (16) - 0000000000959358 [00:11:33]1040 (4) - 22536 [00:11:33]1012 (4) - 25.09.2024 18:05 [00:11:33]1206 (1) - 0 [00:11:33]OFD Sender: Remove packet 22536 [00:11:33]ProducePacketName [00:11:33]name=ofd_packets/00022536 [00:11:33]NVStorageDeleteData [00:11:33]*** CUTSNS_PIN = 0 [00:11:33]*** Brake cut motor [00:11:33]OFD Sender: No OFD packet to send [00:11:34]Read from MH i2c: 01 [00:11:34]MH_I2C_Read... [00:11:34]*** Stop cut motor [00:11:34]*** Cut end [00:11:34]Read from MH i2c: 01 07 00 [00:11:34]MH_I2C_Read... [00:11:34]Read from MH i2c: 01 07 00 DC 15 00 00 00 00 00 FF 0F 06 [00:11:34]process_action open_shift done [00:11:34]requested_data is exist [00:11:34]produce_requested_data [00:11:34]requested_item fd.num is exist - process it [00:11:34]SAM_PROTO_GetFieldsCounters [00:11:34]wFMCommunicate request_size=4 [00:11:34]MH_SAM_APDU [00:11:34]CAPDU: 80 13 00 00 [00:11:34]Write to MH i2c: E2 08 00 DD 15 80 13 00 00 00 00 00 00 6E [00:11:34]Write i2c OK [00:11:34]MH_I2C_Read... [00:11:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:11:34]Read from MH i2c: E2 [00:11:34]MH_I2C_Read... [00:11:34]Read from MH i2c: E2 62 00 [00:11:34]MH_I2C_Read... [00:11:34]Read from MH i2c: E2 62 00 DD 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 08 58 00 00 0E 04 04 00 E8 00 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 D9 [00:11:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 08 58 00 00 0E 04 04 00 E8 00 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:11:34]wFMCommunicate OK [00:11:34]SAM_PROTO_GetFieldsCounters done [00:11:34]requested_item shift.num is exist - process it [00:11:34]requested_item shift.opened is exist - process it [00:11:34]req_shift_opened [00:11:34]FM_GetShiftState [00:11:34]SAM_PROTO_GetShiftState [00:11:34]wFMCommunicate request_size=4 [00:11:34]MH_SAM_APDU [00:11:34]CAPDU: 80 13 01 00 [00:11:34]Write to MH i2c: E2 08 00 DE 15 80 13 01 00 00 00 00 00 70 [00:11:34]Write i2c OK [00:11:34]MH_I2C_Read... [00:11:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:34]Read from MH i2c: E2 [00:11:34]MH_I2C_Read... [00:11:34]Read from MH i2c: E2 0E 00 [00:11:34]MH_I2C_Read... [00:11:34]Read from MH i2c: E2 0E 00 DE 15 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 30 [00:11:34]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [00:11:34]wFMCommunicate OK [00:11:34]SAM_PROTO_GetShiftState done [00:11:34]FM_GetShiftState done [00:11:34]req_shift_opened done [00:11:34]requested_item shift.open_date is exist - process it [00:11:34]req_shift_open_date [00:11:34]req_shift_open_date done [00:11:34]produce_requested_data done [00:11:34]produce_requested_data return {"fd.num":22536,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [00:11:34]process_action_free open_shift [00:11:34]json_value_free [00:11:34]json_value_free done [00:11:34]process_json_proto returns [00:11:34]Send response to host [00:11:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":22536,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [00:11:34]free response buf [00:11:34]execute_script done [00:11:34]execute_script returns [00:11:34]free content buf [00:11:34]Sock 7.Close socket [00:11:34]Sock 7.Thread stoped [00:11:34]accept exits with 9 [00:11:34]New connection [00:11:34]New thread 3067440484 created [00:11:34]Thread 3067583844 joined [00:11:34]Waiting for new connection... [00:11:34] Sock 9.Parse request [00:11:34]Sock 9.Check first char [00:11:34]Sock 9.First char is OK [00:11:34]request: POST /json_proto HTTP/1.0 [00:11:34]Method: POST [00:11:34]URL: /json_proto [00:11:34]Method is POST - this is cgi request [00:11:34]url: /json_proto [00:11:34]query_string will be loaded in cgi processing [00:11:34]execute_cgi json_proto POST (null) [00:11:34]execute_cgi path=json_proto method=POST [00:11:34]POST find Content-Length [00:11:34]Host: 172.17.43.4:8080 [00:11:34]Content-Length: 331 [00:11:34]Content-Type: application/json [00:11:34] [00:11:34]POST finish read [00:11:34]Found Content-Length = 331 [00:11:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:11:34]execute_script... [00:11:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:11:34]POST & json_proto [00:11:34]process_json_proto [00:11:34]json parsed OK: [00:11:34]protocol is kg_v1.0 [00:11:34]action value=get_value [00:11:34]process_action get_value [00:11:34]cmd_get_value [00:11:34]process_action get_value done [00:11:34]requested_data is exist [00:11:34]produce_requested_data [00:11:34]requested_item fm.sale.total is exist - process it [00:11:34]SAM_PROTO_GetFMData [00:11:34]wFMCommunicate request_size=4 [00:11:34]MH_SAM_APDU [00:11:34]CAPDU: 80 13 03 00 [00:11:34]Write to MH i2c: E2 08 00 DF 15 80 13 03 00 00 00 00 00 73 [00:11:34]Write i2c OK [00:11:34]MH_I2C_Read... [00:11:34]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:11:34]Read from MH i2c: E2 [00:11:34]MH_I2C_Read... [00:11:34]Read from MH i2c: E2 FD 00 [00:11:34]MH_I2C_Read... [00:11:34]Read from MH i2c: E2 FD 00 DF 15 00 BA 04 85 04 B6 04 6E 04 04 00 38 56 00 00 69 04 9C 00 6F 04 04 00 33 56 00 00 B1 04 04 00 D0 E7 53 30 70 04 04 00 D0 E7 53 30 72 04 00 00 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 EA 2B 22 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 27 7B 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 98 00 6F 04 04 00 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 28 [00:11:34]RAPDU: BA 04 85 04 B6 04 6E 04 04 00 38 56 00 00 69 04 9C 00 6F 04 04 00 33 56 00 00 B1 04 04 00 D0 E7 53 30 70 04 04 00 D0 E7 53 30 72 04 00 00 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 EA 2B 22 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 27 7B 6D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 98 00 6F 04 04 00 05 00 00 00 B1 04 03 00 80 4D 0A 70 04 03 00 80 4D 0A 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 2B 18 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 90 00 [00:11:34]wFMCommunicate OK [00:11:34]wFMCommunicate request_size=4 [00:11:34]MH_SAM_APDU [00:11:34]CAPDU: 80 17 00 00 [00:11:34]Write to MH i2c: E2 08 00 E0 15 80 17 00 00 00 00 00 00 75 [00:11:34]Write i2c OK [00:11:34]MH_I2C_Read... [00:11:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:35]Read from MH i2c: E2 [00:11:35]MH_I2C_Read... [00:11:35]Read from MH i2c: E2 FD 00 [00:11:35]MH_I2C_Read... [00:11:35]Read from MH i2c: E2 FD 00 E0 15 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8F [00:11:35]RAPDU: EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 17 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:35]wFMCommunicate OK [00:11:35]wFMCommunicate request_size=4 [00:11:35]MH_SAM_APDU [00:11:35]CAPDU: 80 17 00 00 [00:11:35]Write to MH i2c: E2 08 00 E1 15 80 17 00 00 00 00 00 00 76 [00:11:35]Write i2c OK [00:11:35]MH_I2C_Read... [00:11:35]Read from MH i2c: E2 [00:11:35]MH_I2C_Read... [00:11:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:35]Read from MH i2c: E2 FD 00 [00:11:35]MH_I2C_Read... [00:11:35]Read from MH i2c: E2 FD 00 E1 15 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A2 [00:11:35]RAPDU: 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:35]wFMCommunicate OK [00:11:35]wFMCommunicate request_size=4 [00:11:35]MH_SAM_APDU [00:11:35]CAPDU: 80 17 00 00 [00:11:35]Write to MH i2c: E2 08 00 E2 15 80 17 00 00 00 00 00 00 77 [00:11:35]Write i2c OK [00:11:35]MH_I2C_Read... [00:11:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:35]Read from MH i2c: E2 [00:11:35]MH_I2C_Read... [00:11:35]Read from MH i2c: E2 FD 00 [00:11:35]MH_I2C_Read... [00:11:35]Read from MH i2c: E2 FD 00 E2 15 00 00 EF 03 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 90 00 EF [00:11:36]RAPDU: 00 EF 03 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 90 00 [00:11:36]wFMCommunicate OK [00:11:36]wFMCommunicate request_size=4 [00:11:36]MH_SAM_APDU [00:11:36]CAPDU: 80 17 00 00 [00:11:36]Write to MH i2c: E2 08 00 E3 15 80 17 00 00 00 00 00 00 78 [00:11:36]Write i2c OK [00:11:36]MH_I2C_Read... [00:11:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 212! [00:11:36]Read from MH i2c: E2 [00:11:36]MH_I2C_Read... [00:11:36]Read from MH i2c: E2 D7 00 [00:11:36]MH_I2C_Read... [00:11:36]Read from MH i2c: E2 D7 00 E3 15 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 5B [00:11:36]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:11:36]wFMCommunicate OK [00:11:36]SAM_PROTO_GetFMData done [00:11:36]requested_item fm.sale_refund.total is exist - process it [00:11:36]requested_item fm.buy.total is exist - process it [00:11:36]requested_item shift.sale.total is exist - process it [00:11:36]SAM_PROTO_GetShiftData [00:11:36]wFMCommunicate request_size=4 [00:11:36]MH_SAM_APDU [00:11:36]CAPDU: 80 13 02 00 [00:11:36]Write to MH i2c: E2 08 00 E4 15 80 13 02 00 00 00 00 00 77 [00:11:36]Write i2c OK [00:11:36]MH_I2C_Read... [00:11:36]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:11:36]Read from MH i2c: E2 [00:11:36]MH_I2C_Read... [00:11:36]Read from MH i2c: E2 FD 00 [00:11:36]MH_I2C_Read... [00:11:36]Read from MH i2c: E2 FD 00 E4 15 00 A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 EA [00:11:37]RAPDU: A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [00:11:37]wFMCommunicate OK [00:11:37]wFMCommunicate request_size=4 [00:11:37]MH_SAM_APDU [00:11:37]CAPDU: 80 17 00 00 [00:11:37]Write to MH i2c: E2 08 00 E5 15 80 17 00 00 00 00 00 00 7A [00:11:37]Write i2c OK [00:11:37]MH_I2C_Read... [00:11:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:37]Read from MH i2c: E2 [00:11:37]MH_I2C_Read... [00:11:37]Read from MH i2c: E2 FD 00 [00:11:37]MH_I2C_Read... [00:11:37]Read from MH i2c: E2 FD 00 E5 15 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 82 [00:11:37]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 [00:11:37]wFMCommunicate OK [00:11:37]wFMCommunicate request_size=4 [00:11:37]MH_SAM_APDU [00:11:37]CAPDU: 80 17 00 00 [00:11:37]Write to MH i2c: E2 08 00 E6 15 80 17 00 00 00 00 00 00 7B [00:11:37]Write i2c OK [00:11:37]MH_I2C_Read... [00:11:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:37]Read from MH i2c: E2 [00:11:37]MH_I2C_Read... [00:11:37]Read from MH i2c: E2 FD 00 [00:11:37]MH_I2C_Read... [00:11:37]Read from MH i2c: E2 FD 00 E6 15 00 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 4D [00:11:38]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 [00:11:38]wFMCommunicate OK [00:11:38]wFMCommunicate request_size=4 [00:11:38]MH_SAM_APDU [00:11:38]CAPDU: 80 17 00 00 [00:11:38]Write to MH i2c: E2 08 00 E7 15 80 17 00 00 00 00 00 00 7C [00:11:38]Write i2c OK [00:11:38]MH_I2C_Read... [00:11:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:38]Read from MH i2c: E2 [00:11:38]MH_I2C_Read... [00:11:38]Read from MH i2c: E2 FD 00 [00:11:38]MH_I2C_Read... [00:11:38]Read from MH i2c: E2 FD 00 E7 15 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 EE [00:11:38]RAPDU: 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 [00:11:38]wFMCommunicate OK [00:11:38]wFMCommunicate request_size=4 [00:11:38]MH_SAM_APDU [00:11:38]CAPDU: 80 17 00 00 [00:11:38]Write to MH i2c: E2 08 00 E8 15 80 17 00 00 00 00 00 00 7D [00:11:38]Write i2c OK [00:11:38]MH_I2C_Read... [00:11:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:11:38]Read from MH i2c: E2 [00:11:38]MH_I2C_Read... [00:11:38]Read from MH i2c: E2 BD 00 [00:11:38]MH_I2C_Read... [00:11:38]Read from MH i2c: E2 BD 00 E8 15 00 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 63 [00:11:38]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:11:38]wFMCommunicate OK [00:11:38]SAM_PROTO_GetShiftData done [00:11:38]requested_item shift.sale.total_cash is exist - process it [00:11:38]requested_item shift.sale_refund.total is exist - process it [00:11:38]requested_item shift.sale_refund.total_cash is exist - process it [00:11:38]requested_item shift.buy.total is exist - process it [00:11:38]requested_item shift.buy.total_cash is exist - process it [00:11:38]produce_requested_data done [00:11:38]produce_requested_data return {"fm.sale.total":8108052.00,"fm.sale_refund.total":6752.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:11:38]process_action_free get_value [00:11:39]json_value_free [00:11:39]json_value_free done [00:11:39]process_json_proto returns [00:11:39]Send response to host [00:11:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8108052.00,"fm.sale_refund.total":6752.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:11:39]free response buf [00:11:39]execute_script done [00:11:39]execute_script returns [00:11:39]free content buf [00:11:39]Sock 9.Close socket [00:11:39]Sock 9.Thread stoped [00:11:39]OFD Sender: No OFD packet to send [00:11:44]OFD Sender: No OFD packet to send [00:11:49]OFD Sender: No OFD packet to send [00:11:54]OFD Sender: No OFD packet to send [00:11:59]OFD Sender: No OFD packet to send [00:12:04]OFD Sender: No OFD packet to send [00:12:09]OFD Sender: No OFD packet to send [00:12:14]OFD Sender: No OFD packet to send [00:12:19]OFD Sender: No OFD packet to send [00:12:24]OFD Sender: No OFD packet to send [00:12:29]OFD Sender: No OFD packet to send [00:12:34]OFD Sender: No OFD packet to send [00:12:39]OFD Sender: No OFD packet to send [00:12:44]OFD Sender: No OFD packet to send [00:12:49]OFD Sender: No OFD packet to send [00:12:54]OFD Sender: No OFD packet to send [00:12:59]OFD Sender: No OFD packet to send [00:13:04]OFD Sender: No OFD packet to send [00:13:09]OFD Sender: No OFD packet to send [00:13:14]OFD Sender: No OFD packet to send [00:13:19]OFD Sender: No OFD packet to send [00:13:24]OFD Sender: No OFD packet to send [00:13:29]OFD Sender: No OFD packet to send [00:13:34]OFD Sender: No OFD packet to send [00:13:39]OFD Sender: No OFD packet to send [00:13:44]OFD Sender: No OFD packet to send [00:13:49]OFD Sender: No OFD packet to send [00:13:54]OFD Sender: No OFD packet to send [00:13:59]OFD Sender: No OFD packet to send [00:14:04]OFD Sender: No OFD packet to send [00:14:09]OFD Sender: No OFD packet to send [00:14:14]OFD Sender: No OFD packet to send [00:14:19]OFD Sender: No OFD packet to send [00:14:24]OFD Sender: No OFD packet to send [00:14:29]OFD Sender: No OFD packet to send [00:14:34]OFD Sender: No OFD packet to send [00:14:39]OFD Sender: No OFD packet to send [00:14:44]OFD Sender: No OFD packet to send [00:14:49]OFD Sender: No OFD packet to send [00:14:54]OFD Sender: No OFD packet to send [00:14:59]OFD Sender: No OFD packet to send [00:15:04]OFD Sender: No OFD packet to send [00:15:09]OFD Sender: No OFD packet to send [00:15:14]OFD Sender: No OFD packet to send [00:15:19]OFD Sender: No OFD packet to send [00:15:24]OFD Sender: No OFD packet to send [00:15:29]OFD Sender: No OFD packet to send [00:15:34]OFD Sender: No OFD packet to send [00:15:39]OFD Sender: No OFD packet to send [00:15:44]OFD Sender: No OFD packet to send [00:15:49]OFD Sender: No OFD packet to send [00:15:54]OFD Sender: No OFD packet to send [00:15:59]OFD Sender: No OFD packet to send [00:16:04]OFD Sender: No OFD packet to send [00:16:09]OFD Sender: No OFD packet to send [00:16:14]OFD Sender: No OFD packet to send [00:16:19]OFD Sender: No OFD packet to send [00:16:24]OFD Sender: No OFD packet to send [00:16:29]OFD Sender: No OFD packet to send [00:16:34]OFD Sender: No OFD packet to send [00:16:39]OFD Sender: No OFD packet to send [00:16:44]OFD Sender: No OFD packet to send [00:16:49]OFD Sender: No OFD packet to send [00:16:54]OFD Sender: No OFD packet to send [00:16:59]OFD Sender: No OFD packet to send [00:17:04]OFD Sender: No OFD packet to send [00:17:09]OFD Sender: No OFD packet to send [00:17:14]OFD Sender: No OFD packet to send [00:17:19]OFD Sender: No OFD packet to send [00:17:24]OFD Sender: No OFD packet to send [00:17:29]OFD Sender: No OFD packet to send [00:17:34]OFD Sender: No OFD packet to send [00:17:39]OFD Sender: No OFD packet to send [00:17:44]OFD Sender: No OFD packet to send [00:17:49]OFD Sender: No OFD packet to send [00:17:54]OFD Sender: No OFD packet to send [00:17:59]OFD Sender: No OFD packet to send [00:18:04]OFD Sender: No OFD packet to send [00:18:09]OFD Sender: No OFD packet to send [00:18:14]OFD Sender: No OFD packet to send [00:18:19]OFD Sender: No OFD packet to send [00:18:24]OFD Sender: No OFD packet to send [00:18:29]OFD Sender: No OFD packet to send [00:18:34]OFD Sender: No OFD packet to send [00:18:39]OFD Sender: No OFD packet to send [00:18:44]OFD Sender: No OFD packet to send [00:18:49]OFD Sender: No OFD packet to send [00:18:54]OFD Sender: No OFD packet to send [00:18:59]OFD Sender: No OFD packet to send [00:19:04]OFD Sender: No OFD packet to send [00:19:09]OFD Sender: No OFD packet to send [00:19:14]OFD Sender: No OFD packet to send [00:19:19]OFD Sender: No OFD packet to send [00:19:24]OFD Sender: No OFD packet to send [00:19:29]OFD Sender: No OFD packet to send [00:19:34]OFD Sender: No OFD packet to send [00:19:39]OFD Sender: No OFD packet to send [00:19:44]OFD Sender: No OFD packet to send [00:19:49]OFD Sender: No OFD packet to send [00:19:54]OFD Sender: No OFD packet to send [00:19:59]OFD Sender: No OFD packet to send [00:20:04]OFD Sender: No OFD packet to send [00:20:09]OFD Sender: No OFD packet to send [00:20:14]OFD Sender: No OFD packet to send [00:20:19]OFD Sender: No OFD packet to send [00:20:24]OFD Sender: No OFD packet to send [00:20:29]OFD Sender: No OFD packet to send [00:20:34]OFD Sender: No OFD packet to send [00:20:39]OFD Sender: No OFD packet to send [00:20:44]OFD Sender: No OFD packet to send [00:20:49]OFD Sender: No OFD packet to send [00:20:54]OFD Sender: No OFD packet to send [00:20:59]OFD Sender: No OFD packet to send [00:21:04]OFD Sender: No OFD packet to send [00:21:09]OFD Sender: No OFD packet to send [00:21:14]OFD Sender: No OFD packet to send [00:21:19]OFD Sender: No OFD packet to send [00:21:24]OFD Sender: No OFD packet to send [00:21:29]OFD Sender: No OFD packet to send [00:21:34]OFD Sender: No OFD packet to send [00:21:39]OFD Sender: No OFD packet to send [00:21:44]OFD Sender: No OFD packet to send [00:21:49]OFD Sender: No OFD packet to send [00:21:54]OFD Sender: No OFD packet to send [00:21:59]OFD Sender: No OFD packet to send [00:22:04]OFD Sender: No OFD packet to send [00:22:09]OFD Sender: No OFD packet to send [00:22:14]OFD Sender: No OFD packet to send [00:22:19]OFD Sender: No OFD packet to send [00:22:24]OFD Sender: No OFD packet to send [00:22:29]OFD Sender: No OFD packet to send [00:22:34]OFD Sender: No OFD packet to send [00:22:39]OFD Sender: No OFD packet to send [00:22:44]OFD Sender: No OFD packet to send [00:22:49]OFD Sender: No OFD packet to send [00:22:54]OFD Sender: No OFD packet to send [00:22:59]OFD Sender: No OFD packet to send [00:23:04]OFD Sender: No OFD packet to send [00:23:09]OFD Sender: No OFD packet to send [00:23:14]OFD Sender: No OFD packet to send [00:23:19]OFD Sender: No OFD packet to send [00:23:24]OFD Sender: No OFD packet to send [00:23:29]OFD Sender: No OFD packet to send [00:23:34]OFD Sender: No OFD packet to send [00:23:39]OFD Sender: No OFD packet to send [00:23:44]OFD Sender: No OFD packet to send [00:23:49]OFD Sender: No OFD packet to send [00:23:54]OFD Sender: No OFD packet to send [00:23:59]OFD Sender: No OFD packet to send [00:24:04]OFD Sender: No OFD packet to send [00:24:09]OFD Sender: No OFD packet to send [00:24:14]OFD Sender: No OFD packet to send [00:24:19]OFD Sender: No OFD packet to send [00:24:24]OFD Sender: No OFD packet to send [00:24:29]OFD Sender: No OFD packet to send [00:24:34]OFD Sender: No OFD packet to send [00:24:39]OFD Sender: No OFD packet to send [00:24:44]OFD Sender: No OFD packet to send [00:24:49]OFD Sender: No OFD packet to send [00:24:54]OFD Sender: No OFD packet to send [00:24:59]OFD Sender: No OFD packet to send [00:25:04]OFD Sender: No OFD packet to send [00:25:09]OFD Sender: No OFD packet to send [00:25:14]OFD Sender: No OFD packet to send [00:25:19]OFD Sender: No OFD packet to send [00:25:24]OFD Sender: No OFD packet to send [00:25:29]OFD Sender: No OFD packet to send [00:25:34]OFD Sender: No OFD packet to send [00:25:39]OFD Sender: No OFD packet to send [00:25:44]OFD Sender: No OFD packet to send [00:25:49]OFD Sender: No OFD packet to send [00:25:54]OFD Sender: No OFD packet to send [00:25:59]OFD Sender: No OFD packet to send [00:26:04]OFD Sender: No OFD packet to send [00:26:09]OFD Sender: No OFD packet to send [00:26:14]OFD Sender: No OFD packet to send [00:26:19]OFD Sender: No OFD packet to send [00:26:24]OFD Sender: No OFD packet to send [00:26:29]OFD Sender: No OFD packet to send [00:26:34]OFD Sender: No OFD packet to send [00:26:39]OFD Sender: No OFD packet to send [00:26:44]OFD Sender: No OFD packet to send [00:26:49]OFD Sender: No OFD packet to send [00:26:54]OFD Sender: No OFD packet to send [00:26:59]OFD Sender: No OFD packet to send [00:27:04]OFD Sender: No OFD packet to send [00:27:09]OFD Sender: No OFD packet to send [00:27:14]OFD Sender: No OFD packet to send [00:27:19]OFD Sender: No OFD packet to send [00:27:24]OFD Sender: No OFD packet to send [00:27:29]OFD Sender: No OFD packet to send [00:27:34]OFD Sender: No OFD packet to send [00:27:39]OFD Sender: No OFD packet to send [00:27:44]OFD Sender: No OFD packet to send [00:27:49]OFD Sender: No OFD packet to send [00:27:54]OFD Sender: No OFD packet to send [00:27:59]OFD Sender: No OFD packet to send [00:28:04]OFD Sender: No OFD packet to send [00:28:09]OFD Sender: No OFD packet to send [00:28:14]OFD Sender: No OFD packet to send [00:28:19]OFD Sender: No OFD packet to send [00:28:24]OFD Sender: No OFD packet to send [00:28:29]OFD Sender: No OFD packet to send [00:28:34]OFD Sender: No OFD packet to send [00:28:39]OFD Sender: No OFD packet to send [00:28:44]OFD Sender: No OFD packet to send [00:28:49]OFD Sender: No OFD packet to send [00:28:54]OFD Sender: No OFD packet to send [00:28:59]OFD Sender: No OFD packet to send [00:29:04]OFD Sender: No OFD packet to send [00:29:09]OFD Sender: No OFD packet to send [00:29:14]OFD Sender: No OFD packet to send [00:29:19]OFD Sender: No OFD packet to send [00:29:24]OFD Sender: No OFD packet to send [00:29:29]OFD Sender: No OFD packet to send [00:29:34]OFD Sender: No OFD packet to send [00:29:39]OFD Sender: No OFD packet to send [00:29:44]OFD Sender: No OFD packet to send [00:29:49]OFD Sender: No OFD packet to send [00:29:55]OFD Sender: No OFD packet to send [00:30:00]OFD Sender: No OFD packet to send [00:30:05]OFD Sender: No OFD packet to send [00:30:10]OFD Sender: No OFD packet to send [00:30:15]OFD Sender: No OFD packet to send [00:30:20]OFD Sender: No OFD packet to send [00:30:25]OFD Sender: No OFD packet to send [00:30:30]OFD Sender: No OFD packet to send [00:30:35]OFD Sender: No OFD packet to send [00:30:40]OFD Sender: No OFD packet to send [00:30:45]OFD Sender: No OFD packet to send [00:30:50]OFD Sender: No OFD packet to send [00:30:55]OFD Sender: No OFD packet to send [00:31:00]OFD Sender: No OFD packet to send [00:31:05]OFD Sender: No OFD packet to send [00:31:10]OFD Sender: No OFD packet to send [00:31:15]OFD Sender: No OFD packet to send [00:31:20]OFD Sender: No OFD packet to send [00:31:25]OFD Sender: No OFD packet to send [00:31:30]OFD Sender: No OFD packet to send [00:31:35]OFD Sender: No OFD packet to send [00:31:40]OFD Sender: No OFD packet to send [00:31:45]OFD Sender: No OFD packet to send [00:31:50]OFD Sender: No OFD packet to send [00:31:55]OFD Sender: No OFD packet to send [00:32:00]OFD Sender: No OFD packet to send [00:32:05]OFD Sender: No OFD packet to send [00:32:10]OFD Sender: No OFD packet to send [00:32:15]OFD Sender: No OFD packet to send [00:32:20]OFD Sender: No OFD packet to send [00:32:25]OFD Sender: No OFD packet to send [00:32:30]OFD Sender: No OFD packet to send [00:32:35]OFD Sender: No OFD packet to send [00:32:40]OFD Sender: No OFD packet to send [00:32:45]OFD Sender: No OFD packet to send [00:32:50]OFD Sender: No OFD packet to send [00:32:55]OFD Sender: No OFD packet to send [00:33:00]OFD Sender: No OFD packet to send [00:33:05]OFD Sender: No OFD packet to send [00:33:10]OFD Sender: No OFD packet to send [00:33:15]OFD Sender: No OFD packet to send [00:33:20]OFD Sender: No OFD packet to send [00:33:25]OFD Sender: No OFD packet to send [00:33:30]OFD Sender: No OFD packet to send [00:33:35]OFD Sender: No OFD packet to send [00:33:40]OFD Sender: No OFD packet to send [00:33:45]OFD Sender: No OFD packet to send [00:33:50]OFD Sender: No OFD packet to send [00:33:55]OFD Sender: No OFD packet to send [00:34:00]OFD Sender: No OFD packet to send [00:34:05]OFD Sender: No OFD packet to send [00:34:10]OFD Sender: No OFD packet to send [00:34:15]OFD Sender: No OFD packet to send [00:34:20]OFD Sender: No OFD packet to send [00:34:25]OFD Sender: No OFD packet to send [00:34:30]OFD Sender: No OFD packet to send [00:34:35]OFD Sender: No OFD packet to send [00:34:40]OFD Sender: No OFD packet to send [00:34:45]OFD Sender: No OFD packet to send [00:34:50]OFD Sender: No OFD packet to send [00:34:55]OFD Sender: No OFD packet to send [00:35:00]OFD Sender: No OFD packet to send [00:35:05]OFD Sender: No OFD packet to send [00:35:10]OFD Sender: No OFD packet to send [00:35:15]OFD Sender: No OFD packet to send [00:35:20]OFD Sender: No OFD packet to send [00:35:25]OFD Sender: No OFD packet to send [00:35:30]OFD Sender: No OFD packet to send [00:35:35]OFD Sender: No OFD packet to send [00:35:40]OFD Sender: No OFD packet to send [00:35:45]OFD Sender: No OFD packet to send [00:35:50]OFD Sender: No OFD packet to send [00:35:55]OFD Sender: No OFD packet to send [00:36:00]OFD Sender: No OFD packet to send [00:36:05]OFD Sender: No OFD packet to send [00:36:10]OFD Sender: No OFD packet to send [00:36:15]OFD Sender: No OFD packet to send [00:36:20]OFD Sender: No OFD packet to send [00:36:25]OFD Sender: No OFD packet to send [00:36:30]OFD Sender: No OFD packet to send [00:36:35]OFD Sender: No OFD packet to send [00:36:40]OFD Sender: No OFD packet to send [00:36:45]OFD Sender: No OFD packet to send [00:36:50]OFD Sender: No OFD packet to send [00:36:55]OFD Sender: No OFD packet to send [00:37:00]OFD Sender: No OFD packet to send [00:37:05]OFD Sender: No OFD packet to send [00:37:10]OFD Sender: No OFD packet to send [00:37:15]OFD Sender: No OFD packet to send [00:37:20]OFD Sender: No OFD packet to send [00:37:25]OFD Sender: No OFD packet to send [00:37:30]OFD Sender: No OFD packet to send [00:37:35]OFD Sender: No OFD packet to send [00:37:40]OFD Sender: No OFD packet to send [00:37:45]OFD Sender: No OFD packet to send [00:37:50]OFD Sender: No OFD packet to send [00:37:55]OFD Sender: No OFD packet to send [00:38:00]OFD Sender: No OFD packet to send [00:38:05]OFD Sender: No OFD packet to send [00:38:10]OFD Sender: No OFD packet to send [00:38:15]OFD Sender: No OFD packet to send [00:38:20]OFD Sender: No OFD packet to send [00:38:25]OFD Sender: No OFD packet to send [00:38:30]OFD Sender: No OFD packet to send [00:38:35]OFD Sender: No OFD packet to send [00:38:40]OFD Sender: No OFD packet to send [00:38:45]OFD Sender: No OFD packet to send [00:38:50]OFD Sender: No OFD packet to send [00:38:55]OFD Sender: No OFD packet to send [00:39:00]OFD Sender: No OFD packet to send [00:39:05]OFD Sender: No OFD packet to send [00:39:10]OFD Sender: No OFD packet to send [00:39:15]OFD Sender: No OFD packet to send [00:39:20]OFD Sender: No OFD packet to send [00:39:25]OFD Sender: No OFD packet to send [00:39:30]OFD Sender: No OFD packet to send [00:39:35]OFD Sender: No OFD packet to send [00:39:40]OFD Sender: No OFD packet to send [00:39:45]OFD Sender: No OFD packet to send [00:39:50]OFD Sender: No OFD packet to send [00:39:55]OFD Sender: No OFD packet to send [00:40:00]OFD Sender: No OFD packet to send [00:40:05]OFD Sender: No OFD packet to send [00:40:10]OFD Sender: No OFD packet to send [00:40:15]OFD Sender: No OFD packet to send [00:40:20]OFD Sender: No OFD packet to send [00:40:25]OFD Sender: No OFD packet to send [00:40:30]OFD Sender: No OFD packet to send [00:40:35]OFD Sender: No OFD packet to send [00:40:40]OFD Sender: No OFD packet to send [00:40:45]OFD Sender: No OFD packet to send [00:40:50]OFD Sender: No OFD packet to send [00:40:55]OFD Sender: No OFD packet to send [00:41:00]OFD Sender: No OFD packet to send [00:41:05]OFD Sender: No OFD packet to send [00:41:10]OFD Sender: No OFD packet to send [00:41:15]OFD Sender: No OFD packet to send [00:41:20]OFD Sender: No OFD packet to send [00:41:25]OFD Sender: No OFD packet to send [00:41:30]OFD Sender: No OFD packet to send [00:41:35]OFD Sender: No OFD packet to send [00:41:40]OFD Sender: No OFD packet to send [00:41:45]OFD Sender: No OFD packet to send [00:41:50]OFD Sender: No OFD packet to send [00:41:55]OFD Sender: No OFD packet to send [00:42:00]OFD Sender: No OFD packet to send [00:42:05]OFD Sender: No OFD packet to send [00:42:10]OFD Sender: No OFD packet to send [00:42:15]OFD Sender: No OFD packet to send [00:42:20]OFD Sender: No OFD packet to send [00:42:25]OFD Sender: No OFD packet to send [00:42:30]OFD Sender: No OFD packet to send [00:42:35]OFD Sender: No OFD packet to send [00:42:40]OFD Sender: No OFD packet to send [00:42:45]OFD Sender: No OFD packet to send [00:42:50]OFD Sender: No OFD packet to send [00:42:55]OFD Sender: No OFD packet to send [00:43:00]OFD Sender: No OFD packet to send [00:43:05]OFD Sender: No OFD packet to send [00:43:10]OFD Sender: No OFD packet to send [00:43:15]OFD Sender: No OFD packet to send [00:43:20]OFD Sender: No OFD packet to send [00:43:25]OFD Sender: No OFD packet to send [00:43:30]OFD Sender: No OFD packet to send [00:43:35]OFD Sender: No OFD packet to send [00:43:40]OFD Sender: No OFD packet to send [00:43:45]OFD Sender: No OFD packet to send [00:43:50]OFD Sender: No OFD packet to send [00:43:55]OFD Sender: No OFD packet to send [00:44:00]OFD Sender: No OFD packet to send [00:44:05]OFD Sender: No OFD packet to send [00:44:10]OFD Sender: No OFD packet to send [00:44:15]OFD Sender: No OFD packet to send [00:44:20]OFD Sender: No OFD packet to send [00:44:25]OFD Sender: No OFD packet to send [00:44:30]OFD Sender: No OFD packet to send [00:44:35]OFD Sender: No OFD packet to send [00:44:40]OFD Sender: No OFD packet to send [00:44:45]OFD Sender: No OFD packet to send [00:44:50]OFD Sender: No OFD packet to send [00:44:55]OFD Sender: No OFD packet to send [00:45:00]OFD Sender: No OFD packet to send [00:45:05]OFD Sender: No OFD packet to send [00:45:10]OFD Sender: No OFD packet to send [00:45:15]OFD Sender: No OFD packet to send [00:45:20]OFD Sender: No OFD packet to send [00:45:25]OFD Sender: No OFD packet to send [00:45:30]OFD Sender: No OFD packet to send [00:45:35]OFD Sender: No OFD packet to send [00:45:40]OFD Sender: No OFD packet to send [00:45:45]OFD Sender: No OFD packet to send [00:45:50]OFD Sender: No OFD packet to send [00:45:55]OFD Sender: No OFD packet to send [00:46:00]OFD Sender: No OFD packet to send [00:46:05]OFD Sender: No OFD packet to send [00:46:10]OFD Sender: No OFD packet to send [00:46:15]OFD Sender: No OFD packet to send [00:46:20]OFD Sender: No OFD packet to send [00:46:25]OFD Sender: No OFD packet to send [00:46:30]OFD Sender: No OFD packet to send [00:46:35]OFD Sender: No OFD packet to send [00:46:40]OFD Sender: No OFD packet to send [00:46:45]OFD Sender: No OFD packet to send [00:46:50]OFD Sender: No OFD packet to send [00:46:55]OFD Sender: No OFD packet to send [00:47:00]OFD Sender: No OFD packet to send [00:47:05]OFD Sender: No OFD packet to send [00:47:10]OFD Sender: No OFD packet to send [00:47:15]OFD Sender: No OFD packet to send [00:47:20]OFD Sender: No OFD packet to send [00:47:25]OFD Sender: No OFD packet to send [00:47:30]OFD Sender: No OFD packet to send [00:47:35]OFD Sender: No OFD packet to send [00:47:40]OFD Sender: No OFD packet to send [00:47:45]OFD Sender: No OFD packet to send [00:47:50]OFD Sender: No OFD packet to send [00:47:55]OFD Sender: No OFD packet to send [00:48:00]OFD Sender: No OFD packet to send [00:48:05]OFD Sender: No OFD packet to send [00:48:10]OFD Sender: No OFD packet to send [00:48:15]OFD Sender: No OFD packet to send [00:48:20]OFD Sender: No OFD packet to send [00:48:25]OFD Sender: No OFD packet to send [00:48:30]OFD Sender: No OFD packet to send [00:48:35]OFD Sender: No OFD packet to send [00:48:40]OFD Sender: No OFD packet to send [00:48:45]OFD Sender: No OFD packet to send [00:48:50]OFD Sender: No OFD packet to send [00:48:55]OFD Sender: No OFD packet to send [00:49:00]OFD Sender: No OFD packet to send [00:49:05]OFD Sender: No OFD packet to send [00:49:10]OFD Sender: No OFD packet to send [00:49:15]OFD Sender: No OFD packet to send [00:49:20]OFD Sender: No OFD packet to send [00:49:25]OFD Sender: No OFD packet to send [00:49:30]OFD Sender: No OFD packet to send [00:49:35]OFD Sender: No OFD packet to send [00:49:40]OFD Sender: No OFD packet to send [00:49:45]OFD Sender: No OFD packet to send [00:49:50]OFD Sender: No OFD packet to send [00:49:55]OFD Sender: No OFD packet to send [00:50:01]OFD Sender: No OFD packet to send [00:50:06]OFD Sender: No OFD packet to send [00:50:11]OFD Sender: No OFD packet to send [00:50:16]OFD Sender: No OFD packet to send [00:50:21]OFD Sender: No OFD packet to send [00:50:26]OFD Sender: No OFD packet to send [00:50:31]OFD Sender: No OFD packet to send [00:50:36]OFD Sender: No OFD packet to send [00:50:41]OFD Sender: No OFD packet to send [00:50:46]OFD Sender: No OFD packet to send [00:50:51]OFD Sender: No OFD packet to send [00:50:56]OFD Sender: No OFD packet to send [00:51:01]OFD Sender: No OFD packet to send [00:51:06]OFD Sender: No OFD packet to send [00:51:11]OFD Sender: No OFD packet to send [00:51:16]OFD Sender: No OFD packet to send [00:51:21]OFD Sender: No OFD packet to send [00:51:26]OFD Sender: No OFD packet to send [00:51:31]OFD Sender: No OFD packet to send [00:51:36]OFD Sender: No OFD packet to send [00:51:41]OFD Sender: No OFD packet to send [00:51:46]OFD Sender: No OFD packet to send [00:51:51]OFD Sender: No OFD packet to send [00:51:56]OFD Sender: No OFD packet to send [00:52:01]OFD Sender: No OFD packet to send [00:52:06]OFD Sender: No OFD packet to send [00:52:11]OFD Sender: No OFD packet to send [00:52:16]OFD Sender: No OFD packet to send [00:52:21]OFD Sender: No OFD packet to send [00:52:26]OFD Sender: No OFD packet to send [00:52:31]OFD Sender: No OFD packet to send [00:52:36]OFD Sender: No OFD packet to send [00:52:41]OFD Sender: No OFD packet to send [00:52:46]OFD Sender: No OFD packet to send [00:52:51]OFD Sender: No OFD packet to send [00:52:56]OFD Sender: No OFD packet to send [00:53:01]OFD Sender: No OFD packet to send [00:53:06]OFD Sender: No OFD packet to send [00:53:11]OFD Sender: No OFD packet to send [00:53:16]OFD Sender: No OFD packet to send [00:53:21]OFD Sender: No OFD packet to send [00:53:26]OFD Sender: No OFD packet to send [00:53:31]OFD Sender: No OFD packet to send [00:53:36]OFD Sender: No OFD packet to send [00:53:41]OFD Sender: No OFD packet to send [00:53:46]OFD Sender: No OFD packet to send [00:53:51]OFD Sender: No OFD packet to send [00:53:56]OFD Sender: No OFD packet to send [00:54:01]OFD Sender: No OFD packet to send [00:54:06]OFD Sender: No OFD packet to send [00:54:11]OFD Sender: No OFD packet to send [00:54:16]OFD Sender: No OFD packet to send [00:54:21]OFD Sender: No OFD packet to send [00:54:26]OFD Sender: No OFD packet to send [00:54:31]OFD Sender: No OFD packet to send [00:54:36]OFD Sender: No OFD packet to send [00:54:41]OFD Sender: No OFD packet to send [00:54:46]OFD Sender: No OFD packet to send [00:54:51]OFD Sender: No OFD packet to send [00:54:56]OFD Sender: No OFD packet to send [00:55:01]OFD Sender: No OFD packet to send [00:55:06]OFD Sender: No OFD packet to send [00:55:11]OFD Sender: No OFD packet to send [00:55:16]OFD Sender: No OFD packet to send [00:55:21]OFD Sender: No OFD packet to send [00:55:26]OFD Sender: No OFD packet to send [00:55:31]OFD Sender: No OFD packet to send [00:55:36]OFD Sender: No OFD packet to send [00:55:41]OFD Sender: No OFD packet to send [00:55:46]OFD Sender: No OFD packet to send [00:55:51]OFD Sender: No OFD packet to send [00:55:56]OFD Sender: No OFD packet to send [00:56:01]OFD Sender: No OFD packet to send [00:56:06]OFD Sender: No OFD packet to send [00:56:11]OFD Sender: No OFD packet to send [00:56:16]OFD Sender: No OFD packet to send [00:56:21]OFD Sender: No OFD packet to send [00:56:26]OFD Sender: No OFD packet to send [00:56:31]OFD Sender: No OFD packet to send [00:56:36]OFD Sender: No OFD packet to send [00:56:41]OFD Sender: No OFD packet to send [00:56:46]OFD Sender: No OFD packet to send [00:56:51]OFD Sender: No OFD packet to send [00:56:56]OFD Sender: No OFD packet to send [00:57:01]OFD Sender: No OFD packet to send [00:57:06]OFD Sender: No OFD packet to send [00:57:11]OFD Sender: No OFD packet to send [00:57:16]OFD Sender: No OFD packet to send [00:57:21]OFD Sender: No OFD packet to send [00:57:26]OFD Sender: No OFD packet to send [00:57:31]OFD Sender: No OFD packet to send [00:57:36]OFD Sender: No OFD packet to send [00:57:41]OFD Sender: No OFD packet to send [00:57:46]OFD Sender: No OFD packet to send [00:57:51]OFD Sender: No OFD packet to send [00:57:56]OFD Sender: No OFD packet to send [00:58:01]OFD Sender: No OFD packet to send [00:58:06]OFD Sender: No OFD packet to send [00:58:11]OFD Sender: No OFD packet to send [00:58:16]OFD Sender: No OFD packet to send [00:58:21]OFD Sender: No OFD packet to send [00:58:26]OFD Sender: No OFD packet to send [00:58:31]OFD Sender: No OFD packet to send [00:58:36]OFD Sender: No OFD packet to send [00:58:41]OFD Sender: No OFD packet to send [00:58:46]OFD Sender: No OFD packet to send [00:58:51]OFD Sender: No OFD packet to send [00:58:56]OFD Sender: No OFD packet to send [00:59:01]OFD Sender: No OFD packet to send [00:59:06]OFD Sender: No OFD packet to send [00:59:11]OFD Sender: No OFD packet to send [00:59:16]OFD Sender: No OFD packet to send [00:59:21]OFD Sender: No OFD packet to send [00:59:26]OFD Sender: No OFD packet to send [00:59:31]OFD Sender: No OFD packet to send [00:59:36]OFD Sender: No OFD packet to send [00:59:41]OFD Sender: No OFD packet to send [00:59:46]OFD Sender: No OFD packet to send [00:59:51]OFD Sender: No OFD packet to send [00:59:56]OFD Sender: No OFD packet to send [01:00:01]OFD Sender: No OFD packet to send [01:00:06]OFD Sender: No OFD packet to send [01:00:11]OFD Sender: No OFD packet to send [01:00:16]OFD Sender: No OFD packet to send [01:00:21]OFD Sender: No OFD packet to send [01:00:26]OFD Sender: No OFD packet to send [01:00:31]OFD Sender: No OFD packet to send [01:00:36]OFD Sender: No OFD packet to send [01:00:41]OFD Sender: No OFD packet to send [01:00:46]OFD Sender: No OFD packet to send [01:00:51]OFD Sender: No OFD packet to send [01:00:56]OFD Sender: No OFD packet to send [01:01:01]OFD Sender: No OFD packet to send [01:01:06]OFD Sender: No OFD packet to send [01:01:11]OFD Sender: No OFD packet to send [01:01:16]OFD Sender: No OFD packet to send [01:01:21]OFD Sender: No OFD packet to send [01:01:26]OFD Sender: No OFD packet to send [01:01:31]OFD Sender: No OFD packet to send [01:01:36]OFD Sender: No OFD packet to send [01:01:41]OFD Sender: No OFD packet to send [01:01:46]OFD Sender: No OFD packet to send [01:01:51]OFD Sender: No OFD packet to send [01:01:56]OFD Sender: No OFD packet to send [01:02:01]OFD Sender: No OFD packet to send [01:02:06]OFD Sender: No OFD packet to send [01:02:11]OFD Sender: No OFD packet to send [01:02:16]OFD Sender: No OFD packet to send [01:02:21]OFD Sender: No OFD packet to send [01:02:26]OFD Sender: No OFD packet to send [01:02:31]OFD Sender: No OFD packet to send [01:02:36]OFD Sender: No OFD packet to send [01:02:41]OFD Sender: No OFD packet to send [01:02:46]OFD Sender: No OFD packet to send [01:02:51]OFD Sender: No OFD packet to send [01:02:56]OFD Sender: No OFD packet to send [01:03:01]OFD Sender: No OFD packet to send [01:03:06]OFD Sender: No OFD packet to send [01:03:11]OFD Sender: No OFD packet to send [01:03:16]OFD Sender: No OFD packet to send [01:03:21]OFD Sender: No OFD packet to send [01:03:26]OFD Sender: No OFD packet to send [01:03:31]OFD Sender: No OFD packet to send [01:03:36]OFD Sender: No OFD packet to send [01:03:41]OFD Sender: No OFD packet to send [01:03:46]OFD Sender: No OFD packet to send [01:03:51]OFD Sender: No OFD packet to send [01:03:56]OFD Sender: No OFD packet to send [01:04:01]OFD Sender: No OFD packet to send [01:04:06]OFD Sender: No OFD packet to send [01:04:11]OFD Sender: No OFD packet to send [01:04:16]OFD Sender: No OFD packet to send [01:04:21]OFD Sender: No OFD packet to send [01:04:26]OFD Sender: No OFD packet to send [01:04:31]OFD Sender: No OFD packet to send [01:04:36]OFD Sender: No OFD packet to send [01:04:41]OFD Sender: No OFD packet to send [01:04:46]OFD Sender: No OFD packet to send [01:04:51]OFD Sender: No OFD packet to send [01:04:56]OFD Sender: No OFD packet to send [01:05:01]OFD Sender: No OFD packet to send [01:05:06]OFD Sender: No OFD packet to send [01:05:11]OFD Sender: No OFD packet to send [01:05:16]OFD Sender: No OFD packet to send [01:05:21]OFD Sender: No OFD packet to send [01:05:26]OFD Sender: No OFD packet to send [01:05:31]OFD Sender: No OFD packet to send [01:05:36]OFD Sender: No OFD packet to send [01:05:41]OFD Sender: No OFD packet to send [01:05:46]OFD Sender: No OFD packet to send [01:05:51]OFD Sender: No OFD packet to send [01:05:56]OFD Sender: No OFD packet to send [01:06:01]OFD Sender: No OFD packet to send [01:06:06]OFD Sender: No OFD packet to send [01:06:11]OFD Sender: No OFD packet to send [01:06:16]OFD Sender: No OFD packet to send [01:06:21]OFD Sender: No OFD packet to send [01:06:26]OFD Sender: No OFD packet to send [01:06:31]OFD Sender: No OFD packet to send [01:06:36]OFD Sender: No OFD packet to send [01:06:41]OFD Sender: No OFD packet to send [01:06:46]OFD Sender: No OFD packet to send [01:06:51]OFD Sender: No OFD packet to send [01:06:56]OFD Sender: No OFD packet to send [01:07:01]OFD Sender: No OFD packet to send [01:07:06]OFD Sender: No OFD packet to send [01:07:11]OFD Sender: No OFD packet to send [01:07:16]OFD Sender: No OFD packet to send [01:07:21]OFD Sender: No OFD packet to send [01:07:26]OFD Sender: No OFD packet to send [01:07:31]OFD Sender: No OFD packet to send [01:07:36]OFD Sender: No OFD packet to send [01:07:41]OFD Sender: No OFD packet to send [01:07:46]OFD Sender: No OFD packet to send [01:07:51]OFD Sender: No OFD packet to send [01:07:56]OFD Sender: No OFD packet to send [01:08:01]OFD Sender: No OFD packet to send [01:08:06]OFD Sender: No OFD packet to send [01:08:11]OFD Sender: No OFD packet to send [01:08:16]OFD Sender: No OFD packet to send [01:08:21]OFD Sender: No OFD packet to send [01:08:26]OFD Sender: No OFD packet to send [01:08:31]OFD Sender: No OFD packet to send [01:08:36]OFD Sender: No OFD packet to send [01:08:41]OFD Sender: No OFD packet to send [01:08:46]OFD Sender: No OFD packet to send [01:08:51]OFD Sender: No OFD packet to send [01:08:56]OFD Sender: No OFD packet to send [01:09:01]OFD Sender: No OFD packet to send [01:09:06]OFD Sender: No OFD packet to send [01:09:11]OFD Sender: No OFD packet to send [01:09:16]OFD Sender: No OFD packet to send [01:09:21]OFD Sender: No OFD packet to send [01:09:26]OFD Sender: No OFD packet to send [01:09:31]OFD Sender: No OFD packet to send [01:09:36]OFD Sender: No OFD packet to send [01:09:41]OFD Sender: No OFD packet to send [01:09:46]OFD Sender: No OFD packet to send [01:09:51]OFD Sender: No OFD packet to send [01:09:56]OFD Sender: No OFD packet to send [01:10:01]OFD Sender: No OFD packet to send [01:10:06]OFD Sender: No OFD packet to send [01:10:12]OFD Sender: No OFD packet to send [01:10:17]OFD Sender: No OFD packet to send [01:10:22]OFD Sender: No OFD packet to send [01:10:27]OFD Sender: No OFD packet to send [01:10:32]OFD Sender: No OFD packet to send [01:10:37]OFD Sender: No OFD packet to send [01:10:42]OFD Sender: No OFD packet to send [01:10:47]OFD Sender: No OFD packet to send [01:10:52]OFD Sender: No OFD packet to send [01:10:57]OFD Sender: No OFD packet to send [01:11:02]OFD Sender: No OFD packet to send [01:11:07]OFD Sender: No OFD packet to send [01:11:12]OFD Sender: No OFD packet to send [01:11:17]OFD Sender: No OFD packet to send [01:11:22]OFD Sender: No OFD packet to send [01:11:27]OFD Sender: No OFD packet to send [01:11:32]OFD Sender: No OFD packet to send [01:11:37]OFD Sender: No OFD packet to send [01:11:42]OFD Sender: No OFD packet to send [01:11:47]OFD Sender: No OFD packet to send [01:11:52]OFD Sender: No OFD packet to send [01:11:57]OFD Sender: No OFD packet to send [01:12:02]OFD Sender: No OFD packet to send [01:12:07]OFD Sender: No OFD packet to send [01:12:12]OFD Sender: No OFD packet to send [01:12:17]OFD Sender: No OFD packet to send [01:12:22]OFD Sender: No OFD packet to send [01:12:27]OFD Sender: No OFD packet to send [01:12:32]OFD Sender: No OFD packet to send [01:12:37]OFD Sender: No OFD packet to send [01:12:42]OFD Sender: No OFD packet to send [01:12:47]OFD Sender: No OFD packet to send [01:12:52]OFD Sender: No OFD packet to send [01:12:57]OFD Sender: No OFD packet to send [01:13:02]OFD Sender: No OFD packet to send [01:13:07]OFD Sender: No OFD packet to send [01:13:12]OFD Sender: No OFD packet to send [01:13:17]OFD Sender: No OFD packet to send [01:13:22]OFD Sender: No OFD packet to send [01:13:27]OFD Sender: No OFD packet to send [01:13:32]OFD Sender: No OFD packet to send [01:13:37]OFD Sender: No OFD packet to send [01:13:42]OFD Sender: No OFD packet to send [01:13:47]OFD Sender: No OFD packet to send [01:13:52]OFD Sender: No OFD packet to send [01:13:57]OFD Sender: No OFD packet to send [01:14:02]OFD Sender: No OFD packet to send [01:14:07]OFD Sender: No OFD packet to send [01:14:12]OFD Sender: No OFD packet to send [01:14:17]OFD Sender: No OFD packet to send [01:14:22]OFD Sender: No OFD packet to send [01:14:27]OFD Sender: No OFD packet to send [01:14:32]OFD Sender: No OFD packet to send [01:14:37]OFD Sender: No OFD packet to send [01:14:42]OFD Sender: No OFD packet to send [01:14:47]OFD Sender: No OFD packet to send [01:14:52]OFD Sender: No OFD packet to send [01:14:57]OFD Sender: No OFD packet to send [01:15:02]OFD Sender: No OFD packet to send [01:15:07]OFD Sender: No OFD packet to send [01:15:12]OFD Sender: No OFD packet to send [01:15:17]OFD Sender: No OFD packet to send [01:15:22]OFD Sender: No OFD packet to send [01:15:27]OFD Sender: No OFD packet to send [01:15:32]OFD Sender: No OFD packet to send [01:15:37]OFD Sender: No OFD packet to send [01:15:42]OFD Sender: No OFD packet to send [01:15:47]OFD Sender: No OFD packet to send [01:15:52]OFD Sender: No OFD packet to send [01:15:57]OFD Sender: No OFD packet to send [01:16:02]OFD Sender: No OFD packet to send [01:16:07]OFD Sender: No OFD packet to send [01:16:12]OFD Sender: No OFD packet to send [01:16:17]OFD Sender: No OFD packet to send [01:16:22]OFD Sender: No OFD packet to send [01:16:27]OFD Sender: No OFD packet to send [01:16:32]OFD Sender: No OFD packet to send [01:16:37]OFD Sender: No OFD packet to send [01:16:42]OFD Sender: No OFD packet to send [01:16:47]OFD Sender: No OFD packet to send [01:16:52]OFD Sender: No OFD packet to send [01:16:57]OFD Sender: No OFD packet to send [01:17:02]OFD Sender: No OFD packet to send [01:17:07]OFD Sender: No OFD packet to send [01:17:12]OFD Sender: No OFD packet to send [01:17:17]OFD Sender: No OFD packet to send [01:17:22]OFD Sender: No OFD packet to send [01:17:27]OFD Sender: No OFD packet to send [01:17:32]OFD Sender: No OFD packet to send [01:17:37]OFD Sender: No OFD packet to send [01:17:42]OFD Sender: No OFD packet to send [01:17:47]OFD Sender: No OFD packet to send [01:17:52]OFD Sender: No OFD packet to send [01:17:57]OFD Sender: No OFD packet to send [01:18:02]OFD Sender: No OFD packet to send [01:18:07]OFD Sender: No OFD packet to send [01:18:12]OFD Sender: No OFD packet to send [01:18:17]OFD Sender: No OFD packet to send [01:18:22]OFD Sender: No OFD packet to send [01:18:27]OFD Sender: No OFD packet to send [01:18:32]OFD Sender: No OFD packet to send [01:18:37]OFD Sender: No OFD packet to send [01:18:42]OFD Sender: No OFD packet to send [01:18:47]OFD Sender: No OFD packet to send [01:18:52]OFD Sender: No OFD packet to send [01:18:57]OFD Sender: No OFD packet to send [01:19:02]OFD Sender: No OFD packet to send [01:19:07]OFD Sender: No OFD packet to send [01:19:12]OFD Sender: No OFD packet to send [01:19:17]OFD Sender: No OFD packet to send [01:19:22]OFD Sender: No OFD packet to send [01:19:27]OFD Sender: No OFD packet to send [01:19:32]OFD Sender: No OFD packet to send [01:19:37]OFD Sender: No OFD packet to send [01:19:42]OFD Sender: No OFD packet to send [01:19:47]OFD Sender: No OFD packet to send [01:19:52]OFD Sender: No OFD packet to send [01:19:57]OFD Sender: No OFD packet to send [01:20:02]OFD Sender: No OFD packet to send [01:20:07]OFD Sender: No OFD packet to send [01:20:12]OFD Sender: No OFD packet to send [01:20:17]OFD Sender: No OFD packet to send [01:20:22]OFD Sender: No OFD packet to send [01:20:27]OFD Sender: No OFD packet to send [01:20:32]OFD Sender: No OFD packet to send [01:20:37]OFD Sender: No OFD packet to send [01:20:42]OFD Sender: No OFD packet to send [01:20:47]OFD Sender: No OFD packet to send [01:20:52]OFD Sender: No OFD packet to send [01:20:57]OFD Sender: No OFD packet to send [01:21:02]OFD Sender: No OFD packet to send [01:21:07]OFD Sender: No OFD packet to send [01:21:12]OFD Sender: No OFD packet to send [01:21:17]OFD Sender: No OFD packet to send [01:21:22]OFD Sender: No OFD packet to send [01:21:27]OFD Sender: No OFD packet to send [01:21:32]OFD Sender: No OFD packet to send [01:21:37]OFD Sender: No OFD packet to send [01:21:42]OFD Sender: No OFD packet to send [01:21:47]OFD Sender: No OFD packet to send [01:21:52]OFD Sender: No OFD packet to send [01:21:57]OFD Sender: No OFD packet to send [01:22:02]OFD Sender: No OFD packet to send [01:22:07]OFD Sender: No OFD packet to send [01:22:12]OFD Sender: No OFD packet to send [01:22:17]OFD Sender: No OFD packet to send [01:22:22]OFD Sender: No OFD packet to send [01:22:27]OFD Sender: No OFD packet to send [01:22:32]OFD Sender: No OFD packet to send [01:22:37]OFD Sender: No OFD packet to send [01:22:42]OFD Sender: No OFD packet to send [01:22:47]OFD Sender: No OFD packet to send [01:22:52]OFD Sender: No OFD packet to send [01:22:57]OFD Sender: No OFD packet to send [01:23:02]OFD Sender: No OFD packet to send [01:23:07]OFD Sender: No OFD packet to send [01:23:12]OFD Sender: No OFD packet to send [01:23:17]OFD Sender: No OFD packet to send [01:23:22]OFD Sender: No OFD packet to send [01:23:27]OFD Sender: No OFD packet to send [01:23:32]OFD Sender: No OFD packet to send [01:23:37]OFD Sender: No OFD packet to send [01:23:42]OFD Sender: No OFD packet to send [01:23:47]OFD Sender: No OFD packet to send [01:23:52]OFD Sender: No OFD packet to send [01:23:57]OFD Sender: No OFD packet to send [01:24:02]OFD Sender: No OFD packet to send [01:24:07]OFD Sender: No OFD packet to send [01:24:12]OFD Sender: No OFD packet to send [01:24:17]OFD Sender: No OFD packet to send [01:24:22]OFD Sender: No OFD packet to send [01:24:27]OFD Sender: No OFD packet to send [01:24:32]OFD Sender: No OFD packet to send [01:24:37]OFD Sender: No OFD packet to send [01:24:42]OFD Sender: No OFD packet to send [01:24:47]OFD Sender: No OFD packet to send [01:24:52]OFD Sender: No OFD packet to send [01:24:57]OFD Sender: No OFD packet to send [01:25:02]OFD Sender: No OFD packet to send [01:25:07]OFD Sender: No OFD packet to send [01:25:12]OFD Sender: No OFD packet to send [01:25:17]OFD Sender: No OFD packet to send [01:25:22]OFD Sender: No OFD packet to send [01:25:27]OFD Sender: No OFD packet to send [01:25:32]OFD Sender: No OFD packet to send [01:25:37]OFD Sender: No OFD packet to send [01:25:42]OFD Sender: No OFD packet to send [01:25:47]OFD Sender: No OFD packet to send [01:25:52]OFD Sender: No OFD packet to send [01:25:57]OFD Sender: No OFD packet to send [01:26:02]OFD Sender: No OFD packet to send [01:26:07]OFD Sender: No OFD packet to send [01:26:12]OFD Sender: No OFD packet to send [01:26:17]OFD Sender: No OFD packet to send [01:26:22]OFD Sender: No OFD packet to send [01:26:27]OFD Sender: No OFD packet to send [01:26:32]OFD Sender: No OFD packet to send [01:26:37]OFD Sender: No OFD packet to send [01:26:42]OFD Sender: No OFD packet to send [01:26:47]OFD Sender: No OFD packet to send [01:26:52]OFD Sender: No OFD packet to send [01:26:57]OFD Sender: No OFD packet to send [01:27:02]OFD Sender: No OFD packet to send [01:27:07]OFD Sender: No OFD packet to send [01:27:12]OFD Sender: No OFD packet to send [01:27:17]OFD Sender: No OFD packet to send [01:27:22]OFD Sender: No OFD packet to send [01:27:27]OFD Sender: No OFD packet to send [01:27:32]OFD Sender: No OFD packet to send [01:27:37]OFD Sender: No OFD packet to send [01:27:42]OFD Sender: No OFD packet to send [01:27:47]OFD Sender: No OFD packet to send [01:27:52]OFD Sender: No OFD packet to send [01:27:57]OFD Sender: No OFD packet to send [01:28:02]OFD Sender: No OFD packet to send [01:28:07]OFD Sender: No OFD packet to send [01:28:12]OFD Sender: No OFD packet to send [01:28:17]OFD Sender: No OFD packet to send [01:28:22]OFD Sender: No OFD packet to send [01:28:27]OFD Sender: No OFD packet to send [01:28:32]OFD Sender: No OFD packet to send [01:28:37]OFD Sender: No OFD packet to send [01:28:42]OFD Sender: No OFD packet to send [01:28:47]OFD Sender: No OFD packet to send [01:28:52]OFD Sender: No OFD packet to send [01:28:57]OFD Sender: No OFD packet to send [01:29:02]OFD Sender: No OFD packet to send [01:29:07]OFD Sender: No OFD packet to send [01:29:12]OFD Sender: No OFD packet to send [01:29:17]OFD Sender: No OFD packet to send [01:29:22]OFD Sender: No OFD packet to send [01:29:27]OFD Sender: No OFD packet to send [01:29:32]OFD Sender: No OFD packet to send [01:29:37]OFD Sender: No OFD packet to send [01:29:42]OFD Sender: No OFD packet to send [01:29:47]OFD Sender: No OFD packet to send [01:29:52]OFD Sender: No OFD packet to send [01:29:57]OFD Sender: No OFD packet to send [01:30:02]OFD Sender: No OFD packet to send [01:30:07]OFD Sender: No OFD packet to send [01:30:12]OFD Sender: No OFD packet to send [01:30:18]OFD Sender: No OFD packet to send [01:30:23]OFD Sender: No OFD packet to send [01:30:28]OFD Sender: No OFD packet to send [01:30:33]OFD Sender: No OFD packet to send [01:30:38]OFD Sender: No OFD packet to send [01:30:43]OFD Sender: No OFD packet to send [01:30:48]OFD Sender: No OFD packet to send [01:30:53]OFD Sender: No OFD packet to send [01:30:58]OFD Sender: No OFD packet to send [01:31:03]OFD Sender: No OFD packet to send [01:31:08]OFD Sender: No OFD packet to send [01:31:13]OFD Sender: No OFD packet to send [01:31:18]OFD Sender: No OFD packet to send [01:31:23]OFD Sender: No OFD packet to send [01:31:28]OFD Sender: No OFD packet to send [01:31:33]OFD Sender: No OFD packet to send [01:31:38]OFD Sender: No OFD packet to send [01:31:40]accept exits with 7 [01:31:40]New connection [01:31:40]New thread 3067583844 created [01:31:40]Thread 3067440484 joined [01:31:40]Waiting for new connection... [01:31:40] Sock 7.Parse request [01:31:40]Sock 7.Check first char [01:31:40]Sock 7.First char is OK [01:31:40]request: POST /json_proto HTTP/1.0 [01:31:40]Method: POST [01:31:40]URL: /json_proto [01:31:40]Method is POST - this is cgi request [01:31:40]url: /json_proto [01:31:40]query_string will be loaded in cgi processing [01:31:40]execute_cgi json_proto POST (null) [01:31:40]execute_cgi path=json_proto method=POST [01:31:40]POST find Content-Length [01:31:40]Host: 172.17.43.4:8080 [01:31:40]Content-Length: 1900 [01:31:40]Content-Type: application/json [01:31:40] [01:31:40]POST finish read [01:31:40]Found Content-Length = 1900 [01:31:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51730", "tax_sys" : 0, "items" : [ { "code": "40822426", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 0,5\u043B \u0431/\u0433", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870003984128", "name": "\u041F\u0438\u0432\u043E \u041A\u0430\u0440\u0430\u0433 \u0414\u0440\u0430\u0444\u0442 \u041C\u044F\u0433\u043A\u043E\u0435 \u041A\u0440\u0443\u0436\u043A\u0430 \u0441\u0432\u0435\u0436 0,5\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010056", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 1,25\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 2.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 297.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:31:40]execute_script... [01:31:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51730", "tax_sys" : 0, "items" : [ { "code": "40822426", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 0,5\u043B \u0431/\u0433", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870003984128", "name": "\u041F\u0438\u0432\u043E \u041A\u0430\u0440\u0430\u0433 \u0414\u0440\u0430\u0444\u0442 \u041C\u044F\u0433\u043A\u043E\u0435 \u041A\u0440\u0443\u0436\u043A\u0430 \u0441\u0432\u0435\u0436 0,5\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010056", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 1,25\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 2.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 297.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:31:40]POST & json_proto [01:31:40]process_json_proto [01:31:40]json parsed OK: [01:31:40]protocol is kg_v1.0 [01:31:40]action value=close_receipt [01:31:40]process_action close_receipt [01:31:40]cmd_close_receipt [01:31:40]MH_GetDate [01:31:40]Write to MH i2c: F0 00 00 E9 15 ED [01:31:40]Write i2c OK [01:31:40]MH_I2C_Read... [01:31:40]Read from MH i2c: F0 [01:31:40]MH_I2C_Read... [01:31:40]Read from MH i2c: F0 09 00 [01:31:40]MH_I2C_Read... [01:31:40]Read from MH i2c: F0 09 00 E9 15 00 7F B9 F4 66 02 BF CF 66 7E [01:31:40]GetLastDocTimeStamp 1727309492 [01:31:40]current date 1727314303 [01:31:40]FM_GetShiftState [01:31:40]SAM_PROTO_GetShiftState [01:31:40]wFMCommunicate request_size=4 [01:31:40]MH_SAM_APDU [01:31:40]CAPDU: 80 13 01 00 [01:31:40]Write to MH i2c: E2 08 00 EA 15 80 13 01 00 00 00 00 00 7C [01:31:40]Write i2c OK [01:31:40]MH_I2C_Read... [01:31:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:31:40]Read from MH i2c: E2 [01:31:40]MH_I2C_Read... [01:31:40]Read from MH i2c: E2 0E 00 [01:31:40]MH_I2C_Read... [01:31:40]Read from MH i2c: E2 0E 00 EA 15 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 3C [01:31:40]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [01:31:40]wFMCommunicate OK [01:31:40]SAM_PROTO_GetShiftState done [01:31:40]FM_GetShiftState done [01:31:40]opened in 1727309492 [01:31:40]opened+sec_in_day 1727395892 [01:31:40]quantity*price = 4000 [01:31:40]sum+1 = 4001 [01:31:40]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870003984128 Пиво Караг Драфт Мягкое Кружка свеж 0,5л 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700003010056 Чай хол Let`s Go! зел лим ПЭТ 1,25л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 1.000 * 7.00 = 7.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160013 Снек Курут индивидуальный 2.000 * 15.00 = 30.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 297.00 НСП 1% : 2.62 НДС 12% : 31.54 Наличными: 297.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 1 26.09.2024 01:31 Смена: 232 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22537 ФПД: 199950881204834 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T013143&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22537&fm=199950881204834&tin=02508201610067®Number=0000000000146243&sum=29700 0 [01:31:41]StoreToDocumentArchive [01:31:41]shift 232 fd 22537 [01:31:41]save to /storage/0232/doc_00022537 [01:31:41]save last doc name /storage/0232/doc_00022537 to /storage/kkm_last_doc_name [01:31:41]save OK [01:31:41]Clear old archive folders... [01:31:41]ProcessDocumentItem done err = 0, tmpTLVsize=775 [01:31:41]tlvbuf is 002047D0 [01:31:41]SAM_PROTO_ClearQueue [01:31:41]wFMCommunicate request_size=4 [01:31:41]MH_SAM_APDU [01:31:41]CAPDU: 80 09 00 00 [01:31:41]Write to MH i2c: E2 08 00 F7 15 80 09 00 00 00 00 00 00 7E [01:31:41]Write i2c OK [01:31:41]MH_I2C_Read... [01:31:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:31:41]Read from MH i2c: E2 [01:31:41]MH_I2C_Read... [01:31:41]Read from MH i2c: E2 03 00 [01:31:41]MH_I2C_Read... [01:31:41]Read from MH i2c: E2 03 00 F7 15 00 90 00 80 [01:31:41]RAPDU: 90 00 [01:31:41]wFMCommunicate OK [01:31:41]SAM_PROTO_ClearQueue done [01:31:41]KKMCreateOFDPacket [01:31:41]OFDProtocolAddRootSTLVToBuf [01:31:41]FM_MakeSignedData [01:31:41]FM_MakeSignedData [01:31:41]SAM_PROTO_SignData [01:31:41]wFMCommunicate request_size=4 [01:31:41]MH_SAM_APDU [01:31:41]CAPDU: 80 0D 01 02 [01:31:41]Write to MH i2c: E2 08 00 F8 15 80 0D 01 02 00 00 00 00 86 [01:31:41]Write i2c OK [01:31:41]MH_I2C_Read... [01:31:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:31:41]Read from MH i2c: E2 [01:31:41]MH_I2C_Read... [01:31:41]Read from MH i2c: E2 03 00 [01:31:41]MH_I2C_Read... [01:31:41]Read from MH i2c: E2 03 00 F8 15 00 90 00 81 [01:31:41]RAPDU: 90 00 [01:31:41]wFMCommunicate OK [01:31:41]wFMCommunicate request_size=255 [01:31:41]MH_SAM_APDU [01:31:41]CAPDU: 80 0D 02 02 FA 03 00 07 03 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 30 38 32 32 34 32 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 37 30 30 30 33 39 38 34 31 32 38 06 04 47 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9A D0 B0 D1 80 D0 B0 D0 B3 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 D0 9C D1 8F D0 B3 D0 BA D0 BE D0 B5 20 D0 9A D1 80 D1 83 D0 B6 D0 BA D0 B0 20 D1 81 D0 B2 D0 B5 D0 B6 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC [01:31:41]Write to MH i2c: E2 02 01 F9 15 80 0D 02 02 FA 00 03 00 07 03 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 30 38 32 32 34 32 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 37 30 30 30 33 39 38 34 31 32 38 06 04 47 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9A D0 B0 D1 80 D0 B0 D0 B3 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 D0 9C D1 8F D0 B3 D0 BA D0 BE D0 B5 20 D0 9A D1 80 D1 83 D0 B6 D0 BA D0 B0 20 D1 81 D0 B2 D0 B5 D0 B6 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 00 00 E1 [01:31:42]Write i2c OK [01:31:42]MH_I2C_Read... [01:31:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:31:42]Read from MH i2c: E2 [01:31:42]MH_I2C_Read... [01:31:42]Read from MH i2c: E2 03 00 [01:31:42]MH_I2C_Read... [01:31:42]Read from MH i2c: E2 03 00 F9 15 00 90 00 82 [01:31:42]RAPDU: 90 00 [01:31:42]wFMCommunicate OK [01:31:42]wFMCommunicate request_size=255 [01:31:42]MH_SAM_APDU [01:31:42]CAPDU: 80 0D 02 02 FA 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 [01:31:42]Write to MH i2c: E2 02 01 FA 15 80 0D 02 02 FA 00 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 00 00 E4 [01:31:42]Write i2c OK [01:31:42]MH_I2C_Read... [01:31:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:31:42]Read from MH i2c: E2 [01:31:42]MH_I2C_Read... [01:31:42]Read from MH i2c: E2 03 00 [01:31:42]MH_I2C_Read... [01:31:42]Read from MH i2c: E2 03 00 FA 15 00 90 00 83 [01:31:42]RAPDU: 90 00 [01:31:42]wFMCommunicate OK [01:31:42]wFMCommunicate request_size=255 [01:31:42]MH_SAM_APDU [01:31:42]CAPDU: 80 0D 02 02 FA 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 0C 00 00 00 00 07 04 06 00 04 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 7F B9 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 [01:31:42]Write to MH i2c: E2 02 01 FB 15 80 0D 02 02 FA 00 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 0C 00 00 00 00 07 04 06 00 04 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 7F B9 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 00 00 4C [01:31:42]Write i2c OK [01:31:42]MH_I2C_Read... [01:31:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:31:42]Read from MH i2c: E2 [01:31:42]MH_I2C_Read... [01:31:42]Read from MH i2c: E2 03 00 [01:31:42]MH_I2C_Read... [01:31:42]Read from MH i2c: E2 03 00 FB 15 00 90 00 84 [01:31:42]RAPDU: 90 00 [01:31:42]wFMCommunicate OK [01:31:42]wFMCommunicate request_size=34 [01:31:42]MH_SAM_APDU [01:31:42]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 09 58 00 00 35 04 06 00 B5 DA B1 3F 2A 62 [01:31:42]Write to MH i2c: E2 25 00 FC 15 80 0D 02 02 1D 00 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 09 58 00 00 35 04 06 00 B5 DA B1 3F 2A 62 00 00 BF [01:31:42]Write i2c OK [01:31:42]MH_I2C_Read... [01:31:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:31:43]Read from MH i2c: E2 [01:31:43]MH_I2C_Read... [01:31:43]Read from MH i2c: E2 03 00 [01:31:43]MH_I2C_Read... [01:31:43]Read from MH i2c: E2 03 00 FC 15 00 90 00 85 [01:31:43]RAPDU: 90 00 [01:31:43]wFMCommunicate OK [01:31:43]wFMCommunicate request_size=4 [01:31:43]MH_SAM_APDU [01:31:43]CAPDU: 80 0D 03 02 [01:31:43]Write to MH i2c: E2 08 00 FD 15 80 0D 03 02 00 00 00 00 8D [01:31:43]Write i2c OK [01:31:43]MH_I2C_Read... [01:31:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:31:43]Read from MH i2c: E2 [01:31:43]MH_I2C_Read... [01:31:43]Read from MH i2c: E2 0B 00 [01:31:43]MH_I2C_Read... [01:31:43]Read from MH i2c: E2 0B 00 FD 15 00 CA 8C 0B 1F 24 BF 5A 85 90 00 D0 [01:31:43]RAPDU: CA 8C 0B 1F 24 BF 5A 85 90 00 [01:31:43]wFMCommunicate OK [01:31:43]SAM_PROTO_SignData done [01:31:43]FM_MakeSignedData done [01:31:43]CreateOFDProtocolMessage [01:31:43]wFMCommunicate request_size=4 [01:31:43]MH_SAM_APDU [01:31:43]CAPDU: 80 11 00 00 [01:31:43]Write to MH i2c: E2 08 00 FE 15 80 11 00 00 00 00 00 00 8D [01:31:43]Write i2c OK [01:31:43]MH_I2C_Read... [01:31:43]OFD Sender: No OFD packet to send [01:31:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:31:43]Read from MH i2c: E2 [01:31:43]MH_I2C_Read... [01:31:43]Read from MH i2c: E2 17 00 [01:31:43]MH_I2C_Read... [01:31:43]Read from MH i2c: E2 17 00 FE 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 E7 [01:31:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [01:31:43]wFMCommunicate OK [01:31:43]CreateOFDProtocolMessage done [01:31:43]OFDSenderStorePacket 22537 [01:31:43]StoreOFDPacket docnum=22537 [01:31:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 1B 03 00 00 69 4B 13 03 4F B0 5A 03 01 00 03 00 07 03 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 30 38 32 32 34 32 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 37 30 30 30 33 39 38 34 31 32 38 06 04 47 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9A D0 B0 D1 80 D0 B0 D0 B3 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 D0 9C D1 8F D0 B3 D0 BA D0 BE D0 B5 20 D0 9A D1 80 D1 83 D0 B6 D0 BA D0 B0 20 D1 81 D0 B2 D0 B5 D0 B6 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 0C 00 00 00 00 07 04 06 00 04 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 7F B9 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 09 58 00 00 35 04 06 00 B5 DA B1 3F 2A 62 CA 8C 0B 1F 24 BF 5A 85 [01:31:43]CheckFolder [01:31:43]dirname=/storage/ofd_packets [01:31:43]CheckFolder done [01:31:43]ProducePacketName [01:31:43]name=ofd_packets/00022537 [01:31:43]NVStorageSaveData ofd_packets/00022537 [01:31:43]File name is /storage/ofd_packets/00022537 [01:31:43]Write 825 bytes [01:31:43]NVStorageSaveData done [01:31:43]OFDSenderStorePacket done [01:31:43]KKMCreateOFDPacket done [01:31:43]NVStorageSaveData kkm_last_timestamp [01:31:43]File name is /storage/kkm_last_timestamp [01:31:43]Write 4 bytes [01:31:43]NVStorageSaveData done [01:31:43]ExternCall_PrintAddStr [01:31:43]wPrintStart [01:31:43]Write to MH i2c: 01 00 00 FF 15 14 [01:31:43]Write i2c OK [01:31:43]MH_I2C_Read... [01:31:43]Read from MH i2c: 01 [01:31:43]MH_I2C_Read... [01:31:43]Read from MH i2c: 01 07 00 [01:31:43]MH_I2C_Read... [01:31:43]Read from MH i2c: 01 07 00 FF 15 00 00 00 00 00 FF 0F 29 [01:31:43]RasterBufferAndPrint [01:31:43]line Счет N : (3)51730 [01:31:43]line ИНН: 02508201610067 [01:31:43]line Контрольно-Кассовый Чек [01:31:43]line ПРОДАЖА [01:31:43]line Товар: 40822426 [01:31:43]line Вода Бонаква 0,5л б/г [01:31:43]line 1.000 * 40.00 [01:31:43]line = 40.00 [01:31:43]line НДС 12% НСП 1% [01:31:43]line > о реализуемом товаре [01:31:43]line Товар: 4870003984128 [01:31:43]line Пиво Караг Драфт Мягкое Кружка свеж 0,5л [01:31:43]line 1.000 * 125.00 [01:31:43]line = 125.00 [01:31:43]line НДС 12% НСП 1% [01:31:43]line > о реализуемом товаре [01:31:43]line Товар: 4700003010056 [01:31:43]line Чай хол Let`s Go! зел лим ПЭТ 1,25л [01:31:43]line 1.000 * 95.00 [01:31:43]line = 95.00 [01:31:43]line НДС 12% НСП 1% [01:31:43]line > о реализуемом товаре [01:31:43]line Товар: 2000053020015 [01:31:43]line Бумажные стаканы 250мл 1шт [01:31:43]line 1.000 * 7.00 [01:31:43]line = 7.00 [01:31:43]line НДС 12% НСП 1% [01:31:43]line > о реализуемом товаре [01:31:43]line Товар: 4700000160013 [01:31:43]line Снек Курут индивидуальный [01:31:43]line 2.000 * 15.00 [01:31:43]line = 30.00 [01:31:43]line НДС 12% НСП 1% [01:31:43]line > о реализуемом товаре [01:31:43]line ИТОГО: 297.00 [01:31:43]line НСП 1% : 2.62 [01:31:43]line НДС 12% : 31.54 [01:31:43]line Наличными: 297.00 [01:31:43]line Безнал.: 0.00 [01:31:43]line Место: АЗС № 88 "Партнер Нефть" [01:31:43]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [01:31:43]line СНО: Общий режим [01:31:43]line Чек 1 26.09.2024 01:31 [01:31:43]line Смена: 232 ФФД: 1.0 [01:31:43]line ЗНМ: 0300000061 [01:31:43]line РНМ: 0000000000146243 [01:31:43]line Версия ККМ: v1.0 [01:31:43]line ФМ: 0000000000959358 [01:31:43]line ФД: 22537 [01:31:43]line ФПД: 199950881204834 [01:31:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T013143&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22537&fm=199950881204834&tin=02508201610067®Number=0000000000146243&sum=29700 [01:31:43]line 0 [01:31:43]OFD Sender: Processing packet 22537 [packets to send 23, broken 22] [01:31:43]ProducePacketName [01:31:43]name=ofd_packets/00022537 [01:31:43]OFD Sender: To server: pG, [01:31:43]CommunicateWithHost lk.salyk.kg:30040 [01:31:43]ConnectInit lk.salyk.kg [01:31:43]written 0, free lines is 4095 [01:31:43]Connected sock=10 [01:31:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 1B 03 00 00 69 4B 13 03 4F B0 5A 03 01 00 03 00 07 03 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 30 38 32 32 34 32 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 37 30 30 30 33 39 38 34 31 32 38 06 04 47 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9A D0 B0 D1 80 D0 B0 D0 B3 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 D0 9C D1 8F D0 B3 D0 BA D0 BE D0 B5 20 D0 9A D1 80 D1 83 D0 B6 D0 BA D0 B0 20 D1 81 D0 B2 D0 B5 D0 B6 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 0C 00 00 00 00 07 04 06 00 04 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 7F B9 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 09 58 00 00 35 04 06 00 B5 DA B1 3F 2A 62 CA 8C 0B 1F 24 BF 5A 85 [01:31:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 BA 55 47 00 E1 75 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 09 58 00 00 F4 03 04 00 A1 63 F4 66 B6 04 01 00 00 4F 77 E0 46 50 B1 1E 18 [01:31:44]CommunicateWithHost err = 0 [01:31:44]CheckOFDResponse [01:31:44]1017 (14) - 77093643461234 [01:31:44]1041 (16) - 0000000000959358 [01:31:44]1040 (4) - 22537 [01:31:44]1012 (4) - 25.09.2024 19:25 [01:31:44]1206 (1) - 0 [01:31:44]OFD Sender: Remove packet 22537 [01:31:44]ProducePacketName [01:31:44]name=ofd_packets/00022537 [01:31:44]NVStorageDeleteData [01:31:44]Write to MH i2c: 01 00 00 42 16 58 [01:31:44]Write i2c OK [01:31:44]MH_I2C_Read... [01:31:44]Read from MH i2c: 01 [01:31:44]MH_I2C_Read... [01:31:44]Read from MH i2c: 01 07 00 [01:31:44]MH_I2C_Read... [01:31:44]Read from MH i2c: 01 07 00 42 16 00 00 00 00 00 CA 0B 34 [01:31:44]RasterBufferAndPrint [01:31:44]line [01:31:44]line [01:31:44]line [01:31:44]line [01:31:44]line [01:31:44]written 0, free lines is 3030 [01:31:44]MH_Cut [01:31:44]Write to MH i2c: D1 01 00 49 16 01 31 [01:31:44]Write i2c OK [01:31:44]MH_I2C_Read... [01:31:44]Read from MH i2c: D1 [01:31:44]MH_I2C_Read... [01:31:44]Read from MH i2c: D1 01 00 [01:31:44]MH_I2C_Read... [01:31:44]Read from MH i2c: D1 01 00 49 16 00 30 [01:31:44]Write to MH i2c: 01 00 00 4A 16 60 [01:31:44]Write i2c OK [01:31:44]MH_I2C_Read... [01:31:44]OFD Sender: No OFD packet to send [01:31:45]*** Cut start [01:31:45]*** Partial cut [01:31:45]*** CUTSNS_PIN = 1 [01:31:45]*** CUTSNS_PIN = 0 [01:31:45]*** Brake cut motor [01:31:45]Read from MH i2c: 01 [01:31:45]MH_I2C_Read... [01:31:45]*** Stop cut motor [01:31:45]*** Cut end [01:31:45]Read from MH i2c: 01 07 00 [01:31:45]MH_I2C_Read... [01:31:45]Read from MH i2c: 01 07 00 4A 16 00 00 00 00 00 FF 0F 75 [01:31:45]process_action close_receipt done [01:31:45]requested_data is exist [01:31:45]produce_requested_data [01:31:45]requested_item fm.sn is exist - process it [01:31:45]wFMCommunicate request_size=4 [01:31:45]MH_SAM_APDU [01:31:45]CAPDU: 80 11 00 00 [01:31:45]Write to MH i2c: E2 08 00 4B 16 80 11 00 00 00 00 00 00 DB [01:31:45]Write i2c OK [01:31:45]MH_I2C_Read... [01:31:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:31:45]Read from MH i2c: E2 [01:31:45]MH_I2C_Read... [01:31:45]Read from MH i2c: E2 17 00 [01:31:45]MH_I2C_Read... [01:31:45]Read from MH i2c: E2 17 00 4B 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 35 [01:31:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [01:31:45]wFMCommunicate OK [01:31:45]requested_item fd.num is exist - process it [01:31:45]SAM_PROTO_GetFieldsCounters [01:31:45]wFMCommunicate request_size=4 [01:31:45]MH_SAM_APDU [01:31:45]CAPDU: 80 13 00 00 [01:31:45]Write to MH i2c: E2 08 00 4C 16 80 13 00 00 00 00 00 00 DE [01:31:45]Write i2c OK [01:31:45]MH_I2C_Read... [01:31:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:31:45]Read from MH i2c: E2 [01:31:45]MH_I2C_Read... [01:31:45]Read from MH i2c: E2 62 00 [01:31:45]MH_I2C_Read... [01:31:45]Read from MH i2c: E2 62 00 4C 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 09 58 00 00 0E 04 04 00 E8 00 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 4D [01:31:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 09 58 00 00 0E 04 04 00 E8 00 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:31:45]wFMCommunicate OK [01:31:45]SAM_PROTO_GetFieldsCounters done [01:31:45]requested_item shift.num is exist - process it [01:31:45]requested_item shift.opened is exist - process it [01:31:45]req_shift_opened [01:31:45]FM_GetShiftState [01:31:45]SAM_PROTO_GetShiftState [01:31:45]wFMCommunicate request_size=4 [01:31:45]MH_SAM_APDU [01:31:45]CAPDU: 80 13 01 00 [01:31:45]Write to MH i2c: E2 08 00 4D 16 80 13 01 00 00 00 00 00 E0 [01:31:45]Write i2c OK [01:31:45]MH_I2C_Read... [01:31:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:31:46]Read from MH i2c: E2 [01:31:46]MH_I2C_Read... [01:31:46]Read from MH i2c: E2 0E 00 [01:31:46]MH_I2C_Read... [01:31:46]Read from MH i2c: E2 0E 00 4D 16 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 A0 [01:31:46]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [01:31:46]wFMCommunicate OK [01:31:46]SAM_PROTO_GetShiftState done [01:31:46]FM_GetShiftState done [01:31:46]req_shift_opened done [01:31:46]requested_item shift.open_date is exist - process it [01:31:46]req_shift_open_date [01:31:46]req_shift_open_date done [01:31:46]produce_requested_data done [01:31:46]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22537,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [01:31:46]process_action_free close_receipt [01:31:46]json_value_free [01:31:46]json_value_free done [01:31:46]process_json_proto returns [01:31:46]Send response to host [01:31:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22537,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [01:31:46]free response buf [01:31:46]execute_script done [01:31:46]execute_script returns [01:31:46]free content buf [01:31:46]Sock 7.Close socket [01:31:46]Sock 7.Thread stoped [01:31:49]OFD Sender: No OFD packet to send [01:31:54]OFD Sender: No OFD packet to send [01:31:59]OFD Sender: No OFD packet to send [01:32:04]OFD Sender: No OFD packet to send [01:32:09]OFD Sender: No OFD packet to send [01:32:14]OFD Sender: No OFD packet to send [01:32:19]OFD Sender: No OFD packet to send [01:32:24]OFD Sender: No OFD packet to send [01:32:29]OFD Sender: No OFD packet to send [01:32:34]OFD Sender: No OFD packet to send [01:32:39]OFD Sender: No OFD packet to send [01:32:44]OFD Sender: No OFD packet to send [01:32:49]OFD Sender: No OFD packet to send [01:32:54]OFD Sender: No OFD packet to send [01:32:59]OFD Sender: No OFD packet to send [01:33:04]OFD Sender: No OFD packet to send [01:33:09]OFD Sender: No OFD packet to send [01:33:14]OFD Sender: No OFD packet to send [01:33:19]OFD Sender: No OFD packet to send [01:33:24]OFD Sender: No OFD packet to send [01:33:29]OFD Sender: No OFD packet to send [01:33:34]OFD Sender: No OFD packet to send [01:33:39]OFD Sender: No OFD packet to send [01:33:44]OFD Sender: No OFD packet to send [01:33:49]OFD Sender: No OFD packet to send [01:33:54]OFD Sender: No OFD packet to send [01:33:59]OFD Sender: No OFD packet to send [01:34:04]OFD Sender: No OFD packet to send [01:34:09]OFD Sender: No OFD packet to send [01:34:14]OFD Sender: No OFD packet to send [01:34:19]OFD Sender: No OFD packet to send [01:34:24]OFD Sender: No OFD packet to send [01:34:29]OFD Sender: No OFD packet to send [01:34:34]OFD Sender: No OFD packet to send [01:34:39]OFD Sender: No OFD packet to send [01:34:44]OFD Sender: No OFD packet to send [01:34:49]OFD Sender: No OFD packet to send [01:34:54]OFD Sender: No OFD packet to send [01:34:59]OFD Sender: No OFD packet to send [01:35:04]OFD Sender: No OFD packet to send [01:35:09]OFD Sender: No OFD packet to send [01:35:14]OFD Sender: No OFD packet to send [01:35:19]OFD Sender: No OFD packet to send [01:35:24]OFD Sender: No OFD packet to send [01:35:29]OFD Sender: No OFD packet to send [01:35:34]OFD Sender: No OFD packet to send [01:35:39]OFD Sender: No OFD packet to send [01:35:44]OFD Sender: No OFD packet to send [01:35:49]OFD Sender: No OFD packet to send [01:35:54]OFD Sender: No OFD packet to send [01:35:59]OFD Sender: No OFD packet to send [01:36:04]OFD Sender: No OFD packet to send [01:36:09]OFD Sender: No OFD packet to send [01:36:14]OFD Sender: No OFD packet to send [01:36:19]OFD Sender: No OFD packet to send [01:36:24]OFD Sender: No OFD packet to send [01:36:29]OFD Sender: No OFD packet to send [01:36:34]OFD Sender: No OFD packet to send [01:36:39]OFD Sender: No OFD packet to send [01:36:44]OFD Sender: No OFD packet to send [01:36:49]OFD Sender: No OFD packet to send [01:36:54]OFD Sender: No OFD packet to send [01:36:59]OFD Sender: No OFD packet to send [01:37:04]OFD Sender: No OFD packet to send [01:37:09]OFD Sender: No OFD packet to send [01:37:14]OFD Sender: No OFD packet to send [01:37:19]OFD Sender: No OFD packet to send [01:37:24]OFD Sender: No OFD packet to send [01:37:29]OFD Sender: No OFD packet to send [01:37:34]OFD Sender: No OFD packet to send [01:37:39]OFD Sender: No OFD packet to send [01:37:44]OFD Sender: No OFD packet to send [01:37:49]OFD Sender: No OFD packet to send [01:37:54]OFD Sender: No OFD packet to send [01:37:59]OFD Sender: No OFD packet to send [01:38:04]OFD Sender: No OFD packet to send [01:38:09]OFD Sender: No OFD packet to send [01:38:14]OFD Sender: No OFD packet to send [01:38:19]OFD Sender: No OFD packet to send [01:38:24]OFD Sender: No OFD packet to send [01:38:29]OFD Sender: No OFD packet to send [01:38:34]OFD Sender: No OFD packet to send [01:38:39]OFD Sender: No OFD packet to send [01:38:44]OFD Sender: No OFD packet to send [01:38:49]OFD Sender: No OFD packet to send [01:38:54]OFD Sender: No OFD packet to send [01:38:59]OFD Sender: No OFD packet to send [01:39:04]OFD Sender: No OFD packet to send [01:39:09]OFD Sender: No OFD packet to send [01:39:14]OFD Sender: No OFD packet to send [01:39:19]OFD Sender: No OFD packet to send [01:39:24]OFD Sender: No OFD packet to send [01:39:29]OFD Sender: No OFD packet to send [01:39:34]OFD Sender: No OFD packet to send [01:39:39]OFD Sender: No OFD packet to send [01:39:44]OFD Sender: No OFD packet to send [01:39:49]OFD Sender: No OFD packet to send [01:39:54]OFD Sender: No OFD packet to send [01:39:59]OFD Sender: No OFD packet to send [01:40:04]OFD Sender: No OFD packet to send [01:40:09]OFD Sender: No OFD packet to send [01:40:14]OFD Sender: No OFD packet to send [01:40:19]OFD Sender: No OFD packet to send [01:40:24]OFD Sender: No OFD packet to send [01:40:29]OFD Sender: No OFD packet to send [01:40:34]OFD Sender: No OFD packet to send [01:40:39]OFD Sender: No OFD packet to send [01:40:44]OFD Sender: No OFD packet to send [01:40:49]OFD Sender: No OFD packet to send [01:40:54]OFD Sender: No OFD packet to send [01:40:59]OFD Sender: No OFD packet to send [01:41:04]OFD Sender: No OFD packet to send [01:41:09]OFD Sender: No OFD packet to send [01:41:14]OFD Sender: No OFD packet to send [01:41:19]OFD Sender: No OFD packet to send [01:41:24]OFD Sender: No OFD packet to send [01:41:29]OFD Sender: No OFD packet to send [01:41:35]OFD Sender: No OFD packet to send [01:41:40]OFD Sender: No OFD packet to send [01:41:45]OFD Sender: No OFD packet to send [01:41:50]OFD Sender: No OFD packet to send [01:41:55]OFD Sender: No OFD packet to send [01:42:00]OFD Sender: No OFD packet to send [01:42:05]OFD Sender: No OFD packet to send [01:42:10]OFD Sender: No OFD packet to send [01:42:15]OFD Sender: No OFD packet to send [01:42:20]OFD Sender: No OFD packet to send [01:42:25]OFD Sender: No OFD packet to send [01:42:30]OFD Sender: No OFD packet to send [01:42:35]OFD Sender: No OFD packet to send [01:42:40]OFD Sender: No OFD packet to send [01:42:45]OFD Sender: No OFD packet to send [01:42:50]OFD Sender: No OFD packet to send [01:42:55]OFD Sender: No OFD packet to send [01:43:00]OFD Sender: No OFD packet to send [01:43:05]OFD Sender: No OFD packet to send [01:43:10]OFD Sender: No OFD packet to send [01:43:15]OFD Sender: No OFD packet to send [01:43:20]OFD Sender: No OFD packet to send [01:43:25]OFD Sender: No OFD packet to send [01:43:30]OFD Sender: No OFD packet to send [01:43:35]OFD Sender: No OFD packet to send [01:43:40]OFD Sender: No OFD packet to send [01:43:45]OFD Sender: No OFD packet to send [01:43:50]OFD Sender: No OFD packet to send [01:43:55]OFD Sender: No OFD packet to send [01:44:00]OFD Sender: No OFD packet to send [01:44:05]OFD Sender: No OFD packet to send [01:44:10]OFD Sender: No OFD packet to send [01:44:15]OFD Sender: No OFD packet to send [01:44:20]OFD Sender: No OFD packet to send [01:44:25]OFD Sender: No OFD packet to send [01:44:30]OFD Sender: No OFD packet to send [01:44:35]OFD Sender: No OFD packet to send [01:44:40]OFD Sender: No OFD packet to send [01:44:45]OFD Sender: No OFD packet to send [01:44:50]OFD Sender: No OFD packet to send [01:44:55]OFD Sender: No OFD packet to send [01:45:00]OFD Sender: No OFD packet to send [01:45:05]OFD Sender: No OFD packet to send [01:45:10]OFD Sender: No OFD packet to send [01:45:15]OFD Sender: No OFD packet to send [01:45:20]OFD Sender: No OFD packet to send [01:45:25]OFD Sender: No OFD packet to send [01:45:30]OFD Sender: No OFD packet to send [01:45:35]OFD Sender: No OFD packet to send [01:45:40]OFD Sender: No OFD packet to send [01:45:45]OFD Sender: No OFD packet to send [01:45:50]OFD Sender: No OFD packet to send [01:45:55]OFD Sender: No OFD packet to send [01:46:00]OFD Sender: No OFD packet to send [01:46:05]OFD Sender: No OFD packet to send [01:46:10]OFD Sender: No OFD packet to send [01:46:15]OFD Sender: No OFD packet to send [01:46:20]OFD Sender: No OFD packet to send [01:46:25]OFD Sender: No OFD packet to send [01:46:30]OFD Sender: No OFD packet to send [01:46:35]OFD Sender: No OFD packet to send [01:46:40]OFD Sender: No OFD packet to send [01:46:45]OFD Sender: No OFD packet to send [01:46:50]OFD Sender: No OFD packet to send [01:46:55]OFD Sender: No OFD packet to send [01:47:00]OFD Sender: No OFD packet to send [01:47:05]OFD Sender: No OFD packet to send [01:47:10]OFD Sender: No OFD packet to send [01:47:15]OFD Sender: No OFD packet to send [01:47:20]OFD Sender: No OFD packet to send [01:47:25]OFD Sender: No OFD packet to send [01:47:30]OFD Sender: No OFD packet to send [01:47:35]OFD Sender: No OFD packet to send [01:47:40]OFD Sender: No OFD packet to send [01:47:45]OFD Sender: No OFD packet to send [01:47:50]OFD Sender: No OFD packet to send [01:47:55]OFD Sender: No OFD packet to send [01:48:00]OFD Sender: No OFD packet to send [01:48:05]OFD Sender: No OFD packet to send [01:48:10]OFD Sender: No OFD packet to send [01:48:15]OFD Sender: No OFD packet to send [01:48:20]OFD Sender: No OFD packet to send [01:48:25]OFD Sender: No OFD packet to send [01:48:30]OFD Sender: No OFD packet to send [01:48:35]OFD Sender: No OFD packet to send [01:48:40]OFD Sender: No OFD packet to send [01:48:45]OFD Sender: No OFD packet to send [01:48:50]OFD Sender: No OFD packet to send [01:48:55]OFD Sender: No OFD packet to send [01:49:00]OFD Sender: No OFD packet to send [01:49:05]OFD Sender: No OFD packet to send [01:49:10]OFD Sender: No OFD packet to send [01:49:15]OFD Sender: No OFD packet to send [01:49:20]OFD Sender: No OFD packet to send [01:49:25]OFD Sender: No OFD packet to send [01:49:30]OFD Sender: No OFD packet to send [01:49:35]OFD Sender: No OFD packet to send [01:49:40]OFD Sender: No OFD packet to send [01:49:45]OFD Sender: No OFD packet to send [01:49:50]OFD Sender: No OFD packet to send [01:49:55]OFD Sender: No OFD packet to send [01:50:00]OFD Sender: No OFD packet to send [01:50:05]OFD Sender: No OFD packet to send [01:50:10]OFD Sender: No OFD packet to send [01:50:15]OFD Sender: No OFD packet to send [01:50:20]OFD Sender: No OFD packet to send [01:50:25]OFD Sender: No OFD packet to send [01:50:30]OFD Sender: No OFD packet to send [01:50:35]OFD Sender: No OFD packet to send [01:50:40]OFD Sender: No OFD packet to send [01:50:45]OFD Sender: No OFD packet to send [01:50:50]OFD Sender: No OFD packet to send [01:50:55]OFD Sender: No OFD packet to send [01:51:00]OFD Sender: No OFD packet to send [01:51:05]OFD Sender: No OFD packet to send [01:51:10]OFD Sender: No OFD packet to send [01:51:15]OFD Sender: No OFD packet to send [01:51:20]OFD Sender: No OFD packet to send [01:51:25]OFD Sender: No OFD packet to send [01:51:30]OFD Sender: No OFD packet to send [01:51:35]OFD Sender: No OFD packet to send [01:51:40]OFD Sender: No OFD packet to send [01:51:45]OFD Sender: No OFD packet to send [01:51:50]OFD Sender: No OFD packet to send [01:51:55]OFD Sender: No OFD packet to send [01:52:00]OFD Sender: No OFD packet to send [01:52:05]OFD Sender: No OFD packet to send [01:52:10]OFD Sender: No OFD packet to send [01:52:15]OFD Sender: No OFD packet to send [01:52:20]OFD Sender: No OFD packet to send [01:52:25]OFD Sender: No OFD packet to send [01:52:30]OFD Sender: No OFD packet to send [01:52:35]OFD Sender: No OFD packet to send [01:52:40]OFD Sender: No OFD packet to send [01:52:45]OFD Sender: No OFD packet to send [01:52:50]OFD Sender: No OFD packet to send [01:52:55]OFD Sender: No OFD packet to send [01:53:00]OFD Sender: No OFD packet to send [01:53:05]OFD Sender: No OFD packet to send [01:53:10]OFD Sender: No OFD packet to send [01:53:15]OFD Sender: No OFD packet to send [01:53:20]OFD Sender: No OFD packet to send [01:53:25]OFD Sender: No OFD packet to send [01:53:30]OFD Sender: No OFD packet to send [01:53:35]OFD Sender: No OFD packet to send [01:53:40]OFD Sender: No OFD packet to send [01:53:45]OFD Sender: No OFD packet to send [01:53:50]OFD Sender: No OFD packet to send [01:53:55]OFD Sender: No OFD packet to send [01:54:00]OFD Sender: No OFD packet to send [01:54:05]OFD Sender: No OFD packet to send [01:54:10]OFD Sender: No OFD packet to send [01:54:15]OFD Sender: No OFD packet to send [01:54:20]OFD Sender: No OFD packet to send [01:54:25]OFD Sender: No OFD packet to send [01:54:30]OFD Sender: No OFD packet to send [01:54:35]OFD Sender: No OFD packet to send [01:54:40]OFD Sender: No OFD packet to send [01:54:45]OFD Sender: No OFD packet to send [01:54:50]OFD Sender: No OFD packet to send [01:54:55]OFD Sender: No OFD packet to send [01:55:00]OFD Sender: No OFD packet to send [01:55:05]OFD Sender: No OFD packet to send [01:55:10]OFD Sender: No OFD packet to send [01:55:15]OFD Sender: No OFD packet to send [01:55:20]OFD Sender: No OFD packet to send [01:55:25]OFD Sender: No OFD packet to send [01:55:30]OFD Sender: No OFD packet to send [01:55:35]OFD Sender: No OFD packet to send [01:55:40]OFD Sender: No OFD packet to send [01:55:45]OFD Sender: No OFD packet to send [01:55:50]OFD Sender: No OFD packet to send [01:55:55]OFD Sender: No OFD packet to send [01:56:00]OFD Sender: No OFD packet to send [01:56:05]OFD Sender: No OFD packet to send [01:56:10]OFD Sender: No OFD packet to send [01:56:15]OFD Sender: No OFD packet to send [01:56:20]OFD Sender: No OFD packet to send [01:56:25]OFD Sender: No OFD packet to send [01:56:30]OFD Sender: No OFD packet to send [01:56:35]OFD Sender: No OFD packet to send [01:56:40]OFD Sender: No OFD packet to send [01:56:45]OFD Sender: No OFD packet to send [01:56:50]OFD Sender: No OFD packet to send [01:56:55]OFD Sender: No OFD packet to send [01:57:00]OFD Sender: No OFD packet to send [01:57:05]OFD Sender: No OFD packet to send [01:57:10]OFD Sender: No OFD packet to send [01:57:15]OFD Sender: No OFD packet to send [01:57:20]OFD Sender: No OFD packet to send [01:57:25]OFD Sender: No OFD packet to send [01:57:30]OFD Sender: No OFD packet to send [01:57:35]OFD Sender: No OFD packet to send [01:57:40]OFD Sender: No OFD packet to send [01:57:45]OFD Sender: No OFD packet to send [01:57:50]OFD Sender: No OFD packet to send [01:57:55]OFD Sender: No OFD packet to send [01:58:00]OFD Sender: No OFD packet to send [01:58:05]OFD Sender: No OFD packet to send [01:58:10]OFD Sender: No OFD packet to send [01:58:15]OFD Sender: No OFD packet to send [01:58:20]OFD Sender: No OFD packet to send [01:58:25]OFD Sender: No OFD packet to send [01:58:30]OFD Sender: No OFD packet to send [01:58:35]OFD Sender: No OFD packet to send [01:58:40]OFD Sender: No OFD packet to send [01:58:45]OFD Sender: No OFD packet to send [01:58:50]OFD Sender: No OFD packet to send [01:58:55]OFD Sender: No OFD packet to send [01:59:00]OFD Sender: No OFD packet to send [01:59:05]OFD Sender: No OFD packet to send [01:59:10]OFD Sender: No OFD packet to send [01:59:15]OFD Sender: No OFD packet to send [01:59:20]OFD Sender: No OFD packet to send [01:59:25]OFD Sender: No OFD packet to send [01:59:30]OFD Sender: No OFD packet to send [01:59:35]OFD Sender: No OFD packet to send [01:59:40]OFD Sender: No OFD packet to send [01:59:45]OFD Sender: No OFD packet to send [01:59:50]OFD Sender: No OFD packet to send [01:59:55]OFD Sender: No OFD packet to send [02:00:00]OFD Sender: No OFD packet to send [02:00:05]OFD Sender: No OFD packet to send [02:00:10]OFD Sender: No OFD packet to send [02:00:15]OFD Sender: No OFD packet to send [02:00:20]OFD Sender: No OFD packet to send [02:00:25]OFD Sender: No OFD packet to send [02:00:30]OFD Sender: No OFD packet to send [02:00:35]OFD Sender: No OFD packet to send [02:00:40]OFD Sender: No OFD packet to send [02:00:45]OFD Sender: No OFD packet to send [02:00:50]OFD Sender: No OFD packet to send [02:00:55]OFD Sender: No OFD packet to send [02:01:00]OFD Sender: No OFD packet to send [02:01:05]OFD Sender: No OFD packet to send [02:01:10]OFD Sender: No OFD packet to send [02:01:15]OFD Sender: No OFD packet to send [02:01:20]OFD Sender: No OFD packet to send [02:01:25]OFD Sender: No OFD packet to send [02:01:30]OFD Sender: No OFD packet to send [02:01:36]OFD Sender: No OFD packet to send [02:01:41]OFD Sender: No OFD packet to send [02:01:46]OFD Sender: No OFD packet to send [02:01:51]OFD Sender: No OFD packet to send [02:01:56]OFD Sender: No OFD packet to send [02:02:01]OFD Sender: No OFD packet to send [02:02:06]OFD Sender: No OFD packet to send [02:02:11]OFD Sender: No OFD packet to send [02:02:16]OFD Sender: No OFD packet to send [02:02:21]OFD Sender: No OFD packet to send [02:02:26]OFD Sender: No OFD packet to send [02:02:31]OFD Sender: No OFD packet to send [02:02:36]OFD Sender: No OFD packet to send [02:02:41]OFD Sender: No OFD packet to send [02:02:46]OFD Sender: No OFD packet to send [02:02:51]OFD Sender: No OFD packet to send [02:02:56]OFD Sender: No OFD packet to send [02:03:01]OFD Sender: No OFD packet to send [02:03:06]OFD Sender: No OFD packet to send [02:03:11]OFD Sender: No OFD packet to send [02:03:16]OFD Sender: No OFD packet to send [02:03:21]OFD Sender: No OFD packet to send [02:03:26]OFD Sender: No OFD packet to send [02:03:31]OFD Sender: No OFD packet to send [02:03:36]OFD Sender: No OFD packet to send [02:03:41]OFD Sender: No OFD packet to send [02:03:46]OFD Sender: No OFD packet to send [02:03:51]OFD Sender: No OFD packet to send [02:03:56]OFD Sender: No OFD packet to send [02:04:01]OFD Sender: No OFD packet to send [02:04:06]OFD Sender: No OFD packet to send [02:04:11]OFD Sender: No OFD packet to send [02:04:16]OFD Sender: No OFD packet to send [02:04:21]OFD Sender: No OFD packet to send [02:04:26]OFD Sender: No OFD packet to send [02:04:31]OFD Sender: No OFD packet to send [02:04:36]OFD Sender: No OFD packet to send [02:04:41]OFD Sender: No OFD packet to send [02:04:46]OFD Sender: No OFD packet to send [02:04:51]OFD Sender: No OFD packet to send [02:04:56]OFD Sender: No OFD packet to send [02:05:01]OFD Sender: No OFD packet to send [02:05:06]OFD Sender: No OFD packet to send [02:05:11]OFD Sender: No OFD packet to send [02:05:16]OFD Sender: No OFD packet to send [02:05:21]OFD Sender: No OFD packet to send [02:05:26]OFD Sender: No OFD packet to send [02:05:31]OFD Sender: No OFD packet to send [02:05:36]OFD Sender: No OFD packet to send [02:05:41]OFD Sender: No OFD packet to send [02:05:46]OFD Sender: No OFD packet to send [02:05:51]OFD Sender: No OFD packet to send [02:05:56]OFD Sender: No OFD packet to send [02:06:01]OFD Sender: No OFD packet to send [02:06:06]OFD Sender: No OFD packet to send [02:06:11]OFD Sender: No OFD packet to send [02:06:16]OFD Sender: No OFD packet to send [02:06:21]OFD Sender: No OFD packet to send [02:06:26]OFD Sender: No OFD packet to send [02:06:31]OFD Sender: No OFD packet to send [02:06:36]OFD Sender: No OFD packet to send [02:06:41]OFD Sender: No OFD packet to send [02:06:46]OFD Sender: No OFD packet to send [02:06:51]OFD Sender: No OFD packet to send [02:06:56]OFD Sender: No OFD packet to send [02:07:01]OFD Sender: No OFD packet to send [02:07:06]OFD Sender: No OFD packet to send [02:07:11]OFD Sender: No OFD packet to send [02:07:16]OFD Sender: No OFD packet to send [02:07:21]OFD Sender: No OFD packet to send [02:07:26]OFD Sender: No OFD packet to send [02:07:31]OFD Sender: No OFD packet to send [02:07:36]OFD Sender: No OFD packet to send [02:07:41]OFD Sender: No OFD packet to send [02:07:46]OFD Sender: No OFD packet to send [02:07:51]OFD Sender: No OFD packet to send [02:07:56]OFD Sender: No OFD packet to send [02:08:01]OFD Sender: No OFD packet to send [02:08:06]OFD Sender: No OFD packet to send [02:08:11]OFD Sender: No OFD packet to send [02:08:16]OFD Sender: No OFD packet to send [02:08:21]OFD Sender: No OFD packet to send [02:08:26]OFD Sender: No OFD packet to send [02:08:31]OFD Sender: No OFD packet to send [02:08:36]OFD Sender: No OFD packet to send [02:08:41]OFD Sender: No OFD packet to send [02:08:46]OFD Sender: No OFD packet to send [02:08:51]OFD Sender: No OFD packet to send [02:08:56]OFD Sender: No OFD packet to send [02:09:01]OFD Sender: No OFD packet to send [02:09:06]OFD Sender: No OFD packet to send [02:09:11]OFD Sender: No OFD packet to send [02:09:16]OFD Sender: No OFD packet to send [02:09:21]OFD Sender: No OFD packet to send [02:09:26]OFD Sender: No OFD packet to send [02:09:31]OFD Sender: No OFD packet to send [02:09:36]OFD Sender: No OFD packet to send [02:09:41]OFD Sender: No OFD packet to send [02:09:46]OFD Sender: No OFD packet to send [02:09:51]OFD Sender: No OFD packet to send [02:09:56]OFD Sender: No OFD packet to send [02:10:01]OFD Sender: No OFD packet to send [02:10:06]OFD Sender: No OFD packet to send [02:10:11]OFD Sender: No OFD packet to send [02:10:16]OFD Sender: No OFD packet to send [02:10:21]OFD Sender: No OFD packet to send [02:10:26]OFD Sender: No OFD packet to send [02:10:31]OFD Sender: No OFD packet to send [02:10:36]OFD Sender: No OFD packet to send [02:10:41]OFD Sender: No OFD packet to send [02:10:46]OFD Sender: No OFD packet to send [02:10:51]OFD Sender: No OFD packet to send [02:10:56]OFD Sender: No OFD packet to send [02:11:01]OFD Sender: No OFD packet to send [02:11:06]OFD Sender: No OFD packet to send [02:11:11]OFD Sender: No OFD packet to send [02:11:16]OFD Sender: No OFD packet to send [02:11:21]OFD Sender: No OFD packet to send [02:11:26]OFD Sender: No OFD packet to send [02:11:31]OFD Sender: No OFD packet to send [02:11:36]OFD Sender: No OFD packet to send [02:11:41]OFD Sender: No OFD packet to send [02:11:46]OFD Sender: No OFD packet to send [02:11:51]OFD Sender: No OFD packet to send [02:11:56]OFD Sender: No OFD packet to send [02:12:01]OFD Sender: No OFD packet to send [02:12:06]OFD Sender: No OFD packet to send [02:12:11]OFD Sender: No OFD packet to send [02:12:16]OFD Sender: No OFD packet to send [02:12:21]OFD Sender: No OFD packet to send [02:12:26]OFD Sender: No OFD packet to send [02:12:31]OFD Sender: No OFD packet to send [02:12:36]OFD Sender: No OFD packet to send [02:12:41]OFD Sender: No OFD packet to send [02:12:46]OFD Sender: No OFD packet to send [02:12:51]OFD Sender: No OFD packet to send [02:12:56]OFD Sender: No OFD packet to send [02:13:01]OFD Sender: No OFD packet to send [02:13:06]OFD Sender: No OFD packet to send [02:13:11]OFD Sender: No OFD packet to send [02:13:16]OFD Sender: No OFD packet to send [02:13:21]OFD Sender: No OFD packet to send [02:13:26]OFD Sender: No OFD packet to send [02:13:31]OFD Sender: No OFD packet to send [02:13:35]accept exits with 9 [02:13:35]New connection [02:13:35]New thread 3067440484 created [02:13:35]Thread 3067583844 joined [02:13:35]Waiting for new connection... [02:13:35] Sock 9.Parse request [02:13:35]Sock 9.Check first char [02:13:35]Sock 9.First char is OK [02:13:35]request: POST /json_proto HTTP/1.0 [02:13:35]Method: POST [02:13:35]URL: /json_proto [02:13:35]Method is POST - this is cgi request [02:13:35]url: /json_proto [02:13:35]query_string will be loaded in cgi processing [02:13:35]execute_cgi json_proto POST (null) [02:13:35]execute_cgi path=json_proto method=POST [02:13:35]POST find Content-Length [02:13:35]Host: 172.17.43.4:8080 [02:13:35]Content-Length: 626 [02:13:35]Content-Type: application/json [02:13:35] [02:13:35]POST finish read [02:13:35]Found Content-Length = 626 [02:13:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51731", "tax_sys" : 0, "items" : [ { "code": "4700007690018", "name": "\u041D\u0435\u0433\u0430\u0437 \u0432\u043E\u0434\u0430 Pamir 0,5 \u043B", "price" : 30.00, "quantity" : 1.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 30.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:13:35]execute_script... [02:13:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51731", "tax_sys" : 0, "items" : [ { "code": "4700007690018", "name": "\u041D\u0435\u0433\u0430\u0437 \u0432\u043E\u0434\u0430 Pamir 0,5 \u043B", "price" : 30.00, "quantity" : 1.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 30.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:13:35]POST & json_proto [02:13:35]process_json_proto [02:13:35]json parsed OK: [02:13:35]protocol is kg_v1.0 [02:13:35]action value=close_receipt [02:13:35]process_action close_receipt [02:13:35]cmd_close_receipt [02:13:35]MH_GetDate [02:13:35]Write to MH i2c: F0 00 00 4E 16 53 [02:13:35]Write i2c OK [02:13:35]MH_I2C_Read... [02:13:35]Read from MH i2c: F0 [02:13:35]MH_I2C_Read... [02:13:35]Read from MH i2c: F0 09 00 [02:13:35]MH_I2C_Read... [02:13:35]Read from MH i2c: F0 09 00 4E 16 00 52 C3 F4 66 02 BF CF 66 C1 [02:13:35]GetLastDocTimeStamp 1727314303 [02:13:35]current date 1727316818 [02:13:35]FM_GetShiftState [02:13:35]SAM_PROTO_GetShiftState [02:13:35]wFMCommunicate request_size=4 [02:13:35]MH_SAM_APDU [02:13:35]CAPDU: 80 13 01 00 [02:13:35]Write to MH i2c: E2 08 00 4F 16 80 13 01 00 00 00 00 00 E2 [02:13:35]Write i2c OK [02:13:35]MH_I2C_Read... [02:13:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:13:35]Read from MH i2c: E2 [02:13:35]MH_I2C_Read... [02:13:35]Read from MH i2c: E2 0E 00 [02:13:35]MH_I2C_Read... [02:13:35]Read from MH i2c: E2 0E 00 4F 16 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 A2 [02:13:35]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [02:13:35]wFMCommunicate OK [02:13:35]SAM_PROTO_GetShiftState done [02:13:35]FM_GetShiftState done [02:13:35]opened in 1727309492 [02:13:35]opened+sec_in_day 1727395892 [02:13:35]quantity*price = 3000 [02:13:35]sum+1 = 3001 [02:13:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 30.00 НСП 1% : 0.26 НДС 12% : 3.19 Наличными: 30.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 2 26.09.2024 02:13 Смена: 232 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22538 ФПД: 238545293074715 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T021338&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22538&fm=238545293074715&tin=02508201610067®Number=0000000000146243&sum=3000 0 [02:13:36]StoreToDocumentArchive [02:13:36]shift 232 fd 22538 [02:13:36]save to /storage/0232/doc_00022538 [02:13:36]save last doc name /storage/0232/doc_00022538 to /storage/kkm_last_doc_name [02:13:36]save OK [02:13:36]Clear old archive folders... [02:13:36]ProcessDocumentItem done err = 0, tmpTLVsize=274 [02:13:36]tlvbuf is 002051E0 [02:13:36]SAM_PROTO_ClearQueue [02:13:36]wFMCommunicate request_size=4 [02:13:36]MH_SAM_APDU [02:13:36]CAPDU: 80 09 00 00 [02:13:36]Write to MH i2c: E2 08 00 5C 16 80 09 00 00 00 00 00 00 E4 [02:13:36]Write i2c OK [02:13:36]MH_I2C_Read... [02:13:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:13:36]Read from MH i2c: E2 [02:13:36]MH_I2C_Read... [02:13:36]Read from MH i2c: E2 03 00 [02:13:36]MH_I2C_Read... [02:13:36]Read from MH i2c: E2 03 00 5C 16 00 90 00 E6 [02:13:36]RAPDU: 90 00 [02:13:36]wFMCommunicate OK [02:13:36]SAM_PROTO_ClearQueue done [02:13:36]KKMCreateOFDPacket [02:13:36]OFDProtocolAddRootSTLVToBuf [02:13:36]FM_MakeSignedData [02:13:36]FM_MakeSignedData [02:13:36]SAM_PROTO_SignData [02:13:36]wFMCommunicate request_size=4 [02:13:36]MH_SAM_APDU [02:13:36]CAPDU: 80 0D 01 02 [02:13:36]Write to MH i2c: E2 08 00 5D 16 80 0D 01 02 00 00 00 00 EC [02:13:36]Write i2c OK [02:13:36]MH_I2C_Read... [02:13:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:13:36]Read from MH i2c: E2 [02:13:36]MH_I2C_Read... [02:13:36]Read from MH i2c: E2 03 00 [02:13:36]MH_I2C_Read... [02:13:36]Read from MH i2c: E2 03 00 5D 16 00 90 00 E7 [02:13:36]RAPDU: 90 00 [02:13:36]wFMCommunicate OK [02:13:36]wFMCommunicate request_size=255 [02:13:36]MH_SAM_APDU [02:13:36]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 37 36 39 30 30 31 38 06 04 20 00 D0 9D D0 B5 D0 B3 D0 B0 D0 B7 20 D0 B2 D0 BE D0 B4 D0 B0 20 50 61 6D 69 72 20 30 2C 35 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 0B 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 52 C3 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 [02:13:36]Write to MH i2c: E2 02 01 5E 16 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 37 36 39 30 30 31 38 06 04 20 00 D0 9D D0 B5 D0 B3 D0 B0 D0 B7 20 D0 B2 D0 BE D0 B4 D0 B0 20 50 61 6D 69 72 20 30 2C 35 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 0B 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 52 C3 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 00 00 DB [02:13:36]Write i2c OK [02:13:36]MH_I2C_Read... [02:13:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:13:37]Read from MH i2c: E2 [02:13:37]MH_I2C_Read... [02:13:37]Read from MH i2c: E2 03 00 [02:13:37]MH_I2C_Read... [02:13:37]Read from MH i2c: E2 03 00 5E 16 00 90 00 E8 [02:13:37]RAPDU: 90 00 [02:13:37]wFMCommunicate OK [02:13:37]wFMCommunicate request_size=33 [02:13:37]MH_SAM_APDU [02:13:37]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0A 58 00 00 35 04 06 00 D8 F4 A7 74 E1 1B [02:13:37]Write to MH i2c: E2 24 00 5F 16 80 0D 02 02 1C 00 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0A 58 00 00 35 04 06 00 D8 F4 A7 74 E1 1B 00 00 CA [02:13:37]Write i2c OK [02:13:37]MH_I2C_Read... [02:13:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:13:37]Read from MH i2c: E2 [02:13:37]MH_I2C_Read... [02:13:37]Read from MH i2c: E2 03 00 [02:13:37]MH_I2C_Read... [02:13:37]Read from MH i2c: E2 03 00 5F 16 00 90 00 E9 [02:13:37]RAPDU: 90 00 [02:13:37]wFMCommunicate OK [02:13:37]wFMCommunicate request_size=4 [02:13:37]MH_SAM_APDU [02:13:37]CAPDU: 80 0D 03 02 [02:13:37]Write to MH i2c: E2 08 00 60 16 80 0D 03 02 00 00 00 00 F1 [02:13:37]Write i2c OK [02:13:37]MH_I2C_Read... [02:13:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:13:37]Read from MH i2c: E2 [02:13:37]MH_I2C_Read... [02:13:37]Read from MH i2c: E2 0B 00 [02:13:37]MH_I2C_Read... [02:13:37]Read from MH i2c: E2 0B 00 60 16 00 E2 26 69 64 FD 9C DF 43 90 00 82 [02:13:37]RAPDU: E2 26 69 64 FD 9C DF 43 90 00 [02:13:37]wFMCommunicate OK [02:13:37]SAM_PROTO_SignData done [02:13:37]FM_MakeSignedData done [02:13:37]CreateOFDProtocolMessage [02:13:37]wFMCommunicate request_size=4 [02:13:37]MH_SAM_APDU [02:13:37]CAPDU: 80 11 00 00 [02:13:37]Write to MH i2c: E2 08 00 61 16 80 11 00 00 00 00 00 00 F1 [02:13:37]Write i2c OK [02:13:37]MH_I2C_Read... [02:13:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:13:37]Read from MH i2c: E2 [02:13:37]MH_I2C_Read... [02:13:37]Read from MH i2c: E2 17 00 [02:13:37]MH_I2C_Read... [02:13:37]Read from MH i2c: E2 17 00 61 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 4B [02:13:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [02:13:37]wFMCommunicate OK [02:13:37]CreateOFDProtocolMessage done [02:13:37]OFDSenderStorePacket 22538 [02:13:37]StoreOFDPacket docnum=22538 [02:13:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 26 01 00 00 53 60 1E 01 45 7F 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 37 36 39 30 30 31 38 06 04 20 00 D0 9D D0 B5 D0 B3 D0 B0 D0 B7 20 D0 B2 D0 BE D0 B4 D0 B0 20 50 61 6D 69 72 20 30 2C 35 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 0B 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 52 C3 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0A 58 00 00 35 04 06 00 D8 F4 A7 74 E1 1B E2 26 69 64 FD 9C DF 43 [02:13:37]CheckFolder [02:13:37]dirname=/storage/ofd_packets [02:13:37]CheckFolder done [02:13:37]ProducePacketName [02:13:37]name=ofd_packets/00022538 [02:13:37]NVStorageSaveData ofd_packets/00022538 [02:13:37]File name is /storage/ofd_packets/00022538 [02:13:37]Write 324 bytes [02:13:37]NVStorageSaveData done [02:13:37]OFDSenderStorePacket done [02:13:37]KKMCreateOFDPacket done [02:13:37]NVStorageSaveData kkm_last_timestamp [02:13:37]File name is /storage/kkm_last_timestamp [02:13:37]Write 4 bytes [02:13:37]NVStorageSaveData done [02:13:37]ExternCall_PrintAddStr [02:13:37]wPrintStart [02:13:37]Write to MH i2c: 01 00 00 62 16 78 [02:13:37]Write i2c OK [02:13:37]MH_I2C_Read... [02:13:37]Read from MH i2c: 01 [02:13:37]MH_I2C_Read... [02:13:37]Read from MH i2c: 01 07 00 [02:13:37]MH_I2C_Read... [02:13:37]Read from MH i2c: 01 07 00 62 16 00 00 00 00 00 FF 0F 8D [02:13:37]RasterBufferAndPrint [02:13:37]line Счет N : (3)51731 [02:13:37]line ИНН: 02508201610067 [02:13:37]line Контрольно-Кассовый Чек [02:13:37]line ПРОДАЖА [02:13:37]line Товар: 4700007690018 [02:13:37]line Негаз вода Pamir 0,5 л [02:13:37]line 1.000 * 30.00 [02:13:37]line = 30.00 [02:13:37]line НДС 12% НСП 1% [02:13:37]line > о реализуемом товаре [02:13:37]line ИТОГО: 30.00 [02:13:37]line НСП 1% : 0.26 [02:13:37]line НДС 12% : 3.19 [02:13:37]line Наличными: 30.00 [02:13:37]line Безнал.: 0.00 [02:13:37]line Место: АЗС № 88 "Партнер Нефть" [02:13:37]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [02:13:37]line СНО: Общий режим [02:13:37]line Чек 2 26.09.2024 02:13 [02:13:37]line Смена: 232 ФФД: 1.0 [02:13:37]line ЗНМ: 0300000061 [02:13:37]line РНМ: 0000000000146243 [02:13:37]line Версия ККМ: v1.0 [02:13:37]line ФМ: 0000000000959358 [02:13:37]line ФД: 22538 [02:13:37]line ФПД: 238545293074715 [02:13:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T021338&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22538&fm=238545293074715&tin=02508201610067®Number=0000000000146243&sum=3000 [02:13:37]line 0 [02:13:37]OFD Sender: Processing packet 22538 [packets to send 23, broken 22] [02:13:37]ProducePacketName [02:13:37]name=ofd_packets/00022538 [02:13:37]OFD Sender: To server: pG, [02:13:37]CommunicateWithHost lk.salyk.kg:30040 [02:13:37]ConnectInit lk.salyk.kg [02:13:37]written 0, free lines is 4095 [02:13:37]Connected sock=10 [02:13:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 26 01 00 00 53 60 1E 01 45 7F 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 37 30 30 30 30 37 36 39 30 30 31 38 06 04 20 00 D0 9D D0 B5 D0 B3 D0 B0 D0 B7 20 D0 B2 D0 BE D0 B4 D0 B0 20 50 61 6D 69 72 20 30 2C 35 20 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 0B 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 52 C3 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0A 58 00 00 35 04 06 00 D8 F4 A7 74 E1 1B E2 26 69 64 FD 9C DF 43 [02:13:37]Write to MH i2c: 01 00 00 8A 16 A0 [02:13:37]Write i2c OK [02:13:37]MH_I2C_Read... [02:13:37]Read from MH i2c: 01 [02:13:37]MH_I2C_Read... [02:13:37]Read from MH i2c: 01 07 00 [02:13:37]MH_I2C_Read... [02:13:37]Read from MH i2c: 01 07 00 8A 16 00 00 00 00 00 29 0D DD [02:13:38]RasterBufferAndPrint [02:13:38]line [02:13:38]line [02:13:38]line [02:13:38]line [02:13:38]line [02:13:38]written 0, free lines is 3375 [02:13:38]MH_Cut [02:13:38]Write to MH i2c: D1 01 00 91 16 01 79 [02:13:38]Write i2c OK [02:13:38]MH_I2C_Read... [02:13:38]Read from MH i2c: D1 [02:13:38]MH_I2C_Read... [02:13:38]Read from MH i2c: D1 01 00 [02:13:38]MH_I2C_Read... [02:13:38]Read from MH i2c: D1 01 00 91 16 00 78 [02:13:38]Write to MH i2c: 01 00 00 92 16 A8 [02:13:38]Write i2c OK [02:13:38]MH_I2C_Read... [02:13:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 B3 3A 47 00 ED 00 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0A 58 00 00 F4 03 04 00 73 6D F4 66 B6 04 01 00 00 AD 72 A4 9E 1A 71 7A BD [02:13:38]CommunicateWithHost err = 0 [02:13:38]CheckOFDResponse [02:13:38]1017 (14) - 77093643461234 [02:13:38]1041 (16) - 0000000000959358 [02:13:38]1040 (4) - 22538 [02:13:38]1012 (4) - 25.09.2024 20:07 [02:13:38]1206 (1) - 0 [02:13:38]OFD Sender: Remove packet 22538 [02:13:38]ProducePacketName [02:13:38]name=ofd_packets/00022538 [02:13:38]NVStorageDeleteData [02:13:38]OFD Sender: No OFD packet to send [02:13:38]*** Cut start [02:13:38]*** Partial cut [02:13:38]*** CUTSNS_PIN = 1 [02:13:38]*** CUTSNS_PIN = 0 [02:13:38]*** Brake cut motor [02:13:39]Read from MH i2c: 01 [02:13:39]MH_I2C_Read... [02:13:39]*** Stop cut motor [02:13:39]*** Cut end [02:13:39]Read from MH i2c: 01 07 00 [02:13:39]MH_I2C_Read... [02:13:39]Read from MH i2c: 01 07 00 92 16 00 00 00 00 00 FF 0F BD [02:13:39]process_action close_receipt done [02:13:39]requested_data is exist [02:13:39]produce_requested_data [02:13:39]requested_item fm.sn is exist - process it [02:13:39]wFMCommunicate request_size=4 [02:13:39]MH_SAM_APDU [02:13:39]CAPDU: 80 11 00 00 [02:13:39]Write to MH i2c: E2 08 00 93 16 80 11 00 00 00 00 00 00 23 [02:13:39]Write i2c OK [02:13:39]MH_I2C_Read... [02:13:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:13:39]Read from MH i2c: E2 [02:13:39]MH_I2C_Read... [02:13:39]Read from MH i2c: E2 17 00 [02:13:39]MH_I2C_Read... [02:13:39]Read from MH i2c: E2 17 00 93 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 7D [02:13:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [02:13:39]wFMCommunicate OK [02:13:39]requested_item fd.num is exist - process it [02:13:39]SAM_PROTO_GetFieldsCounters [02:13:39]wFMCommunicate request_size=4 [02:13:39]MH_SAM_APDU [02:13:39]CAPDU: 80 13 00 00 [02:13:39]Write to MH i2c: E2 08 00 94 16 80 13 00 00 00 00 00 00 26 [02:13:39]Write i2c OK [02:13:39]MH_I2C_Read... [02:13:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:13:39]Read from MH i2c: E2 [02:13:39]MH_I2C_Read... [02:13:39]Read from MH i2c: E2 62 00 [02:13:39]MH_I2C_Read... [02:13:39]Read from MH i2c: E2 62 00 94 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 0A 58 00 00 0E 04 04 00 E8 00 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 99 [02:13:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 0A 58 00 00 0E 04 04 00 E8 00 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:13:39]wFMCommunicate OK [02:13:39]SAM_PROTO_GetFieldsCounters done [02:13:39]requested_item shift.num is exist - process it [02:13:39]requested_item shift.opened is exist - process it [02:13:39]req_shift_opened [02:13:39]FM_GetShiftState [02:13:39]SAM_PROTO_GetShiftState [02:13:39]wFMCommunicate request_size=4 [02:13:39]MH_SAM_APDU [02:13:39]CAPDU: 80 13 01 00 [02:13:39]Write to MH i2c: E2 08 00 95 16 80 13 01 00 00 00 00 00 28 [02:13:39]Write i2c OK [02:13:39]MH_I2C_Read... [02:13:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:13:39]Read from MH i2c: E2 [02:13:39]MH_I2C_Read... [02:13:39]Read from MH i2c: E2 0E 00 [02:13:39]MH_I2C_Read... [02:13:39]Read from MH i2c: E2 0E 00 95 16 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 E8 [02:13:39]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [02:13:39]wFMCommunicate OK [02:13:39]SAM_PROTO_GetShiftState done [02:13:39]FM_GetShiftState done [02:13:39]req_shift_opened done [02:13:39]requested_item shift.open_date is exist - process it [02:13:39]req_shift_open_date [02:13:39]req_shift_open_date done [02:13:39]produce_requested_data done [02:13:39]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22538,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [02:13:39]process_action_free close_receipt [02:13:39]json_value_free [02:13:39]json_value_free done [02:13:39]process_json_proto returns [02:13:39]Send response to host [02:13:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22538,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [02:13:39]free response buf [02:13:39]execute_script done [02:13:39]execute_script returns [02:13:39]free content buf [02:13:39]Sock 9.Close socket [02:13:39]Sock 9.Thread stoped [02:13:43]OFD Sender: No OFD packet to send [02:13:48]OFD Sender: No OFD packet to send [02:13:53]OFD Sender: No OFD packet to send [02:13:58]OFD Sender: No OFD packet to send [02:14:03]OFD Sender: No OFD packet to send [02:14:08]OFD Sender: No OFD packet to send [02:14:13]OFD Sender: No OFD packet to send [02:14:18]OFD Sender: No OFD packet to send [02:14:23]OFD Sender: No OFD packet to send [02:14:28]OFD Sender: No OFD packet to send [02:14:33]OFD Sender: No OFD packet to send [02:14:38]OFD Sender: No OFD packet to send [02:14:43]OFD Sender: No OFD packet to send [02:14:48]OFD Sender: No OFD packet to send [02:14:53]OFD Sender: No OFD packet to send [02:14:58]OFD Sender: No OFD packet to send [02:15:03]OFD Sender: No OFD packet to send [02:15:08]OFD Sender: No OFD packet to send [02:15:13]OFD Sender: No OFD packet to send [02:15:18]OFD Sender: No OFD packet to send [02:15:23]OFD Sender: No OFD packet to send [02:15:28]OFD Sender: No OFD packet to send [02:15:33]OFD Sender: No OFD packet to send [02:15:38]OFD Sender: No OFD packet to send [02:15:43]OFD Sender: No OFD packet to send [02:15:48]OFD Sender: No OFD packet to send [02:15:53]OFD Sender: No OFD packet to send [02:15:58]OFD Sender: No OFD packet to send [02:16:03]OFD Sender: No OFD packet to send [02:16:08]OFD Sender: No OFD packet to send [02:16:13]OFD Sender: No OFD packet to send [02:16:18]OFD Sender: No OFD packet to send [02:16:23]OFD Sender: No OFD packet to send [02:16:28]OFD Sender: No OFD packet to send [02:16:33]OFD Sender: No OFD packet to send [02:16:38]OFD Sender: No OFD packet to send [02:16:43]OFD Sender: No OFD packet to send [02:16:48]OFD Sender: No OFD packet to send [02:16:53]OFD Sender: No OFD packet to send [02:16:58]OFD Sender: No OFD packet to send [02:17:03]OFD Sender: No OFD packet to send [02:17:08]OFD Sender: No OFD packet to send [02:17:13]OFD Sender: No OFD packet to send [02:17:18]OFD Sender: No OFD packet to send [02:17:23]OFD Sender: No OFD packet to send [02:17:28]OFD Sender: No OFD packet to send [02:17:33]OFD Sender: No OFD packet to send [02:17:38]OFD Sender: No OFD packet to send [02:17:43]OFD Sender: No OFD packet to send [02:17:48]OFD Sender: No OFD packet to send [02:17:53]OFD Sender: No OFD packet to send [02:17:58]OFD Sender: No OFD packet to send [02:18:03]OFD Sender: No OFD packet to send [02:18:08]OFD Sender: No OFD packet to send [02:18:13]OFD Sender: No OFD packet to send [02:18:18]OFD Sender: No OFD packet to send [02:18:23]OFD Sender: No OFD packet to send [02:18:28]OFD Sender: No OFD packet to send [02:18:33]OFD Sender: No OFD packet to send [02:18:38]OFD Sender: No OFD packet to send [02:18:43]OFD Sender: No OFD packet to send [02:18:48]OFD Sender: No OFD packet to send [02:18:53]OFD Sender: No OFD packet to send [02:18:58]OFD Sender: No OFD packet to send [02:19:03]OFD Sender: No OFD packet to send [02:19:08]OFD Sender: No OFD packet to send [02:19:13]OFD Sender: No OFD packet to send [02:19:18]OFD Sender: No OFD packet to send [02:19:23]OFD Sender: No OFD packet to send [02:19:28]OFD Sender: No OFD packet to send [02:19:33]OFD Sender: No OFD packet to send [02:19:38]OFD Sender: No OFD packet to send [02:19:43]OFD Sender: No OFD packet to send [02:19:48]OFD Sender: No OFD packet to send [02:19:53]OFD Sender: No OFD packet to send [02:19:58]OFD Sender: No OFD packet to send [02:20:03]OFD Sender: No OFD packet to send [02:20:08]OFD Sender: No OFD packet to send [02:20:13]OFD Sender: No OFD packet to send [02:20:18]OFD Sender: No OFD packet to send [02:20:23]OFD Sender: No OFD packet to send [02:20:28]OFD Sender: No OFD packet to send [02:20:33]OFD Sender: No OFD packet to send [02:20:38]OFD Sender: No OFD packet to send [02:20:43]OFD Sender: No OFD packet to send [02:20:48]OFD Sender: No OFD packet to send [02:20:53]OFD Sender: No OFD packet to send [02:20:58]OFD Sender: No OFD packet to send [02:21:03]OFD Sender: No OFD packet to send [02:21:08]OFD Sender: No OFD packet to send [02:21:13]OFD Sender: No OFD packet to send [02:21:18]OFD Sender: No OFD packet to send [02:21:23]OFD Sender: No OFD packet to send [02:21:28]OFD Sender: No OFD packet to send [02:21:33]OFD Sender: No OFD packet to send [02:21:38]OFD Sender: No OFD packet to send [02:21:43]OFD Sender: No OFD packet to send [02:21:48]OFD Sender: No OFD packet to send [02:21:53]OFD Sender: No OFD packet to send [02:21:58]OFD Sender: No OFD packet to send [02:22:03]OFD Sender: No OFD packet to send [02:22:08]OFD Sender: No OFD packet to send [02:22:13]OFD Sender: No OFD packet to send [02:22:18]OFD Sender: No OFD packet to send [02:22:23]OFD Sender: No OFD packet to send [02:22:28]OFD Sender: No OFD packet to send [02:22:33]OFD Sender: No OFD packet to send [02:22:39]OFD Sender: No OFD packet to send [02:22:44]OFD Sender: No OFD packet to send [02:22:49]OFD Sender: No OFD packet to send [02:22:54]OFD Sender: No OFD packet to send [02:22:59]OFD Sender: No OFD packet to send [02:23:04]OFD Sender: No OFD packet to send [02:23:09]OFD Sender: No OFD packet to send [02:23:14]OFD Sender: No OFD packet to send [02:23:19]OFD Sender: No OFD packet to send [02:23:24]OFD Sender: No OFD packet to send [02:23:29]OFD Sender: No OFD packet to send [02:23:34]OFD Sender: No OFD packet to send [02:23:39]OFD Sender: No OFD packet to send [02:23:44]OFD Sender: No OFD packet to send [02:23:49]OFD Sender: No OFD packet to send [02:23:51]accept exits with 7 [02:23:51]New connection [02:23:51]New thread 3067583844 created [02:23:51]Thread 3067440484 joined [02:23:51]Waiting for new connection... [02:23:51] Sock 7.Parse request [02:23:51]Sock 7.Check first char [02:23:51]Sock 7.First char is OK [02:23:51]request: POST /json_proto HTTP/1.0 [02:23:51]Method: POST [02:23:51]URL: /json_proto [02:23:51]Method is POST - this is cgi request [02:23:51]url: /json_proto [02:23:51]query_string will be loaded in cgi processing [02:23:51]execute_cgi json_proto POST (null) [02:23:51]execute_cgi path=json_proto method=POST [02:23:51]POST find Content-Length [02:23:51]Host: 172.17.43.4:8080 [02:23:51]Content-Length: 1647 [02:23:51]Content-Type: application/json [02:23:51] [02:23:51]POST finish read [02:23:51]Found Content-Length = 1647 [02:23:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51732", "tax_sys" : 0, "items" : [ { "code": "4870003984128", "name": "\u041F\u0438\u0432\u043E \u041A\u0430\u0440\u0430\u0433 \u0414\u0440\u0430\u0444\u0442 \u041C\u044F\u0433\u043A\u043E\u0435 \u041A\u0440\u0443\u0436\u043A\u0430 \u0441\u0432\u0435\u0436 0,5\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 2.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 404.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:23:51]execute_script... [02:23:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51732", "tax_sys" : 0, "items" : [ { "code": "4870003984128", "name": "\u041F\u0438\u0432\u043E \u041A\u0430\u0440\u0430\u0433 \u0414\u0440\u0430\u0444\u0442 \u041C\u044F\u0433\u043A\u043E\u0435 \u041A\u0440\u0443\u0436\u043A\u0430 \u0441\u0432\u0435\u0436 0,5\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 2.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 404.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:23:51]POST & json_proto [02:23:51]process_json_proto [02:23:51]json parsed OK: [02:23:51]protocol is kg_v1.0 [02:23:51]action value=close_receipt [02:23:52]process_action close_receipt [02:23:52]cmd_close_receipt [02:23:52]MH_GetDate [02:23:52]Write to MH i2c: F0 00 00 96 16 9B [02:23:52]Write i2c OK [02:23:52]MH_I2C_Read... [02:23:52]Read from MH i2c: F0 [02:23:52]MH_I2C_Read... [02:23:52]Read from MH i2c: F0 09 00 [02:23:52]MH_I2C_Read... [02:23:52]Read from MH i2c: F0 09 00 96 16 00 BB C5 F4 66 02 BF CF 66 74 [02:23:52]GetLastDocTimeStamp 1727316818 [02:23:52]current date 1727317435 [02:23:52]FM_GetShiftState [02:23:52]SAM_PROTO_GetShiftState [02:23:52]wFMCommunicate request_size=4 [02:23:52]MH_SAM_APDU [02:23:52]CAPDU: 80 13 01 00 [02:23:52]Write to MH i2c: E2 08 00 97 16 80 13 01 00 00 00 00 00 2A [02:23:52]Write i2c OK [02:23:52]MH_I2C_Read... [02:23:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:23:52]Read from MH i2c: E2 [02:23:52]MH_I2C_Read... [02:23:52]Read from MH i2c: E2 0E 00 [02:23:52]MH_I2C_Read... [02:23:52]Read from MH i2c: E2 0E 00 97 16 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 EA [02:23:52]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [02:23:52]wFMCommunicate OK [02:23:52]SAM_PROTO_GetShiftState done [02:23:52]FM_GetShiftState done [02:23:52]opened in 1727309492 [02:23:52]opened+sec_in_day 1727395892 [02:23:52]quantity*price = 12500 [02:23:52]sum+1 = 12501 [02:23:52]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000027474 Напиток FuzeTea зел чай манго,ромашка 1л 1.000 * 105.00 = 105.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48743587 Сигареты Winston XStyle Silver 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160013 Снек Курут индивидуальный 2.000 * 15.00 = 30.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 404.00 НСП 1% : 3.57 НДС 12% : 42.90 Наличными: 404.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 3 26.09.2024 02:23 Смена: 232 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22539 ФПД: 153722680818537 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T022355&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22539&fm=153722680818537&tin=02508201610067®Number=0000000000146243&sum=40400 0 [02:23:53]StoreToDocumentArchive [02:23:53]shift 232 fd 22539 [02:23:53]save to /storage/0232/doc_00022539 [02:23:53]save last doc name /storage/0232/doc_00022539 to /storage/kkm_last_doc_name [02:23:53]save OK [02:23:53]Clear old archive folders... [02:23:53]ProcessDocumentItem done err = 0, tmpTLVsize=676 [02:23:53]tlvbuf is B6F427F0 [02:23:53]SAM_PROTO_ClearQueue [02:23:53]wFMCommunicate request_size=4 [02:23:53]MH_SAM_APDU [02:23:53]CAPDU: 80 09 00 00 [02:23:53]Write to MH i2c: E2 08 00 A4 16 80 09 00 00 00 00 00 00 2C [02:23:53]Write i2c OK [02:23:53]MH_I2C_Read... [02:23:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:23:53]Read from MH i2c: E2 [02:23:53]MH_I2C_Read... [02:23:53]Read from MH i2c: E2 03 00 [02:23:53]MH_I2C_Read... [02:23:53]Read from MH i2c: E2 03 00 A4 16 00 90 00 2E [02:23:53]RAPDU: 90 00 [02:23:53]wFMCommunicate OK [02:23:53]SAM_PROTO_ClearQueue done [02:23:53]KKMCreateOFDPacket [02:23:53]OFDProtocolAddRootSTLVToBuf [02:23:53]FM_MakeSignedData [02:23:53]FM_MakeSignedData [02:23:53]SAM_PROTO_SignData [02:23:53]wFMCommunicate request_size=4 [02:23:53]MH_SAM_APDU [02:23:53]CAPDU: 80 0D 01 02 [02:23:53]Write to MH i2c: E2 08 00 A5 16 80 0D 01 02 00 00 00 00 34 [02:23:53]Write i2c OK [02:23:53]MH_I2C_Read... [02:23:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:23:53]Read from MH i2c: E2 [02:23:53]MH_I2C_Read... [02:23:53]Read from MH i2c: E2 03 00 [02:23:53]MH_I2C_Read... [02:23:53]Read from MH i2c: E2 03 00 A5 16 00 90 00 2F [02:23:53]RAPDU: 90 00 [02:23:53]wFMCommunicate OK [02:23:53]wFMCommunicate request_size=255 [02:23:53]MH_SAM_APDU [02:23:53]CAPDU: 80 0D 02 02 FA 03 00 A4 02 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 37 30 30 30 33 39 38 34 31 32 38 06 04 47 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9A D0 B0 D1 80 D0 B0 D0 B3 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 D0 9C D1 8F D0 B3 D0 BA D0 BE D0 B5 20 D0 9A D1 80 D1 83 D0 B6 D0 BA D0 B0 20 D1 81 D0 B2 D0 B5 D0 B6 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 [02:23:53]Write to MH i2c: E2 02 01 A6 16 80 0D 02 02 FA 00 03 00 A4 02 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 37 30 30 30 33 39 38 34 31 32 38 06 04 47 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9A D0 B0 D1 80 D0 B0 D0 B3 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 D0 9C D1 8F D0 B3 D0 BA D0 BE D0 B5 20 D0 9A D1 80 D1 83 D0 B6 D0 BA D0 B0 20 D1 81 D0 B2 D0 B5 D0 B6 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 7B [02:23:53]Write i2c OK [02:23:53]MH_I2C_Read... [02:23:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:23:53]Read from MH i2c: E2 [02:23:53]MH_I2C_Read... [02:23:53]Read from MH i2c: E2 03 00 [02:23:53]MH_I2C_Read... [02:23:53]Read from MH i2c: E2 03 00 A6 16 00 90 00 30 [02:23:53]RAPDU: 90 00 [02:23:53]wFMCommunicate OK [02:23:53]wFMCommunicate request_size=255 [02:23:53]MH_SAM_APDU [02:23:53]CAPDU: 80 0D 02 02 FA 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 [02:23:53]Write to MH i2c: E2 02 01 A7 16 80 0D 02 02 FA 00 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 00 00 FF [02:23:53]Write i2c OK [02:23:53]MH_I2C_Read... [02:23:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:23:54]Read from MH i2c: E2 [02:23:54]MH_I2C_Read... [02:23:54]Read from MH i2c: E2 03 00 [02:23:54]MH_I2C_Read... [02:23:54]Read from MH i2c: E2 03 00 A7 16 00 90 00 31 [02:23:54]RAPDU: 90 00 [02:23:54]wFMCommunicate OK [02:23:54]wFMCommunicate request_size=185 [02:23:54]MH_SAM_APDU [02:23:54]CAPDU: 80 0D 02 02 B4 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 9D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 65 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 10 00 00 00 00 07 04 06 00 D0 9D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 BB C5 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0B 58 00 00 35 04 06 00 8B CF 59 C8 BB 69 [02:23:54]Write to MH i2c: E2 BC 00 A8 16 80 0D 02 02 B4 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 9D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 65 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 10 00 00 00 00 07 04 06 00 D0 9D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 BB C5 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0B 58 00 00 35 04 06 00 8B CF 59 C8 BB 69 00 00 71 [02:23:54]Write i2c OK [02:23:54]MH_I2C_Read... [02:23:54]OFD Sender: No OFD packet to send [02:23:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:23:54]Read from MH i2c: E2 [02:23:54]MH_I2C_Read... [02:23:54]Read from MH i2c: E2 03 00 [02:23:54]MH_I2C_Read... [02:23:54]Read from MH i2c: E2 03 00 A8 16 00 90 00 32 [02:23:54]RAPDU: 90 00 [02:23:54]wFMCommunicate OK [02:23:54]wFMCommunicate request_size=4 [02:23:54]MH_SAM_APDU [02:23:54]CAPDU: 80 0D 03 02 [02:23:54]Write to MH i2c: E2 08 00 A9 16 80 0D 03 02 00 00 00 00 3A [02:23:54]Write i2c OK [02:23:54]MH_I2C_Read... [02:23:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:23:54]Read from MH i2c: E2 [02:23:54]MH_I2C_Read... [02:23:54]Read from MH i2c: E2 0B 00 [02:23:54]MH_I2C_Read... [02:23:54]Read from MH i2c: E2 0B 00 A9 16 00 96 44 32 80 DD 81 3D 07 90 00 69 [02:23:54]RAPDU: 96 44 32 80 DD 81 3D 07 90 00 [02:23:54]wFMCommunicate OK [02:23:54]SAM_PROTO_SignData done [02:23:54]FM_MakeSignedData done [02:23:54]CreateOFDProtocolMessage [02:23:54]wFMCommunicate request_size=4 [02:23:54]MH_SAM_APDU [02:23:54]CAPDU: 80 11 00 00 [02:23:54]Write to MH i2c: E2 08 00 AA 16 80 11 00 00 00 00 00 00 3A [02:23:54]Write i2c OK [02:23:54]MH_I2C_Read... [02:23:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:23:54]Read from MH i2c: E2 [02:23:54]MH_I2C_Read... [02:23:54]Read from MH i2c: E2 17 00 [02:23:54]MH_I2C_Read... [02:23:54]Read from MH i2c: E2 17 00 AA 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 94 [02:23:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [02:23:54]wFMCommunicate OK [02:23:54]CreateOFDProtocolMessage done [02:23:54]OFDSenderStorePacket 22539 [02:23:54]StoreOFDPacket docnum=22539 [02:23:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 B8 02 00 00 C1 F0 B0 02 C1 3C 5A 03 01 00 03 00 A4 02 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 37 30 30 30 33 39 38 34 31 32 38 06 04 47 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9A D0 B0 D1 80 D0 B0 D0 B3 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 D0 9C D1 8F D0 B3 D0 BA D0 BE D0 B5 20 D0 9A D1 80 D1 83 D0 B6 D0 BA D0 B0 20 D1 81 D0 B2 D0 B5 D0 B6 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 9D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 65 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 10 00 00 00 00 07 04 06 00 D0 9D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 BB C5 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0B 58 00 00 35 04 06 00 8B CF 59 C8 BB 69 96 44 32 80 DD 81 3D 07 [02:23:54]CheckFolder [02:23:54]dirname=/storage/ofd_packets [02:23:54]CheckFolder done [02:23:54]ProducePacketName [02:23:54]name=ofd_packets/00022539 [02:23:54]NVStorageSaveData ofd_packets/00022539 [02:23:54]File name is /storage/ofd_packets/00022539 [02:23:54]Write 726 bytes [02:23:54]NVStorageSaveData done [02:23:54]OFDSenderStorePacket done [02:23:54]KKMCreateOFDPacket done [02:23:54]NVStorageSaveData kkm_last_timestamp [02:23:54]File name is /storage/kkm_last_timestamp [02:23:54]Write 4 bytes [02:23:54]NVStorageSaveData done [02:23:54]ExternCall_PrintAddStr [02:23:54]wPrintStart [02:23:54]Write to MH i2c: 01 00 00 AB 16 C1 [02:23:54]Write i2c OK [02:23:54]MH_I2C_Read... [02:23:54]Read from MH i2c: 01 [02:23:54]MH_I2C_Read... [02:23:54]Read from MH i2c: 01 07 00 [02:23:54]MH_I2C_Read... [02:23:54]Read from MH i2c: 01 07 00 AB 16 00 00 00 00 00 FF 0F D6 [02:23:54]RasterBufferAndPrint [02:23:54]line Счет N : (3)51732 [02:23:54]line ИНН: 02508201610067 [02:23:54]line Контрольно-Кассовый Чек [02:23:54]line ПРОДАЖА [02:23:54]line Товар: 4870003984128 [02:23:54]line Пиво Караг Драфт Мягкое Кружка свеж 0,5л [02:23:54]line 1.000 * 125.00 [02:23:54]line = 125.00 [02:23:54]line НДС 12% НСП 1% [02:23:54]line > о реализуемом товаре [02:23:54]line Товар: 5449000027474 [02:23:54]line Напиток FuzeTea зел чай манго,ромашка 1л [02:23:54]line 1.000 * 105.00 [02:23:54]line = 105.00 [02:23:54]line НДС 12% НСП 1% [02:23:54]line > о реализуемом товаре [02:23:54]line Товар: 48743587 [02:23:54]line Сигареты Winston XStyle Silver [02:23:54]line 1.000 * 144.00 [02:23:54]line = 144.00 [02:23:54]line НДС 12% НСП 1% [02:23:54]line > о реализуемом товаре [02:23:54]line Товар: 4700000160013 [02:23:54]line Снек Курут индивидуальный [02:23:54]line 2.000 * 15.00 [02:23:54]line = 30.00 [02:23:54]line НДС 12% НСП 1% [02:23:54]line > о реализуемом товаре [02:23:54]line ИТОГО: 404.00 [02:23:54]line НСП 1% : 3.57 [02:23:54]line НДС 12% : 42.90 [02:23:54]line Наличными: 404.00 [02:23:54]line Безнал.: 0.00 [02:23:54]line Место: АЗС № 88 "Партнер Нефть" [02:23:54]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [02:23:54]line СНО: Общий режим [02:23:54]line Чек 3 26.09.2024 02:23 [02:23:54]line Смена: 232 ФФД: 1.0 [02:23:54]line ЗНМ: 0300000061 [02:23:54]line РНМ: 0000000000146243 [02:23:54]line Версия ККМ: v1.0 [02:23:54]line ФМ: 0000000000959358 [02:23:54]line ФД: 22539 [02:23:54]line ФПД: 153722680818537 [02:23:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T022355&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22539&fm=153722680818537&tin=02508201610067®Number=0000000000146243&sum=40400 [02:23:54]line 0 [02:23:54]OFD Sender: Processing packet 22539 [packets to send 23, broken 22] [02:23:54]ProducePacketName [02:23:54]name=ofd_packets/00022539 [02:23:54]OFD Sender: To server: pG, [02:23:54]CommunicateWithHost lk.salyk.kg:30040 [02:23:54]ConnectInit lk.salyk.kg [02:23:54]written 0, free lines is 4095 [02:23:54]Connected sock=10 [02:23:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 B8 02 00 00 C1 F0 B0 02 C1 3C 5A 03 01 00 03 00 A4 02 1E 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 38 37 30 30 30 33 39 38 34 31 32 38 06 04 47 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 9A D0 B0 D1 80 D0 B0 D0 B3 20 D0 94 D1 80 D0 B0 D1 84 D1 82 20 D0 9C D1 8F D0 B3 D0 BA D0 BE D0 B5 20 D0 9A D1 80 D1 83 D0 B6 D0 BA D0 B0 20 D1 81 D0 B2 D0 B5 D0 B6 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 9D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 65 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 10 00 00 00 00 07 04 06 00 D0 9D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 BB C5 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0B 58 00 00 35 04 06 00 8B CF 59 C8 BB 69 96 44 32 80 DD 81 3D 07 [02:23:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 69 AE 47 00 96 B3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0B 58 00 00 F4 03 04 00 DC 6F F4 66 B6 04 01 00 00 EA AA 88 BE E9 CE 06 38 [02:23:55]CommunicateWithHost err = 0 [02:23:55]CheckOFDResponse [02:23:55]1017 (14) - 77093643461234 [02:23:55]1041 (16) - 0000000000959358 [02:23:55]1040 (4) - 22539 [02:23:55]1012 (4) - 25.09.2024 20:17 [02:23:55]1206 (1) - 0 [02:23:55]OFD Sender: Remove packet 22539 [02:23:55]ProducePacketName [02:23:55]name=ofd_packets/00022539 [02:23:55]NVStorageDeleteData [02:23:55]Write to MH i2c: 01 00 00 E8 16 FE [02:23:55]Write i2c OK [02:23:55]MH_I2C_Read... [02:23:55]Read from MH i2c: 01 [02:23:55]MH_I2C_Read... [02:23:55]Read from MH i2c: 01 07 00 [02:23:55]MH_I2C_Read... [02:23:55]Read from MH i2c: 01 07 00 E8 16 00 00 00 00 00 1A 0C 2B [02:23:55]RasterBufferAndPrint [02:23:55]line [02:23:55]line [02:23:55]line [02:23:55]line [02:23:55]line [02:23:55]written 0, free lines is 3112 [02:23:55]MH_Cut [02:23:55]Write to MH i2c: D1 01 00 EF 16 01 D7 [02:23:55]Write i2c OK [02:23:55]MH_I2C_Read... [02:23:55]Read from MH i2c: D1 [02:23:55]MH_I2C_Read... [02:23:55]Read from MH i2c: D1 01 00 [02:23:55]MH_I2C_Read... [02:23:55]Read from MH i2c: D1 01 00 EF 16 00 D6 [02:23:55]Write to MH i2c: 01 00 00 F0 16 06 [02:23:55]Write i2c OK [02:23:55]MH_I2C_Read... [02:23:55]OFD Sender: No OFD packet to send [02:23:56]*** Cut start [02:23:56]*** Partial cut [02:23:56]*** CUTSNS_PIN = 1 [02:23:56]*** CUTSNS_PIN = 0 [02:23:56]*** Brake cut motor [02:23:56]Read from MH i2c: 01 [02:23:56]MH_I2C_Read... [02:23:56]*** Stop cut motor [02:23:56]*** Cut end [02:23:56]Read from MH i2c: 01 07 00 [02:23:56]MH_I2C_Read... [02:23:56]Read from MH i2c: 01 07 00 F0 16 00 00 00 00 00 FF 0F 1B [02:23:56]process_action close_receipt done [02:23:56]requested_data is exist [02:23:56]produce_requested_data [02:23:56]requested_item fm.sn is exist - process it [02:23:56]wFMCommunicate request_size=4 [02:23:56]MH_SAM_APDU [02:23:56]CAPDU: 80 11 00 00 [02:23:56]Write to MH i2c: E2 08 00 F1 16 80 11 00 00 00 00 00 00 81 [02:23:56]Write i2c OK [02:23:56]MH_I2C_Read... [02:23:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:23:56]Read from MH i2c: E2 [02:23:56]MH_I2C_Read... [02:23:56]Read from MH i2c: E2 17 00 [02:23:56]MH_I2C_Read... [02:23:56]Read from MH i2c: E2 17 00 F1 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 DB [02:23:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [02:23:56]wFMCommunicate OK [02:23:56]requested_item fd.num is exist - process it [02:23:56]SAM_PROTO_GetFieldsCounters [02:23:56]wFMCommunicate request_size=4 [02:23:56]MH_SAM_APDU [02:23:56]CAPDU: 80 13 00 00 [02:23:56]Write to MH i2c: E2 08 00 F2 16 80 13 00 00 00 00 00 00 84 [02:23:56]Write i2c OK [02:23:56]MH_I2C_Read... [02:23:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:23:57]Read from MH i2c: E2 [02:23:57]MH_I2C_Read... [02:23:57]Read from MH i2c: E2 62 00 [02:23:57]MH_I2C_Read... [02:23:57]Read from MH i2c: E2 62 00 F2 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 0B 58 00 00 0E 04 04 00 E8 00 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 FB [02:23:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 0B 58 00 00 0E 04 04 00 E8 00 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:23:57]wFMCommunicate OK [02:23:57]SAM_PROTO_GetFieldsCounters done [02:23:57]requested_item shift.num is exist - process it [02:23:57]requested_item shift.opened is exist - process it [02:23:57]req_shift_opened [02:23:57]FM_GetShiftState [02:23:57]SAM_PROTO_GetShiftState [02:23:57]wFMCommunicate request_size=4 [02:23:57]MH_SAM_APDU [02:23:57]CAPDU: 80 13 01 00 [02:23:57]Write to MH i2c: E2 08 00 F3 16 80 13 01 00 00 00 00 00 86 [02:23:57]Write i2c OK [02:23:57]MH_I2C_Read... [02:23:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:23:57]Read from MH i2c: E2 [02:23:57]MH_I2C_Read... [02:23:57]Read from MH i2c: E2 0E 00 [02:23:57]MH_I2C_Read... [02:23:57]Read from MH i2c: E2 0E 00 F3 16 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 46 [02:23:57]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [02:23:57]wFMCommunicate OK [02:23:57]SAM_PROTO_GetShiftState done [02:23:57]FM_GetShiftState done [02:23:57]req_shift_opened done [02:23:57]requested_item shift.open_date is exist - process it [02:23:57]req_shift_open_date [02:23:57]req_shift_open_date done [02:23:57]produce_requested_data done [02:23:57]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22539,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [02:23:57]process_action_free close_receipt [02:23:57]json_value_free [02:23:57]json_value_free done [02:23:57]process_json_proto returns [02:23:57]Send response to host [02:23:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22539,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [02:23:57]free response buf [02:23:57]execute_script done [02:23:57]execute_script returns [02:23:57]free content buf [02:23:57]Sock 7.Close socket [02:23:57]Sock 7.Thread stoped [02:24:00]OFD Sender: No OFD packet to send [02:24:05]OFD Sender: No OFD packet to send [02:24:10]OFD Sender: No OFD packet to send [02:24:15]OFD Sender: No OFD packet to send [02:24:20]OFD Sender: No OFD packet to send [02:24:25]OFD Sender: No OFD packet to send [02:24:30]OFD Sender: No OFD packet to send [02:24:35]OFD Sender: No OFD packet to send [02:24:40]OFD Sender: No OFD packet to send [02:24:45]OFD Sender: No OFD packet to send [02:24:50]OFD Sender: No OFD packet to send [02:24:55]OFD Sender: No OFD packet to send [02:25:00]OFD Sender: No OFD packet to send [02:25:05]OFD Sender: No OFD packet to send [02:25:10]OFD Sender: No OFD packet to send [02:25:15]OFD Sender: No OFD packet to send [02:25:20]OFD Sender: No OFD packet to send [02:25:25]OFD Sender: No OFD packet to send [02:25:30]OFD Sender: No OFD packet to send [02:25:35]OFD Sender: No OFD packet to send [02:25:40]OFD Sender: No OFD packet to send [02:25:45]OFD Sender: No OFD packet to send [02:25:50]OFD Sender: No OFD packet to send [02:25:55]OFD Sender: No OFD packet to send [02:26:00]OFD Sender: No OFD packet to send [02:26:05]OFD Sender: No OFD packet to send [02:26:10]OFD Sender: No OFD packet to send [02:26:15]OFD Sender: No OFD packet to send [02:26:20]OFD Sender: No OFD packet to send [02:26:25]OFD Sender: No OFD packet to send [02:26:30]OFD Sender: No OFD packet to send [02:26:35]OFD Sender: No OFD packet to send [02:26:40]OFD Sender: No OFD packet to send [02:26:45]OFD Sender: No OFD packet to send [02:26:50]OFD Sender: No OFD packet to send [02:26:55]OFD Sender: No OFD packet to send [02:27:00]OFD Sender: No OFD packet to send [02:27:05]OFD Sender: No OFD packet to send [02:27:10]OFD Sender: No OFD packet to send [02:27:15]OFD Sender: No OFD packet to send [02:27:20]OFD Sender: No OFD packet to send [02:27:25]OFD Sender: No OFD packet to send [02:27:30]OFD Sender: No OFD packet to send [02:27:35]OFD Sender: No OFD packet to send [02:27:40]OFD Sender: No OFD packet to send [02:27:45]OFD Sender: No OFD packet to send [02:27:50]OFD Sender: No OFD packet to send [02:27:55]OFD Sender: No OFD packet to send [02:28:00]OFD Sender: No OFD packet to send [02:28:05]OFD Sender: No OFD packet to send [02:28:10]OFD Sender: No OFD packet to send [02:28:15]OFD Sender: No OFD packet to send [02:28:20]OFD Sender: No OFD packet to send [02:28:25]OFD Sender: No OFD packet to send [02:28:30]OFD Sender: No OFD packet to send [02:28:35]OFD Sender: No OFD packet to send [02:28:40]OFD Sender: No OFD packet to send [02:28:45]OFD Sender: No OFD packet to send [02:28:51]OFD Sender: No OFD packet to send [02:28:56]OFD Sender: No OFD packet to send [02:29:01]OFD Sender: No OFD packet to send [02:29:06]OFD Sender: No OFD packet to send [02:29:11]OFD Sender: No OFD packet to send [02:29:16]OFD Sender: No OFD packet to send [02:29:21]OFD Sender: No OFD packet to send [02:29:26]OFD Sender: No OFD packet to send [02:29:31]OFD Sender: No OFD packet to send [02:29:36]OFD Sender: No OFD packet to send [02:29:41]OFD Sender: No OFD packet to send [02:29:46]OFD Sender: No OFD packet to send [02:29:51]OFD Sender: No OFD packet to send [02:29:52]accept exits with 9 [02:29:52]New connection [02:29:52]New thread 3067440484 created [02:29:52]Thread 3067583844 joined [02:29:52]Waiting for new connection... [02:29:52] Sock 9.Parse request [02:29:52]Sock 9.Check first char [02:29:52]Sock 9.First char is OK [02:29:52]request: POST /json_proto HTTP/1.0 [02:29:52]Method: POST [02:29:52]URL: /json_proto [02:29:52]Method is POST - this is cgi request [02:29:52]url: /json_proto [02:29:52]query_string will be loaded in cgi processing [02:29:52]execute_cgi json_proto POST (null) [02:29:52]execute_cgi path=json_proto method=POST [02:29:52]POST find Content-Length [02:29:52]Host: 172.17.43.4:8080 [02:29:52]Content-Length: 1018 [02:29:52]Content-Type: application/json [02:29:52] [02:29:52]POST finish read [02:29:52]Found Content-Length = 1018 [02:29:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51733", "tax_sys" : 0, "items" : [ { "code": "4700003010056", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 1,25\u043B", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "47803152", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Revo", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:29:52]execute_script... [02:29:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51733", "tax_sys" : 0, "items" : [ { "code": "4700003010056", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 1,25\u043B", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "47803152", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Revo", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:29:52]POST & json_proto [02:29:52]process_json_proto [02:29:52]json parsed OK: [02:29:52]protocol is kg_v1.0 [02:29:52]action value=close_receipt [02:29:52]process_action close_receipt [02:29:52]cmd_close_receipt [02:29:52]MH_GetDate [02:29:52]Write to MH i2c: F0 00 00 F4 16 F9 [02:29:52]Write i2c OK [02:29:52]MH_I2C_Read... [02:29:52]Read from MH i2c: F0 [02:29:52]MH_I2C_Read... [02:29:52]Read from MH i2c: F0 09 00 [02:29:52]MH_I2C_Read... [02:29:52]Read from MH i2c: F0 09 00 F4 16 00 23 C7 F4 66 02 BF CF 66 3C [02:29:52]GetLastDocTimeStamp 1727317435 [02:29:52]current date 1727317795 [02:29:52]FM_GetShiftState [02:29:52]SAM_PROTO_GetShiftState [02:29:52]wFMCommunicate request_size=4 [02:29:52]MH_SAM_APDU [02:29:52]CAPDU: 80 13 01 00 [02:29:52]Write to MH i2c: E2 08 00 F5 16 80 13 01 00 00 00 00 00 88 [02:29:52]Write i2c OK [02:29:52]MH_I2C_Read... [02:29:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:29:52]Read from MH i2c: E2 [02:29:52]MH_I2C_Read... [02:29:52]Read from MH i2c: E2 0E 00 [02:29:52]MH_I2C_Read... [02:29:52]Read from MH i2c: E2 0E 00 F5 16 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 48 [02:29:52]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [02:29:52]wFMCommunicate OK [02:29:52]SAM_PROTO_GetShiftState done [02:29:52]FM_GetShiftState done [02:29:52]opened in 1727309492 [02:29:52]opened+sec_in_day 1727395892 [02:29:52]quantity*price = 0 [02:29:52]sum+1 = 1 [02:29:52]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 47803152 Сигареты Mevius Revo 1.000 * 0.00 = 0.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 4 26.09.2024 02:29 Смена: 232 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000959358 ФД: 22540 ФПД: 190701117808922 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T022955&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22540&fm=190701117808922&tin=02508201610067®Number=0000000000146243&sum=0 0 [02:29:53]StoreToDocumentArchive [02:29:53]shift 232 fd 22540 [02:29:53]save to /storage/0232/doc_00022540 [02:29:53]save last doc name /storage/0232/doc_00022540 to /storage/kkm_last_doc_name [02:29:53]save OK [02:29:53]Clear old archive folders... [02:29:53]ProcessDocumentItem done err = 0, tmpTLVsize=388 [02:29:53]tlvbuf is B6E42240 [02:29:53]SAM_PROTO_ClearQueue [02:29:53]wFMCommunicate request_size=4 [02:29:53]MH_SAM_APDU [02:29:53]CAPDU: 80 09 00 00 [02:29:53]Write to MH i2c: E2 08 00 02 17 80 09 00 00 00 00 00 00 8B [02:29:53]Write i2c OK [02:29:53]MH_I2C_Read... [02:29:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:29:53]Read from MH i2c: E2 [02:29:53]MH_I2C_Read... [02:29:53]Read from MH i2c: E2 03 00 [02:29:53]MH_I2C_Read... [02:29:53]Read from MH i2c: E2 03 00 02 17 00 90 00 8D [02:29:53]RAPDU: 90 00 [02:29:53]wFMCommunicate OK [02:29:53]SAM_PROTO_ClearQueue done [02:29:53]KKMCreateOFDPacket [02:29:53]OFDProtocolAddRootSTLVToBuf [02:29:53]FM_MakeSignedData [02:29:53]FM_MakeSignedData [02:29:53]SAM_PROTO_SignData [02:29:53]wFMCommunicate request_size=4 [02:29:53]MH_SAM_APDU [02:29:53]CAPDU: 80 0D 01 02 [02:29:53]Write to MH i2c: E2 08 00 03 17 80 0D 01 02 00 00 00 00 93 [02:29:53]Write i2c OK [02:29:53]MH_I2C_Read... [02:29:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:29:53]Read from MH i2c: E2 [02:29:53]MH_I2C_Read... [02:29:53]Read from MH i2c: E2 03 00 [02:29:53]MH_I2C_Read... [02:29:53]Read from MH i2c: E2 03 00 03 17 00 90 00 8E [02:29:53]RAPDU: 90 00 [02:29:53]wFMCommunicate OK [02:29:53]wFMCommunicate request_size=255 [02:29:53]MH_SAM_APDU [02:29:53]CAPDU: 80 0D 02 02 FA 03 00 84 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 E8 03 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 [02:29:53]Write to MH i2c: E2 02 01 04 17 80 0D 02 02 FA 00 03 00 84 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 E8 03 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 00 00 92 [02:29:53]Write i2c OK [02:29:53]MH_I2C_Read... [02:29:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:29:53]Read from MH i2c: E2 [02:29:53]MH_I2C_Read... [02:29:53]Read from MH i2c: E2 03 00 [02:29:53]MH_I2C_Read... [02:29:53]Read from MH i2c: E2 03 00 04 17 00 90 00 8F [02:29:53]RAPDU: 90 00 [02:29:53]wFMCommunicate OK [02:29:53]wFMCommunicate request_size=147 [02:29:53]MH_SAM_APDU [02:29:53]CAPDU: 80 0D 02 02 8E 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 04 00 00 00 F4 03 04 00 23 C7 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0C 58 00 00 35 04 06 00 AD 71 10 62 A1 1A [02:29:53]Write to MH i2c: E2 96 00 05 17 80 0D 02 02 8E 00 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 04 00 00 00 F4 03 04 00 23 C7 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0C 58 00 00 35 04 06 00 AD 71 10 62 A1 1A 00 00 C0 [02:29:53]Write i2c OK [02:29:53]MH_I2C_Read... [02:29:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:29:54]Read from MH i2c: E2 [02:29:54]MH_I2C_Read... [02:29:54]Read from MH i2c: E2 03 00 [02:29:54]MH_I2C_Read... [02:29:54]Read from MH i2c: E2 03 00 05 17 00 90 00 90 [02:29:54]RAPDU: 90 00 [02:29:54]wFMCommunicate OK [02:29:54]wFMCommunicate request_size=4 [02:29:54]MH_SAM_APDU [02:29:54]CAPDU: 80 0D 03 02 [02:29:54]Write to MH i2c: E2 08 00 06 17 80 0D 03 02 00 00 00 00 98 [02:29:54]Write i2c OK [02:29:54]MH_I2C_Read... [02:29:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:29:54]Read from MH i2c: E2 [02:29:54]MH_I2C_Read... [02:29:54]Read from MH i2c: E2 0B 00 [02:29:54]MH_I2C_Read... [02:29:54]Read from MH i2c: E2 0B 00 06 17 00 AD 14 CB CA 75 79 2D 00 90 00 0A [02:29:54]RAPDU: AD 14 CB CA 75 79 2D 00 90 00 [02:29:54]wFMCommunicate OK [02:29:54]SAM_PROTO_SignData done [02:29:54]FM_MakeSignedData done [02:29:54]CreateOFDProtocolMessage [02:29:54]wFMCommunicate request_size=4 [02:29:54]MH_SAM_APDU [02:29:54]CAPDU: 80 11 00 00 [02:29:54]Write to MH i2c: E2 08 00 07 17 80 11 00 00 00 00 00 00 98 [02:29:54]Write i2c OK [02:29:54]MH_I2C_Read... [02:29:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:29:54]Read from MH i2c: E2 [02:29:54]MH_I2C_Read... [02:29:54]Read from MH i2c: E2 17 00 [02:29:54]MH_I2C_Read... [02:29:54]Read from MH i2c: E2 17 00 07 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 F2 [02:29:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [02:29:54]wFMCommunicate OK [02:29:54]CreateOFDProtocolMessage done [02:29:54]OFDSenderStorePacket 22540 [02:29:54]StoreOFDPacket docnum=22540 [02:29:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 98 01 00 00 84 06 90 01 23 01 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 E8 03 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 04 00 00 00 F4 03 04 00 23 C7 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0C 58 00 00 35 04 06 00 AD 71 10 62 A1 1A AD 14 CB CA 75 79 2D 00 [02:29:54]CheckFolder [02:29:54]dirname=/storage/ofd_packets [02:29:54]CheckFolder done [02:29:54]ProducePacketName [02:29:54]name=ofd_packets/00022540 [02:29:54]NVStorageSaveData ofd_packets/00022540 [02:29:54]File name is /storage/ofd_packets/00022540 [02:29:54]Write 438 bytes [02:29:54]NVStorageSaveData done [02:29:54]OFDSenderStorePacket done [02:29:54]KKMCreateOFDPacket done [02:29:54]NVStorageSaveData kkm_last_timestamp [02:29:54]File name is /storage/kkm_last_timestamp [02:29:54]Write 4 bytes [02:29:54]NVStorageSaveData done [02:29:54]ExternCall_PrintAddStr [02:29:54]wPrintStart [02:29:54]Write to MH i2c: 01 00 00 08 17 1F [02:29:54]Write i2c OK [02:29:54]MH_I2C_Read... [02:29:54]Read from MH i2c: 01 [02:29:54]MH_I2C_Read... [02:29:54]Read from MH i2c: 01 07 00 [02:29:54]MH_I2C_Read... [02:29:54]Read from MH i2c: 01 07 00 08 17 00 00 00 00 00 FF 0F 34 [02:29:54]RasterBufferAndPrint [02:29:54]line Счет N : (3)51733 [02:29:54]line ИНН: 02508201610067 [02:29:54]line Контрольно-Кассовый Чек [02:29:54]line ПРОДАЖА [02:29:54]line Товар: 4700003010056 [02:29:54]line Чай хол Let`s Go! зел лим ПЭТ 1,25л [02:29:54]line 1.000 * 0.00 [02:29:54]line = 0.00 [02:29:54]line НДС 12% НСП 1% [02:29:54]line > о реализуемом товаре [02:29:54]line Товар: 47803152 [02:29:54]line Сигареты Mevius Revo [02:29:54]line 1.000 * 0.00 [02:29:54]line = 0.00 [02:29:54]line НДС 12% НСП 1% [02:29:54]line > о реализуемом товаре [02:29:54]line ИТОГО: 0.00 [02:29:54]line НСП 1% : 0.00 [02:29:54]line НДС 12% : 0.00 [02:29:54]line Наличными: 0.00 [02:29:54]line Безнал.: 0.00 [02:29:54]line Место: АЗС № 88 "Партнер Нефть" [02:29:54]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [02:29:54]line СНО: Общий режим [02:29:54]line Чек 4 26.09.2024 02:29 [02:29:54]line Смена: 232 ФФД: 1.0 [02:29:54]line ЗНМ: 0300000061 [02:29:54]line РНМ: 0000000000146243 [02:29:54]line Версия ККМ: v1.0 [02:29:54]line Платежная система: Mbank [02:29:54]line ФМ: 0000000000959358 [02:29:54]line ФД: 22540 [02:29:54]line ФПД: 190701117808922 [02:29:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T022955&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22540&fm=190701117808922&tin=02508201610067®Number=0000000000146243&sum=0 [02:29:54]line 0 [02:29:54]written 0, free lines is 4095 [02:29:54]OFD Sender: Processing packet 22540 [packets to send 23, broken 22] [02:29:54]ProducePacketName [02:29:54]name=ofd_packets/00022540 [02:29:54]OFD Sender: To server: pG, [02:29:54]CommunicateWithHost lk.salyk.kg:30040 [02:29:54]ConnectInit lk.salyk.kg [02:29:54]Connected sock=10 [02:29:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 98 01 00 00 84 06 90 01 23 01 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 E8 03 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 04 00 00 00 F4 03 04 00 23 C7 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0C 58 00 00 35 04 06 00 AD 71 10 62 A1 1A AD 14 CB CA 75 79 2D 00 [02:29:54]Write to MH i2c: 01 00 00 38 17 4F [02:29:54]Write i2c OK [02:29:54]MH_I2C_Read... [02:29:54]Read from MH i2c: 01 [02:29:54]MH_I2C_Read... [02:29:54]Read from MH i2c: 01 07 00 [02:29:54]MH_I2C_Read... [02:29:54]Read from MH i2c: 01 07 00 38 17 00 00 00 00 00 B8 0C 1A [02:29:54]RasterBufferAndPrint [02:29:54]line [02:29:54]line [02:29:54]line [02:29:54]line [02:29:54]line [02:29:54]written 0, free lines is 3265 [02:29:54]MH_Cut [02:29:54]Write to MH i2c: D1 01 00 3F 17 01 28 [02:29:54]Write i2c OK [02:29:54]MH_I2C_Read... [02:29:54]Read from MH i2c: D1 [02:29:54]MH_I2C_Read... [02:29:54]Read from MH i2c: D1 01 00 [02:29:54]MH_I2C_Read... [02:29:54]Read from MH i2c: D1 01 00 3F 17 00 27 [02:29:54]Write to MH i2c: 01 00 00 40 17 57 [02:29:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 9B 99 47 00 80 B2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0C 58 00 00 F4 03 04 00 44 71 F4 66 B6 04 01 00 00 2F 25 BD 83 0E BA 36 10 [02:29:54]CommunicateWithHost err = 0 [02:29:54]CheckOFDResponse [02:29:54]1017 (14) - 77093643461234 [02:29:54]1041 (16) - 0000000000959358 [02:29:54]1040 (4) - 22540 [02:29:54]1012 (4) - 25.09.2024 20:23 [02:29:54]1206 (1) - 0 [02:29:54]OFD Sender: Remove packet 22540 [02:29:54]ProducePacketName [02:29:54]name=ofd_packets/00022540 [02:29:54]NVStorageDeleteData [02:29:54]Write i2c OK [02:29:54]MH_I2C_Read... [02:29:55]OFD Sender: No OFD packet to send [02:29:55]*** Cut start [02:29:55]*** Partial cut [02:29:55]*** CUTSNS_PIN = 1 [02:29:55]*** CUTSNS_PIN = 0 [02:29:55]*** Brake cut motor [02:29:56]Read from MH i2c: 01 [02:29:56]MH_I2C_Read... [02:29:56]*** Stop cut motor [02:29:56]*** Cut end [02:29:56]Read from MH i2c: 01 07 00 [02:29:56]MH_I2C_Read... [02:29:56]Read from MH i2c: 01 07 00 40 17 00 00 00 00 00 FF 0F 6C [02:29:56]process_action close_receipt done [02:29:56]requested_data is exist [02:29:56]produce_requested_data [02:29:56]requested_item fm.sn is exist - process it [02:29:56]wFMCommunicate request_size=4 [02:29:56]MH_SAM_APDU [02:29:56]CAPDU: 80 11 00 00 [02:29:56]Write to MH i2c: E2 08 00 41 17 80 11 00 00 00 00 00 00 D2 [02:29:56]Write i2c OK [02:29:56]MH_I2C_Read... [02:29:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:29:56]Read from MH i2c: E2 [02:29:56]MH_I2C_Read... [02:29:56]Read from MH i2c: E2 17 00 [02:29:56]MH_I2C_Read... [02:29:56]Read from MH i2c: E2 17 00 41 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 2C [02:29:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [02:29:56]wFMCommunicate OK [02:29:56]requested_item fd.num is exist - process it [02:29:56]SAM_PROTO_GetFieldsCounters [02:29:56]wFMCommunicate request_size=4 [02:29:56]MH_SAM_APDU [02:29:56]CAPDU: 80 13 00 00 [02:29:56]Write to MH i2c: E2 08 00 42 17 80 13 00 00 00 00 00 00 D5 [02:29:56]Write i2c OK [02:29:56]MH_I2C_Read... [02:29:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:29:56]Read from MH i2c: E2 [02:29:56]MH_I2C_Read... [02:29:56]Read from MH i2c: E2 62 00 [02:29:56]MH_I2C_Read... [02:29:56]Read from MH i2c: E2 62 00 42 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 0C 58 00 00 0E 04 04 00 E8 00 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 50 [02:29:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 0C 58 00 00 0E 04 04 00 E8 00 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:29:56]wFMCommunicate OK [02:29:56]SAM_PROTO_GetFieldsCounters done [02:29:56]requested_item shift.num is exist - process it [02:29:56]requested_item shift.opened is exist - process it [02:29:56]req_shift_opened [02:29:56]FM_GetShiftState [02:29:56]SAM_PROTO_GetShiftState [02:29:56]wFMCommunicate request_size=4 [02:29:56]MH_SAM_APDU [02:29:56]CAPDU: 80 13 01 00 [02:29:56]Write to MH i2c: E2 08 00 43 17 80 13 01 00 00 00 00 00 D7 [02:29:56]Write i2c OK [02:29:56]MH_I2C_Read... [02:29:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:29:56]Read from MH i2c: E2 [02:29:56]MH_I2C_Read... [02:29:56]Read from MH i2c: E2 0E 00 [02:29:56]MH_I2C_Read... [02:29:56]Read from MH i2c: E2 0E 00 43 17 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 97 [02:29:56]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [02:29:56]wFMCommunicate OK [02:29:56]SAM_PROTO_GetShiftState done [02:29:56]FM_GetShiftState done [02:29:56]req_shift_opened done [02:29:56]requested_item shift.open_date is exist - process it [02:29:56]req_shift_open_date [02:29:56]req_shift_open_date done [02:29:56]produce_requested_data done [02:29:56]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22540,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [02:29:56]process_action_free close_receipt [02:29:56]json_value_free [02:29:56]json_value_free done [02:29:56]process_json_proto returns [02:29:56]Send response to host [02:29:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22540,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [02:29:56]free response buf [02:29:56]execute_script done [02:29:56]execute_script returns [02:29:56]free content buf [02:29:56]Sock 9.Close socket [02:29:56]Sock 9.Thread stoped [02:30:00]OFD Sender: No OFD packet to send [02:30:05]OFD Sender: No OFD packet to send [02:30:10]OFD Sender: No OFD packet to send [02:30:15]OFD Sender: No OFD packet to send [02:30:20]OFD Sender: No OFD packet to send [02:30:25]OFD Sender: No OFD packet to send [02:30:30]OFD Sender: No OFD packet to send [02:30:35]OFD Sender: No OFD packet to send [02:30:40]OFD Sender: No OFD packet to send [02:30:45]OFD Sender: No OFD packet to send [02:30:50]OFD Sender: No OFD packet to send [02:30:55]OFD Sender: No OFD packet to send [02:31:00]OFD Sender: No OFD packet to send [02:31:05]OFD Sender: No OFD packet to send [02:31:10]OFD Sender: No OFD packet to send [02:31:15]OFD Sender: No OFD packet to send [02:31:20]OFD Sender: No OFD packet to send [02:31:25]OFD Sender: No OFD packet to send [02:31:30]OFD Sender: No OFD packet to send [02:31:35]OFD Sender: No OFD packet to send [02:31:40]OFD Sender: No OFD packet to send [02:31:45]OFD Sender: No OFD packet to send [02:31:50]OFD Sender: No OFD packet to send [02:31:55]OFD Sender: No OFD packet to send [02:32:00]OFD Sender: No OFD packet to send [02:32:05]OFD Sender: No OFD packet to send [02:32:10]OFD Sender: No OFD packet to send [02:32:15]OFD Sender: No OFD packet to send [02:32:20]OFD Sender: No OFD packet to send [02:32:25]OFD Sender: No OFD packet to send [02:32:30]OFD Sender: No OFD packet to send [02:32:35]OFD Sender: No OFD packet to send [02:32:40]OFD Sender: No OFD packet to send [02:32:45]OFD Sender: No OFD packet to send [02:32:50]OFD Sender: No OFD packet to send [02:32:55]OFD Sender: No OFD packet to send [02:33:00]OFD Sender: No OFD packet to send [02:33:05]OFD Sender: No OFD packet to send [02:33:10]OFD Sender: No OFD packet to send [02:33:15]OFD Sender: No OFD packet to send [02:33:20]OFD Sender: No OFD packet to send [02:33:25]OFD Sender: No OFD packet to send [02:33:30]OFD Sender: No OFD packet to send [02:33:35]OFD Sender: No OFD packet to send [02:33:40]OFD Sender: No OFD packet to send [02:33:45]OFD Sender: No OFD packet to send [02:33:50]OFD Sender: No OFD packet to send [02:33:55]OFD Sender: No OFD packet to send [02:34:00]OFD Sender: No OFD packet to send [02:34:00]accept exits with 7 [02:34:00]New connection [02:34:00]New thread 3067583844 created [02:34:00]Thread 3067440484 joined [02:34:00]Waiting for new connection... [02:34:00] Sock 7.Parse request [02:34:00]Sock 7.Check first char [02:34:00]Sock 7.First char is OK [02:34:00]request: POST /json_proto HTTP/1.0 [02:34:00]Method: POST [02:34:00]URL: /json_proto [02:34:00]Method is POST - this is cgi request [02:34:00]url: /json_proto [02:34:00]query_string will be loaded in cgi processing [02:34:00]execute_cgi json_proto POST (null) [02:34:00]execute_cgi path=json_proto method=POST [02:34:00]POST find Content-Length [02:34:00]Host: 172.17.43.4:8080 [02:34:00]Content-Length: 1340 [02:34:00]Content-Type: application/json [02:34:00] [02:34:00]POST finish read [02:34:00]Found Content-Length = 1340 [02:34:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51734", "tax_sys" : 0, "items" : [ { "code": "5449000000286", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 2\u043B", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4011100091108", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u041C\u0430\u0440\u0441 50\u0433", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 0.00, "quantity" : 3.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:34:00]execute_script... [02:34:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51734", "tax_sys" : 0, "items" : [ { "code": "5449000000286", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 2\u043B", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4011100091108", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u041C\u0430\u0440\u0441 50\u0433", "price" : 0.00, "quantity" : 1.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 0.00, "quantity" : 3.000, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 0.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:34:00]POST & json_proto [02:34:00]process_json_proto [02:34:00]json parsed OK: [02:34:00]protocol is kg_v1.0 [02:34:00]action value=close_receipt [02:34:00]process_action close_receipt [02:34:00]cmd_close_receipt [02:34:00]MH_GetDate [02:34:00]Write to MH i2c: F0 00 00 44 17 4A [02:34:00]Write i2c OK [02:34:00]MH_I2C_Read... [02:34:00]Read from MH i2c: F0 [02:34:00]MH_I2C_Read... [02:34:00]Read from MH i2c: F0 09 00 [02:34:00]MH_I2C_Read... [02:34:00]Read from MH i2c: F0 09 00 44 17 00 1B C8 F4 66 02 BF CF 66 86 [02:34:00]GetLastDocTimeStamp 1727317795 [02:34:00]current date 1727318043 [02:34:00]FM_GetShiftState [02:34:00]SAM_PROTO_GetShiftState [02:34:00]wFMCommunicate request_size=4 [02:34:00]MH_SAM_APDU [02:34:00]CAPDU: 80 13 01 00 [02:34:00]Write to MH i2c: E2 08 00 45 17 80 13 01 00 00 00 00 00 D9 [02:34:00]Write i2c OK [02:34:00]MH_I2C_Read... [02:34:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:34:00]Read from MH i2c: E2 [02:34:00]MH_I2C_Read... [02:34:00]Read from MH i2c: E2 0E 00 [02:34:00]MH_I2C_Read... [02:34:00]Read from MH i2c: E2 0E 00 45 17 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 99 [02:34:00]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [02:34:00]wFMCommunicate OK [02:34:00]SAM_PROTO_GetShiftState done [02:34:00]FM_GetShiftState done [02:34:00]opened in 1727309492 [02:34:00]opened+sec_in_day 1727395892 [02:34:00]quantity*price = 0 [02:34:00]sum+1 = 1 [02:34:00]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4011100091108 Шок Батончик Марс 50г 1.000 * 0.00 = 0.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 3.000 * 0.00 = 0.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 5 26.09.2024 02:34 Смена: 232 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 Платежная система: Mbank ФМ: 0000000000959358 ФД: 22541 ФПД: 169872449075909 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T023404&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22541&fm=169872449075909&tin=02508201610067®Number=0000000000146243&sum=0 0 [02:34:01]StoreToDocumentArchive [02:34:01]shift 232 fd 22541 [02:34:01]save to /storage/0232/doc_00022541 [02:34:01]save last doc name /storage/0232/doc_00022541 to /storage/kkm_last_doc_name [02:34:01]save OK [02:34:01]Clear old archive folders... [02:34:01]ProcessDocumentItem done err = 0, tmpTLVsize=504 [02:34:01]tlvbuf is B6F42090 [02:34:01]SAM_PROTO_ClearQueue [02:34:01]wFMCommunicate request_size=4 [02:34:01]MH_SAM_APDU [02:34:01]CAPDU: 80 09 00 00 [02:34:01]Write to MH i2c: E2 08 00 52 17 80 09 00 00 00 00 00 00 DB [02:34:01]Write i2c OK [02:34:01]MH_I2C_Read... [02:34:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:34:01]Read from MH i2c: E2 [02:34:01]MH_I2C_Read... [02:34:01]Read from MH i2c: E2 03 00 [02:34:01]MH_I2C_Read... [02:34:01]Read from MH i2c: E2 03 00 52 17 00 90 00 DD [02:34:01]RAPDU: 90 00 [02:34:01]wFMCommunicate OK [02:34:01]SAM_PROTO_ClearQueue done [02:34:01]KKMCreateOFDPacket [02:34:01]OFDProtocolAddRootSTLVToBuf [02:34:01]FM_MakeSignedData [02:34:01]FM_MakeSignedData [02:34:01]SAM_PROTO_SignData [02:34:01]wFMCommunicate request_size=4 [02:34:01]MH_SAM_APDU [02:34:01]CAPDU: 80 0D 01 02 [02:34:01]Write to MH i2c: E2 08 00 53 17 80 0D 01 02 00 00 00 00 E3 [02:34:01]Write i2c OK [02:34:01]MH_I2C_Read... [02:34:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:34:01]Read from MH i2c: E2 [02:34:01]MH_I2C_Read... [02:34:01]Read from MH i2c: E2 03 00 [02:34:01]MH_I2C_Read... [02:34:01]Read from MH i2c: E2 03 00 53 17 00 90 00 DE [02:34:01]RAPDU: 90 00 [02:34:01]wFMCommunicate OK [02:34:01]wFMCommunicate request_size=255 [02:34:01]MH_SAM_APDU [02:34:01]CAPDU: 80 0D 02 02 FA 03 00 F8 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 32 38 36 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 69 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 31 30 38 06 04 25 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 9C D0 B0 D1 80 D1 81 20 35 30 D0 B3 FF 03 08 00 03 E8 03 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 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D [02:34:02]Write to MH i2c: E2 02 01 54 17 80 0D 02 02 FA 00 03 00 F8 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 32 38 36 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 69 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 31 30 38 06 04 25 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 9C D0 B0 D1 80 D1 81 20 35 30 D0 B3 FF 03 08 00 03 E8 03 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 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 00 8A [02:34:02]Write i2c OK [02:34:02]MH_I2C_Read... [02:34:02]Read from MH i2c: E2 [02:34:02]MH_I2C_Read... [02:34:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:34:02]Read from MH i2c: E2 03 00 [02:34:02]MH_I2C_Read... [02:34:02]Read from MH i2c: E2 03 00 54 17 00 90 00 DF [02:34:02]RAPDU: 90 00 [02:34:02]wFMCommunicate OK [02:34:02]wFMCommunicate request_size=255 [02:34:02]MH_SAM_APDU [02:34:02]CAPDU: 80 0D 02 02 FA 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 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 05 00 00 00 F4 03 04 00 1C C8 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0D 58 00 00 35 04 [02:34:02]Write to MH i2c: E2 02 01 55 17 80 0D 02 02 FA 00 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 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 05 00 00 00 F4 03 04 00 1C C8 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0D 58 00 00 35 04 00 00 43 [02:34:02]Write i2c OK [02:34:02]MH_I2C_Read... [02:34:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:34:02]Read from MH i2c: E2 [02:34:02]MH_I2C_Read... [02:34:02]Read from MH i2c: E2 03 00 [02:34:02]MH_I2C_Read... [02:34:02]Read from MH i2c: E2 03 00 55 17 00 90 00 E0 [02:34:02]RAPDU: 90 00 [02:34:02]wFMCommunicate OK [02:34:02]wFMCommunicate request_size=13 [02:34:02]MH_SAM_APDU [02:34:02]CAPDU: 80 0D 02 02 08 06 00 9A 7F 82 FB FA C5 [02:34:02]Write to MH i2c: E2 10 00 56 17 80 0D 02 02 08 00 06 00 9A 7F 82 FB FA C5 00 00 52 [02:34:02]Write i2c OK [02:34:02]MH_I2C_Read... [02:34:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:34:02]Read from MH i2c: E2 [02:34:02]MH_I2C_Read... [02:34:02]Read from MH i2c: E2 03 00 [02:34:02]MH_I2C_Read... [02:34:02]Read from MH i2c: E2 03 00 56 17 00 90 00 E1 [02:34:02]RAPDU: 90 00 [02:34:02]wFMCommunicate OK [02:34:02]wFMCommunicate request_size=4 [02:34:02]MH_SAM_APDU [02:34:02]CAPDU: 80 0D 03 02 [02:34:02]Write to MH i2c: E2 08 00 57 17 80 0D 03 02 00 00 00 00 E9 [02:34:02]Write i2c OK [02:34:02]MH_I2C_Read... [02:34:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:34:02]Read from MH i2c: E2 [02:34:02]MH_I2C_Read... [02:34:02]Read from MH i2c: E2 0B 00 [02:34:02]MH_I2C_Read... [02:34:02]Read from MH i2c: E2 0B 00 57 17 00 E4 0A 4F 26 74 65 10 92 90 00 C8 [02:34:02]RAPDU: E4 0A 4F 26 74 65 10 92 90 00 [02:34:02]wFMCommunicate OK [02:34:02]SAM_PROTO_SignData done [02:34:02]FM_MakeSignedData done [02:34:02]CreateOFDProtocolMessage [02:34:02]wFMCommunicate request_size=4 [02:34:02]MH_SAM_APDU [02:34:02]CAPDU: 80 11 00 00 [02:34:02]Write to MH i2c: E2 08 00 58 17 80 11 00 00 00 00 00 00 E9 [02:34:02]Write i2c OK [02:34:02]MH_I2C_Read... [02:34:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:34:02]Read from MH i2c: E2 [02:34:02]MH_I2C_Read... [02:34:02]Read from MH i2c: E2 17 00 [02:34:02]MH_I2C_Read... [02:34:02]Read from MH i2c: E2 17 00 58 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 43 [02:34:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [02:34:02]wFMCommunicate OK [02:34:02]CreateOFDProtocolMessage done [02:34:02]OFDSenderStorePacket 22541 [02:34:02]StoreOFDPacket docnum=22541 [02:34:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 02 00 00 D6 FF 04 02 46 F5 5A 03 01 00 03 00 F8 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 32 38 36 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 69 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 31 30 38 06 04 25 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 9C D0 B0 D1 80 D1 81 20 35 30 D0 B3 FF 03 08 00 03 E8 03 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 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 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 05 00 00 00 F4 03 04 00 1C C8 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0D 58 00 00 35 04 06 00 9A 7F 82 FB FA C5 E4 0A 4F 26 74 65 10 92 [02:34:02]CheckFolder [02:34:02]dirname=/storage/ofd_packets [02:34:02]CheckFolder done [02:34:02]ProducePacketName [02:34:02]name=ofd_packets/00022541 [02:34:02]NVStorageSaveData ofd_packets/00022541 [02:34:02]File name is /storage/ofd_packets/00022541 [02:34:02]Write 554 bytes [02:34:02]NVStorageSaveData done [02:34:02]OFDSenderStorePacket done [02:34:02]KKMCreateOFDPacket done [02:34:02]NVStorageSaveData kkm_last_timestamp [02:34:02]File name is /storage/kkm_last_timestamp [02:34:02]Write 4 bytes [02:34:02]NVStorageSaveData done [02:34:02]ExternCall_PrintAddStr [02:34:02]wPrintStart [02:34:02]Write to MH i2c: 01 00 00 59 17 70 [02:34:02]Write i2c OK [02:34:02]MH_I2C_Read... [02:34:02]Read from MH i2c: 01 [02:34:02]MH_I2C_Read... [02:34:02]Read from MH i2c: 01 07 00 [02:34:02]MH_I2C_Read... [02:34:02]Read from MH i2c: 01 07 00 59 17 00 00 00 00 00 FF 0F 85 [02:34:02]RasterBufferAndPrint [02:34:02]line Счет N : (3)51734 [02:34:02]line ИНН: 02508201610067 [02:34:02]line Контрольно-Кассовый Чек [02:34:02]line ПРОДАЖА [02:34:02]line Товар: 5449000000286 [02:34:02]line Напиток Кока-Кола 2л [02:34:02]line 1.000 * 0.00 [02:34:02]line = 0.00 [02:34:02]line НДС 12% НСП 1% [02:34:02]line > о реализуемом товаре [02:34:02]line Товар: 4011100091108 [02:34:02]line Шок Батончик Марс 50г [02:34:02]line 1.000 * 0.00 [02:34:02]line = 0.00 [02:34:02]line НДС 12% НСП 1% [02:34:02]line > о реализуемом товаре [02:34:02]line Товар: 2000053020015 [02:34:02]line Бумажные стаканы 250мл 1шт [02:34:02]line 3.000 * 0.00 [02:34:02]line = 0.00 [02:34:02]line НДС 12% НСП 1% [02:34:02]line > о реализуемом товаре [02:34:02]line ИТОГО: 0.00 [02:34:02]line НСП 1% : 0.00 [02:34:02]line НДС 12% : 0.00 [02:34:02]line Наличными: 0.00 [02:34:02]line Безнал.: 0.00 [02:34:02]line Место: АЗС № 88 "Партнер Нефть" [02:34:02]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [02:34:02]line СНО: Общий режим [02:34:02]line Чек 5 26.09.2024 02:34 [02:34:02]line Смена: 232 ФФД: 1.0 [02:34:02]line ЗНМ: 0300000061 [02:34:02]line РНМ: 0000000000146243 [02:34:02]line Версия ККМ: v1.0 [02:34:02]line Платежная система: Mbank [02:34:02]line ФМ: 0000000000959358 [02:34:02]line ФД: 22541 [02:34:02]line ФПД: 169872449075909 [02:34:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T023404&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22541&fm=169872449075909&tin=02508201610067®Number=0000000000146243&sum=0 [02:34:02]line 0 [02:34:02]written 0, free lines is 4095 [02:34:02]OFD Sender: Processing packet 22541 [packets to send 23, broken 22] [02:34:02]ProducePacketName [02:34:02]name=ofd_packets/00022541 [02:34:02]OFD Sender: To server: pG, [02:34:02]CommunicateWithHost lk.salyk.kg:30040 [02:34:02]ConnectInit lk.salyk.kg [02:34:03]Connected sock=9 [02:34:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0C 02 00 00 D6 FF 04 02 46 F5 5A 03 01 00 03 00 F8 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 32 38 36 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 23 04 69 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 31 30 38 06 04 25 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 9C D0 B0 D1 80 D1 81 20 35 30 D0 B3 FF 03 08 00 03 E8 03 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 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 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 05 00 00 00 F4 03 04 00 1C C8 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0D 58 00 00 35 04 06 00 9A 7F 82 FB FA C5 E4 0A 4F 26 74 65 10 92 [02:34:03]Write to MH i2c: 01 00 00 8F 17 A6 [02:34:03]Write i2c OK [02:34:03]MH_I2C_Read... [02:34:03]Read from MH i2c: 01 [02:34:03]MH_I2C_Read... [02:34:03]Read from MH i2c: 01 07 00 [02:34:03]MH_I2C_Read... [02:34:03]Read from MH i2c: 01 07 00 8F 17 00 00 00 00 00 67 0C 20 [02:34:03]RasterBufferAndPrint [02:34:03]line [02:34:03]line [02:34:03]line [02:34:03]line [02:34:03]line [02:34:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 91 ED 47 00 C9 81 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0D 58 00 00 F4 03 04 00 3C 72 F4 66 B6 04 01 00 00 4C 83 ED 0C 35 A9 87 9C [02:34:03]CommunicateWithHost err = 0 [02:34:03]CheckOFDResponse [02:34:03]1017 (14) - 77093643461234 [02:34:03]1041 (16) - 0000000000959358 [02:34:03]1040 (4) - 22541 [02:34:03]1012 (4) - 25.09.2024 20:27 [02:34:03]1206 (1) - 0 [02:34:03]OFD Sender: Remove packet 22541 [02:34:03]ProducePacketName [02:34:03]name=ofd_packets/00022541 [02:34:03]NVStorageDeleteData [02:34:03]written 0, free lines is 3199 [02:34:03]MH_Cut [02:34:03]Write to MH i2c: D1 01 00 96 17 01 7F [02:34:03]Write i2c OK [02:34:03]MH_I2C_Read... [02:34:03]Read from MH i2c: D1 [02:34:03]MH_I2C_Read... [02:34:03]Read from MH i2c: D1 01 00 [02:34:03]MH_I2C_Read... [02:34:03]Read from MH i2c: D1 01 00 96 17 00 7E [02:34:03]Write to MH i2c: 01 00 00 97 17 AE [02:34:03]Write i2c OK [02:34:03]MH_I2C_Read... [02:34:03]OFD Sender: No OFD packet to send [02:34:04]*** Cut start [02:34:04]*** Partial cut [02:34:04]*** CUTSNS_PIN = 1 [02:34:04]*** CUTSNS_PIN = 0 [02:34:04]*** Brake cut motor [02:34:04]Read from MH i2c: 01 [02:34:04]MH_I2C_Read... [02:34:04]*** Stop cut motor [02:34:04]*** Cut end [02:34:04]Read from MH i2c: 01 07 00 [02:34:04]MH_I2C_Read... [02:34:04]Read from MH i2c: 01 07 00 97 17 00 00 00 00 00 FF 0F C3 [02:34:04]process_action close_receipt done [02:34:04]requested_data is exist [02:34:04]produce_requested_data [02:34:04]requested_item fm.sn is exist - process it [02:34:04]wFMCommunicate request_size=4 [02:34:04]MH_SAM_APDU [02:34:04]CAPDU: 80 11 00 00 [02:34:04]Write to MH i2c: E2 08 00 98 17 80 11 00 00 00 00 00 00 29 [02:34:04]Write i2c OK [02:34:04]MH_I2C_Read... [02:34:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:34:04]Read from MH i2c: E2 [02:34:04]MH_I2C_Read... [02:34:04]Read from MH i2c: E2 17 00 [02:34:04]MH_I2C_Read... [02:34:04]Read from MH i2c: E2 17 00 98 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 83 [02:34:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [02:34:04]wFMCommunicate OK [02:34:04]requested_item fd.num is exist - process it [02:34:04]SAM_PROTO_GetFieldsCounters [02:34:04]wFMCommunicate request_size=4 [02:34:04]MH_SAM_APDU [02:34:04]CAPDU: 80 13 00 00 [02:34:04]Write to MH i2c: E2 08 00 99 17 80 13 00 00 00 00 00 00 2C [02:34:04]Write i2c OK [02:34:04]MH_I2C_Read... [02:34:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:34:05]Read from MH i2c: E2 [02:34:05]MH_I2C_Read... [02:34:05]Read from MH i2c: E2 62 00 [02:34:05]MH_I2C_Read... [02:34:05]Read from MH i2c: E2 62 00 99 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 0D 58 00 00 0E 04 04 00 E8 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 AB [02:34:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 0D 58 00 00 0E 04 04 00 E8 00 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:34:05]wFMCommunicate OK [02:34:05]SAM_PROTO_GetFieldsCounters done [02:34:05]requested_item shift.num is exist - process it [02:34:05]requested_item shift.opened is exist - process it [02:34:05]req_shift_opened [02:34:05]FM_GetShiftState [02:34:05]SAM_PROTO_GetShiftState [02:34:05]wFMCommunicate request_size=4 [02:34:05]MH_SAM_APDU [02:34:05]CAPDU: 80 13 01 00 [02:34:05]Write to MH i2c: E2 08 00 9A 17 80 13 01 00 00 00 00 00 2E [02:34:05]Write i2c OK [02:34:05]MH_I2C_Read... [02:34:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:34:05]Read from MH i2c: E2 [02:34:05]MH_I2C_Read... [02:34:05]Read from MH i2c: E2 0E 00 [02:34:05]MH_I2C_Read... [02:34:05]Read from MH i2c: E2 0E 00 9A 17 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 EE [02:34:05]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [02:34:05]wFMCommunicate OK [02:34:05]SAM_PROTO_GetShiftState done [02:34:05]FM_GetShiftState done [02:34:05]req_shift_opened done [02:34:05]requested_item shift.open_date is exist - process it [02:34:05]req_shift_open_date [02:34:05]req_shift_open_date done [02:34:05]produce_requested_data done [02:34:05]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22541,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [02:34:05]process_action_free close_receipt [02:34:05]json_value_free [02:34:05]json_value_free done [02:34:05]process_json_proto returns [02:34:05]Send response to host [02:34:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22541,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [02:34:05]free response buf [02:34:05]execute_script done [02:34:05]execute_script returns [02:34:05]free content buf [02:34:05]Sock 7.Close socket [02:34:05]Sock 7.Thread stoped [02:34:09]OFD Sender: No OFD packet to send [02:34:14]OFD Sender: No OFD packet to send [02:34:19]OFD Sender: No OFD packet to send [02:34:24]OFD Sender: No OFD packet to send [02:34:29]OFD Sender: No OFD packet to send [02:34:34]OFD Sender: No OFD packet to send [02:34:39]OFD Sender: No OFD packet to send [02:34:44]OFD Sender: No OFD packet to send [02:34:49]OFD Sender: No OFD packet to send [02:34:54]OFD Sender: No OFD packet to send [02:34:54]accept exits with 10 [02:34:54]New connection [02:34:54]New thread 3067440484 created [02:34:54]Thread 3067583844 joined [02:34:54]Waiting for new connection... [02:34:54] Sock 10.Parse request [02:34:54]Sock 10.Check first char [02:34:54]Sock 10.First char is OK [02:34:54]request: POST /json_proto HTTP/1.0 [02:34:54]Method: POST [02:34:54]URL: /json_proto [02:34:54]Method is POST - this is cgi request [02:34:54]url: /json_proto [02:34:54]query_string will be loaded in cgi processing [02:34:54]execute_cgi json_proto POST (null) [02:34:54]execute_cgi path=json_proto method=POST [02:34:54]POST find Content-Length [02:34:54]Host: 172.17.43.4:8080 [02:34:54]Content-Length: 1215 [02:34:54]Content-Type: application/json [02:34:54] [02:34:54]POST finish read [02:34:54]Found Content-Length = 1215 [02:34:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51735", "tax_sys" : 0, "items" : [ { "code": "4700001060152", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0411\u0438\u0448\u043A\u0435\u043A 0,5\u043B", "price" : 647.00, "quantity" : 1.000, "sum" : 647.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5000159390729", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 \u042D\u043A\u0441\u0442\u0440\u0430 82\u0433", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 795.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:34:54]execute_script... [02:34:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)51735", "tax_sys" : 0, "items" : [ { "code": "4700001060152", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0411\u0438\u0448\u043A\u0435\u043A 0,5\u043B", "price" : 647.00, "quantity" : 1.000, "sum" : 647.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5000159390729", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 \u042D\u043A\u0441\u0442\u0440\u0430 82\u0433", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 795.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:34:54]POST & json_proto [02:34:54]process_json_proto [02:34:54]json parsed OK: [02:34:54]protocol is kg_v1.0 [02:34:54]action value=close_receipt [02:34:54]process_action close_receipt [02:34:54]cmd_close_receipt [02:34:54]MH_GetDate [02:34:54]Write to MH i2c: F0 00 00 9B 17 A1 [02:34:54]Write i2c OK [02:34:54]MH_I2C_Read... [02:34:54]Read from MH i2c: F0 [02:34:54]MH_I2C_Read... [02:34:54]Read from MH i2c: F0 09 00 [02:34:54]MH_I2C_Read... [02:34:54]Read from MH i2c: F0 09 00 9B 17 00 51 C8 F4 66 02 BF CF 66 13 [02:34:54]GetLastDocTimeStamp 1727318044 [02:34:54]current date 1727318097 [02:34:54]FM_GetShiftState [02:34:54]SAM_PROTO_GetShiftState [02:34:54]wFMCommunicate request_size=4 [02:34:54]MH_SAM_APDU [02:34:54]CAPDU: 80 13 01 00 [02:34:54]Write to MH i2c: E2 08 00 9C 17 80 13 01 00 00 00 00 00 30 [02:34:54]Write i2c OK [02:34:54]MH_I2C_Read... [02:34:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:34:54]Read from MH i2c: E2 [02:34:54]MH_I2C_Read... [02:34:54]Read from MH i2c: E2 0E 00 [02:34:54]MH_I2C_Read... [02:34:54]Read from MH i2c: E2 0E 00 9C 17 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 F0 [02:34:54]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [02:34:54]wFMCommunicate OK [02:34:54]SAM_PROTO_GetShiftState done [02:34:54]FM_GetShiftState done [02:34:54]opened in 1727309492 [02:34:54]opened+sec_in_day 1727395892 [02:34:54]quantity*price = 64700 [02:34:54]sum+1 = 64701 [02:34:54]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607065001445 Шок батончик Snickers 50,5г 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5000159390729 Шок Батончик Твикс Экстра 82г 1.000 * 89.00 = 89.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 795.00 НСП 1% : 7.04 НДС 12% : 84.42 Наличными: 795.00 Безнал.: 0.00 Место: АЗС № 88 "Партнер Нефть" Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 СНО: Общий режим Чек 6 26.09.2024 02:34 Смена: 232 ФФД: 1.0 ЗНМ: 0300000061 РНМ: 0000000000146243 Версия ККМ: v1.0 ФМ: 0000000000959358 ФД: 22542 ФПД: 129377607340418 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T023457&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22542&fm=129377607340418&tin=02508201610067®Number=0000000000146243&sum=79500 0 [02:34:55]StoreToDocumentArchive [02:34:55]shift 232 fd 22542 [02:34:55]save to /storage/0232/doc_00022542 [02:34:55]save last doc name /storage/0232/doc_00022542 to /storage/kkm_last_doc_name [02:34:55]save OK [02:34:55]Clear old archive folders... [02:34:55]ProcessDocumentItem done err = 0, tmpTLVsize=508 [02:34:55]tlvbuf is B6FF2230 [02:34:55]SAM_PROTO_ClearQueue [02:34:55]wFMCommunicate request_size=4 [02:34:55]MH_SAM_APDU [02:34:55]CAPDU: 80 09 00 00 [02:34:55]Write to MH i2c: E2 08 00 A9 17 80 09 00 00 00 00 00 00 32 [02:34:55]Write i2c OK [02:34:55]MH_I2C_Read... [02:34:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:34:55]Read from MH i2c: E2 [02:34:55]MH_I2C_Read... [02:34:55]Read from MH i2c: E2 03 00 [02:34:55]MH_I2C_Read... [02:34:55]Read from MH i2c: E2 03 00 A9 17 00 90 00 34 [02:34:55]RAPDU: 90 00 [02:34:55]wFMCommunicate OK [02:34:55]SAM_PROTO_ClearQueue done [02:34:55]KKMCreateOFDPacket [02:34:55]OFDProtocolAddRootSTLVToBuf [02:34:55]FM_MakeSignedData [02:34:55]FM_MakeSignedData [02:34:55]SAM_PROTO_SignData [02:34:55]wFMCommunicate request_size=4 [02:34:55]MH_SAM_APDU [02:34:55]CAPDU: 80 0D 01 02 [02:34:55]Write to MH i2c: E2 08 00 AA 17 80 0D 01 02 00 00 00 00 3A [02:34:55]Write i2c OK [02:34:55]MH_I2C_Read... [02:34:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:34:55]Read from MH i2c: E2 [02:34:55]MH_I2C_Read... [02:34:55]Read from MH i2c: E2 03 00 [02:34:55]MH_I2C_Read... [02:34:55]Read from MH i2c: E2 03 00 AA 17 00 90 00 35 [02:34:55]RAPDU: 90 00 [02:34:55]wFMCommunicate OK [02:34:55]wFMCommunicate request_size=255 [02:34:55]MH_SAM_APDU [02:34:55]CAPDU: 80 0D 02 02 FA 03 00 FC 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 35 32 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC FC 00 00 00 00 13 04 06 00 BC FC 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 00 D0 A8 [02:34:56]Write to MH i2c: E2 02 01 AB 17 80 0D 02 02 FA 00 03 00 FC 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 35 32 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC FC 00 00 00 00 13 04 06 00 BC FC 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 00 D0 A8 00 00 D8 [02:34:56]Write i2c OK [02:34:56]MH_I2C_Read... [02:34:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:34:56]Read from MH i2c: E2 [02:34:56]MH_I2C_Read... [02:34:56]Read from MH i2c: E2 03 00 [02:34:56]MH_I2C_Read... [02:34:56]Read from MH i2c: E2 03 00 AB 17 00 90 00 36 [02:34:56]RAPDU: 90 00 [02:34:56]wFMCommunicate OK [02:34:56]wFMCommunicate request_size=255 [02:34:56]MH_SAM_APDU [02:34:56]CAPDU: 80 0D 02 02 FA D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 36 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C0 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 20 00 00 00 00 07 04 06 00 8C 36 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 51 C8 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0E 58 [02:34:56]Write to MH i2c: E2 02 01 AC 17 80 0D 02 02 FA 00 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 36 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C0 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 20 00 00 00 00 07 04 06 00 8C 36 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 51 C8 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0E 58 00 00 49 [02:34:56]Write i2c OK [02:34:56]MH_I2C_Read... [02:34:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:34:56]Read from MH i2c: E2 [02:34:56]MH_I2C_Read... [02:34:56]Read from MH i2c: E2 03 00 [02:34:56]MH_I2C_Read... [02:34:56]Read from MH i2c: E2 03 00 AC 17 00 90 00 37 [02:34:56]RAPDU: 90 00 [02:34:56]wFMCommunicate OK [02:34:56]wFMCommunicate request_size=17 [02:34:56]MH_SAM_APDU [02:34:56]CAPDU: 80 0D 02 02 0C 00 00 35 04 06 00 75 AB 12 53 D1 82 [02:34:56]Write to MH i2c: E2 14 00 AD 17 80 0D 02 02 0C 00 00 00 35 04 06 00 75 AB 12 53 D1 82 00 00 6D [02:34:56]Write i2c OK [02:34:56]MH_I2C_Read... [02:34:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:34:56]Read from MH i2c: E2 [02:34:56]MH_I2C_Read... [02:34:56]Read from MH i2c: E2 03 00 [02:34:56]MH_I2C_Read... [02:34:56]Read from MH i2c: E2 03 00 AD 17 00 90 00 38 [02:34:56]RAPDU: 90 00 [02:34:56]wFMCommunicate OK [02:34:56]wFMCommunicate request_size=4 [02:34:56]MH_SAM_APDU [02:34:56]CAPDU: 80 0D 03 02 [02:34:56]Write to MH i2c: E2 08 00 AE 17 80 0D 03 02 00 00 00 00 40 [02:34:56]Write i2c OK [02:34:56]MH_I2C_Read... [02:34:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:34:56]Read from MH i2c: E2 [02:34:56]MH_I2C_Read... [02:34:56]Read from MH i2c: E2 0B 00 [02:34:56]MH_I2C_Read... [02:34:56]Read from MH i2c: E2 0B 00 AE 17 00 3F 44 00 F4 13 96 5D 78 90 00 36 [02:34:56]RAPDU: 3F 44 00 F4 13 96 5D 78 90 00 [02:34:56]wFMCommunicate OK [02:34:56]SAM_PROTO_SignData done [02:34:56]FM_MakeSignedData done [02:34:56]CreateOFDProtocolMessage [02:34:56]wFMCommunicate request_size=4 [02:34:56]MH_SAM_APDU [02:34:56]CAPDU: 80 11 00 00 [02:34:56]Write to MH i2c: E2 08 00 AF 17 80 11 00 00 00 00 00 00 40 [02:34:56]Write i2c OK [02:34:56]MH_I2C_Read... [02:34:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:34:56]Read from MH i2c: E2 [02:34:56]MH_I2C_Read... [02:34:56]Read from MH i2c: E2 17 00 [02:34:56]MH_I2C_Read... [02:34:56]Read from MH i2c: E2 17 00 AF 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 9A [02:34:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [02:34:56]wFMCommunicate OK [02:34:56]CreateOFDProtocolMessage done [02:34:56]OFDSenderStorePacket 22542 [02:34:56]StoreOFDPacket docnum=22542 [02:34:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 02 00 00 51 D6 08 02 B4 8E 5A 03 01 00 03 00 FC 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 35 32 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC FC 00 00 00 00 13 04 06 00 BC FC 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 36 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C0 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 20 00 00 00 00 07 04 06 00 8C 36 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 51 C8 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0E 58 00 00 35 04 06 00 75 AB 12 53 D1 82 3F 44 00 F4 13 96 5D 78 [02:34:56]CheckFolder [02:34:56]dirname=/storage/ofd_packets [02:34:56]CheckFolder done [02:34:56]ProducePacketName [02:34:56]name=ofd_packets/00022542 [02:34:56]NVStorageSaveData ofd_packets/00022542 [02:34:56]File name is /storage/ofd_packets/00022542 [02:34:56]Write 558 bytes [02:34:56]NVStorageSaveData done [02:34:56]OFDSenderStorePacket done [02:34:56]KKMCreateOFDPacket done [02:34:56]NVStorageSaveData kkm_last_timestamp [02:34:56]File name is /storage/kkm_last_timestamp [02:34:56]Write 4 bytes [02:34:56]NVStorageSaveData done [02:34:56]ExternCall_PrintAddStr [02:34:56]wPrintStart [02:34:56]Write to MH i2c: 01 00 00 B0 17 C7 [02:34:56]Write i2c OK [02:34:56]MH_I2C_Read... [02:34:56]Read from MH i2c: 01 [02:34:56]MH_I2C_Read... [02:34:56]Read from MH i2c: 01 07 00 [02:34:56]MH_I2C_Read... [02:34:56]Read from MH i2c: 01 07 00 B0 17 00 00 00 00 00 FF 0F DC [02:34:56]RasterBufferAndPrint [02:34:56]line Счет N : (3)51735 [02:34:56]line ИНН: 02508201610067 [02:34:56]line Контрольно-Кассовый Чек [02:34:56]line ПРОДАЖА [02:34:56]line Товар: 4700001060152 [02:34:56]line Коньяк Бишкек 0,5л [02:34:56]line 1.000 * 647.00 [02:34:56]line = 647.00 [02:34:56]line НДС 12% НСП 1% [02:34:56]line > о реализуемом товаре [02:34:56]line Товар: 4607065001445 [02:34:56]line Шок батончик Snickers 50,5г [02:34:56]line 1.000 * 59.00 [02:34:56]line = 59.00 [02:34:56]line НДС 12% НСП 1% [02:34:56]line > о реализуемом товаре [02:34:56]line Товар: 5000159390729 [02:34:56]line Шок Батончик Твикс Экстра 82г [02:34:56]line 1.000 * 89.00 [02:34:56]line = 89.00 [02:34:56]line НДС 12% НСП 1% [02:34:56]line > о реализуемом товаре [02:34:56]line ИТОГО: 795.00 [02:34:56]line НСП 1% : 7.04 [02:34:56]line НДС 12% : 84.42 [02:34:56]line Наличными: 795.00 [02:34:56]line Безнал.: 0.00 [02:34:56]line Место: АЗС № 88 "Партнер Нефть" [02:34:56]line Адрес: 720001, с. Кашкар-Кыштак, Кара-Сууйский район 40.648511,72.845547 [02:34:56]line СНО: Общий режим [02:34:56]line Чек 6 26.09.2024 02:34 [02:34:56]line Смена: 232 ФФД: 1.0 [02:34:56]line ЗНМ: 0300000061 [02:34:56]line РНМ: 0000000000146243 [02:34:56]line Версия ККМ: v1.0 [02:34:56]line ФМ: 0000000000959358 [02:34:56]line ФД: 22542 [02:34:56]line ФПД: 129377607340418 [02:34:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240926T023457&type=1&operation_type=1&fn_number=0000000000959358&fd_number=22542&fm=129377607340418&tin=02508201610067®Number=0000000000146243&sum=79500 [02:34:57]line 0 [02:34:57]OFD Sender: Processing packet 22542 [packets to send 23, broken 22] [02:34:57]ProducePacketName [02:34:57]name=ofd_packets/00022542 [02:34:57]OFD Sender: To server: pG, [02:34:57]CommunicateWithHost lk.salyk.kg:30040 [02:34:57]ConnectInit lk.salyk.kg [02:34:57]written 0, free lines is 4095 [02:34:57]Connected sock=9 [02:34:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 02 00 00 51 D6 08 02 B4 8E 5A 03 01 00 03 00 FC 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 35 32 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC FC 00 00 00 00 13 04 06 00 BC FC 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 36 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C0 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 20 00 00 00 00 07 04 06 00 8C 36 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 51 C8 F4 66 0E 04 04 00 E8 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0E 58 00 00 35 04 06 00 75 AB 12 53 D1 82 3F 44 00 F4 13 96 5D 78 [02:34:57]Write to MH i2c: 01 00 00 E5 17 FC [02:34:57]Write i2c OK [02:34:57]MH_I2C_Read... [02:34:57]Read from MH i2c: 01 [02:34:57]MH_I2C_Read... [02:34:57]Read from MH i2c: 01 07 00 [02:34:57]MH_I2C_Read... [02:34:57]Read from MH i2c: 01 07 00 E5 17 00 00 00 00 00 78 0C 87 [02:34:57]RasterBufferAndPrint [02:34:57]line [02:34:57]line [02:34:57]line [02:34:57]line [02:34:57]line [02:34:57]written 0, free lines is 3202 [02:34:57]MH_Cut [02:34:57]Write to MH i2c: D1 01 00 EC 17 01 D5 [02:34:57]Write i2c OK [02:34:57]MH_I2C_Read... [02:34:57]Read from MH i2c: D1 [02:34:57]MH_I2C_Read... [02:34:57]Read from MH i2c: D1 01 00 [02:34:57]MH_I2C_Read... [02:34:57]Read from MH i2c: D1 01 00 EC 17 00 D4 [02:34:57]Write to MH i2c: 01 00 00 ED 17 04 [02:34:57]Write i2c OK [02:34:57]MH_I2C_Read... [02:34:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 4F 00 00 00 E2 E5 47 00 35 54 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 10 04 04 00 0E 58 00 00 F4 03 04 00 73 72 F4 66 B6 04 01 00 00 CA 57 74 44 A5 85 99 4E [02:34:57]CommunicateWithHost err = 0 [02:34:57]CheckOFDResponse [02:34:57]1017 (14) - 77093643461234 [02:34:57]1041 (16) - 0000000000959358 [02:34:57]1040 (4) - 22542 [02:34:57]1012 (4) - 25.09.2024 20:28 [02:34:57]1206 (1) - 0 [02:34:57]OFD Sender: Remove packet 22542 [02:34:57]ProducePacketName [02:34:57]name=ofd_packets/00022542 [02:34:57]NVStorageDeleteData [02:34:58]OFD Sender: No OFD packet to send [02:34:58]*** Cut start [02:34:58]*** Partial cut [02:34:58]*** CUTSNS_PIN = 1 [02:34:58]*** CUTSNS_PIN = 0 [02:34:58]*** Brake cut motor [02:34:59]Read from MH i2c: 01 [02:34:59]MH_I2C_Read... [02:34:59]*** Stop cut motor [02:34:59]*** Cut end [02:34:59]Read from MH i2c: 01 07 00 [02:34:59]MH_I2C_Read... [02:34:59]Read from MH i2c: 01 07 00 ED 17 00 00 00 00 00 FF 0F 19 [02:34:59]process_action close_receipt done [02:34:59]requested_data is exist [02:34:59]produce_requested_data [02:34:59]requested_item fm.sn is exist - process it [02:34:59]wFMCommunicate request_size=4 [02:34:59]MH_SAM_APDU [02:34:59]CAPDU: 80 11 00 00 [02:34:59]Write to MH i2c: E2 08 00 EE 17 80 11 00 00 00 00 00 00 7F [02:34:59]Write i2c OK [02:34:59]MH_I2C_Read... [02:34:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:34:59]Read from MH i2c: E2 [02:34:59]MH_I2C_Read... [02:34:59]Read from MH i2c: E2 17 00 [02:34:59]MH_I2C_Read... [02:34:59]Read from MH i2c: E2 17 00 EE 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 D9 [02:34:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 90 00 [02:34:59]wFMCommunicate OK [02:34:59]requested_item fd.num is exist - process it [02:34:59]SAM_PROTO_GetFieldsCounters [02:34:59]wFMCommunicate request_size=4 [02:34:59]MH_SAM_APDU [02:34:59]CAPDU: 80 13 00 00 [02:34:59]Write to MH i2c: E2 08 00 EF 17 80 13 00 00 00 00 00 00 82 [02:34:59]Write i2c OK [02:34:59]MH_I2C_Read... [02:34:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:34:59]Read from MH i2c: E2 [02:34:59]MH_I2C_Read... [02:34:59]Read from MH i2c: E2 62 00 [02:34:59]MH_I2C_Read... [02:34:59]Read from MH i2c: E2 62 00 EF 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 0E 58 00 00 0E 04 04 00 E8 00 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 05 [02:34:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 33 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 34 33 10 04 04 00 0E 58 00 00 0E 04 04 00 E8 00 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:34:59]wFMCommunicate OK [02:34:59]SAM_PROTO_GetFieldsCounters done [02:34:59]requested_item shift.num is exist - process it [02:34:59]requested_item shift.opened is exist - process it [02:34:59]req_shift_opened [02:34:59]FM_GetShiftState [02:34:59]SAM_PROTO_GetShiftState [02:34:59]wFMCommunicate request_size=4 [02:34:59]MH_SAM_APDU [02:34:59]CAPDU: 80 13 01 00 [02:34:59]Write to MH i2c: E2 08 00 F0 17 80 13 01 00 00 00 00 00 84 [02:34:59]Write i2c OK [02:34:59]MH_I2C_Read... [02:34:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:34:59]Read from MH i2c: E2 [02:34:59]MH_I2C_Read... [02:34:59]Read from MH i2c: E2 0E 00 [02:34:59]MH_I2C_Read... [02:34:59]Read from MH i2c: E2 0E 00 F0 17 00 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 44 [02:34:59]RAPDU: 09 00 01 B4 A6 F4 66 00 00 00 00 90 00 [02:34:59]wFMCommunicate OK [02:34:59]SAM_PROTO_GetShiftState done [02:34:59]FM_GetShiftState done [02:34:59]req_shift_opened done [02:34:59]requested_item shift.open_date is exist - process it [02:34:59]req_shift_open_date [02:34:59]req_shift_open_date done [02:34:59]produce_requested_data done [02:34:59]produce_requested_data return {"fm.sn":"0000000000959358","fd.num":22542,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492} [02:34:59]process_action_free close_receipt [02:34:59]json_value_free [02:34:59]json_value_free done [02:34:59]process_json_proto returns [02:34:59]Send response to host [02:34:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959358","fd.num":22542,"shift.num":232,"shift.opened":1,"shift.open_date":1727309492}}} [02:34:59]free response buf [02:34:59]execute_script done [02:34:59]execute_script returns [02:34:59]free content buf [02:34:59]Sock 10.Close socket [02:34:59]Sock 10.Thread stoped [02:35:03]OFD Sender: No OFD packet to send [02:35:08]OFD Sender: No OFD packet to send [02:35:13]OFD Sender: No OFD packet to send [02:35:18]OFD Sender: No OFD packet to send [02:35:23]OFD Sender: No OFD packet to send [02:35:28]OFD Sender: No OFD packet to send [02:35:33]OFD Sender: No OFD packet to send [02:35:38]OFD Sender: No OFD packet to send [02:35:43]OFD Sender: No OFD packet to send [02:35:48]OFD Sender: No OFD packet to send [02:35:53]OFD Sender: No OFD packet to send [02:35:58]OFD Sender: No OFD packet to send [02:36:03]OFD Sender: No OFD packet to send [02:36:08]OFD Sender: No OFD packet to send [02:36:13]OFD Sender: No OFD packet to send [02:36:18]OFD Sender: No OFD packet to send [02:36:23]OFD Sender: No OFD packet to send [02:36:28]OFD Sender: No OFD packet to send [02:36:33]OFD Sender: No OFD packet to send [02:36:38]OFD Sender: No OFD packet to send [02:36:43]OFD Sender: No OFD packet to send [02:36:48]OFD Sender: No OFD packet to send [02:36:53]OFD Sender: No OFD packet to send [02:36:58]OFD Sender: No OFD packet to send [02:37:03]OFD Sender: No OFD packet to send [02:37:08]OFD Sender: No OFD packet to send [02:37:13]OFD Sender: No OFD packet to send [02:37:18]OFD Sender: No OFD packet to send [02:37:23]OFD Sender: No OFD packet to send [02:37:28]OFD Sender: No OFD packet to send [02:37:33]OFD Sender: No OFD packet to send [02:37:38]OFD Sender: No OFD packet to send [02:37:43]OFD Sender: No OFD packet to send [02:37:48]OFD Sender: No OFD packet to send [02:37:53]OFD Sender: No OFD packet to send [02:37:58]OFD Sender: No OFD packet to send [02:38:03]OFD Sender: No OFD packet to send [02:38:08]OFD Sender: No OFD packet to send [02:38:13]OFD Sender: No OFD packet to send [02:38:18]OFD Sender: No OFD packet to send [02:38:23]OFD Sender: No OFD packet to send [02:38:28]OFD Sender: No OFD packet to send [02:38:33]OFD Sender: No OFD packet to send [02:38:38]OFD Sender: No OFD packet to send [02:38:43]OFD Sender: No OFD packet to send [02:38:48]OFD Sender: No OFD packet to send [02:38:53]OFD Sender: No OFD packet to send [02:38:58]OFD Sender: No OFD packet to send [02:39:03]OFD Sender: No OFD packet to send [02:39:08]OFD Sender: No OFD packet to send [02:39:13]OFD Sender: No OFD packet to send [02:39:18]OFD Sender: No OFD packet to send [02:39:23]OFD Sender: No OFD packet to send [02:39:28]OFD Sender: No OFD packet to send [02:39:33]OFD Sender: No OFD packet to send [02:39:38]OFD Sender: No OFD packet to send [02:39:43]OFD Sender: No OFD packet to send [02:39:48]OFD Sender: No OFD packet to send [02:39:53]OFD Sender: No OFD packet to send [02:39:58]OFD Sender: No OFD packet to send [02:40:03]OFD Sender: No OFD packet to send [02:40:08]OFD Sender: No OFD packet to send [02:40:13]OFD Sender: No OFD packet to send [02:40:18]OFD Sender: No OFD packet to send [02:40:23]OFD Sender: No OFD packet to send [02:40:28]OFD Sender: No OFD packet to send [02:40:33]OFD Sender: No OFD packet to send [02:40:38]OFD Sender: No OFD packet to send [02:40:43]OFD Sender: No OFD packet to send [02:40:48]OFD Sender: No OFD packet to send [02:40:53]OFD Sender: No OFD packet to send [02:40:58]OFD Sender: No OFD packet to send [02:41:03]OFD Sender: No OFD packet to send [02:41:08]OFD Sender: No OFD packet to send [02:41:13]OFD Sender: No OFD packet to send [02:41:18]OFD Sender: No OFD packet to send [02:41:23]OFD Sender: No OFD packet to send [02:41:28]OFD Sender: No OFD packet to send [02:41:33]OFD Sender: No OFD packet to send [02:41:38]OFD Sender: No OFD packet to send [02:41:43]OFD Sender: No OFD packet to send [02:41:48]OFD Sender: No OFD packet to send [02:41:53]OFD Sender: No OFD packet to send [02:41:58]OFD Sender: No OFD packet to send [02:42:03]OFD Sender: No OFD packet to send [02:42:08]OFD Sender: No OFD packet to send [02:42:13]OFD Sender: No OFD packet to send [02:42:18]OFD Sender: No OFD packet to send [02:42:23]OFD Sender: No OFD packet to send [02:42:28]OFD Sender: No OFD packet to send [02:42:33]OFD Sender: No OFD packet to send [02:42:38]OFD Sender: No OFD packet to send [02:42:43]OFD Sender: No OFD packet to send [02:42:48]OFD Sender: No OFD packet to send [02:42:53]OFD Sender: No OFD packet to send [02:42:58]OFD Sender: No OFD packet to send [02:43:03]OFD Sender: No OFD packet to send [02:43:08]OFD Sender: No OFD packet to send [02:43:13]OFD Sender: No OFD packet to send [02:43:18]OFD Sender: No OFD packet to send [02:43:23]OFD Sender: No OFD packet to send [02:43:28]OFD Sender: No OFD packet to send [02:43:33]OFD Sender: No OFD packet to send [02:43:38]OFD Sender: No OFD packet to send [02:43:43]OFD Sender: No OFD packet to send [02:43:48]OFD Sender: No OFD packet to send [02:43:53]OFD Sender: No OFD packet to send [02:43:58]OFD Sender: No OFD packet to send [02:44:03]OFD Sender: No OFD packet to send [02:44:08]OFD Sender: No OFD packet to send [02:44:13]OFD Sender: No OFD packet to send [02:44:18]OFD Sender: No OFD packet to send [02:44:23]OFD Sender: No OFD packet to send [02:44:28]OFD Sender: No OFD packet to send [02:44:33]OFD Sender: No OFD packet to send [02:44:38]OFD Sender: No OFD packet to send [02:44:43]OFD Sender: No OFD packet to send [02:44:48]OFD Sender: No OFD packet to send [02:44:53]OFD Sender: No OFD packet to send [02:44:58]OFD Sender: No OFD packet to send [02:45:03]OFD Sender: No OFD packet to send [02:45:08]OFD Sender: No OFD packet to send [02:45:13]OFD Sender: No OFD packet to send [02:45:18]OFD Sender: No OFD packet to send [02:45:23]OFD Sender: No OFD packet to send [02:45:28]OFD Sender: No OFD packet to send [02:45:33]OFD Sender: No OFD packet to send [02:45:38]OFD Sender: No OFD packet to send [02:45:43]OFD Sender: No OFD packet to send [02:45:48]OFD Sender: No OFD packet to send [02:45:53]OFD Sender: No OFD packet to send [02:45:58]OFD Sender: No OFD packet to send [02:46:03]OFD Sender: No OFD packet to send [02:46:08]OFD Sender: No OFD packet to send [02:46:13]OFD Sender: No OFD packet to send [02:46:18]OFD Sender: No OFD packet to send [02:46:23]OFD Sender: No OFD packet to send [02:46:28]OFD Sender: No OFD packet to send [02:46:33]OFD Sender: No OFD packet to send [02:46:38]OFD Sender: No OFD packet to send [02:46:43]OFD Sender: No OFD packet to send [02:46:48]OFD Sender: No OFD packet to send [02:46:53]OFD Sender: No OFD packet to send [02:46:58]OFD Sender: No OFD packet to send [02:47:03]OFD Sender: No OFD packet to send [02:47:08]OFD Sender: No OFD packet to send [02:47:13]OFD Sender: No OFD packet to send [02:47:18]OFD Sender: No OFD packet to send [02:47:23]OFD Sender: No OFD packet to send [02:47:28]OFD Sender: No OFD packet to send [02:47:33]OFD Sender: No OFD packet to send [02:47:38]OFD Sender: No OFD packet to send [02:47:43]OFD Sender: No OFD packet to send [02:47:48]OFD Sender: No OFD packet to send [02:47:53]OFD Sender: No OFD packet to send [02:47:58]OFD Sender: No OFD packet to send [02:48:03]OFD Sender: No OFD packet to send [02:48:08]OFD Sender: No OFD packet to send [02:48:14]OFD Sender: No OFD packet to send [02:48:19]OFD Sender: No OFD packet to send [02:48:24]OFD Sender: No OFD packet to send [02:48:29]OFD Sender: No OFD packet to send [02:48:34]OFD Sender: No OFD packet to send [02:48:39]OFD Sender: No OFD packet to send [02:48:44]OFD Sender: No OFD packet to send [02:48:49]OFD Sender: No OFD packet to send [02:48:54]OFD Sender: No OFD packet to send [02:48:59]OFD Sender: No OFD packet to send [02:49:04]OFD Sender: No OFD packet to send [02:49:09]OFD Sender: No OFD packet to send [02:49:14]OFD Sender: No OFD packet to send [02:49:19]OFD Sender: No OFD packet to send [02:49:24]OFD Sender: No OFD packet to send [02:49:29]OFD Sender: No OFD packet to send [02:49:34]OFD Sender: No OFD packet to send [02:49:39]OFD Sender: No OFD packet to send [02:49:44]OFD Sender: No OFD packet to send [02:49:49]OFD Sender: No OFD packet to send [02:49:54]OFD Sender: No OFD packet to send [02:49:59]OFD Sender: No OFD packet to send [02:50:04]OFD Sender: No OFD packet to send [02:50:09]OFD Sender: No OFD packet to send [02:50:14]OFD Sender: No OFD packet to send [02:50:19]OFD Sender: No OFD packet to send [02:50:24]OFD Sender: No OFD packet to send [02:50:29]OFD Sender: No OFD packet to send [02:50:34]OFD Sender: No OFD packet to send [02:50:39]OFD Sender: No OFD packet to send [02:50:44]OFD Sender: No OFD packet to send [02:50:49]OFD Sender: No OFD packet to send [02:50:54]OFD Sender: No OFD packet to send [02:50:59]OFD Sender: No OFD packet to send [02:51:04]OFD Sender: No OFD packet to send [02:51:09]OFD Sender: No OFD packet to send [02:51:14]OFD Sender: No OFD packet to send [02:51:19]OFD Sender: No OFD packet to send [02:51:24]OFD Sender: No OFD packet to send [02:51:29]OFD Sender: No OFD packet to send [02:51:34]OFD Sender: No OFD packet to send [02:51:39]OFD Sender: No OFD packet to send [02:51:44]OFD Sender: No OFD packet to send [02:51:49]OFD Sender: No OFD packet to send [02:51:54]OFD Sender: No OFD packet to send [02:51:59]OFD Sender: No OFD packet to send [02:52:04]OFD Sender: No OFD packet to send [02:52:09]OFD Sender: No OFD packet to send [02:52:14]OFD Sender: No OFD packet to send [02:52:19]OFD Sender: No OFD packet to send [02:52:24]OFD Sender: No OFD packet to send [02:52:29]OFD Sender: No OFD packet to send [02:52:34]OFD Sender: No OFD packet to send [02:52:39]OFD Sender: No OFD packet to send [02:52:44]OFD Sender: No OFD packet to send [02:52:49]OFD Sender: No OFD packet to send [02:52:54]OFD Sender: No OFD packet to send [02:52:59]OFD Sender: No OFD packet to send [02:53:04]OFD Sender: No OFD packet to send [02:53:09]OFD Sender: No OFD packet to send [02:53:14]OFD Sender: No OFD packet to send [02:53:19]OFD Sender: No OFD packet to send [02:53:24]OFD Sender: No OFD packet to send [02:53:29]OFD Sender: No OFD packet to send [02:53:34]OFD Sender: No OFD packet to send [02:53:39]OFD Sender: No OFD packet to send [02:53:44]OFD Sender: No OFD packet to send [02:53:49]OFD Sender: No OFD packet to send [02:53:54]OFD Sender: No OFD packet to send [02:53:59]OFD Sender: No OFD packet to send [02:54:04]OFD Sender: No OFD packet to send [02:54:09]OFD Sender: No OFD packet to send [02:54:14]OFD Sender: No OFD packet to send [02:54:19]OFD Sender: No OFD packet to send [02:54:24]OFD Sender: No OFD packet to send [02:54:29]OFD Sender: No OFD packet to send [02:54:34]OFD Sender: No OFD packet to send [02:54:39]OFD Sender: No OFD packet to send [02:54:44]OFD Sender: No OFD packet to send [02:54:49]OFD Sender: No OFD packet to send [02:54:54]OFD Sender: No OFD packet to send [02:54:59]OFD Sender: No OFD packet to send [02:55:04]OFD Sender: No OFD packet to send [02:55:09]OFD Sender: No OFD packet to send [02:55:14]OFD Sender: No OFD packet to send [02:55:19]OFD Sender: No OFD packet to send [02:55:24]OFD Sender: No OFD packet to send [02:55:29]OFD Sender: No OFD packet to send [02:55:34]OFD Sender: No OFD packet to send [02:55:39]OFD Sender: No OFD packet to send [02:55:44]OFD Sender: No OFD packet to send [02:55:49]OFD Sender: No OFD packet to send [02:55:54]OFD Sender: No OFD packet to send [02:55:59]OFD Sender: No OFD packet to send [02:56:04]OFD Sender: No OFD packet to send [02:56:09]OFD Sender: No OFD packet to send [02:56:14]OFD Sender: No OFD packet to send [02:56:19]OFD Sender: No OFD packet to send [02:56:24]OFD Sender: No OFD packet to send [02:56:29]OFD Sender: No OFD packet to send [02:56:34]OFD Sender: No OFD packet to send [02:56:39]OFD Sender: No OFD packet to send [02:56:44]OFD Sender: No OFD packet to send [02:56:49]OFD Sender: No OFD packet to send [02:56:54]OFD Sender: No OFD packet to send [02:56:59]OFD Sender: No OFD packet to send [02:57:04]OFD Sender: No OFD packet to send [02:57:09]OFD Sender: No OFD packet to send [02:57:14]OFD Sender: No OFD packet to send [02:57:19]OFD Sender: No OFD packet to send [02:57:24]OFD Sender: No OFD packet to send [02:57:29]OFD Sender: No OFD packet to send [02:57:34]OFD Sender: No OFD packet to send [02:57:39]OFD Sender: No OFD packet to send [02:57:44]OFD Sender: No OFD packet to send [02:57:49]OFD Sender: No OFD packet to send [02:57:54]OFD Sender: No OFD packet to send [02:57:59]OFD Sender: No OFD packet to send [02:58:04]OFD Sender: No OFD packet to send [02:58:09]OFD Sender: No OFD packet to send [02:58:14]OFD Sender: No OFD packet to send [02:58:19]OFD Sender: No OFD packet to send [02:58:24]OFD Sender: No OFD packet to send [02:58:29]OFD Sender: No OFD packet to send [02:58:34]OFD Sender: No OFD packet to send [02:58:39]OFD Sender: No OFD packet to send [02:58:44]OFD Sender: No OFD packet to send [02:58:49]OFD Sender: No OFD packet to send [02:58:54]OFD Sender: No OFD packet to send [02:58:59]OFD Sender: No OFD packet to send [02:59:04]OFD Sender: No OFD packet to send [02:59:09]OFD Sender: No OFD packet to send [02:59:14]OFD Sender: No OFD packet to send [02:59:19]OFD Sender: No OFD packet to send [02:59:24]OFD Sender: No OFD packet to send [02:59:29]OFD Sender: No OFD packet to send [02:59:34]OFD Sender: No OFD packet to send [02:59:39]OFD Sender: No OFD packet to send [02:59:44]OFD Sender: No OFD packet to send [02:59:49]OFD Sender: No OFD packet to send [02:59:54]OFD Sender: No OFD packet to send [02:59:59]OFD Sender: No OFD packet to send [03:00:04]OFD Sender: No OFD packet to send [03:00:09]OFD Sender: No OFD packet to send [03:00:14]OFD Sender: No OFD packet to send [03:00:19]OFD Sender: No OFD packet to send [03:00:24]OFD Sender: No OFD packet to send [03:00:29]OFD Sender: No OFD packet to send [03:00:34]OFD Sender: No OFD packet to send [03:00:39]OFD Sender: No OFD packet to send [03:00:44]OFD Sender: No OFD packet to send [03:00:49]OFD Sender: No OFD packet to send [03:00:54]OFD Sender: No OFD packet to send [03:00:59]OFD Sender: No OFD packet to send [03:01:04]OFD Sender: No OFD packet to send [03:01:09]OFD Sender: No OFD packet to send [03:01:14]OFD Sender: No OFD packet to send [03:01:19]OFD Sender: No OFD packet to send [03:01:24]OFD Sender: No OFD packet to send [03:01:29]OFD Sender: No OFD packet to send [03:01:34]OFD Sender: No OFD packet to send [03:01:39]OFD Sender: No OFD packet to send [03:01:44]OFD Sender: No OFD packet to send [03:01:49]OFD Sender: No OFD packet to send [03:01:54]OFD Sender: No OFD packet to send [03:01:59]OFD Sender: No OFD packet to send [03:02:04]OFD Sender: No OFD packet to send [03:02:09]OFD Sender: No OFD packet to send [03:02:14]OFD Sender: No OFD packet to send [03:02:19]OFD Sender: No OFD packet to send [03:02:24]OFD Sender: No OFD packet to send [03:02:29]OFD Sender: No OFD packet to send [03:02:34]OFD Sender: No OFD packet to send [03:02:39]OFD Sender: No OFD packet to send [03:02:44]OFD Sender: No OFD packet to send [03:02:49]OFD Sender: No OFD packet to send [03:02:54]OFD Sender: No OFD packet to send [03:02:59]OFD Sender: No OFD packet to send [03:03:04]OFD Sender: No OFD packet to send [03:03:09]OFD Sender: No OFD packet to send [03:03:14]OFD Sender: No OFD packet to send [03:03:19]OFD Sender: No OFD packet to send [03:03:24]OFD Sender: No OFD packet to send [03:03:29]OFD Sender: No OFD packet to send [03:03:34]OFD Sender: No OFD packet to send [03:03:39]OFD Sender: No OFD packet to send [03:03:44]OFD Sender: No OFD packet to send [03:03:49]OFD Sender: No OFD packet to send [03:03:54]OFD Sender: No OFD packet to send [03:03:59]OFD Sender: No OFD packet to send [03:04:04]OFD Sender: No OFD packet to send [03:04:09]OFD Sender: No OFD packet to send [03:04:14]OFD Sender: No OFD packet to send [03:04:19]OFD Sender: No OFD packet to send [03:04:24]OFD Sender: No OFD packet to send [03:04:29]OFD Sender: No OFD packet to send [03:04:34]OFD Sender: No OFD packet to send [03:04:39]OFD Sender: No OFD packet to send [03:04:44]OFD Sender: No OFD packet to send [03:04:49]OFD Sender: No OFD packet to send [03:04:54]OFD Sender: No OFD packet to send [03:04:59]OFD Sender: No OFD packet to send [03:05:04]OFD Sender: No OFD packet to send [03:05:09]OFD Sender: No OFD packet to send [03:05:14]OFD Sender: No OFD packet to send [03:05:19]OFD Sender: No OFD packet to send [03:05:24]OFD Sender: No OFD packet to send [03:05:29]OFD Sender: No OFD packet to send [03:05:34]OFD Sender: No OFD packet to send [03:05:39]OFD Sender: No OFD packet to send [03:05:44]OFD Sender: No OFD packet to send [03:05:49]OFD Sender: No OFD packet to send [03:05:54]OFD Sender: No OFD packet to send [03:05:59]OFD Sender: No OFD packet to send [03:06:04]OFD Sender: No OFD packet to send [03:06:09]OFD Sender: No OFD packet to send [03:06:14]OFD Sender: No OFD packet to send [03:06:19]OFD Sender: No OFD packet to send